[2026-06-23 00:00:05] local.INFO: TCP Data received {"connection_id":111963,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:00:05] local.INFO: Processing buffer {"connection_id":111963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:00:05] local.INFO: Packet analysis {"connection_id":111963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:00:05] local.INFO: Extracted packet for processing {"connection_id":111963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:00:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 00:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:00: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-06-23 00: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-06-23 00:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:00:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:00:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":111963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:00:05] local.INFO: GPS data processed {"connection_id":111963,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:00:05] local.INFO: Acknowledgment sent {"connection_id":111963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:00:26] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:00:26] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:00:26] local.INFO: IMEI packet received {"connection_id":110406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":110406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:00:31] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:00:31] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:00:31] local.INFO: IMEI packet received {"connection_id":110406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":110406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:00:33] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:00:33] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:00:33] local.INFO: Packet analysis {"connection_id":110406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:00:33] local.INFO: Extracted packet for processing {"connection_id":110406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:00:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 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-06-23 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:00: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-06-23 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-06-23 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-06-23 00:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":110406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:00:33] local.INFO: GPS data processed {"connection_id":110406,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:00:33] local.INFO: Acknowledgment sent {"connection_id":110406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:01:07] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:07] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:07] local.INFO: Packet analysis {"connection_id":110406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:01:07] local.INFO: Extracted packet for processing {"connection_id":110406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 00:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:01: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-06-23 00:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":110406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:01:07] local.INFO: GPS data processed {"connection_id":110406,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:01:07] local.INFO: Acknowledgment sent {"connection_id":110406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:01:31] local.INFO: TCP Data received {"connection_id":111035,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:01:31] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:01:31] local.INFO: IMEI packet received {"connection_id":111035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":111035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:01:36] local.INFO: TCP Data received {"connection_id":111035,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:01:36] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:01:36] local.INFO: IMEI packet received {"connection_id":111035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":111035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:01:39] local.INFO: TCP Data received {"connection_id":111035,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:39] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:39] local.INFO: Packet analysis {"connection_id":111035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:01:39] local.INFO: Extracted packet for processing {"connection_id":111035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 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-06-23 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":111035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:01:39] local.INFO: GPS data processed {"connection_id":111035,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:01:39] local.INFO: Acknowledgment sent {"connection_id":111035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:01:42] local.INFO: TCP Data received {"connection_id":111035,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:42] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:01:42] local.INFO: Packet analysis {"connection_id":111035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:01:42] local.INFO: Extracted packet for processing {"connection_id":111035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:01:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 00:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:01:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:01:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":111035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:01:42] local.INFO: GPS data processed {"connection_id":111035,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:01:42] local.INFO: Acknowledgment sent {"connection_id":111035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:02:26] local.INFO: TCP Data received {"connection_id":110222,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:02:26] local.INFO: Processing buffer {"connection_id":110222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:02:26] local.INFO: IMEI packet received {"connection_id":110222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":110222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:02:31] local.INFO: TCP Data received {"connection_id":110222,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:02:31] local.INFO: Processing buffer {"connection_id":110222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:02:31] local.INFO: IMEI packet received {"connection_id":110222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":110222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:02:33] local.INFO: TCP Data received {"connection_id":110222,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:02:33] local.INFO: Processing buffer {"connection_id":110222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:02:33] local.INFO: Packet analysis {"connection_id":110222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:02:33] local.INFO: Extracted packet for processing {"connection_id":110222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:02:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 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-06-23 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:02: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-06-23 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-06-23 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-06-23 00:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:02:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:02:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:02:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":110222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:02:33] local.INFO: GPS data processed {"connection_id":110222,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:02:33] local.INFO: Acknowledgment sent {"connection_id":110222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:02:59] local.INFO: TCP Data received {"connection_id":111965,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:02:59] local.INFO: Processing buffer {"connection_id":111965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:02:59] local.INFO: IMEI packet received {"connection_id":111965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":111965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:03:00] local.INFO: TCP Data received {"connection_id":111965,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09aa070012d80240005c6e680000a004329..."} 
[2026-06-23 00:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09aa070012d80240005c6e680000a004329..."} 
[2026-06-23 00:03:00] local.INFO: Processing buffer {"connection_id":111965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09aa070012d80240005c6e680000a004329..."} 
[2026-06-23 00:03:00] local.INFO: Packet analysis {"connection_id":111965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:03:00] local.INFO: Extracted packet for processing {"connection_id":111965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763372544,"raw_latitude":96921216,"longitude_deg":76.3372544,"latitude_deg":9.6921216,"altitude":10,"angle":67,"satellites":41,"speed":12,"hex_longitude":"2d802400","hex_latitude":"05c6e680","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231198720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96047743755091968,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215420343950921728,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782153126000,"timestamp_ms":1782153126000,"timestamp_seconds":1782153126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09aa070"} 
[2026-06-23 00:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:03:00] 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-06-23 00: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:03:00] 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-06-23 00:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231198720001,"66":12048,"88":206,"85":12288,"24":12,"16":96047743755091968,"45":-9215420343950921728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231198720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:03:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96047743755091968,"km_value":96047743755091.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215420343950921728,"description":"Unknown IO ID 45"} 
[2026-06-23 00:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231198720001,"power":12048,"unknown_88":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9215420343950921728}} 
[2026-06-23 00:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":111965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:03:01] local.INFO: GPS data processed {"connection_id":111965,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:03:01] local.INFO: Acknowledgment sent {"connection_id":111965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:03:04] local.INFO: TCP Data received {"connection_id":110222,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:03:04] local.INFO: Processing buffer {"connection_id":110222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:03:04] local.INFO: Packet analysis {"connection_id":110222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:03:04] local.INFO: Extracted packet for processing {"connection_id":110222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 00:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:03: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-06-23 00: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-06-23 00:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:03:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:03:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":110222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:03:05] local.INFO: GPS data processed {"connection_id":110222,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:03:05] local.INFO: Acknowledgment sent {"connection_id":110222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:03:25] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:03:25] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:03:25] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:03:28] local.INFO: TCP Data received {"connection_id":110407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:03:28] local.INFO: Processing buffer {"connection_id":110407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:03:28] local.INFO: IMEI packet received {"connection_id":110407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":110407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:03:31] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:03:31] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:03:31] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:03:33] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:03:33] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:03:33] local.INFO: Packet analysis {"connection_id":111037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:03:33] local.INFO: Extracted packet for processing {"connection_id":111037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 00:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:03: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-06-23 00: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-06-23 00:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:03:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:03:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:03:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":111037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:03:33] local.INFO: GPS data processed {"connection_id":111037,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:03:33] local.INFO: Acknowledgment sent {"connection_id":111037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:03:37] local.INFO: TCP Data received {"connection_id":110408,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:03:37] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:03:37] local.INFO: IMEI packet received {"connection_id":110408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":110408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:03:38] local.INFO: TCP Data received {"connection_id":110408,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:03:38] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:03:38] local.INFO: IMEI packet received {"connection_id":110408,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":110408,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:03:39] local.INFO: TCP Data received {"connection_id":110408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09aa458012d80250005c6e728000a002b2a..."} 
[2026-06-23 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09aa458012d80250005c6e728000a002b2a..."} 
[2026-06-23 00:03:39] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09aa458012d80250005c6e728000a002b2a..."} 
[2026-06-23 00:03:39] local.INFO: Packet analysis {"connection_id":110408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:03:39] local.INFO: Extracted packet for processing {"connection_id":110408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763372800,"raw_latitude":96921384,"longitude_deg":76.33728,"latitude_deg":9.6921384,"altitude":10,"angle":43,"satellites":42,"speed":12,"hex_longitude":"2d802500","hex_latitude":"05c6e728","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231200256001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96047756639993856,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213238912881360896,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782153127000,"timestamp_ms":1782153127000,"timestamp_seconds":1782153127,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09aa458"} 
[2026-06-23 00:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:03: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-06-23 00: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578901551915192832,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4036624456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6140954960059170816,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2588061697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505065175384064,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3857186828,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628531601623384,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5284975048911749144,"corrected_to":0} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2281778559,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1074120439,"corrected_to":0} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075465,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4105215778100316889,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84864204041209625,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2533777989447168,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,88,85,24,241,157,16,58,158,137,45,64,229,11,40,10,66,86,226,42,128,1,240,49,227,198,4,113,205,36,31,203,41,239,47,2,5,69,8,168],"length":583,"final_offset":713,"validated_count":40,"validation_warnings":[{"io_id":205,"original":5284975048911749144,"validated":0},{"io_id":203,"original":1074120439,"validated":0}]} 
[2026-06-23 00:03:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720649783752785920,"timestamp_seconds":720649783752785.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:03: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-06-23 00:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231200256001,"66":12048,"88":206,"85":12288,"24":12,"16":96047756639993856,"45":-9213238912881360896},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231200256001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96047756639993856,"km_value":96047756639993.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213238912881360896,"description":"Unknown IO ID 45"} 
[2026-06-23 00:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231200256001,"power":12048,"unknown_88":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9213238912881360896}} 
[2026-06-23 00:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":110408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:03:39] local.INFO: GPS data processed {"connection_id":110408,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:03:39] local.INFO: Acknowledgment sent {"connection_id":110408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:03:44] local.INFO: TCP Data received {"connection_id":110408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09aa840012d80258005c6e840000a001d2a..."} 
[2026-06-23 00:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09aa840012d80258005c6e840000a001d2a..."} 
[2026-06-23 00:03:44] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09aa840012d80258005c6e840000a001d2a..."} 
[2026-06-23 00:03:44] local.INFO: Packet analysis {"connection_id":110408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:03:44] local.INFO: Extracted packet for processing {"connection_id":110408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763372928,"raw_latitude":96921664,"longitude_deg":76.3372928,"latitude_deg":9.6921664,"altitude":10,"angle":29,"satellites":42,"speed":13,"hex_longitude":"2d802580","hex_latitude":"05c6e840","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231200512001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96047773819863040,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212957437904607232,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782153128000,"timestamp_ms":1782153128000,"timestamp_seconds":1782153128,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09aa840"} 
[2026-06-23 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-06-23 00:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578901551915192832,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3378202886024704,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4036632456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2952867199,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6141071508291715072,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2588061697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505065182068736,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3857186828,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629558098807128,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5284975048911749144,"corrected_to":0} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2147862245,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4109816134734153943,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84864343627646727,"note":"Value kept but may cause issues"} 
[2026-06-23 00:03:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,88,85,24,241,157,16,58,158,160,45,230,10,41,66,137,64,229,11,40,86,1,240,228,227,198,4,113,205,36,234,232,239,2,5,69,72],"length":583,"final_offset":713,"validated_count":37,"validation_warnings":[{"io_id":205,"original":5284975048911749144,"validated":0}]} 
[2026-06-23 00:03:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720623399768686592,"timestamp_seconds":720623399768686.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 00:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:03:44] 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-06-23 00:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231200512001,"66":12004,"88":206,"85":12288,"24":13,"16":96047773819863040,"45":-9212957437904607232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231200512001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:03:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96047773819863040,"km_value":96047773819863.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212957437904607232,"description":"Unknown IO ID 45"} 
[2026-06-23 00:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231200512001,"power":12004,"unknown_88":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9212957437904607232}} 
[2026-06-23 00:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":110408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:03:44] local.INFO: GPS data processed {"connection_id":110408,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:03:44] local.INFO: Acknowledgment sent {"connection_id":110408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:04:06] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:04:06] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0975898012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:04:06] local.INFO: Packet analysis {"connection_id":111037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:04:06] local.INFO: Extracted packet for processing {"connection_id":111037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef097"} 
[2026-06-23 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231068160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782152911000,"timestamp_ms":1782152911000,"timestamp_seconds":1782152911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0975898"} 
[2026-06-23 00:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:04: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-06-23 00: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-06-23 00:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231068160001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231068160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:04:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:04:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231068160001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":111037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:04:06] local.INFO: GPS data processed {"connection_id":111037,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:04:06] local.INFO: Acknowledgment sent {"connection_id":111037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:04:08] local.INFO: TCP Data received {"connection_id":111038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:04:08] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:04:08] local.INFO: IMEI packet received {"connection_id":111038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":111038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:04:15] local.INFO: TCP Data received {"connection_id":110408,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09aac28012d80264005c6e980000a00102a..."} 
[2026-06-23 00:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09aac28012d80264005c6e980000a00102a..."} 
[2026-06-23 00:04:15] local.INFO: Processing buffer {"connection_id":110408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09aac28012d80264005c6e980000a00102a..."} 
[2026-06-23 00:04:15] local.INFO: Packet analysis {"connection_id":110408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:04:15] local.INFO: Extracted packet for processing {"connection_id":110408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763373120,"raw_latitude":96921984,"longitude_deg":76.337312,"latitude_deg":9.6921984,"altitude":10,"angle":16,"satellites":42,"speed":15,"hex_longitude":"2d802640","hex_latitude":"05c6e980","is_valid_coordinates":true} 
[2026-06-23 00:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231200768001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96047790999732224,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212816700416180224,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782153129000,"timestamp_ms":1782153129000,"timestamp_seconds":1782153129,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09aac28"} 
[2026-06-23 00:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:04:15] 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-06-23 00:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 00:04:15] 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-06-23 00:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110408,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:04:15] 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-06-23 00:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231200768001,"66":12004,"88":206,"85":12288,"24":15,"16":96047790999732224,"45":-9212816700416180224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231200768001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:04:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96047790999732224,"km_value":96047790999732.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212816700416180224,"description":"Unknown IO ID 45"} 
[2026-06-23 00:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231200768001,"power":12004,"unknown_88":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9212816700416180224}} 
[2026-06-23 00:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":110408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:04:15] local.INFO: GPS data processed {"connection_id":110408,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:04:15] local.INFO: Acknowledgment sent {"connection_id":110408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:04:31] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:04:31] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:04:31] local.INFO: IMEI packet received {"connection_id":111966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":111966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:04:34] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:04:34] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:04:34] local.INFO: IMEI packet received {"connection_id":110223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":110223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:04:36] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:04:36] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:04:36] local.INFO: IMEI packet received {"connection_id":111966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":111966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:04:38] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:04:38] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:04:38] local.INFO: IMEI packet received {"connection_id":110223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":110223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:04:39] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09ab010012d80268005c6eb20000a000229..."} 
[2026-06-23 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09ab010012d80268005c6eb20000a000229..."} 
[2026-06-23 00:04:39] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09ab010012d80268005c6eb20000a000229..."} 
[2026-06-23 00:04:39] local.INFO: Packet analysis {"connection_id":110223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:04:39] local.INFO: Extracted packet for processing {"connection_id":110223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09a"} 
[2026-06-23 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763373184,"raw_latitude":96922400,"longitude_deg":76.3373184,"latitude_deg":9.69224,"altitude":10,"angle":2,"satellites":41,"speed":17,"hex_longitude":"2d802680","hex_latitude":"05c6eb20","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231201024001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96047808179601408,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212605594183565312,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782153130000,"timestamp_ms":1782153130000,"timestamp_seconds":1782153130,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09ab010"} 
[2026-06-23 00:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:04: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-06-23 00: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 00:04:39] 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-06-23 00: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-06-23 00:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:04: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-06-23 00:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231201024001,"66":11950,"88":206,"85":12288,"24":17,"16":96047808179601408,"45":-9212605594183565312},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231201024001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96047808179601408,"km_value":96047808179601.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212605594183565312,"description":"Unknown IO ID 45"} 
[2026-06-23 00:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231201024001,"power":11950,"unknown_88":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9212605594183565312}} 
[2026-06-23 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":110223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:04:39] local.INFO: GPS data processed {"connection_id":110223,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:04:39] local.INFO: Acknowledgment sent {"connection_id":110223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:04:39] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:04:39] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:04:39] local.INFO: Packet analysis {"connection_id":111966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:04:39] local.INFO: Extracted packet for processing {"connection_id":111966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":111966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:04:39] local.INFO: GPS data processed {"connection_id":111966,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:04:39] local.INFO: Acknowledgment sent {"connection_id":111966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:05:10] local.INFO: TCP Data received {"connection_id":110223,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09d09a0012d803ac005c80040000b00472a..."} 
[2026-06-23 00:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09d09a0012d803ac005c80040000b00472a..."} 
[2026-06-23 00:05:10] local.INFO: Processing buffer {"connection_id":110223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09d09a0012d803ac005c80040000b00472a..."} 
[2026-06-23 00:05:10] local.INFO: Packet analysis {"connection_id":110223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:05:10] local.INFO: Extracted packet for processing {"connection_id":110223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763378368,"raw_latitude":96993344,"longitude_deg":76.3378368,"latitude_deg":9.6993344,"altitude":11,"angle":71,"satellites":42,"speed":6,"hex_longitude":"2d803ac0","hex_latitude":"05c80040","is_valid_coordinates":true} 
[2026-06-23 00:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231240448001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051291398078464,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206905725886930944,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782153284000,"timestamp_ms":1782153284000,"timestamp_seconds":1782153284,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09d09a0"} 
[2026-06-23 00:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:05: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-06-23 00:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 00:05:10] 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-06-23 00:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:05:10] 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-06-23 00:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231240448001,"66":11297,"115":206,"85":12288,"24":6,"16":96051291398078464,"45":-9206905725886930944},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231240448001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:05:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051291398078464,"km_value":96051291398078.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206905725886930944,"description":"Unknown IO ID 45"} 
[2026-06-23 00:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231240448001,"power":11297,"unknown_115":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9206905725886930944}} 
[2026-06-23 00:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":110223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:05:10] local.INFO: GPS data processed {"connection_id":110223,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:05:10] local.INFO: Acknowledgment sent {"connection_id":110223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:05:11] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:05:11] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:05:11] local.INFO: Packet analysis {"connection_id":111966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:05:11] local.INFO: Extracted packet for processing {"connection_id":111966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":111966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:05:11] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:05:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":111966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:05:11] local.INFO: GPS data processed {"connection_id":111966,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:05:11] local.INFO: Acknowledgment sent {"connection_id":111966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:05:25] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:05:25] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:05:25] local.INFO: IMEI packet received {"connection_id":110409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":110409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:05:31] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:05:31] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:05:31] local.INFO: IMEI packet received {"connection_id":110409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":110409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:05:32] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:05:32] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:05:32] local.INFO: Packet analysis {"connection_id":110409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:05:32] local.INFO: Extracted packet for processing {"connection_id":110409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:05:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:05:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":110409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:05:32] local.INFO: GPS data processed {"connection_id":110409,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:05:32] local.INFO: Acknowledgment sent {"connection_id":110409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:05:33] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:05:33] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:05:33] local.INFO: IMEI packet received {"connection_id":110224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":110224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:05:39] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:05:39] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:05:39] local.INFO: IMEI packet received {"connection_id":110224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":110224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:05:40] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09d0d88012d803b4005c80060000b00592a..."} 
[2026-06-23 00:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09d0d88012d803b4005c80060000b00592a..."} 
[2026-06-23 00:05:40] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09d0d88012d803b4005c80060000b00592a..."} 
[2026-06-23 00:05:40] local.INFO: Packet analysis {"connection_id":110224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:05:40] local.INFO: Extracted packet for processing {"connection_id":110224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763378496,"raw_latitude":96993376,"longitude_deg":76.3378496,"latitude_deg":9.6993376,"altitude":11,"angle":89,"satellites":42,"speed":5,"hex_longitude":"2d803b40","hex_latitude":"05c80060","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231240704001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051299988013056,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206835357142728704,"note":"Value kept but may cause issues"} 
[2026-06-23 00:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782153285000,"timestamp_ms":1782153285000,"timestamp_seconds":1782153285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09d0d88"} 
[2026-06-23 00:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:05: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-06-23 00: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 00:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:05: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-06-23 00:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231240704001,"66":11297,"115":206,"85":12288,"24":5,"16":96051299988013056,"45":-9206835357142728704},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231240704001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051299988013056,"km_value":96051299988013.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206835357142728704,"description":"Unknown IO ID 45"} 
[2026-06-23 00:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231240704001,"power":11297,"unknown_115":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9206835357142728704}} 
[2026-06-23 00:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":110224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:05:40] local.INFO: GPS data processed {"connection_id":110224,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:05:40] local.INFO: Acknowledgment sent {"connection_id":110224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:06:05] local.INFO: TCP Data received {"connection_id":110409,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:05] local.INFO: Processing buffer {"connection_id":110409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:05] local.INFO: Packet analysis {"connection_id":110409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:06:05] local.INFO: Extracted packet for processing {"connection_id":110409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:06:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:06:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:06:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":110409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:06:05] local.INFO: GPS data processed {"connection_id":110409,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:06:05] local.INFO: Acknowledgment sent {"connection_id":110409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:06:11] local.INFO: TCP Data received {"connection_id":110224,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09d5ba8012d803a4005c800c0000800592b..."} 
[2026-06-23 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09d5ba8012d803a4005c800c0000800592b..."} 
[2026-06-23 00:06:11] local.INFO: Processing buffer {"connection_id":110224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09d5ba8012d803a4005c800c0000800592b..."} 
[2026-06-23 00:06:11] local.INFO: Packet analysis {"connection_id":110224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:06:11] local.INFO: Extracted packet for processing {"connection_id":110224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763378240,"raw_latitude":96993472,"longitude_deg":76.337824,"latitude_deg":9.6993472,"altitude":8,"angle":89,"satellites":43,"speed":1,"hex_longitude":"2d803a40","hex_latitude":"05c800c0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231240960001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051347232653312,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206694619654365184,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782153305000,"timestamp_ms":1782153305000,"timestamp_seconds":1782153305,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09d5ba8"} 
[2026-06-23 00:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:06: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-06-23 00: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 00:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:06: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-06-23 00:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231240960001,"66":11776,"115":206,"85":12288,"24":1,"16":96051347232653312,"45":-9206694619654365184},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231240960001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051347232653312,"km_value":96051347232653.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206694619654365184,"description":"Unknown IO ID 45"} 
[2026-06-23 00:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231240960001,"power":11776,"unknown_115":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-9206694619654365184}} 
[2026-06-23 00:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":110224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:06:11] local.INFO: GPS data processed {"connection_id":110224,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:06:11] local.INFO: Acknowledgment sent {"connection_id":110224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:06:31] local.INFO: TCP Data received {"connection_id":110225,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:06:31] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:06:31] local.INFO: IMEI packet received {"connection_id":110225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":110225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:06:33] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:06:33] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:06:33] local.INFO: IMEI packet received {"connection_id":111967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":111967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:06:36] local.INFO: TCP Data received {"connection_id":110225,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:06:36] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:06:36] local.INFO: IMEI packet received {"connection_id":110225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":110225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:06:40] local.INFO: TCP Data received {"connection_id":110225,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:40] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:40] local.INFO: Packet analysis {"connection_id":110225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:06:40] local.INFO: Extracted packet for processing {"connection_id":110225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":110225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:06:40] local.INFO: GPS data processed {"connection_id":110225,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:06:40] local.INFO: Acknowledgment sent {"connection_id":110225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:06:41] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:06:41] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:06:41] local.INFO: IMEI packet received {"connection_id":111967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":111967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:06:43] local.INFO: TCP Data received {"connection_id":110225,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:43] local.INFO: Processing buffer {"connection_id":110225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:06:43] local.INFO: Packet analysis {"connection_id":110225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:06:43] local.INFO: Extracted packet for processing {"connection_id":110225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:06:43] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 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-06-23 00:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:06:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:06:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":110225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:06:43] local.INFO: GPS data processed {"connection_id":110225,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:06:43] local.INFO: Acknowledgment sent {"connection_id":110225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:06:44] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09d82b8012d803a4005c7ff98000900cf2c..."} 
[2026-06-23 00:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09d82b8012d803a4005c7ff98000900cf2c..."} 
[2026-06-23 00:06:44] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09d82b8012d803a4005c7ff98000900cf2c..."} 
[2026-06-23 00:06:44] local.INFO: Packet analysis {"connection_id":111967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:06:44] local.INFO: Extracted packet for processing {"connection_id":111967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763378240,"raw_latitude":96993176,"longitude_deg":76.337824,"latitude_deg":9.6993176,"altitude":9,"angle":207,"satellites":44,"speed":5,"hex_longitude":"2d803a40","hex_latitude":"05c7ff98","is_valid_coordinates":true} 
[2026-06-23 00:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231246080001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051373002457088,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206976094631051264,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782153315000,"timestamp_ms":1782153315000,"timestamp_seconds":1782153315,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09d82b8"} 
[2026-06-23 00:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4036815456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273064,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2634141697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4281860107,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826109134,"corrected_to":0} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3892391296,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147862526,"note":"Value kept but may cause issues"} 
[2026-06-23 00:06:44] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,115,85,24,241,157,16,62,158,13,45,64,11,42,10,66,9,192,5,128,1,240,104,227,199,4,113,205,253,57,88,239,2],"length":434,"final_offset":564,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2826109134,"validated":0}]} 
[2026-06-23 00:06:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576558793521954816,"timestamp_seconds":576558793521954.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:06:44] 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-06-23 00:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231246080001,"66":11624,"115":206,"85":12288,"24":5,"16":96051373002457088,"45":-9206976094631051264},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231246080001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:06:44] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051373002457088,"km_value":96051373002457.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206976094631051264,"description":"Unknown IO ID 45"} 
[2026-06-23 00:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231246080001,"power":11624,"unknown_115":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9206976094631051264}} 
[2026-06-23 00:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":111967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:06:44] local.INFO: GPS data processed {"connection_id":111967,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:06:44] local.INFO: Acknowledgment sent {"connection_id":111967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:07:15] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09d8a88012d80398005c7fdd8000900c22c..."} 
[2026-06-23 00:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09d8a88012d80398005c7fdd8000900c22c..."} 
[2026-06-23 00:07:15] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09d8a88012d80398005c7fdd8000900c22c..."} 
[2026-06-23 00:07:15] local.INFO: Packet analysis {"connection_id":111967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:07:15] local.INFO: Extracted packet for processing {"connection_id":111967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763378048,"raw_latitude":96992728,"longitude_deg":76.3378048,"latitude_deg":9.6992728,"altitude":9,"angle":194,"satellites":44,"speed":11,"hex_longitude":"2d803980","hex_latitude":"05c7fdd8","is_valid_coordinates":true} 
[2026-06-23 00:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231248640001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051394477293568,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206976094631127040,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782153317000,"timestamp_ms":1782153317000,"timestamp_seconds":1782153317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09d8a88"} 
[2026-06-23 00:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:07:15] 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-06-23 00:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 00:07:15] 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-06-23 00:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:07:15] 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-06-23 00:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231248640001,"66":11624,"115":206,"85":12288,"24":11,"16":96051394477293568,"45":-9206976094631127040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231248640001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:07:15] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051394477293568,"km_value":96051394477293.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206976094631127040,"description":"Unknown IO ID 45"} 
[2026-06-23 00:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231248640001,"power":11624,"unknown_115":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9206976094631127040}} 
[2026-06-23 00:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":111967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:07:15] local.INFO: GPS data processed {"connection_id":111967,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:07:15] local.INFO: Acknowledgment sent {"connection_id":111967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:07:26] local.INFO: TCP Data received {"connection_id":110226,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:07:26] local.INFO: Processing buffer {"connection_id":110226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:07:26] local.INFO: IMEI packet received {"connection_id":110226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":110226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:07:31] local.INFO: TCP Data received {"connection_id":110226,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:07:31] local.INFO: Processing buffer {"connection_id":110226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:07:31] local.INFO: IMEI packet received {"connection_id":110226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":110226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:07:32] local.INFO: TCP Data received {"connection_id":110226,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:07:32] local.INFO: Processing buffer {"connection_id":110226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:07:32] local.INFO: Packet analysis {"connection_id":110226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:07:32] local.INFO: Extracted packet for processing {"connection_id":110226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:07:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:07:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:07:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":110226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:07:32] local.INFO: GPS data processed {"connection_id":110226,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:07:32] local.INFO: Acknowledgment sent {"connection_id":110226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:07:46] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:07:46] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:07:46] local.INFO: IMEI packet received {"connection_id":110227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":110227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:07:47] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:07:47] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:07:47] local.INFO: IMEI packet received {"connection_id":110227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":110227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:07:48] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09da5e0012d8037c005c7f0f0000a00b72b..."} 
[2026-06-23 00:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09da5e0012d8037c005c7f0f0000a00b72b..."} 
[2026-06-23 00:07:48] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09da5e0012d8037c005c7f0f0000a00b72b..."} 
[2026-06-23 00:07:48] local.INFO: Packet analysis {"connection_id":110227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:07:48] local.INFO: Extracted packet for processing {"connection_id":110227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:07:48] local.INFO: GPS Element Parsed {"raw_longitude":763377600,"raw_latitude":96989424,"longitude_deg":76.33776,"latitude_deg":9.6989424,"altitude":10,"angle":183,"satellites":43,"speed":23,"hex_longitude":"2d8037c0","hex_latitude":"05c7f0f0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231249152001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051557686050816,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207187200863774720,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782153324000,"timestamp_ms":1782153324000,"timestamp_seconds":1782153324,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09da5e0"} 
[2026-06-23 00:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 00:07:48] 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-06-23 00: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-06-23 00:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:07:48] 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-06-23 00:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231249152001,"66":11721,"115":206,"85":12288,"24":23,"16":96051557686050816,"45":-9207187200863774720},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231249152001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:07:48] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:07:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051557686050816,"km_value":96051557686050.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207187200863774720,"description":"Unknown IO ID 45"} 
[2026-06-23 00:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231249152001,"power":11721,"unknown_115":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9207187200863774720}} 
[2026-06-23 00:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":110227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:07:48] local.INFO: GPS data processed {"connection_id":110227,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:07:48] local.INFO: Acknowledgment sent {"connection_id":110227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:07:49] local.INFO: TCP Data received {"connection_id":110227,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09de848012d80378005c7ce10000d00b629..."} 
[2026-06-23 00:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09de848012d80378005c7ce10000d00b629..."} 
[2026-06-23 00:07:49] local.INFO: Processing buffer {"connection_id":110227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09de848012d80378005c7ce10000d00b629..."} 
[2026-06-23 00:07:49] local.INFO: Packet analysis {"connection_id":110227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:07:49] local.INFO: Extracted packet for processing {"connection_id":110227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09d"} 
[2026-06-23 00:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763377536,"raw_latitude":96980496,"longitude_deg":76.3377536,"latitude_deg":9.6980496,"altitude":13,"angle":182,"satellites":41,"speed":16,"hex_longitude":"2d803780","hex_latitude":"05c7ce10","is_valid_coordinates":true} 
[2026-06-23 00:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231250944001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96051991477747712,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207679782073864192,"note":"Value kept but may cause issues"} 
[2026-06-23 00:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782153341000,"timestamp_ms":1782153341000,"timestamp_seconds":1782153341,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09de848"} 
[2026-06-23 00:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 00:07:49] 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-06-23 00:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:07:49] 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-06-23 00:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231250944001,"66":11765,"115":206,"85":12288,"24":16,"16":96051991477747712,"45":-9207679782073864192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231250944001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:07:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96051991477747712,"km_value":96051991477747.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207679782073864192,"description":"Unknown IO ID 45"} 
[2026-06-23 00:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231250944001,"power":11765,"unknown_115":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9207679782073864192}} 
[2026-06-23 00:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":110227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:07:49] local.INFO: GPS data processed {"connection_id":110227,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:07:49] local.INFO: Acknowledgment sent {"connection_id":110227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:08:05] local.INFO: TCP Data received {"connection_id":110226,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:08:05] local.INFO: Processing buffer {"connection_id":110226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:08:05] local.INFO: Packet analysis {"connection_id":110226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:08:05] local.INFO: Extracted packet for processing {"connection_id":110226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:08:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:08:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:08:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":110226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:08:05] local.INFO: GPS data processed {"connection_id":110226,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:08:05] local.INFO: Acknowledgment sent {"connection_id":110226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:08:25] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:08:25] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:08:25] local.INFO: IMEI packet received {"connection_id":110412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":110412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:08:31] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:08:31] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:08:31] local.INFO: IMEI packet received {"connection_id":110412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":110412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:08:33] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:08:33] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:08:33] local.INFO: Packet analysis {"connection_id":110412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:08:33] local.INFO: Extracted packet for processing {"connection_id":110412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 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-06-23 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:08:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:08:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":110412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:08:33] local.INFO: GPS data processed {"connection_id":110412,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:08:33] local.INFO: Acknowledgment sent {"connection_id":110412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:08:34] local.INFO: TCP Data received {"connection_id":110413,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:08:34] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:08:34] local.INFO: IMEI packet received {"connection_id":110413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":110413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:08:39] local.INFO: TCP Data received {"connection_id":110413,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:08:39] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:08:39] local.INFO: IMEI packet received {"connection_id":110413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":110413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:08:40] local.INFO: TCP Data received {"connection_id":110413,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a05560012d80200005c6c0e00010008c2b..."} 
[2026-06-23 00:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a05560012d80200005c6c0e00010008c2b..."} 
[2026-06-23 00:08:40] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a05560012d80200005c6c0e00010008c2b..."} 
[2026-06-23 00:08:40] local.INFO: Packet analysis {"connection_id":110413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:08:40] local.INFO: Extracted packet for processing {"connection_id":110413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763371520,"raw_latitude":96911584,"longitude_deg":76.337152,"latitude_deg":9.6911584,"altitude":16,"angle":140,"satellites":43,"speed":8,"hex_longitude":"2d802000","hex_latitude":"05c6c0e0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231295744001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96055384501911552,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214435181534803968,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782153500000,"timestamp_ms":1782153500000,"timestamp_seconds":1782153500,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a05560"} 
[2026-06-23 00:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:08: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-06-23 00: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4036957456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2150187013,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2676893697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826109134,"corrected_to":0} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":67,"raw_value":4026609024,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147862315,"note":"Value kept but may cause issues"} 
[2026-06-23 00:08:40] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,88,85,24,241,157,16,65,158,38,45,192,197,17,10,66,15,210,44,220,1,240,11,227,199,4,113,205,18,67,36,8,42,239,46,115,2],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2826109134,"validated":0}]} 
[2026-06-23 00:08:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081042216136605696,"timestamp_seconds":1081042216136605.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:08: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-06-23 00:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231295744001,"66":11776,"88":206,"85":12288,"24":8,"16":96055384501911552,"45":-9214435181534803968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231295744001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:08:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96055384501911552,"km_value":96055384501911.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214435181534803968,"description":"Unknown IO ID 45"} 
[2026-06-23 00:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231295744001,"power":11776,"unknown_88":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-9214435181534803968}} 
[2026-06-23 00:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":110413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:08:40] local.INFO: GPS data processed {"connection_id":110413,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:08:40] local.INFO: Acknowledgment sent {"connection_id":110413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:09:06] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:06] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef09bf060012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:06] local.INFO: Packet analysis {"connection_id":110412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:09:06] local.INFO: Extracted packet for processing {"connection_id":110412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef09b"} 
[2026-06-23 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782153212000,"timestamp_ms":1782153212000,"timestamp_seconds":1782153212,"priority":1,"record_length":96,"hex_timestamp":"0000019ef09bf060"} 
[2026-06-23 00:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231145216001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:09:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:09:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231145216001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":110412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:09:06] local.INFO: GPS data processed {"connection_id":110412,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:09:06] local.INFO: Acknowledgment sent {"connection_id":110412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:09:19] local.INFO: TCP Data received {"connection_id":110413,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a05d30012d80214005c6bfb8000f00762b..."} 
[2026-06-23 00:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a05d30012d80214005c6bfb8000f00762b..."} 
[2026-06-23 00:09:19] local.INFO: Processing buffer {"connection_id":110413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a05d30012d80214005c6bfb8000f00762b..."} 
[2026-06-23 00:09:19] local.INFO: Packet analysis {"connection_id":110413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:19] local.INFO: Extracted packet for processing {"connection_id":110413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763371840,"raw_latitude":96911288,"longitude_deg":76.337184,"latitude_deg":9.6911288,"altitude":15,"angle":118,"satellites":43,"speed":10,"hex_longitude":"2d802140","hex_latitude":"05c6bfb8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231296000001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96055401681780736,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214364812790669312,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782153502000,"timestamp_ms":1782153502000,"timestamp_seconds":1782153502,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a05d30"} 
[2026-06-23 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-06-23 00:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4036969456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741371816,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2682013697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3903848461,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1230504142,"corrected_to":0} 
[2026-06-23 00:09:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,88,85,24,241,157,16,65,158,81,45,192,193,15,43,10,66,38,197,17,1,240,191,227,198,4,113,205,142,41,216,42,239,115,2],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1230504142,"validated":0}]} 
[2026-06-23 00:09:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153075620918853632,"timestamp_seconds":1153075620918853.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 00:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:09:19] 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-06-23 00:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231296000001,"66":11124,"88":206,"85":12288,"24":10,"16":96055401681780736,"45":-9214364812790669312},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231296000001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:09:19] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96055401681780736,"km_value":96055401681780.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214364812790669312,"description":"Unknown IO ID 45"} 
[2026-06-23 00:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231296000001,"power":11124,"unknown_88":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9214364812790669312}} 
[2026-06-23 00:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":110413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:09:19] local.INFO: GPS data processed {"connection_id":110413,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:09:19] local.INFO: Acknowledgment sent {"connection_id":110413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:09:31] local.INFO: TCP Data received {"connection_id":110228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:09:31] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:09:31] local.INFO: IMEI packet received {"connection_id":110228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":110228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:09:34] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:09:34] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:09:34] local.INFO: IMEI packet received {"connection_id":110229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":110229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:09:36] local.INFO: TCP Data received {"connection_id":110228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:09:36] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:09:36] local.INFO: IMEI packet received {"connection_id":110228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":110228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:09:39] local.INFO: TCP Data received {"connection_id":110228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:39] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:39] local.INFO: Packet analysis {"connection_id":110228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:39] local.INFO: Extracted packet for processing {"connection_id":110228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:09:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":110228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:09:39] local.INFO: GPS data processed {"connection_id":110228,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:09:39] local.INFO: Acknowledgment sent {"connection_id":110228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:09:39] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:09:39] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:09:39] local.INFO: IMEI packet received {"connection_id":110229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":110229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:09:42] local.INFO: TCP Data received {"connection_id":110228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:42] local.INFO: Processing buffer {"connection_id":110228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:09:42] local.INFO: Packet analysis {"connection_id":110228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:42] local.INFO: Extracted packet for processing {"connection_id":110228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:09:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:09:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":110228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:09:42] local.INFO: GPS data processed {"connection_id":110228,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:09:42] local.INFO: Acknowledgment sent {"connection_id":110228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:09:49] local.INFO: TCP Data received {"connection_id":110229,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a06500012d80240005c6beb8000f006b2a..."} 
[2026-06-23 00:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a06500012d80240005c6beb8000f006b2a..."} 
[2026-06-23 00:09:49] local.INFO: Processing buffer {"connection_id":110229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a06500012d80240005c6beb8000f006b2a..."} 
[2026-06-23 00:09:49] local.INFO: Packet analysis {"connection_id":110229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:49] local.INFO: Extracted packet for processing {"connection_id":110229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:09:49] local.INFO: GPS Element Parsed {"raw_longitude":763372544,"raw_latitude":96911032,"longitude_deg":76.3372544,"latitude_deg":9.6911032,"altitude":15,"angle":107,"satellites":42,"speed":20,"hex_longitude":"2d802400","hex_latitude":"05c6beb8","is_valid_coordinates":true} 
[2026-06-23 00:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231296512001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96055440336486400,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214012969069856768,"note":"Value kept but may cause issues"} 
[2026-06-23 00:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782153504000,"timestamp_ms":1782153504000,"timestamp_seconds":1782153504,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a06500"} 
[2026-06-23 00:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-23 00:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:09:49] 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-06-23 00:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231296512001,"66":11624,"88":206,"85":12288,"24":20,"16":96055440336486400,"45":-9214012969069856768},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 00:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231296512001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:09:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 00:09:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96055440336486400,"km_value":96055440336486.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214012969069856768,"description":"Unknown IO ID 45"} 
[2026-06-23 00:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231296512001,"power":11624,"unknown_88":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-9214012969069856768}} 
[2026-06-23 00:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":110229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:09:49] local.INFO: GPS data processed {"connection_id":110229,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:09:49] local.INFO: Acknowledgment sent {"connection_id":110229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:10:08] local.INFO: TCP Data received {"connection_id":110414,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:10:08] local.INFO: Processing buffer {"connection_id":110414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:10:08] local.INFO: IMEI packet received {"connection_id":110414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":110414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:10:26] local.INFO: TCP Data received {"connection_id":111041,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:10:26] local.INFO: Processing buffer {"connection_id":111041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:10:26] local.INFO: IMEI packet received {"connection_id":111041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":111041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:10:31] local.INFO: TCP Data received {"connection_id":111041,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:10:31] local.INFO: Processing buffer {"connection_id":111041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:10:31] local.INFO: IMEI packet received {"connection_id":111041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":111041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:10:33] local.INFO: TCP Data received {"connection_id":111041,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:10:33] local.INFO: Processing buffer {"connection_id":111041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:10:33] local.INFO: Packet analysis {"connection_id":111041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:10:33] local.INFO: Extracted packet for processing {"connection_id":111041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 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-06-23 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:10:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:10:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:10:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":111041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:10:33] local.INFO: GPS data processed {"connection_id":111041,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:10:33] local.INFO: Acknowledgment sent {"connection_id":111041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:10:33] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:33] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:33] local.INFO: IMEI packet received {"connection_id":111969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":111969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:10:37] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:37] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:37] local.INFO: IMEI packet received {"connection_id":111969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":111969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:10:38] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:38] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:10:38] local.INFO: IMEI packet received {"connection_id":111969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":111969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:10:39] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a22a20012d81700005c68fd0000a008a29..."} 
[2026-06-23 00:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a22a20012d81700005c68fd0000a008a29..."} 
[2026-06-23 00:10:39] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a22a20012d81700005c68fd0000a008a29..."} 
[2026-06-23 00:10:39] local.INFO: Packet analysis {"connection_id":111969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:10:39] local.INFO: Extracted packet for processing {"connection_id":111969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763457536,"raw_latitude":96899024,"longitude_deg":76.3457536,"latitude_deg":9.6899024,"altitude":10,"angle":138,"satellites":41,"speed":8,"hex_longitude":"2d817000","hex_latitude":"05c68fd0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231326464001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96059563505090560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119859589363251200,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782153620000,"timestamp_ms":1782153620000,"timestamp_seconds":1782153620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a22a20"} 
[2026-06-23 00:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:10: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-06-23 00: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:10: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-06-23 00:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231326464001,"66":11895,"98":206,"85":12288,"24":8,"16":96059563505090560,"45":-9119859589363251200},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231326464001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96059563505090560,"km_value":96059563505090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119859589363251200,"description":"Unknown IO ID 45"} 
[2026-06-23 00:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231326464001,"power":11895,"unknown_98":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-9119859589363251200}} 
[2026-06-23 00:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":111969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:10:39] local.INFO: GPS data processed {"connection_id":111969,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:10:39] local.INFO: Acknowledgment sent {"connection_id":111969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:10:44] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a22e08012d81708005c68ef0000b00aa29..."} 
[2026-06-23 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a22e08012d81708005c68ef0000b00aa29..."} 
[2026-06-23 00:10:44] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a22e08012d81708005c68ef0000b00aa29..."} 
[2026-06-23 00:10:44] local.INFO: Packet analysis {"connection_id":111969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:10:44] local.INFO: Extracted packet for processing {"connection_id":111969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763457664,"raw_latitude":96898800,"longitude_deg":76.3457664,"latitude_deg":9.68988,"altitude":11,"angle":170,"satellites":41,"speed":10,"hex_longitude":"2d817080","hex_latitude":"05c68ef0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231326720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96059572095025152,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119789220619104256,"note":"Value kept but may cause issues"} 
[2026-06-23 00:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782153621000,"timestamp_ms":1782153621000,"timestamp_seconds":1782153621,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a22e08"} 
[2026-06-23 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-06-23 00:10:44] 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-06-23 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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:10:44] 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-06-23 00:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231326720001,"66":11776,"98":206,"85":12288,"24":10,"16":96059572095025152,"45":-9119789220619104256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231326720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:10:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96059572095025152,"km_value":96059572095025.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119789220619104256,"description":"Unknown IO ID 45"} 
[2026-06-23 00:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231326720001,"power":11776,"unknown_98":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9119789220619104256}} 
[2026-06-23 00:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":111969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:10:44] local.INFO: GPS data processed {"connection_id":111969,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:10:44] local.INFO: Acknowledgment sent {"connection_id":111969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:11:04] local.INFO: TCP Data received {"connection_id":111041,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:11:04] local.INFO: Processing buffer {"connection_id":111041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:11:04] local.INFO: Packet analysis {"connection_id":111041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:11:04] local.INFO: Extracted packet for processing {"connection_id":111041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:11: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-06-23 00: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-06-23 00:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:11:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:11:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":111041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:11:04] local.INFO: GPS data processed {"connection_id":111041,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:11:04] local.INFO: Acknowledgment sent {"connection_id":111041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:11:15] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a231f0012d81708005c68dd0000c00c329..."} 
[2026-06-23 00:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a231f0012d81708005c68dd0000c00c329..."} 
[2026-06-23 00:11:15] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a231f0012d81708005c68dd0000c00c329..."} 
[2026-06-23 00:11:15] local.INFO: Packet analysis {"connection_id":111969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:11:15] local.INFO: Extracted packet for processing {"connection_id":111969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763457664,"raw_latitude":96898512,"longitude_deg":76.3457664,"latitude_deg":9.6898512,"altitude":12,"angle":195,"satellites":41,"speed":12,"hex_longitude":"2d817080","hex_latitude":"05c68dd0","is_valid_coordinates":true} 
[2026-06-23 00:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231326976001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96059589274894336,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119648483130806272,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782153622000,"timestamp_ms":1782153622000,"timestamp_seconds":1782153622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a231f0"} 
[2026-06-23 00:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:11:15] 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-06-23 00:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4037118456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2168684549,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2716061697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2552233993,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231159502,"corrected_to":0} 
[2026-06-23 00:11:15] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3623955841,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:15] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,98,85,24,241,157,16,69,158,42,45,143,10,41,66,38,192,144,14,1,240,141,227,198,4,113,205,28,184,32,208,43,239,47,2],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1231159502,"validated":0}]} 
[2026-06-23 00:11:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792820627488243712,"timestamp_seconds":792820627488243.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:11:15] 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-06-23 00:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231326976001,"66":11776,"98":206,"85":12288,"24":12,"16":96059589274894336,"45":-9119648483130806272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231326976001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:11:15] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96059589274894336,"km_value":96059589274894.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119648483130806272,"description":"Unknown IO ID 45"} 
[2026-06-23 00:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231326976001,"power":11776,"unknown_98":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9119648483130806272}} 
[2026-06-23 00:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":111969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:11:15] local.INFO: GPS data processed {"connection_id":111969,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:11:15] local.INFO: Acknowledgment sent {"connection_id":111969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:11:25] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:11:25] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:11:25] local.INFO: IMEI packet received {"connection_id":111043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":111043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:11:31] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:11:31] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:11:31] local.INFO: IMEI packet received {"connection_id":111043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":111043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:11:33] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:11:33] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:11:33] local.INFO: Packet analysis {"connection_id":111043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:11:33] local.INFO: Extracted packet for processing {"connection_id":111043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:11:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:11:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:11:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:11:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":111043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:11:33] local.INFO: GPS data processed {"connection_id":111043,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:11:33] local.INFO: Acknowledgment sent {"connection_id":111043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:11:37] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:37] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:37] local.INFO: IMEI packet received {"connection_id":110230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":110230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:11:38] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:38] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:38] local.INFO: IMEI packet received {"connection_id":110230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":110230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:11:44] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:44] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:11:44] local.INFO: IMEI packet received {"connection_id":110230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":110230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:11:45] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a264b8012d8165c005c66990000f00c529..."} 
[2026-06-23 00:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a264b8012d8165c005c66990000f00c529..."} 
[2026-06-23 00:11:45] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a264b8012d8165c005c66990000f00c529..."} 
[2026-06-23 00:11:45] local.INFO: Packet analysis {"connection_id":110230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:11:45] local.INFO: Extracted packet for processing {"connection_id":110230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763454912,"raw_latitude":96889232,"longitude_deg":76.3454912,"latitude_deg":9.6889232,"altitude":15,"angle":197,"satellites":41,"speed":38,"hex_longitude":"2d8165c0","hex_latitude":"05c66990","is_valid_coordinates":true} 
[2026-06-23 00:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231327232001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96060057426329600,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119648483130880000,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782153635000,"timestamp_ms":1782153635000,"timestamp_seconds":1782153635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a264b8"} 
[2026-06-23 00:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:11:45] 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-06-23 00:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4037130456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2171011077,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2718877697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3489738113,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2441609225,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231159502,"corrected_to":0} 
[2026-06-23 00:11:45] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2147862168,"note":"Value kept but may cause issues"} 
[2026-06-23 00:11:45] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,98,85,24,241,157,16,69,158,46,45,128,142,11,41,10,66,42,143,38,192,1,240,119,227,198,4,113,205,27,67,32,239,2],"length":434,"final_offset":564,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1231159502,"validated":0}]} 
[2026-06-23 00:11:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864905709316997120,"timestamp_seconds":864905709316997.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:11:45] 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-06-23 00:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231327232001,"66":12037,"98":206,"85":12288,"24":38,"16":96060057426329600,"45":-9119648483130880000},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231327232001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96060057426329600,"km_value":96060057426329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119648483130880000,"description":"Unknown IO ID 45"} 
[2026-06-23 00:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231327232001,"power":12037,"unknown_98":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9119648483130880000}} 
[2026-06-23 00:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":110230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:11:45] local.INFO: GPS data processed {"connection_id":110230,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:11:45] local.INFO: Acknowledgment sent {"connection_id":110230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:12:05] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:12:05] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:12:05] local.INFO: Packet analysis {"connection_id":111043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:12:05] local.INFO: Extracted packet for processing {"connection_id":111043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:12:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:12:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:12:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":111043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:12:05] local.INFO: GPS data processed {"connection_id":111043,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:12:05] local.INFO: Acknowledgment sent {"connection_id":111043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:12:16] local.INFO: TCP Data received {"connection_id":110230,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a287e0012d815ac005c64770000e00c12a..."} 
[2026-06-23 00:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a287e0012d815ac005c64770000e00c12a..."} 
[2026-06-23 00:12:16] local.INFO: Processing buffer {"connection_id":110230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a287e0012d815ac005c64770000e00c12a..."} 
[2026-06-23 00:12:16] local.INFO: Packet analysis {"connection_id":110230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:12:16] local.INFO: Extracted packet for processing {"connection_id":110230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763452096,"raw_latitude":96880496,"longitude_deg":76.3452096,"latitude_deg":9.6880496,"altitude":14,"angle":193,"satellites":42,"speed":39,"hex_longitude":"2d815ac0","hex_latitude":"05c64770","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231330560001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96060504102928384,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122674339132895232,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782153644000,"timestamp_ms":1782153644000,"timestamp_seconds":1782153644,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a287e0"} 
[2026-06-23 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-06-23 00:12:16] 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-06-23 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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4037141456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2171584517,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640009,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2720413697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2420637706,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5287789798678855704,"corrected_to":0} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3355520385,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4136521073216690390,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:16] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,98,85,24,241,157,16,70,158,49,45,128,141,12,41,10,66,69,46,142,11,42,1,240,119,227,198,4,113,205,6,14,103,136,40,239,2,5],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":5287789798678855704,"validated":0}]} 
[2026-06-23 00:12:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081080690455740416,"timestamp_seconds":1081080690455740.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 00:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:12:16] 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-06-23 00:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231330560001,"66":11917,"98":206,"85":12288,"24":39,"16":96060504102928384,"45":-9122674339132895232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231330560001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:12:16] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96060504102928384,"km_value":96060504102928.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122674339132895232,"description":"Unknown IO ID 45"} 
[2026-06-23 00:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231330560001,"power":11917,"unknown_98":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9122674339132895232}} 
[2026-06-23 00:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":110230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:12:16] local.INFO: GPS data processed {"connection_id":110230,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:12:16] local.INFO: Acknowledgment sent {"connection_id":110230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:12:25] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:12:25] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:12:25] local.INFO: IMEI packet received {"connection_id":110415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":110415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:12:31] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:12:31] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:12:31] local.INFO: IMEI packet received {"connection_id":110415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":110415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:12:32] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:12:32] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:12:32] local.INFO: Packet analysis {"connection_id":110415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:12:32] local.INFO: Extracted packet for processing {"connection_id":110415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:12:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:12: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-06-23 00:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:12:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":110415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:12:32] local.INFO: GPS data processed {"connection_id":110415,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:12:32] local.INFO: Acknowledgment sent {"connection_id":110415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:12:34] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:12:34] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:12:34] local.INFO: IMEI packet received {"connection_id":110231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":110231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:12:37] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:12:37] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:12:37] local.INFO: IMEI packet received {"connection_id":110231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":110231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:12:37] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a2ab08012d81528005c62120001000c12a..."} 
[2026-06-23 00:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a2ab08012d81528005c62120001000c12a..."} 
[2026-06-23 00:12:37] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a2ab08012d81528005c62120001000c12a..."} 
[2026-06-23 00:12:37] local.INFO: Packet analysis {"connection_id":110231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:12:37] local.INFO: Extracted packet for processing {"connection_id":110231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a2"} 
[2026-06-23 00:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763449984,"raw_latitude":96870688,"longitude_deg":76.3449984,"latitude_deg":9.6870688,"altitude":16,"angle":193,"satellites":42,"speed":45,"hex_longitude":"2d815280","hex_latitude":"05c62120","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231332864001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96060989434232832,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9125770563878948864,"note":"Value kept but may cause issues"} 
[2026-06-23 00:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782153653000,"timestamp_ms":1782153653000,"timestamp_seconds":1782153653,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a2ab08"} 
[2026-06-23 00:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:12: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-06-23 00: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 00:12:37] 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-06-23 00: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-06-23 00:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:12: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-06-23 00:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231332864001,"66":12156,"98":206,"85":12288,"24":45,"16":96060989434232832,"45":-9125770563878948864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231332864001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:12:37] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96060989434232832,"km_value":96060989434232.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9125770563878948864,"description":"Unknown IO ID 45"} 
[2026-06-23 00:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231332864001,"power":12156,"unknown_98":206,"unknown_85":12288,"ignition":45,"odometer":null,"unknown_45":-9125770563878948864}} 
[2026-06-23 00:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":110231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:12:37] local.INFO: GPS data processed {"connection_id":110231,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:12:37] local.INFO: Acknowledgment sent {"connection_id":110231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:13:04] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:04] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:04] local.INFO: Packet analysis {"connection_id":110415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:13:04] local.INFO: Extracted packet for processing {"connection_id":110415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 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-06-23 00:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:13:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:13:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":110415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:13:04] local.INFO: GPS data processed {"connection_id":110415,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:13:04] local.INFO: Acknowledgment sent {"connection_id":110415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:13:08] local.INFO: TCP Data received {"connection_id":110231,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a48f68012d82240005c5ced8000c00c329..."} 
[2026-06-23 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a48f68012d82240005c5ced8000c00c329..."} 
[2026-06-23 00:13:08] local.INFO: Processing buffer {"connection_id":110231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a48f68012d82240005c5ced8000c00c329..."} 
[2026-06-23 00:13:08] local.INFO: Packet analysis {"connection_id":110231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a4"} 
[2026-06-23 00:13:08] local.INFO: Extracted packet for processing {"connection_id":110231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a4"} 
[2026-06-23 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763503616,"raw_latitude":96849624,"longitude_deg":76.3503616,"latitude_deg":9.6849624,"altitude":12,"angle":195,"satellites":41,"speed":13,"hex_longitude":"2d822400","hex_latitude":"05c5ced8","is_valid_coordinates":true} 
[2026-06-23 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231366400001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96064352393625600,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9068982987335321600,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782153777000,"timestamp_ms":1782153777000,"timestamp_seconds":1782153777,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a48f68"} 
[2026-06-23 00:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:13: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-06-23 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 00:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:13:08] 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-06-23 00:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231366400001,"66":12069,"125":206,"85":12288,"24":13,"16":96064352393625600,"45":-9068982987335321600},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231366400001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:13:08] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96064352393625600,"km_value":96064352393625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9068982987335321600,"description":"Unknown IO ID 45"} 
[2026-06-23 00:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231366400001,"power":12069,"unknown_125":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9068982987335321600}} 
[2026-06-23 00:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":110231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:13:08] local.INFO: GPS data processed {"connection_id":110231,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:13:08] local.INFO: Acknowledgment sent {"connection_id":110231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:13:31] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:13:31] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:13:31] local.INFO: IMEI packet received {"connection_id":110416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":110416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:13:34] local.INFO: TCP Data received {"connection_id":110232,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:13:34] local.INFO: Processing buffer {"connection_id":110232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:13:34] local.INFO: IMEI packet received {"connection_id":110232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":110232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:13:36] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:13:36] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:13:36] local.INFO: IMEI packet received {"connection_id":110416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":110416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:13:37] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:37] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:37] local.INFO: Packet analysis {"connection_id":110416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:13:37] local.INFO: Extracted packet for processing {"connection_id":110416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:13:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:13:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:13:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":110416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:13:37] local.INFO: GPS data processed {"connection_id":110416,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:13:37] local.INFO: Acknowledgment sent {"connection_id":110416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:13:39] local.INFO: TCP Data received {"connection_id":110232,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:13:39] local.INFO: Processing buffer {"connection_id":110232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:13:39] local.INFO: IMEI packet received {"connection_id":110232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":110232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:13:40] local.INFO: TCP Data received {"connection_id":110232,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a4a6d8012d82224005c5c470000e00b72a..."} 
[2026-06-23 00:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a4a6d8012d82224005c5c470000e00b72a..."} 
[2026-06-23 00:13:40] local.INFO: Processing buffer {"connection_id":110232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a4a6d8012d82224005c5c470000e00b72a..."} 
[2026-06-23 00:13:40] local.INFO: Packet analysis {"connection_id":110232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a4"} 
[2026-06-23 00:13:40] local.INFO: Extracted packet for processing {"connection_id":110232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a4"} 
[2026-06-23 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763503168,"raw_latitude":96846960,"longitude_deg":76.3503168,"latitude_deg":9.684696,"altitude":14,"angle":183,"satellites":42,"speed":19,"hex_longitude":"2d822240","hex_latitude":"05c5c470","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231366912001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96064481242644480,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069123724823832576,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782153783000,"timestamp_ms":1782153783000,"timestamp_seconds":1782153783,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a4a6d8"} 
[2026-06-23 00:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:13: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-06-23 00: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 00:13:40] 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-06-23 00: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-06-23 00:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:13: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-06-23 00:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231366912001,"66":11917,"125":206,"85":12288,"24":19,"16":96064481242644480,"45":-9069123724823832576},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231366912001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96064481242644480,"km_value":96064481242644.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069123724823832576,"description":"Unknown IO ID 45"} 
[2026-06-23 00:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231366912001,"power":11917,"unknown_125":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-9069123724823832576}} 
[2026-06-23 00:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":110232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:13:40] local.INFO: GPS data processed {"connection_id":110232,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:13:40] local.INFO: Acknowledgment sent {"connection_id":110232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:13:41] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:41] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a08828012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:13:41] local.INFO: Packet analysis {"connection_id":110416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:13:41] local.INFO: Extracted packet for processing {"connection_id":110416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a0"} 
[2026-06-23 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231222272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782153513000,"timestamp_ms":1782153513000,"timestamp_seconds":1782153513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a08828"} 
[2026-06-23 00:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:13: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-06-23 00: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-06-23 00:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231222272001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231222272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:13:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:13:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231222272001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":110416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:13:41] local.INFO: GPS data processed {"connection_id":110416,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:13:41] local.INFO: Acknowledgment sent {"connection_id":110416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:14:11] local.INFO: TCP Data received {"connection_id":110232,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a59908012d82040005c55d48001000eb29..."} 
[2026-06-23 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a59908012d82040005c55d48001000eb29..."} 
[2026-06-23 00:14:11] local.INFO: Processing buffer {"connection_id":110232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a59908012d82040005c55d48001000eb29..."} 
[2026-06-23 00:14:11] local.INFO: Packet analysis {"connection_id":110232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:14:11] local.INFO: Extracted packet for processing {"connection_id":110232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763495424,"raw_latitude":96820552,"longitude_deg":76.3495424,"latitude_deg":9.6820552,"altitude":16,"angle":235,"satellites":41,"speed":9,"hex_longitude":"2d820400","hex_latitude":"05c55d48","is_valid_coordinates":true} 
[2026-06-23 00:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231384064001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96065851337211904,"note":"Value kept but may cause issues"} 
[2026-06-23 00:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077990186597617664,"note":"Value kept but may cause issues"} 
[2026-06-23 00:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782153845000,"timestamp_ms":1782153845000,"timestamp_seconds":1782153845,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a59908"} 
[2026-06-23 00:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:14:11] 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-06-23 00:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:14: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-06-23 00:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231384064001,"66":11895,"125":206,"85":12288,"24":9,"16":96065851337211904,"45":-9077990186597617664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231384064001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:14:11] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96065851337211904,"km_value":96065851337211.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077990186597617664,"description":"Unknown IO ID 45"} 
[2026-06-23 00:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231384064001,"power":11895,"unknown_125":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9077990186597617664}} 
[2026-06-23 00:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":110232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:14:11] local.INFO: GPS data processed {"connection_id":110232,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:14:11] local.INFO: Acknowledgment sent {"connection_id":110232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:14:26] local.INFO: TCP Data received {"connection_id":111973,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:14:26] local.INFO: Processing buffer {"connection_id":111973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:14:26] local.INFO: IMEI packet received {"connection_id":111973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":111973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:14:31] local.INFO: TCP Data received {"connection_id":111973,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:14:31] local.INFO: Processing buffer {"connection_id":111973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:14:31] local.INFO: IMEI packet received {"connection_id":111973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":111973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:14:32] local.INFO: TCP Data received {"connection_id":111973,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:14:32] local.INFO: Processing buffer {"connection_id":111973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:14:32] local.INFO: Packet analysis {"connection_id":111973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:14:32] local.INFO: Extracted packet for processing {"connection_id":111973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:14:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 00:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:14:32] 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-06-23 00:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:14: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-06-23 00:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:14:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:14:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:14:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":111973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:14:32] local.INFO: GPS data processed {"connection_id":111973,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:14:32] local.INFO: Acknowledgment sent {"connection_id":111973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:14:40] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:14:40] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:14:40] local.INFO: IMEI packet received {"connection_id":110233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":110233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:14:53] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.45","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 00:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 00:14:53] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 00:14:53] local.INFO: IMEI packet received {"connection_id":110233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":110233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:15:04] local.INFO: TCP Data received {"connection_id":111973,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:15:04] local.INFO: Processing buffer {"connection_id":111973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:15:04] local.INFO: Packet analysis {"connection_id":111973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:15:04] local.INFO: Extracted packet for processing {"connection_id":111973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 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-06-23 00:15:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:15: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-06-23 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-06-23 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-06-23 00:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:15:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:15:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":111973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:15:04] local.INFO: GPS data processed {"connection_id":111973,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:15:04] local.INFO: Acknowledgment sent {"connection_id":111973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:15:05] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a59cf0012d82030005c55cd80010010629..."} 
[2026-06-23 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a59cf0012d82030005c55cd80010010629..."} 
[2026-06-23 00:15:05] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 00:15:05] local.INFO: IMEI packet received {"connection_id":110233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":110233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:15:05] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a650a0012d81e10005c52e70000c008429..."} 
[2026-06-23 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a650a0012d81e10005c52e70000c008429..."} 
[2026-06-23 00:15:05] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ef0..."} 
[2026-06-23 00:15:05] local.INFO: IMEI packet received {"connection_id":110233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":110233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:15:06] local.INFO: TCP Data received {"connection_id":110233,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a65488012d81e1c005c52df0000c00762a..."} 
[2026-06-23 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a65488012d81e1c005c52df0000c00762a..."} 
[2026-06-23 00:15:06] local.INFO: Processing buffer {"connection_id":110233,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019ef0a59cf0012d82030005c55cd80010010629..."} 
[2026-06-23 00:15:06] local.INFO: Packet analysis {"connection_id":110233,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:15:06] local.INFO: Extracted packet for processing {"connection_id":110233,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763495168,"raw_latitude":96820440,"longitude_deg":76.3495168,"latitude_deg":9.682044,"altitude":16,"angle":262,"satellites":41,"speed":10,"hex_longitude":"2d820300","hex_latitude":"05c55cd8","is_valid_coordinates":true} 
[2026-06-23 00:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231384320001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96065864222113792,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078130924086016000,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782153846000,"timestamp_ms":1782153846000,"timestamp_seconds":1782153846,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a59cf0"} 
[2026-06-23 00:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:15: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-06-23 00:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:15: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-06-23 00:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231384320001,"66":11895,"125":206,"85":12288,"24":10,"16":96065864222113792,"45":-9078130924086016000},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231384320001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96065864222113792,"km_value":96065864222113.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078130924086016000,"description":"Unknown IO ID 45"} 
[2026-06-23 00:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231384320001,"power":11895,"unknown_125":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9078130924086016000}} 
[2026-06-23 00:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":110233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:15:06] local.INFO: GPS data processed {"connection_id":110233,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:15:06] local.INFO: Acknowledgment sent {"connection_id":110233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:15:06] local.INFO: Packet analysis {"connection_id":110233,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef0a6"} 
[2026-06-23 00:15:06] local.INFO: Extracted packet for processing {"connection_id":110233,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a6"} 
[2026-06-23 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763486464,"raw_latitude":96808560,"longitude_deg":76.3486464,"latitude_deg":9.680856,"altitude":12,"angle":132,"satellites":41,"speed":7,"hex_longitude":"2d81e100","hex_latitude":"05c52e70","is_valid_coordinates":true} 
[2026-06-23 00:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231395840001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96066628726292480,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088123285762244608,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782153892000,"timestamp_ms":1782153892000,"timestamp_seconds":1782153892,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a650a0"} 
[2026-06-23 00:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:15: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-06-23 00:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 00:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:15: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-06-23 00:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231395840001,"66":12015,"125":206,"85":12288,"24":7,"16":96066628726292480,"45":-9088123285762244608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231395840001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96066628726292480,"km_value":96066628726292.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088123285762244608,"description":"Unknown IO ID 45"} 
[2026-06-23 00:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231395840001,"power":12015,"unknown_125":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-9088123285762244608}} 
[2026-06-23 00:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":110233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:15:06] local.INFO: GPS data processed {"connection_id":110233,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:15:06] local.INFO: Acknowledgment sent {"connection_id":110233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:15:06] local.INFO: Packet analysis {"connection_id":110233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a6"} 
[2026-06-23 00:15:06] local.INFO: Extracted packet for processing {"connection_id":110233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a6"} 
[2026-06-23 00:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763486656,"raw_latitude":96808432,"longitude_deg":76.3486656,"latitude_deg":9.6808432,"altitude":12,"angle":118,"satellites":42,"speed":6,"hex_longitude":"2d81e1c0","hex_latitude":"05c52df0","is_valid_coordinates":true} 
[2026-06-23 00:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231396352001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96066637316227072,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087982548273958912,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782153893000,"timestamp_ms":1782153893000,"timestamp_seconds":1782153893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a65488"} 
[2026-06-23 00:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:15: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-06-23 00:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 00:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:15: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-06-23 00:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231396352001,"66":12015,"125":206,"85":12288,"24":6,"16":96066637316227072,"45":-9087982548273958912},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231396352001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96066637316227072,"km_value":96066637316227.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087982548273958912,"description":"Unknown IO ID 45"} 
[2026-06-23 00:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231396352001,"power":12015,"unknown_125":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9087982548273958912}} 
[2026-06-23 00:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":110233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:15:06] local.INFO: GPS data processed {"connection_id":110233,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:15:06] local.INFO: Acknowledgment sent {"connection_id":110233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:15:25] local.INFO: TCP Data received {"connection_id":110235,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:15:25] local.INFO: Processing buffer {"connection_id":110235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:15:25] local.INFO: IMEI packet received {"connection_id":110235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":110235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:15:31] local.INFO: TCP Data received {"connection_id":110235,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:15:31] local.INFO: Processing buffer {"connection_id":110235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:15:31] local.INFO: IMEI packet received {"connection_id":110235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":110235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:15:32] local.INFO: TCP Data received {"connection_id":110235,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:15:32] local.INFO: Processing buffer {"connection_id":110235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:15:32] local.INFO: Packet analysis {"connection_id":110235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:15:32] local.INFO: Extracted packet for processing {"connection_id":110235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:15:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 00:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:15:32] 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-06-23 00:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:15: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-06-23 00: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-06-23 00:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:15:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:15:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:15:32] local.INFO: GPS data processed {"connection_id":110235,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:15:32] local.INFO: Acknowledgment sent {"connection_id":110235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:15:33] local.INFO: TCP Data received {"connection_id":111974,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:33] local.INFO: Processing buffer {"connection_id":111974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:33] local.INFO: IMEI packet received {"connection_id":111974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":111974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:15:34] local.INFO: TCP Data received {"connection_id":111974,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:34] local.INFO: Processing buffer {"connection_id":111974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:34] local.INFO: IMEI packet received {"connection_id":111974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":111974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:15:34] local.INFO: TCP Data received {"connection_id":111974,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:34] local.INFO: Processing buffer {"connection_id":111974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:34] local.INFO: IMEI packet received {"connection_id":111974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":111974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:15:35] local.INFO: TCP Data received {"connection_id":111974,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:35] local.INFO: Processing buffer {"connection_id":111974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:15:35] local.INFO: IMEI packet received {"connection_id":111974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":111974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:16:04] local.INFO: TCP Data received {"connection_id":110235,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:16:04] local.INFO: Processing buffer {"connection_id":110235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:16:04] local.INFO: Packet analysis {"connection_id":110235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:16:04] local.INFO: Extracted packet for processing {"connection_id":110235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 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-06-23 00:16:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:16: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-06-23 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-06-23 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-06-23 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:16:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:16:04] local.INFO: GPS data processed {"connection_id":110235,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:16:04] local.INFO: Acknowledgment sent {"connection_id":110235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:16:08] local.INFO: TCP Data received {"connection_id":111044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:16:08] local.INFO: Processing buffer {"connection_id":111044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:16:08] local.INFO: IMEI packet received {"connection_id":111044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":111044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:16:25] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:16:25] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:16:25] local.INFO: IMEI packet received {"connection_id":110417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":110417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:16:31] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:16:31] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:16:31] local.INFO: IMEI packet received {"connection_id":110417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":110417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:16:32] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:16:32] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:16:32] local.INFO: Packet analysis {"connection_id":110417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:16:32] local.INFO: Extracted packet for processing {"connection_id":110417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 00:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:16:32] 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-06-23 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:16: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-06-23 00:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:16:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":110417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:16:32] local.INFO: GPS data processed {"connection_id":110417,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:16:32] local.INFO: Acknowledgment sent {"connection_id":110417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:17:04] local.INFO: TCP Data received {"connection_id":110417,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:04] local.INFO: Processing buffer {"connection_id":110417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:04] local.INFO: Packet analysis {"connection_id":110417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:17:04] local.INFO: Extracted packet for processing {"connection_id":110417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:17:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 00:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:17:04] 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-06-23 00:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:17: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-06-23 00: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-06-23 00:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:17:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:17:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:17:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":110417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:17:04] local.INFO: GPS data processed {"connection_id":110417,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:17:04] local.INFO: Acknowledgment sent {"connection_id":110417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:17:31] local.INFO: TCP Data received {"connection_id":111975,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:17:31] local.INFO: Processing buffer {"connection_id":111975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:17:31] local.INFO: IMEI packet received {"connection_id":111975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":111975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:17:36] local.INFO: TCP Data received {"connection_id":111975,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:17:36] local.INFO: Processing buffer {"connection_id":111975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:17:36] local.INFO: IMEI packet received {"connection_id":111975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":111975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:17:37] local.INFO: TCP Data received {"connection_id":111975,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:37] local.INFO: Processing buffer {"connection_id":111975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:37] local.INFO: Packet analysis {"connection_id":111975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:17:37] local.INFO: Extracted packet for processing {"connection_id":111975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:17:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 00:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:17:37] 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-06-23 00:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:17:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:17:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":111975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:17:37] local.INFO: GPS data processed {"connection_id":111975,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:17:37] local.INFO: Acknowledgment sent {"connection_id":111975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:17:43] local.INFO: TCP Data received {"connection_id":111975,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:43] local.INFO: Processing buffer {"connection_id":111975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:17:43] local.INFO: Packet analysis {"connection_id":111975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:17:43] local.INFO: Extracted packet for processing {"connection_id":111975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 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-06-23 00:17:43] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:17:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:17:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":111975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:17:43] local.INFO: GPS data processed {"connection_id":111975,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:17:43] local.INFO: Acknowledgment sent {"connection_id":111975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:18:26] local.INFO: TCP Data received {"connection_id":110420,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:18:26] local.INFO: Processing buffer {"connection_id":110420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:18:26] local.INFO: IMEI packet received {"connection_id":110420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":110420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:18:31] local.INFO: TCP Data received {"connection_id":110420,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:18:31] local.INFO: Processing buffer {"connection_id":110420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:18:31] local.INFO: IMEI packet received {"connection_id":110420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":110420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:18:32] local.INFO: TCP Data received {"connection_id":110420,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:18:32] local.INFO: Processing buffer {"connection_id":110420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:18:32] local.INFO: Packet analysis {"connection_id":110420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:18:32] local.INFO: Extracted packet for processing {"connection_id":110420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 00:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:18:32] 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-06-23 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:18: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-06-23 00:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:18:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":110420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:18:32] local.INFO: GPS data processed {"connection_id":110420,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:18:32] local.INFO: Acknowledgment sent {"connection_id":110420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:19:04] local.INFO: TCP Data received {"connection_id":110420,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:19:04] local.INFO: Processing buffer {"connection_id":110420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a51ff0012cc3308007685990005a00ee2c..."} 
[2026-06-23 00:19:04] local.INFO: Packet analysis {"connection_id":110420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:19:04] local.INFO: Extracted packet for processing {"connection_id":110420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a5"} 
[2026-06-23 00:19:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231299328001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782153814000,"timestamp_ms":1782153814000,"timestamp_seconds":1782153814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a51ff0"} 
[2026-06-23 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-06-23 00:19:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:19: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-06-23 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-06-23 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-06-23 00:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231299328001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231299328001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:19:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:19:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231299328001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":110420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:19:04] local.INFO: GPS data processed {"connection_id":110420,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:19:04] local.INFO: Acknowledgment sent {"connection_id":110420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:19:26] local.INFO: TCP Data received {"connection_id":110238,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:19:26] local.INFO: Processing buffer {"connection_id":110238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:19:26] local.INFO: IMEI packet received {"connection_id":110238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":110238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:19:30] local.INFO: TCP Data received {"connection_id":110238,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:19:30] local.INFO: Processing buffer {"connection_id":110238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:19:30] local.INFO: IMEI packet received {"connection_id":110238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:19:32] local.INFO: TCP Data received {"connection_id":110238,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:19:32] local.INFO: Processing buffer {"connection_id":110238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:19:32] local.INFO: Packet analysis {"connection_id":110238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:19:32] local.INFO: Extracted packet for processing {"connection_id":110238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 00:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:19:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:19:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":110238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:19:32] local.INFO: GPS data processed {"connection_id":110238,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:19:32] local.INFO: Acknowledgment sent {"connection_id":110238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:20:04] local.INFO: TCP Data received {"connection_id":110238,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:20:04] local.INFO: Processing buffer {"connection_id":110238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:20:04] local.INFO: Packet analysis {"connection_id":110238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:20:04] local.INFO: Extracted packet for processing {"connection_id":110238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 00:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:20:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:20:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":110238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:20:04] local.INFO: GPS data processed {"connection_id":110238,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:20:04] local.INFO: Acknowledgment sent {"connection_id":110238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:20:26] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:20:26] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:20:26] local.INFO: IMEI packet received {"connection_id":111977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":111977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:20:31] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:20:31] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:20:31] local.INFO: IMEI packet received {"connection_id":111977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":111977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:20:33] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:20:33] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:20:33] local.INFO: Packet analysis {"connection_id":111977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:20:33] local.INFO: Extracted packet for processing {"connection_id":111977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:20:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 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-06-23 00:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:20:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:20:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:20:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":111977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:20:33] local.INFO: GPS data processed {"connection_id":111977,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:20:33] local.INFO: Acknowledgment sent {"connection_id":111977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:20:37] local.INFO: TCP Data received {"connection_id":110423,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:37] local.INFO: Processing buffer {"connection_id":110423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:37] local.INFO: IMEI packet received {"connection_id":110423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":110423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:20:38] local.INFO: TCP Data received {"connection_id":110423,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:38] local.INFO: Processing buffer {"connection_id":110423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:38] local.INFO: IMEI packet received {"connection_id":110423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":110423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:20:44] local.INFO: TCP Data received {"connection_id":110423,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:44] local.INFO: Processing buffer {"connection_id":110423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:20:44] local.INFO: IMEI packet received {"connection_id":110423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":110423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:20:44] local.INFO: TCP Data received {"connection_id":110423,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ab59b0012d81478005c5f3c0000801492c..."} 
[2026-06-23 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ab59b0012d81478005c5f3c0000801492c..."} 
[2026-06-23 00:20:44] local.INFO: Processing buffer {"connection_id":110423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ab59b0012d81478005c5f3c0000801492c..."} 
[2026-06-23 00:20:44] local.INFO: Packet analysis {"connection_id":110423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:20:44] local.INFO: Extracted packet for processing {"connection_id":110423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763447168,"raw_latitude":96859072,"longitude_deg":76.3447168,"latitude_deg":9.6859072,"altitude":8,"angle":329,"satellites":44,"speed":12,"hex_longitude":"2d814780","hex_latitude":"05c5f3c0","is_valid_coordinates":true} 
[2026-06-23 00:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231480576001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96074174983831552,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130977850953635840,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782154222000,"timestamp_ms":1782154222000,"timestamp_seconds":1782154222,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ab59b0"} 
[2026-06-23 00:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:20: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-06-23 00:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 00:20:44] 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-06-23 00:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:20:44] 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-06-23 00:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231480576001,"66":11634,"125":206,"85":12288,"24":12,"16":96074174983831552,"45":-9130977850953635840},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231480576001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:20:44] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96074174983831552,"km_value":96074174983831.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130977850953635840,"description":"Unknown IO ID 45"} 
[2026-06-23 00:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231480576001,"power":11634,"unknown_125":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9130977850953635840}} 
[2026-06-23 00:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":110423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:20:44] local.INFO: GPS data processed {"connection_id":110423,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:20:44] local.INFO: Acknowledgment sent {"connection_id":110423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:20:48] local.INFO: TCP Data received {"connection_id":110423,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ab5d98012d81470005c5f4d8000801592c..."} 
[2026-06-23 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ab5d98012d81470005c5f4d8000801592c..."} 
[2026-06-23 00:20:48] local.INFO: Processing buffer {"connection_id":110423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ab5d98012d81470005c5f4d8000801592c..."} 
[2026-06-23 00:20:48] local.INFO: Packet analysis {"connection_id":110423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:20:48] local.INFO: Extracted packet for processing {"connection_id":110423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":763447040,"raw_latitude":96859352,"longitude_deg":76.344704,"latitude_deg":9.6859352,"altitude":8,"angle":345,"satellites":44,"speed":13,"hex_longitude":"2d814700","hex_latitude":"05c5f4d8","is_valid_coordinates":true} 
[2026-06-23 00:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96074192163700736,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131188957186113536,"note":"Value kept but may cause issues"} 
[2026-06-23 00:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782154223000,"timestamp_ms":1782154223000,"timestamp_seconds":1782154223,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ab5d98"} 
[2026-06-23 00:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 00:20:48] 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-06-23 00:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:20:48] 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-06-23 00:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231480832001,"66":11798,"125":206,"85":12288,"24":13,"16":96074192163700736,"45":-9131188957186113536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96074192163700736,"km_value":96074192163700.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131188957186113536,"description":"Unknown IO ID 45"} 
[2026-06-23 00:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231480832001,"power":11798,"unknown_125":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9131188957186113536}} 
[2026-06-23 00:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":110423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:20:48] local.INFO: GPS data processed {"connection_id":110423,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:20:48] local.INFO: Acknowledgment sent {"connection_id":110423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:21:05] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:21:05] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:21:05] local.INFO: Packet analysis {"connection_id":111977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:21:05] local.INFO: Extracted packet for processing {"connection_id":111977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:21:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 00:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:21:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:21:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":111977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:21:05] local.INFO: GPS data processed {"connection_id":111977,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:21:05] local.INFO: Acknowledgment sent {"connection_id":111977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:21:26] local.INFO: TCP Data received {"connection_id":110239,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:21:26] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:21:26] local.INFO: IMEI packet received {"connection_id":110239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":110239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:21:31] local.INFO: TCP Data received {"connection_id":110239,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:21:31] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:21:31] local.INFO: IMEI packet received {"connection_id":110239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":110239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:21:33] local.INFO: TCP Data received {"connection_id":110239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:21:33] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:21:33] local.INFO: Packet analysis {"connection_id":110239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:21:33] local.INFO: Extracted packet for processing {"connection_id":110239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:21:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 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-06-23 00:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:21:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:21:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:21:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":110239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:21:33] local.INFO: GPS data processed {"connection_id":110239,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:21:33] local.INFO: Acknowledgment sent {"connection_id":110239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:21:33] local.INFO: TCP Data received {"connection_id":110424,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:21:33] local.INFO: Processing buffer {"connection_id":110424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:21:33] local.INFO: IMEI packet received {"connection_id":110424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":110424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:21:34] local.INFO: TCP Data received {"connection_id":111046,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:21:34] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:21:34] local.INFO: IMEI packet received {"connection_id":111046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":111046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:21:39] local.INFO: TCP Data received {"connection_id":111046,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:21:39] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:21:39] local.INFO: IMEI packet received {"connection_id":111046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":111046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:21:40] local.INFO: TCP Data received {"connection_id":111046,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ab6180012d81470005c5f648000900042c..."} 
[2026-06-23 00:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ab6180012d81470005c5f648000900042c..."} 
[2026-06-23 00:21:40] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ab6180012d81470005c5f648000900042c..."} 
[2026-06-23 00:21:40] local.INFO: Packet analysis {"connection_id":111046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:21:40] local.INFO: Extracted packet for processing {"connection_id":111046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763447040,"raw_latitude":96859720,"longitude_deg":76.344704,"latitude_deg":9.685972,"altitude":9,"angle":4,"satellites":44,"speed":16,"hex_longitude":"2d814700","hex_latitude":"05c5f648","is_valid_coordinates":true} 
[2026-06-23 00:21: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-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231481088001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96074209343569920,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131329694674397184,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782154224000,"timestamp_ms":1782154224000,"timestamp_seconds":1782154224,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ab6180"} 
[2026-06-23 00:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:21: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-06-23 00:21: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":85,"raw_value":5916604010457989120,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3026442039337159168,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4037729456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169208837,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184161378509,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2873757697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-2533274756017870592,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847067376,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826764494,"corrected_to":0} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":110,"raw_value":2147861996,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6138406395187101698,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4613310969777489921,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":250,"raw_value":57887620768617776,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":170,"raw_value":-8736981982135107579,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.WARNING: Large IO value detected {"io_id":36,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,125,85,24,241,157,16,82,158,89,45,128,243,8,44,10,66,64,242,6,81,1,240,245,227,197,4,113,205,15,110,224,42,239,47,2,88,206,181,250,170,36],"length":632,"final_offset":762,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2826764494,"validated":0}]} 
[2026-06-23 00:21:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576840272794419200,"timestamp_seconds":576840272794419.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:21: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-06-23 00:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231481088001,"66":11798,"125":206,"85":12288,"24":16,"16":96074209343569920,"45":-9131329694674397184},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231481088001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:21:40] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96074209343569920,"km_value":96074209343569.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131329694674397184,"description":"Unknown IO ID 45"} 
[2026-06-23 00:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231481088001,"power":11798,"unknown_125":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9131329694674397184}} 
[2026-06-23 00:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":111046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:21:40] local.INFO: GPS data processed {"connection_id":111046,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:21:40] local.INFO: Acknowledgment sent {"connection_id":111046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:21:41] local.INFO: TCP Data received {"connection_id":111046,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ab8c78012d814bc005c60d580010000f2b..."} 
[2026-06-23 00:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ab8c78012d814bc005c60d580010000f2b..."} 
[2026-06-23 00:21:41] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ab8c78012d814bc005c60d580010000f2b..."} 
[2026-06-23 00:21:41] local.INFO: Packet analysis {"connection_id":111046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:21:41] local.INFO: Extracted packet for processing {"connection_id":111046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763448256,"raw_latitude":96865624,"longitude_deg":76.3448256,"latitude_deg":9.6865624,"altitude":16,"angle":15,"satellites":43,"speed":30,"hex_longitude":"2d814bc0","hex_latitude":"05c60d58","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231481344001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96074501401346048,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131329694674302976,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782154235000,"timestamp_ms":1782154235000,"timestamp_seconds":1782154235,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ab8c78"} 
[2026-06-23 00:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:21:41] 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-06-23 00: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":85,"raw_value":5945314458082476032,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":82,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4037742456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273064,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184162820301,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2874269697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-2127950789554460160,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847067376,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826764494,"corrected_to":0} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147862001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6138406395187298306,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":146,"raw_value":1624975777728257,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3026450835430181376,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":57887625063585072,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":170,"raw_value":-5640757238320250875,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.WARNING: Large IO value detected {"io_id":21,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 00:21:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,125,85,24,241,157,16,82,158,93,45,244,8,44,10,66,89,128,243,64,1,240,114,227,197,4,113,205,11,74,75,160,239,2,88,206,146,25,32,170,21],"length":632,"final_offset":762,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2826764494,"validated":0}]} 
[2026-06-23 00:21:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648522933367472128,"timestamp_seconds":648522933367472.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:21:41] 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-06-23 00:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231481344001,"66":11874,"125":206,"85":12288,"24":30,"16":96074501401346048,"45":-9131329694674302976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231481344001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96074501401346048,"km_value":96074501401346.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131329694674302976,"description":"Unknown IO ID 45"} 
[2026-06-23 00:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231481344001,"power":11874,"unknown_125":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9131329694674302976}} 
[2026-06-23 00:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":111046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:21:41] local.INFO: GPS data processed {"connection_id":111046,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:21:41] local.INFO: Acknowledgment sent {"connection_id":111046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:22:05] local.INFO: TCP Data received {"connection_id":110239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:22:05] local.INFO: Processing buffer {"connection_id":110239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:22:05] local.INFO: Packet analysis {"connection_id":110239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:22:05] local.INFO: Extracted packet for processing {"connection_id":110239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 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-06-23 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:22:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:22:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":110239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:22:05] local.INFO: GPS data processed {"connection_id":110239,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:22:05] local.INFO: Acknowledgment sent {"connection_id":110239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:22:08] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:08] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:08] local.INFO: IMEI packet received {"connection_id":111047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":111047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:22:12] local.INFO: TCP Data received {"connection_id":111046,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0abb770012d81554005c630c8000f000c2b..."} 
[2026-06-23 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0abb770012d81554005c630c8000f000c2b..."} 
[2026-06-23 00:22:12] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0abb770012d81554005c630c8000f000c2b..."} 
[2026-06-23 00:22:12] local.INFO: Packet analysis {"connection_id":111046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:22:12] local.INFO: Extracted packet for processing {"connection_id":111046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763450688,"raw_latitude":96874696,"longitude_deg":76.3450688,"latitude_deg":9.6874696,"altitude":15,"angle":12,"satellites":43,"speed":32,"hex_longitude":"2d815540","hex_latitude":"05c630c8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231484160001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96074956667879424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129992688533415936,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782154246000,"timestamp_ms":1782154246000,"timestamp_seconds":1782154246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0abb770"} 
[2026-06-23 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-06-23 00:22:12] 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-06-23 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 00:22:12] 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-06-23 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-06-23 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-06-23 00:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":111046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":111046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":111046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:22:12] 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-06-23 00:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231484160001,"66":12004,"125":206,"85":12288,"24":32,"16":96074956667879424,"45":-9129992688533415936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231484160001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96074956667879424,"km_value":96074956667879.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129992688533415936,"description":"Unknown IO ID 45"} 
[2026-06-23 00:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231484160001,"power":12004,"unknown_125":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":-9129992688533415936}} 
[2026-06-23 00:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":111046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:22:12] local.INFO: GPS data processed {"connection_id":111046,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:22:12] local.INFO: Acknowledgment sent {"connection_id":111046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:22:13] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:13] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:13] local.INFO: IMEI packet received {"connection_id":111047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 00:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":111047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:22:14] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef07b6458012d34ca0006aa5730000901002b..."} 
[2026-06-23 00:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef07b6458012d34ca0006aa5730000901002b..."} 
[2026-06-23 00:22:14] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef07b6458012d34ca0006aa5730000901002b..."} 
[2026-06-23 00:22:14] local.INFO: Packet analysis {"connection_id":111047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef07b"} 
[2026-06-23 00:22:14] local.INFO: Extracted packet for processing {"connection_id":111047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef07b"} 
[2026-06-23 00:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758434304,"raw_latitude":111826736,"longitude_deg":75.8434304,"latitude_deg":11.1826736,"altitude":9,"angle":256,"satellites":43,"speed":0,"hex_longitude":"2d34ca00","hex_latitude":"06aa5730","is_valid_coordinates":true} 
[2026-06-23 00:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456230599168001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126330557431808000,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803852863895449600,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782151079000,"timestamp_ms":1782151079000,"timestamp_seconds":1782151079,"priority":1,"record_length":96,"hex_timestamp":"0000019ef07b6458"} 
[2026-06-23 00:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 00:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":111047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":111047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 00:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":111047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 00:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-23 00:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-23 00:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456230599168001,"66":25680,"32":206,"81":23296,"24":0,"16":126330557431808000,"45":3803852863895449600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-06-23 00:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-23 00:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-23 00:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456230599168001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:22:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-23 00:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-23 00:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126330557431808000,"km_value":126330557431808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803852863895449600,"description":"Unknown IO ID 45"} 
[2026-06-23 00:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456230599168001,"power":25680,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803852863895449600}} 
[2026-06-23 00:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":111047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:22:14] local.INFO: GPS data processed {"connection_id":111047,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:22:14] local.INFO: Acknowledgment sent {"connection_id":111047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:22:25] local.INFO: TCP Data received {"connection_id":111978,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:22:25] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:22:25] local.INFO: IMEI packet received {"connection_id":111978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":111978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:22:31] local.INFO: TCP Data received {"connection_id":111978,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:22:31] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:22:31] local.INFO: IMEI packet received {"connection_id":111978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":111978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:22:33] local.INFO: TCP Data received {"connection_id":111978,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:22:33] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:22:33] local.INFO: Packet analysis {"connection_id":111978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:22:33] local.INFO: Extracted packet for processing {"connection_id":111978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 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-06-23 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:22:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:22:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:22:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":111978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:22:33] local.INFO: GPS data processed {"connection_id":111978,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:22:33] local.INFO: Acknowledgment sent {"connection_id":111978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:22:34] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:34] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:34] local.INFO: IMEI packet received {"connection_id":111048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":111048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:22:34] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:34] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:34] local.INFO: IMEI packet received {"connection_id":111048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":111048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:22:38] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:38] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:22:38] local.INFO: IMEI packet received {"connection_id":111048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":111048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:22:39] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0abe268012d815dc005c65438000f00112b..."} 
[2026-06-23 00:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0abe268012d815dc005c65438000f00112b..."} 
[2026-06-23 00:22:39] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0abe268012d815dc005c65438000f00112b..."} 
[2026-06-23 00:22:39] local.INFO: Packet analysis {"connection_id":111048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:22:39] local.INFO: Extracted packet for processing {"connection_id":111048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ab"} 
[2026-06-23 00:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763452864,"raw_latitude":96883768,"longitude_deg":76.3452864,"latitude_deg":9.6883768,"altitude":15,"angle":17,"satellites":43,"speed":30,"hex_longitude":"2d815dc0","hex_latitude":"05c65438","is_valid_coordinates":true} 
[2026-06-23 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231486976001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96075407639445504,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9127318676252342272,"note":"Value kept but may cause issues"} 
[2026-06-23 00:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782154257000,"timestamp_ms":1782154257000,"timestamp_seconds":1782154257,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0abe268"} 
[2026-06-23 00:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:22: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-06-23 00:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 00:22:39] 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-06-23 00:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:22: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-06-23 00:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231486976001,"66":12026,"125":206,"85":12288,"24":30,"16":96075407639445504,"45":-9127318676252342272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231486976001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96075407639445504,"km_value":96075407639445.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9127318676252342272,"description":"Unknown IO ID 45"} 
[2026-06-23 00:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231486976001,"power":12026,"unknown_125":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9127318676252342272}} 
[2026-06-23 00:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":111048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:22:39] local.INFO: GPS data processed {"connection_id":111048,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:22:39] local.INFO: Acknowledgment sent {"connection_id":111048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:22:58] local.INFO: TCP Data received {"connection_id":110425,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:58] local.INFO: Processing buffer {"connection_id":110425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:22:58] local.INFO: IMEI packet received {"connection_id":110425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":110425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:23:05] local.INFO: TCP Data received {"connection_id":111978,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:05] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:05] local.INFO: Packet analysis {"connection_id":111978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:23:05] local.INFO: Extracted packet for processing {"connection_id":111978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:23:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 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-06-23 00:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:23:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:23:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":111978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:23:05] local.INFO: GPS data processed {"connection_id":111978,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:23:05] local.INFO: Acknowledgment sent {"connection_id":111978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:23:10] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ac1148012d81680005c67568000b000f2c..."} 
[2026-06-23 00:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ac1148012d81680005c67568000b000f2c..."} 
[2026-06-23 00:23:10] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ac1148012d81680005c67568000b000f2c..."} 
[2026-06-23 00:23:10] local.INFO: Packet analysis {"connection_id":111048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ac"} 
[2026-06-23 00:23:10] local.INFO: Extracted packet for processing {"connection_id":111048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ac"} 
[2026-06-23 00:23:10] local.INFO: GPS Element Parsed {"raw_longitude":763455488,"raw_latitude":96892264,"longitude_deg":76.3455488,"latitude_deg":9.6892264,"altitude":11,"angle":15,"satellites":44,"speed":23,"hex_longitude":"2d816800","hex_latitude":"05c67568","is_valid_coordinates":true} 
[2026-06-23 00:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231489792001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96075837136175104,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124926138947979264,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782154269000,"timestamp_ms":1782154269000,"timestamp_seconds":1782154269,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ac1148"} 
[2026-06-23 00:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:23: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-06-23 00:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-23 00:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:23:10] 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-06-23 00:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231489792001,"66":11602,"125":206,"85":12288,"24":23,"16":96075837136175104,"45":-9124926138947979264},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-06-23 00:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231489792001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96075837136175104,"km_value":96075837136175.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124926138947979264,"description":"Unknown IO ID 45"} 
[2026-06-23 00:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231489792001,"power":11602,"unknown_125":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9124926138947979264}} 
[2026-06-23 00:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":111048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:23:10] local.INFO: GPS data processed {"connection_id":111048,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:23:10] local.INFO: Acknowledgment sent {"connection_id":111048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:23:31] local.INFO: TCP Data received {"connection_id":110240,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:23:31] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:23:31] local.INFO: IMEI packet received {"connection_id":110240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":110240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:23:34] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:23:34] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:23:34] local.INFO: IMEI packet received {"connection_id":111049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":111049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:23:36] local.INFO: TCP Data received {"connection_id":110240,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:23:36] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:23:36] local.INFO: IMEI packet received {"connection_id":110240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":110240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:23:37] local.INFO: TCP Data received {"connection_id":110240,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:37] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:37] local.INFO: Packet analysis {"connection_id":110240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:23:37] local.INFO: Extracted packet for processing {"connection_id":110240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:23:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 00:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:23:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:23:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":110240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:23:37] local.INFO: GPS data processed {"connection_id":110240,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:23:37] local.INFO: Acknowledgment sent {"connection_id":110240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:23:38] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:23:38] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:23:38] local.INFO: IMEI packet received {"connection_id":111049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":111049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:23:39] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ac4fc8012d81728005c698280009000d2c..."} 
[2026-06-23 00:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ac4fc8012d81728005c698280009000d2c..."} 
[2026-06-23 00:23:39] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ac4fc8012d81728005c698280009000d2c..."} 
[2026-06-23 00:23:39] local.INFO: Packet analysis {"connection_id":111049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ac"} 
[2026-06-23 00:23:39] local.INFO: Extracted packet for processing {"connection_id":111049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ac"} 
[2026-06-23 00:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763458176,"raw_latitude":96901160,"longitude_deg":76.3458176,"latitude_deg":9.690116,"altitude":9,"angle":13,"satellites":44,"speed":30,"hex_longitude":"2d817280","hex_latitude":"05c69828","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231492864001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96076288107741184,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122041020434520064,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782154285000,"timestamp_ms":1782154285000,"timestamp_seconds":1782154285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ac4fc8"} 
[2026-06-23 00:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:23: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-06-23 00: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 00:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:23: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-06-23 00:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231492864001,"66":11830,"98":206,"85":12288,"24":30,"16":96076288107741184,"45":-9122041020434520064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-06-23 00:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231492864001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96076288107741184,"km_value":96076288107741.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122041020434520064,"description":"Unknown IO ID 45"} 
[2026-06-23 00:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231492864001,"power":11830,"unknown_98":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-9122041020434520064}} 
[2026-06-23 00:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":111049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:23:39] local.INFO: GPS data processed {"connection_id":111049,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:23:39] local.INFO: Acknowledgment sent {"connection_id":111049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:23:42] local.INFO: TCP Data received {"connection_id":110240,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:42] local.INFO: Processing buffer {"connection_id":110240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0a9b7b8012cc3308007685990005a00ee29..."} 
[2026-06-23 00:23:42] local.INFO: Packet analysis {"connection_id":110240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:23:42] local.INFO: Extracted packet for processing {"connection_id":110240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0a9"} 
[2026-06-23 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231376384001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782154115000,"timestamp_ms":1782154115000,"timestamp_seconds":1782154115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0a9b7b8"} 
[2026-06-23 00:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231376384001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231376384001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:23:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:23:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231376384001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":110240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:23:42] local.INFO: GPS data processed {"connection_id":110240,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:23:42] local.INFO: Acknowledgment sent {"connection_id":110240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:24:10] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae0930012d81b44005c7d2f0000b00072c..."} 
[2026-06-23 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae0930012d81b44005c7d2f0000b00072c..."} 
[2026-06-23 00:24:10] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae0930012d81b44005c7d2f0000b00072c..."} 
[2026-06-23 00:24:10] local.INFO: Packet analysis {"connection_id":111049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:24:10] local.INFO: Extracted packet for processing {"connection_id":111049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763475008,"raw_latitude":96981744,"longitude_deg":76.3475008,"latitude_deg":9.6981744,"altitude":11,"angle":7,"satellites":44,"speed":11,"hex_longitude":"2d81b440","hex_latitude":"05c7d2f0","is_valid_coordinates":true} 
[2026-06-23 00:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231520768001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96080329671966720,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102056297067360256,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782154398000,"timestamp_ms":1782154398000,"timestamp_seconds":1782154398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae0930"} 
[2026-06-23 00:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:24:10] 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-06-23 00:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4037864456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2173779973,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2903965697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231159502,"corrected_to":0} 
[2026-06-23 00:24:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221302657,"corrected_to":0} 
[2026-06-23 00:24:10] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257801,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,114,85,24,241,157,16,88,158,116,45,192,149,6,44,10,66,87,89,128,139,54,1,240,207,227,199,4,113,205,47,247,131,104,239,46,98,2],"length":434,"final_offset":564,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231159502,"validated":0},{"io_id":247,"original":3221302657,"validated":0}]} 
[2026-06-23 00:24:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576467542647635968,"timestamp_seconds":576467542647636.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:24:10] 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-06-23 00:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231520768001,"66":10873,"114":206,"85":12288,"24":11,"16":96080329671966720,"45":-9102056297067360256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-06-23 00:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231520768001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96080329671966720,"km_value":96080329671966.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102056297067360256,"description":"Unknown IO ID 45"} 
[2026-06-23 00:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231520768001,"power":10873,"unknown_114":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9102056297067360256}} 
[2026-06-23 00:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":111049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:24:10] local.INFO: GPS data processed {"connection_id":111049,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:24:10] local.INFO: Acknowledgment sent {"connection_id":111049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:24:26] local.INFO: TCP Data received {"connection_id":110241,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:24:26] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:24:26] local.INFO: IMEI packet received {"connection_id":110241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":110241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:24:31] local.INFO: TCP Data received {"connection_id":110241,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:24:31] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:24:31] local.INFO: IMEI packet received {"connection_id":110241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":110241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:24:32] local.INFO: TCP Data received {"connection_id":110241,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:24:32] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:24:32] local.INFO: Packet analysis {"connection_id":110241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:24:32] local.INFO: Extracted packet for processing {"connection_id":110241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:24:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:24:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:24:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":110241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:24:32] local.INFO: GPS data processed {"connection_id":110241,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:24:32] local.INFO: Acknowledgment sent {"connection_id":110241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:24:33] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:24:33] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:24:33] local.INFO: IMEI packet received {"connection_id":110242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":110242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:24:38] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:24:38] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:24:38] local.INFO: IMEI packet received {"connection_id":110242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":110242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:24:38] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae5b38012d81b88005c7f408000900052d..."} 
[2026-06-23 00:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae5b38012d81b88005c7f408000900052d..."} 
[2026-06-23 00:24:38] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae5b38012d81b88005c7f408000900052d..."} 
[2026-06-23 00:24:38] local.INFO: Packet analysis {"connection_id":110242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:24:38] local.INFO: Extracted packet for processing {"connection_id":110242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:24:38] local.INFO: GPS Element Parsed {"raw_longitude":763476096,"raw_latitude":96990216,"longitude_deg":76.3476096,"latitude_deg":9.6990216,"altitude":9,"angle":5,"satellites":45,"speed":18,"hex_longitude":"2d81b880","hex_latitude":"05c7f408","is_valid_coordinates":true} 
[2026-06-23 00:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231525888001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96080746283794432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100578553437425664,"note":"Value kept but may cause issues"} 
[2026-06-23 00:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782154419000,"timestamp_ms":1782154419000,"timestamp_seconds":1782154419,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae5b38"} 
[2026-06-23 00:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:24: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-06-23 00:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-06-23 00:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1497,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:24:38] 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-06-23 00:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231525888001,"66":11743,"114":206,"85":12288,"24":18,"16":96080746283794432,"45":-9100578553437425664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-06-23 00:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231525888001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:24:38] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-23 00:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96080746283794432,"km_value":96080746283794.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100578553437425664,"description":"Unknown IO ID 45"} 
[2026-06-23 00:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231525888001,"power":11743,"unknown_114":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9100578553437425664}} 
[2026-06-23 00:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":110242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:24:39] local.INFO: GPS data processed {"connection_id":110242,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:24:39] local.INFO: Acknowledgment sent {"connection_id":110242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:25:04] local.INFO: TCP Data received {"connection_id":110241,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:25:04] local.INFO: Processing buffer {"connection_id":110241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:25:04] local.INFO: Packet analysis {"connection_id":110241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:04] local.INFO: Extracted packet for processing {"connection_id":110241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:25:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:25:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":110241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:25:04] local.INFO: GPS data processed {"connection_id":110241,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:25:04] local.INFO: Acknowledgment sent {"connection_id":110241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:25:10] local.INFO: TCP Data received {"connection_id":110242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0aead40012d81bb0005c814d8000900002d..."} 
[2026-06-23 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0aead40012d81bb0005c814d8000900002d..."} 
[2026-06-23 00:25:10] local.INFO: Processing buffer {"connection_id":110242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0aead40012d81bb0005c814d8000900002d..."} 
[2026-06-23 00:25:10] local.INFO: Packet analysis {"connection_id":110242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:10] local.INFO: Extracted packet for processing {"connection_id":110242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763476736,"raw_latitude":96998616,"longitude_deg":76.3476736,"latitude_deg":9.6998616,"altitude":9,"angle":0,"satellites":45,"speed":18,"hex_longitude":"2d81bb00","hex_latitude":"05c814d8","is_valid_coordinates":true} 
[2026-06-23 00:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231531264001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96081154305687552,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099382284784236544,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782154440000,"timestamp_ms":1782154440000,"timestamp_seconds":1782154440,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0aead40"} 
[2026-06-23 00:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:25:10] 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-06-23 00:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 00:25:10] 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-06-23 00:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:25:10] 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-06-23 00:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231531264001,"66":11874,"115":206,"85":12288,"24":18,"16":96081154305687552,"45":-9099382284784236544},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231531264001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:25:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96081154305687552,"km_value":96081154305687.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099382284784236544,"description":"Unknown IO ID 45"} 
[2026-06-23 00:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231531264001,"power":11874,"unknown_115":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9099382284784236544}} 
[2026-06-23 00:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":110242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:25:10] local.INFO: GPS data processed {"connection_id":110242,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:25:10] local.INFO: Acknowledgment sent {"connection_id":110242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:25:25] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:25:25] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:25:25] local.INFO: IMEI packet received {"connection_id":110427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":110427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:25:31] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:25:31] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:25:31] local.INFO: IMEI packet received {"connection_id":110427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":110427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:25:33] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:33] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:33] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:25:34] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:25:34] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:25:34] local.INFO: Packet analysis {"connection_id":110427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:34] local.INFO: Extracted packet for processing {"connection_id":110427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:25:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:25:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":110427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:25:34] local.INFO: GPS data processed {"connection_id":110427,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:25:34] local.INFO: Acknowledgment sent {"connection_id":110427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:25:36] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:36] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:36] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:25:38] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:38] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:25:38] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:25:39] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0aeff48012d81bb0005c83700000900012d..."} 
[2026-06-23 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0aeff48012d81bb0005c83700000900012d..."} 
[2026-06-23 00:25:39] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0aeff48012d81bb0005c83700000900012d..."} 
[2026-06-23 00:25:39] local.INFO: Packet analysis {"connection_id":111051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:39] local.INFO: Extracted packet for processing {"connection_id":111051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763476736,"raw_latitude":97007360,"longitude_deg":76.3476736,"latitude_deg":9.700736,"altitude":9,"angle":1,"satellites":45,"speed":16,"hex_longitude":"2d81bb00","hex_latitude":"05c83700","is_valid_coordinates":true} 
[2026-06-23 00:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231536640001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96081579507449856,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098678597340309504,"note":"Value kept but may cause issues"} 
[2026-06-23 00:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782154461000,"timestamp_ms":1782154461000,"timestamp_seconds":1782154461,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0aeff48"} 
[2026-06-23 00:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:25: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-06-23 00:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 00:25:39] 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-06-23 00:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:25: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-06-23 00:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231536640001,"66":12145,"115":206,"85":12288,"24":16,"16":96081579507449856,"45":-9098678597340309504},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231536640001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96081579507449856,"km_value":96081579507449.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098678597340309504,"description":"Unknown IO ID 45"} 
[2026-06-23 00:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231536640001,"power":12145,"unknown_115":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9098678597340309504}} 
[2026-06-23 00:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":111051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:25:39] local.INFO: GPS data processed {"connection_id":111051,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:25:39] local.INFO: Acknowledgment sent {"connection_id":111051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:26:07] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:26:07] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:26:07] local.INFO: Packet analysis {"connection_id":110427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:26:07] local.INFO: Extracted packet for processing {"connection_id":110427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:26:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:26:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:26:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":110427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:26:07] local.INFO: GPS data processed {"connection_id":110427,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:26:07] local.INFO: Acknowledgment sent {"connection_id":110427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:26:10] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0af39e0012d81bd0005c848900008000d2d..."} 
[2026-06-23 00:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0af39e0012d81bd0005c848900008000d2d..."} 
[2026-06-23 00:26:10] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0af39e0012d81bd0005c848900008000d2d..."} 
[2026-06-23 00:26:10] local.INFO: Packet analysis {"connection_id":111051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0af"} 
[2026-06-23 00:26:10] local.INFO: Extracted packet for processing {"connection_id":111051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0af"} 
[2026-06-23 00:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763477248,"raw_latitude":97011856,"longitude_deg":76.3477248,"latitude_deg":9.7011856,"altitude":8,"angle":13,"satellites":45,"speed":11,"hex_longitude":"2d81bd00","hex_latitude":"05c84890","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231542016001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96081802845749248,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098678597338071040,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782154476000,"timestamp_ms":1782154476000,"timestamp_seconds":1782154476,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0af39e0"} 
[2026-06-23 00:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:26:10] 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-06-23 00: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 00:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:26:10] 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-06-23 00:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231542016001,"66":11874,"115":206,"85":12288,"24":11,"16":96081802845749248,"45":-9098678597338071040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 00:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231542016001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:26:10] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 00:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96081802845749248,"km_value":96081802845749.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098678597338071040,"description":"Unknown IO ID 45"} 
[2026-06-23 00:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231542016001,"power":11874,"unknown_115":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9098678597338071040}} 
[2026-06-23 00:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":111051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:26:10] local.INFO: GPS data processed {"connection_id":111051,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:26:10] local.INFO: Acknowledgment sent {"connection_id":111051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:26:26] local.INFO: TCP Data received {"connection_id":111979,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:26:26] local.INFO: Processing buffer {"connection_id":111979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:26:26] local.INFO: IMEI packet received {"connection_id":111979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":111979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:26:31] local.INFO: TCP Data received {"connection_id":111979,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:26:31] local.INFO: Processing buffer {"connection_id":111979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:26:31] local.INFO: IMEI packet received {"connection_id":111979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":111979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:26:35] local.INFO: TCP Data received {"connection_id":111979,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:26:35] local.INFO: Processing buffer {"connection_id":111979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:26:35] local.INFO: Packet analysis {"connection_id":111979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:26:35] local.INFO: Extracted packet for processing {"connection_id":111979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:26:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:26:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:26:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":111979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:26:35] local.INFO: GPS data processed {"connection_id":111979,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:26:35] local.INFO: Acknowledgment sent {"connection_id":111979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:26:39] local.INFO: TCP Data received {"connection_id":111980,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:26:39] local.INFO: Processing buffer {"connection_id":111980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:26:39] local.INFO: IMEI packet received {"connection_id":111980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":111980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:26:39] local.INFO: TCP Data received {"connection_id":111980,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:26:39] local.INFO: Processing buffer {"connection_id":111980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:26:39] local.INFO: IMEI packet received {"connection_id":111980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":111980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:26:40] local.INFO: TCP Data received {"connection_id":111980,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b09d58012d81d54005c8da28000801232c..."} 
[2026-06-23 00:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b09d58012d81d54005c8da28000801232c..."} 
[2026-06-23 00:26:40] local.INFO: Processing buffer {"connection_id":111980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b09d58012d81d54005c8da28000801232c..."} 
[2026-06-23 00:26:40] local.INFO: Packet analysis {"connection_id":111980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b0"} 
[2026-06-23 00:26:40] local.INFO: Extracted packet for processing {"connection_id":111980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b0"} 
[2026-06-23 00:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763483456,"raw_latitude":97049128,"longitude_deg":76.3483456,"latitude_deg":9.7049128,"altitude":8,"angle":291,"satellites":44,"speed":9,"hex_longitude":"2d81d540","hex_latitude":"05c8da28","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231568896001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96083671156523008,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9091149141700399104,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782154567000,"timestamp_ms":1782154567000,"timestamp_seconds":1782154567,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b09d58"} 
[2026-06-23 00:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:26: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-06-23 00: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":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 00:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:26: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-06-23 00:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231568896001,"66":11874,"113":206,"85":12288,"24":9,"16":96083671156523008,"45":-9091149141700399104},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-06-23 00:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231568896001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96083671156523008,"km_value":96083671156523.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9091149141700399104,"description":"Unknown IO ID 45"} 
[2026-06-23 00:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231568896001,"power":11874,"unknown_113":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9091149141700399104}} 
[2026-06-23 00:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":111980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:26:40] local.INFO: GPS data processed {"connection_id":111980,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:26:40] local.INFO: Acknowledgment sent {"connection_id":111980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:26:41] local.INFO: TCP Data received {"connection_id":111980,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b0a528012d81d2c005c8daa0000801162c..."} 
[2026-06-23 00:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b0a528012d81d2c005c8daa0000801162c..."} 
[2026-06-23 00:26:41] local.INFO: Processing buffer {"connection_id":111980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b0a528012d81d2c005c8daa0000801162c..."} 
[2026-06-23 00:26:41] local.INFO: Packet analysis {"connection_id":111980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b0"} 
[2026-06-23 00:26:41] local.INFO: Extracted packet for processing {"connection_id":111980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b0"} 
[2026-06-23 00:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763482816,"raw_latitude":97049248,"longitude_deg":76.3482816,"latitude_deg":9.7049248,"altitude":8,"angle":278,"satellites":44,"speed":13,"hex_longitude":"2d81d2c0","hex_latitude":"05c8daa0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231569152001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96083696926326784,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9091289879188723712,"note":"Value kept but may cause issues"} 
[2026-06-23 00:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782154569000,"timestamp_ms":1782154569000,"timestamp_seconds":1782154569,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b0a528"} 
[2026-06-23 00:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 00:26:41] 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-06-23 00: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-06-23 00:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:26:41] 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-06-23 00:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231569152001,"66":11874,"113":206,"85":12288,"24":13,"16":96083696926326784,"45":-9091289879188723712},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-06-23 00:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231569152001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:26:41] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 00:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96083696926326784,"km_value":96083696926326.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9091289879188723712,"description":"Unknown IO ID 45"} 
[2026-06-23 00:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231569152001,"power":11874,"unknown_113":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9091289879188723712}} 
[2026-06-23 00:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":111980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:26:41] local.INFO: GPS data processed {"connection_id":111980,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:26:41] local.INFO: Acknowledgment sent {"connection_id":111980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:27:07] local.INFO: TCP Data received {"connection_id":111979,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:07] local.INFO: Processing buffer {"connection_id":111979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:07] local.INFO: Packet analysis {"connection_id":111979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:27:07] local.INFO: Extracted packet for processing {"connection_id":111979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:27:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:27:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:27:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:27:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":111979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:27:07] local.INFO: GPS data processed {"connection_id":111979,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:27:07] local.INFO: Acknowledgment sent {"connection_id":111979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:27:12] local.INFO: TCP Data received {"connection_id":111980,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b17430012d81900005c8e2f8000401652c..."} 
[2026-06-23 00:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b17430012d81900005c8e2f8000401652c..."} 
[2026-06-23 00:27:12] local.INFO: Processing buffer {"connection_id":111980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b17430012d81900005c8e2f8000401652c..."} 
[2026-06-23 00:27:12] local.INFO: Packet analysis {"connection_id":111980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b1"} 
[2026-06-23 00:27:12] local.INFO: Extracted packet for processing {"connection_id":111980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b1"} 
[2026-06-23 00:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763465728,"raw_latitude":97051384,"longitude_deg":76.3465728,"latitude_deg":9.7051384,"altitude":4,"angle":357,"satellites":44,"speed":11,"hex_longitude":"2d819000","hex_latitude":"05c8e2f8","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231582976001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96084594574491648,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110711652581253120,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782154622000,"timestamp_ms":1782154622000,"timestamp_seconds":1782154622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b17430"} 
[2026-06-23 00:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:27: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-06-23 00: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":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-23 00:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":111980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":111980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":111980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:27:12] 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-06-23 00:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231582976001,"66":11547,"219":206,"85":12288,"24":11,"16":96084594574491648,"45":-9110711652581253120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231582976001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:27:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96084594574491648,"km_value":96084594574491.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110711652581253120,"description":"Unknown IO ID 45"} 
[2026-06-23 00:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231582976001,"power":11547,"unknown_219":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9110711652581253120}} 
[2026-06-23 00:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":111980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:27:12] local.INFO: GPS data processed {"connection_id":111980,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:27:12] local.INFO: Acknowledgment sent {"connection_id":111980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:27:31] local.INFO: TCP Data received {"connection_id":111052,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:27:31] local.INFO: Processing buffer {"connection_id":111052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:27:31] local.INFO: IMEI packet received {"connection_id":111052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":111052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:27:33] local.INFO: TCP Data received {"connection_id":110244,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:27:33] local.INFO: Processing buffer {"connection_id":110244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:27:33] local.INFO: IMEI packet received {"connection_id":110244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":110244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:27:36] local.INFO: TCP Data received {"connection_id":110244,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:27:36] local.INFO: Processing buffer {"connection_id":110244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:27:36] local.INFO: IMEI packet received {"connection_id":110244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":110244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:27:36] local.INFO: TCP Data received {"connection_id":110244,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b17fe8012d818fc005c8e620000400072c..."} 
[2026-06-23 00:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b17fe8012d818fc005c8e620000400072c..."} 
[2026-06-23 00:27:36] local.INFO: Processing buffer {"connection_id":110244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b17fe8012d818fc005c8e620000400072c..."} 
[2026-06-23 00:27:36] local.INFO: Packet analysis {"connection_id":110244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b1"} 
[2026-06-23 00:27:36] local.INFO: Extracted packet for processing {"connection_id":110244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b1"} 
[2026-06-23 00:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763465664,"raw_latitude":97052192,"longitude_deg":76.3465664,"latitude_deg":9.7052192,"altitude":4,"angle":7,"satellites":44,"speed":11,"hex_longitude":"2d818fc0","hex_latitude":"05c8e620","is_valid_coordinates":true} 
[2026-06-23 00:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231583232001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96084633229197312,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9110782021325359104,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782154625000,"timestamp_ms":1782154625000,"timestamp_seconds":1782154625,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b17fe8"} 
[2026-06-23 00:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:27: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-06-23 00:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 00:27:36] 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-06-23 00:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:27:36] 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-06-23 00:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231583232001,"66":11895,"219":206,"85":12288,"24":11,"16":96084633229197312,"45":-9110782021325359104},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231583232001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:27:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96084633229197312,"km_value":96084633229197.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9110782021325359104,"description":"Unknown IO ID 45"} 
[2026-06-23 00:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231583232001,"power":11895,"unknown_219":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9110782021325359104}} 
[2026-06-23 00:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":110244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:27:36] local.INFO: GPS data processed {"connection_id":110244,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:27:36] local.INFO: Acknowledgment sent {"connection_id":110244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:27:37] local.INFO: TCP Data received {"connection_id":111052,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:27:37] local.INFO: Processing buffer {"connection_id":111052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:27:37] local.INFO: IMEI packet received {"connection_id":111052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":111052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:27:38] local.INFO: TCP Data received {"connection_id":111052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:38] local.INFO: Processing buffer {"connection_id":111052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:38] local.INFO: Packet analysis {"connection_id":111052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:27:38] local.INFO: Extracted packet for processing {"connection_id":111052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:27:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:27:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:27:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:27:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":111052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:27:38] local.INFO: GPS data processed {"connection_id":111052,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:27:38] local.INFO: Acknowledgment sent {"connection_id":111052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:27:42] local.INFO: TCP Data received {"connection_id":111052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:42] local.INFO: Processing buffer {"connection_id":111052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:27:42] local.INFO: Packet analysis {"connection_id":111052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:27:42] local.INFO: Extracted packet for processing {"connection_id":111052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:27:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:27:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":111052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:27:42] local.INFO: GPS data processed {"connection_id":111052,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:27:42] local.INFO: Acknowledgment sent {"connection_id":111052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:28:08] local.INFO: TCP Data received {"connection_id":110244,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b24ef0012d81828005c91698000401572d..."} 
[2026-06-23 00:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b24ef0012d81828005c91698000401572d..."} 
[2026-06-23 00:28:08] local.INFO: Processing buffer {"connection_id":110244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b24ef0012d81828005c91698000401572d..."} 
[2026-06-23 00:28:08] local.INFO: Packet analysis {"connection_id":110244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:28:08] local.INFO: Extracted packet for processing {"connection_id":110244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763462272,"raw_latitude":97064600,"longitude_deg":76.3462272,"latitude_deg":9.70646,"altitude":4,"angle":343,"satellites":45,"speed":7,"hex_longitude":"2d818280","hex_latitude":"05c91698","is_valid_coordinates":true} 
[2026-06-23 00:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231595264001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96085402028343296,"note":"Value kept but may cause issues"} 
[2026-06-23 00:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9114300458530942976,"note":"Value kept but may cause issues"} 
[2026-06-23 00:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782154678000,"timestamp_ms":1782154678000,"timestamp_seconds":1782154678,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b24ef0"} 
[2026-06-23 00:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:28: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-06-23 00:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-23 00:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:28:08] 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-06-23 00:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231595264001,"66":11721,"219":206,"85":12288,"24":7,"16":96085402028343296,"45":-9114300458530942976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231595264001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:28:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96085402028343296,"km_value":96085402028343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9114300458530942976,"description":"Unknown IO ID 45"} 
[2026-06-23 00:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231595264001,"power":11721,"unknown_219":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-9114300458530942976}} 
[2026-06-23 00:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":110244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:28:08] local.INFO: GPS data processed {"connection_id":110244,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:28:08] local.INFO: Acknowledgment sent {"connection_id":110244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:28:23] local.INFO: TCP Data received {"connection_id":111981,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:28:23] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:28:23] local.INFO: IMEI packet received {"connection_id":111981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":111981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:28:26] local.INFO: TCP Data received {"connection_id":111053,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:28:26] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:28:26] local.INFO: IMEI packet received {"connection_id":111053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":111053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:28:31] local.INFO: TCP Data received {"connection_id":111053,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:28:31] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:28:31] local.INFO: IMEI packet received {"connection_id":111053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":111053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:28:31] local.INFO: TCP Data received {"connection_id":110245,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:31] local.INFO: Processing buffer {"connection_id":110245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:31] local.INFO: IMEI packet received {"connection_id":110245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":110245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:28:32] local.INFO: TCP Data received {"connection_id":111053,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:28:32] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:28:32] local.INFO: Packet analysis {"connection_id":111053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:28:32] local.INFO: Extracted packet for processing {"connection_id":111053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:28:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:28:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:28:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":111053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:28:32] local.INFO: GPS data processed {"connection_id":111053,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:28:32] local.INFO: Acknowledgment sent {"connection_id":111053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:28:32] local.INFO: TCP Data received {"connection_id":110245,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:32] local.INFO: Processing buffer {"connection_id":110245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:32] local.INFO: IMEI packet received {"connection_id":110245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":110245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:28:33] local.INFO: TCP Data received {"connection_id":110245,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:33] local.INFO: Processing buffer {"connection_id":110245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:33] local.INFO: IMEI packet received {"connection_id":110245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":110245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:28:34] local.INFO: TCP Data received {"connection_id":110245,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:34] local.INFO: Processing buffer {"connection_id":110245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:28:34] local.INFO: IMEI packet received {"connection_id":110245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":110245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:29:04] local.INFO: TCP Data received {"connection_id":111053,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:29:04] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ae4f80012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:29:04] local.INFO: Packet analysis {"connection_id":111053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:29:04] local.INFO: Extracted packet for processing {"connection_id":111053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ae"} 
[2026-06-23 00:29:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231453440001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782154416000,"timestamp_ms":1782154416000,"timestamp_seconds":1782154416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ae4f80"} 
[2026-06-23 00:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231453440001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231453440001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:29:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:29:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231453440001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":111053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:29:04] local.INFO: GPS data processed {"connection_id":111053,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:29:04] local.INFO: Acknowledgment sent {"connection_id":111053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:29:08] local.INFO: TCP Data received {"connection_id":111982,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:29:08] local.INFO: Processing buffer {"connection_id":111982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:29:08] local.INFO: IMEI packet received {"connection_id":111982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":111982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:29:26] local.INFO: TCP Data received {"connection_id":110246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:29:26] local.INFO: Processing buffer {"connection_id":110246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:29:26] local.INFO: IMEI packet received {"connection_id":110246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":110246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:29:30] local.INFO: TCP Data received {"connection_id":110246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:29:30] local.INFO: Processing buffer {"connection_id":110246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:29:30] local.INFO: IMEI packet received {"connection_id":110246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":110246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:29:32] local.INFO: TCP Data received {"connection_id":110246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:29:32] local.INFO: Processing buffer {"connection_id":110246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:29:32] local.INFO: Packet analysis {"connection_id":110246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:29:32] local.INFO: Extracted packet for processing {"connection_id":110246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:29:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:29:32] 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-06-23 00:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:29:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":110246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:29:32] local.INFO: GPS data processed {"connection_id":110246,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:29:32] local.INFO: Acknowledgment sent {"connection_id":110246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:30:03] local.INFO: TCP Data received {"connection_id":110246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:03] local.INFO: Processing buffer {"connection_id":110246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:03] local.INFO: Packet analysis {"connection_id":110246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:30:03] local.INFO: Extracted packet for processing {"connection_id":110246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:30:03] 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-06-23 00:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:30:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":110246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:30:03] local.INFO: GPS data processed {"connection_id":110246,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:30:03] local.INFO: Acknowledgment sent {"connection_id":110246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:30:31] local.INFO: TCP Data received {"connection_id":111983,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:30:31] local.INFO: Processing buffer {"connection_id":111983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:30:31] local.INFO: IMEI packet received {"connection_id":111983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":111983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:30:36] local.INFO: TCP Data received {"connection_id":111983,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:30:36] local.INFO: Processing buffer {"connection_id":111983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:30:36] local.INFO: IMEI packet received {"connection_id":111983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":111983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:30:37] local.INFO: TCP Data received {"connection_id":111983,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:37] local.INFO: Processing buffer {"connection_id":111983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:37] local.INFO: Packet analysis {"connection_id":111983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:30:37] local.INFO: Extracted packet for processing {"connection_id":111983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:30:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:30:37] 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-06-23 00:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:30:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:30:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":111983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:30:37] local.INFO: GPS data processed {"connection_id":111983,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:30:37] local.INFO: Acknowledgment sent {"connection_id":111983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:30:41] local.INFO: TCP Data received {"connection_id":111983,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:41] local.INFO: Processing buffer {"connection_id":111983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:30:41] local.INFO: Packet analysis {"connection_id":111983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:30:41] local.INFO: Extracted packet for processing {"connection_id":111983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:30:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:30:41] 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-06-23 00:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:30:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":111983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:30:41] local.INFO: GPS data processed {"connection_id":111983,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:30:41] local.INFO: Acknowledgment sent {"connection_id":111983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:31:26] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:31:26] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:31:26] local.INFO: IMEI packet received {"connection_id":110430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":110430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:31:31] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:31:31] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:31:31] local.INFO: IMEI packet received {"connection_id":110430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":110430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:31:32] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:31:32] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:31:32] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:31:32] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:31:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:31:32] 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-06-23 00:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:31:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:31:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:31:32] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:31:32] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:32:04] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:32:04] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:32:04] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:32:04] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 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-06-23 00:32:04] 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-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:32:04] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:32:04] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:32:26] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:32:26] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:32:26] local.INFO: IMEI packet received {"connection_id":111986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":111986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:32:31] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:32:31] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:32:31] local.INFO: IMEI packet received {"connection_id":111986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":111986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:32:32] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:32:32] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:32:32] local.INFO: Packet analysis {"connection_id":111986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:32:32] local.INFO: Extracted packet for processing {"connection_id":111986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:32:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:32:32] 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-06-23 00:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:32:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:32:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":111986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:32:33] local.INFO: GPS data processed {"connection_id":111986,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:32:33] local.INFO: Acknowledgment sent {"connection_id":111986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:33:04] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:33:04] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:33:04] local.INFO: Packet analysis {"connection_id":111986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:33:04] local.INFO: Extracted packet for processing {"connection_id":111986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 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-06-23 00:33:04] 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-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:33:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:33:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":111986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:33:04] local.INFO: GPS data processed {"connection_id":111986,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:33:04] local.INFO: Acknowledgment sent {"connection_id":111986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:33:25] local.INFO: TCP Data received {"connection_id":110249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:33:25] local.INFO: Processing buffer {"connection_id":110249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:33:25] local.INFO: IMEI packet received {"connection_id":110249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":110249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:33:31] local.INFO: TCP Data received {"connection_id":110249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:33:31] local.INFO: Processing buffer {"connection_id":110249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:33:31] local.INFO: IMEI packet received {"connection_id":110249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":110249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:33:32] local.INFO: TCP Data received {"connection_id":110249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:33:32] local.INFO: Processing buffer {"connection_id":110249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:33:32] local.INFO: Packet analysis {"connection_id":110249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:33:32] local.INFO: Extracted packet for processing {"connection_id":110249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:33:32] 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-06-23 00:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:33:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":110249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:33:32] local.INFO: GPS data processed {"connection_id":110249,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:33:32] local.INFO: Acknowledgment sent {"connection_id":110249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:33:39] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:33:39] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:33:39] local.INFO: IMEI packet received {"connection_id":110250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":110250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:33:44] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:33:44] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:33:44] local.INFO: IMEI packet received {"connection_id":110250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":110250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:33:44] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b60810012d81b50005c8df900007006a29..."} 
[2026-06-23 00:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b60810012d81b50005c8df900007006a29..."} 
[2026-06-23 00:33:44] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b60810012d81b50005c8df900007006a29..."} 
[2026-06-23 00:33:44] local.INFO: Packet analysis {"connection_id":110250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:33:44] local.INFO: Extracted packet for processing {"connection_id":110250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763475200,"raw_latitude":97050512,"longitude_deg":76.34752,"latitude_deg":9.7050512,"altitude":7,"angle":106,"satellites":41,"speed":12,"hex_longitude":"2d81b500","hex_latitude":"05c8df90","is_valid_coordinates":true} 
[2026-06-23 00:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231659008001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96088314016169984,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101704453326573568,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782154922000,"timestamp_ms":1782154922000,"timestamp_seconds":1782154922,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b60810"} 
[2026-06-23 00:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:33: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-06-23 00:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 00:33:44] 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-06-23 00:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:33:44] 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-06-23 00:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231659008001,"66":11895,"219":206,"85":12288,"24":12,"16":96088314016169984,"45":-9101704453326573568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231659008001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:33:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96088314016169984,"km_value":96088314016169.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101704453326573568,"description":"Unknown IO ID 45"} 
[2026-06-23 00:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231659008001,"power":11895,"unknown_219":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9101704453326573568}} 
[2026-06-23 00:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":110250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:33:44] local.INFO: GPS data processed {"connection_id":110250,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:33:44] local.INFO: Acknowledgment sent {"connection_id":110250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:33:47] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b61f80012d81bcc005c8de900005005d29..."} 
[2026-06-23 00:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b61f80012d81bcc005c8de900005005d29..."} 
[2026-06-23 00:33:47] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b61f80012d81bcc005c8de900005005d29..."} 
[2026-06-23 00:33:47] local.INFO: Packet analysis {"connection_id":110250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:33:47] local.INFO: Extracted packet for processing {"connection_id":110250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763477184,"raw_latitude":97050256,"longitude_deg":76.3477184,"latitude_deg":9.7050256,"altitude":5,"angle":93,"satellites":41,"speed":11,"hex_longitude":"2d81bcc0","hex_latitude":"05c8de90","is_valid_coordinates":true} 
[2026-06-23 00:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231660032001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96088408505450496,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100367447187288064,"note":"Value kept but may cause issues"} 
[2026-06-23 00:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782154928000,"timestamp_ms":1782154928000,"timestamp_seconds":1782154928,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b61f80"} 
[2026-06-23 00:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:33:47] 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-06-23 00:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231660032001,"66":11917,"219":206,"85":12288,"24":11,"16":96088408505450496,"45":-9100367447187288064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231660032001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:33:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96088408505450496,"km_value":96088408505450.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100367447187288064,"description":"Unknown IO ID 45"} 
[2026-06-23 00:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231660032001,"power":11917,"unknown_219":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9100367447187288064}} 
[2026-06-23 00:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":110250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:33:47] local.INFO: GPS data processed {"connection_id":110250,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:33:47] local.INFO: Acknowledgment sent {"connection_id":110250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:34:04] local.INFO: TCP Data received {"connection_id":110249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:34:04] local.INFO: Processing buffer {"connection_id":110249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b2e748012cc3308007685990005a00ee2d..."} 
[2026-06-23 00:34:04] local.INFO: Packet analysis {"connection_id":110249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:34:04] local.INFO: Extracted packet for processing {"connection_id":110249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b2"} 
[2026-06-23 00:34:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231530496001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782154717000,"timestamp_ms":1782154717000,"timestamp_seconds":1782154717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b2e748"} 
[2026-06-23 00:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:34:04] 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-06-23 00:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231530496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231530496001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:34:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:34:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231530496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":110249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:34:04] local.INFO: GPS data processed {"connection_id":110249,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:34:04] local.INFO: Acknowledgment sent {"connection_id":110249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:34:18] local.INFO: TCP Data received {"connection_id":110250,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b62f20012d81c10005c8de180004006828..."} 
[2026-06-23 00:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b62f20012d81c10005c8de180004006828..."} 
[2026-06-23 00:34:18] local.INFO: Processing buffer {"connection_id":110250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b62f20012d81c10005c8de180004006828..."} 
[2026-06-23 00:34:18] local.INFO: Packet analysis {"connection_id":110250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:34:18] local.INFO: Extracted packet for processing {"connection_id":110250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:34:18] local.INFO: GPS Element Parsed {"raw_longitude":763478272,"raw_latitude":97050136,"longitude_deg":76.3478272,"latitude_deg":9.7050136,"altitude":4,"angle":104,"satellites":40,"speed":9,"hex_longitude":"2d81c100","hex_latitude":"05c8de18","is_valid_coordinates":true} 
[2026-06-23 00:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231661568001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96088460045058048,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098186016117846016,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782154932000,"timestamp_ms":1782154932000,"timestamp_seconds":1782154932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b62f20"} 
[2026-06-23 00:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 00:34:18] 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-06-23 00:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":110250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":110250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":110250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:34:18] 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-06-23 00:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231661568001,"66":11950,"219":206,"85":12288,"24":9,"16":96088460045058048,"45":-9098186016117846016},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231661568001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:34:18] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:34:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96088460045058048,"km_value":96088460045058.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098186016117846016,"description":"Unknown IO ID 45"} 
[2026-06-23 00:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231661568001,"power":11950,"unknown_219":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9098186016117846016}} 
[2026-06-23 00:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":110250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:34:18] local.INFO: GPS data processed {"connection_id":110250,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:34:18] local.INFO: Acknowledgment sent {"connection_id":110250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:34:25] local.INFO: TCP Data received {"connection_id":111057,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:34:25] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:34:25] local.INFO: IMEI packet received {"connection_id":111057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":111057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:34:31] local.INFO: TCP Data received {"connection_id":111057,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:34:31] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:34:31] local.INFO: IMEI packet received {"connection_id":111057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":111057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:34:32] local.INFO: TCP Data received {"connection_id":111057,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:34:32] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:34:32] local.INFO: Packet analysis {"connection_id":111057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:34:32] local.INFO: Extracted packet for processing {"connection_id":111057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:34:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 00:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:34:32] 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-06-23 00:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:34: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-06-23 00: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-06-23 00:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:34:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:34:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":111057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:34:32] local.INFO: GPS data processed {"connection_id":111057,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:34:32] local.INFO: Acknowledgment sent {"connection_id":111057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:34:33] local.INFO: TCP Data received {"connection_id":110432,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:34:33] local.INFO: Processing buffer {"connection_id":110432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:34:33] local.INFO: IMEI packet received {"connection_id":110432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":110432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:34:33] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:34:33] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:34:33] local.INFO: IMEI packet received {"connection_id":111056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":111056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:34:39] local.INFO: TCP Data received {"connection_id":110432,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:34:39] local.INFO: Processing buffer {"connection_id":110432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:34:39] local.INFO: IMEI packet received {"connection_id":110432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":110432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:34:39] local.INFO: TCP Data received {"connection_id":110432,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b65630012d81cd0005c8dc380006005c29..."} 
[2026-06-23 00:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b65630012d81cd0005c8dc380006005c29..."} 
[2026-06-23 00:34:39] local.INFO: Processing buffer {"connection_id":110432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b65630012d81cd0005c8dc380006005c29..."} 
[2026-06-23 00:34:39] local.INFO: Packet analysis {"connection_id":110432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:34:39] local.INFO: Extracted packet for processing {"connection_id":110432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763481344,"raw_latitude":97049656,"longitude_deg":76.3481344,"latitude_deg":9.7049656,"altitude":6,"angle":92,"satellites":41,"speed":10,"hex_longitude":"2d81cd00","hex_latitude":"05c8dc38","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231662592001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96088610368913408,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096989747466856448,"note":"Value kept but may cause issues"} 
[2026-06-23 00:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782154942000,"timestamp_ms":1782154942000,"timestamp_seconds":1782154942,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b65630"} 
[2026-06-23 00:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:34: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-06-23 00: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 00:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:34: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-06-23 00:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231662592001,"66":12058,"219":206,"85":12288,"24":10,"16":96088610368913408,"45":-9096989747466856448},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231662592001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:34:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96088610368913408,"km_value":96088610368913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096989747466856448,"description":"Unknown IO ID 45"} 
[2026-06-23 00:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231662592001,"power":12058,"unknown_219":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9096989747466856448}} 
[2026-06-23 00:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":110432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:34:39] local.INFO: GPS data processed {"connection_id":110432,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:34:39] local.INFO: Acknowledgment sent {"connection_id":110432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:35:04] local.INFO: TCP Data received {"connection_id":111057,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:35:04] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:35:04] local.INFO: Packet analysis {"connection_id":111057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:35:04] local.INFO: Extracted packet for processing {"connection_id":111057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:35:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 00:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:35:04] 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-06-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:35: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-06-23 00: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-06-23 00:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:35:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:35:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":111057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:35:04] local.INFO: GPS data processed {"connection_id":111057,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:35:04] local.INFO: Acknowledgment sent {"connection_id":111057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:35:08] local.INFO: TCP Data received {"connection_id":110433,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:35:08] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:35:08] local.INFO: IMEI packet received {"connection_id":110433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":110433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:35:11] local.INFO: TCP Data received {"connection_id":110432,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b6a450012d81d14005c8dc100008005e27..."} 
[2026-06-23 00:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b6a450012d81d14005c8dc100008005e27..."} 
[2026-06-23 00:35:11] local.INFO: Processing buffer {"connection_id":110432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b6a450012d81d14005c8dc100008005e27..."} 
[2026-06-23 00:35:11] local.INFO: Packet analysis {"connection_id":110432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:35:11] local.INFO: Extracted packet for processing {"connection_id":110432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763482432,"raw_latitude":97049616,"longitude_deg":76.3482432,"latitude_deg":9.7049616,"altitude":8,"angle":94,"satellites":39,"speed":0,"hex_longitude":"2d81d140","hex_latitude":"05c8dc10","is_valid_coordinates":true} 
[2026-06-23 00:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231665152001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96088666203488256,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093612047746451456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782154962000,"timestamp_ms":1782154962000,"timestamp_seconds":1782154962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b6a450"} 
[2026-06-23 00:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:35: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-06-23 00:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 00:35:11] 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-06-23 00:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:35: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-06-23 00:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231665152001,"66":11874,"219":206,"85":12288,"24":0,"16":96088666203488256,"45":-9093612047746451456},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231665152001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:35:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96088666203488256,"km_value":96088666203488.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093612047746451456,"description":"Unknown IO ID 45"} 
[2026-06-23 00:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231665152001,"power":11874,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9093612047746451456}} 
[2026-06-23 00:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":110432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:35:11] local.INFO: GPS data processed {"connection_id":110432,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:35:11] local.INFO: Acknowledgment sent {"connection_id":110432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:35:26] local.INFO: TCP Data received {"connection_id":110251,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:35:26] local.INFO: Processing buffer {"connection_id":110251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:35:26] local.INFO: IMEI packet received {"connection_id":110251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":110251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:35:30] local.INFO: TCP Data received {"connection_id":110252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:30] local.INFO: Processing buffer {"connection_id":110252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:30] local.INFO: IMEI packet received {"connection_id":110252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":110252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:35:31] local.INFO: TCP Data received {"connection_id":110251,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:35:31] local.INFO: Processing buffer {"connection_id":110251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:35:31] local.INFO: IMEI packet received {"connection_id":110251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":110251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:35:33] local.INFO: TCP Data received {"connection_id":110251,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:35:33] local.INFO: Processing buffer {"connection_id":110251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:35:33] local.INFO: Packet analysis {"connection_id":110251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:35:33] local.INFO: Extracted packet for processing {"connection_id":110251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 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-06-23 00:35:33] 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-06-23 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:35:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:35:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:35:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":110251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:35:33] local.INFO: GPS data processed {"connection_id":110251,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:35:33] local.INFO: Acknowledgment sent {"connection_id":110251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:35:34] local.INFO: TCP Data received {"connection_id":110252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:34] local.INFO: Processing buffer {"connection_id":110252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:34] local.INFO: IMEI packet received {"connection_id":110252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":110252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:35:39] local.INFO: TCP Data received {"connection_id":110252,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:39] local.INFO: Processing buffer {"connection_id":110252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:35:39] local.INFO: IMEI packet received {"connection_id":110252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":110252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:35:39] local.INFO: TCP Data received {"connection_id":110252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b6f658012d81d14005c8dc100008005e29..."} 
[2026-06-23 00:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b6f658012d81d14005c8dc100008005e29..."} 
[2026-06-23 00:35:39] local.INFO: Processing buffer {"connection_id":110252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b6f658012d81d14005c8dc100008005e29..."} 
[2026-06-23 00:35:39] local.INFO: Packet analysis {"connection_id":110252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:35:39] local.INFO: Extracted packet for processing {"connection_id":110252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b6"} 
[2026-06-23 00:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763482432,"raw_latitude":97049616,"longitude_deg":76.3482432,"latitude_deg":9.7049616,"altitude":8,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d81d140","hex_latitude":"05c8dc10","is_valid_coordinates":true} 
[2026-06-23 00:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231670272001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96088666203488256,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092415779095441408,"note":"Value kept but may cause issues"} 
[2026-06-23 00:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782154983000,"timestamp_ms":1782154983000,"timestamp_seconds":1782154983,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b6f658"} 
[2026-06-23 00:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:35: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-06-23 00:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 00:35:39] 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-06-23 00:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:35: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-06-23 00:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231670272001,"66":11711,"219":206,"85":12288,"24":0,"16":96088666203488256,"45":-9092415779095441408},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231670272001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96088666203488256,"km_value":96088666203488.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092415779095441408,"description":"Unknown IO ID 45"} 
[2026-06-23 00:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231670272001,"power":11711,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9092415779095441408}} 
[2026-06-23 00:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":110252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:35:39] local.INFO: GPS data processed {"connection_id":110252,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:35:39] local.INFO: Acknowledgment sent {"connection_id":110252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:36:05] local.INFO: TCP Data received {"connection_id":110251,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:36:05] local.INFO: Processing buffer {"connection_id":110251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:36:05] local.INFO: Packet analysis {"connection_id":110251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:36:05] local.INFO: Extracted packet for processing {"connection_id":110251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 00:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:36: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-06-23 00:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:36:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:36:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":110251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:36:05] local.INFO: GPS data processed {"connection_id":110251,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:36:05] local.INFO: Acknowledgment sent {"connection_id":110251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:36:10] local.INFO: TCP Data received {"connection_id":110252,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b930a8012d81ddc005c900f00008000a2c..."} 
[2026-06-23 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b930a8012d81ddc005c900f00008000a2c..."} 
[2026-06-23 00:36:10] local.INFO: Processing buffer {"connection_id":110252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b930a8012d81ddc005c900f00008000a2c..."} 
[2026-06-23 00:36:10] local.INFO: Packet analysis {"connection_id":110252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:36:10] local.INFO: Extracted packet for processing {"connection_id":110252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763485632,"raw_latitude":97059056,"longitude_deg":76.3485632,"latitude_deg":9.7059056,"altitude":8,"angle":10,"satellites":44,"speed":14,"hex_longitude":"2d81ddc0","hex_latitude":"05c900f0","is_valid_coordinates":true} 
[2026-06-23 00:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231707904001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96089203074400256,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090797297978365952,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782155129000,"timestamp_ms":1782155129000,"timestamp_seconds":1782155129,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b930a8"} 
[2026-06-23 00:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:36:10] 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-06-23 00:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 00:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:36:10] 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-06-23 00:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231707904001,"66":11895,"219":206,"85":12288,"24":14,"16":96089203074400256,"45":-9090797297978365952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231707904001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:36:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96089203074400256,"km_value":96089203074400.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090797297978365952,"description":"Unknown IO ID 45"} 
[2026-06-23 00:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231707904001,"power":11895,"unknown_219":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9090797297978365952}} 
[2026-06-23 00:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":110252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:36:11] local.INFO: GPS data processed {"connection_id":110252,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:36:11] local.INFO: Acknowledgment sent {"connection_id":110252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:36:25] local.INFO: TCP Data received {"connection_id":110434,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:36:25] local.INFO: Processing buffer {"connection_id":110434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:36:25] local.INFO: IMEI packet received {"connection_id":110434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":110434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:36:31] local.INFO: TCP Data received {"connection_id":110434,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:36:31] local.INFO: Processing buffer {"connection_id":110434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:36:31] local.INFO: IMEI packet received {"connection_id":110434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":110434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:36:32] local.INFO: TCP Data received {"connection_id":110434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:36:32] local.INFO: Processing buffer {"connection_id":110434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:36:32] local.INFO: Packet analysis {"connection_id":110434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:36:32] local.INFO: Extracted packet for processing {"connection_id":110434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:36:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 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-06-23 00:36:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:36:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:36:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:36:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":110434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:36:33] local.INFO: GPS data processed {"connection_id":110434,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:36:33] local.INFO: Acknowledgment sent {"connection_id":110434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:36:34] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:36:34] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:36:34] local.INFO: IMEI packet received {"connection_id":111989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":111989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:36:39] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:36:39] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:36:39] local.INFO: IMEI packet received {"connection_id":111989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":111989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:36:39] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b982b0012d81e20005c92350000c00042b..."} 
[2026-06-23 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b982b0012d81e20005c92350000c00042b..."} 
[2026-06-23 00:36:39] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b982b0012d81e20005c92350000c00042b..."} 
[2026-06-23 00:36:39] local.INFO: Packet analysis {"connection_id":111989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:36:39] local.INFO: Extracted packet for processing {"connection_id":111989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763486720,"raw_latitude":97067856,"longitude_deg":76.348672,"latitude_deg":9.7067856,"altitude":12,"angle":4,"satellites":43,"speed":15,"hex_longitude":"2d81e200","hex_latitude":"05c92350","is_valid_coordinates":true} 
[2026-06-23 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231713024001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96089632571129856,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088897341884141568,"note":"Value kept but may cause issues"} 
[2026-06-23 00:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782155150000,"timestamp_ms":1782155150000,"timestamp_seconds":1782155150,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b982b0"} 
[2026-06-23 00:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:36: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-06-23 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 00:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:36: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-06-23 00:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231713024001,"66":11917,"219":206,"85":12288,"24":15,"16":96089632571129856,"45":-9088897341884141568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231713024001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96089632571129856,"km_value":96089632571129.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088897341884141568,"description":"Unknown IO ID 45"} 
[2026-06-23 00:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231713024001,"power":11917,"unknown_219":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9088897341884141568}} 
[2026-06-23 00:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":111989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:36:39] local.INFO: GPS data processed {"connection_id":111989,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:36:39] local.INFO: Acknowledgment sent {"connection_id":111989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:37:04] local.INFO: TCP Data received {"connection_id":110434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:37:04] local.INFO: Processing buffer {"connection_id":110434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:37:04] local.INFO: Packet analysis {"connection_id":110434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:37:04] local.INFO: Extracted packet for processing {"connection_id":110434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:37:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 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-06-23 00:37:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:37: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-06-23 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-06-23 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-06-23 00:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:37:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:37:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":110434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:37:04] local.INFO: GPS data processed {"connection_id":110434,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:37:04] local.INFO: Acknowledgment sent {"connection_id":110434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:37:25] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:37:25] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:37:25] local.INFO: IMEI packet received {"connection_id":110436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":110436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:37:31] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:37:31] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:37:31] local.INFO: IMEI packet received {"connection_id":110436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":110436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:37:33] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:37:33] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:37:33] local.INFO: Packet analysis {"connection_id":110436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:37:33] local.INFO: Extracted packet for processing {"connection_id":110436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 00:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:37:33] 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-06-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:37:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:37:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:37:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":110436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:37:33] local.INFO: GPS data processed {"connection_id":110436,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:37:33] local.INFO: Acknowledgment sent {"connection_id":110436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:37:34] local.INFO: TCP Data received {"connection_id":111990,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:37:34] local.INFO: Processing buffer {"connection_id":111990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:37:34] local.INFO: IMEI packet received {"connection_id":111990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":111990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:37:34] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b9a5d8012d81e3c005c92e38000f000f2c..."} 
[2026-06-23 00:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b9a5d8012d81e3c005c92e38000f000f2c..."} 
[2026-06-23 00:37:34] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b9a5d8012d81e3c005c92e38000f000f2c..."} 
[2026-06-23 00:37:34] local.INFO: Packet analysis {"connection_id":111989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:37:34] local.INFO: Extracted packet for processing {"connection_id":111989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763487168,"raw_latitude":97070648,"longitude_deg":76.3487168,"latitude_deg":9.7070648,"altitude":15,"angle":15,"satellites":44,"speed":11,"hex_longitude":"2d81e3c0","hex_latitude":"05c92e38","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231718400001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96089770010083328,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087701073230868480,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782155159000,"timestamp_ms":1782155159000,"timestamp_seconds":1782155159,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b9a5d8"} 
[2026-06-23 00:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:37: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-06-23 00: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 00:37:34] 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-06-23 00: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-06-23 00:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:37:34] 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-06-23 00:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231718400001,"66":12102,"219":206,"85":12288,"24":11,"16":96089770010083328,"45":-9087701073230868480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231718400001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:37:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96089770010083328,"km_value":96089770010083.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087701073230868480,"description":"Unknown IO ID 45"} 
[2026-06-23 00:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231718400001,"power":12102,"unknown_219":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9087701073230868480}} 
[2026-06-23 00:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":111989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:37:34] local.INFO: GPS data processed {"connection_id":111989,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:37:34] local.INFO: Acknowledgment sent {"connection_id":111989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:37:37] local.INFO: TCP Data received {"connection_id":111990,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:37:37] local.INFO: Processing buffer {"connection_id":111990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:37:37] local.INFO: IMEI packet received {"connection_id":111990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":111990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:37:38] local.INFO: TCP Data received {"connection_id":111990,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b9f3f8012d81ec0005c94b00001100162d..."} 
[2026-06-23 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b9f3f8012d81ec0005c94b00001100162d..."} 
[2026-06-23 00:37:38] local.INFO: Processing buffer {"connection_id":111990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b9f3f8012d81ec0005c94b00001100162d..."} 
[2026-06-23 00:37:38] local.INFO: Packet analysis {"connection_id":111990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:37:38] local.INFO: Extracted packet for processing {"connection_id":111990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b9"} 
[2026-06-23 00:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763489280,"raw_latitude":97078016,"longitude_deg":76.348928,"latitude_deg":9.7078016,"altitude":17,"angle":22,"satellites":45,"speed":18,"hex_longitude":"2d81ec00","hex_latitude":"05c94b00","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231720704001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96090143672238080,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9087208492020910080,"note":"Value kept but may cause issues"} 
[2026-06-23 00:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782155179000,"timestamp_ms":1782155179000,"timestamp_seconds":1782155179,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b9f3f8"} 
[2026-06-23 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-06-23 00:37: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-06-23 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 00:37:38] 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-06-23 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-06-23 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-06-23 00:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:37:38] 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-06-23 00:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231720704001,"66":12015,"219":206,"85":12288,"24":18,"16":96090143672238080,"45":-9087208492020910080},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231720704001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:37:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96090143672238080,"km_value":96090143672238.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9087208492020910080,"description":"Unknown IO ID 45"} 
[2026-06-23 00:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231720704001,"power":12015,"unknown_219":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9087208492020910080}} 
[2026-06-23 00:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":111990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:37:38] local.INFO: GPS data processed {"connection_id":111990,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:37:38] local.INFO: Acknowledgment sent {"connection_id":111990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:38:05] local.INFO: TCP Data received {"connection_id":110436,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:05] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:05] local.INFO: Packet analysis {"connection_id":110436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:38:05] local.INFO: Extracted packet for processing {"connection_id":110436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:38:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 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-06-23 00:38: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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:38:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:38:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":110436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:38:05] local.INFO: GPS data processed {"connection_id":110436,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:38:05] local.INFO: Acknowledgment sent {"connection_id":110436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:38:10] local.INFO: TCP Data received {"connection_id":111990,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ba4218012d81f90005c96d180010000f2b..."} 
[2026-06-23 00:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ba4218012d81f90005c96d180010000f2b..."} 
[2026-06-23 00:38:10] local.INFO: Processing buffer {"connection_id":111990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ba4218012d81f90005c96d180010000f2b..."} 
[2026-06-23 00:38:10] local.INFO: Packet analysis {"connection_id":111990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:38:10] local.INFO: Extracted packet for processing {"connection_id":111990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763492608,"raw_latitude":97086744,"longitude_deg":76.3492608,"latitude_deg":9.7086744,"altitude":16,"angle":15,"satellites":43,"speed":18,"hex_longitude":"2d81f900","hex_latitude":"05c96d18","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231725824001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96090594643804160,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084886323461160960,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782155199000,"timestamp_ms":1782155199000,"timestamp_seconds":1782155199,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ba4218"} 
[2026-06-23 00:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:38:10] 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-06-23 00: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 00:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:38:10] 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-06-23 00:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231725824001,"66":12037,"219":206,"85":12288,"24":18,"16":96090594643804160,"45":-9084886323461160960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231725824001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:38:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96090594643804160,"km_value":96090594643804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084886323461160960,"description":"Unknown IO ID 45"} 
[2026-06-23 00:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231725824001,"power":12037,"unknown_219":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9084886323461160960}} 
[2026-06-23 00:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":111990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:38:10] local.INFO: GPS data processed {"connection_id":111990,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:38:10] local.INFO: Acknowledgment sent {"connection_id":111990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:38:31] local.INFO: TCP Data received {"connection_id":111058,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:38:31] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:38:31] local.INFO: IMEI packet received {"connection_id":111058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":111058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:38:33] local.INFO: TCP Data received {"connection_id":110437,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:38:33] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:38:33] local.INFO: IMEI packet received {"connection_id":110437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":110437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:38:36] local.INFO: TCP Data received {"connection_id":111058,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:38:36] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:38:36] local.INFO: IMEI packet received {"connection_id":111058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":111058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:38:37] local.INFO: TCP Data received {"connection_id":111058,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:37] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:37] local.INFO: Packet analysis {"connection_id":111058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:38:37] local.INFO: Extracted packet for processing {"connection_id":111058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:38:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 00:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:38:37] 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-06-23 00:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:38:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:38:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":111058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:38:37] local.INFO: GPS data processed {"connection_id":111058,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:38:37] local.INFO: Acknowledgment sent {"connection_id":111058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:38:39] local.INFO: TCP Data received {"connection_id":110437,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:38:39] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:38:39] local.INFO: IMEI packet received {"connection_id":110437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":110437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:38:39] local.INFO: TCP Data received {"connection_id":110437,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ba6540012d81fb8005c98068000f00032a..."} 
[2026-06-23 00:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ba6540012d81fb8005c98068000f00032a..."} 
[2026-06-23 00:38:39] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ba6540012d81fb8005c98068000f00032a..."} 
[2026-06-23 00:38:39] local.INFO: Packet analysis {"connection_id":110437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:38:39] local.INFO: Extracted packet for processing {"connection_id":110437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763493248,"raw_latitude":97091688,"longitude_deg":76.3493248,"latitude_deg":9.7091688,"altitude":15,"angle":3,"satellites":42,"speed":22,"hex_longitude":"2d81fb80","hex_latitude":"05c98068","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231730944001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96090839456940032,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9081227148761688064,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782155208000,"timestamp_ms":1782155208000,"timestamp_seconds":1782155208,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ba6540"} 
[2026-06-23 00:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:38: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-06-23 00: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4038641456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3106973697,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8636497596605530136,"corrected_to":0} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2281778561,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3971611921303468755,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194763776,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,219,85,24,241,157,16,97,158,243,45,75,17,10,66,165,192,46,15,44,130,1,240,141,227,201,4,113,205,14,226,215,40,239,2,5,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":8636497596605530136,"validated":0}]} 
[2026-06-23 00:38:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152938181966036992,"timestamp_seconds":1152938181966037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231730944001,"66":11776,"219":206,"85":12288,"24":22,"16":96090839456940032,"45":-9081227148761688064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231730944001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:38:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96090839456940032,"km_value":96090839456940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9081227148761688064,"description":"Unknown IO ID 45"} 
[2026-06-23 00:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231730944001,"power":11776,"unknown_219":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9081227148761688064}} 
[2026-06-23 00:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":110437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:38:39] local.INFO: GPS data processed {"connection_id":110437,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:38:39] local.INFO: Acknowledgment sent {"connection_id":110437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:38:42] local.INFO: TCP Data received {"connection_id":111058,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:42] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0b77f10012cc3308007685990005a00ee2e..."} 
[2026-06-23 00:38:42] local.INFO: Packet analysis {"connection_id":111058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:38:42] local.INFO: Extracted packet for processing {"connection_id":111058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0b7"} 
[2026-06-23 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231607552001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782155018000,"timestamp_ms":1782155018000,"timestamp_seconds":1782155018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0b77f10"} 
[2026-06-23 00:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:38:42] 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-06-23 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 00:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231607552001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231607552001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:38:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:38:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231607552001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":111058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:38:42] local.INFO: GPS data processed {"connection_id":111058,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:38:42] local.INFO: Acknowledgment sent {"connection_id":111058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:39:10] local.INFO: TCP Data received {"connection_id":110437,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0baa7a8012d81fe4005c9a488000900032c..."} 
[2026-06-23 00:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0baa7a8012d81fe4005c9a488000900032c..."} 
[2026-06-23 00:39:10] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0baa7a8012d81fe4005c9a488000900032c..."} 
[2026-06-23 00:39:10] local.INFO: Packet analysis {"connection_id":110437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:39:10] local.INFO: Extracted packet for processing {"connection_id":110437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763493952,"raw_latitude":97100936,"longitude_deg":76.3493952,"latitude_deg":9.7100936,"altitude":9,"angle":3,"satellites":44,"speed":17,"hex_longitude":"2d81fe40","hex_latitude":"05c9a488","is_valid_coordinates":true} 
[2026-06-23 00:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231733248001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091290428506112,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080523461318645760,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782155225000,"timestamp_ms":1782155225000,"timestamp_seconds":1782155225,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0baa7a8"} 
[2026-06-23 00:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:39:10] 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-06-23 00:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4038648456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179072005,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010841294,"corrected_to":0} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2818649473,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3221604608,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,219,85,24,241,157,16,98,158,66,45,109,43,10,97,243,75,17,165,192,1,240,70,227,201,4,113,205,15,48,221,44,239,46,2],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2010841294,"validated":0}]} 
[2026-06-23 00:39:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080867389493870592,"timestamp_seconds":1080867389493870.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231733248001,"66":11917,"219":206,"85":12288,"24":17,"16":96091290428506112,"45":-9080523461318645760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231733248001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:39:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091290428506112,"km_value":96091290428506.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080523461318645760,"description":"Unknown IO ID 45"} 
[2026-06-23 00:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231733248001,"power":11917,"unknown_219":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9080523461318645760}} 
[2026-06-23 00:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":110437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:39:11] local.INFO: GPS data processed {"connection_id":110437,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:39:11] local.INFO: Acknowledgment sent {"connection_id":110437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:39:26] local.INFO: TCP Data received {"connection_id":111992,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:39:26] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:39:26] local.INFO: IMEI packet received {"connection_id":111992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":111992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:39:31] local.INFO: TCP Data received {"connection_id":111992,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:39:31] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:39:31] local.INFO: IMEI packet received {"connection_id":111992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":111992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:39:33] local.INFO: TCP Data received {"connection_id":111992,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:39:33] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:39:33] local.INFO: Packet analysis {"connection_id":111992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:39:33] local.INFO: Extracted packet for processing {"connection_id":111992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:39:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 00:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:39:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:39:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":111992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:39:33] local.INFO: GPS data processed {"connection_id":111992,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:39:33] local.INFO: Acknowledgment sent {"connection_id":111992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:39:39] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:39:39] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:39:39] local.INFO: IMEI packet received {"connection_id":110253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":110253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:39:44] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:39:44] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:39:44] local.INFO: IMEI packet received {"connection_id":110253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":110253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:39:44] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0baf1e0012d82010005c9c708000900022d..."} 
[2026-06-23 00:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0baf1e0012d82010005c9c708000900022d..."} 
[2026-06-23 00:39:44] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0baf1e0012d82010005c9c708000900022d..."} 
[2026-06-23 00:39:44] local.INFO: Packet analysis {"connection_id":110253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:39:44] local.INFO: Extracted packet for processing {"connection_id":110253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ba"} 
[2026-06-23 00:39:44] local.INFO: GPS Element Parsed {"raw_longitude":763494656,"raw_latitude":97109768,"longitude_deg":76.3494656,"latitude_deg":9.7109768,"altitude":9,"angle":2,"satellites":45,"speed":13,"hex_longitude":"2d820100","hex_latitude":"05c9c708","is_valid_coordinates":true} 
[2026-06-23 00:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231737600001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091719925235712,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079749405130323968,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782155244000,"timestamp_ms":1782155244000,"timestamp_seconds":1782155244,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0baf1e0"} 
[2026-06-23 00:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:39: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-06-23 00:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 00:39:44] 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-06-23 00:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231737600001,"66":11743,"219":206,"85":12288,"24":13,"16":96091719925235712,"45":-9079749405130323968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231737600001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091719925235712,"km_value":96091719925235.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079749405130323968,"description":"Unknown IO ID 45"} 
[2026-06-23 00:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231737600001,"power":11743,"unknown_219":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9079749405130323968}} 
[2026-06-23 00:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":110253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:39:44] local.INFO: GPS data processed {"connection_id":110253,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:39:44] local.INFO: Acknowledgment sent {"connection_id":110253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:39:49] local.INFO: TCP Data received {"connection_id":110253,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:39:49] local.INFO: Processing buffer {"connection_id":110253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:39:49] local.INFO: Packet analysis {"connection_id":110253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:39:49] local.INFO: Extracted packet for processing {"connection_id":110253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763494656,"raw_latitude":97110976,"longitude_deg":76.3494656,"latitude_deg":9.7110976,"altitude":10,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d820100","hex_latitude":"05c9cbc0","is_valid_coordinates":true} 
[2026-06-23 00:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231742464001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348942108672,"note":"Value kept but may cause issues"} 
[2026-06-23 00:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782155255000,"timestamp_ms":1782155255000,"timestamp_seconds":1782155255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bb1cd8"} 
[2026-06-23 00:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 00:39:49] 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-06-23 00:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231742464001,"66":12982,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348942108672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231742464001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348942108672,"description":"Unknown IO ID 45"} 
[2026-06-23 00:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231742464001,"power":12982,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348942108672}} 
[2026-06-23 00:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":110253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:39:49] local.INFO: GPS data processed {"connection_id":110253,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:39:49] local.INFO: Acknowledgment sent {"connection_id":110253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:40:05] local.INFO: TCP Data received {"connection_id":111992,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:05] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:05] local.INFO: Packet analysis {"connection_id":111992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:40:05] local.INFO: Extracted packet for processing {"connection_id":111992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 00:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:40:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:40:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":111992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:40:05] local.INFO: GPS data processed {"connection_id":111992,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:40:05] local.INFO: Acknowledgment sent {"connection_id":111992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:40:31] local.INFO: TCP Data received {"connection_id":111993,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:40:31] local.INFO: Processing buffer {"connection_id":111993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:40:31] local.INFO: IMEI packet received {"connection_id":111993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":111993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:40:33] local.INFO: TCP Data received {"connection_id":110254,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:40:33] local.INFO: Processing buffer {"connection_id":110254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:40:33] local.INFO: IMEI packet received {"connection_id":110254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":110254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:40:34] local.INFO: TCP Data received {"connection_id":111994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:40:34] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:40:34] local.INFO: IMEI packet received {"connection_id":111994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":111994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:40:36] local.INFO: TCP Data received {"connection_id":111993,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:40:36] local.INFO: Processing buffer {"connection_id":111993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:40:36] local.INFO: IMEI packet received {"connection_id":111993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":111993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:40:37] local.INFO: TCP Data received {"connection_id":111993,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:37] local.INFO: Processing buffer {"connection_id":111993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:37] local.INFO: Packet analysis {"connection_id":111993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:40:37] local.INFO: Extracted packet for processing {"connection_id":111993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:40:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 00:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:40:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:40:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":111993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:40:37] local.INFO: GPS data processed {"connection_id":111993,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:40:37] local.INFO: Acknowledgment sent {"connection_id":111993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:40:39] local.INFO: TCP Data received {"connection_id":111994,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:40:39] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:40:39] local.INFO: IMEI packet received {"connection_id":111994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":111994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:40:39] local.INFO: TCP Data received {"connection_id":111994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:40:39] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:40:39] local.INFO: Packet analysis {"connection_id":111994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:40:39] local.INFO: Extracted packet for processing {"connection_id":111994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763494656,"raw_latitude":97110976,"longitude_deg":76.3494656,"latitude_deg":9.7110976,"altitude":10,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d820100","hex_latitude":"05c9cbc0","is_valid_coordinates":true} 
[2026-06-23 00:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782155255000,"timestamp_ms":1782155255000,"timestamp_seconds":1782155255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bb1cd8"} 
[2026-06-23 00:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:40:39] 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-06-23 00:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:40:39] 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-06-23 00:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12982,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12982,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":111994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:40:39] local.INFO: GPS data processed {"connection_id":111994,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:40:39] local.INFO: Acknowledgment sent {"connection_id":111994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:40:41] local.INFO: TCP Data received {"connection_id":111993,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:41] local.INFO: Processing buffer {"connection_id":111993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:40:41] local.INFO: Packet analysis {"connection_id":111993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:40:41] local.INFO: Extracted packet for processing {"connection_id":111993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:40:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 00:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:40:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":111993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:40:41] local.INFO: GPS data processed {"connection_id":111993,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:40:41] local.INFO: Acknowledgment sent {"connection_id":111993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:41:11] local.INFO: TCP Data received {"connection_id":111994,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:41:11] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:41:11] local.INFO: Packet analysis {"connection_id":111994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:41:11] local.INFO: Extracted packet for processing {"connection_id":111994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763494656,"raw_latitude":97110976,"longitude_deg":76.3494656,"latitude_deg":9.7110976,"altitude":10,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d820100","hex_latitude":"05c9cbc0","is_valid_coordinates":true} 
[2026-06-23 00:41:11] 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-06-23 00:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782155255000,"timestamp_ms":1782155255000,"timestamp_seconds":1782155255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bb1cd8"} 
[2026-06-23 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-06-23 00:41:11] 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-06-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:41:11] 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-06-23 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-06-23 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-06-23 00:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":111994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":111994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":111994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12982,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:41:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12982,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":111994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:41:11] local.INFO: GPS data processed {"connection_id":111994,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:41:11] local.INFO: Acknowledgment sent {"connection_id":111994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:41:13] local.INFO: TCP Data received {"connection_id":110255,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:41:13] local.INFO: Processing buffer {"connection_id":110255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:41:13] local.INFO: IMEI packet received {"connection_id":110255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":110255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:41:26] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:41:26] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:41:26] local.INFO: IMEI packet received {"connection_id":110439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":110439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:41:31] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:41:31] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:41:31] local.INFO: IMEI packet received {"connection_id":110439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":110439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:41:33] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:41:33] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:41:33] local.INFO: Packet analysis {"connection_id":110439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:41:33] local.INFO: Extracted packet for processing {"connection_id":110439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 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-06-23 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:41:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:41:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:41:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":110439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:41:33] local.INFO: GPS data processed {"connection_id":110439,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:41:33] local.INFO: Acknowledgment sent {"connection_id":110439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:41:34] local.INFO: TCP Data received {"connection_id":111059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:41:34] local.INFO: Processing buffer {"connection_id":111059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:41:34] local.INFO: IMEI packet received {"connection_id":111059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":111059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:41:39] local.INFO: TCP Data received {"connection_id":111059,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:41:39] local.INFO: Processing buffer {"connection_id":111059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:41:39] local.INFO: IMEI packet received {"connection_id":111059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":111059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:41:39] local.INFO: TCP Data received {"connection_id":111059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:41:39] local.INFO: Processing buffer {"connection_id":111059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:41:39] local.INFO: Packet analysis {"connection_id":111059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:41:39] local.INFO: Extracted packet for processing {"connection_id":111059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763494656,"raw_latitude":97110976,"longitude_deg":76.3494656,"latitude_deg":9.7110976,"altitude":10,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d820100","hex_latitude":"05c9cbc0","is_valid_coordinates":true} 
[2026-06-23 00:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782155255000,"timestamp_ms":1782155255000,"timestamp_seconds":1782155255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bb1cd8"} 
[2026-06-23 00:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:41:39] 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-06-23 00: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:41:39] 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-06-23 00: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-06-23 00:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12982,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:41:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12982,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":111059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:41:39] local.INFO: GPS data processed {"connection_id":111059,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:41:39] local.INFO: Acknowledgment sent {"connection_id":111059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:42:04] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:42:04] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:42:04] local.INFO: Packet analysis {"connection_id":110439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:42:04] local.INFO: Extracted packet for processing {"connection_id":110439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 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-06-23 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:42:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:42:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":110439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:42:04] local.INFO: GPS data processed {"connection_id":110439,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:42:04] local.INFO: Acknowledgment sent {"connection_id":110439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:42:10] local.INFO: TCP Data received {"connection_id":111059,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:42:10] local.INFO: Processing buffer {"connection_id":111059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bb1cd8012d82010005c9cbc0000a01642c..."} 
[2026-06-23 00:42:10] local.INFO: Packet analysis {"connection_id":111059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:42:10] local.INFO: Extracted packet for processing {"connection_id":111059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bb"} 
[2026-06-23 00:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763494656,"raw_latitude":97110976,"longitude_deg":76.3494656,"latitude_deg":9.7110976,"altitude":10,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d820100","hex_latitude":"05c9cbc0","is_valid_coordinates":true} 
[2026-06-23 00:42: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-06-23 00:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782155255000,"timestamp_ms":1782155255000,"timestamp_seconds":1782155255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bb1cd8"} 
[2026-06-23 00:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:42:10] 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-06-23 00:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:42:10] 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-06-23 00:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12982,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:42:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12982,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":111059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:42:10] local.INFO: GPS data processed {"connection_id":111059,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:42:10] local.INFO: Acknowledgment sent {"connection_id":111059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:42:26] local.INFO: TCP Data received {"connection_id":111995,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:42:26] local.INFO: Processing buffer {"connection_id":111995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:42:26] local.INFO: IMEI packet received {"connection_id":111995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":111995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:42:31] local.INFO: TCP Data received {"connection_id":111995,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:42:31] local.INFO: Processing buffer {"connection_id":111995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:42:31] local.INFO: IMEI packet received {"connection_id":111995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":111995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:42:32] local.INFO: TCP Data received {"connection_id":111995,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:42:32] local.INFO: Processing buffer {"connection_id":111995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:42:32] local.INFO: Packet analysis {"connection_id":111995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:42:32] local.INFO: Extracted packet for processing {"connection_id":111995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:42:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 00:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:42:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:42:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":111995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:42:32] local.INFO: GPS data processed {"connection_id":111995,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:42:32] local.INFO: Acknowledgment sent {"connection_id":111995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:42:33] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:42:33] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:42:33] local.INFO: IMEI packet received {"connection_id":111060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":111060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:42:39] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:42:39] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:42:39] local.INFO: IMEI packet received {"connection_id":111060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":111060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:42:39] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:42:39] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:42:39] local.INFO: Packet analysis {"connection_id":111060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:42:39] local.INFO: Extracted packet for processing {"connection_id":111060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763494400,"raw_latitude":97110960,"longitude_deg":76.34944,"latitude_deg":9.711096,"altitude":10,"angle":356,"satellites":43,"speed":0,"hex_longitude":"2d820000","hex_latitude":"05c9cbb0","is_valid_coordinates":true} 
[2026-06-23 00:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782155557000,"timestamp_ms":1782155557000,"timestamp_seconds":1782155557,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bfb888"} 
[2026-06-23 00:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:42:39] 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-06-23 00:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:42:39] 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-06-23 00:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12526,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:42:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12526,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":111060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:42:39] local.INFO: GPS data processed {"connection_id":111060,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:42:39] local.INFO: Acknowledgment sent {"connection_id":111060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:43:04] local.INFO: TCP Data received {"connection_id":111995,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:43:04] local.INFO: Processing buffer {"connection_id":111995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:43:04] local.INFO: Packet analysis {"connection_id":111995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:43:04] local.INFO: Extracted packet for processing {"connection_id":111995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 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-06-23 00:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:43:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":111995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:43:04] local.INFO: GPS data processed {"connection_id":111995,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:43:04] local.INFO: Acknowledgment sent {"connection_id":111995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:43:10] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:43:10] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:43:10] local.INFO: Packet analysis {"connection_id":111060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:43:10] local.INFO: Extracted packet for processing {"connection_id":111060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763494400,"raw_latitude":97110960,"longitude_deg":76.34944,"latitude_deg":9.711096,"altitude":10,"angle":356,"satellites":43,"speed":0,"hex_longitude":"2d820000","hex_latitude":"05c9cbb0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782155557000,"timestamp_ms":1782155557000,"timestamp_seconds":1782155557,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bfb888"} 
[2026-06-23 00:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:43:10] 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-06-23 00: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:43:10] 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-06-23 00: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-06-23 00:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12526,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:43:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12526,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":111060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:43:10] local.INFO: GPS data processed {"connection_id":111060,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:43:10] local.INFO: Acknowledgment sent {"connection_id":111060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:43:25] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:43:25] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:43:25] local.INFO: IMEI packet received {"connection_id":111061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":111061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:43:31] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:43:31] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:43:31] local.INFO: IMEI packet received {"connection_id":111061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":111061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:43:32] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:43:32] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:43:32] local.INFO: Packet analysis {"connection_id":111061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:43:32] local.INFO: Extracted packet for processing {"connection_id":111061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 00:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:43:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:43:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:43:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":111061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:43:32] local.INFO: GPS data processed {"connection_id":111061,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:43:32] local.INFO: Acknowledgment sent {"connection_id":111061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:43:33] local.INFO: TCP Data received {"connection_id":110257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:43:33] local.INFO: Processing buffer {"connection_id":110257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:43:33] local.INFO: IMEI packet received {"connection_id":110257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":110257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:43:39] local.INFO: TCP Data received {"connection_id":110257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:43:39] local.INFO: Processing buffer {"connection_id":110257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:43:39] local.INFO: IMEI packet received {"connection_id":110257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":110257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:43:39] local.INFO: TCP Data received {"connection_id":110257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:43:39] local.INFO: Processing buffer {"connection_id":110257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:43:39] local.INFO: Packet analysis {"connection_id":110257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:43:39] local.INFO: Extracted packet for processing {"connection_id":110257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763494400,"raw_latitude":97110960,"longitude_deg":76.34944,"latitude_deg":9.711096,"altitude":10,"angle":356,"satellites":43,"speed":0,"hex_longitude":"2d820000","hex_latitude":"05c9cbb0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782155557000,"timestamp_ms":1782155557000,"timestamp_seconds":1782155557,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bfb888"} 
[2026-06-23 00:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:43:39] 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-06-23 00: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:43:39] 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-06-23 00: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-06-23 00:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12526,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:43:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12526,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":110257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:43:39] local.INFO: GPS data processed {"connection_id":110257,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:43:39] local.INFO: Acknowledgment sent {"connection_id":110257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:44:04] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:44:04] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bc16d8012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:44:04] local.INFO: Packet analysis {"connection_id":111061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:44:04] local.INFO: Extracted packet for processing {"connection_id":111061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bc"} 
[2026-06-23 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231684608001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155319000,"timestamp_ms":1782155319000,"timestamp_seconds":1782155319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bc16d8"} 
[2026-06-23 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-06-23 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231684608001,"66":25397,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231684608001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:44:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:44:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231684608001,"power":25397,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":111061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:44:04] local.INFO: GPS data processed {"connection_id":111061,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:44:04] local.INFO: Acknowledgment sent {"connection_id":111061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:44:10] local.INFO: TCP Data received {"connection_id":110257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:44:10] local.INFO: Processing buffer {"connection_id":110257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0bfb888012d82000005c9cbb0000a01642b..."} 
[2026-06-23 00:44:10] local.INFO: Packet analysis {"connection_id":110257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:44:10] local.INFO: Extracted packet for processing {"connection_id":110257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0bf"} 
[2026-06-23 00:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763494400,"raw_latitude":97110960,"longitude_deg":76.34944,"latitude_deg":9.711096,"altitude":10,"angle":356,"satellites":43,"speed":0,"hex_longitude":"2d820000","hex_latitude":"05c9cbb0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231745280001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96091775759810560,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078975348941799424,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782155557000,"timestamp_ms":1782155557000,"timestamp_seconds":1782155557,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0bfb888"} 
[2026-06-23 00:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:44:10] 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-06-23 00: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 00:44:10] 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-06-23 00: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-06-23 00:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231745280001,"66":12526,"219":206,"85":12288,"24":0,"16":96091775759810560,"45":-9078975348941799424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231745280001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:44:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 00:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96091775759810560,"km_value":96091775759810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078975348941799424,"description":"Unknown IO ID 45"} 
[2026-06-23 00:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231745280001,"power":12526,"unknown_219":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9078975348941799424}} 
[2026-06-23 00:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":110257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:44:10] local.INFO: GPS data processed {"connection_id":110257,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:44:10] local.INFO: Acknowledgment sent {"connection_id":110257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:44:25] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:44:25] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:44:25] local.INFO: IMEI packet received {"connection_id":110441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":110441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:44:31] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:44:31] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:44:31] local.INFO: IMEI packet received {"connection_id":110441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":110441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:44:32] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:44:32] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:44:32] local.INFO: Packet analysis {"connection_id":110441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:44:32] local.INFO: Extracted packet for processing {"connection_id":110441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:44:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:44:32] 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-06-23 00:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:44: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-06-23 00:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:44:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:44:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:44:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":110441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:44:32] local.INFO: GPS data processed {"connection_id":110441,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:44:32] local.INFO: Acknowledgment sent {"connection_id":110441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:45:04] local.INFO: TCP Data received {"connection_id":110441,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:45:04] local.INFO: Processing buffer {"connection_id":110441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:45:04] local.INFO: Packet analysis {"connection_id":110441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:45:04] local.INFO: Extracted packet for processing {"connection_id":110441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:45:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:45:04] 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-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:45: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-06-23 00: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-06-23 00:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:45:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:45:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":110441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:45:04] local.INFO: GPS data processed {"connection_id":110441,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:45:04] local.INFO: Acknowledgment sent {"connection_id":110441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:45:26] local.INFO: TCP Data received {"connection_id":110258,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:45:26] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:45:26] local.INFO: IMEI packet received {"connection_id":110258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":110258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:45:31] local.INFO: TCP Data received {"connection_id":110258,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:45:31] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:45:31] local.INFO: IMEI packet received {"connection_id":110258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":110258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:45:32] local.INFO: TCP Data received {"connection_id":110258,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:45:32] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:45:32] local.INFO: Packet analysis {"connection_id":110258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:45:32] local.INFO: Extracted packet for processing {"connection_id":110258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:45:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:45:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:45:32] 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-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:45: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-06-23 00: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-06-23 00:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:45:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:45:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:45:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":110258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:45:32] local.INFO: GPS data processed {"connection_id":110258,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:45:32] local.INFO: Acknowledgment sent {"connection_id":110258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:46:04] local.INFO: TCP Data received {"connection_id":110258,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:46:04] local.INFO: Processing buffer {"connection_id":110258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:46:04] local.INFO: Packet analysis {"connection_id":110258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:46:04] local.INFO: Extracted packet for processing {"connection_id":110258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:46:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:46:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:46:04] 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-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:46: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-06-23 00: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-06-23 00:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:46:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:46:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:46:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":110258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:46:04] local.INFO: GPS data processed {"connection_id":110258,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:46:04] local.INFO: Acknowledgment sent {"connection_id":110258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:46:26] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:46:26] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:46:26] local.INFO: IMEI packet received {"connection_id":111062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":111062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:46:31] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:46:31] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:46:31] local.INFO: IMEI packet received {"connection_id":111062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":111062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:46:32] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:46:32] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:46:32] local.INFO: Packet analysis {"connection_id":111062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:46:32] local.INFO: Extracted packet for processing {"connection_id":111062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:46:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:46:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:46:32] 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-06-23 00:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:46: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-06-23 00:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:46:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:46:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:46:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":111062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:46:32] local.INFO: GPS data processed {"connection_id":111062,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:46:32] local.INFO: Acknowledgment sent {"connection_id":111062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:46:43] local.INFO: TCP Data received {"connection_id":110259,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:46:43] local.INFO: Processing buffer {"connection_id":110259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:46:43] local.INFO: IMEI packet received {"connection_id":110259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":110259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:47:04] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:47:04] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:47:04] local.INFO: Packet analysis {"connection_id":111062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:47:04] local.INFO: Extracted packet for processing {"connection_id":111062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:47:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:47:04] 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-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:47: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-06-23 00: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-06-23 00:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:47:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:47:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":111062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:47:04] local.INFO: GPS data processed {"connection_id":111062,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:47:04] local.INFO: Acknowledgment sent {"connection_id":111062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:47:08] local.INFO: TCP Data received {"connection_id":111998,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:47:08] local.INFO: Processing buffer {"connection_id":111998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:47:08] local.INFO: IMEI packet received {"connection_id":111998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":111998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:47:25] local.INFO: TCP Data received {"connection_id":110260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:47:25] local.INFO: Processing buffer {"connection_id":110260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:47:25] local.INFO: IMEI packet received {"connection_id":110260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":110260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:47:31] local.INFO: TCP Data received {"connection_id":110260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:47:31] local.INFO: Processing buffer {"connection_id":110260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:47:31] local.INFO: IMEI packet received {"connection_id":110260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":110260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:47:33] local.INFO: TCP Data received {"connection_id":110260,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:47:33] local.INFO: Processing buffer {"connection_id":110260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:47:33] local.INFO: Packet analysis {"connection_id":110260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:47:33] local.INFO: Extracted packet for processing {"connection_id":110260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 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-06-23 00:47:33] 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-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:47: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-06-23 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-06-23 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-06-23 00:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:47:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:47:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":110260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:47:33] local.INFO: GPS data processed {"connection_id":110260,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:47:33] local.INFO: Acknowledgment sent {"connection_id":110260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:48:05] local.INFO: TCP Data received {"connection_id":110260,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:48:05] local.INFO: Processing buffer {"connection_id":110260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:48:05] local.INFO: Packet analysis {"connection_id":110260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:48:05] local.INFO: Extracted packet for processing {"connection_id":110260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:48:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:48: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-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:48: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-06-23 00: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-06-23 00:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:48:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:48:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":110260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:48:05] local.INFO: GPS data processed {"connection_id":110260,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:48:05] local.INFO: Acknowledgment sent {"connection_id":110260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:48:25] local.INFO: TCP Data received {"connection_id":111999,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:48:25] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:48:25] local.INFO: IMEI packet received {"connection_id":111999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":111999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:48:31] local.INFO: TCP Data received {"connection_id":111999,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:48:31] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:48:31] local.INFO: IMEI packet received {"connection_id":111999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":111999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:48:34] local.INFO: TCP Data received {"connection_id":111999,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:48:34] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:48:34] local.INFO: Packet analysis {"connection_id":111999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:48:34] local.INFO: Extracted packet for processing {"connection_id":111999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:48:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:48:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:48: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-06-23 00:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:48:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:48:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:48:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":111999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:48:34] local.INFO: GPS data processed {"connection_id":111999,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:48:34] local.INFO: Acknowledgment sent {"connection_id":111999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:49:06] local.INFO: TCP Data received {"connection_id":111999,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:49:06] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c0aea0012cc3308007685990005a00ee29..."} 
[2026-06-23 00:49:06] local.INFO: Packet analysis {"connection_id":111999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:49:06] local.INFO: Extracted packet for processing {"connection_id":111999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c0"} 
[2026-06-23 00:49:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782155620000,"timestamp_ms":1782155620000,"timestamp_seconds":1782155620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c0aea0"} 
[2026-06-23 00:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:49: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-06-23 00: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 00:49: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-06-23 00: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-06-23 00:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231761664001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:49:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:49:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231761664001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":111999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:49:06] local.INFO: GPS data processed {"connection_id":111999,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:49:06] local.INFO: Acknowledgment sent {"connection_id":111999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:49:31] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:49:31] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:49:31] local.INFO: IMEI packet received {"connection_id":110442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":110442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:49:36] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:49:36] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:49:36] local.INFO: IMEI packet received {"connection_id":110442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":110442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:49:37] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:49:37] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:49:37] local.INFO: Packet analysis {"connection_id":110442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:49:37] local.INFO: Extracted packet for processing {"connection_id":110442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:49:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:49:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:49:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":110442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:49:37] local.INFO: GPS data processed {"connection_id":110442,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:49:37] local.INFO: Acknowledgment sent {"connection_id":110442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:49:42] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:49:42] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:49:42] local.INFO: Packet analysis {"connection_id":110442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:49:42] local.INFO: Extracted packet for processing {"connection_id":110442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 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-06-23 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:49:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:49:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":110442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:49:42] local.INFO: GPS data processed {"connection_id":110442,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:49:42] local.INFO: Acknowledgment sent {"connection_id":110442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:50:25] local.INFO: TCP Data received {"connection_id":111065,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:50:25] local.INFO: Processing buffer {"connection_id":111065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:50:25] local.INFO: IMEI packet received {"connection_id":111065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":111065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:50:31] local.INFO: TCP Data received {"connection_id":111065,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:50:31] local.INFO: Processing buffer {"connection_id":111065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:50:31] local.INFO: IMEI packet received {"connection_id":111065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":111065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:50:33] local.INFO: TCP Data received {"connection_id":111065,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:50:33] local.INFO: Processing buffer {"connection_id":111065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:50:33] local.INFO: Packet analysis {"connection_id":111065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:50:33] local.INFO: Extracted packet for processing {"connection_id":111065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:50:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:50:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 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-06-23 00:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:50:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:50:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:50:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":111065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:50:33] local.INFO: GPS data processed {"connection_id":111065,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:50:33] local.INFO: Acknowledgment sent {"connection_id":111065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:51:04] local.INFO: TCP Data received {"connection_id":111065,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:51:04] local.INFO: Processing buffer {"connection_id":111065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:51:04] local.INFO: Packet analysis {"connection_id":111065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:51:04] local.INFO: Extracted packet for processing {"connection_id":111065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:51:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:51:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:51:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":111065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:51:04] local.INFO: GPS data processed {"connection_id":111065,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:51:04] local.INFO: Acknowledgment sent {"connection_id":111065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:51:25] local.INFO: TCP Data received {"connection_id":110263,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:51:25] local.INFO: Processing buffer {"connection_id":110263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:51:25] local.INFO: IMEI packet received {"connection_id":110263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":110263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:51:31] local.INFO: TCP Data received {"connection_id":110263,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:51:31] local.INFO: Processing buffer {"connection_id":110263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:51:31] local.INFO: IMEI packet received {"connection_id":110263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":110263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:51:32] local.INFO: TCP Data received {"connection_id":110263,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:51:32] local.INFO: Processing buffer {"connection_id":110263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:51:32] local.INFO: Packet analysis {"connection_id":110263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:51:32] local.INFO: Extracted packet for processing {"connection_id":110263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:51:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:51:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:51:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:51:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":110263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:51:32] local.INFO: GPS data processed {"connection_id":110263,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:51:32] local.INFO: Acknowledgment sent {"connection_id":110263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:52:04] local.INFO: TCP Data received {"connection_id":110263,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:52:04] local.INFO: Processing buffer {"connection_id":110263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:52:04] local.INFO: Packet analysis {"connection_id":110263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:52:04] local.INFO: Extracted packet for processing {"connection_id":110263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:52:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:52:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:52:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":110263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:52:04] local.INFO: GPS data processed {"connection_id":110263,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:52:04] local.INFO: Acknowledgment sent {"connection_id":110263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:52:25] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:52:25] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:52:25] local.INFO: IMEI packet received {"connection_id":110443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":110443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:52:31] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:52:31] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:52:31] local.INFO: IMEI packet received {"connection_id":110443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":110443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:52:35] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:52:35] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:52:35] local.INFO: Packet analysis {"connection_id":110443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:52:35] local.INFO: Extracted packet for processing {"connection_id":110443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:52:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:52:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:52:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":110443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:52:35] local.INFO: GPS data processed {"connection_id":110443,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:52:35] local.INFO: Acknowledgment sent {"connection_id":110443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:52:38] local.INFO: TCP Data received {"connection_id":112000,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:52:38] local.INFO: Processing buffer {"connection_id":112000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:52:38] local.INFO: IMEI packet received {"connection_id":112000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":112000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:53:07] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:07] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:07] local.INFO: Packet analysis {"connection_id":110443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:53:07] local.INFO: Extracted packet for processing {"connection_id":110443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:53:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:53:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":110443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:53:07] local.INFO: GPS data processed {"connection_id":110443,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:53:07] local.INFO: Acknowledgment sent {"connection_id":110443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:53:09] local.INFO: TCP Data received {"connection_id":111066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:53:09] local.INFO: Processing buffer {"connection_id":111066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:53:09] local.INFO: IMEI packet received {"connection_id":111066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":111066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:53:18] local.INFO: TCP Data received {"connection_id":111067,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:18] local.INFO: Processing buffer {"connection_id":111067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:18] local.INFO: IMEI packet received {"connection_id":111067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":111067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:53:31] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:53:31] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:53:31] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:53:36] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:53:36] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:53:36] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:53:38] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:38] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:38] local.INFO: Packet analysis {"connection_id":111068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:53:38] local.INFO: Extracted packet for processing {"connection_id":111068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:53:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:53:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":111068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:53:38] local.INFO: GPS data processed {"connection_id":111068,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:53:38] local.INFO: Acknowledgment sent {"connection_id":111068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:53:42] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:42] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c54280012cc3308007685990005a00ee28..."} 
[2026-06-23 00:53:42] local.INFO: Packet analysis {"connection_id":111068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:53:42] local.INFO: Extracted packet for processing {"connection_id":111068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c5"} 
[2026-06-23 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231838720001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782155920000,"timestamp_ms":1782155920000,"timestamp_seconds":1782155920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c54280"} 
[2026-06-23 00:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231838720001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231838720001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:53:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:53:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231838720001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":111068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:53:42] local.INFO: GPS data processed {"connection_id":111068,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:53:42] local.INFO: Acknowledgment sent {"connection_id":111068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:53:48] local.INFO: TCP Data received {"connection_id":110264,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:48] local.INFO: Processing buffer {"connection_id":110264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:48] local.INFO: IMEI packet received {"connection_id":110264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":110264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:53:54] local.INFO: TCP Data received {"connection_id":110264,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:54] local.INFO: Processing buffer {"connection_id":110264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:53:54] local.INFO: IMEI packet received {"connection_id":110264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":110264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:53:55] local.INFO: TCP Data received {"connection_id":110264,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c7e648012d828b0005cb6fd0000a01502c..."} 
[2026-06-23 00:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c7e648012d828b0005cb6fd0000a01502c..."} 
[2026-06-23 00:53:55] local.INFO: Processing buffer {"connection_id":110264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c7e648012d828b0005cb6fd0000a01502c..."} 
[2026-06-23 00:53:55] local.INFO: Packet analysis {"connection_id":110264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c7"} 
[2026-06-23 00:53:55] local.INFO: Extracted packet for processing {"connection_id":110264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c7"} 
[2026-06-23 00:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763529984,"raw_latitude":97218512,"longitude_deg":76.3529984,"latitude_deg":9.7218512,"altitude":10,"angle":336,"satellites":44,"speed":17,"hex_longitude":"2d828b00","hex_latitude":"05cb6fd0","is_valid_coordinates":true} 
[2026-06-23 00:53: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-06-23 00:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231954688001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96098956945129472,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364921419776,"note":"Value kept but may cause issues"} 
[2026-06-23 00:53:55] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-06-23 00:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782156093000,"timestamp_ms":1782156093000,"timestamp_seconds":1782156093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c7e648"} 
[2026-06-23 00:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:53:55] 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-06-23 00:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 00:53:55] 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-06-23 00:53: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-06-23 00:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231954688001,"66":12004,"24":17,"16":96098956945129472,"45":-9036613364921419776},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-23 00:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231954688001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96098956945129472,"km_value":96098956945129.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364921419776,"description":"Unknown IO ID 45"} 
[2026-06-23 00:53:55] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456231954688001,"power":12004,"ignition":17,"odometer":null,"unknown_45":-9036613364921419776}} 
[2026-06-23 00:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":110264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:53:55] local.INFO: GPS data processed {"connection_id":110264,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:53:55] local.INFO: Acknowledgment sent {"connection_id":110264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:54:26] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:54:26] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:54:26] local.INFO: IMEI packet received {"connection_id":110444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":110444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:54:31] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:54:31] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:54:31] local.INFO: IMEI packet received {"connection_id":110444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":110444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:54:33] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:54:33] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:54:33] local.INFO: Packet analysis {"connection_id":110444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:54:33] local.INFO: Extracted packet for processing {"connection_id":110444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:54:33] 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-06-23 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:54:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:54:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":110444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:54:33] local.INFO: GPS data processed {"connection_id":110444,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:54:33] local.INFO: Acknowledgment sent {"connection_id":110444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:54:34] local.INFO: TCP Data received {"connection_id":110445,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:34] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:34] local.INFO: IMEI packet received {"connection_id":110445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":110445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:54:37] local.INFO: TCP Data received {"connection_id":110445,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:37] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:37] local.INFO: IMEI packet received {"connection_id":110445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":110445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:54:38] local.INFO: TCP Data received {"connection_id":110445,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:38] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:54:38] local.INFO: IMEI packet received {"connection_id":110445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":110445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:54:39] local.INFO: TCP Data received {"connection_id":110445,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9e218012d8268c005ccb1a8000800082d..."} 
[2026-06-23 00:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9e218012d8268c005ccb1a8000800082d..."} 
[2026-06-23 00:54:39] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9e218012d8268c005ccb1a8000800082d..."} 
[2026-06-23 00:54:39] local.INFO: Packet analysis {"connection_id":110445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:54:39] local.INFO: Extracted packet for processing {"connection_id":110445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763521216,"raw_latitude":97300904,"longitude_deg":76.3521216,"latitude_deg":9.7300904,"altitude":8,"angle":8,"satellites":45,"speed":26,"hex_longitude":"2d8268c0","hex_latitude":"05ccb1a8","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231989760001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96103097293602816,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051883382387021824,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:39] 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-06-23 00:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782156223000,"timestamp_ms":1782156223000,"timestamp_seconds":1782156223,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9e218"} 
[2026-06-23 00:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:54: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-06-23 00: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 00:54:39] 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-06-23 00: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-06-23 00:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231989760001,"66":12069,"65":206,"85":15104,"24":26,"16":96103097293602816,"45":-9051883382387021824},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 00:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231989760001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96103097293602816,"km_value":96103097293602.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051883382387021824,"description":"Unknown IO ID 45"} 
[2026-06-23 00:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231989760001,"power":12069,"unknown_65":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9051883382387021824}} 
[2026-06-23 00:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":110445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:54:39] local.INFO: GPS data processed {"connection_id":110445,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:54:39] local.INFO: Acknowledgment sent {"connection_id":110445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:54:44] local.INFO: TCP Data received {"connection_id":110445,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ca14e0012d826d4005ccd598000600062c..."} 
[2026-06-23 00:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ca14e0012d826d4005ccd598000600062c..."} 
[2026-06-23 00:54:44] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ca14e0012d826d4005ccd598000600062c..."} 
[2026-06-23 00:54:44] local.INFO: Packet analysis {"connection_id":110445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:54:44] local.INFO: Extracted packet for processing {"connection_id":110445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763522368,"raw_latitude":97310104,"longitude_deg":76.3522368,"latitude_deg":9.7310104,"altitude":6,"angle":6,"satellites":44,"speed":28,"hex_longitude":"2d826d40","hex_latitude":"05ccd598","is_valid_coordinates":true} 
[2026-06-23 00:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231993088001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96103548265168896,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9049772320059447296,"note":"Value kept but may cause issues"} 
[2026-06-23 00:54:44] 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-06-23 00:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782156236000,"timestamp_ms":1782156236000,"timestamp_seconds":1782156236,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ca14e0"} 
[2026-06-23 00:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:54:44] 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-06-23 00:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 00:54:44] 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-06-23 00:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231993088001,"66":12156,"65":206,"85":15104,"24":28,"16":96103548265168896,"45":-9049772320059447296},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 00:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231993088001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:54:44] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 00:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96103548265168896,"km_value":96103548265168.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9049772320059447296,"description":"Unknown IO ID 45"} 
[2026-06-23 00:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231993088001,"power":12156,"unknown_65":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9049772320059447296}} 
[2026-06-23 00:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":110445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:54:44] local.INFO: GPS data processed {"connection_id":110445,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:54:44] local.INFO: Acknowledgment sent {"connection_id":110445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:55:04] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:55:04] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:55:04] local.INFO: Packet analysis {"connection_id":110444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:55:04] local.INFO: Extracted packet for processing {"connection_id":110444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:55:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:55:04] 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-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:55:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:55:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":110444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:55:05] local.INFO: GPS data processed {"connection_id":110444,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:55:05] local.INFO: Acknowledgment sent {"connection_id":110444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:55:16] local.INFO: TCP Data received {"connection_id":110445,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ca47a8012d82718005ccfa60000400052c..."} 
[2026-06-23 00:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ca47a8012d82718005ccfa60000400052c..."} 
[2026-06-23 00:55:16] local.INFO: Processing buffer {"connection_id":110445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ca47a8012d82718005ccfa60000400052c..."} 
[2026-06-23 00:55:16] local.INFO: Packet analysis {"connection_id":110445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:55:16] local.INFO: Extracted packet for processing {"connection_id":110445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763523456,"raw_latitude":97319520,"longitude_deg":76.3523456,"latitude_deg":9.731952,"altitude":4,"angle":5,"satellites":44,"speed":28,"hex_longitude":"2d827180","hex_latitude":"05ccfa60","is_valid_coordinates":true} 
[2026-06-23 00:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231996416001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96104007826669568,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048505682661894144,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:16] 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-06-23 00:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782156249000,"timestamp_ms":1782156249000,"timestamp_seconds":1782156249,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ca47a8"} 
[2026-06-23 00:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 00:55:16] 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-06-23 00:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231996416001,"66":12156,"65":206,"85":15104,"24":28,"16":96104007826669568,"45":-9048505682661894144},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 00:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231996416001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:55:16] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 00:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96104007826669568,"km_value":96104007826669.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048505682661894144,"description":"Unknown IO ID 45"} 
[2026-06-23 00:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231996416001,"power":12156,"unknown_65":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9048505682661894144}} 
[2026-06-23 00:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":110445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:55:16] local.INFO: GPS data processed {"connection_id":110445,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:55:16] local.INFO: Acknowledgment sent {"connection_id":110445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:55:25] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:55:25] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:55:25] local.INFO: IMEI packet received {"connection_id":110446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":110446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:55:31] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:55:31] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:55:31] local.INFO: IMEI packet received {"connection_id":110446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":110446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:55:32] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:55:32] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:55:32] local.INFO: Packet analysis {"connection_id":110446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:55:32] local.INFO: Extracted packet for processing {"connection_id":110446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:55:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:55:32] 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-06-23 00:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:55:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:55:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":110446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:55:32] local.INFO: GPS data processed {"connection_id":110446,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:55:32] local.INFO: Acknowledgment sent {"connection_id":110446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:55:33] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:55:33] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:55:33] local.INFO: IMEI packet received {"connection_id":111069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":111069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:55:39] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:55:39] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:55:39] local.INFO: IMEI packet received {"connection_id":111069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":111069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:55:39] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ca7688012d82748005cd1ce0000700042a..."} 
[2026-06-23 00:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ca7688012d82748005cd1ce0000700042a..."} 
[2026-06-23 00:55:39] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ca7688012d82748005cd1ce0000700042a..."} 
[2026-06-23 00:55:39] local.INFO: Packet analysis {"connection_id":111069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:55:39] local.INFO: Extracted packet for processing {"connection_id":111069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763524224,"raw_latitude":97328352,"longitude_deg":76.3524224,"latitude_deg":9.7328352,"altitude":7,"angle":4,"satellites":42,"speed":28,"hex_longitude":"2d827480","hex_latitude":"05cd1ce0","is_valid_coordinates":true} 
[2026-06-23 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231999744001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96104437323399168,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047309414008463360,"note":"Value kept but may cause issues"} 
[2026-06-23 00:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782156261000,"timestamp_ms":1782156261000,"timestamp_seconds":1782156261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ca7688"} 
[2026-06-23 00:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:55: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-06-23 00:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 00:55:39] 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-06-23 00:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231999744001,"66":12156,"40":206,"85":15104,"24":28,"16":96104437323399168,"45":-9047309414008463360},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-06-23 00:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231999744001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96104437323399168,"km_value":96104437323399.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047309414008463360,"description":"Unknown IO ID 45"} 
[2026-06-23 00:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231999744001,"power":12156,"unknown_40":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9047309414008463360}} 
[2026-06-23 00:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":111069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:55:39] local.INFO: GPS data processed {"connection_id":111069,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:55:39] local.INFO: Acknowledgment sent {"connection_id":111069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:56:05] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:05] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:05] local.INFO: Packet analysis {"connection_id":110446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:56:05] local.INFO: Extracted packet for processing {"connection_id":110446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:56:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 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-06-23 00:56: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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:56:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:56:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":110446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:56:05] local.INFO: GPS data processed {"connection_id":110446,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:56:05] local.INFO: Acknowledgment sent {"connection_id":110446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:56:10] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0caa568012d8276c005cd4048000900052d..."} 
[2026-06-23 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0caa568012d8276c005cd4048000900052d..."} 
[2026-06-23 00:56:10] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0caa568012d8276c005cd4048000900052d..."} 
[2026-06-23 00:56:10] local.INFO: Packet analysis {"connection_id":111069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:56:10] local.INFO: Extracted packet for processing {"connection_id":111069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763524800,"raw_latitude":97337416,"longitude_deg":76.35248,"latitude_deg":9.7337416,"altitude":9,"angle":5,"satellites":45,"speed":30,"hex_longitude":"2d8276c0","hex_latitude":"05cd4048","is_valid_coordinates":true} 
[2026-06-23 00:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232002816001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96104875410063360,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046464989076070400,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782156273000,"timestamp_ms":1782156273000,"timestamp_seconds":1782156273,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0caa568"} 
[2026-06-23 00:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:56:10] 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-06-23 00:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 00:56:10] 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-06-23 00:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232002816001,"66":12048,"40":206,"85":15104,"24":30,"16":96104875410063360,"45":-9046464989076070400},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-06-23 00:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232002816001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:56:10] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-23 00:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96104875410063360,"km_value":96104875410063.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046464989076070400,"description":"Unknown IO ID 45"} 
[2026-06-23 00:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232002816001,"power":12048,"unknown_40":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9046464989076070400}} 
[2026-06-23 00:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":111069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:56:10] local.INFO: GPS data processed {"connection_id":111069,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:56:10] local.INFO: Acknowledgment sent {"connection_id":111069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:56:31] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:56:31] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:56:31] local.INFO: IMEI packet received {"connection_id":110448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":110448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:56:33] local.INFO: TCP Data received {"connection_id":110265,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:56:33] local.INFO: Processing buffer {"connection_id":110265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:56:33] local.INFO: IMEI packet received {"connection_id":110265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":110265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:56:36] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:56:36] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:56:36] local.INFO: IMEI packet received {"connection_id":110448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":110448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:56:38] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:38] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:38] local.INFO: Packet analysis {"connection_id":110448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:56:38] local.INFO: Extracted packet for processing {"connection_id":110448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:56:38] 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-06-23 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:56:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:56:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:56:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":110448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:56:38] local.INFO: GPS data processed {"connection_id":110448,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:56:38] local.INFO: Acknowledgment sent {"connection_id":110448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:56:38] local.INFO: TCP Data received {"connection_id":110265,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:56:39] local.INFO: Processing buffer {"connection_id":110265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:56:39] local.INFO: IMEI packet received {"connection_id":110265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":110265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:56:39] local.INFO: TCP Data received {"connection_id":110265,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0cad448012d82794005cd6360000800022b..."} 
[2026-06-23 00:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0cad448012d82794005cd6360000800022b..."} 
[2026-06-23 00:56:39] local.INFO: Processing buffer {"connection_id":110265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0cad448012d82794005cd6360000800022b..."} 
[2026-06-23 00:56:39] local.INFO: Packet analysis {"connection_id":110265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:56:39] local.INFO: Extracted packet for processing {"connection_id":110265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ca"} 
[2026-06-23 00:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763525440,"raw_latitude":97346400,"longitude_deg":76.352544,"latitude_deg":9.73464,"altitude":8,"angle":2,"satellites":43,"speed":28,"hex_longitude":"2d827940","hex_latitude":"05cd6360","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232005888001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96105313496727552,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045831670376151040,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782156285000,"timestamp_ms":1782156285000,"timestamp_seconds":1782156285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0cad448"} 
[2026-06-23 00:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:56: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-06-23 00: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287292416,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4039735456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2187902981,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629467904518209,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6155305785824903168,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84867280311536711,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066030694400,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2980577288,"corrected_to":0} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6322771515658272744,"corrected_to":0} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3716771514196949460,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970347033238016,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:39] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,40,85,24,241,157,16,110,158,118,45,128,28,7,42,10,66,71,250,4,44,65,20,64,1,240,124,227,109,204,113,205,26,175,97,104,239,47,2,5,69,96],"length":583,"final_offset":713,"validated_count":42,"validation_warnings":[{"io_id":204,"original":2980577288,"validated":0},{"io_id":205,"original":-6322771515658272744,"validated":0}]} 
[2026-06-23 00:56:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648524037174984704,"timestamp_seconds":648524037174984.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 00:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232005888001,"66":11297,"40":206,"85":15104,"24":28,"16":96105313496727552,"45":-9045831670376151040},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-06-23 00:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232005888001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96105313496727552,"km_value":96105313496727.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045831670376151040,"description":"Unknown IO ID 45"} 
[2026-06-23 00:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232005888001,"power":11297,"unknown_40":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9045831670376151040}} 
[2026-06-23 00:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":110265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:56:39] local.INFO: GPS data processed {"connection_id":110265,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:56:39] local.INFO: Acknowledgment sent {"connection_id":110265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:56:43] local.INFO: TCP Data received {"connection_id":110448,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:43] local.INFO: Processing buffer {"connection_id":110448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:56:43] local.INFO: Packet analysis {"connection_id":110448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:56:43] local.INFO: Extracted packet for processing {"connection_id":110448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:56:43] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:56:43] 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-06-23 00:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:56:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:56:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":110448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:56:43] local.INFO: GPS data processed {"connection_id":110448,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:56:43] local.INFO: Acknowledgment sent {"connection_id":110448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:57:11] local.INFO: TCP Data received {"connection_id":110265,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0cb0328012d827ac005cd86e8000800002c..."} 
[2026-06-23 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0cb0328012d827ac005cd86e8000800002c..."} 
[2026-06-23 00:57:11] local.INFO: Processing buffer {"connection_id":110265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0cb0328012d827ac005cd86e8000800002c..."} 
[2026-06-23 00:57:11] local.INFO: Packet analysis {"connection_id":110265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0cb"} 
[2026-06-23 00:57:11] local.INFO: Extracted packet for processing {"connection_id":110265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0cb"} 
[2026-06-23 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763525824,"raw_latitude":97355496,"longitude_deg":76.3525824,"latitude_deg":9.7355496,"altitude":8,"angle":0,"satellites":44,"speed":27,"hex_longitude":"2d827ac0","hex_latitude":"05cd86e8","is_valid_coordinates":true} 
[2026-06-23 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232008960001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96105755878359040,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045127982932074496,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782156297000,"timestamp_ms":1782156297000,"timestamp_seconds":1782156297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0cb0328"} 
[2026-06-23 00:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:57:11] 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-06-23 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 00:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232008960001,"66":12004,"40":206,"85":15104,"24":27,"16":96105755878359040,"45":-9045127982932074496},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-06-23 00:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232008960001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:57:11] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-23 00:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96105755878359040,"km_value":96105755878359.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045127982932074496,"description":"Unknown IO ID 45"} 
[2026-06-23 00:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232008960001,"power":12004,"unknown_40":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9045127982932074496}} 
[2026-06-23 00:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":110265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:57:11] local.INFO: GPS data processed {"connection_id":110265,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:57:11] local.INFO: Acknowledgment sent {"connection_id":110265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:57:26] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:57:26] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:57:26] local.INFO: IMEI packet received {"connection_id":111071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":111071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:57:31] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:57:31] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:57:31] local.INFO: IMEI packet received {"connection_id":111071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":111071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:57:33] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:57:33] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:57:33] local.INFO: Packet analysis {"connection_id":111071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:57:33] local.INFO: Extracted packet for processing {"connection_id":111071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:57:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 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-06-23 00:57:33] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:57:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:57:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":111071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:57:33] local.INFO: GPS data processed {"connection_id":111071,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:57:33] local.INFO: Acknowledgment sent {"connection_id":111071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:57:33] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:57:33] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:57:33] local.INFO: IMEI packet received {"connection_id":112003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":112003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:57:38] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:57:38] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:57:38] local.INFO: IMEI packet received {"connection_id":112003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":112003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:57:39] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0cb35f0012d827bc005cdaae0000900032a..."} 
[2026-06-23 00:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0cb35f0012d827bc005cdaae0000900032a..."} 
[2026-06-23 00:57:39] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0cb35f0012d827bc005cdaae0000900032a..."} 
[2026-06-23 00:57:39] local.INFO: Packet analysis {"connection_id":112003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0cb"} 
[2026-06-23 00:57:39] local.INFO: Extracted packet for processing {"connection_id":112003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0cb"} 
[2026-06-23 00:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763526080,"raw_latitude":97364704,"longitude_deg":76.352608,"latitude_deg":9.7364704,"altitude":9,"angle":3,"satellites":42,"speed":29,"hex_longitude":"2d827bc0","hex_latitude":"05cdaae0","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232012032001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96106202554957824,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044705770464679936,"note":"Value kept but may cause issues"} 
[2026-06-23 00:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782156310000,"timestamp_ms":1782156310000,"timestamp_seconds":1782156310,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0cb35f0"} 
[2026-06-23 00:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:57: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-06-23 00: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 00:57:39] 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-06-23 00: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-06-23 00:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232012032001,"66":12015,"41":206,"85":15104,"24":29,"16":96106202554957824,"45":-9044705770464679936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-06-23 00:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232012032001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:57:39] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-23 00:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96106202554957824,"km_value":96106202554957.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044705770464679936,"description":"Unknown IO ID 45"} 
[2026-06-23 00:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232012032001,"power":12015,"unknown_41":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9044705770464679936}} 
[2026-06-23 00:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":112003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:57:39] local.INFO: GPS data processed {"connection_id":112003,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:57:39] local.INFO: Acknowledgment sent {"connection_id":112003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:58:05] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:58:05] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:58:05] local.INFO: Packet analysis {"connection_id":111071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:58:05] local.INFO: Extracted packet for processing {"connection_id":111071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:58:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:58: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-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:58:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:58:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":111071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:58:05] local.INFO: GPS data processed {"connection_id":111071,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:58:05] local.INFO: Acknowledgment sent {"connection_id":111071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:58:10] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0cb68b8012d827d8005cdce10000a00032b..."} 
[2026-06-23 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0cb68b8012d827d8005cdce10000a00032b..."} 
[2026-06-23 00:58:10] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0cb68b8012d827d8005cdce10000a00032b..."} 
[2026-06-23 00:58:10] local.INFO: Packet analysis {"connection_id":112003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0cb"} 
[2026-06-23 00:58:10] local.INFO: Extracted packet for processing {"connection_id":112003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0cb"} 
[2026-06-23 00:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763526528,"raw_latitude":97373712,"longitude_deg":76.3526528,"latitude_deg":9.7373712,"altitude":10,"angle":3,"satellites":43,"speed":22,"hex_longitude":"2d827d80","hex_latitude":"05cdce10","is_valid_coordinates":true} 
[2026-06-23 00:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232015360001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96106640641622016,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044424295485612032,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782156323000,"timestamp_ms":1782156323000,"timestamp_seconds":1782156323,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0cb68b8"} 
[2026-06-23 00:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:58:10] 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-06-23 00:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 00:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232015360001,"66":12135,"41":206,"85":15104,"24":22,"16":96106640641622016,"45":-9044424295485612032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-06-23 00:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232015360001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:58:10] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-23 00:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96106640641622016,"km_value":96106640641622.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044424295485612032,"description":"Unknown IO ID 45"} 
[2026-06-23 00:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232015360001,"power":12135,"unknown_41":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9044424295485612032}} 
[2026-06-23 00:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":112003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:58:10] local.INFO: GPS data processed {"connection_id":112003,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:58:10] local.INFO: Acknowledgment sent {"connection_id":112003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:58:23] local.INFO: TCP Data received {"connection_id":110449,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:58:23] local.INFO: Processing buffer {"connection_id":110449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:58:23] local.INFO: IMEI packet received {"connection_id":110449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":110449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:58:25] local.INFO: TCP Data received {"connection_id":110450,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:58:25] local.INFO: Processing buffer {"connection_id":110450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:58:25] local.INFO: IMEI packet received {"connection_id":110450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":110450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:58:31] local.INFO: TCP Data received {"connection_id":110450,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:58:31] local.INFO: Processing buffer {"connection_id":110450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:58:31] local.INFO: IMEI packet received {"connection_id":110450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":110450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:58:32] local.INFO: TCP Data received {"connection_id":110450,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:58:32] local.INFO: Processing buffer {"connection_id":110450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:58:32] local.INFO: Packet analysis {"connection_id":110450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:58:32] local.INFO: Extracted packet for processing {"connection_id":110450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:58:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 00:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:58:32] 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-06-23 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:58:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:58:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:58:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":110450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:58:32] local.INFO: GPS data processed {"connection_id":110450,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:58:32] local.INFO: Acknowledgment sent {"connection_id":110450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:58:37] local.INFO: TCP Data received {"connection_id":110266,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:37] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:37] local.INFO: IMEI packet received {"connection_id":110266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":110266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:58:38] local.INFO: TCP Data received {"connection_id":110266,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:38] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:38] local.INFO: IMEI packet received {"connection_id":110266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":110266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:58:44] local.INFO: TCP Data received {"connection_id":110266,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:44] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:58:44] local.INFO: IMEI packet received {"connection_id":110266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":110266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:58:44] local.INFO: TCP Data received {"connection_id":110266,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0cdd9b8012d82944005cf3e48000700062c..."} 
[2026-06-23 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0cdd9b8012d82944005cf3e48000700062c..."} 
[2026-06-23 00:58:44] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0cdd9b8012d82944005cf3e48000700062c..."} 
[2026-06-23 00:58:44] local.INFO: Packet analysis {"connection_id":110266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0cd"} 
[2026-06-23 00:58:44] local.INFO: Extracted packet for processing {"connection_id":110266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0cd"} 
[2026-06-23 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763532352,"raw_latitude":97467976,"longitude_deg":76.3532352,"latitude_deg":9.7467976,"altitude":7,"angle":6,"satellites":44,"speed":29,"hex_longitude":"2d829440","hex_latitude":"05cf3e48","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232056064001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96111231961661440,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038794795927328768,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782156483000,"timestamp_ms":1782156483000,"timestamp_seconds":1782156483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0cdd9b8"} 
[2026-06-23 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-06-23 00:58:44] 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-06-23 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 00:58:44] 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-06-23 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-06-23 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-06-23 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232056064001,"66":12026,"220":206,"85":15104,"24":29,"16":96111231961661440,"45":-9038794795927328768},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-06-23 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232056064001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:58:44] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 00:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96111231961661440,"km_value":96111231961661.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038794795927328768,"description":"Unknown IO ID 45"} 
[2026-06-23 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232056064001,"power":12026,"unknown_220":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9038794795927328768}} 
[2026-06-23 00:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":110266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:58:45] local.INFO: GPS data processed {"connection_id":110266,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:58:45] local.INFO: Acknowledgment sent {"connection_id":110266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:58:49] local.INFO: TCP Data received {"connection_id":110266,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce1838012d8298c005cf61a8000700052c..."} 
[2026-06-23 00:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce1838012d8298c005cf61a8000700052c..."} 
[2026-06-23 00:58:49] local.INFO: Processing buffer {"connection_id":110266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce1838012d8298c005cf61a8000700052c..."} 
[2026-06-23 00:58:49] local.INFO: Packet analysis {"connection_id":110266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 00:58:49] local.INFO: Extracted packet for processing {"connection_id":110266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 00:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":97477032,"longitude_deg":76.3533504,"latitude_deg":9.7477032,"altitude":7,"angle":5,"satellites":44,"speed":17,"hex_longitude":"2d8298c0","hex_latitude":"05cf61a8","is_valid_coordinates":true} 
[2026-06-23 00:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232059648001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96111674343292928,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037528158529763328,"note":"Value kept but may cause issues"} 
[2026-06-23 00:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782156499000,"timestamp_ms":1782156499000,"timestamp_seconds":1782156499,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce1838"} 
[2026-06-23 00:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 00:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-23 00:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232059648001,"66":12135,"219":206,"85":15104,"24":17,"16":96111674343292928,"45":-9037528158529763328},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232059648001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:58:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96111674343292928,"km_value":96111674343292.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037528158529763328,"description":"Unknown IO ID 45"} 
[2026-06-23 00:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232059648001,"power":12135,"unknown_219":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9037528158529763328}} 
[2026-06-23 00:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":110266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:58:49] local.INFO: GPS data processed {"connection_id":110266,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:58:49] local.INFO: Acknowledgment sent {"connection_id":110266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:59:04] local.INFO: TCP Data received {"connection_id":110450,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:59:04] local.INFO: Processing buffer {"connection_id":110450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0c9da48012cc3308007685990005a00ee2b..."} 
[2026-06-23 00:59:04] local.INFO: Packet analysis {"connection_id":110450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:59:04] local.INFO: Extracted packet for processing {"connection_id":110450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0c9"} 
[2026-06-23 00:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 00:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156221000,"timestamp_ms":1782156221000,"timestamp_seconds":1782156221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0c9da48"} 
[2026-06-23 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-06-23 00:59:04] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 00:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231915520001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:59:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231915520001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":110450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:59:04] local.INFO: GPS data processed {"connection_id":110450,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:59:04] local.INFO: Acknowledgment sent {"connection_id":110450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:59:08] local.INFO: TCP Data received {"connection_id":112004,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:59:08] local.INFO: Processing buffer {"connection_id":112004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 00:59:08] local.INFO: IMEI packet received {"connection_id":112004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 00:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":112004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:59:25] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:59:25] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:59:25] local.INFO: IMEI packet received {"connection_id":110267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 00:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":110267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:59:31] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:59:31] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 00:59:31] local.INFO: IMEI packet received {"connection_id":110267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 00:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":110267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:59:32] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:59:32] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 00:59:32] local.INFO: Packet analysis {"connection_id":110267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 00:59:32] local.INFO: Extracted packet for processing {"connection_id":110267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 00:59:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 00: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-06-23 00:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 00:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:59:32] 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-06-23 00: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 00:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00: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-06-23 00:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 00:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 00:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 00:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 00:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 00:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 00:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:59:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 00:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 00:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:59:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 00:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 00:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":110267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:59:32] local.INFO: GPS data processed {"connection_id":110267,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:59:32] local.INFO: Acknowledgment sent {"connection_id":110267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 00:59:34] local.INFO: TCP Data received {"connection_id":110268,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:59:34] local.INFO: Processing buffer {"connection_id":110268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:59:34] local.INFO: IMEI packet received {"connection_id":110268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 00:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":110268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 00:59:39] local.INFO: TCP Data received {"connection_id":110268,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:59:39] local.INFO: Processing buffer {"connection_id":110268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 00:59:39] local.INFO: IMEI packet received {"connection_id":110268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 00:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":110268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 00:59:40] local.INFO: TCP Data received {"connection_id":110268,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce56b8012d829a4005cf8548000900002a..."} 
[2026-06-23 00:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce56b8012d829a4005cf8548000900002a..."} 
[2026-06-23 00:59:40] local.INFO: Processing buffer {"connection_id":110268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce56b8012d829a4005cf8548000900002a..."} 
[2026-06-23 00:59:40] local.INFO: Packet analysis {"connection_id":110268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 00:59:40] local.INFO: Extracted packet for processing {"connection_id":110268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 00:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763533888,"raw_latitude":97486152,"longitude_deg":76.3533888,"latitude_deg":9.7486152,"altitude":9,"angle":0,"satellites":42,"speed":26,"hex_longitude":"2d829a40","hex_latitude":"05cf8548","is_valid_coordinates":true} 
[2026-06-23 00:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 00:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232063744001,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96112116724924416,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261521132247040,"note":"Value kept but may cause issues"} 
[2026-06-23 00:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 00:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782156515000,"timestamp_ms":1782156515000,"timestamp_seconds":1782156515,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce56b8"} 
[2026-06-23 00:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 00:59:40] 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-06-23 00:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 00:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 00:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 00:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 00:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 00:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 00:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 00:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 00:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 00:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 00:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232063744001,"66":11874,"219":206,"85":15104,"24":26,"16":96112116724924416,"45":-9036261521132247040},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-23 00:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 00:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 00:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232063744001,"description":"Unknown IO ID 0"} 
[2026-06-23 00:59:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 00:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 00:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96112116724924416,"km_value":96112116724924.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 00:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261521132247040,"description":"Unknown IO ID 45"} 
[2026-06-23 00:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232063744001,"power":11874,"unknown_219":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9036261521132247040}} 
[2026-06-23 00:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":110268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 00:59:40] local.INFO: GPS data processed {"connection_id":110268,"processed":1,"errors":0,"total":1} 
[2026-06-23 00:59:40] local.INFO: Acknowledgment sent {"connection_id":110268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:00:04] local.INFO: TCP Data received {"connection_id":110267,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:00:04] local.INFO: Processing buffer {"connection_id":110267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:00:04] local.INFO: Packet analysis {"connection_id":110267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:04] local.INFO: Extracted packet for processing {"connection_id":110267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:00:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:00:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:00:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":110267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:00:04] local.INFO: GPS data processed {"connection_id":110267,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:00:04] local.INFO: Acknowledgment sent {"connection_id":110267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:00:10] local.INFO: TCP Data received {"connection_id":110268,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce8980012d829c8005cfa948000b000129..."} 
[2026-06-23 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce8980012d829c8005cfa948000b000129..."} 
[2026-06-23 01:00:10] local.INFO: Processing buffer {"connection_id":110268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce8980012d829c8005cfa948000b000129..."} 
[2026-06-23 01:00:10] local.INFO: Packet analysis {"connection_id":110268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:10] local.INFO: Extracted packet for processing {"connection_id":110268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763534464,"raw_latitude":97495368,"longitude_deg":76.3534464,"latitude_deg":9.7495368,"altitude":11,"angle":1,"satellites":41,"speed":28,"hex_longitude":"2d829c80","hex_latitude":"05cfa948","is_valid_coordinates":true} 
[2026-06-23 01:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232067840001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96112567696490496,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035839308664846336,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00: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-06-23 01:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782156528000,"timestamp_ms":1782156528000,"timestamp_seconds":1782156528,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce8980"} 
[2026-06-23 01:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:00:10] 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-06-23 01:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 01:00:10] 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-06-23 01:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232067840001,"66":12069,"221":206,"85":15104,"24":28,"16":96112567696490496,"45":-9035839308664846336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232067840001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96112567696490496,"km_value":96112567696490.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035839308664846336,"description":"Unknown IO ID 45"} 
[2026-06-23 01:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232067840001,"power":12069,"unknown_221":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9035839308664846336}} 
[2026-06-23 01:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":110268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:00:10] local.INFO: GPS data processed {"connection_id":110268,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:00:10] local.INFO: Acknowledgment sent {"connection_id":110268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:00:26] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:00:26] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:00:26] local.INFO: IMEI packet received {"connection_id":110452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":110452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:00:31] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:00:31] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:00:31] local.INFO: IMEI packet received {"connection_id":110452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":110452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:00:32] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:00:32] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:00:32] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:32] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:00:32] 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-06-23 01:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:00:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:00:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:00:32] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:00:32] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:00:34] local.INFO: TCP Data received {"connection_id":112006,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:00:34] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:00:34] local.INFO: IMEI packet received {"connection_id":112006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":112006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:00:39] local.INFO: TCP Data received {"connection_id":112006,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:00:39] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:00:39] local.INFO: IMEI packet received {"connection_id":112006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":112006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:00:39] local.INFO: TCP Data received {"connection_id":112006,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0cebc48012d829c0005cfcc10000a016328..."} 
[2026-06-23 01:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0cebc48012d829c0005cfcc10000a016328..."} 
[2026-06-23 01:00:39] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0cebc48012d829c0005cfcc10000a016328..."} 
[2026-06-23 01:00:39] local.INFO: Packet analysis {"connection_id":112006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:39] local.INFO: Extracted packet for processing {"connection_id":112006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763534336,"raw_latitude":97504272,"longitude_deg":76.3534336,"latitude_deg":9.7504272,"altitude":10,"angle":355,"satellites":40,"speed":24,"hex_longitude":"2d829c00","hex_latitude":"05cfcc10","is_valid_coordinates":true} 
[2026-06-23 01:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232071168001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96112997193220096,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035205989964888064,"note":"Value kept but may cause issues"} 
[2026-06-23 01:00: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-06-23 01:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782156541000,"timestamp_ms":1782156541000,"timestamp_seconds":1782156541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0cebc48"} 
[2026-06-23 01:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:00: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-06-23 01:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 01:00: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-06-23 01:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232071168001,"66":12069,"221":206,"85":15104,"24":24,"16":96112997193220096,"45":-9035205989964888064},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232071168001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96112997193220096,"km_value":96112997193220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035205989964888064,"description":"Unknown IO ID 45"} 
[2026-06-23 01:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232071168001,"power":12069,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9035205989964888064}} 
[2026-06-23 01:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":112006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:00:39] local.INFO: GPS data processed {"connection_id":112006,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:00:39] local.INFO: Acknowledgment sent {"connection_id":112006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:01:04] local.INFO: TCP Data received {"connection_id":110452,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:01:04] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:01:04] local.INFO: Packet analysis {"connection_id":110452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:01:04] local.INFO: Extracted packet for processing {"connection_id":110452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:01:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:01:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:01:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:01:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":110452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:01:04] local.INFO: GPS data processed {"connection_id":110452,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:01:04] local.INFO: Acknowledgment sent {"connection_id":110452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:01:10] local.INFO: TCP Data received {"connection_id":112006,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ceef10012d82998005cfef68000901652a..."} 
[2026-06-23 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ceef10012d82998005cfef68000901652a..."} 
[2026-06-23 01:01:10] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ceef10012d82998005cfef68000901652a..."} 
[2026-06-23 01:01:10] local.INFO: Packet analysis {"connection_id":112006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:01:10] local.INFO: Extracted packet for processing {"connection_id":112006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97513320,"longitude_deg":76.3533696,"latitude_deg":9.751332,"altitude":9,"angle":357,"satellites":42,"speed":29,"hex_longitude":"2d829980","hex_latitude":"05cfef68","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232074496001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96113439574851584,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035346727450963968,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01: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-06-23 01:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782156554000,"timestamp_ms":1782156554000,"timestamp_seconds":1782156554,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ceef10"} 
[2026-06-23 01:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:01:10] 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-06-23 01: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 01:01:10] 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-06-23 01: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-06-23 01:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232074496001,"66":12058,"221":206,"85":15104,"24":29,"16":96113439574851584,"45":-9035346727450963968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232074496001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96113439574851584,"km_value":96113439574851.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035346727450963968,"description":"Unknown IO ID 45"} 
[2026-06-23 01:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232074496001,"power":12058,"unknown_221":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9035346727450963968}} 
[2026-06-23 01:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":112006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:01:10] local.INFO: GPS data processed {"connection_id":112006,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:01:10] local.INFO: Acknowledgment sent {"connection_id":112006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:01:26] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:01:26] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:01:26] local.INFO: IMEI packet received {"connection_id":110453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":110453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:01:31] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:01:31] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:01:31] local.INFO: IMEI packet received {"connection_id":110453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":110453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:01:32] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:01:32] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:01:32] local.INFO: Packet analysis {"connection_id":110453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:01:32] local.INFO: Extracted packet for processing {"connection_id":110453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:01:32] 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-06-23 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:01:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:01:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:01:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":110453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:01:32] local.INFO: GPS data processed {"connection_id":110453,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:01:32] local.INFO: Acknowledgment sent {"connection_id":110453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:01:33] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:33] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:33] local.INFO: IMEI packet received {"connection_id":110454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":110454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:01:33] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:33] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:33] local.INFO: IMEI packet received {"connection_id":110454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":110454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:01:34] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:34] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:34] local.INFO: IMEI packet received {"connection_id":110454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":110454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:01:36] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:36] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:01:36] local.INFO: IMEI packet received {"connection_id":110454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":110454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:01:37] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d0e310012d82a08005d129c80004014a29..."} 
[2026-06-23 01:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d0e310012d82a08005d129c80004014a29..."} 
[2026-06-23 01:01:37] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d0e310012d82a08005d129c80004014a29..."} 
[2026-06-23 01:01:37] local.INFO: Packet analysis {"connection_id":110454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d0"} 
[2026-06-23 01:01:37] local.INFO: Extracted packet for processing {"connection_id":110454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d0"} 
[2026-06-23 01:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763535488,"raw_latitude":97593800,"longitude_deg":76.3535488,"latitude_deg":9.75938,"altitude":4,"angle":330,"satellites":41,"speed":22,"hex_longitude":"2d82a080","hex_latitude":"05d129c8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232110080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96117360879992832,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033657877568028672,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:37] 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-06-23 01:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782156682000,"timestamp_ms":1782156682000,"timestamp_seconds":1782156682,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d0e310"} 
[2026-06-23 01:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:01: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-06-23 01: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 01:01:37] 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-06-23 01: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-06-23 01:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232110080001,"66":12026,"221":206,"85":15104,"24":22,"16":96117360879992832,"45":-9033657877568028672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232110080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:01:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96117360879992832,"km_value":96117360879992.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033657877568028672,"description":"Unknown IO ID 45"} 
[2026-06-23 01:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232110080001,"power":12026,"unknown_221":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9033657877568028672}} 
[2026-06-23 01:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":110454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:01:37] local.INFO: GPS data processed {"connection_id":110454,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:01:37] local.INFO: Acknowledgment sent {"connection_id":110454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:01:38] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d0f2b0012d829a8005d131500004013e2a..."} 
[2026-06-23 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d0f2b0012d829a8005d131500004013e2a..."} 
[2026-06-23 01:01:38] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d0f2b0012d829a8005d131500004013e2a..."} 
[2026-06-23 01:01:38] local.INFO: Packet analysis {"connection_id":110454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d0"} 
[2026-06-23 01:01:38] local.INFO: Extracted packet for processing {"connection_id":110454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d0"} 
[2026-06-23 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763533952,"raw_latitude":97595728,"longitude_deg":76.3533952,"latitude_deg":9.7595728,"altitude":4,"angle":318,"satellites":42,"speed":24,"hex_longitude":"2d829a80","hex_latitude":"05d13150","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232110592001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96117476844109824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080090032846848,"note":"Value kept but may cause issues"} 
[2026-06-23 01:01:38] 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-06-23 01:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782156686000,"timestamp_ms":1782156686000,"timestamp_seconds":1782156686,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d0f2b0"} 
[2026-06-23 01:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:01: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-06-23 01: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-23 01:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232110592001,"66":12069,"221":206,"85":15104,"24":24,"16":96117476844109824,"45":-9034080090032846848},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232110592001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:01:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96117476844109824,"km_value":96117476844109.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080090032846848,"description":"Unknown IO ID 45"} 
[2026-06-23 01:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232110592001,"power":12069,"unknown_221":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9034080090032846848}} 
[2026-06-23 01:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":110454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:01:38] local.INFO: GPS data processed {"connection_id":110454,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:01:38] local.INFO: Acknowledgment sent {"connection_id":110454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:02:04] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:02:04] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:02:04] local.INFO: Packet analysis {"connection_id":110453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:02:04] local.INFO: Extracted packet for processing {"connection_id":110453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:02:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:02:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:02:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:02:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":110453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:02:04] local.INFO: GPS data processed {"connection_id":110453,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:02:04] local.INFO: Acknowledgment sent {"connection_id":110453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:02:09] local.INFO: TCP Data received {"connection_id":110454,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d10638012d82944005d13a080004014d29..."} 
[2026-06-23 01:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d10638012d82944005d13a080004014d29..."} 
[2026-06-23 01:02:09] local.INFO: Processing buffer {"connection_id":110454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d10638012d82944005d13a080004014d29..."} 
[2026-06-23 01:02:09] local.INFO: Packet analysis {"connection_id":110454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d1"} 
[2026-06-23 01:02:09] local.INFO: Extracted packet for processing {"connection_id":110454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d1"} 
[2026-06-23 01:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763532352,"raw_latitude":97597960,"longitude_deg":76.3532352,"latitude_deg":9.759796,"altitude":4,"angle":333,"satellites":41,"speed":18,"hex_longitude":"2d829440","hex_latitude":"05d13a08","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232111616001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96117609988096000,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035768939892617216,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:09] 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-06-23 01:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782156691000,"timestamp_ms":1782156691000,"timestamp_seconds":1782156691,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d10638"} 
[2026-06-23 01:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:02: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-06-23 01: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 01:02:09] 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-06-23 01: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-06-23 01:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232111616001,"66":12069,"221":206,"85":15104,"24":18,"16":96117609988096000,"45":-9035768939892617216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232111616001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:02:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96117609988096000,"km_value":96117609988096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035768939892617216,"description":"Unknown IO ID 45"} 
[2026-06-23 01:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232111616001,"power":12069,"unknown_221":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9035768939892617216}} 
[2026-06-23 01:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":110454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:02:10] local.INFO: GPS data processed {"connection_id":110454,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:02:10] local.INFO: Acknowledgment sent {"connection_id":110454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:02:25] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:02:25] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:02:25] local.INFO: IMEI packet received {"connection_id":110270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":110270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:02:31] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:02:31] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:02:31] local.INFO: IMEI packet received {"connection_id":110270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":110270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:02:32] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:02:32] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:02:32] local.INFO: Packet analysis {"connection_id":110270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:02:32] local.INFO: Extracted packet for processing {"connection_id":110270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:02:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:02:32] 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-06-23 01:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:02:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:02:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:02:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":110270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:02:32] local.INFO: GPS data processed {"connection_id":110270,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:02:32] local.INFO: Acknowledgment sent {"connection_id":110270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:02:38] local.INFO: TCP Data received {"connection_id":110455,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:02:38] local.INFO: Processing buffer {"connection_id":110455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:02:38] local.INFO: IMEI packet received {"connection_id":110455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":110455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:02:43] local.INFO: TCP Data received {"connection_id":110455,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:02:43] local.INFO: Processing buffer {"connection_id":110455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:02:43] local.INFO: IMEI packet received {"connection_id":110455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":110455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:02:44] local.INFO: TCP Data received {"connection_id":110455,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d1f480012d823f0005d166d00000011d2c..."} 
[2026-06-23 01:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d1f480012d823f0005d166d00000011d2c..."} 
[2026-06-23 01:02:44] local.INFO: Processing buffer {"connection_id":110455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d1f480012d823f0005d166d00000011d2c..."} 
[2026-06-23 01:02:44] local.INFO: Packet analysis {"connection_id":110455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d1"} 
[2026-06-23 01:02:44] local.INFO: Extracted packet for processing {"connection_id":110455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d1"} 
[2026-06-23 01:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763510528,"raw_latitude":97609424,"longitude_deg":76.3510528,"latitude_deg":9.7609424,"altitude":0,"angle":285,"satellites":44,"speed":26,"hex_longitude":"2d823f00","hex_latitude":"05d166d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232127488001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96119250665603072,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058427675514419200,"note":"Value kept but may cause issues"} 
[2026-06-23 01:02:44] 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-06-23 01:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782156752000,"timestamp_ms":1782156752000,"timestamp_seconds":1782156752,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d1f480"} 
[2026-06-23 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-06-23 01:02:44] 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-06-23 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":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 01:02:44] 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-06-23 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-06-23 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-06-23 01:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232127488001,"66":12156,"221":206,"85":15104,"24":26,"16":96119250665603072,"45":-9058427675514419200},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232127488001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:02:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96119250665603072,"km_value":96119250665603.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058427675514419200,"description":"Unknown IO ID 45"} 
[2026-06-23 01:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232127488001,"power":12156,"unknown_221":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9058427675514419200}} 
[2026-06-23 01:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":110455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:02:44] local.INFO: GPS data processed {"connection_id":110455,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:02:44] local.INFO: Acknowledgment sent {"connection_id":110455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:03:04] local.INFO: TCP Data received {"connection_id":110270,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:03:04] local.INFO: Processing buffer {"connection_id":110270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:03:04] local.INFO: Packet analysis {"connection_id":110270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:03:04] local.INFO: Extracted packet for processing {"connection_id":110270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 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-06-23 01:03:04] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":110270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:03:04] local.INFO: GPS data processed {"connection_id":110270,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:03:04] local.INFO: Acknowledgment sent {"connection_id":110270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:03:15] local.INFO: TCP Data received {"connection_id":110455,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d20038012d82378005d169b0000001292c..."} 
[2026-06-23 01:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d20038012d82378005d169b0000001292c..."} 
[2026-06-23 01:03:15] local.INFO: Processing buffer {"connection_id":110455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d20038012d82378005d169b0000001292c..."} 
[2026-06-23 01:03:15] local.INFO: Packet analysis {"connection_id":110455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d2"} 
[2026-06-23 01:03:15] local.INFO: Extracted packet for processing {"connection_id":110455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d2"} 
[2026-06-23 01:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763508608,"raw_latitude":97610160,"longitude_deg":76.3508608,"latitude_deg":9.761016,"altitude":0,"angle":297,"satellites":44,"speed":28,"hex_longitude":"2d823780","hex_latitude":"05d169b0","is_valid_coordinates":true} 
[2026-06-23 01:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232128512001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96119349449850880,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061523900258136064,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:15] 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-06-23 01:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782156755000,"timestamp_ms":1782156755000,"timestamp_seconds":1782156755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d20038"} 
[2026-06-23 01:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:03:15] 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-06-23 01:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 01:03:15] 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-06-23 01:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232128512001,"66":12156,"221":206,"85":15104,"24":28,"16":96119349449850880,"45":-9061523900258136064},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 01:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232128512001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:03:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 01:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96119349449850880,"km_value":96119349449850.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061523900258136064,"description":"Unknown IO ID 45"} 
[2026-06-23 01:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232128512001,"power":12156,"unknown_221":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9061523900258136064}} 
[2026-06-23 01:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":110455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:03:15] local.INFO: GPS data processed {"connection_id":110455,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:03:15] local.INFO: Acknowledgment sent {"connection_id":110455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:03:25] local.INFO: TCP Data received {"connection_id":112007,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:03:25] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:03:25] local.INFO: IMEI packet received {"connection_id":112007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":112007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:03:31] local.INFO: TCP Data received {"connection_id":112007,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:03:31] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:03:31] local.INFO: IMEI packet received {"connection_id":112007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":112007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:03:32] local.INFO: TCP Data received {"connection_id":112007,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:03:32] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:03:32] local.INFO: Packet analysis {"connection_id":112007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:03:32] local.INFO: Extracted packet for processing {"connection_id":112007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:03:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 01:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:03:32] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:03:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:03:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:03:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":112007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:03:32] local.INFO: GPS data processed {"connection_id":112007,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:03:32] local.INFO: Acknowledgment sent {"connection_id":112007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:03:34] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:34] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:34] local.INFO: IMEI packet received {"connection_id":110272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":110272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:03:39] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:39] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:39] local.INFO: IMEI packet received {"connection_id":110272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":110272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:03:39] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:39] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:03:39] local.INFO: IMEI packet received {"connection_id":110272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":110272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:03:40] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d21b90012d82264005d172100001011b2c..."} 
[2026-06-23 01:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d21b90012d82264005d172100001011b2c..."} 
[2026-06-23 01:03:40] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d21b90012d82264005d172100001011b2c..."} 
[2026-06-23 01:03:40] local.INFO: Packet analysis {"connection_id":110272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d2"} 
[2026-06-23 01:03:40] local.INFO: Extracted packet for processing {"connection_id":110272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d2"} 
[2026-06-23 01:03:40] local.INFO: GPS Element Parsed {"raw_longitude":763504192,"raw_latitude":97612304,"longitude_deg":76.3504192,"latitude_deg":9.7612304,"altitude":1,"angle":283,"satellites":44,"speed":26,"hex_longitude":"2d822640","hex_latitude":"05d17210","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232129280001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96119585673052160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063634962583277568,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:40] 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-06-23 01:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782156762000,"timestamp_ms":1782156762000,"timestamp_seconds":1782156762,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d21b90"} 
[2026-06-23 01:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:03: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-06-23 01: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 01:03:40] 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-06-23 01: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-06-23 01:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232129280001,"66":12102,"65":206,"85":15104,"24":26,"16":96119585673052160,"45":-9063634962583277568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 01:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232129280001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96119585673052160,"km_value":96119585673052.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063634962583277568,"description":"Unknown IO ID 45"} 
[2026-06-23 01:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232129280001,"power":12102,"unknown_65":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9063634962583277568}} 
[2026-06-23 01:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":110272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:03:40] local.INFO: GPS data processed {"connection_id":110272,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:03:40] local.INFO: Acknowledgment sent {"connection_id":110272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:03:41] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d24e58012d82034005d17a400002010f2b..."} 
[2026-06-23 01:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d24e58012d82034005d17a400002010f2b..."} 
[2026-06-23 01:03:41] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d24e58012d82034005d17a400002010f2b..."} 
[2026-06-23 01:03:41] local.INFO: Packet analysis {"connection_id":110272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d2"} 
[2026-06-23 01:03:41] local.INFO: Extracted packet for processing {"connection_id":110272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d2"} 
[2026-06-23 01:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763495232,"raw_latitude":97614400,"longitude_deg":76.3495232,"latitude_deg":9.76144,"altitude":2,"angle":271,"satellites":43,"speed":28,"hex_longitude":"2d820340","hex_latitude":"05d17a40","is_valid_coordinates":true} 
[2026-06-23 01:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232131072001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96120023759716352,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9068490405930987520,"note":"Value kept but may cause issues"} 
[2026-06-23 01:03:41] 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-06-23 01:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782156775000,"timestamp_ms":1782156775000,"timestamp_seconds":1782156775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d24e58"} 
[2026-06-23 01:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 01:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:03:41] 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-06-23 01:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232131072001,"66":11874,"65":206,"85":15104,"24":28,"16":96120023759716352,"45":-9068490405930987520},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 01:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232131072001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:03:41] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 01:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96120023759716352,"km_value":96120023759716.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9068490405930987520,"description":"Unknown IO ID 45"} 
[2026-06-23 01:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232131072001,"power":11874,"unknown_65":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9068490405930987520}} 
[2026-06-23 01:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":110272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:03:41] local.INFO: GPS data processed {"connection_id":110272,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:03:41] local.INFO: Acknowledgment sent {"connection_id":110272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:04:04] local.INFO: TCP Data received {"connection_id":112007,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:04:04] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ce7210012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:04:04] local.INFO: Packet analysis {"connection_id":112007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:04:04] local.INFO: Extracted packet for processing {"connection_id":112007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ce"} 
[2026-06-23 01:04:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456231992576001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156522000,"timestamp_ms":1782156522000,"timestamp_seconds":1782156522,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ce7210"} 
[2026-06-23 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-06-23 01:04:04] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456231992576001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456231992576001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:04:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456231992576001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":112007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:04:04] local.INFO: GPS data processed {"connection_id":112007,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:04:04] local.INFO: Acknowledgment sent {"connection_id":112007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:04:12] local.INFO: TCP Data received {"connection_id":110272,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d32530012d816b0005d182e00006010a26..."} 
[2026-06-23 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d32530012d816b0005d182e00006010a26..."} 
[2026-06-23 01:04:12] local.INFO: Processing buffer {"connection_id":110272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d32530012d816b0005d182e00006010a26..."} 
[2026-06-23 01:04:12] local.INFO: Packet analysis {"connection_id":110272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:12] local.INFO: Extracted packet for processing {"connection_id":110272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763456256,"raw_latitude":97616608,"longitude_deg":76.3456256,"latitude_deg":9.7616608,"altitude":6,"angle":266,"satellites":38,"speed":31,"hex_longitude":"2d816b00","hex_latitude":"05d182e0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232147968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96121939315130368,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119507745458642944,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:12] 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-06-23 01:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782156830000,"timestamp_ms":1782156830000,"timestamp_seconds":1782156830,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d32530"} 
[2026-06-23 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-06-23 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-23 01:04:12] 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-06-23 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-06-23 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-06-23 01:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232147968001,"66":12037,"65":206,"85":15104,"24":31,"16":96121939315130368,"45":-9119507745458642944},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 01:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232147968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:04:12] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 01:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96121939315130368,"km_value":96121939315130.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119507745458642944,"description":"Unknown IO ID 45"} 
[2026-06-23 01:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232147968001,"power":12037,"unknown_65":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9119507745458642944}} 
[2026-06-23 01:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":110272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:04:12] local.INFO: GPS data processed {"connection_id":110272,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:04:12] local.INFO: Acknowledgment sent {"connection_id":110272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:04:23] local.INFO: TCP Data received {"connection_id":111073,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:04:23] local.INFO: Processing buffer {"connection_id":111073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:04:23] local.INFO: IMEI packet received {"connection_id":111073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":111073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:04:31] local.INFO: TCP Data received {"connection_id":112008,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:04:31] local.INFO: Processing buffer {"connection_id":112008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:04:31] local.INFO: IMEI packet received {"connection_id":112008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":112008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:04:33] local.INFO: TCP Data received {"connection_id":112009,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:33] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:33] local.INFO: IMEI packet received {"connection_id":112009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":112009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:04:35] local.INFO: TCP Data received {"connection_id":112009,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:35] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:35] local.INFO: IMEI packet received {"connection_id":112009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":112009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:04:36] local.INFO: TCP Data received {"connection_id":112008,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:04:36] local.INFO: Processing buffer {"connection_id":112008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:04:36] local.INFO: IMEI packet received {"connection_id":112008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":112008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:04:38] local.INFO: TCP Data received {"connection_id":112008,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:04:38] local.INFO: Processing buffer {"connection_id":112008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:04:38] local.INFO: Packet analysis {"connection_id":112008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:38] local.INFO: Extracted packet for processing {"connection_id":112008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:04:38] 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-06-23 01:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:04:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:04:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:04:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":112008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:04:38] local.INFO: GPS data processed {"connection_id":112008,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:04:38] local.INFO: Acknowledgment sent {"connection_id":112008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:04:38] local.INFO: TCP Data received {"connection_id":112009,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:38] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:04:38] local.INFO: IMEI packet received {"connection_id":112009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":112009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:04:39] local.INFO: TCP Data received {"connection_id":112009,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d34858012d814a8005d184a00002011627..."} 
[2026-06-23 01:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d34858012d814a8005d184a00002011627..."} 
[2026-06-23 01:04:39] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d34858012d814a8005d184a00002011627..."} 
[2026-06-23 01:04:39] local.INFO: Packet analysis {"connection_id":112009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:39] local.INFO: Extracted packet for processing {"connection_id":112009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763447936,"raw_latitude":97617056,"longitude_deg":76.3447936,"latitude_deg":9.7617056,"altitude":2,"angle":278,"satellites":39,"speed":39,"hex_longitude":"2d814a80","hex_latitude":"05d184a0","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232148480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96122334452121600,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121196595318956032,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] 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-06-23 01:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782156839000,"timestamp_ms":1782156839000,"timestamp_seconds":1782156839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d34858"} 
[2026-06-23 01:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:04: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-06-23 01: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1945555039191827456,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4040354456,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172764165,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3349455465766381527,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3540125697,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2301100037,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5638789094637764632,"corrected_to":0} 
[2026-06-23 01:04:39] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1342254465,"corrected_to":0} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221606791,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,65,85,24,241,157,16,126,158,29,45,131,6,38,10,66,17,192,134,5,40,9,64,1,240,146,227,209,4,113,205,23,246,136,239,47,2,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":5638789094637764632,"validated":0},{"io_id":246,"original":1342254465,"validated":0}]} 
[2026-06-23 01:04:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432638197531344896,"timestamp_seconds":432638197531344.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232148480001,"66":12037,"65":206,"85":15104,"24":39,"16":96122334452121600,"45":-9121196595318956032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 01:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232148480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:04:39] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 01:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96122334452121600,"km_value":96122334452121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121196595318956032,"description":"Unknown IO ID 45"} 
[2026-06-23 01:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232148480001,"power":12037,"unknown_65":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9121196595318956032}} 
[2026-06-23 01:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":112009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:04:39] local.INFO: GPS data processed {"connection_id":112009,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:04:39] local.INFO: Acknowledgment sent {"connection_id":112009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:04:43] local.INFO: TCP Data received {"connection_id":112008,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:04:43] local.INFO: Processing buffer {"connection_id":112008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:04:43] local.INFO: Packet analysis {"connection_id":112008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:43] local.INFO: Extracted packet for processing {"connection_id":112008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:04:43] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:04:43] 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-06-23 01:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":112008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":112008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":112008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:04:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:04:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":112008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:04:43] local.INFO: GPS data processed {"connection_id":112008,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:04:43] local.INFO: Acknowledgment sent {"connection_id":112008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:05:08] local.INFO: TCP Data received {"connection_id":110273,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:05:08] local.INFO: Processing buffer {"connection_id":110273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:05:08] local.INFO: IMEI packet received {"connection_id":110273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":110273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:05:10] local.INFO: TCP Data received {"connection_id":112009,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d42ae8012d8115c005d206980004016726..."} 
[2026-06-23 01:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d42ae8012d8115c005d206980004016726..."} 
[2026-06-23 01:05:10] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d42ae8012d8115c005d206980004016726..."} 
[2026-06-23 01:05:10] local.INFO: Packet analysis {"connection_id":112009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d4"} 
[2026-06-23 01:05:10] local.INFO: Extracted packet for processing {"connection_id":112009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d4"} 
[2026-06-23 01:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763434432,"raw_latitude":97650328,"longitude_deg":76.3434432,"latitude_deg":9.7650328,"altitude":4,"angle":359,"satellites":38,"speed":35,"hex_longitude":"2d8115c0","hex_latitude":"05d20698","is_valid_coordinates":true} 
[2026-06-23 01:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232164096001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96124576425050112,"note":"Value kept but may cause issues"} 
[2026-06-23 01:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146036762006362112,"note":"Value kept but may cause issues"} 
[2026-06-23 01:05:10] 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-06-23 01:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782156897000,"timestamp_ms":1782156897000,"timestamp_seconds":1782156897,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d42ae8"} 
[2026-06-23 01:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:05: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-06-23 01:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 01:05: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-06-23 01:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232164096001,"66":12015,"65":206,"85":15104,"24":35,"16":96124576425050112,"45":-9146036762006362112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 01:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232164096001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:05:10] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 01:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96124576425050112,"km_value":96124576425050.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146036762006362112,"description":"Unknown IO ID 45"} 
[2026-06-23 01:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232164096001,"power":12015,"unknown_65":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9146036762006362112}} 
[2026-06-23 01:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":112009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:05:10] local.INFO: GPS data processed {"connection_id":112009,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:05:10] local.INFO: Acknowledgment sent {"connection_id":112009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:05:25] local.INFO: TCP Data received {"connection_id":112010,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:05:25] local.INFO: Processing buffer {"connection_id":112010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:05:25] local.INFO: IMEI packet received {"connection_id":112010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":112010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:05:31] local.INFO: TCP Data received {"connection_id":112010,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:05:31] local.INFO: Processing buffer {"connection_id":112010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:05:31] local.INFO: IMEI packet received {"connection_id":112010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":112010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:05:33] local.INFO: TCP Data received {"connection_id":112010,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:05:33] local.INFO: Processing buffer {"connection_id":112010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:05:33] local.INFO: Packet analysis {"connection_id":112010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:05:33] local.INFO: Extracted packet for processing {"connection_id":112010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:05:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:05:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 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-06-23 01:05:33] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:05:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:05:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:05:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":112010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:05:33] local.INFO: GPS data processed {"connection_id":112010,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:05:33] local.INFO: Acknowledgment sent {"connection_id":112010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:05:34] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:34] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:34] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:05:35] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:35] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:35] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:05:36] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:36] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:36] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:05:37] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:37] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:05:37] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:06:04] local.INFO: TCP Data received {"connection_id":112010,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:04] local.INFO: Processing buffer {"connection_id":112010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:04] local.INFO: Packet analysis {"connection_id":112010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:06:04] local.INFO: Extracted packet for processing {"connection_id":112010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:06:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 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-06-23 01:06:04] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:06:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:06:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":112010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:06:04] local.INFO: GPS data processed {"connection_id":112010,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:06:04] local.INFO: Acknowledgment sent {"connection_id":112010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:06:31] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:06:31] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:06:31] local.INFO: IMEI packet received {"connection_id":111075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":111075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:06:36] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:06:36] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:06:36] local.INFO: IMEI packet received {"connection_id":111075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":111075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:06:37] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:37] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:37] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:06:37] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:06:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:06:37] 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-06-23 01:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:06:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:06:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:06:37] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:06:37] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:06:41] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:41] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:06:41] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:06:41] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:06:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:06:41] 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-06-23 01:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:06:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:06:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:06:41] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:06:41] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:07:26] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:07:26] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:07:26] local.INFO: IMEI packet received {"connection_id":110277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":110277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:07:31] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:07:31] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:07:31] local.INFO: IMEI packet received {"connection_id":110277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":110277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:07:32] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:07:32] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:07:32] local.INFO: Packet analysis {"connection_id":110277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:07:32] local.INFO: Extracted packet for processing {"connection_id":110277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:07:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:07:32] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:07:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:07:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":110277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:07:32] local.INFO: GPS data processed {"connection_id":110277,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:07:32] local.INFO: Acknowledgment sent {"connection_id":110277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:08:08] local.INFO: TCP Data received {"connection_id":110277,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:08:08] local.INFO: Processing buffer {"connection_id":110277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:08:08] local.INFO: Packet analysis {"connection_id":110277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:08:08] local.INFO: Extracted packet for processing {"connection_id":110277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:08:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:08:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:08:08] 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-06-23 01:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:08:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:08:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":110277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:08:08] local.INFO: GPS data processed {"connection_id":110277,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:08:08] local.INFO: Acknowledgment sent {"connection_id":110277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:08:26] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:08:26] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:08:26] local.INFO: IMEI packet received {"connection_id":110456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":110456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:08:31] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:08:31] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:08:31] local.INFO: IMEI packet received {"connection_id":110456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":110456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:08:32] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:08:32] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:08:32] local.INFO: Packet analysis {"connection_id":110456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:08:32] local.INFO: Extracted packet for processing {"connection_id":110456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:08:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:08:32] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:08:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:08:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":110456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:08:32] local.INFO: GPS data processed {"connection_id":110456,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:08:32] local.INFO: Acknowledgment sent {"connection_id":110456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:09:04] local.INFO: TCP Data received {"connection_id":110456,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:09:04] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d309d8012cc3308007685990005a00ee2d..."} 
[2026-06-23 01:09:04] local.INFO: Packet analysis {"connection_id":110456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:09:04] local.INFO: Extracted packet for processing {"connection_id":110456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d3"} 
[2026-06-23 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232069632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782156823000,"timestamp_ms":1782156823000,"timestamp_seconds":1782156823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d309d8"} 
[2026-06-23 01:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:09:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232069632001,"66":25375,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232069632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:09:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:09:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232069632001,"power":25375,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":110456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:09:04] local.INFO: GPS data processed {"connection_id":110456,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:09:04] local.INFO: Acknowledgment sent {"connection_id":110456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:09:25] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:09:25] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:09:25] local.INFO: IMEI packet received {"connection_id":112013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":112013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:09:31] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:09:31] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:09:31] local.INFO: IMEI packet received {"connection_id":112013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":112013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:09:32] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:09:32] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:09:32] local.INFO: Packet analysis {"connection_id":112013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:09:32] local.INFO: Extracted packet for processing {"connection_id":112013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:09:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:09:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:09:32] 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-06-23 01:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:09:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:09:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:09:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":112013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:09:32] local.INFO: GPS data processed {"connection_id":112013,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:09:32] local.INFO: Acknowledgment sent {"connection_id":112013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:10:04] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:10:04] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:10:04] local.INFO: Packet analysis {"connection_id":112013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:10:04] local.INFO: Extracted packet for processing {"connection_id":112013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:10:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:10:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:10:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:10:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":112013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:10:04] local.INFO: GPS data processed {"connection_id":112013,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:10:04] local.INFO: Acknowledgment sent {"connection_id":112013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:10:26] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:10:26] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:10:26] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:10:31] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:10:31] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:10:31] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:10:32] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:10:32] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:10:32] local.INFO: Packet analysis {"connection_id":111079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:10:32] local.INFO: Extracted packet for processing {"connection_id":111079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:10:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:10:32] 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-06-23 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:10:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:10:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:10:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":111079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:10:32] local.INFO: GPS data processed {"connection_id":111079,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:10:32] local.INFO: Acknowledgment sent {"connection_id":111079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:10:33] local.INFO: TCP Data received {"connection_id":111078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:10:33] local.INFO: Processing buffer {"connection_id":111078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:10:33] local.INFO: IMEI packet received {"connection_id":111078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":111078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:10:38] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:10:38] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:10:38] local.INFO: IMEI packet received {"connection_id":112014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":112014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:10:43] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:10:43] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:10:43] local.INFO: IMEI packet received {"connection_id":112014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":112014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:10:44] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6b358012d80ac8005d36a700004000c28..."} 
[2026-06-23 01:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6b358012d80ac8005d36a700004000c28..."} 
[2026-06-23 01:10:44] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6b358012d80ac8005d36a700004000c28..."} 
[2026-06-23 01:10:44] local.INFO: Packet analysis {"connection_id":112014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:10:44] local.INFO: Extracted packet for processing {"connection_id":112014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763407488,"raw_latitude":97741424,"longitude_deg":76.3407488,"latitude_deg":9.7741424,"altitude":4,"angle":12,"satellites":40,"speed":9,"hex_longitude":"2d80ac80","hex_latitude":"05d36a70","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232204032001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96129970903973888,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175450897049862144,"note":"Value kept but may cause issues"} 
[2026-06-23 01:10:44] 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-06-23 01:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782157063000,"timestamp_ms":1782157063000,"timestamp_seconds":1782157063,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6b358"} 
[2026-06-23 01:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:10:44] 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-06-23 01: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-23 01:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232204032001,"66":11134,"207":206,"85":15104,"24":9,"16":96129970903973888,"45":-9175450897049862144},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232204032001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:10:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96129970903973888,"km_value":96129970903973.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175450897049862144,"description":"Unknown IO ID 45"} 
[2026-06-23 01:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232204032001,"power":11134,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9175450897049862144}} 
[2026-06-23 01:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":112014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:10:44] local.INFO: GPS data processed {"connection_id":112014,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:10:44] local.INFO: Acknowledgment sent {"connection_id":112014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:11:04] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:11:04] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:11:04] local.INFO: Packet analysis {"connection_id":111079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:11:04] local.INFO: Extracted packet for processing {"connection_id":111079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:11:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 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-06-23 01:11:04] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:11:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:11:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":111079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:11:04] local.INFO: GPS data processed {"connection_id":111079,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:11:04] local.INFO: Acknowledgment sent {"connection_id":111079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:11:13] local.INFO: TCP Data received {"connection_id":110457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:11:13] local.INFO: Processing buffer {"connection_id":110457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:11:13] local.INFO: IMEI packet received {"connection_id":110457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":110457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:11:15] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6c2f8012d80ad8005d36d680004015f29..."} 
[2026-06-23 01:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6c2f8012d80ad8005d36d680004015f29..."} 
[2026-06-23 01:11:15] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6c2f8012d80ad8005d36d680004015f29..."} 
[2026-06-23 01:11:15] local.INFO: Packet analysis {"connection_id":112014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:11:15] local.INFO: Extracted packet for processing {"connection_id":112014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:11:15] local.INFO: GPS Element Parsed {"raw_longitude":763407744,"raw_latitude":97742184,"longitude_deg":76.3407744,"latitude_deg":9.7742184,"altitude":4,"angle":351,"satellites":41,"speed":8,"hex_longitude":"2d80ad80","hex_latitude":"05d36d68","is_valid_coordinates":true} 
[2026-06-23 01:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232208128001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130009558679552,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174817578350383104,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:15] 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-06-23 01:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782157067000,"timestamp_ms":1782157067000,"timestamp_seconds":1782157067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6c2f8"} 
[2026-06-23 01:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:11:15] 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-06-23 01:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-23 01:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232208128001,"66":11917,"207":206,"85":15104,"24":8,"16":96130009558679552,"45":-9174817578350383104},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232208128001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:11:15] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:11:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130009558679552,"km_value":96130009558679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174817578350383104,"description":"Unknown IO ID 45"} 
[2026-06-23 01:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232208128001,"power":11917,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9174817578350383104}} 
[2026-06-23 01:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":112014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:11:15] local.INFO: GPS data processed {"connection_id":112014,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:11:15] local.INFO: Acknowledgment sent {"connection_id":112014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:11:26] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:11:26] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:11:26] local.INFO: IMEI packet received {"connection_id":110458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":110458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:11:31] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:11:31] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:11:31] local.INFO: IMEI packet received {"connection_id":110458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":110458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:11:32] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:11:32] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:11:32] local.INFO: Packet analysis {"connection_id":110458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:11:32] local.INFO: Extracted packet for processing {"connection_id":110458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:11:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:11:32] 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-06-23 01:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:11:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:11:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":110458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:11:32] local.INFO: GPS data processed {"connection_id":110458,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:11:32] local.INFO: Acknowledgment sent {"connection_id":110458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:11:33] local.INFO: TCP Data received {"connection_id":110459,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:11:33] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:11:33] local.INFO: IMEI packet received {"connection_id":110459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":110459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:11:38] local.INFO: TCP Data received {"connection_id":110459,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:11:38] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:11:38] local.INFO: IMEI packet received {"connection_id":110459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":110459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:11:39] local.INFO: TCP Data received {"connection_id":110459,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6c6e0012d80ad4005d36e300005014a29..."} 
[2026-06-23 01:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6c6e0012d80ad4005d36e300005014a29..."} 
[2026-06-23 01:11:39] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6c6e0012d80ad4005d36e300005014a29..."} 
[2026-06-23 01:11:39] local.INFO: Packet analysis {"connection_id":110459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:11:39] local.INFO: Extracted packet for processing {"connection_id":110459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763407680,"raw_latitude":97742384,"longitude_deg":76.340768,"latitude_deg":9.7742384,"altitude":5,"angle":330,"satellites":41,"speed":10,"hex_longitude":"2d80ad40","hex_latitude":"05d36e30","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232209152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130022443581440,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174536103373477888,"note":"Value kept but may cause issues"} 
[2026-06-23 01:11: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-06-23 01:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782157068000,"timestamp_ms":1782157068000,"timestamp_seconds":1782157068,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6c6e0"} 
[2026-06-23 01:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:11: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-06-23 01: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 01:11:39] 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-06-23 01: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-06-23 01:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232209152001,"66":11917,"207":206,"85":15104,"24":10,"16":96130022443581440,"45":-9174536103373477888},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232209152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130022443581440,"km_value":96130022443581.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174536103373477888,"description":"Unknown IO ID 45"} 
[2026-06-23 01:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232209152001,"power":11917,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9174536103373477888}} 
[2026-06-23 01:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":110459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:11:39] local.INFO: GPS data processed {"connection_id":110459,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:11:39] local.INFO: Acknowledgment sent {"connection_id":110459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:12:03] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:12:03] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:12:03] local.INFO: Packet analysis {"connection_id":110458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:12:03] local.INFO: Extracted packet for processing {"connection_id":110458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:12:03] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:12:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:12:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":110458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:12:03] local.INFO: GPS data processed {"connection_id":110458,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:12:03] local.INFO: Acknowledgment sent {"connection_id":110458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:12:10] local.INFO: TCP Data received {"connection_id":110459,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6cac8012d80ac8005d36ee80004013e29..."} 
[2026-06-23 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6cac8012d80ac8005d36ee80004013e29..."} 
[2026-06-23 01:12:10] local.INFO: Processing buffer {"connection_id":110459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6cac8012d80ac8005d36ee80004013e29..."} 
[2026-06-23 01:12:10] local.INFO: Packet analysis {"connection_id":110459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:12:10] local.INFO: Extracted packet for processing {"connection_id":110459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763407488,"raw_latitude":97742568,"longitude_deg":76.3407488,"latitude_deg":9.7742568,"altitude":4,"angle":318,"satellites":41,"speed":8,"hex_longitude":"2d80ac80","hex_latitude":"05d36ee8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232209408001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130031033516032,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174606472117604352,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12: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-06-23 01:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782157069000,"timestamp_ms":1782157069000,"timestamp_seconds":1782157069,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6cac8"} 
[2026-06-23 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-06-23 01:12:10] 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-06-23 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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 01:12:10] 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-06-23 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-06-23 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-06-23 01:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232209408001,"66":11917,"207":206,"85":15104,"24":8,"16":96130031033516032,"45":-9174606472117604352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232209408001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130031033516032,"km_value":96130031033516.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174606472117604352,"description":"Unknown IO ID 45"} 
[2026-06-23 01:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232209408001,"power":11917,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9174606472117604352}} 
[2026-06-23 01:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":110459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:12:10] local.INFO: GPS data processed {"connection_id":110459,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:12:10] local.INFO: Acknowledgment sent {"connection_id":110459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:12:25] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:12:25] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:12:25] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:12:31] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:12:31] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:12:31] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:12:32] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:12:32] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:12:32] local.INFO: Packet analysis {"connection_id":111080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:12:32] local.INFO: Extracted packet for processing {"connection_id":111080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:12:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:12:32] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:12:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":111080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:12:32] local.INFO: GPS data processed {"connection_id":111080,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:12:32] local.INFO: Acknowledgment sent {"connection_id":111080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:12:33] local.INFO: TCP Data received {"connection_id":110460,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:12:33] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:12:33] local.INFO: IMEI packet received {"connection_id":110460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":110460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:12:38] local.INFO: TCP Data received {"connection_id":110460,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:12:38] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:12:38] local.INFO: IMEI packet received {"connection_id":110460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":110460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:12:39] local.INFO: TCP Data received {"connection_id":110460,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6e238012d80a8c005d372180003012a28..."} 
[2026-06-23 01:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6e238012d80a8c005d372180003012a28..."} 
[2026-06-23 01:12:39] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6e238012d80a8c005d372180003012a28..."} 
[2026-06-23 01:12:39] local.INFO: Packet analysis {"connection_id":110460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:12:39] local.INFO: Extracted packet for processing {"connection_id":110460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763406528,"raw_latitude":97743384,"longitude_deg":76.3406528,"latitude_deg":9.7743384,"altitude":3,"angle":298,"satellites":40,"speed":6,"hex_longitude":"2d80a8c0","hex_latitude":"05d37218","is_valid_coordinates":true} 
[2026-06-23 01:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232209664001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130095458025472,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174817578350090240,"note":"Value kept but may cause issues"} 
[2026-06-23 01:12: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-06-23 01:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782157075000,"timestamp_ms":1782157075000,"timestamp_seconds":1782157075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6e238"} 
[2026-06-23 01:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:12: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-06-23 01:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 01:12:39] 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-06-23 01:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232209664001,"66":11917,"207":206,"85":15104,"24":6,"16":96130095458025472,"45":-9174817578350090240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232209664001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130095458025472,"km_value":96130095458025.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174817578350090240,"description":"Unknown IO ID 45"} 
[2026-06-23 01:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232209664001,"power":11917,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9174817578350090240}} 
[2026-06-23 01:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":110460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:12:39] local.INFO: GPS data processed {"connection_id":110460,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:12:39] local.INFO: Acknowledgment sent {"connection_id":110460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:13:04] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:13:04] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:13:04] local.INFO: Packet analysis {"connection_id":111080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:13:04] local.INFO: Extracted packet for processing {"connection_id":111080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:13:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:13:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:13:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":111080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:13:04] local.INFO: GPS data processed {"connection_id":111080,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:13:04] local.INFO: Acknowledgment sent {"connection_id":111080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:13:11] local.INFO: TCP Data received {"connection_id":110460,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6f5c0012d80a78005d372380002012a28..."} 
[2026-06-23 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6f5c0012d80a78005d372380002012a28..."} 
[2026-06-23 01:13:11] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6f5c0012d80a78005d372380002012a28..."} 
[2026-06-23 01:13:11] local.INFO: Packet analysis {"connection_id":110460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:13:11] local.INFO: Extracted packet for processing {"connection_id":110460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763406208,"raw_latitude":97743416,"longitude_deg":76.3406208,"latitude_deg":9.7743416,"altitude":2,"angle":298,"satellites":40,"speed":0,"hex_longitude":"2d80a780","hex_latitude":"05d37238","is_valid_coordinates":true} 
[2026-06-23 01:13: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-06-23 01:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232211200001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175873109512546304,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:11] 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-06-23 01:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782157080000,"timestamp_ms":1782157080000,"timestamp_seconds":1782157080,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6f5c0"} 
[2026-06-23 01:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:13: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-06-23 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 01:13:11] 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-06-23 01:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232211200001,"66":13243,"207":206,"85":15104,"24":0,"16":96130112637894656,"45":-9175873109512546304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232211200001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175873109512546304,"description":"Unknown IO ID 45"} 
[2026-06-23 01:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232211200001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9175873109512546304}} 
[2026-06-23 01:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":110460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:13:11] local.INFO: GPS data processed {"connection_id":110460,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:13:11] local.INFO: Acknowledgment sent {"connection_id":110460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:13:25] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:13:25] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:13:25] local.INFO: IMEI packet received {"connection_id":112015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":112015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:13:31] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:13:31] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:13:31] local.INFO: IMEI packet received {"connection_id":112015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":112015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:13:32] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:13:32] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:13:32] local.INFO: Packet analysis {"connection_id":112015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:13:32] local.INFO: Extracted packet for processing {"connection_id":112015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:13:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:13:32] 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-06-23 01:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:13:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:13:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":112015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:13:32] local.INFO: GPS data processed {"connection_id":112015,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:13:32] local.INFO: Acknowledgment sent {"connection_id":112015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:13:33] local.INFO: TCP Data received {"connection_id":110461,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:13:33] local.INFO: Processing buffer {"connection_id":110461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:13:33] local.INFO: IMEI packet received {"connection_id":110461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":110461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:13:38] local.INFO: TCP Data received {"connection_id":110461,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:13:38] local.INFO: Processing buffer {"connection_id":110461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:13:38] local.INFO: IMEI packet received {"connection_id":110461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":110461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:13:39] local.INFO: TCP Data received {"connection_id":110461,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d6f5c0012d80a78005d372380002012a28..."} 
[2026-06-23 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d6f5c0012d80a78005d372380002012a28..."} 
[2026-06-23 01:13:39] local.INFO: Processing buffer {"connection_id":110461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d6f5c0012d80a78005d372380002012a28..."} 
[2026-06-23 01:13:39] local.INFO: Packet analysis {"connection_id":110461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:13:39] local.INFO: Extracted packet for processing {"connection_id":110461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d6"} 
[2026-06-23 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763406208,"raw_latitude":97743416,"longitude_deg":76.3406208,"latitude_deg":9.7743416,"altitude":2,"angle":298,"satellites":40,"speed":0,"hex_longitude":"2d80a780","hex_latitude":"05d37238","is_valid_coordinates":true} 
[2026-06-23 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:13: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-06-23 01:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782157080000,"timestamp_ms":1782157080000,"timestamp_seconds":1782157080,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d6f5c0"} 
[2026-06-23 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-06-23 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:13:39] 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-06-23 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-06-23 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-06-23 01:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":13243,"207":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 01:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":110461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:13:39] local.INFO: GPS data processed {"connection_id":110461,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:13:39] local.INFO: Acknowledgment sent {"connection_id":110461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:14:04] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:14:04] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0d7a1a0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:14:04] local.INFO: Packet analysis {"connection_id":112015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:14:04] local.INFO: Extracted packet for processing {"connection_id":112015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0d7"} 
[2026-06-23 01:14:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157124000,"timestamp_ms":1782157124000,"timestamp_seconds":1782157124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0d7a1a0"} 
[2026-06-23 01:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:14:04] 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-06-23 01: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 01:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232146688001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:14:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:14:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232146688001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":112015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:14:04] local.INFO: GPS data processed {"connection_id":112015,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:14:04] local.INFO: Acknowledgment sent {"connection_id":112015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:14:10] local.INFO: TCP Data received {"connection_id":110461,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:10] local.INFO: Processing buffer {"connection_id":110461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:10] local.INFO: Packet analysis {"connection_id":110461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:14:10] local.INFO: Extracted packet for processing {"connection_id":110461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:10] 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-06-23 01:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:14:10] 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-06-23 01:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:14:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":110461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:14:10] local.INFO: GPS data processed {"connection_id":110461,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:14:10] local.INFO: Acknowledgment sent {"connection_id":110461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:14:31] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:14:31] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:14:31] local.INFO: IMEI packet received {"connection_id":111082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":111082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:14:36] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:14:36] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:14:36] local.INFO: IMEI packet received {"connection_id":111082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":111082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:14:38] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:14:38] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:14:38] local.INFO: Packet analysis {"connection_id":111082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:14:38] local.INFO: Extracted packet for processing {"connection_id":111082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:14:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:14:38] 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-06-23 01:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:14:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:14:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:14:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":111082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:14:38] local.INFO: GPS data processed {"connection_id":111082,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:14:38] local.INFO: Acknowledgment sent {"connection_id":111082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:14:38] local.INFO: TCP Data received {"connection_id":112016,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:14:38] local.INFO: Processing buffer {"connection_id":112016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:14:38] local.INFO: IMEI packet received {"connection_id":112016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":112016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:14:42] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:14:42] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:14:42] local.INFO: Packet analysis {"connection_id":111082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:14:42] local.INFO: Extracted packet for processing {"connection_id":111082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:14:42] 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-06-23 01:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:14:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:14:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":111082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:14:42] local.INFO: GPS data processed {"connection_id":111082,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:14:42] local.INFO: Acknowledgment sent {"connection_id":111082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:14:43] local.INFO: TCP Data received {"connection_id":112016,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:14:43] local.INFO: Processing buffer {"connection_id":112016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:14:43] local.INFO: IMEI packet received {"connection_id":112016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":112016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:14:44] local.INFO: TCP Data received {"connection_id":112016,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:44] local.INFO: Processing buffer {"connection_id":112016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:44] local.INFO: Packet analysis {"connection_id":112016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:14:44] local.INFO: Extracted packet for processing {"connection_id":112016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:44] 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-06-23 01:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:14:44] 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-06-23 01: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-06-23 01:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:14:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":112016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:14:44] local.INFO: GPS data processed {"connection_id":112016,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:14:44] local.INFO: Acknowledgment sent {"connection_id":112016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:14:49] local.INFO: TCP Data received {"connection_id":112016,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:49] local.INFO: Processing buffer {"connection_id":112016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:14:49] local.INFO: Packet analysis {"connection_id":112016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:14:49] local.INFO: Extracted packet for processing {"connection_id":112016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:14:49] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:14:49] 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-06-23 01:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:14:49] 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-06-23 01: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-06-23 01:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:14:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:14:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":112016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:14:49] local.INFO: GPS data processed {"connection_id":112016,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:14:49] local.INFO: Acknowledgment sent {"connection_id":112016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:15:25] local.INFO: TCP Data received {"connection_id":111083,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:15:25] local.INFO: Processing buffer {"connection_id":111083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:15:25] local.INFO: IMEI packet received {"connection_id":111083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":111083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:15:31] local.INFO: TCP Data received {"connection_id":111083,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:15:31] local.INFO: Processing buffer {"connection_id":111083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:15:31] local.INFO: IMEI packet received {"connection_id":111083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":111083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:15:32] local.INFO: TCP Data received {"connection_id":111083,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:15:33] local.INFO: Processing buffer {"connection_id":111083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:15:33] local.INFO: Packet analysis {"connection_id":111083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:15:33] local.INFO: Extracted packet for processing {"connection_id":111083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:15:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:15:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 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-06-23 01:15:33] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:15:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:15:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:15:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":111083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:15:33] local.INFO: GPS data processed {"connection_id":111083,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:15:33] local.INFO: Acknowledgment sent {"connection_id":111083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:15:33] local.INFO: TCP Data received {"connection_id":110462,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:15:33] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:15:33] local.INFO: IMEI packet received {"connection_id":110462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":110462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:15:38] local.INFO: TCP Data received {"connection_id":110462,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:15:38] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:15:38] local.INFO: IMEI packet received {"connection_id":110462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":110462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:15:39] local.INFO: TCP Data received {"connection_id":110462,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:15:39] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:15:39] local.INFO: Packet analysis {"connection_id":110462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:15:39] local.INFO: Extracted packet for processing {"connection_id":110462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:15: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-06-23 01:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:15:39] 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-06-23 01:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":110462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:15:39] local.INFO: GPS data processed {"connection_id":110462,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:15:39] local.INFO: Acknowledgment sent {"connection_id":110462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:16:04] local.INFO: TCP Data received {"connection_id":111083,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:04] local.INFO: Processing buffer {"connection_id":111083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:04] local.INFO: Packet analysis {"connection_id":111083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:16:04] local.INFO: Extracted packet for processing {"connection_id":111083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:16:04] 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-06-23 01:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:16:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":111083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:16:04] local.INFO: GPS data processed {"connection_id":111083,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:16:04] local.INFO: Acknowledgment sent {"connection_id":111083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:16:10] local.INFO: TCP Data received {"connection_id":110462,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:16:10] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:16:10] local.INFO: Packet analysis {"connection_id":110462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:16:10] local.INFO: Extracted packet for processing {"connection_id":110462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:10] 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-06-23 01:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:16:10] 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-06-23 01:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:16:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":110462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:16:11] local.INFO: GPS data processed {"connection_id":110462,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:16:11] local.INFO: Acknowledgment sent {"connection_id":110462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:16:31] local.INFO: TCP Data received {"connection_id":110463,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:16:31] local.INFO: Processing buffer {"connection_id":110463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:16:31] local.INFO: IMEI packet received {"connection_id":110463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":110463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:16:33] local.INFO: TCP Data received {"connection_id":111084,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:16:33] local.INFO: Processing buffer {"connection_id":111084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:16:33] local.INFO: IMEI packet received {"connection_id":111084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":111084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:16:36] local.INFO: TCP Data received {"connection_id":110463,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:16:36] local.INFO: Processing buffer {"connection_id":110463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:16:36] local.INFO: IMEI packet received {"connection_id":110463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":110463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:16:38] local.INFO: TCP Data received {"connection_id":110283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:16:38] local.INFO: Processing buffer {"connection_id":110283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:16:38] local.INFO: IMEI packet received {"connection_id":110283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":110283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:16:38] local.INFO: TCP Data received {"connection_id":110463,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:38] local.INFO: Processing buffer {"connection_id":110463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:38] local.INFO: Packet analysis {"connection_id":110463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:16:38] local.INFO: Extracted packet for processing {"connection_id":110463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:16:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:16:38] 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-06-23 01:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:16:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:16:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":110463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:16:38] local.INFO: GPS data processed {"connection_id":110463,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:16:38] local.INFO: Acknowledgment sent {"connection_id":110463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:16:39] local.INFO: TCP Data received {"connection_id":111084,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:16:39] local.INFO: Processing buffer {"connection_id":111084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:16:39] local.INFO: IMEI packet received {"connection_id":111084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":111084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:16:39] local.INFO: TCP Data received {"connection_id":111084,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:16:39] local.INFO: Processing buffer {"connection_id":111084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:16:39] local.INFO: Packet analysis {"connection_id":111084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:16:39] local.INFO: Extracted packet for processing {"connection_id":111084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16: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-06-23 01:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:16:39] 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-06-23 01: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-06-23 01:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":111084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:16:39] local.INFO: GPS data processed {"connection_id":111084,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:16:39] local.INFO: Acknowledgment sent {"connection_id":111084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:16:41] local.INFO: TCP Data received {"connection_id":110463,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:41] local.INFO: Processing buffer {"connection_id":110463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:16:41] local.INFO: Packet analysis {"connection_id":110463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:16:41] local.INFO: Extracted packet for processing {"connection_id":110463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:16:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:16:41] 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-06-23 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:16:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:16:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":110463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:16:41] local.INFO: GPS data processed {"connection_id":110463,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:16:41] local.INFO: Acknowledgment sent {"connection_id":110463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:17:08] local.INFO: TCP Data received {"connection_id":110284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:17:08] local.INFO: Processing buffer {"connection_id":110284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:17:08] local.INFO: IMEI packet received {"connection_id":110284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":110284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:17:10] local.INFO: TCP Data received {"connection_id":111084,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:17:10] local.INFO: Processing buffer {"connection_id":111084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:17:10] local.INFO: Packet analysis {"connection_id":111084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:17:10] local.INFO: Extracted packet for processing {"connection_id":111084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:10] 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-06-23 01:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:17:10] 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-06-23 01:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:17:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":111084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:17:10] local.INFO: GPS data processed {"connection_id":111084,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:17:10] local.INFO: Acknowledgment sent {"connection_id":111084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:17:26] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:17:26] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:17:26] local.INFO: IMEI packet received {"connection_id":110285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":110285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:17:31] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:17:31] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:17:31] local.INFO: IMEI packet received {"connection_id":110285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":110285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:17:32] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:17:32] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:17:32] local.INFO: Packet analysis {"connection_id":110285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:17:32] local.INFO: Extracted packet for processing {"connection_id":110285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:17:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:17:32] 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-06-23 01:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:17:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:17:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":110285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:17:32] local.INFO: GPS data processed {"connection_id":110285,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:17:32] local.INFO: Acknowledgment sent {"connection_id":110285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:17:33] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:17:33] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:17:33] local.INFO: IMEI packet received {"connection_id":111085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":111085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:17:39] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:17:39] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:17:39] local.INFO: IMEI packet received {"connection_id":111085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":111085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:17:39] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:17:39] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0db9170012d80a74005d372680002012a2a..."} 
[2026-06-23 01:17:39] local.INFO: Packet analysis {"connection_id":111085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:17:39] local.INFO: Extracted packet for processing {"connection_id":111085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0db"} 
[2026-06-23 01:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176224953233426432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:17: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-06-23 01:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782157382000,"timestamp_ms":1782157382000,"timestamp_seconds":1782157382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0db9170"} 
[2026-06-23 01:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 01:17:39] 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-06-23 01: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-06-23 01:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232212480001,"66":12341,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176224953233426432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176224953233426432,"description":"Unknown IO ID 45"} 
[2026-06-23 01:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232212480001,"power":12341,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176224953233426432}} 
[2026-06-23 01:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":111085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:17:39] local.INFO: GPS data processed {"connection_id":111085,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:17:39] local.INFO: Acknowledgment sent {"connection_id":111085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:18:04] local.INFO: TCP Data received {"connection_id":110285,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:18:04] local.INFO: Processing buffer {"connection_id":110285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:18:04] local.INFO: Packet analysis {"connection_id":110285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:18:04] local.INFO: Extracted packet for processing {"connection_id":110285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:18:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:18:04] 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-06-23 01:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:18:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:18:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":110285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:18:04] local.INFO: GPS data processed {"connection_id":110285,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:18:04] local.INFO: Acknowledgment sent {"connection_id":110285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:18:25] local.INFO: TCP Data received {"connection_id":111086,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:18:25] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:18:25] local.INFO: IMEI packet received {"connection_id":111086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":111086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:18:31] local.INFO: TCP Data received {"connection_id":111086,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:18:31] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:18:31] local.INFO: IMEI packet received {"connection_id":111086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":111086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:18:32] local.INFO: TCP Data received {"connection_id":111086,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:18:32] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:18:32] local.INFO: Packet analysis {"connection_id":111086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:18:32] local.INFO: Extracted packet for processing {"connection_id":111086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:18:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 01:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:18:32] 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-06-23 01:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:18:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":111086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:18:32] local.INFO: GPS data processed {"connection_id":111086,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:18:32] local.INFO: Acknowledgment sent {"connection_id":111086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:19:04] local.INFO: TCP Data received {"connection_id":111086,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:19:04] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0dc3968012cc3308007685990005a00ee29..."} 
[2026-06-23 01:19:04] local.INFO: Packet analysis {"connection_id":111086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:19:04] local.INFO: Extracted packet for processing {"connection_id":111086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0dc"} 
[2026-06-23 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232223744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157425000,"timestamp_ms":1782157425000,"timestamp_seconds":1782157425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0dc3968"} 
[2026-06-23 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-06-23 01:19:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232223744001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232223744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:19:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:19:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232223744001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":111086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:19:04] local.INFO: GPS data processed {"connection_id":111086,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:19:04] local.INFO: Acknowledgment sent {"connection_id":111086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:19:24] local.INFO: TCP Data received {"connection_id":111087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:24] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:24] local.INFO: IMEI packet received {"connection_id":111087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":111087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:19:25] local.INFO: TCP Data received {"connection_id":111087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:25] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:25] local.INFO: IMEI packet received {"connection_id":111087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":111087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:19:31] local.INFO: TCP Data received {"connection_id":111087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:31] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:19:31] local.INFO: IMEI packet received {"connection_id":111087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":111087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:19:32] local.INFO: TCP Data received {"connection_id":111087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:19:32] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:19:32] local.INFO: Packet analysis {"connection_id":111087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:19:32] local.INFO: Extracted packet for processing {"connection_id":111087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:19:32] 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-06-23 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:19:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:19:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":111087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:19:32] local.INFO: GPS data processed {"connection_id":111087,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:19:32] local.INFO: Acknowledgment sent {"connection_id":111087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:20:04] local.INFO: TCP Data received {"connection_id":111087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:20:04] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:20:04] local.INFO: Packet analysis {"connection_id":111087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:20:04] local.INFO: Extracted packet for processing {"connection_id":111087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:20:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:20:04] 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-06-23 01:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:20:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:20:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":111087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:20:04] local.INFO: GPS data processed {"connection_id":111087,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:20:04] local.INFO: Acknowledgment sent {"connection_id":111087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:20:26] local.INFO: TCP Data received {"connection_id":112017,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:20:26] local.INFO: Processing buffer {"connection_id":112017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:20:26] local.INFO: IMEI packet received {"connection_id":112017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":112017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:20:31] local.INFO: TCP Data received {"connection_id":112017,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:20:31] local.INFO: Processing buffer {"connection_id":112017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:20:31] local.INFO: IMEI packet received {"connection_id":112017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":112017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:20:32] local.INFO: TCP Data received {"connection_id":112017,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:20:32] local.INFO: Processing buffer {"connection_id":112017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:20:32] local.INFO: Packet analysis {"connection_id":112017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:20:32] local.INFO: Extracted packet for processing {"connection_id":112017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:20:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:20:32] 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-06-23 01:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:20:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:20:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":112017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:20:32] local.INFO: GPS data processed {"connection_id":112017,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:20:32] local.INFO: Acknowledgment sent {"connection_id":112017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:21:03] local.INFO: TCP Data received {"connection_id":112017,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:21:03] local.INFO: Processing buffer {"connection_id":112017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:21:03] local.INFO: Packet analysis {"connection_id":112017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:21:03] local.INFO: Extracted packet for processing {"connection_id":112017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:21:03] 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-06-23 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:21:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":112017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:21:04] local.INFO: GPS data processed {"connection_id":112017,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:21:04] local.INFO: Acknowledgment sent {"connection_id":112017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:21:25] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:21:26] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:21:26] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:21:31] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:21:31] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:21:31] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:21:32] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:21:32] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:21:32] local.INFO: Packet analysis {"connection_id":111088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:21:32] local.INFO: Extracted packet for processing {"connection_id":111088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:21:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:21:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:21:32] 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-06-23 01:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:21:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:21:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:21:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":111088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:21:32] local.INFO: GPS data processed {"connection_id":111088,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:21:32] local.INFO: Acknowledgment sent {"connection_id":111088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:22:04] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:22:04] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:22:04] local.INFO: Packet analysis {"connection_id":111088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:22:04] local.INFO: Extracted packet for processing {"connection_id":111088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:22:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:22:04] 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-06-23 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:22:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:22:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:22:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":111088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:22:04] local.INFO: GPS data processed {"connection_id":111088,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:22:04] local.INFO: Acknowledgment sent {"connection_id":111088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:22:25] local.INFO: TCP Data received {"connection_id":112019,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:22:25] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:22:25] local.INFO: IMEI packet received {"connection_id":112019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":112019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:22:31] local.INFO: TCP Data received {"connection_id":112019,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:22:31] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:22:31] local.INFO: IMEI packet received {"connection_id":112019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":112019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:22:32] local.INFO: TCP Data received {"connection_id":112019,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:22:32] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:22:32] local.INFO: Packet analysis {"connection_id":112019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:22:32] local.INFO: Extracted packet for processing {"connection_id":112019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:22:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:22:32] 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-06-23 01:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:22:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:22:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:22:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":112019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:22:32] local.INFO: GPS data processed {"connection_id":112019,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:22:32] local.INFO: Acknowledgment sent {"connection_id":112019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:22:33] local.INFO: TCP Data received {"connection_id":110287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:22:33] local.INFO: Processing buffer {"connection_id":110287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:22:33] local.INFO: IMEI packet received {"connection_id":110287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":110287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:22:38] local.INFO: TCP Data received {"connection_id":110288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:22:38] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:22:38] local.INFO: IMEI packet received {"connection_id":110288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":110288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:22:44] local.INFO: TCP Data received {"connection_id":110288,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:22:44] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:22:44] local.INFO: IMEI packet received {"connection_id":110288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":110288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:22:44] local.INFO: TCP Data received {"connection_id":110288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e015b0012d80a74005d372680002012a2a..."} 
[2026-06-23 01:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e015b0012d80a74005d372680002012a2a..."} 
[2026-06-23 01:22:44] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e015b0012d80a74005d372680002012a2a..."} 
[2026-06-23 01:22:44] local.INFO: Packet analysis {"connection_id":110288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:22:44] local.INFO: Extracted packet for processing {"connection_id":110288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:22:44] 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-06-23 01:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232365568001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321977591808,"note":"Value kept but may cause issues"} 
[2026-06-23 01:22:44] 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-06-23 01:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782157678000,"timestamp_ms":1782157678000,"timestamp_seconds":1782157678,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e015b0"} 
[2026-06-23 01:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:22:44] 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-06-23 01:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 01:22:44] 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-06-23 01:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232365568001,"66":12385,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176295321977591808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232365568001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:22:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321977591808,"description":"Unknown IO ID 45"} 
[2026-06-23 01:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232365568001,"power":12385,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176295321977591808}} 
[2026-06-23 01:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":110288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:22:44] local.INFO: GPS data processed {"connection_id":110288,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:22:44] local.INFO: Acknowledgment sent {"connection_id":110288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:23:04] local.INFO: TCP Data received {"connection_id":112019,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:23:04] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:23:04] local.INFO: Packet analysis {"connection_id":112019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:23:04] local.INFO: Extracted packet for processing {"connection_id":112019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:23:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 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-06-23 01:23:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:23:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:23:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":112019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:23:04] local.INFO: GPS data processed {"connection_id":112019,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:23:04] local.INFO: Acknowledgment sent {"connection_id":112019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:23:08] local.INFO: TCP Data received {"connection_id":112020,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:23:08] local.INFO: Processing buffer {"connection_id":112020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:23:08] local.INFO: IMEI packet received {"connection_id":112020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":112020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:23:15] local.INFO: TCP Data received {"connection_id":110288,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e02938012d80a74005d372680002012a2a..."} 
[2026-06-23 01:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e02938012d80a74005d372680002012a2a..."} 
[2026-06-23 01:23:15] local.INFO: Processing buffer {"connection_id":110288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e02938012d80a74005d372680002012a2a..."} 
[2026-06-23 01:23:15] local.INFO: Packet analysis {"connection_id":110288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:23:15] local.INFO: Extracted packet for processing {"connection_id":110288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232365568001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321977591808,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:15] 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-06-23 01:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782157683000,"timestamp_ms":1782157683000,"timestamp_seconds":1782157683,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e02938"} 
[2026-06-23 01:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:23:15] 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-06-23 01:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 01:23:15] 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-06-23 01:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232365568001,"66":2590,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176295321977591808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232365568001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:23:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321977591808,"description":"Unknown IO ID 45"} 
[2026-06-23 01:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232365568001,"power":2590,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176295321977591808}} 
[2026-06-23 01:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":110288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:23:15] local.INFO: GPS data processed {"connection_id":110288,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:23:15] local.INFO: Acknowledgment sent {"connection_id":110288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:23:25] local.INFO: TCP Data received {"connection_id":110466,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:23:25] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:23:25] local.INFO: IMEI packet received {"connection_id":110466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":110466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:23:31] local.INFO: TCP Data received {"connection_id":110466,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:23:31] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:23:31] local.INFO: IMEI packet received {"connection_id":110466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":110466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:23:32] local.INFO: TCP Data received {"connection_id":110466,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:23:32] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:23:32] local.INFO: Packet analysis {"connection_id":110466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:23:32] local.INFO: Extracted packet for processing {"connection_id":110466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:23:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:23:32] 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-06-23 01:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:23:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:23:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":110466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:23:32] local.INFO: GPS data processed {"connection_id":110466,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:23:32] local.INFO: Acknowledgment sent {"connection_id":110466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:23:34] local.INFO: TCP Data received {"connection_id":110289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:34] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:34] local.INFO: IMEI packet received {"connection_id":110289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":110289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:23:34] local.INFO: TCP Data received {"connection_id":110289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:34] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:34] local.INFO: IMEI packet received {"connection_id":110289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":110289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:23:39] local.INFO: TCP Data received {"connection_id":110289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:39] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:39] local.INFO: IMEI packet received {"connection_id":110289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":110289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:23:43] local.INFO: TCP Data received {"connection_id":110289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:43] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:23:43] local.INFO: IMEI packet received {"connection_id":110289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":110289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:23:44] local.INFO: TCP Data received {"connection_id":110289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e51308012d80a74005d372680002012a2a..."} 
[2026-06-23 01:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e51308012d80a74005d372680002012a2a..."} 
[2026-06-23 01:23:44] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e51308012d80a74005d372680002012a2a..."} 
[2026-06-23 01:23:44] local.INFO: Packet analysis {"connection_id":110289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:23:44] local.INFO: Extracted packet for processing {"connection_id":110289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:23:44] 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-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232366848001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321977591808,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] 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-06-23 01:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782158005000,"timestamp_ms":1782158005000,"timestamp_seconds":1782158005,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e51308"} 
[2026-06-23 01:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:23:44] 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-06-23 01: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":10,"n8_eight_byte":30,"data_length":795,"current_offset":136} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-9221732174451965439,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-8804537271509319680,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2882303765543651840,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6993854054879122048,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335832816,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57834101181142331,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-738589043945144315,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":211,"raw_value":8230328327629056000,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":119,"raw_value":-3530595242401064960,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":94,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929411586,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.WARNING: Large IO value detected {"io_id":172,"raw_value":-9221732188679044095,"note":"Value kept but may cause issues"} 
[2026-06-23 01:23:44] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,167,85,24,241,157,16,133,158,21,45,64,114,2,42,10,66,145,240,53,1,4,187,214,211,119,94,206,172],"length":524,"final_offset":654,"validated_count":29,"validation_warnings":[]} 
[2026-06-23 01:23:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144443022929559552,"timestamp_seconds":144443022929559.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232366848001,"66":2209,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176295321977591808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232366848001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321977591808,"description":"Unknown IO ID 45"} 
[2026-06-23 01:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232366848001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176295321977591808}} 
[2026-06-23 01:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":110289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:23:44] local.INFO: GPS data processed {"connection_id":110289,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:23:44] local.INFO: Acknowledgment sent {"connection_id":110289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:24:04] local.INFO: TCP Data received {"connection_id":110466,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:24:05] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e0d130012cc3308007685990005a00ee2e..."} 
[2026-06-23 01:24:05] local.INFO: Packet analysis {"connection_id":110466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:24:05] local.INFO: Extracted packet for processing {"connection_id":110466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e0"} 
[2026-06-23 01:24:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232300800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782157726000,"timestamp_ms":1782157726000,"timestamp_seconds":1782157726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e0d130"} 
[2026-06-23 01:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:24: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-06-23 01:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232300800001,"66":25158,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232300800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:24:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:24:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232300800001,"power":25158,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":110466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:24:05] local.INFO: GPS data processed {"connection_id":110466,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:24:05] local.INFO: Acknowledgment sent {"connection_id":110466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:24:15] local.INFO: TCP Data received {"connection_id":110289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e51308012d80a74005d372680002012a2a..."} 
[2026-06-23 01:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e51308012d80a74005d372680002012a2a..."} 
[2026-06-23 01:24:15] local.INFO: Processing buffer {"connection_id":110289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e51308012d80a74005d372680002012a2a..."} 
[2026-06-23 01:24:15] local.INFO: Packet analysis {"connection_id":110289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:24:15] local.INFO: Extracted packet for processing {"connection_id":110289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":42,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:24:15] 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-06-23 01:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232449280001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321977591808,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:15] 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-06-23 01:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782158005000,"timestamp_ms":1782158005000,"timestamp_seconds":1782158005,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e51308"} 
[2026-06-23 01:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:24:15] 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-06-23 01:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232449280001,"66":2209,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176295321977591808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232449280001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:24:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321977591808,"description":"Unknown IO ID 45"} 
[2026-06-23 01:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232449280001,"power":2209,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176295321977591808}} 
[2026-06-23 01:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":110289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:24:16] local.INFO: GPS data processed {"connection_id":110289,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:24:16] local.INFO: Acknowledgment sent {"connection_id":110289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:24:31] local.INFO: TCP Data received {"connection_id":111089,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:24:31] local.INFO: Processing buffer {"connection_id":111089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:24:31] local.INFO: IMEI packet received {"connection_id":111089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":111089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:24:33] local.INFO: TCP Data received {"connection_id":112022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:33] local.INFO: Processing buffer {"connection_id":112022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:33] local.INFO: IMEI packet received {"connection_id":112022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":112022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:24:34] local.INFO: TCP Data received {"connection_id":112022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:34] local.INFO: Processing buffer {"connection_id":112022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:34] local.INFO: IMEI packet received {"connection_id":112022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":112022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:24:36] local.INFO: TCP Data received {"connection_id":111089,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:24:36] local.INFO: Processing buffer {"connection_id":111089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:24:36] local.INFO: IMEI packet received {"connection_id":111089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":111089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:24:37] local.INFO: TCP Data received {"connection_id":111089,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:24:37] local.INFO: Processing buffer {"connection_id":111089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:24:37] local.INFO: Packet analysis {"connection_id":111089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:24:37] local.INFO: Extracted packet for processing {"connection_id":111089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:24:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:24:37] 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-06-23 01:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:24:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:24:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":111089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:24:37] local.INFO: GPS data processed {"connection_id":111089,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:24:37] local.INFO: Acknowledgment sent {"connection_id":111089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:24:38] local.INFO: TCP Data received {"connection_id":112022,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:38] local.INFO: Processing buffer {"connection_id":112022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:24:38] local.INFO: IMEI packet received {"connection_id":112022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":112022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:24:39] local.INFO: TCP Data received {"connection_id":112022,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e52e60012d80a74005d372680002012a2b..."} 
[2026-06-23 01:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e52e60012d80a74005d372680002012a2b..."} 
[2026-06-23 01:24:39] local.INFO: Processing buffer {"connection_id":112022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e52e60012d80a74005d372680002012a2b..."} 
[2026-06-23 01:24:39] local.INFO: Packet analysis {"connection_id":112022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:24:39] local.INFO: Extracted packet for processing {"connection_id":112022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:24:39] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97743464,"longitude_deg":76.3406144,"latitude_deg":9.7743464,"altitude":2,"angle":298,"satellites":43,"speed":0,"hex_longitude":"2d80a740","hex_latitude":"05d37268","is_valid_coordinates":true} 
[2026-06-23 01:24: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-06-23 01:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232449280001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96130112637894656,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321977591808,"note":"Value kept but may cause issues"} 
[2026-06-23 01:24: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-06-23 01:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158012000,"timestamp_ms":1782158012000,"timestamp_seconds":1782158012,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e52e60"} 
[2026-06-23 01:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:24:39] 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-06-23 01:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232449280001,"66":12798,"167":206,"85":15104,"24":0,"16":96130112637894656,"45":-9176295321977591808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232449280001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96130112637894656,"km_value":96130112637894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321977591808,"description":"Unknown IO ID 45"} 
[2026-06-23 01:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232449280001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9176295321977591808}} 
[2026-06-23 01:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":112022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:24:39] local.INFO: GPS data processed {"connection_id":112022,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:24:39] local.INFO: Acknowledgment sent {"connection_id":112022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:25:08] local.INFO: TCP Data received {"connection_id":111089,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:25:08] local.INFO: Processing buffer {"connection_id":111089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:25:08] local.INFO: Packet analysis {"connection_id":111089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:25:08] local.INFO: Extracted packet for processing {"connection_id":111089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:25:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:25:08] 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-06-23 01:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:25:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:25:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:25:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":111089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:25:08] local.INFO: GPS data processed {"connection_id":111089,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:25:08] local.INFO: Acknowledgment sent {"connection_id":111089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:25:10] local.INFO: TCP Data received {"connection_id":112022,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e67e50012d80368005d394680002012e2a..."} 
[2026-06-23 01:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e67e50012d80368005d394680002012e2a..."} 
[2026-06-23 01:25:10] local.INFO: Processing buffer {"connection_id":112022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e67e50012d80368005d394680002012e2a..."} 
[2026-06-23 01:25:10] local.INFO: Packet analysis {"connection_id":112022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:25:10] local.INFO: Extracted packet for processing {"connection_id":112022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:25:10] local.INFO: GPS Element Parsed {"raw_longitude":763377280,"raw_latitude":97752168,"longitude_deg":76.337728,"latitude_deg":9.7752168,"altitude":2,"angle":302,"satellites":42,"speed":17,"hex_longitude":"2d803680","hex_latitude":"05d39468","is_valid_coordinates":true} 
[2026-06-23 01:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232472832001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96131650236186624,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207609413134501888,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:10] 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-06-23 01:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158098000,"timestamp_ms":1782158098000,"timestamp_seconds":1782158098,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e67e50"} 
[2026-06-23 01:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 01:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 01:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232472832001,"66":12102,"167":206,"85":15104,"24":17,"16":96131650236186624,"45":-9207609413134501888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232472832001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:25:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96131650236186624,"km_value":96131650236186.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207609413134501888,"description":"Unknown IO ID 45"} 
[2026-06-23 01:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232472832001,"power":12102,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9207609413134501888}} 
[2026-06-23 01:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":112022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:25:10] local.INFO: GPS data processed {"connection_id":112022,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:25:10] local.INFO: Acknowledgment sent {"connection_id":112022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:25:25] local.INFO: TCP Data received {"connection_id":110467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:25:25] local.INFO: Processing buffer {"connection_id":110467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:25:25] local.INFO: IMEI packet received {"connection_id":110467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":110467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:25:31] local.INFO: TCP Data received {"connection_id":110467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:25:31] local.INFO: Processing buffer {"connection_id":110467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:25:31] local.INFO: IMEI packet received {"connection_id":110467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":110467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:25:32] local.INFO: TCP Data received {"connection_id":110467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:25:32] local.INFO: Processing buffer {"connection_id":110467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:25:32] local.INFO: Packet analysis {"connection_id":110467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:25:32] local.INFO: Extracted packet for processing {"connection_id":110467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:25:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:25:32] 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-06-23 01:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:25:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:25:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":110467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:25:32] local.INFO: GPS data processed {"connection_id":110467,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:25:32] local.INFO: Acknowledgment sent {"connection_id":110467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:25:33] local.INFO: TCP Data received {"connection_id":110290,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:25:33] local.INFO: Processing buffer {"connection_id":110290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:25:33] local.INFO: IMEI packet received {"connection_id":110290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":110290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:25:38] local.INFO: TCP Data received {"connection_id":110290,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:25:38] local.INFO: Processing buffer {"connection_id":110290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:25:38] local.INFO: IMEI packet received {"connection_id":110290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":110290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:25:39] local.INFO: TCP Data received {"connection_id":110290,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e68238012d80350005d39530000201212a..."} 
[2026-06-23 01:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e68238012d80350005d39530000201212a..."} 
[2026-06-23 01:25:39] local.INFO: Processing buffer {"connection_id":110290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e68238012d80350005d39530000201212a..."} 
[2026-06-23 01:25:39] local.INFO: Packet analysis {"connection_id":110290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:25:39] local.INFO: Extracted packet for processing {"connection_id":110290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763376896,"raw_latitude":97752368,"longitude_deg":76.3376896,"latitude_deg":9.7752368,"altitude":2,"angle":289,"satellites":42,"speed":17,"hex_longitude":"2d803500","hex_latitude":"05d39530","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232473088001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96131667416055808,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208031625599490048,"note":"Value kept but may cause issues"} 
[2026-06-23 01:25: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-06-23 01:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158099000,"timestamp_ms":1782158099000,"timestamp_seconds":1782158099,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e68238"} 
[2026-06-23 01:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:25: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-06-23 01: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":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:25:39] 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-06-23 01: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-06-23 01:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232473088001,"66":12102,"167":206,"85":15104,"24":17,"16":96131667416055808,"45":-9208031625599490048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232473088001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:25:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96131667416055808,"km_value":96131667416055.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208031625599490048,"description":"Unknown IO ID 45"} 
[2026-06-23 01:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232473088001,"power":12102,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9208031625599490048}} 
[2026-06-23 01:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":110290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:25:39] local.INFO: GPS data processed {"connection_id":110290,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:25:39] local.INFO: Acknowledgment sent {"connection_id":110290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:26:04] local.INFO: TCP Data received {"connection_id":110467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:26:04] local.INFO: Processing buffer {"connection_id":110467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:26:04] local.INFO: Packet analysis {"connection_id":110467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:26:04] local.INFO: Extracted packet for processing {"connection_id":110467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:26:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:26:04] 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-06-23 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:26:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:26:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":110467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:26:04] local.INFO: GPS data processed {"connection_id":110467,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:26:04] local.INFO: Acknowledgment sent {"connection_id":110467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:26:10] local.INFO: TCP Data received {"connection_id":110290,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e68620012d80334005d395a8000201162a..."} 
[2026-06-23 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e68620012d80334005d395a8000201162a..."} 
[2026-06-23 01:26:10] local.INFO: Processing buffer {"connection_id":110290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e68620012d80334005d395a8000201162a..."} 
[2026-06-23 01:26:10] local.INFO: Packet analysis {"connection_id":110290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:26:10] local.INFO: Extracted packet for processing {"connection_id":110290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":763376448,"raw_latitude":97752488,"longitude_deg":76.3376448,"latitude_deg":9.7752488,"altitude":2,"angle":278,"satellites":42,"speed":20,"hex_longitude":"2d803340","hex_latitude":"05d395a8","is_valid_coordinates":true} 
[2026-06-23 01:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232473344001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96131693185859584,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208453838064504832,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:10] 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-06-23 01:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158100000,"timestamp_ms":1782158100000,"timestamp_seconds":1782158100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e68620"} 
[2026-06-23 01:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 01:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:26:10] 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-06-23 01:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232473344001,"66":11776,"167":206,"85":15104,"24":20,"16":96131693185859584,"45":-9208453838064504832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232473344001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:26:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96131693185859584,"km_value":96131693185859.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208453838064504832,"description":"Unknown IO ID 45"} 
[2026-06-23 01:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232473344001,"power":11776,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9208453838064504832}} 
[2026-06-23 01:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":110290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:26:10] local.INFO: GPS data processed {"connection_id":110290,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:26:10] local.INFO: Acknowledgment sent {"connection_id":110290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:26:25] local.INFO: TCP Data received {"connection_id":112025,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:26:25] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:26:25] local.INFO: IMEI packet received {"connection_id":112025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":112025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:26:31] local.INFO: TCP Data received {"connection_id":112025,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:26:31] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:26:31] local.INFO: IMEI packet received {"connection_id":112025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":112025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:26:32] local.INFO: TCP Data received {"connection_id":112025,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:26:32] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:26:32] local.INFO: Packet analysis {"connection_id":112025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:26:32] local.INFO: Extracted packet for processing {"connection_id":112025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:26:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:26:32] 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-06-23 01:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:26:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:26:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:26:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":112025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:26:32] local.INFO: GPS data processed {"connection_id":112025,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:26:32] local.INFO: Acknowledgment sent {"connection_id":112025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:26:33] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:33] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:33] local.INFO: IMEI packet received {"connection_id":110468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":110468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:26:38] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:38] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:38] local.INFO: IMEI packet received {"connection_id":110468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":110468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:26:38] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:38] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:26:38] local.INFO: IMEI packet received {"connection_id":110468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":110468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:26:39] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e6b500012d800dc005d396c00003010e2c..."} 
[2026-06-23 01:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e6b500012d800dc005d396c00003010e2c..."} 
[2026-06-23 01:26:39] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e6b500012d800dc005d396c00003010e2c..."} 
[2026-06-23 01:26:39] local.INFO: Packet analysis {"connection_id":110468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:26:39] local.INFO: Extracted packet for processing {"connection_id":110468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763366848,"raw_latitude":97752768,"longitude_deg":76.3366848,"latitude_deg":9.7752768,"altitude":3,"angle":270,"satellites":44,"speed":31,"hex_longitude":"2d800dc0","hex_latitude":"05d396c0","is_valid_coordinates":true} 
[2026-06-23 01:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232473600001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96132152747360256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208946419273717760,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26: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-06-23 01:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158112000,"timestamp_ms":1782158112000,"timestamp_seconds":1782158112,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e6b500"} 
[2026-06-23 01:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:26: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-06-23 01:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2264858624,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4041625456,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151612421,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3864989697,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2253914113,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-06-23 01:26:39] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640102,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:39] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,167,85,24,241,157,16,135,158,130,45,149,2,42,10,66,126,128,148,122,1,240,113,227,211,4,205,20,87,65,32,41,239,46],"length":434,"final_offset":564,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-06-23 01:26:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144421032698314752,"timestamp_seconds":144421032698314.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232473600001,"66":12200,"167":206,"85":15104,"24":31,"16":96132152747360256,"45":-9208946419273717760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232473600001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96132152747360256,"km_value":96132152747360.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208946419273717760,"description":"Unknown IO ID 45"} 
[2026-06-23 01:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232473600001,"power":12200,"unknown_167":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9208946419273717760}} 
[2026-06-23 01:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":110468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:26:39] local.INFO: GPS data processed {"connection_id":110468,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:26:39] local.INFO: Acknowledgment sent {"connection_id":110468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:26:44] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e6ef98012d7fea0005d395f00009010b2c..."} 
[2026-06-23 01:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e6ef98012d7fea0005d395f00009010b2c..."} 
[2026-06-23 01:26:44] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e6ef98012d7fea0005d395f00009010b2c..."} 
[2026-06-23 01:26:44] local.INFO: Packet analysis {"connection_id":110468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:26:44] local.INFO: Extracted packet for processing {"connection_id":110468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e6"} 
[2026-06-23 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763357696,"raw_latitude":97752560,"longitude_deg":76.3357696,"latitude_deg":9.775256,"altitude":9,"angle":267,"satellites":44,"speed":27,"hex_longitude":"2d7fea00","hex_latitude":"05d395f0","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232476672001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96132590834024448,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9219501730900295680,"note":"Value kept but may cause issues"} 
[2026-06-23 01:26:44] 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-06-23 01:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782158127000,"timestamp_ms":1782158127000,"timestamp_seconds":1782158127,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e6ef98"} 
[2026-06-23 01:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 01: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-23 01:26:44] 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-06-23 01: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-06-23 01:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232476672001,"66":12189,"167":206,"85":15104,"24":27,"16":96132590834024448,"45":-9219501730900295680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 01:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232476672001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:26:44] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 01:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96132590834024448,"km_value":96132590834024.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9219501730900295680,"description":"Unknown IO ID 45"} 
[2026-06-23 01:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232476672001,"power":12189,"unknown_167":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9219501730900295680}} 
[2026-06-23 01:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":110468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:26:44] local.INFO: GPS data processed {"connection_id":110468,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:26:44] local.INFO: Acknowledgment sent {"connection_id":110468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:27:04] local.INFO: TCP Data received {"connection_id":112025,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:04] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:04] local.INFO: Packet analysis {"connection_id":112025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:27:04] local.INFO: Extracted packet for processing {"connection_id":112025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:27:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 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-06-23 01:27:04] 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-06-23 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:27:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:27:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":112025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:27:04] local.INFO: GPS data processed {"connection_id":112025,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:27:04] local.INFO: Acknowledgment sent {"connection_id":112025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:27:16] local.INFO: TCP Data received {"connection_id":110468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e87e08012d7f074005d331d8000100ef2c..."} 
[2026-06-23 01:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e87e08012d7f074005d331d8000100ef2c..."} 
[2026-06-23 01:27:16] local.INFO: Processing buffer {"connection_id":110468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e87e08012d7f074005d331d8000100ef2c..."} 
[2026-06-23 01:27:16] local.INFO: Packet analysis {"connection_id":110468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:27:16] local.INFO: Extracted packet for processing {"connection_id":110468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763299648,"raw_latitude":97726936,"longitude_deg":76.3299648,"latitude_deg":9.7726936,"altitude":1,"angle":239,"satellites":44,"speed":8,"hex_longitude":"2d7f0740","hex_latitude":"05d331d8","is_valid_coordinates":true} 
[2026-06-23 01:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232504320001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96135906548776960,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155325486253502464,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:16] 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-06-23 01:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782158229000,"timestamp_ms":1782158229000,"timestamp_seconds":1782158229,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e87e08"} 
[2026-06-23 01:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:27:16] 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-06-23 01:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 01:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232504320001,"66":12004,"109":206,"85":15104,"24":8,"16":96135906548776960,"45":9155325486253502464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 01:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232504320001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:27:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96135906548776960,"km_value":96135906548776.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155325486253502464,"description":"Unknown IO ID 45"} 
[2026-06-23 01:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232504320001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9155325486253502464}} 
[2026-06-23 01:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":110468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:27:16] local.INFO: GPS data processed {"connection_id":110468,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:27:16] local.INFO: Acknowledgment sent {"connection_id":110468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:27:31] local.INFO: TCP Data received {"connection_id":110291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:27:31] local.INFO: Processing buffer {"connection_id":110291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:27:31] local.INFO: IMEI packet received {"connection_id":110291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":110291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:27:34] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:34] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:34] local.INFO: IMEI packet received {"connection_id":111090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":111090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:27:36] local.INFO: TCP Data received {"connection_id":110291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:27:36] local.INFO: Processing buffer {"connection_id":110291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:27:36] local.INFO: IMEI packet received {"connection_id":110291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":110291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:27:37] local.INFO: TCP Data received {"connection_id":110291,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:37] local.INFO: Processing buffer {"connection_id":110291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:37] local.INFO: Packet analysis {"connection_id":110291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:27:37] local.INFO: Extracted packet for processing {"connection_id":110291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:27:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:27:37] 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-06-23 01:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:27:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:27:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":110291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:27:37] local.INFO: GPS data processed {"connection_id":110291,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:27:37] local.INFO: Acknowledgment sent {"connection_id":110291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:27:38] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:38] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:38] local.INFO: IMEI packet received {"connection_id":111090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":111090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:27:41] local.INFO: TCP Data received {"connection_id":110291,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:41] local.INFO: Processing buffer {"connection_id":110291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:27:41] local.INFO: Packet analysis {"connection_id":110291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:27:41] local.INFO: Extracted packet for processing {"connection_id":110291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:27:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:27:41] 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-06-23 01:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:27:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:27:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":110291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:27:41] local.INFO: GPS data processed {"connection_id":110291,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:27:41] local.INFO: Acknowledgment sent {"connection_id":110291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:27:43] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:43] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:27:43] local.INFO: IMEI packet received {"connection_id":111090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":111090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:27:44] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e885d8012d7f058005d33110000100fb2c..."} 
[2026-06-23 01:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e885d8012d7f058005d33110000100fb2c..."} 
[2026-06-23 01:27:44] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e885d8012d7f058005d33110000100fb2c..."} 
[2026-06-23 01:27:44] local.INFO: Packet analysis {"connection_id":111090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:27:44] local.INFO: Extracted packet for processing {"connection_id":111090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763299200,"raw_latitude":97726736,"longitude_deg":76.32992,"latitude_deg":9.7726736,"altitude":1,"angle":251,"satellites":44,"speed":11,"hex_longitude":"2d7f0580","hex_latitude":"05d33110","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232506624001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96135928023613440,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153355161416095744,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:44] 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-06-23 01:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782158231000,"timestamp_ms":1782158231000,"timestamp_seconds":1782158231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e885d8"} 
[2026-06-23 01:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:27: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-06-23 01:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 01:27:44] 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-06-23 01:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232506624001,"66":12069,"109":206,"85":15104,"24":11,"16":96135928023613440,"45":9153355161416095744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 01:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232506624001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:27:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96135928023613440,"km_value":96135928023613.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153355161416095744,"description":"Unknown IO ID 45"} 
[2026-06-23 01:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232506624001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9153355161416095744}} 
[2026-06-23 01:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":111090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:27:44] local.INFO: GPS data processed {"connection_id":111090,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:27:44] local.INFO: Acknowledgment sent {"connection_id":111090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:27:50] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e88da8012d7f030005d330a80001010d2c..."} 
[2026-06-23 01:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e88da8012d7f030005d330a80001010d2c..."} 
[2026-06-23 01:27:50] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e88da8012d7f030005d330a80001010d2c..."} 
[2026-06-23 01:27:50] local.INFO: Packet analysis {"connection_id":111090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:27:50] local.INFO: Extracted packet for processing {"connection_id":111090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:27:50] local.INFO: GPS Element Parsed {"raw_longitude":763298560,"raw_latitude":97726632,"longitude_deg":76.329856,"latitude_deg":9.7726632,"altitude":1,"angle":269,"satellites":44,"speed":12,"hex_longitude":"2d7f0300","hex_latitude":"05d330a8","is_valid_coordinates":true} 
[2026-06-23 01:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232507136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96135958088384512,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152862580206800896,"note":"Value kept but may cause issues"} 
[2026-06-23 01:27:50] 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-06-23 01:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782158233000,"timestamp_ms":1782158233000,"timestamp_seconds":1782158233,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e88da8"} 
[2026-06-23 01:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 01:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 01:27:50] 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-06-23 01:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232507136001,"66":12069,"109":206,"85":15104,"24":12,"16":96135958088384512,"45":9152862580206800896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 01:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232507136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:27:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:27:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96135958088384512,"km_value":96135958088384.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152862580206800896,"description":"Unknown IO ID 45"} 
[2026-06-23 01:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232507136001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9152862580206800896}} 
[2026-06-23 01:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":111090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:27:50] local.INFO: GPS data processed {"connection_id":111090,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:27:50] local.INFO: Acknowledgment sent {"connection_id":111090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:28:26] local.INFO: TCP Data received {"connection_id":112026,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:28:26] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:28:26] local.INFO: IMEI packet received {"connection_id":112026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":112026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:28:28] local.INFO: TCP Data received {"connection_id":110470,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:28:28] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:28:28] local.INFO: IMEI packet received {"connection_id":110470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":110470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:28:31] local.INFO: TCP Data received {"connection_id":112026,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:28:31] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:28:31] local.INFO: IMEI packet received {"connection_id":112026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":112026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:28:32] local.INFO: TCP Data received {"connection_id":112026,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:28:32] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:28:32] local.INFO: Packet analysis {"connection_id":112026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:28:32] local.INFO: Extracted packet for processing {"connection_id":112026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:28:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 01:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:28:32] 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-06-23 01:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:28:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:28:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":112026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:28:32] local.INFO: GPS data processed {"connection_id":112026,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:28:32] local.INFO: Acknowledgment sent {"connection_id":112026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:28:33] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:28:33] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:28:33] local.INFO: IMEI packet received {"connection_id":112027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":112027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:28:34] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:28:34] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:28:34] local.INFO: IMEI packet received {"connection_id":112027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":112027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:28:35] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e8dbc8012d7eec0005d32e08000301052b..."} 
[2026-06-23 01:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e8dbc8012d7eec0005d32e08000301052b..."} 
[2026-06-23 01:28:35] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e8dbc8012d7eec0005d32e08000301052b..."} 
[2026-06-23 01:28:35] local.INFO: Packet analysis {"connection_id":112027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:28:35] local.INFO: Extracted packet for processing {"connection_id":112027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e8"} 
[2026-06-23 01:28:35] local.INFO: GPS Element Parsed {"raw_longitude":763292672,"raw_latitude":97725960,"longitude_deg":76.3292672,"latitude_deg":9.772596,"altitude":3,"angle":261,"satellites":43,"speed":16,"hex_longitude":"2d7eec00","hex_latitude":"05d32e08","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232507648001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96136241556226048,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152158892764997632,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28: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-06-23 01:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782158253000,"timestamp_ms":1782158253000,"timestamp_seconds":1782158253,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e8dbc8"} 
[2026-06-23 01:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:28:35] 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-06-23 01: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 01:28:35] 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-06-23 01: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-06-23 01:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232507648001,"66":11852,"109":206,"85":15104,"24":16,"16":96136241556226048,"45":9152158892764997632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 01:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232507648001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:28:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96136241556226048,"km_value":96136241556226.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152158892764997632,"description":"Unknown IO ID 45"} 
[2026-06-23 01:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232507648001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9152158892764997632}} 
[2026-06-23 01:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":112027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:28:35] local.INFO: GPS data processed {"connection_id":112027,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:28:35] local.INFO: Acknowledgment sent {"connection_id":112027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:28:39] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e92dd0012d7ecc8005d32648000700fd2c..."} 
[2026-06-23 01:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e92dd0012d7ecc8005d32648000700fd2c..."} 
[2026-06-23 01:28:39] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e92dd0012d7ecc8005d32648000700fd2c..."} 
[2026-06-23 01:28:39] local.INFO: Packet analysis {"connection_id":112027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e9"} 
[2026-06-23 01:28:39] local.INFO: Extracted packet for processing {"connection_id":112027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e9"} 
[2026-06-23 01:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763284608,"raw_latitude":97723976,"longitude_deg":76.3284608,"latitude_deg":9.7723976,"altitude":7,"angle":253,"satellites":44,"speed":17,"hex_longitude":"2d7ecc80","hex_latitude":"05d32648","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232512768001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96136640988184576,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145684968300480512,"note":"Value kept but may cause issues"} 
[2026-06-23 01:28: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-06-23 01:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158274000,"timestamp_ms":1782158274000,"timestamp_seconds":1782158274,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e92dd0"} 
[2026-06-23 01:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:28: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-06-23 01: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 01:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232512768001,"66":12015,"109":206,"85":15104,"24":17,"16":96136640988184576,"45":9145684968300480512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 01:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232512768001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:28:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96136640988184576,"km_value":96136640988184.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145684968300480512,"description":"Unknown IO ID 45"} 
[2026-06-23 01:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232512768001,"power":12015,"unknown_109":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9145684968300480512}} 
[2026-06-23 01:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":112027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:28:39] local.INFO: GPS data processed {"connection_id":112027,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:28:39] local.INFO: Acknowledgment sent {"connection_id":112027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:29:04] local.INFO: TCP Data received {"connection_id":112026,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:29:04] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e568f8012cc3308007685990005a00ee29..."} 
[2026-06-23 01:29:04] local.INFO: Packet analysis {"connection_id":112026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:29:04] local.INFO: Extracted packet for processing {"connection_id":112026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e5"} 
[2026-06-23 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232377856001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158027000,"timestamp_ms":1782158027000,"timestamp_seconds":1782158027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e568f8"} 
[2026-06-23 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-06-23 01:29:04] 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-06-23 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 01:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232377856001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232377856001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:29:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:29:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232377856001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":112026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:29:04] local.INFO: GPS data processed {"connection_id":112026,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:29:04] local.INFO: Acknowledgment sent {"connection_id":112026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:29:08] local.INFO: TCP Data received {"connection_id":111091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:29:08] local.INFO: Processing buffer {"connection_id":111091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:29:08] local.INFO: IMEI packet received {"connection_id":111091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":111091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:29:10] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0e97fd8012d7eaa0005d31f28000500ff28..."} 
[2026-06-23 01:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0e97fd8012d7eaa0005d31f28000500ff28..."} 
[2026-06-23 01:29:10] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0e97fd8012d7eaa0005d31f28000500ff28..."} 
[2026-06-23 01:29:10] local.INFO: Packet analysis {"connection_id":112027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0e9"} 
[2026-06-23 01:29:10] local.INFO: Extracted packet for processing {"connection_id":112027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0e9"} 
[2026-06-23 01:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":97722152,"longitude_deg":76.3275776,"latitude_deg":9.7722152,"altitude":5,"angle":255,"satellites":40,"speed":16,"hex_longitude":"2d7eaa00","hex_latitude":"05d31f28","is_valid_coordinates":true} 
[2026-06-23 01:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232518144001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96137074779881472,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136818506533586944,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29: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-06-23 01:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158295000,"timestamp_ms":1782158295000,"timestamp_seconds":1782158295,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0e97fd8"} 
[2026-06-23 01:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:29:10] 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-06-23 01:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 01:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232518144001,"66":12156,"109":206,"85":15104,"24":16,"16":96137074779881472,"45":9136818506533586944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 01:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232518144001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:29:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96137074779881472,"km_value":96137074779881.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136818506533586944,"description":"Unknown IO ID 45"} 
[2026-06-23 01:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232518144001,"power":12156,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9136818506533586944}} 
[2026-06-23 01:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":112027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:29:10] local.INFO: GPS data processed {"connection_id":112027,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:29:10] local.INFO: Acknowledgment sent {"connection_id":112027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:29:25] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:25] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:25] local.INFO: IMEI packet received {"connection_id":110471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":110471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:29:26] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:26] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:26] local.INFO: IMEI packet received {"connection_id":110471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":110471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:29:30] local.INFO: TCP Data received {"connection_id":110292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:30] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:30] local.INFO: IMEI packet received {"connection_id":110292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":110292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:29:31] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:31] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:29:31] local.INFO: IMEI packet received {"connection_id":110471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":110471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:29:32] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:29:32] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:29:32] local.INFO: Packet analysis {"connection_id":110471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:29:32] local.INFO: Extracted packet for processing {"connection_id":110471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:29:32] 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-06-23 01:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:29:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":110471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:29:32] local.INFO: GPS data processed {"connection_id":110471,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:29:32] local.INFO: Acknowledgment sent {"connection_id":110471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:29:32] local.INFO: TCP Data received {"connection_id":110292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:32] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:32] local.INFO: IMEI packet received {"connection_id":110292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":110292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:29:33] local.INFO: TCP Data received {"connection_id":110292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:33] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:33] local.INFO: IMEI packet received {"connection_id":110292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":110292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:29:34] local.INFO: TCP Data received {"connection_id":110292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:34] local.INFO: Processing buffer {"connection_id":110292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:29:34] local.INFO: IMEI packet received {"connection_id":110292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":110292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:30:04] local.INFO: TCP Data received {"connection_id":110471,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:04] local.INFO: Processing buffer {"connection_id":110471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:04] local.INFO: Packet analysis {"connection_id":110471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:30:04] local.INFO: Extracted packet for processing {"connection_id":110471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:30:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 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-06-23 01:30:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:30:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:30:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:30:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":110471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:30:04] local.INFO: GPS data processed {"connection_id":110471,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:30:04] local.INFO: Acknowledgment sent {"connection_id":110471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:30:31] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:30:31] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:30:31] local.INFO: IMEI packet received {"connection_id":111092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":111092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:30:36] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:30:36] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:30:36] local.INFO: IMEI packet received {"connection_id":111092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":111092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:30:37] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:37] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:37] local.INFO: Packet analysis {"connection_id":111092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:30:37] local.INFO: Extracted packet for processing {"connection_id":111092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:30:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:30:37] 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-06-23 01:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:30:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:30:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":111092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:30:37] local.INFO: GPS data processed {"connection_id":111092,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:30:37] local.INFO: Acknowledgment sent {"connection_id":111092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:30:41] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:41] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:30:41] local.INFO: Packet analysis {"connection_id":111092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:30:41] local.INFO: Extracted packet for processing {"connection_id":111092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:30:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:30:41] 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-06-23 01:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:30:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":111092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:30:41] local.INFO: GPS data processed {"connection_id":111092,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:30:41] local.INFO: Acknowledgment sent {"connection_id":111092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:31:26] local.INFO: TCP Data received {"connection_id":111093,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:31:26] local.INFO: Processing buffer {"connection_id":111093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:31:26] local.INFO: IMEI packet received {"connection_id":111093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":111093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:31:30] local.INFO: TCP Data received {"connection_id":111093,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:31:30] local.INFO: Processing buffer {"connection_id":111093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:31:30] local.INFO: IMEI packet received {"connection_id":111093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":111093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:31:31] local.INFO: TCP Data received {"connection_id":111093,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:31:31] local.INFO: Processing buffer {"connection_id":111093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:31:31] local.INFO: Packet analysis {"connection_id":111093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:31:31] local.INFO: Extracted packet for processing {"connection_id":111093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:31:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:31:31] 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-06-23 01:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:31:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:31:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":111093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:31:32] local.INFO: GPS data processed {"connection_id":111093,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:31:32] local.INFO: Acknowledgment sent {"connection_id":111093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:32:04] local.INFO: TCP Data received {"connection_id":111093,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:04] local.INFO: Processing buffer {"connection_id":111093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:04] local.INFO: Packet analysis {"connection_id":111093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:32:04] local.INFO: Extracted packet for processing {"connection_id":111093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 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-06-23 01:32:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:32:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:32:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":111093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:32:04] local.INFO: GPS data processed {"connection_id":111093,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:32:04] local.INFO: Acknowledgment sent {"connection_id":111093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:32:28] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:32:28] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:32:28] local.INFO: IMEI packet received {"connection_id":112028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":112028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:32:30] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:32:30] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:32:30] local.INFO: IMEI packet received {"connection_id":112028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":112028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:32:32] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:32] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:32] local.INFO: Packet analysis {"connection_id":112028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:32:32] local.INFO: Extracted packet for processing {"connection_id":112028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:32:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:32:32] 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-06-23 01:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:32:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:32:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":112028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:32:32] local.INFO: GPS data processed {"connection_id":112028,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:32:32] local.INFO: Acknowledgment sent {"connection_id":112028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:32:36] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:36] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:32:36] local.INFO: Packet analysis {"connection_id":112028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:32:36] local.INFO: Extracted packet for processing {"connection_id":112028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:32:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:32:36] 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-06-23 01:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:32:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:32:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":112028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:32:36] local.INFO: GPS data processed {"connection_id":112028,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:32:36] local.INFO: Acknowledgment sent {"connection_id":112028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:33:08] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:33:08] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:33:08] local.INFO: Packet analysis {"connection_id":112028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:33:08] local.INFO: Extracted packet for processing {"connection_id":112028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:33:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:33:08] 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-06-23 01:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:33:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:33:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":112028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:33:08] local.INFO: GPS data processed {"connection_id":112028,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:33:08] local.INFO: Acknowledgment sent {"connection_id":112028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:33:25] local.INFO: TCP Data received {"connection_id":110472,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:33:25] local.INFO: Processing buffer {"connection_id":110472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:33:25] local.INFO: IMEI packet received {"connection_id":110472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":110472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:33:31] local.INFO: TCP Data received {"connection_id":110472,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:33:31] local.INFO: Processing buffer {"connection_id":110472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:33:31] local.INFO: IMEI packet received {"connection_id":110472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":110472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:33:32] local.INFO: TCP Data received {"connection_id":110472,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:33:32] local.INFO: Processing buffer {"connection_id":110472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:33:32] local.INFO: Packet analysis {"connection_id":110472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:33:32] local.INFO: Extracted packet for processing {"connection_id":110472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:33:32] 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-06-23 01:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:33:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":110472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:33:32] local.INFO: GPS data processed {"connection_id":110472,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:33:32] local.INFO: Acknowledgment sent {"connection_id":110472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:34:04] local.INFO: TCP Data received {"connection_id":110472,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:34:04] local.INFO: Processing buffer {"connection_id":110472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ea00c0012cc3308007685990005a00ee2a..."} 
[2026-06-23 01:34:04] local.INFO: Packet analysis {"connection_id":110472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:34:04] local.INFO: Extracted packet for processing {"connection_id":110472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ea"} 
[2026-06-23 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232454912001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158328000,"timestamp_ms":1782158328000,"timestamp_seconds":1782158328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ea00c0"} 
[2026-06-23 01:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:34:04] 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-06-23 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 01:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232454912001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232454912001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:34:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:34:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232454912001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":110472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:34:04] local.INFO: GPS data processed {"connection_id":110472,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:34:04] local.INFO: Acknowledgment sent {"connection_id":110472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:34:25] local.INFO: TCP Data received {"connection_id":110474,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:25] local.INFO: Processing buffer {"connection_id":110474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:25] local.INFO: IMEI packet received {"connection_id":110474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":110474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:34:27] local.INFO: TCP Data received {"connection_id":110474,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:27] local.INFO: Processing buffer {"connection_id":110474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:27] local.INFO: IMEI packet received {"connection_id":110474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":110474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:34:32] local.INFO: TCP Data received {"connection_id":110474,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:32] local.INFO: Processing buffer {"connection_id":110474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:34:32] local.INFO: IMEI packet received {"connection_id":110474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":110474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:34:33] local.INFO: TCP Data received {"connection_id":112030,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:34:33] local.INFO: Processing buffer {"connection_id":112030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:34:33] local.INFO: IMEI packet received {"connection_id":112030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":112030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:34:34] local.INFO: TCP Data received {"connection_id":110474,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:34:34] local.INFO: Processing buffer {"connection_id":110474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:34:34] local.INFO: Packet analysis {"connection_id":110474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:34:34] local.INFO: Extracted packet for processing {"connection_id":110474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:34:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:34: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-06-23 01:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:34:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:34:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":110474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:34:34] local.INFO: GPS data processed {"connection_id":110474,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:34:34] local.INFO: Acknowledgment sent {"connection_id":110474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:34:38] local.INFO: TCP Data received {"connection_id":110299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:34:38] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:34:38] local.INFO: IMEI packet received {"connection_id":110299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":110299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:34:39] local.INFO: TCP Data received {"connection_id":110299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ebf8a8012d7e37c005d34f200005003f2a..."} 
[2026-06-23 01:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ebf8a8012d7e37c005d34f200005003f2a..."} 
[2026-06-23 01:34:39] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ebf8a8012d7e37c005d34f200005003f2a..."} 
[2026-06-23 01:34:39] local.INFO: Packet analysis {"connection_id":110299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0eb"} 
[2026-06-23 01:34:39] local.INFO: Extracted packet for processing {"connection_id":110299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0eb"} 
[2026-06-23 01:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734432,"longitude_deg":76.3246528,"latitude_deg":9.7734432,"altitude":5,"angle":63,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34f20","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232559872001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139772019343360,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947471458304,"note":"Value kept but may cause issues"} 
[2026-06-23 01:34: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-06-23 01:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158457000,"timestamp_ms":1782158457000,"timestamp_seconds":1782158457,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ebf8a8"} 
[2026-06-23 01:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:34: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-06-23 01: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-23 01:34:39] 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-06-23 01: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-06-23 01:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:34:39] 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-06-23 01:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232559872001,"66":11776,"109":206,"85":15104,"24":0,"16":96139772019343360,"45":9095300947471458304},"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-06-23 01:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232559872001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:34:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139772019343360,"km_value":96139772019343.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947471458304,"description":"Unknown IO ID 45"} 
[2026-06-23 01:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232559872001,"power":11776,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095300947471458304}} 
[2026-06-23 01:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":110299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:34:39] local.INFO: GPS data processed {"connection_id":110299,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:34:39] local.INFO: Acknowledgment sent {"connection_id":110299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:35:06] local.INFO: TCP Data received {"connection_id":110474,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:06] local.INFO: Processing buffer {"connection_id":110474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:06] local.INFO: Packet analysis {"connection_id":110474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:35:06] local.INFO: Extracted packet for processing {"connection_id":110474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:35:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:35: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-06-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:35:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:35:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":110474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:35:06] local.INFO: GPS data processed {"connection_id":110474,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:35:06] local.INFO: Acknowledgment sent {"connection_id":110474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:35:08] local.INFO: TCP Data received {"connection_id":112031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:35:08] local.INFO: Processing buffer {"connection_id":112031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:35:08] local.INFO: IMEI packet received {"connection_id":112031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":112031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:35:10] local.INFO: TCP Data received {"connection_id":110299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:35:10] local.INFO: Processing buffer {"connection_id":110299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:35:10] local.INFO: Packet analysis {"connection_id":110299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ec"} 
[2026-06-23 01:35:10] local.INFO: Extracted packet for processing {"connection_id":110299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ec"} 
[2026-06-23 01:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734136,"longitude_deg":76.3246528,"latitude_deg":9.7734136,"altitude":4,"angle":63,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 01:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232564992001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750553600,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35: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-06-23 01:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158468000,"timestamp_ms":1782158468000,"timestamp_seconds":1782158468,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ec23a0"} 
[2026-06-23 01:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:35: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-06-23 01:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2390425600,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4041959456,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3952797697,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-23 01:35:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,170,45,79,7,43,10,66,162,128,78,6,1,240,54,227,211,4,113,205,8,131,50,48,239,46,2],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-23 01:35:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360357419810816000,"timestamp_seconds":360357419810816,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:35:10] 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-06-23 01:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232564992001,"66":13135,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750553600},"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-06-23 01:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232564992001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:35:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750553600,"description":"Unknown IO ID 45"} 
[2026-06-23 01:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232564992001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750553600}} 
[2026-06-23 01:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":110299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:35:10] local.INFO: GPS data processed {"connection_id":110299,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:35:10] local.INFO: Acknowledgment sent {"connection_id":110299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:35:33] local.INFO: TCP Data received {"connection_id":112033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:35:33] local.INFO: Processing buffer {"connection_id":112033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:35:33] local.INFO: IMEI packet received {"connection_id":112033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":112033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:35:36] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:35:36] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:35:36] local.INFO: IMEI packet received {"connection_id":112032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":112032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:35:38] local.INFO: TCP Data received {"connection_id":112033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:35:38] local.INFO: Processing buffer {"connection_id":112033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:35:38] local.INFO: IMEI packet received {"connection_id":112033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":112033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:35:39] local.INFO: TCP Data received {"connection_id":112033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:35:39] local.INFO: Processing buffer {"connection_id":112033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:35:39] local.INFO: Packet analysis {"connection_id":112033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ec"} 
[2026-06-23 01:35:39] local.INFO: Extracted packet for processing {"connection_id":112033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ec"} 
[2026-06-23 01:35:39] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734136,"longitude_deg":76.3246528,"latitude_deg":9.7734136,"altitude":4,"angle":63,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 01:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35: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-06-23 01:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158468000,"timestamp_ms":1782158468000,"timestamp_seconds":1782158468,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ec23a0"} 
[2026-06-23 01:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:35:39] 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-06-23 01:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:35:39] 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-06-23 01:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":13135,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":112033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:35:39] local.INFO: GPS data processed {"connection_id":112033,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:35:39] local.INFO: Acknowledgment sent {"connection_id":112033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:35:41] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:35:41] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:35:41] local.INFO: IMEI packet received {"connection_id":112032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":112032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:35:42] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:42] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:42] local.INFO: Packet analysis {"connection_id":112032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:35:42] local.INFO: Extracted packet for processing {"connection_id":112032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:35:42] 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-06-23 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:35:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:35:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":112032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:35:42] local.INFO: GPS data processed {"connection_id":112032,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:35:42] local.INFO: Acknowledgment sent {"connection_id":112032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:35:46] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:46] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:35:46] local.INFO: Packet analysis {"connection_id":112032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:35:46] local.INFO: Extracted packet for processing {"connection_id":112032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:35:46] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:35:46] 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-06-23 01:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:35:46] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:35:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":112032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:35:46] local.INFO: GPS data processed {"connection_id":112032,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:35:46] local.INFO: Acknowledgment sent {"connection_id":112032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:36:10] local.INFO: TCP Data received {"connection_id":112033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:36:10] local.INFO: Processing buffer {"connection_id":112033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ec23a0012d7e37c005d34df80004003f2a..."} 
[2026-06-23 01:36:10] local.INFO: Packet analysis {"connection_id":112033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ec"} 
[2026-06-23 01:36:10] local.INFO: Extracted packet for processing {"connection_id":112033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ec"} 
[2026-06-23 01:36:10] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734136,"longitude_deg":76.3246528,"latitude_deg":9.7734136,"altitude":4,"angle":63,"satellites":42,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 01:36: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-06-23 01:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36: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-06-23 01:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158468000,"timestamp_ms":1782158468000,"timestamp_seconds":1782158468,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ec23a0"} 
[2026-06-23 01:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:36:10] 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-06-23 01:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:36:10] 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-06-23 01:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":13135,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":112033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:36:10] local.INFO: GPS data processed {"connection_id":112033,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:36:10] local.INFO: Acknowledgment sent {"connection_id":112033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:36:26] local.INFO: TCP Data received {"connection_id":110301,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:36:26] local.INFO: Processing buffer {"connection_id":110301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:36:26] local.INFO: IMEI packet received {"connection_id":110301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":110301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:36:31] local.INFO: TCP Data received {"connection_id":110301,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:36:31] local.INFO: Processing buffer {"connection_id":110301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:36:31] local.INFO: IMEI packet received {"connection_id":110301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":110301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:36:32] local.INFO: TCP Data received {"connection_id":110301,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:36:32] local.INFO: Processing buffer {"connection_id":110301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:36:32] local.INFO: Packet analysis {"connection_id":110301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:36:32] local.INFO: Extracted packet for processing {"connection_id":110301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:36:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:36:32] 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-06-23 01:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:36: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-06-23 01:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:36:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:36:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":110301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:36:32] local.INFO: GPS data processed {"connection_id":110301,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:36:32] local.INFO: Acknowledgment sent {"connection_id":110301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:36:33] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:36:33] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:36:33] local.INFO: IMEI packet received {"connection_id":111094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":111094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:36:38] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:36:38] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:36:38] local.INFO: IMEI packet received {"connection_id":111094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":111094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:36:39] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:36:39] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:36:39] local.INFO: Packet analysis {"connection_id":111094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:36:39] local.INFO: Extracted packet for processing {"connection_id":111094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:36: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-06-23 01:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:36:39] 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-06-23 01:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:36:39] 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-06-23 01:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":111094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:36:39] local.INFO: GPS data processed {"connection_id":111094,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:36:39] local.INFO: Acknowledgment sent {"connection_id":111094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:37:04] local.INFO: TCP Data received {"connection_id":110301,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:37:04] local.INFO: Processing buffer {"connection_id":110301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:37:04] local.INFO: Packet analysis {"connection_id":110301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:37:04] local.INFO: Extracted packet for processing {"connection_id":110301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:37:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:37:04] 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-06-23 01:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:37: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-06-23 01: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-06-23 01:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:37:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:37:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":110301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:37:04] local.INFO: GPS data processed {"connection_id":110301,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:37:04] local.INFO: Acknowledgment sent {"connection_id":110301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:37:10] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:37:10] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:37:10] local.INFO: Packet analysis {"connection_id":111094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:37:10] local.INFO: Extracted packet for processing {"connection_id":111094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37: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-06-23 01:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:37:10] 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-06-23 01:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:37:10] 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-06-23 01:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":111094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:37:10] local.INFO: GPS data processed {"connection_id":111094,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:37:10] local.INFO: Acknowledgment sent {"connection_id":111094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:37:25] local.INFO: TCP Data received {"connection_id":112034,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:37:25] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:37:25] local.INFO: IMEI packet received {"connection_id":112034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":112034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:37:31] local.INFO: TCP Data received {"connection_id":112034,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:37:31] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:37:31] local.INFO: IMEI packet received {"connection_id":112034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":112034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:37:33] local.INFO: TCP Data received {"connection_id":112034,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:37:33] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:37:33] local.INFO: Packet analysis {"connection_id":112034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:37:33] local.INFO: Extracted packet for processing {"connection_id":112034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:37:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 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-06-23 01:37:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:37:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:37:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:37:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":112034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:37:33] local.INFO: GPS data processed {"connection_id":112034,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:37:33] local.INFO: Acknowledgment sent {"connection_id":112034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:37:33] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:37:33] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:37:33] local.INFO: IMEI packet received {"connection_id":110476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":110476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:37:38] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:37:38] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:37:38] local.INFO: IMEI packet received {"connection_id":110476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":110476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:37:39] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:37:39] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:37:39] local.INFO: Packet analysis {"connection_id":110476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:37:39] local.INFO: Extracted packet for processing {"connection_id":110476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:37: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-06-23 01:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:37:39] 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-06-23 01:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:37:39] 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-06-23 01:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:37:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":110476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:37:39] local.INFO: GPS data processed {"connection_id":110476,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:37:39] local.INFO: Acknowledgment sent {"connection_id":110476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:38:05] local.INFO: TCP Data received {"connection_id":112034,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:38:05] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:38:05] local.INFO: Packet analysis {"connection_id":112034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:38:05] local.INFO: Extracted packet for processing {"connection_id":112034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:38:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 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-06-23 01:38: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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:38:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:38:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":112034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:38:05] local.INFO: GPS data processed {"connection_id":112034,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:38:05] local.INFO: Acknowledgment sent {"connection_id":112034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:38:10] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:38:10] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:38:10] local.INFO: Packet analysis {"connection_id":110476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:38:10] local.INFO: Extracted packet for processing {"connection_id":110476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38: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-06-23 01:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:38:10] 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-06-23 01:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:38:10] 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-06-23 01:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:38:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":110476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:38:10] local.INFO: GPS data processed {"connection_id":110476,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:38:10] local.INFO: Acknowledgment sent {"connection_id":110476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:38:25] local.INFO: TCP Data received {"connection_id":112035,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:38:25] local.INFO: Processing buffer {"connection_id":112035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:38:25] local.INFO: IMEI packet received {"connection_id":112035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":112035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:38:31] local.INFO: TCP Data received {"connection_id":112035,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:38:31] local.INFO: Processing buffer {"connection_id":112035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:38:31] local.INFO: IMEI packet received {"connection_id":112035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":112035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:38:32] local.INFO: TCP Data received {"connection_id":112035,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:38:32] local.INFO: Processing buffer {"connection_id":112035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:38:32] local.INFO: Packet analysis {"connection_id":112035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:38:32] local.INFO: Extracted packet for processing {"connection_id":112035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:38:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 01:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:38:32] 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-06-23 01:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:38: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-06-23 01: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-06-23 01:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:38:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:38:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:38:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":112035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:38:32] local.INFO: GPS data processed {"connection_id":112035,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:38:32] local.INFO: Acknowledgment sent {"connection_id":112035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:38:33] local.INFO: TCP Data received {"connection_id":110303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:38:33] local.INFO: Processing buffer {"connection_id":110303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:38:33] local.INFO: IMEI packet received {"connection_id":110303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":110303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:38:38] local.INFO: TCP Data received {"connection_id":110303,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:38:38] local.INFO: Processing buffer {"connection_id":110303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:38:38] local.INFO: IMEI packet received {"connection_id":110303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":110303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:38:39] local.INFO: TCP Data received {"connection_id":110303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:38:39] local.INFO: Processing buffer {"connection_id":110303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:38:39] local.INFO: Packet analysis {"connection_id":110303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:38:39] local.INFO: Extracted packet for processing {"connection_id":110303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:38: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-06-23 01:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:38:39] 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-06-23 01: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-06-23 01:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:38:39] 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-06-23 01:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":110303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:38:39] local.INFO: GPS data processed {"connection_id":110303,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:38:39] local.INFO: Acknowledgment sent {"connection_id":110303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:39:04] local.INFO: TCP Data received {"connection_id":112035,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:04] local.INFO: Processing buffer {"connection_id":112035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0ee9888012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:04] local.INFO: Packet analysis {"connection_id":112035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:39:04] local.INFO: Extracted packet for processing {"connection_id":112035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0ee"} 
[2026-06-23 01:39:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158629000,"timestamp_ms":1782158629000,"timestamp_seconds":1782158629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0ee9888"} 
[2026-06-23 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-06-23 01:39:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:39: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-06-23 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-06-23 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-06-23 01:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232531968001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 01:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:39:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 01:39:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232531968001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":112035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:39:04] local.INFO: GPS data processed {"connection_id":112035,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:39:04] local.INFO: Acknowledgment sent {"connection_id":112035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:39:10] local.INFO: TCP Data received {"connection_id":110303,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:39:10] local.INFO: Processing buffer {"connection_id":110303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:39:10] local.INFO: Packet analysis {"connection_id":110303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:39:10] local.INFO: Extracted packet for processing {"connection_id":110303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:39:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39: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-06-23 01:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:39:10] 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-06-23 01:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:39:10] 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-06-23 01:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":110303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:39:10] local.INFO: GPS data processed {"connection_id":110303,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:39:10] local.INFO: Acknowledgment sent {"connection_id":110303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:39:28] local.INFO: TCP Data received {"connection_id":110305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:28] local.INFO: Processing buffer {"connection_id":110305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:28] local.INFO: IMEI packet received {"connection_id":110305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":110305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:39:30] local.INFO: TCP Data received {"connection_id":110305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:30] local.INFO: Processing buffer {"connection_id":110305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:30] local.INFO: IMEI packet received {"connection_id":110305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":110305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:39:33] local.INFO: TCP Data received {"connection_id":112036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:39:33] local.INFO: Processing buffer {"connection_id":112036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:39:33] local.INFO: IMEI packet received {"connection_id":112036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":112036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:39:36] local.INFO: TCP Data received {"connection_id":110305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:36] local.INFO: Processing buffer {"connection_id":110305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:39:36] local.INFO: IMEI packet received {"connection_id":110305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":110305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:39:37] local.INFO: TCP Data received {"connection_id":110305,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:37] local.INFO: Processing buffer {"connection_id":110305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:37] local.INFO: Packet analysis {"connection_id":110305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:39:37] local.INFO: Extracted packet for processing {"connection_id":110305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:39:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:39:37] 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-06-23 01:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:39:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:39:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":110305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:39:37] local.INFO: GPS data processed {"connection_id":110305,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:39:37] local.INFO: Acknowledgment sent {"connection_id":110305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:39:38] local.INFO: TCP Data received {"connection_id":112036,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:39:38] local.INFO: Processing buffer {"connection_id":112036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:39:38] local.INFO: IMEI packet received {"connection_id":112036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":112036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:39:39] local.INFO: TCP Data received {"connection_id":112036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:39:39] local.INFO: Processing buffer {"connection_id":112036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:39:39] local.INFO: Packet analysis {"connection_id":112036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:39:39] local.INFO: Extracted packet for processing {"connection_id":112036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39: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-06-23 01:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:39:39] 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-06-23 01:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:39:39] 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-06-23 01:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":112036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:39:39] local.INFO: GPS data processed {"connection_id":112036,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:39:39] local.INFO: Acknowledgment sent {"connection_id":112036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:39:42] local.INFO: TCP Data received {"connection_id":110305,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:42] local.INFO: Processing buffer {"connection_id":110305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:39:42] local.INFO: Packet analysis {"connection_id":110305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:39:42] local.INFO: Extracted packet for processing {"connection_id":110305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:39:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:39:42] 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-06-23 01:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:39:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:39:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":110305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:39:42] local.INFO: GPS data processed {"connection_id":110305,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:39:42] local.INFO: Acknowledgment sent {"connection_id":110305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:40:09] local.INFO: TCP Data received {"connection_id":112036,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:40:09] local.INFO: Processing buffer {"connection_id":112036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:40:09] local.INFO: Packet analysis {"connection_id":112036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:40:09] local.INFO: Extracted packet for processing {"connection_id":112036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40: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-06-23 01:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:40: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-06-23 01:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":112036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":112036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":112036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:40: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-06-23 01:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:40:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":112036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:40:09] local.INFO: GPS data processed {"connection_id":112036,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:40:09] local.INFO: Acknowledgment sent {"connection_id":112036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:40:25] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:40:25] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:40:25] local.INFO: IMEI packet received {"connection_id":110477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":110477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:40:31] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:40:31] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:40:31] local.INFO: IMEI packet received {"connection_id":110477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":110477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:40:32] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:40:32] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:40:32] local.INFO: Packet analysis {"connection_id":110477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:40:32] local.INFO: Extracted packet for processing {"connection_id":110477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:40:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:40:32] 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-06-23 01:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:40: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-06-23 01: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-06-23 01:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:40:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:40:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":110477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:40:32] local.INFO: GPS data processed {"connection_id":110477,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:40:32] local.INFO: Acknowledgment sent {"connection_id":110477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:40:33] local.INFO: TCP Data received {"connection_id":110478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:40:33] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:40:33] local.INFO: IMEI packet received {"connection_id":110478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":110478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:40:38] local.INFO: TCP Data received {"connection_id":110478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:40:38] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:40:38] local.INFO: IMEI packet received {"connection_id":110478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":110478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:40:38] local.INFO: TCP Data received {"connection_id":112037,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:40:38] local.INFO: Processing buffer {"connection_id":112037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:40:38] local.INFO: IMEI packet received {"connection_id":112037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":112037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:40:39] local.INFO: TCP Data received {"connection_id":110478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:40:39] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f0c720012d7e394005d34de80004003f29..."} 
[2026-06-23 01:40:39] local.INFO: Packet analysis {"connection_id":110478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:40:39] local.INFO: Extracted packet for processing {"connection_id":110478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f0"} 
[2026-06-23 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232567808001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103750477824,"note":"Value kept but may cause issues"} 
[2026-06-23 01:40: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-06-23 01:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782158772000,"timestamp_ms":1782158772000,"timestamp_seconds":1782158772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f0c720"} 
[2026-06-23 01:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 01:40:39] 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-06-23 01:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:40:39] 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-06-23 01:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232567808001,"66":12885,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9094949103750477824},"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-06-23 01:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232567808001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103750477824,"description":"Unknown IO ID 45"} 
[2026-06-23 01:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232567808001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094949103750477824}} 
[2026-06-23 01:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":110478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:40:39] local.INFO: GPS data processed {"connection_id":110478,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:40:39] local.INFO: Acknowledgment sent {"connection_id":110478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:41:04] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:04] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:04] local.INFO: Packet analysis {"connection_id":110477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:41:04] local.INFO: Extracted packet for processing {"connection_id":110477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:41:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:41:04] 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-06-23 01:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:41: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-06-23 01: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-06-23 01:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:41:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:41:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:41:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":110477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:41:04] local.INFO: GPS data processed {"connection_id":110477,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:41:04] local.INFO: Acknowledgment sent {"connection_id":110477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:41:08] local.INFO: TCP Data received {"connection_id":112038,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:41:08] local.INFO: Processing buffer {"connection_id":112038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:41:08] local.INFO: IMEI packet received {"connection_id":112038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":112038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:41:09] local.INFO: TCP Data received {"connection_id":110478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f54778012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f54778012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:41:10] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f54778012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:41:10] local.INFO: Packet analysis {"connection_id":110478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:41:10] local.INFO: Extracted packet for processing {"connection_id":110478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:41:10] 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-06-23 01:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232645632001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41: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-06-23 01:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159067000,"timestamp_ms":1782159067000,"timestamp_seconds":1782159067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f54778"} 
[2026-06-23 01:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 01:41:10] 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-06-23 01: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-06-23 01:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:41:10] 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-06-23 01:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232645632001,"66":12798,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232645632001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:41:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232645632001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":110478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:41:10] local.INFO: GPS data processed {"connection_id":110478,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:41:10] local.INFO: Acknowledgment sent {"connection_id":110478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:41:31] local.INFO: TCP Data received {"connection_id":112039,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:41:31] local.INFO: Processing buffer {"connection_id":112039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:41:31] local.INFO: IMEI packet received {"connection_id":112039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":112039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:41:33] local.INFO: TCP Data received {"connection_id":112040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:41:33] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:41:33] local.INFO: IMEI packet received {"connection_id":112040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":112040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:41:38] local.INFO: TCP Data received {"connection_id":112040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:41:38] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:41:38] local.INFO: IMEI packet received {"connection_id":112040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":112040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:41:39] local.INFO: TCP Data received {"connection_id":112039,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:41:39] local.INFO: Processing buffer {"connection_id":112039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:41:39] local.INFO: IMEI packet received {"connection_id":112039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":112039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:41:39] local.INFO: TCP Data received {"connection_id":112040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f54778012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f54778012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:41:39] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f54778012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:41:39] local.INFO: Packet analysis {"connection_id":112040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:41:39] local.INFO: Extracted packet for processing {"connection_id":112040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:41:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:41:39] 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-06-23 01:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41: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-06-23 01:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159067000,"timestamp_ms":1782159067000,"timestamp_seconds":1782159067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f54778"} 
[2026-06-23 01:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:41:39] 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-06-23 01:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:41:39] 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-06-23 01:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":12798,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:41:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":112040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:41:39] local.INFO: GPS data processed {"connection_id":112040,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:41:39] local.INFO: Acknowledgment sent {"connection_id":112040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:41:40] local.INFO: TCP Data received {"connection_id":112039,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:40] local.INFO: Processing buffer {"connection_id":112039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:40] local.INFO: Packet analysis {"connection_id":112039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:41:40] local.INFO: Extracted packet for processing {"connection_id":112039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:41:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:41:40] 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-06-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:41:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:41:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":112039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:41:40] local.INFO: GPS data processed {"connection_id":112039,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:41:40] local.INFO: Acknowledgment sent {"connection_id":112039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:41:42] local.INFO: TCP Data received {"connection_id":112039,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:42] local.INFO: Processing buffer {"connection_id":112039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:41:42] local.INFO: Packet analysis {"connection_id":112039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:41:42] local.INFO: Extracted packet for processing {"connection_id":112039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:41:42] 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-06-23 01:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:41: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-06-23 01: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-06-23 01:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:41:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:41:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":112039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:41:42] local.INFO: GPS data processed {"connection_id":112039,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:41:42] local.INFO: Acknowledgment sent {"connection_id":112039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:42:10] local.INFO: TCP Data received {"connection_id":112040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:42:10] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:42:10] local.INFO: Packet analysis {"connection_id":112040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:42:10] local.INFO: Extracted packet for processing {"connection_id":112040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:42:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42: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-06-23 01:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:42:10] 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-06-23 01:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:42:10] 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-06-23 01:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:42:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":112040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:42:10] local.INFO: GPS data processed {"connection_id":112040,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:42:10] local.INFO: Acknowledgment sent {"connection_id":112040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:42:26] local.INFO: TCP Data received {"connection_id":112041,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:42:26] local.INFO: Processing buffer {"connection_id":112041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:42:26] local.INFO: IMEI packet received {"connection_id":112041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":112041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:42:31] local.INFO: TCP Data received {"connection_id":112041,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:42:31] local.INFO: Processing buffer {"connection_id":112041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:42:31] local.INFO: IMEI packet received {"connection_id":112041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":112041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:42:32] local.INFO: TCP Data received {"connection_id":112041,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:42:32] local.INFO: Processing buffer {"connection_id":112041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:42:32] local.INFO: Packet analysis {"connection_id":112041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:42:32] local.INFO: Extracted packet for processing {"connection_id":112041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:42:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:42:32] 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-06-23 01:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:42: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-06-23 01:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:42:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:42:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":112041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:42:32] local.INFO: GPS data processed {"connection_id":112041,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:42:32] local.INFO: Acknowledgment sent {"connection_id":112041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:42:33] local.INFO: TCP Data received {"connection_id":110306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:42:33] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:42:33] local.INFO: IMEI packet received {"connection_id":110306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":110306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:42:38] local.INFO: TCP Data received {"connection_id":110306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:42:38] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:42:38] local.INFO: IMEI packet received {"connection_id":110306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":110306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:42:39] local.INFO: TCP Data received {"connection_id":110306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:42:39] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:42:39] local.INFO: Packet analysis {"connection_id":110306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:42:39] local.INFO: Extracted packet for processing {"connection_id":110306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:42:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:42: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-06-23 01:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:42:39] 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-06-23 01:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:42:39] 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-06-23 01:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":110306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:42:39] local.INFO: GPS data processed {"connection_id":110306,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:42:39] local.INFO: Acknowledgment sent {"connection_id":110306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:43:04] local.INFO: TCP Data received {"connection_id":112041,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:43:04] local.INFO: Processing buffer {"connection_id":112041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:43:04] local.INFO: Packet analysis {"connection_id":112041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:43:04] local.INFO: Extracted packet for processing {"connection_id":112041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 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-06-23 01:43:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:43: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-06-23 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-06-23 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-06-23 01:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:43:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":112041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:43:04] local.INFO: GPS data processed {"connection_id":112041,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:43:04] local.INFO: Acknowledgment sent {"connection_id":112041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:43:10] local.INFO: TCP Data received {"connection_id":110306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:10] local.INFO: Processing buffer {"connection_id":110306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:10] local.INFO: Packet analysis {"connection_id":110306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:43:10] local.INFO: Extracted packet for processing {"connection_id":110306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43: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-06-23 01:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:43:10] 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-06-23 01:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:43:10] 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-06-23 01:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":110306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:43:10] local.INFO: GPS data processed {"connection_id":110306,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:43:10] local.INFO: Acknowledgment sent {"connection_id":110306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:43:26] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:43:26] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:43:26] local.INFO: IMEI packet received {"connection_id":110307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":110307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:43:31] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:43:31] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:43:31] local.INFO: IMEI packet received {"connection_id":110307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":110307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:43:32] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:43:32] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:43:32] local.INFO: Packet analysis {"connection_id":110307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:43:32] local.INFO: Extracted packet for processing {"connection_id":110307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:43:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 01:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:43:32] 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-06-23 01:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:43: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-06-23 01: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-06-23 01:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:43:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:43:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:43:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":110307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:43:32] local.INFO: GPS data processed {"connection_id":110307,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:43:32] local.INFO: Acknowledgment sent {"connection_id":110307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:43:38] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:43:38] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:43:38] local.INFO: IMEI packet received {"connection_id":112042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":112042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:43:43] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:43:43] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:43:43] local.INFO: IMEI packet received {"connection_id":112042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":112042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:43:44] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:44] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:44] local.INFO: Packet analysis {"connection_id":112042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:43:44] local.INFO: Extracted packet for processing {"connection_id":112042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:44] 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-06-23 01:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 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-06-23 01:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:43:44] 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-06-23 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-06-23 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-06-23 01:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:43:44] 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-06-23 01:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:43:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":112042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:43:44] local.INFO: GPS data processed {"connection_id":112042,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:43:44] local.INFO: Acknowledgment sent {"connection_id":112042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:43:48] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:48] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:43:48] local.INFO: Packet analysis {"connection_id":112042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:43:48] local.INFO: Extracted packet for processing {"connection_id":112042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:43:48] 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-06-23 01:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:43:48] 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-06-23 01:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:43:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":112042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:43:48] local.INFO: GPS data processed {"connection_id":112042,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:43:48] local.INFO: Acknowledgment sent {"connection_id":112042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:44:04] local.INFO: TCP Data received {"connection_id":110307,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:44:04] local.INFO: Processing buffer {"connection_id":110307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f33050012cc3308007685990005a00ee29..."} 
[2026-06-23 01:44:04] local.INFO: Packet analysis {"connection_id":110307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:44:04] local.INFO: Extracted packet for processing {"connection_id":110307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f3"} 
[2026-06-23 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232609024001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782158930000,"timestamp_ms":1782158930000,"timestamp_seconds":1782158930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f33050"} 
[2026-06-23 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-06-23 01:44:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:44: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-06-23 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-06-23 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-06-23 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232609024001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232609024001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:44:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:44:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232609024001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":110307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:44:04] local.INFO: GPS data processed {"connection_id":110307,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:44:04] local.INFO: Acknowledgment sent {"connection_id":110307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:44:25] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:44:25] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:44:25] local.INFO: IMEI packet received {"connection_id":110480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":110480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:44:30] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:44:30] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:44:30] local.INFO: IMEI packet received {"connection_id":110480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":110480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:44:31] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:44:31] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:44:31] local.INFO: Packet analysis {"connection_id":110480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:44:31] local.INFO: Extracted packet for processing {"connection_id":110480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:44:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:44:31] 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-06-23 01:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:44:31] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:44:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":110480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:44:31] local.INFO: GPS data processed {"connection_id":110480,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:44:31] local.INFO: Acknowledgment sent {"connection_id":110480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:44:33] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:44:33] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:44:33] local.INFO: IMEI packet received {"connection_id":111097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":111097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:44:38] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:44:38] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:44:38] local.INFO: IMEI packet received {"connection_id":111097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":111097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:44:39] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:44:39] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:44:39] local.INFO: Packet analysis {"connection_id":111097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:44:39] local.INFO: Extracted packet for processing {"connection_id":111097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:44: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-06-23 01:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:44:39] 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-06-23 01: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-06-23 01:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:44:39] 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-06-23 01:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":111097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:44:39] local.INFO: GPS data processed {"connection_id":111097,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:44:39] local.INFO: Acknowledgment sent {"connection_id":111097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:45:03] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:45:03] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:45:03] local.INFO: Packet analysis {"connection_id":110480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:45:03] local.INFO: Extracted packet for processing {"connection_id":110480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:45:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:45:03] 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-06-23 01:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:45:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:45:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":110480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:45:03] local.INFO: GPS data processed {"connection_id":110480,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:45:03] local.INFO: Acknowledgment sent {"connection_id":110480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:45:09] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:45:09] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:45:09] local.INFO: Packet analysis {"connection_id":111097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:45:09] local.INFO: Extracted packet for processing {"connection_id":111097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45: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-06-23 01:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:45:09] 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-06-23 01:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:45: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-06-23 01:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:45:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":111097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:45:10] local.INFO: GPS data processed {"connection_id":111097,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:45:10] local.INFO: Acknowledgment sent {"connection_id":111097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:45:30] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:45:30] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:45:30] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:45:33] local.INFO: TCP Data received {"connection_id":110308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:45:33] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:45:33] local.INFO: IMEI packet received {"connection_id":110308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":110308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:45:36] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:45:36] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:45:36] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:45:37] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:45:37] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:45:37] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:45:37] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:45:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:45:37] 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-06-23 01:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:45:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:45:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:45:37] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:45:37] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:45:38] local.INFO: TCP Data received {"connection_id":110308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:45:38] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:45:38] local.INFO: IMEI packet received {"connection_id":110308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":110308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:45:39] local.INFO: TCP Data received {"connection_id":110308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:45:39] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:45:39] local.INFO: Packet analysis {"connection_id":110308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:45:39] local.INFO: Extracted packet for processing {"connection_id":110308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:45: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-06-23 01:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:45:39] 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-06-23 01:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:45:39] 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-06-23 01:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":110308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:45:39] local.INFO: GPS data processed {"connection_id":110308,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:45:39] local.INFO: Acknowledgment sent {"connection_id":110308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:46:09] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:46:09] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:46:09] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:46:09] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:46:09] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:46:09] 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-06-23 01:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:46:09] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:46:09] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:46:09] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:46:10] local.INFO: TCP Data received {"connection_id":110308,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:46:10] local.INFO: Processing buffer {"connection_id":110308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f55ee8012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:46:10] local.INFO: Packet analysis {"connection_id":110308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:46:10] local.INFO: Extracted packet for processing {"connection_id":110308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f5"} 
[2026-06-23 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232721152001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46: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-06-23 01:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159073000,"timestamp_ms":1782159073000,"timestamp_seconds":1782159073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f55ee8"} 
[2026-06-23 01:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 01:46:10] 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-06-23 01:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:46:10] 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-06-23 01:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232721152001,"66":2851,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232721152001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232721152001,"power":2851,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":110308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:46:10] local.INFO: GPS data processed {"connection_id":110308,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:46:10] local.INFO: Acknowledgment sent {"connection_id":110308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:46:26] local.INFO: TCP Data received {"connection_id":110309,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:46:26] local.INFO: Processing buffer {"connection_id":110309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:46:26] local.INFO: IMEI packet received {"connection_id":110309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":110309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:46:31] local.INFO: TCP Data received {"connection_id":110309,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:46:31] local.INFO: Processing buffer {"connection_id":110309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:46:31] local.INFO: IMEI packet received {"connection_id":110309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":110309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:46:32] local.INFO: TCP Data received {"connection_id":110309,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:46:32] local.INFO: Processing buffer {"connection_id":110309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:46:32] local.INFO: Packet analysis {"connection_id":110309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:46:32] local.INFO: Extracted packet for processing {"connection_id":110309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:46:32] 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-06-23 01:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:46: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-06-23 01: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-06-23 01:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:46:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:46:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:46:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":110309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:46:32] local.INFO: GPS data processed {"connection_id":110309,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:46:32] local.INFO: Acknowledgment sent {"connection_id":110309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:46:33] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:46:33] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:46:33] local.INFO: IMEI packet received {"connection_id":112043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":112043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:46:33] local.INFO: TCP Data received {"connection_id":110481,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:46:33] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:46:33] local.INFO: IMEI packet received {"connection_id":110481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":110481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:46:38] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:46:38] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:46:38] local.INFO: IMEI packet received {"connection_id":112043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":112043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:46:39] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:46:39] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:46:39] local.INFO: Packet analysis {"connection_id":112043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:46:39] local.INFO: Extracted packet for processing {"connection_id":112043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46: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-06-23 01:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:46:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:46:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:46:39] 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-06-23 01:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":112043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:46:39] local.INFO: GPS data processed {"connection_id":112043,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:46:39] local.INFO: Acknowledgment sent {"connection_id":112043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:47:04] local.INFO: TCP Data received {"connection_id":110309,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:47:04] local.INFO: Processing buffer {"connection_id":110309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:47:04] local.INFO: Packet analysis {"connection_id":110309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:47:04] local.INFO: Extracted packet for processing {"connection_id":110309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:47:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 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-06-23 01:47:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:47: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-06-23 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-06-23 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-06-23 01:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:47:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:47:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":110309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:47:04] local.INFO: GPS data processed {"connection_id":110309,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:47:04] local.INFO: Acknowledgment sent {"connection_id":110309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:47:09] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:47:09] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:47:09] local.INFO: Packet analysis {"connection_id":112043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:47:09] local.INFO: Extracted packet for processing {"connection_id":112043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01: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-06-23 01:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:09] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:47:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":112043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":112043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":112043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:47: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-06-23 01:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":112043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:47:09] local.INFO: GPS data processed {"connection_id":112043,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:47:09] local.INFO: Acknowledgment sent {"connection_id":112043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:47:14] local.INFO: TCP Data received {"connection_id":110482,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:47:14] local.INFO: Processing buffer {"connection_id":110482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:47:14] local.INFO: IMEI packet received {"connection_id":110482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":110482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:47:25] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:47:25] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:47:25] local.INFO: IMEI packet received {"connection_id":110483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":110483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:47:31] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:47:31] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:47:31] local.INFO: IMEI packet received {"connection_id":110483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":110483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:47:33] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:47:33] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:47:33] local.INFO: Packet analysis {"connection_id":110483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:47:33] local.INFO: Extracted packet for processing {"connection_id":110483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:47:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 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-06-23 01:47:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:47:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:47:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":110483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:47:33] local.INFO: GPS data processed {"connection_id":110483,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:47:33] local.INFO: Acknowledgment sent {"connection_id":110483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:47:33] local.INFO: TCP Data received {"connection_id":112044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:47:33] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:47:33] local.INFO: IMEI packet received {"connection_id":112044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":112044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:47:38] local.INFO: TCP Data received {"connection_id":112044,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:47:38] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:47:38] local.INFO: IMEI packet received {"connection_id":112044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":112044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:47:39] local.INFO: TCP Data received {"connection_id":112044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:47:39] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:47:39] local.INFO: Packet analysis {"connection_id":112044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:47:39] local.INFO: Extracted packet for processing {"connection_id":112044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47: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-06-23 01:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:47:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:47:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:47:39] 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-06-23 01:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":112044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:47:39] local.INFO: GPS data processed {"connection_id":112044,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:47:39] local.INFO: Acknowledgment sent {"connection_id":112044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:48:05] local.INFO: TCP Data received {"connection_id":110483,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:48:05] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:48:05] local.INFO: Packet analysis {"connection_id":110483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:48:05] local.INFO: Extracted packet for processing {"connection_id":110483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:48:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 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-06-23 01:48: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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:48:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:48:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":110483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:48:05] local.INFO: GPS data processed {"connection_id":110483,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:48:05] local.INFO: Acknowledgment sent {"connection_id":110483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:48:10] local.INFO: TCP Data received {"connection_id":112044,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:48:10] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:48:10] local.INFO: Packet analysis {"connection_id":112044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:48:10] local.INFO: Extracted packet for processing {"connection_id":112044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48: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-06-23 01:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:48:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:48:10] 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-06-23 01:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":112044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:48:10] local.INFO: GPS data processed {"connection_id":112044,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:48:10] local.INFO: Acknowledgment sent {"connection_id":112044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:48:25] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:48:25] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:48:25] local.INFO: IMEI packet received {"connection_id":111100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":111100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:48:31] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:48:31] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:48:31] local.INFO: IMEI packet received {"connection_id":111100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":111100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:48:32] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:48:32] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:48:32] local.INFO: Packet analysis {"connection_id":111100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:48:32] local.INFO: Extracted packet for processing {"connection_id":111100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:48:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:48:32] 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-06-23 01:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:48: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-06-23 01: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-06-23 01:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:48:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:48:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:48:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":111100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:48:32] local.INFO: GPS data processed {"connection_id":111100,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:48:32] local.INFO: Acknowledgment sent {"connection_id":111100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:48:33] local.INFO: TCP Data received {"connection_id":110484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:48:33] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:48:33] local.INFO: IMEI packet received {"connection_id":110484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":110484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:48:38] local.INFO: TCP Data received {"connection_id":110484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:48:38] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:48:38] local.INFO: IMEI packet received {"connection_id":110484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":110484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:48:39] local.INFO: TCP Data received {"connection_id":110484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:48:39] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:48:39] local.INFO: Packet analysis {"connection_id":110484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:48:39] local.INFO: Extracted packet for processing {"connection_id":110484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48: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-06-23 01:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:48:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:48:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:48:39] 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-06-23 01:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":110484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:48:39] local.INFO: GPS data processed {"connection_id":110484,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:48:39] local.INFO: Acknowledgment sent {"connection_id":110484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:49:04] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:49:04] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f7c818012cc3308007685990005a00ee27..."} 
[2026-06-23 01:49:04] local.INFO: Packet analysis {"connection_id":111100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:49:04] local.INFO: Extracted packet for processing {"connection_id":111100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f7"} 
[2026-06-23 01:49:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159231000,"timestamp_ms":1782159231000,"timestamp_seconds":1782159231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f7c818"} 
[2026-06-23 01:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:49:04] 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-06-23 01:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232686080001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:49:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:49:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232686080001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":111100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:49:04] local.INFO: GPS data processed {"connection_id":111100,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:49:04] local.INFO: Acknowledgment sent {"connection_id":111100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:49:10] local.INFO: TCP Data received {"connection_id":110484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:49:10] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:49:10] local.INFO: Packet analysis {"connection_id":110484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:49:10] local.INFO: Extracted packet for processing {"connection_id":110484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49: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-06-23 01:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:49:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:49:10] 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-06-23 01:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:49:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":110484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:49:10] local.INFO: GPS data processed {"connection_id":110484,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:49:10] local.INFO: Acknowledgment sent {"connection_id":110484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:49:31] local.INFO: TCP Data received {"connection_id":110311,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:31] local.INFO: Processing buffer {"connection_id":110311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:31] local.INFO: IMEI packet received {"connection_id":110311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":110311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:49:31] local.INFO: TCP Data received {"connection_id":110311,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:31] local.INFO: Processing buffer {"connection_id":110311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:31] local.INFO: IMEI packet received {"connection_id":110311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":110311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:49:33] local.INFO: TCP Data received {"connection_id":112045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:49:33] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:49:33] local.INFO: IMEI packet received {"connection_id":112045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":112045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:49:36] local.INFO: TCP Data received {"connection_id":110311,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:36] local.INFO: Processing buffer {"connection_id":110311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:49:36] local.INFO: IMEI packet received {"connection_id":110311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":110311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:49:37] local.INFO: TCP Data received {"connection_id":110311,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:49:37] local.INFO: Processing buffer {"connection_id":110311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:49:37] local.INFO: Packet analysis {"connection_id":110311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:49:37] local.INFO: Extracted packet for processing {"connection_id":110311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:49:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:49:37] 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-06-23 01:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:49:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:49:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":110311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:49:37] local.INFO: GPS data processed {"connection_id":110311,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:49:37] local.INFO: Acknowledgment sent {"connection_id":110311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:49:38] local.INFO: TCP Data received {"connection_id":112045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:49:38] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:49:38] local.INFO: IMEI packet received {"connection_id":112045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":112045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:49:39] local.INFO: TCP Data received {"connection_id":112045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:49:39] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:49:39] local.INFO: Packet analysis {"connection_id":112045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:49:39] local.INFO: Extracted packet for processing {"connection_id":112045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49: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-06-23 01:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:49:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:49:39] 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-06-23 01:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":112045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:49:39] local.INFO: GPS data processed {"connection_id":112045,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:49:39] local.INFO: Acknowledgment sent {"connection_id":112045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:49:41] local.INFO: TCP Data received {"connection_id":110311,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:49:41] local.INFO: Processing buffer {"connection_id":110311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:49:41] local.INFO: Packet analysis {"connection_id":110311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:49:41] local.INFO: Extracted packet for processing {"connection_id":110311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:49:41] 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-06-23 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:49: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-06-23 01: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-06-23 01:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:49:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:49:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":110311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:49:41] local.INFO: GPS data processed {"connection_id":110311,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:49:41] local.INFO: Acknowledgment sent {"connection_id":110311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:50:10] local.INFO: TCP Data received {"connection_id":112045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:50:10] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:50:10] local.INFO: Packet analysis {"connection_id":112045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:50:10] local.INFO: Extracted packet for processing {"connection_id":112045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50: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-06-23 01:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:50:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:50:10] 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-06-23 01:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":112045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:50:10] local.INFO: GPS data processed {"connection_id":112045,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:50:10] local.INFO: Acknowledgment sent {"connection_id":112045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:50:25] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:50:25] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:50:25] local.INFO: IMEI packet received {"connection_id":111102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":111102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:50:31] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:50:31] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:50:31] local.INFO: IMEI packet received {"connection_id":111102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":111102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:50:32] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:50:32] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:50:32] local.INFO: Packet analysis {"connection_id":111102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:50:32] local.INFO: Extracted packet for processing {"connection_id":111102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:50:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:50:32] 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-06-23 01:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:50: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-06-23 01:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:50:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:50:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:50:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":111102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:50:32] local.INFO: GPS data processed {"connection_id":111102,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:50:32] local.INFO: Acknowledgment sent {"connection_id":111102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:50:33] local.INFO: TCP Data received {"connection_id":110312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:50:33] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:50:33] local.INFO: IMEI packet received {"connection_id":110312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":110312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:50:38] local.INFO: TCP Data received {"connection_id":110312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:50:38] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:50:38] local.INFO: IMEI packet received {"connection_id":110312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":110312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:50:39] local.INFO: TCP Data received {"connection_id":110312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:50:39] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:50:39] local.INFO: Packet analysis {"connection_id":110312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:50:39] local.INFO: Extracted packet for processing {"connection_id":110312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50: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-06-23 01:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:50:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:50:39] 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-06-23 01:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":110312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:50:39] local.INFO: GPS data processed {"connection_id":110312,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:50:39] local.INFO: Acknowledgment sent {"connection_id":110312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:51:04] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:51:04] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:51:04] local.INFO: Packet analysis {"connection_id":111102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:51:04] local.INFO: Extracted packet for processing {"connection_id":111102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:51:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 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-06-23 01:51:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:51:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:51:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":111102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:51:04] local.INFO: GPS data processed {"connection_id":111102,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:51:04] local.INFO: Acknowledgment sent {"connection_id":111102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:51:10] local.INFO: TCP Data received {"connection_id":110312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:51:10] local.INFO: Processing buffer {"connection_id":110312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0f9f6b0012d7e394005d34de80004003f2d..."} 
[2026-06-23 01:51:10] local.INFO: Packet analysis {"connection_id":110312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:51:10] local.INFO: Extracted packet for processing {"connection_id":110312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0f9"} 
[2026-06-23 01:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232722688001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01: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-06-23 01:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159374000,"timestamp_ms":1782159374000,"timestamp_seconds":1782159374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0f9f6b0"} 
[2026-06-23 01:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297280,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628157939469677,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":-1443218957560563776,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505066603872256,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84862745899815757,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":1126171194425344,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6165041961288859648,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4017217272718819332,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024090624214,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84862751268524879,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1970596141336320,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:10] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,142,158,71,45,64,77,4,43,10,66,199,240,227,160,248,113,2,1,126,51,59,161,5,239,69,205,136,96],"length":574,"final_offset":704,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-23 01:51:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288299834362822656,"timestamp_seconds":288299834362822.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 01:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:51:10] 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-06-23 01:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232722688001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232722688001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232722688001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":110312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:51:10] local.INFO: GPS data processed {"connection_id":110312,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:51:10] local.INFO: Acknowledgment sent {"connection_id":110312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:51:25] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:51:25] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:51:25] local.INFO: IMEI packet received {"connection_id":110485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":110485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:51:31] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:51:31] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:51:31] local.INFO: IMEI packet received {"connection_id":110485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":110485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:51:32] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:51:32] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:51:32] local.INFO: Packet analysis {"connection_id":110485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:51:32] local.INFO: Extracted packet for processing {"connection_id":110485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:51:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:51:32] 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-06-23 01:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:51: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-06-23 01: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-06-23 01:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:51:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:51:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:51:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":110485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:51:32] local.INFO: GPS data processed {"connection_id":110485,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:51:32] local.INFO: Acknowledgment sent {"connection_id":110485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:51:38] local.INFO: TCP Data received {"connection_id":111103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:51:38] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:51:38] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:51:43] local.INFO: TCP Data received {"connection_id":111103,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:51:43] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:51:43] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:51:44] local.INFO: TCP Data received {"connection_id":111103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:51:44] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:51:44] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:51:44] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:44] 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-06-23 01:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:51:44] 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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:51:44] 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-06-23 01:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:51:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:51:44] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:51:44] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:51:48] local.INFO: TCP Data received {"connection_id":111103,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:51:48] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:51:48] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:51:48] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:51:48] 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-06-23 01:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:51:48] 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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:51:48] 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-06-23 01:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:51:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:51:48] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:51:48] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:52:04] local.INFO: TCP Data received {"connection_id":110485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:04] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:04] local.INFO: Packet analysis {"connection_id":110485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:52:04] local.INFO: Extracted packet for processing {"connection_id":110485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:52:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 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-06-23 01:52:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:52: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-06-23 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-06-23 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-06-23 01:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:52:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:52:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":110485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:52:04] local.INFO: GPS data processed {"connection_id":110485,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:52:04] local.INFO: Acknowledgment sent {"connection_id":110485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:52:31] local.INFO: TCP Data received {"connection_id":112048,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:52:31] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:52:31] local.INFO: IMEI packet received {"connection_id":112048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":112048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:52:33] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:52:33] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:52:33] local.INFO: IMEI packet received {"connection_id":112049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":112049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:52:36] local.INFO: TCP Data received {"connection_id":112048,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:52:36] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:52:36] local.INFO: IMEI packet received {"connection_id":112048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":112048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:52:37] local.INFO: TCP Data received {"connection_id":112048,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:37] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:37] local.INFO: Packet analysis {"connection_id":112048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:52:37] local.INFO: Extracted packet for processing {"connection_id":112048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:52:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:52:37] 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-06-23 01:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:52:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:52:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":112048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:52:37] local.INFO: GPS data processed {"connection_id":112048,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:52:37] local.INFO: Acknowledgment sent {"connection_id":112048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:52:38] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:52:38] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:52:38] local.INFO: IMEI packet received {"connection_id":112049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":112049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:52:38] local.INFO: TCP Data received {"connection_id":112047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:52:38] local.INFO: Processing buffer {"connection_id":112047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:52:38] local.INFO: IMEI packet received {"connection_id":112047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":112047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:52:39] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:52:39] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:52:39] local.INFO: Packet analysis {"connection_id":112049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:52:39] local.INFO: Extracted packet for processing {"connection_id":112049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01: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-06-23 01:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:52:39] 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-06-23 01:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":112049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:52:39] local.INFO: GPS data processed {"connection_id":112049,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:52:39] local.INFO: Acknowledgment sent {"connection_id":112049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:52:42] local.INFO: TCP Data received {"connection_id":112048,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:42] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:52:42] local.INFO: Packet analysis {"connection_id":112048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:52:42] local.INFO: Extracted packet for processing {"connection_id":112048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:52:42] 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-06-23 01:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:52:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:52:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":112048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:52:42] local.INFO: GPS data processed {"connection_id":112048,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:52:42] local.INFO: Acknowledgment sent {"connection_id":112048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:53:08] local.INFO: TCP Data received {"connection_id":110314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:53:08] local.INFO: Processing buffer {"connection_id":110314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:53:08] local.INFO: IMEI packet received {"connection_id":110314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":110314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:53:10] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:53:10] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:53:10] local.INFO: Packet analysis {"connection_id":112049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:53:10] local.INFO: Extracted packet for processing {"connection_id":112049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53: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-06-23 01:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:53:10] 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-06-23 01:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:53:10] 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-06-23 01:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":112049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:53:10] local.INFO: GPS data processed {"connection_id":112049,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:53:10] local.INFO: Acknowledgment sent {"connection_id":112049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:53:26] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:53:26] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:53:26] local.INFO: IMEI packet received {"connection_id":112050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":112050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:53:31] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:53:31] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:53:31] local.INFO: IMEI packet received {"connection_id":112050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":112050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:53:32] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:53:32] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:53:32] local.INFO: Packet analysis {"connection_id":112050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:53:32] local.INFO: Extracted packet for processing {"connection_id":112050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:53:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:53:32] 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-06-23 01:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:53: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-06-23 01: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-06-23 01:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:53:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:53:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":112050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:53:32] local.INFO: GPS data processed {"connection_id":112050,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:53:32] local.INFO: Acknowledgment sent {"connection_id":112050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:53:33] local.INFO: TCP Data received {"connection_id":110486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:53:33] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:53:33] local.INFO: IMEI packet received {"connection_id":110486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":110486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:53:38] local.INFO: TCP Data received {"connection_id":110486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:53:38] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:53:38] local.INFO: IMEI packet received {"connection_id":110486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":110486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:53:39] local.INFO: TCP Data received {"connection_id":110486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:53:39] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:53:39] local.INFO: Packet analysis {"connection_id":110486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:53:39] local.INFO: Extracted packet for processing {"connection_id":110486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:53: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-06-23 01:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:53:39] 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-06-23 01:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":110486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:53:39] local.INFO: GPS data processed {"connection_id":110486,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:53:39] local.INFO: Acknowledgment sent {"connection_id":110486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:54:04] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:54:04] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fc5fe0012cc3308007685990005a00ee28..."} 
[2026-06-23 01:54:04] local.INFO: Packet analysis {"connection_id":112050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:54:04] local.INFO: Extracted packet for processing {"connection_id":112050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fc"} 
[2026-06-23 01:54:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232763136001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159532000,"timestamp_ms":1782159532000,"timestamp_seconds":1782159532,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fc5fe0"} 
[2026-06-23 01:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:54:04] 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-06-23 01:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:54: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-06-23 01: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-06-23 01:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232763136001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232763136001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:54:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:54:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232763136001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":112050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:54:04] local.INFO: GPS data processed {"connection_id":112050,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:54:04] local.INFO: Acknowledgment sent {"connection_id":112050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:54:10] local.INFO: TCP Data received {"connection_id":110486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:54:10] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:54:10] local.INFO: Packet analysis {"connection_id":110486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:54:10] local.INFO: Extracted packet for processing {"connection_id":110486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54: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-06-23 01:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:54:10] 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-06-23 01:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:54:10] 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-06-23 01:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":110486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:54:10] local.INFO: GPS data processed {"connection_id":110486,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:54:10] local.INFO: Acknowledgment sent {"connection_id":110486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:54:25] local.INFO: TCP Data received {"connection_id":110315,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:54:25] local.INFO: Processing buffer {"connection_id":110315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:54:25] local.INFO: IMEI packet received {"connection_id":110315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":110315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:54:32] local.INFO: TCP Data received {"connection_id":110315,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:54:32] local.INFO: Processing buffer {"connection_id":110315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:54:32] local.INFO: IMEI packet received {"connection_id":110315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":110315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:54:33] local.INFO: TCP Data received {"connection_id":110315,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:54:33] local.INFO: Processing buffer {"connection_id":110315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:54:33] local.INFO: Packet analysis {"connection_id":110315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:54:33] local.INFO: Extracted packet for processing {"connection_id":110315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:54:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 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-06-23 01:54:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:54:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:54:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:54:33] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:54:33] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:54:33] local.INFO: IMEI packet received {"connection_id":111104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":111104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":110315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:54:33] local.INFO: GPS data processed {"connection_id":110315,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:54:33] local.INFO: Acknowledgment sent {"connection_id":110315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:54:38] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:54:38] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:54:38] local.INFO: IMEI packet received {"connection_id":111104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":111104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:54:39] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:54:39] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:54:39] local.INFO: Packet analysis {"connection_id":111104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:54:39] local.INFO: Extracted packet for processing {"connection_id":111104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:54: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-06-23 01:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:54:39] 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-06-23 01:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":111104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:54:39] local.INFO: GPS data processed {"connection_id":111104,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:54:39] local.INFO: Acknowledgment sent {"connection_id":111104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:55:05] local.INFO: TCP Data received {"connection_id":110315,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:55:05] local.INFO: Processing buffer {"connection_id":110315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:55:05] local.INFO: Packet analysis {"connection_id":110315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:55:05] local.INFO: Extracted packet for processing {"connection_id":110315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:55:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:55: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-06-23 01:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:55:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:55:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":110315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:55:05] local.INFO: GPS data processed {"connection_id":110315,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:55:05] local.INFO: Acknowledgment sent {"connection_id":110315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:55:10] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:55:10] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:55:10] local.INFO: Packet analysis {"connection_id":111104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:55:10] local.INFO: Extracted packet for processing {"connection_id":111104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55: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-06-23 01:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:55:10] 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-06-23 01:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:55:10] 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-06-23 01:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":111104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:55:10] local.INFO: GPS data processed {"connection_id":111104,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:55:10] local.INFO: Acknowledgment sent {"connection_id":111104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:55:25] local.INFO: TCP Data received {"connection_id":112051,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:55:25] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:55:25] local.INFO: IMEI packet received {"connection_id":112051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":112051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:55:31] local.INFO: TCP Data received {"connection_id":112051,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:55:31] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:55:31] local.INFO: IMEI packet received {"connection_id":112051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":112051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:55:32] local.INFO: TCP Data received {"connection_id":112051,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:55:32] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:55:32] local.INFO: Packet analysis {"connection_id":112051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:55:32] local.INFO: Extracted packet for processing {"connection_id":112051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:55:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:55:32] 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-06-23 01:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:55: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-06-23 01:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:55:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:55:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":112051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:55:32] local.INFO: GPS data processed {"connection_id":112051,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:55:32] local.INFO: Acknowledgment sent {"connection_id":112051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:55:33] local.INFO: TCP Data received {"connection_id":112052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:55:33] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:55:33] local.INFO: IMEI packet received {"connection_id":112052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":112052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:55:38] local.INFO: TCP Data received {"connection_id":112052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:55:38] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:55:38] local.INFO: IMEI packet received {"connection_id":112052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":112052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:55:39] local.INFO: TCP Data received {"connection_id":112052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:55:39] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:55:39] local.INFO: Packet analysis {"connection_id":112052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:55:39] local.INFO: Extracted packet for processing {"connection_id":112052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:55: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-06-23 01:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 01:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:55:39] 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-06-23 01:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":112052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:55:39] local.INFO: GPS data processed {"connection_id":112052,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:55:39] local.INFO: Acknowledgment sent {"connection_id":112052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:56:04] local.INFO: TCP Data received {"connection_id":112051,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:04] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:04] local.INFO: Packet analysis {"connection_id":112051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:56:04] local.INFO: Extracted packet for processing {"connection_id":112051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:56:04] 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-06-23 01:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:56: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-06-23 01: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-06-23 01:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:56:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:56:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":112051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:56:04] local.INFO: GPS data processed {"connection_id":112051,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:56:04] local.INFO: Acknowledgment sent {"connection_id":112051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:56:09] local.INFO: TCP Data received {"connection_id":112052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:56:09] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef0fe8e78012d7e394005d34de80004003f2b..."} 
[2026-06-23 01:56:09] local.INFO: Packet analysis {"connection_id":112052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:56:09] local.INFO: Extracted packet for processing {"connection_id":112052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef0fe"} 
[2026-06-23 01:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232799744001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01: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-06-23 01:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782159675000,"timestamp_ms":1782159675000,"timestamp_seconds":1782159675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef0fe8e78"} 
[2026-06-23 01:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:56: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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":112052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":112052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":112052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:56: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-06-23 01:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232799744001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232799744001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:56:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232799744001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":112052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:56:10] local.INFO: GPS data processed {"connection_id":112052,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:56:10] local.INFO: Acknowledgment sent {"connection_id":112052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:56:31] local.INFO: TCP Data received {"connection_id":111106,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:56:31] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:56:31] local.INFO: IMEI packet received {"connection_id":111106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":111106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:56:33] local.INFO: TCP Data received {"connection_id":110316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:56:33] local.INFO: Processing buffer {"connection_id":110316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:56:33] local.INFO: IMEI packet received {"connection_id":110316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":110316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:56:36] local.INFO: TCP Data received {"connection_id":111106,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:56:36] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:56:36] local.INFO: IMEI packet received {"connection_id":111106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":111106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:56:37] local.INFO: TCP Data received {"connection_id":111106,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:37] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:37] local.INFO: Packet analysis {"connection_id":111106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:56:37] local.INFO: Extracted packet for processing {"connection_id":111106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:56:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:56:37] 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-06-23 01:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:56:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:56:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":111106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:56:37] local.INFO: GPS data processed {"connection_id":111106,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:56:37] local.INFO: Acknowledgment sent {"connection_id":111106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:56:38] local.INFO: TCP Data received {"connection_id":110316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:56:38] local.INFO: Processing buffer {"connection_id":110316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:56:38] local.INFO: IMEI packet received {"connection_id":110316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":110316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:56:39] local.INFO: TCP Data received {"connection_id":110316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:56:39] local.INFO: Processing buffer {"connection_id":110316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:56:39] local.INFO: Packet analysis {"connection_id":110316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:56:39] local.INFO: Extracted packet for processing {"connection_id":110316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56: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-06-23 01:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:56: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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:56:39] 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-06-23 01:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":110316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:56:39] local.INFO: GPS data processed {"connection_id":110316,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:56:39] local.INFO: Acknowledgment sent {"connection_id":110316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:56:41] local.INFO: TCP Data received {"connection_id":111106,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:41] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:56:41] local.INFO: Packet analysis {"connection_id":111106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:56:41] local.INFO: Extracted packet for processing {"connection_id":111106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:56:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:56:41] 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-06-23 01:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:56:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:56:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":111106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:56:41] local.INFO: GPS data processed {"connection_id":111106,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:56:41] local.INFO: Acknowledgment sent {"connection_id":111106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:57:10] local.INFO: TCP Data received {"connection_id":110316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:57:10] local.INFO: Processing buffer {"connection_id":110316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:57:10] local.INFO: Packet analysis {"connection_id":110316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:57:10] local.INFO: Extracted packet for processing {"connection_id":110316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:57:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57: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-06-23 01:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:57:10] 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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:57:10] 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-06-23 01:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:57:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":110316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:57:10] local.INFO: GPS data processed {"connection_id":110316,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:57:10] local.INFO: Acknowledgment sent {"connection_id":110316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:57:26] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:57:26] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:57:26] local.INFO: IMEI packet received {"connection_id":111107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":111107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:57:31] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:57:31] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:57:31] local.INFO: IMEI packet received {"connection_id":111107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":111107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:57:33] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:57:33] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:57:33] local.INFO: Packet analysis {"connection_id":111107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:57:33] local.INFO: Extracted packet for processing {"connection_id":111107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:57:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 01:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 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-06-23 01:57:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 01:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:57:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:57:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":111107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:57:33] local.INFO: GPS data processed {"connection_id":111107,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:57:33] local.INFO: Acknowledgment sent {"connection_id":111107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:57:33] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:57:33] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:57:33] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:57:38] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:57:38] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:57:38] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:57:39] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:57:39] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:57:39] local.INFO: Packet analysis {"connection_id":110489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:57:39] local.INFO: Extracted packet for processing {"connection_id":110489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:57: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-06-23 01:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:57: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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:57:39] 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-06-23 01:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":110489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:57:39] local.INFO: GPS data processed {"connection_id":110489,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:57:39] local.INFO: Acknowledgment sent {"connection_id":110489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:58:04] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:58:04] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:58:04] local.INFO: Packet analysis {"connection_id":111107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:58:04] local.INFO: Extracted packet for processing {"connection_id":111107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:58:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:58:04] 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-06-23 01: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-06-23 01: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-06-23 01: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-06-23 01:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:58:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:58:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":111107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:58:04] local.INFO: GPS data processed {"connection_id":111107,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:58:04] local.INFO: Acknowledgment sent {"connection_id":111107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:58:10] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:58:10] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:58:10] local.INFO: Packet analysis {"connection_id":110489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:58:10] local.INFO: Extracted packet for processing {"connection_id":110489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58: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-06-23 01:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:58:10] 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-06-23 01:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:58:10] 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-06-23 01:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":110489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:58:10] local.INFO: GPS data processed {"connection_id":110489,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:58:10] local.INFO: Acknowledgment sent {"connection_id":110489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:58:25] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:58:25] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:58:25] local.INFO: IMEI packet received {"connection_id":110318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":110318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:58:28] local.INFO: TCP Data received {"connection_id":110317,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:58:28] local.INFO: Processing buffer {"connection_id":110317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:58:28] local.INFO: IMEI packet received {"connection_id":110317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":110317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:58:31] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:58:31] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:58:31] local.INFO: IMEI packet received {"connection_id":110318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":110318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:58:32] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:58:32] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:58:32] local.INFO: Packet analysis {"connection_id":110318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:58:32] local.INFO: Extracted packet for processing {"connection_id":110318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:58:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:58:32] 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-06-23 01: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-06-23 01: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-06-23 01: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-06-23 01:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:58:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:58:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:58:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":110318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:58:32] local.INFO: GPS data processed {"connection_id":110318,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:58:32] local.INFO: Acknowledgment sent {"connection_id":110318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:58:33] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:58:33] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:58:33] local.INFO: IMEI packet received {"connection_id":111108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":111108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:58:38] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:58:38] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:58:38] local.INFO: IMEI packet received {"connection_id":111108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":111108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:58:39] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:58:39] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:58:39] local.INFO: Packet analysis {"connection_id":111108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:58:39] local.INFO: Extracted packet for processing {"connection_id":111108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:58: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-06-23 01:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:58: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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:58:39] 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-06-23 01:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":111108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:58:39] local.INFO: GPS data processed {"connection_id":111108,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:58:39] local.INFO: Acknowledgment sent {"connection_id":111108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:59:04] local.INFO: TCP Data received {"connection_id":110318,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:59:04] local.INFO: Processing buffer {"connection_id":110318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:59:04] local.INFO: Packet analysis {"connection_id":110318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:59:04] local.INFO: Extracted packet for processing {"connection_id":110318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:59:04] 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-06-23 01: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-06-23 01: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-06-23 01: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-06-23 01:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:59:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":110318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:59:04] local.INFO: GPS data processed {"connection_id":110318,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:59:04] local.INFO: Acknowledgment sent {"connection_id":110318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:59:08] local.INFO: TCP Data received {"connection_id":112054,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:59:08] local.INFO: Processing buffer {"connection_id":112054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 01:59:08] local.INFO: IMEI packet received {"connection_id":112054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 01:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":112054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:59:09] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:59:09] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:59:09] local.INFO: Packet analysis {"connection_id":111108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:59:09] local.INFO: Extracted packet for processing {"connection_id":111108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01: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-06-23 01:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59: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-06-23 01:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:59:09] 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-06-23 01: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01: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-06-23 01:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:59: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-06-23 01:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":111108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:59:10] local.INFO: GPS data processed {"connection_id":111108,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:59:10] local.INFO: Acknowledgment sent {"connection_id":111108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:59:25] local.INFO: TCP Data received {"connection_id":112055,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:59:25] local.INFO: Processing buffer {"connection_id":112055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:59:25] local.INFO: IMEI packet received {"connection_id":112055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 01:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":112055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:59:31] local.INFO: TCP Data received {"connection_id":112055,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:59:31] local.INFO: Processing buffer {"connection_id":112055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 01:59:31] local.INFO: IMEI packet received {"connection_id":112055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 01:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":112055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:59:32] local.INFO: TCP Data received {"connection_id":112055,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:59:32] local.INFO: Processing buffer {"connection_id":112055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef100f7a8012cc3308007685990005a00ee28..."} 
[2026-06-23 01:59:32] local.INFO: Packet analysis {"connection_id":112055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:59:32] local.INFO: Extracted packet for processing {"connection_id":112055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef100"} 
[2026-06-23 01:59:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 01:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232840192001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 01:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782159833000,"timestamp_ms":1782159833000,"timestamp_seconds":1782159833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef100f7a8"} 
[2026-06-23 01:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:59:32] 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-06-23 01:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 01:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 01:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 01:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 01:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 01:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232840192001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 01:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 01:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 01:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232840192001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:59:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 01:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 01:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:59:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 01:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232840192001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 01:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":112055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:59:32] local.INFO: GPS data processed {"connection_id":112055,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:59:32] local.INFO: Acknowledgment sent {"connection_id":112055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 01:59:33] local.INFO: TCP Data received {"connection_id":112056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:59:33] local.INFO: Processing buffer {"connection_id":112056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:59:33] local.INFO: IMEI packet received {"connection_id":112056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 01:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":112056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 01:59:38] local.INFO: TCP Data received {"connection_id":112056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:59:38] local.INFO: Processing buffer {"connection_id":112056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 01:59:38] local.INFO: IMEI packet received {"connection_id":112056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 01:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":112056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 01:59:39] local.INFO: TCP Data received {"connection_id":112056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:59:39] local.INFO: Processing buffer {"connection_id":112056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 01:59:39] local.INFO: Packet analysis {"connection_id":112056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:59:39] local.INFO: Extracted packet for processing {"connection_id":112056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 01:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 01:59: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-06-23 01:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 01:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 01:59: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-06-23 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 01:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 01:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 01:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 01:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 01:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 01:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 01:59:39] 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-06-23 01:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 01:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 01:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 01:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 01:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 01:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 01:59:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 01:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 01:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 01:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 01:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 01:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":112056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 01:59:39] local.INFO: GPS data processed {"connection_id":112056,"processed":1,"errors":0,"total":1} 
[2026-06-23 01:59:39] local.INFO: Acknowledgment sent {"connection_id":112056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:00:03] local.INFO: TCP Data received {"connection_id":112055,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:00:03] local.INFO: Processing buffer {"connection_id":112055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:00:03] local.INFO: Packet analysis {"connection_id":112055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:00:03] local.INFO: Extracted packet for processing {"connection_id":112055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:00:03] 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-06-23 02:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:00: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-06-23 02: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-06-23 02:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:00:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:00:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":112055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:00:03] local.INFO: GPS data processed {"connection_id":112055,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:00:03] local.INFO: Acknowledgment sent {"connection_id":112055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:00:10] local.INFO: TCP Data received {"connection_id":112056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:10] local.INFO: Processing buffer {"connection_id":112056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:10] local.INFO: Packet analysis {"connection_id":112056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 02:00:10] local.INFO: Extracted packet for processing {"connection_id":112056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00: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-06-23 02:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 02:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:00:10] 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-06-23 02:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:00:10] 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-06-23 02:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 02:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:00:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":112056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:00:10] local.INFO: GPS data processed {"connection_id":112056,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:00:10] local.INFO: Acknowledgment sent {"connection_id":112056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:00:26] local.INFO: TCP Data received {"connection_id":110490,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:00:26] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:00:26] local.INFO: IMEI packet received {"connection_id":110490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":110490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:00:31] local.INFO: TCP Data received {"connection_id":110490,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:00:31] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:00:31] local.INFO: IMEI packet received {"connection_id":110490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":110490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:00:33] local.INFO: TCP Data received {"connection_id":110490,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:00:33] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:00:33] local.INFO: Packet analysis {"connection_id":110490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:00:33] local.INFO: Extracted packet for processing {"connection_id":110490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:00:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 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-06-23 02:00:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:00:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:00:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:00:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":110490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:00:33] local.INFO: GPS data processed {"connection_id":110490,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:00:33] local.INFO: Acknowledgment sent {"connection_id":110490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:00:38] local.INFO: TCP Data received {"connection_id":112057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:00:38] local.INFO: Processing buffer {"connection_id":112057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:00:38] local.INFO: IMEI packet received {"connection_id":112057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":112057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:00:43] local.INFO: TCP Data received {"connection_id":112057,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:00:43] local.INFO: Processing buffer {"connection_id":112057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:00:43] local.INFO: IMEI packet received {"connection_id":112057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":112057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:00:44] local.INFO: TCP Data received {"connection_id":112057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:44] local.INFO: Processing buffer {"connection_id":112057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:44] local.INFO: Packet analysis {"connection_id":112057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 02:00:44] local.INFO: Extracted packet for processing {"connection_id":112057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 02:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:44] 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-06-23 02:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 02:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:00:44] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:00:44] 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-06-23 02:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 02:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:00:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":112057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:00:44] local.INFO: GPS data processed {"connection_id":112057,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:00:44] local.INFO: Acknowledgment sent {"connection_id":112057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:00:49] local.INFO: TCP Data received {"connection_id":112057,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:49] local.INFO: Processing buffer {"connection_id":112057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1032640012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:00:49] local.INFO: Packet analysis {"connection_id":112057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 02:00:49] local.INFO: Extracted packet for processing {"connection_id":112057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef103"} 
[2026-06-23 02:00:49] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232876800001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:00:49] 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-06-23 02:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782159976000,"timestamp_ms":1782159976000,"timestamp_seconds":1782159976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1032640"} 
[2026-06-23 02:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:00:49] 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-06-23 02:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:00:49] 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-06-23 02:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232876800001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 02:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232876800001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:00:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:00:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232876800001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":112057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:00:49] local.INFO: GPS data processed {"connection_id":112057,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:00:49] local.INFO: Acknowledgment sent {"connection_id":112057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:01:04] local.INFO: TCP Data received {"connection_id":110490,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:01:04] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:01:04] local.INFO: Packet analysis {"connection_id":110490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:01:04] local.INFO: Extracted packet for processing {"connection_id":110490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:01:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:01:04] 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-06-23 02:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:01:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:01:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:01:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":110490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:01:04] local.INFO: GPS data processed {"connection_id":110490,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:01:04] local.INFO: Acknowledgment sent {"connection_id":110490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:01:25] local.INFO: TCP Data received {"connection_id":110320,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:01:25] local.INFO: Processing buffer {"connection_id":110320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:01:25] local.INFO: IMEI packet received {"connection_id":110320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":110320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:01:31] local.INFO: TCP Data received {"connection_id":110320,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:01:31] local.INFO: Processing buffer {"connection_id":110320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:01:31] local.INFO: IMEI packet received {"connection_id":110320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":110320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:01:32] local.INFO: TCP Data received {"connection_id":110320,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:01:32] local.INFO: Processing buffer {"connection_id":110320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:01:32] local.INFO: Packet analysis {"connection_id":110320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:01:32] local.INFO: Extracted packet for processing {"connection_id":110320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:01:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:01:32] 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-06-23 02:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:01: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-06-23 02: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-06-23 02:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:01:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:01:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:01:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":110320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:01:32] local.INFO: GPS data processed {"connection_id":110320,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:01:32] local.INFO: Acknowledgment sent {"connection_id":110320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:01:33] local.INFO: TCP Data received {"connection_id":110492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:01:33] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:01:33] local.INFO: IMEI packet received {"connection_id":110492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":110492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:01:38] local.INFO: TCP Data received {"connection_id":110492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:01:38] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:01:38] local.INFO: IMEI packet received {"connection_id":110492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":110492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:01:39] local.INFO: TCP Data received {"connection_id":110492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:01:39] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:01:39] local.INFO: Packet analysis {"connection_id":110492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:01:39] local.INFO: Extracted packet for processing {"connection_id":110492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:01: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-06-23 02:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:01:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:01:39] 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-06-23 02:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 02:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":110492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:01:39] local.INFO: GPS data processed {"connection_id":110492,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:01:39] local.INFO: Acknowledgment sent {"connection_id":110492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:02:04] local.INFO: TCP Data received {"connection_id":110320,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:02:04] local.INFO: Processing buffer {"connection_id":110320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:02:04] local.INFO: Packet analysis {"connection_id":110320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:02:04] local.INFO: Extracted packet for processing {"connection_id":110320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:02:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:02:04] 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-06-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:02: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-06-23 02: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-06-23 02:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:02:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:02:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":110320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:02:04] local.INFO: GPS data processed {"connection_id":110320,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:02:04] local.INFO: Acknowledgment sent {"connection_id":110320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:02:10] local.INFO: TCP Data received {"connection_id":110492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:02:10] local.INFO: Processing buffer {"connection_id":110492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:02:10] local.INFO: Packet analysis {"connection_id":110492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:02:10] local.INFO: Extracted packet for processing {"connection_id":110492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02: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-06-23 02:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:02:10] 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-06-23 02:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:02:10] 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-06-23 02:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"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-06-23 02:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:02:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":110492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:02:10] local.INFO: GPS data processed {"connection_id":110492,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:02:10] local.INFO: Acknowledgment sent {"connection_id":110492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:02:25] local.INFO: TCP Data received {"connection_id":112058,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:02:25] local.INFO: Processing buffer {"connection_id":112058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:02:25] local.INFO: IMEI packet received {"connection_id":112058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":112058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:02:31] local.INFO: TCP Data received {"connection_id":112058,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:02:31] local.INFO: Processing buffer {"connection_id":112058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:02:31] local.INFO: IMEI packet received {"connection_id":112058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":112058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:02:32] local.INFO: TCP Data received {"connection_id":112058,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:02:32] local.INFO: Processing buffer {"connection_id":112058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:02:32] local.INFO: Packet analysis {"connection_id":112058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:02:32] local.INFO: Extracted packet for processing {"connection_id":112058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:02:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:02:32] 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-06-23 02:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:02: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-06-23 02: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-06-23 02:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:02:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:02:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:02:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":112058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:02:32] local.INFO: GPS data processed {"connection_id":112058,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:02:32] local.INFO: Acknowledgment sent {"connection_id":112058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:02:33] local.INFO: TCP Data received {"connection_id":112059,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:02:33] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:02:33] local.INFO: IMEI packet received {"connection_id":112059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":112059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:02:38] local.INFO: TCP Data received {"connection_id":112059,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:02:38] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:02:38] local.INFO: IMEI packet received {"connection_id":112059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":112059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:02:39] local.INFO: TCP Data received {"connection_id":112059,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:02:39] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:02:39] local.INFO: Packet analysis {"connection_id":112059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:02:39] local.INFO: Extracted packet for processing {"connection_id":112059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:02:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:02: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-06-23 02:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:02:39] 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-06-23 02:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:02:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":112059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:02:39] local.INFO: GPS data processed {"connection_id":112059,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:02:39] local.INFO: Acknowledgment sent {"connection_id":112059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:03:04] local.INFO: TCP Data received {"connection_id":112058,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:03:04] local.INFO: Processing buffer {"connection_id":112058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:03:04] local.INFO: Packet analysis {"connection_id":112058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:03:04] local.INFO: Extracted packet for processing {"connection_id":112058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:03:04] 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-06-23 02:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:03:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":112058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:03:04] local.INFO: GPS data processed {"connection_id":112058,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:03:04] local.INFO: Acknowledgment sent {"connection_id":112058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:03:10] local.INFO: TCP Data received {"connection_id":112059,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:03:10] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:03:10] local.INFO: Packet analysis {"connection_id":112059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:03:10] local.INFO: Extracted packet for processing {"connection_id":112059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03: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-06-23 02:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:03:10] 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-06-23 02:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:03:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":112059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:03:10] local.INFO: GPS data processed {"connection_id":112059,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:03:10] local.INFO: Acknowledgment sent {"connection_id":112059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:03:25] local.INFO: TCP Data received {"connection_id":110493,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:03:25] local.INFO: Processing buffer {"connection_id":110493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:03:25] local.INFO: IMEI packet received {"connection_id":110493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":110493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:03:31] local.INFO: TCP Data received {"connection_id":110493,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:03:31] local.INFO: Processing buffer {"connection_id":110493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:03:31] local.INFO: IMEI packet received {"connection_id":110493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":110493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:03:32] local.INFO: TCP Data received {"connection_id":110493,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:03:32] local.INFO: Processing buffer {"connection_id":110493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:03:32] local.INFO: Packet analysis {"connection_id":110493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:03:32] local.INFO: Extracted packet for processing {"connection_id":110493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:03:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:03:32] 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-06-23 02:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:03: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-06-23 02: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-06-23 02:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:03:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:03:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:03:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":110493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:03:32] local.INFO: GPS data processed {"connection_id":110493,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:03:32] local.INFO: Acknowledgment sent {"connection_id":110493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:03:33] local.INFO: TCP Data received {"connection_id":110322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:03:33] local.INFO: Processing buffer {"connection_id":110322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:03:33] local.INFO: IMEI packet received {"connection_id":110322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":110322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:03:38] local.INFO: TCP Data received {"connection_id":110322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:03:38] local.INFO: Processing buffer {"connection_id":110322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:03:38] local.INFO: IMEI packet received {"connection_id":110322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":110322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:03:39] local.INFO: TCP Data received {"connection_id":110322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:03:39] local.INFO: Processing buffer {"connection_id":110322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:03:39] local.INFO: Packet analysis {"connection_id":110322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:03:39] local.INFO: Extracted packet for processing {"connection_id":110322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:03: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-06-23 02:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:03:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":110322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:03:39] local.INFO: GPS data processed {"connection_id":110322,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:03:39] local.INFO: Acknowledgment sent {"connection_id":110322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:04:04] local.INFO: TCP Data received {"connection_id":110493,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:04:04] local.INFO: Processing buffer {"connection_id":110493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1058f70012cc3308007685990005a00ee29..."} 
[2026-06-23 02:04:04] local.INFO: Packet analysis {"connection_id":110493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:04:04] local.INFO: Extracted packet for processing {"connection_id":110493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef105"} 
[2026-06-23 02:04:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160134000,"timestamp_ms":1782160134000,"timestamp_seconds":1782160134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1058f70"} 
[2026-06-23 02:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:04:04] 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-06-23 02:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:04: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-06-23 02: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-06-23 02:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232917248001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:04:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232917248001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":110493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:04:04] local.INFO: GPS data processed {"connection_id":110493,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:04:04] local.INFO: Acknowledgment sent {"connection_id":110493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:04:24] local.INFO: TCP Data received {"connection_id":110322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:04:24] local.INFO: Processing buffer {"connection_id":110322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:04:24] local.INFO: Packet analysis {"connection_id":110322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:04:24] local.INFO: Extracted packet for processing {"connection_id":110322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:04:24] 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-06-23 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":110322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:04:24] local.INFO: GPS data processed {"connection_id":110322,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:04:24] local.INFO: Acknowledgment sent {"connection_id":110322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:04:31] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:04:31] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:04:31] local.INFO: IMEI packet received {"connection_id":110494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":110494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:04:33] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:04:33] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:04:33] local.INFO: IMEI packet received {"connection_id":111109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":111109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:04:33] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:04:33] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:04:33] local.INFO: IMEI packet received {"connection_id":110494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":110494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:04:35] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:04:35] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:04:35] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:04:35] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:04:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:04:35] 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-06-23 02:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:04:35] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:04:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:04:35] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:04:35] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:04:36] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:04:36] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:04:36] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:04:36] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:04:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:04:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:04:36] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:04:36] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:04:38] local.INFO: TCP Data received {"connection_id":110323,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:04:38] local.INFO: Processing buffer {"connection_id":110323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:04:38] local.INFO: IMEI packet received {"connection_id":110323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":110323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:04:38] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:04:38] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:04:38] local.INFO: IMEI packet received {"connection_id":111109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":111109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:04:39] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:04:39] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:04:39] local.INFO: Packet analysis {"connection_id":111109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:04:39] local.INFO: Extracted packet for processing {"connection_id":111109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:04: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-06-23 02:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:04:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":111109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:04:39] local.INFO: GPS data processed {"connection_id":111109,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:04:39] local.INFO: Acknowledgment sent {"connection_id":111109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:05:08] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:05:08] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:05:08] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:05:08] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:05:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:05:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:05:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:05:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:05:08] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:05:08] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:05:08] local.INFO: TCP Data received {"connection_id":112061,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:05:08] local.INFO: Processing buffer {"connection_id":112061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:05:08] local.INFO: IMEI packet received {"connection_id":112061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":112061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:05:10] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:10] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:10] local.INFO: Packet analysis {"connection_id":111109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:05:10] local.INFO: Extracted packet for processing {"connection_id":111109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05: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-06-23 02:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:05:10] 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-06-23 02:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":111109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:05:10] local.INFO: GPS data processed {"connection_id":111109,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:05:10] local.INFO: Acknowledgment sent {"connection_id":111109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:05:25] local.INFO: TCP Data received {"connection_id":111110,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:05:25] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:05:25] local.INFO: IMEI packet received {"connection_id":111110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":111110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:05:31] local.INFO: TCP Data received {"connection_id":111110,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:05:31] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:05:31] local.INFO: IMEI packet received {"connection_id":111110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":111110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:05:32] local.INFO: TCP Data received {"connection_id":111110,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:05:32] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:05:32] local.INFO: Packet analysis {"connection_id":111110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:05:32] local.INFO: Extracted packet for processing {"connection_id":111110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:05:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:05:32] 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-06-23 02: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-06-23 02: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-06-23 02: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-06-23 02:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:05:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:05:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":111110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:05:32] local.INFO: GPS data processed {"connection_id":111110,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:05:32] local.INFO: Acknowledgment sent {"connection_id":111110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:05:38] local.INFO: TCP Data received {"connection_id":111111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:05:38] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:05:38] local.INFO: IMEI packet received {"connection_id":111111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":111111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:05:43] local.INFO: TCP Data received {"connection_id":111111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:05:43] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:05:43] local.INFO: IMEI packet received {"connection_id":111111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":111111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:05:44] local.INFO: TCP Data received {"connection_id":111111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:44] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:44] local.INFO: Packet analysis {"connection_id":111111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:05:44] local.INFO: Extracted packet for processing {"connection_id":111111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:44] 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-06-23 02:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:05: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-06-23 02:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:05:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":111111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:05:44] local.INFO: GPS data processed {"connection_id":111111,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:05:44] local.INFO: Acknowledgment sent {"connection_id":111111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:05:49] local.INFO: TCP Data received {"connection_id":111111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:49] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef107be08012d7e394005d34de80004003f29..."} 
[2026-06-23 02:05:49] local.INFO: Packet analysis {"connection_id":111111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:05:49] local.INFO: Extracted packet for processing {"connection_id":111111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef107"} 
[2026-06-23 02:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":41,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232953856001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:05:49] 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-06-23 02:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782160277000,"timestamp_ms":1782160277000,"timestamp_seconds":1782160277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef107be08"} 
[2026-06-23 02:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:05:49] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232953856001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232953856001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:05:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232953856001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":111111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:05:49] local.INFO: GPS data processed {"connection_id":111111,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:05:49] local.INFO: Acknowledgment sent {"connection_id":111111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:06:04] local.INFO: TCP Data received {"connection_id":111110,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:06:04] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:06:04] local.INFO: Packet analysis {"connection_id":111110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:06:04] local.INFO: Extracted packet for processing {"connection_id":111110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:06:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:06:04] 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-06-23 02:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:06: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-06-23 02: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-06-23 02:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:06:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:06:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":111110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:06:04] local.INFO: GPS data processed {"connection_id":111110,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:06:04] local.INFO: Acknowledgment sent {"connection_id":111110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:06:25] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:06:25] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:06:25] local.INFO: IMEI packet received {"connection_id":110496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":110496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:06:31] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:06:31] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:06:31] local.INFO: IMEI packet received {"connection_id":110496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":110496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:06:32] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:06:32] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:06:32] local.INFO: Packet analysis {"connection_id":110496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:06:32] local.INFO: Extracted packet for processing {"connection_id":110496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:06:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:06:32] 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-06-23 02:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02: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-06-23 02:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:06:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:06:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":110496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:06:32] local.INFO: GPS data processed {"connection_id":110496,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:06:32] local.INFO: Acknowledgment sent {"connection_id":110496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:06:33] local.INFO: TCP Data received {"connection_id":110497,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:06:33] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:06:33] local.INFO: IMEI packet received {"connection_id":110497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":110497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:06:38] local.INFO: TCP Data received {"connection_id":110497,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:06:38] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:06:38] local.INFO: IMEI packet received {"connection_id":110497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":110497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:06:39] local.INFO: TCP Data received {"connection_id":110497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:06:39] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:06:39] local.INFO: Packet analysis {"connection_id":110497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:06:39] local.INFO: Extracted packet for processing {"connection_id":110497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06: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-06-23 02:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:06:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":110497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:06:39] local.INFO: GPS data processed {"connection_id":110497,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:06:39] local.INFO: Acknowledgment sent {"connection_id":110497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:06:44] local.INFO: TCP Data received {"connection_id":110497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:06:44] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:06:44] local.INFO: Packet analysis {"connection_id":110497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:06:44] local.INFO: Extracted packet for processing {"connection_id":110497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:06:44] 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-06-23 02:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:06:44] 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-06-23 02:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:06:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":110497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:06:44] local.INFO: GPS data processed {"connection_id":110497,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:06:44] local.INFO: Acknowledgment sent {"connection_id":110497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:07:04] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:04] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:04] local.INFO: Packet analysis {"connection_id":110496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:07:04] local.INFO: Extracted packet for processing {"connection_id":110496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:07:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:07:04] 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-06-23 02:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:07: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-06-23 02: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-06-23 02:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:07:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:07:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":110496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:07:04] local.INFO: GPS data processed {"connection_id":110496,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:07:04] local.INFO: Acknowledgment sent {"connection_id":110496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:07:15] local.INFO: TCP Data received {"connection_id":110497,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:07:15] local.INFO: Processing buffer {"connection_id":110497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:07:15] local.INFO: Packet analysis {"connection_id":110497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:07:15] local.INFO: Extracted packet for processing {"connection_id":110497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:15] 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-06-23 02:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:07:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":110497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:07:15] local.INFO: GPS data processed {"connection_id":110497,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:07:15] local.INFO: Acknowledgment sent {"connection_id":110497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:07:31] local.INFO: TCP Data received {"connection_id":112063,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:07:31] local.INFO: Processing buffer {"connection_id":112063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:07:31] local.INFO: IMEI packet received {"connection_id":112063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":112063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:07:33] local.INFO: TCP Data received {"connection_id":112064,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:07:33] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:07:33] local.INFO: IMEI packet received {"connection_id":112064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":112064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:07:36] local.INFO: TCP Data received {"connection_id":112063,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:07:36] local.INFO: Processing buffer {"connection_id":112063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:07:36] local.INFO: IMEI packet received {"connection_id":112063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":112063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:07:37] local.INFO: TCP Data received {"connection_id":112063,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:37] local.INFO: Processing buffer {"connection_id":112063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:37] local.INFO: Packet analysis {"connection_id":112063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:07:37] local.INFO: Extracted packet for processing {"connection_id":112063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:07:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02: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-06-23 02: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-06-23 02:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:07:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:07:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":112063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:07:37] local.INFO: GPS data processed {"connection_id":112063,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:07:37] local.INFO: Acknowledgment sent {"connection_id":112063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:07:38] local.INFO: TCP Data received {"connection_id":112064,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:07:38] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:07:38] local.INFO: IMEI packet received {"connection_id":112064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":112064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:07:39] local.INFO: TCP Data received {"connection_id":112064,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:07:39] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:07:39] local.INFO: Packet analysis {"connection_id":112064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:07:39] local.INFO: Extracted packet for processing {"connection_id":112064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:07:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07: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-06-23 02:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:07:39] 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-06-23 02: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":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:07:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":112064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:07:39] local.INFO: GPS data processed {"connection_id":112064,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:07:39] local.INFO: Acknowledgment sent {"connection_id":112064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:07:41] local.INFO: TCP Data received {"connection_id":112063,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:41] local.INFO: Processing buffer {"connection_id":112063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:07:41] local.INFO: Packet analysis {"connection_id":112063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:07:41] local.INFO: Extracted packet for processing {"connection_id":112063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":112063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:07:41] local.INFO: GPS data processed {"connection_id":112063,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:07:41] local.INFO: Acknowledgment sent {"connection_id":112063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:08:10] local.INFO: TCP Data received {"connection_id":112064,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:08:10] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:08:10] local.INFO: Packet analysis {"connection_id":112064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:08:10] local.INFO: Extracted packet for processing {"connection_id":112064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08: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-06-23 02:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:08:10] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:08:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":112064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:08:10] local.INFO: GPS data processed {"connection_id":112064,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:08:10] local.INFO: Acknowledgment sent {"connection_id":112064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:08:26] local.INFO: TCP Data received {"connection_id":110498,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:08:26] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:08:26] local.INFO: IMEI packet received {"connection_id":110498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":110498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:08:31] local.INFO: TCP Data received {"connection_id":110498,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:08:31] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:08:31] local.INFO: IMEI packet received {"connection_id":110498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":110498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:08:32] local.INFO: TCP Data received {"connection_id":110498,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:08:32] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:08:32] local.INFO: Packet analysis {"connection_id":110498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:08:32] local.INFO: Extracted packet for processing {"connection_id":110498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:08:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 02:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:08:32] 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-06-23 02: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-06-23 02: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-06-23 02: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-06-23 02:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:08:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:08:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":110498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:08:32] local.INFO: GPS data processed {"connection_id":110498,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:08:32] local.INFO: Acknowledgment sent {"connection_id":110498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:08:33] local.INFO: TCP Data received {"connection_id":110499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:08:33] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:08:33] local.INFO: IMEI packet received {"connection_id":110499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":110499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:08:38] local.INFO: TCP Data received {"connection_id":110499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:08:38] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:08:38] local.INFO: IMEI packet received {"connection_id":110499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":110499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:08:39] local.INFO: TCP Data received {"connection_id":110499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:08:39] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:08:39] local.INFO: Packet analysis {"connection_id":110499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:08:39] local.INFO: Extracted packet for processing {"connection_id":110499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:08: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-06-23 02:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:08:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":110499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:08:39] local.INFO: GPS data processed {"connection_id":110499,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:08:39] local.INFO: Acknowledgment sent {"connection_id":110499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:09:04] local.INFO: TCP Data received {"connection_id":110498,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:09:04] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:09:04] local.INFO: Packet analysis {"connection_id":110498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:09:04] local.INFO: Extracted packet for processing {"connection_id":110498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:09:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 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-06-23 02:09:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:09:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:09:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":110498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:09:04] local.INFO: GPS data processed {"connection_id":110498,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:09:04] local.INFO: Acknowledgment sent {"connection_id":110498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:09:10] local.INFO: TCP Data received {"connection_id":110499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:09:10] local.INFO: Processing buffer {"connection_id":110499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:09:10] local.INFO: Packet analysis {"connection_id":110499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:09:10] local.INFO: Extracted packet for processing {"connection_id":110499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:09:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09: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-06-23 02:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:09:10] 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-06-23 02:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":110499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:09:10] local.INFO: GPS data processed {"connection_id":110499,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:09:10] local.INFO: Acknowledgment sent {"connection_id":110499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:09:25] local.INFO: TCP Data received {"connection_id":110325,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:09:25] local.INFO: Processing buffer {"connection_id":110325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:09:25] local.INFO: IMEI packet received {"connection_id":110325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":110325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:09:31] local.INFO: TCP Data received {"connection_id":110325,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:09:31] local.INFO: Processing buffer {"connection_id":110325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:09:31] local.INFO: IMEI packet received {"connection_id":110325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":110325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:09:33] local.INFO: TCP Data received {"connection_id":110325,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:09:33] local.INFO: Processing buffer {"connection_id":110325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10a2738012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:09:33] local.INFO: Packet analysis {"connection_id":110325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:09:33] local.INFO: Extracted packet for processing {"connection_id":110325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10a"} 
[2026-06-23 02:09:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456232994304001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782160435000,"timestamp_ms":1782160435000,"timestamp_seconds":1782160435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10a2738"} 
[2026-06-23 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-06-23 02:09:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456232994304001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456232994304001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:09:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:09:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:09:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456232994304001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":110325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:09:33] local.INFO: GPS data processed {"connection_id":110325,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:09:33] local.INFO: Acknowledgment sent {"connection_id":110325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:09:33] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:09:33] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:09:33] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:09:38] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:09:38] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:09:38] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:09:39] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:09:39] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:09:39] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:09:39] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:09:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:09: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-06-23 02:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:09:39] 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-06-23 02:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:09:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:09:39] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:09:39] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:10:04] local.INFO: TCP Data received {"connection_id":110325,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:10:04] local.INFO: Processing buffer {"connection_id":110325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:10:04] local.INFO: Packet analysis {"connection_id":110325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:10:04] local.INFO: Extracted packet for processing {"connection_id":110325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 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-06-23 02:10:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:10: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-06-23 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-06-23 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-06-23 02:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:10:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:10:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":110325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:10:05] local.INFO: GPS data processed {"connection_id":110325,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:10:05] local.INFO: Acknowledgment sent {"connection_id":110325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:10:10] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:10:10] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:10:10] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:10:10] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:10:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10: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-06-23 02:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:10:10] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:10:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:10:10] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:10:10] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:10:25] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:10:25] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:10:25] local.INFO: IMEI packet received {"connection_id":110326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":110326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:10:31] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:10:31] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:10:31] local.INFO: IMEI packet received {"connection_id":110326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":110326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:10:32] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:10:32] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:10:32] local.INFO: Packet analysis {"connection_id":110326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:10:32] local.INFO: Extracted packet for processing {"connection_id":110326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:10:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:10:32] 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-06-23 02: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":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:10: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-06-23 02: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-06-23 02:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:10:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:10:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:10:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":110326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:10:32] local.INFO: GPS data processed {"connection_id":110326,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:10:32] local.INFO: Acknowledgment sent {"connection_id":110326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:10:33] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:10:33] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:10:33] local.INFO: IMEI packet received {"connection_id":112065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":112065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:10:38] local.INFO: TCP Data received {"connection_id":110501,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:10:38] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:10:38] local.INFO: IMEI packet received {"connection_id":110501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":110501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:10:38] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:10:38] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:10:38] local.INFO: IMEI packet received {"connection_id":112065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":112065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:10:39] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:10:39] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:10:39] local.INFO: Packet analysis {"connection_id":112065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:10:39] local.INFO: Extracted packet for processing {"connection_id":112065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:10: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-06-23 02:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:10:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":112065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:10:39] local.INFO: GPS data processed {"connection_id":112065,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:10:39] local.INFO: Acknowledgment sent {"connection_id":112065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:11:04] local.INFO: TCP Data received {"connection_id":110326,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:04] local.INFO: Processing buffer {"connection_id":110326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:04] local.INFO: Packet analysis {"connection_id":110326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:11:04] local.INFO: Extracted packet for processing {"connection_id":110326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:11:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 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-06-23 02:11:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:11: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-06-23 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-06-23 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-06-23 02:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:11:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:11:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":110326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:11:04] local.INFO: GPS data processed {"connection_id":110326,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:11:04] local.INFO: Acknowledgment sent {"connection_id":110326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:11:10] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:11:10] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10c55d0012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:11:10] local.INFO: Packet analysis {"connection_id":112065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:11:10] local.INFO: Extracted packet for processing {"connection_id":112065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10c"} 
[2026-06-23 02:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233030912001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11: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-06-23 02:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160578000,"timestamp_ms":1782160578000,"timestamp_seconds":1782160578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10c55d0"} 
[2026-06-23 02:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:11:10] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233030912001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233030912001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233030912001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":112065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:11:10] local.INFO: GPS data processed {"connection_id":112065,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:11:10] local.INFO: Acknowledgment sent {"connection_id":112065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:11:12] local.INFO: TCP Data received {"connection_id":112066,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:11:12] local.INFO: Processing buffer {"connection_id":112066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:11:12] local.INFO: IMEI packet received {"connection_id":112066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":112066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:11:31] local.INFO: TCP Data received {"connection_id":110327,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:11:31] local.INFO: Processing buffer {"connection_id":110327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:11:31] local.INFO: IMEI packet received {"connection_id":110327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":110327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:11:38] local.INFO: TCP Data received {"connection_id":112067,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:11:38] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:11:38] local.INFO: IMEI packet received {"connection_id":112067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":112067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:11:38] local.INFO: TCP Data received {"connection_id":110327,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:11:38] local.INFO: Processing buffer {"connection_id":110327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:11:38] local.INFO: IMEI packet received {"connection_id":110327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":110327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:11:40] local.INFO: TCP Data received {"connection_id":110327,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:40] local.INFO: Processing buffer {"connection_id":110327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:40] local.INFO: Packet analysis {"connection_id":110327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:11:40] local.INFO: Extracted packet for processing {"connection_id":110327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:11:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:11:40] 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-06-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:11:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:11:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":110327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:11:40] local.INFO: GPS data processed {"connection_id":110327,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:11:40] local.INFO: Acknowledgment sent {"connection_id":110327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:11:43] local.INFO: TCP Data received {"connection_id":110327,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:43] local.INFO: Processing buffer {"connection_id":110327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:11:43] local.INFO: Packet analysis {"connection_id":110327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:11:43] local.INFO: Extracted packet for processing {"connection_id":110327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:11:43] 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-06-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:11:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:11:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":110327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:11:43] local.INFO: GPS data processed {"connection_id":110327,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:11:43] local.INFO: Acknowledgment sent {"connection_id":110327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:11:43] local.INFO: TCP Data received {"connection_id":112067,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:11:43] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:11:43] local.INFO: IMEI packet received {"connection_id":112067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":112067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:11:44] local.INFO: TCP Data received {"connection_id":112067,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:11:44] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:11:44] local.INFO: Packet analysis {"connection_id":112067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:11:44] local.INFO: Extracted packet for processing {"connection_id":112067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:11:44] 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-06-23 02:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:11:44] 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-06-23 02:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:11:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":112067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:11:44] local.INFO: GPS data processed {"connection_id":112067,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:11:44] local.INFO: Acknowledgment sent {"connection_id":112067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:12:15] local.INFO: TCP Data received {"connection_id":112067,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:12:15] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:12:15] local.INFO: Packet analysis {"connection_id":112067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:12:15] local.INFO: Extracted packet for processing {"connection_id":112067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:15] 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-06-23 02:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:12:15] 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-06-23 02:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:12:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":112067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:12:15] local.INFO: GPS data processed {"connection_id":112067,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:12:15] local.INFO: Acknowledgment sent {"connection_id":112067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:12:26] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:12:26] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:12:26] local.INFO: IMEI packet received {"connection_id":110502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":110502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:12:31] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:12:31] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:12:31] local.INFO: IMEI packet received {"connection_id":110502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":110502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:12:32] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:12:32] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:12:32] local.INFO: Packet analysis {"connection_id":110502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:12:32] local.INFO: Extracted packet for processing {"connection_id":110502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:12:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:12:32] 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-06-23 02:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:12: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-06-23 02:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:12:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":110502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:12:32] local.INFO: GPS data processed {"connection_id":110502,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:12:32] local.INFO: Acknowledgment sent {"connection_id":110502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:12:33] local.INFO: TCP Data received {"connection_id":111114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:12:33] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:12:33] local.INFO: IMEI packet received {"connection_id":111114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":111114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:12:38] local.INFO: TCP Data received {"connection_id":111114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:12:38] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:12:38] local.INFO: IMEI packet received {"connection_id":111114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":111114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:12:39] local.INFO: TCP Data received {"connection_id":111114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:12:39] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:12:39] local.INFO: Packet analysis {"connection_id":111114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:12:39] local.INFO: Extracted packet for processing {"connection_id":111114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:12: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-06-23 02:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:12:39] 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-06-23 02:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":111114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:12:39] local.INFO: GPS data processed {"connection_id":111114,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:12:39] local.INFO: Acknowledgment sent {"connection_id":111114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:13:04] local.INFO: TCP Data received {"connection_id":110502,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:13:04] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:13:04] local.INFO: Packet analysis {"connection_id":110502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:13:04] local.INFO: Extracted packet for processing {"connection_id":110502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:13:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:13:04] 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-06-23 02:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":110502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:13:04] local.INFO: GPS data processed {"connection_id":110502,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:13:04] local.INFO: Acknowledgment sent {"connection_id":110502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:13:10] local.INFO: TCP Data received {"connection_id":111114,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:13:10] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:13:10] local.INFO: Packet analysis {"connection_id":111114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:13:10] local.INFO: Extracted packet for processing {"connection_id":111114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13: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-06-23 02:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:13:10] 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-06-23 02:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":111114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:13:10] local.INFO: GPS data processed {"connection_id":111114,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:13:10] local.INFO: Acknowledgment sent {"connection_id":111114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:13:25] local.INFO: TCP Data received {"connection_id":110329,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:13:25] local.INFO: Processing buffer {"connection_id":110329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:13:25] local.INFO: IMEI packet received {"connection_id":110329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:13:31] local.INFO: TCP Data received {"connection_id":110329,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:13:31] local.INFO: Processing buffer {"connection_id":110329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:13:31] local.INFO: IMEI packet received {"connection_id":110329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":110329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:13:32] local.INFO: TCP Data received {"connection_id":110329,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:13:32] local.INFO: Processing buffer {"connection_id":110329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:13:32] local.INFO: Packet analysis {"connection_id":110329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:13:32] local.INFO: Extracted packet for processing {"connection_id":110329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:13:32] 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-06-23 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:13: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-06-23 02:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:13:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:13:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":110329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:13:32] local.INFO: GPS data processed {"connection_id":110329,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:13:32] local.INFO: Acknowledgment sent {"connection_id":110329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:13:33] local.INFO: TCP Data received {"connection_id":110330,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:13:33] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:13:33] local.INFO: IMEI packet received {"connection_id":110330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":110330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:13:38] local.INFO: TCP Data received {"connection_id":110330,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:13:38] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:13:38] local.INFO: IMEI packet received {"connection_id":110330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":110330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:13:39] local.INFO: TCP Data received {"connection_id":110330,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:13:39] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:13:39] local.INFO: Packet analysis {"connection_id":110330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:13:39] local.INFO: Extracted packet for processing {"connection_id":110330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:13:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:13: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-06-23 02:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:13:39] 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-06-23 02: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":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:13:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":110330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:13:39] local.INFO: GPS data processed {"connection_id":110330,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:13:39] local.INFO: Acknowledgment sent {"connection_id":110330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:14:05] local.INFO: TCP Data received {"connection_id":110329,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:14:05] local.INFO: Processing buffer {"connection_id":110329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:14:05] local.INFO: Packet analysis {"connection_id":110329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:14:05] local.INFO: Extracted packet for processing {"connection_id":110329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:14:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 02:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:14: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-06-23 02:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:14:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:14:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":110329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:14:05] local.INFO: GPS data processed {"connection_id":110329,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:14:05] local.INFO: Acknowledgment sent {"connection_id":110329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:14:10] local.INFO: TCP Data received {"connection_id":110330,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:14:10] local.INFO: Processing buffer {"connection_id":110330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:14:10] local.INFO: Packet analysis {"connection_id":110330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:14:10] local.INFO: Extracted packet for processing {"connection_id":110330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14: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-06-23 02:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:14:10] 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-06-23 02:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:14:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":110330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:14:10] local.INFO: GPS data processed {"connection_id":110330,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:14:10] local.INFO: Acknowledgment sent {"connection_id":110330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:14:25] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:14:25] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:14:25] local.INFO: IMEI packet received {"connection_id":112068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":112068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:14:31] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:14:31] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:14:31] local.INFO: IMEI packet received {"connection_id":112068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":112068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:14:33] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:14:33] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef10ebf00012cc3308007685990005a00ee24..."} 
[2026-06-23 02:14:33] local.INFO: Packet analysis {"connection_id":112068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:14:33] local.INFO: Extracted packet for processing {"connection_id":112068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef10e"} 
[2026-06-23 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233071360001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782160736000,"timestamp_ms":1782160736000,"timestamp_seconds":1782160736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef10ebf00"} 
[2026-06-23 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-06-23 02:14:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233071360001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233071360001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:14:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:14:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:14:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233071360001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":112068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:14:33] local.INFO: GPS data processed {"connection_id":112068,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:14:33] local.INFO: Acknowledgment sent {"connection_id":112068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:14:33] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:14:33] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:14:33] local.INFO: IMEI packet received {"connection_id":110332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":110332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:14:38] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:14:38] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:14:38] local.INFO: IMEI packet received {"connection_id":110332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":110332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:14:39] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:14:39] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:14:39] local.INFO: Packet analysis {"connection_id":110332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:14:39] local.INFO: Extracted packet for processing {"connection_id":110332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:14: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-06-23 02:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:14:39] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":110332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:14:39] local.INFO: GPS data processed {"connection_id":110332,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:14:39] local.INFO: Acknowledgment sent {"connection_id":110332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:15:04] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:15:04] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:15:04] local.INFO: Packet analysis {"connection_id":112068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:15:04] local.INFO: Extracted packet for processing {"connection_id":112068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:15:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 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-06-23 02:15:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:15:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:15:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":112068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:15:04] local.INFO: GPS data processed {"connection_id":112068,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:15:04] local.INFO: Acknowledgment sent {"connection_id":112068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:15:10] local.INFO: TCP Data received {"connection_id":110332,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:15:10] local.INFO: Processing buffer {"connection_id":110332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:15:10] local.INFO: Packet analysis {"connection_id":110332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:15:10] local.INFO: Extracted packet for processing {"connection_id":110332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15: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-06-23 02:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:15:10] 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-06-23 02: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":110332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:15:10] local.INFO: GPS data processed {"connection_id":110332,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:15:10] local.INFO: Acknowledgment sent {"connection_id":110332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:15:26] local.INFO: TCP Data received {"connection_id":110334,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:15:26] local.INFO: Processing buffer {"connection_id":110334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:15:26] local.INFO: IMEI packet received {"connection_id":110334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":110334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:15:31] local.INFO: TCP Data received {"connection_id":110334,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:15:31] local.INFO: Processing buffer {"connection_id":110334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:15:31] local.INFO: IMEI packet received {"connection_id":110334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":110334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:15:32] local.INFO: TCP Data received {"connection_id":110334,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:15:32] local.INFO: Processing buffer {"connection_id":110334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:15:32] local.INFO: Packet analysis {"connection_id":110334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:15:32] local.INFO: Extracted packet for processing {"connection_id":110334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:15:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:15:32] 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-06-23 02:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:15:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:15:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:15:32] local.INFO: GPS data processed {"connection_id":110334,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:15:32] local.INFO: Acknowledgment sent {"connection_id":110334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:15:33] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:15:33] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:15:33] local.INFO: IMEI packet received {"connection_id":111115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":111115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:15:38] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:15:38] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:15:38] local.INFO: IMEI packet received {"connection_id":111115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":111115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:15:39] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:15:39] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:15:39] local.INFO: Packet analysis {"connection_id":111115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:15:39] local.INFO: Extracted packet for processing {"connection_id":111115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:15: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-06-23 02:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:15:39] 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-06-23 02:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":111115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:15:39] local.INFO: GPS data processed {"connection_id":111115,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:15:39] local.INFO: Acknowledgment sent {"connection_id":111115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:16:04] local.INFO: TCP Data received {"connection_id":110334,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:16:04] local.INFO: Processing buffer {"connection_id":110334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:16:04] local.INFO: Packet analysis {"connection_id":110334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:16:04] local.INFO: Extracted packet for processing {"connection_id":110334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 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-06-23 02:16:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:16:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:16:04] local.INFO: GPS data processed {"connection_id":110334,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:16:04] local.INFO: Acknowledgment sent {"connection_id":110334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:16:10] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:10] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef110ed98012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:10] local.INFO: Packet analysis {"connection_id":111115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:16:10] local.INFO: Extracted packet for processing {"connection_id":111115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef110"} 
[2026-06-23 02:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233107968001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16: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-06-23 02:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782160879000,"timestamp_ms":1782160879000,"timestamp_seconds":1782160879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef110ed98"} 
[2026-06-23 02:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:16:10] 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-06-23 02:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233107968001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233107968001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:16:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233107968001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":111115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:16:10] local.INFO: GPS data processed {"connection_id":111115,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:16:10] local.INFO: Acknowledgment sent {"connection_id":111115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:16:25] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:16:25] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:16:25] local.INFO: IMEI packet received {"connection_id":112069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":112069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:16:31] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:16:31] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:16:31] local.INFO: IMEI packet received {"connection_id":112069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":112069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:16:32] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:16:32] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:16:32] local.INFO: Packet analysis {"connection_id":112069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:16:32] local.INFO: Extracted packet for processing {"connection_id":112069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:16:32] 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-06-23 02:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:16:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":112069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:16:32] local.INFO: GPS data processed {"connection_id":112069,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:16:32] local.INFO: Acknowledgment sent {"connection_id":112069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:16:38] local.INFO: TCP Data received {"connection_id":110503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:16:38] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:16:38] local.INFO: IMEI packet received {"connection_id":110503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 02:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":110503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:16:43] local.INFO: TCP Data received {"connection_id":110503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:16:43] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 02:16:43] local.INFO: IMEI packet received {"connection_id":110503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 02:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":110503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:16:43] local.INFO: TCP Data received {"connection_id":111116,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:16:43] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:16:43] local.INFO: IMEI packet received {"connection_id":111116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":111116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:16:44] local.INFO: TCP Data received {"connection_id":110503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1158560012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1158560012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:44] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1158560012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:44] local.INFO: Packet analysis {"connection_id":110503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef115"} 
[2026-06-23 02:16:44] local.INFO: Extracted packet for processing {"connection_id":110503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef115"} 
[2026-06-23 02:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233185024001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:44] 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-06-23 02:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782161180000,"timestamp_ms":1782161180000,"timestamp_seconds":1782161180,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1158560"} 
[2026-06-23 02:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:16:44] 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-06-23 02:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":110503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":110503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":110503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233185024001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233185024001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:16:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233185024001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":110503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:16:44] local.INFO: GPS data processed {"connection_id":110503,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:16:44] local.INFO: Acknowledgment sent {"connection_id":110503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:16:49] local.INFO: TCP Data received {"connection_id":110503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1158560012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1158560012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:49] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1158560012d7e394005d34de80004003f2c..."} 
[2026-06-23 02:16:49] local.INFO: Packet analysis {"connection_id":110503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef115"} 
[2026-06-23 02:16:49] local.INFO: Extracted packet for processing {"connection_id":110503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef115"} 
[2026-06-23 02:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734120,"longitude_deg":76.3246912,"latitude_deg":9.773412,"altitude":4,"angle":63,"satellites":44,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 02:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233185024001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215539712,"note":"Value kept but may cause issues"} 
[2026-06-23 02:16:49] 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-06-23 02:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782161180000,"timestamp_ms":1782161180000,"timestamp_seconds":1782161180,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1158560"} 
[2026-06-23 02:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:16:49] 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-06-23 02:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 02:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 02:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 02:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 02:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233185024001,"66":2209,"109":206,"85":15104,"24":0,"16":96139789199212544,"45":9095371316215539712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 02:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 02:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 02:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233185024001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:16:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 02:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 02:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215539712,"description":"Unknown IO ID 45"} 
[2026-06-23 02:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233185024001,"power":2209,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215539712}} 
[2026-06-23 02:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":110503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:16:49] local.INFO: GPS data processed {"connection_id":110503,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:16:49] local.INFO: Acknowledgment sent {"connection_id":110503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:17:04] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:17:04] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:17:04] local.INFO: Packet analysis {"connection_id":112069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:17:04] local.INFO: Extracted packet for processing {"connection_id":112069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:17:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:17:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 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-06-23 02:17:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:17:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:17:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:17:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":112069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:17:04] local.INFO: GPS data processed {"connection_id":112069,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:17:04] local.INFO: Acknowledgment sent {"connection_id":112069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:17:08] local.INFO: TCP Data received {"connection_id":111117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:17:08] local.INFO: Processing buffer {"connection_id":111117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:17:08] local.INFO: IMEI packet received {"connection_id":111117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":111117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:17:25] local.INFO: TCP Data received {"connection_id":110335,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:17:25] local.INFO: Processing buffer {"connection_id":110335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:17:25] local.INFO: IMEI packet received {"connection_id":110335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":110335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:17:31] local.INFO: TCP Data received {"connection_id":110335,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:17:31] local.INFO: Processing buffer {"connection_id":110335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:17:31] local.INFO: IMEI packet received {"connection_id":110335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":110335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:17:33] local.INFO: TCP Data received {"connection_id":110335,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:17:33] local.INFO: Processing buffer {"connection_id":110335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:17:33] local.INFO: Packet analysis {"connection_id":110335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:17:33] local.INFO: Extracted packet for processing {"connection_id":110335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:17:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:17:33] 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-06-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:17:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:17:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":110335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:17:33] local.INFO: GPS data processed {"connection_id":110335,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:17:33] local.INFO: Acknowledgment sent {"connection_id":110335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:18:04] local.INFO: TCP Data received {"connection_id":110335,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:04] local.INFO: Processing buffer {"connection_id":110335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:04] local.INFO: Packet analysis {"connection_id":110335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:18:04] local.INFO: Extracted packet for processing {"connection_id":110335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:18:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:18:04] 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-06-23 02:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:18:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:18:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":110335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:18:04] local.INFO: GPS data processed {"connection_id":110335,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:18:04] local.INFO: Acknowledgment sent {"connection_id":110335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:18:31] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:18:31] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:18:31] local.INFO: IMEI packet received {"connection_id":111118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":111118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:18:36] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:18:36] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:18:36] local.INFO: IMEI packet received {"connection_id":111118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":111118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:18:38] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:38] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:38] local.INFO: Packet analysis {"connection_id":111118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:18:38] local.INFO: Extracted packet for processing {"connection_id":111118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:18:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:18:38] 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-06-23 02:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:18:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:18:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":111118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:18:38] local.INFO: GPS data processed {"connection_id":111118,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:18:38] local.INFO: Acknowledgment sent {"connection_id":111118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:18:42] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:42] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:18:42] local.INFO: Packet analysis {"connection_id":111118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:18:42] local.INFO: Extracted packet for processing {"connection_id":111118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:18:42] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:18:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":111118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:18:42] local.INFO: GPS data processed {"connection_id":111118,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:18:42] local.INFO: Acknowledgment sent {"connection_id":111118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:19:26] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:19:26] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:19:26] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:19:31] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:19:31] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:19:31] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:19:32] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:19:32] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11356c8012cc3308007685990005a00ee2a..."} 
[2026-06-23 02:19:32] local.INFO: Packet analysis {"connection_id":111120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:19:32] local.INFO: Extracted packet for processing {"connection_id":111120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef113"} 
[2026-06-23 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161037000,"timestamp_ms":1782161037000,"timestamp_seconds":1782161037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11356c8"} 
[2026-06-23 02:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:19:32] 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-06-23 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233148416001,"66":24582,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:19:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:19:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233148416001,"power":24582,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":111120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:19:32] local.INFO: GPS data processed {"connection_id":111120,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:19:32] local.INFO: Acknowledgment sent {"connection_id":111120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:20:03] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:20:03] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:20:03] local.INFO: Packet analysis {"connection_id":111120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:20:03] local.INFO: Extracted packet for processing {"connection_id":111120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:20:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:20:03] 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-06-23 02: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:20:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:20:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":111120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:20:03] local.INFO: GPS data processed {"connection_id":111120,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:20:03] local.INFO: Acknowledgment sent {"connection_id":111120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:20:25] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:20:25] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:20:25] local.INFO: IMEI packet received {"connection_id":112070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":112070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:20:31] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:20:31] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:20:31] local.INFO: IMEI packet received {"connection_id":112070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":112070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:20:32] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:20:32] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:20:32] local.INFO: Packet analysis {"connection_id":112070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:20:32] local.INFO: Extracted packet for processing {"connection_id":112070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:20:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:20:32] 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-06-23 02:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:20:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:20:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":112070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:20:32] local.INFO: GPS data processed {"connection_id":112070,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:20:32] local.INFO: Acknowledgment sent {"connection_id":112070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:21:04] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:04] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:04] local.INFO: Packet analysis {"connection_id":112070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:21:04] local.INFO: Extracted packet for processing {"connection_id":112070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:21:04] 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-06-23 02: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:21:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:21:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":112070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:21:04] local.INFO: GPS data processed {"connection_id":112070,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:21:04] local.INFO: Acknowledgment sent {"connection_id":112070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:21:31] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:21:31] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:21:31] local.INFO: IMEI packet received {"connection_id":110506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":110506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:21:36] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:21:36] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:21:36] local.INFO: IMEI packet received {"connection_id":110506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":110506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:21:37] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:37] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:37] local.INFO: Packet analysis {"connection_id":110506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:21:37] local.INFO: Extracted packet for processing {"connection_id":110506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:21:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:21:37] 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-06-23 02: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:21:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:21:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":110506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:21:37] local.INFO: GPS data processed {"connection_id":110506,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:21:37] local.INFO: Acknowledgment sent {"connection_id":110506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:21:41] local.INFO: TCP Data received {"connection_id":110506,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:41] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:21:41] local.INFO: Packet analysis {"connection_id":110506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:21:41] local.INFO: Extracted packet for processing {"connection_id":110506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:21:41] 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-06-23 02: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":110506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:21:41] local.INFO: GPS data processed {"connection_id":110506,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:21:41] local.INFO: Acknowledgment sent {"connection_id":110506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:22:26] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:22:26] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:22:26] local.INFO: IMEI packet received {"connection_id":110337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":110337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:22:28] local.INFO: TCP Data received {"connection_id":110336,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:22:28] local.INFO: Processing buffer {"connection_id":110336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:22:28] local.INFO: IMEI packet received {"connection_id":110336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":110336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:22:31] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:22:31] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:22:31] local.INFO: IMEI packet received {"connection_id":110337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":110337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:22:32] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:22:32] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:22:32] local.INFO: Packet analysis {"connection_id":110337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:22:32] local.INFO: Extracted packet for processing {"connection_id":110337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:22:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:22:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:22:32] 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-06-23 02:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:22:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:22:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:22:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":110337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:22:32] local.INFO: GPS data processed {"connection_id":110337,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:22:32] local.INFO: Acknowledgment sent {"connection_id":110337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:23:03] local.INFO: TCP Data received {"connection_id":110337,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:23:04] local.INFO: Processing buffer {"connection_id":110337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:23:04] local.INFO: Packet analysis {"connection_id":110337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:23:04] local.INFO: Extracted packet for processing {"connection_id":110337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:23:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:23:04] 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-06-23 02: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:23:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:23:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":110337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:23:04] local.INFO: GPS data processed {"connection_id":110337,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:23:04] local.INFO: Acknowledgment sent {"connection_id":110337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:23:08] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:23:08] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:23:08] local.INFO: IMEI packet received {"connection_id":112071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":112071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:23:26] local.INFO: TCP Data received {"connection_id":110507,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:23:26] local.INFO: Processing buffer {"connection_id":110507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:23:26] local.INFO: IMEI packet received {"connection_id":110507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":110507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:23:31] local.INFO: TCP Data received {"connection_id":110507,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:23:31] local.INFO: Processing buffer {"connection_id":110507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:23:31] local.INFO: IMEI packet received {"connection_id":110507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":110507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:23:32] local.INFO: TCP Data received {"connection_id":110507,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:23:32] local.INFO: Processing buffer {"connection_id":110507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:23:32] local.INFO: Packet analysis {"connection_id":110507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:23:32] local.INFO: Extracted packet for processing {"connection_id":110507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:23:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:23:32] 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-06-23 02:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:23:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:23:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":110507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:23:32] local.INFO: GPS data processed {"connection_id":110507,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:23:32] local.INFO: Acknowledgment sent {"connection_id":110507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:24:04] local.INFO: TCP Data received {"connection_id":110507,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:24:04] local.INFO: Processing buffer {"connection_id":110507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:24:04] local.INFO: Packet analysis {"connection_id":110507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:24:04] local.INFO: Extracted packet for processing {"connection_id":110507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:24:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:24:04] 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-06-23 02:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:24:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:24:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":110507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:24:04] local.INFO: GPS data processed {"connection_id":110507,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:24:04] local.INFO: Acknowledgment sent {"connection_id":110507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:24:25] local.INFO: TCP Data received {"connection_id":110338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:24:25] local.INFO: Processing buffer {"connection_id":110338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:24:25] local.INFO: IMEI packet received {"connection_id":110338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:24:31] local.INFO: TCP Data received {"connection_id":110338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:24:31] local.INFO: Processing buffer {"connection_id":110338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:24:31] local.INFO: IMEI packet received {"connection_id":110338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":110338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:24:32] local.INFO: TCP Data received {"connection_id":110338,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:24:32] local.INFO: Processing buffer {"connection_id":110338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef117ee90012cc3308007685990005a00ee24..."} 
[2026-06-23 02:24:32] local.INFO: Packet analysis {"connection_id":110338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:24:32] local.INFO: Extracted packet for processing {"connection_id":110338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef117"} 
[2026-06-23 02:24:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233225472001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161338000,"timestamp_ms":1782161338000,"timestamp_seconds":1782161338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef117ee90"} 
[2026-06-23 02:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:24:32] 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-06-23 02: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 02:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":732,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233225472001,"66":25321,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233225472001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:24:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:24:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233225472001,"power":25321,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":110338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:24:32] local.INFO: GPS data processed {"connection_id":110338,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:24:32] local.INFO: Acknowledgment sent {"connection_id":110338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:25:04] local.INFO: TCP Data received {"connection_id":110338,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:04] local.INFO: Processing buffer {"connection_id":110338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:04] local.INFO: Packet analysis {"connection_id":110338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:25:04] local.INFO: Extracted packet for processing {"connection_id":110338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:25:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 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-06-23 02:25:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:25: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-06-23 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-06-23 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-06-23 02:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:25:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:25:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":110338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:25:04] local.INFO: GPS data processed {"connection_id":110338,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:25:04] local.INFO: Acknowledgment sent {"connection_id":110338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:25:31] local.INFO: TCP Data received {"connection_id":112073,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:25:31] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:25:31] local.INFO: IMEI packet received {"connection_id":112073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":112073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:25:36] local.INFO: TCP Data received {"connection_id":112073,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:25:36] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:25:36] local.INFO: IMEI packet received {"connection_id":112073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":112073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:25:37] local.INFO: TCP Data received {"connection_id":112073,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:37] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:37] local.INFO: Packet analysis {"connection_id":112073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:25:37] local.INFO: Extracted packet for processing {"connection_id":112073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:25:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:25:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:25:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":112073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:25:37] local.INFO: GPS data processed {"connection_id":112073,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:25:37] local.INFO: Acknowledgment sent {"connection_id":112073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:25:41] local.INFO: TCP Data received {"connection_id":112073,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:41] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:25:41] local.INFO: Packet analysis {"connection_id":112073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:25:41] local.INFO: Extracted packet for processing {"connection_id":112073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:25:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:25: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-06-23 02: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-06-23 02:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:25:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:25:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":112073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:25:41] local.INFO: GPS data processed {"connection_id":112073,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:25:41] local.INFO: Acknowledgment sent {"connection_id":112073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:26:26] local.INFO: TCP Data received {"connection_id":110339,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:26:26] local.INFO: Processing buffer {"connection_id":110339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:26:26] local.INFO: IMEI packet received {"connection_id":110339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":110339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:26:31] local.INFO: TCP Data received {"connection_id":110339,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:26:31] local.INFO: Processing buffer {"connection_id":110339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:26:31] local.INFO: IMEI packet received {"connection_id":110339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":110339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:26:32] local.INFO: TCP Data received {"connection_id":110339,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:26:32] local.INFO: Processing buffer {"connection_id":110339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:26:32] local.INFO: Packet analysis {"connection_id":110339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:26:32] local.INFO: Extracted packet for processing {"connection_id":110339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:26:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:26:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:26:32] 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-06-23 02:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:26: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-06-23 02: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-06-23 02:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:26:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:26:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:26:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":110339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:26:32] local.INFO: GPS data processed {"connection_id":110339,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:26:32] local.INFO: Acknowledgment sent {"connection_id":110339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:27:04] local.INFO: TCP Data received {"connection_id":110339,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:27:04] local.INFO: Processing buffer {"connection_id":110339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:27:04] local.INFO: Packet analysis {"connection_id":110339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:27:04] local.INFO: Extracted packet for processing {"connection_id":110339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 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-06-23 02:27:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:27:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:27:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":110339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:27:04] local.INFO: GPS data processed {"connection_id":110339,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:27:04] local.INFO: Acknowledgment sent {"connection_id":110339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:27:25] local.INFO: TCP Data received {"connection_id":110340,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:27:25] local.INFO: Processing buffer {"connection_id":110340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:27:25] local.INFO: IMEI packet received {"connection_id":110340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":110340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:27:31] local.INFO: TCP Data received {"connection_id":110340,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:27:31] local.INFO: Processing buffer {"connection_id":110340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:27:31] local.INFO: IMEI packet received {"connection_id":110340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":110340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:27:32] local.INFO: TCP Data received {"connection_id":110340,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:27:32] local.INFO: Processing buffer {"connection_id":110340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:27:32] local.INFO: Packet analysis {"connection_id":110340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:27:32] local.INFO: Extracted packet for processing {"connection_id":110340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:27:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:27:32] 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-06-23 02:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:27: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-06-23 02: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-06-23 02:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:27:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:27:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":110340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:27:32] local.INFO: GPS data processed {"connection_id":110340,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:27:32] local.INFO: Acknowledgment sent {"connection_id":110340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:28:04] local.INFO: TCP Data received {"connection_id":110340,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:28:04] local.INFO: Processing buffer {"connection_id":110340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:28:04] local.INFO: Packet analysis {"connection_id":110340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:28:04] local.INFO: Extracted packet for processing {"connection_id":110340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:28:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:28:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 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-06-23 02:28:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:28: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-06-23 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-06-23 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-06-23 02:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:28:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:28:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:28:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":110340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:28:05] local.INFO: GPS data processed {"connection_id":110340,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:28:05] local.INFO: Acknowledgment sent {"connection_id":110340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:28:25] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:28:25] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:28:25] local.INFO: IMEI packet received {"connection_id":111124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":111124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:28:31] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:28:31] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:28:31] local.INFO: IMEI packet received {"connection_id":111124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":111124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:28:32] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:28:32] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:28:32] local.INFO: Packet analysis {"connection_id":111124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:28:32] local.INFO: Extracted packet for processing {"connection_id":111124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:28:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:28:32] 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-06-23 02:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:28: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-06-23 02:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:28:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:28:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":111124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:28:32] local.INFO: GPS data processed {"connection_id":111124,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:28:32] local.INFO: Acknowledgment sent {"connection_id":111124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:28:33] local.INFO: TCP Data received {"connection_id":110509,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:28:33] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:28:33] local.INFO: IMEI packet received {"connection_id":110509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":110509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:29:04] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:29:04] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:29:04] local.INFO: Packet analysis {"connection_id":111124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:29:04] local.INFO: Extracted packet for processing {"connection_id":111124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:29:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:29:04] 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-06-23 02:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:29:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:29:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":111124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:29:04] local.INFO: GPS data processed {"connection_id":111124,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:29:04] local.INFO: Acknowledgment sent {"connection_id":111124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:29:08] local.INFO: TCP Data received {"connection_id":112074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:29:08] local.INFO: Processing buffer {"connection_id":112074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:29:08] local.INFO: IMEI packet received {"connection_id":112074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":112074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:29:31] local.INFO: TCP Data received {"connection_id":110341,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:29:31] local.INFO: Processing buffer {"connection_id":110341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:29:31] local.INFO: IMEI packet received {"connection_id":110341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":110341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:29:36] local.INFO: TCP Data received {"connection_id":110341,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:29:36] local.INFO: Processing buffer {"connection_id":110341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:29:36] local.INFO: IMEI packet received {"connection_id":110341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":110341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:29:37] local.INFO: TCP Data received {"connection_id":110341,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:29:37] local.INFO: Processing buffer {"connection_id":110341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef11c8658012cc3308007685990005a00ee28..."} 
[2026-06-23 02:29:37] local.INFO: Packet analysis {"connection_id":110341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:29:37] local.INFO: Extracted packet for processing {"connection_id":110341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef11c"} 
[2026-06-23 02:29:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233302528001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782161639000,"timestamp_ms":1782161639000,"timestamp_seconds":1782161639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef11c8658"} 
[2026-06-23 02:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 02:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233302528001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233302528001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:29:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:29:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233302528001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":110341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:29:37] local.INFO: GPS data processed {"connection_id":110341,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:29:37] local.INFO: Acknowledgment sent {"connection_id":110341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:29:39] local.INFO: TCP Data received {"connection_id":110341,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:29:39] local.INFO: Processing buffer {"connection_id":110341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:29:39] local.INFO: Packet analysis {"connection_id":110341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:29:39] local.INFO: Extracted packet for processing {"connection_id":110341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:29:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:29:39] 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-06-23 02:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:29:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":110341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:29:39] local.INFO: GPS data processed {"connection_id":110341,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:29:39] local.INFO: Acknowledgment sent {"connection_id":110341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:30:10] local.INFO: TCP Data received {"connection_id":110341,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:10] local.INFO: Processing buffer {"connection_id":110341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:10] local.INFO: Packet analysis {"connection_id":110341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:30:10] local.INFO: Extracted packet for processing {"connection_id":110341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":110341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:30:10] local.INFO: GPS data processed {"connection_id":110341,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:30:10] local.INFO: Acknowledgment sent {"connection_id":110341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:30:31] local.INFO: TCP Data received {"connection_id":111125,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:30:31] local.INFO: Processing buffer {"connection_id":111125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:30:31] local.INFO: IMEI packet received {"connection_id":111125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":111125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:30:36] local.INFO: TCP Data received {"connection_id":111125,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:30:36] local.INFO: Processing buffer {"connection_id":111125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:30:36] local.INFO: IMEI packet received {"connection_id":111125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":111125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:30:37] local.INFO: TCP Data received {"connection_id":111125,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:37] local.INFO: Processing buffer {"connection_id":111125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:37] local.INFO: Packet analysis {"connection_id":111125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:30:37] local.INFO: Extracted packet for processing {"connection_id":111125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:30:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:30:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":111125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:30:37] local.INFO: GPS data processed {"connection_id":111125,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:30:37] local.INFO: Acknowledgment sent {"connection_id":111125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:30:41] local.INFO: TCP Data received {"connection_id":111125,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:41] local.INFO: Processing buffer {"connection_id":111125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:30:41] local.INFO: Packet analysis {"connection_id":111125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:30:41] local.INFO: Extracted packet for processing {"connection_id":111125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:30:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:30:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":111125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:30:41] local.INFO: GPS data processed {"connection_id":111125,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:30:41] local.INFO: Acknowledgment sent {"connection_id":111125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:31:26] local.INFO: TCP Data received {"connection_id":110342,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:31:26] local.INFO: Processing buffer {"connection_id":110342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:31:26] local.INFO: IMEI packet received {"connection_id":110342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":110342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:31:31] local.INFO: TCP Data received {"connection_id":110342,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:31:31] local.INFO: Processing buffer {"connection_id":110342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:31:31] local.INFO: IMEI packet received {"connection_id":110342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":110342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:31:32] local.INFO: TCP Data received {"connection_id":110342,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:31:32] local.INFO: Processing buffer {"connection_id":110342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:31:32] local.INFO: Packet analysis {"connection_id":110342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:31:32] local.INFO: Extracted packet for processing {"connection_id":110342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:31:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:31:32] 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-06-23 02:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:31:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:31:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":110342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:31:32] local.INFO: GPS data processed {"connection_id":110342,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:31:32] local.INFO: Acknowledgment sent {"connection_id":110342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:32:04] local.INFO: TCP Data received {"connection_id":110342,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:32:04] local.INFO: Processing buffer {"connection_id":110342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:32:04] local.INFO: Packet analysis {"connection_id":110342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:32:04] local.INFO: Extracted packet for processing {"connection_id":110342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:32:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:32:04] 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-06-23 02:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:32:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:32:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":110342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:32:04] local.INFO: GPS data processed {"connection_id":110342,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:32:04] local.INFO: Acknowledgment sent {"connection_id":110342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:32:25] local.INFO: TCP Data received {"connection_id":111127,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:32:25] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:32:25] local.INFO: IMEI packet received {"connection_id":111127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":111127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:32:31] local.INFO: TCP Data received {"connection_id":111127,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:32:31] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:32:31] local.INFO: IMEI packet received {"connection_id":111127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":111127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:32:33] local.INFO: TCP Data received {"connection_id":111127,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:32:33] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:32:33] local.INFO: Packet analysis {"connection_id":111127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:32:33] local.INFO: Extracted packet for processing {"connection_id":111127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:32:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:32:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 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-06-23 02:32:33] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:32:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:32:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:32:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":111127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:32:33] local.INFO: GPS data processed {"connection_id":111127,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:32:33] local.INFO: Acknowledgment sent {"connection_id":111127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:33:04] local.INFO: TCP Data received {"connection_id":111127,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:33:04] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:33:04] local.INFO: Packet analysis {"connection_id":111127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:33:04] local.INFO: Extracted packet for processing {"connection_id":111127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:33:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:33:04] 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-06-23 02:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:33:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:33:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":111127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:33:04] local.INFO: GPS data processed {"connection_id":111127,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:33:04] local.INFO: Acknowledgment sent {"connection_id":111127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:33:25] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:33:25] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:33:25] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:33:31] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:33:31] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:33:31] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:33:32] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:33:32] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:33:32] local.INFO: Packet analysis {"connection_id":110510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:33:32] local.INFO: Extracted packet for processing {"connection_id":110510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:33:32] 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-06-23 02:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:33:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":110510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:33:32] local.INFO: GPS data processed {"connection_id":110510,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:33:32] local.INFO: Acknowledgment sent {"connection_id":110510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:34:04] local.INFO: TCP Data received {"connection_id":110510,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:34:04] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:34:04] local.INFO: Packet analysis {"connection_id":110510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:34:04] local.INFO: Extracted packet for processing {"connection_id":110510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:34:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:34:04] 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-06-23 02:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:34:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:34:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":110510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:34:04] local.INFO: GPS data processed {"connection_id":110510,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:34:04] local.INFO: Acknowledgment sent {"connection_id":110510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:34:31] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:34:31] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:34:31] local.INFO: IMEI packet received {"connection_id":110346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":110346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:34:33] local.INFO: TCP Data received {"connection_id":110345,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:34:33] local.INFO: Processing buffer {"connection_id":110345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:34:33] local.INFO: IMEI packet received {"connection_id":110345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":110345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:34:36] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:34:36] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:34:36] local.INFO: IMEI packet received {"connection_id":110346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":110346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:34:37] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:34:37] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1211e20012cc3308007685990005a00ee29..."} 
[2026-06-23 02:34:37] local.INFO: Packet analysis {"connection_id":110346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:34:37] local.INFO: Extracted packet for processing {"connection_id":110346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef121"} 
[2026-06-23 02:34:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782161940000,"timestamp_ms":1782161940000,"timestamp_seconds":1782161940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1211e20"} 
[2026-06-23 02:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233379584001,"66":25299,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:34:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:34:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233379584001,"power":25299,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":110346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:34:37] local.INFO: GPS data processed {"connection_id":110346,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:34:37] local.INFO: Acknowledgment sent {"connection_id":110346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:34:40] local.INFO: TCP Data received {"connection_id":110346,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:34:40] local.INFO: Processing buffer {"connection_id":110346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:34:40] local.INFO: Packet analysis {"connection_id":110346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:34:40] local.INFO: Extracted packet for processing {"connection_id":110346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:34:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:34:40] 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-06-23 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":110346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:34:40] local.INFO: GPS data processed {"connection_id":110346,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:34:40] local.INFO: Acknowledgment sent {"connection_id":110346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:35:08] local.INFO: TCP Data received {"connection_id":112076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:35:08] local.INFO: Processing buffer {"connection_id":112076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:35:08] local.INFO: IMEI packet received {"connection_id":112076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":112076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:35:26] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:35:26] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:35:26] local.INFO: IMEI packet received {"connection_id":111128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":111128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:35:31] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:35:31] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:35:31] local.INFO: IMEI packet received {"connection_id":111128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":111128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:35:32] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:35:32] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:35:32] local.INFO: Packet analysis {"connection_id":111128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:35:32] local.INFO: Extracted packet for processing {"connection_id":111128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:35:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:35:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:35:32] 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-06-23 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:35:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:35:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:35:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":111128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:35:32] local.INFO: GPS data processed {"connection_id":111128,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:35:32] local.INFO: Acknowledgment sent {"connection_id":111128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:36:04] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:36:04] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:36:04] local.INFO: Packet analysis {"connection_id":111128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:36:04] local.INFO: Extracted packet for processing {"connection_id":111128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:36:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:36:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 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-06-23 02:36:04] 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-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:36:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:36:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:36:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":111128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:36:04] local.INFO: GPS data processed {"connection_id":111128,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:36:04] local.INFO: Acknowledgment sent {"connection_id":111128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:36:25] local.INFO: TCP Data received {"connection_id":112077,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:36:25] local.INFO: Processing buffer {"connection_id":112077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:36:25] local.INFO: IMEI packet received {"connection_id":112077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":112077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:36:32] local.INFO: TCP Data received {"connection_id":112077,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:36:32] local.INFO: Processing buffer {"connection_id":112077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:36:32] local.INFO: IMEI packet received {"connection_id":112077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":112077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:36:33] local.INFO: TCP Data received {"connection_id":112077,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:36:33] local.INFO: Processing buffer {"connection_id":112077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:36:33] local.INFO: Packet analysis {"connection_id":112077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:36:33] local.INFO: Extracted packet for processing {"connection_id":112077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:36:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:36:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 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-06-23 02:36:33] 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-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:36:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:36:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:36:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":112077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:36:33] local.INFO: GPS data processed {"connection_id":112077,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:36:33] local.INFO: Acknowledgment sent {"connection_id":112077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:37:06] local.INFO: TCP Data received {"connection_id":112077,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:06] local.INFO: Processing buffer {"connection_id":112077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:06] local.INFO: Packet analysis {"connection_id":112077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:37:06] local.INFO: Extracted packet for processing {"connection_id":112077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:37:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:37: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-06-23 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:37:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:37:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":112077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:37:06] local.INFO: GPS data processed {"connection_id":112077,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:37:06] local.INFO: Acknowledgment sent {"connection_id":112077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:37:31] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:37:31] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:37:31] local.INFO: IMEI packet received {"connection_id":112078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":112078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:37:35] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:37:35] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:37:35] local.INFO: IMEI packet received {"connection_id":112078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":112078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:37:36] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:36] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:36] local.INFO: Packet analysis {"connection_id":112078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:37:36] local.INFO: Extracted packet for processing {"connection_id":112078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:37:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:37:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":112078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:37:36] local.INFO: GPS data processed {"connection_id":112078,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:37:36] local.INFO: Acknowledgment sent {"connection_id":112078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:37:41] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:41] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:37:41] local.INFO: Packet analysis {"connection_id":112078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:37:41] local.INFO: Extracted packet for processing {"connection_id":112078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:37:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":112078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:37:41] local.INFO: GPS data processed {"connection_id":112078,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:37:41] local.INFO: Acknowledgment sent {"connection_id":112078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:38:25] local.INFO: TCP Data received {"connection_id":112080,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:38:25] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:38:25] local.INFO: IMEI packet received {"connection_id":112080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":112080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:38:31] local.INFO: TCP Data received {"connection_id":112080,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:38:31] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:38:31] local.INFO: IMEI packet received {"connection_id":112080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":112080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:38:32] local.INFO: TCP Data received {"connection_id":112080,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:38:32] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:38:32] local.INFO: Packet analysis {"connection_id":112080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:38:32] local.INFO: Extracted packet for processing {"connection_id":112080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:38:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:38:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:38:32] 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-06-23 02:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:38:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:38:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:38:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":112080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:38:32] local.INFO: GPS data processed {"connection_id":112080,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:38:32] local.INFO: Acknowledgment sent {"connection_id":112080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:39:04] local.INFO: TCP Data received {"connection_id":112080,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:39:04] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:39:04] local.INFO: Packet analysis {"connection_id":112080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:39:04] local.INFO: Extracted packet for processing {"connection_id":112080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:39:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 02:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:39:04] 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-06-23 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:39:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:39:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":112080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:39:04] local.INFO: GPS data processed {"connection_id":112080,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:39:04] local.INFO: Acknowledgment sent {"connection_id":112080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:39:25] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:39:25] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:39:25] local.INFO: IMEI packet received {"connection_id":110349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":110349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:39:31] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:39:31] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:39:31] local.INFO: IMEI packet received {"connection_id":110349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":110349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:39:32] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:39:32] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef125b5e8012cc3308007685990005a00ee25..."} 
[2026-06-23 02:39:32] local.INFO: Packet analysis {"connection_id":110349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:39:32] local.INFO: Extracted packet for processing {"connection_id":110349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef125"} 
[2026-06-23 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233456640001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:39:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162241000,"timestamp_ms":1782162241000,"timestamp_seconds":1782162241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef125b5e8"} 
[2026-06-23 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-06-23 02:39:32] 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-06-23 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 02:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233456640001,"66":25191,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233456640001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:39:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:39:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:39:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233456640001,"power":25191,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":110349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:39:32] local.INFO: GPS data processed {"connection_id":110349,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:39:32] local.INFO: Acknowledgment sent {"connection_id":110349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:40:05] local.INFO: TCP Data received {"connection_id":110349,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:40:05] local.INFO: Processing buffer {"connection_id":110349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:40:05] local.INFO: Packet analysis {"connection_id":110349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:40:05] local.INFO: Extracted packet for processing {"connection_id":110349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:40:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:40: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-06-23 02:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:40:05] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:40:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":110349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:40:05] local.INFO: GPS data processed {"connection_id":110349,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:40:05] local.INFO: Acknowledgment sent {"connection_id":110349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:40:26] local.INFO: TCP Data received {"connection_id":111130,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:40:26] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:40:26] local.INFO: IMEI packet received {"connection_id":111130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":111130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:40:31] local.INFO: TCP Data received {"connection_id":111130,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:40:31] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:40:31] local.INFO: IMEI packet received {"connection_id":111130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":111130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:40:32] local.INFO: TCP Data received {"connection_id":111130,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:40:32] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:40:32] local.INFO: Packet analysis {"connection_id":111130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:40:32] local.INFO: Extracted packet for processing {"connection_id":111130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:40:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:40:32] 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-06-23 02:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:40:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:40:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":111130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:40:32] local.INFO: GPS data processed {"connection_id":111130,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:40:32] local.INFO: Acknowledgment sent {"connection_id":111130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:40:33] local.INFO: TCP Data received {"connection_id":112081,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:40:33] local.INFO: Processing buffer {"connection_id":112081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:40:33] local.INFO: IMEI packet received {"connection_id":112081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":112081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:41:04] local.INFO: TCP Data received {"connection_id":111130,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:41:04] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:41:04] local.INFO: Packet analysis {"connection_id":111130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:41:04] local.INFO: Extracted packet for processing {"connection_id":111130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:41:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:41:04] 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-06-23 02:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:41:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:41:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:41:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":111130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:41:04] local.INFO: GPS data processed {"connection_id":111130,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:41:04] local.INFO: Acknowledgment sent {"connection_id":111130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:41:08] local.INFO: TCP Data received {"connection_id":110511,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:41:08] local.INFO: Processing buffer {"connection_id":110511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:41:08] local.INFO: IMEI packet received {"connection_id":110511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":110511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:41:25] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:41:25] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:41:25] local.INFO: IMEI packet received {"connection_id":110512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":110512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:41:31] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:41:31] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:41:31] local.INFO: IMEI packet received {"connection_id":110512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":110512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:41:32] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:41:32] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:41:32] local.INFO: Packet analysis {"connection_id":110512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:41:32] local.INFO: Extracted packet for processing {"connection_id":110512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:41:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:41:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:41:32] 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-06-23 02:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:41:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:41:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":110512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:41:32] local.INFO: GPS data processed {"connection_id":110512,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:41:32] local.INFO: Acknowledgment sent {"connection_id":110512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:42:04] local.INFO: TCP Data received {"connection_id":110512,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:42:04] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:42:04] local.INFO: Packet analysis {"connection_id":110512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:42:04] local.INFO: Extracted packet for processing {"connection_id":110512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:42:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 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-06-23 02:42:04] 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-06-23 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:42:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:42:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":110512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:42:04] local.INFO: GPS data processed {"connection_id":110512,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:42:04] local.INFO: Acknowledgment sent {"connection_id":110512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:42:25] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:42:25] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:42:25] local.INFO: IMEI packet received {"connection_id":110351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":110351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:42:31] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:42:31] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:42:31] local.INFO: IMEI packet received {"connection_id":110351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":110351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:42:32] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:42:32] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:42:32] local.INFO: Packet analysis {"connection_id":110351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:42:32] local.INFO: Extracted packet for processing {"connection_id":110351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:42:32] 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-06-23 02:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:42:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:42:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":110351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:42:32] local.INFO: GPS data processed {"connection_id":110351,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:42:32] local.INFO: Acknowledgment sent {"connection_id":110351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:43:04] local.INFO: TCP Data received {"connection_id":110351,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:04] local.INFO: Processing buffer {"connection_id":110351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:04] local.INFO: Packet analysis {"connection_id":110351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:43:04] local.INFO: Extracted packet for processing {"connection_id":110351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:43:04] 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-06-23 02:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:43:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":110351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:43:04] local.INFO: GPS data processed {"connection_id":110351,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:43:04] local.INFO: Acknowledgment sent {"connection_id":110351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:43:31] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:43:31] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:43:31] local.INFO: IMEI packet received {"connection_id":110514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":110514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:43:36] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:43:36] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:43:36] local.INFO: IMEI packet received {"connection_id":110514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":110514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:43:37] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:37] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:37] local.INFO: Packet analysis {"connection_id":110514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:43:37] local.INFO: Extracted packet for processing {"connection_id":110514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:43:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:43:37] 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-06-23 02:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:43:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:43:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":110514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:43:37] local.INFO: GPS data processed {"connection_id":110514,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:43:37] local.INFO: Acknowledgment sent {"connection_id":110514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:43:41] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:41] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:43:41] local.INFO: Packet analysis {"connection_id":110514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:43:41] local.INFO: Extracted packet for processing {"connection_id":110514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:43:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 02:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:43:41] 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-06-23 02:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:43:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:43:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":110514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:43:41] local.INFO: GPS data processed {"connection_id":110514,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:43:41] local.INFO: Acknowledgment sent {"connection_id":110514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:44:26] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:44:26] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:44:26] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:44:31] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:44:31] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:44:31] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:44:32] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:44:32] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12a4db0012cc3308007685990005a00ee25..."} 
[2026-06-23 02:44:32] local.INFO: Packet analysis {"connection_id":110515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:44:32] local.INFO: Extracted packet for processing {"connection_id":110515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12a"} 
[2026-06-23 02:44:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233533696001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:44:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162542000,"timestamp_ms":1782162542000,"timestamp_seconds":1782162542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12a4db0"} 
[2026-06-23 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-06-23 02:44:32] 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-06-23 02:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 02:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233533696001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233533696001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:44:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:44:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:44:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233533696001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":110515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:44:32] local.INFO: GPS data processed {"connection_id":110515,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:44:32] local.INFO: Acknowledgment sent {"connection_id":110515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:45:03] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:45:03] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:45:03] local.INFO: Packet analysis {"connection_id":110515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:45:03] local.INFO: Extracted packet for processing {"connection_id":110515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:45:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:45:03] 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-06-23 02:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:45:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:45:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":110515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:45:03] local.INFO: GPS data processed {"connection_id":110515,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:45:03] local.INFO: Acknowledgment sent {"connection_id":110515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:45:25] local.INFO: TCP Data received {"connection_id":112083,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:45:25] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:45:25] local.INFO: IMEI packet received {"connection_id":112083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":112083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:45:31] local.INFO: TCP Data received {"connection_id":112083,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:45:31] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:45:31] local.INFO: IMEI packet received {"connection_id":112083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":112083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:45:33] local.INFO: TCP Data received {"connection_id":112083,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:45:33] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:45:33] local.INFO: Packet analysis {"connection_id":112083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:45:33] local.INFO: Extracted packet for processing {"connection_id":112083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:45:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:45:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:45:33] 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-06-23 02:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:45:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:45:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:45:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":112083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:45:33] local.INFO: GPS data processed {"connection_id":112083,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:45:33] local.INFO: Acknowledgment sent {"connection_id":112083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:46:04] local.INFO: TCP Data received {"connection_id":112083,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:04] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:04] local.INFO: Packet analysis {"connection_id":112083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:46:04] local.INFO: Extracted packet for processing {"connection_id":112083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:46:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 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-06-23 02:46:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:46:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:46:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:46:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":112083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:46:04] local.INFO: GPS data processed {"connection_id":112083,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:46:04] local.INFO: Acknowledgment sent {"connection_id":112083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:46:31] local.INFO: TCP Data received {"connection_id":110517,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:46:31] local.INFO: Processing buffer {"connection_id":110517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:46:31] local.INFO: IMEI packet received {"connection_id":110517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":110517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:46:36] local.INFO: TCP Data received {"connection_id":110517,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:46:36] local.INFO: Processing buffer {"connection_id":110517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:46:36] local.INFO: IMEI packet received {"connection_id":110517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":110517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:46:37] local.INFO: TCP Data received {"connection_id":110517,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:37] local.INFO: Processing buffer {"connection_id":110517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:37] local.INFO: Packet analysis {"connection_id":110517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:46:37] local.INFO: Extracted packet for processing {"connection_id":110517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:46:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:46:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":110517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:46:37] local.INFO: GPS data processed {"connection_id":110517,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:46:37] local.INFO: Acknowledgment sent {"connection_id":110517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:46:41] local.INFO: TCP Data received {"connection_id":110517,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:41] local.INFO: Processing buffer {"connection_id":110517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:46:41] local.INFO: Packet analysis {"connection_id":110517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:46:41] local.INFO: Extracted packet for processing {"connection_id":110517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:46:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:46:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:46:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":110517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:46:41] local.INFO: GPS data processed {"connection_id":110517,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:46:41] local.INFO: Acknowledgment sent {"connection_id":110517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:47:08] local.INFO: TCP Data received {"connection_id":110353,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:47:08] local.INFO: Processing buffer {"connection_id":110353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:47:08] local.INFO: IMEI packet received {"connection_id":110353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":110353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:47:26] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:47:26] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:47:26] local.INFO: IMEI packet received {"connection_id":110354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":110354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:47:31] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:47:31] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:47:31] local.INFO: IMEI packet received {"connection_id":110354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":110354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:47:32] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:47:32] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:47:32] local.INFO: Packet analysis {"connection_id":110354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:47:32] local.INFO: Extracted packet for processing {"connection_id":110354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:47:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:47:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:47:32] 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-06-23 02:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:47:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:47:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:47:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":110354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:47:32] local.INFO: GPS data processed {"connection_id":110354,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:47:32] local.INFO: Acknowledgment sent {"connection_id":110354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:48:03] local.INFO: TCP Data received {"connection_id":110354,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:48:03] local.INFO: Processing buffer {"connection_id":110354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:48:03] local.INFO: Packet analysis {"connection_id":110354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:48:03] local.INFO: Extracted packet for processing {"connection_id":110354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:48:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:48:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:48:03] 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-06-23 02:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:48:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:48:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:48:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":110354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:48:04] local.INFO: GPS data processed {"connection_id":110354,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:48:04] local.INFO: Acknowledgment sent {"connection_id":110354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:48:26] local.INFO: TCP Data received {"connection_id":112085,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:48:26] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:48:26] local.INFO: IMEI packet received {"connection_id":112085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":112085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:48:31] local.INFO: TCP Data received {"connection_id":112085,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:48:31] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:48:31] local.INFO: IMEI packet received {"connection_id":112085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":112085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:48:33] local.INFO: TCP Data received {"connection_id":112085,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:48:33] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:48:33] local.INFO: Packet analysis {"connection_id":112085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:48:33] local.INFO: Extracted packet for processing {"connection_id":112085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:48:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:48:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 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-06-23 02:48:33] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:48:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:48:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:48:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":112085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:48:33] local.INFO: GPS data processed {"connection_id":112085,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:48:33] local.INFO: Acknowledgment sent {"connection_id":112085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:49:04] local.INFO: TCP Data received {"connection_id":112085,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:49:04] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:49:04] local.INFO: Packet analysis {"connection_id":112085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:49:04] local.INFO: Extracted packet for processing {"connection_id":112085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:49:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:49:04] 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-06-23 02:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:49:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:49:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":112085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:49:04] local.INFO: GPS data processed {"connection_id":112085,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:49:04] local.INFO: Acknowledgment sent {"connection_id":112085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:49:25] local.INFO: TCP Data received {"connection_id":110518,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:49:25] local.INFO: Processing buffer {"connection_id":110518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:49:25] local.INFO: IMEI packet received {"connection_id":110518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":110518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:49:31] local.INFO: TCP Data received {"connection_id":110518,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:49:31] local.INFO: Processing buffer {"connection_id":110518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:49:31] local.INFO: IMEI packet received {"connection_id":110518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":110518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:49:32] local.INFO: TCP Data received {"connection_id":110518,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:49:32] local.INFO: Processing buffer {"connection_id":110518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef12ee578012cc3308007685990005a00ee26..."} 
[2026-06-23 02:49:32] local.INFO: Packet analysis {"connection_id":110518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:49:32] local.INFO: Extracted packet for processing {"connection_id":110518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef12e"} 
[2026-06-23 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782162843000,"timestamp_ms":1782162843000,"timestamp_seconds":1782162843,"priority":1,"record_length":96,"hex_timestamp":"0000019ef12ee578"} 
[2026-06-23 02:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:49:32] 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-06-23 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233610752001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:49:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:49:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:49:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233610752001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":110518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:49:32] local.INFO: GPS data processed {"connection_id":110518,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:49:32] local.INFO: Acknowledgment sent {"connection_id":110518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:50:03] local.INFO: TCP Data received {"connection_id":110518,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:50:03] local.INFO: Processing buffer {"connection_id":110518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:50:03] local.INFO: Packet analysis {"connection_id":110518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:50:03] local.INFO: Extracted packet for processing {"connection_id":110518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:50:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:50:03] 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-06-23 02:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":110518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:50:03] local.INFO: GPS data processed {"connection_id":110518,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:50:03] local.INFO: Acknowledgment sent {"connection_id":110518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:50:26] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:50:26] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:50:26] local.INFO: IMEI packet received {"connection_id":110519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":110519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:50:31] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:50:31] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:50:31] local.INFO: IMEI packet received {"connection_id":110519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":110519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:50:33] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:50:33] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:50:33] local.INFO: Packet analysis {"connection_id":110519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:50:33] local.INFO: Extracted packet for processing {"connection_id":110519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:50:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:50:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 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-06-23 02:50:33] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:50:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:50:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:50:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":110519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:50:33] local.INFO: GPS data processed {"connection_id":110519,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:50:33] local.INFO: Acknowledgment sent {"connection_id":110519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:51:04] local.INFO: TCP Data received {"connection_id":110519,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:51:04] local.INFO: Processing buffer {"connection_id":110519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:51:04] local.INFO: Packet analysis {"connection_id":110519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:51:04] local.INFO: Extracted packet for processing {"connection_id":110519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:51:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:51:04] 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-06-23 02:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:51:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:51:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":110519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:51:04] local.INFO: GPS data processed {"connection_id":110519,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:51:04] local.INFO: Acknowledgment sent {"connection_id":110519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:51:25] local.INFO: TCP Data received {"connection_id":112086,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:51:25] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:51:25] local.INFO: IMEI packet received {"connection_id":112086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":112086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:51:31] local.INFO: TCP Data received {"connection_id":112086,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:51:31] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:51:31] local.INFO: IMEI packet received {"connection_id":112086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":112086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:51:32] local.INFO: TCP Data received {"connection_id":112086,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:51:32] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:51:32] local.INFO: Packet analysis {"connection_id":112086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:51:32] local.INFO: Extracted packet for processing {"connection_id":112086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:51:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:51:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:51:32] 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-06-23 02:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:51:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:51:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:51:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":112086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:51:32] local.INFO: GPS data processed {"connection_id":112086,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:51:32] local.INFO: Acknowledgment sent {"connection_id":112086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:52:04] local.INFO: TCP Data received {"connection_id":112086,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:04] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:04] local.INFO: Packet analysis {"connection_id":112086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:52:04] local.INFO: Extracted packet for processing {"connection_id":112086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:52:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:52:04] 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-06-23 02:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:52:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:52:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:52:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":112086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:52:04] local.INFO: GPS data processed {"connection_id":112086,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:52:04] local.INFO: Acknowledgment sent {"connection_id":112086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:52:31] local.INFO: TCP Data received {"connection_id":111134,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:52:31] local.INFO: Processing buffer {"connection_id":111134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:52:31] local.INFO: IMEI packet received {"connection_id":111134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":111134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:52:36] local.INFO: TCP Data received {"connection_id":111134,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:52:36] local.INFO: Processing buffer {"connection_id":111134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:52:36] local.INFO: IMEI packet received {"connection_id":111134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":111134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:52:37] local.INFO: TCP Data received {"connection_id":111134,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:37] local.INFO: Processing buffer {"connection_id":111134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:37] local.INFO: Packet analysis {"connection_id":111134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:52:37] local.INFO: Extracted packet for processing {"connection_id":111134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:52:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:52:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:52:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":111134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:52:37] local.INFO: GPS data processed {"connection_id":111134,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:52:37] local.INFO: Acknowledgment sent {"connection_id":111134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:52:41] local.INFO: TCP Data received {"connection_id":111134,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:41] local.INFO: Processing buffer {"connection_id":111134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:52:41] local.INFO: Packet analysis {"connection_id":111134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:52:41] local.INFO: Extracted packet for processing {"connection_id":111134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:52:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 02:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:52:41] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:52:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":111134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:52:41] local.INFO: GPS data processed {"connection_id":111134,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:52:41] local.INFO: Acknowledgment sent {"connection_id":111134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:52:48] local.INFO: TCP Data received {"connection_id":111133,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:52:48] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:52:48] local.INFO: IMEI packet received {"connection_id":111133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":111133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:53:08] local.INFO: TCP Data received {"connection_id":110520,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:53:08] local.INFO: Processing buffer {"connection_id":110520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:53:08] local.INFO: IMEI packet received {"connection_id":110520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":110520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:53:25] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:53:25] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:53:25] local.INFO: IMEI packet received {"connection_id":112087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":112087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:53:31] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:53:31] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:53:31] local.INFO: IMEI packet received {"connection_id":112087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":112087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:53:32] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:53:32] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:53:32] local.INFO: Packet analysis {"connection_id":112087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:53:32] local.INFO: Extracted packet for processing {"connection_id":112087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:53:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 02:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:53:32] 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-06-23 02:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:53:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:53:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":112087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:53:32] local.INFO: GPS data processed {"connection_id":112087,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:53:32] local.INFO: Acknowledgment sent {"connection_id":112087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:54:04] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:54:04] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:54:04] local.INFO: Packet analysis {"connection_id":112087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:54:04] local.INFO: Extracted packet for processing {"connection_id":112087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:54:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 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-06-23 02:54:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:54:04] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:54:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":112087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:54:04] local.INFO: GPS data processed {"connection_id":112087,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:54:04] local.INFO: Acknowledgment sent {"connection_id":112087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:54:26] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:54:26] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:54:26] local.INFO: IMEI packet received {"connection_id":110521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":110521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:54:31] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:54:31] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:54:31] local.INFO: IMEI packet received {"connection_id":110521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":110521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:54:33] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:54:33] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1337d40012cc3308007685990005a00ee23..."} 
[2026-06-23 02:54:33] local.INFO: Packet analysis {"connection_id":110521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:54:33] local.INFO: Extracted packet for processing {"connection_id":110521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef133"} 
[2026-06-23 02:54:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782163144000,"timestamp_ms":1782163144000,"timestamp_seconds":1782163144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1337d40"} 
[2026-06-23 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-06-23 02:54:33] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233687808001,"66":25343,"228":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 02:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:54:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 02:54:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233687808001,"power":25343,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":110521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:54:33] local.INFO: GPS data processed {"connection_id":110521,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:54:33] local.INFO: Acknowledgment sent {"connection_id":110521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:55:05] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:55:05] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:55:05] local.INFO: Packet analysis {"connection_id":110521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:55:05] local.INFO: Extracted packet for processing {"connection_id":110521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:55:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:55: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-06-23 02:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:55:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:55:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":110521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:55:05] local.INFO: GPS data processed {"connection_id":110521,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:55:05] local.INFO: Acknowledgment sent {"connection_id":110521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:55:25] local.INFO: TCP Data received {"connection_id":111135,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:55:25] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:55:25] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:55:31] local.INFO: TCP Data received {"connection_id":111135,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:55:31] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:55:31] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:55:32] local.INFO: TCP Data received {"connection_id":111135,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:55:32] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:55:32] local.INFO: Packet analysis {"connection_id":111135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:55:32] local.INFO: Extracted packet for processing {"connection_id":111135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:55:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:55:32] 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-06-23 02:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:55:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:55:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":111135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:55:32] local.INFO: GPS data processed {"connection_id":111135,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:55:32] local.INFO: Acknowledgment sent {"connection_id":111135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:56:03] local.INFO: TCP Data received {"connection_id":111135,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:03] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:03] local.INFO: Packet analysis {"connection_id":111135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:56:03] local.INFO: Extracted packet for processing {"connection_id":111135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:56:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:56:03] 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-06-23 02:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:56:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:56:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":111135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:56:03] local.INFO: GPS data processed {"connection_id":111135,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:56:03] local.INFO: Acknowledgment sent {"connection_id":111135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:56:31] local.INFO: TCP Data received {"connection_id":110522,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:56:31] local.INFO: Processing buffer {"connection_id":110522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:56:31] local.INFO: IMEI packet received {"connection_id":110522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":110522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:56:36] local.INFO: TCP Data received {"connection_id":110522,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:56:36] local.INFO: Processing buffer {"connection_id":110522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:56:36] local.INFO: IMEI packet received {"connection_id":110522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":110522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:56:37] local.INFO: TCP Data received {"connection_id":110522,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:37] local.INFO: Processing buffer {"connection_id":110522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:37] local.INFO: Packet analysis {"connection_id":110522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:56:37] local.INFO: Extracted packet for processing {"connection_id":110522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:56:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:56:37] 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-06-23 02:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:56:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:56:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":110522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:56:37] local.INFO: GPS data processed {"connection_id":110522,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:56:37] local.INFO: Acknowledgment sent {"connection_id":110522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:56:41] local.INFO: TCP Data received {"connection_id":110522,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:41] local.INFO: Processing buffer {"connection_id":110522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:56:41] local.INFO: Packet analysis {"connection_id":110522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:56:41] local.INFO: Extracted packet for processing {"connection_id":110522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:56:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:56:41] 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-06-23 02:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:56:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:56:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":110522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:56:41] local.INFO: GPS data processed {"connection_id":110522,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:56:41] local.INFO: Acknowledgment sent {"connection_id":110522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:57:25] local.INFO: TCP Data received {"connection_id":112089,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:57:25] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:57:25] local.INFO: IMEI packet received {"connection_id":112089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":112089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:57:30] local.INFO: TCP Data received {"connection_id":112089,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:57:30] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:57:30] local.INFO: IMEI packet received {"connection_id":112089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":112089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:57:32] local.INFO: TCP Data received {"connection_id":112089,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:57:32] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:57:32] local.INFO: Packet analysis {"connection_id":112089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:57:32] local.INFO: Extracted packet for processing {"connection_id":112089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:57:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:57:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:57:32] 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-06-23 02: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":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:57:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:57:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:57:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":112089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:57:32] local.INFO: GPS data processed {"connection_id":112089,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:57:32] local.INFO: Acknowledgment sent {"connection_id":112089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:58:04] local.INFO: TCP Data received {"connection_id":112089,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:58:04] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:58:04] local.INFO: Packet analysis {"connection_id":112089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:58:04] local.INFO: Extracted packet for processing {"connection_id":112089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:58:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 02:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 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-06-23 02:58:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 02:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:58:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:58:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":112089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:58:04] local.INFO: GPS data processed {"connection_id":112089,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:58:04] local.INFO: Acknowledgment sent {"connection_id":112089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:58:25] local.INFO: TCP Data received {"connection_id":112090,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:58:25] local.INFO: Processing buffer {"connection_id":112090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:58:25] local.INFO: IMEI packet received {"connection_id":112090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":112090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:58:30] local.INFO: TCP Data received {"connection_id":112090,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:58:30] local.INFO: Processing buffer {"connection_id":112090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:58:30] local.INFO: IMEI packet received {"connection_id":112090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":112090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:58:32] local.INFO: TCP Data received {"connection_id":112090,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:58:32] local.INFO: Processing buffer {"connection_id":112090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:58:32] local.INFO: Packet analysis {"connection_id":112090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:58:32] local.INFO: Extracted packet for processing {"connection_id":112090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 02:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:58:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:58:32] 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-06-23 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 02:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:58:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:58:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:58:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":112090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:58:32] local.INFO: GPS data processed {"connection_id":112090,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:58:32] local.INFO: Acknowledgment sent {"connection_id":112090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:59:04] local.INFO: TCP Data received {"connection_id":112090,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:59:04] local.INFO: Processing buffer {"connection_id":112090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:59:04] local.INFO: Packet analysis {"connection_id":112090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:59:04] local.INFO: Extracted packet for processing {"connection_id":112090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:59:04] 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-06-23 02: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":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:59:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":112090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:59:04] local.INFO: GPS data processed {"connection_id":112090,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:59:04] local.INFO: Acknowledgment sent {"connection_id":112090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 02:59:08] local.INFO: TCP Data received {"connection_id":110523,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:59:08] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 02:59:08] local.INFO: IMEI packet received {"connection_id":110523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 02:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":110523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:59:25] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:59:25] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:59:25] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 02:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 02:59:30] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:59:30] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 02:59:30] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 02:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 02:59:32] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:59:32] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1381508012cc3308007685990005a00ee25..."} 
[2026-06-23 02:59:32] local.INFO: Packet analysis {"connection_id":110524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:59:32] local.INFO: Extracted packet for processing {"connection_id":110524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef138"} 
[2026-06-23 02:59:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 02: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-06-23 02:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233764864001,"note":"Value kept but may cause issues"} 
[2026-06-23 02:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 02:59:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 02:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 02:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163445000,"timestamp_ms":1782163445000,"timestamp_seconds":1782163445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1381508"} 
[2026-06-23 02:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 02:59:32] 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-06-23 02:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 02:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 02: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-06-23 02:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 02:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 02:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 02:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 02:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 02:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 02:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 02:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233764864001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 02:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 02:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 02:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233764864001,"description":"Unknown IO ID 0"} 
[2026-06-23 02:59:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 02:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 02:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 02:59:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 02:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233764864001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 02:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":110524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 02:59:32] local.INFO: GPS data processed {"connection_id":110524,"processed":1,"errors":0,"total":1} 
[2026-06-23 02:59:32] local.INFO: Acknowledgment sent {"connection_id":110524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:00:03] local.INFO: TCP Data received {"connection_id":110524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:00:03] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:00:03] local.INFO: Packet analysis {"connection_id":110524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:00:03] local.INFO: Extracted packet for processing {"connection_id":110524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:00:03] 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-06-23 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:00:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:00:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":110524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:00:03] local.INFO: GPS data processed {"connection_id":110524,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:00:03] local.INFO: Acknowledgment sent {"connection_id":110524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:00:08] local.INFO: TCP Data received {"connection_id":111136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:00:08] local.INFO: Processing buffer {"connection_id":111136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:00:08] local.INFO: IMEI packet received {"connection_id":111136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":111136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:00:25] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:00:25] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:00:25] local.INFO: IMEI packet received {"connection_id":112091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":112091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:00:30] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:00:30] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:00:30] local.INFO: IMEI packet received {"connection_id":112091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":112091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:00:32] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:00:32] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:00:32] local.INFO: Packet analysis {"connection_id":112091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:00:32] local.INFO: Extracted packet for processing {"connection_id":112091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:00:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:00:32] 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-06-23 03:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:00:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:00:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":112091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:00:32] local.INFO: GPS data processed {"connection_id":112091,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:00:32] local.INFO: Acknowledgment sent {"connection_id":112091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:01:05] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:01:05] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:01:05] local.INFO: Packet analysis {"connection_id":112091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:01:05] local.INFO: Extracted packet for processing {"connection_id":112091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:01:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:01: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-06-23 03:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:01:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:01:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":112091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:01:05] local.INFO: GPS data processed {"connection_id":112091,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:01:05] local.INFO: Acknowledgment sent {"connection_id":112091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:01:26] local.INFO: TCP Data received {"connection_id":110525,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:01:26] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:01:26] local.INFO: IMEI packet received {"connection_id":110525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":110525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:01:30] local.INFO: TCP Data received {"connection_id":110525,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:01:30] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:01:30] local.INFO: IMEI packet received {"connection_id":110525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:01:32] local.INFO: TCP Data received {"connection_id":110525,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:01:32] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:01:32] local.INFO: Packet analysis {"connection_id":110525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:01:32] local.INFO: Extracted packet for processing {"connection_id":110525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:01:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:01:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:01:32] 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-06-23 03:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:01:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:01:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:01:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":110525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:01:32] local.INFO: GPS data processed {"connection_id":110525,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:01:32] local.INFO: Acknowledgment sent {"connection_id":110525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:02:04] local.INFO: TCP Data received {"connection_id":110525,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:02:04] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:02:04] local.INFO: Packet analysis {"connection_id":110525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:02:04] local.INFO: Extracted packet for processing {"connection_id":110525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:02:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:02:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:02:04] 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-06-23 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:02:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:02:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:02:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":110525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:02:04] local.INFO: GPS data processed {"connection_id":110525,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:02:04] local.INFO: Acknowledgment sent {"connection_id":110525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:02:25] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:02:25] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:02:25] local.INFO: IMEI packet received {"connection_id":111138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":111138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:02:30] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:02:30] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:02:30] local.INFO: IMEI packet received {"connection_id":111138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":111138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:02:31] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:02:31] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:02:31] local.INFO: Packet analysis {"connection_id":111138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:02:31] local.INFO: Extracted packet for processing {"connection_id":111138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:02:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:02:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":111138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:02:31] local.INFO: GPS data processed {"connection_id":111138,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:02:31] local.INFO: Acknowledgment sent {"connection_id":111138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:03:04] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:03:04] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:03:04] local.INFO: Packet analysis {"connection_id":111138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:03:04] local.INFO: Extracted packet for processing {"connection_id":111138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:03:04] 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-06-23 03:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:03:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":111138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:03:04] local.INFO: GPS data processed {"connection_id":111138,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:03:04] local.INFO: Acknowledgment sent {"connection_id":111138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:03:25] local.INFO: TCP Data received {"connection_id":112093,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:03:25] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:03:25] local.INFO: IMEI packet received {"connection_id":112093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":112093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:03:31] local.INFO: TCP Data received {"connection_id":112093,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:03:31] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:03:31] local.INFO: IMEI packet received {"connection_id":112093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":112093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:03:32] local.INFO: TCP Data received {"connection_id":112093,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:03:32] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:03:32] local.INFO: Packet analysis {"connection_id":112093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:03:32] local.INFO: Extracted packet for processing {"connection_id":112093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:03:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 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-06-23 03:03:32] 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-06-23 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:03:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:03:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:03:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":112093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:03:32] local.INFO: GPS data processed {"connection_id":112093,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:03:32] local.INFO: Acknowledgment sent {"connection_id":112093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:04:04] local.INFO: TCP Data received {"connection_id":112093,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:04] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:04] local.INFO: Packet analysis {"connection_id":112093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:04:04] local.INFO: Extracted packet for processing {"connection_id":112093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:04:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 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-06-23 03:04:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:04:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":112093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:04:04] local.INFO: GPS data processed {"connection_id":112093,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:04:04] local.INFO: Acknowledgment sent {"connection_id":112093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:04:30] local.INFO: TCP Data received {"connection_id":112094,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:04:30] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:04:30] local.INFO: IMEI packet received {"connection_id":112094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":112094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:04:35] local.INFO: TCP Data received {"connection_id":112094,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:04:35] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:04:35] local.INFO: IMEI packet received {"connection_id":112094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":112094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:04:37] local.INFO: TCP Data received {"connection_id":112094,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:37] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:37] local.INFO: Packet analysis {"connection_id":112094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:04:37] local.INFO: Extracted packet for processing {"connection_id":112094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:04:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:04:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:04:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":112094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:04:37] local.INFO: GPS data processed {"connection_id":112094,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:04:37] local.INFO: Acknowledgment sent {"connection_id":112094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:04:41] local.INFO: TCP Data received {"connection_id":112094,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:41] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef13cacd0012cc3308007685990005a00ee27..."} 
[2026-06-23 03:04:41] local.INFO: Packet analysis {"connection_id":112094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:04:41] local.INFO: Extracted packet for processing {"connection_id":112094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef13c"} 
[2026-06-23 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782163746000,"timestamp_ms":1782163746000,"timestamp_seconds":1782163746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef13cacd0"} 
[2026-06-23 03:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233841920001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:04:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:04:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233841920001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":112094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:04:41] local.INFO: GPS data processed {"connection_id":112094,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:04:41] local.INFO: Acknowledgment sent {"connection_id":112094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:05:13] local.INFO: TCP Data received {"connection_id":111139,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:05:13] local.INFO: Processing buffer {"connection_id":111139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:05:13] local.INFO: IMEI packet received {"connection_id":111139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":111139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:05:25] local.INFO: TCP Data received {"connection_id":110361,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:05:25] local.INFO: Processing buffer {"connection_id":110361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:05:25] local.INFO: IMEI packet received {"connection_id":110361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":110361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:05:30] local.INFO: TCP Data received {"connection_id":110361,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:05:30] local.INFO: Processing buffer {"connection_id":110361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:05:30] local.INFO: IMEI packet received {"connection_id":110361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":110361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:05:32] local.INFO: TCP Data received {"connection_id":110361,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:05:32] local.INFO: Processing buffer {"connection_id":110361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:05:32] local.INFO: Packet analysis {"connection_id":110361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:05:32] local.INFO: Extracted packet for processing {"connection_id":110361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:05:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:05:32] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:05:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:05:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":110361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:05:32] local.INFO: GPS data processed {"connection_id":110361,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:05:32] local.INFO: Acknowledgment sent {"connection_id":110361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:06:03] local.INFO: TCP Data received {"connection_id":110361,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:06:03] local.INFO: Processing buffer {"connection_id":110361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:06:03] local.INFO: Packet analysis {"connection_id":110361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:06:03] local.INFO: Extracted packet for processing {"connection_id":110361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:06:03] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":110361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:06:03] local.INFO: GPS data processed {"connection_id":110361,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:06:03] local.INFO: Acknowledgment sent {"connection_id":110361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:06:25] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:06:25] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:06:25] local.INFO: IMEI packet received {"connection_id":111141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":111141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:06:30] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:06:30] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:06:30] local.INFO: IMEI packet received {"connection_id":111141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":111141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:06:32] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:06:32] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:06:32] local.INFO: Packet analysis {"connection_id":111141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:06:32] local.INFO: Extracted packet for processing {"connection_id":111141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:06:32] 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-06-23 03:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03: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-06-23 03:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:06:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:06:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":111141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:06:32] local.INFO: GPS data processed {"connection_id":111141,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:06:32] local.INFO: Acknowledgment sent {"connection_id":111141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:07:03] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:07:03] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:07:03] local.INFO: Packet analysis {"connection_id":111141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:07:03] local.INFO: Extracted packet for processing {"connection_id":111141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:07:03] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:07:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:07:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":111141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:07:03] local.INFO: GPS data processed {"connection_id":111141,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:07:03] local.INFO: Acknowledgment sent {"connection_id":111141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:07:25] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:07:25] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:07:25] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:07:31] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:07:31] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:07:31] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:07:32] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:07:32] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:07:32] local.INFO: Packet analysis {"connection_id":111143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:07:32] local.INFO: Extracted packet for processing {"connection_id":111143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:07:32] 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-06-23 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:07: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-06-23 03:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:07:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:07:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":111143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:07:32] local.INFO: GPS data processed {"connection_id":111143,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:07:32] local.INFO: Acknowledgment sent {"connection_id":111143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:08:04] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:04] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:04] local.INFO: Packet analysis {"connection_id":111143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:08:04] local.INFO: Extracted packet for processing {"connection_id":111143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:08:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:08:04] 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-06-23 03:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:08:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:08:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":111143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:08:04] local.INFO: GPS data processed {"connection_id":111143,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:08:04] local.INFO: Acknowledgment sent {"connection_id":111143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:08:30] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:08:30] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:08:30] local.INFO: IMEI packet received {"connection_id":110363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":110363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:08:35] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:08:35] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:08:35] local.INFO: IMEI packet received {"connection_id":110363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":110363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:08:37] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:37] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:37] local.INFO: Packet analysis {"connection_id":110363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:08:37] local.INFO: Extracted packet for processing {"connection_id":110363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:08:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:08:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:08:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":110363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:08:37] local.INFO: GPS data processed {"connection_id":110363,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:08:37] local.INFO: Acknowledgment sent {"connection_id":110363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:08:41] local.INFO: TCP Data received {"connection_id":110363,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:41] local.INFO: Processing buffer {"connection_id":110363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:08:41] local.INFO: Packet analysis {"connection_id":110363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:08:41] local.INFO: Extracted packet for processing {"connection_id":110363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:08:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 03:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:08: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-06-23 03: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-06-23 03:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:08:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:08:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":110363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:08:41] local.INFO: GPS data processed {"connection_id":110363,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:08:41] local.INFO: Acknowledgment sent {"connection_id":110363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:09:25] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:09:25] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:09:25] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:09:30] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:09:30] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:09:30] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:09:32] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:09:32] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1414498012cc3308007685990005a00ee24..."} 
[2026-06-23 03:09:32] local.INFO: Packet analysis {"connection_id":110527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:09:32] local.INFO: Extracted packet for processing {"connection_id":110527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef141"} 
[2026-06-23 03:09:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233918976001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:09:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164047000,"timestamp_ms":1782164047000,"timestamp_seconds":1782164047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1414498"} 
[2026-06-23 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-06-23 03:09:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03: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-06-23 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-06-23 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-06-23 03:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233918976001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233918976001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:09:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:09:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:09:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233918976001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":110527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:09:32] local.INFO: GPS data processed {"connection_id":110527,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:09:32] local.INFO: Acknowledgment sent {"connection_id":110527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:10:03] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:10:03] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:10:03] local.INFO: Packet analysis {"connection_id":110527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:10:03] local.INFO: Extracted packet for processing {"connection_id":110527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:10:03] 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-06-23 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:10:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":110527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:10:03] local.INFO: GPS data processed {"connection_id":110527,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:10:03] local.INFO: Acknowledgment sent {"connection_id":110527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:10:25] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:10:25] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:10:25] local.INFO: IMEI packet received {"connection_id":112095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":112095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:10:30] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:10:30] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:10:30] local.INFO: IMEI packet received {"connection_id":112095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":112095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:10:32] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:10:32] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:10:32] local.INFO: Packet analysis {"connection_id":112095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:10:32] local.INFO: Extracted packet for processing {"connection_id":112095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:10:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:10:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 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-06-23 03:10:32] 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-06-23 03:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:10: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-06-23 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-06-23 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-06-23 03:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:10:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:10:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:10:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":112095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:10:32] local.INFO: GPS data processed {"connection_id":112095,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:10:32] local.INFO: Acknowledgment sent {"connection_id":112095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:10:33] local.INFO: TCP Data received {"connection_id":111145,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:10:33] local.INFO: Processing buffer {"connection_id":111145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:10:33] local.INFO: IMEI packet received {"connection_id":111145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":111145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:11:04] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:04] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:04] local.INFO: Packet analysis {"connection_id":112095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:11:04] local.INFO: Extracted packet for processing {"connection_id":112095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:11:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:11:04] 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-06-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:11: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-06-23 03: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-06-23 03:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:11:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:11:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":112095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:11:04] local.INFO: GPS data processed {"connection_id":112095,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:11:04] local.INFO: Acknowledgment sent {"connection_id":112095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:11:08] local.INFO: TCP Data received {"connection_id":110528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:11:08] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:11:08] local.INFO: IMEI packet received {"connection_id":110528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":110528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:11:30] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:11:30] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:11:30] local.INFO: IMEI packet received {"connection_id":110364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":110364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:11:36] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:11:36] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:11:36] local.INFO: IMEI packet received {"connection_id":110364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":110364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:11:37] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:37] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:37] local.INFO: Packet analysis {"connection_id":110364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:11:37] local.INFO: Extracted packet for processing {"connection_id":110364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:11: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-06-23 03: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-06-23 03:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:11:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:11:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":110364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:11:37] local.INFO: GPS data processed {"connection_id":110364,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:11:37] local.INFO: Acknowledgment sent {"connection_id":110364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:11:41] local.INFO: TCP Data received {"connection_id":110364,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:41] local.INFO: Processing buffer {"connection_id":110364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:11:41] local.INFO: Packet analysis {"connection_id":110364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:11:41] local.INFO: Extracted packet for processing {"connection_id":110364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:11:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:11: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-06-23 03:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:11:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:11:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":110364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:11:41] local.INFO: GPS data processed {"connection_id":110364,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:11:41] local.INFO: Acknowledgment sent {"connection_id":110364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:12:25] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:12:25] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:12:25] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:12:30] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:12:30] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:12:30] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:12:32] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:12:32] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:12:32] local.INFO: Packet analysis {"connection_id":111147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:12:32] local.INFO: Extracted packet for processing {"connection_id":111147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:12:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 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-06-23 03:12:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:12: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-06-23 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-06-23 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-06-23 03:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:12:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":111147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:12:32] local.INFO: GPS data processed {"connection_id":111147,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:12:32] local.INFO: Acknowledgment sent {"connection_id":111147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:13:03] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:13:03] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:13:03] local.INFO: Packet analysis {"connection_id":111147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:13:03] local.INFO: Extracted packet for processing {"connection_id":111147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:13:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:13:03] 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-06-23 03:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:13:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:13:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":111147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:13:03] local.INFO: GPS data processed {"connection_id":111147,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:13:03] local.INFO: Acknowledgment sent {"connection_id":111147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:13:25] local.INFO: TCP Data received {"connection_id":112096,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:13:25] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:13:25] local.INFO: IMEI packet received {"connection_id":112096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":112096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:13:30] local.INFO: TCP Data received {"connection_id":112096,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:13:30] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:13:30] local.INFO: IMEI packet received {"connection_id":112096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":112096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:13:32] local.INFO: TCP Data received {"connection_id":112096,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:13:32] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:13:32] local.INFO: Packet analysis {"connection_id":112096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:13:32] local.INFO: Extracted packet for processing {"connection_id":112096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:13:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:13:32] 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-06-23 03: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":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:13: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-06-23 03: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-06-23 03:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:13:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:13:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":112096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:13:32] local.INFO: GPS data processed {"connection_id":112096,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:13:32] local.INFO: Acknowledgment sent {"connection_id":112096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:14:03] local.INFO: TCP Data received {"connection_id":112096,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:14:03] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:14:03] local.INFO: Packet analysis {"connection_id":112096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:14:03] local.INFO: Extracted packet for processing {"connection_id":112096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:14:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 03:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:14:03] 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-06-23 03:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:14:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:14:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":112096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:14:03] local.INFO: GPS data processed {"connection_id":112096,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:14:03] local.INFO: Acknowledgment sent {"connection_id":112096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:14:25] local.INFO: TCP Data received {"connection_id":111148,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:14:25] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:14:25] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:14:30] local.INFO: TCP Data received {"connection_id":111148,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:14:30] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:14:30] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:14:33] local.INFO: TCP Data received {"connection_id":111148,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:14:33] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef145dc60012cc3308007685990005a00ee28..."} 
[2026-06-23 03:14:33] local.INFO: Packet analysis {"connection_id":111148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:14:33] local.INFO: Extracted packet for processing {"connection_id":111148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef145"} 
[2026-06-23 03:14:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456233996032001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:14:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782164348000,"timestamp_ms":1782164348000,"timestamp_seconds":1782164348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef145dc60"} 
[2026-06-23 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-06-23 03:14:33] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456233996032001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456233996032001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:14:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:14:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:14:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456233996032001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":111148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:14:33] local.INFO: GPS data processed {"connection_id":111148,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:14:33] local.INFO: Acknowledgment sent {"connection_id":111148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:15:05] local.INFO: TCP Data received {"connection_id":111148,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:15:05] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:15:05] local.INFO: Packet analysis {"connection_id":111148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:15:05] local.INFO: Extracted packet for processing {"connection_id":111148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:15:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:15: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-06-23 03:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:15:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:15:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":111148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:15:05] local.INFO: GPS data processed {"connection_id":111148,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:15:05] local.INFO: Acknowledgment sent {"connection_id":111148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:15:25] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:15:25] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:15:25] local.INFO: IMEI packet received {"connection_id":110366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":110366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:15:30] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:15:30] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:15:30] local.INFO: IMEI packet received {"connection_id":110366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:15:32] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:15:32] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:15:32] local.INFO: Packet analysis {"connection_id":110366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:15:32] local.INFO: Extracted packet for processing {"connection_id":110366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:15:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:15:32] 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-06-23 03:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:15:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:15:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:15:32] local.INFO: GPS data processed {"connection_id":110366,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:15:32] local.INFO: Acknowledgment sent {"connection_id":110366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:16:04] local.INFO: TCP Data received {"connection_id":110366,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:16:04] local.INFO: Processing buffer {"connection_id":110366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:16:04] local.INFO: Packet analysis {"connection_id":110366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:16:04] local.INFO: Extracted packet for processing {"connection_id":110366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 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-06-23 03:16:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:16:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:16:04] local.INFO: GPS data processed {"connection_id":110366,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:16:04] local.INFO: Acknowledgment sent {"connection_id":110366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:16:25] local.INFO: TCP Data received {"connection_id":110532,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:16:25] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:16:25] local.INFO: IMEI packet received {"connection_id":110532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":110532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:16:30] local.INFO: TCP Data received {"connection_id":110532,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:16:30] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:16:30] local.INFO: IMEI packet received {"connection_id":110532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":110532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:16:32] local.INFO: TCP Data received {"connection_id":110532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:16:32] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:16:32] local.INFO: Packet analysis {"connection_id":110532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:16:32] local.INFO: Extracted packet for processing {"connection_id":110532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:16:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:16:32] 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-06-23 03:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:16:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":110532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:16:32] local.INFO: GPS data processed {"connection_id":110532,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:16:32] local.INFO: Acknowledgment sent {"connection_id":110532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:16:38] local.INFO: TCP Data received {"connection_id":110531,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:16:38] local.INFO: Processing buffer {"connection_id":110531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:16:38] local.INFO: IMEI packet received {"connection_id":110531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":110531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:17:04] local.INFO: TCP Data received {"connection_id":110532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:17:04] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:17:04] local.INFO: Packet analysis {"connection_id":110532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:17:04] local.INFO: Extracted packet for processing {"connection_id":110532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:17:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:17:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:17:04] 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-06-23 03:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:17:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:17:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:17:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":110532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:17:04] local.INFO: GPS data processed {"connection_id":110532,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:17:04] local.INFO: Acknowledgment sent {"connection_id":110532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:17:08] local.INFO: TCP Data received {"connection_id":111149,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:17:08] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:17:08] local.INFO: IMEI packet received {"connection_id":111149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":111149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:17:25] local.INFO: TCP Data received {"connection_id":111150,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:17:25] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:17:25] local.INFO: IMEI packet received {"connection_id":111150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":111150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:17:30] local.INFO: TCP Data received {"connection_id":111150,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:17:30] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:17:30] local.INFO: IMEI packet received {"connection_id":111150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":111150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:17:32] local.INFO: TCP Data received {"connection_id":111150,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:17:32] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:17:32] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:17:32] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:17:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:17:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:17:32] 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-06-23 03:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:17:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:17:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:17:32] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:17:32] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:18:03] local.INFO: TCP Data received {"connection_id":111150,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:18:03] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:18:03] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:18:03] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:18:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:18:03] 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-06-23 03:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:18:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:18:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:18:03] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:18:03] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:18:25] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:18:25] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:18:25] local.INFO: IMEI packet received {"connection_id":110534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":110534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:18:30] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:18:30] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:18:30] local.INFO: IMEI packet received {"connection_id":110534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":110534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:18:32] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:18:32] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:18:32] local.INFO: Packet analysis {"connection_id":110534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:18:32] local.INFO: Extracted packet for processing {"connection_id":110534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:18:32] 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-06-23 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:18:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":110534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:18:32] local.INFO: GPS data processed {"connection_id":110534,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:18:32] local.INFO: Acknowledgment sent {"connection_id":110534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:19:04] local.INFO: TCP Data received {"connection_id":110534,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:04] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:04] local.INFO: Packet analysis {"connection_id":110534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:19:04] local.INFO: Extracted packet for processing {"connection_id":110534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:19:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 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-06-23 03:19:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:19:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:19:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":110534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:19:04] local.INFO: GPS data processed {"connection_id":110534,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:19:04] local.INFO: Acknowledgment sent {"connection_id":110534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:19:30] local.INFO: TCP Data received {"connection_id":110367,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:19:30] local.INFO: Processing buffer {"connection_id":110367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:19:30] local.INFO: IMEI packet received {"connection_id":110367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:19:35] local.INFO: TCP Data received {"connection_id":110367,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:19:35] local.INFO: Processing buffer {"connection_id":110367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:19:35] local.INFO: IMEI packet received {"connection_id":110367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":110367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:19:37] local.INFO: TCP Data received {"connection_id":110367,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:37] local.INFO: Processing buffer {"connection_id":110367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:37] local.INFO: Packet analysis {"connection_id":110367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:19:37] local.INFO: Extracted packet for processing {"connection_id":110367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:19:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:19:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:19:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":110367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:19:37] local.INFO: GPS data processed {"connection_id":110367,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:19:37] local.INFO: Acknowledgment sent {"connection_id":110367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:19:41] local.INFO: TCP Data received {"connection_id":110367,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:41] local.INFO: Processing buffer {"connection_id":110367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14a7428012cc3308007685990005a00ee27..."} 
[2026-06-23 03:19:41] local.INFO: Packet analysis {"connection_id":110367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:19:41] local.INFO: Extracted packet for processing {"connection_id":110367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14a"} 
[2026-06-23 03:19:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782164649000,"timestamp_ms":1782164649000,"timestamp_seconds":1782164649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14a7428"} 
[2026-06-23 03:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234073088001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:19:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:19:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234073088001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":110367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:19:41] local.INFO: GPS data processed {"connection_id":110367,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:19:41] local.INFO: Acknowledgment sent {"connection_id":110367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:20:25] local.INFO: TCP Data received {"connection_id":112099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:20:25] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:20:25] local.INFO: IMEI packet received {"connection_id":112099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":112099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:20:30] local.INFO: TCP Data received {"connection_id":112099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:20:30] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:20:30] local.INFO: IMEI packet received {"connection_id":112099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":112099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:20:32] local.INFO: TCP Data received {"connection_id":112099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:20:32] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:20:32] local.INFO: Packet analysis {"connection_id":112099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:20:32] local.INFO: Extracted packet for processing {"connection_id":112099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:20:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:20:32] 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-06-23 03:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:20:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:20:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":112099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:20:32] local.INFO: GPS data processed {"connection_id":112099,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:20:32] local.INFO: Acknowledgment sent {"connection_id":112099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:21:03] local.INFO: TCP Data received {"connection_id":112099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:21:03] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:21:03] local.INFO: Packet analysis {"connection_id":112099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:21:03] local.INFO: Extracted packet for processing {"connection_id":112099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:21:03] 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-06-23 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:21:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":112099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:21:03] local.INFO: GPS data processed {"connection_id":112099,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:21:03] local.INFO: Acknowledgment sent {"connection_id":112099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:21:25] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:21:25] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:21:25] local.INFO: IMEI packet received {"connection_id":110368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":110368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:21:30] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:21:30] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:21:30] local.INFO: IMEI packet received {"connection_id":110368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":110368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:21:32] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:21:32] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:21:32] local.INFO: Packet analysis {"connection_id":110368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:21:32] local.INFO: Extracted packet for processing {"connection_id":110368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:21:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:21:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:21:32] 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-06-23 03:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:21:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:21:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:21:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":110368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:21:32] local.INFO: GPS data processed {"connection_id":110368,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:21:32] local.INFO: Acknowledgment sent {"connection_id":110368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:22:03] local.INFO: TCP Data received {"connection_id":110368,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:03] local.INFO: Processing buffer {"connection_id":110368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:03] local.INFO: Packet analysis {"connection_id":110368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:22:03] local.INFO: Extracted packet for processing {"connection_id":110368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:22:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:22:03] 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-06-23 03:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:22:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:22:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":110368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:22:03] local.INFO: GPS data processed {"connection_id":110368,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:22:03] local.INFO: Acknowledgment sent {"connection_id":110368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:22:30] local.INFO: TCP Data received {"connection_id":112100,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:22:30] local.INFO: Processing buffer {"connection_id":112100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:22:30] local.INFO: IMEI packet received {"connection_id":112100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":112100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:22:35] local.INFO: TCP Data received {"connection_id":112100,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:22:35] local.INFO: Processing buffer {"connection_id":112100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:22:35] local.INFO: IMEI packet received {"connection_id":112100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":112100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:22:37] local.INFO: TCP Data received {"connection_id":112100,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:37] local.INFO: Processing buffer {"connection_id":112100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:37] local.INFO: Packet analysis {"connection_id":112100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:22:37] local.INFO: Extracted packet for processing {"connection_id":112100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:22:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:22:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":112100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:22:37] local.INFO: GPS data processed {"connection_id":112100,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:22:37] local.INFO: Acknowledgment sent {"connection_id":112100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:22:41] local.INFO: TCP Data received {"connection_id":112100,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:41] local.INFO: Processing buffer {"connection_id":112100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:22:41] local.INFO: Packet analysis {"connection_id":112100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:22:41] local.INFO: Extracted packet for processing {"connection_id":112100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:22:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:22:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:22:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":112100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:22:41] local.INFO: GPS data processed {"connection_id":112100,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:22:41] local.INFO: Acknowledgment sent {"connection_id":112100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:23:08] local.INFO: TCP Data received {"connection_id":112101,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:23:08] local.INFO: Processing buffer {"connection_id":112101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:23:08] local.INFO: IMEI packet received {"connection_id":112101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":112101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:23:25] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:23:25] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:23:25] local.INFO: IMEI packet received {"connection_id":110537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":110537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:23:30] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:23:30] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:23:30] local.INFO: IMEI packet received {"connection_id":110537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":110537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:23:32] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:23:32] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:23:32] local.INFO: Packet analysis {"connection_id":110537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:23:32] local.INFO: Extracted packet for processing {"connection_id":110537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:23:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 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-06-23 03:23:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:23:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:23:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":110537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:23:32] local.INFO: GPS data processed {"connection_id":110537,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:23:32] local.INFO: Acknowledgment sent {"connection_id":110537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:24:03] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:24:03] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:24:03] local.INFO: Packet analysis {"connection_id":110537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:24:03] local.INFO: Extracted packet for processing {"connection_id":110537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:24:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 03:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:24:03] 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-06-23 03:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:24:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:24:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:24:03] local.INFO: GPS data processed {"connection_id":110537,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:24:03] local.INFO: Acknowledgment sent {"connection_id":110537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:24:25] local.INFO: TCP Data received {"connection_id":110370,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:24:25] local.INFO: Processing buffer {"connection_id":110370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:24:25] local.INFO: IMEI packet received {"connection_id":110370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:24:30] local.INFO: TCP Data received {"connection_id":110370,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:24:30] local.INFO: Processing buffer {"connection_id":110370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:24:30] local.INFO: IMEI packet received {"connection_id":110370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":110370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:24:32] local.INFO: TCP Data received {"connection_id":110370,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:24:32] local.INFO: Processing buffer {"connection_id":110370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef14f0bf0012cc3308007685990005a00ee24..."} 
[2026-06-23 03:24:32] local.INFO: Packet analysis {"connection_id":110370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:24:32] local.INFO: Extracted packet for processing {"connection_id":110370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef14f"} 
[2026-06-23 03:24:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234150144001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782164950000,"timestamp_ms":1782164950000,"timestamp_seconds":1782164950,"priority":1,"record_length":96,"hex_timestamp":"0000019ef14f0bf0"} 
[2026-06-23 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-06-23 03:24:32] 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-06-23 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234150144001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234150144001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:24:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:24:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234150144001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":110370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:24:32] local.INFO: GPS data processed {"connection_id":110370,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:24:32] local.INFO: Acknowledgment sent {"connection_id":110370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:25:03] local.INFO: TCP Data received {"connection_id":110370,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:25:03] local.INFO: Processing buffer {"connection_id":110370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:25:03] local.INFO: Packet analysis {"connection_id":110370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:25:03] local.INFO: Extracted packet for processing {"connection_id":110370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:25:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:25:03] 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-06-23 03:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:25:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:25:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":110370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:25:03] local.INFO: GPS data processed {"connection_id":110370,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:25:03] local.INFO: Acknowledgment sent {"connection_id":110370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:25:25] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:25:25] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:25:25] local.INFO: IMEI packet received {"connection_id":110371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":110371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:25:30] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:25:30] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:25:30] local.INFO: IMEI packet received {"connection_id":110371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":110371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:25:32] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:25:32] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:25:32] local.INFO: Packet analysis {"connection_id":110371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:25:32] local.INFO: Extracted packet for processing {"connection_id":110371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:25:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:25:32] 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-06-23 03:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:25:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:25:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":110371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:25:32] local.INFO: GPS data processed {"connection_id":110371,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:25:32] local.INFO: Acknowledgment sent {"connection_id":110371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:26:03] local.INFO: TCP Data received {"connection_id":110371,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:03] local.INFO: Processing buffer {"connection_id":110371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:03] local.INFO: Packet analysis {"connection_id":110371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:26:03] local.INFO: Extracted packet for processing {"connection_id":110371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:26:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:26:03] 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-06-23 03:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:26:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:26:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":110371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:26:03] local.INFO: GPS data processed {"connection_id":110371,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:26:03] local.INFO: Acknowledgment sent {"connection_id":110371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:26:30] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:26:30] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:26:30] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:26:35] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:26:35] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:26:35] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:26:37] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:37] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:37] local.INFO: Packet analysis {"connection_id":110539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:26:37] local.INFO: Extracted packet for processing {"connection_id":110539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:26:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:26:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":110539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:26:37] local.INFO: GPS data processed {"connection_id":110539,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:26:37] local.INFO: Acknowledgment sent {"connection_id":110539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:26:41] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:41] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:26:41] local.INFO: Packet analysis {"connection_id":110539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:26:41] local.INFO: Extracted packet for processing {"connection_id":110539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:26:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:26:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:26:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":110539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:26:41] local.INFO: GPS data processed {"connection_id":110539,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:26:41] local.INFO: Acknowledgment sent {"connection_id":110539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:27:26] local.INFO: TCP Data received {"connection_id":112103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:27:26] local.INFO: Processing buffer {"connection_id":112103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:27:26] local.INFO: IMEI packet received {"connection_id":112103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":112103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:27:30] local.INFO: TCP Data received {"connection_id":112103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:27:30] local.INFO: Processing buffer {"connection_id":112103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:27:30] local.INFO: IMEI packet received {"connection_id":112103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":112103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:27:32] local.INFO: TCP Data received {"connection_id":112103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:27:32] local.INFO: Processing buffer {"connection_id":112103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:27:32] local.INFO: Packet analysis {"connection_id":112103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:27:32] local.INFO: Extracted packet for processing {"connection_id":112103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:27:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:27:32] 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-06-23 03:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:27:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:27:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":112103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:27:32] local.INFO: GPS data processed {"connection_id":112103,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:27:32] local.INFO: Acknowledgment sent {"connection_id":112103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:28:03] local.INFO: TCP Data received {"connection_id":112103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:28:03] local.INFO: Processing buffer {"connection_id":112103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:28:03] local.INFO: Packet analysis {"connection_id":112103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:28:03] local.INFO: Extracted packet for processing {"connection_id":112103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:28:03] 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-06-23 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:28:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":112103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:28:03] local.INFO: GPS data processed {"connection_id":112103,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:28:03] local.INFO: Acknowledgment sent {"connection_id":112103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:28:25] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:28:25] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:28:25] local.INFO: IMEI packet received {"connection_id":110373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":110373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:28:30] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:28:30] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:28:30] local.INFO: IMEI packet received {"connection_id":110373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:28:32] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:28:32] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:28:32] local.INFO: Packet analysis {"connection_id":110373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:28:32] local.INFO: Extracted packet for processing {"connection_id":110373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:28:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:28:32] 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-06-23 03:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:28:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:28:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":110373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:28:32] local.INFO: GPS data processed {"connection_id":110373,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:28:32] local.INFO: Acknowledgment sent {"connection_id":110373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:28:33] local.INFO: TCP Data received {"connection_id":111151,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:28:33] local.INFO: Processing buffer {"connection_id":111151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:28:33] local.INFO: IMEI packet received {"connection_id":111151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":111151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:29:04] local.INFO: TCP Data received {"connection_id":110373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:29:04] local.INFO: Processing buffer {"connection_id":110373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:29:04] local.INFO: Packet analysis {"connection_id":110373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:29:04] local.INFO: Extracted packet for processing {"connection_id":110373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:29:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 03:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:29:04] 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-06-23 03:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:29:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:29:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":110373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:29:04] local.INFO: GPS data processed {"connection_id":110373,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:29:04] local.INFO: Acknowledgment sent {"connection_id":110373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:29:08] local.INFO: TCP Data received {"connection_id":111152,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:29:08] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:29:08] local.INFO: IMEI packet received {"connection_id":111152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":111152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:29:25] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:29:25] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:29:25] local.INFO: IMEI packet received {"connection_id":110540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":110540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:29:30] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:29:30] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:29:30] local.INFO: IMEI packet received {"connection_id":110540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":110540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:29:32] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:29:32] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef153a3b8012cc3308007685990005a00ee27..."} 
[2026-06-23 03:29:32] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:29:32] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef153"} 
[2026-06-23 03:29:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234227200001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165251000,"timestamp_ms":1782165251000,"timestamp_seconds":1782165251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef153a3b8"} 
[2026-06-23 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-06-23 03:29:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234227200001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234227200001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:29:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234227200001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:29:32] local.INFO: GPS data processed {"connection_id":110540,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:29:32] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:30:03] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:30:03] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:30:03] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:30:03] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:30:03] 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-06-23 03:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:30:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:30:03] local.INFO: GPS data processed {"connection_id":110540,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:30:03] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:30:25] local.INFO: TCP Data received {"connection_id":112104,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:30:25] local.INFO: Processing buffer {"connection_id":112104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:30:25] local.INFO: IMEI packet received {"connection_id":112104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":112104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:30:31] local.INFO: TCP Data received {"connection_id":112104,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:30:31] local.INFO: Processing buffer {"connection_id":112104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:30:31] local.INFO: IMEI packet received {"connection_id":112104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":112104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:30:32] local.INFO: TCP Data received {"connection_id":112104,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:30:32] local.INFO: Processing buffer {"connection_id":112104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:30:32] local.INFO: Packet analysis {"connection_id":112104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:30:32] local.INFO: Extracted packet for processing {"connection_id":112104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:30:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:30:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:30:32] 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-06-23 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:30:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:30:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:30:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":112104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:30:32] local.INFO: GPS data processed {"connection_id":112104,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:30:32] local.INFO: Acknowledgment sent {"connection_id":112104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:31:03] local.INFO: TCP Data received {"connection_id":112104,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:31:04] local.INFO: Processing buffer {"connection_id":112104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:31:04] local.INFO: Packet analysis {"connection_id":112104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:31:04] local.INFO: Extracted packet for processing {"connection_id":112104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:31:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:31:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:31:04] 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-06-23 03:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:31:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:31:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:31:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":112104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:31:04] local.INFO: GPS data processed {"connection_id":112104,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:31:04] local.INFO: Acknowledgment sent {"connection_id":112104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:31:26] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:31:26] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:31:26] local.INFO: IMEI packet received {"connection_id":110541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":110541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:31:30] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:31:30] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:31:30] local.INFO: IMEI packet received {"connection_id":110541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":110541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:31:32] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:31:32] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:31:32] local.INFO: Packet analysis {"connection_id":110541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:31:32] local.INFO: Extracted packet for processing {"connection_id":110541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:31:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 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-06-23 03:31:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:31:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:31:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":110541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:31:32] local.INFO: GPS data processed {"connection_id":110541,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:31:32] local.INFO: Acknowledgment sent {"connection_id":110541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:32:04] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:32:04] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:32:04] local.INFO: Packet analysis {"connection_id":110541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:32:04] local.INFO: Extracted packet for processing {"connection_id":110541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:32:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:32:04] 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-06-23 03:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:32:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:32:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":110541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:32:04] local.INFO: GPS data processed {"connection_id":110541,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:32:04] local.INFO: Acknowledgment sent {"connection_id":110541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:32:25] local.INFO: TCP Data received {"connection_id":110375,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:32:25] local.INFO: Processing buffer {"connection_id":110375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:32:25] local.INFO: IMEI packet received {"connection_id":110375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":110375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:32:31] local.INFO: TCP Data received {"connection_id":110375,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:32:31] local.INFO: Processing buffer {"connection_id":110375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:32:31] local.INFO: IMEI packet received {"connection_id":110375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":110375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:32:32] local.INFO: TCP Data received {"connection_id":110375,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:32:32] local.INFO: Processing buffer {"connection_id":110375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:32:32] local.INFO: Packet analysis {"connection_id":110375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:32:32] local.INFO: Extracted packet for processing {"connection_id":110375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:32:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:32:32] 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-06-23 03:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:32:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:32:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":110375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:32:32] local.INFO: GPS data processed {"connection_id":110375,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:32:32] local.INFO: Acknowledgment sent {"connection_id":110375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:33:05] local.INFO: TCP Data received {"connection_id":110375,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:33:05] local.INFO: Processing buffer {"connection_id":110375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:33:05] local.INFO: Packet analysis {"connection_id":110375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:33:05] local.INFO: Extracted packet for processing {"connection_id":110375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:33:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 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-06-23 03:33: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-06-23 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:33:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:33:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":110375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:33:05] local.INFO: GPS data processed {"connection_id":110375,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:33:05] local.INFO: Acknowledgment sent {"connection_id":110375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:33:25] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:33:25] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:33:25] local.INFO: IMEI packet received {"connection_id":110376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":110376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:33:30] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:33:30] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:33:30] local.INFO: IMEI packet received {"connection_id":110376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":110376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:33:32] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:33:32] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:33:32] local.INFO: Packet analysis {"connection_id":110376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:33:32] local.INFO: Extracted packet for processing {"connection_id":110376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 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-06-23 03:33:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:33:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":110376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:33:32] local.INFO: GPS data processed {"connection_id":110376,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:33:32] local.INFO: Acknowledgment sent {"connection_id":110376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:34:03] local.INFO: TCP Data received {"connection_id":110376,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:03] local.INFO: Processing buffer {"connection_id":110376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:03] local.INFO: Packet analysis {"connection_id":110376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:34:03] local.INFO: Extracted packet for processing {"connection_id":110376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:34:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:34:03] 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-06-23 03:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:34:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":110376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:34:03] local.INFO: GPS data processed {"connection_id":110376,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:34:03] local.INFO: Acknowledgment sent {"connection_id":110376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:34:30] local.INFO: TCP Data received {"connection_id":112106,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:34:30] local.INFO: Processing buffer {"connection_id":112106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:34:30] local.INFO: IMEI packet received {"connection_id":112106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":112106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:34:33] local.INFO: TCP Data received {"connection_id":112105,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:34:33] local.INFO: Processing buffer {"connection_id":112105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:34:33] local.INFO: IMEI packet received {"connection_id":112105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":112105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:34:35] local.INFO: TCP Data received {"connection_id":112106,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:34:35] local.INFO: Processing buffer {"connection_id":112106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:34:35] local.INFO: IMEI packet received {"connection_id":112106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":112106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:34:37] local.INFO: TCP Data received {"connection_id":112106,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:37] local.INFO: Processing buffer {"connection_id":112106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:37] local.INFO: Packet analysis {"connection_id":112106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:34:37] local.INFO: Extracted packet for processing {"connection_id":112106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:34:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:34:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":112106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:34:37] local.INFO: GPS data processed {"connection_id":112106,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:34:37] local.INFO: Acknowledgment sent {"connection_id":112106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:34:41] local.INFO: TCP Data received {"connection_id":112106,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:41] local.INFO: Processing buffer {"connection_id":112106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1583b80012cc3308007685990005a00ee22..."} 
[2026-06-23 03:34:41] local.INFO: Packet analysis {"connection_id":112106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:34:41] local.INFO: Extracted packet for processing {"connection_id":112106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef158"} 
[2026-06-23 03:34:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234304256001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782165552000,"timestamp_ms":1782165552000,"timestamp_seconds":1782165552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1583b80"} 
[2026-06-23 03:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234304256001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234304256001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:34:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:34:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234304256001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":112106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:34:41] local.INFO: GPS data processed {"connection_id":112106,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:34:41] local.INFO: Acknowledgment sent {"connection_id":112106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:35:08] local.INFO: TCP Data received {"connection_id":110543,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:35:08] local.INFO: Processing buffer {"connection_id":110543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:35:08] local.INFO: IMEI packet received {"connection_id":110543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":110543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:35:26] local.INFO: TCP Data received {"connection_id":110544,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:35:26] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:35:26] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:35:30] local.INFO: TCP Data received {"connection_id":110544,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:35:30] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:35:30] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:35:32] local.INFO: TCP Data received {"connection_id":110544,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:35:32] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:35:32] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:35:32] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:35:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:35:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 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-06-23 03:35:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:35: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-06-23 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-06-23 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-06-23 03:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:35:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:35:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:35:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:35:32] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:35:32] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:36:04] local.INFO: TCP Data received {"connection_id":110544,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:36:04] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:36:04] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:36:04] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:36:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:36:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 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-06-23 03:36:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:36: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-06-23 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-06-23 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-06-23 03:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:36:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:36:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:36:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:36:04] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:36:04] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:36:25] local.INFO: TCP Data received {"connection_id":110545,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:36:25] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:36:25] local.INFO: IMEI packet received {"connection_id":110545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":110545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:36:30] local.INFO: TCP Data received {"connection_id":110545,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:36:30] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:36:30] local.INFO: IMEI packet received {"connection_id":110545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":110545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:36:33] local.INFO: TCP Data received {"connection_id":110545,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:36:33] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:36:33] local.INFO: Packet analysis {"connection_id":110545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:36:33] local.INFO: Extracted packet for processing {"connection_id":110545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:36:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:36:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 03:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:36:33] 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-06-23 03:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:36:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:36:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:36:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":110545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:36:33] local.INFO: GPS data processed {"connection_id":110545,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:36:33] local.INFO: Acknowledgment sent {"connection_id":110545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:37:04] local.INFO: TCP Data received {"connection_id":110545,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:37:04] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:37:04] local.INFO: Packet analysis {"connection_id":110545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:37:04] local.INFO: Extracted packet for processing {"connection_id":110545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:37:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 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-06-23 03:37:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:37: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-06-23 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-06-23 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-06-23 03:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:37:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:37:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":110545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:37:04] local.INFO: GPS data processed {"connection_id":110545,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:37:04] local.INFO: Acknowledgment sent {"connection_id":110545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:37:25] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:37:25] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:37:25] local.INFO: IMEI packet received {"connection_id":110377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":110377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:37:30] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:37:30] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:37:30] local.INFO: IMEI packet received {"connection_id":110377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":110377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:37:32] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:37:32] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:37:32] local.INFO: Packet analysis {"connection_id":110377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:37:32] local.INFO: Extracted packet for processing {"connection_id":110377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:37:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:37:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 03:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:37:32] 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-06-23 03:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:37: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-06-23 03: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-06-23 03:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:37:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:37:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:37:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":110377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:37:32] local.INFO: GPS data processed {"connection_id":110377,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:37:32] local.INFO: Acknowledgment sent {"connection_id":110377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:38:03] local.INFO: TCP Data received {"connection_id":110377,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:03] local.INFO: Processing buffer {"connection_id":110377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:03] local.INFO: Packet analysis {"connection_id":110377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:38:03] local.INFO: Extracted packet for processing {"connection_id":110377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 03:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:38:03] 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-06-23 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:38: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-06-23 03: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-06-23 03:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:38:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:38:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":110377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:38:03] local.INFO: GPS data processed {"connection_id":110377,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:38:03] local.INFO: Acknowledgment sent {"connection_id":110377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:38:30] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:38:30] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:38:30] local.INFO: IMEI packet received {"connection_id":110546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":110546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:38:35] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:38:35] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:38:35] local.INFO: IMEI packet received {"connection_id":110546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":110546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:38:37] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:37] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:37] local.INFO: Packet analysis {"connection_id":110546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:38:37] local.INFO: Extracted packet for processing {"connection_id":110546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 03:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:38:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:38:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":110546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:38:37] local.INFO: GPS data processed {"connection_id":110546,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:38:37] local.INFO: Acknowledgment sent {"connection_id":110546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:38:41] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:41] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:38:41] local.INFO: Packet analysis {"connection_id":110546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:38:41] local.INFO: Extracted packet for processing {"connection_id":110546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:38:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 03:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:38: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-06-23 03:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:38:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:38:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":110546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:38:41] local.INFO: GPS data processed {"connection_id":110546,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:38:41] local.INFO: Acknowledgment sent {"connection_id":110546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:39:25] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:39:25] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:39:25] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:39:30] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:39:30] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:39:30] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:39:32] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:39:32] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef15cd348012cc3308007685990005a00ee28..."} 
[2026-06-23 03:39:32] local.INFO: Packet analysis {"connection_id":111158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:39:32] local.INFO: Extracted packet for processing {"connection_id":111158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef15c"} 
[2026-06-23 03:39:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234381312001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:39:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782165853000,"timestamp_ms":1782165853000,"timestamp_seconds":1782165853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef15cd348"} 
[2026-06-23 03:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:39:32] 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-06-23 03:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:39: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-06-23 03: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-06-23 03:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234381312001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234381312001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:39:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:39:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:39:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234381312001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":111158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:39:32] local.INFO: GPS data processed {"connection_id":111158,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:39:32] local.INFO: Acknowledgment sent {"connection_id":111158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:40:04] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:40:04] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:40:04] local.INFO: Packet analysis {"connection_id":111158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:40:04] local.INFO: Extracted packet for processing {"connection_id":111158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:40:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 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-06-23 03:40:04] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:40:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:40:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":111158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:40:04] local.INFO: GPS data processed {"connection_id":111158,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:40:04] local.INFO: Acknowledgment sent {"connection_id":111158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:40:25] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:40:25] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:40:25] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:40:30] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:40:30] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:40:30] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:40:32] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:40:32] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:40:32] local.INFO: Packet analysis {"connection_id":111159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:40:32] local.INFO: Extracted packet for processing {"connection_id":111159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:40:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 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-06-23 03:40:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:40:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:40:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":111159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:40:32] local.INFO: GPS data processed {"connection_id":111159,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:40:32] local.INFO: Acknowledgment sent {"connection_id":111159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:40:41] local.INFO: TCP Data received {"connection_id":112108,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:40:41] local.INFO: Processing buffer {"connection_id":112108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:40:41] local.INFO: IMEI packet received {"connection_id":112108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":112108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:41:03] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:03] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:03] local.INFO: Packet analysis {"connection_id":111159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:41:03] local.INFO: Extracted packet for processing {"connection_id":111159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 03:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:41:03] 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-06-23 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:41:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:41:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":111159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:41:03] local.INFO: GPS data processed {"connection_id":111159,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:41:03] local.INFO: Acknowledgment sent {"connection_id":111159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:41:18] local.INFO: TCP Data received {"connection_id":112109,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:41:18] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:41:18] local.INFO: IMEI packet received {"connection_id":112109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":112109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:41:30] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:41:30] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:41:30] local.INFO: IMEI packet received {"connection_id":112110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":112110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:41:35] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:41:35] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:41:35] local.INFO: IMEI packet received {"connection_id":112110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":112110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:41:37] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:37] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:37] local.INFO: Packet analysis {"connection_id":112110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:41:37] local.INFO: Extracted packet for processing {"connection_id":112110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 03:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:41:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:41:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":112110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:41:37] local.INFO: GPS data processed {"connection_id":112110,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:41:37] local.INFO: Acknowledgment sent {"connection_id":112110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:41:41] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:41] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:41:41] local.INFO: Packet analysis {"connection_id":112110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:41:41] local.INFO: Extracted packet for processing {"connection_id":112110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:41:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 03:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:41:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:41:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":112110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:41:41] local.INFO: GPS data processed {"connection_id":112110,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:41:41] local.INFO: Acknowledgment sent {"connection_id":112110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:42:26] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:42:26] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:42:26] local.INFO: IMEI packet received {"connection_id":110547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":110547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:42:30] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:42:30] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:42:30] local.INFO: IMEI packet received {"connection_id":110547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":110547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:42:32] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:42:32] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:42:32] local.INFO: Packet analysis {"connection_id":110547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:42:32] local.INFO: Extracted packet for processing {"connection_id":110547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:42:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 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-06-23 03:42:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:42:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:42:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":110547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:42:32] local.INFO: GPS data processed {"connection_id":110547,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:42:32] local.INFO: Acknowledgment sent {"connection_id":110547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:43:03] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:43:03] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:43:03] local.INFO: Packet analysis {"connection_id":110547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:43:03] local.INFO: Extracted packet for processing {"connection_id":110547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 03:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:43:03] 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-06-23 03: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":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:43:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:43:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":110547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:43:03] local.INFO: GPS data processed {"connection_id":110547,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:43:03] local.INFO: Acknowledgment sent {"connection_id":110547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:43:25] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:43:25] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:43:25] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:43:30] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:43:30] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:43:30] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:43:32] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:43:32] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:43:32] local.INFO: Packet analysis {"connection_id":111161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:43:32] local.INFO: Extracted packet for processing {"connection_id":111161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:43:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:43:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 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-06-23 03:43:32] 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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:43:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:43:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:43:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":111161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:43:32] local.INFO: GPS data processed {"connection_id":111161,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:43:32] local.INFO: Acknowledgment sent {"connection_id":111161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:44:03] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:44:03] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:44:03] local.INFO: Packet analysis {"connection_id":111161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:44:03] local.INFO: Extracted packet for processing {"connection_id":111161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 03:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:44:03] 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-06-23 03:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:44:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:44:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":111161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:44:03] local.INFO: GPS data processed {"connection_id":111161,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:44:03] local.INFO: Acknowledgment sent {"connection_id":111161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:44:25] local.INFO: TCP Data received {"connection_id":112111,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:44:25] local.INFO: Processing buffer {"connection_id":112111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:44:25] local.INFO: IMEI packet received {"connection_id":112111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":112111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:44:30] local.INFO: TCP Data received {"connection_id":112111,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:44:30] local.INFO: Processing buffer {"connection_id":112111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:44:30] local.INFO: IMEI packet received {"connection_id":112111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":112111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:44:32] local.INFO: TCP Data received {"connection_id":112111,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:44:32] local.INFO: Processing buffer {"connection_id":112111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1616b10012cc3308007685990005a00ee25..."} 
[2026-06-23 03:44:32] local.INFO: Packet analysis {"connection_id":112111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:44:32] local.INFO: Extracted packet for processing {"connection_id":112111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef161"} 
[2026-06-23 03:44:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234458368001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:44:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166154000,"timestamp_ms":1782166154000,"timestamp_seconds":1782166154,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1616b10"} 
[2026-06-23 03:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:44:32] 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-06-23 03:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 03:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234458368001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234458368001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:44:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:44:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:44:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234458368001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":112111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:44:32] local.INFO: GPS data processed {"connection_id":112111,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:44:32] local.INFO: Acknowledgment sent {"connection_id":112111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:45:05] local.INFO: TCP Data received {"connection_id":112111,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:45:05] local.INFO: Processing buffer {"connection_id":112111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:45:05] local.INFO: Packet analysis {"connection_id":112111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:45:05] local.INFO: Extracted packet for processing {"connection_id":112111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:45:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:45: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-06-23 03:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:45:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:45:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":112111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:45:05] local.INFO: GPS data processed {"connection_id":112111,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:45:05] local.INFO: Acknowledgment sent {"connection_id":112111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:45:30] local.INFO: TCP Data received {"connection_id":110379,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:45:30] local.INFO: Processing buffer {"connection_id":110379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:45:30] local.INFO: IMEI packet received {"connection_id":110379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":110379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:45:35] local.INFO: TCP Data received {"connection_id":110379,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:45:35] local.INFO: Processing buffer {"connection_id":110379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:45:35] local.INFO: IMEI packet received {"connection_id":110379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":110379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:45:37] local.INFO: TCP Data received {"connection_id":110379,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:45:37] local.INFO: Processing buffer {"connection_id":110379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:45:37] local.INFO: Packet analysis {"connection_id":110379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:45:37] local.INFO: Extracted packet for processing {"connection_id":110379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:45:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:45:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:45:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":110379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:45:37] local.INFO: GPS data processed {"connection_id":110379,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:45:37] local.INFO: Acknowledgment sent {"connection_id":110379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:46:09] local.INFO: TCP Data received {"connection_id":110379,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:46:09] local.INFO: Processing buffer {"connection_id":110379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:46:09] local.INFO: Packet analysis {"connection_id":110379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:46:09] local.INFO: Extracted packet for processing {"connection_id":110379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":110379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:46:09] local.INFO: GPS data processed {"connection_id":110379,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:46:09] local.INFO: Acknowledgment sent {"connection_id":110379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:46:25] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:46:25] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:46:25] local.INFO: IMEI packet received {"connection_id":110549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":110549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:46:30] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:46:30] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:46:30] local.INFO: IMEI packet received {"connection_id":110549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":110549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:46:32] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:46:32] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:46:32] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:46:32] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:46:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:46:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:46:32] 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-06-23 03:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:46: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-06-23 03: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-06-23 03:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:46:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:46:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:46:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:46:32] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:46:32] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:47:04] local.INFO: TCP Data received {"connection_id":110549,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:47:04] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:47:04] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:47:04] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:47:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 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-06-23 03:47:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:47: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-06-23 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-06-23 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-06-23 03:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:47:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:47:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:47:04] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:47:04] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:47:18] local.INFO: TCP Data received {"connection_id":111163,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:47:18] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:47:18] local.INFO: IMEI packet received {"connection_id":111163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":111163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:47:25] local.INFO: TCP Data received {"connection_id":110550,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:47:25] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:47:25] local.INFO: IMEI packet received {"connection_id":110550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":110550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:47:30] local.INFO: TCP Data received {"connection_id":110550,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:47:30] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:47:30] local.INFO: IMEI packet received {"connection_id":110550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":110550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:47:33] local.INFO: TCP Data received {"connection_id":110550,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:47:33] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:47:33] local.INFO: Packet analysis {"connection_id":110550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:47:33] local.INFO: Extracted packet for processing {"connection_id":110550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:47:33] 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-06-23 03:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:47:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:47:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":110550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:47:33] local.INFO: GPS data processed {"connection_id":110550,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:47:33] local.INFO: Acknowledgment sent {"connection_id":110550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:48:04] local.INFO: TCP Data received {"connection_id":110550,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:48:04] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:48:04] local.INFO: Packet analysis {"connection_id":110550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:48:04] local.INFO: Extracted packet for processing {"connection_id":110550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:48:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:48:04] 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-06-23 03:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:48: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-06-23 03: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-06-23 03:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:48:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:48:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:48:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":110550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:48:04] local.INFO: GPS data processed {"connection_id":110550,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:48:04] local.INFO: Acknowledgment sent {"connection_id":110550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:48:25] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:48:25] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:48:25] local.INFO: IMEI packet received {"connection_id":111165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":111165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:48:30] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:48:30] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:48:30] local.INFO: IMEI packet received {"connection_id":111165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":111165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:48:32] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:48:32] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:48:32] local.INFO: Packet analysis {"connection_id":111165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:48:32] local.INFO: Extracted packet for processing {"connection_id":111165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:48:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:48:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 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-06-23 03:48:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:48: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-06-23 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-06-23 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-06-23 03:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:48:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:48:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:48:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":111165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:48:32] local.INFO: GPS data processed {"connection_id":111165,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:48:32] local.INFO: Acknowledgment sent {"connection_id":111165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:49:03] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:49:03] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:49:03] local.INFO: Packet analysis {"connection_id":111165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:49:03] local.INFO: Extracted packet for processing {"connection_id":111165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:49:03] 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-06-23 03:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:49: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-06-23 03: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-06-23 03:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:49:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:49:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":111165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:49:03] local.INFO: GPS data processed {"connection_id":111165,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:49:03] local.INFO: Acknowledgment sent {"connection_id":111165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:49:25] local.INFO: TCP Data received {"connection_id":112113,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:49:25] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:49:25] local.INFO: IMEI packet received {"connection_id":112113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":112113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:49:30] local.INFO: TCP Data received {"connection_id":112113,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:49:30] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:49:30] local.INFO: IMEI packet received {"connection_id":112113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":112113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:49:32] local.INFO: TCP Data received {"connection_id":112113,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:49:32] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16602d8012cc3308007685990005a00ee25..."} 
[2026-06-23 03:49:32] local.INFO: Packet analysis {"connection_id":112113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:49:32] local.INFO: Extracted packet for processing {"connection_id":112113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef166"} 
[2026-06-23 03:49:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166455000,"timestamp_ms":1782166455000,"timestamp_seconds":1782166455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16602d8"} 
[2026-06-23 03:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:49:32] 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-06-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:49: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-06-23 03: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-06-23 03:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234535424001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:49:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:49:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:49:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234535424001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":112113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:49:32] local.INFO: GPS data processed {"connection_id":112113,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:49:32] local.INFO: Acknowledgment sent {"connection_id":112113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:50:03] local.INFO: TCP Data received {"connection_id":112113,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:50:03] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:50:03] local.INFO: Packet analysis {"connection_id":112113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:50:03] local.INFO: Extracted packet for processing {"connection_id":112113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:50:03] 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-06-23 03:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:50:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:50:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":112113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:50:03] local.INFO: GPS data processed {"connection_id":112113,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:50:03] local.INFO: Acknowledgment sent {"connection_id":112113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:50:25] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:50:26] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:50:26] local.INFO: IMEI packet received {"connection_id":110380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":110380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:50:31] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:50:31] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:50:31] local.INFO: IMEI packet received {"connection_id":110380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":110380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:50:33] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:50:33] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:50:33] local.INFO: Packet analysis {"connection_id":110380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:50:33] local.INFO: Extracted packet for processing {"connection_id":110380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:50:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:50:33] 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-06-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:50:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:50:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:50:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":110380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:50:33] local.INFO: GPS data processed {"connection_id":110380,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:50:33] local.INFO: Acknowledgment sent {"connection_id":110380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:51:05] local.INFO: TCP Data received {"connection_id":110380,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:51:05] local.INFO: Processing buffer {"connection_id":110380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:51:05] local.INFO: Packet analysis {"connection_id":110380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:51:05] local.INFO: Extracted packet for processing {"connection_id":110380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:51:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:51: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-06-23 03:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:51:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:51:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":110380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:51:05] local.INFO: GPS data processed {"connection_id":110380,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:51:05] local.INFO: Acknowledgment sent {"connection_id":110380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:51:25] local.INFO: TCP Data received {"connection_id":110381,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:51:25] local.INFO: Processing buffer {"connection_id":110381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:51:25] local.INFO: IMEI packet received {"connection_id":110381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":110381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:51:35] local.INFO: TCP Data received {"connection_id":110381,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:51:35] local.INFO: Processing buffer {"connection_id":110381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:51:35] local.INFO: IMEI packet received {"connection_id":110381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":110381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:51:37] local.INFO: TCP Data received {"connection_id":110381,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:51:37] local.INFO: Processing buffer {"connection_id":110381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:51:37] local.INFO: Packet analysis {"connection_id":110381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:51:37] local.INFO: Extracted packet for processing {"connection_id":110381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:51:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:51:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:51:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":110381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:51:37] local.INFO: GPS data processed {"connection_id":110381,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:51:37] local.INFO: Acknowledgment sent {"connection_id":110381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:52:09] local.INFO: TCP Data received {"connection_id":110381,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:52:09] local.INFO: Processing buffer {"connection_id":110381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:52:09] local.INFO: Packet analysis {"connection_id":110381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:52:09] local.INFO: Extracted packet for processing {"connection_id":110381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:52:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":110381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:52:09] local.INFO: GPS data processed {"connection_id":110381,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:52:09] local.INFO: Acknowledgment sent {"connection_id":110381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:52:25] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:52:25] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:52:25] local.INFO: IMEI packet received {"connection_id":112114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":112114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:52:30] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:52:30] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:52:30] local.INFO: IMEI packet received {"connection_id":112114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":112114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:52:32] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:52:32] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:52:32] local.INFO: Packet analysis {"connection_id":112114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:52:32] local.INFO: Extracted packet for processing {"connection_id":112114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:52:32] 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-06-23 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:52:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:52:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":112114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:52:32] local.INFO: GPS data processed {"connection_id":112114,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:52:32] local.INFO: Acknowledgment sent {"connection_id":112114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:52:48] local.INFO: TCP Data received {"connection_id":110552,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:52:48] local.INFO: Processing buffer {"connection_id":110552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:52:48] local.INFO: IMEI packet received {"connection_id":110552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":110552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:53:03] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:03] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:03] local.INFO: Packet analysis {"connection_id":112114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:53:03] local.INFO: Extracted packet for processing {"connection_id":112114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:53:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:53:03] 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-06-23 03:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:53:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:53:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":112114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:53:03] local.INFO: GPS data processed {"connection_id":112114,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:53:03] local.INFO: Acknowledgment sent {"connection_id":112114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:53:08] local.INFO: TCP Data received {"connection_id":112115,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:53:08] local.INFO: Processing buffer {"connection_id":112115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:53:08] local.INFO: IMEI packet received {"connection_id":112115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":112115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:53:30] local.INFO: TCP Data received {"connection_id":110382,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:53:30] local.INFO: Processing buffer {"connection_id":110382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:53:30] local.INFO: IMEI packet received {"connection_id":110382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":110382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:53:35] local.INFO: TCP Data received {"connection_id":110382,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:53:35] local.INFO: Processing buffer {"connection_id":110382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:53:35] local.INFO: IMEI packet received {"connection_id":110382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":110382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:53:37] local.INFO: TCP Data received {"connection_id":110382,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:37] local.INFO: Processing buffer {"connection_id":110382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:37] local.INFO: Packet analysis {"connection_id":110382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:53:37] local.INFO: Extracted packet for processing {"connection_id":110382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:53:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:53:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":110382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:53:37] local.INFO: GPS data processed {"connection_id":110382,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:53:37] local.INFO: Acknowledgment sent {"connection_id":110382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:53:41] local.INFO: TCP Data received {"connection_id":110382,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:41] local.INFO: Processing buffer {"connection_id":110382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:53:41] local.INFO: Packet analysis {"connection_id":110382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:53:41] local.INFO: Extracted packet for processing {"connection_id":110382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:53: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-06-23 03: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-06-23 03:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:53:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:53:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":110382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:53:41] local.INFO: GPS data processed {"connection_id":110382,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:53:41] local.INFO: Acknowledgment sent {"connection_id":110382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:54:25] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:54:25] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:54:25] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:54:30] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:54:30] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:54:30] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:54:33] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:54:33] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16a9aa0012cc3308007685990005a00ee25..."} 
[2026-06-23 03:54:33] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:54:33] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16a"} 
[2026-06-23 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234612480001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782166756000,"timestamp_ms":1782166756000,"timestamp_seconds":1782166756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16a9aa0"} 
[2026-06-23 03:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:54:33] 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-06-23 03:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234612480001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234612480001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:54:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:54:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234612480001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:54:33] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:54:33] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:55:05] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:55:05] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:55:05] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:55:05] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 03:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:55: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-06-23 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 03:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:55:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:55:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:55:05] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:55:05] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:55:26] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:55:26] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:55:26] local.INFO: IMEI packet received {"connection_id":111168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":111168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:55:30] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:55:31] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:55:31] local.INFO: IMEI packet received {"connection_id":111168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":111168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:55:33] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:55:33] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:55:33] local.INFO: Packet analysis {"connection_id":111168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:55:33] local.INFO: Extracted packet for processing {"connection_id":111168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:55:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:55:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:55:33] 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-06-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:55:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:55:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:55:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":111168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:55:33] local.INFO: GPS data processed {"connection_id":111168,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:55:33] local.INFO: Acknowledgment sent {"connection_id":111168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:56:05] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:56:05] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:56:05] local.INFO: Packet analysis {"connection_id":111168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:56:05] local.INFO: Extracted packet for processing {"connection_id":111168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:56:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:56: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-06-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:56:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:56:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":111168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:56:05] local.INFO: GPS data processed {"connection_id":111168,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:56:05] local.INFO: Acknowledgment sent {"connection_id":111168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:56:25] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:56:25] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:56:25] local.INFO: IMEI packet received {"connection_id":110554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":110554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:56:30] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:56:30] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:56:30] local.INFO: IMEI packet received {"connection_id":110554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":110554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:56:32] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:56:32] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:56:32] local.INFO: Packet analysis {"connection_id":110554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:56:32] local.INFO: Extracted packet for processing {"connection_id":110554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:56:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:56:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:56:32] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:56:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:56:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:56:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":110554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:56:32] local.INFO: GPS data processed {"connection_id":110554,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:56:32] local.INFO: Acknowledgment sent {"connection_id":110554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:57:04] local.INFO: TCP Data received {"connection_id":110554,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:04] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:04] local.INFO: Packet analysis {"connection_id":110554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:57:04] local.INFO: Extracted packet for processing {"connection_id":110554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:57:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:57:04] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:57:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:57:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:57:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":110554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:57:04] local.INFO: GPS data processed {"connection_id":110554,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:57:04] local.INFO: Acknowledgment sent {"connection_id":110554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:57:30] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:57:30] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:57:30] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:57:35] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:57:35] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:57:35] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:57:37] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:37] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:37] local.INFO: Packet analysis {"connection_id":110555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:57:37] local.INFO: Extracted packet for processing {"connection_id":110555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:57:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:57:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":110555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:57:37] local.INFO: GPS data processed {"connection_id":110555,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:57:37] local.INFO: Acknowledgment sent {"connection_id":110555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:57:42] local.INFO: TCP Data received {"connection_id":110555,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:42] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:57:42] local.INFO: Packet analysis {"connection_id":110555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:57:42] local.INFO: Extracted packet for processing {"connection_id":110555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 03: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-06-23 03:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:57:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:57:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":110555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:57:42] local.INFO: GPS data processed {"connection_id":110555,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:57:42] local.INFO: Acknowledgment sent {"connection_id":110555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:58:25] local.INFO: TCP Data received {"connection_id":112118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:58:25] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:58:25] local.INFO: IMEI packet received {"connection_id":112118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":112118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:58:30] local.INFO: TCP Data received {"connection_id":112118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:58:30] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:58:30] local.INFO: IMEI packet received {"connection_id":112118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":112118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:58:32] local.INFO: TCP Data received {"connection_id":112118,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:58:32] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:58:32] local.INFO: Packet analysis {"connection_id":112118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:58:32] local.INFO: Extracted packet for processing {"connection_id":112118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:58:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:58:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:58:32] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:58:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:58:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:58:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":112118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:58:32] local.INFO: GPS data processed {"connection_id":112118,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:58:32] local.INFO: Acknowledgment sent {"connection_id":112118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:58:42] local.INFO: TCP Data received {"connection_id":110556,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:58:42] local.INFO: Processing buffer {"connection_id":110556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:58:42] local.INFO: IMEI packet received {"connection_id":110556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":110556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:59:04] local.INFO: TCP Data received {"connection_id":112118,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:59:04] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:59:04] local.INFO: Packet analysis {"connection_id":112118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:59:04] local.INFO: Extracted packet for processing {"connection_id":112118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 03: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-06-23 03:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 03:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 03:59:04] 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-06-23 03: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-06-23 03: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-06-23 03: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-06-23 03:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 03:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:59:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:59:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":112118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:59:04] local.INFO: GPS data processed {"connection_id":112118,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:59:04] local.INFO: Acknowledgment sent {"connection_id":112118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:59:26] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:59:26] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:59:26] local.INFO: IMEI packet received {"connection_id":110385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 03:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":110385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 03:59:30] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:59:30] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 03:59:30] local.INFO: IMEI packet received {"connection_id":110385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 03:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":110385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 03:59:32] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:59:32] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef16f3268012cc3308007685990005a00ee23..."} 
[2026-06-23 03:59:32] local.INFO: Packet analysis {"connection_id":110385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:59:32] local.INFO: Extracted packet for processing {"connection_id":110385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef16f"} 
[2026-06-23 03:59:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 03:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234689536001,"note":"Value kept but may cause issues"} 
[2026-06-23 03:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 03:59:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 03:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 03:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167057000,"timestamp_ms":1782167057000,"timestamp_seconds":1782167057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef16f3268"} 
[2026-06-23 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-06-23 03:59:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 03:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 03:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 03:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 03:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 03:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 03:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 03:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 03:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234689536001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 03:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 03:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 03:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234689536001,"description":"Unknown IO ID 0"} 
[2026-06-23 03:59:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 03:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 03:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 03:59:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 03:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234689536001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 03:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":110385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 03:59:32] local.INFO: GPS data processed {"connection_id":110385,"processed":1,"errors":0,"total":1} 
[2026-06-23 03:59:32] local.INFO: Acknowledgment sent {"connection_id":110385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 03:59:40] local.INFO: TCP Data received {"connection_id":111169,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:59:40] local.INFO: Processing buffer {"connection_id":111169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 03:59:40] local.INFO: IMEI packet received {"connection_id":111169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 03:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":111169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:00:04] local.INFO: TCP Data received {"connection_id":110385,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:00:04] local.INFO: Processing buffer {"connection_id":110385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:00:04] local.INFO: Packet analysis {"connection_id":110385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:00:04] local.INFO: Extracted packet for processing {"connection_id":110385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 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-06-23 04:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:00:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:00:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":110385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:00:04] local.INFO: GPS data processed {"connection_id":110385,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:00:04] local.INFO: Acknowledgment sent {"connection_id":110385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:00:25] local.INFO: TCP Data received {"connection_id":111170,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:00:25] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:00:25] local.INFO: IMEI packet received {"connection_id":111170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":111170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:00:31] local.INFO: TCP Data received {"connection_id":111170,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:00:31] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:00:31] local.INFO: IMEI packet received {"connection_id":111170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":111170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:00:34] local.INFO: TCP Data received {"connection_id":111170,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:00:34] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:00:34] local.INFO: Packet analysis {"connection_id":111170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:00:34] local.INFO: Extracted packet for processing {"connection_id":111170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:00:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:00:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:00:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":111170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:00:34] local.INFO: GPS data processed {"connection_id":111170,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:00:34] local.INFO: Acknowledgment sent {"connection_id":111170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:01:06] local.INFO: TCP Data received {"connection_id":111170,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:06] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:06] local.INFO: Packet analysis {"connection_id":111170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:01:06] local.INFO: Extracted packet for processing {"connection_id":111170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:01:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:01:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":111170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:01:06] local.INFO: GPS data processed {"connection_id":111170,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:01:06] local.INFO: Acknowledgment sent {"connection_id":111170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:01:30] local.INFO: TCP Data received {"connection_id":110559,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:01:30] local.INFO: Processing buffer {"connection_id":110559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:01:30] local.INFO: IMEI packet received {"connection_id":110559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:01:35] local.INFO: TCP Data received {"connection_id":110559,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:01:35] local.INFO: Processing buffer {"connection_id":110559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:01:35] local.INFO: IMEI packet received {"connection_id":110559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":110559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:01:37] local.INFO: TCP Data received {"connection_id":110559,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:37] local.INFO: Processing buffer {"connection_id":110559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:37] local.INFO: Packet analysis {"connection_id":110559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:01:37] local.INFO: Extracted packet for processing {"connection_id":110559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:01:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:01: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-06-23 04:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:01:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:01:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":110559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:01:37] local.INFO: GPS data processed {"connection_id":110559,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:01:37] local.INFO: Acknowledgment sent {"connection_id":110559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:01:42] local.INFO: TCP Data received {"connection_id":110559,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:42] local.INFO: Processing buffer {"connection_id":110559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:01:42] local.INFO: Packet analysis {"connection_id":110559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:01:42] local.INFO: Extracted packet for processing {"connection_id":110559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:01:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:01:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:01:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":110559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:01:42] local.INFO: GPS data processed {"connection_id":110559,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:01:42] local.INFO: Acknowledgment sent {"connection_id":110559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:02:25] local.INFO: TCP Data received {"connection_id":111172,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:02:25] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:02:25] local.INFO: IMEI packet received {"connection_id":111172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":111172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:02:30] local.INFO: TCP Data received {"connection_id":111172,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:02:30] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:02:30] local.INFO: IMEI packet received {"connection_id":111172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":111172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:02:32] local.INFO: TCP Data received {"connection_id":111172,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:02:32] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:02:32] local.INFO: Packet analysis {"connection_id":111172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:02:32] local.INFO: Extracted packet for processing {"connection_id":111172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:02:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:02:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:02:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:02:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:02:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":111172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:02:32] local.INFO: GPS data processed {"connection_id":111172,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:02:32] local.INFO: Acknowledgment sent {"connection_id":111172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:03:04] local.INFO: TCP Data received {"connection_id":111172,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:03:04] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:03:04] local.INFO: Packet analysis {"connection_id":111172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:03:04] local.INFO: Extracted packet for processing {"connection_id":111172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:03:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":111172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:03:04] local.INFO: GPS data processed {"connection_id":111172,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:03:04] local.INFO: Acknowledgment sent {"connection_id":111172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:03:25] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:03:25] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:03:25] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:03:30] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:03:30] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:03:30] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:03:32] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:03:32] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:03:32] local.INFO: Packet analysis {"connection_id":110560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:03:32] local.INFO: Extracted packet for processing {"connection_id":110560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:03:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 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-06-23 04:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:03:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:03:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:03:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":110560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:03:32] local.INFO: GPS data processed {"connection_id":110560,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:03:32] local.INFO: Acknowledgment sent {"connection_id":110560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:04:04] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:04:04] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:04:04] local.INFO: Packet analysis {"connection_id":110560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:04:04] local.INFO: Extracted packet for processing {"connection_id":110560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 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-06-23 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:04:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":110560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:04:04] local.INFO: GPS data processed {"connection_id":110560,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:04:04] local.INFO: Acknowledgment sent {"connection_id":110560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:04:25] local.INFO: TCP Data received {"connection_id":111173,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:04:25] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:04:25] local.INFO: IMEI packet received {"connection_id":111173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":111173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:04:30] local.INFO: TCP Data received {"connection_id":111173,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:04:30] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:04:30] local.INFO: IMEI packet received {"connection_id":111173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":111173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:04:32] local.INFO: TCP Data received {"connection_id":111173,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:04:32] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef173ca30012cc3308007685990005a00ee21..."} 
[2026-06-23 04:04:32] local.INFO: Packet analysis {"connection_id":111173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:04:32] local.INFO: Extracted packet for processing {"connection_id":111173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef173"} 
[2026-06-23 04:04:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234766592001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:04:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167358000,"timestamp_ms":1782167358000,"timestamp_seconds":1782167358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef173ca30"} 
[2026-06-23 04:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234766592001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234766592001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:04:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:04:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:04:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234766592001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":111173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:04:32] local.INFO: GPS data processed {"connection_id":111173,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:04:32] local.INFO: Acknowledgment sent {"connection_id":111173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:05:03] local.INFO: TCP Data received {"connection_id":111173,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:03] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:03] local.INFO: Packet analysis {"connection_id":111173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:05:03] local.INFO: Extracted packet for processing {"connection_id":111173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:05:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:05:03] 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-06-23 04: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-06-23 04: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-06-23 04: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-06-23 04:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:05:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:05:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":111173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:05:03] local.INFO: GPS data processed {"connection_id":111173,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:05:03] local.INFO: Acknowledgment sent {"connection_id":111173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:05:18] local.INFO: TCP Data received {"connection_id":110387,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:05:18] local.INFO: Processing buffer {"connection_id":110387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:05:18] local.INFO: IMEI packet received {"connection_id":110387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":110387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:05:30] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:05:30] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:05:30] local.INFO: IMEI packet received {"connection_id":112120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":112120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:05:35] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:05:35] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:05:35] local.INFO: IMEI packet received {"connection_id":112120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":112120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:05:37] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:37] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:37] local.INFO: Packet analysis {"connection_id":112120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:05:37] local.INFO: Extracted packet for processing {"connection_id":112120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:05:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:05:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":112120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:05:37] local.INFO: GPS data processed {"connection_id":112120,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:05:37] local.INFO: Acknowledgment sent {"connection_id":112120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:05:41] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:41] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:05:41] local.INFO: Packet analysis {"connection_id":112120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:05:41] local.INFO: Extracted packet for processing {"connection_id":112120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:05:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:05: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-06-23 04: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-06-23 04:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:05:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:05:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":112120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:05:41] local.INFO: GPS data processed {"connection_id":112120,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:05:41] local.INFO: Acknowledgment sent {"connection_id":112120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:06:25] local.INFO: TCP Data received {"connection_id":112121,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:06:25] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:06:25] local.INFO: IMEI packet received {"connection_id":112121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":112121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:06:30] local.INFO: TCP Data received {"connection_id":112121,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:06:30] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:06:30] local.INFO: IMEI packet received {"connection_id":112121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":112121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:06:32] local.INFO: TCP Data received {"connection_id":112121,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:06:32] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:06:32] local.INFO: Packet analysis {"connection_id":112121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:06:32] local.INFO: Extracted packet for processing {"connection_id":112121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:06:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:06:32] 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-06-23 04:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04: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-06-23 04:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:06:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:06:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":112121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:06:32] local.INFO: GPS data processed {"connection_id":112121,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:06:32] local.INFO: Acknowledgment sent {"connection_id":112121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:07:03] local.INFO: TCP Data received {"connection_id":112121,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:07:03] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:07:03] local.INFO: Packet analysis {"connection_id":112121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:07:03] local.INFO: Extracted packet for processing {"connection_id":112121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:07:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:07:03] 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-06-23 04: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-06-23 04: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-06-23 04: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-06-23 04:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:07:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:07:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":112121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:07:03] local.INFO: GPS data processed {"connection_id":112121,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:07:03] local.INFO: Acknowledgment sent {"connection_id":112121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:07:25] local.INFO: TCP Data received {"connection_id":110562,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:07:25] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:07:25] local.INFO: IMEI packet received {"connection_id":110562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":110562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:07:30] local.INFO: TCP Data received {"connection_id":110562,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:07:30] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:07:30] local.INFO: IMEI packet received {"connection_id":110562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":110562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:07:32] local.INFO: TCP Data received {"connection_id":110562,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:07:32] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:07:32] local.INFO: Packet analysis {"connection_id":110562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:07:32] local.INFO: Extracted packet for processing {"connection_id":110562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:07:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 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-06-23 04:07:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:07: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-06-23 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-06-23 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-06-23 04:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:07:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:07:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":110562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:07:32] local.INFO: GPS data processed {"connection_id":110562,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:07:32] local.INFO: Acknowledgment sent {"connection_id":110562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:08:04] local.INFO: TCP Data received {"connection_id":110562,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:08:04] local.INFO: Processing buffer {"connection_id":110562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:08:04] local.INFO: Packet analysis {"connection_id":110562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:08:04] local.INFO: Extracted packet for processing {"connection_id":110562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 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-06-23 04:08:04] 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-06-23 04:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:08:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:08:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":110562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:08:04] local.INFO: GPS data processed {"connection_id":110562,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:08:04] local.INFO: Acknowledgment sent {"connection_id":110562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:08:25] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:08:25] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:08:25] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:08:30] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:08:30] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:08:30] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:08:32] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:08:32] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:08:32] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:08:32] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 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-06-23 04:08:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04: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-06-23 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-06-23 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-06-23 04:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:08:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:08:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:08:32] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:08:32] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:09:03] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:03] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:03] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:09:03] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 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-06-23 04:09:03] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04: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-06-23 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-06-23 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-06-23 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:09:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:09:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:09:03] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:09:03] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:09:30] local.INFO: TCP Data received {"connection_id":112122,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:09:30] local.INFO: Processing buffer {"connection_id":112122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:09:30] local.INFO: IMEI packet received {"connection_id":112122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":112122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:09:35] local.INFO: TCP Data received {"connection_id":112122,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:09:35] local.INFO: Processing buffer {"connection_id":112122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:09:35] local.INFO: IMEI packet received {"connection_id":112122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":112122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:09:37] local.INFO: TCP Data received {"connection_id":112122,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:37] local.INFO: Processing buffer {"connection_id":112122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:37] local.INFO: Packet analysis {"connection_id":112122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:09:37] local.INFO: Extracted packet for processing {"connection_id":112122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:09:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:09:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":112122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:09:37] local.INFO: GPS data processed {"connection_id":112122,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:09:37] local.INFO: Acknowledgment sent {"connection_id":112122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:09:41] local.INFO: TCP Data received {"connection_id":112122,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:41] local.INFO: Processing buffer {"connection_id":112122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17861f8012cc3308007685990005a00ee23..."} 
[2026-06-23 04:09:41] local.INFO: Packet analysis {"connection_id":112122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:09:41] local.INFO: Extracted packet for processing {"connection_id":112122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef178"} 
[2026-06-23 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234843648001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782167659000,"timestamp_ms":1782167659000,"timestamp_seconds":1782167659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17861f8"} 
[2026-06-23 04:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:09: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-06-23 04: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-06-23 04:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234843648001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234843648001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:09:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:09:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234843648001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":112122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:09:41] local.INFO: GPS data processed {"connection_id":112122,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:09:41] local.INFO: Acknowledgment sent {"connection_id":112122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:10:25] local.INFO: TCP Data received {"connection_id":111178,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:10:25] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:10:25] local.INFO: IMEI packet received {"connection_id":111178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":111178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:10:30] local.INFO: TCP Data received {"connection_id":111178,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:10:30] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:10:30] local.INFO: IMEI packet received {"connection_id":111178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":111178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:10:32] local.INFO: TCP Data received {"connection_id":111178,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:10:32] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:10:32] local.INFO: Packet analysis {"connection_id":111178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:10:32] local.INFO: Extracted packet for processing {"connection_id":111178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:10:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 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-06-23 04:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:10:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:10:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:10:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":111178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:10:32] local.INFO: GPS data processed {"connection_id":111178,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:10:32] local.INFO: Acknowledgment sent {"connection_id":111178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:11:03] local.INFO: TCP Data received {"connection_id":111178,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:11:03] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:11:03] local.INFO: Packet analysis {"connection_id":111178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:11:03] local.INFO: Extracted packet for processing {"connection_id":111178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:11:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:11:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:11:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":111178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:11:03] local.INFO: GPS data processed {"connection_id":111178,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:11:03] local.INFO: Acknowledgment sent {"connection_id":111178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:11:08] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:11:08] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:11:08] local.INFO: IMEI packet received {"connection_id":111179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":111179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:11:25] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:11:25] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:11:25] local.INFO: IMEI packet received {"connection_id":110564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":110564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:11:30] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:11:30] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:11:30] local.INFO: IMEI packet received {"connection_id":110564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":110564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:11:32] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:11:32] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:11:32] local.INFO: Packet analysis {"connection_id":110564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:11:32] local.INFO: Extracted packet for processing {"connection_id":110564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:11:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:11:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:11:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":110564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:11:32] local.INFO: GPS data processed {"connection_id":110564,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:11:32] local.INFO: Acknowledgment sent {"connection_id":110564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:12:03] local.INFO: TCP Data received {"connection_id":110564,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:12:03] local.INFO: Processing buffer {"connection_id":110564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:12:03] local.INFO: Packet analysis {"connection_id":110564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:12:03] local.INFO: Extracted packet for processing {"connection_id":110564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:12:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:12:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":110564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:12:03] local.INFO: GPS data processed {"connection_id":110564,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:12:03] local.INFO: Acknowledgment sent {"connection_id":110564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:12:08] local.INFO: TCP Data received {"connection_id":111180,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:12:08] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:12:08] local.INFO: IMEI packet received {"connection_id":111180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":111180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:12:25] local.INFO: TCP Data received {"connection_id":110388,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:12:25] local.INFO: Processing buffer {"connection_id":110388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:12:25] local.INFO: IMEI packet received {"connection_id":110388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":110388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:12:30] local.INFO: TCP Data received {"connection_id":110388,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:12:30] local.INFO: Processing buffer {"connection_id":110388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:12:30] local.INFO: IMEI packet received {"connection_id":110388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":110388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:12:32] local.INFO: TCP Data received {"connection_id":110388,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:12:32] local.INFO: Processing buffer {"connection_id":110388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:12:32] local.INFO: Packet analysis {"connection_id":110388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:12:32] local.INFO: Extracted packet for processing {"connection_id":110388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:12:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 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-06-23 04:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:12:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":110388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:12:32] local.INFO: GPS data processed {"connection_id":110388,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:12:32] local.INFO: Acknowledgment sent {"connection_id":110388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:13:03] local.INFO: TCP Data received {"connection_id":110388,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:03] local.INFO: Processing buffer {"connection_id":110388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:03] local.INFO: Packet analysis {"connection_id":110388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:13:03] local.INFO: Extracted packet for processing {"connection_id":110388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:13:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:13:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:13:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":110388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:13:03] local.INFO: GPS data processed {"connection_id":110388,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:13:03] local.INFO: Acknowledgment sent {"connection_id":110388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:13:30] local.INFO: TCP Data received {"connection_id":110565,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:13:30] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:13:30] local.INFO: IMEI packet received {"connection_id":110565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":110565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:13:35] local.INFO: TCP Data received {"connection_id":110565,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:13:35] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:13:35] local.INFO: IMEI packet received {"connection_id":110565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":110565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:13:37] local.INFO: TCP Data received {"connection_id":110565,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:37] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:37] local.INFO: Packet analysis {"connection_id":110565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:13:37] local.INFO: Extracted packet for processing {"connection_id":110565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:13:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:13: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-06-23 04:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:13:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:13:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":110565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:13:37] local.INFO: GPS data processed {"connection_id":110565,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:13:37] local.INFO: Acknowledgment sent {"connection_id":110565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:13:41] local.INFO: TCP Data received {"connection_id":110565,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:41] local.INFO: Processing buffer {"connection_id":110565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:13:41] local.INFO: Packet analysis {"connection_id":110565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:13:41] local.INFO: Extracted packet for processing {"connection_id":110565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:13:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:13:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":110565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:13:41] local.INFO: GPS data processed {"connection_id":110565,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:13:41] local.INFO: Acknowledgment sent {"connection_id":110565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:14:25] local.INFO: TCP Data received {"connection_id":111183,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:14:25] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:14:25] local.INFO: IMEI packet received {"connection_id":111183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":111183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:14:30] local.INFO: TCP Data received {"connection_id":111183,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:14:30] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:14:30] local.INFO: IMEI packet received {"connection_id":111183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":111183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:14:32] local.INFO: TCP Data received {"connection_id":111183,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:14:32] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:14:32] local.INFO: Packet analysis {"connection_id":111183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:14:32] local.INFO: Extracted packet for processing {"connection_id":111183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:14:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:14:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:14:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:14:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:14:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":111183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:14:32] local.INFO: GPS data processed {"connection_id":111183,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:14:32] local.INFO: Acknowledgment sent {"connection_id":111183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:14:36] local.INFO: TCP Data received {"connection_id":111183,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:14:36] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef17cf9c0012cc3308007685990005a00ee24..."} 
[2026-06-23 04:14:36] local.INFO: Packet analysis {"connection_id":111183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:14:36] local.INFO: Extracted packet for processing {"connection_id":111183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef17c"} 
[2026-06-23 04:14:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234920704001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782167960000,"timestamp_ms":1782167960000,"timestamp_seconds":1782167960,"priority":1,"record_length":96,"hex_timestamp":"0000019ef17cf9c0"} 
[2026-06-23 04:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234920704001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234920704001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:14:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:14:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234920704001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":111183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:14:36] local.INFO: GPS data processed {"connection_id":111183,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:14:36] local.INFO: Acknowledgment sent {"connection_id":111183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:15:08] local.INFO: TCP Data received {"connection_id":111183,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:15:08] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:15:08] local.INFO: Packet analysis {"connection_id":111183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:15:08] local.INFO: Extracted packet for processing {"connection_id":111183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:15:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 04:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:15:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:15:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":111183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:15:08] local.INFO: GPS data processed {"connection_id":111183,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:15:08] local.INFO: Acknowledgment sent {"connection_id":111183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:15:26] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:15:26] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:15:26] local.INFO: IMEI packet received {"connection_id":110567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":110567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:15:30] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:15:30] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:15:30] local.INFO: IMEI packet received {"connection_id":110567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:15:32] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:15:32] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:15:32] local.INFO: Packet analysis {"connection_id":110567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:15:32] local.INFO: Extracted packet for processing {"connection_id":110567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 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-06-23 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:15: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-06-23 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-06-23 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-06-23 04:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:15:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:15:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:15:32] local.INFO: GPS data processed {"connection_id":110567,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:15:32] local.INFO: Acknowledgment sent {"connection_id":110567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:16:04] local.INFO: TCP Data received {"connection_id":110567,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:16:04] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:16:04] local.INFO: Packet analysis {"connection_id":110567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:16:04] local.INFO: Extracted packet for processing {"connection_id":110567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 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-06-23 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:16: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-06-23 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-06-23 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-06-23 04:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:16:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:16:04] local.INFO: GPS data processed {"connection_id":110567,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:16:04] local.INFO: Acknowledgment sent {"connection_id":110567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:16:25] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:16:25] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:16:25] local.INFO: IMEI packet received {"connection_id":110568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":110568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:16:30] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:16:30] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:16:30] local.INFO: IMEI packet received {"connection_id":110568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":110568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:16:32] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:16:32] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:16:32] local.INFO: Packet analysis {"connection_id":110568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:16:32] local.INFO: Extracted packet for processing {"connection_id":110568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:16:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 04:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:16: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-06-23 04: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-06-23 04:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:16:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":110568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:16:32] local.INFO: GPS data processed {"connection_id":110568,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:16:32] local.INFO: Acknowledgment sent {"connection_id":110568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:17:03] local.INFO: TCP Data received {"connection_id":110568,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:17:03] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:17:03] local.INFO: Packet analysis {"connection_id":110568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:17:03] local.INFO: Extracted packet for processing {"connection_id":110568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:17:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 04:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:17: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-06-23 04: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-06-23 04:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:17:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":110568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:17:03] local.INFO: GPS data processed {"connection_id":110568,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:17:03] local.INFO: Acknowledgment sent {"connection_id":110568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:17:12] local.INFO: TCP Data received {"connection_id":110389,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:17:12] local.INFO: Processing buffer {"connection_id":110389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:17:12] local.INFO: IMEI packet received {"connection_id":110389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":110389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:17:25] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:17:25] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:17:25] local.INFO: IMEI packet received {"connection_id":112124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":112124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:17:30] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:17:30] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:17:30] local.INFO: IMEI packet received {"connection_id":112124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":112124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:17:32] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:17:32] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:17:32] local.INFO: Packet analysis {"connection_id":112124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:17:32] local.INFO: Extracted packet for processing {"connection_id":112124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:17:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:17:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 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-06-23 04:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:17: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-06-23 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-06-23 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-06-23 04:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:17:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:17:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":112124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:17:32] local.INFO: GPS data processed {"connection_id":112124,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:17:32] local.INFO: Acknowledgment sent {"connection_id":112124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:18:03] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:03] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:03] local.INFO: Packet analysis {"connection_id":112124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:18:03] local.INFO: Extracted packet for processing {"connection_id":112124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 04:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:18: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-06-23 04: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-06-23 04:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:18:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:18:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":112124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:18:03] local.INFO: GPS data processed {"connection_id":112124,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:18:03] local.INFO: Acknowledgment sent {"connection_id":112124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:18:30] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:18:30] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:18:30] local.INFO: IMEI packet received {"connection_id":110569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":110569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:18:35] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:18:35] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:18:35] local.INFO: IMEI packet received {"connection_id":110569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":110569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:18:37] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:37] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:37] local.INFO: Packet analysis {"connection_id":110569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:18:37] local.INFO: Extracted packet for processing {"connection_id":110569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 04:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:18:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:18:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":110569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:18:37] local.INFO: GPS data processed {"connection_id":110569,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:18:37] local.INFO: Acknowledgment sent {"connection_id":110569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:18:42] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:42] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:18:42] local.INFO: Packet analysis {"connection_id":110569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:18:42] local.INFO: Extracted packet for processing {"connection_id":110569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 04:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:18:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:18:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":110569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:18:42] local.INFO: GPS data processed {"connection_id":110569,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:18:42] local.INFO: Acknowledgment sent {"connection_id":110569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:19:25] local.INFO: TCP Data received {"connection_id":112126,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:19:25] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:19:25] local.INFO: IMEI packet received {"connection_id":112126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":112126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:19:30] local.INFO: TCP Data received {"connection_id":112126,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:19:30] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:19:30] local.INFO: IMEI packet received {"connection_id":112126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":112126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:19:32] local.INFO: TCP Data received {"connection_id":112126,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:19:32] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1819188012cc3308007685990005a00ee26..."} 
[2026-06-23 04:19:32] local.INFO: Packet analysis {"connection_id":112126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:19:32] local.INFO: Extracted packet for processing {"connection_id":112126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef181"} 
[2026-06-23 04:19:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456234997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168261000,"timestamp_ms":1782168261000,"timestamp_seconds":1782168261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1819188"} 
[2026-06-23 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-06-23 04:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:19: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-06-23 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-06-23 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-06-23 04:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456234997760001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456234997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:19:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:19:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456234997760001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":112126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:19:32] local.INFO: GPS data processed {"connection_id":112126,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:19:32] local.INFO: Acknowledgment sent {"connection_id":112126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:20:03] local.INFO: TCP Data received {"connection_id":112126,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:20:03] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:20:03] local.INFO: Packet analysis {"connection_id":112126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:20:03] local.INFO: Extracted packet for processing {"connection_id":112126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:20:03] 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-06-23 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:20: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-06-23 04: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-06-23 04:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":112126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:20:03] local.INFO: GPS data processed {"connection_id":112126,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:20:03] local.INFO: Acknowledgment sent {"connection_id":112126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:20:25] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:20:25] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:20:25] local.INFO: IMEI packet received {"connection_id":111185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":111185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:20:30] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:20:30] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:20:30] local.INFO: IMEI packet received {"connection_id":111185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":111185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:20:32] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:20:32] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:20:32] local.INFO: Packet analysis {"connection_id":111185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:20:32] local.INFO: Extracted packet for processing {"connection_id":111185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:20:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:20:32] 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-06-23 04:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:20: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-06-23 04: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-06-23 04:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:20:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:20:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":111185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:20:32] local.INFO: GPS data processed {"connection_id":111185,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:20:32] local.INFO: Acknowledgment sent {"connection_id":111185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:21:03] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:21:03] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:21:03] local.INFO: Packet analysis {"connection_id":111185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:21:03] local.INFO: Extracted packet for processing {"connection_id":111185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:21:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:21:03] 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-06-23 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:21:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":111185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:21:03] local.INFO: GPS data processed {"connection_id":111185,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:21:03] local.INFO: Acknowledgment sent {"connection_id":111185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:21:25] local.INFO: TCP Data received {"connection_id":110390,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:21:25] local.INFO: Processing buffer {"connection_id":110390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:21:25] local.INFO: IMEI packet received {"connection_id":110390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":110390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:21:30] local.INFO: TCP Data received {"connection_id":110390,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:21:30] local.INFO: Processing buffer {"connection_id":110390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:21:30] local.INFO: IMEI packet received {"connection_id":110390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":110390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:21:32] local.INFO: TCP Data received {"connection_id":110390,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:21:32] local.INFO: Processing buffer {"connection_id":110390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:21:32] local.INFO: Packet analysis {"connection_id":110390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:21:32] local.INFO: Extracted packet for processing {"connection_id":110390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:21:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:21:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 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-06-23 04:21:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:21: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-06-23 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-06-23 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-06-23 04:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:21:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:21:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:21:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":110390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:21:32] local.INFO: GPS data processed {"connection_id":110390,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:21:32] local.INFO: Acknowledgment sent {"connection_id":110390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:22:03] local.INFO: TCP Data received {"connection_id":110390,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:03] local.INFO: Processing buffer {"connection_id":110390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:03] local.INFO: Packet analysis {"connection_id":110390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:22:03] local.INFO: Extracted packet for processing {"connection_id":110390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:22:03] 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-06-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":110390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:22:03] local.INFO: GPS data processed {"connection_id":110390,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:22:03] local.INFO: Acknowledgment sent {"connection_id":110390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:22:30] local.INFO: TCP Data received {"connection_id":112128,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:22:30] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:22:30] local.INFO: IMEI packet received {"connection_id":112128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":112128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:22:35] local.INFO: TCP Data received {"connection_id":112128,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:22:35] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:22:35] local.INFO: IMEI packet received {"connection_id":112128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":112128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:22:37] local.INFO: TCP Data received {"connection_id":112128,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:37] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:37] local.INFO: Packet analysis {"connection_id":112128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:22:37] local.INFO: Extracted packet for processing {"connection_id":112128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:22:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:22:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":112128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:22:37] local.INFO: GPS data processed {"connection_id":112128,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:22:37] local.INFO: Acknowledgment sent {"connection_id":112128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:22:41] local.INFO: TCP Data received {"connection_id":112128,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:41] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:22:41] local.INFO: Packet analysis {"connection_id":112128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:22:41] local.INFO: Extracted packet for processing {"connection_id":112128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:22:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:22: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-06-23 04: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-06-23 04:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:22:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:22:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":112128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:22:41] local.INFO: GPS data processed {"connection_id":112128,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:22:41] local.INFO: Acknowledgment sent {"connection_id":112128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:23:06] local.INFO: TCP Data received {"connection_id":110391,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:06] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:06] local.INFO: IMEI packet received {"connection_id":110391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":110391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:23:07] local.INFO: TCP Data received {"connection_id":110391,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:07] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:07] local.INFO: IMEI packet received {"connection_id":110391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 04:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":110391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:23:13] local.INFO: TCP Data received {"connection_id":110391,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:13] local.INFO: Processing buffer {"connection_id":110391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:23:13] local.INFO: IMEI packet received {"connection_id":110391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 04:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":110391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:23:25] local.INFO: TCP Data received {"connection_id":110571,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:23:25] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:23:25] local.INFO: IMEI packet received {"connection_id":110571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":110571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:23:30] local.INFO: TCP Data received {"connection_id":110571,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:23:30] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:23:30] local.INFO: IMEI packet received {"connection_id":110571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":110571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:23:32] local.INFO: TCP Data received {"connection_id":110571,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:23:32] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:23:32] local.INFO: Packet analysis {"connection_id":110571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:23:32] local.INFO: Extracted packet for processing {"connection_id":110571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:23:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 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-06-23 04:23:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:23: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-06-23 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-06-23 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-06-23 04:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:23:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:23:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":110571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:23:32] local.INFO: GPS data processed {"connection_id":110571,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:23:32] local.INFO: Acknowledgment sent {"connection_id":110571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:24:03] local.INFO: TCP Data received {"connection_id":110571,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:24:03] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:24:03] local.INFO: Packet analysis {"connection_id":110571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:24:03] local.INFO: Extracted packet for processing {"connection_id":110571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:24:03] 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-06-23 04:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:24:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:24:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:24:03] local.INFO: GPS data processed {"connection_id":110571,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:24:03] local.INFO: Acknowledgment sent {"connection_id":110571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:24:25] local.INFO: TCP Data received {"connection_id":110573,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:24:25] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:24:25] local.INFO: IMEI packet received {"connection_id":110573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:24:30] local.INFO: TCP Data received {"connection_id":110573,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:24:30] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:24:30] local.INFO: IMEI packet received {"connection_id":110573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":110573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:24:32] local.INFO: TCP Data received {"connection_id":110573,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:24:32] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1862950012cc3308007685990005a00ee27..."} 
[2026-06-23 04:24:32] local.INFO: Packet analysis {"connection_id":110573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:24:32] local.INFO: Extracted packet for processing {"connection_id":110573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef186"} 
[2026-06-23 04:24:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168562000,"timestamp_ms":1782168562000,"timestamp_seconds":1782168562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1862950"} 
[2026-06-23 04:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:24:32] 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-06-23 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:24: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-06-23 04:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235074816001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:24:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:24:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235074816001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":110573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:24:32] local.INFO: GPS data processed {"connection_id":110573,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:24:32] local.INFO: Acknowledgment sent {"connection_id":110573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:25:03] local.INFO: TCP Data received {"connection_id":110573,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:25:03] local.INFO: Processing buffer {"connection_id":110573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:25:03] local.INFO: Packet analysis {"connection_id":110573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:25:03] local.INFO: Extracted packet for processing {"connection_id":110573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:25:03] 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-06-23 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:25:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:25:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":110573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:25:03] local.INFO: GPS data processed {"connection_id":110573,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:25:03] local.INFO: Acknowledgment sent {"connection_id":110573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:25:25] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:25:25] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:25:25] local.INFO: IMEI packet received {"connection_id":110393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":110393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:25:30] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:25:30] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:25:30] local.INFO: IMEI packet received {"connection_id":110393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":110393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:25:32] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:25:32] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:25:32] local.INFO: Packet analysis {"connection_id":110393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:25:32] local.INFO: Extracted packet for processing {"connection_id":110393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:25:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 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-06-23 04:25:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:25: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-06-23 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-06-23 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-06-23 04:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:25:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:25:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":110393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:25:32] local.INFO: GPS data processed {"connection_id":110393,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:25:32] local.INFO: Acknowledgment sent {"connection_id":110393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:26:03] local.INFO: TCP Data received {"connection_id":110393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:03] local.INFO: Processing buffer {"connection_id":110393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:03] local.INFO: Packet analysis {"connection_id":110393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:26:03] local.INFO: Extracted packet for processing {"connection_id":110393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:26:03] 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-06-23 04:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:26: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-06-23 04: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-06-23 04:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:26:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:26:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":110393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:26:03] local.INFO: GPS data processed {"connection_id":110393,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:26:03] local.INFO: Acknowledgment sent {"connection_id":110393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:26:30] local.INFO: TCP Data received {"connection_id":112129,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:26:30] local.INFO: Processing buffer {"connection_id":112129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:26:30] local.INFO: IMEI packet received {"connection_id":112129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":112129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:26:35] local.INFO: TCP Data received {"connection_id":112129,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:26:35] local.INFO: Processing buffer {"connection_id":112129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:26:35] local.INFO: IMEI packet received {"connection_id":112129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":112129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:26:38] local.INFO: TCP Data received {"connection_id":112129,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:38] local.INFO: Processing buffer {"connection_id":112129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:38] local.INFO: Packet analysis {"connection_id":112129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:26:38] local.INFO: Extracted packet for processing {"connection_id":112129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:26:38] 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-06-23 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":112129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:26:38] local.INFO: GPS data processed {"connection_id":112129,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:26:38] local.INFO: Acknowledgment sent {"connection_id":112129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:26:41] local.INFO: TCP Data received {"connection_id":112129,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:41] local.INFO: Processing buffer {"connection_id":112129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:26:41] local.INFO: Packet analysis {"connection_id":112129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:26:41] local.INFO: Extracted packet for processing {"connection_id":112129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:26:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:26:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":112129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:26:41] local.INFO: GPS data processed {"connection_id":112129,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:26:41] local.INFO: Acknowledgment sent {"connection_id":112129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:27:25] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:27:25] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:27:25] local.INFO: IMEI packet received {"connection_id":111187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":111187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:27:30] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:27:30] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:27:30] local.INFO: IMEI packet received {"connection_id":111187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":111187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:27:32] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:27:32] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:27:32] local.INFO: Packet analysis {"connection_id":111187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:27:32] local.INFO: Extracted packet for processing {"connection_id":111187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:27:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 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-06-23 04:27:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:27: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-06-23 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-06-23 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-06-23 04:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:27:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:27:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":111187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:27:32] local.INFO: GPS data processed {"connection_id":111187,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:27:32] local.INFO: Acknowledgment sent {"connection_id":111187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:28:03] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:28:03] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:28:03] local.INFO: Packet analysis {"connection_id":111187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:28:03] local.INFO: Extracted packet for processing {"connection_id":111187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:28:03] 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-06-23 04:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:28:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":111187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:28:03] local.INFO: GPS data processed {"connection_id":111187,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:28:03] local.INFO: Acknowledgment sent {"connection_id":111187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:28:25] local.INFO: TCP Data received {"connection_id":110394,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:28:25] local.INFO: Processing buffer {"connection_id":110394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:28:25] local.INFO: IMEI packet received {"connection_id":110394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":110394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:28:30] local.INFO: TCP Data received {"connection_id":110394,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:28:30] local.INFO: Processing buffer {"connection_id":110394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:28:30] local.INFO: IMEI packet received {"connection_id":110394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:28:31] local.INFO: TCP Data received {"connection_id":110394,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:28:31] local.INFO: Processing buffer {"connection_id":110394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:28:31] local.INFO: Packet analysis {"connection_id":110394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:28:31] local.INFO: Extracted packet for processing {"connection_id":110394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:28:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:28:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:28:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":110394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:28:31] local.INFO: GPS data processed {"connection_id":110394,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:28:31] local.INFO: Acknowledgment sent {"connection_id":110394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:28:36] local.INFO: TCP Data received {"connection_id":112131,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:28:36] local.INFO: Processing buffer {"connection_id":112131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:28:36] local.INFO: IMEI packet received {"connection_id":112131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":112131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:29:03] local.INFO: TCP Data received {"connection_id":110394,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:29:03] local.INFO: Processing buffer {"connection_id":110394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:29:03] local.INFO: Packet analysis {"connection_id":110394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:29:03] local.INFO: Extracted packet for processing {"connection_id":110394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 04:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:29:03] 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-06-23 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":110394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:29:03] local.INFO: GPS data processed {"connection_id":110394,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:29:03] local.INFO: Acknowledgment sent {"connection_id":110394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:29:13] local.INFO: TCP Data received {"connection_id":110575,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:29:13] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:29:13] local.INFO: IMEI packet received {"connection_id":110575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":110575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:29:25] local.INFO: TCP Data received {"connection_id":112132,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:29:25] local.INFO: Processing buffer {"connection_id":112132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:29:25] local.INFO: IMEI packet received {"connection_id":112132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":112132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:29:30] local.INFO: TCP Data received {"connection_id":112132,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:29:30] local.INFO: Processing buffer {"connection_id":112132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:29:30] local.INFO: IMEI packet received {"connection_id":112132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":112132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:29:32] local.INFO: TCP Data received {"connection_id":112132,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:29:32] local.INFO: Processing buffer {"connection_id":112132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18ac118012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:29:32] local.INFO: Packet analysis {"connection_id":112132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:29:32] local.INFO: Extracted packet for processing {"connection_id":112132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18a"} 
[2026-06-23 04:29:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235151872001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782168863000,"timestamp_ms":1782168863000,"timestamp_seconds":1782168863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18ac118"} 
[2026-06-23 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-06-23 04:29:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:29: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-06-23 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-06-23 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-06-23 04:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235151872001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235151872001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:29:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235151872001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":112132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:29:32] local.INFO: GPS data processed {"connection_id":112132,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:29:32] local.INFO: Acknowledgment sent {"connection_id":112132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:30:03] local.INFO: TCP Data received {"connection_id":112132,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:30:03] local.INFO: Processing buffer {"connection_id":112132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:30:03] local.INFO: Packet analysis {"connection_id":112132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:30:03] local.INFO: Extracted packet for processing {"connection_id":112132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:30:03] 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-06-23 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:30:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":112132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:30:03] local.INFO: GPS data processed {"connection_id":112132,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:30:03] local.INFO: Acknowledgment sent {"connection_id":112132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:30:30] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:30:30] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:30:30] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:30:35] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:30:35] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:30:35] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:30:37] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:30:37] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:30:37] local.INFO: Packet analysis {"connection_id":111188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:30:37] local.INFO: Extracted packet for processing {"connection_id":111188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:30:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:30:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":111188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:30:37] local.INFO: GPS data processed {"connection_id":111188,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:30:37] local.INFO: Acknowledgment sent {"connection_id":111188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:31:08] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:31:08] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:31:08] local.INFO: Packet analysis {"connection_id":111188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:31:08] local.INFO: Extracted packet for processing {"connection_id":111188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:31:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":111188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:31:08] local.INFO: GPS data processed {"connection_id":111188,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:31:08] local.INFO: Acknowledgment sent {"connection_id":111188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:31:26] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:31:26] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:31:26] local.INFO: IMEI packet received {"connection_id":110395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":110395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:31:30] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:31:30] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:31:30] local.INFO: IMEI packet received {"connection_id":110395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":110395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:31:32] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:31:32] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:31:32] local.INFO: Packet analysis {"connection_id":110395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:31:32] local.INFO: Extracted packet for processing {"connection_id":110395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:31:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:31:32] 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-06-23 04:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:31: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-06-23 04: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-06-23 04:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:31:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:31:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":110395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:31:32] local.INFO: GPS data processed {"connection_id":110395,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:31:32] local.INFO: Acknowledgment sent {"connection_id":110395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:32:03] local.INFO: TCP Data received {"connection_id":110395,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:03] local.INFO: Processing buffer {"connection_id":110395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:03] local.INFO: Packet analysis {"connection_id":110395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:32:03] local.INFO: Extracted packet for processing {"connection_id":110395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:32:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:32:03] 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-06-23 04:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:32:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:32:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":110395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:32:03] local.INFO: GPS data processed {"connection_id":110395,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:32:03] local.INFO: Acknowledgment sent {"connection_id":110395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:32:29] local.INFO: TCP Data received {"connection_id":111190,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:32:29] local.INFO: Processing buffer {"connection_id":111190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:32:29] local.INFO: IMEI packet received {"connection_id":111190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":111190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:32:30] local.INFO: TCP Data received {"connection_id":111190,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:32:30] local.INFO: Processing buffer {"connection_id":111190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:32:30] local.INFO: IMEI packet received {"connection_id":111190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":111190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:32:31] local.INFO: TCP Data received {"connection_id":111190,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:31] local.INFO: Processing buffer {"connection_id":111190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:31] local.INFO: Packet analysis {"connection_id":111190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:32:31] local.INFO: Extracted packet for processing {"connection_id":111190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:32:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:32:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:32:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":111190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:32:31] local.INFO: GPS data processed {"connection_id":111190,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:32:31] local.INFO: Acknowledgment sent {"connection_id":111190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:32:36] local.INFO: TCP Data received {"connection_id":111190,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:36] local.INFO: Processing buffer {"connection_id":111190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:32:36] local.INFO: Packet analysis {"connection_id":111190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:32:36] local.INFO: Extracted packet for processing {"connection_id":111190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:32:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:32:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:32:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":111190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:32:36] local.INFO: GPS data processed {"connection_id":111190,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:32:36] local.INFO: Acknowledgment sent {"connection_id":111190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:33:08] local.INFO: TCP Data received {"connection_id":111190,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:33:08] local.INFO: Processing buffer {"connection_id":111190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:33:08] local.INFO: Packet analysis {"connection_id":111190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:33:08] local.INFO: Extracted packet for processing {"connection_id":111190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":111190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:33:08] local.INFO: GPS data processed {"connection_id":111190,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:33:08] local.INFO: Acknowledgment sent {"connection_id":111190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:33:25] local.INFO: TCP Data received {"connection_id":110577,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:33:25] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:33:25] local.INFO: IMEI packet received {"connection_id":110577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":110577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:33:30] local.INFO: TCP Data received {"connection_id":110577,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:33:30] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:33:30] local.INFO: IMEI packet received {"connection_id":110577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":110577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:33:32] local.INFO: TCP Data received {"connection_id":110577,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:33:32] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:33:32] local.INFO: Packet analysis {"connection_id":110577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:33:32] local.INFO: Extracted packet for processing {"connection_id":110577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:33:32] 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-06-23 04:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:33: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-06-23 04: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-06-23 04:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:33:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":110577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:33:32] local.INFO: GPS data processed {"connection_id":110577,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:33:32] local.INFO: Acknowledgment sent {"connection_id":110577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:34:03] local.INFO: TCP Data received {"connection_id":110577,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:34:03] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:34:03] local.INFO: Packet analysis {"connection_id":110577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:34:03] local.INFO: Extracted packet for processing {"connection_id":110577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:34:03] 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-06-23 04:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:34: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-06-23 04: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-06-23 04:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:34:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":110577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:34:03] local.INFO: GPS data processed {"connection_id":110577,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:34:03] local.INFO: Acknowledgment sent {"connection_id":110577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:34:25] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:34:25] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:34:25] local.INFO: IMEI packet received {"connection_id":110398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":110398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:34:30] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:34:30] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:34:30] local.INFO: IMEI packet received {"connection_id":110398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":110398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:34:32] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:34:32] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:34:32] local.INFO: Packet analysis {"connection_id":110398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:34:32] local.INFO: Extracted packet for processing {"connection_id":110398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:34:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:34:32] 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-06-23 04:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:34: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-06-23 04: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-06-23 04:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":110398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:34:32] local.INFO: GPS data processed {"connection_id":110398,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:34:32] local.INFO: Acknowledgment sent {"connection_id":110398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:34:44] local.INFO: TCP Data received {"connection_id":110397,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:34:44] local.INFO: Processing buffer {"connection_id":110397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:34:44] local.INFO: IMEI packet received {"connection_id":110397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":110397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:35:03] local.INFO: TCP Data received {"connection_id":110398,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:35:03] local.INFO: Processing buffer {"connection_id":110398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef18f58e0012cc3308007685990005a00ee27..."} 
[2026-06-23 04:35:03] local.INFO: Packet analysis {"connection_id":110398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:35:03] local.INFO: Extracted packet for processing {"connection_id":110398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef18f"} 
[2026-06-23 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169164000,"timestamp_ms":1782169164000,"timestamp_seconds":1782169164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef18f58e0"} 
[2026-06-23 04:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:35:03] 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-06-23 04:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235228928001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:35:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:35:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235228928001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":110398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:35:03] local.INFO: GPS data processed {"connection_id":110398,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:35:03] local.INFO: Acknowledgment sent {"connection_id":110398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:35:08] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:35:08] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:35:08] local.INFO: IMEI packet received {"connection_id":110578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":110578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:35:30] local.INFO: TCP Data received {"connection_id":112135,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:35:30] local.INFO: Processing buffer {"connection_id":112135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:35:30] local.INFO: IMEI packet received {"connection_id":112135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":112135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:35:35] local.INFO: TCP Data received {"connection_id":112135,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:35:35] local.INFO: Processing buffer {"connection_id":112135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:35:35] local.INFO: IMEI packet received {"connection_id":112135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":112135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:35:37] local.INFO: TCP Data received {"connection_id":112135,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:35:37] local.INFO: Processing buffer {"connection_id":112135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:35:37] local.INFO: Packet analysis {"connection_id":112135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:35:37] local.INFO: Extracted packet for processing {"connection_id":112135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 04:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:35:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:35:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":112135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:35:37] local.INFO: GPS data processed {"connection_id":112135,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:35:37] local.INFO: Acknowledgment sent {"connection_id":112135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:36:08] local.INFO: TCP Data received {"connection_id":112135,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:36:08] local.INFO: Processing buffer {"connection_id":112135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:36:08] local.INFO: Packet analysis {"connection_id":112135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:36:08] local.INFO: Extracted packet for processing {"connection_id":112135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 04:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":112135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:36:08] local.INFO: GPS data processed {"connection_id":112135,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:36:08] local.INFO: Acknowledgment sent {"connection_id":112135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:36:25] local.INFO: TCP Data received {"connection_id":110399,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:36:25] local.INFO: Processing buffer {"connection_id":110399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:36:25] local.INFO: IMEI packet received {"connection_id":110399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":110399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:36:30] local.INFO: TCP Data received {"connection_id":110399,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:36:30] local.INFO: Processing buffer {"connection_id":110399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:36:30] local.INFO: IMEI packet received {"connection_id":110399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":110399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:36:32] local.INFO: TCP Data received {"connection_id":110399,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:36:32] local.INFO: Processing buffer {"connection_id":110399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:36:32] local.INFO: Packet analysis {"connection_id":110399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:36:32] local.INFO: Extracted packet for processing {"connection_id":110399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:36:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 04:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:36:32] 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-06-23 04:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:36: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-06-23 04: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-06-23 04:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:36:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:36:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":110399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:36:32] local.INFO: GPS data processed {"connection_id":110399,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:36:32] local.INFO: Acknowledgment sent {"connection_id":110399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:37:03] local.INFO: TCP Data received {"connection_id":110399,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:37:03] local.INFO: Processing buffer {"connection_id":110399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:37:03] local.INFO: Packet analysis {"connection_id":110399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:37:03] local.INFO: Extracted packet for processing {"connection_id":110399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:37:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 04:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:37:03] 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-06-23 04:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:37: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-06-23 04: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-06-23 04:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:37:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":110399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:37:03] local.INFO: GPS data processed {"connection_id":110399,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:37:03] local.INFO: Acknowledgment sent {"connection_id":110399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:37:25] local.INFO: TCP Data received {"connection_id":112136,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:37:25] local.INFO: Processing buffer {"connection_id":112136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:37:25] local.INFO: IMEI packet received {"connection_id":112136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":112136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:37:30] local.INFO: TCP Data received {"connection_id":112136,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:37:30] local.INFO: Processing buffer {"connection_id":112136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:37:30] local.INFO: IMEI packet received {"connection_id":112136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":112136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:37:32] local.INFO: TCP Data received {"connection_id":112136,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:37:32] local.INFO: Processing buffer {"connection_id":112136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:37:32] local.INFO: Packet analysis {"connection_id":112136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:37:32] local.INFO: Extracted packet for processing {"connection_id":112136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:37:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:37:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 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-06-23 04:37:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:37: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-06-23 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-06-23 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-06-23 04:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:37:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:37:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:37:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":112136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:37:32] local.INFO: GPS data processed {"connection_id":112136,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:37:32] local.INFO: Acknowledgment sent {"connection_id":112136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:38:04] local.INFO: TCP Data received {"connection_id":112136,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:38:04] local.INFO: Processing buffer {"connection_id":112136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:38:04] local.INFO: Packet analysis {"connection_id":112136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:38:04] local.INFO: Extracted packet for processing {"connection_id":112136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:38:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 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-06-23 04:38:04] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:38:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:38:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":112136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:38:04] local.INFO: GPS data processed {"connection_id":112136,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:38:04] local.INFO: Acknowledgment sent {"connection_id":112136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:38:25] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:38:25] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:38:25] local.INFO: IMEI packet received {"connection_id":111192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":111192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:38:30] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:38:30] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:38:30] local.INFO: IMEI packet received {"connection_id":111192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":111192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:38:32] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:38:32] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:38:32] local.INFO: Packet analysis {"connection_id":111192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:38:32] local.INFO: Extracted packet for processing {"connection_id":111192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:38:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:38:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 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-06-23 04:38:32] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:38: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-06-23 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-06-23 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-06-23 04:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:38:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:38:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:38:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":111192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:38:32] local.INFO: GPS data processed {"connection_id":111192,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:38:32] local.INFO: Acknowledgment sent {"connection_id":111192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:39:03] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:03] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:03] local.INFO: Packet analysis {"connection_id":111192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:39:03] local.INFO: Extracted packet for processing {"connection_id":111192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 04:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:39:03] 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-06-23 04:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:39:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:39:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":111192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:39:03] local.INFO: GPS data processed {"connection_id":111192,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:39:03] local.INFO: Acknowledgment sent {"connection_id":111192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:39:30] local.INFO: TCP Data received {"connection_id":112138,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:39:30] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:39:30] local.INFO: IMEI packet received {"connection_id":112138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":112138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:39:36] local.INFO: TCP Data received {"connection_id":112138,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:39:36] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:39:36] local.INFO: IMEI packet received {"connection_id":112138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":112138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:39:38] local.INFO: TCP Data received {"connection_id":112138,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:38] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:38] local.INFO: Packet analysis {"connection_id":112138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:39:38] local.INFO: Extracted packet for processing {"connection_id":112138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:39:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 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-06-23 04:39:38] 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-06-23 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:39:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:39:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":112138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:39:38] local.INFO: GPS data processed {"connection_id":112138,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:39:38] local.INFO: Acknowledgment sent {"connection_id":112138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:39:41] local.INFO: TCP Data received {"connection_id":112138,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:41] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef193f0a8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:39:41] local.INFO: Packet analysis {"connection_id":112138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:39:41] local.INFO: Extracted packet for processing {"connection_id":112138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef193"} 
[2026-06-23 04:39:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:39: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-06-23 04:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235305984001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782169465000,"timestamp_ms":1782169465000,"timestamp_seconds":1782169465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef193f0a8"} 
[2026-06-23 04:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:39: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-06-23 04:39: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-06-23 04:39: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-06-23 04:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235305984001,"66":25343,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235305984001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:39:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:39:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235305984001,"power":25343,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":112138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:39:41] local.INFO: GPS data processed {"connection_id":112138,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:39:41] local.INFO: Acknowledgment sent {"connection_id":112138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:40:25] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:40:25] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:40:25] local.INFO: IMEI packet received {"connection_id":111193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":111193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:40:30] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:40:30] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:40:30] local.INFO: IMEI packet received {"connection_id":111193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":111193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:40:32] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:40:32] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:40:32] local.INFO: Packet analysis {"connection_id":111193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:40:32] local.INFO: Extracted packet for processing {"connection_id":111193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:40:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 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-06-23 04:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:40:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:40:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":111193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:40:32] local.INFO: GPS data processed {"connection_id":111193,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:40:32] local.INFO: Acknowledgment sent {"connection_id":111193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:40:48] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:40:48] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:40:48] local.INFO: IMEI packet received {"connection_id":110582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":110582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:41:03] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:41:03] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:41:03] local.INFO: Packet analysis {"connection_id":111193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:41:03] local.INFO: Extracted packet for processing {"connection_id":111193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:41:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:41:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":111193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:41:03] local.INFO: GPS data processed {"connection_id":111193,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:41:03] local.INFO: Acknowledgment sent {"connection_id":111193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:41:08] local.INFO: TCP Data received {"connection_id":111194,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:41:08] local.INFO: Processing buffer {"connection_id":111194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:41:08] local.INFO: IMEI packet received {"connection_id":111194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":111194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:41:25] local.INFO: TCP Data received {"connection_id":111195,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:41:25] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:41:25] local.INFO: IMEI packet received {"connection_id":111195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":111195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:41:30] local.INFO: TCP Data received {"connection_id":111195,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:41:30] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:41:30] local.INFO: IMEI packet received {"connection_id":111195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":111195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:41:32] local.INFO: TCP Data received {"connection_id":111195,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:41:32] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:41:32] local.INFO: Packet analysis {"connection_id":111195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:41:32] local.INFO: Extracted packet for processing {"connection_id":111195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:41:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:41:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":111195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:41:32] local.INFO: GPS data processed {"connection_id":111195,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:41:32] local.INFO: Acknowledgment sent {"connection_id":111195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:42:04] local.INFO: TCP Data received {"connection_id":111195,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:04] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:04] local.INFO: Packet analysis {"connection_id":111195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:42:04] local.INFO: Extracted packet for processing {"connection_id":111195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 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-06-23 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:42:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:42:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":111195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:42:04] local.INFO: GPS data processed {"connection_id":111195,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:42:04] local.INFO: Acknowledgment sent {"connection_id":111195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:42:30] local.INFO: TCP Data received {"connection_id":110583,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:42:30] local.INFO: Processing buffer {"connection_id":110583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:42:30] local.INFO: IMEI packet received {"connection_id":110583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":110583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:42:35] local.INFO: TCP Data received {"connection_id":110583,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:42:35] local.INFO: Processing buffer {"connection_id":110583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:42:35] local.INFO: IMEI packet received {"connection_id":110583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":110583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:42:37] local.INFO: TCP Data received {"connection_id":110583,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:37] local.INFO: Processing buffer {"connection_id":110583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:37] local.INFO: Packet analysis {"connection_id":110583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:42:37] local.INFO: Extracted packet for processing {"connection_id":110583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:42:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:42:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":110583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:42:37] local.INFO: GPS data processed {"connection_id":110583,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:42:37] local.INFO: Acknowledgment sent {"connection_id":110583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:42:41] local.INFO: TCP Data received {"connection_id":110583,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:41] local.INFO: Processing buffer {"connection_id":110583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:42:41] local.INFO: Packet analysis {"connection_id":110583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:42:41] local.INFO: Extracted packet for processing {"connection_id":110583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:42: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-06-23 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:42:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:42:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":110583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:42:41] local.INFO: GPS data processed {"connection_id":110583,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:42:41] local.INFO: Acknowledgment sent {"connection_id":110583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:43:25] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:43:25] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:43:25] local.INFO: IMEI packet received {"connection_id":111196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":111196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:43:31] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:43:31] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:43:31] local.INFO: IMEI packet received {"connection_id":111196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":111196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:43:33] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:43:33] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:43:33] local.INFO: Packet analysis {"connection_id":111196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:43:33] local.INFO: Extracted packet for processing {"connection_id":111196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:43:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:43:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:43:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:43:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":111196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:43:33] local.INFO: GPS data processed {"connection_id":111196,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:43:33] local.INFO: Acknowledgment sent {"connection_id":111196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:43:36] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:43:36] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:43:36] local.INFO: Packet analysis {"connection_id":111196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:43:36] local.INFO: Extracted packet for processing {"connection_id":111196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:43:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:43:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:43:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":111196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:43:36] local.INFO: GPS data processed {"connection_id":111196,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:43:36] local.INFO: Acknowledgment sent {"connection_id":111196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:44:08] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:44:08] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:44:08] local.INFO: Packet analysis {"connection_id":111196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:44:08] local.INFO: Extracted packet for processing {"connection_id":111196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:44:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:44:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":111196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:44:08] local.INFO: GPS data processed {"connection_id":111196,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:44:08] local.INFO: Acknowledgment sent {"connection_id":111196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:44:25] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:44:25] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:44:25] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:44:30] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:44:30] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:44:30] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:44:32] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:44:32] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:44:32] local.INFO: Packet analysis {"connection_id":110584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:44:32] local.INFO: Extracted packet for processing {"connection_id":110584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:44:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:44:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:44:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:44:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:44:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":110584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:44:32] local.INFO: GPS data processed {"connection_id":110584,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:44:32] local.INFO: Acknowledgment sent {"connection_id":110584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:45:06] local.INFO: TCP Data received {"connection_id":110584,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:45:06] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1988870012cc3308007685990005a00ee27..."} 
[2026-06-23 04:45:06] local.INFO: Packet analysis {"connection_id":110584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:45:06] local.INFO: Extracted packet for processing {"connection_id":110584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef198"} 
[2026-06-23 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782169766000,"timestamp_ms":1782169766000,"timestamp_seconds":1782169766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1988870"} 
[2026-06-23 04:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 04:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235383040001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:45:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:45:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235383040001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":110584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:45:06] local.INFO: GPS data processed {"connection_id":110584,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:45:06] local.INFO: Acknowledgment sent {"connection_id":110584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:45:25] local.INFO: TCP Data received {"connection_id":110401,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:45:25] local.INFO: Processing buffer {"connection_id":110401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:45:25] local.INFO: IMEI packet received {"connection_id":110401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":110401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:45:30] local.INFO: TCP Data received {"connection_id":110401,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:45:30] local.INFO: Processing buffer {"connection_id":110401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:45:30] local.INFO: IMEI packet received {"connection_id":110401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":110401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:45:32] local.INFO: TCP Data received {"connection_id":110401,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:45:32] local.INFO: Processing buffer {"connection_id":110401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:45:32] local.INFO: Packet analysis {"connection_id":110401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:45:32] local.INFO: Extracted packet for processing {"connection_id":110401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:45:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:45:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:45: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-06-23 04: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-06-23 04:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:45:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:45:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:45:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":110401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:45:32] local.INFO: GPS data processed {"connection_id":110401,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:45:32] local.INFO: Acknowledgment sent {"connection_id":110401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:46:09] local.INFO: TCP Data received {"connection_id":110401,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:46:09] local.INFO: Processing buffer {"connection_id":110401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:46:09] local.INFO: Packet analysis {"connection_id":110401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:46:09] local.INFO: Extracted packet for processing {"connection_id":110401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:46:09] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:46:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:46:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":110401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:46:09] local.INFO: GPS data processed {"connection_id":110401,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:46:09] local.INFO: Acknowledgment sent {"connection_id":110401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:46:25] local.INFO: TCP Data received {"connection_id":110586,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:46:25] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:46:25] local.INFO: IMEI packet received {"connection_id":110586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":110586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:46:30] local.INFO: TCP Data received {"connection_id":110586,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:46:30] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:46:30] local.INFO: IMEI packet received {"connection_id":110586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":110586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:46:33] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:46:33] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:46:33] local.INFO: IMEI packet received {"connection_id":110585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":110585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:46:33] local.INFO: TCP Data received {"connection_id":110586,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:46:33] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:46:33] local.INFO: Packet analysis {"connection_id":110586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:46:33] local.INFO: Extracted packet for processing {"connection_id":110586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:46:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:46:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:46:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:46:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":110586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:46:33] local.INFO: GPS data processed {"connection_id":110586,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:46:33] local.INFO: Acknowledgment sent {"connection_id":110586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:47:05] local.INFO: TCP Data received {"connection_id":110586,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:05] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:05] local.INFO: Packet analysis {"connection_id":110586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:47:05] local.INFO: Extracted packet for processing {"connection_id":110586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:47:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04: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-06-23 04:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:47:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:47:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:47:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":110586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:47:05] local.INFO: GPS data processed {"connection_id":110586,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:47:05] local.INFO: Acknowledgment sent {"connection_id":110586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:47:07] local.INFO: TCP Data received {"connection_id":112142,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:47:07] local.INFO: Processing buffer {"connection_id":112142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:47:07] local.INFO: IMEI packet received {"connection_id":112142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":112142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:47:30] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:47:30] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:47:30] local.INFO: IMEI packet received {"connection_id":111197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":111197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:47:35] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:47:35] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:47:35] local.INFO: IMEI packet received {"connection_id":111197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":111197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:47:38] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:38] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:38] local.INFO: Packet analysis {"connection_id":111197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:47:38] local.INFO: Extracted packet for processing {"connection_id":111197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:47:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:47:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":111197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:47:38] local.INFO: GPS data processed {"connection_id":111197,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:47:38] local.INFO: Acknowledgment sent {"connection_id":111197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:47:42] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:42] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:47:42] local.INFO: Packet analysis {"connection_id":111197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:47:42] local.INFO: Extracted packet for processing {"connection_id":111197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":111197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:47:42] local.INFO: GPS data processed {"connection_id":111197,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:47:42] local.INFO: Acknowledgment sent {"connection_id":111197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:48:25] local.INFO: TCP Data received {"connection_id":110587,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:48:25] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:48:25] local.INFO: IMEI packet received {"connection_id":110587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":110587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:48:30] local.INFO: TCP Data received {"connection_id":110587,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:48:30] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:48:30] local.INFO: IMEI packet received {"connection_id":110587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":110587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:48:32] local.INFO: TCP Data received {"connection_id":110587,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:48:32] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:48:32] local.INFO: Packet analysis {"connection_id":110587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:48:32] local.INFO: Extracted packet for processing {"connection_id":110587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:48:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:48:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:48: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-06-23 04: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-06-23 04:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:48:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:48:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:48:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":110587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:48:32] local.INFO: GPS data processed {"connection_id":110587,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:48:32] local.INFO: Acknowledgment sent {"connection_id":110587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:49:03] local.INFO: TCP Data received {"connection_id":110587,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:49:03] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:49:03] local.INFO: Packet analysis {"connection_id":110587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:49:03] local.INFO: Extracted packet for processing {"connection_id":110587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 04:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:49: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-06-23 04: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-06-23 04:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:49:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:49:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":110587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:49:03] local.INFO: GPS data processed {"connection_id":110587,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:49:03] local.INFO: Acknowledgment sent {"connection_id":110587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:49:25] local.INFO: TCP Data received {"connection_id":112144,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:49:25] local.INFO: Processing buffer {"connection_id":112144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:49:25] local.INFO: IMEI packet received {"connection_id":112144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":112144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:49:30] local.INFO: TCP Data received {"connection_id":112144,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:49:30] local.INFO: Processing buffer {"connection_id":112144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:49:30] local.INFO: IMEI packet received {"connection_id":112144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":112144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:49:31] local.INFO: TCP Data received {"connection_id":112144,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:49:31] local.INFO: Processing buffer {"connection_id":112144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:49:31] local.INFO: Packet analysis {"connection_id":112144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:49:31] local.INFO: Extracted packet for processing {"connection_id":112144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:49:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 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-06-23 04:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:49:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:49:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":112144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:49:32] local.INFO: GPS data processed {"connection_id":112144,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:49:32] local.INFO: Acknowledgment sent {"connection_id":112144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:50:03] local.INFO: TCP Data received {"connection_id":112144,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:50:03] local.INFO: Processing buffer {"connection_id":112144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef19d2038012cc3308007685990005a00ee28..."} 
[2026-06-23 04:50:03] local.INFO: Packet analysis {"connection_id":112144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:50:03] local.INFO: Extracted packet for processing {"connection_id":112144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef19d"} 
[2026-06-23 04:50:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235460096001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170067000,"timestamp_ms":1782170067000,"timestamp_seconds":1782170067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef19d2038"} 
[2026-06-23 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-06-23 04:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235460096001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235460096001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:50:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:50:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235460096001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":112144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:50:03] local.INFO: GPS data processed {"connection_id":112144,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:50:03] local.INFO: Acknowledgment sent {"connection_id":112144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:50:30] local.INFO: TCP Data received {"connection_id":112145,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:50:30] local.INFO: Processing buffer {"connection_id":112145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:50:30] local.INFO: IMEI packet received {"connection_id":112145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":112145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:50:35] local.INFO: TCP Data received {"connection_id":112145,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:50:35] local.INFO: Processing buffer {"connection_id":112145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:50:35] local.INFO: IMEI packet received {"connection_id":112145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":112145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:50:36] local.INFO: TCP Data received {"connection_id":112145,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:50:36] local.INFO: Processing buffer {"connection_id":112145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:50:36] local.INFO: Packet analysis {"connection_id":112145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:50:36] local.INFO: Extracted packet for processing {"connection_id":112145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:50:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:50:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:50:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":112145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:50:37] local.INFO: GPS data processed {"connection_id":112145,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:50:37] local.INFO: Acknowledgment sent {"connection_id":112145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:50:41] local.INFO: TCP Data received {"connection_id":112145,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:50:41] local.INFO: Processing buffer {"connection_id":112145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:50:41] local.INFO: Packet analysis {"connection_id":112145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:50:41] local.INFO: Extracted packet for processing {"connection_id":112145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:50: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-06-23 04: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-06-23 04:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:50:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:50:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":112145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:50:41] local.INFO: GPS data processed {"connection_id":112145,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:50:41] local.INFO: Acknowledgment sent {"connection_id":112145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:51:25] local.INFO: TCP Data received {"connection_id":112146,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:51:25] local.INFO: Processing buffer {"connection_id":112146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:51:25] local.INFO: IMEI packet received {"connection_id":112146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":112146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:51:30] local.INFO: TCP Data received {"connection_id":112146,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:51:30] local.INFO: Processing buffer {"connection_id":112146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:51:30] local.INFO: IMEI packet received {"connection_id":112146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":112146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:51:32] local.INFO: TCP Data received {"connection_id":112146,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:51:32] local.INFO: Processing buffer {"connection_id":112146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:51:32] local.INFO: Packet analysis {"connection_id":112146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:51:32] local.INFO: Extracted packet for processing {"connection_id":112146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:51:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:51:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 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-06-23 04:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:51: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-06-23 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-06-23 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-06-23 04:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:51:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:51:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:51:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":112146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:51:32] local.INFO: GPS data processed {"connection_id":112146,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:51:32] local.INFO: Acknowledgment sent {"connection_id":112146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:52:03] local.INFO: TCP Data received {"connection_id":112146,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:52:03] local.INFO: Processing buffer {"connection_id":112146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:52:03] local.INFO: Packet analysis {"connection_id":112146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:52:03] local.INFO: Extracted packet for processing {"connection_id":112146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:52:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:52:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:52:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":112146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:52:03] local.INFO: GPS data processed {"connection_id":112146,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:52:03] local.INFO: Acknowledgment sent {"connection_id":112146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:52:28] local.INFO: TCP Data received {"connection_id":112147,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:52:28] local.INFO: Processing buffer {"connection_id":112147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:52:28] local.INFO: IMEI packet received {"connection_id":112147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":112147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:52:30] local.INFO: TCP Data received {"connection_id":110405,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:52:30] local.INFO: Processing buffer {"connection_id":110405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:52:30] local.INFO: IMEI packet received {"connection_id":110405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":110405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:52:35] local.INFO: TCP Data received {"connection_id":110405,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:52:35] local.INFO: Processing buffer {"connection_id":110405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:52:35] local.INFO: IMEI packet received {"connection_id":110405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":110405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:52:37] local.INFO: TCP Data received {"connection_id":110405,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:52:37] local.INFO: Processing buffer {"connection_id":110405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:52:37] local.INFO: Packet analysis {"connection_id":110405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:52:37] local.INFO: Extracted packet for processing {"connection_id":110405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:52:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:52: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-06-23 04:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:52:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:52:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":110405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:52:37] local.INFO: GPS data processed {"connection_id":110405,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:52:37] local.INFO: Acknowledgment sent {"connection_id":110405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:53:08] local.INFO: TCP Data received {"connection_id":110405,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:53:08] local.INFO: Processing buffer {"connection_id":110405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:53:08] local.INFO: Packet analysis {"connection_id":110405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:53:08] local.INFO: Extracted packet for processing {"connection_id":110405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:53:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:53:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:53:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:53:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:53:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":110405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:53:08] local.INFO: GPS data processed {"connection_id":110405,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:53:08] local.INFO: Acknowledgment sent {"connection_id":110405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:53:12] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:53:12] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:53:12] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:53:25] local.INFO: TCP Data received {"connection_id":110589,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:53:25] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:53:25] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:53:30] local.INFO: TCP Data received {"connection_id":110589,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:53:30] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:53:30] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:53:31] local.INFO: TCP Data received {"connection_id":110589,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:53:31] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:53:31] local.INFO: Packet analysis {"connection_id":110589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:53:31] local.INFO: Extracted packet for processing {"connection_id":110589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:53:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:53:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":110589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:53:32] local.INFO: GPS data processed {"connection_id":110589,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:53:32] local.INFO: Acknowledgment sent {"connection_id":110589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:54:03] local.INFO: TCP Data received {"connection_id":110589,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:03] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:03] local.INFO: Packet analysis {"connection_id":110589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:54:03] local.INFO: Extracted packet for processing {"connection_id":110589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:54:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:54:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":110589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:54:03] local.INFO: GPS data processed {"connection_id":110589,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:54:03] local.INFO: Acknowledgment sent {"connection_id":110589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:54:30] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:54:30] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:54:30] local.INFO: IMEI packet received {"connection_id":110406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":110406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:54:35] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:54:35] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:54:35] local.INFO: IMEI packet received {"connection_id":110406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":110406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:54:38] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:38] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:38] local.INFO: Packet analysis {"connection_id":110406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:54:38] local.INFO: Extracted packet for processing {"connection_id":110406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:54:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:54:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":110406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:54:38] local.INFO: GPS data processed {"connection_id":110406,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:54:38] local.INFO: Acknowledgment sent {"connection_id":110406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:54:41] local.INFO: TCP Data received {"connection_id":110406,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:41] local.INFO: Processing buffer {"connection_id":110406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a1b800012cc3308007685990005a00ee29..."} 
[2026-06-23 04:54:41] local.INFO: Packet analysis {"connection_id":110406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:54:41] local.INFO: Extracted packet for processing {"connection_id":110406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a1"} 
[2026-06-23 04:54:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235537152001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782170368000,"timestamp_ms":1782170368000,"timestamp_seconds":1782170368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a1b800"} 
[2026-06-23 04:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:54: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-06-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 04:54: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-06-23 04: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-06-23 04:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235537152001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235537152001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:54:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:54:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235537152001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":110406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:54:41] local.INFO: GPS data processed {"connection_id":110406,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:54:41] local.INFO: Acknowledgment sent {"connection_id":110406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:55:26] local.INFO: TCP Data received {"connection_id":111199,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:55:26] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:55:26] local.INFO: IMEI packet received {"connection_id":111199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":111199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:55:30] local.INFO: TCP Data received {"connection_id":111199,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:55:30] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:55:30] local.INFO: IMEI packet received {"connection_id":111199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":111199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:55:32] local.INFO: TCP Data received {"connection_id":111199,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:55:32] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:55:32] local.INFO: Packet analysis {"connection_id":111199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:55:32] local.INFO: Extracted packet for processing {"connection_id":111199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:55:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 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-06-23 04:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:55:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:55:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":111199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:55:32] local.INFO: GPS data processed {"connection_id":111199,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:55:32] local.INFO: Acknowledgment sent {"connection_id":111199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:56:04] local.INFO: TCP Data received {"connection_id":111199,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:56:04] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:56:04] local.INFO: Packet analysis {"connection_id":111199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:56:04] local.INFO: Extracted packet for processing {"connection_id":111199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:56:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 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-06-23 04:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:56:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:56:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":111199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:56:04] local.INFO: GPS data processed {"connection_id":111199,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:56:04] local.INFO: Acknowledgment sent {"connection_id":111199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:56:25] local.INFO: TCP Data received {"connection_id":112151,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:56:25] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:56:25] local.INFO: IMEI packet received {"connection_id":112151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":112151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:56:30] local.INFO: TCP Data received {"connection_id":112151,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:56:30] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:56:30] local.INFO: IMEI packet received {"connection_id":112151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":112151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:56:32] local.INFO: TCP Data received {"connection_id":112151,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:56:32] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:56:32] local.INFO: Packet analysis {"connection_id":112151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:56:32] local.INFO: Extracted packet for processing {"connection_id":112151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:56:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:56:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 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-06-23 04:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:56:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:56:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:56:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":112151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:56:32] local.INFO: GPS data processed {"connection_id":112151,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:56:32] local.INFO: Acknowledgment sent {"connection_id":112151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:57:03] local.INFO: TCP Data received {"connection_id":112151,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:57:03] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:57:03] local.INFO: Packet analysis {"connection_id":112151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:57:03] local.INFO: Extracted packet for processing {"connection_id":112151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:57:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 04:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:57:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:57:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":112151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:57:03] local.INFO: GPS data processed {"connection_id":112151,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:57:03] local.INFO: Acknowledgment sent {"connection_id":112151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:57:30] local.INFO: TCP Data received {"connection_id":112153,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:57:30] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:57:30] local.INFO: IMEI packet received {"connection_id":112153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":112153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:57:35] local.INFO: TCP Data received {"connection_id":112153,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:57:35] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:57:35] local.INFO: IMEI packet received {"connection_id":112153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":112153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:57:36] local.INFO: TCP Data received {"connection_id":112153,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:57:36] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:57:36] local.INFO: Packet analysis {"connection_id":112153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:57:36] local.INFO: Extracted packet for processing {"connection_id":112153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 04:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:57:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:57:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":112153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:57:37] local.INFO: GPS data processed {"connection_id":112153,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:57:37] local.INFO: Acknowledgment sent {"connection_id":112153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:58:08] local.INFO: TCP Data received {"connection_id":112153,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:58:08] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:58:08] local.INFO: Packet analysis {"connection_id":112153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:58:08] local.INFO: Extracted packet for processing {"connection_id":112153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:58:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 04:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:58: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-06-23 04:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":112153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:58:08] local.INFO: GPS data processed {"connection_id":112153,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:58:08] local.INFO: Acknowledgment sent {"connection_id":112153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:58:25] local.INFO: TCP Data received {"connection_id":111200,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:58:25] local.INFO: Processing buffer {"connection_id":111200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:58:25] local.INFO: IMEI packet received {"connection_id":111200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":111200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:58:30] local.INFO: TCP Data received {"connection_id":111200,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:58:30] local.INFO: Processing buffer {"connection_id":111200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:58:30] local.INFO: IMEI packet received {"connection_id":111200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":111200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:58:31] local.INFO: TCP Data received {"connection_id":111200,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:58:31] local.INFO: Processing buffer {"connection_id":111200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:58:31] local.INFO: Packet analysis {"connection_id":111200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:58:31] local.INFO: Extracted packet for processing {"connection_id":111200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 04:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 04:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 04:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:58:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:58:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":111200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:58:31] local.INFO: GPS data processed {"connection_id":111200,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:58:31] local.INFO: Acknowledgment sent {"connection_id":111200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:58:37] local.INFO: TCP Data received {"connection_id":110407,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:58:37] local.INFO: Processing buffer {"connection_id":110407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:58:37] local.INFO: IMEI packet received {"connection_id":110407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":110407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:59:03] local.INFO: TCP Data received {"connection_id":111200,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:59:03] local.INFO: Processing buffer {"connection_id":111200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:59:03] local.INFO: Packet analysis {"connection_id":111200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:59:03] local.INFO: Extracted packet for processing {"connection_id":111200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 04: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-06-23 04:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 04:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 04: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-06-23 04:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 04:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:59:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:59:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":111200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:59:03] local.INFO: GPS data processed {"connection_id":111200,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:59:03] local.INFO: Acknowledgment sent {"connection_id":111200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 04:59:08] local.INFO: TCP Data received {"connection_id":111201,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:59:08] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 04:59:08] local.INFO: IMEI packet received {"connection_id":111201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 04:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":111201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:59:25] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:59:25] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:59:25] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 04:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 04:59:30] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:59:30] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 04:59:30] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 04:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 04:59:32] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:59:32] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 04:59:32] local.INFO: Packet analysis {"connection_id":111202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:59:32] local.INFO: Extracted packet for processing {"connection_id":111202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 04:59:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 04:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 04:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 04:59:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 04:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 04:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 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-06-23 04:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 04:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 04:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 04:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 04:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 04:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 04:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 04:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 04:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 04:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 04:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 04:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 04:59:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 04:59:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 04:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 04:59:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 04:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 04:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":111202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 04:59:32] local.INFO: GPS data processed {"connection_id":111202,"processed":1,"errors":0,"total":1} 
[2026-06-23 04:59:32] local.INFO: Acknowledgment sent {"connection_id":111202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:00:04] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 05:00:04] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1a64fc8012cc3308007685990005a00ee2a..."} 
[2026-06-23 05:00:04] local.INFO: Packet analysis {"connection_id":111202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 05:00:04] local.INFO: Extracted packet for processing {"connection_id":111202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1a6"} 
[2026-06-23 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235614208001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782170669000,"timestamp_ms":1782170669000,"timestamp_seconds":1782170669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1a64fc8"} 
[2026-06-23 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-06-23 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235614208001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235614208001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:00:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:00:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235614208001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":111202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:00:04] local.INFO: GPS data processed {"connection_id":111202,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:00:04] local.INFO: Acknowledgment sent {"connection_id":111202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:00:30] local.INFO: TCP Data received {"connection_id":112154,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:00:30] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:00:30] local.INFO: IMEI packet received {"connection_id":112154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":112154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:00:35] local.INFO: TCP Data received {"connection_id":112154,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:00:35] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:00:35] local.INFO: IMEI packet received {"connection_id":112154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":112154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:00:36] local.INFO: TCP Data received {"connection_id":112154,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:00:36] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:00:36] local.INFO: Packet analysis {"connection_id":112154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:00:36] local.INFO: Extracted packet for processing {"connection_id":112154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:00:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:00:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":112154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:00:36] local.INFO: GPS data processed {"connection_id":112154,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:00:36] local.INFO: Acknowledgment sent {"connection_id":112154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:00:41] local.INFO: TCP Data received {"connection_id":112154,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:00:41] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:00:41] local.INFO: Packet analysis {"connection_id":112154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:00:41] local.INFO: Extracted packet for processing {"connection_id":112154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:00:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:00: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-06-23 05:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:00: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-06-23 05:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:00:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:00:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":112154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:00:41] local.INFO: GPS data processed {"connection_id":112154,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:00:41] local.INFO: Acknowledgment sent {"connection_id":112154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:01:25] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:01:25] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:01:25] local.INFO: IMEI packet received {"connection_id":110410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":110410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:01:30] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:01:30] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:01:30] local.INFO: IMEI packet received {"connection_id":110410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:01:31] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:01:31] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:01:31] local.INFO: Packet analysis {"connection_id":110410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:01:31] local.INFO: Extracted packet for processing {"connection_id":110410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":110410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:01:31] local.INFO: GPS data processed {"connection_id":110410,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:01:31] local.INFO: Acknowledgment sent {"connection_id":110410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:02:03] local.INFO: TCP Data received {"connection_id":110410,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:02:03] local.INFO: Processing buffer {"connection_id":110410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:02:03] local.INFO: Packet analysis {"connection_id":110410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:02:03] local.INFO: Extracted packet for processing {"connection_id":110410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:02:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":110410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:02:03] local.INFO: GPS data processed {"connection_id":110410,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:02:03] local.INFO: Acknowledgment sent {"connection_id":110410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:02:25] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:02:25] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:02:25] local.INFO: IMEI packet received {"connection_id":111204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":111204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:02:30] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:02:30] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:02:30] local.INFO: IMEI packet received {"connection_id":111204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":111204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:02:31] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:02:31] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:02:31] local.INFO: Packet analysis {"connection_id":111204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:02:31] local.INFO: Extracted packet for processing {"connection_id":111204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:02:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:02:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:02:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:02:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":111204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:02:32] local.INFO: GPS data processed {"connection_id":111204,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:02:32] local.INFO: Acknowledgment sent {"connection_id":111204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:03:03] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:03:03] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:03:03] local.INFO: Packet analysis {"connection_id":111204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:03:03] local.INFO: Extracted packet for processing {"connection_id":111204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:03:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:03:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:03:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":111204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:03:03] local.INFO: GPS data processed {"connection_id":111204,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:03:03] local.INFO: Acknowledgment sent {"connection_id":111204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:03:25] local.INFO: TCP Data received {"connection_id":110592,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:03:25] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:03:25] local.INFO: IMEI packet received {"connection_id":110592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":110592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:03:30] local.INFO: TCP Data received {"connection_id":110592,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:03:30] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:03:30] local.INFO: IMEI packet received {"connection_id":110592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":110592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:03:31] local.INFO: TCP Data received {"connection_id":110592,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:03:31] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:03:31] local.INFO: Packet analysis {"connection_id":110592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:03:31] local.INFO: Extracted packet for processing {"connection_id":110592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:03:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:03:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":110592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:03:32] local.INFO: GPS data processed {"connection_id":110592,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:03:32] local.INFO: Acknowledgment sent {"connection_id":110592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:04:03] local.INFO: TCP Data received {"connection_id":110592,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:04:03] local.INFO: Processing buffer {"connection_id":110592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:04:03] local.INFO: Packet analysis {"connection_id":110592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:04:03] local.INFO: Extracted packet for processing {"connection_id":110592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:04:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:04: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-06-23 05: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-06-23 05:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:04:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:04:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":110592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:04:03] local.INFO: GPS data processed {"connection_id":110592,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:04:03] local.INFO: Acknowledgment sent {"connection_id":110592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:04:25] local.INFO: TCP Data received {"connection_id":110593,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:04:25] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:04:25] local.INFO: IMEI packet received {"connection_id":110593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":110593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:04:30] local.INFO: TCP Data received {"connection_id":110593,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:04:30] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:04:30] local.INFO: IMEI packet received {"connection_id":110593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":110593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:04:32] local.INFO: TCP Data received {"connection_id":110593,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:04:32] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:04:32] local.INFO: Packet analysis {"connection_id":110593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:04:32] local.INFO: Extracted packet for processing {"connection_id":110593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:04:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:04:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 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-06-23 05:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:04: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-06-23 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-06-23 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-06-23 05:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:04:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:04:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:04:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":110593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:04:32] local.INFO: GPS data processed {"connection_id":110593,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:04:32] local.INFO: Acknowledgment sent {"connection_id":110593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:05:05] local.INFO: TCP Data received {"connection_id":110593,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:05:05] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1aae790012cc3308007685990005a00ee28..."} 
[2026-06-23 05:05:05] local.INFO: Packet analysis {"connection_id":110593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:05:05] local.INFO: Extracted packet for processing {"connection_id":110593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1aa"} 
[2026-06-23 05:05:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235691264001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782170970000,"timestamp_ms":1782170970000,"timestamp_seconds":1782170970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1aae790"} 
[2026-06-23 05:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:05: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-06-23 05:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235691264001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235691264001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:05:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:05:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235691264001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":110593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:05:05] local.INFO: GPS data processed {"connection_id":110593,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:05:05] local.INFO: Acknowledgment sent {"connection_id":110593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:05:08] local.INFO: TCP Data received {"connection_id":111205,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:05:08] local.INFO: Processing buffer {"connection_id":111205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:05:08] local.INFO: IMEI packet received {"connection_id":111205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":111205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:05:30] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:05:30] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:05:30] local.INFO: IMEI packet received {"connection_id":110412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":110412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:05:35] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:05:35] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:05:35] local.INFO: IMEI packet received {"connection_id":110412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":110412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:05:37] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:05:37] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:05:37] local.INFO: Packet analysis {"connection_id":110412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:05:37] local.INFO: Extracted packet for processing {"connection_id":110412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:05: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-06-23 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:05:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:05:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":110412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:05:37] local.INFO: GPS data processed {"connection_id":110412,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:05:37] local.INFO: Acknowledgment sent {"connection_id":110412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:06:08] local.INFO: TCP Data received {"connection_id":110412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:08] local.INFO: Processing buffer {"connection_id":110412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:08] local.INFO: Packet analysis {"connection_id":110412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:06:08] local.INFO: Extracted packet for processing {"connection_id":110412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:06:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:06: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-06-23 05:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":110412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:06:08] local.INFO: GPS data processed {"connection_id":110412,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:06:08] local.INFO: Acknowledgment sent {"connection_id":110412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:06:25] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:06:25] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:06:25] local.INFO: IMEI packet received {"connection_id":111206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":111206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:06:30] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:06:30] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:06:30] local.INFO: IMEI packet received {"connection_id":111206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":111206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:06:31] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:31] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:31] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:06:31] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:06:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:06:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:06:31] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:06:31] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:06:36] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:36] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:06:36] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:06:36] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:06:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:06:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:06:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:06:36] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:06:36] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:07:08] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:08] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:08] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:07:08] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:07:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:07: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-06-23 05:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:07:08] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:07:08] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:07:30] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:07:30] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:07:30] local.INFO: IMEI packet received {"connection_id":110595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":110595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:07:35] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:07:35] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:07:35] local.INFO: IMEI packet received {"connection_id":110595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":110595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:07:37] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:37] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:37] local.INFO: Packet analysis {"connection_id":110595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:07:37] local.INFO: Extracted packet for processing {"connection_id":110595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:07:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:07: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-06-23 05: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-06-23 05: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-06-23 05: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-06-23 05:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:07:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:07:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":110595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:07:37] local.INFO: GPS data processed {"connection_id":110595,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:07:37] local.INFO: Acknowledgment sent {"connection_id":110595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:07:41] local.INFO: TCP Data received {"connection_id":110595,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:41] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:07:41] local.INFO: Packet analysis {"connection_id":110595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:07:41] local.INFO: Extracted packet for processing {"connection_id":110595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:07: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-06-23 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":110595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:07:41] local.INFO: GPS data processed {"connection_id":110595,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:07:41] local.INFO: Acknowledgment sent {"connection_id":110595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:08:25] local.INFO: TCP Data received {"connection_id":112155,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:08:25] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:08:25] local.INFO: IMEI packet received {"connection_id":112155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":112155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:08:30] local.INFO: TCP Data received {"connection_id":112155,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:08:30] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:08:30] local.INFO: IMEI packet received {"connection_id":112155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":112155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:08:32] local.INFO: TCP Data received {"connection_id":112155,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:08:32] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:08:32] local.INFO: Packet analysis {"connection_id":112155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:08:32] local.INFO: Extracted packet for processing {"connection_id":112155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:08:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 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-06-23 05:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05: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-06-23 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-06-23 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-06-23 05:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:08:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:08:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":112155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:08:32] local.INFO: GPS data processed {"connection_id":112155,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:08:32] local.INFO: Acknowledgment sent {"connection_id":112155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:08:36] local.INFO: TCP Data received {"connection_id":112155,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:08:36] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:08:36] local.INFO: Packet analysis {"connection_id":112155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:08:36] local.INFO: Extracted packet for processing {"connection_id":112155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:08:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:08:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:08:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":112155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:08:36] local.INFO: GPS data processed {"connection_id":112155,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:08:36] local.INFO: Acknowledgment sent {"connection_id":112155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:09:08] local.INFO: TCP Data received {"connection_id":112155,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:09:08] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:09:08] local.INFO: Packet analysis {"connection_id":112155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:09:08] local.INFO: Extracted packet for processing {"connection_id":112155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:09:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:09:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:09: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-06-23 05:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:09:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:09:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:09:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":112155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:09:08] local.INFO: GPS data processed {"connection_id":112155,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:09:08] local.INFO: Acknowledgment sent {"connection_id":112155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:09:26] local.INFO: TCP Data received {"connection_id":110596,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:09:26] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:09:26] local.INFO: IMEI packet received {"connection_id":110596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":110596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:09:32] local.INFO: TCP Data received {"connection_id":110596,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:09:32] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:09:32] local.INFO: IMEI packet received {"connection_id":110596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":110596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:09:34] local.INFO: TCP Data received {"connection_id":110596,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:09:34] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:09:34] local.INFO: Packet analysis {"connection_id":110596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:09:34] local.INFO: Extracted packet for processing {"connection_id":110596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:09:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:09:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:09:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":110596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:09:34] local.INFO: GPS data processed {"connection_id":110596,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:09:34] local.INFO: Acknowledgment sent {"connection_id":110596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:10:05] local.INFO: TCP Data received {"connection_id":110596,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:10:05] local.INFO: Processing buffer {"connection_id":110596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1af7f58012cc3308007685990005a00ee23..."} 
[2026-06-23 05:10:05] local.INFO: Packet analysis {"connection_id":110596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:10:05] local.INFO: Extracted packet for processing {"connection_id":110596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1af"} 
[2026-06-23 05:10:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235768320001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782171271000,"timestamp_ms":1782171271000,"timestamp_seconds":1782171271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1af7f58"} 
[2026-06-23 05:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235768320001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235768320001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:10:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:10:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235768320001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":110596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:10:05] local.INFO: GPS data processed {"connection_id":110596,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:10:05] local.INFO: Acknowledgment sent {"connection_id":110596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:10:25] local.INFO: TCP Data received {"connection_id":110597,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:10:25] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:10:25] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:10:30] local.INFO: TCP Data received {"connection_id":110597,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:10:30] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:10:30] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:10:31] local.INFO: TCP Data received {"connection_id":110597,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:10:31] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:10:31] local.INFO: Packet analysis {"connection_id":110597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:10:31] local.INFO: Extracted packet for processing {"connection_id":110597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:10:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:10:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:10:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":110597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:10:31] local.INFO: GPS data processed {"connection_id":110597,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:10:31] local.INFO: Acknowledgment sent {"connection_id":110597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:10:38] local.INFO: TCP Data received {"connection_id":112156,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:10:38] local.INFO: Processing buffer {"connection_id":112156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:10:38] local.INFO: IMEI packet received {"connection_id":112156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":112156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:11:03] local.INFO: TCP Data received {"connection_id":110597,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:11:03] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:11:03] local.INFO: Packet analysis {"connection_id":110597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:11:03] local.INFO: Extracted packet for processing {"connection_id":110597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:11:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:11:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:11:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":110597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:11:03] local.INFO: GPS data processed {"connection_id":110597,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:11:03] local.INFO: Acknowledgment sent {"connection_id":110597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:11:22] local.INFO: TCP Data received {"connection_id":111208,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:11:22] local.INFO: Processing buffer {"connection_id":111208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:11:22] local.INFO: IMEI packet received {"connection_id":111208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":111208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:11:30] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:11:30] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:11:30] local.INFO: IMEI packet received {"connection_id":110415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":110415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:11:35] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:11:35] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:11:35] local.INFO: IMEI packet received {"connection_id":110415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":110415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:11:37] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:11:37] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:11:37] local.INFO: Packet analysis {"connection_id":110415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:11:37] local.INFO: Extracted packet for processing {"connection_id":110415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:11:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:11: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-06-23 05:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:11:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:11:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":110415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:11:37] local.INFO: GPS data processed {"connection_id":110415,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:11:37] local.INFO: Acknowledgment sent {"connection_id":110415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:12:10] local.INFO: TCP Data received {"connection_id":111209,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:12:10] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:12:10] local.INFO: IMEI packet received {"connection_id":111209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":111209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:12:10] local.INFO: TCP Data received {"connection_id":110415,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:12:10] local.INFO: Processing buffer {"connection_id":110415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:12:10] local.INFO: Packet analysis {"connection_id":110415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:12:10] local.INFO: Extracted packet for processing {"connection_id":110415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":110415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:12:10] local.INFO: GPS data processed {"connection_id":110415,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:12:10] local.INFO: Acknowledgment sent {"connection_id":110415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:12:25] local.INFO: TCP Data received {"connection_id":111210,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:12:25] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:12:25] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:12:30] local.INFO: TCP Data received {"connection_id":111210,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:12:30] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:12:30] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:12:31] local.INFO: TCP Data received {"connection_id":111210,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:12:31] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:12:31] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:12:31] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:12:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:12:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:12:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:12:31] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:12:31] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:13:04] local.INFO: TCP Data received {"connection_id":111210,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:13:04] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:13:04] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:13:04] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:13:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 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-06-23 05:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:13:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:13:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:13:04] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:13:04] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:13:25] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:13:25] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:13:25] local.INFO: IMEI packet received {"connection_id":110416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:13:30] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:13:30] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:13:30] local.INFO: IMEI packet received {"connection_id":110416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":110416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:13:32] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:13:32] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:13:32] local.INFO: Packet analysis {"connection_id":110416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:13:32] local.INFO: Extracted packet for processing {"connection_id":110416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:13:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:13:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:13:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":110416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:13:32] local.INFO: GPS data processed {"connection_id":110416,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:13:32] local.INFO: Acknowledgment sent {"connection_id":110416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:14:04] local.INFO: TCP Data received {"connection_id":110416,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:14:04] local.INFO: Processing buffer {"connection_id":110416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:14:04] local.INFO: Packet analysis {"connection_id":110416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:14:04] local.INFO: Extracted packet for processing {"connection_id":110416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:14:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:14:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:14:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":110416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:14:04] local.INFO: GPS data processed {"connection_id":110416,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:14:04] local.INFO: Acknowledgment sent {"connection_id":110416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:14:25] local.INFO: TCP Data received {"connection_id":112157,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:14:25] local.INFO: Processing buffer {"connection_id":112157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:14:25] local.INFO: IMEI packet received {"connection_id":112157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":112157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:14:30] local.INFO: TCP Data received {"connection_id":112157,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:14:30] local.INFO: Processing buffer {"connection_id":112157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:14:30] local.INFO: IMEI packet received {"connection_id":112157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":112157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:14:31] local.INFO: TCP Data received {"connection_id":112157,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:14:31] local.INFO: Processing buffer {"connection_id":112157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:14:31] local.INFO: Packet analysis {"connection_id":112157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:14:31] local.INFO: Extracted packet for processing {"connection_id":112157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:14:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 05:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:14:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:14:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":112157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:14:31] local.INFO: GPS data processed {"connection_id":112157,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:14:31] local.INFO: Acknowledgment sent {"connection_id":112157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:15:04] local.INFO: TCP Data received {"connection_id":112157,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:15:04] local.INFO: Processing buffer {"connection_id":112157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b41720012cc3308007685990005a00ee28..."} 
[2026-06-23 05:15:04] local.INFO: Packet analysis {"connection_id":112157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:15:04] local.INFO: Extracted packet for processing {"connection_id":112157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b4"} 
[2026-06-23 05:15:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235845376001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782171572000,"timestamp_ms":1782171572000,"timestamp_seconds":1782171572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b41720"} 
[2026-06-23 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-06-23 05:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 05:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235845376001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235845376001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:15:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:15:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235845376001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":112157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:15:04] local.INFO: GPS data processed {"connection_id":112157,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:15:04] local.INFO: Acknowledgment sent {"connection_id":112157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:15:25] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:15:25] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:15:25] local.INFO: IMEI packet received {"connection_id":112158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":112158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:15:30] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:15:30] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:15:30] local.INFO: IMEI packet received {"connection_id":112158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":112158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:15:31] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:15:31] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:15:31] local.INFO: Packet analysis {"connection_id":112158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:15:31] local.INFO: Extracted packet for processing {"connection_id":112158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:15:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:15:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:15:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":112158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:15:31] local.INFO: GPS data processed {"connection_id":112158,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:15:31] local.INFO: Acknowledgment sent {"connection_id":112158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:16:02] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:16:02] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:16:02] local.INFO: Packet analysis {"connection_id":112158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:16:02] local.INFO: Extracted packet for processing {"connection_id":112158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:16: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-06-23 05: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-06-23 05:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:16:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":112158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:16:02] local.INFO: GPS data processed {"connection_id":112158,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:16:02] local.INFO: Acknowledgment sent {"connection_id":112158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:16:25] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:16:25] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:16:25] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:16:30] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:16:30] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:16:30] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:16:31] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:16:31] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:16:31] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:16:31] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:16:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:16:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:16:31] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:16:31] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:17:03] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:17:03] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:17:03] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:17:03] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:17:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:17: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-06-23 05: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-06-23 05:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:17:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:17:03] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:17:03] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:17:15] local.INFO: TCP Data received {"connection_id":110601,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:17:15] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:17:15] local.INFO: IMEI packet received {"connection_id":110601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":110601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:17:25] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:17:25] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:17:25] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:17:30] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:17:30] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:17:30] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:17:32] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:17:32] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:17:32] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:17:32] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:17:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:17:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 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-06-23 05:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:17: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-06-23 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-06-23 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-06-23 05:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:17:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:17:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:17:32] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:17:32] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:18:04] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:18:04] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:18:04] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:18:04] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 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-06-23 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:18: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-06-23 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-06-23 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-06-23 05:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:18:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:18:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:18:04] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:18:04] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:18:25] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:18:25] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:18:25] local.INFO: IMEI packet received {"connection_id":110603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":110603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:18:30] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:18:30] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:18:30] local.INFO: IMEI packet received {"connection_id":110603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":110603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:18:32] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:18:32] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:18:32] local.INFO: Packet analysis {"connection_id":110603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:18:32] local.INFO: Extracted packet for processing {"connection_id":110603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:18:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:18: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-06-23 05: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-06-23 05:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:18:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":110603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:18:32] local.INFO: GPS data processed {"connection_id":110603,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:18:32] local.INFO: Acknowledgment sent {"connection_id":110603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:19:04] local.INFO: TCP Data received {"connection_id":110603,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:04] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:04] local.INFO: Packet analysis {"connection_id":110603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:19:04] local.INFO: Extracted packet for processing {"connection_id":110603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:19:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:19: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-06-23 05: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-06-23 05:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:19:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:19:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":110603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:19:04] local.INFO: GPS data processed {"connection_id":110603,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:19:04] local.INFO: Acknowledgment sent {"connection_id":110603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:19:30] local.INFO: TCP Data received {"connection_id":112160,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:19:30] local.INFO: Processing buffer {"connection_id":112160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:19:30] local.INFO: IMEI packet received {"connection_id":112160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":112160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:19:35] local.INFO: TCP Data received {"connection_id":112160,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:19:35] local.INFO: Processing buffer {"connection_id":112160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:19:35] local.INFO: IMEI packet received {"connection_id":112160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":112160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:19:36] local.INFO: TCP Data received {"connection_id":112160,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:36] local.INFO: Processing buffer {"connection_id":112160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:36] local.INFO: Packet analysis {"connection_id":112160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:19:36] local.INFO: Extracted packet for processing {"connection_id":112160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:19:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:19:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:19:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":112160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:19:36] local.INFO: GPS data processed {"connection_id":112160,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:19:36] local.INFO: Acknowledgment sent {"connection_id":112160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:19:41] local.INFO: TCP Data received {"connection_id":112160,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:41] local.INFO: Processing buffer {"connection_id":112160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1b8aee8012cc3308007685990005a00ee26..."} 
[2026-06-23 05:19:41] local.INFO: Packet analysis {"connection_id":112160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:19:41] local.INFO: Extracted packet for processing {"connection_id":112160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1b8"} 
[2026-06-23 05:19:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235922432001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782171873000,"timestamp_ms":1782171873000,"timestamp_seconds":1782171873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1b8aee8"} 
[2026-06-23 05:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:19: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-06-23 05: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-06-23 05:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235922432001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235922432001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:19:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:19:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235922432001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":112160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:19:41] local.INFO: GPS data processed {"connection_id":112160,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:19:41] local.INFO: Acknowledgment sent {"connection_id":112160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:20:25] local.INFO: TCP Data received {"connection_id":111214,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:20:25] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:20:25] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:20:30] local.INFO: TCP Data received {"connection_id":111214,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:20:30] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:20:30] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:20:31] local.INFO: TCP Data received {"connection_id":111214,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:20:31] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:20:31] local.INFO: Packet analysis {"connection_id":111214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:20:31] local.INFO: Extracted packet for processing {"connection_id":111214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:20:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:20:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":111214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:20:31] local.INFO: GPS data processed {"connection_id":111214,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:20:31] local.INFO: Acknowledgment sent {"connection_id":111214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:21:03] local.INFO: TCP Data received {"connection_id":111214,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:21:03] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:21:03] local.INFO: Packet analysis {"connection_id":111214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:21:03] local.INFO: Extracted packet for processing {"connection_id":111214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:21:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:21:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":111214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:21:03] local.INFO: GPS data processed {"connection_id":111214,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:21:03] local.INFO: Acknowledgment sent {"connection_id":111214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:21:25] local.INFO: TCP Data received {"connection_id":111215,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:21:25] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:21:25] local.INFO: IMEI packet received {"connection_id":111215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":111215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:21:30] local.INFO: TCP Data received {"connection_id":111215,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:21:30] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:21:30] local.INFO: IMEI packet received {"connection_id":111215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":111215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:21:31] local.INFO: TCP Data received {"connection_id":111215,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:21:31] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:21:31] local.INFO: Packet analysis {"connection_id":111215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:21:31] local.INFO: Extracted packet for processing {"connection_id":111215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:21:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:21:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:21:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":111215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:21:31] local.INFO: GPS data processed {"connection_id":111215,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:21:31] local.INFO: Acknowledgment sent {"connection_id":111215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:22:03] local.INFO: TCP Data received {"connection_id":111215,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:22:03] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:22:03] local.INFO: Packet analysis {"connection_id":111215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:22:03] local.INFO: Extracted packet for processing {"connection_id":111215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:22:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:22:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:22:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":111215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:22:03] local.INFO: GPS data processed {"connection_id":111215,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:22:03] local.INFO: Acknowledgment sent {"connection_id":111215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:22:25] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:22:25] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:22:25] local.INFO: IMEI packet received {"connection_id":110419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":110419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:22:30] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:22:30] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:22:30] local.INFO: IMEI packet received {"connection_id":110419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":110419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:22:33] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:22:33] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:22:33] local.INFO: Packet analysis {"connection_id":110419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:22:33] local.INFO: Extracted packet for processing {"connection_id":110419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:22:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 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-06-23 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:22:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:22:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:22:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":110419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:22:33] local.INFO: GPS data processed {"connection_id":110419,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:22:33] local.INFO: Acknowledgment sent {"connection_id":110419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:22:43] local.INFO: TCP Data received {"connection_id":111216,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:22:43] local.INFO: Processing buffer {"connection_id":111216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:22:43] local.INFO: IMEI packet received {"connection_id":111216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":111216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:23:04] local.INFO: TCP Data received {"connection_id":110419,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:04] local.INFO: Processing buffer {"connection_id":110419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:04] local.INFO: Packet analysis {"connection_id":110419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:23:04] local.INFO: Extracted packet for processing {"connection_id":110419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:23:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 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-06-23 05:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:23:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:23:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":110419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:23:04] local.INFO: GPS data processed {"connection_id":110419,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:23:04] local.INFO: Acknowledgment sent {"connection_id":110419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:23:08] local.INFO: TCP Data received {"connection_id":110420,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:23:08] local.INFO: Processing buffer {"connection_id":110420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:23:08] local.INFO: IMEI packet received {"connection_id":110420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":110420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:23:30] local.INFO: TCP Data received {"connection_id":112162,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:23:30] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:23:30] local.INFO: IMEI packet received {"connection_id":112162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":112162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:23:35] local.INFO: TCP Data received {"connection_id":112162,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:23:35] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:23:35] local.INFO: IMEI packet received {"connection_id":112162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":112162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:23:36] local.INFO: TCP Data received {"connection_id":112162,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:36] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:36] local.INFO: Packet analysis {"connection_id":112162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:23:36] local.INFO: Extracted packet for processing {"connection_id":112162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:23:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:23:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:23:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":112162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:23:36] local.INFO: GPS data processed {"connection_id":112162,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:23:36] local.INFO: Acknowledgment sent {"connection_id":112162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:23:41] local.INFO: TCP Data received {"connection_id":112162,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:41] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:23:41] local.INFO: Packet analysis {"connection_id":112162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:23:41] local.INFO: Extracted packet for processing {"connection_id":112162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":112162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:23:41] local.INFO: GPS data processed {"connection_id":112162,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:23:41] local.INFO: Acknowledgment sent {"connection_id":112162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:24:25] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:24:25] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:24:25] local.INFO: IMEI packet received {"connection_id":110604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:24:30] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:24:30] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:24:30] local.INFO: IMEI packet received {"connection_id":110604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":110604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:24:31] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:24:31] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:24:31] local.INFO: Packet analysis {"connection_id":110604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:24:31] local.INFO: Extracted packet for processing {"connection_id":110604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:24:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:24:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":110604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:24:31] local.INFO: GPS data processed {"connection_id":110604,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:24:31] local.INFO: Acknowledgment sent {"connection_id":110604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:25:05] local.INFO: TCP Data received {"connection_id":110604,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:25:05] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1bd46b0012cc3308007685990005a00ee27..."} 
[2026-06-23 05:25:05] local.INFO: Packet analysis {"connection_id":110604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:25:05] local.INFO: Extracted packet for processing {"connection_id":110604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1bd"} 
[2026-06-23 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456235999488001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782172174000,"timestamp_ms":1782172174000,"timestamp_seconds":1782172174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1bd46b0"} 
[2026-06-23 05:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 05:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456235999488001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456235999488001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:25:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:25:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456235999488001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":110604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:25:05] local.INFO: GPS data processed {"connection_id":110604,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:25:05] local.INFO: Acknowledgment sent {"connection_id":110604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:25:25] local.INFO: TCP Data received {"connection_id":110422,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:25:25] local.INFO: Processing buffer {"connection_id":110422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:25:25] local.INFO: IMEI packet received {"connection_id":110422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":110422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:25:30] local.INFO: TCP Data received {"connection_id":110422,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:25:30] local.INFO: Processing buffer {"connection_id":110422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:25:30] local.INFO: IMEI packet received {"connection_id":110422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":110422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:25:32] local.INFO: TCP Data received {"connection_id":110422,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:25:32] local.INFO: Processing buffer {"connection_id":110422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:25:32] local.INFO: Packet analysis {"connection_id":110422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:25:32] local.INFO: Extracted packet for processing {"connection_id":110422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:25:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:25:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:25:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":110422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:25:32] local.INFO: GPS data processed {"connection_id":110422,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:25:32] local.INFO: Acknowledgment sent {"connection_id":110422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:26:04] local.INFO: TCP Data received {"connection_id":110422,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:26:04] local.INFO: Processing buffer {"connection_id":110422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:26:04] local.INFO: Packet analysis {"connection_id":110422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:26:04] local.INFO: Extracted packet for processing {"connection_id":110422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:26:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:26:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:26:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":110422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:26:04] local.INFO: GPS data processed {"connection_id":110422,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:26:04] local.INFO: Acknowledgment sent {"connection_id":110422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:26:25] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:26:25] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:26:25] local.INFO: IMEI packet received {"connection_id":110605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":110605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:26:30] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:26:30] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:26:30] local.INFO: IMEI packet received {"connection_id":110605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":110605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:26:31] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:26:31] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:26:31] local.INFO: Packet analysis {"connection_id":110605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:26:31] local.INFO: Extracted packet for processing {"connection_id":110605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:26:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:26:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":110605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:26:31] local.INFO: GPS data processed {"connection_id":110605,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:26:31] local.INFO: Acknowledgment sent {"connection_id":110605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:27:03] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:27:03] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:27:03] local.INFO: Packet analysis {"connection_id":110605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:27:03] local.INFO: Extracted packet for processing {"connection_id":110605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:27:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:27:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":110605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:27:03] local.INFO: GPS data processed {"connection_id":110605,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:27:03] local.INFO: Acknowledgment sent {"connection_id":110605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:27:25] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:27:25] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:27:25] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:27:30] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:27:30] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:27:30] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:27:31] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:27:31] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:27:31] local.INFO: Packet analysis {"connection_id":111219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:27:31] local.INFO: Extracted packet for processing {"connection_id":111219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:27:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:27:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":111219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:27:31] local.INFO: GPS data processed {"connection_id":111219,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:27:31] local.INFO: Acknowledgment sent {"connection_id":111219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:28:03] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:28:03] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:28:03] local.INFO: Packet analysis {"connection_id":111219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:28:03] local.INFO: Extracted packet for processing {"connection_id":111219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:28:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":111219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:28:03] local.INFO: GPS data processed {"connection_id":111219,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:28:03] local.INFO: Acknowledgment sent {"connection_id":111219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:28:25] local.INFO: TCP Data received {"connection_id":110606,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:28:25] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:28:25] local.INFO: IMEI packet received {"connection_id":110606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":110606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:28:30] local.INFO: TCP Data received {"connection_id":110606,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:28:30] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:28:30] local.INFO: IMEI packet received {"connection_id":110606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:28:31] local.INFO: TCP Data received {"connection_id":110606,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:28:31] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:28:31] local.INFO: Packet analysis {"connection_id":110606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:28:31] local.INFO: Extracted packet for processing {"connection_id":110606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:28:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:28:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:28:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":110606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:28:31] local.INFO: GPS data processed {"connection_id":110606,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:28:31] local.INFO: Acknowledgment sent {"connection_id":110606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:28:33] local.INFO: TCP Data received {"connection_id":110424,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:28:33] local.INFO: Processing buffer {"connection_id":110424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:28:33] local.INFO: IMEI packet received {"connection_id":110424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":110424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:29:03] local.INFO: TCP Data received {"connection_id":110606,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:29:03] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:29:03] local.INFO: Packet analysis {"connection_id":110606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:29:03] local.INFO: Extracted packet for processing {"connection_id":110606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:29:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:29:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:29:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":110606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:29:03] local.INFO: GPS data processed {"connection_id":110606,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:29:03] local.INFO: Acknowledgment sent {"connection_id":110606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:29:08] local.INFO: TCP Data received {"connection_id":110607,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:29:08] local.INFO: Processing buffer {"connection_id":110607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:29:08] local.INFO: IMEI packet received {"connection_id":110607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":110607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:29:25] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:29:25] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:29:25] local.INFO: IMEI packet received {"connection_id":111220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":111220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:29:30] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:29:30] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:29:30] local.INFO: IMEI packet received {"connection_id":111220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":111220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:29:32] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:29:32] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:29:32] local.INFO: Packet analysis {"connection_id":111220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:29:32] local.INFO: Extracted packet for processing {"connection_id":111220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 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-06-23 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:29:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":111220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:29:32] local.INFO: GPS data processed {"connection_id":111220,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:29:32] local.INFO: Acknowledgment sent {"connection_id":111220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:30:03] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:03] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c1de78012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:03] local.INFO: Packet analysis {"connection_id":111220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:30:03] local.INFO: Extracted packet for processing {"connection_id":111220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c1"} 
[2026-06-23 05:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782172475000,"timestamp_ms":1782172475000,"timestamp_seconds":1782172475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c1de78"} 
[2026-06-23 05:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 05:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236076544001,"66":24680,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:30:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236076544001,"power":24680,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":111220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:30:03] local.INFO: GPS data processed {"connection_id":111220,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:30:03] local.INFO: Acknowledgment sent {"connection_id":111220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:30:30] local.INFO: TCP Data received {"connection_id":112164,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:30:30] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:30:30] local.INFO: IMEI packet received {"connection_id":112164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":112164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:30:36] local.INFO: TCP Data received {"connection_id":112164,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:30:36] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:30:36] local.INFO: IMEI packet received {"connection_id":112164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":112164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:30:38] local.INFO: TCP Data received {"connection_id":112164,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:38] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:38] local.INFO: Packet analysis {"connection_id":112164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:30:38] local.INFO: Extracted packet for processing {"connection_id":112164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":112164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:30:38] local.INFO: GPS data processed {"connection_id":112164,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:30:38] local.INFO: Acknowledgment sent {"connection_id":112164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:30:41] local.INFO: TCP Data received {"connection_id":112164,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:41] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:30:41] local.INFO: Packet analysis {"connection_id":112164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:30:41] local.INFO: Extracted packet for processing {"connection_id":112164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:30: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-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:30:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":112164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:30:41] local.INFO: GPS data processed {"connection_id":112164,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:30:41] local.INFO: Acknowledgment sent {"connection_id":112164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:31:25] local.INFO: TCP Data received {"connection_id":110608,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:31:25] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:31:25] local.INFO: IMEI packet received {"connection_id":110608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":110608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:31:30] local.INFO: TCP Data received {"connection_id":110608,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:31:30] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:31:30] local.INFO: IMEI packet received {"connection_id":110608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":110608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:31:32] local.INFO: TCP Data received {"connection_id":110608,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:31:32] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:31:32] local.INFO: Packet analysis {"connection_id":110608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:31:32] local.INFO: Extracted packet for processing {"connection_id":110608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:31:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:31:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:31:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":110608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:31:32] local.INFO: GPS data processed {"connection_id":110608,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:31:32] local.INFO: Acknowledgment sent {"connection_id":110608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:32:11] local.INFO: TCP Data received {"connection_id":110608,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:32:11] local.INFO: Processing buffer {"connection_id":110608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:32:11] local.INFO: Packet analysis {"connection_id":110608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:32:11] local.INFO: Extracted packet for processing {"connection_id":110608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:32:11] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:32:11] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:32:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":110608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:32:11] local.INFO: GPS data processed {"connection_id":110608,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:32:11] local.INFO: Acknowledgment sent {"connection_id":110608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:32:25] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:32:25] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:32:25] local.INFO: IMEI packet received {"connection_id":110609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":110609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:32:30] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:32:30] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:32:30] local.INFO: IMEI packet received {"connection_id":110609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":110609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:32:31] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:32:31] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:32:31] local.INFO: Packet analysis {"connection_id":110609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:32:31] local.INFO: Extracted packet for processing {"connection_id":110609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:32:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:32:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:32:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":110609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:32:31] local.INFO: GPS data processed {"connection_id":110609,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:32:31] local.INFO: Acknowledgment sent {"connection_id":110609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:33:04] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:04] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:04] local.INFO: Packet analysis {"connection_id":110609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:33:04] local.INFO: Extracted packet for processing {"connection_id":110609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:33:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:33:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:33:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":110609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:33:04] local.INFO: GPS data processed {"connection_id":110609,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:33:04] local.INFO: Acknowledgment sent {"connection_id":110609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:33:30] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:33:30] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:33:30] local.INFO: IMEI packet received {"connection_id":111223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":111223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:33:35] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:33:35] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:33:35] local.INFO: IMEI packet received {"connection_id":111223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":111223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:33:37] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:37] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:37] local.INFO: Packet analysis {"connection_id":111223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:33:37] local.INFO: Extracted packet for processing {"connection_id":111223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:33: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-06-23 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:33:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:33:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":111223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:33:37] local.INFO: GPS data processed {"connection_id":111223,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:33:37] local.INFO: Acknowledgment sent {"connection_id":111223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:33:41] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:41] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:33:41] local.INFO: Packet analysis {"connection_id":111223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:33:41] local.INFO: Extracted packet for processing {"connection_id":111223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:33:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:33: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-06-23 05:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:33:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:33:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":111223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:33:41] local.INFO: GPS data processed {"connection_id":111223,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:33:41] local.INFO: Acknowledgment sent {"connection_id":111223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:34:26] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:34:26] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:34:26] local.INFO: IMEI packet received {"connection_id":110427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":110427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:34:30] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:34:30] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:34:30] local.INFO: IMEI packet received {"connection_id":110427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":110427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:34:33] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:34:33] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:34:33] local.INFO: Packet analysis {"connection_id":110427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:34:33] local.INFO: Extracted packet for processing {"connection_id":110427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:34:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:34:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:34:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:34:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:34:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":110427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:34:33] local.INFO: GPS data processed {"connection_id":110427,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:34:33] local.INFO: Acknowledgment sent {"connection_id":110427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:35:05] local.INFO: TCP Data received {"connection_id":110427,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:35:05] local.INFO: Processing buffer {"connection_id":110427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1c67640012cc3308007685990005a00ee26..."} 
[2026-06-23 05:35:05] local.INFO: Packet analysis {"connection_id":110427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:35:05] local.INFO: Extracted packet for processing {"connection_id":110427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1c6"} 
[2026-06-23 05:35:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236153600001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782172776000,"timestamp_ms":1782172776000,"timestamp_seconds":1782172776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1c67640"} 
[2026-06-23 05:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:35: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-06-23 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 05:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236153600001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236153600001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:35:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:35:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236153600001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":110427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:35:05] local.INFO: GPS data processed {"connection_id":110427,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:35:05] local.INFO: Acknowledgment sent {"connection_id":110427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:35:14] local.INFO: TCP Data received {"connection_id":110426,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:35:14] local.INFO: Processing buffer {"connection_id":110426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:35:14] local.INFO: IMEI packet received {"connection_id":110426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":110426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:35:25] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:35:25] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:35:25] local.INFO: IMEI packet received {"connection_id":111225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":111225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:35:30] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:35:30] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:35:30] local.INFO: IMEI packet received {"connection_id":111225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":111225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:35:31] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:35:31] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:35:31] local.INFO: Packet analysis {"connection_id":111225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:35:31] local.INFO: Extracted packet for processing {"connection_id":111225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:35:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:35:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":111225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:35:31] local.INFO: GPS data processed {"connection_id":111225,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:35:31] local.INFO: Acknowledgment sent {"connection_id":111225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:36:03] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:36:03] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:36:03] local.INFO: Packet analysis {"connection_id":111225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:36:03] local.INFO: Extracted packet for processing {"connection_id":111225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:36: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-06-23 05: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-06-23 05:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:36:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:36:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":111225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:36:03] local.INFO: GPS data processed {"connection_id":111225,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:36:03] local.INFO: Acknowledgment sent {"connection_id":111225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:36:07] local.INFO: TCP Data received {"connection_id":112166,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:36:07] local.INFO: Processing buffer {"connection_id":112166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:36:07] local.INFO: IMEI packet received {"connection_id":112166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":112166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:36:25] local.INFO: TCP Data received {"connection_id":110428,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:36:25] local.INFO: Processing buffer {"connection_id":110428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:36:25] local.INFO: IMEI packet received {"connection_id":110428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":110428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:36:30] local.INFO: TCP Data received {"connection_id":110428,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:36:30] local.INFO: Processing buffer {"connection_id":110428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:36:30] local.INFO: IMEI packet received {"connection_id":110428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":110428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:36:31] local.INFO: TCP Data received {"connection_id":110428,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:36:31] local.INFO: Processing buffer {"connection_id":110428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:36:31] local.INFO: Packet analysis {"connection_id":110428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:36:31] local.INFO: Extracted packet for processing {"connection_id":110428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:36:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:36:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":110428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:36:31] local.INFO: GPS data processed {"connection_id":110428,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:36:31] local.INFO: Acknowledgment sent {"connection_id":110428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:37:03] local.INFO: TCP Data received {"connection_id":110428,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:03] local.INFO: Processing buffer {"connection_id":110428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:03] local.INFO: Packet analysis {"connection_id":110428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:37:03] local.INFO: Extracted packet for processing {"connection_id":110428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:37:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:37: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-06-23 05: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-06-23 05:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:37:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":110428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:37:03] local.INFO: GPS data processed {"connection_id":110428,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:37:03] local.INFO: Acknowledgment sent {"connection_id":110428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:37:30] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:37:30] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:37:30] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:37:35] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:37:35] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:37:35] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:37:37] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:37] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:37] local.INFO: Packet analysis {"connection_id":111227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:37:37] local.INFO: Extracted packet for processing {"connection_id":111227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:37: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-06-23 05:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:37:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:37:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":111227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:37:37] local.INFO: GPS data processed {"connection_id":111227,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:37:37] local.INFO: Acknowledgment sent {"connection_id":111227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:37:41] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:41] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:37:41] local.INFO: Packet analysis {"connection_id":111227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:37:41] local.INFO: Extracted packet for processing {"connection_id":111227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:37:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:37:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":111227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:37:41] local.INFO: GPS data processed {"connection_id":111227,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:37:41] local.INFO: Acknowledgment sent {"connection_id":111227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:38:25] local.INFO: TCP Data received {"connection_id":110429,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:38:25] local.INFO: Processing buffer {"connection_id":110429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:38:25] local.INFO: IMEI packet received {"connection_id":110429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":110429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:38:30] local.INFO: TCP Data received {"connection_id":110429,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:38:30] local.INFO: Processing buffer {"connection_id":110429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:38:30] local.INFO: IMEI packet received {"connection_id":110429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":110429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:38:31] local.INFO: TCP Data received {"connection_id":110429,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:38:31] local.INFO: Processing buffer {"connection_id":110429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:38:31] local.INFO: Packet analysis {"connection_id":110429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:38:31] local.INFO: Extracted packet for processing {"connection_id":110429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:38:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:38:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:38:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":110429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:38:31] local.INFO: GPS data processed {"connection_id":110429,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:38:31] local.INFO: Acknowledgment sent {"connection_id":110429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:39:03] local.INFO: TCP Data received {"connection_id":110429,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:39:03] local.INFO: Processing buffer {"connection_id":110429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:39:03] local.INFO: Packet analysis {"connection_id":110429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:39:03] local.INFO: Extracted packet for processing {"connection_id":110429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:39:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:39:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:39:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":110429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:39:03] local.INFO: GPS data processed {"connection_id":110429,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:39:03] local.INFO: Acknowledgment sent {"connection_id":110429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:39:25] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:39:25] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:39:25] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:39:30] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:39:30] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:39:30] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:39:31] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:39:31] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:39:31] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:39:31] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:39:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:39:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:39:31] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:39:31] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:40:04] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:40:04] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cb0e08012cc3308007685990005a00ee26..."} 
[2026-06-23 05:40:04] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:40:04] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cb"} 
[2026-06-23 05:40:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236230656001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782173077000,"timestamp_ms":1782173077000,"timestamp_seconds":1782173077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cb0e08"} 
[2026-06-23 05:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:40: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-06-23 05: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-06-23 05:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236230656001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236230656001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:40:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:40:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236230656001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:40:04] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:40:04] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:40:25] local.INFO: TCP Data received {"connection_id":112169,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:40:25] local.INFO: Processing buffer {"connection_id":112169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:40:25] local.INFO: IMEI packet received {"connection_id":112169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":112169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:40:30] local.INFO: TCP Data received {"connection_id":112169,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:40:30] local.INFO: Processing buffer {"connection_id":112169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:40:30] local.INFO: IMEI packet received {"connection_id":112169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":112169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:40:33] local.INFO: TCP Data received {"connection_id":112169,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:40:33] local.INFO: Processing buffer {"connection_id":112169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:40:33] local.INFO: Packet analysis {"connection_id":112169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:40:33] local.INFO: Extracted packet for processing {"connection_id":112169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:40:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:40:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:40:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:40:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:40:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":112169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:40:33] local.INFO: GPS data processed {"connection_id":112169,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:40:33] local.INFO: Acknowledgment sent {"connection_id":112169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:41:05] local.INFO: TCP Data received {"connection_id":112169,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:41:05] local.INFO: Processing buffer {"connection_id":112169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:41:05] local.INFO: Packet analysis {"connection_id":112169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:41:05] local.INFO: Extracted packet for processing {"connection_id":112169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:41:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:41:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:41:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":112169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:41:05] local.INFO: GPS data processed {"connection_id":112169,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:41:05] local.INFO: Acknowledgment sent {"connection_id":112169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:41:18] local.INFO: TCP Data received {"connection_id":110612,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:41:18] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:41:18] local.INFO: IMEI packet received {"connection_id":110612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":110612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:41:25] local.INFO: TCP Data received {"connection_id":112170,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:41:25] local.INFO: Processing buffer {"connection_id":112170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:41:25] local.INFO: IMEI packet received {"connection_id":112170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":112170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:41:30] local.INFO: TCP Data received {"connection_id":112170,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:41:30] local.INFO: Processing buffer {"connection_id":112170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:41:30] local.INFO: IMEI packet received {"connection_id":112170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":112170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:41:31] local.INFO: TCP Data received {"connection_id":112170,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:41:31] local.INFO: Processing buffer {"connection_id":112170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:41:31] local.INFO: Packet analysis {"connection_id":112170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:41:31] local.INFO: Extracted packet for processing {"connection_id":112170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:41:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:41:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":112170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:41:31] local.INFO: GPS data processed {"connection_id":112170,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:41:31] local.INFO: Acknowledgment sent {"connection_id":112170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:42:03] local.INFO: TCP Data received {"connection_id":112170,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:42:03] local.INFO: Processing buffer {"connection_id":112170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:42:03] local.INFO: Packet analysis {"connection_id":112170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:42:03] local.INFO: Extracted packet for processing {"connection_id":112170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 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-06-23 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:42: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-06-23 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-06-23 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-06-23 05:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:42:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:42:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":112170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:42:03] local.INFO: GPS data processed {"connection_id":112170,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:42:03] local.INFO: Acknowledgment sent {"connection_id":112170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:42:25] local.INFO: TCP Data received {"connection_id":110613,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:42:25] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:42:25] local.INFO: IMEI packet received {"connection_id":110613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":110613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:42:30] local.INFO: TCP Data received {"connection_id":110613,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:42:30] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:42:30] local.INFO: IMEI packet received {"connection_id":110613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":110613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:42:31] local.INFO: TCP Data received {"connection_id":110613,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:42:31] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:42:31] local.INFO: Packet analysis {"connection_id":110613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:42:31] local.INFO: Extracted packet for processing {"connection_id":110613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:42:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:42:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":110613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:42:31] local.INFO: GPS data processed {"connection_id":110613,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:42:31] local.INFO: Acknowledgment sent {"connection_id":110613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:43:04] local.INFO: TCP Data received {"connection_id":110613,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:04] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:04] local.INFO: Packet analysis {"connection_id":110613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:43:04] local.INFO: Extracted packet for processing {"connection_id":110613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 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-06-23 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:43: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-06-23 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-06-23 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-06-23 05:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:43:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":110613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:43:04] local.INFO: GPS data processed {"connection_id":110613,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:43:04] local.INFO: Acknowledgment sent {"connection_id":110613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:43:30] local.INFO: TCP Data received {"connection_id":112173,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:43:30] local.INFO: Processing buffer {"connection_id":112173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:43:30] local.INFO: IMEI packet received {"connection_id":112173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":112173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:43:35] local.INFO: TCP Data received {"connection_id":112173,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:43:35] local.INFO: Processing buffer {"connection_id":112173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:43:35] local.INFO: IMEI packet received {"connection_id":112173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":112173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:43:38] local.INFO: TCP Data received {"connection_id":112173,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:38] local.INFO: Processing buffer {"connection_id":112173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:38] local.INFO: Packet analysis {"connection_id":112173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:43:38] local.INFO: Extracted packet for processing {"connection_id":112173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 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-06-23 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:43:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":112173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:43:38] local.INFO: GPS data processed {"connection_id":112173,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:43:38] local.INFO: Acknowledgment sent {"connection_id":112173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:43:40] local.INFO: TCP Data received {"connection_id":112173,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:40] local.INFO: Processing buffer {"connection_id":112173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:43:40] local.INFO: Packet analysis {"connection_id":112173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:43:40] local.INFO: Extracted packet for processing {"connection_id":112173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:43:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:43:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":112173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:43:40] local.INFO: GPS data processed {"connection_id":112173,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:43:40] local.INFO: Acknowledgment sent {"connection_id":112173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:44:25] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:44:25] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:44:25] local.INFO: IMEI packet received {"connection_id":110430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":110430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:44:30] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:44:30] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:44:30] local.INFO: IMEI packet received {"connection_id":110430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":110430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:44:31] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:44:31] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:44:31] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:44:31] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:44:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:44:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:44:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:44:31] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:44:31] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:44:36] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:44:36] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:44:36] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:44:36] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:44:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:44:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:44:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:44:36] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:44:36] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:45:08] local.INFO: TCP Data received {"connection_id":110430,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:45:08] local.INFO: Processing buffer {"connection_id":110430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1cfa5d0012cc3308007685990005a00ee28..."} 
[2026-06-23 05:45:08] local.INFO: Packet analysis {"connection_id":110430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:45:08] local.INFO: Extracted packet for processing {"connection_id":110430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1cf"} 
[2026-06-23 05:45:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236307712001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782173378000,"timestamp_ms":1782173378000,"timestamp_seconds":1782173378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1cfa5d0"} 
[2026-06-23 05:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236307712001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236307712001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236307712001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":110430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:45:08] local.INFO: GPS data processed {"connection_id":110430,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:45:08] local.INFO: Acknowledgment sent {"connection_id":110430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:45:25] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:45:25] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:45:25] local.INFO: IMEI packet received {"connection_id":111229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":111229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:45:30] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:45:30] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:45:30] local.INFO: IMEI packet received {"connection_id":111229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":111229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:45:33] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:45:33] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:45:33] local.INFO: Packet analysis {"connection_id":111229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:45:33] local.INFO: Extracted packet for processing {"connection_id":111229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:45:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:45:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:45:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:45:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":111229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:45:33] local.INFO: GPS data processed {"connection_id":111229,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:45:33] local.INFO: Acknowledgment sent {"connection_id":111229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:46:08] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:46:08] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:46:08] local.INFO: Packet analysis {"connection_id":111229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:46:08] local.INFO: Extracted packet for processing {"connection_id":111229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":111229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:46:08] local.INFO: GPS data processed {"connection_id":111229,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:46:08] local.INFO: Acknowledgment sent {"connection_id":111229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:46:25] local.INFO: TCP Data received {"connection_id":111231,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:46:25] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:46:25] local.INFO: IMEI packet received {"connection_id":111231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":111231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:46:30] local.INFO: TCP Data received {"connection_id":111231,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:46:30] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:46:30] local.INFO: IMEI packet received {"connection_id":111231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":111231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:46:33] local.INFO: TCP Data received {"connection_id":111231,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:46:33] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:46:33] local.INFO: Packet analysis {"connection_id":111231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:46:33] local.INFO: Extracted packet for processing {"connection_id":111231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:46:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:46:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:46:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:46:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:46:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":111231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:46:33] local.INFO: GPS data processed {"connection_id":111231,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:46:33] local.INFO: Acknowledgment sent {"connection_id":111231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:47:06] local.INFO: TCP Data received {"connection_id":111231,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:47:06] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:47:06] local.INFO: Packet analysis {"connection_id":111231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:47:06] local.INFO: Extracted packet for processing {"connection_id":111231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:47:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:47:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":111231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:47:06] local.INFO: GPS data processed {"connection_id":111231,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:47:06] local.INFO: Acknowledgment sent {"connection_id":111231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:47:07] local.INFO: TCP Data received {"connection_id":112175,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:47:07] local.INFO: Processing buffer {"connection_id":112175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:47:07] local.INFO: IMEI packet received {"connection_id":112175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":112175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:47:25] local.INFO: TCP Data received {"connection_id":110431,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:47:25] local.INFO: Processing buffer {"connection_id":110431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:47:25] local.INFO: IMEI packet received {"connection_id":110431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":110431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:47:30] local.INFO: TCP Data received {"connection_id":110431,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:47:30] local.INFO: Processing buffer {"connection_id":110431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:47:30] local.INFO: IMEI packet received {"connection_id":110431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":110431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:47:33] local.INFO: TCP Data received {"connection_id":110431,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:47:33] local.INFO: Processing buffer {"connection_id":110431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:47:33] local.INFO: Packet analysis {"connection_id":110431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:47:33] local.INFO: Extracted packet for processing {"connection_id":110431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:47:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:47:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":110431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:47:33] local.INFO: GPS data processed {"connection_id":110431,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:47:33] local.INFO: Acknowledgment sent {"connection_id":110431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:48:05] local.INFO: TCP Data received {"connection_id":110431,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:05] local.INFO: Processing buffer {"connection_id":110431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:05] local.INFO: Packet analysis {"connection_id":110431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:48:05] local.INFO: Extracted packet for processing {"connection_id":110431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:48:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:48: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-06-23 05:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:48:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:48:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":110431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":368999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:48:05] local.INFO: GPS data processed {"connection_id":110431,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:48:05] local.INFO: Acknowledgment sent {"connection_id":110431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:48:30] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:48:30] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:48:30] local.INFO: IMEI packet received {"connection_id":110433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":110433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:48:35] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:48:35] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:48:35] local.INFO: IMEI packet received {"connection_id":110433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":110433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:48:36] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:36] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:36] local.INFO: Packet analysis {"connection_id":110433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:48:36] local.INFO: Extracted packet for processing {"connection_id":110433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:48:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:48:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:48:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":110433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:48:36] local.INFO: GPS data processed {"connection_id":110433,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:48:36] local.INFO: Acknowledgment sent {"connection_id":110433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:48:42] local.INFO: TCP Data received {"connection_id":110433,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:42] local.INFO: Processing buffer {"connection_id":110433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:48:42] local.INFO: Packet analysis {"connection_id":110433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:48:42] local.INFO: Extracted packet for processing {"connection_id":110433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:48:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:48:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:48:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":110433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:48:42] local.INFO: GPS data processed {"connection_id":110433,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:48:42] local.INFO: Acknowledgment sent {"connection_id":110433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:49:25] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:49:25] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:49:25] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:49:30] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:49:30] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:49:30] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:49:31] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:49:31] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:49:31] local.INFO: Packet analysis {"connection_id":111232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:49:31] local.INFO: Extracted packet for processing {"connection_id":111232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:49:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 05:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:49:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:49:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":111232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:49:31] local.INFO: GPS data processed {"connection_id":111232,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:49:31] local.INFO: Acknowledgment sent {"connection_id":111232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:50:03] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:50:03] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d43d98012cc3308007685990005a00ee28..."} 
[2026-06-23 05:50:03] local.INFO: Packet analysis {"connection_id":111232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:50:03] local.INFO: Extracted packet for processing {"connection_id":111232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d4"} 
[2026-06-23 05:50:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236384768001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782173679000,"timestamp_ms":1782173679000,"timestamp_seconds":1782173679,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d43d98"} 
[2026-06-23 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-06-23 05:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236384768001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236384768001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:50:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:50:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236384768001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":111232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:50:03] local.INFO: GPS data processed {"connection_id":111232,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:50:03] local.INFO: Acknowledgment sent {"connection_id":111232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:50:25] local.INFO: TCP Data received {"connection_id":112176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:50:25] local.INFO: Processing buffer {"connection_id":112176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:50:25] local.INFO: IMEI packet received {"connection_id":112176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":112176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:50:30] local.INFO: TCP Data received {"connection_id":112176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:50:30] local.INFO: Processing buffer {"connection_id":112176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:50:30] local.INFO: IMEI packet received {"connection_id":112176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":112176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:50:32] local.INFO: TCP Data received {"connection_id":112176,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:50:32] local.INFO: Processing buffer {"connection_id":112176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:50:32] local.INFO: Packet analysis {"connection_id":112176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:50:32] local.INFO: Extracted packet for processing {"connection_id":112176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:50:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:50:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 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-06-23 05:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:50: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-06-23 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-06-23 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-06-23 05:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:50:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:50:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:50:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":112176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:50:32] local.INFO: GPS data processed {"connection_id":112176,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:50:32] local.INFO: Acknowledgment sent {"connection_id":112176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:51:05] local.INFO: TCP Data received {"connection_id":112176,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:05] local.INFO: Processing buffer {"connection_id":112176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:05] local.INFO: Packet analysis {"connection_id":112176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:51:05] local.INFO: Extracted packet for processing {"connection_id":112176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:51:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 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-06-23 05:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:51:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:51:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":112176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:51:05] local.INFO: GPS data processed {"connection_id":112176,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:51:05] local.INFO: Acknowledgment sent {"connection_id":112176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:51:30] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:51:30] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:51:30] local.INFO: IMEI packet received {"connection_id":110616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":110616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:51:35] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:51:35] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:51:35] local.INFO: IMEI packet received {"connection_id":110616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":110616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:51:36] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:36] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:36] local.INFO: Packet analysis {"connection_id":110616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:51:36] local.INFO: Extracted packet for processing {"connection_id":110616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:51:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:51:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:51:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":110616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:51:36] local.INFO: GPS data processed {"connection_id":110616,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:51:36] local.INFO: Acknowledgment sent {"connection_id":110616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:51:41] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:41] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:51:41] local.INFO: Packet analysis {"connection_id":110616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:51:41] local.INFO: Extracted packet for processing {"connection_id":110616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:51: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-06-23 05: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-06-23 05:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:51:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:51:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":110616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:51:41] local.INFO: GPS data processed {"connection_id":110616,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:51:41] local.INFO: Acknowledgment sent {"connection_id":110616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:52:25] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:52:25] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:52:25] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:52:30] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:52:30] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:52:30] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:52:33] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:52:33] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:52:33] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:52:33] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:52:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:52:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:52:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:52:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:52:33] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:52:33] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:52:37] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:52:37] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:52:37] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:52:37] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:52:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:52:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:52:37] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:52:37] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:52:37] local.INFO: TCP Data received {"connection_id":112177,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:52:37] local.INFO: Processing buffer {"connection_id":112177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:52:37] local.INFO: IMEI packet received {"connection_id":112177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":112177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:53:09] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:53:09] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:53:09] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:53:09] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:53:09] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:53:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:53:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:53:09] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:53:09] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:53:12] local.INFO: TCP Data received {"connection_id":110436,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:53:12] local.INFO: Processing buffer {"connection_id":110436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:53:12] local.INFO: IMEI packet received {"connection_id":110436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":110436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:53:25] local.INFO: TCP Data received {"connection_id":112178,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:53:25] local.INFO: Processing buffer {"connection_id":112178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:53:25] local.INFO: IMEI packet received {"connection_id":112178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":112178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:53:30] local.INFO: TCP Data received {"connection_id":112178,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:53:30] local.INFO: Processing buffer {"connection_id":112178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:53:30] local.INFO: IMEI packet received {"connection_id":112178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":112178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:53:33] local.INFO: TCP Data received {"connection_id":112178,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:53:33] local.INFO: Processing buffer {"connection_id":112178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:53:33] local.INFO: Packet analysis {"connection_id":112178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:53:33] local.INFO: Extracted packet for processing {"connection_id":112178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:53:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:53:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:53:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:53:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:53:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":112178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:53:33] local.INFO: GPS data processed {"connection_id":112178,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:53:33] local.INFO: Acknowledgment sent {"connection_id":112178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:54:05] local.INFO: TCP Data received {"connection_id":112178,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:54:05] local.INFO: Processing buffer {"connection_id":112178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:54:05] local.INFO: Packet analysis {"connection_id":112178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:54:05] local.INFO: Extracted packet for processing {"connection_id":112178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:54:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:54:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:54:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":112178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:54:05] local.INFO: GPS data processed {"connection_id":112178,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:54:05] local.INFO: Acknowledgment sent {"connection_id":112178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:54:25] local.INFO: TCP Data received {"connection_id":111234,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:54:25] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:54:25] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:54:30] local.INFO: TCP Data received {"connection_id":111234,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:54:30] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:54:30] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:54:32] local.INFO: TCP Data received {"connection_id":111234,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:54:32] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:54:32] local.INFO: Packet analysis {"connection_id":111234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:54:32] local.INFO: Extracted packet for processing {"connection_id":111234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:54:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:54:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 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-06-23 05:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:54: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-06-23 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-06-23 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-06-23 05:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:54:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:54:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:54:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":111234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:54:32] local.INFO: GPS data processed {"connection_id":111234,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:54:32] local.INFO: Acknowledgment sent {"connection_id":111234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:55:05] local.INFO: TCP Data received {"connection_id":111234,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:55:05] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1d8d560012cc3308007685990005a00ee26..."} 
[2026-06-23 05:55:05] local.INFO: Packet analysis {"connection_id":111234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:55:05] local.INFO: Extracted packet for processing {"connection_id":111234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1d8"} 
[2026-06-23 05:55:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236461824001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782173980000,"timestamp_ms":1782173980000,"timestamp_seconds":1782173980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1d8d560"} 
[2026-06-23 05:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236461824001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236461824001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:55:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:55:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236461824001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":111234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:55:05] local.INFO: GPS data processed {"connection_id":111234,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:55:05] local.INFO: Acknowledgment sent {"connection_id":111234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:55:25] local.INFO: TCP Data received {"connection_id":112179,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:55:25] local.INFO: Processing buffer {"connection_id":112179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:55:25] local.INFO: IMEI packet received {"connection_id":112179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":112179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:55:30] local.INFO: TCP Data received {"connection_id":112179,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:55:30] local.INFO: Processing buffer {"connection_id":112179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:55:30] local.INFO: IMEI packet received {"connection_id":112179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":112179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:55:34] local.INFO: TCP Data received {"connection_id":112179,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:55:34] local.INFO: Processing buffer {"connection_id":112179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:55:34] local.INFO: Packet analysis {"connection_id":112179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:55:34] local.INFO: Extracted packet for processing {"connection_id":112179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:55:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:55:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:55:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":112179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:55:34] local.INFO: GPS data processed {"connection_id":112179,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:55:34] local.INFO: Acknowledgment sent {"connection_id":112179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:56:06] local.INFO: TCP Data received {"connection_id":112179,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:56:06] local.INFO: Processing buffer {"connection_id":112179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:56:06] local.INFO: Packet analysis {"connection_id":112179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:56:06] local.INFO: Extracted packet for processing {"connection_id":112179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:56:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:56:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":112179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:56:06] local.INFO: GPS data processed {"connection_id":112179,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:56:06] local.INFO: Acknowledgment sent {"connection_id":112179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:56:26] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:56:26] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:56:26] local.INFO: IMEI packet received {"connection_id":111235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":111235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:56:30] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:56:30] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:56:30] local.INFO: IMEI packet received {"connection_id":111235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":111235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:56:33] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:56:33] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:56:33] local.INFO: Packet analysis {"connection_id":111235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:56:33] local.INFO: Extracted packet for processing {"connection_id":111235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 05:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:56:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 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-06-23 05:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 05:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:56:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:56:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:56:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":111235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:56:33] local.INFO: GPS data processed {"connection_id":111235,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:56:33] local.INFO: Acknowledgment sent {"connection_id":111235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:57:05] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:57:05] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:57:05] local.INFO: Packet analysis {"connection_id":111235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:57:05] local.INFO: Extracted packet for processing {"connection_id":111235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:57:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:57: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-06-23 05:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:57:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:57:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":111235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:57:05] local.INFO: GPS data processed {"connection_id":111235,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:57:05] local.INFO: Acknowledgment sent {"connection_id":111235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:57:25] local.INFO: TCP Data received {"connection_id":110437,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:57:25] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:57:25] local.INFO: IMEI packet received {"connection_id":110437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":110437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:57:30] local.INFO: TCP Data received {"connection_id":110437,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:57:30] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:57:30] local.INFO: IMEI packet received {"connection_id":110437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":110437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:57:32] local.INFO: TCP Data received {"connection_id":110437,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:57:32] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:57:32] local.INFO: Packet analysis {"connection_id":110437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:57:32] local.INFO: Extracted packet for processing {"connection_id":110437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:57:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:57:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05: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-06-23 05: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-06-23 05:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:57:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:57:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:57:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":110437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:57:32] local.INFO: GPS data processed {"connection_id":110437,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:57:32] local.INFO: Acknowledgment sent {"connection_id":110437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:58:05] local.INFO: TCP Data received {"connection_id":110437,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:58:05] local.INFO: Processing buffer {"connection_id":110437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:58:05] local.INFO: Packet analysis {"connection_id":110437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:58:05] local.INFO: Extracted packet for processing {"connection_id":110437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:58:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:58: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-06-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:58:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:58:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":110437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:58:05] local.INFO: GPS data processed {"connection_id":110437,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:58:05] local.INFO: Acknowledgment sent {"connection_id":110437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:58:25] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:58:25] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:58:25] local.INFO: IMEI packet received {"connection_id":111236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":111236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:58:30] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:58:30] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:58:30] local.INFO: IMEI packet received {"connection_id":111236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":111236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:58:30] local.INFO: TCP Data received {"connection_id":110621,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:58:30] local.INFO: Processing buffer {"connection_id":110621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:58:30] local.INFO: IMEI packet received {"connection_id":110621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":110621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:58:33] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:58:33] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:58:33] local.INFO: Packet analysis {"connection_id":111236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:58:33] local.INFO: Extracted packet for processing {"connection_id":111236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:58:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05: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-06-23 05:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:58:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05: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-06-23 05:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:58:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:58:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:58:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":111236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:58:33] local.INFO: GPS data processed {"connection_id":111236,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:58:33] local.INFO: Acknowledgment sent {"connection_id":111236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:59:06] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:06] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:06] local.INFO: Packet analysis {"connection_id":111236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:59:06] local.INFO: Extracted packet for processing {"connection_id":111236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:59:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:59:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":111236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:59:06] local.INFO: GPS data processed {"connection_id":111236,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:59:06] local.INFO: Acknowledgment sent {"connection_id":111236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:59:22] local.INFO: TCP Data received {"connection_id":112180,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:59:22] local.INFO: Processing buffer {"connection_id":112180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 05:59:22] local.INFO: IMEI packet received {"connection_id":112180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 05:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":112180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:59:30] local.INFO: TCP Data received {"connection_id":110622,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:59:30] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:59:30] local.INFO: IMEI packet received {"connection_id":110622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 05:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":110622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 05:59:35] local.INFO: TCP Data received {"connection_id":110622,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:59:35] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 05:59:35] local.INFO: IMEI packet received {"connection_id":110622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 05:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":110622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 05:59:38] local.INFO: TCP Data received {"connection_id":110622,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:38] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:38] local.INFO: Packet analysis {"connection_id":110622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:59:38] local.INFO: Extracted packet for processing {"connection_id":110622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:59:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:59:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":110622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:59:38] local.INFO: GPS data processed {"connection_id":110622,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:59:38] local.INFO: Acknowledgment sent {"connection_id":110622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 05:59:42] local.INFO: TCP Data received {"connection_id":110622,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:42] local.INFO: Processing buffer {"connection_id":110622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1dd6d28012cc3308007685990005a00ee27..."} 
[2026-06-23 05:59:42] local.INFO: Packet analysis {"connection_id":110622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:59:42] local.INFO: Extracted packet for processing {"connection_id":110622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1dd"} 
[2026-06-23 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 05:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236538880001,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 05:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 05:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782174281000,"timestamp_ms":1782174281000,"timestamp_seconds":1782174281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1dd6d28"} 
[2026-06-23 05:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 05:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 05:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 05:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 05:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 05:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 05:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 05:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 05:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 05:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 05:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236538880001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 05:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 05:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 05:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236538880001,"description":"Unknown IO ID 0"} 
[2026-06-23 05:59:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 05:59:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 05:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 05:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 05:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236538880001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 05:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":110622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 05:59:42] local.INFO: GPS data processed {"connection_id":110622,"processed":1,"errors":0,"total":1} 
[2026-06-23 05:59:42] local.INFO: Acknowledgment sent {"connection_id":110622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:00:25] local.INFO: TCP Data received {"connection_id":110623,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:00:25] local.INFO: Processing buffer {"connection_id":110623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:00:25] local.INFO: IMEI packet received {"connection_id":110623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":110623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:00:30] local.INFO: TCP Data received {"connection_id":110623,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:00:30] local.INFO: Processing buffer {"connection_id":110623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:00:30] local.INFO: IMEI packet received {"connection_id":110623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":110623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:00:33] local.INFO: TCP Data received {"connection_id":110623,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:00:33] local.INFO: Processing buffer {"connection_id":110623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:00:33] local.INFO: Packet analysis {"connection_id":110623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:00:33] local.INFO: Extracted packet for processing {"connection_id":110623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:00:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:00:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:00:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:00:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:00:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":110623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:00:33] local.INFO: GPS data processed {"connection_id":110623,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:00:33] local.INFO: Acknowledgment sent {"connection_id":110623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:01:08] local.INFO: TCP Data received {"connection_id":110623,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:01:08] local.INFO: Processing buffer {"connection_id":110623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:01:08] local.INFO: Packet analysis {"connection_id":110623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:01:08] local.INFO: Extracted packet for processing {"connection_id":110623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:01:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":110623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:01:08] local.INFO: GPS data processed {"connection_id":110623,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:01:08] local.INFO: Acknowledgment sent {"connection_id":110623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:01:25] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:01:25] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:01:25] local.INFO: IMEI packet received {"connection_id":110439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":110439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:01:30] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:01:30] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:01:30] local.INFO: IMEI packet received {"connection_id":110439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:01:35] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:01:35] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:01:35] local.INFO: Packet analysis {"connection_id":110439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:01:35] local.INFO: Extracted packet for processing {"connection_id":110439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:01:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:01:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:01:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":110439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:01:35] local.INFO: GPS data processed {"connection_id":110439,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:01:35] local.INFO: Acknowledgment sent {"connection_id":110439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:02:09] local.INFO: TCP Data received {"connection_id":110439,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:02:09] local.INFO: Processing buffer {"connection_id":110439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:02:09] local.INFO: Packet analysis {"connection_id":110439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:02:09] local.INFO: Extracted packet for processing {"connection_id":110439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:02:09] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:02:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:02:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":110439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:02:09] local.INFO: GPS data processed {"connection_id":110439,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:02:09] local.INFO: Acknowledgment sent {"connection_id":110439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:02:25] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:02:25] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:02:25] local.INFO: IMEI packet received {"connection_id":111239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":111239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:02:30] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:02:30] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:02:30] local.INFO: IMEI packet received {"connection_id":111239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":111239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:02:33] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:02:33] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:02:33] local.INFO: Packet analysis {"connection_id":111239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:02:33] local.INFO: Extracted packet for processing {"connection_id":111239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:02:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:02:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:02:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:02:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:02:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":111239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:02:33] local.INFO: GPS data processed {"connection_id":111239,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:02:33] local.INFO: Acknowledgment sent {"connection_id":111239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:03:04] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:03:04] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:03:04] local.INFO: Packet analysis {"connection_id":111239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:03:04] local.INFO: Extracted packet for processing {"connection_id":111239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:03:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:03:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:03:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":111239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:03:04] local.INFO: GPS data processed {"connection_id":111239,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:03:04] local.INFO: Acknowledgment sent {"connection_id":111239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:03:25] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:03:25] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:03:25] local.INFO: IMEI packet received {"connection_id":110440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":110440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:03:30] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:03:30] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:03:30] local.INFO: IMEI packet received {"connection_id":110440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":110440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:03:33] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:03:33] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:03:33] local.INFO: Packet analysis {"connection_id":110440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:03:33] local.INFO: Extracted packet for processing {"connection_id":110440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:03:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:03:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:03:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:03:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:03:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":110440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:03:33] local.INFO: GPS data processed {"connection_id":110440,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:03:33] local.INFO: Acknowledgment sent {"connection_id":110440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:04:04] local.INFO: TCP Data received {"connection_id":110440,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:04] local.INFO: Processing buffer {"connection_id":110440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:04] local.INFO: Packet analysis {"connection_id":110440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:04:04] local.INFO: Extracted packet for processing {"connection_id":110440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 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-06-23 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:04: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-06-23 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-06-23 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-06-23 06:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:04:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":110440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:04:04] local.INFO: GPS data processed {"connection_id":110440,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:04:04] local.INFO: Acknowledgment sent {"connection_id":110440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:04:31] local.INFO: TCP Data received {"connection_id":112181,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:04:31] local.INFO: Processing buffer {"connection_id":112181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:04:31] local.INFO: IMEI packet received {"connection_id":112181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":112181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:04:35] local.INFO: TCP Data received {"connection_id":112181,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:04:35] local.INFO: Processing buffer {"connection_id":112181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:04:35] local.INFO: IMEI packet received {"connection_id":112181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":112181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:04:36] local.INFO: TCP Data received {"connection_id":112181,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:36] local.INFO: Processing buffer {"connection_id":112181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:36] local.INFO: Packet analysis {"connection_id":112181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:04:36] local.INFO: Extracted packet for processing {"connection_id":112181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:04:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:04: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-06-23 06:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:04:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:04:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":112181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:04:36] local.INFO: GPS data processed {"connection_id":112181,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:04:36] local.INFO: Acknowledgment sent {"connection_id":112181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:04:41] local.INFO: TCP Data received {"connection_id":112181,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:41] local.INFO: Processing buffer {"connection_id":112181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e204f0012cc3308007685990005a00ee29..."} 
[2026-06-23 06:04:41] local.INFO: Packet analysis {"connection_id":112181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:04:41] local.INFO: Extracted packet for processing {"connection_id":112181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e2"} 
[2026-06-23 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782174582000,"timestamp_ms":1782174582000,"timestamp_seconds":1782174582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e204f0"} 
[2026-06-23 06:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:04: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-06-23 06:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236615936001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:04:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:04:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236615936001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":112181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:04:41] local.INFO: GPS data processed {"connection_id":112181,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:04:41] local.INFO: Acknowledgment sent {"connection_id":112181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:05:11] local.INFO: TCP Data received {"connection_id":112182,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:05:11] local.INFO: Processing buffer {"connection_id":112182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:05:11] local.INFO: IMEI packet received {"connection_id":112182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":112182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:05:25] local.INFO: TCP Data received {"connection_id":111241,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:05:25] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:05:25] local.INFO: IMEI packet received {"connection_id":111241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":111241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:05:30] local.INFO: TCP Data received {"connection_id":111241,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:05:30] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:05:30] local.INFO: IMEI packet received {"connection_id":111241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":111241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:05:31] local.INFO: TCP Data received {"connection_id":111241,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:05:31] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:05:31] local.INFO: Packet analysis {"connection_id":111241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:05:31] local.INFO: Extracted packet for processing {"connection_id":111241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:05:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:05:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":111241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:05:31] local.INFO: GPS data processed {"connection_id":111241,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:05:31] local.INFO: Acknowledgment sent {"connection_id":111241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:06:03] local.INFO: TCP Data received {"connection_id":111241,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:06:03] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:06:03] local.INFO: Packet analysis {"connection_id":111241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:06:03] local.INFO: Extracted packet for processing {"connection_id":111241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 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-06-23 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06: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-06-23 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-06-23 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-06-23 06:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:06:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:06:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":111241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:06:03] local.INFO: GPS data processed {"connection_id":111241,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:06:03] local.INFO: Acknowledgment sent {"connection_id":111241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:06:25] local.INFO: TCP Data received {"connection_id":110625,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:06:25] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:06:25] local.INFO: IMEI packet received {"connection_id":110625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":110625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:06:30] local.INFO: TCP Data received {"connection_id":110625,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:06:30] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:06:30] local.INFO: IMEI packet received {"connection_id":110625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":110625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:06:31] local.INFO: TCP Data received {"connection_id":110625,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:06:31] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:06:31] local.INFO: Packet analysis {"connection_id":110625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:06:31] local.INFO: Extracted packet for processing {"connection_id":110625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:06:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":110625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:06:31] local.INFO: GPS data processed {"connection_id":110625,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:06:31] local.INFO: Acknowledgment sent {"connection_id":110625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:07:04] local.INFO: TCP Data received {"connection_id":110625,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:04] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:04] local.INFO: Packet analysis {"connection_id":110625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:07:04] local.INFO: Extracted packet for processing {"connection_id":110625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:07:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:07: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-06-23 06: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-06-23 06:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:07:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:07:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:07:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":110625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:07:04] local.INFO: GPS data processed {"connection_id":110625,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:07:04] local.INFO: Acknowledgment sent {"connection_id":110625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:07:31] local.INFO: TCP Data received {"connection_id":110626,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:07:31] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:07:31] local.INFO: IMEI packet received {"connection_id":110626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":110626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:07:36] local.INFO: TCP Data received {"connection_id":110626,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:07:36] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:07:36] local.INFO: IMEI packet received {"connection_id":110626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":110626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:07:38] local.INFO: TCP Data received {"connection_id":110626,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:38] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:38] local.INFO: Packet analysis {"connection_id":110626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:07:38] local.INFO: Extracted packet for processing {"connection_id":110626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:07:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:07:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":110626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:07:38] local.INFO: GPS data processed {"connection_id":110626,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:07:38] local.INFO: Acknowledgment sent {"connection_id":110626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:07:40] local.INFO: TCP Data received {"connection_id":110626,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:40] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:07:40] local.INFO: Packet analysis {"connection_id":110626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:07:40] local.INFO: Extracted packet for processing {"connection_id":110626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:07:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:07:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:07:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":110626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:07:40] local.INFO: GPS data processed {"connection_id":110626,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:07:40] local.INFO: Acknowledgment sent {"connection_id":110626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:08:25] local.INFO: TCP Data received {"connection_id":112184,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:08:25] local.INFO: Processing buffer {"connection_id":112184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:08:25] local.INFO: IMEI packet received {"connection_id":112184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":112184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:08:30] local.INFO: TCP Data received {"connection_id":112184,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:08:30] local.INFO: Processing buffer {"connection_id":112184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:08:30] local.INFO: IMEI packet received {"connection_id":112184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":112184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:08:32] local.INFO: TCP Data received {"connection_id":112184,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:08:32] local.INFO: Processing buffer {"connection_id":112184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:08:32] local.INFO: Packet analysis {"connection_id":112184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:08:32] local.INFO: Extracted packet for processing {"connection_id":112184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:08:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06: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-06-23 06: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-06-23 06:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:08:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:08:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":112184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:08:32] local.INFO: GPS data processed {"connection_id":112184,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:08:32] local.INFO: Acknowledgment sent {"connection_id":112184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:09:04] local.INFO: TCP Data received {"connection_id":112184,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:09:04] local.INFO: Processing buffer {"connection_id":112184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:09:04] local.INFO: Packet analysis {"connection_id":112184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:09:04] local.INFO: Extracted packet for processing {"connection_id":112184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:09:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:09:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":112184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:09:04] local.INFO: GPS data processed {"connection_id":112184,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:09:04] local.INFO: Acknowledgment sent {"connection_id":112184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:09:25] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:09:25] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:09:25] local.INFO: IMEI packet received {"connection_id":110627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":110627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:09:30] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:09:30] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:09:30] local.INFO: IMEI packet received {"connection_id":110627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":110627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:09:31] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:09:31] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:09:31] local.INFO: Packet analysis {"connection_id":110627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:09:31] local.INFO: Extracted packet for processing {"connection_id":110627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:09:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 06:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":110627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:09:31] local.INFO: GPS data processed {"connection_id":110627,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:09:31] local.INFO: Acknowledgment sent {"connection_id":110627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:10:03] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:10:03] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1e69cb8012cc3308007685990005a00ee29..."} 
[2026-06-23 06:10:03] local.INFO: Packet analysis {"connection_id":110627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:10:03] local.INFO: Extracted packet for processing {"connection_id":110627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1e6"} 
[2026-06-23 06:10:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236692992001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782174883000,"timestamp_ms":1782174883000,"timestamp_seconds":1782174883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1e69cb8"} 
[2026-06-23 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-06-23 06:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236692992001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236692992001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:10:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236692992001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":110627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:10:03] local.INFO: GPS data processed {"connection_id":110627,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:10:03] local.INFO: Acknowledgment sent {"connection_id":110627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:10:25] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:10:25] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:10:25] local.INFO: IMEI packet received {"connection_id":110442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":110442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:10:30] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:10:30] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:10:30] local.INFO: IMEI packet received {"connection_id":110442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":110442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:10:32] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:10:32] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:10:32] local.INFO: Packet analysis {"connection_id":110442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:10:32] local.INFO: Extracted packet for processing {"connection_id":110442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:10:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 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-06-23 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:10: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-06-23 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-06-23 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-06-23 06:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:10:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:10:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:10:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":110442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:10:32] local.INFO: GPS data processed {"connection_id":110442,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:10:32] local.INFO: Acknowledgment sent {"connection_id":110442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:10:37] local.INFO: TCP Data received {"connection_id":110628,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:10:37] local.INFO: Processing buffer {"connection_id":110628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:10:37] local.INFO: IMEI packet received {"connection_id":110628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":110628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:11:04] local.INFO: TCP Data received {"connection_id":110442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:11:04] local.INFO: Processing buffer {"connection_id":110442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:11:04] local.INFO: Packet analysis {"connection_id":110442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:11:04] local.INFO: Extracted packet for processing {"connection_id":110442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:11:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 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-06-23 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:11: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-06-23 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-06-23 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-06-23 06:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:11:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:11:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:11:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":110442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:11:04] local.INFO: GPS data processed {"connection_id":110442,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:11:04] local.INFO: Acknowledgment sent {"connection_id":110442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:11:07] local.INFO: TCP Data received {"connection_id":111244,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:11:07] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:11:07] local.INFO: IMEI packet received {"connection_id":111244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":111244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:11:25] local.INFO: TCP Data received {"connection_id":112185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:11:25] local.INFO: Processing buffer {"connection_id":112185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:11:25] local.INFO: IMEI packet received {"connection_id":112185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":112185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:11:30] local.INFO: TCP Data received {"connection_id":112185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:11:30] local.INFO: Processing buffer {"connection_id":112185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:11:30] local.INFO: IMEI packet received {"connection_id":112185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":112185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:11:31] local.INFO: TCP Data received {"connection_id":112185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:11:31] local.INFO: Processing buffer {"connection_id":112185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:11:31] local.INFO: Packet analysis {"connection_id":112185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:11:31] local.INFO: Extracted packet for processing {"connection_id":112185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:11:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:11:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:11:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":112185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:11:32] local.INFO: GPS data processed {"connection_id":112185,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:11:32] local.INFO: Acknowledgment sent {"connection_id":112185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:12:03] local.INFO: TCP Data received {"connection_id":112185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:12:03] local.INFO: Processing buffer {"connection_id":112185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:12:03] local.INFO: Packet analysis {"connection_id":112185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:12:03] local.INFO: Extracted packet for processing {"connection_id":112185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:12:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:12:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:12:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":112185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:12:03] local.INFO: GPS data processed {"connection_id":112185,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:12:03] local.INFO: Acknowledgment sent {"connection_id":112185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:12:25] local.INFO: TCP Data received {"connection_id":110629,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:12:25] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:12:25] local.INFO: IMEI packet received {"connection_id":110629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":110629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:12:30] local.INFO: TCP Data received {"connection_id":110629,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:12:30] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:12:30] local.INFO: IMEI packet received {"connection_id":110629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":110629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:12:32] local.INFO: TCP Data received {"connection_id":110629,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:12:32] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:12:32] local.INFO: Packet analysis {"connection_id":110629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:12:32] local.INFO: Extracted packet for processing {"connection_id":110629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:12:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:12: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-06-23 06: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-06-23 06:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:12:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:12:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":110629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:12:32] local.INFO: GPS data processed {"connection_id":110629,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:12:32] local.INFO: Acknowledgment sent {"connection_id":110629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:13:05] local.INFO: TCP Data received {"connection_id":110629,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:13:05] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:13:05] local.INFO: Packet analysis {"connection_id":110629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:13:05] local.INFO: Extracted packet for processing {"connection_id":110629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:13:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:13: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-06-23 06:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:13:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:13:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":110629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:13:05] local.INFO: GPS data processed {"connection_id":110629,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:13:05] local.INFO: Acknowledgment sent {"connection_id":110629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:13:25] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:13:25] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:13:25] local.INFO: IMEI packet received {"connection_id":110443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:13:30] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:13:30] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:13:30] local.INFO: IMEI packet received {"connection_id":110443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":110443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:13:31] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:13:31] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:13:31] local.INFO: Packet analysis {"connection_id":110443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:13:31] local.INFO: Extracted packet for processing {"connection_id":110443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:13:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:13:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:13:31] local.INFO: GPS data processed {"connection_id":110443,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:13:31] local.INFO: Acknowledgment sent {"connection_id":110443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:14:04] local.INFO: TCP Data received {"connection_id":110443,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:14:04] local.INFO: Processing buffer {"connection_id":110443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:14:04] local.INFO: Packet analysis {"connection_id":110443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:14:04] local.INFO: Extracted packet for processing {"connection_id":110443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:14:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 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-06-23 06:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:14: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-06-23 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-06-23 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-06-23 06:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:14:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:14:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":110443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:14:04] local.INFO: GPS data processed {"connection_id":110443,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:14:04] local.INFO: Acknowledgment sent {"connection_id":110443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:14:25] local.INFO: TCP Data received {"connection_id":110631,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:14:25] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:14:25] local.INFO: IMEI packet received {"connection_id":110631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":110631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:14:30] local.INFO: TCP Data received {"connection_id":110631,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:14:30] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:14:30] local.INFO: IMEI packet received {"connection_id":110631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":110631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:14:33] local.INFO: TCP Data received {"connection_id":110631,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:14:33] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:14:33] local.INFO: Packet analysis {"connection_id":110631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:14:33] local.INFO: Extracted packet for processing {"connection_id":110631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:14:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:14:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:14:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:14:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":110631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:14:33] local.INFO: GPS data processed {"connection_id":110631,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:14:33] local.INFO: Acknowledgment sent {"connection_id":110631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:15:05] local.INFO: TCP Data received {"connection_id":110631,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:05] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1eb3480012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:05] local.INFO: Packet analysis {"connection_id":110631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:15:05] local.INFO: Extracted packet for processing {"connection_id":110631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1eb"} 
[2026-06-23 06:15:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236770048001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782175184000,"timestamp_ms":1782175184000,"timestamp_seconds":1782175184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1eb3480"} 
[2026-06-23 06:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236770048001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236770048001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:15:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:15:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236770048001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":110631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:15:05] local.INFO: GPS data processed {"connection_id":110631,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:15:05] local.INFO: Acknowledgment sent {"connection_id":110631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:15:30] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:15:30] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:15:30] local.INFO: IMEI packet received {"connection_id":110444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:15:35] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:15:35] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:15:35] local.INFO: IMEI packet received {"connection_id":110444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":110444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:15:37] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:37] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:37] local.INFO: Packet analysis {"connection_id":110444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:15:37] local.INFO: Extracted packet for processing {"connection_id":110444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:15:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:15: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-06-23 06:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:15:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:15:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":110444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:15:37] local.INFO: GPS data processed {"connection_id":110444,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:15:37] local.INFO: Acknowledgment sent {"connection_id":110444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:15:41] local.INFO: TCP Data received {"connection_id":110444,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:41] local.INFO: Processing buffer {"connection_id":110444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:15:41] local.INFO: Packet analysis {"connection_id":110444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:15:41] local.INFO: Extracted packet for processing {"connection_id":110444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:15:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:15: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-06-23 06:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:15:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:15:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":110444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:15:41] local.INFO: GPS data processed {"connection_id":110444,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:15:41] local.INFO: Acknowledgment sent {"connection_id":110444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:16:25] local.INFO: TCP Data received {"connection_id":112186,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:16:25] local.INFO: Processing buffer {"connection_id":112186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:16:25] local.INFO: IMEI packet received {"connection_id":112186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":112186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:16:30] local.INFO: TCP Data received {"connection_id":112186,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:16:30] local.INFO: Processing buffer {"connection_id":112186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:16:30] local.INFO: IMEI packet received {"connection_id":112186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":112186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:16:33] local.INFO: TCP Data received {"connection_id":110633,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:16:33] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:16:33] local.INFO: IMEI packet received {"connection_id":110633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":110633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:16:33] local.INFO: TCP Data received {"connection_id":112186,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:16:33] local.INFO: Processing buffer {"connection_id":112186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:16:33] local.INFO: Packet analysis {"connection_id":112186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:16:33] local.INFO: Extracted packet for processing {"connection_id":112186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:16:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:16:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:16:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:16:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":112186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:16:33] local.INFO: GPS data processed {"connection_id":112186,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:16:33] local.INFO: Acknowledgment sent {"connection_id":112186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:17:06] local.INFO: TCP Data received {"connection_id":112187,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:17:06] local.INFO: Processing buffer {"connection_id":112187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:17:06] local.INFO: IMEI packet received {"connection_id":112187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":112187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:17:08] local.INFO: TCP Data received {"connection_id":112186,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:08] local.INFO: Processing buffer {"connection_id":112186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:08] local.INFO: Packet analysis {"connection_id":112186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:17:08] local.INFO: Extracted packet for processing {"connection_id":112186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:17:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:17: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-06-23 06:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":112186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:17:08] local.INFO: GPS data processed {"connection_id":112186,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:17:08] local.INFO: Acknowledgment sent {"connection_id":112186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:17:30] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:17:30] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:17:30] local.INFO: IMEI packet received {"connection_id":111246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":111246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:17:35] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:17:35] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:17:35] local.INFO: IMEI packet received {"connection_id":111246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":111246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:17:39] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:39] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:39] local.INFO: Packet analysis {"connection_id":111246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:17:39] local.INFO: Extracted packet for processing {"connection_id":111246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":111246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:17:39] local.INFO: GPS data processed {"connection_id":111246,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:17:39] local.INFO: Acknowledgment sent {"connection_id":111246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:17:41] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:41] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:17:41] local.INFO: Packet analysis {"connection_id":111246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:17:41] local.INFO: Extracted packet for processing {"connection_id":111246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:17:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:17: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-06-23 06:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:17: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-06-23 06:17: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-06-23 06:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:17:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:17:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":111246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:17:41] local.INFO: GPS data processed {"connection_id":111246,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:17:41] local.INFO: Acknowledgment sent {"connection_id":111246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:18:25] local.INFO: TCP Data received {"connection_id":110634,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:18:25] local.INFO: Processing buffer {"connection_id":110634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:18:25] local.INFO: IMEI packet received {"connection_id":110634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":110634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:18:30] local.INFO: TCP Data received {"connection_id":110634,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:18:30] local.INFO: Processing buffer {"connection_id":110634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:18:30] local.INFO: IMEI packet received {"connection_id":110634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":110634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:18:31] local.INFO: TCP Data received {"connection_id":110634,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:18:31] local.INFO: Processing buffer {"connection_id":110634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:18:31] local.INFO: Packet analysis {"connection_id":110634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:18:31] local.INFO: Extracted packet for processing {"connection_id":110634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:18:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:18:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":110634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:18:31] local.INFO: GPS data processed {"connection_id":110634,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:18:31] local.INFO: Acknowledgment sent {"connection_id":110634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:19:04] local.INFO: TCP Data received {"connection_id":110634,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:19:04] local.INFO: Processing buffer {"connection_id":110634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:19:04] local.INFO: Packet analysis {"connection_id":110634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:19:04] local.INFO: Extracted packet for processing {"connection_id":110634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:19: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-06-23 06: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-06-23 06:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:19:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:19:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":110634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:19:04] local.INFO: GPS data processed {"connection_id":110634,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:19:04] local.INFO: Acknowledgment sent {"connection_id":110634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:19:25] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:19:25] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:19:25] local.INFO: IMEI packet received {"connection_id":110446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":110446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:19:30] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:19:30] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:19:30] local.INFO: IMEI packet received {"connection_id":110446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:19:33] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:19:33] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:19:33] local.INFO: Packet analysis {"connection_id":110446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:19:33] local.INFO: Extracted packet for processing {"connection_id":110446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:19:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:19:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:19:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:19:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:19:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":110446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:19:33] local.INFO: GPS data processed {"connection_id":110446,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:19:33] local.INFO: Acknowledgment sent {"connection_id":110446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:20:06] local.INFO: TCP Data received {"connection_id":110446,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:20:06] local.INFO: Processing buffer {"connection_id":110446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1efcc48012cc3308007685990005a00ee27..."} 
[2026-06-23 06:20:06] local.INFO: Packet analysis {"connection_id":110446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:20:06] local.INFO: Extracted packet for processing {"connection_id":110446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1ef"} 
[2026-06-23 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782175485000,"timestamp_ms":1782175485000,"timestamp_seconds":1782175485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1efcc48"} 
[2026-06-23 06:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236847104001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:20:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:20:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236847104001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":110446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:20:06] local.INFO: GPS data processed {"connection_id":110446,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:20:06] local.INFO: Acknowledgment sent {"connection_id":110446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:20:24] local.INFO: TCP Data received {"connection_id":112189,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:24] local.INFO: Processing buffer {"connection_id":112189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:24] local.INFO: IMEI packet received {"connection_id":112189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":112189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:20:25] local.INFO: TCP Data received {"connection_id":112189,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:25] local.INFO: Processing buffer {"connection_id":112189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:25] local.INFO: IMEI packet received {"connection_id":112189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":112189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:20:30] local.INFO: TCP Data received {"connection_id":112189,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:30] local.INFO: Processing buffer {"connection_id":112189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:20:30] local.INFO: IMEI packet received {"connection_id":112189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":112189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:20:32] local.INFO: TCP Data received {"connection_id":112189,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:20:32] local.INFO: Processing buffer {"connection_id":112189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:20:32] local.INFO: Packet analysis {"connection_id":112189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:20:32] local.INFO: Extracted packet for processing {"connection_id":112189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:20:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 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-06-23 06:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:20: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-06-23 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-06-23 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-06-23 06:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:20:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:20:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":112189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:20:32] local.INFO: GPS data processed {"connection_id":112189,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:20:32] local.INFO: Acknowledgment sent {"connection_id":112189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:21:05] local.INFO: TCP Data received {"connection_id":112189,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:21:05] local.INFO: Processing buffer {"connection_id":112189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:21:05] local.INFO: Packet analysis {"connection_id":112189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:21:05] local.INFO: Extracted packet for processing {"connection_id":112189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:21:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:21: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-06-23 06:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:21:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:21:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":112189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:21:05] local.INFO: GPS data processed {"connection_id":112189,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:21:05] local.INFO: Acknowledgment sent {"connection_id":112189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:21:25] local.INFO: TCP Data received {"connection_id":110636,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:21:25] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:21:25] local.INFO: IMEI packet received {"connection_id":110636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":110636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:21:30] local.INFO: TCP Data received {"connection_id":110636,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:21:30] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:21:30] local.INFO: IMEI packet received {"connection_id":110636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":110636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:21:33] local.INFO: TCP Data received {"connection_id":110636,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:21:33] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:21:33] local.INFO: Packet analysis {"connection_id":110636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:21:33] local.INFO: Extracted packet for processing {"connection_id":110636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:21:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:21:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:21:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:21:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:21:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":110636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:21:33] local.INFO: GPS data processed {"connection_id":110636,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:21:33] local.INFO: Acknowledgment sent {"connection_id":110636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:22:06] local.INFO: TCP Data received {"connection_id":110636,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:22:06] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:22:06] local.INFO: Packet analysis {"connection_id":110636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:22:06] local.INFO: Extracted packet for processing {"connection_id":110636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:22:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:22:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":110636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:22:06] local.INFO: GPS data processed {"connection_id":110636,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:22:06] local.INFO: Acknowledgment sent {"connection_id":110636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:22:25] local.INFO: TCP Data received {"connection_id":110447,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:22:25] local.INFO: Processing buffer {"connection_id":110447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:22:25] local.INFO: IMEI packet received {"connection_id":110447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":110447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:22:27] local.INFO: TCP Data received {"connection_id":112190,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:22:27] local.INFO: Processing buffer {"connection_id":112190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:22:27] local.INFO: IMEI packet received {"connection_id":112190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":112190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:22:30] local.INFO: TCP Data received {"connection_id":110447,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:22:30] local.INFO: Processing buffer {"connection_id":110447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:22:30] local.INFO: IMEI packet received {"connection_id":110447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":110447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:22:36] local.INFO: TCP Data received {"connection_id":110447,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:22:36] local.INFO: Processing buffer {"connection_id":110447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:22:36] local.INFO: Packet analysis {"connection_id":110447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:22:36] local.INFO: Extracted packet for processing {"connection_id":110447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:22:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:22:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:22:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":110447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:22:36] local.INFO: GPS data processed {"connection_id":110447,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:22:36] local.INFO: Acknowledgment sent {"connection_id":110447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:23:07] local.INFO: TCP Data received {"connection_id":112191,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:23:07] local.INFO: Processing buffer {"connection_id":112191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:23:07] local.INFO: IMEI packet received {"connection_id":112191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":112191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:23:08] local.INFO: TCP Data received {"connection_id":110447,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:08] local.INFO: Processing buffer {"connection_id":110447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:08] local.INFO: Packet analysis {"connection_id":110447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:23:08] local.INFO: Extracted packet for processing {"connection_id":110447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:23:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:23: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-06-23 06:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:23:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:23:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:23:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":110447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:23:08] local.INFO: GPS data processed {"connection_id":110447,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:23:08] local.INFO: Acknowledgment sent {"connection_id":110447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:23:30] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:23:30] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:23:30] local.INFO: IMEI packet received {"connection_id":111249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":111249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:23:35] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:23:35] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:23:35] local.INFO: IMEI packet received {"connection_id":111249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":111249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:23:37] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:37] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:37] local.INFO: Packet analysis {"connection_id":111249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:23:37] local.INFO: Extracted packet for processing {"connection_id":111249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:23:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:23: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-06-23 06:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:23:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:23:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":111249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:23:37] local.INFO: GPS data processed {"connection_id":111249,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:23:37] local.INFO: Acknowledgment sent {"connection_id":111249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:23:41] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:41] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:23:41] local.INFO: Packet analysis {"connection_id":111249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:23:41] local.INFO: Extracted packet for processing {"connection_id":111249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:23: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-06-23 06: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-06-23 06:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:23:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:23:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":111249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:23:41] local.INFO: GPS data processed {"connection_id":111249,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:23:41] local.INFO: Acknowledgment sent {"connection_id":111249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:24:25] local.INFO: TCP Data received {"connection_id":110449,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:24:25] local.INFO: Processing buffer {"connection_id":110449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:24:25] local.INFO: IMEI packet received {"connection_id":110449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:24:30] local.INFO: TCP Data received {"connection_id":110449,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:24:30] local.INFO: Processing buffer {"connection_id":110449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:24:30] local.INFO: IMEI packet received {"connection_id":110449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":110449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:24:32] local.INFO: TCP Data received {"connection_id":110449,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:24:32] local.INFO: Processing buffer {"connection_id":110449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:24:32] local.INFO: Packet analysis {"connection_id":110449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:24:32] local.INFO: Extracted packet for processing {"connection_id":110449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 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-06-23 06:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:24: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-06-23 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-06-23 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-06-23 06:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:24:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:24:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":110449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:24:32] local.INFO: GPS data processed {"connection_id":110449,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:24:32] local.INFO: Acknowledgment sent {"connection_id":110449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:25:05] local.INFO: TCP Data received {"connection_id":110449,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:25:06] local.INFO: Processing buffer {"connection_id":110449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f46410012cc3308007685990005a00ee27..."} 
[2026-06-23 06:25:06] local.INFO: Packet analysis {"connection_id":110449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:25:06] local.INFO: Extracted packet for processing {"connection_id":110449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f4"} 
[2026-06-23 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456236924160001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782175786000,"timestamp_ms":1782175786000,"timestamp_seconds":1782175786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f46410"} 
[2026-06-23 06:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456236924160001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456236924160001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:25:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:25:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456236924160001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":110449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:25:06] local.INFO: GPS data processed {"connection_id":110449,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:25:06] local.INFO: Acknowledgment sent {"connection_id":110449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:25:25] local.INFO: TCP Data received {"connection_id":111250,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:25] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:25] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:25:26] local.INFO: TCP Data received {"connection_id":111250,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:26] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:26] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:25:31] local.INFO: TCP Data received {"connection_id":111250,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:31] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:25:31] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:25:33] local.INFO: TCP Data received {"connection_id":111250,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:25:33] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:25:33] local.INFO: Packet analysis {"connection_id":111250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:25:33] local.INFO: Extracted packet for processing {"connection_id":111250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:25:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 06:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:25:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:25:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:25:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":111250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:25:33] local.INFO: GPS data processed {"connection_id":111250,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:25:33] local.INFO: Acknowledgment sent {"connection_id":111250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:26:05] local.INFO: TCP Data received {"connection_id":111250,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:26:05] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:26:05] local.INFO: Packet analysis {"connection_id":111250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:26:05] local.INFO: Extracted packet for processing {"connection_id":111250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:26:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 06:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:26: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-06-23 06:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:26:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:26:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":111250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:26:05] local.INFO: GPS data processed {"connection_id":111250,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:26:05] local.INFO: Acknowledgment sent {"connection_id":111250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:26:25] local.INFO: TCP Data received {"connection_id":112193,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:26:25] local.INFO: Processing buffer {"connection_id":112193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:26:25] local.INFO: IMEI packet received {"connection_id":112193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":112193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:26:30] local.INFO: TCP Data received {"connection_id":112193,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:26:30] local.INFO: Processing buffer {"connection_id":112193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:26:30] local.INFO: IMEI packet received {"connection_id":112193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":112193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:26:31] local.INFO: TCP Data received {"connection_id":112193,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:26:32] local.INFO: Processing buffer {"connection_id":112193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:26:32] local.INFO: Packet analysis {"connection_id":112193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:26:32] local.INFO: Extracted packet for processing {"connection_id":112193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:26:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:26:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 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-06-23 06:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:26:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:26:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:26:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":112193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:26:32] local.INFO: GPS data processed {"connection_id":112193,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:26:32] local.INFO: Acknowledgment sent {"connection_id":112193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:27:04] local.INFO: TCP Data received {"connection_id":112193,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:27:04] local.INFO: Processing buffer {"connection_id":112193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:27:04] local.INFO: Packet analysis {"connection_id":112193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:27:04] local.INFO: Extracted packet for processing {"connection_id":112193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:27:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 06:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:27:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:27:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":112193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:27:04] local.INFO: GPS data processed {"connection_id":112193,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:27:04] local.INFO: Acknowledgment sent {"connection_id":112193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:27:25] local.INFO: TCP Data received {"connection_id":110637,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:27:25] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:27:25] local.INFO: IMEI packet received {"connection_id":110637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":110637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:27:30] local.INFO: TCP Data received {"connection_id":110637,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:27:30] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:27:30] local.INFO: IMEI packet received {"connection_id":110637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":110637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:27:32] local.INFO: TCP Data received {"connection_id":110637,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:27:32] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:27:32] local.INFO: Packet analysis {"connection_id":110637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:27:32] local.INFO: Extracted packet for processing {"connection_id":110637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:27:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 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-06-23 06:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:27:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:27:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":110637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:27:32] local.INFO: GPS data processed {"connection_id":110637,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:27:32] local.INFO: Acknowledgment sent {"connection_id":110637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:28:03] local.INFO: TCP Data received {"connection_id":110637,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:28:03] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:28:03] local.INFO: Packet analysis {"connection_id":110637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:28:03] local.INFO: Extracted packet for processing {"connection_id":110637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:28:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 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-06-23 06:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:28:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":110637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:28:03] local.INFO: GPS data processed {"connection_id":110637,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:28:03] local.INFO: Acknowledgment sent {"connection_id":110637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:28:25] local.INFO: TCP Data received {"connection_id":110451,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:28:25] local.INFO: Processing buffer {"connection_id":110451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:28:25] local.INFO: IMEI packet received {"connection_id":110451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":110451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:28:27] local.INFO: TCP Data received {"connection_id":110638,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:28:27] local.INFO: Processing buffer {"connection_id":110638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:28:27] local.INFO: IMEI packet received {"connection_id":110638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":110638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:28:30] local.INFO: TCP Data received {"connection_id":110451,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:28:30] local.INFO: Processing buffer {"connection_id":110451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:28:30] local.INFO: IMEI packet received {"connection_id":110451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:28:32] local.INFO: TCP Data received {"connection_id":110451,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:28:32] local.INFO: Processing buffer {"connection_id":110451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:28:32] local.INFO: Packet analysis {"connection_id":110451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:28:32] local.INFO: Extracted packet for processing {"connection_id":110451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:28:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 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-06-23 06:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:28:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:28:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":110451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:28:32] local.INFO: GPS data processed {"connection_id":110451,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:28:32] local.INFO: Acknowledgment sent {"connection_id":110451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:29:04] local.INFO: TCP Data received {"connection_id":110451,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:29:04] local.INFO: Processing buffer {"connection_id":110451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:29:04] local.INFO: Packet analysis {"connection_id":110451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:29:04] local.INFO: Extracted packet for processing {"connection_id":110451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 06:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:29:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:29:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":110451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:29:04] local.INFO: GPS data processed {"connection_id":110451,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:29:04] local.INFO: Acknowledgment sent {"connection_id":110451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:29:09] local.INFO: TCP Data received {"connection_id":110452,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:29:09] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:29:09] local.INFO: IMEI packet received {"connection_id":110452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":110452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:29:10] local.INFO: TCP Data received {"connection_id":110452,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:29:10] local.INFO: Processing buffer {"connection_id":110452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:29:10] local.INFO: IMEI packet received {"connection_id":110452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 06:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":110452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:29:25] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:29:25] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:29:25] local.INFO: IMEI packet received {"connection_id":110453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":110453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:29:30] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:29:30] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:29:30] local.INFO: IMEI packet received {"connection_id":110453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":110453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:29:32] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:29:32] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:29:32] local.INFO: Packet analysis {"connection_id":110453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:29:32] local.INFO: Extracted packet for processing {"connection_id":110453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:29:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 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-06-23 06:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:29:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:29:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":110453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:29:32] local.INFO: GPS data processed {"connection_id":110453,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:29:32] local.INFO: Acknowledgment sent {"connection_id":110453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:30:03] local.INFO: TCP Data received {"connection_id":110453,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:30:03] local.INFO: Processing buffer {"connection_id":110453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1f8fbd8012cc3308007685990005a00ee27..."} 
[2026-06-23 06:30:03] local.INFO: Packet analysis {"connection_id":110453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:30:03] local.INFO: Extracted packet for processing {"connection_id":110453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1f8"} 
[2026-06-23 06:30:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237001216001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782176087000,"timestamp_ms":1782176087000,"timestamp_seconds":1782176087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1f8fbd8"} 
[2026-06-23 06:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 06:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237001216001,"66":25147,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237001216001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:30:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237001216001,"power":25147,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":110453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:30:03] local.INFO: GPS data processed {"connection_id":110453,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:30:03] local.INFO: Acknowledgment sent {"connection_id":110453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:30:26] local.INFO: TCP Data received {"connection_id":111252,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:26] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:26] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:30:30] local.INFO: TCP Data received {"connection_id":111252,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:30] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:30] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:30:35] local.INFO: TCP Data received {"connection_id":111252,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:35] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:30:35] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:30:37] local.INFO: TCP Data received {"connection_id":111252,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:30:37] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:30:37] local.INFO: Packet analysis {"connection_id":111252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:30:37] local.INFO: Extracted packet for processing {"connection_id":111252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:30:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:30:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":111252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:30:37] local.INFO: GPS data processed {"connection_id":111252,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:30:37] local.INFO: Acknowledgment sent {"connection_id":111252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:30:42] local.INFO: TCP Data received {"connection_id":111252,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:30:42] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:30:42] local.INFO: Packet analysis {"connection_id":111252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:30:42] local.INFO: Extracted packet for processing {"connection_id":111252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:30:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:30:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:30:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":111252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:30:42] local.INFO: GPS data processed {"connection_id":111252,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:30:42] local.INFO: Acknowledgment sent {"connection_id":111252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:31:30] local.INFO: TCP Data received {"connection_id":112196,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:31:30] local.INFO: Processing buffer {"connection_id":112196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:31:30] local.INFO: IMEI packet received {"connection_id":112196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":112196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:31:35] local.INFO: TCP Data received {"connection_id":112196,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:31:35] local.INFO: Processing buffer {"connection_id":112196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:31:35] local.INFO: IMEI packet received {"connection_id":112196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":112196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:31:38] local.INFO: TCP Data received {"connection_id":112196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:31:38] local.INFO: Processing buffer {"connection_id":112196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:31:38] local.INFO: Packet analysis {"connection_id":112196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:31:38] local.INFO: Extracted packet for processing {"connection_id":112196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:31:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:31:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":112196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:31:38] local.INFO: GPS data processed {"connection_id":112196,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:31:38] local.INFO: Acknowledgment sent {"connection_id":112196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:31:41] local.INFO: TCP Data received {"connection_id":112196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:31:41] local.INFO: Processing buffer {"connection_id":112196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:31:41] local.INFO: Packet analysis {"connection_id":112196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:31:41] local.INFO: Extracted packet for processing {"connection_id":112196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:31:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:31:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:31:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":112196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:31:41] local.INFO: GPS data processed {"connection_id":112196,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:31:41] local.INFO: Acknowledgment sent {"connection_id":112196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:32:25] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:32:25] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:32:25] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:32:30] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:32:30] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:32:30] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:32:33] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:32:33] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:32:33] local.INFO: Packet analysis {"connection_id":110640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:32:33] local.INFO: Extracted packet for processing {"connection_id":110640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:32:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:32:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:32:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:32:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:32:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":110640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:32:33] local.INFO: GPS data processed {"connection_id":110640,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:32:33] local.INFO: Acknowledgment sent {"connection_id":110640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:33:07] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:33:07] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:33:07] local.INFO: Packet analysis {"connection_id":110640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:33:07] local.INFO: Extracted packet for processing {"connection_id":110640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:33:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:33:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:33:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":110640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:33:07] local.INFO: GPS data processed {"connection_id":110640,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:33:07] local.INFO: Acknowledgment sent {"connection_id":110640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:33:25] local.INFO: TCP Data received {"connection_id":112197,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:33:25] local.INFO: Processing buffer {"connection_id":112197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:33:25] local.INFO: IMEI packet received {"connection_id":112197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":112197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:33:30] local.INFO: TCP Data received {"connection_id":112197,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:33:30] local.INFO: Processing buffer {"connection_id":112197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:33:30] local.INFO: IMEI packet received {"connection_id":112197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":112197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:33:33] local.INFO: TCP Data received {"connection_id":112197,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:33:33] local.INFO: Processing buffer {"connection_id":112197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:33:33] local.INFO: Packet analysis {"connection_id":112197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:33:33] local.INFO: Extracted packet for processing {"connection_id":112197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:33:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:33:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:33:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:33:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:33:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":112197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:33:33] local.INFO: GPS data processed {"connection_id":112197,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:33:33] local.INFO: Acknowledgment sent {"connection_id":112197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:34:06] local.INFO: TCP Data received {"connection_id":112197,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:34:06] local.INFO: Processing buffer {"connection_id":112197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:34:06] local.INFO: Packet analysis {"connection_id":112197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:34:06] local.INFO: Extracted packet for processing {"connection_id":112197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:34:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:34:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":112197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:34:06] local.INFO: GPS data processed {"connection_id":112197,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:34:06] local.INFO: Acknowledgment sent {"connection_id":112197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:34:18] local.INFO: TCP Data received {"connection_id":112198,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:34:18] local.INFO: Processing buffer {"connection_id":112198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:34:18] local.INFO: IMEI packet received {"connection_id":112198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":112198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:34:25] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:34:25] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:34:25] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:34:30] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:34:30] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:34:30] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:34:32] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:34:32] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:34:32] local.INFO: Packet analysis {"connection_id":111254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:34:32] local.INFO: Extracted packet for processing {"connection_id":111254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:34:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 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-06-23 06:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:34:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:34:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":111254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:34:32] local.INFO: GPS data processed {"connection_id":111254,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:34:32] local.INFO: Acknowledgment sent {"connection_id":111254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:35:05] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:35:05] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef1fd9788012cc3308007685990005a00ee26..."} 
[2026-06-23 06:35:05] local.INFO: Packet analysis {"connection_id":111254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:35:05] local.INFO: Extracted packet for processing {"connection_id":111254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef1fd"} 
[2026-06-23 06:35:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782176389000,"timestamp_ms":1782176389000,"timestamp_seconds":1782176389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef1fd9788"} 
[2026-06-23 06:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 06:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237078272001,"66":25180,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:35:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:35:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237078272001,"power":25180,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":111254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:35:05] local.INFO: GPS data processed {"connection_id":111254,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:35:05] local.INFO: Acknowledgment sent {"connection_id":111254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:35:27] local.INFO: TCP Data received {"connection_id":111256,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:27] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:27] local.INFO: IMEI packet received {"connection_id":111256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":111256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:35:30] local.INFO: TCP Data received {"connection_id":111256,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:30] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:30] local.INFO: IMEI packet received {"connection_id":111256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":111256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:35:35] local.INFO: TCP Data received {"connection_id":111256,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:35] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:35:35] local.INFO: IMEI packet received {"connection_id":111256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":111256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:35:36] local.INFO: TCP Data received {"connection_id":111256,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:35:36] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:35:36] local.INFO: Packet analysis {"connection_id":111256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:35:36] local.INFO: Extracted packet for processing {"connection_id":111256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:35:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:35:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":111256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:35:36] local.INFO: GPS data processed {"connection_id":111256,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:35:36] local.INFO: Acknowledgment sent {"connection_id":111256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:35:43] local.INFO: TCP Data received {"connection_id":111256,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:35:43] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:35:43] local.INFO: Packet analysis {"connection_id":111256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:35:43] local.INFO: Extracted packet for processing {"connection_id":111256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":111256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:35:43] local.INFO: GPS data processed {"connection_id":111256,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:35:43] local.INFO: Acknowledgment sent {"connection_id":111256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:36:30] local.INFO: TCP Data received {"connection_id":112199,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:36:30] local.INFO: Processing buffer {"connection_id":112199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:36:30] local.INFO: IMEI packet received {"connection_id":112199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":112199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:36:35] local.INFO: TCP Data received {"connection_id":112199,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:36:35] local.INFO: Processing buffer {"connection_id":112199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:36:35] local.INFO: IMEI packet received {"connection_id":112199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":112199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:36:37] local.INFO: TCP Data received {"connection_id":112199,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:36:37] local.INFO: Processing buffer {"connection_id":112199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:36:37] local.INFO: Packet analysis {"connection_id":112199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:36:37] local.INFO: Extracted packet for processing {"connection_id":112199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:36: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-06-23 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:36:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:36:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":112199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:36:37] local.INFO: GPS data processed {"connection_id":112199,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:36:37] local.INFO: Acknowledgment sent {"connection_id":112199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:36:41] local.INFO: TCP Data received {"connection_id":112199,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:36:41] local.INFO: Processing buffer {"connection_id":112199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:36:41] local.INFO: Packet analysis {"connection_id":112199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:36:41] local.INFO: Extracted packet for processing {"connection_id":112199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:36: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-06-23 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:36:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:36:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":112199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:36:41] local.INFO: GPS data processed {"connection_id":112199,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:36:41] local.INFO: Acknowledgment sent {"connection_id":112199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:37:25] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:37:25] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:37:25] local.INFO: IMEI packet received {"connection_id":110642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":110642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:37:30] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:37:30] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:37:30] local.INFO: IMEI packet received {"connection_id":110642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":110642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:37:32] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:37:32] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:37:32] local.INFO: Packet analysis {"connection_id":110642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:37:32] local.INFO: Extracted packet for processing {"connection_id":110642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:37:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 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-06-23 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:37: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-06-23 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-06-23 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-06-23 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:37:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:37:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:37:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":110642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:37:32] local.INFO: GPS data processed {"connection_id":110642,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:37:32] local.INFO: Acknowledgment sent {"connection_id":110642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:38:05] local.INFO: TCP Data received {"connection_id":110642,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:38:05] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:38:05] local.INFO: Packet analysis {"connection_id":110642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:38:05] local.INFO: Extracted packet for processing {"connection_id":110642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:38:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:38:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:38:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":110642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:38:05] local.INFO: GPS data processed {"connection_id":110642,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:38:05] local.INFO: Acknowledgment sent {"connection_id":110642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:38:25] local.INFO: TCP Data received {"connection_id":111258,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:38:25] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:38:25] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:38:30] local.INFO: TCP Data received {"connection_id":111258,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:38:30] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:38:30] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:38:33] local.INFO: TCP Data received {"connection_id":111258,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:38:33] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:38:33] local.INFO: Packet analysis {"connection_id":111258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:38:33] local.INFO: Extracted packet for processing {"connection_id":111258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:38:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:38:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:38:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:38:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":111258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:38:33] local.INFO: GPS data processed {"connection_id":111258,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:38:33] local.INFO: Acknowledgment sent {"connection_id":111258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:39:08] local.INFO: TCP Data received {"connection_id":111258,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:39:08] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:39:08] local.INFO: Packet analysis {"connection_id":111258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:39:08] local.INFO: Extracted packet for processing {"connection_id":111258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:39:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":111258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:39:08] local.INFO: GPS data processed {"connection_id":111258,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:39:08] local.INFO: Acknowledgment sent {"connection_id":111258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:39:25] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:39:25] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:39:25] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:39:30] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:39:30] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:39:30] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:39:33] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:39:33] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:39:33] local.INFO: Packet analysis {"connection_id":110643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:39:33] local.INFO: Extracted packet for processing {"connection_id":110643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:39:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:39:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:39:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":110643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:39:33] local.INFO: GPS data processed {"connection_id":110643,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:39:33] local.INFO: Acknowledgment sent {"connection_id":110643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:40:04] local.INFO: TCP Data received {"connection_id":111259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:04] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:04] local.INFO: IMEI packet received {"connection_id":111259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":111259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:40:05] local.INFO: TCP Data received {"connection_id":110643,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:40:05] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2023b08012cc3308007685990005a00ee27..."} 
[2026-06-23 06:40:05] local.INFO: Packet analysis {"connection_id":110643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:40:05] local.INFO: Extracted packet for processing {"connection_id":110643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef202"} 
[2026-06-23 06:40:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782176693000,"timestamp_ms":1782176693000,"timestamp_seconds":1782176693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2023b08"} 
[2026-06-23 06:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:40: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-06-23 06:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 06:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237155584001,"66":25288,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:40:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:40:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237155584001,"power":25288,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":110643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:40:05] local.INFO: GPS data processed {"connection_id":110643,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:40:05] local.INFO: Acknowledgment sent {"connection_id":110643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:40:08] local.INFO: TCP Data received {"connection_id":111259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:08] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:08] local.INFO: IMEI packet received {"connection_id":111259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 06:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":111259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:40:13] local.INFO: TCP Data received {"connection_id":111259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:13] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:40:13] local.INFO: IMEI packet received {"connection_id":111259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 06:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":111259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:40:28] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:28] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:28] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:40:30] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:30] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:30] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:40:37] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:37] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:40:37] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:40:38] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:40:38] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:40:38] local.INFO: Packet analysis {"connection_id":111260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:40:38] local.INFO: Extracted packet for processing {"connection_id":111260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:40:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:40:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:40:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:40:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:40:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":111260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:40:39] local.INFO: GPS data processed {"connection_id":111260,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:40:39] local.INFO: Acknowledgment sent {"connection_id":111260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:41:10] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:41:10] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:41:10] local.INFO: Packet analysis {"connection_id":111260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:41:10] local.INFO: Extracted packet for processing {"connection_id":111260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:41:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:41:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":111260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:41:10] local.INFO: GPS data processed {"connection_id":111260,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:41:10] local.INFO: Acknowledgment sent {"connection_id":111260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:41:25] local.INFO: TCP Data received {"connection_id":110644,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:41:25] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:41:25] local.INFO: IMEI packet received {"connection_id":110644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":110644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:41:30] local.INFO: TCP Data received {"connection_id":110644,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:41:30] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:41:30] local.INFO: IMEI packet received {"connection_id":110644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":110644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:41:31] local.INFO: TCP Data received {"connection_id":110644,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:41:31] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:41:31] local.INFO: Packet analysis {"connection_id":110644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:41:31] local.INFO: Extracted packet for processing {"connection_id":110644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:41:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:41:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:41:31] local.INFO: GPS data processed {"connection_id":110644,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:41:31] local.INFO: Acknowledgment sent {"connection_id":110644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:42:03] local.INFO: TCP Data received {"connection_id":110644,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:42:03] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:42:03] local.INFO: Packet analysis {"connection_id":110644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:42:03] local.INFO: Extracted packet for processing {"connection_id":110644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:42:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 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-06-23 06:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:42:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:42:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":110644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:42:03] local.INFO: GPS data processed {"connection_id":110644,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:42:03] local.INFO: Acknowledgment sent {"connection_id":110644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:42:25] local.INFO: TCP Data received {"connection_id":110646,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:42:25] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:42:25] local.INFO: IMEI packet received {"connection_id":110646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":110646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:42:30] local.INFO: TCP Data received {"connection_id":110646,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:42:30] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:42:30] local.INFO: IMEI packet received {"connection_id":110646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":110646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:42:31] local.INFO: TCP Data received {"connection_id":110646,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:42:31] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:42:31] local.INFO: Packet analysis {"connection_id":110646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:42:31] local.INFO: Extracted packet for processing {"connection_id":110646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:42:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":110646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:42:31] local.INFO: GPS data processed {"connection_id":110646,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:42:31] local.INFO: Acknowledgment sent {"connection_id":110646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:43:04] local.INFO: TCP Data received {"connection_id":110646,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:43:04] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:43:04] local.INFO: Packet analysis {"connection_id":110646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:43:04] local.INFO: Extracted packet for processing {"connection_id":110646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:43:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:43:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:43:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":110646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:43:04] local.INFO: GPS data processed {"connection_id":110646,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:43:04] local.INFO: Acknowledgment sent {"connection_id":110646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:43:25] local.INFO: TCP Data received {"connection_id":112203,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:43:25] local.INFO: Processing buffer {"connection_id":112203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:43:25] local.INFO: IMEI packet received {"connection_id":112203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":112203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:43:30] local.INFO: TCP Data received {"connection_id":112203,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:43:30] local.INFO: Processing buffer {"connection_id":112203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:43:30] local.INFO: IMEI packet received {"connection_id":112203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":112203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:43:31] local.INFO: TCP Data received {"connection_id":112203,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:43:31] local.INFO: Processing buffer {"connection_id":112203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:43:31] local.INFO: Packet analysis {"connection_id":112203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:43:31] local.INFO: Extracted packet for processing {"connection_id":112203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:43:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:43:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:43:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":112203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:43:31] local.INFO: GPS data processed {"connection_id":112203,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:43:31] local.INFO: Acknowledgment sent {"connection_id":112203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:44:03] local.INFO: TCP Data received {"connection_id":112203,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:03] local.INFO: Processing buffer {"connection_id":112203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:03] local.INFO: Packet analysis {"connection_id":112203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:44:03] local.INFO: Extracted packet for processing {"connection_id":112203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:44:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 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-06-23 06:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:44:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:44:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":112203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:44:03] local.INFO: GPS data processed {"connection_id":112203,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:44:03] local.INFO: Acknowledgment sent {"connection_id":112203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:44:30] local.INFO: TCP Data received {"connection_id":111262,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:44:30] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:44:30] local.INFO: IMEI packet received {"connection_id":111262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":111262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:44:35] local.INFO: TCP Data received {"connection_id":111262,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:44:35] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:44:35] local.INFO: IMEI packet received {"connection_id":111262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":111262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:44:36] local.INFO: TCP Data received {"connection_id":111262,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:36] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:36] local.INFO: Packet analysis {"connection_id":111262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:44:36] local.INFO: Extracted packet for processing {"connection_id":111262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:44:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:44:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:44:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":111262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:44:36] local.INFO: GPS data processed {"connection_id":111262,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:44:36] local.INFO: Acknowledgment sent {"connection_id":111262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:44:41] local.INFO: TCP Data received {"connection_id":111262,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:41] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef206c330012cc3308007685990005a00ee29..."} 
[2026-06-23 06:44:41] local.INFO: Packet analysis {"connection_id":111262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:44:41] local.INFO: Extracted packet for processing {"connection_id":111262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef206"} 
[2026-06-23 06:44:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782176990000,"timestamp_ms":1782176990000,"timestamp_seconds":1782176990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef206c330"} 
[2026-06-23 06:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 06:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237233408001,"66":25201,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:44:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:44:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237233408001,"power":25201,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":111262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:44:41] local.INFO: GPS data processed {"connection_id":111262,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:44:41] local.INFO: Acknowledgment sent {"connection_id":111262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:45:35] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:45:35] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:45:35] local.INFO: IMEI packet received {"connection_id":111263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":111263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:45:38] local.INFO: TCP Data received {"connection_id":110456,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:45:38] local.INFO: Processing buffer {"connection_id":110456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:45:38] local.INFO: IMEI packet received {"connection_id":110456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":110456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:45:40] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:45:40] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:45:40] local.INFO: IMEI packet received {"connection_id":111263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":111263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:45:41] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:45:41] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:45:41] local.INFO: Packet analysis {"connection_id":111263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:45:41] local.INFO: Extracted packet for processing {"connection_id":111263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:45:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:45:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":111263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:45:41] local.INFO: GPS data processed {"connection_id":111263,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:45:41] local.INFO: Acknowledgment sent {"connection_id":111263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:46:08] local.INFO: TCP Data received {"connection_id":110457,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:46:08] local.INFO: Processing buffer {"connection_id":110457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:46:08] local.INFO: IMEI packet received {"connection_id":110457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":110457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:46:25] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:46:25] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:46:25] local.INFO: IMEI packet received {"connection_id":111264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":111264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:46:30] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:46:30] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:46:30] local.INFO: IMEI packet received {"connection_id":111264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":111264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:46:31] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:46:31] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:46:31] local.INFO: Packet analysis {"connection_id":111264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:46:31] local.INFO: Extracted packet for processing {"connection_id":111264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:46:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:46:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":111264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:46:31] local.INFO: GPS data processed {"connection_id":111264,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:46:31] local.INFO: Acknowledgment sent {"connection_id":111264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:47:03] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:47:03] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:47:03] local.INFO: Packet analysis {"connection_id":111264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:47:03] local.INFO: Extracted packet for processing {"connection_id":111264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 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-06-23 06:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:47:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:47:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":111264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:47:03] local.INFO: GPS data processed {"connection_id":111264,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:47:03] local.INFO: Acknowledgment sent {"connection_id":111264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:47:25] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:47:25] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:47:25] local.INFO: IMEI packet received {"connection_id":110458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":110458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:47:30] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:47:30] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:47:30] local.INFO: IMEI packet received {"connection_id":110458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":110458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:47:31] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:47:31] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:47:31] local.INFO: Packet analysis {"connection_id":110458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:47:31] local.INFO: Extracted packet for processing {"connection_id":110458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:47:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:47:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:47:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":110458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:47:31] local.INFO: GPS data processed {"connection_id":110458,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:47:31] local.INFO: Acknowledgment sent {"connection_id":110458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:48:03] local.INFO: TCP Data received {"connection_id":110458,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:03] local.INFO: Processing buffer {"connection_id":110458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:03] local.INFO: Packet analysis {"connection_id":110458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:48:03] local.INFO: Extracted packet for processing {"connection_id":110458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:48:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:48:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:48:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:48:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":110458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:48:03] local.INFO: GPS data processed {"connection_id":110458,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:48:03] local.INFO: Acknowledgment sent {"connection_id":110458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:48:30] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:48:30] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:48:30] local.INFO: IMEI packet received {"connection_id":110460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":110460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:48:35] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:48:35] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:48:35] local.INFO: IMEI packet received {"connection_id":110460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":110460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:48:37] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:37] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:37] local.INFO: Packet analysis {"connection_id":110460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:48:37] local.INFO: Extracted packet for processing {"connection_id":110460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:48:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:48:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":110460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:48:37] local.INFO: GPS data processed {"connection_id":110460,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:48:37] local.INFO: Acknowledgment sent {"connection_id":110460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:48:41] local.INFO: TCP Data received {"connection_id":110460,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:41] local.INFO: Processing buffer {"connection_id":110460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:48:41] local.INFO: Packet analysis {"connection_id":110460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:48:41] local.INFO: Extracted packet for processing {"connection_id":110460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:48:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:48:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":110460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:48:41] local.INFO: GPS data processed {"connection_id":110460,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:48:41] local.INFO: Acknowledgment sent {"connection_id":110460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:49:17] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:17] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:17] local.INFO: IMEI packet received {"connection_id":112205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 06:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":112205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:49:18] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:18] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:18] local.INFO: IMEI packet received {"connection_id":112205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 06:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":112205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:49:22] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:22] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:49:22] local.INFO: IMEI packet received {"connection_id":112205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 06:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":112205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:49:23] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 06:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 06:49:23] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 06:49:23] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 06:49:23] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 06:49: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-06-23 06: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-06-23 06:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 06:49:23] 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-06-23 06:49:23] 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-06-23 06:49:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 06:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 06:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 06:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 06:49:23] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 06:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 06:49:23] local.ERROR: GPS data processing failed {"connection_id":112205,"error":"No valid data to process"} 
[2026-06-23 06:49:23] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 06:49:25] local.INFO: TCP Data received {"connection_id":110462,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:49:25] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:49:25] local.INFO: IMEI packet received {"connection_id":110462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":110462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:49:30] local.INFO: TCP Data received {"connection_id":110462,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:49:30] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:49:30] local.INFO: IMEI packet received {"connection_id":110462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":110462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:49:31] local.INFO: TCP Data received {"connection_id":110462,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:49:31] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:49:31] local.INFO: Packet analysis {"connection_id":110462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:49:31] local.INFO: Extracted packet for processing {"connection_id":110462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 06:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:49:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:49:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":110462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:49:31] local.INFO: GPS data processed {"connection_id":110462,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:49:31] local.INFO: Acknowledgment sent {"connection_id":110462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:49:55] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 06:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 06:49:55] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 06:49:55] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 06:49:55] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 06:49:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-23 06:49: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-06-23 06:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 06:49:55] 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-06-23 06:49:55] 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-06-23 06:49:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 06:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 06:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 06:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 06:49:55] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 06:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 06:49:55] local.ERROR: GPS data processing failed {"connection_id":112205,"error":"No valid data to process"} 
[2026-06-23 06:49:55] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 06:50:04] local.INFO: TCP Data received {"connection_id":110462,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:50:04] local.INFO: Processing buffer {"connection_id":110462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20b5af8012cc3308007685990005a00ee26..."} 
[2026-06-23 06:50:04] local.INFO: Packet analysis {"connection_id":110462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:50:04] local.INFO: Extracted packet for processing {"connection_id":110462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20b"} 
[2026-06-23 06:50:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237309440001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782177291000,"timestamp_ms":1782177291000,"timestamp_seconds":1782177291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20b5af8"} 
[2026-06-23 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-06-23 06:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 06:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 06:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237309440001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237309440001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:50:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:50:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237309440001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":110462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:50:04] local.INFO: GPS data processed {"connection_id":110462,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:50:04] local.INFO: Acknowledgment sent {"connection_id":110462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:50:24] local.INFO: TCP Data received {"connection_id":111266,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:50:25] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:50:25] local.INFO: IMEI packet received {"connection_id":111266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":111266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:50:26] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2100a300100000000000000000000000000..."} 
[2026-06-23 06:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2100a300100000000000000000000000000..."} 
[2026-06-23 06:50:26] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2100a300100000000000000000000000000..."} 
[2026-06-23 06:50:26] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef210"} 
[2026-06-23 06:50:26] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef210"} 
[2026-06-23 06:50: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-06-23 06:50: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-06-23 06:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:26] 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-06-23 06:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782177598000,"timestamp_ms":1782177598000,"timestamp_seconds":1782177598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2100a30"} 
[2026-06-23 06:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:50:26] 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-06-23 06:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 06:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:50: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-06-23 06:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 06:50:26] local.INFO: GPS data processed {"connection_id":112205,"processed":0,"errors":0,"total":1} 
[2026-06-23 06:50:26] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:50:30] local.INFO: TCP Data received {"connection_id":111266,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:50:30] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:50:30] local.INFO: IMEI packet received {"connection_id":111266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":111266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:50:31] local.INFO: TCP Data received {"connection_id":111266,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:50:31] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:50:31] local.INFO: Packet analysis {"connection_id":111266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:50:31] local.INFO: Extracted packet for processing {"connection_id":111266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:50:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:50:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":111266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:50:31] local.INFO: GPS data processed {"connection_id":111266,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:50:31] local.INFO: Acknowledgment sent {"connection_id":111266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:50:57] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2103910012d7e45c005d356a80000004e09..."} 
[2026-06-23 06:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2103910012d7e45c005d356a80000004e09..."} 
[2026-06-23 06:50:57] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2103910012d7e45c005d356a80000004e09..."} 
[2026-06-23 06:50:57] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef210"} 
[2026-06-23 06:50:57] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef210"} 
[2026-06-23 06:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763250112,"raw_latitude":97736360,"longitude_deg":76.3250112,"latitude_deg":9.773636,"altitude":0,"angle":78,"satellites":9,"speed":0,"hex_longitude":"2d7e45c0","hex_latitude":"05d356a8","is_valid_coordinates":true} 
[2026-06-23 06:50:57] 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-06-23 06:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96139789199212544,"note":"Value kept but may cause issues"} 
[2026-06-23 06:50:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 06:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782177610000,"timestamp_ms":1782177610000,"timestamp_seconds":1782177610,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2103910"} 
[2026-06-23 06:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:50:57] 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-06-23 06:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-06-23 06:50:57] 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-06-23 06:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13515,"197":206,"85":15104,"24":0,"16":96139789199212544},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-06-23 06:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-23 06:50:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 06:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96139789199212544,"km_value":96139789199212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:50:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13515,"unknown_197":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-06-23 06:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:50:57] local.INFO: GPS data processed {"connection_id":112205,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:50:57] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:51:03] local.INFO: TCP Data received {"connection_id":111266,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:03] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:03] local.INFO: Packet analysis {"connection_id":111266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:51:03] local.INFO: Extracted packet for processing {"connection_id":111266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 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-06-23 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:51: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-06-23 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-06-23 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-06-23 06:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:51:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:51:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":111266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:51:03] local.INFO: GPS data processed {"connection_id":111266,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:51:03] local.INFO: Acknowledgment sent {"connection_id":111266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:51:23] local.INFO: TCP Data received {"connection_id":110463,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:51:23] local.INFO: Processing buffer {"connection_id":110463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:51:23] local.INFO: IMEI packet received {"connection_id":110463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":110463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:51:28] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2112b40012d7e5e0005d34d68000200a40e..."} 
[2026-06-23 06:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2112b40012d7e5e0005d34d68000200a40e..."} 
[2026-06-23 06:51:28] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2112b40012d7e5e0005d34d68000200a40e..."} 
[2026-06-23 06:51:28] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:51:28] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763256320,"raw_latitude":97733992,"longitude_deg":76.325632,"latitude_deg":9.7733992,"altitude":2,"angle":164,"satellites":14,"speed":21,"hex_longitude":"2d7e5e00","hex_latitude":"05d34d68","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237483776001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96140334660059136,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105434046633048064,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51: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-06-23 06:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782177672000,"timestamp_ms":1782177672000,"timestamp_seconds":1782177672,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2112b40"} 
[2026-06-23 06:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 06:51:28] 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-06-23 06: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-06-23 06:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237483776001,"66":13646,"109":206,"85":15104,"24":21,"16":96140334660059136,"45":9105434046633048064},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 06:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237483776001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:51:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 06:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96140334660059136,"km_value":96140334660059.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105434046633048064,"description":"Unknown IO ID 45"} 
[2026-06-23 06:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237483776001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9105434046633048064}} 
[2026-06-23 06:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:51:28] local.INFO: GPS data processed {"connection_id":112205,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:51:28] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:51:30] local.INFO: TCP Data received {"connection_id":110464,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:51:30] local.INFO: Processing buffer {"connection_id":110464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:51:30] local.INFO: IMEI packet received {"connection_id":110464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":110464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:51:35] local.INFO: TCP Data received {"connection_id":110464,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:51:35] local.INFO: Processing buffer {"connection_id":110464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:51:35] local.INFO: IMEI packet received {"connection_id":110464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":110464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:51:36] local.INFO: TCP Data received {"connection_id":110464,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:36] local.INFO: Processing buffer {"connection_id":110464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:36] local.INFO: Packet analysis {"connection_id":110464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:51:36] local.INFO: Extracted packet for processing {"connection_id":110464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:51:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:51:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":110464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:51:36] local.INFO: GPS data processed {"connection_id":110464,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:51:36] local.INFO: Acknowledgment sent {"connection_id":110464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:51:41] local.INFO: TCP Data received {"connection_id":110464,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:41] local.INFO: Processing buffer {"connection_id":110464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:51:41] local.INFO: Packet analysis {"connection_id":110464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:51:41] local.INFO: Extracted packet for processing {"connection_id":110464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:51: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-06-23 06:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:51: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-06-23 06: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-06-23 06:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:51:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:51:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":110464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:51:41] local.INFO: GPS data processed {"connection_id":110464,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:51:41] local.INFO: Acknowledgment sent {"connection_id":110464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:51:59] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2113310012d7e5e8005d34910000200b00e..."} 
[2026-06-23 06:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2113310012d7e5e8005d34910000200b00e..."} 
[2026-06-23 06:51:59] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2113310012d7e5e8005d34910000200b00e..."} 
[2026-06-23 06:51:59] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:51:59] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763256448,"raw_latitude":97732880,"longitude_deg":76.3256448,"latitude_deg":9.773288,"altitude":2,"angle":176,"satellites":14,"speed":22,"hex_longitude":"2d7e5e80","hex_latitude":"05d34910","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237484032001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96140390494633984,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521609623552,"note":"Value kept but may cause issues"} 
[2026-06-23 06:51:59] 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-06-23 06:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782177674000,"timestamp_ms":1782177674000,"timestamp_seconds":1782177674,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2113310"} 
[2026-06-23 06:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 06:51:59] 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-06-23 06: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-06-23 06:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237484032001,"66":13602,"109":206,"85":15104,"24":22,"16":96140390494633984,"45":9105715521609623552},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 06:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237484032001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:51:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 06:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96140390494633984,"km_value":96140390494633.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521609623552,"description":"Unknown IO ID 45"} 
[2026-06-23 06:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237484032001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9105715521609623552}} 
[2026-06-23 06:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:51:59] local.INFO: GPS data processed {"connection_id":112205,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:51:59] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:52:07] local.INFO: TCP Data received {"connection_id":110647,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:52:07] local.INFO: Processing buffer {"connection_id":110647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:52:07] local.INFO: IMEI packet received {"connection_id":110647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":110647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:52:25] local.INFO: TCP Data received {"connection_id":110648,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:52:25] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:52:25] local.INFO: IMEI packet received {"connection_id":110648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":110648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:52:30] local.INFO: TCP Data received {"connection_id":110648,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:52:30] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:52:30] local.INFO: IMEI packet received {"connection_id":110648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":110648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:52:31] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21161f0012d7e620005d324b8000500b00e..."} 
[2026-06-23 06:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21161f0012d7e620005d324b8000500b00e..."} 
[2026-06-23 06:52:31] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21161f0012d7e620005d324b8000500b00e..."} 
[2026-06-23 06:52:31] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:52:31] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":97723576,"longitude_deg":76.3257344,"latitude_deg":9.7723576,"altitude":5,"angle":176,"satellites":14,"speed":30,"hex_longitude":"2d7e6200","hex_latitude":"05d324b8","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237484544001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96140845761167360,"note":"Value kept but may cause issues"} 
[2026-06-23 06:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105856259097694208,"note":"Value kept but may cause issues"} 
[2026-06-23 06:52:31] 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-06-23 06:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177686000,"timestamp_ms":1782177686000,"timestamp_seconds":1782177686,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21161f0"} 
[2026-06-23 06:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 06: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-06-23 06:52:31] 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-06-23 06: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-06-23 06:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237484544001,"66":13678,"109":206,"85":15104,"24":30,"16":96140845761167360,"45":9105856259097694208},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 06:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237484544001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:52:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 06:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96140845761167360,"km_value":96140845761167.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105856259097694208,"description":"Unknown IO ID 45"} 
[2026-06-23 06:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237484544001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9105856259097694208}} 
[2026-06-23 06:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:52:31] local.INFO: GPS data processed {"connection_id":112205,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:52:31] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:52:32] local.INFO: TCP Data received {"connection_id":110648,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:52:32] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:52:32] local.INFO: Packet analysis {"connection_id":110648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:52:32] local.INFO: Extracted packet for processing {"connection_id":110648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:52:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:52:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:52:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":110648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:52:32] local.INFO: GPS data processed {"connection_id":110648,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:52:32] local.INFO: Acknowledgment sent {"connection_id":110648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:53:03] local.INFO: TCP Data received {"connection_id":110648,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:53:03] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:53:03] local.INFO: Packet analysis {"connection_id":110648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:53:03] local.INFO: Extracted packet for processing {"connection_id":110648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:53:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:53:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:53:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":110648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:53:04] local.INFO: GPS data processed {"connection_id":110648,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:53:04] local.INFO: Acknowledgment sent {"connection_id":110648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:53:06] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef211a070012d7e660005d304000005008e0e..."} 
[2026-06-23 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef211a070012d7e660005d304000005008e0e..."} 
[2026-06-23 06:53:06] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef211a070012d7e660005d304000005008e0e..."} 
[2026-06-23 06:53:06] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:53:06] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef211"} 
[2026-06-23 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":763258368,"raw_latitude":97715200,"longitude_deg":76.3258368,"latitude_deg":9.77152,"altitude":5,"angle":142,"satellites":14,"speed":7,"hex_longitude":"2d7e6600","hex_latitude":"05d30400","is_valid_coordinates":true} 
[2026-06-23 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237487616001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96141253783060480,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106841421513799680,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53: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-06-23 06:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782177702000,"timestamp_ms":1782177702000,"timestamp_seconds":1782177702,"priority":1,"record_length":96,"hex_timestamp":"0000019ef211a070"} 
[2026-06-23 06:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:53:06] 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-06-23 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-23 06:53: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-06-23 06:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237487616001,"66":13189,"109":206,"85":15104,"24":7,"16":96141253783060480,"45":9106841421513799680},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 06:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237487616001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:53:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 06:53:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96141253783060480,"km_value":96141253783060.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106841421513799680,"description":"Unknown IO ID 45"} 
[2026-06-23 06:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237487616001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9106841421513799680}} 
[2026-06-23 06:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:53:06] local.INFO: GPS data processed {"connection_id":112205,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:53:06] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:53:25] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:53:25] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:53:25] local.INFO: IMEI packet received {"connection_id":110649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":110649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:53:30] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:53:30] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:53:30] local.INFO: IMEI packet received {"connection_id":110649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":110649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:53:32] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:53:32] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:53:32] local.INFO: Packet analysis {"connection_id":110649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:53:32] local.INFO: Extracted packet for processing {"connection_id":110649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 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-06-23 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:53: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-06-23 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-06-23 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-06-23 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:53:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:53:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":110649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:53:32] local.INFO: GPS data processed {"connection_id":110649,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:53:32] local.INFO: Acknowledgment sent {"connection_id":110649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:53:40] local.INFO: TCP Data received {"connection_id":112205,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2133e80012d7f388005d376280003002a0f..."} 
[2026-06-23 06:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2133e80012d7f388005d376280003002a0f..."} 
[2026-06-23 06:53:40] local.INFO: Processing buffer {"connection_id":112205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2133e80012d7f388005d376280003002a0f..."} 
[2026-06-23 06:53:40] local.INFO: Packet analysis {"connection_id":112205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef213"} 
[2026-06-23 06:53:40] local.INFO: Extracted packet for processing {"connection_id":112205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef213"} 
[2026-06-23 06:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763312256,"raw_latitude":97744424,"longitude_deg":76.3312256,"latitude_deg":9.7744424,"altitude":3,"angle":42,"satellites":15,"speed":45,"hex_longitude":"2d7f3880","hex_latitude":"05d37628","is_valid_coordinates":true} 
[2026-06-23 06:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237517056001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96144376224284672,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162503098161965056,"note":"Value kept but may cause issues"} 
[2026-06-23 06:53:40] 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-06-23 06:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782177808000,"timestamp_ms":1782177808000,"timestamp_seconds":1782177808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2133e80"} 
[2026-06-23 06:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:53:40] 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-06-23 06:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-23 06:53: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-06-23 06:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237517056001,"66":13428,"209":206,"85":15104,"24":45,"16":96144376224284672,"45":9162503098161965056},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-06-23 06:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237517056001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:53:40] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 06:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96144376224284672,"km_value":96144376224284.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162503098161965056,"description":"Unknown IO ID 45"} 
[2026-06-23 06:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237517056001,"power":13428,"unknown_209":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9162503098161965056}} 
[2026-06-23 06:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":112205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:53:40] local.INFO: GPS data processed {"connection_id":112205,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:53:40] local.INFO: Acknowledgment sent {"connection_id":112205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:54:04] local.INFO: TCP Data received {"connection_id":110649,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:54:04] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:54:04] local.INFO: Packet analysis {"connection_id":110649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:54:04] local.INFO: Extracted packet for processing {"connection_id":110649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:54: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-06-23 06: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-06-23 06:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:54:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:54:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":110649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:54:04] local.INFO: GPS data processed {"connection_id":110649,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:54:04] local.INFO: Acknowledgment sent {"connection_id":110649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:54:05] local.INFO: TCP Data received {"connection_id":110650,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:54:05] local.INFO: Processing buffer {"connection_id":110650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:54:05] local.INFO: IMEI packet received {"connection_id":110650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 06:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":110650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:54:20] local.INFO: TCP Data received {"connection_id":110650,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:54:20] local.INFO: Processing buffer {"connection_id":110650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:54:20] local.INFO: IMEI packet received {"connection_id":110650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 06:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":110650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:54:25] local.INFO: TCP Data received {"connection_id":111268,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:54:25] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:54:25] local.INFO: IMEI packet received {"connection_id":111268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":111268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:54:28] local.INFO: TCP Data received {"connection_id":110650,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2134a38012d7f42c005d37f18000200360f..."} 
[2026-06-23 06:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2134a38012d7f42c005d37f18000200360f..."} 
[2026-06-23 06:54:28] local.INFO: Processing buffer {"connection_id":110650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2134a38012d7f42c005d37f18000200360f..."} 
[2026-06-23 06:54:28] local.INFO: Packet analysis {"connection_id":110650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef213"} 
[2026-06-23 06:54:28] local.INFO: Extracted packet for processing {"connection_id":110650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef213"} 
[2026-06-23 06:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763314880,"raw_latitude":97746712,"longitude_deg":76.331488,"latitude_deg":9.7746712,"altitude":2,"angle":54,"satellites":15,"speed":46,"hex_longitude":"2d7f42c0","hex_latitude":"05d37f18","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237518848001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96144543728009216,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167217804023572480,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:28] 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-06-23 06:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782177811000,"timestamp_ms":1782177811000,"timestamp_seconds":1782177811,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2134a38"} 
[2026-06-23 06:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:54:28] 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-06-23 06: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-23 06:54:28] 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-06-23 06: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-06-23 06:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237518848001,"66":13330,"209":206,"85":15104,"24":46,"16":96144543728009216,"45":9167217804023572480},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-06-23 06:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237518848001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:54:28] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 06:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96144543728009216,"km_value":96144543728009.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167217804023572480,"description":"Unknown IO ID 45"} 
[2026-06-23 06:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237518848001,"power":13330,"unknown_209":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9167217804023572480}} 
[2026-06-23 06:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":110650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:54:28] local.INFO: GPS data processed {"connection_id":110650,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:54:28] local.INFO: Acknowledgment sent {"connection_id":110650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:54:31] local.INFO: TCP Data received {"connection_id":111268,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:54:31] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:54:31] local.INFO: IMEI packet received {"connection_id":111268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":111268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:54:33] local.INFO: TCP Data received {"connection_id":111268,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:54:33] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:54:33] local.INFO: Packet analysis {"connection_id":111268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:54:33] local.INFO: Extracted packet for processing {"connection_id":111268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:54:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:54:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:54:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:54:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":111268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:54:33] local.INFO: GPS data processed {"connection_id":111268,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:54:33] local.INFO: Acknowledgment sent {"connection_id":111268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:55:02] local.INFO: TCP Data received {"connection_id":110650,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21361a8012d7f5a4005d38e78000200420f..."} 
[2026-06-23 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21361a8012d7f5a4005d38e78000200420f..."} 
[2026-06-23 06:55:02] local.INFO: Processing buffer {"connection_id":110650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21361a8012d7f5a4005d38e78000200420f..."} 
[2026-06-23 06:55:02] local.INFO: Packet analysis {"connection_id":110650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef213"} 
[2026-06-23 06:55:02] local.INFO: Extracted packet for processing {"connection_id":110650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef213"} 
[2026-06-23 06:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763320896,"raw_latitude":97750648,"longitude_deg":76.3320896,"latitude_deg":9.7750648,"altitude":2,"angle":66,"satellites":15,"speed":47,"hex_longitude":"2d7f5a40","hex_latitude":"05d38e78","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237519616001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96144891620360192,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9170102922535442432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] 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-06-23 06:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782177817000,"timestamp_ms":1782177817000,"timestamp_seconds":1782177817,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21361a8"} 
[2026-06-23 06:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:55:02] 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-06-23 06: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2447179776,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4061321456,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278294248747903600,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3535325737556250368,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010185934,"corrected_to":0} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2818649471,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":32,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308454,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543263232,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57885387385623867,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":18,"raw_value":-3940648379033649147,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.WARNING: Large IO value detected {"io_id":166,"raw_value":8358907773857044480,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,209,85,24,241,157,16,146,158,62,45,128,118,3,15,10,66,35,192,92,1,240,181,227,242,211,4,113,205,30,228,6,32,239,52,116,2,5,14,238,18,166],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2010185934,"validated":0}]} 
[2026-06-23 06:55:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144174626131279872,"timestamp_seconds":144174626131279.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 06:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237519616001,"66":13124,"209":206,"85":15104,"24":47,"16":96144891620360192,"45":9170102922535442432},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-06-23 06:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237519616001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96144891620360192,"km_value":96144891620360.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9170102922535442432,"description":"Unknown IO ID 45"} 
[2026-06-23 06:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237519616001,"power":13124,"unknown_209":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9170102922535442432}} 
[2026-06-23 06:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":110650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:55:02] local.INFO: GPS data processed {"connection_id":110650,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:55:02] local.INFO: Acknowledgment sent {"connection_id":110650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:55:05] local.INFO: TCP Data received {"connection_id":111268,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:55:05] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef20ff2c0012cc3308007685990005a00ee28..."} 
[2026-06-23 06:55:05] local.INFO: Packet analysis {"connection_id":111268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:55:05] local.INFO: Extracted packet for processing {"connection_id":111268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef20f"} 
[2026-06-23 06:55:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237386496001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782177592000,"timestamp_ms":1782177592000,"timestamp_seconds":1782177592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef20ff2c0"} 
[2026-06-23 06:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:55: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-06-23 06:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237386496001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237386496001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:55:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:55:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237386496001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":111268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:55:05] local.INFO: GPS data processed {"connection_id":111268,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:55:05] local.INFO: Acknowledgment sent {"connection_id":111268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:55:30] local.INFO: TCP Data received {"connection_id":112206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:55:30] local.INFO: Processing buffer {"connection_id":112206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:55:30] local.INFO: IMEI packet received {"connection_id":112206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":112206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:55:31] local.INFO: TCP Data received {"connection_id":112206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:55:31] local.INFO: Processing buffer {"connection_id":112206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:55:31] local.INFO: IMEI packet received {"connection_id":112206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":112206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:55:32] local.INFO: TCP Data received {"connection_id":112206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:55:32] local.INFO: Processing buffer {"connection_id":112206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:55:32] local.INFO: Packet analysis {"connection_id":112206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:55:32] local.INFO: Extracted packet for processing {"connection_id":112206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 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-06-23 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:55: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-06-23 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-06-23 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-06-23 06:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":112206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:55:32] local.INFO: GPS data processed {"connection_id":112206,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:55:32] local.INFO: Acknowledgment sent {"connection_id":112206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:55:32] local.INFO: TCP Data received {"connection_id":110650,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef214c138012d804a4005d380d80004005c14..."} 
[2026-06-23 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef214c138012d804a4005d380d80004005c14..."} 
[2026-06-23 06:55:32] local.INFO: Processing buffer {"connection_id":110650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef214c138012d804a4005d380d80004005c14..."} 
[2026-06-23 06:55:32] local.INFO: Packet analysis {"connection_id":110650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:55:32] local.INFO: Extracted packet for processing {"connection_id":110650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763382336,"raw_latitude":97747160,"longitude_deg":76.3382336,"latitude_deg":9.774716,"altitude":4,"angle":92,"satellites":20,"speed":24,"hex_longitude":"2d804a40","hex_latitude":"05d380d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96147979701846016,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203739132205885440,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:32] 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-06-23 06:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782177907000,"timestamp_ms":1782177907000,"timestamp_seconds":1782177907,"priority":1,"record_length":96,"hex_timestamp":"0000019ef214c138"} 
[2026-06-23 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-06-23 06:55:32] 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-06-23 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-23 06:55:32] 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-06-23 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-06-23 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-06-23 06:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 06:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237543680001,"66":13450,"167":206,"85":15104,"24":24,"16":96147979701846016,"45":-9203739132205885440},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 06:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 06:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 06:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96147979701846016,"km_value":96147979701846.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203739132205885440,"description":"Unknown IO ID 45"} 
[2026-06-23 06:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237543680001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9203739132205885440}} 
[2026-06-23 06:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":110650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:55:32] local.INFO: GPS data processed {"connection_id":110650,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:55:32] local.INFO: Acknowledgment sent {"connection_id":110650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:55:35] local.INFO: TCP Data received {"connection_id":112206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:55:36] local.INFO: Processing buffer {"connection_id":112206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:55:36] local.INFO: Packet analysis {"connection_id":112206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:55:36] local.INFO: Extracted packet for processing {"connection_id":112206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:55:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:55:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":112206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:55:36] local.INFO: GPS data processed {"connection_id":112206,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:55:36] local.INFO: Acknowledgment sent {"connection_id":112206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:55:55] local.INFO: TCP Data received {"connection_id":110466,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:55] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:55] local.INFO: IMEI packet received {"connection_id":110466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 06:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":110466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:55:56] local.INFO: TCP Data received {"connection_id":110466,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:56] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:56] local.INFO: IMEI packet received {"connection_id":110466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 06:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":110466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:55:57] local.INFO: TCP Data received {"connection_id":110466,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:57] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:57] local.INFO: IMEI packet received {"connection_id":110466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 06:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":110466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:55:58] local.INFO: TCP Data received {"connection_id":110466,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:58] local.INFO: Processing buffer {"connection_id":110466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 06:55:58] local.INFO: IMEI packet received {"connection_id":110466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 06:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":110466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:56:07] local.INFO: TCP Data received {"connection_id":112206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:56:07] local.INFO: Processing buffer {"connection_id":112206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:56:07] local.INFO: Packet analysis {"connection_id":112206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:56:07] local.INFO: Extracted packet for processing {"connection_id":112206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:56:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:56:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:56:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:56:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":112206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:56:07] local.INFO: GPS data processed {"connection_id":112206,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:56:07] local.INFO: Acknowledgment sent {"connection_id":112206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:56:25] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:56:25] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:56:25] local.INFO: IMEI packet received {"connection_id":110653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":110653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:56:30] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:56:30] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:56:30] local.INFO: IMEI packet received {"connection_id":110653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":110653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:56:31] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:56:31] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:56:31] local.INFO: Packet analysis {"connection_id":110653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:56:31] local.INFO: Extracted packet for processing {"connection_id":110653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:56:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:56:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":110653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:56:31] local.INFO: GPS data processed {"connection_id":110653,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:56:31] local.INFO: Acknowledgment sent {"connection_id":110653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:57:03] local.INFO: TCP Data received {"connection_id":110653,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:57:03] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:57:03] local.INFO: Packet analysis {"connection_id":110653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:57:03] local.INFO: Extracted packet for processing {"connection_id":110653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:57:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 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-06-23 06:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:57: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-06-23 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-06-23 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-06-23 06:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:57:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:57:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":110653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:57:03] local.INFO: GPS data processed {"connection_id":110653,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:57:03] local.INFO: Acknowledgment sent {"connection_id":110653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:57:25] local.INFO: TCP Data received {"connection_id":112208,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:57:25] local.INFO: Processing buffer {"connection_id":112208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:57:25] local.INFO: IMEI packet received {"connection_id":112208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":112208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:57:30] local.INFO: TCP Data received {"connection_id":112208,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:57:30] local.INFO: Processing buffer {"connection_id":112208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:57:30] local.INFO: IMEI packet received {"connection_id":112208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":112208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:57:32] local.INFO: TCP Data received {"connection_id":112208,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:57:32] local.INFO: Processing buffer {"connection_id":112208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:57:32] local.INFO: Packet analysis {"connection_id":112208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:57:32] local.INFO: Extracted packet for processing {"connection_id":112208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:57:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 06:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:57:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 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-06-23 06:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06: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-06-23 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-06-23 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-06-23 06:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:57:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:57:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:57:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":112208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:57:32] local.INFO: GPS data processed {"connection_id":112208,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:57:32] local.INFO: Acknowledgment sent {"connection_id":112208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:57:34] local.INFO: TCP Data received {"connection_id":110467,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:57:34] local.INFO: Processing buffer {"connection_id":110467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:57:34] local.INFO: IMEI packet received {"connection_id":110467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":110467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:58:04] local.INFO: TCP Data received {"connection_id":112208,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:58:04] local.INFO: Processing buffer {"connection_id":112208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:58:04] local.INFO: Packet analysis {"connection_id":112208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:58:04] local.INFO: Extracted packet for processing {"connection_id":112208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06: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-06-23 06: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-06-23 06:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:58:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:58:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":112208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:58:04] local.INFO: GPS data processed {"connection_id":112208,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:58:04] local.INFO: Acknowledgment sent {"connection_id":112208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:58:11] local.INFO: TCP Data received {"connection_id":110469,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:58:11] local.INFO: Processing buffer {"connection_id":110469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 06:58:11] local.INFO: IMEI packet received {"connection_id":110469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 06:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":110469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:58:30] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:58:30] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:58:30] local.INFO: IMEI packet received {"connection_id":110470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":110470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:58:35] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:58:35] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:58:35] local.INFO: IMEI packet received {"connection_id":110470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":110470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:58:36] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:58:36] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:58:36] local.INFO: Packet analysis {"connection_id":110470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:58:36] local.INFO: Extracted packet for processing {"connection_id":110470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 06:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 06:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:58:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:58:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":110470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:58:36] local.INFO: GPS data processed {"connection_id":110470,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:58:36] local.INFO: Acknowledgment sent {"connection_id":110470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:59:08] local.INFO: TCP Data received {"connection_id":110470,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:59:08] local.INFO: Processing buffer {"connection_id":110470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:59:08] local.INFO: Packet analysis {"connection_id":110470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:59:08] local.INFO: Extracted packet for processing {"connection_id":110470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:59:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:59:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:59: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-06-23 06:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:59:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:59:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:59:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":110470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:59:08] local.INFO: GPS data processed {"connection_id":110470,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:59:08] local.INFO: Acknowledgment sent {"connection_id":110470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 06:59:25] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:59:25] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:59:25] local.INFO: IMEI packet received {"connection_id":110654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 06:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":110654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 06:59:30] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:59:30] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 06:59:30] local.INFO: IMEI packet received {"connection_id":110654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 06:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":110654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 06:59:31] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:59:31] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 06:59:31] local.INFO: Packet analysis {"connection_id":110654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:59:31] local.INFO: Extracted packet for processing {"connection_id":110654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 06:59:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 06: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-06-23 06:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 06:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 06:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 06:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 06:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 06:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 06:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 06:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 06:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 06: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-06-23 06:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 06:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 06:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 06:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 06:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 06:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 06:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 06:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 06:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 06:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 06:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 06:59:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 06:59:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 06:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 06:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 06:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 06:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":110654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 06:59:31] local.INFO: GPS data processed {"connection_id":110654,"processed":1,"errors":0,"total":1} 
[2026-06-23 06:59:31] local.INFO: Acknowledgment sent {"connection_id":110654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:00:05] local.INFO: TCP Data received {"connection_id":110654,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 07:00:05] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 07:00:05] local.INFO: Packet analysis {"connection_id":110654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 07:00:05] local.INFO: Extracted packet for processing {"connection_id":110654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 07:00:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 07:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:00: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-06-23 07:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:00:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:00:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":110654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:00:05] local.INFO: GPS data processed {"connection_id":110654,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:00:05] local.INFO: Acknowledgment sent {"connection_id":110654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:00:25] local.INFO: TCP Data received {"connection_id":112210,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:00:25] local.INFO: Processing buffer {"connection_id":112210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:00:25] local.INFO: IMEI packet received {"connection_id":112210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":112210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:00:30] local.INFO: TCP Data received {"connection_id":112210,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:00:30] local.INFO: Processing buffer {"connection_id":112210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:00:30] local.INFO: IMEI packet received {"connection_id":112210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":112210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:00:32] local.INFO: TCP Data received {"connection_id":112210,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 07:00:32] local.INFO: Processing buffer {"connection_id":112210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2148a88012cc3308007685990005a00ee26..."} 
[2026-06-23 07:00:32] local.INFO: Packet analysis {"connection_id":112210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 07:00:32] local.INFO: Extracted packet for processing {"connection_id":112210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef214"} 
[2026-06-23 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237463552001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782177893000,"timestamp_ms":1782177893000,"timestamp_seconds":1782177893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2148a88"} 
[2026-06-23 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-06-23 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:00: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-06-23 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-06-23 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-06-23 07:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237463552001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237463552001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:00:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:00:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237463552001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":112210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:00:32] local.INFO: GPS data processed {"connection_id":112210,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:00:32] local.INFO: Acknowledgment sent {"connection_id":112210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:01:02] local.INFO: TCP Data received {"connection_id":110473,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:01:02] local.INFO: Processing buffer {"connection_id":110473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:01:02] local.INFO: IMEI packet received {"connection_id":110473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":110473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:01:02] local.INFO: TCP Data received {"connection_id":110473,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef218d048012d81120005d18b180002009414..."} 
[2026-06-23 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef218d048012d81120005d18b180002009414..."} 
[2026-06-23 07:01:02] local.INFO: Processing buffer {"connection_id":110473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef218d048012d81120005d18b180002009414..."} 
[2026-06-23 07:01:02] local.INFO: Packet analysis {"connection_id":110473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef218"} 
[2026-06-23 07:01:02] local.INFO: Extracted packet for processing {"connection_id":110473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef218"} 
[2026-06-23 07:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763433472,"raw_latitude":97618712,"longitude_deg":76.3433472,"latitude_deg":9.7618712,"altitude":2,"angle":148,"satellites":20,"speed":14,"hex_longitude":"2d811200","hex_latitude":"05d18b18","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237611008001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96156221744087040,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146599711965896704,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01: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-06-23 07:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782178173000,"timestamp_ms":1782178173000,"timestamp_seconds":1782178173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef218d048"} 
[2026-06-23 07:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:01:02] 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-06-23 07: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 07:01: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-06-23 07: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-06-23 07:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237611008001,"66":12972,"208":206,"85":15104,"24":14,"16":96156221744087040,"45":-9146599711965896704},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-23 07:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237611008001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:01:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-23 07:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96156221744087040,"km_value":96156221744087.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146599711965896704,"description":"Unknown IO ID 45"} 
[2026-06-23 07:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237611008001,"power":12972,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9146599711965896704}} 
[2026-06-23 07:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":110473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:01:02] local.INFO: GPS data processed {"connection_id":110473,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:01:02] local.INFO: Acknowledgment sent {"connection_id":110473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:01:03] local.INFO: TCP Data received {"connection_id":112210,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:01:03] local.INFO: Processing buffer {"connection_id":112210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:01:03] local.INFO: Packet analysis {"connection_id":112210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:01:03] local.INFO: Extracted packet for processing {"connection_id":112210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":112210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:01:03] local.INFO: GPS data processed {"connection_id":112210,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:01:03] local.INFO: Acknowledgment sent {"connection_id":112210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:01:25] local.INFO: TCP Data received {"connection_id":110655,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:01:25] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:01:25] local.INFO: IMEI packet received {"connection_id":110655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":110655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:01:30] local.INFO: TCP Data received {"connection_id":110655,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:01:30] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:01:30] local.INFO: IMEI packet received {"connection_id":110655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:01:31] local.INFO: TCP Data received {"connection_id":110655,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:01:31] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:01:31] local.INFO: Packet analysis {"connection_id":110655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:01:31] local.INFO: Extracted packet for processing {"connection_id":110655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:01:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":110655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:01:31] local.INFO: GPS data processed {"connection_id":110655,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:01:31] local.INFO: Acknowledgment sent {"connection_id":110655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:01:45] local.INFO: TCP Data received {"connection_id":110473,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21a89b0012d81718005d182a80001004915..."} 
[2026-06-23 07:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21a89b0012d81718005d182a80001004915..."} 
[2026-06-23 07:01:45] local.INFO: Processing buffer {"connection_id":110473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21a89b0012d81718005d182a80001004915..."} 
[2026-06-23 07:01:45] local.INFO: Packet analysis {"connection_id":110473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:01:45] local.INFO: Extracted packet for processing {"connection_id":110473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763457920,"raw_latitude":97616552,"longitude_deg":76.345792,"latitude_deg":9.7616552,"altitude":1,"angle":73,"satellites":21,"speed":19,"hex_longitude":"2d817180","hex_latitude":"05d182a8","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237639936001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96157454399700992,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122041020249206784,"note":"Value kept but may cause issues"} 
[2026-06-23 07:01:45] 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-06-23 07:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782178286000,"timestamp_ms":1782178286000,"timestamp_seconds":1782178286,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21a89b0"} 
[2026-06-23 07:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:01:45] 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-06-23 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 07:01:45] 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-06-23 07: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-06-23 07:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237639936001,"66":13059,"167":206,"85":15104,"24":19,"16":96157454399700992,"45":-9122041020249206784},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 07:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237639936001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:01:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 07:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96157454399700992,"km_value":96157454399700.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122041020249206784,"description":"Unknown IO ID 45"} 
[2026-06-23 07:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237639936001,"power":13059,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9122041020249206784}} 
[2026-06-23 07:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":110473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:01:45] local.INFO: GPS data processed {"connection_id":110473,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:01:45] local.INFO: Acknowledgment sent {"connection_id":110473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:02:03] local.INFO: TCP Data received {"connection_id":110655,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:02:03] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:02:03] local.INFO: Packet analysis {"connection_id":110655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:02:03] local.INFO: Extracted packet for processing {"connection_id":110655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:02:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:02:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":110655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:02:03] local.INFO: GPS data processed {"connection_id":110655,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:02:03] local.INFO: Acknowledgment sent {"connection_id":110655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:02:09] local.INFO: TCP Data received {"connection_id":112211,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:09] local.INFO: Processing buffer {"connection_id":112211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:09] local.INFO: IMEI packet received {"connection_id":112211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":112211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:02:11] local.INFO: TCP Data received {"connection_id":112211,"ip":"42.106.6.52","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 07:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112211,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 07:02:11] local.INFO: Processing buffer {"connection_id":112211,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 07:02:11] local.INFO: IMEI packet received {"connection_id":112211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":112211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:02:12] local.INFO: TCP Data received {"connection_id":112211,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:12] local.INFO: Processing buffer {"connection_id":112211,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 07:02:12] local.INFO: IMEI packet received {"connection_id":112211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":112211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:02:12] local.INFO: TCP Data received {"connection_id":112211,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21a9180012d81758005d184b80002003c15..."} 
[2026-06-23 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21a9180012d81758005d184b80002003c15..."} 
[2026-06-23 07:02:12] local.INFO: Processing buffer {"connection_id":112211,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ef2..."} 
[2026-06-23 07:02:12] local.INFO: IMEI packet received {"connection_id":112211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":112211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:02:13] local.INFO: TCP Data received {"connection_id":112211,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21a9d38012d817c0005d188180003004815..."} 
[2026-06-23 07:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21a9d38012d817c0005d188180003004815..."} 
[2026-06-23 07:02:13] local.INFO: Processing buffer {"connection_id":112211,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef21a9180012d81758005d184b80002003c15..."} 
[2026-06-23 07:02:13] local.INFO: Packet analysis {"connection_id":112211,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:02:13] local.INFO: Extracted packet for processing {"connection_id":112211,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763458944,"raw_latitude":97617080,"longitude_deg":76.3458944,"latitude_deg":9.761708,"altitude":2,"angle":60,"satellites":21,"speed":22,"hex_longitude":"2d817580","hex_latitude":"05d184b8","is_valid_coordinates":true} 
[2026-06-23 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237641216001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96157505939308544,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119367007970351104,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] 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-06-23 07:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782178288000,"timestamp_ms":1782178288000,"timestamp_seconds":1782178288,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21a9180"} 
[2026-06-23 07:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:02:13] 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-06-23 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036215,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2659057664,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4061779456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170535941,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2170028032,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221606785,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514914816,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,167,85,24,241,157,16,158,118,45,129,21,10,66,90,128,20,36,192,1,240,51,227,242,209,4,113,205,214,95,88,19,239,52,208,2,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-06-23 07:02:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72137948582313984,"timestamp_seconds":72137948582313.98,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237641216001,"66":13091,"167":206,"85":15104,"24":22,"16":96157505939308544,"45":-9119367007970351104},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237641216001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96157505939308544,"km_value":96157505939308.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119367007970351104,"description":"Unknown IO ID 45"} 
[2026-06-23 07:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237641216001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9119367007970351104}} 
[2026-06-23 07:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":112211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:02:13] local.INFO: GPS data processed {"connection_id":112211,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:02:13] local.INFO: Acknowledgment sent {"connection_id":112211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:02:13] local.INFO: Packet analysis {"connection_id":112211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:02:13] local.INFO: Extracted packet for processing {"connection_id":112211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763460608,"raw_latitude":97617944,"longitude_deg":76.3460608,"latitude_deg":9.7617944,"altitude":3,"angle":72,"satellites":21,"speed":24,"hex_longitude":"2d817c00","hex_latitude":"05d18818","is_valid_coordinates":true} 
[2026-06-23 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237641728001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96157596133621760,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118241108063373312,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:13] 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-06-23 07:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782178291000,"timestamp_ms":1782178291000,"timestamp_seconds":1782178291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21a9d38"} 
[2026-06-23 07:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:02:13] 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-06-23 07:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 07:02:13] 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-06-23 07:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237641728001,"66":13254,"167":206,"85":15104,"24":24,"16":96157596133621760,"45":-9118241108063373312},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 07:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237641728001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96157596133621760,"km_value":96157596133621.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118241108063373312,"description":"Unknown IO ID 45"} 
[2026-06-23 07:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237641728001,"power":13254,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9118241108063373312}} 
[2026-06-23 07:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":112211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:02:13] local.INFO: GPS data processed {"connection_id":112211,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:02:13] local.INFO: Acknowledgment sent {"connection_id":112211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:02:15] local.INFO: TCP Data received {"connection_id":112211,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21aa508012d81808005d188a00004005913..."} 
[2026-06-23 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21aa508012d81808005d188a00004005913..."} 
[2026-06-23 07:02:15] local.INFO: Processing buffer {"connection_id":112211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21aa508012d81808005d188a00004005913..."} 
[2026-06-23 07:02:15] local.INFO: Packet analysis {"connection_id":112211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:02:15] local.INFO: Extracted packet for processing {"connection_id":112211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21a"} 
[2026-06-23 07:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763461760,"raw_latitude":97618080,"longitude_deg":76.346176,"latitude_deg":9.761808,"altitude":4,"angle":89,"satellites":19,"speed":24,"hex_longitude":"2d818080","hex_latitude":"05d188a0","is_valid_coordinates":true} 
[2026-06-23 07:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237642496001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96157651968196608,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116411520714532864,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:15] 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-06-23 07:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782178293000,"timestamp_ms":1782178293000,"timestamp_seconds":1782178293,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21aa508"} 
[2026-06-23 07:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:02:15] 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-06-23 07:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 07:02:15] 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-06-23 07:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237642496001,"66":13363,"167":206,"85":15104,"24":24,"16":96157651968196608,"45":-9116411520714532864},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-23 07:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237642496001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:02:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 07:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96157651968196608,"km_value":96157651968196.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116411520714532864,"description":"Unknown IO ID 45"} 
[2026-06-23 07:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237642496001,"power":13363,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9116411520714532864}} 
[2026-06-23 07:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":112211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:02:15] local.INFO: GPS data processed {"connection_id":112211,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:02:15] local.INFO: Acknowledgment sent {"connection_id":112211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:02:25] local.INFO: TCP Data received {"connection_id":110475,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:02:25] local.INFO: Processing buffer {"connection_id":110475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:02:25] local.INFO: IMEI packet received {"connection_id":110475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":110475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:02:30] local.INFO: TCP Data received {"connection_id":110475,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:02:30] local.INFO: Processing buffer {"connection_id":110475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:02:30] local.INFO: IMEI packet received {"connection_id":110475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":110475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:02:32] local.INFO: TCP Data received {"connection_id":110475,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:02:32] local.INFO: Processing buffer {"connection_id":110475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:02:32] local.INFO: Packet analysis {"connection_id":110475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:02:32] local.INFO: Extracted packet for processing {"connection_id":110475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:02:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 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-06-23 07:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:02:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:02:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:02:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":110475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:02:32] local.INFO: GPS data processed {"connection_id":110475,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:02:32] local.INFO: Acknowledgment sent {"connection_id":110475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:02:57] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:57] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:57] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:02:59] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:59] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:02:59] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:03:02] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:02] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:02] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:03:03] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21baac0012d82324005d16e88000a007b13..."} 
[2026-06-23 07:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21baac0012d82324005d16e88000a007b13..."} 
[2026-06-23 07:03:03] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21baac0012d82324005d16e88000a007b13..."} 
[2026-06-23 07:03:03] local.INFO: Packet analysis {"connection_id":110656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21b"} 
[2026-06-23 07:03:03] local.INFO: Extracted packet for processing {"connection_id":110656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21b"} 
[2026-06-23 07:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763507264,"raw_latitude":97611400,"longitude_deg":76.3507264,"latitude_deg":9.76114,"altitude":10,"angle":123,"satellites":19,"speed":36,"hex_longitude":"2d823240","hex_latitude":"05d16e88","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237660160001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96159898236092416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065112706210691072,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:03] 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-06-23 07:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178360000,"timestamp_ms":1782178360000,"timestamp_seconds":1782178360,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21baac0"} 
[2026-06-23 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-06-23 07:03:03] 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-06-23 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-23 07:03:03] 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-06-23 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-06-23 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-06-23 07:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237660160001,"66":13493,"65":206,"85":15104,"24":36,"16":96159898236092416,"45":-9065112706210691072},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 07:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237660160001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:03:03] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 07:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96159898236092416,"km_value":96159898236092.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065112706210691072,"description":"Unknown IO ID 45"} 
[2026-06-23 07:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237660160001,"power":13493,"unknown_65":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9065112706210691072}} 
[2026-06-23 07:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":110656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:03:03] local.INFO: GPS data processed {"connection_id":110656,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:03:03] local.INFO: Acknowledgment sent {"connection_id":110656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:03:06] local.INFO: TCP Data received {"connection_id":110475,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:03:06] local.INFO: Processing buffer {"connection_id":110475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:03:06] local.INFO: Packet analysis {"connection_id":110475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:03:06] local.INFO: Extracted packet for processing {"connection_id":110475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:03:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:03:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":110475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:03:06] local.INFO: GPS data processed {"connection_id":110475,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:03:06] local.INFO: Acknowledgment sent {"connection_id":110475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:03:25] local.INFO: TCP Data received {"connection_id":112213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:03:25] local.INFO: Processing buffer {"connection_id":112213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:03:25] local.INFO: IMEI packet received {"connection_id":112213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":112213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:03:28] local.INFO: TCP Data received {"connection_id":112212,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:03:28] local.INFO: Processing buffer {"connection_id":112212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:03:28] local.INFO: IMEI packet received {"connection_id":112212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":112212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:03:30] local.INFO: TCP Data received {"connection_id":112213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:03:30] local.INFO: Processing buffer {"connection_id":112213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:03:30] local.INFO: IMEI packet received {"connection_id":112213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":112213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:03:31] local.INFO: TCP Data received {"connection_id":112213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:03:31] local.INFO: Processing buffer {"connection_id":112213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:03:31] local.INFO: Packet analysis {"connection_id":112213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:03:31] local.INFO: Extracted packet for processing {"connection_id":112213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:03:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":112213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:03:31] local.INFO: GPS data processed {"connection_id":112213,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:03:31] local.INFO: Acknowledgment sent {"connection_id":112213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:03:34] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21bba60012d823f8005d167a8000a006a14..."} 
[2026-06-23 07:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21bba60012d823f8005d167a8000a006a14..."} 
[2026-06-23 07:03:34] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21bba60012d823f8005d167a8000a006a14..."} 
[2026-06-23 07:03:34] local.INFO: Packet analysis {"connection_id":110656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21b"} 
[2026-06-23 07:03:34] local.INFO: Extracted packet for processing {"connection_id":110656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21b"} 
[2026-06-23 07:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763510656,"raw_latitude":97609640,"longitude_deg":76.3510656,"latitude_deg":9.760964,"altitude":10,"angle":106,"satellites":20,"speed":37,"hex_longitude":"2d823f80","hex_latitude":"05d167a8","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237660160001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96160082919686144,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065112706210691072,"note":"Value kept but may cause issues"} 
[2026-06-23 07:03:34] 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-06-23 07:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782178364000,"timestamp_ms":1782178364000,"timestamp_seconds":1782178364,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21bba60"} 
[2026-06-23 07:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:03:34] 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-06-23 07: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":181,"data_length":795,"current_offset":136} 
[2026-06-23 07:03: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-06-23 07: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-06-23 07:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237660160001,"66":13428,"65":206,"85":15104,"24":37,"16":96160082919686144,"45":-9065112706210691072},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-06-23 07:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237660160001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:03:34] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-23 07:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96160082919686144,"km_value":96160082919686.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065112706210691072,"description":"Unknown IO ID 45"} 
[2026-06-23 07:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237660160001,"power":13428,"unknown_65":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9065112706210691072}} 
[2026-06-23 07:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":110656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:03:34] local.INFO: GPS data processed {"connection_id":110656,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:03:34] local.INFO: Acknowledgment sent {"connection_id":110656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:03:57] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:57] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:57] local.INFO: IMEI packet received {"connection_id":110476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":110476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:03:58] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:58] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:03:58] local.INFO: IMEI packet received {"connection_id":110476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":110476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:04:02] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:04:02] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:04:02] local.INFO: IMEI packet received {"connection_id":110476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":110476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:04:03] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21c9520012d82bd8005d15fd80012006515..."} 
[2026-06-23 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21c9520012d82bd8005d15fd80012006515..."} 
[2026-06-23 07:04:03] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21c9520012d82bd8005d15fd80012006515..."} 
[2026-06-23 07:04:03] local.INFO: Packet analysis {"connection_id":110476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:04:03] local.INFO: Extracted packet for processing {"connection_id":110476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:04:03] local.INFO: GPS Element Parsed {"raw_longitude":763542912,"raw_latitude":97607640,"longitude_deg":76.3542912,"latitude_deg":9.760764,"altitude":18,"angle":101,"satellites":21,"speed":43,"hex_longitude":"2d82bd80","hex_latitude":"05d15fd8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237672704001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96161689237454848,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046121871360,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:03] 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-06-23 07:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178420000,"timestamp_ms":1782178420000,"timestamp_seconds":1782178420,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21c9520"} 
[2026-06-23 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-06-23 07:04:03] 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-06-23 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 07:04:03] 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-06-23 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-06-23 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-06-23 07:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237672704001,"66":13526,"64":206,"85":15104,"24":43,"16":96161689237454848,"45":-9035980046121871360},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237672704001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:04:03] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96161689237454848,"km_value":96161689237454.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046121871360,"description":"Unknown IO ID 45"} 
[2026-06-23 07:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237672704001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9035980046121871360}} 
[2026-06-23 07:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":110476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:04:03] local.INFO: GPS data processed {"connection_id":110476,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:04:03] local.INFO: Acknowledgment sent {"connection_id":110476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:04:04] local.INFO: TCP Data received {"connection_id":112213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:04] local.INFO: Processing buffer {"connection_id":112213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:04] local.INFO: Packet analysis {"connection_id":112213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:04:04] local.INFO: Extracted packet for processing {"connection_id":112213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:04:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":112213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:04:04] local.INFO: GPS data processed {"connection_id":112213,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:04:04] local.INFO: Acknowledgment sent {"connection_id":112213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:04:09] local.INFO: TCP Data received {"connection_id":112214,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:04:09] local.INFO: Processing buffer {"connection_id":112214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:04:09] local.INFO: IMEI packet received {"connection_id":112214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":112214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:04:30] local.INFO: TCP Data received {"connection_id":111272,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:04:30] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:04:30] local.INFO: IMEI packet received {"connection_id":111272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":111272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:04:33] local.INFO: TCP Data received {"connection_id":110476,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21cb460012d82e2c005d159780011006015..."} 
[2026-06-23 07:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21cb460012d82e2c005d159780011006015..."} 
[2026-06-23 07:04:33] local.INFO: Processing buffer {"connection_id":110476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21cb460012d82e2c005d159780011006015..."} 
[2026-06-23 07:04:33] local.INFO: Packet analysis {"connection_id":110476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:04:33] local.INFO: Extracted packet for processing {"connection_id":110476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763552448,"raw_latitude":97606008,"longitude_deg":76.3552448,"latitude_deg":9.7606008,"altitude":17,"angle":96,"satellites":21,"speed":49,"hex_longitude":"2d82e2c0","hex_latitude":"05d15978","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237675520001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96162148798955520,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025917315704694784,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04: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-06-23 07:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782178428000,"timestamp_ms":1782178428000,"timestamp_seconds":1782178428,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21cb460"} 
[2026-06-23 07:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:04:33] 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-06-23 07: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":214,"data_length":795,"current_offset":136} 
[2026-06-23 07:04: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-06-23 07: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-06-23 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237675520001,"66":13678,"64":206,"85":15104,"24":49,"16":96162148798955520,"45":-9025917315704694784},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237675520001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:04:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96162148798955520,"km_value":96162148798955.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025917315704694784,"description":"Unknown IO ID 45"} 
[2026-06-23 07:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237675520001,"power":13678,"unknown_64":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9025917315704694784}} 
[2026-06-23 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":110476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:04:33] local.INFO: GPS data processed {"connection_id":110476,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:04:33] local.INFO: Acknowledgment sent {"connection_id":110476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:04:36] local.INFO: TCP Data received {"connection_id":111272,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:04:36] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:04:36] local.INFO: IMEI packet received {"connection_id":111272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":111272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:04:38] local.INFO: TCP Data received {"connection_id":111272,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:38] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:38] local.INFO: Packet analysis {"connection_id":111272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:04:38] local.INFO: Extracted packet for processing {"connection_id":111272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:04:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":111272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:04:38] local.INFO: GPS data processed {"connection_id":111272,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:04:38] local.INFO: Acknowledgment sent {"connection_id":111272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:04:41] local.INFO: TCP Data received {"connection_id":111272,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:41] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:04:41] local.INFO: Packet analysis {"connection_id":111272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:04:41] local.INFO: Extracted packet for processing {"connection_id":111272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":111272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:04:41] local.INFO: GPS data processed {"connection_id":111272,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:04:41] local.INFO: Acknowledgment sent {"connection_id":111272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:05:02] local.INFO: TCP Data received {"connection_id":111273,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:05:02] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:05:02] local.INFO: IMEI packet received {"connection_id":111273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":111273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:05:07] local.INFO: TCP Data received {"connection_id":111273,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:05:07] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:05:07] local.INFO: IMEI packet received {"connection_id":111273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":111273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:05:07] local.INFO: TCP Data received {"connection_id":111273,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21cd3a0012d830a4005d156600011005e15..."} 
[2026-06-23 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21cd3a0012d830a4005d156600011005e15..."} 
[2026-06-23 07:05:07] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21cd3a0012d830a4005d156600011005e15..."} 
[2026-06-23 07:05:07] local.INFO: Packet analysis {"connection_id":111273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:05:07] local.INFO: Extracted packet for processing {"connection_id":111273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:05:07] local.INFO: GPS Element Parsed {"raw_longitude":763562560,"raw_latitude":97605216,"longitude_deg":76.356256,"latitude_deg":9.7605216,"altitude":17,"angle":94,"satellites":21,"speed":48,"hex_longitude":"2d830a40","hex_latitude":"05d15660","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237677568001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96162634130259968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015432372822640640,"note":"Value kept but may cause issues"} 
[2026-06-23 07:05: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-06-23 07:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782178436000,"timestamp_ms":1782178436000,"timestamp_seconds":1782178436,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21cd3a0"} 
[2026-06-23 07:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:05:07] 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-06-23 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-23 07:05: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-06-23 07: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-06-23 07:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237677568001,"66":13656,"64":206,"85":15104,"24":48,"16":96162634130259968,"45":-9015432372822640640},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237677568001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:05:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:05:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96162634130259968,"km_value":96162634130259.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015432372822640640,"description":"Unknown IO ID 45"} 
[2026-06-23 07:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237677568001,"power":13656,"unknown_64":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9015432372822640640}} 
[2026-06-23 07:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":111273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:05:07] local.INFO: GPS data processed {"connection_id":111273,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:05:07] local.INFO: Acknowledgment sent {"connection_id":111273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:05:25] local.INFO: TCP Data received {"connection_id":110658,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:05:25] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:05:25] local.INFO: IMEI packet received {"connection_id":110658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":110658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:05:30] local.INFO: TCP Data received {"connection_id":110658,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:05:30] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:05:30] local.INFO: IMEI packet received {"connection_id":110658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":110658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:05:31] local.INFO: TCP Data received {"connection_id":110658,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:05:31] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2192250012cc3308007685990005a00ee26..."} 
[2026-06-23 07:05:31] local.INFO: Packet analysis {"connection_id":110658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:05:31] local.INFO: Extracted packet for processing {"connection_id":110658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef219"} 
[2026-06-23 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237540608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178194000,"timestamp_ms":1782178194000,"timestamp_seconds":1782178194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2192250"} 
[2026-06-23 07:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237540608001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237540608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:05:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237540608001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":110658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:05:31] local.INFO: GPS data processed {"connection_id":110658,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:05:31] local.INFO: Acknowledgment sent {"connection_id":110658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:06:02] local.INFO: TCP Data received {"connection_id":112215,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:02] local.INFO: Processing buffer {"connection_id":112215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:02] local.INFO: IMEI packet received {"connection_id":112215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":112215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:06:03] local.INFO: TCP Data received {"connection_id":110658,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:06:03] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:06:03] local.INFO: Packet analysis {"connection_id":110658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:06:03] local.INFO: Extracted packet for processing {"connection_id":110658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:06:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 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-06-23 07:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:06:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:06:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":110658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:06:03] local.INFO: GPS data processed {"connection_id":110658,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:06:03] local.INFO: Acknowledgment sent {"connection_id":110658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:06:07] local.INFO: TCP Data received {"connection_id":112215,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112215,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:07] local.INFO: Processing buffer {"connection_id":112215,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:07] local.INFO: IMEI packet received {"connection_id":112215,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":112215,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:06:08] local.INFO: TCP Data received {"connection_id":112215,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21cfe98012d83330005d15318000f006815..."} 
[2026-06-23 07:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21cfe98012d83330005d15318000f006815..."} 
[2026-06-23 07:06:08] local.INFO: Processing buffer {"connection_id":112215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21cfe98012d83330005d15318000f006815..."} 
[2026-06-23 07:06:08] local.INFO: Packet analysis {"connection_id":112215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:06:08] local.INFO: Extracted packet for processing {"connection_id":112215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21c"} 
[2026-06-23 07:06:08] local.INFO: GPS Element Parsed {"raw_longitude":763572992,"raw_latitude":97604376,"longitude_deg":76.3572992,"latitude_deg":9.7604376,"altitude":15,"angle":104,"satellites":21,"speed":20,"hex_longitude":"2d833300","hex_latitude":"05d15318","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237681920001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163136641433600,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8994040274593003520,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:08] 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-06-23 07:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782178447000,"timestamp_ms":1782178447000,"timestamp_seconds":1782178447,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21cfe98"} 
[2026-06-23 07:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:06:08] 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-06-23 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 07:06:08] 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-06-23 07: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-06-23 07:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237681920001,"66":13406,"64":206,"85":15104,"24":20,"16":96163136641433600,"45":-8994040274593003520},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237681920001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:06:08] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163136641433600,"km_value":96163136641433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8994040274593003520,"description":"Unknown IO ID 45"} 
[2026-06-23 07:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237681920001,"power":13406,"unknown_64":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-8994040274593003520}} 
[2026-06-23 07:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":112215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:06:08] local.INFO: GPS data processed {"connection_id":112215,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:06:08] local.INFO: Acknowledgment sent {"connection_id":112215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:06:24] local.INFO: TCP Data received {"connection_id":111274,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:06:24] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:06:24] local.INFO: IMEI packet received {"connection_id":111274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":111274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:06:30] local.INFO: TCP Data received {"connection_id":111274,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:06:30] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:06:30] local.INFO: IMEI packet received {"connection_id":111274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":111274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:06:31] local.INFO: TCP Data received {"connection_id":111274,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:06:31] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:06:31] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:06:31] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:06:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 07:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:06:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:06:31] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:06:31] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:06:39] local.INFO: TCP Data received {"connection_id":112215,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d0280012d83348005d15248000f007c15..."} 
[2026-06-23 07:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d0280012d83348005d15248000f007c15..."} 
[2026-06-23 07:06:39] local.INFO: Processing buffer {"connection_id":112215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d0280012d83348005d15248000f007c15..."} 
[2026-06-23 07:06:39] local.INFO: Packet analysis {"connection_id":112215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:06:39] local.INFO: Extracted packet for processing {"connection_id":112215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604168,"longitude_deg":76.3573376,"latitude_deg":9.7604168,"altitude":15,"angle":124,"satellites":21,"speed":16,"hex_longitude":"2d833480","hex_latitude":"05d15248","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237682432001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163153821302784,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992844005942028288,"note":"Value kept but may cause issues"} 
[2026-06-23 07:06:39] 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-06-23 07:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782178448000,"timestamp_ms":1782178448000,"timestamp_seconds":1782178448,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d0280"} 
[2026-06-23 07:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:06:39] 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-06-23 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-23 07:06: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-06-23 07: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-06-23 07:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112215,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237682432001,"66":13406,"64":206,"85":15104,"24":16,"16":96163153821302784,"45":-8992844005942028288},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237682432001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:06:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163153821302784,"km_value":96163153821302.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992844005942028288,"description":"Unknown IO ID 45"} 
[2026-06-23 07:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237682432001,"power":13406,"unknown_64":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-8992844005942028288}} 
[2026-06-23 07:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":112215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:06:39] local.INFO: GPS data processed {"connection_id":112215,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:06:39] local.INFO: Acknowledgment sent {"connection_id":112215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:06:57] local.INFO: TCP Data received {"connection_id":111275,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:57] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:06:57] local.INFO: IMEI packet received {"connection_id":111275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":111275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:07:02] local.INFO: TCP Data received {"connection_id":111275,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:07:02] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:07:02] local.INFO: IMEI packet received {"connection_id":111275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":111275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:07:02] local.INFO: TCP Data received {"connection_id":111275,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d0668012d83358005d15140000e008a15..."} 
[2026-06-23 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d0668012d83358005d15140000e008a15..."} 
[2026-06-23 07:07:02] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d0668012d83358005d15140000e008a15..."} 
[2026-06-23 07:07:02] local.INFO: Packet analysis {"connection_id":111275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:02] local.INFO: Extracted packet for processing {"connection_id":111275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763573632,"raw_latitude":97603904,"longitude_deg":76.3573632,"latitude_deg":9.7603904,"altitude":14,"angle":138,"satellites":21,"speed":14,"hex_longitude":"2d833580","hex_latitude":"05d15140","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237682688001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163171001171968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793477015552,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:02] 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-06-23 07:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782178449000,"timestamp_ms":1782178449000,"timestamp_seconds":1782178449,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d0668"} 
[2026-06-23 07:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:07:02] 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-06-23 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-23 07:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237682688001,"66":13526,"64":206,"85":15104,"24":14,"16":96163171001171968,"45":-8992421793477015552},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237682688001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:07:02] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163171001171968,"km_value":96163171001171.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793477015552,"description":"Unknown IO ID 45"} 
[2026-06-23 07:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237682688001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-8992421793477015552}} 
[2026-06-23 07:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":111275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:07:02] local.INFO: GPS data processed {"connection_id":111275,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:07:02] local.INFO: Acknowledgment sent {"connection_id":111275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:07:03] local.INFO: TCP Data received {"connection_id":111274,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:03] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:03] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:03] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 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-06-23 07:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:07:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:07:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:07:03] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:07:03] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:07:30] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:07:30] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:07:30] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:07:33] local.INFO: TCP Data received {"connection_id":111275,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d0a50012d8335c005d15040000e00a215..."} 
[2026-06-23 07:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d0a50012d8335c005d15040000e00a215..."} 
[2026-06-23 07:07:33] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d0a50012d8335c005d15040000e00a215..."} 
[2026-06-23 07:07:33] local.INFO: Packet analysis {"connection_id":111275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:33] local.INFO: Extracted packet for processing {"connection_id":111275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763573696,"raw_latitude":97603648,"longitude_deg":76.3573696,"latitude_deg":9.7603648,"altitude":14,"angle":162,"satellites":21,"speed":9,"hex_longitude":"2d8335c0","hex_latitude":"05d15040","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237682944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163183886073856,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992140318500372480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07: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-06-23 07:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782178450000,"timestamp_ms":1782178450000,"timestamp_seconds":1782178450,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d0a50"} 
[2026-06-23 07:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:07: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-06-23 07: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":214,"data_length":795,"current_offset":136} 
[2026-06-23 07:07: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-06-23 07: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-06-23 07:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237682944001,"66":13526,"64":206,"85":15104,"24":9,"16":96163183886073856,"45":-8992140318500372480},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237682944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:07:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163183886073856,"km_value":96163183886073.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992140318500372480,"description":"Unknown IO ID 45"} 
[2026-06-23 07:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237682944001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-8992140318500372480}} 
[2026-06-23 07:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":111275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:07:33] local.INFO: GPS data processed {"connection_id":111275,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:07:33] local.INFO: Acknowledgment sent {"connection_id":111275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:07:35] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:07:35] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:07:35] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:07:37] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:37] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:37] local.INFO: Packet analysis {"connection_id":111277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:37] local.INFO: Extracted packet for processing {"connection_id":111277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 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-06-23 07:07: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-06-23 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":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:07:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:07:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":111277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:07:37] local.INFO: GPS data processed {"connection_id":111277,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:07:37] local.INFO: Acknowledgment sent {"connection_id":111277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:07:41] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:41] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:07:41] local.INFO: Packet analysis {"connection_id":111277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:41] local.INFO: Extracted packet for processing {"connection_id":111277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 07:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:07: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-06-23 07:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":111277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:07:41] local.INFO: GPS data processed {"connection_id":111277,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:07:41] local.INFO: Acknowledgment sent {"connection_id":111277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:07:57] local.INFO: TCP Data received {"connection_id":112216,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:07:57] local.INFO: Processing buffer {"connection_id":112216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:07:57] local.INFO: IMEI packet received {"connection_id":112216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":112216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:08:02] local.INFO: TCP Data received {"connection_id":112216,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:08:02] local.INFO: Processing buffer {"connection_id":112216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:08:02] local.INFO: IMEI packet received {"connection_id":112216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":112216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:08:03] local.INFO: TCP Data received {"connection_id":112216,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d3930012d8334c005d15200000b015d15..."} 
[2026-06-23 07:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d3930012d8334c005d15200000b015d15..."} 
[2026-06-23 07:08:03] local.INFO: Processing buffer {"connection_id":112216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d3930012d8334c005d15200000b015d15..."} 
[2026-06-23 07:08:03] local.INFO: Packet analysis {"connection_id":112216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:08:03] local.INFO: Extracted packet for processing {"connection_id":112216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763573440,"raw_latitude":97604096,"longitude_deg":76.357344,"latitude_deg":9.7604096,"altitude":11,"angle":349,"satellites":21,"speed":4,"hex_longitude":"2d8334c0","hex_latitude":"05d15200","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237683200001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163231130714112,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992069949756260352,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:03] 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-06-23 07:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178462000,"timestamp_ms":1782178462000,"timestamp_seconds":1782178462,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d3930"} 
[2026-06-23 07:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:08: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-06-23 07:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-06-23 07:08:03] 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-06-23 07: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-06-23 07:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237683200001,"66":13276,"64":206,"85":15104,"24":4,"16":96163231130714112,"45":-8992069949756260352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237683200001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:08:03] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163231130714112,"km_value":96163231130714.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992069949756260352,"description":"Unknown IO ID 45"} 
[2026-06-23 07:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237683200001,"power":13276,"unknown_64":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-8992069949756260352}} 
[2026-06-23 07:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":112216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:08:03] local.INFO: GPS data processed {"connection_id":112216,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:08:03] local.INFO: Acknowledgment sent {"connection_id":112216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:08:25] local.INFO: TCP Data received {"connection_id":112218,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:08:25] local.INFO: Processing buffer {"connection_id":112218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:08:25] local.INFO: IMEI packet received {"connection_id":112218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":112218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:08:30] local.INFO: TCP Data received {"connection_id":112218,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:08:30] local.INFO: Processing buffer {"connection_id":112218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:08:30] local.INFO: IMEI packet received {"connection_id":112218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":112218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:08:31] local.INFO: TCP Data received {"connection_id":112218,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:08:31] local.INFO: Processing buffer {"connection_id":112218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:08:31] local.INFO: Packet analysis {"connection_id":112218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:08:31] local.INFO: Extracted packet for processing {"connection_id":112218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 07:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:08:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:08:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":112218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:08:31] local.INFO: GPS data processed {"connection_id":112218,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:08:31] local.INFO: Acknowledgment sent {"connection_id":112218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:08:33] local.INFO: TCP Data received {"connection_id":112216,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d50a0012d83344005d153d0000b014f15..."} 
[2026-06-23 07:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d50a0012d83344005d153d0000b014f15..."} 
[2026-06-23 07:08:33] local.INFO: Processing buffer {"connection_id":112216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d50a0012d83344005d153d0000b014f15..."} 
[2026-06-23 07:08:33] local.INFO: Packet analysis {"connection_id":112216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:08:33] local.INFO: Extracted packet for processing {"connection_id":112216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604560,"longitude_deg":76.3573312,"latitude_deg":9.760456,"altitude":11,"angle":335,"satellites":21,"speed":2,"hex_longitude":"2d833440","hex_latitude":"05d153d0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237686272001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163256900517888,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992351424732856320,"note":"Value kept but may cause issues"} 
[2026-06-23 07:08: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-06-23 07:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782178468000,"timestamp_ms":1782178468000,"timestamp_seconds":1782178468,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d50a0"} 
[2026-06-23 07:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:08: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-06-23 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-23 07:08:33] 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-06-23 07: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-06-23 07:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237686272001,"66":13135,"64":206,"85":15104,"24":2,"16":96163256900517888,"45":-8992351424732856320},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237686272001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:08:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163256900517888,"km_value":96163256900517.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992351424732856320,"description":"Unknown IO ID 45"} 
[2026-06-23 07:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237686272001,"power":13135,"unknown_64":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-8992351424732856320}} 
[2026-06-23 07:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":112216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:08:34] local.INFO: GPS data processed {"connection_id":112216,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:08:34] local.INFO: Acknowledgment sent {"connection_id":112216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:08:57] local.INFO: TCP Data received {"connection_id":110660,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:08:57] local.INFO: Processing buffer {"connection_id":110660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:08:57] local.INFO: IMEI packet received {"connection_id":110660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":110660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:09:02] local.INFO: TCP Data received {"connection_id":110660,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:09:02] local.INFO: Processing buffer {"connection_id":110660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:09:02] local.INFO: IMEI packet received {"connection_id":110660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":110660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:09:03] local.INFO: TCP Data received {"connection_id":110660,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d7f80012d83340005d15420000a014614..."} 
[2026-06-23 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d7f80012d83340005d15420000a014614..."} 
[2026-06-23 07:09:03] local.INFO: Processing buffer {"connection_id":110660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d7f80012d83340005d15420000a014614..."} 
[2026-06-23 07:09:03] local.INFO: Packet analysis {"connection_id":110660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:03] local.INFO: Extracted packet for processing {"connection_id":110660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604640,"longitude_deg":76.3573248,"latitude_deg":9.760464,"altitude":10,"angle":326,"satellites":20,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15420","is_valid_coordinates":true} 
[2026-06-23 07:09:03] 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-06-23 07:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237687808001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163265490452480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221092864,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:03] 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-06-23 07:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178480000,"timestamp_ms":1782178480000,"timestamp_seconds":1782178480,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d7f80"} 
[2026-06-23 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-06-23 07:09: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-06-23 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 07:09:03] 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-06-23 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-06-23 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-06-23 07:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237687808001,"66":13646,"64":206,"85":15104,"24":0,"16":96163265490452480,"45":-8992492162221092864},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237687808001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163265490452480,"km_value":96163265490452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221092864,"description":"Unknown IO ID 45"} 
[2026-06-23 07:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237687808001,"power":13646,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992492162221092864}} 
[2026-06-23 07:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":110660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:09:03] local.INFO: GPS data processed {"connection_id":110660,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:09:03] local.INFO: Acknowledgment sent {"connection_id":110660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:09:03] local.INFO: TCP Data received {"connection_id":112218,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:09:03] local.INFO: Processing buffer {"connection_id":112218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:09:03] local.INFO: Packet analysis {"connection_id":112218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:03] local.INFO: Extracted packet for processing {"connection_id":112218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 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-06-23 07:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":112218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:09:03] local.INFO: GPS data processed {"connection_id":112218,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:09:03] local.INFO: Acknowledgment sent {"connection_id":112218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:09:25] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:09:25] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:09:25] local.INFO: IMEI packet received {"connection_id":110477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":110477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:09:28] local.INFO: TCP Data received {"connection_id":112219,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:09:28] local.INFO: Processing buffer {"connection_id":112219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:09:28] local.INFO: IMEI packet received {"connection_id":112219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":112219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:09:30] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:09:30] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:09:30] local.INFO: IMEI packet received {"connection_id":110477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":110477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:09:31] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:09:31] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:09:31] local.INFO: Packet analysis {"connection_id":110477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:31] local.INFO: Extracted packet for processing {"connection_id":110477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 07:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:09:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:09:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":110477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:09:31] local.INFO: GPS data processed {"connection_id":110477,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:09:31] local.INFO: Acknowledgment sent {"connection_id":110477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:09:34] local.INFO: TCP Data received {"connection_id":110660,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21d7f80012d83340005d15420000a014614..."} 
[2026-06-23 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21d7f80012d83340005d15420000a014614..."} 
[2026-06-23 07:09:34] local.INFO: Processing buffer {"connection_id":110660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21d7f80012d83340005d15420000a014614..."} 
[2026-06-23 07:09:34] local.INFO: Packet analysis {"connection_id":110660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:34] local.INFO: Extracted packet for processing {"connection_id":110660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97604640,"longitude_deg":76.3573248,"latitude_deg":9.760464,"altitude":10,"angle":326,"satellites":20,"speed":0,"hex_longitude":"2d833400","hex_latitude":"05d15420","is_valid_coordinates":true} 
[2026-06-23 07:09: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-06-23 07:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237690880001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163265490452480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965250048,"note":"Value kept but may cause issues"} 
[2026-06-23 07:09: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-06-23 07:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782178480000,"timestamp_ms":1782178480000,"timestamp_seconds":1782178480,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21d7f80"} 
[2026-06-23 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-06-23 07:09: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-06-23 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 07:09: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-06-23 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-06-23 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-06-23 07:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237690880001,"66":13646,"64":206,"85":15104,"24":0,"16":96163265490452480,"45":-8992562530965250048},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237690880001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:09:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163265490452480,"km_value":96163265490452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965250048,"description":"Unknown IO ID 45"} 
[2026-06-23 07:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237690880001,"power":13646,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965250048}} 
[2026-06-23 07:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":110660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:09:34] local.INFO: GPS data processed {"connection_id":110660,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:09:34] local.INFO: Acknowledgment sent {"connection_id":110660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:09:57] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:09:57] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:09:57] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:10:02] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:10:02] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:10:02] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:10:03] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22226e8012d83360005d15420000a014619..."} 
[2026-06-23 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22226e8012d83360005d15420000a014619..."} 
[2026-06-23 07:10:03] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22226e8012d83360005d15420000a014619..."} 
[2026-06-23 07:10:03] local.INFO: Packet analysis {"connection_id":111278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:10:03] local.INFO: Extracted packet for processing {"connection_id":111278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604640,"longitude_deg":76.357376,"latitude_deg":9.760464,"altitude":10,"angle":326,"satellites":25,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15420","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237690880001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163265490452480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965250048,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:03] 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-06-23 07:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178785000,"timestamp_ms":1782178785000,"timestamp_seconds":1782178785,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22226e8"} 
[2026-06-23 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-06-23 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 07:10:03] 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-06-23 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-06-23 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-06-23 07:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237690880001,"66":12624,"221":206,"85":15104,"24":0,"16":96163265490452480,"45":-8992562530965250048},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237690880001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163265490452480,"km_value":96163265490452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965250048,"description":"Unknown IO ID 45"} 
[2026-06-23 07:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237690880001,"power":12624,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992562530965250048}} 
[2026-06-23 07:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":111278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:10:03] local.INFO: GPS data processed {"connection_id":111278,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:10:03] local.INFO: Acknowledgment sent {"connection_id":111278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:10:03] local.INFO: TCP Data received {"connection_id":110477,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:10:03] local.INFO: Processing buffer {"connection_id":110477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:10:03] local.INFO: Packet analysis {"connection_id":110477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:10:03] local.INFO: Extracted packet for processing {"connection_id":110477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 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-06-23 07:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":110477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:10:03] local.INFO: GPS data processed {"connection_id":110477,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:10:03] local.INFO: Acknowledgment sent {"connection_id":110477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:10:13] local.INFO: TCP Data received {"connection_id":111279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:10:13] local.INFO: Processing buffer {"connection_id":111279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:10:13] local.INFO: IMEI packet received {"connection_id":111279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":111279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:10:25] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:10:25] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:10:25] local.INFO: IMEI packet received {"connection_id":110478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":110478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:10:32] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:10:32] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:10:32] local.INFO: IMEI packet received {"connection_id":110478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":110478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:10:34] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:10:34] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef21dba18012cc3308007685990005a00ee23..."} 
[2026-06-23 07:10:34] local.INFO: Packet analysis {"connection_id":110478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:10:34] local.INFO: Extracted packet for processing {"connection_id":110478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef21d"} 
[2026-06-23 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237617664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782178495000,"timestamp_ms":1782178495000,"timestamp_seconds":1782178495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef21dba18"} 
[2026-06-23 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-06-23 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237617664001,"66":24593,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237617664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:10:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:10:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:10:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237617664001,"power":24593,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":110478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:10:34] local.INFO: GPS data processed {"connection_id":110478,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:10:34] local.INFO: Acknowledgment sent {"connection_id":110478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:10:35] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2227120012d83360005d15420000a014619..."} 
[2026-06-23 07:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2227120012d83360005d15420000a014619..."} 
[2026-06-23 07:10:35] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2227120012d83360005d15420000a014619..."} 
[2026-06-23 07:10:35] local.INFO: Packet analysis {"connection_id":111278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:10:35] local.INFO: Extracted packet for processing {"connection_id":111278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:10:35] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604640,"longitude_deg":76.357376,"latitude_deg":9.760464,"altitude":10,"angle":326,"satellites":25,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15420","is_valid_coordinates":true} 
[2026-06-23 07:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237768960001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163265490452480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011828736,"note":"Value kept but may cause issues"} 
[2026-06-23 07:10:35] 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-06-23 07:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782178804000,"timestamp_ms":1782178804000,"timestamp_seconds":1782178804,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2227120"} 
[2026-06-23 07:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 07:10:35] 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-06-23 07: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-06-23 07:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237768960001,"66":12624,"221":206,"85":15104,"24":0,"16":96163265490452480,"45":-8991999581011828736},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237768960001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:10:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163265490452480,"km_value":96163265490452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011828736,"description":"Unknown IO ID 45"} 
[2026-06-23 07:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237768960001,"power":12624,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991999581011828736}} 
[2026-06-23 07:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":111278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:10:35] local.INFO: GPS data processed {"connection_id":111278,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:10:35] local.INFO: Acknowledgment sent {"connection_id":111278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:11:05] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:05] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:05] local.INFO: IMEI packet received {"connection_id":111280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":111280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:11:05] local.INFO: TCP Data received {"connection_id":110478,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:11:05] local.INFO: Processing buffer {"connection_id":110478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:11:05] local.INFO: Packet analysis {"connection_id":110478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:05] local.INFO: Extracted packet for processing {"connection_id":110478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 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-06-23 07:11: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-06-23 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":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:11:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:11:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":110478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:11:05] local.INFO: GPS data processed {"connection_id":110478,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:11:05] local.INFO: Acknowledgment sent {"connection_id":110478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:11:05] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:05] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:05] local.INFO: IMEI packet received {"connection_id":111280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":111280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:11:07] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2227120012d83360005d15420000a014619..."} 
[2026-06-23 07:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2227120012d83360005d15420000a014619..."} 
[2026-06-23 07:11:07] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2227120012d83360005d15420000a014619..."} 
[2026-06-23 07:11:07] local.INFO: Packet analysis {"connection_id":111280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:07] local.INFO: Extracted packet for processing {"connection_id":111280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604640,"longitude_deg":76.357376,"latitude_deg":9.760464,"altitude":10,"angle":326,"satellites":25,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15420","is_valid_coordinates":true} 
[2026-06-23 07:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237773824001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163265490452480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011828736,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:07] 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-06-23 07:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782178804000,"timestamp_ms":1782178804000,"timestamp_seconds":1782178804,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2227120"} 
[2026-06-23 07:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:11:07] 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-06-23 07:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 07:11:07] 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-06-23 07:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237773824001,"66":12624,"221":206,"85":15104,"24":0,"16":96163265490452480,"45":-8991999581011828736},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237773824001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163265490452480,"km_value":96163265490452.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011828736,"description":"Unknown IO ID 45"} 
[2026-06-23 07:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237773824001,"power":12624,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991999581011828736}} 
[2026-06-23 07:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":111280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:11:07] local.INFO: GPS data processed {"connection_id":111280,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:11:07] local.INFO: Acknowledgment sent {"connection_id":111280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:11:07] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef222a7d0012d83344005d152e0000b00dd1a..."} 
[2026-06-23 07:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef222a7d0012d83344005d152e0000b00dd1a..."} 
[2026-06-23 07:11:07] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef222a7d0012d83344005d152e0000b00dd1a..."} 
[2026-06-23 07:11:07] local.INFO: Packet analysis {"connection_id":111280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:07] local.INFO: Extracted packet for processing {"connection_id":111280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604320,"longitude_deg":76.3573312,"latitude_deg":9.760432,"altitude":11,"angle":221,"satellites":26,"speed":7,"hex_longitude":"2d833440","hex_latitude":"05d152e0","is_valid_coordinates":true} 
[2026-06-23 07:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237773824001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163278375354368,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581011828736,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:07] 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-06-23 07:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782178818000,"timestamp_ms":1782178818000,"timestamp_seconds":1782178818,"priority":1,"record_length":96,"hex_timestamp":"0000019ef222a7d0"} 
[2026-06-23 07:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:11:07] 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-06-23 07:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 07:11:07] 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-06-23 07:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237773824001,"66":11765,"221":206,"85":15104,"24":7,"16":96163278375354368,"45":-8991999581011828736},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237773824001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163278375354368,"km_value":96163278375354.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581011828736,"description":"Unknown IO ID 45"} 
[2026-06-23 07:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237773824001,"power":11765,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8991999581011828736}} 
[2026-06-23 07:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":111280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:11:07] local.INFO: GPS data processed {"connection_id":111280,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:11:07] local.INFO: Acknowledgment sent {"connection_id":111280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:11:25] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:11:25] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:11:25] local.INFO: IMEI packet received {"connection_id":111282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":111282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:11:30] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:11:30] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:11:30] local.INFO: IMEI packet received {"connection_id":111282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":111282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:11:32] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:11:32] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:11:32] local.INFO: Packet analysis {"connection_id":111282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:32] local.INFO: Extracted packet for processing {"connection_id":111282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 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-06-23 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:11:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:11:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":111282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:11:32] local.INFO: GPS data processed {"connection_id":111282,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:11:32] local.INFO: Acknowledgment sent {"connection_id":111282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:11:38] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef222abb8012d83334005d15260000b00ef1a..."} 
[2026-06-23 07:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef222abb8012d83334005d15260000b00ef1a..."} 
[2026-06-23 07:11:38] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef222abb8012d83334005d15260000b00ef1a..."} 
[2026-06-23 07:11:38] local.INFO: Packet analysis {"connection_id":111280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:38] local.INFO: Extracted packet for processing {"connection_id":111280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604192,"longitude_deg":76.3573056,"latitude_deg":9.7604192,"altitude":11,"angle":239,"satellites":26,"speed":8,"hex_longitude":"2d833340","hex_latitude":"05d15260","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237777408001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163291260256256,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221154304,"note":"Value kept but may cause issues"} 
[2026-06-23 07:11:38] 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-06-23 07:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782178819000,"timestamp_ms":1782178819000,"timestamp_seconds":1782178819,"priority":1,"record_length":96,"hex_timestamp":"0000019ef222abb8"} 
[2026-06-23 07:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:11:38] 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-06-23 07: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-23 07:11:38] 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-06-23 07: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-06-23 07:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237777408001,"66":11515,"221":206,"85":15104,"24":8,"16":96163291260256256,"45":-8992492162221154304},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237777408001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163291260256256,"km_value":96163291260256.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221154304,"description":"Unknown IO ID 45"} 
[2026-06-23 07:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237777408001,"power":11515,"unknown_221":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992492162221154304}} 
[2026-06-23 07:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":111280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:11:38] local.INFO: GPS data processed {"connection_id":111280,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:11:38] local.INFO: Acknowledgment sent {"connection_id":111280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:11:53] local.INFO: TCP Data received {"connection_id":110479,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:53] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:53] local.INFO: IMEI packet received {"connection_id":110479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":110479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:11:57] local.INFO: TCP Data received {"connection_id":110479,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:57] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:11:57] local.INFO: IMEI packet received {"connection_id":110479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":110479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:12:02] local.INFO: TCP Data received {"connection_id":110479,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:02] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:02] local.INFO: IMEI packet received {"connection_id":110479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":110479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:12:03] local.INFO: TCP Data received {"connection_id":110479,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef222afa0012d8332c005d15218000b01081b..."} 
[2026-06-23 07:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef222afa0012d8332c005d15218000b01081b..."} 
[2026-06-23 07:12:03] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef222afa0012d8332c005d15218000b01081b..."} 
[2026-06-23 07:12:03] local.INFO: Packet analysis {"connection_id":110479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:12:03] local.INFO: Extracted packet for processing {"connection_id":110479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763572928,"raw_latitude":97604120,"longitude_deg":76.3572928,"latitude_deg":9.760412,"altitude":11,"angle":264,"satellites":27,"speed":9,"hex_longitude":"2d8332c0","hex_latitude":"05d15218","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237777664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96163299850190848,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197897728,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:03] 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-06-23 07:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178820000,"timestamp_ms":1782178820000,"timestamp_seconds":1782178820,"priority":1,"record_length":96,"hex_timestamp":"0000019ef222afa0"} 
[2026-06-23 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-06-23 07:12: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-06-23 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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-23 07:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237777664001,"66":11515,"221":206,"85":15104,"24":9,"16":96163299850190848,"45":-8992773637197897728},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237777664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96163299850190848,"km_value":96163299850190.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197897728,"description":"Unknown IO ID 45"} 
[2026-06-23 07:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237777664001,"power":11515,"unknown_221":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-8992773637197897728}} 
[2026-06-23 07:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":110479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:12:03] local.INFO: GPS data processed {"connection_id":110479,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:12:03] local.INFO: Acknowledgment sent {"connection_id":110479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:12:03] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:12:03] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:12:03] local.INFO: Packet analysis {"connection_id":111282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:12:03] local.INFO: Extracted packet for processing {"connection_id":111282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:12:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 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-06-23 07:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":111282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:12:03] local.INFO: GPS data processed {"connection_id":111282,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:12:03] local.INFO: Acknowledgment sent {"connection_id":111282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:12:25] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:12:25] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:12:25] local.INFO: IMEI packet received {"connection_id":110480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":110480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:12:30] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:12:30] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:12:30] local.INFO: IMEI packet received {"connection_id":110480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":110480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:12:33] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:12:33] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:12:33] local.INFO: Packet analysis {"connection_id":110480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:12:33] local.INFO: Extracted packet for processing {"connection_id":110480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07: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":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:12:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:12:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:12:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":110480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:12:33] local.INFO: GPS data processed {"connection_id":110480,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:12:33] local.INFO: Acknowledgment sent {"connection_id":110480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:12:34] local.INFO: TCP Data received {"connection_id":110479,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2241318012d82968005d163b8000601641c..."} 
[2026-06-23 07:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2241318012d82968005d163b8000601641c..."} 
[2026-06-23 07:12:34] local.INFO: Processing buffer {"connection_id":110479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2241318012d82968005d163b8000601641c..."} 
[2026-06-23 07:12:34] local.INFO: Packet analysis {"connection_id":110479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:12:34] local.INFO: Extracted packet for processing {"connection_id":110479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97608632,"longitude_deg":76.3532928,"latitude_deg":9.7608632,"altitude":6,"angle":356,"satellites":28,"speed":11,"hex_longitude":"2d829680","hex_latitude":"05d163b8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237800960001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96165249765343232,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839796224000,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12: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-06-23 07:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782178911000,"timestamp_ms":1782178911000,"timestamp_seconds":1782178911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2241318"} 
[2026-06-23 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-06-23 07:12:34] 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-06-23 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 07:12: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-06-23 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-06-23 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-06-23 07:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237800960001,"66":13015,"64":206,"85":15104,"24":11,"16":96165249765343232,"45":-9036894839796224000},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237800960001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:12:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96165249765343232,"km_value":96165249765343.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839796224000,"description":"Unknown IO ID 45"} 
[2026-06-23 07:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237800960001,"power":13015,"unknown_64":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9036894839796224000}} 
[2026-06-23 07:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":110479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:12:34] local.INFO: GPS data processed {"connection_id":110479,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:12:34] local.INFO: Acknowledgment sent {"connection_id":110479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:12:57] local.INFO: TCP Data received {"connection_id":110481,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:57] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:57] local.INFO: IMEI packet received {"connection_id":110481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":110481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:12:59] local.INFO: TCP Data received {"connection_id":110481,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:59] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:12:59] local.INFO: IMEI packet received {"connection_id":110481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":110481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:12:59] local.INFO: TCP Data received {"connection_id":110481,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2245198012d82974005d18878000a01661b..."} 
[2026-06-23 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2245198012d82974005d18878000a01661b..."} 
[2026-06-23 07:12:59] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2245198012d82974005d18878000a01661b..."} 
[2026-06-23 07:12:59] local.INFO: Packet analysis {"connection_id":110481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:12:59] local.INFO: Extracted packet for processing {"connection_id":110481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97618040,"longitude_deg":76.353312,"latitude_deg":9.761804,"altitude":10,"angle":358,"satellites":27,"speed":27,"hex_longitude":"2d829740","hex_latitude":"05d18878","is_valid_coordinates":true} 
[2026-06-23 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237801216001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96165709326843904,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839796156416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:12:59] 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-06-23 07:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782178927000,"timestamp_ms":1782178927000,"timestamp_seconds":1782178927,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2245198"} 
[2026-06-23 07:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:12: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-06-23 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 07:12:59] 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-06-23 07:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237801216001,"66":13178,"64":206,"85":15104,"24":27,"16":96165709326843904,"45":-9036894839796156416},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-06-23 07:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237801216001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:12:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 07:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96165709326843904,"km_value":96165709326843.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839796156416,"description":"Unknown IO ID 45"} 
[2026-06-23 07:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237801216001,"power":13178,"unknown_64":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036894839796156416}} 
[2026-06-23 07:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":110481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:13:00] local.INFO: GPS data processed {"connection_id":110481,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:13:00] local.INFO: Acknowledgment sent {"connection_id":110481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:13:06] local.INFO: TCP Data received {"connection_id":110480,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:13:06] local.INFO: Processing buffer {"connection_id":110480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:13:06] local.INFO: Packet analysis {"connection_id":110480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:13:06] local.INFO: Extracted packet for processing {"connection_id":110480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:13:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:13:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":110480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:13:06] local.INFO: GPS data processed {"connection_id":110480,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:13:06] local.INFO: Acknowledgment sent {"connection_id":110480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:13:25] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:13:25] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:13:25] local.INFO: IMEI packet received {"connection_id":110661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:13:30] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:13:30] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:13:30] local.INFO: IMEI packet received {"connection_id":110661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":110661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:13:30] local.INFO: TCP Data received {"connection_id":110481,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2248c30012d82950005d1ab68000700001d..."} 
[2026-06-23 07:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2248c30012d82950005d1ab68000700001d..."} 
[2026-06-23 07:13:30] local.INFO: Processing buffer {"connection_id":110481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2248c30012d82950005d1ab68000700001d..."} 
[2026-06-23 07:13:30] local.INFO: Packet analysis {"connection_id":110481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:13:30] local.INFO: Extracted packet for processing {"connection_id":110481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97626984,"longitude_deg":76.3532544,"latitude_deg":9.7626984,"altitude":7,"angle":0,"satellites":29,"speed":4,"hex_longitude":"2d829500","hex_latitude":"05d1ab68","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237805312001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96166143118540800,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733561214976,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:30] 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-06-23 07:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782178942000,"timestamp_ms":1782178942000,"timestamp_seconds":1782178942,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2248c30"} 
[2026-06-23 07:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 07:13:30] 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-06-23 07: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-06-23 07:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237805312001,"66":13048,"63":206,"85":15104,"24":4,"16":96166143118540800,"45":-9036683733561214976},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-23 07:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237805312001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:13:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-23 07:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96166143118540800,"km_value":96166143118540.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733561214976,"description":"Unknown IO ID 45"} 
[2026-06-23 07:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237805312001,"power":13048,"unknown_63":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9036683733561214976}} 
[2026-06-23 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:13:31] local.INFO: GPS data processed {"connection_id":110481,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:13:31] local.INFO: Acknowledgment sent {"connection_id":110481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:13:31] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:13:31] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:13:31] local.INFO: Packet analysis {"connection_id":110661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:13:31] local.INFO: Extracted packet for processing {"connection_id":110661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:13:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:13:31] local.INFO: GPS data processed {"connection_id":110661,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:13:31] local.INFO: Acknowledgment sent {"connection_id":110661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:13:55] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:13:55] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:13:55] local.INFO: IMEI packet received {"connection_id":111283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":111283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:13:57] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:13:57] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:13:57] local.INFO: IMEI packet received {"connection_id":111283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":111283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:14:02] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:02] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:02] local.INFO: IMEI packet received {"connection_id":111283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":111283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:14:02] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef224da50012d82960005d1b870000700031d..."} 
[2026-06-23 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef224da50012d82960005d1b870000700031d..."} 
[2026-06-23 07:14:02] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef224da50012d82960005d1b870000700031d..."} 
[2026-06-23 07:14:02] local.INFO: Packet analysis {"connection_id":111283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:14:02] local.INFO: Extracted packet for processing {"connection_id":111283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef224"} 
[2026-06-23 07:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97630320,"longitude_deg":76.35328,"latitude_deg":9.763032,"altitude":7,"angle":3,"satellites":29,"speed":20,"hex_longitude":"2d829600","hex_latitude":"05d1b870","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237809152001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96166314917232640,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052256524288,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:02] 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-06-23 07:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782178962000,"timestamp_ms":1782178962000,"timestamp_seconds":1782178962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef224da50"} 
[2026-06-23 07:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:14: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-06-23 07:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 07:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237809152001,"66":13222,"63":206,"85":15104,"24":20,"16":96166314917232640,"45":-9037317052256524288},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-23 07:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237809152001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:14:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-23 07:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96166314917232640,"km_value":96166314917232.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052256524288,"description":"Unknown IO ID 45"} 
[2026-06-23 07:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237809152001,"power":13222,"unknown_63":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9037317052256524288}} 
[2026-06-23 07:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":111283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:14:02] local.INFO: GPS data processed {"connection_id":111283,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:14:02] local.INFO: Acknowledgment sent {"connection_id":111283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:14:04] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:04] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:04] local.INFO: Packet analysis {"connection_id":110661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:14:04] local.INFO: Extracted packet for processing {"connection_id":110661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07: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":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:14:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:14:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":110661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:14:04] local.INFO: GPS data processed {"connection_id":110661,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:14:04] local.INFO: Acknowledgment sent {"connection_id":110661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:14:30] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:14:30] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:14:30] local.INFO: IMEI packet received {"connection_id":111284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":111284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:14:33] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22514e8012d8296c005d1dce8000801641c..."} 
[2026-06-23 07:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22514e8012d8296c005d1dce8000801641c..."} 
[2026-06-23 07:14:33] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22514e8012d8296c005d1dce8000801641c..."} 
[2026-06-23 07:14:33] local.INFO: Packet analysis {"connection_id":111283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef225"} 
[2026-06-23 07:14:33] local.INFO: Extracted packet for processing {"connection_id":111283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef225"} 
[2026-06-23 07:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97639656,"longitude_deg":76.3532992,"latitude_deg":9.7639656,"altitude":8,"angle":356,"satellites":28,"speed":29,"hex_longitude":"2d8296c0","hex_latitude":"05d1dce8","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237814272001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96166770183766016,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577278959616,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14: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-06-23 07:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782178977000,"timestamp_ms":1782178977000,"timestamp_seconds":1782178977,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22514e8"} 
[2026-06-23 07:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:14: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-06-23 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 07:14:33] 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-06-23 07: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-06-23 07:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237814272001,"66":13374,"63":206,"85":15104,"24":29,"16":96166770183766016,"45":-9037035577278959616},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-23 07:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237814272001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:14:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-23 07:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96166770183766016,"km_value":96166770183766.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577278959616,"description":"Unknown IO ID 45"} 
[2026-06-23 07:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237814272001,"power":13374,"unknown_63":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9037035577278959616}} 
[2026-06-23 07:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":111283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:14:33] local.INFO: GPS data processed {"connection_id":111283,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:14:33] local.INFO: Acknowledgment sent {"connection_id":111283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:14:36] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:14:36] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:14:36] local.INFO: IMEI packet received {"connection_id":111284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":111284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:14:37] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:37] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:37] local.INFO: Packet analysis {"connection_id":111284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:14:37] local.INFO: Extracted packet for processing {"connection_id":111284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:14: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-06-23 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:14:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:14:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":111284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:14:37] local.INFO: GPS data processed {"connection_id":111284,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:14:37] local.INFO: Acknowledgment sent {"connection_id":111284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:14:40] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:40] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:14:40] local.INFO: Packet analysis {"connection_id":111284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:14:40] local.INFO: Extracted packet for processing {"connection_id":111284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:14:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07: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":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:14:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:14:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":111284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:14:40] local.INFO: GPS data processed {"connection_id":111284,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:14:40] local.INFO: Acknowledgment sent {"connection_id":111284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:14:55] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:55] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:55] local.INFO: IMEI packet received {"connection_id":110662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":110662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:14:58] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:58] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:14:58] local.INFO: IMEI packet received {"connection_id":110662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":110662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:15:02] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:15:02] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:15:02] local.INFO: IMEI packet received {"connection_id":110662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":110662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:15:02] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22547b0012d82950005d201c0000701671d..."} 
[2026-06-23 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22547b0012d82950005d201c0000701671d..."} 
[2026-06-23 07:15:02] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22547b0012d82950005d201c0000701671d..."} 
[2026-06-23 07:15:02] local.INFO: Packet analysis {"connection_id":110662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef225"} 
[2026-06-23 07:15:02] local.INFO: Extracted packet for processing {"connection_id":110662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef225"} 
[2026-06-23 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97649088,"longitude_deg":76.3532544,"latitude_deg":9.7649088,"altitude":7,"angle":359,"satellites":29,"speed":29,"hex_longitude":"2d829500","hex_latitude":"05d201c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237818112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96167229745266688,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471044036608,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:02] 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-06-23 07:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782178990000,"timestamp_ms":1782178990000,"timestamp_seconds":1782178990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22547b0"} 
[2026-06-23 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-06-23 07:15:02] 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-06-23 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-23 07:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237818112001,"66":13059,"63":206,"85":15104,"24":29,"16":96167229745266688,"45":-9036824471044036608},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-06-23 07:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237818112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96167229745266688,"km_value":96167229745266.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471044036608,"description":"Unknown IO ID 45"} 
[2026-06-23 07:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237818112001,"power":13059,"unknown_63":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9036824471044036608}} 
[2026-06-23 07:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":110662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:15:02] local.INFO: GPS data processed {"connection_id":110662,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:15:02] local.INFO: Acknowledgment sent {"connection_id":110662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:15:12] local.INFO: TCP Data received {"connection_id":111285,"ip":"8.216.7.143","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-06-23 07:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-06-23 07:15:12] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-06-23 07:15:12] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":111285,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-06-23 07:15:25] local.INFO: TCP Data received {"connection_id":110484,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:15:25] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:15:25] local.INFO: IMEI packet received {"connection_id":110484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":110484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:15:25] local.INFO: TCP Data received {"connection_id":111286,"ip":"8.216.7.143","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-23 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-23 07:15:25] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-23 07:15:25] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":111286,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-06-23 07:15:30] local.INFO: TCP Data received {"connection_id":110484,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:15:30] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:15:30] local.INFO: IMEI packet received {"connection_id":110484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:15:31] local.INFO: TCP Data received {"connection_id":110484,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:15:31] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22251e0012cc3308007685990005a00ee25..."} 
[2026-06-23 07:15:31] local.INFO: Packet analysis {"connection_id":110484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:15:31] local.INFO: Extracted packet for processing {"connection_id":110484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef222"} 
[2026-06-23 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237694720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782178796000,"timestamp_ms":1782178796000,"timestamp_seconds":1782178796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22251e0"} 
[2026-06-23 07:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":17,"data_length":795,"current_offset":136} 
[2026-06-23 07:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":831,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237694720001,"66":25212,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237694720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:15:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:15:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237694720001,"power":25212,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":110484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:15:31] local.INFO: GPS data processed {"connection_id":110484,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:15:31] local.INFO: Acknowledgment sent {"connection_id":110484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:15:34] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2272828012d827c4005d34ad0000200fa1d..."} 
[2026-06-23 07:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2272828012d827c4005d34ad0000200fa1d..."} 
[2026-06-23 07:15:34] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2272828012d827c4005d34ad0000200fa1d..."} 
[2026-06-23 07:15:34] local.INFO: Packet analysis {"connection_id":110662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef227"} 
[2026-06-23 07:15:34] local.INFO: Extracted packet for processing {"connection_id":110662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef227"} 
[2026-06-23 07:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763526208,"raw_latitude":97733328,"longitude_deg":76.3526208,"latitude_deg":9.7733328,"altitude":2,"angle":250,"satellites":29,"speed":7,"hex_longitude":"2d827c40","hex_latitude":"05d34ad0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237852672001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96171378683674624,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044002082926163968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:15: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-06-23 07:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782179113000,"timestamp_ms":1782179113000,"timestamp_seconds":1782179113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2272828"} 
[2026-06-23 07:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:15: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-06-23 07: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-06-23 07: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-06-23 07: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-06-23 07:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237852672001,"66":13254,"221":206,"85":15104,"24":7,"16":96171378683674624,"45":-9044002082926163968},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237852672001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:15:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96171378683674624,"km_value":96171378683674.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044002082926163968,"description":"Unknown IO ID 45"} 
[2026-06-23 07:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237852672001,"power":13254,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9044002082926163968}} 
[2026-06-23 07:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":110662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:15:34] local.INFO: GPS data processed {"connection_id":110662,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:15:34] local.INFO: Acknowledgment sent {"connection_id":110662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:15:38] local.INFO: TCP Data received {"connection_id":110483,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:15:38] local.INFO: Processing buffer {"connection_id":110483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:15:38] local.INFO: IMEI packet received {"connection_id":110483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":110483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:15:39] local.INFO: TCP Data received {"connection_id":110485,"ip":"8.216.7.143","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-06-23 07:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110485,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-06-23 07:15:39] local.INFO: Processing buffer {"connection_id":110485,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-06-23 07:15:39] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":110485,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-06-23 07:16:04] local.INFO: TCP Data received {"connection_id":110484,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:16:04] local.INFO: Processing buffer {"connection_id":110484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:16:04] local.INFO: Packet analysis {"connection_id":110484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:16:04] local.INFO: Extracted packet for processing {"connection_id":110484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:16:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:16:04] local.INFO: GPS data processed {"connection_id":110484,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:16:04] local.INFO: Acknowledgment sent {"connection_id":110484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:16:08] local.INFO: TCP Data received {"connection_id":112222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:16:08] local.INFO: Processing buffer {"connection_id":112222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:16:08] local.INFO: IMEI packet received {"connection_id":112222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":112222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:16:12] local.INFO: TCP Data received {"connection_id":112223,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:12] local.INFO: Processing buffer {"connection_id":112223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:12] local.INFO: IMEI packet received {"connection_id":112223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":112223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:16:17] local.INFO: TCP Data received {"connection_id":112223,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:17] local.INFO: Processing buffer {"connection_id":112223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:17] local.INFO: IMEI packet received {"connection_id":112223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":112223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:16:18] local.INFO: TCP Data received {"connection_id":112223,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22737c8012d8277c005d349b8000201071d..."} 
[2026-06-23 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22737c8012d8277c005d349b8000201071d..."} 
[2026-06-23 07:16:18] local.INFO: Processing buffer {"connection_id":112223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22737c8012d8277c005d349b8000201071d..."} 
[2026-06-23 07:16:18] local.INFO: Packet analysis {"connection_id":112223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef227"} 
[2026-06-23 07:16:18] local.INFO: Extracted packet for processing {"connection_id":112223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef227"} 
[2026-06-23 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763525056,"raw_latitude":97733048,"longitude_deg":76.3525056,"latitude_deg":9.7733048,"altitude":2,"angle":263,"satellites":29,"speed":16,"hex_longitude":"2d8277c0","hex_latitude":"05d349b8","is_valid_coordinates":true} 
[2026-06-23 07:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237852928001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96171434518249472,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044283557902888960,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:18] 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-06-23 07:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782179117000,"timestamp_ms":1782179117000,"timestamp_seconds":1782179117,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22737c8"} 
[2026-06-23 07:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 07:16:18] 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-06-23 07:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":112223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":112223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":112223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237852928001,"66":13048,"221":206,"85":15104,"24":16,"16":96171434518249472,"45":-9044283557902888960},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 07:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237852928001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:16:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 07:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96171434518249472,"km_value":96171434518249.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044283557902888960,"description":"Unknown IO ID 45"} 
[2026-06-23 07:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237852928001,"power":13048,"unknown_221":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9044283557902888960}} 
[2026-06-23 07:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":112223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:16:18] local.INFO: GPS data processed {"connection_id":112223,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:16:18] local.INFO: Acknowledgment sent {"connection_id":112223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:16:24] local.INFO: TCP Data received {"connection_id":110486,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:16:24] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:16:24] local.INFO: IMEI packet received {"connection_id":110486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":110486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:16:32] local.INFO: TCP Data received {"connection_id":110486,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:16:32] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:16:32] local.INFO: IMEI packet received {"connection_id":110486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":110486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:16:34] local.INFO: TCP Data received {"connection_id":110486,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:16:34] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:16:34] local.INFO: Packet analysis {"connection_id":110486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:16:34] local.INFO: Extracted packet for processing {"connection_id":110486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:16:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:16:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:16:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":110486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:16:34] local.INFO: GPS data processed {"connection_id":110486,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:16:34] local.INFO: Acknowledgment sent {"connection_id":110486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:16:57] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:57] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:57] local.INFO: IMEI packet received {"connection_id":110663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":110663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:16:58] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:58] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:16:58] local.INFO: IMEI packet received {"connection_id":110663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":110663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:17:00] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:00] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:00] local.INFO: IMEI packet received {"connection_id":110663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":110663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:17:02] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2284d20012d81ae8005d390f00004015c1c..."} 
[2026-06-23 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2284d20012d81ae8005d390f00004015c1c..."} 
[2026-06-23 07:17:02] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2284d20012d81ae8005d390f00004015c1c..."} 
[2026-06-23 07:17:02] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef228"} 
[2026-06-23 07:17:02] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef228"} 
[2026-06-23 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763473536,"raw_latitude":97751280,"longitude_deg":76.3473536,"latitude_deg":9.775128,"altitude":4,"angle":348,"satellites":28,"speed":39,"hex_longitude":"2d81ae80","hex_latitude":"05d390f0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237871616001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96174664333656064,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101634084403574784,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] 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-06-23 07:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179188000,"timestamp_ms":1782179188000,"timestamp_seconds":1782179188,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2284d20"} 
[2026-06-23 07:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 07:17:02] 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-06-23 07: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-06-23 07:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237871616001,"66":13059,"207":206,"85":15104,"24":39,"16":96174664333656064,"45":-9101634084403574784},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237871616001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96174664333656064,"km_value":96174664333656.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101634084403574784,"description":"Unknown IO ID 45"} 
[2026-06-23 07:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237871616001,"power":13059,"unknown_207":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9101634084403574784}} 
[2026-06-23 07:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:17:02] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:17:02] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:17:02] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2286490012d81abc005d3aa80000500011c..."} 
[2026-06-23 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2286490012d81abc005d3aa80000500011c..."} 
[2026-06-23 07:17:02] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2286490012d81abc005d3aa80000500011c..."} 
[2026-06-23 07:17:02] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef228"} 
[2026-06-23 07:17:02] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef228"} 
[2026-06-23 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763472832,"raw_latitude":97757824,"longitude_deg":76.3472832,"latitude_deg":9.7757824,"altitude":5,"angle":1,"satellites":28,"speed":48,"hex_longitude":"2d81abc0","hex_latitude":"05d3aa80","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237872128001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96174982161235968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102197034356510720,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] 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-06-23 07:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179194000,"timestamp_ms":1782179194000,"timestamp_seconds":1782179194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2286490"} 
[2026-06-23 07:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:17: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-06-23 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937463,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399450,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2920349696,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4062718456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758173569,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010054862,"corrected_to":0} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221607294,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718583,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,207,85,24,241,157,16,174,158,69,45,128,137,4,28,10,66,61,131,57,1,240,63,227,242,211,113,205,21,188,192,29,239,49,2,5,26],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2010054862,"validated":0}]} 
[2026-06-23 07:17:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288613126459817984,"timestamp_seconds":288613126459818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237872128001,"66":13504,"207":206,"85":15104,"24":48,"16":96174982161235968,"45":-9102197034356510720},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 07:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237872128001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96174982161235968,"km_value":96174982161235.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102197034356510720,"description":"Unknown IO ID 45"} 
[2026-06-23 07:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237872128001,"power":13504,"unknown_207":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9102197034356510720}} 
[2026-06-23 07:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:17:02] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:17:02] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:17:07] local.INFO: TCP Data received {"connection_id":110486,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:17:07] local.INFO: Processing buffer {"connection_id":110486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:17:07] local.INFO: Packet analysis {"connection_id":110486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:17:07] local.INFO: Extracted packet for processing {"connection_id":110486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:17:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:17:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:17:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":110486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:17:07] local.INFO: GPS data processed {"connection_id":110486,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:17:07] local.INFO: Acknowledgment sent {"connection_id":110486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:17:24] local.INFO: TCP Data received {"connection_id":112224,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:17:24] local.INFO: Processing buffer {"connection_id":112224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:17:24] local.INFO: IMEI packet received {"connection_id":112224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":112224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:17:30] local.INFO: TCP Data received {"connection_id":112224,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:17:30] local.INFO: Processing buffer {"connection_id":112224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:17:30] local.INFO: IMEI packet received {"connection_id":112224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":112224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:17:32] local.INFO: TCP Data received {"connection_id":112224,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:17:32] local.INFO: Processing buffer {"connection_id":112224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:17:32] local.INFO: Packet analysis {"connection_id":112224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:17:32] local.INFO: Extracted packet for processing {"connection_id":112224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:17:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 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-06-23 07:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:17:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:17:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":112224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:17:32] local.INFO: GPS data processed {"connection_id":112224,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:17:32] local.INFO: Acknowledgment sent {"connection_id":112224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:17:33] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2287818012d81aa8005d3c3180003015c1c..."} 
[2026-06-23 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2287818012d81aa8005d3c3180003015c1c..."} 
[2026-06-23 07:17:33] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2287818012d81aa8005d3c3180003015c1c..."} 
[2026-06-23 07:17:33] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef228"} 
[2026-06-23 07:17:33] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef228"} 
[2026-06-23 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763472512,"raw_latitude":97764120,"longitude_deg":76.3472512,"latitude_deg":9.776412,"altitude":3,"angle":348,"satellites":28,"speed":51,"hex_longitude":"2d81aa80","hex_latitude":"05d3c318","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237873664001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96175287103913984,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102971090540789760,"note":"Value kept but may cause issues"} 
[2026-06-23 07:17: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-06-23 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782179199000,"timestamp_ms":1782179199000,"timestamp_seconds":1782179199,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2287818"} 
[2026-06-23 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:17:33] 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-06-23 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-06-23 07:17: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-06-23 07: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-06-23 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237873664001,"66":12917,"207":206,"85":15104,"24":51,"16":96175287103913984,"45":-9102971090540789760},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237873664001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96175287103913984,"km_value":96175287103913.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102971090540789760,"description":"Unknown IO ID 45"} 
[2026-06-23 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237873664001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9102971090540789760}} 
[2026-06-23 07:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:17:34] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:17:34] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:17:55] local.INFO: TCP Data received {"connection_id":111287,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:55] local.INFO: Processing buffer {"connection_id":111287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:55] local.INFO: IMEI packet received {"connection_id":111287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":111287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:17:56] local.INFO: TCP Data received {"connection_id":111287,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:56] local.INFO: Processing buffer {"connection_id":111287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:56] local.INFO: IMEI packet received {"connection_id":111287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":111287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:17:57] local.INFO: TCP Data received {"connection_id":111287,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:57] local.INFO: Processing buffer {"connection_id":111287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:57] local.INFO: IMEI packet received {"connection_id":111287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":111287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:17:57] local.INFO: TCP Data received {"connection_id":111287,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:57] local.INFO: Processing buffer {"connection_id":111287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:17:57] local.INFO: IMEI packet received {"connection_id":111287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":111287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:18:04] local.INFO: TCP Data received {"connection_id":112224,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:18:04] local.INFO: Processing buffer {"connection_id":112224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:18:04] local.INFO: Packet analysis {"connection_id":112224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:18:04] local.INFO: Extracted packet for processing {"connection_id":112224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:18:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:18:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:18:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":112224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:18:04] local.INFO: GPS data processed {"connection_id":112224,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:18:04] local.INFO: Acknowledgment sent {"connection_id":112224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:18:30] local.INFO: TCP Data received {"connection_id":110664,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:18:30] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:18:30] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:18:35] local.INFO: TCP Data received {"connection_id":110664,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:18:35] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:18:35] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:18:36] local.INFO: TCP Data received {"connection_id":110664,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:18:36] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:18:36] local.INFO: Packet analysis {"connection_id":110664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:18:36] local.INFO: Extracted packet for processing {"connection_id":110664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:18:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:18:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:18:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":110664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:18:36] local.INFO: GPS data processed {"connection_id":110664,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:18:36] local.INFO: Acknowledgment sent {"connection_id":110664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:19:08] local.INFO: TCP Data received {"connection_id":110664,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:19:08] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:19:08] local.INFO: Packet analysis {"connection_id":110664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:19:08] local.INFO: Extracted packet for processing {"connection_id":110664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:19:08] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:19:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:19:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:19:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:19:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":110664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:19:08] local.INFO: GPS data processed {"connection_id":110664,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:19:08] local.INFO: Acknowledgment sent {"connection_id":110664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:19:25] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:19:25] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:19:25] local.INFO: IMEI packet received {"connection_id":110665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":110665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:19:30] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:19:30] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:19:30] local.INFO: IMEI packet received {"connection_id":110665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:19:32] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:19:32] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:19:32] local.INFO: Packet analysis {"connection_id":110665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:19:32] local.INFO: Extracted packet for processing {"connection_id":110665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:19:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 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-06-23 07:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:19:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:19:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":110665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:19:32] local.INFO: GPS data processed {"connection_id":110665,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:19:32] local.INFO: Acknowledgment sent {"connection_id":110665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:20:04] local.INFO: TCP Data received {"connection_id":110665,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:20:04] local.INFO: Processing buffer {"connection_id":110665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:20:04] local.INFO: Packet analysis {"connection_id":110665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:20:04] local.INFO: Extracted packet for processing {"connection_id":110665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:20:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 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-06-23 07:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:20:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:20:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":110665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:20:04] local.INFO: GPS data processed {"connection_id":110665,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:20:04] local.INFO: Acknowledgment sent {"connection_id":110665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:20:24] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:20:24] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:20:24] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:20:30] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:20:30] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:20:30] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:20:31] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:20:31] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef226e9a8012cc3308007685990005a00ee26..."} 
[2026-06-23 07:20:31] local.INFO: Packet analysis {"connection_id":111291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:20:31] local.INFO: Extracted packet for processing {"connection_id":111291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef226"} 
[2026-06-23 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237771776001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179097000,"timestamp_ms":1782179097000,"timestamp_seconds":1782179097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef226e9a8"} 
[2026-06-23 07:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 07:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237771776001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237771776001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:20:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237771776001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":111291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:20:31] local.INFO: GPS data processed {"connection_id":111291,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:20:31] local.INFO: Acknowledgment sent {"connection_id":111291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:21:03] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:21:03] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:21:03] local.INFO: Packet analysis {"connection_id":111291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:21:03] local.INFO: Extracted packet for processing {"connection_id":111291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:21:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 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-06-23 07:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:21:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":111291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:21:03] local.INFO: GPS data processed {"connection_id":111291,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:21:03] local.INFO: Acknowledgment sent {"connection_id":111291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:21:25] local.INFO: TCP Data received {"connection_id":112227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:21:25] local.INFO: Processing buffer {"connection_id":112227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:21:25] local.INFO: IMEI packet received {"connection_id":112227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":112227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:21:30] local.INFO: TCP Data received {"connection_id":112227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:21:30] local.INFO: Processing buffer {"connection_id":112227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:21:30] local.INFO: IMEI packet received {"connection_id":112227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":112227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:21:31] local.INFO: TCP Data received {"connection_id":112227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:21:31] local.INFO: Processing buffer {"connection_id":112227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:21:31] local.INFO: Packet analysis {"connection_id":112227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:21:31] local.INFO: Extracted packet for processing {"connection_id":112227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:21:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:21:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:21:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":112227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:21:31] local.INFO: GPS data processed {"connection_id":112227,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:21:31] local.INFO: Acknowledgment sent {"connection_id":112227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:21:37] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:21:37] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:21:37] local.INFO: IMEI packet received {"connection_id":110666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":110666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:22:03] local.INFO: TCP Data received {"connection_id":112227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:22:03] local.INFO: Processing buffer {"connection_id":112227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:22:03] local.INFO: Packet analysis {"connection_id":112227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:22:03] local.INFO: Extracted packet for processing {"connection_id":112227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:22:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:22:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":112227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:22:03] local.INFO: GPS data processed {"connection_id":112227,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:22:03] local.INFO: Acknowledgment sent {"connection_id":112227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:22:24] local.INFO: TCP Data received {"connection_id":111293,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:22:24] local.INFO: Processing buffer {"connection_id":111293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:22:24] local.INFO: IMEI packet received {"connection_id":111293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":111293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:22:30] local.INFO: TCP Data received {"connection_id":111293,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:22:30] local.INFO: Processing buffer {"connection_id":111293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:22:30] local.INFO: IMEI packet received {"connection_id":111293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":111293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:22:32] local.INFO: TCP Data received {"connection_id":111293,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:22:32] local.INFO: Processing buffer {"connection_id":111293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:22:32] local.INFO: Packet analysis {"connection_id":111293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:22:32] local.INFO: Extracted packet for processing {"connection_id":111293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:22:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:22:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 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-06-23 07:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:22:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:22:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:22:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":111293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:22:32] local.INFO: GPS data processed {"connection_id":111293,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:22:32] local.INFO: Acknowledgment sent {"connection_id":111293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:22:58] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:22:58] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:22:58] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:22:59] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:22:59] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:22:59] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:23:00] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:00] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:00] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:23:02] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:02] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:02] local.INFO: IMEI packet received {"connection_id":110489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":110489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:23:03] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22da068012d82a08005d5f910000d003a1e..."} 
[2026-06-23 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22da068012d82a08005d5f910000d003a1e..."} 
[2026-06-23 07:23:03] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22da068012d82a08005d5f910000d003a1e..."} 
[2026-06-23 07:23:03] local.INFO: Packet analysis {"connection_id":110489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22d"} 
[2026-06-23 07:23:03] local.INFO: Extracted packet for processing {"connection_id":110489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22d"} 
[2026-06-23 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763535488,"raw_latitude":97909008,"longitude_deg":76.3535488,"latitude_deg":9.7909008,"altitude":13,"angle":58,"satellites":30,"speed":4,"hex_longitude":"2d82a080","hex_latitude":"05d5f910","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237956352001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96185410341830656,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920463138816,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:03] 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-06-23 07:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179537000,"timestamp_ms":1782179537000,"timestamp_seconds":1782179537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22da068"} 
[2026-06-23 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-06-23 07:23: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-06-23 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-23 07:23:03] 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-06-23 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-06-23 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-06-23 07:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237956352001,"66":13102,"157":206,"85":15104,"24":4,"16":96185410341830656,"45":-9043016920463138816},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237956352001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:23:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96185410341830656,"km_value":96185410341830.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920463138816,"description":"Unknown IO ID 45"} 
[2026-06-23 07:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237956352001,"power":13102,"unknown_157":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9043016920463138816}} 
[2026-06-23 07:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":110489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:23:03] local.INFO: GPS data processed {"connection_id":110489,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:23:03] local.INFO: Acknowledgment sent {"connection_id":110489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:23:04] local.INFO: TCP Data received {"connection_id":111293,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:23:04] local.INFO: Processing buffer {"connection_id":111293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:23:04] local.INFO: Packet analysis {"connection_id":111293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:23:04] local.INFO: Extracted packet for processing {"connection_id":111293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:23:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:23:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:23:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":111293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:23:05] local.INFO: GPS data processed {"connection_id":111293,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:23:05] local.INFO: Acknowledgment sent {"connection_id":111293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:23:12] local.INFO: TCP Data received {"connection_id":112228,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:23:12] local.INFO: Processing buffer {"connection_id":112228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:23:12] local.INFO: IMEI packet received {"connection_id":112228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":112228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:23:25] local.INFO: TCP Data received {"connection_id":110667,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:23:25] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:23:25] local.INFO: IMEI packet received {"connection_id":110667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":110667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:23:29] local.INFO: TCP Data received {"connection_id":110667,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:23:29] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:23:29] local.INFO: IMEI packet received {"connection_id":110667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":110667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:23:31] local.INFO: TCP Data received {"connection_id":110667,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:23:31] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:23:31] local.INFO: Packet analysis {"connection_id":110667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:23:31] local.INFO: Extracted packet for processing {"connection_id":110667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:23:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:23:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":110667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:23:31] local.INFO: GPS data processed {"connection_id":110667,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:23:31] local.INFO: Acknowledgment sent {"connection_id":110667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:23:33] local.INFO: TCP Data received {"connection_id":110489,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22e9680012d82c20005d65640000e00131c..."} 
[2026-06-23 07:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22e9680012d82c20005d65640000e00131c..."} 
[2026-06-23 07:23:33] local.INFO: Processing buffer {"connection_id":110489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22e9680012d82c20005d65640000e00131c..."} 
[2026-06-23 07:23:33] local.INFO: Packet analysis {"connection_id":110489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:23:33] local.INFO: Extracted packet for processing {"connection_id":110489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763544064,"raw_latitude":97932864,"longitude_deg":76.3544064,"latitude_deg":9.7932864,"altitude":14,"angle":19,"satellites":28,"speed":33,"hex_longitude":"2d82c200","hex_latitude":"05d65640","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237974784001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96186754666594304,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690507255808,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] 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-06-23 07:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782179600000,"timestamp_ms":1782179600000,"timestamp_seconds":1782179600,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22e9680"} 
[2026-06-23 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-06-23 07:23: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-06-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3096772608,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063115456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192064517,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2963369849786417157,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":214,"raw_value":1558245531204263424,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2818649474,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024998,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3591909376,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885563479283003,"note":"Value kept but may cause issues"} 
[2026-06-23 07:23:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,85,24,241,16,184,158,103,45,64,49,14,29,10,66,95,46,88,128,1,240,7,227,242,214,4,113,205,23,60,167,152,31,239,52,2,5,17,133],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-06-23 07:23:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008826232295849984,"timestamp_seconds":1008826232295850.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 07:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237974784001,"66":12906,"157":206,"85":15104,"24":33,"16":96186754666594304,"45":-9027324690507255808},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237974784001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:23:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96186754666594304,"km_value":96186754666594.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690507255808,"description":"Unknown IO ID 45"} 
[2026-06-23 07:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237974784001,"power":12906,"unknown_157":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9027324690507255808}} 
[2026-06-23 07:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":110489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:23:33] local.INFO: GPS data processed {"connection_id":110489,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:23:33] local.INFO: Acknowledgment sent {"connection_id":110489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:23:57] local.INFO: TCP Data received {"connection_id":110490,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:57] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:23:57] local.INFO: IMEI packet received {"connection_id":110490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":110490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:24:02] local.INFO: TCP Data received {"connection_id":110490,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:24:02] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:24:02] local.INFO: IMEI packet received {"connection_id":110490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":110490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:24:03] local.INFO: TCP Data received {"connection_id":110490,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22ebd90012d82ce0005d676e0000d00061c..."} 
[2026-06-23 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22ebd90012d82ce0005d676e0000d00061c..."} 
[2026-06-23 07:24:03] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22ebd90012d82ce0005d676e0000d00061c..."} 
[2026-06-23 07:24:03] local.INFO: Packet analysis {"connection_id":110490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:24:03] local.INFO: Extracted packet for processing {"connection_id":110490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763547136,"raw_latitude":97941216,"longitude_deg":76.3547136,"latitude_deg":9.7941216,"altitude":13,"angle":6,"satellites":28,"speed":33,"hex_longitude":"2d82ce00","hex_latitude":"05d676e0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237977600001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187188458291200,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024650678226239488,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:03] 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-06-23 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179610000,"timestamp_ms":1782179610000,"timestamp_seconds":1782179610,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22ebd90"} 
[2026-06-23 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-06-23 07:24: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-06-23 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 07:24:03] 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-06-23 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-06-23 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-06-23 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237977600001,"66":13200,"157":206,"85":15104,"24":33,"16":96187188458291200,"45":-9024650678226239488},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237977600001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:24:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187188458291200,"km_value":96187188458291.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024650678226239488,"description":"Unknown IO ID 45"} 
[2026-06-23 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237977600001,"power":13200,"unknown_157":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9024650678226239488}} 
[2026-06-23 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:24:03] local.INFO: GPS data processed {"connection_id":110490,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:24:03] local.INFO: Acknowledgment sent {"connection_id":110490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:24:04] local.INFO: TCP Data received {"connection_id":110667,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:24:04] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:24:04] local.INFO: Packet analysis {"connection_id":110667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:24:04] local.INFO: Extracted packet for processing {"connection_id":110667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:24:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:24:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":110667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:24:04] local.INFO: GPS data processed {"connection_id":110667,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:24:04] local.INFO: Acknowledgment sent {"connection_id":110667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:24:25] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:24:25] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:24:25] local.INFO: IMEI packet received {"connection_id":110668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:24:30] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:24:30] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:24:30] local.INFO: IMEI packet received {"connection_id":110668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":110668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:24:32] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:24:32] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:24:32] local.INFO: Packet analysis {"connection_id":110668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:24:32] local.INFO: Extracted packet for processing {"connection_id":110668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:24:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 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-06-23 07:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:24:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:24:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":110668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:24:32] local.INFO: GPS data processed {"connection_id":110668,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:24:32] local.INFO: Acknowledgment sent {"connection_id":110668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:24:34] local.INFO: TCP Data received {"connection_id":110490,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22ebd90012d82ce0005d676e0000d00061c..."} 
[2026-06-23 07:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22ebd90012d82ce0005d676e0000d00061c..."} 
[2026-06-23 07:24:34] local.INFO: Processing buffer {"connection_id":110490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22ebd90012d82ce0005d676e0000d00061c..."} 
[2026-06-23 07:24:34] local.INFO: Packet analysis {"connection_id":110490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:24:34] local.INFO: Extracted packet for processing {"connection_id":110490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763547136,"raw_latitude":97941216,"longitude_deg":76.3547136,"latitude_deg":9.7941216,"altitude":13,"angle":6,"satellites":28,"speed":33,"hex_longitude":"2d82ce00","hex_latitude":"05d676e0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237980160001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187188458291200,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021272978503573504,"note":"Value kept but may cause issues"} 
[2026-06-23 07:24:34] 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-06-23 07:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782179610000,"timestamp_ms":1782179610000,"timestamp_seconds":1782179610,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22ebd90"} 
[2026-06-23 07:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:24: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-06-23 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-23 07:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237980160001,"66":13200,"157":206,"85":15104,"24":33,"16":96187188458291200,"45":-9021272978503573504},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237980160001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:24:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187188458291200,"km_value":96187188458291.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021272978503573504,"description":"Unknown IO ID 45"} 
[2026-06-23 07:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237980160001,"power":13200,"unknown_157":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9021272978503573504}} 
[2026-06-23 07:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":110490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:24:34] local.INFO: GPS data processed {"connection_id":110490,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:24:34] local.INFO: Acknowledgment sent {"connection_id":110490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:24:57] local.INFO: TCP Data received {"connection_id":110491,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:24:57] local.INFO: Processing buffer {"connection_id":110491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:24:57] local.INFO: IMEI packet received {"connection_id":110491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":110491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:25:02] local.INFO: TCP Data received {"connection_id":110491,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110491,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:25:02] local.INFO: Processing buffer {"connection_id":110491,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:25:02] local.INFO: IMEI packet received {"connection_id":110491,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":110491,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:25:03] local.INFO: TCP Data received {"connection_id":110491,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22edcd0012d82cfc005d683c8000d01581e..."} 
[2026-06-23 07:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22edcd0012d82cfc005d683c8000d01581e..."} 
[2026-06-23 07:25:03] local.INFO: Processing buffer {"connection_id":110491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22edcd0012d82cfc005d683c8000d01581e..."} 
[2026-06-23 07:25:03] local.INFO: Packet analysis {"connection_id":110491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:25:03] local.INFO: Extracted packet for processing {"connection_id":110491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763547584,"raw_latitude":97944520,"longitude_deg":76.3547584,"latitude_deg":9.794452,"altitude":13,"angle":344,"satellites":30,"speed":5,"hex_longitude":"2d82cfc0","hex_latitude":"05d683c8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237980160001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187351667048448,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021272978503573504,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:03] 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-06-23 07:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179618000,"timestamp_ms":1782179618000,"timestamp_seconds":1782179618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22edcd0"} 
[2026-06-23 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-06-23 07:25: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-06-23 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-23 07:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237980160001,"66":13319,"157":206,"85":15104,"24":5,"16":96187351667048448,"45":-9021272978503573504},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237980160001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:25:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187351667048448,"km_value":96187351667048.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021272978503573504,"description":"Unknown IO ID 45"} 
[2026-06-23 07:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237980160001,"power":13319,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9021272978503573504}} 
[2026-06-23 07:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":110491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:25:03] local.INFO: GPS data processed {"connection_id":110491,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:25:03] local.INFO: Acknowledgment sent {"connection_id":110491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:25:04] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:25:04] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:25:04] local.INFO: Packet analysis {"connection_id":110668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:25:04] local.INFO: Extracted packet for processing {"connection_id":110668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:25:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:25:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":110668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:25:04] local.INFO: GPS data processed {"connection_id":110668,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:25:04] local.INFO: Acknowledgment sent {"connection_id":110668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:25:24] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:25:24] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:25:24] local.INFO: IMEI packet received {"connection_id":110669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":110669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:25:30] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:25:30] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:25:30] local.INFO: IMEI packet received {"connection_id":110669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":110669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:25:32] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:25:32] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22b8170012cc3308007685990005a00ee26..."} 
[2026-06-23 07:25:32] local.INFO: Packet analysis {"connection_id":110669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:25:32] local.INFO: Extracted packet for processing {"connection_id":110669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22b"} 
[2026-06-23 07:25:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237848832001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782179398000,"timestamp_ms":1782179398000,"timestamp_seconds":1782179398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22b8170"} 
[2026-06-23 07:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237848832001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237848832001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:25:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:25:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237848832001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":110669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:25:32] local.INFO: GPS data processed {"connection_id":110669,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:25:32] local.INFO: Acknowledgment sent {"connection_id":110669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:25:34] local.INFO: TCP Data received {"connection_id":110491,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22ee0b8012d82cfc005d68430000d01491e..."} 
[2026-06-23 07:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22ee0b8012d82cfc005d68430000d01491e..."} 
[2026-06-23 07:25:34] local.INFO: Processing buffer {"connection_id":110491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22ee0b8012d82cfc005d68430000d01491e..."} 
[2026-06-23 07:25:34] local.INFO: Packet analysis {"connection_id":110491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:25:34] local.INFO: Extracted packet for processing {"connection_id":110491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763547584,"raw_latitude":97944624,"longitude_deg":76.3547584,"latitude_deg":9.7944624,"altitude":13,"angle":329,"satellites":30,"speed":5,"hex_longitude":"2d82cfc0","hex_latitude":"05d68430","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237982208001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187355962015744,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020780397293484032,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] 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-06-23 07:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782179619000,"timestamp_ms":1782179619000,"timestamp_seconds":1782179619,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22ee0b8"} 
[2026-06-23 07:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:25: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-06-23 07: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":7,"data_length":795,"current_offset":136} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3102277632,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063125456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193129477,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3071455005998717952,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2684431746,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376870,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3593342976,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57885563479283003,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":6341069570315419653,"note":"Value kept but may cause issues"} 
[2026-06-23 07:25:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,85,24,241,16,185,158,189,45,118,13,28,10,66,150,1,240,106,227,242,214,4,113,205,23,103,183,104,29,239,52,2,5,14,198,46],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-06-23 07:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937127083342364672,"timestamp_seconds":937127083342364.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110491,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237982208001,"66":13417,"157":206,"85":15104,"24":5,"16":96187355962015744,"45":-9020780397293484032},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237982208001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:25:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187355962015744,"km_value":96187355962015.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020780397293484032,"description":"Unknown IO ID 45"} 
[2026-06-23 07:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237982208001,"power":13417,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9020780397293484032}} 
[2026-06-23 07:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":110491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:25:34] local.INFO: GPS data processed {"connection_id":110491,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:25:34] local.INFO: Acknowledgment sent {"connection_id":110491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:26:02] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:02] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:02] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:26:03] local.INFO: TCP Data received {"connection_id":110669,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:26:03] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:26:03] local.INFO: Packet analysis {"connection_id":110669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:26:03] local.INFO: Extracted packet for processing {"connection_id":110669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:26:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:26:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:26:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":110669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:26:03] local.INFO: GPS data processed {"connection_id":110669,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:26:03] local.INFO: Acknowledgment sent {"connection_id":110669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:26:07] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:07] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:07] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:26:07] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22ee4a0012d82cf4005d68478000d013b1e..."} 
[2026-06-23 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22ee4a0012d82cf4005d68478000d013b1e..."} 
[2026-06-23 07:26:07] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22ee4a0012d82cf4005d68478000d013b1e..."} 
[2026-06-23 07:26:07] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:26:07] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22e"} 
[2026-06-23 07:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763547456,"raw_latitude":97944696,"longitude_deg":76.3547456,"latitude_deg":9.7944696,"altitude":13,"angle":315,"satellites":30,"speed":5,"hex_longitude":"2d82cf40","hex_latitude":"05d68478","is_valid_coordinates":true} 
[2026-06-23 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237982464001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187364551950336,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020780397293457408,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:07] 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-06-23 07:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782179620000,"timestamp_ms":1782179620000,"timestamp_seconds":1782179620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22ee4a0"} 
[2026-06-23 07:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:26: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-06-23 07:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 07:26:07] 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-06-23 07:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237982464001,"66":13417,"157":206,"85":15104,"24":5,"16":96187364551950336,"45":-9020780397293457408},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 07:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237982464001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:26:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 07:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187364551950336,"km_value":96187364551950.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020780397293457408,"description":"Unknown IO ID 45"} 
[2026-06-23 07:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237982464001,"power":13417,"unknown_157":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9020780397293457408}} 
[2026-06-23 07:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:26:07] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:26:07] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:26:12] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef22f32c0012d82ce8005d68520000d013b20..."} 
[2026-06-23 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef22f32c0012d82ce8005d68520000d013b20..."} 
[2026-06-23 07:26:12] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef22f32c0012d82ce8005d68520000d013b20..."} 
[2026-06-23 07:26:12] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef22f"} 
[2026-06-23 07:26:12] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef22f"} 
[2026-06-23 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763547264,"raw_latitude":97944864,"longitude_deg":76.3547264,"latitude_deg":9.7944864,"altitude":13,"angle":315,"satellites":32,"speed":0,"hex_longitude":"2d82ce80","hex_latitude":"05d68520","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237982720001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187381731819520,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020921134781794304,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:12] 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-06-23 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782179640000,"timestamp_ms":1782179640000,"timestamp_seconds":1782179640,"priority":1,"record_length":96,"hex_timestamp":"0000019ef22f32c0"} 
[2026-06-23 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:26: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-06-23 07: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 07:26:12] 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-06-23 07: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-06-23 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237982720001,"66":13298,"156":206,"85":15104,"24":0,"16":96187381731819520,"45":-9020921134781794304},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237982720001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187381731819520,"km_value":96187381731819.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020921134781794304,"description":"Unknown IO ID 45"} 
[2026-06-23 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237982720001,"power":13298,"unknown_156":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9020921134781794304}} 
[2026-06-23 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:26:12] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:26:12] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:26:24] local.INFO: TCP Data received {"connection_id":112230,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:26:24] local.INFO: Processing buffer {"connection_id":112230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:26:24] local.INFO: IMEI packet received {"connection_id":112230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":112230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:26:30] local.INFO: TCP Data received {"connection_id":112230,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:26:30] local.INFO: Processing buffer {"connection_id":112230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:26:30] local.INFO: IMEI packet received {"connection_id":112230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":112230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:26:31] local.INFO: TCP Data received {"connection_id":112230,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:26:31] local.INFO: Processing buffer {"connection_id":112230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:26:31] local.INFO: Packet analysis {"connection_id":112230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:26:31] local.INFO: Extracted packet for processing {"connection_id":112230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:26:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":112230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:26:31] local.INFO: GPS data processed {"connection_id":112230,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:26:31] local.INFO: Acknowledgment sent {"connection_id":112230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:26:56] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:56] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:56] local.INFO: IMEI packet received {"connection_id":110670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":110670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:26:57] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:57] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:26:57] local.INFO: IMEI packet received {"connection_id":110670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":110670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:27:02] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:27:02] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:27:02] local.INFO: IMEI packet received {"connection_id":110670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":110670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:27:02] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2314218012d82b88005d69de0000c016023..."} 
[2026-06-23 07:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2314218012d82b88005d69de0000c016023..."} 
[2026-06-23 07:27:02] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2314218012d82b88005d69de0000c016023..."} 
[2026-06-23 07:27:02] local.INFO: Packet analysis {"connection_id":110670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef231"} 
[2026-06-23 07:27:02] local.INFO: Extracted packet for processing {"connection_id":110670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef231"} 
[2026-06-23 07:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763541632,"raw_latitude":97951200,"longitude_deg":76.3541632,"latitude_deg":9.79512,"altitude":12,"angle":352,"satellites":35,"speed":17,"hex_longitude":"2d82b880","hex_latitude":"05d69de0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238021376001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187815523516416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846779740160,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:02] 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-06-23 07:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179775000,"timestamp_ms":1782179775000,"timestamp_seconds":1782179775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2314218"} 
[2026-06-23 07:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:27:02] 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-06-23 07:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 07:27:02] 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-06-23 07: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-06-23 07:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238021376001,"66":12917,"156":206,"85":15104,"24":17,"16":96187815523516416,"45":-9026972846779740160},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 07:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238021376001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:27:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 07:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187815523516416,"km_value":96187815523516.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846779740160,"description":"Unknown IO ID 45"} 
[2026-06-23 07:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238021376001,"power":12917,"unknown_156":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9026972846779740160}} 
[2026-06-23 07:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":110670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:27:02] local.INFO: GPS data processed {"connection_id":110670,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:27:02] local.INFO: Acknowledgment sent {"connection_id":110670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:27:04] local.INFO: TCP Data received {"connection_id":112230,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:04] local.INFO: Processing buffer {"connection_id":112230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:04] local.INFO: Packet analysis {"connection_id":112230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:27:04] local.INFO: Extracted packet for processing {"connection_id":112230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:27:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:27:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":112230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:27:04] local.INFO: GPS data processed {"connection_id":112230,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:27:04] local.INFO: Acknowledgment sent {"connection_id":112230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:27:31] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:27:31] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:27:31] local.INFO: IMEI packet received {"connection_id":110494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":110494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:27:33] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23151b8012d82b80005d6a598000c000423..."} 
[2026-06-23 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23151b8012d82b80005d6a598000c000423..."} 
[2026-06-23 07:27:33] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23151b8012d82b80005d6a598000c000423..."} 
[2026-06-23 07:27:33] local.INFO: Packet analysis {"connection_id":110670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef231"} 
[2026-06-23 07:27:33] local.INFO: Extracted packet for processing {"connection_id":110670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef231"} 
[2026-06-23 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763541504,"raw_latitude":97953176,"longitude_deg":76.3541504,"latitude_deg":9.7953176,"altitude":12,"angle":4,"satellites":35,"speed":20,"hex_longitude":"2d82b800","hex_latitude":"05d6a598","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238022400001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96187910012796928,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690500296704,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27: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-06-23 07:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782179779000,"timestamp_ms":1782179779000,"timestamp_seconds":1782179779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23151b8"} 
[2026-06-23 07:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:27: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-06-23 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 07:27:33] 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-06-23 07: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-06-23 07:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238022400001,"66":13406,"156":206,"85":15104,"24":20,"16":96187910012796928,"45":-9027324690500296704},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 07:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238022400001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:27:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 07:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96187910012796928,"km_value":96187910012796.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690500296704,"description":"Unknown IO ID 45"} 
[2026-06-23 07:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238022400001,"power":13406,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9027324690500296704}} 
[2026-06-23 07:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":110670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:27:33] local.INFO: GPS data processed {"connection_id":110670,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:27:33] local.INFO: Acknowledgment sent {"connection_id":110670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:27:39] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:27:39] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:27:39] local.INFO: IMEI packet received {"connection_id":110494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":110494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:27:40] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:40] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:40] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:27:40] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:27:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:27:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:27:40] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:27:40] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:27:42] local.INFO: TCP Data received {"connection_id":110494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:42] local.INFO: Processing buffer {"connection_id":110494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:27:42] local.INFO: Packet analysis {"connection_id":110494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:27:42] local.INFO: Extracted packet for processing {"connection_id":110494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:27:42] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:27:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":110494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:27:42] local.INFO: GPS data processed {"connection_id":110494,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:27:42] local.INFO: Acknowledgment sent {"connection_id":110494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:27:57] local.INFO: TCP Data received {"connection_id":112231,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:27:57] local.INFO: Processing buffer {"connection_id":112231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:27:57] local.INFO: IMEI packet received {"connection_id":112231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":112231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:28:01] local.INFO: TCP Data received {"connection_id":112231,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:28:01] local.INFO: Processing buffer {"connection_id":112231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:28:01] local.INFO: IMEI packet received {"connection_id":112231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":112231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:28:02] local.INFO: TCP Data received {"connection_id":112231,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2318480012d82ba0005d6cb28000a000023..."} 
[2026-06-23 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2318480012d82ba0005d6cb28000a000023..."} 
[2026-06-23 07:28:02] local.INFO: Processing buffer {"connection_id":112231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2318480012d82ba0005d6cb28000a000023..."} 
[2026-06-23 07:28:02] local.INFO: Packet analysis {"connection_id":112231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef231"} 
[2026-06-23 07:28:02] local.INFO: Extracted packet for processing {"connection_id":112231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef231"} 
[2026-06-23 07:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763542016,"raw_latitude":97962792,"longitude_deg":76.3542016,"latitude_deg":9.7962792,"altitude":10,"angle":0,"satellites":35,"speed":31,"hex_longitude":"2d82ba00","hex_latitude":"05d6cb28","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238023424001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96188378164232192,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027465427988146176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:02] 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-06-23 07:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179792000,"timestamp_ms":1782179792000,"timestamp_seconds":1782179792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2318480"} 
[2026-06-23 07:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:28:02] 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-06-23 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-23 07:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238023424001,"66":13319,"156":206,"85":15104,"24":31,"16":96188378164232192,"45":-9027465427988146176},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 07:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238023424001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:28:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 07:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96188378164232192,"km_value":96188378164232.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027465427988146176,"description":"Unknown IO ID 45"} 
[2026-06-23 07:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238023424001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9027465427988146176}} 
[2026-06-23 07:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":112231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:28:02] local.INFO: GPS data processed {"connection_id":112231,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:28:02] local.INFO: Acknowledgment sent {"connection_id":112231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:28:25] local.INFO: TCP Data received {"connection_id":110672,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:28:25] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:28:25] local.INFO: IMEI packet received {"connection_id":110672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":110672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:28:30] local.INFO: TCP Data received {"connection_id":110672,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:28:30] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:28:30] local.INFO: IMEI packet received {"connection_id":110672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:28:31] local.INFO: TCP Data received {"connection_id":110672,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:28:31] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:28:31] local.INFO: Packet analysis {"connection_id":110672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:28:31] local.INFO: Extracted packet for processing {"connection_id":110672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:28:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:28:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:28:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":110672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:28:31] local.INFO: GPS data processed {"connection_id":110672,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:28:31] local.INFO: Acknowledgment sent {"connection_id":110672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:28:33] local.INFO: TCP Data received {"connection_id":112231,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2331ea8012d82850005d89458000b015a23..."} 
[2026-06-23 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2331ea8012d82850005d89458000b015a23..."} 
[2026-06-23 07:28:33] local.INFO: Processing buffer {"connection_id":112231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2331ea8012d82850005d89458000b015a23..."} 
[2026-06-23 07:28:33] local.INFO: Packet analysis {"connection_id":112231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:28:33] local.INFO: Extracted packet for processing {"connection_id":112231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98079832,"longitude_deg":76.3528448,"latitude_deg":9.8079832,"altitude":11,"angle":346,"satellites":35,"speed":54,"hex_longitude":"2d828500","hex_latitude":"05d89458","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238051840001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96194120535506944,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037739264607913984,"note":"Value kept but may cause issues"} 
[2026-06-23 07:28:33] 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-06-23 07:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782179897000,"timestamp_ms":1782179897000,"timestamp_seconds":1782179897,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2331ea8"} 
[2026-06-23 07:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:28:33] 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-06-23 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 07:28: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-06-23 07: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-06-23 07:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238051840001,"66":13037,"155":206,"85":15104,"24":54,"16":96194120535506944,"45":-9037739264607913984},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 07:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238051840001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:28:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 07:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96194120535506944,"km_value":96194120535506.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037739264607913984,"description":"Unknown IO ID 45"} 
[2026-06-23 07:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238051840001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-9037739264607913984}} 
[2026-06-23 07:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":112231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:28:33] local.INFO: GPS data processed {"connection_id":112231,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:28:33] local.INFO: Acknowledgment sent {"connection_id":112231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:28:37] local.INFO: TCP Data received {"connection_id":110671,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:28:37] local.INFO: Processing buffer {"connection_id":110671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:28:37] local.INFO: IMEI packet received {"connection_id":110671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":110671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:28:57] local.INFO: TCP Data received {"connection_id":110495,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:28:57] local.INFO: Processing buffer {"connection_id":110495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:28:57] local.INFO: IMEI packet received {"connection_id":110495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":110495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:29:02] local.INFO: TCP Data received {"connection_id":110495,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:29:02] local.INFO: Processing buffer {"connection_id":110495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:29:02] local.INFO: IMEI packet received {"connection_id":110495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":110495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:29:02] local.INFO: TCP Data received {"connection_id":110495,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2332678012d82848005d89f28000b000023..."} 
[2026-06-23 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2332678012d82848005d89f28000b000023..."} 
[2026-06-23 07:29:02] local.INFO: Processing buffer {"connection_id":110495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2332678012d82848005d89f28000b000023..."} 
[2026-06-23 07:29:02] local.INFO: Packet analysis {"connection_id":110495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:29:02] local.INFO: Extracted packet for processing {"connection_id":110495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":98082600,"longitude_deg":76.352832,"latitude_deg":9.80826,"altitude":11,"angle":0,"satellites":35,"speed":56,"hex_longitude":"2d828480","hex_latitude":"05d89f28","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238053632001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96194257974460416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651767965696,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:02] 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-06-23 07:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179899000,"timestamp_ms":1782179899000,"timestamp_seconds":1782179899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2332678"} 
[2026-06-23 07:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:29: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-06-23 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 07:29:02] 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-06-23 07: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-06-23 07:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238053632001,"66":13319,"155":206,"85":15104,"24":56,"16":96194257974460416,"45":-9041820651767965696},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 07:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238053632001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:29:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 07:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96194257974460416,"km_value":96194257974460.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651767965696,"description":"Unknown IO ID 45"} 
[2026-06-23 07:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238053632001,"power":13319,"unknown_155":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-9041820651767965696}} 
[2026-06-23 07:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":110495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:29:02] local.INFO: GPS data processed {"connection_id":110495,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:29:02] local.INFO: Acknowledgment sent {"connection_id":110495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:29:03] local.INFO: TCP Data received {"connection_id":110672,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:29:03] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:29:03] local.INFO: Packet analysis {"connection_id":110672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:29:03] local.INFO: Extracted packet for processing {"connection_id":110672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:29:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:29:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:29:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":110672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:29:03] local.INFO: GPS data processed {"connection_id":110672,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:29:03] local.INFO: Acknowledgment sent {"connection_id":110672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:29:07] local.INFO: TCP Data received {"connection_id":112232,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:29:07] local.INFO: Processing buffer {"connection_id":112232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:29:07] local.INFO: IMEI packet received {"connection_id":112232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":112232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:29:25] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:29:25] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:29:25] local.INFO: IMEI packet received {"connection_id":110496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":110496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:29:29] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:29:29] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:29:29] local.INFO: IMEI packet received {"connection_id":110496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":110496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:29:31] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:29:31] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:29:31] local.INFO: Packet analysis {"connection_id":110496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:29:31] local.INFO: Extracted packet for processing {"connection_id":110496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:29:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:29:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":110496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:29:31] local.INFO: GPS data processed {"connection_id":110496,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:29:31] local.INFO: Acknowledgment sent {"connection_id":110496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:29:33] local.INFO: TCP Data received {"connection_id":110495,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2333de8012d82848005d8c238000b016522..."} 
[2026-06-23 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2333de8012d82848005d8c238000b016522..."} 
[2026-06-23 07:29:33] local.INFO: Processing buffer {"connection_id":110495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2333de8012d82848005d8c238000b016522..."} 
[2026-06-23 07:29:33] local.INFO: Packet analysis {"connection_id":110495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:29:33] local.INFO: Extracted packet for processing {"connection_id":110495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":98091576,"longitude_deg":76.352832,"latitude_deg":9.8091576,"altitude":11,"angle":357,"satellites":34,"speed":60,"hex_longitude":"2d828480","hex_latitude":"05d8c238","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238054144001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96194691766157312,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389255612416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] 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-06-23 07:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782179905000,"timestamp_ms":1782179905000,"timestamp_seconds":1782179905,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2333de8"} 
[2026-06-23 07:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:29:33] 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-06-23 07: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":7,"data_length":795,"current_offset":136} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3197501440,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063402456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191278085,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795176142,"corrected_to":0} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8552336987353235461,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3622993920,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885554889348411,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-3706462441762971136,"note":"Value kept but may cause issues"} 
[2026-06-23 07:29:33] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,155,85,24,241,157,16,192,158,30,45,148,11,35,10,66,3,128,113,12,34,191,243,64,1,240,237,227,242,216,4,205,49,185,56,33,239,50,2,5,13,46,187,215],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2795176142,"validated":0}]} 
[2026-06-23 07:29:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792633684744732672,"timestamp_seconds":792633684744732.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238054144001,"66":13091,"155":206,"85":15104,"24":60,"16":96194691766157312,"45":-9041961389255612416},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 07:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238054144001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:29:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 07:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96194691766157312,"km_value":96194691766157.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389255612416,"description":"Unknown IO ID 45"} 
[2026-06-23 07:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238054144001,"power":13091,"unknown_155":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":-9041961389255612416}} 
[2026-06-23 07:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":110495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:29:33] local.INFO: GPS data processed {"connection_id":110495,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:29:33] local.INFO: Acknowledgment sent {"connection_id":110495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:29:57] local.INFO: TCP Data received {"connection_id":110498,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:29:57] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:29:57] local.INFO: IMEI packet received {"connection_id":110498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":110498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:30:02] local.INFO: TCP Data received {"connection_id":110498,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:30:02] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:30:02] local.INFO: IMEI packet received {"connection_id":110498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":110498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:30:02] local.INFO: TCP Data received {"connection_id":110496,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:30:02] local.INFO: Processing buffer {"connection_id":110496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:30:02] local.INFO: Packet analysis {"connection_id":110496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:30:02] local.INFO: Extracted packet for processing {"connection_id":110496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":110496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:30:02] local.INFO: GPS data processed {"connection_id":110496,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:30:02] local.INFO: Acknowledgment sent {"connection_id":110496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:30:02] local.INFO: TCP Data received {"connection_id":110498,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2335558012d82820005d8e5c0000a016322..."} 
[2026-06-23 07:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2335558012d82820005d8e5c0000a016322..."} 
[2026-06-23 07:30:02] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2335558012d82820005d8e5c0000a016322..."} 
[2026-06-23 07:30:02] local.INFO: Packet analysis {"connection_id":110498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:30:02] local.INFO: Extracted packet for processing {"connection_id":110498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":98100672,"longitude_deg":76.352768,"latitude_deg":9.8100672,"altitude":10,"angle":355,"satellites":34,"speed":55,"hex_longitude":"2d828200","hex_latitude":"05d8e5c0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238055680001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96195134147788800,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389253314560,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:02] 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-06-23 07:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782179911000,"timestamp_ms":1782179911000,"timestamp_seconds":1782179911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2335558"} 
[2026-06-23 07:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 07:30:02] 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-06-23 07: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-06-23 07:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238055680001,"66":12885,"155":206,"85":15104,"24":55,"16":96195134147788800,"45":-9041961389253314560},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 07:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238055680001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96195134147788800,"km_value":96195134147788.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389253314560,"description":"Unknown IO ID 45"} 
[2026-06-23 07:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238055680001,"power":12885,"unknown_155":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-9041961389253314560}} 
[2026-06-23 07:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":110498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:30:02] local.INFO: GPS data processed {"connection_id":110498,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:30:02] local.INFO: Acknowledgment sent {"connection_id":110498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:30:25] local.INFO: TCP Data received {"connection_id":112233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:30:25] local.INFO: Processing buffer {"connection_id":112233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:30:25] local.INFO: IMEI packet received {"connection_id":112233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":112233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:30:30] local.INFO: TCP Data received {"connection_id":112233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:30:30] local.INFO: Processing buffer {"connection_id":112233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:30:30] local.INFO: IMEI packet received {"connection_id":112233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":112233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:30:31] local.INFO: TCP Data received {"connection_id":112233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:30:31] local.INFO: Processing buffer {"connection_id":112233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2301938012cc3308007685990005a00ee25..."} 
[2026-06-23 07:30:31] local.INFO: Packet analysis {"connection_id":112233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:30:31] local.INFO: Extracted packet for processing {"connection_id":112233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef230"} 
[2026-06-23 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456237925888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782179699000,"timestamp_ms":1782179699000,"timestamp_seconds":1782179699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2301938"} 
[2026-06-23 07:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456237925888001,"66":25223,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456237925888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:30:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:30:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456237925888001,"power":25223,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":112233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:30:31] local.INFO: GPS data processed {"connection_id":112233,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:30:31] local.INFO: Acknowledgment sent {"connection_id":112233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:30:33] local.INFO: TCP Data received {"connection_id":110498,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef233a378012d827f0005d905900008015d23..."} 
[2026-06-23 07:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef233a378012d827f0005d905900008015d23..."} 
[2026-06-23 07:30:33] local.INFO: Processing buffer {"connection_id":110498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef233a378012d827f0005d905900008015d23..."} 
[2026-06-23 07:30:33] local.INFO: Packet analysis {"connection_id":110498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:30:33] local.INFO: Extracted packet for processing {"connection_id":110498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef233"} 
[2026-06-23 07:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763526912,"raw_latitude":98108816,"longitude_deg":76.3526912,"latitude_deg":9.8108816,"altitude":8,"angle":349,"satellites":35,"speed":4,"hex_longitude":"2d827f00","hex_latitude":"05d90590","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238057216001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96195537874714624,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076692762624,"note":"Value kept but may cause issues"} 
[2026-06-23 07:30:33] 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-06-23 07:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782179931000,"timestamp_ms":1782179931000,"timestamp_seconds":1782179931,"priority":1,"record_length":96,"hex_timestamp":"0000019ef233a378"} 
[2026-06-23 07:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:30: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-06-23 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 07:30:33] 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-06-23 07: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-06-23 07:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238057216001,"66":12743,"49":206,"85":15104,"24":4,"16":96195537874714624,"45":-9042665076692762624},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-23 07:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238057216001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:30:33] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 07:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96195537874714624,"km_value":96195537874714.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076692762624,"description":"Unknown IO ID 45"} 
[2026-06-23 07:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238057216001,"power":12743,"unknown_49":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9042665076692762624}} 
[2026-06-23 07:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":110498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:30:33] local.INFO: GPS data processed {"connection_id":110498,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:30:33] local.INFO: Acknowledgment sent {"connection_id":110498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:30:57] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:30:57] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:30:57] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:31:00] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:00] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:00] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:31:02] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:02] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:02] local.INFO: IMEI packet received {"connection_id":110500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":110500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:31:02] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2352e00012d82300005da5d88000d015622..."} 
[2026-06-23 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2352e00012d82300005da5d88000d015622..."} 
[2026-06-23 07:31:02] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2352e00012d82300005da5d88000d015622..."} 
[2026-06-23 07:31:02] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef235"} 
[2026-06-23 07:31:02] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef235"} 
[2026-06-23 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763506688,"raw_latitude":98196872,"longitude_deg":76.3506688,"latitude_deg":9.8196872,"altitude":13,"angle":342,"satellites":34,"speed":51,"hex_longitude":"2d823000","hex_latitude":"05da5d88","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238086400001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96199948806127616,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063705331179481088,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] 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-06-23 07:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782180032000,"timestamp_ms":1782180032000,"timestamp_seconds":1782180032,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2352e00"} 
[2026-06-23 07:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732190,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3271294976,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063502456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186182661,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3092774923,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3489738114,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":655708,"corrected_to":0} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":58077557095399474,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3647942656,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,69,85,24,241,157,16,196,158,243,45,192,23,13,33,10,66,244,11,34,114,128,1,240,227,195,242,217,4,113,205,59,86,200,239,49,2,5,9,50],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0},{"io_id":200,"original":655708,"validated":0}]} 
[2026-06-23 07:31:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937134801401413632,"timestamp_seconds":937134801401413.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238086400001,"66":13059,"69":206,"85":15104,"24":51,"16":96199948806127616,"45":-9063705331179481088},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238086400001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96199948806127616,"km_value":96199948806127.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063705331179481088,"description":"Unknown IO ID 45"} 
[2026-06-23 07:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238086400001,"power":13059,"unknown_69":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9063705331179481088}} 
[2026-06-23 07:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:31:02] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:31:02] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:31:02] local.INFO: TCP Data received {"connection_id":112233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:31:02] local.INFO: Processing buffer {"connection_id":112233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:31:02] local.INFO: Packet analysis {"connection_id":112233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:31:02] local.INFO: Extracted packet for processing {"connection_id":112233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":112233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:31:02] local.INFO: GPS data processed {"connection_id":112233,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:31:02] local.INFO: Acknowledgment sent {"connection_id":112233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:31:07] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2354d40012d82224005da8180000b015422..."} 
[2026-06-23 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2354d40012d82224005da8180000b015422..."} 
[2026-06-23 07:31:07] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2354d40012d82224005da8180000b015422..."} 
[2026-06-23 07:31:07] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef235"} 
[2026-06-23 07:31:07] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef235"} 
[2026-06-23 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763503168,"raw_latitude":98206080,"longitude_deg":76.3503168,"latitude_deg":9.820608,"altitude":11,"angle":340,"satellites":34,"speed":41,"hex_longitude":"2d822240","hex_latitude":"05da8180","is_valid_coordinates":true} 
[2026-06-23 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238088192001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96200425547497472,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065746024758409216,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] 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-06-23 07:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782180040000,"timestamp_ms":1782180040000,"timestamp_seconds":1782180040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2354d40"} 
[2026-06-23 07:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303156436192679,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":58077557095399477,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3278700544,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063509456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185658373,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3727163404,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2147867064,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3650209792,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,69,85,24,241,157,16,197,158,18,45,64,59,13,35,10,66,196,243,192,23,33,1,240,139,227,242,217,4,113,205,49,87,78,88,34,239,51,2,5,53],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-06-23 07:31:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937124901501992960,"timestamp_seconds":937124901501993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238088192001,"66":12472,"71":206,"85":15104,"24":41,"16":96200425547497472,"45":-9065746024758409216},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 07:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238088192001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:31:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 07:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96200425547497472,"km_value":96200425547497.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065746024758409216,"description":"Unknown IO ID 45"} 
[2026-06-23 07:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238088192001,"power":12472,"unknown_71":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9065746024758409216}} 
[2026-06-23 07:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:31:07] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:31:07] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:31:25] local.INFO: TCP Data received {"connection_id":112234,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:31:25] local.INFO: Processing buffer {"connection_id":112234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:31:25] local.INFO: IMEI packet received {"connection_id":112234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":112234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:31:30] local.INFO: TCP Data received {"connection_id":112234,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:31:30] local.INFO: Processing buffer {"connection_id":112234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:31:30] local.INFO: IMEI packet received {"connection_id":112234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":112234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:31:31] local.INFO: TCP Data received {"connection_id":112234,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:31:31] local.INFO: Processing buffer {"connection_id":112234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:31:31] local.INFO: Packet analysis {"connection_id":112234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:31:31] local.INFO: Extracted packet for processing {"connection_id":112234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:31:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:31:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":112234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:31:31] local.INFO: GPS data processed {"connection_id":112234,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:31:31] local.INFO: Acknowledgment sent {"connection_id":112234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:31:38] local.INFO: TCP Data received {"connection_id":110500,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef235f920012d818b0005da81680004011221..."} 
[2026-06-23 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef235f920012d818b0005da81680004011221..."} 
[2026-06-23 07:31:38] local.INFO: Processing buffer {"connection_id":110500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef235f920012d818b0005da81680004011221..."} 
[2026-06-23 07:31:38] local.INFO: Packet analysis {"connection_id":110500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef235"} 
[2026-06-23 07:31:38] local.INFO: Extracted packet for processing {"connection_id":110500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef235"} 
[2026-06-23 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763464448,"raw_latitude":98206056,"longitude_deg":76.3464448,"latitude_deg":9.8206056,"altitude":4,"angle":274,"satellites":33,"speed":31,"hex_longitude":"2d818b00","hex_latitude":"05da8168","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238101504001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96202465656963072,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112189395913316352,"note":"Value kept but may cause issues"} 
[2026-06-23 07:31: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-06-23 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782180084000,"timestamp_ms":1782180084000,"timestamp_seconds":1782180084,"priority":1,"record_length":96,"hex_timestamp":"0000019ef235f920"} 
[2026-06-23 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 07:31:38] 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-06-23 07: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-06-23 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238101504001,"66":12798,"71":206,"85":15104,"24":31,"16":96202465656963072,"45":-9112189395913316352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238101504001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96202465656963072,"km_value":96202465656963.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112189395913316352,"description":"Unknown IO ID 45"} 
[2026-06-23 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238101504001,"power":12798,"unknown_71":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9112189395913316352}} 
[2026-06-23 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":110500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:31:38] local.INFO: GPS data processed {"connection_id":110500,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:31:38] local.INFO: Acknowledgment sent {"connection_id":110500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:31:56] local.INFO: TCP Data received {"connection_id":110501,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:56] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:31:56] local.INFO: IMEI packet received {"connection_id":110501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":110501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:32:01] local.INFO: TCP Data received {"connection_id":110501,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:01] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:01] local.INFO: IMEI packet received {"connection_id":110501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":110501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:32:02] local.INFO: TCP Data received {"connection_id":110501,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:02] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:02] local.INFO: IMEI packet received {"connection_id":110501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":110501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:32:02] local.INFO: TCP Data received {"connection_id":110501,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2362030012d81698005da83980004012323..."} 
[2026-06-23 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2362030012d81698005da83980004012323..."} 
[2026-06-23 07:32:02] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2362030012d81698005da83980004012323..."} 
[2026-06-23 07:32:02] local.INFO: Packet analysis {"connection_id":110501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef236"} 
[2026-06-23 07:32:02] local.INFO: Extracted packet for processing {"connection_id":110501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef236"} 
[2026-06-23 07:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763455872,"raw_latitude":98206616,"longitude_deg":76.3455872,"latitude_deg":9.8206616,"altitude":4,"angle":291,"satellites":35,"speed":29,"hex_longitude":"2d816980","hex_latitude":"05da8398","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238101504001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96202877973823488,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112189395913316352,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:02] 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-06-23 07:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782180094000,"timestamp_ms":1782180094000,"timestamp_seconds":1782180094,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2362030"} 
[2026-06-23 07:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 07:32:02] 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-06-23 07: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-06-23 07:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238101504001,"66":12428,"71":206,"85":15104,"24":29,"16":96202877973823488,"45":-9112189395913316352},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 07:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238101504001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:32:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 07:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96202877973823488,"km_value":96202877973823.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112189395913316352,"description":"Unknown IO ID 45"} 
[2026-06-23 07:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238101504001,"power":12428,"unknown_71":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9112189395913316352}} 
[2026-06-23 07:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":110501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:32:02] local.INFO: GPS data processed {"connection_id":110501,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:32:02] local.INFO: Acknowledgment sent {"connection_id":110501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:32:03] local.INFO: TCP Data received {"connection_id":112234,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:32:03] local.INFO: Processing buffer {"connection_id":112234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:32:03] local.INFO: Packet analysis {"connection_id":112234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:32:03] local.INFO: Extracted packet for processing {"connection_id":112234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:32:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:32:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:32:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":112234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:32:03] local.INFO: GPS data processed {"connection_id":112234,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:32:03] local.INFO: Acknowledgment sent {"connection_id":112234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:32:25] local.INFO: TCP Data received {"connection_id":111297,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:32:25] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:32:25] local.INFO: IMEI packet received {"connection_id":111297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":111297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:32:31] local.INFO: TCP Data received {"connection_id":111297,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:32:31] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:32:31] local.INFO: IMEI packet received {"connection_id":111297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":111297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:32:32] local.INFO: TCP Data received {"connection_id":111297,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:32:32] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:32:32] local.INFO: Packet analysis {"connection_id":111297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:32:32] local.INFO: Extracted packet for processing {"connection_id":111297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 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-06-23 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:32:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:32:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":111297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:32:32] local.INFO: GPS data processed {"connection_id":111297,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:32:32] local.INFO: Acknowledgment sent {"connection_id":111297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:32:33] local.INFO: TCP Data received {"connection_id":110501,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2362800012d81658005da86880004013823..."} 
[2026-06-23 07:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2362800012d81658005da86880004013823..."} 
[2026-06-23 07:32:33] local.INFO: Processing buffer {"connection_id":110501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2362800012d81658005da86880004013823..."} 
[2026-06-23 07:32:33] local.INFO: Packet analysis {"connection_id":110501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef236"} 
[2026-06-23 07:32:33] local.INFO: Extracted packet for processing {"connection_id":110501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef236"} 
[2026-06-23 07:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763454848,"raw_latitude":98207368,"longitude_deg":76.3454848,"latitude_deg":9.8207368,"altitude":4,"angle":312,"satellites":35,"speed":25,"hex_longitude":"2d816580","hex_latitude":"05da8688","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238104064001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96202938103365632,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121618807632979968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:32: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-06-23 07:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782180096000,"timestamp_ms":1782180096000,"timestamp_seconds":1782180096,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2362800"} 
[2026-06-23 07:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:32: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-06-23 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 07:32:33] 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-06-23 07: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-06-23 07:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238104064001,"66":13135,"71":206,"85":15104,"24":25,"16":96202938103365632,"45":-9121618807632979968},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 07:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238104064001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:32:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 07:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96202938103365632,"km_value":96202938103365.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121618807632979968,"description":"Unknown IO ID 45"} 
[2026-06-23 07:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238104064001,"power":13135,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9121618807632979968}} 
[2026-06-23 07:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":110501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:32:33] local.INFO: GPS data processed {"connection_id":110501,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:32:33] local.INFO: Acknowledgment sent {"connection_id":110501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:32:58] local.INFO: TCP Data received {"connection_id":110673,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:58] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:32:58] local.INFO: IMEI packet received {"connection_id":110673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":110673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:33:01] local.INFO: TCP Data received {"connection_id":110673,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:01] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:01] local.INFO: IMEI packet received {"connection_id":110673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":110673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:33:02] local.INFO: TCP Data received {"connection_id":110673,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:02] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:02] local.INFO: IMEI packet received {"connection_id":110673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":110673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:33:04] local.INFO: TCP Data received {"connection_id":111297,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:33:04] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:33:04] local.INFO: Packet analysis {"connection_id":111297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:33:04] local.INFO: Extracted packet for processing {"connection_id":111297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:33:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:33:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":111297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:33:04] local.INFO: GPS data processed {"connection_id":111297,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:33:04] local.INFO: Acknowledgment sent {"connection_id":111297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:33:07] local.INFO: TCP Data received {"connection_id":110673,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:07] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:07] local.INFO: IMEI packet received {"connection_id":110673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":110673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:33:08] local.INFO: TCP Data received {"connection_id":110673,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2371e18012d81180005db3d880005014923..."} 
[2026-06-23 07:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2371e18012d81180005db3d880005014923..."} 
[2026-06-23 07:33:08] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2371e18012d81180005db3d880005014923..."} 
[2026-06-23 07:33:08] local.INFO: Packet analysis {"connection_id":110673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef237"} 
[2026-06-23 07:33:08] local.INFO: Extracted packet for processing {"connection_id":110673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef237"} 
[2026-06-23 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":763435008,"raw_latitude":98254216,"longitude_deg":76.3435008,"latitude_deg":9.8254216,"altitude":5,"angle":329,"satellites":35,"speed":57,"hex_longitude":"2d811800","hex_latitude":"05db3d88","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238118912001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96205454954201088,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138859149946329088,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:08] 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-06-23 07:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782180159000,"timestamp_ms":1782180159000,"timestamp_seconds":1782180159,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2371e18"} 
[2026-06-23 07:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 07:33:08] 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-06-23 07: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-06-23 07:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238118912001,"66":13189,"153":206,"85":15104,"24":57,"16":96205454954201088,"45":-9138859149946329088},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-06-23 07:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238118912001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:33:08] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 07:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96205454954201088,"km_value":96205454954201.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138859149946329088,"description":"Unknown IO ID 45"} 
[2026-06-23 07:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238118912001,"power":13189,"unknown_153":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":-9138859149946329088}} 
[2026-06-23 07:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":110673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:33:08] local.INFO: GPS data processed {"connection_id":110673,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:33:08] local.INFO: Acknowledgment sent {"connection_id":110673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:33:24] local.INFO: TCP Data received {"connection_id":111298,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:33:24] local.INFO: Processing buffer {"connection_id":111298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:33:24] local.INFO: IMEI packet received {"connection_id":111298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":111298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:33:30] local.INFO: TCP Data received {"connection_id":111298,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:33:30] local.INFO: Processing buffer {"connection_id":111298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:33:30] local.INFO: IMEI packet received {"connection_id":111298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":111298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:33:32] local.INFO: TCP Data received {"connection_id":111298,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:33:32] local.INFO: Processing buffer {"connection_id":111298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:33:32] local.INFO: Packet analysis {"connection_id":111298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:33:32] local.INFO: Extracted packet for processing {"connection_id":111298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 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-06-23 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:33:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":111298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:33:32] local.INFO: GPS data processed {"connection_id":111298,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:33:32] local.INFO: Acknowledgment sent {"connection_id":111298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:33:39] local.INFO: TCP Data received {"connection_id":110673,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2373970012d81044005db5df80004014622..."} 
[2026-06-23 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2373970012d81044005db5df80004014622..."} 
[2026-06-23 07:33:39] local.INFO: Processing buffer {"connection_id":110673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2373970012d81044005db5df80004014622..."} 
[2026-06-23 07:33:39] local.INFO: Packet analysis {"connection_id":110673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef237"} 
[2026-06-23 07:33:39] local.INFO: Extracted packet for processing {"connection_id":110673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef237"} 
[2026-06-23 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763429952,"raw_latitude":98262520,"longitude_deg":76.3429952,"latitude_deg":9.826252,"altitude":4,"angle":326,"satellites":34,"speed":51,"hex_longitude":"2d810440","hex_latitude":"05db5df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238120704001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96205927400603648,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144559018222712832,"note":"Value kept but may cause issues"} 
[2026-06-23 07:33:39] 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-06-23 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782180166000,"timestamp_ms":1782180166000,"timestamp_seconds":1782180166,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2373970"} 
[2026-06-23 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-06-23 07:33: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-06-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 07:33:39] 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-06-23 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-06-23 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-06-23 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238120704001,"66":13352,"153":206,"85":15104,"24":51,"16":96205927400603648,"45":-9144559018222712832},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-06-23 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238120704001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:33:39] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 07:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96205927400603648,"km_value":96205927400603.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144559018222712832,"description":"Unknown IO ID 45"} 
[2026-06-23 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238120704001,"power":13352,"unknown_153":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9144559018222712832}} 
[2026-06-23 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":110673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:33:39] local.INFO: GPS data processed {"connection_id":110673,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:33:39] local.INFO: Acknowledgment sent {"connection_id":110673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:33:57] local.INFO: TCP Data received {"connection_id":110502,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:57] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:33:57] local.INFO: IMEI packet received {"connection_id":110502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":110502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:34:02] local.INFO: TCP Data received {"connection_id":110502,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:02] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:02] local.INFO: IMEI packet received {"connection_id":110502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":110502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:34:03] local.INFO: TCP Data received {"connection_id":110502,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2374528012d80fc8005db6b680005015122..."} 
[2026-06-23 07:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2374528012d80fc8005db6b680005015122..."} 
[2026-06-23 07:34:03] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2374528012d80fc8005db6b680005015122..."} 
[2026-06-23 07:34:03] local.INFO: Packet analysis {"connection_id":110502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef237"} 
[2026-06-23 07:34:03] local.INFO: Extracted packet for processing {"connection_id":110502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef237"} 
[2026-06-23 07:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763427968,"raw_latitude":98265960,"longitude_deg":76.3427968,"latitude_deg":9.826596,"altitude":5,"angle":337,"satellites":34,"speed":53,"hex_longitude":"2d80fc80","hex_latitude":"05db6b68","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238122496001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96206120674131968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9150118149010622464,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:03] 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-06-23 07:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180169000,"timestamp_ms":1782180169000,"timestamp_seconds":1782180169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2374528"} 
[2026-06-23 07:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:34: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-06-23 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-23 07:34:03] 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-06-23 07: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-06-23 07:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238122496001,"66":13330,"153":206,"85":15104,"24":53,"16":96206120674131968,"45":-9150118149010622464},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-06-23 07:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238122496001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:34:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 07:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96206120674131968,"km_value":96206120674131.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9150118149010622464,"description":"Unknown IO ID 45"} 
[2026-06-23 07:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238122496001,"power":13330,"unknown_153":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9150118149010622464}} 
[2026-06-23 07:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":110502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:34:03] local.INFO: GPS data processed {"connection_id":110502,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:34:03] local.INFO: Acknowledgment sent {"connection_id":110502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:34:04] local.INFO: TCP Data received {"connection_id":111298,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:04] local.INFO: Processing buffer {"connection_id":111298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:04] local.INFO: Packet analysis {"connection_id":111298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:34:04] local.INFO: Extracted packet for processing {"connection_id":111298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 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-06-23 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:34:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:34:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":111298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:34:04] local.INFO: GPS data processed {"connection_id":111298,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:34:04] local.INFO: Acknowledgment sent {"connection_id":111298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:34:30] local.INFO: TCP Data received {"connection_id":110503,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:34:30] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:34:30] local.INFO: IMEI packet received {"connection_id":110503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":110503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:34:34] local.INFO: TCP Data received {"connection_id":110502,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2388578012d8062c005dca7b80006010821..."} 
[2026-06-23 07:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2388578012d8062c005dca7b80006010821..."} 
[2026-06-23 07:34:34] local.INFO: Processing buffer {"connection_id":110502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2388578012d8062c005dca7b80006010821..."} 
[2026-06-23 07:34:34] local.INFO: Packet analysis {"connection_id":110502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef238"} 
[2026-06-23 07:34:34] local.INFO: Extracted packet for processing {"connection_id":110502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef238"} 
[2026-06-23 07:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763388608,"raw_latitude":98346936,"longitude_deg":76.3388608,"latitude_deg":9.8346936,"altitude":6,"angle":264,"satellites":33,"speed":23,"hex_longitude":"2d8062c0","hex_latitude":"05dca7b8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238144000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96210527310577664,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195013407774355456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34: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-06-23 07:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782180251000,"timestamp_ms":1782180251000,"timestamp_seconds":1782180251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2388578"} 
[2026-06-23 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-06-23 07:34: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-06-23 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 07:34: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-06-23 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-06-23 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-06-23 07:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238144000001,"66":13222,"251":206,"85":15104,"24":23,"16":96210527310577664,"45":-9195013407774355456},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-06-23 07:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238144000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:34:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 07:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96210527310577664,"km_value":96210527310577.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195013407774355456,"description":"Unknown IO ID 45"} 
[2026-06-23 07:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238144000001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9195013407774355456}} 
[2026-06-23 07:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":110502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:34:34] local.INFO: GPS data processed {"connection_id":110502,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:34:34] local.INFO: Acknowledgment sent {"connection_id":110502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:34:35] local.INFO: TCP Data received {"connection_id":110503,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:34:35] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:34:35] local.INFO: IMEI packet received {"connection_id":110503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":110503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:34:37] local.INFO: TCP Data received {"connection_id":110503,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:37] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:37] local.INFO: Packet analysis {"connection_id":110503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:34:37] local.INFO: Extracted packet for processing {"connection_id":110503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:34:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:34:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":110503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:34:37] local.INFO: GPS data processed {"connection_id":110503,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:34:37] local.INFO: Acknowledgment sent {"connection_id":110503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:34:41] local.INFO: TCP Data received {"connection_id":110503,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:41] local.INFO: Processing buffer {"connection_id":110503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:34:41] local.INFO: Packet analysis {"connection_id":110503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:34:41] local.INFO: Extracted packet for processing {"connection_id":110503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:34:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:34:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":110503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:34:41] local.INFO: GPS data processed {"connection_id":110503,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:34:41] local.INFO: Acknowledgment sent {"connection_id":110503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:34:47] local.INFO: TCP Data received {"connection_id":112236,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:34:47] local.INFO: Processing buffer {"connection_id":112236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:34:47] local.INFO: IMEI packet received {"connection_id":112236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":112236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:34:57] local.INFO: TCP Data received {"connection_id":112237,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:57] local.INFO: Processing buffer {"connection_id":112237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:57] local.INFO: IMEI packet received {"connection_id":112237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":112237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:34:58] local.INFO: TCP Data received {"connection_id":112237,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:58] local.INFO: Processing buffer {"connection_id":112237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:34:58] local.INFO: IMEI packet received {"connection_id":112237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":112237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:35:02] local.INFO: TCP Data received {"connection_id":112237,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:02] local.INFO: Processing buffer {"connection_id":112237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:02] local.INFO: IMEI packet received {"connection_id":112237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":112237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:35:04] local.INFO: TCP Data received {"connection_id":112237,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef238b070012d803e0005dca0d80006010222..."} 
[2026-06-23 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef238b070012d803e0005dca0d80006010222..."} 
[2026-06-23 07:35:04] local.INFO: Processing buffer {"connection_id":112237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef238b070012d803e0005dca0d80006010222..."} 
[2026-06-23 07:35:04] local.INFO: Packet analysis {"connection_id":112237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef238"} 
[2026-06-23 07:35:04] local.INFO: Extracted packet for processing {"connection_id":112237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef238"} 
[2026-06-23 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763379200,"raw_latitude":98345176,"longitude_deg":76.33792,"latitude_deg":9.8345176,"altitude":6,"angle":258,"satellites":34,"speed":42,"hex_longitude":"2d803e00","hex_latitude":"05dca0d8","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238144256001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96210986872078336,"note":"Value kept but may cause issues"} 
[2026-06-23 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195576357727782912,"note":"Value kept but may cause issues"} 
[2026-06-23 07:35: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-06-23 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782180262000,"timestamp_ms":1782180262000,"timestamp_seconds":1782180262,"priority":1,"record_length":96,"hex_timestamp":"0000019ef238b070"} 
[2026-06-23 07:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:35: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-06-23 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 07:35: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-06-23 07: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-06-23 07:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238144256001,"66":12526,"251":206,"85":15104,"24":42,"16":96210986872078336,"45":-9195576357727782912},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-06-23 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238144256001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:35:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 07:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96210986872078336,"km_value":96210986872078.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195576357727782912,"description":"Unknown IO ID 45"} 
[2026-06-23 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238144256001,"power":12526,"unknown_251":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9195576357727782912}} 
[2026-06-23 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":112237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:35:04] local.INFO: GPS data processed {"connection_id":112237,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:35:04] local.INFO: Acknowledgment sent {"connection_id":112237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:35:07] local.INFO: TCP Data received {"connection_id":112238,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:35:07] local.INFO: Processing buffer {"connection_id":112238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:35:07] local.INFO: IMEI packet received {"connection_id":112238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":112238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:35:25] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:35:25] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:35:25] local.INFO: IMEI packet received {"connection_id":110675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":110675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:35:30] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:35:30] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:35:30] local.INFO: IMEI packet received {"connection_id":110675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":110675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:35:31] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:35:31] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef234b100012cc3308007685990005a00ee26..."} 
[2026-06-23 07:35:31] local.INFO: Packet analysis {"connection_id":110675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:35:31] local.INFO: Extracted packet for processing {"connection_id":110675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef234"} 
[2026-06-23 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238002944001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180000000,"timestamp_ms":1782180000000,"timestamp_seconds":1782180000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef234b100"} 
[2026-06-23 07:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-23 07:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238002944001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238002944001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:35:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238002944001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":110675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:35:31] local.INFO: GPS data processed {"connection_id":110675,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:35:31] local.INFO: Acknowledgment sent {"connection_id":110675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:35:55] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:55] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:55] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:35:57] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:57] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:35:57] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:36:02] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:36:02] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:36:02] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:36:03] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef239b240012d7f75c005dcd4b0000c015220..."} 
[2026-06-23 07:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef239b240012d7f75c005dcd4b0000c015220..."} 
[2026-06-23 07:36:03] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef239b240012d7f75c005dcd4b0000c015220..."} 
[2026-06-23 07:36:03] local.INFO: Packet analysis {"connection_id":110676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:03] local.INFO: Extracted packet for processing {"connection_id":110676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763327936,"raw_latitude":98358448,"longitude_deg":76.3327936,"latitude_deg":9.8358448,"altitude":12,"angle":338,"satellites":32,"speed":38,"hex_longitude":"2d7f75c0","hex_latitude":"05dcd4b0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238163712001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96214190917681152,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184880358969124864,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180328000,"timestamp_ms":1782180328000,"timestamp_seconds":1782180328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef239b240"} 
[2026-06-23 07:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 07:36:03] 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-06-23 07: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-06-23 07:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238163712001,"66":13319,"53":206,"85":15104,"24":38,"16":96214190917681152,"45":9184880358969124864},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238163712001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96214190917681152,"km_value":96214190917681.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184880358969124864,"description":"Unknown IO ID 45"} 
[2026-06-23 07:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238163712001,"power":13319,"unknown_53":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9184880358969124864}} 
[2026-06-23 07:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":110676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:36:03] local.INFO: GPS data processed {"connection_id":110676,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:36:03] local.INFO: Acknowledgment sent {"connection_id":110676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:36:03] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:36:03] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:36:03] local.INFO: Packet analysis {"connection_id":110675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:03] local.INFO: Extracted packet for processing {"connection_id":110675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:36: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-06-23 07: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-06-23 07:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":110675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:36:03] local.INFO: GPS data processed {"connection_id":110675,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:36:03] local.INFO: Acknowledgment sent {"connection_id":110675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:36:24] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:36:24] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:36:24] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:36:30] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:36:30] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:36:30] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:36:31] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:36:31] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:36:31] local.INFO: Packet analysis {"connection_id":110677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:31] local.INFO: Extracted packet for processing {"connection_id":110677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:36:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:36:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":110677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:36:31] local.INFO: GPS data processed {"connection_id":110677,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:36:31] local.INFO: Acknowledgment sent {"connection_id":110677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:36:35] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef239d568012d7f6c4005dcf9480009014c21..."} 
[2026-06-23 07:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef239d568012d7f6c4005dcf9480009014c21..."} 
[2026-06-23 07:36:35] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef239d568012d7f6c4005dcf9480009014c21..."} 
[2026-06-23 07:36:35] local.INFO: Packet analysis {"connection_id":110676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:35] local.INFO: Extracted packet for processing {"connection_id":110676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763325504,"raw_latitude":98367816,"longitude_deg":76.3325504,"latitude_deg":9.8367816,"altitude":9,"angle":332,"satellites":33,"speed":44,"hex_longitude":"2d7f6c40","hex_latitude":"05dcf948","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238163968001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96214663364083712,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184458146504290304,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782180337000,"timestamp_ms":1782180337000,"timestamp_seconds":1782180337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef239d568"} 
[2026-06-23 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-06-23 07:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":7,"data_length":795,"current_offset":136} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3512008704,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063844456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":38912,"corrected_to":0} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-9187343196866011392,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699738624,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.WARNING: Large IO value detected {"io_id":57,"raw_value":5807393014420439045,"note":"Value kept but may cause issues"} 
[2026-06-23 07:36:35] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,53,85,24,241,157,16,210,158,174,45,64,209,12,32,10,66,162,128,200,33,154,192,1,240,198,227,242,220,4,113,205,42,92,216,31,239,52,251,2,5,11,28,62,57],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":200,"original":38912,"validated":0},{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-06-23 07:36:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865062900826767360,"timestamp_seconds":865062900826767.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 07:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238163968001,"66":13319,"53":206,"85":15104,"24":44,"16":96214663364083712,"45":9184458146504290304},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-23 07:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238163968001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:36:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-23 07:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96214663364083712,"km_value":96214663364083.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184458146504290304,"description":"Unknown IO ID 45"} 
[2026-06-23 07:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238163968001,"power":13319,"unknown_53":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9184458146504290304}} 
[2026-06-23 07:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":110676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:36:35] local.INFO: GPS data processed {"connection_id":110676,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:36:35] local.INFO: Acknowledgment sent {"connection_id":110676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:36:57] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:36:57] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:36:57] local.INFO: IMEI packet received {"connection_id":111299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":111299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:37:01] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:01] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:01] local.INFO: IMEI packet received {"connection_id":111299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":111299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:37:02] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef239e120012d7f64c005dd04000008014120..."} 
[2026-06-23 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef239e120012d7f64c005dd04000008014120..."} 
[2026-06-23 07:37:02] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef239e120012d7f64c005dd04000008014120..."} 
[2026-06-23 07:37:02] local.INFO: Packet analysis {"connection_id":111299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:37:02] local.INFO: Extracted packet for processing {"connection_id":111299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763323584,"raw_latitude":98370560,"longitude_deg":76.3323584,"latitude_deg":9.837056,"altitude":8,"angle":321,"satellites":32,"speed":44,"hex_longitude":"2d7f64c0","hex_latitude":"05dd0400","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238166272001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96214822277873664,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181784134227937280,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782180340000,"timestamp_ms":1782180340000,"timestamp_seconds":1782180340,"priority":1,"record_length":96,"hex_timestamp":"0000019ef239e120"} 
[2026-06-23 07:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3518693376,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063845456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-8824803422566211840,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1765081294,"corrected_to":0} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147867818,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699955712,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.WARNING: Large IO value detected {"io_id":57,"raw_value":6370342967841570821,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:02] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,53,85,24,241,157,16,210,158,178,45,192,212,12,32,10,66,174,64,209,162,128,1,240,187,227,242,220,4,113,205,38,127,143,104,30,239,50,251,2,5,11,31,62,57],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1765081294,"validated":0}]} 
[2026-06-23 07:37:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648883525938577408,"timestamp_seconds":648883525938577.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238166272001,"66":13363,"53":206,"85":15104,"24":44,"16":96214822277873664,"45":9181784134227937280},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-23 07:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238166272001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96214822277873664,"km_value":96214822277873.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181784134227937280,"description":"Unknown IO ID 45"} 
[2026-06-23 07:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238166272001,"power":13363,"unknown_53":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9181784134227937280}} 
[2026-06-23 07:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":111299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:37:02] local.INFO: GPS data processed {"connection_id":111299,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:37:02] local.INFO: Acknowledgment sent {"connection_id":111299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:37:03] local.INFO: TCP Data received {"connection_id":110677,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:37:03] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:37:03] local.INFO: Packet analysis {"connection_id":110677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:37:03] local.INFO: Extracted packet for processing {"connection_id":110677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:37:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:37: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-06-23 07: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-06-23 07:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:37:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":110677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:37:03] local.INFO: GPS data processed {"connection_id":110677,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:37:03] local.INFO: Acknowledgment sent {"connection_id":110677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:37:24] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:37:24] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:37:24] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:37:30] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:37:30] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:37:30] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:37:31] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:37:31] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:37:31] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:37:31] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:37:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:37:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:37:31] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:37:31] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:37:33] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23a0060012d7f534005dd1c780006014f20..."} 
[2026-06-23 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23a0060012d7f534005dd1c780006014f20..."} 
[2026-06-23 07:37:33] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23a0060012d7f534005dd1c780006014f20..."} 
[2026-06-23 07:37:33] local.INFO: Packet analysis {"connection_id":111299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23a"} 
[2026-06-23 07:37:33] local.INFO: Extracted packet for processing {"connection_id":111299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23a"} 
[2026-06-23 07:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763319104,"raw_latitude":98376824,"longitude_deg":76.3319104,"latitude_deg":9.8376824,"altitude":6,"angle":335,"satellites":32,"speed":27,"hex_longitude":"2d7f5340","hex_latitude":"05dd1c78","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238167040001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96215195940028416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179673071903309824,"note":"Value kept but may cause issues"} 
[2026-06-23 07:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782180348000,"timestamp_ms":1782180348000,"timestamp_seconds":1782180348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23a0060"} 
[2026-06-23 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-06-23 07:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-23 07:37: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-06-23 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-06-23 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-06-23 07:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238167040001,"66":13091,"53":206,"85":15104,"24":27,"16":96215195940028416,"45":9179673071903309824},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-23 07:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238167040001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:37:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-23 07:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96215195940028416,"km_value":96215195940028.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179673071903309824,"description":"Unknown IO ID 45"} 
[2026-06-23 07:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238167040001,"power":13091,"unknown_53":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9179673071903309824}} 
[2026-06-23 07:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":111299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:37:33] local.INFO: GPS data processed {"connection_id":111299,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:37:33] local.INFO: Acknowledgment sent {"connection_id":111299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:37:57] local.INFO: TCP Data received {"connection_id":110505,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:57] local.INFO: Processing buffer {"connection_id":110505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:57] local.INFO: IMEI packet received {"connection_id":110505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":110505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:37:57] local.INFO: TCP Data received {"connection_id":110505,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:57] local.INFO: Processing buffer {"connection_id":110505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:37:57] local.INFO: IMEI packet received {"connection_id":110505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":110505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:38:01] local.INFO: TCP Data received {"connection_id":110505,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:38:01] local.INFO: Processing buffer {"connection_id":110505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:38:01] local.INFO: IMEI packet received {"connection_id":110505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":110505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:38:02] local.INFO: TCP Data received {"connection_id":110505,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23baa28012d7eeb0005de67080009015420..."} 
[2026-06-23 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23baa28012d7eeb0005de67080009015420..."} 
[2026-06-23 07:38:02] local.INFO: Processing buffer {"connection_id":110505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23baa28012d7eeb0005de67080009015420..."} 
[2026-06-23 07:38:02] local.INFO: Packet analysis {"connection_id":110505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:38:02] local.INFO: Extracted packet for processing {"connection_id":110505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763292416,"raw_latitude":98461448,"longitude_deg":76.3292416,"latitude_deg":9.8461448,"altitude":9,"angle":340,"satellites":32,"speed":53,"hex_longitude":"2d7eeb00","hex_latitude":"05de6708","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238195200001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96219546741899264,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148499718253596672,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782180457000,"timestamp_ms":1782180457000,"timestamp_seconds":1782180457,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23baa28"} 
[2026-06-23 07:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168297684239,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3569942528,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4063920456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":111,"raw_value":58077557095399468,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3716818944,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3297771524,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3087084927,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,85,24,241,157,16,214,158,111,45,64,34,5,35,10,66,41,128,1,2,213,219,192,240,139,227,242,221,4,113,205,40,152,58,32,239,51,3,44],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[]} 
[2026-06-23 07:38:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576839126040510464,"timestamp_seconds":576839126040510.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238195200001,"66":13048,"101":206,"85":15104,"24":53,"16":96219546741899264,"45":9148499718253596672},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-06-23 07:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238195200001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:38:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 07:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96219546741899264,"km_value":96219546741899.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148499718253596672,"description":"Unknown IO ID 45"} 
[2026-06-23 07:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238195200001,"power":13048,"unknown_101":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9148499718253596672}} 
[2026-06-23 07:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":110505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:38:02] local.INFO: GPS data processed {"connection_id":110505,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:38:02] local.INFO: Acknowledgment sent {"connection_id":110505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:38:03] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:03] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:03] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:38:03] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:38:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 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-06-23 07:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:38: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-06-23 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-06-23 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-06-23 07:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:38:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:38:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:38:03] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:38:03] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:38:30] local.INFO: TCP Data received {"connection_id":111301,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:38:30] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:38:30] local.INFO: IMEI packet received {"connection_id":111301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":111301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:38:34] local.INFO: TCP Data received {"connection_id":110505,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23bc580012d7edd0005de8a48000a015222..."} 
[2026-06-23 07:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23bc580012d7edd0005de8a48000a015222..."} 
[2026-06-23 07:38:34] local.INFO: Processing buffer {"connection_id":110505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23bc580012d7edd0005de8a48000a015222..."} 
[2026-06-23 07:38:34] local.INFO: Packet analysis {"connection_id":110505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:38:34] local.INFO: Extracted packet for processing {"connection_id":110505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763288832,"raw_latitude":98470472,"longitude_deg":76.3288832,"latitude_deg":9.8470472,"altitude":10,"angle":338,"satellites":34,"speed":54,"hex_longitude":"2d7edd00","hex_latitude":"05de8a48","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238196992001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96220014893334528,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145403493512054784,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782180464000,"timestamp_ms":1782180464000,"timestamp_seconds":1782180464,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23bc580"} 
[2026-06-23 07:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:38: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-06-23 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 07:38:34] 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-06-23 07: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-06-23 07:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238196992001,"66":12982,"101":206,"85":15104,"24":54,"16":96220014893334528,"45":9145403493512054784},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-06-23 07:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238196992001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:38:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 07:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96220014893334528,"km_value":96220014893334.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145403493512054784,"description":"Unknown IO ID 45"} 
[2026-06-23 07:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238196992001,"power":12982,"unknown_101":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9145403493512054784}} 
[2026-06-23 07:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":110505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:38:34] local.INFO: GPS data processed {"connection_id":110505,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:38:34] local.INFO: Acknowledgment sent {"connection_id":110505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:38:35] local.INFO: TCP Data received {"connection_id":111301,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:38:35] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:38:35] local.INFO: IMEI packet received {"connection_id":111301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":111301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:38:36] local.INFO: TCP Data received {"connection_id":111301,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:36] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:36] local.INFO: Packet analysis {"connection_id":111301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:38:36] local.INFO: Extracted packet for processing {"connection_id":111301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:38:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:38:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:38:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":111301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:38:36] local.INFO: GPS data processed {"connection_id":111301,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:38:36] local.INFO: Acknowledgment sent {"connection_id":111301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:38:41] local.INFO: TCP Data received {"connection_id":111301,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:41] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:38:41] local.INFO: Packet analysis {"connection_id":111301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:38:41] local.INFO: Extracted packet for processing {"connection_id":111301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:38: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-06-23 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:38: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-06-23 07:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:38:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:38:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":111301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:38:41] local.INFO: GPS data processed {"connection_id":111301,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:38:41] local.INFO: Acknowledgment sent {"connection_id":111301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:39:05] local.INFO: TCP Data received {"connection_id":110506,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:05] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:05] local.INFO: IMEI packet received {"connection_id":110506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":110506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:39:07] local.INFO: TCP Data received {"connection_id":110506,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:07] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:07] local.INFO: IMEI packet received {"connection_id":110506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":110506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:39:08] local.INFO: TCP Data received {"connection_id":110506,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23be0d8012d7ed28005deac50000a015c22..."} 
[2026-06-23 07:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23be0d8012d7ed28005deac50000a015c22..."} 
[2026-06-23 07:39:08] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23be0d8012d7ed28005deac50000a015c22..."} 
[2026-06-23 07:39:08] local.INFO: Packet analysis {"connection_id":110506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:39:08] local.INFO: Extracted packet for processing {"connection_id":110506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763286144,"raw_latitude":98479184,"longitude_deg":76.3286144,"latitude_deg":9.8479184,"altitude":10,"angle":348,"satellites":34,"speed":53,"hex_longitude":"2d7ed280","hex_latitude":"05deac50","is_valid_coordinates":true} 
[2026-06-23 07:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238198784001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96220457274966016,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141462843840415744,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782180471000,"timestamp_ms":1782180471000,"timestamp_seconds":1782180471,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23be0d8"} 
[2026-06-23 07:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 07:39:08] 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-06-23 07:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238198784001,"66":13102,"101":206,"85":15104,"24":53,"16":96220457274966016,"45":9141462843840415744},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-06-23 07:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238198784001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:39:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 07:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96220457274966016,"km_value":96220457274966.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141462843840415744,"description":"Unknown IO ID 45"} 
[2026-06-23 07:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238198784001,"power":13102,"unknown_101":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9141462843840415744}} 
[2026-06-23 07:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":110506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:39:08] local.INFO: GPS data processed {"connection_id":110506,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:39:08] local.INFO: Acknowledgment sent {"connection_id":110506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:39:13] local.INFO: TCP Data received {"connection_id":110506,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23bf078012d7ed00005dec1a0000a016723..."} 
[2026-06-23 07:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23bf078012d7ed00005dec1a0000a016723..."} 
[2026-06-23 07:39:13] local.INFO: Processing buffer {"connection_id":110506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23bf078012d7ed00005dec1a0000a016723..."} 
[2026-06-23 07:39:13] local.INFO: Packet analysis {"connection_id":110506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:39:13] local.INFO: Extracted packet for processing {"connection_id":110506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23b"} 
[2026-06-23 07:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763285504,"raw_latitude":98484640,"longitude_deg":76.3285504,"latitude_deg":9.848464,"altitude":10,"angle":359,"satellites":35,"speed":55,"hex_longitude":"2d7ed000","hex_latitude":"05dec1a0","is_valid_coordinates":true} 
[2026-06-23 07:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238200576001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96220723562938368,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138507356587184128,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:13] 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-06-23 07:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782180475000,"timestamp_ms":1782180475000,"timestamp_seconds":1782180475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23bf078"} 
[2026-06-23 07:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:39: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-06-23 07:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 07:39:14] 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-06-23 07:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":110506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":110506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":110506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238200576001,"66":13243,"205":206,"85":15104,"24":55,"16":96220723562938368,"45":9138507356587184128},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-23 07:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238200576001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96220723562938368,"km_value":96220723562938.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138507356587184128,"description":"Unknown IO ID 45"} 
[2026-06-23 07:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238200576001,"power":13243,"cell_id":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9138507356587184128}} 
[2026-06-23 07:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":110506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:39:14] local.INFO: GPS data processed {"connection_id":110506,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:39:14] local.INFO: Acknowledgment sent {"connection_id":110506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:39:24] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:39:24] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:39:24] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:39:30] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:39:30] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:39:30] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:39:31] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:39:31] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:39:31] local.INFO: Packet analysis {"connection_id":111302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:39:31] local.INFO: Extracted packet for processing {"connection_id":111302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:39:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:39:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":111302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:39:31] local.INFO: GPS data processed {"connection_id":111302,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:39:31] local.INFO: Acknowledgment sent {"connection_id":111302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:39:54] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:54] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:54] local.INFO: IMEI packet received {"connection_id":110679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":110679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:39:57] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:57] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:39:57] local.INFO: IMEI packet received {"connection_id":110679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":110679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:40:01] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:01] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:01] local.INFO: IMEI packet received {"connection_id":110679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":110679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:40:02] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23d4c20012d7e5e0005dff0c0000b015c21..."} 
[2026-06-23 07:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23d4c20012d7e5e0005dff0c0000b015c21..."} 
[2026-06-23 07:40:02] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23d4c20012d7e5e0005dff0c0000b015c21..."} 
[2026-06-23 07:40:02] local.INFO: Packet analysis {"connection_id":110679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:40:02] local.INFO: Extracted packet for processing {"connection_id":110679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763256320,"raw_latitude":98562240,"longitude_deg":76.325632,"latitude_deg":9.856224,"altitude":11,"angle":348,"satellites":33,"speed":49,"hex_longitude":"2d7e5e00","hex_latitude":"05dff0c0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238222336001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96224812371804160,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108319165353848832,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:02] 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-06-23 07:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782180564000,"timestamp_ms":1782180564000,"timestamp_seconds":1782180564,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23d4c20"} 
[2026-06-23 07:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 07:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238222336001,"66":12917,"206":206,"85":15104,"24":49,"16":96224812371804160,"45":9108319165353848832},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-23 07:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238222336001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:40:02] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 07:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96224812371804160,"km_value":96224812371804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108319165353848832,"description":"Unknown IO ID 45"} 
[2026-06-23 07:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238222336001,"power":12917,"unknown_206":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9108319165353848832}} 
[2026-06-23 07:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":110679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:40:02] local.INFO: GPS data processed {"connection_id":110679,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:40:02] local.INFO: Acknowledgment sent {"connection_id":110679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:40:04] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:04] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:04] local.INFO: Packet analysis {"connection_id":111302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:40:04] local.INFO: Extracted packet for processing {"connection_id":111302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:40:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 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-06-23 07:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:40: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-06-23 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-06-23 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-06-23 07:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:40:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:40:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":111302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:40:04] local.INFO: GPS data processed {"connection_id":111302,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:40:04] local.INFO: Acknowledgment sent {"connection_id":111302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:40:30] local.INFO: TCP Data received {"connection_id":112241,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:40:30] local.INFO: Processing buffer {"connection_id":112241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:40:30] local.INFO: IMEI packet received {"connection_id":112241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":112241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:40:33] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23e22f8012d7e0e0005e0cd500007015f22..."} 
[2026-06-23 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23e22f8012d7e0e0005e0cd500007015f22..."} 
[2026-06-23 07:40:33] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23e22f8012d7e0e0005e0cd500007015f22..."} 
[2026-06-23 07:40:33] local.INFO: Packet analysis {"connection_id":110679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23e"} 
[2026-06-23 07:40:33] local.INFO: Extracted packet for processing {"connection_id":110679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23e"} 
[2026-06-23 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763235840,"raw_latitude":98618704,"longitude_deg":76.323584,"latitude_deg":9.8618704,"altitude":7,"angle":351,"satellites":34,"speed":33,"hex_longitude":"2d7e0e00","hex_latitude":"05e0cd50","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238237952001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96227836028780544,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083478998675539968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40: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-06-23 07:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782180619000,"timestamp_ms":1782180619000,"timestamp_seconds":1782180619,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23e22f8"} 
[2026-06-23 07:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:40: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-06-23 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3674937296102097920,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3722969088,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4064131456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4438930756529438912,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2936537095,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135239233843627,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2284547667855843550,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,207,85,24,241,157,16,222,158,19,45,64,193,7,32,10,66,255,192,184,8,33,240,128,1,3,227,242,224,4,113,205,29,212,52,144,239,50,2,5,59,124],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2798584014,"validated":0}]} 
[2026-06-23 07:40:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504770541180157952,"timestamp_seconds":504770541180157.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238237952001,"66":12765,"207":206,"85":15104,"24":33,"16":96227836028780544,"45":9083478998675539968},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 07:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238237952001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:40:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 07:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96227836028780544,"km_value":96227836028780.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083478998675539968,"description":"Unknown IO ID 45"} 
[2026-06-23 07:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238237952001,"power":12765,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9083478998675539968}} 
[2026-06-23 07:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":110679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:40:33] local.INFO: GPS data processed {"connection_id":110679,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:40:33] local.INFO: Acknowledgment sent {"connection_id":110679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:40:34] local.INFO: TCP Data received {"connection_id":110507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:40:34] local.INFO: Processing buffer {"connection_id":110507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:40:34] local.INFO: IMEI packet received {"connection_id":110507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":110507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:40:35] local.INFO: TCP Data received {"connection_id":112241,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:40:35] local.INFO: Processing buffer {"connection_id":112241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:40:35] local.INFO: IMEI packet received {"connection_id":112241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":112241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:40:38] local.INFO: TCP Data received {"connection_id":112241,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:38] local.INFO: Processing buffer {"connection_id":112241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:38] local.INFO: Packet analysis {"connection_id":112241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:40:38] local.INFO: Extracted packet for processing {"connection_id":112241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 07:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:40:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":112241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:40:38] local.INFO: GPS data processed {"connection_id":112241,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:40:38] local.INFO: Acknowledgment sent {"connection_id":112241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:40:41] local.INFO: TCP Data received {"connection_id":112241,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:41] local.INFO: Processing buffer {"connection_id":112241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23948c8012cc3308007685990005a00ee25..."} 
[2026-06-23 07:40:41] local.INFO: Packet analysis {"connection_id":112241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:40:41] local.INFO: Extracted packet for processing {"connection_id":112241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef239"} 
[2026-06-23 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238080000001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782180301000,"timestamp_ms":1782180301000,"timestamp_seconds":1782180301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23948c8"} 
[2026-06-23 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-06-23 07:40: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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238080000001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238080000001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:40:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238080000001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":112241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:40:41] local.INFO: GPS data processed {"connection_id":112241,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:40:41] local.INFO: Acknowledgment sent {"connection_id":112241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:40:55] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:55] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:55] local.INFO: IMEI packet received {"connection_id":110680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":110680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:40:57] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:57] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:40:57] local.INFO: IMEI packet received {"connection_id":110680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":110680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:41:02] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:41:02] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:41:02] local.INFO: IMEI packet received {"connection_id":110680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":110680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:41:03] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23e26e0012d7e0e4005e0d0c00007000322..."} 
[2026-06-23 07:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23e26e0012d7e0e4005e0d0c00007000322..."} 
[2026-06-23 07:41:03] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23e26e0012d7e0e4005e0d0c00007000322..."} 
[2026-06-23 07:41:03] local.INFO: Packet analysis {"connection_id":110680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23e"} 
[2026-06-23 07:41:03] local.INFO: Extracted packet for processing {"connection_id":110680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23e"} 
[2026-06-23 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763235904,"raw_latitude":98619584,"longitude_deg":76.3235904,"latitude_deg":9.8619584,"altitude":7,"angle":3,"satellites":34,"speed":33,"hex_longitude":"2d7e0e40","hex_latitude":"05e0d0c0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238238464001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96227878978453504,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083197523699257344,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41: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-06-23 07:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180620000,"timestamp_ms":1782180620000,"timestamp_seconds":1782180620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23e26e0"} 
[2026-06-23 07:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 07:41:03] 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-06-23 07: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-06-23 07:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238238464001,"66":12765,"207":206,"85":15104,"24":33,"16":96227878978453504,"45":9083197523699257344},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 07:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238238464001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:41:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 07:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96227878978453504,"km_value":96227878978453.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083197523699257344,"description":"Unknown IO ID 45"} 
[2026-06-23 07:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238238464001,"power":12765,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9083197523699257344}} 
[2026-06-23 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":110680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:41:03] local.INFO: GPS data processed {"connection_id":110680,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:41:03] local.INFO: Acknowledgment sent {"connection_id":110680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:41:08] local.INFO: TCP Data received {"connection_id":112242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:41:08] local.INFO: Processing buffer {"connection_id":112242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:41:08] local.INFO: IMEI packet received {"connection_id":112242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":112242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:41:25] local.INFO: TCP Data received {"connection_id":111303,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:41:25] local.INFO: Processing buffer {"connection_id":111303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:41:25] local.INFO: IMEI packet received {"connection_id":111303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":111303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:41:30] local.INFO: TCP Data received {"connection_id":111303,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:41:30] local.INFO: Processing buffer {"connection_id":111303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:41:30] local.INFO: IMEI packet received {"connection_id":111303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":111303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:41:32] local.INFO: TCP Data received {"connection_id":111303,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:41:32] local.INFO: Processing buffer {"connection_id":111303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:41:32] local.INFO: Packet analysis {"connection_id":111303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:41:32] local.INFO: Extracted packet for processing {"connection_id":111303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:41:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 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-06-23 07:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:41: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-06-23 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-06-23 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-06-23 07:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:41:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:41:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":111303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:41:32] local.INFO: GPS data processed {"connection_id":111303,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:41:32] local.INFO: Acknowledgment sent {"connection_id":111303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:41:33] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23f0970012d7e27c005e1c040000500151d..."} 
[2026-06-23 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23f0970012d7e27c005e1c040000500151d..."} 
[2026-06-23 07:41:33] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23f0970012d7e27c005e1c040000500151d..."} 
[2026-06-23 07:41:33] local.INFO: Packet analysis {"connection_id":110680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23f"} 
[2026-06-23 07:41:33] local.INFO: Extracted packet for processing {"connection_id":110680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23f"} 
[2026-06-23 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763242432,"raw_latitude":98680896,"longitude_deg":76.3242432,"latitude_deg":9.8680896,"altitude":5,"angle":21,"satellites":29,"speed":35,"hex_longitude":"2d7e27c0","hex_latitude":"05e1c040","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238252544001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96230949880070144,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088264073295185920,"note":"Value kept but may cause issues"} 
[2026-06-23 07:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782180678000,"timestamp_ms":1782180678000,"timestamp_seconds":1782180678,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23f0970"} 
[2026-06-23 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-06-23 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 07:41:33] 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-06-23 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-06-23 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-06-23 07:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238252544001,"66":13189,"60":206,"85":15104,"24":35,"16":96230949880070144,"45":9088264073295185920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 07:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238252544001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:41:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 07:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96230949880070144,"km_value":96230949880070.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088264073295185920,"description":"Unknown IO ID 45"} 
[2026-06-23 07:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238252544001,"power":13189,"unknown_60":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9088264073295185920}} 
[2026-06-23 07:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":110680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:41:33] local.INFO: GPS data processed {"connection_id":110680,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:41:33] local.INFO: Acknowledgment sent {"connection_id":110680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:41:57] local.INFO: TCP Data received {"connection_id":110681,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:41:57] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:41:57] local.INFO: IMEI packet received {"connection_id":110681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":110681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:42:02] local.INFO: TCP Data received {"connection_id":110681,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:42:02] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:42:02] local.INFO: IMEI packet received {"connection_id":110681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":110681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:42:03] local.INFO: TCP Data received {"connection_id":110681,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23f1528012d7e2a0005e1ca80000600071d..."} 
[2026-06-23 07:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23f1528012d7e2a0005e1ca80000600071d..."} 
[2026-06-23 07:42:03] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23f1528012d7e2a0005e1ca80000600071d..."} 
[2026-06-23 07:42:03] local.INFO: Packet analysis {"connection_id":110681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23f"} 
[2026-06-23 07:42:03] local.INFO: Extracted packet for processing {"connection_id":110681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23f"} 
[2026-06-23 07:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763243008,"raw_latitude":98683520,"longitude_deg":76.3243008,"latitude_deg":9.868352,"altitude":6,"angle":7,"satellites":29,"speed":38,"hex_longitude":"2d7e2a00","hex_latitude":"05e1ca80","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238253568001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96231078729089024,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090445504365477888,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180681000,"timestamp_ms":1782180681000,"timestamp_seconds":1782180681,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23f1528"} 
[2026-06-23 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-06-23 07:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 07:42:03] 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-06-23 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-06-23 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-06-23 07:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238253568001,"66":13059,"60":206,"85":15104,"24":38,"16":96231078729089024,"45":9090445504365477888},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 07:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238253568001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:42:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 07:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96231078729089024,"km_value":96231078729089.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090445504365477888,"description":"Unknown IO ID 45"} 
[2026-06-23 07:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238253568001,"power":13059,"unknown_60":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9090445504365477888}} 
[2026-06-23 07:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":110681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:42:03] local.INFO: GPS data processed {"connection_id":110681,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:42:03] local.INFO: Acknowledgment sent {"connection_id":110681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:42:05] local.INFO: TCP Data received {"connection_id":111303,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:42:05] local.INFO: Processing buffer {"connection_id":111303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:42:05] local.INFO: Packet analysis {"connection_id":111303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:42:05] local.INFO: Extracted packet for processing {"connection_id":111303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:42:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:42: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-06-23 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:42:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:42:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":111303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:42:05] local.INFO: GPS data processed {"connection_id":111303,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:42:05] local.INFO: Acknowledgment sent {"connection_id":111303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:42:24] local.INFO: TCP Data received {"connection_id":110508,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:42:24] local.INFO: Processing buffer {"connection_id":110508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:42:24] local.INFO: IMEI packet received {"connection_id":110508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":110508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:42:30] local.INFO: TCP Data received {"connection_id":110508,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:42:30] local.INFO: Processing buffer {"connection_id":110508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:42:30] local.INFO: IMEI packet received {"connection_id":110508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":110508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:42:31] local.INFO: TCP Data received {"connection_id":110508,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:42:31] local.INFO: Processing buffer {"connection_id":110508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:42:31] local.INFO: Packet analysis {"connection_id":110508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:42:31] local.INFO: Extracted packet for processing {"connection_id":110508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:42:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":110508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:42:31] local.INFO: GPS data processed {"connection_id":110508,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:42:31] local.INFO: Acknowledgment sent {"connection_id":110508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:42:34] local.INFO: TCP Data received {"connection_id":110681,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23f3850012d7e2bc005e1ee68000700011e..."} 
[2026-06-23 07:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23f3850012d7e2bc005e1ee68000700011e..."} 
[2026-06-23 07:42:34] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23f3850012d7e2bc005e1ee68000700011e..."} 
[2026-06-23 07:42:34] local.INFO: Packet analysis {"connection_id":110681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23f"} 
[2026-06-23 07:42:34] local.INFO: Extracted packet for processing {"connection_id":110681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23f"} 
[2026-06-23 07:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":98692712,"longitude_deg":76.3243456,"latitude_deg":9.8692712,"altitude":7,"angle":1,"satellites":30,"speed":40,"hex_longitude":"2d7e2bc0","hex_latitude":"05e1ee68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238254336001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96231525405687808,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823063748608,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782180690000,"timestamp_ms":1782180690000,"timestamp_seconds":1782180690,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23f3850"} 
[2026-06-23 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-06-23 07:42: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-06-23 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":3,"data_length":795,"current_offset":136} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899431,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399473,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3770810368,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2711093253,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4064192456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3780634624,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-06-23 07:42:34] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221610878,"note":"Value kept but may cause issues"} 
[2026-06-23 07:42:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,60,85,24,241,157,16,225,158,9,45,192,5,29,10,66,249,180,30,242,1,240,227,4,113,205,41,199,22,232,32,239,50,2,6,49],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-06-23 07:42:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432353385365504000,"timestamp_seconds":432353385365504,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 07:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238254336001,"66":13048,"60":206,"85":15104,"24":40,"16":96231525405687808,"45":9091078823063748608},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 07:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238254336001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:42:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 07:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96231525405687808,"km_value":96231525405687.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823063748608,"description":"Unknown IO ID 45"} 
[2026-06-23 07:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238254336001,"power":13048,"unknown_60":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9091078823063748608}} 
[2026-06-23 07:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":110681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:42:34] local.INFO: GPS data processed {"connection_id":110681,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:42:34] local.INFO: Acknowledgment sent {"connection_id":110681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:42:56] local.INFO: TCP Data received {"connection_id":112244,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:42:57] local.INFO: Processing buffer {"connection_id":112244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:42:57] local.INFO: IMEI packet received {"connection_id":112244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":112244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:43:02] local.INFO: TCP Data received {"connection_id":112244,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:43:02] local.INFO: Processing buffer {"connection_id":112244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:43:02] local.INFO: IMEI packet received {"connection_id":112244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":112244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:43:03] local.INFO: TCP Data received {"connection_id":112244,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2401ec8012d7dc84005e1fdd80006010121..."} 
[2026-06-23 07:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2401ec8012d7dc84005e1fdd80006010121..."} 
[2026-06-23 07:43:03] local.INFO: Processing buffer {"connection_id":112244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2401ec8012d7dc84005e1fdd80006010121..."} 
[2026-06-23 07:43:03] local.INFO: Packet analysis {"connection_id":112244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:43:03] local.INFO: Extracted packet for processing {"connection_id":112244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763217984,"raw_latitude":98696664,"longitude_deg":76.3217984,"latitude_deg":9.8696664,"altitude":6,"angle":257,"satellites":33,"speed":40,"hex_longitude":"2d7dc840","hex_latitude":"05e1fdd8","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238269440001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96233144608358400,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071797787163228160,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180749000,"timestamp_ms":1782180749000,"timestamp_seconds":1782180749,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2401ec8"} 
[2026-06-23 07:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 07:43:03] 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-06-23 07: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-06-23 07:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238269440001,"66":12809,"61":206,"85":15104,"24":40,"16":96233144608358400,"45":9071797787163228160},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238269440001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96233144608358400,"km_value":96233144608358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071797787163228160,"description":"Unknown IO ID 45"} 
[2026-06-23 07:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238269440001,"power":12809,"unknown_61":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9071797787163228160}} 
[2026-06-23 07:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":112244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:43:03] local.INFO: GPS data processed {"connection_id":112244,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:43:03] local.INFO: Acknowledgment sent {"connection_id":112244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:43:03] local.INFO: TCP Data received {"connection_id":110508,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:03] local.INFO: Processing buffer {"connection_id":110508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:03] local.INFO: Packet analysis {"connection_id":110508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:43:03] local.INFO: Extracted packet for processing {"connection_id":110508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07: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-06-23 07: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-06-23 07:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":110508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:43:03] local.INFO: GPS data processed {"connection_id":110508,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:43:03] local.INFO: Acknowledgment sent {"connection_id":110508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:43:30] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:43:30] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:43:30] local.INFO: IMEI packet received {"connection_id":110509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":110509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:43:33] local.INFO: TCP Data received {"connection_id":112244,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2402a80012d7dbbc005e1fcc00007011121..."} 
[2026-06-23 07:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2402a80012d7dbbc005e1fcc00007011121..."} 
[2026-06-23 07:43:33] local.INFO: Processing buffer {"connection_id":112244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2402a80012d7dbbc005e1fcc00007011121..."} 
[2026-06-23 07:43:33] local.INFO: Packet analysis {"connection_id":112244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:43:33] local.INFO: Extracted packet for processing {"connection_id":112244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763214784,"raw_latitude":98696384,"longitude_deg":76.3214784,"latitude_deg":9.8696384,"altitude":7,"angle":273,"satellites":33,"speed":41,"hex_longitude":"2d7dbbc0","hex_latitude":"05e1fcc0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238271744001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96233299227181056,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063564644093646848,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782180752000,"timestamp_ms":1782180752000,"timestamp_seconds":1782180752,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2402a80"} 
[2026-06-23 07:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3802136576,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4064242456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2158112626788193505,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4568673128607000448,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221611023,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587473704963669,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,61,85,24,241,157,16,227,158,251,45,128,9,4,32,10,66,220,64,18,5,226,212,1,240,63,242,113,205,130,21,112,239,51,60,2,7,23,50,59,117],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-06-23 07:43:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432628280452448256,"timestamp_seconds":432628280452448.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238271744001,"66":13015,"61":206,"85":15104,"24":41,"16":96233299227181056,"45":9063564644093646848},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 07:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238271744001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:43:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 07:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96233299227181056,"km_value":96233299227181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063564644093646848,"description":"Unknown IO ID 45"} 
[2026-06-23 07:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238271744001,"power":13015,"unknown_61":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9063564644093646848}} 
[2026-06-23 07:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":112244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:43:33] local.INFO: GPS data processed {"connection_id":112244,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:43:33] local.INFO: Acknowledgment sent {"connection_id":112244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:43:35] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:43:35] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:43:35] local.INFO: IMEI packet received {"connection_id":110509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":110509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:43:36] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:36] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:36] local.INFO: Packet analysis {"connection_id":110509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:43:36] local.INFO: Extracted packet for processing {"connection_id":110509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:43:36] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:43:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":110509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:43:36] local.INFO: GPS data processed {"connection_id":110509,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:43:36] local.INFO: Acknowledgment sent {"connection_id":110509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:43:41] local.INFO: TCP Data received {"connection_id":110509,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:41] local.INFO: Processing buffer {"connection_id":110509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:43:41] local.INFO: Packet analysis {"connection_id":110509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:43:41] local.INFO: Extracted packet for processing {"connection_id":110509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:43:41] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:43: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-06-23 07:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:43: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-06-23 07:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:43:41] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:43:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":110509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:43:41] local.INFO: GPS data processed {"connection_id":110509,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:43:41] local.INFO: Acknowledgment sent {"connection_id":110509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:43:56] local.INFO: TCP Data received {"connection_id":112245,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:43:57] local.INFO: Processing buffer {"connection_id":112245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:43:57] local.INFO: IMEI packet received {"connection_id":112245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":112245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:44:02] local.INFO: TCP Data received {"connection_id":112245,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:44:02] local.INFO: Processing buffer {"connection_id":112245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:44:02] local.INFO: IMEI packet received {"connection_id":112245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":112245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:44:03] local.INFO: TCP Data received {"connection_id":112245,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2405190012d7d964005e20100000a011121..."} 
[2026-06-23 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2405190012d7d964005e20100000a011121..."} 
[2026-06-23 07:44:03] local.INFO: Processing buffer {"connection_id":112245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2405190012d7d964005e20100000a011121..."} 
[2026-06-23 07:44:03] local.INFO: Packet analysis {"connection_id":112245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:44:03] local.INFO: Extracted packet for processing {"connection_id":112245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763205184,"raw_latitude":98697472,"longitude_deg":76.3205184,"latitude_deg":9.8697472,"altitude":10,"angle":273,"satellites":33,"speed":30,"hex_longitude":"2d7d9640","hex_latitude":"05e20100","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238272512001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96233763083649024,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060046206884691968,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180762000,"timestamp_ms":1782180762000,"timestamp_seconds":1782180762,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2405190"} 
[2026-06-23 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-06-23 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 07:44:03] 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-06-23 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-06-23 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-06-23 07:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238272512001,"66":13254,"61":206,"85":15104,"24":30,"16":96233763083649024,"45":9060046206884691968},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 07:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238272512001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:44:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 07:44:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96233763083649024,"km_value":96233763083649.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060046206884691968,"description":"Unknown IO ID 45"} 
[2026-06-23 07:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238272512001,"power":13254,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9060046206884691968}} 
[2026-06-23 07:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":112245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:44:03] local.INFO: GPS data processed {"connection_id":112245,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:44:03] local.INFO: Acknowledgment sent {"connection_id":112245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:44:25] local.INFO: TCP Data received {"connection_id":112246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:44:25] local.INFO: Processing buffer {"connection_id":112246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:44:25] local.INFO: IMEI packet received {"connection_id":112246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":112246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:44:30] local.INFO: TCP Data received {"connection_id":112246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:44:30] local.INFO: Processing buffer {"connection_id":112246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:44:30] local.INFO: IMEI packet received {"connection_id":112246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":112246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:44:31] local.INFO: TCP Data received {"connection_id":112246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:44:31] local.INFO: Processing buffer {"connection_id":112246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:44:31] local.INFO: Packet analysis {"connection_id":112246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:44:31] local.INFO: Extracted packet for processing {"connection_id":112246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:44:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:44:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":112246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:44:31] local.INFO: GPS data processed {"connection_id":112246,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:44:31] local.INFO: Acknowledgment sent {"connection_id":112246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:44:34] local.INFO: TCP Data received {"connection_id":112245,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2407c88012d7d720005e202a0000c011223..."} 
[2026-06-23 07:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2407c88012d7d720005e202a0000c011223..."} 
[2026-06-23 07:44:34] local.INFO: Processing buffer {"connection_id":112245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2407c88012d7d720005e202a0000c011223..."} 
[2026-06-23 07:44:34] local.INFO: Packet analysis {"connection_id":112245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:44:34] local.INFO: Extracted packet for processing {"connection_id":112245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef240"} 
[2026-06-23 07:44:34] local.INFO: GPS Element Parsed {"raw_longitude":763195904,"raw_latitude":98697888,"longitude_deg":76.3195904,"latitude_deg":9.8697888,"altitude":12,"angle":274,"satellites":35,"speed":36,"hex_longitude":"2d7d7200","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238275072001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96234205465280512,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049490895258320896,"note":"Value kept but may cause issues"} 
[2026-06-23 07:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782180773000,"timestamp_ms":1782180773000,"timestamp_seconds":1782180773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2407c88"} 
[2026-06-23 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-06-23 07:44: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-06-23 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 07:44: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-06-23 07: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-06-23 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-06-23 07:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238275072001,"66":13037,"61":206,"85":15104,"24":36,"16":96234205465280512,"45":9049490895258320896},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 07:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238275072001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:44:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 07:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96234205465280512,"km_value":96234205465280.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049490895258320896,"description":"Unknown IO ID 45"} 
[2026-06-23 07:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238275072001,"power":13037,"unknown_61":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9049490895258320896}} 
[2026-06-23 07:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":112245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:44:34] local.INFO: GPS data processed {"connection_id":112245,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:44:34] local.INFO: Acknowledgment sent {"connection_id":112245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:45:00] local.INFO: TCP Data received {"connection_id":110510,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:00] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:00] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:45:01] local.INFO: TCP Data received {"connection_id":110510,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:01] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:01] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:45:02] local.INFO: TCP Data received {"connection_id":110510,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:02] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:02] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:45:02] local.INFO: TCP Data received {"connection_id":110510,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:02] local.INFO: Processing buffer {"connection_id":110510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:45:02] local.INFO: IMEI packet received {"connection_id":110510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":110510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:45:04] local.INFO: TCP Data received {"connection_id":112246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:45:04] local.INFO: Processing buffer {"connection_id":112246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:45:04] local.INFO: Packet analysis {"connection_id":112246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:45:04] local.INFO: Extracted packet for processing {"connection_id":112246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:45:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 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-06-23 07:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:45: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-06-23 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-06-23 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-06-23 07:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:45:04] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:45:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":112246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:45:04] local.INFO: GPS data processed {"connection_id":112246,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:45:04] local.INFO: Acknowledgment sent {"connection_id":112246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:45:25] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:45:25] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:45:25] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:45:30] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:45:30] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:45:30] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:45:31] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:45:31] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef23de090012cc3308007685990005a00ee27..."} 
[2026-06-23 07:45:31] local.INFO: Packet analysis {"connection_id":111305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:45:31] local.INFO: Extracted packet for processing {"connection_id":111305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef23d"} 
[2026-06-23 07:45:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238157056001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180602000,"timestamp_ms":1782180602000,"timestamp_seconds":1782180602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef23de090"} 
[2026-06-23 07:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238157056001,"66":25191,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238157056001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:45:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238157056001,"power":25191,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":111305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:45:31] local.INFO: GPS data processed {"connection_id":111305,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:45:31] local.INFO: Acknowledgment sent {"connection_id":111305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:46:03] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:46:03] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:46:03] local.INFO: Packet analysis {"connection_id":111305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:46:03] local.INFO: Extracted packet for processing {"connection_id":111305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:46:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180903000,"timestamp_ms":1782180903000,"timestamp_seconds":1782180903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2427858"} 
[2026-06-23 07:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 07:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238234112001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:46:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:46:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238234112001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":111305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:46:03] local.INFO: GPS data processed {"connection_id":111305,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:46:03] local.INFO: Acknowledgment sent {"connection_id":111305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:46:24] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:46:24] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:46:24] local.INFO: IMEI packet received {"connection_id":110513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":110513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:46:30] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:46:30] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:46:30] local.INFO: IMEI packet received {"connection_id":110513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":110513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:46:31] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:46:31] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:46:31] local.INFO: Packet analysis {"connection_id":110513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:46:31] local.INFO: Extracted packet for processing {"connection_id":110513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180903000,"timestamp_ms":1782180903000,"timestamp_seconds":1782180903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2427858"} 
[2026-06-23 07:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 07:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238234112001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:46:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238234112001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":110513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:46:31] local.INFO: GPS data processed {"connection_id":110513,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:46:31] local.INFO: Acknowledgment sent {"connection_id":110513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:46:42] local.INFO: TCP Data received {"connection_id":110512,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:46:42] local.INFO: Processing buffer {"connection_id":110512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:46:42] local.INFO: IMEI packet received {"connection_id":110512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":110512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:47:03] local.INFO: TCP Data received {"connection_id":110513,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:03] local.INFO: Processing buffer {"connection_id":110513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:03] local.INFO: Packet analysis {"connection_id":110513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:47:03] local.INFO: Extracted packet for processing {"connection_id":110513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782180903000,"timestamp_ms":1782180903000,"timestamp_seconds":1782180903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2427858"} 
[2026-06-23 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-06-23 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 07:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 07:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238234112001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:47:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:47:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238234112001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":110513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:47:03] local.INFO: GPS data processed {"connection_id":110513,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:47:03] local.INFO: Acknowledgment sent {"connection_id":110513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:47:07] local.INFO: TCP Data received {"connection_id":111307,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:47:07] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:47:07] local.INFO: IMEI packet received {"connection_id":111307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":111307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:47:15] local.INFO: TCP Data received {"connection_id":111307,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:47:15] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:47:15] local.INFO: IMEI packet received {"connection_id":111307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 07:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":111307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:47:17] local.INFO: TCP Data received {"connection_id":111307,"ip":"42.106.6.50","data_length":93,"data_hex":"00000000000000518e010000019ef21bf110012cee7480072e2ad80036006528..."} 
[2026-06-23 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":93,"packet_hex":"00000000000000518e010000019ef21bf110012cee7480072e2ad80036006528..."} 
[2026-06-23 07:47:17] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ef21bf110012cee7480072e2ad80036006528..."} 
[2026-06-23 07:47:17] local.INFO: Packet analysis {"connection_id":111307,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ef21b"} 
[2026-06-23 07:47:17] local.INFO: Extracted packet for processing {"connection_id":111307,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ef21b"} 
[2026-06-23 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":753824896,"raw_latitude":120466136,"longitude_deg":75.3824896,"latitude_deg":12.0466136,"altitude":54,"angle":101,"satellites":40,"speed":0,"hex_longitude":"2cee7480","hex_latitude":"072e2ad8","is_valid_coordinates":true} 
[2026-06-23 07:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-23 07:47:17] 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-06-23 07:47:17] 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-06-23 07:47:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:47:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 07:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111307,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-23 07:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111307,"device_imei":"862567071632322","avl_records_count":0} 
[2026-06-23 07:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111307,"device_imei":"862567071632322","avl_records_count":0} 
[2026-06-23 07:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.50","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 07:47:17] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 07:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":111307,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 07:47:17] local.ERROR: GPS data processing failed {"connection_id":111307,"error":"No valid data to process"} 
[2026-06-23 07:47:17] local.INFO: Acknowledgment sent {"connection_id":111307,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 07:47:30] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:47:30] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:47:30] local.INFO: IMEI packet received {"connection_id":111308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":111308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:47:35] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:47:35] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:47:35] local.INFO: IMEI packet received {"connection_id":111308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":111308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:47:37] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:37] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:37] local.INFO: Packet analysis {"connection_id":111308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:47:37] local.INFO: Extracted packet for processing {"connection_id":111308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:47:37] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782180903000,"timestamp_ms":1782180903000,"timestamp_seconds":1782180903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2427858"} 
[2026-06-23 07:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:47: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-06-23 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 07:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238234112001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:47:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:47:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238234112001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":111308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:47:37] local.INFO: GPS data processed {"connection_id":111308,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:47:37] local.INFO: Acknowledgment sent {"connection_id":111308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:47:40] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:40] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:47:40] local.INFO: Packet analysis {"connection_id":111308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:47:40] local.INFO: Extracted packet for processing {"connection_id":111308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:47:40] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782180903000,"timestamp_ms":1782180903000,"timestamp_seconds":1782180903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2427858"} 
[2026-06-23 07:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 07:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238234112001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:47:40] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238234112001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":111308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:47:40] local.INFO: GPS data processed {"connection_id":111308,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:47:40] local.INFO: Acknowledgment sent {"connection_id":111308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:48:25] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:48:25] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:48:25] local.INFO: IMEI packet received {"connection_id":110514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":110514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:48:30] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:48:30] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:48:30] local.INFO: IMEI packet received {"connection_id":110514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":110514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:48:31] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:48:31] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2427858012cc3308007685990005a00ee27..."} 
[2026-06-23 07:48:31] local.INFO: Packet analysis {"connection_id":110514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:48:31] local.INFO: Extracted packet for processing {"connection_id":110514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef242"} 
[2026-06-23 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782180903000,"timestamp_ms":1782180903000,"timestamp_seconds":1782180903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2427858"} 
[2026-06-23 07:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 07:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238234112001,"66":25299,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:48:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:48:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238234112001,"power":25299,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":110514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:48:31] local.INFO: GPS data processed {"connection_id":110514,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:48:31] local.INFO: Acknowledgment sent {"connection_id":110514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:49:03] local.INFO: TCP Data received {"connection_id":110514,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2452fa8012cc3308007685990005a00ee28..."} 
[2026-06-23 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2452fa8012cc3308007685990005a00ee28..."} 
[2026-06-23 07:49:03] local.INFO: Processing buffer {"connection_id":110514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2452fa8012cc3308007685990005a00ee28..."} 
[2026-06-23 07:49:03] local.INFO: Packet analysis {"connection_id":110514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:49:03] local.INFO: Extracted packet for processing {"connection_id":110514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:49:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279184,"longitude_deg":75.098944,"latitude_deg":12.4279184,"altitude":90,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685990","is_valid_coordinates":true} 
[2026-06-23 07:49:03] 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-06-23 07:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238311168001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782181081000,"timestamp_ms":1782181081000,"timestamp_seconds":1782181081,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2452fa8"} 
[2026-06-23 07:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 07:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 07:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238311168001,"66":25321,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238311168001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:49:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:49:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238311168001,"power":25321,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":110514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:49:03] local.INFO: GPS data processed {"connection_id":110514,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:49:03] local.INFO: Acknowledgment sent {"connection_id":110514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:49:19] local.INFO: TCP Data received {"connection_id":110684,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:49:19] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:49:19] local.INFO: IMEI packet received {"connection_id":110684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":110684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:49:22] local.INFO: TCP Data received {"connection_id":111310,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:49:22] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:49:22] local.INFO: IMEI packet received {"connection_id":111310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":111310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:49:24] local.INFO: TCP Data received {"connection_id":111311,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:49:24] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:49:24] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:49:30] local.INFO: TCP Data received {"connection_id":111311,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:49:30] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:49:30] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:49:32] local.INFO: TCP Data received {"connection_id":111311,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2458598012cc33080076859b0005a00ee25..."} 
[2026-06-23 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2458598012cc33080076859b0005a00ee25..."} 
[2026-06-23 07:49:32] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2458598012cc33080076859b0005a00ee25..."} 
[2026-06-23 07:49:32] local.INFO: Packet analysis {"connection_id":111311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:49:32] local.INFO: Extracted packet for processing {"connection_id":111311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:49:32] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279216,"longitude_deg":75.098944,"latitude_deg":12.4279216,"altitude":90,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"076859b0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238356736001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127666176,"note":"Value kept but may cause issues"} 
[2026-06-23 07:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782181103000,"timestamp_ms":1782181103000,"timestamp_seconds":1782181103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2458598"} 
[2026-06-23 07:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:49: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-06-23 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 07:49: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-06-23 07: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-06-23 07:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238356736001,"66":27930,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127666176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238356736001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:49:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:49:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:49:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127666176,"description":"Unknown IO ID 44"} 
[2026-06-23 07:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238356736001,"power":27930,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127666176}} 
[2026-06-23 07:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":111311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:49:32] local.INFO: GPS data processed {"connection_id":111311,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:49:32] local.INFO: Acknowledgment sent {"connection_id":111311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:50:03] local.INFO: TCP Data received {"connection_id":111311,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef245d7a0012cc33080076859b0005a00ee29..."} 
[2026-06-23 07:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef245d7a0012cc33080076859b0005a00ee29..."} 
[2026-06-23 07:50:03] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef245d7a0012cc33080076859b0005a00ee29..."} 
[2026-06-23 07:50:03] local.INFO: Packet analysis {"connection_id":111311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:50:03] local.INFO: Extracted packet for processing {"connection_id":111311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:50:03] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279216,"longitude_deg":75.098944,"latitude_deg":12.4279216,"altitude":90,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"076859b0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238362368001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321128442659602432,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127657984,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782181124000,"timestamp_ms":1782181124000,"timestamp_seconds":1782181124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef245d7a0"} 
[2026-06-23 07:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:50: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-06-23 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 07:50:03] 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-06-23 07: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-06-23 07:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238362368001,"66":27974,"36":206,"27":54016,"24":0,"16":321128442659602432,"44":-4381861668127657984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 07:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238362368001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:50:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 07:50:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321128442659602432,"km_value":321128442659602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127657984,"description":"Unknown IO ID 44"} 
[2026-06-23 07:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238362368001,"power":27974,"unknown_36":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4381861668127657984}} 
[2026-06-23 07:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":111311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:50:03] local.INFO: GPS data processed {"connection_id":111311,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:50:03] local.INFO: Acknowledgment sent {"connection_id":111311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:50:07] local.INFO: TCP Data received {"connection_id":112248,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:50:07] local.INFO: Processing buffer {"connection_id":112248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:50:07] local.INFO: IMEI packet received {"connection_id":112248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":112248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:50:08] local.INFO: TCP Data received {"connection_id":112248,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2458d68012d7b3bc005e1b0b8001901521f..."} 
[2026-06-23 07:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2458d68012d7b3bc005e1b0b8001901521f..."} 
[2026-06-23 07:50:08] local.INFO: Processing buffer {"connection_id":112248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2458d68012d7b3bc005e1b0b8001901521f..."} 
[2026-06-23 07:50:08] local.INFO: Packet analysis {"connection_id":112248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:50:08] local.INFO: Extracted packet for processing {"connection_id":112248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763050944,"raw_latitude":98676920,"longitude_deg":76.3050944,"latitude_deg":9.867692,"altitude":25,"angle":338,"satellites":31,"speed":13,"hex_longitude":"2d7b3bc0","hex_latitude":"05e1b0b8","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238362624001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96241691593277440,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880042959273164800,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782181105000,"timestamp_ms":1782181105000,"timestamp_seconds":1782181105,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2458d68"} 
[2026-06-23 07:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 07:50:08] 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-06-23 07: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-06-23 07:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238362624001,"66":12809,"169":206,"85":15104,"24":13,"16":96241691593277440,"45":8880042959273164800},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 07:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238362624001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:50:08] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 07:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96241691593277440,"km_value":96241691593277.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880042959273164800,"description":"Unknown IO ID 45"} 
[2026-06-23 07:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238362624001,"power":12809,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8880042959273164800}} 
[2026-06-23 07:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":112248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:50:08] local.INFO: GPS data processed {"connection_id":112248,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:50:08] local.INFO: Acknowledgment sent {"connection_id":112248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:50:27] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:27] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:27] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:50:28] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:28] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:28] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:50:29] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:29] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:29] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:50:30] local.INFO: TCP Data received {"connection_id":110515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:30] local.INFO: Processing buffer {"connection_id":110515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:50:30] local.INFO: IMEI packet received {"connection_id":110515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":110515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:50:40] local.INFO: TCP Data received {"connection_id":112248,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2459538012d7b3b4005e1b3780019015f1c..."} 
[2026-06-23 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2459538012d7b3b4005e1b3780019015f1c..."} 
[2026-06-23 07:50:40] local.INFO: Processing buffer {"connection_id":112248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2459538012d7b3b4005e1b3780019015f1c..."} 
[2026-06-23 07:50:40] local.INFO: Packet analysis {"connection_id":112248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:50:40] local.INFO: Extracted packet for processing {"connection_id":112248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763050816,"raw_latitude":98677624,"longitude_deg":76.3050816,"latitude_deg":9.8677624,"altitude":25,"angle":351,"satellites":28,"speed":15,"hex_longitude":"2d7b3b40","hex_latitude":"05e1b378","is_valid_coordinates":true} 
[2026-06-23 07:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238362880001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96241725953015808,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879902221784889344,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782181107000,"timestamp_ms":1782181107000,"timestamp_seconds":1782181107,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2459538"} 
[2026-06-23 07:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3945660416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4064624456,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4984288523906140864,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2893545498,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391950,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2185019875007594978,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":7278042733476892245,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-06-23 07:50:40] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,169,85,24,241,157,16,235,158,137,45,64,175,25,31,10,66,129,128,173,125,1,240,106,227,242,225,4,113,205,6,90,69,216,33,239,51,2,5,26,49,59,34],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-06-23 07:50:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801811619023224832,"timestamp_seconds":1801811619023224.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238362880001,"66":12428,"169":206,"85":15104,"24":15,"16":96241725953015808,"45":8879902221784889344},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 07:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238362880001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:50:40] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 07:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96241725953015808,"km_value":96241725953015.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879902221784889344,"description":"Unknown IO ID 45"} 
[2026-06-23 07:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238362880001,"power":12428,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8879902221784889344}} 
[2026-06-23 07:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":112248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:50:40] local.INFO: GPS data processed {"connection_id":112248,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:50:40] local.INFO: Acknowledgment sent {"connection_id":112248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:50:56] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:50:56] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:50:56] local.INFO: IMEI packet received {"connection_id":110685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":110685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:51:02] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:51:02] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:51:02] local.INFO: IMEI packet received {"connection_id":110685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":110685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:51:03] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef245c418012d7b394005e1d9480018016414..."} 
[2026-06-23 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef245c418012d7b394005e1d9480018016414..."} 
[2026-06-23 07:51:03] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef245c418012d7b394005e1d9480018016414..."} 
[2026-06-23 07:51:03] local.INFO: Packet analysis {"connection_id":110685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:51:03] local.INFO: Extracted packet for processing {"connection_id":110685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef245"} 
[2026-06-23 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763050304,"raw_latitude":98687304,"longitude_deg":76.3050304,"latitude_deg":9.8687304,"altitude":24,"angle":356,"satellites":20,"speed":36,"hex_longitude":"2d7b3940","hex_latitude":"05e1d948","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238363392001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96242194104451072,"note":"Value kept but may cause issues"} 
[2026-06-23 07:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879761484296714240,"note":"Value kept but may cause issues"} 
[2026-06-23 07:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782181119000,"timestamp_ms":1782181119000,"timestamp_seconds":1782181119,"priority":1,"record_length":96,"hex_timestamp":"0000019ef245c418"} 
[2026-06-23 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-06-23 07:51:03] 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-06-23 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 07:51:03] 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-06-23 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-06-23 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-06-23 07:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238363392001,"66":12874,"169":206,"85":15104,"24":36,"16":96242194104451072,"45":8879761484296714240},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 07:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238363392001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:51:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 07:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96242194104451072,"km_value":96242194104451.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879761484296714240,"description":"Unknown IO ID 45"} 
[2026-06-23 07:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238363392001,"power":12874,"unknown_169":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8879761484296714240}} 
[2026-06-23 07:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":110685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:51:03] local.INFO: GPS data processed {"connection_id":110685,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:51:03] local.INFO: Acknowledgment sent {"connection_id":110685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:51:34] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef247cba0012d7b044005e34d480000015517..."} 
[2026-06-23 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef247cba0012d7b044005e34d480000015517..."} 
[2026-06-23 07:51:34] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef247cba0012d7b044005e34d480000015517..."} 
[2026-06-23 07:51:34] local.INFO: Packet analysis {"connection_id":110685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef247"} 
[2026-06-23 07:51:34] local.INFO: Extracted packet for processing {"connection_id":110685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef247"} 
[2026-06-23 07:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98782536,"longitude_deg":76.3036736,"latitude_deg":9.8782536,"altitude":0,"angle":341,"satellites":23,"speed":27,"hex_longitude":"2d7b0440","hex_latitude":"05e34d48","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238397184001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96246871323836416,"note":"Value kept but may cause issues"} 
[2026-06-23 07:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573067753472,"note":"Value kept but may cause issues"} 
[2026-06-23 07:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782181252000,"timestamp_ms":1782181252000,"timestamp_seconds":1782181252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef247cba0"} 
[2026-06-23 07:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:51: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-06-23 07: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 07:51:34] 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-06-23 07: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-06-23 07:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238397184001,"66":13015,"97":206,"85":15104,"24":27,"16":96246871323836416,"45":8864702573067753472},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238397184001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:51:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96246871323836416,"km_value":96246871323836.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573067753472,"description":"Unknown IO ID 45"} 
[2026-06-23 07:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238397184001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8864702573067753472}} 
[2026-06-23 07:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":110685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:51:34] local.INFO: GPS data processed {"connection_id":110685,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:51:34] local.INFO: Acknowledgment sent {"connection_id":110685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:52:02] local.INFO: TCP Data received {"connection_id":110516,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:02] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:02] local.INFO: IMEI packet received {"connection_id":110516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":110516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:52:03] local.INFO: TCP Data received {"connection_id":110516,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:03] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:03] local.INFO: IMEI packet received {"connection_id":110516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":110516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:52:04] local.INFO: TCP Data received {"connection_id":110516,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2480a20012d7afa0005e36f180008015c1f..."} 
[2026-06-23 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2480a20012d7afa0005e36f180008015c1f..."} 
[2026-06-23 07:52:04] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2480a20012d7afa0005e36f180008015c1f..."} 
[2026-06-23 07:52:04] local.INFO: Packet analysis {"connection_id":110516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:52:04] local.INFO: Extracted packet for processing {"connection_id":110516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763034112,"raw_latitude":98791192,"longitude_deg":76.3034112,"latitude_deg":9.8791192,"altitude":8,"angle":348,"satellites":31,"speed":11,"hex_longitude":"2d7afa00","hex_latitude":"05e36f18","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238400512001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96247309410500608,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604485632,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782181268000,"timestamp_ms":1782181268000,"timestamp_seconds":1782181268,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2480a20"} 
[2026-06-23 07:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:52:04] 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-06-23 07: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":215,"data_length":795,"current_offset":136} 
[2026-06-23 07:52: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-06-23 07: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-06-23 07:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238400512001,"66":12765,"97":206,"85":15104,"24":11,"16":96247309410500608,"45":8864280360604485632},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238400512001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:52:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96247309410500608,"km_value":96247309410500.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604485632,"description":"Unknown IO ID 45"} 
[2026-06-23 07:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238400512001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864280360604485632}} 
[2026-06-23 07:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":110516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:52:04] local.INFO: GPS data processed {"connection_id":110516,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:52:04] local.INFO: Acknowledgment sent {"connection_id":110516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:52:07] local.INFO: TCP Data received {"connection_id":110516,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2485840012d7af38005e38618000a015923..."} 
[2026-06-23 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2485840012d7af38005e38618000a015923..."} 
[2026-06-23 07:52:07] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2485840012d7af38005e38618000a015923..."} 
[2026-06-23 07:52:07] local.INFO: Packet analysis {"connection_id":110516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:52:07] local.INFO: Extracted packet for processing {"connection_id":110516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763032448,"raw_latitude":98797080,"longitude_deg":76.3032448,"latitude_deg":9.879708,"altitude":10,"angle":345,"satellites":35,"speed":9,"hex_longitude":"2d7af380","hex_latitude":"05e38618","is_valid_coordinates":true} 
[2026-06-23 07:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238404608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96247610058211328,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861395242095417344,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782181288000,"timestamp_ms":1782181288000,"timestamp_seconds":1782181288,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2485840"} 
[2026-06-23 07:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:52:07] 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-06-23 07:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 07:52: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-06-23 07:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238404608001,"66":12765,"97":206,"85":15104,"24":9,"16":96247610058211328,"45":8861395242095417344},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238404608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96247610058211328,"km_value":96247610058211.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861395242095417344,"description":"Unknown IO ID 45"} 
[2026-06-23 07:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238404608001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8861395242095417344}} 
[2026-06-23 07:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":110516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:52:07] local.INFO: GPS data processed {"connection_id":110516,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:52:07] local.INFO: Acknowledgment sent {"connection_id":110516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:52:40] local.INFO: TCP Data received {"connection_id":110516,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef248aa48012d7ae88005e3a7c0000c015424..."} 
[2026-06-23 07:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef248aa48012d7ae88005e3a7c0000c015424..."} 
[2026-06-23 07:52:40] local.INFO: Processing buffer {"connection_id":110516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef248aa48012d7ae88005e3a7c0000c015424..."} 
[2026-06-23 07:52:40] local.INFO: Packet analysis {"connection_id":110516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:52:40] local.INFO: Extracted packet for processing {"connection_id":110516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763029632,"raw_latitude":98805696,"longitude_deg":76.3029632,"latitude_deg":9.8805696,"altitude":12,"angle":340,"satellites":36,"speed":31,"hex_longitude":"2d7ae880","hex_latitude":"05e3a7c0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238409728001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96248048144875520,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859565654748305408,"note":"Value kept but may cause issues"} 
[2026-06-23 07:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782181309000,"timestamp_ms":1782181309000,"timestamp_seconds":1782181309,"priority":1,"record_length":96,"hex_timestamp":"0000019ef248aa48"} 
[2026-06-23 07:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:52: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-06-23 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 07:52: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-06-23 07: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-06-23 07:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238409728001,"66":13091,"97":206,"85":15104,"24":31,"16":96248048144875520,"45":8859565654748305408},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238409728001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96248048144875520,"km_value":96248048144875.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859565654748305408,"description":"Unknown IO ID 45"} 
[2026-06-23 07:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238409728001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8859565654748305408}} 
[2026-06-23 07:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":110516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:52:40] local.INFO: GPS data processed {"connection_id":110516,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:52:40] local.INFO: Acknowledgment sent {"connection_id":110516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:52:56] local.INFO: TCP Data received {"connection_id":112249,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:56] local.INFO: Processing buffer {"connection_id":112249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:56] local.INFO: IMEI packet received {"connection_id":112249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":112249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:52:57] local.INFO: TCP Data received {"connection_id":112249,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:57] local.INFO: Processing buffer {"connection_id":112249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:52:57] local.INFO: IMEI packet received {"connection_id":112249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":112249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:53:02] local.INFO: TCP Data received {"connection_id":112249,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:53:02] local.INFO: Processing buffer {"connection_id":112249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:53:02] local.INFO: IMEI packet received {"connection_id":112249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":112249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:53:03] local.INFO: TCP Data received {"connection_id":112249,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef248d928012d7adec005e3c9e0000d015d24..."} 
[2026-06-23 07:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef248d928012d7adec005e3c9e0000d015d24..."} 
[2026-06-23 07:53:03] local.INFO: Processing buffer {"connection_id":112249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef248d928012d7adec005e3c9e0000d015d24..."} 
[2026-06-23 07:53:03] local.INFO: Packet analysis {"connection_id":112249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:53:03] local.INFO: Extracted packet for processing {"connection_id":112249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef248"} 
[2026-06-23 07:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763027136,"raw_latitude":98814432,"longitude_deg":76.3027136,"latitude_deg":9.8814432,"altitude":13,"angle":349,"satellites":36,"speed":23,"hex_longitude":"2d7adec0","hex_latitude":"05e3c9e0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238415104001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96248490526507008,"note":"Value kept but may cause issues"} 
[2026-06-23 07:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856469430006693888,"note":"Value kept but may cause issues"} 
[2026-06-23 07:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782181321000,"timestamp_ms":1782181321000,"timestamp_seconds":1782181321,"priority":1,"record_length":96,"hex_timestamp":"0000019ef248d928"} 
[2026-06-23 07:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:53:03] 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-06-23 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 07:53:03] 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-06-23 07: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-06-23 07:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238415104001,"66":12961,"97":206,"85":15104,"24":23,"16":96248490526507008,"45":8856469430006693888},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238415104001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96248490526507008,"km_value":96248490526507.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856469430006693888,"description":"Unknown IO ID 45"} 
[2026-06-23 07:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238415104001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8856469430006693888}} 
[2026-06-23 07:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":112249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:53:03] local.INFO: GPS data processed {"connection_id":112249,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:53:03] local.INFO: Acknowledgment sent {"connection_id":112249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:53:34] local.INFO: TCP Data received {"connection_id":112249,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2490420012d7ad54005e3edd8000d015c1e..."} 
[2026-06-23 07:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2490420012d7ad54005e3edd8000d015c1e..."} 
[2026-06-23 07:53:34] local.INFO: Processing buffer {"connection_id":112249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2490420012d7ad54005e3edd8000d015c1e..."} 
[2026-06-23 07:53:34] local.INFO: Packet analysis {"connection_id":112249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:53:34] local.INFO: Extracted packet for processing {"connection_id":112249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763024704,"raw_latitude":98823640,"longitude_deg":76.3024704,"latitude_deg":9.882364,"altitude":13,"angle":348,"satellites":30,"speed":35,"hex_longitude":"2d7ad540","hex_latitude":"05e3edd8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 07:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96248954382974976,"note":"Value kept but may cause issues"} 
[2026-06-23 07:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8853725048986001408,"note":"Value kept but may cause issues"} 
[2026-06-23 07:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782181332000,"timestamp_ms":1782181332000,"timestamp_seconds":1782181332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2490420"} 
[2026-06-23 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-06-23 07:53: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-06-23 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 07:53:34] 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-06-23 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-06-23 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-06-23 07:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238418176001,"66":13189,"97":206,"85":15104,"24":35,"16":96248954382974976,"45":8853725048986001408},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:53:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96248954382974976,"km_value":96248954382974.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8853725048986001408,"description":"Unknown IO ID 45"} 
[2026-06-23 07:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238418176001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8853725048986001408}} 
[2026-06-23 07:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":112249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:53:34] local.INFO: GPS data processed {"connection_id":112249,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:53:34] local.INFO: Acknowledgment sent {"connection_id":112249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:53:58] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:53:58] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:53:58] local.INFO: IMEI packet received {"connection_id":110687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":110687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:54:00] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:00] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:00] local.INFO: IMEI packet received {"connection_id":110687,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":110687,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:54:00] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2492f18012d7acdc005e40df8000901501d..."} 
[2026-06-23 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2492f18012d7acdc005e40df8000901501d..."} 
[2026-06-23 07:54:00] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2492f18012d7acdc005e40df8000901501d..."} 
[2026-06-23 07:54:00] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:54:00] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98831864,"longitude_deg":76.3022784,"latitude_deg":9.8831864,"altitude":9,"angle":336,"satellites":29,"speed":32,"hex_longitude":"2d7acdc0","hex_latitude":"05e40df8","is_valid_coordinates":true} 
[2026-06-23 07:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238420992001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96249362404868096,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851051036709607424,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782181343000,"timestamp_ms":1782181343000,"timestamp_seconds":1782181343,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2492f18"} 
[2026-06-23 07:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 07:54:00] 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-06-23 07:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238420992001,"66":12982,"97":206,"85":15104,"24":32,"16":96249362404868096,"45":8851051036709607424},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238420992001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:54:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96249362404868096,"km_value":96249362404868.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851051036709607424,"description":"Unknown IO ID 45"} 
[2026-06-23 07:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238420992001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8851051036709607424}} 
[2026-06-23 07:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:54:00] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:54:00] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:54:02] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24936e8012d7aca0005e413700009013f1e..."} 
[2026-06-23 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24936e8012d7aca0005e413700009013f1e..."} 
[2026-06-23 07:54:02] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24936e8012d7aca0005e413700009013f1e..."} 
[2026-06-23 07:54:02] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:54:02] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98833264,"longitude_deg":76.3021824,"latitude_deg":9.8833264,"altitude":9,"angle":319,"satellites":30,"speed":33,"hex_longitude":"2d7aca00","hex_latitude":"05e41370","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238423808001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96249444009246720,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386382848,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782181345000,"timestamp_ms":1782181345000,"timestamp_seconds":1782181345,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24936e8"} 
[2026-06-23 07:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:54:02] 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-06-23 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 07:54:02] 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-06-23 07: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-06-23 07:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238423808001,"66":12961,"97":206,"85":15104,"24":33,"16":96249444009246720,"45":8848939974386382848},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238423808001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96249444009246720,"km_value":96249444009246.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386382848,"description":"Unknown IO ID 45"} 
[2026-06-23 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238423808001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8848939974386382848}} 
[2026-06-23 07:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:54:02] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:54:02] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:54:29] local.INFO: TCP Data received {"connection_id":111316,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:54:29] local.INFO: Processing buffer {"connection_id":111316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:54:29] local.INFO: IMEI packet received {"connection_id":111316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":111316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:54:36] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2497d38012d7aaf0005e42da0000901371f..."} 
[2026-06-23 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2497d38012d7aaf0005e42da0000901371f..."} 
[2026-06-23 07:54:36] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2497d38012d7aaf0005e42da0000901371f..."} 
[2026-06-23 07:54:36] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:54:36] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef249"} 
[2026-06-23 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763014912,"raw_latitude":98839968,"longitude_deg":76.3014912,"latitude_deg":9.8839968,"altitude":9,"angle":311,"satellites":31,"speed":32,"hex_longitude":"2d7aaf00","hex_latitude":"05e42da0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238424320001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96249907865714688,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443224076288,"note":"Value kept but may cause issues"} 
[2026-06-23 07:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782181363000,"timestamp_ms":1782181363000,"timestamp_seconds":1782181363,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2497d38"} 
[2026-06-23 07:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:54:36] 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-06-23 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 07:54:36] 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-06-23 07: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-06-23 07:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 07:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 07:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 07:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238424320001,"66":13015,"97":206,"85":15104,"24":32,"16":96249907865714688,"45":8847884443224076288},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 07:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 07:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 07:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238424320001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:54:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 07:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 07:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96249907865714688,"km_value":96249907865714.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443224076288,"description":"Unknown IO ID 45"} 
[2026-06-23 07:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238424320001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8847884443224076288}} 
[2026-06-23 07:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:54:36] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:54:36] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:54:56] local.INFO: TCP Data received {"connection_id":112250,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:56] local.INFO: Processing buffer {"connection_id":112250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:56] local.INFO: IMEI packet received {"connection_id":112250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 07:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":112250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:54:56] local.INFO: TCP Data received {"connection_id":112250,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:56] local.INFO: Processing buffer {"connection_id":112250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:56] local.INFO: IMEI packet received {"connection_id":112250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":112250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:54:58] local.INFO: TCP Data received {"connection_id":112250,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:58] local.INFO: Processing buffer {"connection_id":112250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:58] local.INFO: IMEI packet received {"connection_id":112250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":112250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:54:59] local.INFO: TCP Data received {"connection_id":112250,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:59] local.INFO: Processing buffer {"connection_id":112250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 07:54:59] local.INFO: IMEI packet received {"connection_id":112250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 07:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":112250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:55:12] local.INFO: TCP Data received {"connection_id":111317,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:55:12] local.INFO: Processing buffer {"connection_id":111317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 07:55:12] local.INFO: IMEI packet received {"connection_id":111317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 07:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":111317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:55:31] local.INFO: TCP Data received {"connection_id":112251,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:55:31] local.INFO: Processing buffer {"connection_id":112251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:55:31] local.INFO: IMEI packet received {"connection_id":112251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":112251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:55:33] local.INFO: TCP Data received {"connection_id":112251,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24aa230012cc2904007659f78005200b22b..."} 
[2026-06-23 07:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24aa230012cc2904007659f78005200b22b..."} 
[2026-06-23 07:55:33] local.INFO: Processing buffer {"connection_id":112251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24aa230012cc2904007659f78005200b22b..."} 
[2026-06-23 07:55:33] local.INFO: Packet analysis {"connection_id":112251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24a"} 
[2026-06-23 07:55:33] local.INFO: Extracted packet for processing {"connection_id":112251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24a"} 
[2026-06-23 07:55:33] local.INFO: GPS Element Parsed {"raw_longitude":750948416,"raw_latitude":124100472,"longitude_deg":75.0948416,"latitude_deg":12.4100472,"altitude":82,"angle":178,"satellites":43,"speed":35,"hex_longitude":"2cc29040","hex_latitude":"07659f78","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238446848001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321138845070393344,"note":"Value kept but may cause issues"} 
[2026-06-23 07:55:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426193977004015616,"note":"Value kept but may cause issues"} 
[2026-06-23 07:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782181438000,"timestamp_ms":1782181438000,"timestamp_seconds":1782181438,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24aa230"} 
[2026-06-23 07:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:55:33] 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-06-23 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 07:55:33] 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-06-23 07: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-06-23 07:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238446848001,"66":27984,"37":206,"27":54016,"24":35,"16":321138845070393344,"44":-4426193977004015616},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 07:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238446848001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:55:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 07:55:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321138845070393344,"km_value":321138845070393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:55:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426193977004015616,"description":"Unknown IO ID 44"} 
[2026-06-23 07:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238446848001,"power":27984,"unknown_37":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4426193977004015616}} 
[2026-06-23 07:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":112251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:55:33] local.INFO: GPS data processed {"connection_id":112251,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:55:33] local.INFO: Acknowledgment sent {"connection_id":112251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:56:04] local.INFO: TCP Data received {"connection_id":112251,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24bde98012cc26580076599380053011a2c..."} 
[2026-06-23 07:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24bde98012cc26580076599380053011a2c..."} 
[2026-06-23 07:56:04] local.INFO: Processing buffer {"connection_id":112251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24bde98012cc26580076599380053011a2c..."} 
[2026-06-23 07:56:04] local.INFO: Packet analysis {"connection_id":112251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24b"} 
[2026-06-23 07:56:04] local.INFO: Extracted packet for processing {"connection_id":112251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24b"} 
[2026-06-23 07:56:04] local.INFO: GPS Element Parsed {"raw_longitude":750937472,"raw_latitude":124098872,"longitude_deg":75.0937472,"latitude_deg":12.4098872,"altitude":83,"angle":282,"satellites":44,"speed":12,"hex_longitude":"2cc26580","hex_latitude":"07659938","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238468608001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321139652524244992,"note":"Value kept but may cause issues"} 
[2026-06-23 07:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4438649244725207040,"note":"Value kept but may cause issues"} 
[2026-06-23 07:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782181519000,"timestamp_ms":1782181519000,"timestamp_seconds":1782181519,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24bde98"} 
[2026-06-23 07:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 07:56:04] 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-06-23 07: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-06-23 07:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238468608001,"66":27767,"37":206,"27":54016,"24":12,"16":321139652524244992,"44":-4438649244725207040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 07:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238468608001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:56:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 07:56:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321139652524244992,"km_value":321139652524245.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4438649244725207040,"description":"Unknown IO ID 44"} 
[2026-06-23 07:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238468608001,"power":27767,"unknown_37":206,"unknown_27":54016,"ignition":12,"odometer":null,"unknown_44":-4438649244725207040}} 
[2026-06-23 07:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":112251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:56:04] local.INFO: GPS data processed {"connection_id":112251,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:56:04] local.INFO: Acknowledgment sent {"connection_id":112251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:56:29] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:29] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:29] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:56:29] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:29] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:29] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:56:35] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:35] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:56:35] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:56:36] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24be280012cc26480076599a0005301262c..."} 
[2026-06-23 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24be280012cc26480076599a0005301262c..."} 
[2026-06-23 07:56:36] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24be280012cc26480076599a0005301262c..."} 
[2026-06-23 07:56:36] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24b"} 
[2026-06-23 07:56:36] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24b"} 
[2026-06-23 07:56:36] local.INFO: GPS Element Parsed {"raw_longitude":750937216,"raw_latitude":124098976,"longitude_deg":75.0937216,"latitude_deg":12.4098976,"altitude":83,"angle":294,"satellites":44,"speed":13,"hex_longitude":"2cc26480","hex_latitude":"076599a0","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238468864001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321139665409146880,"note":"Value kept but may cause issues"} 
[2026-06-23 07:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4439001088446089216,"note":"Value kept but may cause issues"} 
[2026-06-23 07:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782181520000,"timestamp_ms":1782181520000,"timestamp_seconds":1782181520,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24be280"} 
[2026-06-23 07:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:56:36] 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-06-23 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 07:56:36] 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-06-23 07: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-06-23 07:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238468864001,"66":27039,"37":206,"27":54016,"24":13,"16":321139665409146880,"44":-4439001088446089216},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 07:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238468864001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:56:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 07:56:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321139665409146880,"km_value":321139665409146.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4439001088446089216,"description":"Unknown IO ID 44"} 
[2026-06-23 07:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238468864001,"power":27039,"unknown_37":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-4439001088446089216}} 
[2026-06-23 07:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:56:36] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:56:36] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:57:07] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24bee38012cc2604007659c08005301312a..."} 
[2026-06-23 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24bee38012cc2604007659c08005301312a..."} 
[2026-06-23 07:57:07] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24bee38012cc2604007659c08005301312a..."} 
[2026-06-23 07:57:07] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24b"} 
[2026-06-23 07:57:07] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24b"} 
[2026-06-23 07:57:07] local.INFO: GPS Element Parsed {"raw_longitude":750936128,"raw_latitude":124099592,"longitude_deg":75.0936128,"latitude_deg":12.4099592,"altitude":83,"angle":305,"satellites":42,"speed":19,"hex_longitude":"2cc26040","hex_latitude":"07659c08","is_valid_coordinates":true} 
[2026-06-23 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238469120001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321139725538689024,"note":"Value kept but may cause issues"} 
[2026-06-23 07:57:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4439282563422773248,"note":"Value kept but may cause issues"} 
[2026-06-23 07:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782181523000,"timestamp_ms":1782181523000,"timestamp_seconds":1782181523,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24bee38"} 
[2026-06-23 07:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:57: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-06-23 07:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 07:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238469120001,"66":27908,"37":206,"27":54016,"24":19,"16":321139725538689024,"44":-4439282563422773248},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 07:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238469120001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:57:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 07:57:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321139725538689024,"km_value":321139725538689.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:57:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4439282563422773248,"description":"Unknown IO ID 44"} 
[2026-06-23 07:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238469120001,"power":27908,"unknown_37":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-4439282563422773248}} 
[2026-06-23 07:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:57:07] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:57:07] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:57:24] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:24] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:24] local.INFO: IMEI packet received {"connection_id":110521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":110521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:57:26] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:26] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:26] local.INFO: IMEI packet received {"connection_id":110521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":110521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:57:30] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:30] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:57:30] local.INFO: IMEI packet received {"connection_id":110521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":110521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:57:31] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24c1930012cc24a800765b0b80053013e2a..."} 
[2026-06-23 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24c1930012cc24a800765b0b80053013e2a..."} 
[2026-06-23 07:57:31] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24c1930012cc24a800765b0b80053013e2a..."} 
[2026-06-23 07:57:31] local.INFO: Packet analysis {"connection_id":110521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24c"} 
[2026-06-23 07:57:31] local.INFO: Extracted packet for processing {"connection_id":110521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24c"} 
[2026-06-23 07:57:31] local.INFO: GPS Element Parsed {"raw_longitude":750930560,"raw_latitude":124104888,"longitude_deg":75.093056,"latitude_deg":12.4104888,"altitude":83,"angle":318,"satellites":42,"speed":32,"hex_longitude":"2cc24a80","hex_latitude":"0765b0b8","is_valid_coordinates":true} 
[2026-06-23 07:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238469888001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321140094905876480,"note":"Value kept but may cause issues"} 
[2026-06-23 07:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4440478832073635840,"note":"Value kept but may cause issues"} 
[2026-06-23 07:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782181534000,"timestamp_ms":1782181534000,"timestamp_seconds":1782181534,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24c1930"} 
[2026-06-23 07:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:57: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-06-23 07:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 07:57:31] 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-06-23 07:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238469888001,"66":27767,"37":206,"27":54016,"24":32,"16":321140094905876480,"44":-4440478832073635840},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 07:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238469888001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:57:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 07:57:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321140094905876480,"km_value":321140094905876.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4440478832073635840,"description":"Unknown IO ID 44"} 
[2026-06-23 07:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238469888001,"power":27767,"unknown_37":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4440478832073635840}} 
[2026-06-23 07:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":110521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:57:31] local.INFO: GPS data processed {"connection_id":110521,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:57:31] local.INFO: Acknowledgment sent {"connection_id":110521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:58:02] local.INFO: TCP Data received {"connection_id":110521,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24d70f0012cc118c00766e370004f012a28..."} 
[2026-06-23 07:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24d70f0012cc118c00766e370004f012a28..."} 
[2026-06-23 07:58:02] local.INFO: Processing buffer {"connection_id":110521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24d70f0012cc118c00766e370004f012a28..."} 
[2026-06-23 07:58:02] local.INFO: Packet analysis {"connection_id":110521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24d"} 
[2026-06-23 07:58:02] local.INFO: Extracted packet for processing {"connection_id":110521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24d"} 
[2026-06-23 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":750852288,"raw_latitude":124183408,"longitude_deg":75.0852288,"latitude_deg":12.4183408,"altitude":79,"angle":298,"satellites":40,"speed":57,"hex_longitude":"2cc118c0","hex_latitude":"0766e370","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238493440001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321145601053949952,"note":"Value kept but may cause issues"} 
[2026-06-23 07:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4522599156508719104,"note":"Value kept but may cause issues"} 
[2026-06-23 07:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782181622000,"timestamp_ms":1782181622000,"timestamp_seconds":1782181622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24d70f0"} 
[2026-06-23 07:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:58: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-06-23 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 07:58:02] 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-06-23 07: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-06-23 07:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238493440001,"66":27887,"39":206,"27":54016,"24":57,"16":321145601053949952,"44":-4522599156508719104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 07:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238493440001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:58:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 07:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321145601053949952,"km_value":321145601053949.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4522599156508719104,"description":"Unknown IO ID 44"} 
[2026-06-23 07:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238493440001,"power":27887,"unknown_39":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4522599156508719104}} 
[2026-06-23 07:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":110521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:58:02] local.INFO: GPS data processed {"connection_id":110521,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:58:02] local.INFO: Acknowledgment sent {"connection_id":110521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:58:24] local.INFO: TCP Data received {"connection_id":112254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:58:24] local.INFO: Processing buffer {"connection_id":112254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:58:24] local.INFO: IMEI packet received {"connection_id":112254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":112254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:58:29] local.INFO: TCP Data received {"connection_id":112254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:58:29] local.INFO: Processing buffer {"connection_id":112254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:58:29] local.INFO: IMEI packet received {"connection_id":112254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":112254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:58:31] local.INFO: TCP Data received {"connection_id":112254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24d8c48012cc0f5800766f618004d012a28..."} 
[2026-06-23 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24d8c48012cc0f5800766f618004d012a28..."} 
[2026-06-23 07:58:31] local.INFO: Processing buffer {"connection_id":112254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24d8c48012cc0f5800766f618004d012a28..."} 
[2026-06-23 07:58:31] local.INFO: Packet analysis {"connection_id":112254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24d"} 
[2026-06-23 07:58:31] local.INFO: Extracted packet for processing {"connection_id":112254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24d"} 
[2026-06-23 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":750843264,"raw_latitude":124188184,"longitude_deg":75.0843264,"latitude_deg":12.4188184,"altitude":77,"angle":298,"satellites":40,"speed":56,"hex_longitude":"2cc0f580","hex_latitude":"0766f618","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321146086385254400,"note":"Value kept but may cause issues"} 
[2026-06-23 07:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4532661886924918784,"note":"Value kept but may cause issues"} 
[2026-06-23 07:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782181629000,"timestamp_ms":1782181629000,"timestamp_seconds":1782181629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24d8c48"} 
[2026-06-23 07:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:58: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-06-23 07: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 07:58:31] 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-06-23 07: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-06-23 07:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238495232001,"66":27843,"39":206,"27":54016,"24":56,"16":321146086385254400,"44":-4532661886924918784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 07:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:58:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 07:58:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321146086385254400,"km_value":321146086385254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4532661886924918784,"description":"Unknown IO ID 44"} 
[2026-06-23 07:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238495232001,"power":27843,"unknown_39":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4532661886924918784}} 
[2026-06-23 07:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":112254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:58:31] local.INFO: GPS data processed {"connection_id":112254,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:58:31] local.INFO: Acknowledgment sent {"connection_id":112254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:59:02] local.INFO: TCP Data received {"connection_id":112254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24da7a0012cc0d3c007670968004b012f29..."} 
[2026-06-23 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24da7a0012cc0d3c007670968004b012f29..."} 
[2026-06-23 07:59:02] local.INFO: Processing buffer {"connection_id":112254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24da7a0012cc0d3c007670968004b012f29..."} 
[2026-06-23 07:59:02] local.INFO: Packet analysis {"connection_id":112254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24d"} 
[2026-06-23 07:59:02] local.INFO: Extracted packet for processing {"connection_id":112254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24d"} 
[2026-06-23 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":750834624,"raw_latitude":124193128,"longitude_deg":75.0834624,"latitude_deg":12.4193128,"altitude":75,"angle":303,"satellites":41,"speed":55,"hex_longitude":"2cc0d3c0","hex_latitude":"07670968","is_valid_coordinates":true} 
[2026-06-23 07: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-06-23 07:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238497024001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321146563126624256,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4542583879852746752,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782181636000,"timestamp_ms":1782181636000,"timestamp_seconds":1782181636,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24da7a0"} 
[2026-06-23 07:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:59: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-06-23 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 07:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 07: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-06-23 07:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238497024001,"66":27908,"39":206,"27":54016,"24":55,"16":321146563126624256,"44":-4542583879852746752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 07:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238497024001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:59:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 07:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321146563126624256,"km_value":321146563126624.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4542583879852746752,"description":"Unknown IO ID 44"} 
[2026-06-23 07:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238497024001,"power":27908,"unknown_39":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4542583879852746752}} 
[2026-06-23 07:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":112254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:59:02] local.INFO: GPS data processed {"connection_id":112254,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:59:02] local.INFO: Acknowledgment sent {"connection_id":112254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:59:03] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:03] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:03] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 07:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:59:04] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:04] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:04] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 07:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:59:08] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:08] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 07:59:08] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 07:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:59:09] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-23 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-23 07:59:09] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-23 07:59:09] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 07:59:09] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-23 07:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 07:59:09] 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-06-23 07:59:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 07:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 07:59:09] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 07:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 07:59:09] local.ERROR: GPS data processing failed {"connection_id":111320,"error":"No valid data to process"} 
[2026-06-23 07:59:09] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 07:59:24] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:59:24] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:59:24] local.INFO: IMEI packet received {"connection_id":110688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 07:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":110688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 07:59:30] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:59:30] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 07:59:30] local.INFO: IMEI packet received {"connection_id":110688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 07:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":110688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 07:59:31] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24eb910012cbfce40076821f80050013c2d..."} 
[2026-06-23 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24eb910012cbfce40076821f80050013c2d..."} 
[2026-06-23 07:59:31] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24eb910012cbfce40076821f80050013c2d..."} 
[2026-06-23 07:59:31] local.INFO: Packet analysis {"connection_id":110688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24e"} 
[2026-06-23 07:59:31] local.INFO: Extracted packet for processing {"connection_id":110688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24e"} 
[2026-06-23 07:59:31] local.INFO: GPS Element Parsed {"raw_longitude":750767680,"raw_latitude":124264952,"longitude_deg":75.076768,"latitude_deg":12.4264952,"altitude":80,"angle":316,"satellites":45,"speed":60,"hex_longitude":"2cbfce40","hex_latitude":"076821f8","is_valid_coordinates":true} 
[2026-06-23 07:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 07:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238515200001,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321151334835290112,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4618933967267596288,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 07:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782181706000,"timestamp_ms":1782181706000,"timestamp_seconds":1782181706,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24eb910"} 
[2026-06-23 07:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 07:59: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-06-23 07:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 07:59:31] 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-06-23 07:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 07:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 07:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 07:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 07:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 07:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 07:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238515200001,"66":27908,"121":206,"27":54016,"24":60,"16":321151334835290112,"44":-4618933967267596288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-06-23 07:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 07:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 07:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238515200001,"description":"Unknown IO ID 0"} 
[2026-06-23 07:59:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-23 07:59:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 07:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321151334835290112,"km_value":321151334835290.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 07:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4618933967267596288,"description":"Unknown IO ID 44"} 
[2026-06-23 07:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238515200001,"power":27908,"unknown_121":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-4618933967267596288}} 
[2026-06-23 07:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":110688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 07:59:31] local.INFO: GPS data processed {"connection_id":110688,"processed":1,"errors":0,"total":1} 
[2026-06-23 07:59:31] local.INFO: Acknowledgment sent {"connection_id":110688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 07:59:39] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-23 07:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-23 07:59:39] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-23 07:59:39] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 07:59:39] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 07:59: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-06-23 07: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-06-23 07:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 07:59:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 07:59:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 07:59:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 07:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 07:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 07:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 07:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 07:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 07:59:39] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 07:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 07:59:39] local.ERROR: GPS data processing failed {"connection_id":111320,"error":"No valid data to process"} 
[2026-06-23 07:59:39] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 08:00:05] local.INFO: TCP Data received {"connection_id":110688,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24ed080012cbfb54007683b28004f013b2b..."} 
[2026-06-23 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24ed080012cbfb54007683b28004f013b2b..."} 
[2026-06-23 08:00:05] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24ed080012cbfb54007683b28004f013b2b..."} 
[2026-06-23 08:00:05] local.INFO: Packet analysis {"connection_id":110688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24e"} 
[2026-06-23 08:00:05] local.INFO: Extracted packet for processing {"connection_id":110688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24e"} 
[2026-06-23 08:00:05] local.INFO: GPS Element Parsed {"raw_longitude":750761280,"raw_latitude":124271400,"longitude_deg":75.076128,"latitude_deg":12.42714,"altitude":79,"angle":315,"satellites":43,"speed":58,"hex_longitude":"2cbfb540","hex_latitude":"07683b28","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238516736001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321151772921954304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4625689366706915328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782181712000,"timestamp_ms":1782181712000,"timestamp_seconds":1782181712,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24ed080"} 
[2026-06-23 08:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:00: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-06-23 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:00:05] 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-06-23 08: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-06-23 08:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238516736001,"66":27908,"121":206,"27":54016,"24":58,"16":321151772921954304,"44":-4625689366706915328},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-06-23 08:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238516736001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:00:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-23 08:00:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321151772921954304,"km_value":321151772921954.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4625689366706915328,"description":"Unknown IO ID 44"} 
[2026-06-23 08:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238516736001,"power":27908,"unknown_121":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4625689366706915328}} 
[2026-06-23 08:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":110688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:00:05] local.INFO: GPS data processed {"connection_id":110688,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:00:05] local.INFO: Acknowledgment sent {"connection_id":110688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:00:11] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24feda80100000000000000000000000000..."} 
[2026-06-23 08:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24feda80100000000000000000000000000..."} 
[2026-06-23 08:00:11] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24feda80100000000000000000000000000..."} 
[2026-06-23 08:00:11] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:00:11] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08: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-06-23 08: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-06-23 08:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782181785000,"timestamp_ms":1782181785000,"timestamp_seconds":1782181785,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24feda8"} 
[2026-06-23 08:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:00: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-06-23 08: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-06-23 08:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:00:11] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:00:11] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:00:26] local.INFO: TCP Data received {"connection_id":110523,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:26] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:26] local.INFO: IMEI packet received {"connection_id":110523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":110523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:00:29] local.INFO: TCP Data received {"connection_id":110523,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:29] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:29] local.INFO: IMEI packet received {"connection_id":110523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":110523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:00:33] local.INFO: TCP Data received {"connection_id":110523,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:33] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:00:33] local.INFO: IMEI packet received {"connection_id":110523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":110523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:00:34] local.INFO: TCP Data received {"connection_id":110523,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24fc698012cbe7f400768e7f00043013c2d..."} 
[2026-06-23 08:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24fc698012cbe7f400768e7f00043013c2d..."} 
[2026-06-23 08:00:34] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24fc698012cbe7f400768e7f00043013c2d..."} 
[2026-06-23 08:00:34] local.INFO: Packet analysis {"connection_id":110523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:00:34] local.INFO: Extracted packet for processing {"connection_id":110523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:00:34] local.INFO: GPS Element Parsed {"raw_longitude":750681920,"raw_latitude":124315632,"longitude_deg":75.068192,"latitude_deg":12.4315632,"altitude":67,"angle":316,"satellites":45,"speed":61,"hex_longitude":"2cbe7f40","hex_latitude":"0768e7f0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238532864001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321156192443301888,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4712454028266627072,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782181775000,"timestamp_ms":1782181775000,"timestamp_seconds":1782181775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24fc698"} 
[2026-06-23 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-06-23 08:00: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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 08:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238532864001,"66":27800,"122":206,"27":54016,"24":61,"16":321156192443301888,"44":-4712454028266627072},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 08:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238532864001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:00:34] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 08:00:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321156192443301888,"km_value":321156192443301.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4712454028266627072,"description":"Unknown IO ID 44"} 
[2026-06-23 08:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238532864001,"power":27800,"unknown_122":206,"unknown_27":54016,"ignition":61,"odometer":null,"unknown_44":-4712454028266627072}} 
[2026-06-23 08:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":110523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:00:34] local.INFO: GPS data processed {"connection_id":110523,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:00:34] local.INFO: Acknowledgment sent {"connection_id":110523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:00:42] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2503fb00100000000000000000000000000..."} 
[2026-06-23 08:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2503fb00100000000000000000000000000..."} 
[2026-06-23 08:00:42] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2503fb00100000000000000000000000000..."} 
[2026-06-23 08:00:42] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef250"} 
[2026-06-23 08:00:42] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef250"} 
[2026-06-23 08:00: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-06-23 08:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:00:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782181806000,"timestamp_ms":1782181806000,"timestamp_seconds":1782181806,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2503fb0"} 
[2026-06-23 08:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 08:00:42] 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-06-23 08:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:00:42] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:00:42] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:01:05] local.INFO: TCP Data received {"connection_id":110523,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24fde08012cbe6640076902100041013b2d..."} 
[2026-06-23 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24fde08012cbe6640076902100041013b2d..."} 
[2026-06-23 08:01:05] local.INFO: Processing buffer {"connection_id":110523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24fde08012cbe6640076902100041013b2d..."} 
[2026-06-23 08:01:05] local.INFO: Packet analysis {"connection_id":110523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:01:05] local.INFO: Extracted packet for processing {"connection_id":110523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":750675520,"raw_latitude":124322320,"longitude_deg":75.067552,"latitude_deg":12.432232,"altitude":65,"angle":315,"satellites":45,"speed":59,"hex_longitude":"2cbe6640","hex_latitude":"07690210","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238534400001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321156634824933376,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4719983483892011008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782181781000,"timestamp_ms":1782181781000,"timestamp_seconds":1782181781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24fde08"} 
[2026-06-23 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-06-23 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:01:05] 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-06-23 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-06-23 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-06-23 08:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238534400001,"66":27908,"122":206,"27":54016,"24":59,"16":321156634824933376,"44":-4719983483892011008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 08:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238534400001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:01:05] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 08:01:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321156634824933376,"km_value":321156634824933.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4719983483892011008,"description":"Unknown IO ID 44"} 
[2026-06-23 08:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238534400001,"power":27908,"unknown_122":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-4719983483892011008}} 
[2026-06-23 08:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":110523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:01:05] local.INFO: GPS data processed {"connection_id":110523,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:01:05] local.INFO: Acknowledgment sent {"connection_id":110523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:01:07] local.INFO: TCP Data received {"connection_id":110689,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:01:07] local.INFO: Processing buffer {"connection_id":110689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:01:07] local.INFO: IMEI packet received {"connection_id":110689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":110689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:01:13] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25091b80100000000000000000000000000..."} 
[2026-06-23 08:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25091b80100000000000000000000000000..."} 
[2026-06-23 08:01:13] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25091b80100000000000000000000000000..."} 
[2026-06-23 08:01:13] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef250"} 
[2026-06-23 08:01:13] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef250"} 
[2026-06-23 08:01: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-06-23 08: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-06-23 08:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782181827000,"timestamp_ms":1782181827000,"timestamp_seconds":1782181827,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25091b8"} 
[2026-06-23 08:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:01:13] 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-06-23 08: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-06-23 08:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:01:13] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:01:13] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:01:25] local.INFO: TCP Data received {"connection_id":111323,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:01:25] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:01:25] local.INFO: IMEI packet received {"connection_id":111323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":111323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:01:28] local.INFO: TCP Data received {"connection_id":111323,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:01:28] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:01:28] local.INFO: IMEI packet received {"connection_id":111323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":111323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:01:29] local.INFO: TCP Data received {"connection_id":111323,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef24ff960012cbe4a4007691db0004201382b..."} 
[2026-06-23 08:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef24ff960012cbe4a4007691db0004201382b..."} 
[2026-06-23 08:01:29] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef24ff960012cbe4a4007691db0004201382b..."} 
[2026-06-23 08:01:29] local.INFO: Packet analysis {"connection_id":111323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:01:29] local.INFO: Extracted packet for processing {"connection_id":111323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef24f"} 
[2026-06-23 08:01:29] local.INFO: GPS Element Parsed {"raw_longitude":750668352,"raw_latitude":124329392,"longitude_deg":75.0668352,"latitude_deg":12.4329392,"altitude":66,"angle":312,"satellites":43,"speed":53,"hex_longitude":"2cbe4a40","hex_latitude":"07691db0","is_valid_coordinates":true} 
[2026-06-23 08:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238535936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321157115861270528,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4727020358308065280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782181788000,"timestamp_ms":1782181788000,"timestamp_seconds":1782181788,"priority":1,"record_length":96,"hex_timestamp":"0000019ef24ff960"} 
[2026-06-23 08:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:01:29] 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-06-23 08:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238535936001,"66":27876,"122":206,"27":54016,"24":53,"16":321157115861270528,"44":-4727020358308065280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 08:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238535936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:01:29] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 08:01:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321157115861270528,"km_value":321157115861270.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4727020358308065280,"description":"Unknown IO ID 44"} 
[2026-06-23 08:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238535936001,"power":27876,"unknown_122":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4727020358308065280}} 
[2026-06-23 08:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":111323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:01:29] local.INFO: GPS data processed {"connection_id":111323,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:01:29] local.INFO: Acknowledgment sent {"connection_id":111323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:01:44] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef250e3c00100000000000000000000000000..."} 
[2026-06-23 08:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef250e3c00100000000000000000000000000..."} 
[2026-06-23 08:01:44] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef250e3c00100000000000000000000000000..."} 
[2026-06-23 08:01:44] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef250"} 
[2026-06-23 08:01:44] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef250"} 
[2026-06-23 08:01: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-06-23 08:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782181848000,"timestamp_ms":1782181848000,"timestamp_seconds":1782181848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef250e3c0"} 
[2026-06-23 08:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 08:01:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:44] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:44] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2984116224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 08:01:44] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-06-23 08:01:44] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,103,83,24,241,157,16,177,158,63,10,66,102,237,13,1,240,169,227,4,113,205,27,239,2,47,206,88],"length":529,"final_offset":659,"validated_count":28,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 08:01:44] 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-06-23 08:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:01:44] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:01:44] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:02:01] local.INFO: TCP Data received {"connection_id":111323,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2512240012cbdc280076a88d8004700012b..."} 
[2026-06-23 08:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2512240012cbdc280076a88d8004700012b..."} 
[2026-06-23 08:02:01] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2512240012cbdc280076a88d8004700012b..."} 
[2026-06-23 08:02:01] local.INFO: Packet analysis {"connection_id":111323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02:01] local.INFO: Extracted packet for processing {"connection_id":111323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02:01] local.INFO: GPS Element Parsed {"raw_longitude":750633600,"raw_latitude":124422360,"longitude_deg":75.06336,"latitude_deg":12.442236,"altitude":71,"angle":1,"satellites":43,"speed":49,"hex_longitude":"2cbdc280","hex_latitude":"076a88d8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238555392001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321162080843464704,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772971148232781824,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782181864000,"timestamp_ms":1782181864000,"timestamp_seconds":1782181864,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2512240"} 
[2026-06-23 08:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:02:01] 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-06-23 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:02:01] 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-06-23 08: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-06-23 08:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238555392001,"66":27930,"75":206,"27":54016,"24":49,"16":321162080843464704,"44":-4772971148232781824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 08:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238555392001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:02:01] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:02:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321162080843464704,"km_value":321162080843464.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772971148232781824,"description":"Unknown IO ID 44"} 
[2026-06-23 08:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238555392001,"power":27930,"unknown_75":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4772971148232781824}} 
[2026-06-23 08:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":111323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:02:01] local.INFO: GPS data processed {"connection_id":111323,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:02:01] local.INFO: Acknowledgment sent {"connection_id":111323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:02:15] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25135c80100000000000000000000000000..."} 
[2026-06-23 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25135c80100000000000000000000000000..."} 
[2026-06-23 08:02:15] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25135c80100000000000000000000000000..."} 
[2026-06-23 08:02:15] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02:15] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02: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-06-23 08:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02: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-06-23 08:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782181869000,"timestamp_ms":1782181869000,"timestamp_seconds":1782181869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25135c8"} 
[2026-06-23 08:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 08:02:15] 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-06-23 08:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:02:15] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:02:15] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:02:24] local.INFO: TCP Data received {"connection_id":111325,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:24] local.INFO: Processing buffer {"connection_id":111325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:24] local.INFO: IMEI packet received {"connection_id":111325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":111325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:02:25] local.INFO: TCP Data received {"connection_id":111325,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:25] local.INFO: Processing buffer {"connection_id":111325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:25] local.INFO: IMEI packet received {"connection_id":111325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":111325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:02:30] local.INFO: TCP Data received {"connection_id":110524,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:30] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:30] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:02:30] local.INFO: TCP Data received {"connection_id":111325,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:30] local.INFO: Processing buffer {"connection_id":111325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:02:30] local.INFO: IMEI packet received {"connection_id":111325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":111325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:02:30] local.INFO: TCP Data received {"connection_id":110524,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:30] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:30] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:02:31] local.INFO: TCP Data received {"connection_id":111325,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2514180012cbdc440076ab018004700022b..."} 
[2026-06-23 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2514180012cbdc440076ab018004700022b..."} 
[2026-06-23 08:02:31] local.INFO: Processing buffer {"connection_id":111325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2514180012cbdc440076ab018004700022b..."} 
[2026-06-23 08:02:31] local.INFO: Packet analysis {"connection_id":111325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02:31] local.INFO: Extracted packet for processing {"connection_id":111325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":750634048,"raw_latitude":124432408,"longitude_deg":75.0634048,"latitude_deg":12.4432408,"altitude":71,"angle":2,"satellites":43,"speed":51,"hex_longitude":"2cbdc440","hex_latitude":"076ab018","is_valid_coordinates":true} 
[2026-06-23 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238557184001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321162570469736448,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4773111885718824960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782181872000,"timestamp_ms":1782181872000,"timestamp_seconds":1782181872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2514180"} 
[2026-06-23 08:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:02:31] 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-06-23 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 08:02:31] 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-06-23 08:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238557184001,"66":27930,"75":206,"27":54016,"24":51,"16":321162570469736448,"44":-4773111885718824960},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 08:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238557184001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:02:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321162570469736448,"km_value":321162570469736.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4773111885718824960,"description":"Unknown IO ID 44"} 
[2026-06-23 08:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238557184001,"power":27930,"unknown_75":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-4773111885718824960}} 
[2026-06-23 08:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":111325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:02:31] local.INFO: GPS data processed {"connection_id":111325,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:02:31] local.INFO: Acknowledgment sent {"connection_id":111325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:02:32] local.INFO: TCP Data received {"connection_id":110524,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:32] local.INFO: Processing buffer {"connection_id":110524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:02:32] local.INFO: IMEI packet received {"connection_id":110524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":110524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:02:46] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25187d00100000000000000000000000000..."} 
[2026-06-23 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25187d00100000000000000000000000000..."} 
[2026-06-23 08:02:46] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25187d00100000000000000000000000000..."} 
[2026-06-23 08:02:46] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02:46] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:02: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-06-23 08:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:02:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782181890000,"timestamp_ms":1782181890000,"timestamp_seconds":1782181890,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25187d0"} 
[2026-06-23 08:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 08:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:02:46] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:02:46] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:03:03] local.INFO: TCP Data received {"connection_id":111325,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2515cd8012cbdc5c0076ad450004700022c..."} 
[2026-06-23 08:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2515cd8012cbdc5c0076ad450004700022c..."} 
[2026-06-23 08:03:03] local.INFO: Processing buffer {"connection_id":111325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2515cd8012cbdc5c0076ad450004700022c..."} 
[2026-06-23 08:03:03] local.INFO: Packet analysis {"connection_id":111325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:03:03] local.INFO: Extracted packet for processing {"connection_id":111325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:03:03] local.INFO: GPS Element Parsed {"raw_longitude":750634432,"raw_latitude":124441680,"longitude_deg":75.0634432,"latitude_deg":12.444168,"altitude":71,"angle":2,"satellites":44,"speed":54,"hex_longitude":"2cbdc5c0","hex_latitude":"076ad450","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238559232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321163017146335232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772619304507009024,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782181879000,"timestamp_ms":1782181879000,"timestamp_seconds":1782181879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2515cd8"} 
[2026-06-23 08:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:03:03] 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-06-23 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 08:03:03] 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-06-23 08: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-06-23 08:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238559232001,"66":27800,"75":206,"27":54016,"24":54,"16":321163017146335232,"44":-4772619304507009024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 08:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238559232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:03:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:03:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321163017146335232,"km_value":321163017146335.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772619304507009024,"description":"Unknown IO ID 44"} 
[2026-06-23 08:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238559232001,"power":27800,"unknown_75":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4772619304507009024}} 
[2026-06-23 08:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":111325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:03:03] local.INFO: GPS data processed {"connection_id":111325,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:03:03] local.INFO: Acknowledgment sent {"connection_id":111325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:03:17] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef251d9d80100000000000000000000000000..."} 
[2026-06-23 08:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef251d9d80100000000000000000000000000..."} 
[2026-06-23 08:03:17] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef251d9d80100000000000000000000000000..."} 
[2026-06-23 08:03:17] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:03:17] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef251"} 
[2026-06-23 08:03: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-06-23 08:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782181911000,"timestamp_ms":1782181911000,"timestamp_seconds":1782181911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef251d9d8"} 
[2026-06-23 08:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 08:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:03:17] local.INFO: GPS data processed {"connection_id":111320,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:03:17] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:03:24] local.INFO: TCP Data received {"connection_id":112255,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:24] local.INFO: Processing buffer {"connection_id":112255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:24] local.INFO: IMEI packet received {"connection_id":112255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":112255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:03:25] local.INFO: TCP Data received {"connection_id":112255,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:25] local.INFO: Processing buffer {"connection_id":112255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:25] local.INFO: IMEI packet received {"connection_id":112255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":112255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:03:30] local.INFO: TCP Data received {"connection_id":112255,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:30] local.INFO: Processing buffer {"connection_id":112255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:03:30] local.INFO: IMEI packet received {"connection_id":112255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":112255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:03:31] local.INFO: TCP Data received {"connection_id":112255,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2527618012cbd3080076c3600003a015e28..."} 
[2026-06-23 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2527618012cbd3080076c3600003a015e28..."} 
[2026-06-23 08:03:31] local.INFO: Processing buffer {"connection_id":112255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2527618012cbd3080076c3600003a015e28..."} 
[2026-06-23 08:03:31] local.INFO: Packet analysis {"connection_id":112255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef252"} 
[2026-06-23 08:03:31] local.INFO: Extracted packet for processing {"connection_id":112255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef252"} 
[2026-06-23 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":750596224,"raw_latitude":124532224,"longitude_deg":75.0596224,"latitude_deg":12.4532224,"altitude":58,"angle":350,"satellites":40,"speed":56,"hex_longitude":"2cbd3080","hex_latitude":"076c3600","is_valid_coordinates":true} 
[2026-06-23 08:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238577664001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321167934883889152,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4812377644944416768,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782181951000,"timestamp_ms":1782181951000,"timestamp_seconds":1782181951,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2527618"} 
[2026-06-23 08:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:03: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-06-23 08:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:03:31] 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-06-23 08:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238577664001,"66":27800,"75":206,"27":54016,"24":56,"16":321167934883889152,"44":-4812377644944416768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 08:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238577664001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:03:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321167934883889152,"km_value":321167934883889.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4812377644944416768,"description":"Unknown IO ID 44"} 
[2026-06-23 08:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238577664001,"power":27800,"unknown_75":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4812377644944416768}} 
[2026-06-23 08:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":112255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:03:31] local.INFO: GPS data processed {"connection_id":112255,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:03:31] local.INFO: Acknowledgment sent {"connection_id":112255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:03:43] local.INFO: TCP Data received {"connection_id":112256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:03:43] local.INFO: Processing buffer {"connection_id":112256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:03:43] local.INFO: IMEI packet received {"connection_id":112256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":112256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:03:47] local.INFO: TCP Data received {"connection_id":112256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:03:47] local.INFO: Processing buffer {"connection_id":112256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:03:47] local.INFO: IMEI packet received {"connection_id":112256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":112256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:03:48] local.INFO: TCP Data received {"connection_id":112256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2533198012d1949c0072079e8003300320d..."} 
[2026-06-23 08:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2533198012d1949c0072079e8003300320d..."} 
[2026-06-23 08:03:48] local.INFO: Processing buffer {"connection_id":112256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2533198012d1949c0072079e8003300320d..."} 
[2026-06-23 08:03:48] local.INFO: Packet analysis {"connection_id":112256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef253"} 
[2026-06-23 08:03:48] local.INFO: Extracted packet for processing {"connection_id":112256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef253"} 
[2026-06-23 08:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756632000,"raw_latitude":119568872,"longitude_deg":75.6632,"latitude_deg":11.9568872,"altitude":51,"angle":50,"satellites":13,"speed":6,"hex_longitude":"2d1949c0","hex_latitude":"072079e8","is_valid_coordinates":true} 
[2026-06-23 08:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238591488001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854999436132352,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822128292346032128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782181999000,"timestamp_ms":1782181999000,"timestamp_seconds":1782181999,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2533198"} 
[2026-06-23 08:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:03:48] 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-06-23 08:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-23 08:03:48] 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-06-23 08:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238591488001,"66":14233,"103":206,"83":41984,"24":6,"16":3854999436132352,"45":1822128292346032128},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238591488001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3854999436132352,"km_value":3854999436132.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822128292346032128,"description":"Unknown IO ID 45"} 
[2026-06-23 08:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238591488001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1822128292346032128}} 
[2026-06-23 08:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":112256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:03:48] local.INFO: GPS data processed {"connection_id":112256,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:03:48] local.INFO: Acknowledgment sent {"connection_id":112256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:04:02] local.INFO: TCP Data received {"connection_id":112255,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2529558012cbd2980076c5fe8003b015e2a..."} 
[2026-06-23 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2529558012cbd2980076c5fe8003b015e2a..."} 
[2026-06-23 08:04:02] local.INFO: Processing buffer {"connection_id":112255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2529558012cbd2980076c5fe8003b015e2a..."} 
[2026-06-23 08:04:02] local.INFO: Packet analysis {"connection_id":112255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef252"} 
[2026-06-23 08:04:02] local.INFO: Extracted packet for processing {"connection_id":112255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef252"} 
[2026-06-23 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":750594432,"raw_latitude":124542952,"longitude_deg":75.0594432,"latitude_deg":12.4542952,"altitude":59,"angle":350,"satellites":42,"speed":50,"hex_longitude":"2cbd2980","hex_latitude":"076c5fe8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238579456001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321168463164866560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4814207232290455552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782181959000,"timestamp_ms":1782181959000,"timestamp_seconds":1782181959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2529558"} 
[2026-06-23 08:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:04: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-06-23 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:04:02] 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-06-23 08: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-06-23 08:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238579456001,"66":27800,"75":206,"27":54016,"24":50,"16":321168463164866560,"44":-4814207232290455552},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 08:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238579456001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:04:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:04:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321168463164866560,"km_value":321168463164866.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4814207232290455552,"description":"Unknown IO ID 44"} 
[2026-06-23 08:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238579456001,"power":27800,"unknown_75":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4814207232290455552}} 
[2026-06-23 08:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":112255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:04:02] local.INFO: GPS data processed {"connection_id":112255,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:04:02] local.INFO: Acknowledgment sent {"connection_id":112255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:04:19] local.INFO: TCP Data received {"connection_id":112256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2540870012d19500007209288001d01470e..."} 
[2026-06-23 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2540870012d19500007209288001d01470e..."} 
[2026-06-23 08:04:19] local.INFO: Processing buffer {"connection_id":112256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2540870012d19500007209288001d01470e..."} 
[2026-06-23 08:04:19] local.INFO: Packet analysis {"connection_id":112256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:04:19] local.INFO: Extracted packet for processing {"connection_id":112256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119575176,"longitude_deg":75.66336,"latitude_deg":11.9575176,"altitude":29,"angle":327,"satellites":14,"speed":12,"hex_longitude":"2d195000","hex_latitude":"07209288","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238604800001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3855643681226752,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517091276800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782182054000,"timestamp_ms":1782182054000,"timestamp_seconds":1782182054,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2540870"} 
[2026-06-23 08:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-23 08:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238604800001,"66":14374,"103":206,"83":41984,"24":12,"16":3855643681226752,"45":1825224517091276800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238604800001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:04:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3855643681226752,"km_value":3855643681226.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517091276800,"description":"Unknown IO ID 45"} 
[2026-06-23 08:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238604800001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1825224517091276800}} 
[2026-06-23 08:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":112256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:04:19] local.INFO: GPS data processed {"connection_id":112256,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:04:19] local.INFO: Acknowledgment sent {"connection_id":112256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:04:24] local.INFO: TCP Data received {"connection_id":111326,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:04:24] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:04:24] local.INFO: IMEI packet received {"connection_id":111326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":111326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:04:30] local.INFO: TCP Data received {"connection_id":111326,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:04:30] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:04:30] local.INFO: IMEI packet received {"connection_id":111326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":111326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:04:31] local.INFO: TCP Data received {"connection_id":111326,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef252b498012cbd22c0076c8630003c015e29..."} 
[2026-06-23 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef252b498012cbd22c0076c8630003c015e29..."} 
[2026-06-23 08:04:31] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef252b498012cbd22c0076c8630003c015e29..."} 
[2026-06-23 08:04:31] local.INFO: Packet analysis {"connection_id":111326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef252"} 
[2026-06-23 08:04:31] local.INFO: Extracted packet for processing {"connection_id":111326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef252"} 
[2026-06-23 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":750592704,"raw_latitude":124552752,"longitude_deg":75.0592704,"latitude_deg":12.4552752,"altitude":60,"angle":350,"satellites":41,"speed":49,"hex_longitude":"2cbd22c0","hex_latitude":"076c8630","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238581504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321168944201203712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4816177557124683776,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782181967000,"timestamp_ms":1782181967000,"timestamp_seconds":1782181967,"priority":1,"record_length":96,"hex_timestamp":"0000019ef252b498"} 
[2026-06-23 08:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:04: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-06-23 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238581504001,"66":27767,"75":206,"27":54016,"24":49,"16":321168944201203712,"44":-4816177557124683776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 08:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238581504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321168944201203712,"km_value":321168944201203.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4816177557124683776,"description":"Unknown IO ID 44"} 
[2026-06-23 08:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238581504001,"power":27767,"unknown_75":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4816177557124683776}} 
[2026-06-23 08:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":111326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:04:31] local.INFO: GPS data processed {"connection_id":111326,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:04:31] local.INFO: Acknowledgment sent {"connection_id":111326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:04:50] local.INFO: TCP Data received {"connection_id":112256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25475d0012d195d400720ab18002700400e..."} 
[2026-06-23 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25475d0012d195d400720ab18002700400e..."} 
[2026-06-23 08:04:50] local.INFO: Processing buffer {"connection_id":112256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25475d0012d195d400720ab18002700400e..."} 
[2026-06-23 08:04:50] local.INFO: Packet analysis {"connection_id":112256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:04:50] local.INFO: Extracted packet for processing {"connection_id":112256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119581464,"longitude_deg":75.6636992,"latitude_deg":11.9581464,"altitude":39,"angle":64,"satellites":14,"speed":10,"hex_longitude":"2d195d40","hex_latitude":"0720ab18","is_valid_coordinates":true} 
[2026-06-23 08:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238612736001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856034523250688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948162576384,"note":"Value kept but may cause issues"} 
[2026-06-23 08:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782182082000,"timestamp_ms":1782182082000,"timestamp_seconds":1782182082,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25475d0"} 
[2026-06-23 08:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:04:50] 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-06-23 08:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 08:04:50] 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-06-23 08:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238612736001,"66":14341,"103":206,"83":41984,"24":10,"16":3856034523250688,"45":1827405948162576384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238612736001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:04:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856034523250688,"km_value":3856034523250.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948162576384,"description":"Unknown IO ID 45"} 
[2026-06-23 08:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238612736001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1827405948162576384}} 
[2026-06-23 08:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":112256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:04:50] local.INFO: GPS data processed {"connection_id":112256,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:04:50] local.INFO: Acknowledgment sent {"connection_id":112256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:05:02] local.INFO: TCP Data received {"connection_id":111326,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2540c58012cbcfb00076e25e8004800042b..."} 
[2026-06-23 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2540c58012cbcfb00076e25e8004800042b..."} 
[2026-06-23 08:05:02] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2540c58012cbcfb00076e25e8004800042b..."} 
[2026-06-23 08:05:02] local.INFO: Packet analysis {"connection_id":111326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:02] local.INFO: Extracted packet for processing {"connection_id":111326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":750582528,"raw_latitude":124659176,"longitude_deg":75.0582528,"latitude_deg":12.4659176,"altitude":72,"angle":4,"satellites":43,"speed":56,"hex_longitude":"2cbcfb00","hex_latitude":"076e25e8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238604288001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321174179766337536,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830462412165593088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782182055000,"timestamp_ms":1782182055000,"timestamp_seconds":1782182055,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2540c58"} 
[2026-06-23 08:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:05:02] 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-06-23 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238604288001,"66":27821,"74":206,"27":54016,"24":56,"16":321174179766337536,"44":-4830462412165593088},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-06-23 08:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238604288001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:05:02] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 08:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321174179766337536,"km_value":321174179766337.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830462412165593088,"description":"Unknown IO ID 44"} 
[2026-06-23 08:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238604288001,"power":27821,"unknown_74":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4830462412165593088}} 
[2026-06-23 08:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":111326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:05:02] local.INFO: GPS data processed {"connection_id":111326,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:05:02] local.INFO: Acknowledgment sent {"connection_id":111326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:05:22] local.INFO: TCP Data received {"connection_id":112256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2547da0012d195fc00720abb00027004e0e..."} 
[2026-06-23 08:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2547da0012d195fc00720abb00027004e0e..."} 
[2026-06-23 08:05:22] local.INFO: Processing buffer {"connection_id":112256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2547da0012d195fc00720abb00027004e0e..."} 
[2026-06-23 08:05:22] local.INFO: Packet analysis {"connection_id":112256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:22] local.INFO: Extracted packet for processing {"connection_id":112256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119581616,"longitude_deg":75.6637632,"latitude_deg":11.9581616,"altitude":39,"angle":78,"satellites":14,"speed":17,"hex_longitude":"2d195fc0","hex_latitude":"0720abb0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238612992001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856068882989056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827687423139321856,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782182084000,"timestamp_ms":1782182084000,"timestamp_seconds":1782182084,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2547da0"} 
[2026-06-23 08:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:05:22] 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-06-23 08: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":10133335619667968,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4065604456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2147950753,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503658462380032,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2728394787,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3001876480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84751807968387230,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,179,158,113,45,64,170,39,14,10,66,90,166,36,178,82,1,240,38,227,242,32,4,205,12,74,112,239,56,2,13,7,8,206,152],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-23 08:05:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810316596353564672,"timestamp_seconds":2810316596353564.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238612992001,"66":14407,"103":206,"83":41984,"24":17,"16":3856068882989056,"45":1827687423139321856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238612992001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:05:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856068882989056,"km_value":3856068882989.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827687423139321856,"description":"Unknown IO ID 45"} 
[2026-06-23 08:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238612992001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1827687423139321856}} 
[2026-06-23 08:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":112256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:05:22] local.INFO: GPS data processed {"connection_id":112256,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:05:22] local.INFO: Acknowledgment sent {"connection_id":112256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:05:28] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:28] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:28] local.INFO: IMEI packet received {"connection_id":110693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":110693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:05:29] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:29] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:29] local.INFO: IMEI packet received {"connection_id":110693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":110693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:05:35] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:35] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:05:35] local.INFO: IMEI packet received {"connection_id":110693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":110693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:05:37] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25427b0012cbcfa40076e4c18004b01612e..."} 
[2026-06-23 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25427b0012cbcfa40076e4c18004b01612e..."} 
[2026-06-23 08:05:37] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25427b0012cbcfa40076e4c18004b01612e..."} 
[2026-06-23 08:05:37] local.INFO: Packet analysis {"connection_id":110693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:37] local.INFO: Extracted packet for processing {"connection_id":110693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:37] local.INFO: GPS Element Parsed {"raw_longitude":750582336,"raw_latitude":124668952,"longitude_deg":75.0582336,"latitude_deg":12.4668952,"altitude":75,"angle":353,"satellites":46,"speed":54,"hex_longitude":"2cbcfa40","hex_latitude":"076e4c18","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238606080001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321174656507707392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829266143511975936,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782182062000,"timestamp_ms":1782182062000,"timestamp_seconds":1782182062,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25427b0"} 
[2026-06-23 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-06-23 08:05: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-06-23 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:05:37] 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-06-23 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-06-23 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-06-23 08:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238606080001,"66":27908,"74":206,"27":54016,"24":54,"16":321174656507707392,"44":-4829266143511975936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-06-23 08:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238606080001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:05:37] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 08:05:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321174656507707392,"km_value":321174656507707.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829266143511975936,"description":"Unknown IO ID 44"} 
[2026-06-23 08:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238606080001,"power":27908,"unknown_74":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4829266143511975936}} 
[2026-06-23 08:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":110693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:05:37] local.INFO: GPS data processed {"connection_id":110693,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:05:37] local.INFO: Acknowledgment sent {"connection_id":110693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:05:43] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:05:43] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:05:43] local.INFO: IMEI packet received {"connection_id":110694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":110694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:05:48] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:05:48] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:05:48] local.INFO: IMEI packet received {"connection_id":110694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":110694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:05:49] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2548d40012d1967800720abc80025005a0e..."} 
[2026-06-23 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2548d40012d1967800720abc80025005a0e..."} 
[2026-06-23 08:05:49] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2548d40012d1967800720abc80025005a0e..."} 
[2026-06-23 08:05:49] local.INFO: Packet analysis {"connection_id":110694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:49] local.INFO: Extracted packet for processing {"connection_id":110694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119581640,"longitude_deg":75.6639616,"latitude_deg":11.958164,"altitude":37,"angle":90,"satellites":14,"speed":21,"hex_longitude":"2d196780","hex_latitude":"0720abc8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238613504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856163372269568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110581137408,"note":"Value kept but may cause issues"} 
[2026-06-23 08:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182088000,"timestamp_ms":1782182088000,"timestamp_seconds":1782182088,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2548d40"} 
[2026-06-23 08:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:05:49] 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-06-23 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:05:49] 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-06-23 08: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-06-23 08:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238613504001,"66":14407,"103":206,"83":41984,"24":21,"16":3856163372269568,"45":1828391110581137408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238613504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:05:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856163372269568,"km_value":3856163372269.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110581137408,"description":"Unknown IO ID 45"} 
[2026-06-23 08:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238613504001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1828391110581137408}} 
[2026-06-23 08:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":110694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:05:49] local.INFO: GPS data processed {"connection_id":110694,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:05:49] local.INFO: Acknowledgment sent {"connection_id":110694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:06:09] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2550a40012cbd2440076f5d20005b01662d..."} 
[2026-06-23 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2550a40012cbd2440076f5d20005b01662d..."} 
[2026-06-23 08:06:09] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2550a40012cbd2440076f5d20005b01662d..."} 
[2026-06-23 08:06:09] local.INFO: Packet analysis {"connection_id":110693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef255"} 
[2026-06-23 08:06:09] local.INFO: Extracted packet for processing {"connection_id":110693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef255"} 
[2026-06-23 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":750593088,"raw_latitude":124738848,"longitude_deg":75.0593088,"latitude_deg":12.4738848,"altitude":91,"angle":358,"satellites":45,"speed":53,"hex_longitude":"2cbd2440","hex_latitude":"076f5d20","is_valid_coordinates":true} 
[2026-06-23 08:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238622208001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321178255690301440,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817866406935480320,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782182120000,"timestamp_ms":1782182120000,"timestamp_seconds":1782182120,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2550a40"} 
[2026-06-23 08:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:06:09] 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-06-23 08:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238622208001,"66":27800,"195":206,"27":54016,"24":53,"16":321178255690301440,"44":-4817866406935480320},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-06-23 08:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238622208001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321178255690301440,"km_value":321178255690301.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817866406935480320,"description":"Unknown IO ID 44"} 
[2026-06-23 08:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238622208001,"power":27800,"unknown_195":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4817866406935480320}} 
[2026-06-23 08:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":110693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:06:09] local.INFO: GPS data processed {"connection_id":110693,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:06:09] local.INFO: Acknowledgment sent {"connection_id":110693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:06:20] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2549510012d196c400720ac980024004b0e..."} 
[2026-06-23 08:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2549510012d196c400720ac980024004b0e..."} 
[2026-06-23 08:06:20] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2549510012d196c400720ac980024004b0e..."} 
[2026-06-23 08:06:20] local.INFO: Packet analysis {"connection_id":110694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:06:20] local.INFO: Extracted packet for processing {"connection_id":110694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119581848,"longitude_deg":75.6640832,"latitude_deg":11.9581848,"altitude":36,"angle":75,"satellites":14,"speed":24,"hex_longitude":"2d196c40","hex_latitude":"0720ac98","is_valid_coordinates":true} 
[2026-06-23 08:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238614528001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856219206844416,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541650651136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782182090000,"timestamp_ms":1782182090000,"timestamp_seconds":1782182090,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2549510"} 
[2026-06-23 08:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:06:20] 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-06-23 08:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238614528001,"66":14330,"103":206,"83":41984,"24":24,"16":3856219206844416,"45":1830572541650651136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238614528001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:06:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856219206844416,"km_value":3856219206844.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541650651136,"description":"Unknown IO ID 45"} 
[2026-06-23 08:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238614528001,"power":14330,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1830572541650651136}} 
[2026-06-23 08:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":110694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:06:20] local.INFO: GPS data processed {"connection_id":110694,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:06:20] local.INFO: Acknowledgment sent {"connection_id":110694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:06:24] local.INFO: TCP Data received {"connection_id":112257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:24] local.INFO: Processing buffer {"connection_id":112257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:24] local.INFO: IMEI packet received {"connection_id":112257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":112257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:06:25] local.INFO: TCP Data received {"connection_id":112257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:25] local.INFO: Processing buffer {"connection_id":112257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:25] local.INFO: IMEI packet received {"connection_id":112257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":112257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:06:28] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:06:28] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:06:28] local.INFO: IMEI packet received {"connection_id":111327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":111327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:06:31] local.INFO: TCP Data received {"connection_id":112257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:31] local.INFO: Processing buffer {"connection_id":112257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:06:31] local.INFO: IMEI packet received {"connection_id":112257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":112257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:06:34] local.INFO: TCP Data received {"connection_id":112257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2551210012cbd2280076f6780005c01582f..."} 
[2026-06-23 08:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2551210012cbd2280076f6780005c01582f..."} 
[2026-06-23 08:06:34] local.INFO: Processing buffer {"connection_id":112257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2551210012cbd2280076f6780005c01582f..."} 
[2026-06-23 08:06:34] local.INFO: Packet analysis {"connection_id":112257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef255"} 
[2026-06-23 08:06:34] local.INFO: Extracted packet for processing {"connection_id":112257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef255"} 
[2026-06-23 08:06:34] local.INFO: GPS Element Parsed {"raw_longitude":750592640,"raw_latitude":124741504,"longitude_deg":75.059264,"latitude_deg":12.4741504,"altitude":92,"angle":344,"satellites":47,"speed":54,"hex_longitude":"2cbd2280","hex_latitude":"076f6780","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238622720001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321178388834287616,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300702265344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782182122000,"timestamp_ms":1782182122000,"timestamp_seconds":1782182122,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2551210"} 
[2026-06-23 08:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:06: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-06-23 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:06:34] 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-06-23 08: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-06-23 08:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238622720001,"66":27234,"195":206,"27":54016,"24":54,"16":321178388834287616,"44":-4817655300702265344},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-06-23 08:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238622720001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:06:34] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-23 08:06:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321178388834287616,"km_value":321178388834287.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300702265344,"description":"Unknown IO ID 44"} 
[2026-06-23 08:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238622720001,"power":27234,"unknown_195":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4817655300702265344}} 
[2026-06-23 08:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":112257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:06:34] local.INFO: GPS data processed {"connection_id":112257,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:06:34] local.INFO: Acknowledgment sent {"connection_id":112257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:06:43] local.INFO: TCP Data received {"connection_id":110525,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:43] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:43] local.INFO: IMEI packet received {"connection_id":110525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":110525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:06:43] local.INFO: TCP Data received {"connection_id":110525,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:43] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:43] local.INFO: IMEI packet received {"connection_id":110525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":110525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:06:48] local.INFO: TCP Data received {"connection_id":110525,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:48] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:06:48] local.INFO: IMEI packet received {"connection_id":110525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":110525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:06:49] local.INFO: TCP Data received {"connection_id":110525,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef254c7d8012d198e800720b340001f00620e..."} 
[2026-06-23 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef254c7d8012d198e800720b340001f00620e..."} 
[2026-06-23 08:06:49] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef254c7d8012d198e800720b340001f00620e..."} 
[2026-06-23 08:06:49] local.INFO: Packet analysis {"connection_id":110525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:06:49] local.INFO: Extracted packet for processing {"connection_id":110525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef254"} 
[2026-06-23 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756649600,"raw_latitude":119583552,"longitude_deg":75.66496,"latitude_deg":11.9583552,"altitude":31,"angle":98,"satellites":14,"speed":27,"hex_longitude":"2d198e80","hex_latitude":"0720b340","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238615040001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856648703574016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547790080000,"note":"Value kept but may cause issues"} 
[2026-06-23 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182103000,"timestamp_ms":1782182103000,"timestamp_seconds":1782182103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef254c7d8"} 
[2026-06-23 08:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-23 08:06:49] 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-06-23 08: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-06-23 08:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238615040001,"66":14363,"103":206,"83":41984,"24":27,"16":3856648703574016,"45":1831909547790080000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238615040001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:06:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856648703574016,"km_value":3856648703574.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547790080000,"description":"Unknown IO ID 45"} 
[2026-06-23 08:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238615040001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1831909547790080000}} 
[2026-06-23 08:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":110525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:06:49] local.INFO: GPS data processed {"connection_id":110525,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:06:49] local.INFO: Acknowledgment sent {"connection_id":110525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:07:06] local.INFO: TCP Data received {"connection_id":112257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2551dc8012cbd1c80076f7660005c014b2c..."} 
[2026-06-23 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2551dc8012cbd1c80076f7660005c014b2c..."} 
[2026-06-23 08:07:06] local.INFO: Processing buffer {"connection_id":112257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2551dc8012cbd1c80076f7660005c014b2c..."} 
[2026-06-23 08:07:06] local.INFO: Packet analysis {"connection_id":112257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef255"} 
[2026-06-23 08:07:06] local.INFO: Extracted packet for processing {"connection_id":112257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef255"} 
[2026-06-23 08:07:06] local.INFO: GPS Element Parsed {"raw_longitude":750591104,"raw_latitude":124745312,"longitude_deg":75.0591104,"latitude_deg":12.4745312,"altitude":92,"angle":331,"satellites":44,"speed":54,"hex_longitude":"2cbd1c80","hex_latitude":"076f7660","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238623232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321178586402783232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4818147881910829056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782182125000,"timestamp_ms":1782182125000,"timestamp_seconds":1782182125,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2551dc8"} 
[2026-06-23 08:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:07: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-06-23 08: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 08:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238623232001,"66":27800,"195":206,"27":54016,"24":54,"16":321178586402783232,"44":-4818147881910829056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-06-23 08:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238623232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:07:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-23 08:07:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321178586402783232,"km_value":321178586402783.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4818147881910829056,"description":"Unknown IO ID 44"} 
[2026-06-23 08:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238623232001,"power":27800,"unknown_195":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4818147881910829056}} 
[2026-06-23 08:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":112257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:07:06] local.INFO: GPS data processed {"connection_id":112257,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:07:06] local.INFO: Acknowledgment sent {"connection_id":112257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:07:12] local.INFO: TCP Data received {"connection_id":110526,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:07:12] local.INFO: Processing buffer {"connection_id":110526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:07:12] local.INFO: IMEI packet received {"connection_id":110526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":110526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:07:20] local.INFO: TCP Data received {"connection_id":110525,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef256bfc0012d19d4000720aef8002a001a13..."} 
[2026-06-23 08:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef256bfc0012d19d4000720aef8002a001a13..."} 
[2026-06-23 08:07:20] local.INFO: Processing buffer {"connection_id":110525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef256bfc0012d19d4000720aef8002a001a13..."} 
[2026-06-23 08:07:20] local.INFO: Packet analysis {"connection_id":110525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:07:20] local.INFO: Extracted packet for processing {"connection_id":110525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756667392,"raw_latitude":119582456,"longitude_deg":75.6667392,"latitude_deg":11.9582456,"altitude":42,"angle":26,"satellites":19,"speed":0,"hex_longitude":"2d19d400","hex_latitude":"0720aef8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238651136001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3857619366182912,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861042207879768064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782182232000,"timestamp_ms":1782182232000,"timestamp_seconds":1782182232,"priority":1,"record_length":96,"hex_timestamp":"0000019ef256bfc0"} 
[2026-06-23 08:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:07:20] 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-06-23 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 08:07:20] 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-06-23 08: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-06-23 08:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238651136001,"66":14048,"103":206,"83":41984,"24":0,"16":3857619366182912,"45":1861042207879768064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238651136001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:07:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3857619366182912,"km_value":3857619366182.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861042207879768064,"description":"Unknown IO ID 45"} 
[2026-06-23 08:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238651136001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1861042207879768064}} 
[2026-06-23 08:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":110525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:07:20] local.INFO: GPS data processed {"connection_id":110525,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:07:20] local.INFO: Acknowledgment sent {"connection_id":110525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:07:33] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:33] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:33] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:07:34] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:34] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:34] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:07:36] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:36] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:36] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:07:37] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:37] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:07:37] local.INFO: IMEI packet received {"connection_id":110527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":110527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:07:39] local.INFO: TCP Data received {"connection_id":110527,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25642c0012cbcc5400770e9b80052016729..."} 
[2026-06-23 08:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25642c0012cbcc5400770e9b80052016729..."} 
[2026-06-23 08:07:39] local.INFO: Processing buffer {"connection_id":110527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25642c0012cbcc5400770e9b80052016729..."} 
[2026-06-23 08:07:39] local.INFO: Packet analysis {"connection_id":110527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:07:39] local.INFO: Extracted packet for processing {"connection_id":110527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:07:39] local.INFO: GPS Element Parsed {"raw_longitude":750568768,"raw_latitude":124840376,"longitude_deg":75.0568768,"latitude_deg":12.4840376,"altitude":82,"angle":359,"satellites":41,"speed":54,"hex_longitude":"2cbcc540","hex_latitude":"0770e9b8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238642176001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321183353816481792,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4843832473511718912,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782182200000,"timestamp_ms":1782182200000,"timestamp_seconds":1782182200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25642c0"} 
[2026-06-23 08:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:07: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-06-23 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 08:07:39] 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-06-23 08: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-06-23 08:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238642176001,"66":28006,"194":206,"27":54016,"24":54,"16":321183353816481792,"44":-4843832473511718912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238642176001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:07:39] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:07:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321183353816481792,"km_value":321183353816481.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:07:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4843832473511718912,"description":"Unknown IO ID 44"} 
[2026-06-23 08:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238642176001,"power":28006,"unknown_194":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4843832473511718912}} 
[2026-06-23 08:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":110527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:07:39] local.INFO: GPS data processed {"connection_id":110527,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:07:39] local.INFO: Acknowledgment sent {"connection_id":110527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:07:42] local.INFO: TCP Data received {"connection_id":110695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:07:42] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:07:42] local.INFO: IMEI packet received {"connection_id":110695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":110695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:07:48] local.INFO: TCP Data received {"connection_id":110695,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:07:48] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:07:48] local.INFO: IMEI packet received {"connection_id":110695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":110695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:07:49] local.INFO: TCP Data received {"connection_id":110695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef256cf60012d19d6400720b1c0002b003013..."} 
[2026-06-23 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef256cf60012d19d6400720b1c0002b003013..."} 
[2026-06-23 08:07:49] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef256cf60012d19d6400720b1c0002b003013..."} 
[2026-06-23 08:07:49] local.INFO: Packet analysis {"connection_id":110695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:07:49] local.INFO: Extracted packet for processing {"connection_id":110695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119583168,"longitude_deg":75.6667968,"latitude_deg":11.9583168,"altitude":43,"angle":48,"satellites":19,"speed":14,"hex_longitude":"2d19d640","hex_latitude":"0720b1c0","is_valid_coordinates":true} 
[2026-06-23 08:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238651392001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3857662315855872,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861112576623966208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182236000,"timestamp_ms":1782182236000,"timestamp_seconds":1782182236,"priority":1,"record_length":96,"hex_timestamp":"0000019ef256cf60"} 
[2026-06-23 08:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-23 08:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238651392001,"66":14396,"103":206,"83":41984,"24":14,"16":3857662315855872,"45":1861112576623966208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238651392001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:07:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3857662315855872,"km_value":3857662315855.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861112576623966208,"description":"Unknown IO ID 45"} 
[2026-06-23 08:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238651392001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1861112576623966208}} 
[2026-06-23 08:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":110695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:07:49] local.INFO: GPS data processed {"connection_id":110695,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:07:49] local.INFO: Acknowledgment sent {"connection_id":110695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:02] local.INFO: TCP Data received {"connection_id":112258,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:02] local.INFO: Processing buffer {"connection_id":112258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:02] local.INFO: IMEI packet received {"connection_id":112258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":112258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:08:06] local.INFO: TCP Data received {"connection_id":112258,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:06] local.INFO: Processing buffer {"connection_id":112258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:06] local.INFO: IMEI packet received {"connection_id":112258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":112258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:08:07] local.INFO: TCP Data received {"connection_id":112258,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2566db8012d7b254005e29180000300af24..."} 
[2026-06-23 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2566db8012d7b254005e29180000300af24..."} 
[2026-06-23 08:08:07] local.INFO: Processing buffer {"connection_id":112258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2566db8012d7b254005e29180000300af24..."} 
[2026-06-23 08:08:07] local.INFO: Packet analysis {"connection_id":112258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:07] local.INFO: Extracted packet for processing {"connection_id":112258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":98734464,"longitude_deg":76.3045184,"latitude_deg":9.8734464,"altitude":3,"angle":175,"satellites":36,"speed":0,"hex_longitude":"2d7b2540","hex_latitude":"05e29180","is_valid_coordinates":true} 
[2026-06-23 08:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238640896001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96259215059845120,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191103707136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782182211000,"timestamp_ms":1782182211000,"timestamp_seconds":1782182211,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2566db8"} 
[2026-06-23 08:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 08:08:07] 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-06-23 08:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238640896001,"66":12743,"96":206,"85":15104,"24":0,"16":96259215059845120,"45":8873217191103707136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 08:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238640896001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:08:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96259215059845120,"km_value":96259215059845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191103707136,"description":"Unknown IO ID 45"} 
[2026-06-23 08:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238640896001,"power":12743,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873217191103707136}} 
[2026-06-23 08:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":112258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:08:07] local.INFO: GPS data processed {"connection_id":112258,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:08:07] local.INFO: Acknowledgment sent {"connection_id":112258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:08] local.INFO: TCP Data received {"connection_id":112258,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef256b408012d7b24c005e29010000200e128..."} 
[2026-06-23 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef256b408012d7b24c005e29010000200e128..."} 
[2026-06-23 08:08:08] local.INFO: Processing buffer {"connection_id":112258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef256b408012d7b24c005e29010000200e128..."} 
[2026-06-23 08:08:08] local.INFO: Packet analysis {"connection_id":112258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:08] local.INFO: Extracted packet for processing {"connection_id":112258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":98734096,"longitude_deg":76.3045056,"latitude_deg":9.8734096,"altitude":2,"angle":225,"satellites":40,"speed":2,"hex_longitude":"2d7b24c0","hex_latitude":"05e29010","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238646016001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96259232239714304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034823630848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782182229000,"timestamp_ms":1782182229000,"timestamp_seconds":1782182229,"priority":1,"record_length":96,"hex_timestamp":"0000019ef256b408"} 
[2026-06-23 08:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 08:08:08] 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-06-23 08: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-06-23 08:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238646016001,"66":12472,"96":206,"85":15104,"24":2,"16":96259232239714304,"45":8873569034823630848},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 08:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238646016001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:08:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96259232239714304,"km_value":96259232239714.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034823630848,"description":"Unknown IO ID 45"} 
[2026-06-23 08:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238646016001,"power":12472,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8873569034823630848}} 
[2026-06-23 08:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":112258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:08:08] local.INFO: GPS data processed {"connection_id":112258,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:08:08] local.INFO: Acknowledgment sent {"connection_id":112258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:19] local.INFO: TCP Data received {"connection_id":110695,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2577f28012d19e2400720a2a00028008614..."} 
[2026-06-23 08:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2577f28012d19e2400720a2a00028008614..."} 
[2026-06-23 08:08:19] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2577f28012d19e2400720a2a00028008614..."} 
[2026-06-23 08:08:19] local.INFO: Packet analysis {"connection_id":110695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:08:19] local.INFO: Extracted packet for processing {"connection_id":110695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756671040,"raw_latitude":119579296,"longitude_deg":75.667104,"latitude_deg":11.9579296,"altitude":40,"angle":134,"satellites":20,"speed":5,"hex_longitude":"2d19e240","hex_latitude":"0720a2a0","is_valid_coordinates":true} 
[2026-06-23 08:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238663680001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858108992454656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226297131008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782182281000,"timestamp_ms":1782182281000,"timestamp_seconds":1782182281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2577f28"} 
[2026-06-23 08:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:08:19] 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-06-23 08:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:08:19] 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-06-23 08:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238663680001,"66":14428,"103":206,"83":41984,"24":5,"16":3858108992454656,"45":1865053226297131008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238663680001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:08:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858108992454656,"km_value":3858108992454.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226297131008,"description":"Unknown IO ID 45"} 
[2026-06-23 08:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238663680001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1865053226297131008}} 
[2026-06-23 08:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":110695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:08:20] local.INFO: GPS data processed {"connection_id":110695,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:08:20] local.INFO: Acknowledgment sent {"connection_id":110695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:24] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:24] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:24] local.INFO: IMEI packet received {"connection_id":110528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":110528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:08:26] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:26] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:26] local.INFO: IMEI packet received {"connection_id":110528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":110528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:08:30] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:30] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:08:30] local.INFO: IMEI packet received {"connection_id":110528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":110528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:08:33] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef256e6d0012cbd0ec007714ee0003f001726..."} 
[2026-06-23 08:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef256e6d0012cbd0ec007714ee0003f001726..."} 
[2026-06-23 08:08:33] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef256e6d0012cbd0ec007714ee0003f001726..."} 
[2026-06-23 08:08:33] local.INFO: Packet analysis {"connection_id":110528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:33] local.INFO: Extracted packet for processing {"connection_id":110528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:33] local.INFO: GPS Element Parsed {"raw_longitude":750587584,"raw_latitude":124866272,"longitude_deg":75.0587584,"latitude_deg":12.4866272,"altitude":63,"angle":23,"satellites":38,"speed":31,"hex_longitude":"2cbd0ec0","hex_latitude":"07714ee0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238653184001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321185376746078208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825325493785448448,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782182242000,"timestamp_ms":1782182242000,"timestamp_seconds":1782182242,"priority":1,"record_length":96,"hex_timestamp":"0000019ef256e6d0"} 
[2026-06-23 08:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:08:33] 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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238653184001,"66":27767,"194":206,"27":54016,"24":31,"16":321185376746078208,"44":-4825325493785448448},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238653184001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:08:33] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:08:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321185376746078208,"km_value":321185376746078.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825325493785448448,"description":"Unknown IO ID 44"} 
[2026-06-23 08:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238653184001,"power":27767,"unknown_194":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4825325493785448448}} 
[2026-06-23 08:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":110528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:08:33] local.INFO: GPS data processed {"connection_id":110528,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:08:33] local.INFO: Acknowledgment sent {"connection_id":110528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:39] local.INFO: TCP Data received {"connection_id":112258,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef256b7f0012d7b248005e28ff0000200f227..."} 
[2026-06-23 08:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef256b7f0012d7b248005e28ff0000200f227..."} 
[2026-06-23 08:08:39] local.INFO: Processing buffer {"connection_id":112258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef256b7f0012d7b248005e28ff0000200f227..."} 
[2026-06-23 08:08:39] local.INFO: Packet analysis {"connection_id":112258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:39] local.INFO: Extracted packet for processing {"connection_id":112258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef256"} 
[2026-06-23 08:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98734064,"longitude_deg":76.3044992,"latitude_deg":9.8734064,"altitude":2,"angle":242,"satellites":39,"speed":3,"hex_longitude":"2d7b2480","hex_latitude":"05e28ff0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238650624001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96259236534681600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873428297335181312,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782182230000,"timestamp_ms":1782182230000,"timestamp_seconds":1782182230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef256b7f0"} 
[2026-06-23 08:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:08: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-06-23 08: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-23 08:08:39] 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-06-23 08: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-06-23 08:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238650624001,"66":12472,"96":206,"85":15104,"24":3,"16":96259236534681600,"45":8873428297335181312},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 08:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238650624001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:08:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96259236534681600,"km_value":96259236534681.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873428297335181312,"description":"Unknown IO ID 45"} 
[2026-06-23 08:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238650624001,"power":12472,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8873428297335181312}} 
[2026-06-23 08:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":112258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:08:39] local.INFO: GPS data processed {"connection_id":112258,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:08:39] local.INFO: Acknowledgment sent {"connection_id":112258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:47] local.INFO: TCP Data received {"connection_id":111328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:08:47] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:08:47] local.INFO: IMEI packet received {"connection_id":111328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":111328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:08:53] local.INFO: TCP Data received {"connection_id":111328,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:08:53] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:08:53] local.INFO: IMEI packet received {"connection_id":111328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":111328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:08:54] local.INFO: TCP Data received {"connection_id":111328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2578ec8012d19e4400720a1080028007815..."} 
[2026-06-23 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2578ec8012d19e4400720a1080028007815..."} 
[2026-06-23 08:08:54] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2578ec8012d19e4400720a1080028007815..."} 
[2026-06-23 08:08:54] local.INFO: Packet analysis {"connection_id":111328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:08:54] local.INFO: Extracted packet for processing {"connection_id":111328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756671552,"raw_latitude":119578888,"longitude_deg":75.6671552,"latitude_deg":11.9578888,"altitude":40,"angle":120,"satellites":21,"speed":6,"hex_longitude":"2d19e440","hex_latitude":"0720a108","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238663936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858139057225728,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865123595041284096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782182285000,"timestamp_ms":1782182285000,"timestamp_seconds":1782182285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2578ec8"} 
[2026-06-23 08:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:08:54] 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-06-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:08:54] 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-06-23 08: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-06-23 08:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":111328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":111328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":111328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238663936001,"66":14428,"103":206,"83":41984,"24":6,"16":3858139057225728,"45":1865123595041284096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238663936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:08:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858139057225728,"km_value":3858139057225.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865123595041284096,"description":"Unknown IO ID 45"} 
[2026-06-23 08:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238663936001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1865123595041284096}} 
[2026-06-23 08:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":111328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:08:54] local.INFO: GPS data processed {"connection_id":111328,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:08:54] local.INFO: Acknowledgment sent {"connection_id":111328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:08:54] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:54] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:54] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:08:57] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:57] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:08:57] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:09:02] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:09:02] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:09:02] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:09:03] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257e4b8012d7b0b0005e31348000001621b..."} 
[2026-06-23 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257e4b8012d7b0b0005e31348000001621b..."} 
[2026-06-23 08:09:03] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257e4b8012d7b0b0005e31348000001621b..."} 
[2026-06-23 08:09:03] local.INFO: Packet analysis {"connection_id":111329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:03] local.INFO: Extracted packet for processing {"connection_id":111329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98767688,"longitude_deg":76.3038464,"latitude_deg":9.8767688,"altitude":0,"angle":354,"satellites":27,"speed":22,"hex_longitude":"2d7b0b00","hex_latitude":"05e31348","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238665216001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96260945931665408,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529156958208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182307000,"timestamp_ms":1782182307000,"timestamp_seconds":1782182307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257e4b8"} 
[2026-06-23 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-06-23 08:09:03] 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-06-23 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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-23 08:09:03] 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-06-23 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-06-23 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-06-23 08:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238665216001,"66":12461,"96":206,"85":15104,"24":22,"16":96260945931665408,"45":8866602529156958208},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 08:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238665216001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96260945931665408,"km_value":96260945931665.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529156958208,"description":"Unknown IO ID 45"} 
[2026-06-23 08:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238665216001,"power":12461,"unknown_96":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866602529156958208}} 
[2026-06-23 08:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":111329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:03] local.INFO: GPS data processed {"connection_id":111329,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:03] local.INFO: Acknowledgment sent {"connection_id":111329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:07] local.INFO: TCP Data received {"connection_id":110528,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257c578012cbc7e400771ebe8000f00382b..."} 
[2026-06-23 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257c578012cbc7e400771ebe8000f00382b..."} 
[2026-06-23 08:09:07] local.INFO: Processing buffer {"connection_id":110528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257c578012cbc7e400771ebe8000f00382b..."} 
[2026-06-23 08:09:07] local.INFO: Packet analysis {"connection_id":110528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:07] local.INFO: Extracted packet for processing {"connection_id":110528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":750550592,"raw_latitude":124906472,"longitude_deg":75.0550592,"latitude_deg":12.4906472,"altitude":15,"angle":56,"satellites":43,"speed":56,"hex_longitude":"2cbc7e40","hex_latitude":"0771ebe8","is_valid_coordinates":true} 
[2026-06-23 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238668032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321188825604816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866772684095823872,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782182299000,"timestamp_ms":1782182299000,"timestamp_seconds":1782182299,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257c578"} 
[2026-06-23 08:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:09:07] 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-06-23 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 08:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238668032001,"66":27800,"80":206,"27":54016,"24":56,"16":321188825604816896,"44":-4866772684095823872},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,27,24,16,44]} 
[2026-06-23 08:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238668032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321188825604816896,"km_value":321188825604816.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866772684095823872,"description":"Unknown IO ID 44"} 
[2026-06-23 08:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238668032001,"power":27800,"unknown_80":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4866772684095823872}} 
[2026-06-23 08:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":110528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:07] local.INFO: GPS data processed {"connection_id":110528,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:07] local.INFO: Acknowledgment sent {"connection_id":110528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:25] local.INFO: TCP Data received {"connection_id":111328,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257a250012d19e68007209f680028008f15..."} 
[2026-06-23 08:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257a250012d19e68007209f680028008f15..."} 
[2026-06-23 08:09:25] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257a250012d19e68007209f680028008f15..."} 
[2026-06-23 08:09:25] local.INFO: Packet analysis {"connection_id":111328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:25] local.INFO: Extracted packet for processing {"connection_id":111328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756672128,"raw_latitude":119578472,"longitude_deg":75.6672128,"latitude_deg":11.9578472,"altitude":40,"angle":143,"satellites":21,"speed":6,"hex_longitude":"2d19e680","hex_latitude":"07209f68","is_valid_coordinates":true} 
[2026-06-23 08:09: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-06-23 08:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238664960001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858173416964096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865686544994600960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782182290000,"timestamp_ms":1782182290000,"timestamp_seconds":1782182290,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257a250"} 
[2026-06-23 08:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:09:25] 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-06-23 08:09: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":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:09:25] 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-06-23 08:09: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-06-23 08:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238664960001,"66":14396,"103":206,"83":41984,"24":6,"16":3858173416964096,"45":1865686544994600960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238664960001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858173416964096,"km_value":3858173416964.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865686544994600960,"description":"Unknown IO ID 45"} 
[2026-06-23 08:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238664960001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1865686544994600960}} 
[2026-06-23 08:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":111328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:25] local.INFO: GPS data processed {"connection_id":111328,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:25] local.INFO: Acknowledgment sent {"connection_id":111328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:29] local.INFO: TCP Data received {"connection_id":112261,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:09:29] local.INFO: Processing buffer {"connection_id":112261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:09:29] local.INFO: IMEI packet received {"connection_id":112261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":112261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:09:31] local.INFO: TCP Data received {"connection_id":112261,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:09:31] local.INFO: Processing buffer {"connection_id":112261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:09:31] local.INFO: IMEI packet received {"connection_id":112261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":112261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:09:32] local.INFO: TCP Data received {"connection_id":112261,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257e0d0012cbc9e00077202c0000d00292b..."} 
[2026-06-23 08:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257e0d0012cbc9e00077202c0000d00292b..."} 
[2026-06-23 08:09:32] local.INFO: Processing buffer {"connection_id":112261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257e0d0012cbc9e00077202c0000d00292b..."} 
[2026-06-23 08:09:32] local.INFO: Packet analysis {"connection_id":112261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:32] local.INFO: Extracted packet for processing {"connection_id":112261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:32] local.INFO: GPS Element Parsed {"raw_longitude":750558720,"raw_latitude":124912320,"longitude_deg":75.055872,"latitude_deg":12.491232,"altitude":13,"angle":41,"satellites":43,"speed":55,"hex_longitude":"2cbc9e00","hex_latitude":"077202c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238668544001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321189302346186752,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4864380146793322496,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782182306000,"timestamp_ms":1782182306000,"timestamp_seconds":1782182306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257e0d0"} 
[2026-06-23 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-06-23 08:09:32] 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-06-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:09:32] 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-06-23 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-06-23 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-06-23 08:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238668544001,"66":27821,"80":206,"27":54016,"24":55,"16":321189302346186752,"44":-4864380146793322496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,27,24,16,44]} 
[2026-06-23 08:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238668544001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-23 08:09:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321189302346186752,"km_value":321189302346186.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4864380146793322496,"description":"Unknown IO ID 44"} 
[2026-06-23 08:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238668544001,"power":27821,"unknown_80":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4864380146793322496}} 
[2026-06-23 08:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":112261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:32] local.INFO: GPS data processed {"connection_id":112261,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:32] local.INFO: Acknowledgment sent {"connection_id":112261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:34] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2581780012d7b068005e335f8000000001c..."} 
[2026-06-23 08:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2581780012d7b068005e335f8000000001c..."} 
[2026-06-23 08:09:34] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2581780012d7b068005e335f8000000001c..."} 
[2026-06-23 08:09:34] local.INFO: Packet analysis {"connection_id":111329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:09:34] local.INFO: Extracted packet for processing {"connection_id":111329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":98776568,"longitude_deg":76.3037312,"latitude_deg":9.8776568,"altitude":0,"angle":0,"satellites":28,"speed":20,"hex_longitude":"2d7b0680","hex_latitude":"05e335f8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238670592001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96261384018329600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316693481472,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782182320000,"timestamp_ms":1782182320000,"timestamp_seconds":1782182320,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2581780"} 
[2026-06-23 08:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:09: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-06-23 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:09: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-06-23 08: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-06-23 08:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238670592001,"66":11602,"97":206,"85":15104,"24":20,"16":96261384018329600,"45":8866180316693481472},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238670592001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96261384018329600,"km_value":96261384018329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316693481472,"description":"Unknown IO ID 45"} 
[2026-06-23 08:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238670592001,"power":11602,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8866180316693481472}} 
[2026-06-23 08:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":111329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:34] local.INFO: GPS data processed {"connection_id":111329,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:34] local.INFO: Acknowledgment sent {"connection_id":111329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:35] local.INFO: TCP Data received {"connection_id":112261,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257e0d0012cbc9e00077202c0000d00292b..."} 
[2026-06-23 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257e0d0012cbc9e00077202c0000d00292b..."} 
[2026-06-23 08:09:35] local.INFO: Processing buffer {"connection_id":112261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257e0d0012cbc9e00077202c0000d00292b..."} 
[2026-06-23 08:09:35] local.INFO: Packet analysis {"connection_id":112261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:35] local.INFO: Extracted packet for processing {"connection_id":112261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:35] local.INFO: GPS Element Parsed {"raw_longitude":750558720,"raw_latitude":124912320,"longitude_deg":75.055872,"latitude_deg":12.491232,"altitude":13,"angle":41,"satellites":43,"speed":55,"hex_longitude":"2cbc9e00","hex_latitude":"077202c0","is_valid_coordinates":true} 
[2026-06-23 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238670336001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321189302346186752,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4855443316281262080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782182306000,"timestamp_ms":1782182306000,"timestamp_seconds":1782182306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257e0d0"} 
[2026-06-23 08:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:09:35] 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-06-23 08:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:09:35] 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-06-23 08:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238670336001,"66":27821,"80":206,"27":54016,"24":55,"16":321189302346186752,"44":-4855443316281262080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,27,24,16,44]} 
[2026-06-23 08:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238670336001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-23 08:09:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321189302346186752,"km_value":321189302346186.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4855443316281262080,"description":"Unknown IO ID 44"} 
[2026-06-23 08:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238670336001,"power":27821,"unknown_80":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4855443316281262080}} 
[2026-06-23 08:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":112261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:35] local.INFO: GPS data processed {"connection_id":112261,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:35] local.INFO: Acknowledgment sent {"connection_id":112261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:43] local.INFO: TCP Data received {"connection_id":110529,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:09:43] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:09:43] local.INFO: IMEI packet received {"connection_id":110529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":110529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:09:47] local.INFO: TCP Data received {"connection_id":110529,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:09:47] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:09:47] local.INFO: IMEI packet received {"connection_id":110529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":110529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:09:48] local.INFO: TCP Data received {"connection_id":110529,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257f458012d19ea8007209b100026008618..."} 
[2026-06-23 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257f458012d19ea8007209b100026008618..."} 
[2026-06-23 08:09:48] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257f458012d19ea8007209b100026008618..."} 
[2026-06-23 08:09:48] local.INFO: Packet analysis {"connection_id":110529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:48] local.INFO: Extracted packet for processing {"connection_id":110529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":119577360,"longitude_deg":75.6673152,"latitude_deg":11.957736,"altitude":38,"angle":134,"satellites":24,"speed":0,"hex_longitude":"2d19ea80","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-06-23 08:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238666240001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858246431408128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866319863692093440,"note":"Value kept but may cause issues"} 
[2026-06-23 08:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782182311000,"timestamp_ms":1782182311000,"timestamp_seconds":1782182311,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257f458"} 
[2026-06-23 08:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:09:48] 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-06-23 08:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238666240001,"66":14494,"103":206,"83":41984,"24":0,"16":3858246431408128,"45":1866319863692093440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238666240001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:09:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858246431408128,"km_value":3858246431408.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866319863692093440,"description":"Unknown IO ID 45"} 
[2026-06-23 08:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238666240001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1866319863692093440}} 
[2026-06-23 08:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":110529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:09:48] local.INFO: GPS data processed {"connection_id":110529,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:09:48] local.INFO: Acknowledgment sent {"connection_id":110529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:09:57] local.INFO: TCP Data received {"connection_id":110530,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:09:57] local.INFO: Processing buffer {"connection_id":110530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:09:57] local.INFO: IMEI packet received {"connection_id":110530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":110530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:10:02] local.INFO: TCP Data received {"connection_id":110530,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:10:02] local.INFO: Processing buffer {"connection_id":110530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:10:02] local.INFO: IMEI packet received {"connection_id":110530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":110530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:10:03] local.INFO: TCP Data received {"connection_id":110530,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2582b08012d7b060005e33e200000015e1c..."} 
[2026-06-23 08:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2582b08012d7b060005e33e200000015e1c..."} 
[2026-06-23 08:10:03] local.INFO: Processing buffer {"connection_id":110530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2582b08012d7b060005e33e200000015e1c..."} 
[2026-06-23 08:10:03] local.INFO: Packet analysis {"connection_id":110530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:03] local.INFO: Extracted packet for processing {"connection_id":110530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:03] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98778656,"longitude_deg":76.3037184,"latitude_deg":9.8778656,"altitude":0,"angle":350,"satellites":28,"speed":14,"hex_longitude":"2d7b0600","hex_latitude":"05e33e20","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238673920001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96261482802577408,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679300556800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182325000,"timestamp_ms":1782182325000,"timestamp_seconds":1782182325,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2582b08"} 
[2026-06-23 08:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:10:03] 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-06-23 08: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 08:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238673920001,"66":12939,"97":206,"85":15104,"24":14,"16":96261482802577408,"45":8864913679300556800},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238673920001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:10:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96261482802577408,"km_value":96261482802577.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679300556800,"description":"Unknown IO ID 45"} 
[2026-06-23 08:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238673920001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8864913679300556800}} 
[2026-06-23 08:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":110530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:03] local.INFO: GPS data processed {"connection_id":110530,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:03] local.INFO: Acknowledgment sent {"connection_id":110530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:07] local.INFO: TCP Data received {"connection_id":112261,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef257e8a0012cbca48007720b48000d001d2c..."} 
[2026-06-23 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef257e8a0012cbca48007720b48000d001d2c..."} 
[2026-06-23 08:10:07] local.INFO: Processing buffer {"connection_id":112261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef257e8a0012cbca48007720b48000d001d2c..."} 
[2026-06-23 08:10:07] local.INFO: Packet analysis {"connection_id":112261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:10:07] local.INFO: Extracted packet for processing {"connection_id":112261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef257"} 
[2026-06-23 08:10:07] local.INFO: GPS Element Parsed {"raw_longitude":750560384,"raw_latitude":124914504,"longitude_deg":75.0560384,"latitude_deg":12.4914504,"altitude":13,"angle":29,"satellites":44,"speed":53,"hex_longitude":"2cbca480","hex_latitude":"07720b48","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238670336001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321189435490172928,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4855443316281262080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782182308000,"timestamp_ms":1782182308000,"timestamp_seconds":1782182308,"priority":1,"record_length":96,"hex_timestamp":"0000019ef257e8a0"} 
[2026-06-23 08:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:10:07] 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-06-23 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:10:07] 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-06-23 08: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-06-23 08:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238670336001,"66":27865,"80":206,"27":54016,"24":53,"16":321189435490172928,"44":-4855443316281262080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,27,24,16,44]} 
[2026-06-23 08:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238670336001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-23 08:10:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321189435490172928,"km_value":321189435490172.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4855443316281262080,"description":"Unknown IO ID 44"} 
[2026-06-23 08:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238670336001,"power":27865,"unknown_80":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4855443316281262080}} 
[2026-06-23 08:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":112261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:07] local.INFO: GPS data processed {"connection_id":112261,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:07] local.INFO: Acknowledgment sent {"connection_id":112261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:19] local.INFO: TCP Data received {"connection_id":110529,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2584660012d19ea8007209b100026008619..."} 
[2026-06-23 08:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2584660012d19ea8007209b100026008619..."} 
[2026-06-23 08:10:19] local.INFO: Processing buffer {"connection_id":110529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2584660012d19ea8007209b100026008619..."} 
[2026-06-23 08:10:19] local.INFO: Packet analysis {"connection_id":110529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:19] local.INFO: Extracted packet for processing {"connection_id":110529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":119577360,"longitude_deg":75.6673152,"latitude_deg":11.957736,"altitude":38,"angle":134,"satellites":25,"speed":0,"hex_longitude":"2d19ea80","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-06-23 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238671616001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858246431408128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445763598651392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782182332000,"timestamp_ms":1782182332000,"timestamp_seconds":1782182332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2584660"} 
[2026-06-23 08:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:10:19] 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-06-23 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 08:10:19] 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-06-23 08:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238671616001,"66":12015,"103":206,"83":41984,"24":0,"16":3858246431408128,"45":1867445763598651392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238671616001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858246431408128,"km_value":3858246431408.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445763598651392,"description":"Unknown IO ID 45"} 
[2026-06-23 08:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238671616001,"power":12015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1867445763598651392}} 
[2026-06-23 08:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":110529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:19] local.INFO: GPS data processed {"connection_id":110529,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:19] local.INFO: Acknowledgment sent {"connection_id":110529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:25] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:10:25] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:10:25] local.INFO: IMEI packet received {"connection_id":110696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":110696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:10:27] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:10:27] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:10:27] local.INFO: IMEI packet received {"connection_id":110696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":110696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:10:34] local.INFO: TCP Data received {"connection_id":110530,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2583aa8012d7b058005e34350000001511f..."} 
[2026-06-23 08:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2583aa8012d7b058005e34350000001511f..."} 
[2026-06-23 08:10:34] local.INFO: Processing buffer {"connection_id":110530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2583aa8012d7b058005e34350000001511f..."} 
[2026-06-23 08:10:34] local.INFO: Packet analysis {"connection_id":110530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:34] local.INFO: Extracted packet for processing {"connection_id":110530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:34] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98779984,"longitude_deg":76.3037056,"latitude_deg":9.8779984,"altitude":0,"angle":337,"satellites":31,"speed":11,"hex_longitude":"2d7b0580","hex_latitude":"05e34350","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238675200001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96261551522054144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941812736000,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782182329000,"timestamp_ms":1782182329000,"timestamp_seconds":1782182329,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2583aa8"} 
[2026-06-23 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-06-23 08:10: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-06-23 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 08:10: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-06-23 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-06-23 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-06-23 08:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238675200001,"66":12722,"97":206,"85":15104,"24":11,"16":96261551522054144,"45":8864772941812736000},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238675200001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:10:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96261551522054144,"km_value":96261551522054.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941812736000,"description":"Unknown IO ID 45"} 
[2026-06-23 08:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238675200001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864772941812736000}} 
[2026-06-23 08:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":110530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:34] local.INFO: GPS data processed {"connection_id":110530,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:34] local.INFO: Acknowledgment sent {"connection_id":110530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:35] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef258b7a8012cbc8b400772f620000f011e2a..."} 
[2026-06-23 08:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef258b7a8012cbc8b400772f620000f011e2a..."} 
[2026-06-23 08:10:35] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef258b7a8012cbc8b400772f620000f011e2a..."} 
[2026-06-23 08:10:35] local.INFO: Packet analysis {"connection_id":110696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:35] local.INFO: Extracted packet for processing {"connection_id":110696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:35] local.INFO: GPS Element Parsed {"raw_longitude":750553920,"raw_latitude":124974624,"longitude_deg":75.055392,"latitude_deg":12.4974624,"altitude":15,"angle":286,"satellites":42,"speed":49,"hex_longitude":"2cbc8b40","hex_latitude":"0772f620","is_valid_coordinates":true} 
[2026-06-23 08:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238683904001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321192562226364416,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4858258066032689152,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782182361000,"timestamp_ms":1782182361000,"timestamp_seconds":1782182361,"priority":1,"record_length":96,"hex_timestamp":"0000019ef258b7a8"} 
[2026-06-23 08:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:10:35] 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-06-23 08:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238683904001,"66":27767,"194":206,"27":54016,"24":49,"16":321192562226364416,"44":-4858258066032689152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238683904001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:35] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:10:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321192562226364416,"km_value":321192562226364.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4858258066032689152,"description":"Unknown IO ID 44"} 
[2026-06-23 08:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238683904001,"power":27767,"unknown_194":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4858258066032689152}} 
[2026-06-23 08:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":110696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:35] local.INFO: GPS data processed {"connection_id":110696,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:35] local.INFO: Acknowledgment sent {"connection_id":110696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:36] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef258d6e8012cbc63400772fcd0001201172c..."} 
[2026-06-23 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef258d6e8012cbc63400772fcd0001201172c..."} 
[2026-06-23 08:10:36] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef258d6e8012cbc63400772fcd0001201172c..."} 
[2026-06-23 08:10:36] local.INFO: Packet analysis {"connection_id":110696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:36] local.INFO: Extracted packet for processing {"connection_id":110696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":750543680,"raw_latitude":124976336,"longitude_deg":75.054368,"latitude_deg":12.4976336,"altitude":18,"angle":279,"satellites":44,"speed":50,"hex_longitude":"2cbc6340","hex_latitude":"0772fcd0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238684416001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321193051852636160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4860720972078637056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782182369000,"timestamp_ms":1782182369000,"timestamp_seconds":1782182369,"priority":1,"record_length":96,"hex_timestamp":"0000019ef258d6e8"} 
[2026-06-23 08:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:10: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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:10:36] 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-06-23 08: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-06-23 08:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238684416001,"66":28006,"194":206,"27":54016,"24":50,"16":321193051852636160,"44":-4860720972078637056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238684416001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321193051852636160,"km_value":321193051852636.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4860720972078637056,"description":"Unknown IO ID 44"} 
[2026-06-23 08:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238684416001,"power":28006,"unknown_194":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4860720972078637056}} 
[2026-06-23 08:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":110696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:36] local.INFO: GPS data processed {"connection_id":110696,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:36] local.INFO: Acknowledgment sent {"connection_id":110696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:43] local.INFO: TCP Data received {"connection_id":110697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:10:43] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:10:43] local.INFO: IMEI packet received {"connection_id":110697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":110697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:10:47] local.INFO: TCP Data received {"connection_id":110697,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:10:47] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:10:47] local.INFO: IMEI packet received {"connection_id":110697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":110697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:10:48] local.INFO: TCP Data received {"connection_id":110697,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2589868012d19ea8007209b10002600861a..."} 
[2026-06-23 08:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2589868012d19ea8007209b10002600861a..."} 
[2026-06-23 08:10:48] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2589868012d19ea8007209b10002600861a..."} 
[2026-06-23 08:10:48] local.INFO: Packet analysis {"connection_id":110697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:48] local.INFO: Extracted packet for processing {"connection_id":110697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":119577360,"longitude_deg":75.6673152,"latitude_deg":11.957736,"altitude":38,"angle":134,"satellites":26,"speed":0,"hex_longitude":"2d19ea80","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-06-23 08:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238676992001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858246431408128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445763598651392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782182353000,"timestamp_ms":1782182353000,"timestamp_seconds":1782182353,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2589868"} 
[2026-06-23 08:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:10:48] 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-06-23 08:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 08:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238676992001,"66":13004,"103":206,"83":41984,"24":0,"16":3858246431408128,"45":1867445763598651392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238676992001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:10:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858246431408128,"km_value":3858246431408.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445763598651392,"description":"Unknown IO ID 45"} 
[2026-06-23 08:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238676992001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1867445763598651392}} 
[2026-06-23 08:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":110697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:10:48] local.INFO: GPS data processed {"connection_id":110697,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:10:48] local.INFO: Acknowledgment sent {"connection_id":110697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:10:57] local.INFO: TCP Data received {"connection_id":112262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:10:57] local.INFO: Processing buffer {"connection_id":112262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:10:57] local.INFO: IMEI packet received {"connection_id":112262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":112262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:11:02] local.INFO: TCP Data received {"connection_id":112262,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:11:02] local.INFO: Processing buffer {"connection_id":112262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:11:02] local.INFO: IMEI packet received {"connection_id":112262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":112262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:11:03] local.INFO: TCP Data received {"connection_id":112262,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2584660012d7b050005e346680000015e20..."} 
[2026-06-23 08:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2584660012d7b050005e346680000015e20..."} 
[2026-06-23 08:11:03] local.INFO: Processing buffer {"connection_id":112262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2584660012d7b050005e346680000015e20..."} 
[2026-06-23 08:11:03] local.INFO: Packet analysis {"connection_id":112262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:11:03] local.INFO: Extracted packet for processing {"connection_id":112262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98780776,"longitude_deg":76.3036928,"latitude_deg":9.8780776,"altitude":0,"angle":350,"satellites":32,"speed":9,"hex_longitude":"2d7b0500","hex_latitude":"05e34668","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238676224001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96261590176759808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204324720640,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182332000,"timestamp_ms":1782182332000,"timestamp_seconds":1782182332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2584660"} 
[2026-06-23 08:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:11:03] 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-06-23 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:03] 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-06-23 08: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-06-23 08:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238676224001,"66":12765,"97":206,"85":15104,"24":9,"16":96261590176759808,"45":8864632204324720640},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238676224001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96261590176759808,"km_value":96261590176759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204324720640,"description":"Unknown IO ID 45"} 
[2026-06-23 08:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238676224001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8864632204324720640}} 
[2026-06-23 08:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":112262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:03] local.INFO: GPS data processed {"connection_id":112262,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:03] local.INFO: Acknowledgment sent {"connection_id":112262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:07] local.INFO: TCP Data received {"connection_id":110696,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef258fa10012cbc3e80077302f00014011829..."} 
[2026-06-23 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef258fa10012cbc3e80077302f00014011829..."} 
[2026-06-23 08:11:07] local.INFO: Processing buffer {"connection_id":110696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef258fa10012cbc3e80077302f00014011829..."} 
[2026-06-23 08:11:07] local.INFO: Packet analysis {"connection_id":110696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:11:07] local.INFO: Extracted packet for processing {"connection_id":110696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":750534272,"raw_latitude":124977904,"longitude_deg":75.0534272,"latitude_deg":12.4977904,"altitude":20,"angle":280,"satellites":41,"speed":25,"hex_longitude":"2cbc3e80","hex_latitude":"077302f0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238686464001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321193502824202240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871979971146625024,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782182378000,"timestamp_ms":1782182378000,"timestamp_seconds":1782182378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef258fa10"} 
[2026-06-23 08:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:11:07] 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-06-23 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:07] 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-06-23 08: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-06-23 08:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238686464001,"66":27865,"194":206,"27":54016,"24":25,"16":321193502824202240,"44":-4871979971146625024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238686464001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321193502824202240,"km_value":321193502824202.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871979971146625024,"description":"Unknown IO ID 44"} 
[2026-06-23 08:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238686464001,"power":27865,"unknown_194":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4871979971146625024}} 
[2026-06-23 08:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":110696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:07] local.INFO: GPS data processed {"connection_id":110696,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:07] local.INFO: Acknowledgment sent {"connection_id":110696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:19] local.INFO: TCP Data received {"connection_id":110697,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef258ea70012d19ea8007209b10002600861d..."} 
[2026-06-23 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef258ea70012d19ea8007209b10002600861d..."} 
[2026-06-23 08:11:19] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef258ea70012d19ea8007209b10002600861d..."} 
[2026-06-23 08:11:19] local.INFO: Packet analysis {"connection_id":110697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:11:19] local.INFO: Extracted packet for processing {"connection_id":110697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef258"} 
[2026-06-23 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":119577360,"longitude_deg":75.6673152,"latitude_deg":11.957736,"altitude":38,"angle":134,"satellites":29,"speed":0,"hex_longitude":"2d19ea80","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-06-23 08:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238682368001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858246431408128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445763598651392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782182374000,"timestamp_ms":1782182374000,"timestamp_seconds":1782182374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef258ea70"} 
[2026-06-23 08:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:19] 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-06-23 08:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238682368001,"66":12950,"103":206,"83":41984,"24":0,"16":3858246431408128,"45":1867445763598651392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238682368001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858246431408128,"km_value":3858246431408.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445763598651392,"description":"Unknown IO ID 45"} 
[2026-06-23 08:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238682368001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1867445763598651392}} 
[2026-06-23 08:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":110697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:19] local.INFO: GPS data processed {"connection_id":110697,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:19] local.INFO: Acknowledgment sent {"connection_id":110697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:27] local.INFO: TCP Data received {"connection_id":110699,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:11:27] local.INFO: Processing buffer {"connection_id":110699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:11:27] local.INFO: IMEI packet received {"connection_id":110699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":110699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:11:28] local.INFO: TCP Data received {"connection_id":110699,"ip":"117.225.209.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 08:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110699,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 08:11:28] local.INFO: Processing buffer {"connection_id":110699,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 08:11:28] local.INFO: IMEI packet received {"connection_id":110699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":110699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:11:30] local.INFO: TCP Data received {"connection_id":110699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef259f028012cbbe840077343100027002629..."} 
[2026-06-23 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef259f028012cbbe840077343100027002629..."} 
[2026-06-23 08:11:30] local.INFO: Processing buffer {"connection_id":110699,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef2..."} 
[2026-06-23 08:11:30] local.INFO: IMEI packet received {"connection_id":110699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":110699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:11:31] local.INFO: TCP Data received {"connection_id":110699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25a03b0012cbbf34007734d58002a003429..."} 
[2026-06-23 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25a03b0012cbbf34007734d58002a003429..."} 
[2026-06-23 08:11:31] local.INFO: Processing buffer {"connection_id":110699,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef259f028012cbbe840077343100027002629..."} 
[2026-06-23 08:11:31] local.INFO: Packet analysis {"connection_id":110699,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef259"} 
[2026-06-23 08:11:31] local.INFO: Extracted packet for processing {"connection_id":110699,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef259"} 
[2026-06-23 08:11:31] local.INFO: GPS Element Parsed {"raw_longitude":750512192,"raw_latitude":124994320,"longitude_deg":75.0512192,"latitude_deg":12.499432,"altitude":39,"angle":38,"satellites":41,"speed":29,"hex_longitude":"2cbbe840","hex_latitude":"07734310","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238704128001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321195534343733248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4907868030673098752,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782182441000,"timestamp_ms":1782182441000,"timestamp_seconds":1782182441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef259f028"} 
[2026-06-23 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-06-23 08:11:31] 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-06-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:31] 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-06-23 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-06-23 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-06-23 08:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238704128001,"66":27343,"194":206,"27":54016,"24":29,"16":321195534343733248,"44":-4907868030673098752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238704128001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321195534343733248,"km_value":321195534343733.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4907868030673098752,"description":"Unknown IO ID 44"} 
[2026-06-23 08:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238704128001,"power":27343,"unknown_194":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4907868030673098752}} 
[2026-06-23 08:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":110699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:31] local.INFO: GPS data processed {"connection_id":110699,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:31] local.INFO: Acknowledgment sent {"connection_id":110699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:31] local.INFO: Packet analysis {"connection_id":110699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:11:31] local.INFO: Extracted packet for processing {"connection_id":110699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:11:31] local.INFO: GPS Element Parsed {"raw_longitude":750515008,"raw_latitude":124996952,"longitude_deg":75.0515008,"latitude_deg":12.4996952,"altitude":42,"angle":52,"satellites":41,"speed":30,"hex_longitude":"2cbbf340","hex_latitude":"07734d58","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238704896001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321195719027326976,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4906601393277431808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782182446000,"timestamp_ms":1782182446000,"timestamp_seconds":1782182446,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25a03b0"} 
[2026-06-23 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-06-23 08:11:31] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:31] 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-06-23 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-06-23 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-06-23 08:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238704896001,"66":27767,"194":206,"27":54016,"24":30,"16":321195719027326976,"44":-4906601393277431808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238704896001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321195719027326976,"km_value":321195719027327.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4906601393277431808,"description":"Unknown IO ID 44"} 
[2026-06-23 08:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238704896001,"power":27767,"unknown_194":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4906601393277431808}} 
[2026-06-23 08:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":110699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:31] local.INFO: GPS data processed {"connection_id":110699,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:31] local.INFO: Acknowledgment sent {"connection_id":110699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:33] local.INFO: TCP Data received {"connection_id":110699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25a0b80012cbbf88007735040002b004527..."} 
[2026-06-23 08:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25a0b80012cbbf88007735040002b004527..."} 
[2026-06-23 08:11:33] local.INFO: Processing buffer {"connection_id":110699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25a0b80012cbbf88007735040002b004527..."} 
[2026-06-23 08:11:33] local.INFO: Packet analysis {"connection_id":110699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:11:33] local.INFO: Extracted packet for processing {"connection_id":110699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:11:33] local.INFO: GPS Element Parsed {"raw_longitude":750516352,"raw_latitude":124997696,"longitude_deg":75.0516352,"latitude_deg":12.4997696,"altitude":43,"angle":69,"satellites":39,"speed":31,"hex_longitude":"2cbbf880","hex_latitude":"07735040","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238706176001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321195796336738304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4903505168532940800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782182448000,"timestamp_ms":1782182448000,"timestamp_seconds":1782182448,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25a0b80"} 
[2026-06-23 08:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:11:33] 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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238706176001,"66":27843,"194":206,"27":54016,"24":31,"16":321195796336738304,"44":-4903505168532940800},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238706176001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:33] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:11:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321195796336738304,"km_value":321195796336738.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4903505168532940800,"description":"Unknown IO ID 44"} 
[2026-06-23 08:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238706176001,"power":27843,"unknown_194":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4903505168532940800}} 
[2026-06-23 08:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":110699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:33] local.INFO: GPS data processed {"connection_id":110699,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:33] local.INFO: Acknowledgment sent {"connection_id":110699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:34] local.INFO: TCP Data received {"connection_id":112262,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25aa7c0012d7acac005e410e80005012d29..."} 
[2026-06-23 08:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25aa7c0012d7acac005e410e80005012d29..."} 
[2026-06-23 08:11:34] local.INFO: Processing buffer {"connection_id":112262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25aa7c0012d7acac005e410e80005012d29..."} 
[2026-06-23 08:11:34] local.INFO: Packet analysis {"connection_id":112262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:11:34] local.INFO: Extracted packet for processing {"connection_id":112262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832616,"longitude_deg":76.3022016,"latitude_deg":9.8832616,"altitude":5,"angle":301,"satellites":41,"speed":9,"hex_longitude":"2d7acac0","hex_latitude":"05e410e8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238716672001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264227286679552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688939520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782182488000,"timestamp_ms":1782182488000,"timestamp_seconds":1782182488,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25aa7c0"} 
[2026-06-23 08:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:11: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-06-23 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:34] 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-06-23 08: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-06-23 08:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238716672001,"66":12798,"97":206,"85":15104,"24":9,"16":96264227286679552,"45":8848306655688939520},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238716672001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264227286679552,"km_value":96264227286679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688939520,"description":"Unknown IO ID 45"} 
[2026-06-23 08:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238716672001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848306655688939520}} 
[2026-06-23 08:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":112262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:34] local.INFO: GPS data processed {"connection_id":112262,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:34] local.INFO: Acknowledgment sent {"connection_id":112262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:41] local.INFO: TCP Data received {"connection_id":110700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:41] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:41] local.INFO: IMEI packet received {"connection_id":110700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":110700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:11:43] local.INFO: TCP Data received {"connection_id":110700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:43] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:43] local.INFO: IMEI packet received {"connection_id":110700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":110700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:11:48] local.INFO: TCP Data received {"connection_id":110700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:48] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:11:48] local.INFO: IMEI packet received {"connection_id":110700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":110700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:11:49] local.INFO: TCP Data received {"connection_id":110700,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2593c78012d19ea8007209b10002600861d..."} 
[2026-06-23 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2593c78012d19ea8007209b10002600861d..."} 
[2026-06-23 08:11:49] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2593c78012d19ea8007209b10002600861d..."} 
[2026-06-23 08:11:49] local.INFO: Packet analysis {"connection_id":110700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef259"} 
[2026-06-23 08:11:49] local.INFO: Extracted packet for processing {"connection_id":110700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef259"} 
[2026-06-23 08:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":119577360,"longitude_deg":75.6673152,"latitude_deg":11.957736,"altitude":38,"angle":134,"satellites":29,"speed":0,"hex_longitude":"2d19ea80","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-06-23 08:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238687744001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858246431408128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445763598651392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182395000,"timestamp_ms":1782182395000,"timestamp_seconds":1782182395,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2593c78"} 
[2026-06-23 08:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 08:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238687744001,"66":12917,"103":206,"83":41984,"24":0,"16":3858246431408128,"45":1867445763598651392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238687744001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:11:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858246431408128,"km_value":3858246431408.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445763598651392,"description":"Unknown IO ID 45"} 
[2026-06-23 08:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238687744001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1867445763598651392}} 
[2026-06-23 08:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":110700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:11:49] local.INFO: GPS data processed {"connection_id":110700,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:11:49] local.INFO: Acknowledgment sent {"connection_id":110700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:11:56] local.INFO: TCP Data received {"connection_id":112263,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:11:56] local.INFO: Processing buffer {"connection_id":112263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:11:56] local.INFO: IMEI packet received {"connection_id":112263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":112263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:12:02] local.INFO: TCP Data received {"connection_id":112263,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:12:02] local.INFO: Processing buffer {"connection_id":112263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:12:02] local.INFO: IMEI packet received {"connection_id":112263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":112263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:03] local.INFO: TCP Data received {"connection_id":112263,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25aaba8012d7aca0005e41128000501152a..."} 
[2026-06-23 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25aaba8012d7aca0005e41128000501152a..."} 
[2026-06-23 08:12:03] local.INFO: Processing buffer {"connection_id":112263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25aaba8012d7aca0005e41128000501152a..."} 
[2026-06-23 08:12:03] local.INFO: Packet analysis {"connection_id":112263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:03] local.INFO: Extracted packet for processing {"connection_id":112263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832680,"longitude_deg":76.3021824,"latitude_deg":9.883268,"altitude":5,"angle":277,"satellites":42,"speed":8,"hex_longitude":"2d7aca00","hex_latitude":"05e41128","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238716928001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264235876614144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456443392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182489000,"timestamp_ms":1782182489000,"timestamp_seconds":1782182489,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25aaba8"} 
[2026-06-23 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-06-23 08:12:03] 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-06-23 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 08:12:03] 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-06-23 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-06-23 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-06-23 08:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238716928001,"66":12645,"97":206,"85":15104,"24":8,"16":96264235876614144,"45":8848095549456443392},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238716928001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264235876614144,"km_value":96264235876614.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456443392,"description":"Unknown IO ID 45"} 
[2026-06-23 08:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238716928001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848095549456443392}} 
[2026-06-23 08:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":112263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:12:03] local.INFO: GPS data processed {"connection_id":112263,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:12:03] local.INFO: Acknowledgment sent {"connection_id":112263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:12:12] local.INFO: TCP Data received {"connection_id":110699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25a1350012cbbfec007735148002d00582a..."} 
[2026-06-23 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25a1350012cbbfec007735148002d00582a..."} 
[2026-06-23 08:12:12] local.INFO: Processing buffer {"connection_id":110699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25a1350012cbbfec007735148002d00582a..."} 
[2026-06-23 08:12:12] local.INFO: Packet analysis {"connection_id":110699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:12] local.INFO: Extracted packet for processing {"connection_id":110699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:12] local.INFO: GPS Element Parsed {"raw_longitude":750517952,"raw_latitude":124997960,"longitude_deg":75.0517952,"latitude_deg":12.499796,"altitude":45,"angle":88,"satellites":42,"speed":31,"hex_longitude":"2cbbfec0","hex_latitude":"07735148","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238706688001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321195873646149632,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4902027424905019392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782182450000,"timestamp_ms":1782182450000,"timestamp_seconds":1782182450,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25a1350"} 
[2026-06-23 08:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:12: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-06-23 08: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-06-23 08:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238706688001,"66":27365,"194":206,"27":54016,"24":31,"16":321195873646149632,"44":-4902027424905019392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238706688001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:12:12] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:12:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321195873646149632,"km_value":321195873646149.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4902027424905019392,"description":"Unknown IO ID 44"} 
[2026-06-23 08:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238706688001,"power":27365,"unknown_194":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4902027424905019392}} 
[2026-06-23 08:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":110699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:12:12] local.INFO: GPS data processed {"connection_id":110699,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:12:12] local.INFO: Acknowledgment sent {"connection_id":110699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:12:19] local.INFO: TCP Data received {"connection_id":110700,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b3078012d19e1800720a250002f014b1e..."} 
[2026-06-23 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b3078012d19e1800720a250002f014b1e..."} 
[2026-06-23 08:12:19] local.INFO: Processing buffer {"connection_id":110700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b3078012d19e1800720a250002f014b1e..."} 
[2026-06-23 08:12:19] local.INFO: Packet analysis {"connection_id":110700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:12:19] local.INFO: Extracted packet for processing {"connection_id":110700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756670848,"raw_latitude":119579216,"longitude_deg":75.6670848,"latitude_deg":11.9579216,"altitude":47,"angle":331,"satellites":30,"speed":6,"hex_longitude":"2d19e180","hex_latitude":"0720a250","is_valid_coordinates":true} 
[2026-06-23 08:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238725376001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858469769707520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865123595041208320,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782182523000,"timestamp_ms":1782182523000,"timestamp_seconds":1782182523,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b3078"} 
[2026-06-23 08:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 08:12:19] 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-06-23 08:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238725376001,"66":14189,"103":206,"83":41984,"24":6,"16":3858469769707520,"45":1865123595041208320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 08:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238725376001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:12:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 08:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858469769707520,"km_value":3858469769707.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865123595041208320,"description":"Unknown IO ID 45"} 
[2026-06-23 08:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238725376001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1865123595041208320}} 
[2026-06-23 08:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":110700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:12:19] local.INFO: GPS data processed {"connection_id":110700,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:12:19] local.INFO: Acknowledgment sent {"connection_id":110700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:12:24] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:24] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:24] local.INFO: IMEI packet received {"connection_id":112265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":112265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:12:25] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:25] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:25] local.INFO: IMEI packet received {"connection_id":112265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":112265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:26] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:26] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:26] local.INFO: IMEI packet received {"connection_id":112265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":112265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:28] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:28] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:12:28] local.INFO: IMEI packet received {"connection_id":112265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":112265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:30] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25a2ac0012cbc1240077354580031004c2b..."} 
[2026-06-23 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25a2ac0012cbc1240077354580031004c2b..."} 
[2026-06-23 08:12:30] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25a2ac0012cbc1240077354580031004c2b..."} 
[2026-06-23 08:12:30] local.INFO: Packet analysis {"connection_id":112265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:30] local.INFO: Extracted packet for processing {"connection_id":112265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750522944,"raw_latitude":124998744,"longitude_deg":75.0522944,"latitude_deg":12.4998744,"altitude":49,"angle":76,"satellites":43,"speed":33,"hex_longitude":"2cbc1240","hex_latitude":"07735458","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238707200001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321196109869350912,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4900268206300510208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782182456000,"timestamp_ms":1782182456000,"timestamp_seconds":1782182456,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25a2ac0"} 
[2026-06-23 08:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:12:30] 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-06-23 08:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 08:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238707200001,"66":27908,"194":206,"27":54016,"24":33,"16":321196109869350912,"44":-4900268206300510208},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238707200001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:12:30] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321196109869350912,"km_value":321196109869350.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4900268206300510208,"description":"Unknown IO ID 44"} 
[2026-06-23 08:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238707200001,"power":27908,"unknown_194":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4900268206300510208}} 
[2026-06-23 08:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":112265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:12:30] local.INFO: GPS data processed {"connection_id":112265,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:12:30] local.INFO: Acknowledgment sent {"connection_id":112265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:12:31] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25a51d0012cbc324007735db80036005d2b..."} 
[2026-06-23 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25a51d0012cbc324007735db80036005d2b..."} 
[2026-06-23 08:12:31] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25a51d0012cbc324007735db80036005d2b..."} 
[2026-06-23 08:12:31] local.INFO: Packet analysis {"connection_id":112265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:31] local.INFO: Extracted packet for processing {"connection_id":112265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:31] local.INFO: GPS Element Parsed {"raw_longitude":750531136,"raw_latitude":125001144,"longitude_deg":75.0531136,"latitude_deg":12.5001144,"altitude":54,"angle":93,"satellites":43,"speed":30,"hex_longitude":"2cbc3240","hex_latitude":"07735db8","is_valid_coordinates":true} 
[2026-06-23 08:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238708736001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321196517891244032,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4894779444254451712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782182466000,"timestamp_ms":1782182466000,"timestamp_seconds":1782182466,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25a51d0"} 
[2026-06-23 08:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:12:31] 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-06-23 08:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:12:31] 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-06-23 08:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238708736001,"66":27930,"194":206,"27":54016,"24":30,"16":321196517891244032,"44":-4894779444254451712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 08:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238708736001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:12:31] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 08:12:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321196517891244032,"km_value":321196517891244.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4894779444254451712,"description":"Unknown IO ID 44"} 
[2026-06-23 08:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238708736001,"power":27930,"unknown_194":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4894779444254451712}} 
[2026-06-23 08:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":112265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:12:31] local.INFO: GPS data processed {"connection_id":112265,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:12:31] local.INFO: Acknowledgment sent {"connection_id":112265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:12:34] local.INFO: TCP Data received {"connection_id":112263,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25aaf90012d7ac94005e41108000500fc29..."} 
[2026-06-23 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25aaf90012d7ac94005e41108000500fc29..."} 
[2026-06-23 08:12:34] local.INFO: Processing buffer {"connection_id":112263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25aaf90012d7ac94005e41108000500fc29..."} 
[2026-06-23 08:12:34] local.INFO: Packet analysis {"connection_id":112263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:34] local.INFO: Extracted packet for processing {"connection_id":112263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98832648,"longitude_deg":76.3021632,"latitude_deg":9.8832648,"altitude":5,"angle":252,"satellites":41,"speed":9,"hex_longitude":"2d7ac940","hex_latitude":"05e41108","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238717184001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264244466548736,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223926784,"note":"Value kept but may cause issues"} 
[2026-06-23 08:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782182490000,"timestamp_ms":1782182490000,"timestamp_seconds":1782182490,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25aaf90"} 
[2026-06-23 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-06-23 08:12: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-06-23 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 08:12: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-06-23 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-06-23 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-06-23 08:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238717184001,"66":12645,"97":206,"85":15104,"24":9,"16":96264244466548736,"45":8847884443223926784},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238717184001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264244466548736,"km_value":96264244466548.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223926784,"description":"Unknown IO ID 45"} 
[2026-06-23 08:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238717184001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8847884443223926784}} 
[2026-06-23 08:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":112263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:12:34] local.INFO: GPS data processed {"connection_id":112263,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:12:34] local.INFO: Acknowledgment sent {"connection_id":112263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:12:42] local.INFO: TCP Data received {"connection_id":110532,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:42] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:42] local.INFO: IMEI packet received {"connection_id":110532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":110532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:12:42] local.INFO: TCP Data received {"connection_id":112264,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:12:42] local.INFO: Processing buffer {"connection_id":112264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:12:42] local.INFO: IMEI packet received {"connection_id":112264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":112264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:12:42] local.INFO: TCP Data received {"connection_id":110532,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:42] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:42] local.INFO: IMEI packet received {"connection_id":110532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":110532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:44] local.INFO: TCP Data received {"connection_id":110532,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:44] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:44] local.INFO: IMEI packet received {"connection_id":110532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":110532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:45] local.INFO: TCP Data received {"connection_id":110532,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:45] local.INFO: Processing buffer {"connection_id":110532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:12:45] local.INFO: IMEI packet received {"connection_id":110532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":110532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:12:56] local.INFO: TCP Data received {"connection_id":110533,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:12:56] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:12:56] local.INFO: IMEI packet received {"connection_id":110533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":110533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:13:04] local.INFO: TCP Data received {"connection_id":110533,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:13:04] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:13:04] local.INFO: IMEI packet received {"connection_id":110533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":110533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:13:05] local.INFO: TCP Data received {"connection_id":110533,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25af5e0012d7ab04005e40bc80005010824..."} 
[2026-06-23 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25af5e0012d7ab04005e40bc80005010824..."} 
[2026-06-23 08:13:05] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25af5e0012d7ab04005e40bc80005010824..."} 
[2026-06-23 08:13:05] local.INFO: Packet analysis {"connection_id":110533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:13:05] local.INFO: Extracted packet for processing {"connection_id":110533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25a"} 
[2026-06-23 08:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763015232,"raw_latitude":98831304,"longitude_deg":76.3015232,"latitude_deg":9.8831304,"altitude":5,"angle":264,"satellites":36,"speed":14,"hex_longitude":"2d7ab040","hex_latitude":"05e40bc8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238717440001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264557999161344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991385600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782182508000,"timestamp_ms":1782182508000,"timestamp_seconds":1782182508,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25af5e0"} 
[2026-06-23 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-06-23 08:13:05] 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-06-23 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 08:13:05] 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-06-23 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-06-23 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-06-23 08:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238717440001,"66":13048,"97":206,"85":15104,"24":14,"16":96264557999161344,"45":8847673336991385600},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238717440001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:13:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264557999161344,"km_value":96264557999161.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991385600,"description":"Unknown IO ID 45"} 
[2026-06-23 08:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238717440001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8847673336991385600}} 
[2026-06-23 08:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":110533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:13:05] local.INFO: GPS data processed {"connection_id":110533,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:13:05] local.INFO: Acknowledgment sent {"connection_id":110533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:13:07] local.INFO: TCP Data received {"connection_id":110534,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:13:07] local.INFO: Processing buffer {"connection_id":110534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:13:07] local.INFO: IMEI packet received {"connection_id":110534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":110534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:13:18] local.INFO: TCP Data received {"connection_id":112265,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b6ef8012cbc17c007741708004b000b2a..."} 
[2026-06-23 08:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b6ef8012cbc17c007741708004b000b2a..."} 
[2026-06-23 08:13:18] local.INFO: Processing buffer {"connection_id":112265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b6ef8012cbc17c007741708004b000b2a..."} 
[2026-06-23 08:13:18] local.INFO: Packet analysis {"connection_id":112265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:13:18] local.INFO: Extracted packet for processing {"connection_id":112265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:13:18] local.INFO: GPS Element Parsed {"raw_longitude":750524352,"raw_latitude":125048584,"longitude_deg":75.0524352,"latitude_deg":12.5048584,"altitude":75,"angle":11,"satellites":42,"speed":39,"hex_longitude":"2cbc17c0","hex_latitude":"07741708","is_valid_coordinates":true} 
[2026-06-23 08:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238729728001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321199825016061952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893301700614209536,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782182539000,"timestamp_ms":1782182539000,"timestamp_seconds":1782182539,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b6ef8"} 
[2026-06-23 08:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:13:18] 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-06-23 08:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:13:18] 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-06-23 08:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":112265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":112265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":112265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238729728001,"66":27213,"140":206,"27":54016,"24":39,"16":321199825016061952,"44":-4893301700614209536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,27,24,16,44]} 
[2026-06-23 08:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238729728001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:13:18] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 08:13:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321199825016061952,"km_value":321199825016061.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893301700614209536,"description":"Unknown IO ID 44"} 
[2026-06-23 08:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238729728001,"power":27213,"unknown_140":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4893301700614209536}} 
[2026-06-23 08:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":112265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:13:18] local.INFO: GPS data processed {"connection_id":112265,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:13:18] local.INFO: Acknowledgment sent {"connection_id":112265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:13:23] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:23] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:23] local.INFO: IMEI packet received {"connection_id":110701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":110701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:13:25] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:25] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:25] local.INFO: IMEI packet received {"connection_id":110701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:13:25] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:25] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:25] local.INFO: IMEI packet received {"connection_id":110701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:13:29] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:29] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:13:29] local.INFO: IMEI packet received {"connection_id":110701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:13:31] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b76c8012cbc1ac007741e08004b001f2a..."} 
[2026-06-23 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b76c8012cbc1ac007741e08004b001f2a..."} 
[2026-06-23 08:13:31] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b76c8012cbc1ac007741e08004b001f2a..."} 
[2026-06-23 08:13:31] local.INFO: Packet analysis {"connection_id":110701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:13:31] local.INFO: Extracted packet for processing {"connection_id":110701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:13:31] local.INFO: GPS Element Parsed {"raw_longitude":750525120,"raw_latitude":125050376,"longitude_deg":75.052512,"latitude_deg":12.5050376,"altitude":75,"angle":31,"satellites":42,"speed":40,"hex_longitude":"2cbc1ac0","hex_latitude":"07741e08","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238729984001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321199919505342464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893231331869784064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782182541000,"timestamp_ms":1782182541000,"timestamp_seconds":1782182541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b76c8"} 
[2026-06-23 08:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:13:31] 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-06-23 08: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 08:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238729984001,"66":27821,"140":206,"27":54016,"24":40,"16":321199919505342464,"44":-4893231331869784064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,27,24,16,44]} 
[2026-06-23 08:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238729984001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:13:31] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 08:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321199919505342464,"km_value":321199919505342.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893231331869784064,"description":"Unknown IO ID 44"} 
[2026-06-23 08:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238729984001,"power":27821,"unknown_140":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-4893231331869784064}} 
[2026-06-23 08:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:13:31] local.INFO: GPS data processed {"connection_id":110701,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:13:31] local.INFO: Acknowledgment sent {"connection_id":110701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:13:36] local.INFO: TCP Data received {"connection_id":110533,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b4400012d7a9e4005e40a280009010925..."} 
[2026-06-23 08:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b4400012d7a9e4005e40a280009010925..."} 
[2026-06-23 08:13:36] local.INFO: Processing buffer {"connection_id":110533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b4400012d7a9e4005e40a280009010925..."} 
[2026-06-23 08:13:36] local.INFO: Packet analysis {"connection_id":110533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:13:36] local.INFO: Extracted packet for processing {"connection_id":110533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98830888,"longitude_deg":76.3010624,"latitude_deg":9.8830888,"altitude":9,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d7a9e40","hex_latitude":"05e40a28","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238722048001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264781337460736,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840636462573275136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782182528000,"timestamp_ms":1782182528000,"timestamp_seconds":1782182528,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b4400"} 
[2026-06-23 08:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:13:36] 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-06-23 08: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-06-23 08:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238722048001,"66":12906,"97":206,"85":15104,"24":0,"16":96264781337460736,"45":8840636462573275136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238722048001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264781337460736,"km_value":96264781337460.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840636462573275136,"description":"Unknown IO ID 45"} 
[2026-06-23 08:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238722048001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8840636462573275136}} 
[2026-06-23 08:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":110533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:13:36] local.INFO: GPS data processed {"connection_id":110533,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:13:36] local.INFO: Acknowledgment sent {"connection_id":110533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:14:02] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:02] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:02] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:14:03] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25c2690012cbc59c00774c1d0005401282c..."} 
[2026-06-23 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25c2690012cbc59c00774c1d0005401282c..."} 
[2026-06-23 08:14:03] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25c2690012cbc59c00774c1d0005401282c..."} 
[2026-06-23 08:14:03] local.INFO: Packet analysis {"connection_id":110701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25c"} 
[2026-06-23 08:14:03] local.INFO: Extracted packet for processing {"connection_id":110701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25c"} 
[2026-06-23 08:14:03] local.INFO: GPS Element Parsed {"raw_longitude":750541248,"raw_latitude":125092304,"longitude_deg":75.0541248,"latitude_deg":12.5092304,"altitude":84,"angle":296,"satellites":44,"speed":35,"hex_longitude":"2cbc59c0","hex_latitude":"0774c1d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238741504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321202427766243328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4872894764791488512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182586000,"timestamp_ms":1782182586000,"timestamp_seconds":1782182586,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25c2690"} 
[2026-06-23 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-06-23 08:14:03] 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-06-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:14:03] 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-06-23 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-06-23 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-06-23 08:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238741504001,"66":27767,"27":54016,"24":35,"16":321202427766243328,"44":-4872894764791488512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238741504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:14:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321202427766243328,"km_value":321202427766243.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4872894764791488512,"description":"Unknown IO ID 44"} 
[2026-06-23 08:14:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238741504001,"power":27767,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4872894764791488512}} 
[2026-06-23 08:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":110701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:14:03] local.INFO: GPS data processed {"connection_id":110701,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:14:03] local.INFO: Acknowledgment sent {"connection_id":110701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:14:07] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:07] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:07] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:14:08] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b5f58012d7a9fc005e40ad00009004923..."} 
[2026-06-23 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b5f58012d7a9fc005e40ad00009004923..."} 
[2026-06-23 08:14:08] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b5f58012d7a9fc005e40ad00009004923..."} 
[2026-06-23 08:14:08] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:14:08] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:14:08] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831056,"longitude_deg":76.3011008,"latitude_deg":9.8831056,"altitude":9,"angle":73,"satellites":35,"speed":3,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40ad0","is_valid_coordinates":true} 
[2026-06-23 08:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238727168001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264802812297216,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569912992376832,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782182535000,"timestamp_ms":1782182535000,"timestamp_seconds":1782182535,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b5f58"} 
[2026-06-23 08:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:14:08] 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-06-23 08:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 08:14:08] 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-06-23 08:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238727168001,"66":13135,"97":206,"85":15104,"24":3,"16":96264802812297216,"45":8835569912992376832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238727168001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264802812297216,"km_value":96264802812297.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569912992376832,"description":"Unknown IO ID 45"} 
[2026-06-23 08:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238727168001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8835569912992376832}} 
[2026-06-23 08:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:14:08] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:14:08] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:14:24] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:24] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:24] local.INFO: IMEI packet received {"connection_id":111330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":111330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:14:26] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:26] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:26] local.INFO: IMEI packet received {"connection_id":111330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":111330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:14:30] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:30] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:14:30] local.INFO: IMEI packet received {"connection_id":111330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":111330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:14:32] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25c3248012cbc4fc00774c5700055011c2a..."} 
[2026-06-23 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25c3248012cbc4fc00774c5700055011c2a..."} 
[2026-06-23 08:14:32] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25c3248012cbc4fc00774c5700055011c2a..."} 
[2026-06-23 08:14:32] local.INFO: Packet analysis {"connection_id":111330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25c"} 
[2026-06-23 08:14:32] local.INFO: Extracted packet for processing {"connection_id":111330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25c"} 
[2026-06-23 08:14:32] local.INFO: GPS Element Parsed {"raw_longitude":750538688,"raw_latitude":125093232,"longitude_deg":75.0538688,"latitude_deg":12.5093232,"altitude":85,"angle":284,"satellites":42,"speed":36,"hex_longitude":"2cbc4fc0","hex_latitude":"0774c570","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238742016001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321202556615262208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4874653983395688448,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782182589000,"timestamp_ms":1782182589000,"timestamp_seconds":1782182589,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25c3248"} 
[2026-06-23 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-06-23 08:14:32] 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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:14:32] 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-06-23 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-06-23 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-06-23 08:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238742016001,"66":27789,"27":54016,"24":36,"16":321202556615262208,"44":-4874653983395688448},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238742016001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:14:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321202556615262208,"km_value":321202556615262.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:14:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4874653983395688448,"description":"Unknown IO ID 44"} 
[2026-06-23 08:14:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238742016001,"power":27789,"unknown_27":54016,"ignition":36,"odometer":null,"unknown_44":-4874653983395688448}} 
[2026-06-23 08:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":111330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:14:32] local.INFO: GPS data processed {"connection_id":111330,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:14:32] local.INFO: Acknowledgment sent {"connection_id":111330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:14:39] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b6340012d7aa00005e40aa00009005c23..."} 
[2026-06-23 08:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b6340012d7aa00005e40aa00009005c23..."} 
[2026-06-23 08:14:39] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b6340012d7aa00005e40aa00009005c23..."} 
[2026-06-23 08:14:39] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:14:39] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":98831008,"longitude_deg":76.3011072,"latitude_deg":9.8831008,"altitude":9,"angle":92,"satellites":35,"speed":3,"hex_longitude":"2d7aa000","hex_latitude":"05e40aa0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238728960001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264807107264512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457485824,"note":"Value kept but may cause issues"} 
[2026-06-23 08:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782182536000,"timestamp_ms":1782182536000,"timestamp_seconds":1782182536,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b6340"} 
[2026-06-23 08:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:14: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-06-23 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 08:14:39] 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-06-23 08: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-06-23 08:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:14: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-06-23 08:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238728960001,"66":13135,"97":206,"85":15104,"24":3,"16":96264807107264512,"45":8835992125457485824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238728960001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264807107264512,"km_value":96264807107264.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457485824,"description":"Unknown IO ID 45"} 
[2026-06-23 08:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238728960001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8835992125457485824}} 
[2026-06-23 08:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:14:39] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:14:39] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:14:57] local.INFO: TCP Data received {"connection_id":110535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:57] local.INFO: Processing buffer {"connection_id":110535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:14:57] local.INFO: IMEI packet received {"connection_id":110535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":110535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:15:02] local.INFO: TCP Data received {"connection_id":110535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:02] local.INFO: Processing buffer {"connection_id":110535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:02] local.INFO: IMEI packet received {"connection_id":110535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":110535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:15:04] local.INFO: TCP Data received {"connection_id":110535,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25b6728012d7aa00005e40a800009006822..."} 
[2026-06-23 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25b6728012d7aa00005e40a800009006822..."} 
[2026-06-23 08:15:04] local.INFO: Processing buffer {"connection_id":110535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25b6728012d7aa00005e40a800009006822..."} 
[2026-06-23 08:15:04] local.INFO: Packet analysis {"connection_id":110535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:15:04] local.INFO: Extracted packet for processing {"connection_id":110535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25b"} 
[2026-06-23 08:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":98830976,"longitude_deg":76.3011072,"latitude_deg":9.8830976,"altitude":9,"angle":104,"satellites":34,"speed":2,"hex_longitude":"2d7aa000","hex_latitude":"05e40a80","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238729216001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264807107264512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494201651200,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782182537000,"timestamp_ms":1782182537000,"timestamp_seconds":1782182537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25b6728"} 
[2026-06-23 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-06-23 08:15: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-06-23 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 08:15:04] 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-06-23 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-06-23 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-06-23 08:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:15:04] 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-06-23 08:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238729216001,"66":12982,"97":206,"85":15104,"24":2,"16":96264807107264512,"45":8836062494201651200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238729216001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264807107264512,"km_value":96264807107264.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494201651200,"description":"Unknown IO ID 45"} 
[2026-06-23 08:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238729216001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836062494201651200}} 
[2026-06-23 08:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":110535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:15:04] local.INFO: GPS data processed {"connection_id":110535,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:15:04] local.INFO: Acknowledgment sent {"connection_id":110535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:15:04] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25c68f8012cbc2c800774cc900054011a2b..."} 
[2026-06-23 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25c68f8012cbc2c800774cc900054011a2b..."} 
[2026-06-23 08:15:04] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25c68f8012cbc2c800774cc900054011a2b..."} 
[2026-06-23 08:15:04] local.INFO: Packet analysis {"connection_id":111330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25c"} 
[2026-06-23 08:15:04] local.INFO: Extracted packet for processing {"connection_id":111330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25c"} 
[2026-06-23 08:15:04] local.INFO: GPS Element Parsed {"raw_longitude":750529664,"raw_latitude":125095056,"longitude_deg":75.0529664,"latitude_deg":12.5095056,"altitude":84,"angle":282,"satellites":43,"speed":11,"hex_longitude":"2cbc2c80","hex_latitude":"0774cc90","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238742784001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321202994701926400,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4877468733162557440,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782182603000,"timestamp_ms":1782182603000,"timestamp_seconds":1782182603,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25c68f8"} 
[2026-06-23 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-06-23 08:15:04] 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-06-23 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 08:15:04] 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-06-23 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-06-23 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-06-23 08:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238742784001,"66":27767,"27":54016,"24":11,"16":321202994701926400,"44":-4877468733162557440},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238742784001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321202994701926400,"km_value":321202994701926.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4877468733162557440,"description":"Unknown IO ID 44"} 
[2026-06-23 08:15:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238742784001,"power":27767,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-4877468733162557440}} 
[2026-06-23 08:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":111330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:15:04] local.INFO: GPS data processed {"connection_id":111330,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:15:04] local.INFO: Acknowledgment sent {"connection_id":111330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:15:25] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:25] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:25] local.INFO: IMEI packet received {"connection_id":110704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":110704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:15:27] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:27] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:27] local.INFO: IMEI packet received {"connection_id":110704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":110704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:15:30] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:30] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:15:30] local.INFO: IMEI packet received {"connection_id":110704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:15:32] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25d6ac8012cbb09c00774d8100051010d2a..."} 
[2026-06-23 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25d6ac8012cbb09c00774d8100051010d2a..."} 
[2026-06-23 08:15:32] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25d6ac8012cbb09c00774d8100051010d2a..."} 
[2026-06-23 08:15:32] local.INFO: Packet analysis {"connection_id":110704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:15:32] local.INFO: Extracted packet for processing {"connection_id":110704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":750455232,"raw_latitude":125098000,"longitude_deg":75.0455232,"latitude_deg":12.5098,"altitude":81,"angle":269,"satellites":42,"speed":61,"hex_longitude":"2cbb09c0","hex_latitude":"0774d810","is_valid_coordinates":true} 
[2026-06-23 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238761728001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321206546639880192,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4959166845151494144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782182669000,"timestamp_ms":1782182669000,"timestamp_seconds":1782182669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25d6ac8"} 
[2026-06-23 08:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:15:32] 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-06-23 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:15:32] 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-06-23 08:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238761728001,"66":27919,"27":54016,"24":61,"16":321206546639880192,"44":-4959166845151494144},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238761728001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:15:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321206546639880192,"km_value":321206546639880.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4959166845151494144,"description":"Unknown IO ID 44"} 
[2026-06-23 08:15:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238761728001,"power":27919,"unknown_27":54016,"ignition":61,"odometer":null,"unknown_44":-4959166845151494144}} 
[2026-06-23 08:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":110704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:15:32] local.INFO: GPS data processed {"connection_id":110704,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:15:32] local.INFO: Acknowledgment sent {"connection_id":110704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:15:35] local.INFO: TCP Data received {"connection_id":110535,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25e0ed8012d7a9f8005e40b480009003d26..."} 
[2026-06-23 08:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25e0ed8012d7a9f8005e40b480009003d26..."} 
[2026-06-23 08:15:35] local.INFO: Processing buffer {"connection_id":110535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25e0ed8012d7a9f8005e40b480009003d26..."} 
[2026-06-23 08:15:35] local.INFO: Packet analysis {"connection_id":110535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:15:35] local.INFO: Extracted packet for processing {"connection_id":110535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":98831176,"longitude_deg":76.3010944,"latitude_deg":9.8831176,"altitude":9,"angle":61,"satellites":38,"speed":3,"hex_longitude":"2d7a9f80","hex_latitude":"05e40b48","is_valid_coordinates":true} 
[2026-06-23 08:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238773760001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264824287133696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494201632768,"note":"Value kept but may cause issues"} 
[2026-06-23 08:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782182711000,"timestamp_ms":1782182711000,"timestamp_seconds":1782182711,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25e0ed8"} 
[2026-06-23 08:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:15: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-06-23 08:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 08:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:15:35] 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-06-23 08:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238773760001,"66":11852,"97":206,"85":15104,"24":3,"16":96264824287133696,"45":8836062494201632768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238773760001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264824287133696,"km_value":96264824287133.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494201632768,"description":"Unknown IO ID 45"} 
[2026-06-23 08:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238773760001,"power":11852,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8836062494201632768}} 
[2026-06-23 08:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":110535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:15:35] local.INFO: GPS data processed {"connection_id":110535,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:15:35] local.INFO: Acknowledgment sent {"connection_id":110535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:15:56] local.INFO: TCP Data received {"connection_id":110536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:56] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:56] local.INFO: IMEI packet received {"connection_id":110536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":110536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:15:58] local.INFO: TCP Data received {"connection_id":110536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:58] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:15:58] local.INFO: IMEI packet received {"connection_id":110536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":110536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:16:03] local.INFO: TCP Data received {"connection_id":110536,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:16:03] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:16:03] local.INFO: IMEI packet received {"connection_id":110536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":110536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:16:04] local.INFO: TCP Data received {"connection_id":110704,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25d8238012cbae5c00774d940005101112a..."} 
[2026-06-23 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25d8238012cbae5c00774d940005101112a..."} 
[2026-06-23 08:16:04] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25d8238012cbae5c00774d940005101112a..."} 
[2026-06-23 08:16:04] local.INFO: Packet analysis {"connection_id":110704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:04] local.INFO: Extracted packet for processing {"connection_id":110704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":750446016,"raw_latitude":125098304,"longitude_deg":75.0446016,"latitude_deg":12.5098304,"altitude":81,"angle":273,"satellites":42,"speed":60,"hex_longitude":"2cbae5c0","hex_latitude":"0774d940","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238763264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321206980431577088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4969229575569010688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782182675000,"timestamp_ms":1782182675000,"timestamp_seconds":1782182675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25d8238"} 
[2026-06-23 08:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:16:04] 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-06-23 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:16:04] 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-06-23 08: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-06-23 08:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238763264001,"66":27800,"27":54016,"24":60,"16":321206980431577088,"44":-4969229575569010688},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238763264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321206980431577088,"km_value":321206980431577.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4969229575569010688,"description":"Unknown IO ID 44"} 
[2026-06-23 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238763264001,"power":27800,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-4969229575569010688}} 
[2026-06-23 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:16:04] local.INFO: GPS data processed {"connection_id":110704,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:16:04] local.INFO: Acknowledgment sent {"connection_id":110704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:16:04] local.INFO: TCP Data received {"connection_id":110536,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25e12c0012d7a9fc005e40b780009004826..."} 
[2026-06-23 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25e12c0012d7a9fc005e40b780009004826..."} 
[2026-06-23 08:16:04] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25e12c0012d7a9fc005e40b780009004826..."} 
[2026-06-23 08:16:04] local.INFO: Packet analysis {"connection_id":110536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:16:04] local.INFO: Extracted packet for processing {"connection_id":110536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831224,"longitude_deg":76.3011008,"latitude_deg":9.8831224,"altitude":9,"angle":72,"satellites":38,"speed":6,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40b78","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238774016001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264828582100992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756713338880,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782182712000,"timestamp_ms":1782182712000,"timestamp_seconds":1782182712,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25e12c0"} 
[2026-06-23 08:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:16:04] 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-06-23 08: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 08:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:16:04] 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-06-23 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238774016001,"66":11852,"97":206,"85":15104,"24":6,"16":96264828582100992,"45":8835921756713338880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238774016001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264828582100992,"km_value":96264828582100.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756713338880,"description":"Unknown IO ID 45"} 
[2026-06-23 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238774016001,"power":11852,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8835921756713338880}} 
[2026-06-23 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:16:04] local.INFO: GPS data processed {"connection_id":110536,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:16:04] local.INFO: Acknowledgment sent {"connection_id":110536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:16:29] local.INFO: TCP Data received {"connection_id":112268,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:29] local.INFO: Processing buffer {"connection_id":112268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:29] local.INFO: IMEI packet received {"connection_id":112268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":112268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:16:30] local.INFO: TCP Data received {"connection_id":112268,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:30] local.INFO: Processing buffer {"connection_id":112268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:30] local.INFO: IMEI packet received {"connection_id":112268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":112268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:16:34] local.INFO: TCP Data received {"connection_id":112268,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:34] local.INFO: Processing buffer {"connection_id":112268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:16:34] local.INFO: IMEI packet received {"connection_id":112268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":112268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:16:35] local.INFO: TCP Data received {"connection_id":110536,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25e2260012d7aa3c005e40c10000a005626..."} 
[2026-06-23 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25e2260012d7aa3c005e40c10000a005626..."} 
[2026-06-23 08:16:35] local.INFO: Processing buffer {"connection_id":110536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25e2260012d7aa3c005e40c10000a005626..."} 
[2026-06-23 08:16:35] local.INFO: Packet analysis {"connection_id":110536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:16:35] local.INFO: Extracted packet for processing {"connection_id":110536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":98831376,"longitude_deg":76.3012032,"latitude_deg":9.8831376,"altitude":10,"angle":86,"satellites":38,"speed":10,"hex_longitude":"2d7aa3c0","hex_latitude":"05e40c10","is_valid_coordinates":true} 
[2026-06-23 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238774272001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96264875826741248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457528832,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782182716000,"timestamp_ms":1782182716000,"timestamp_seconds":1782182716,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25e2260"} 
[2026-06-23 08:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:16: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-06-23 08:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 08:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:16:35] 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-06-23 08:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238774272001,"66":12613,"97":206,"85":15104,"24":10,"16":96264875826741248,"45":8835992125457528832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238774272001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96264875826741248,"km_value":96264875826741.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457528832,"description":"Unknown IO ID 45"} 
[2026-06-23 08:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238774272001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8835992125457528832}} 
[2026-06-23 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":110536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:16:36] local.INFO: GPS data processed {"connection_id":110536,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:16:36] local.INFO: Acknowledgment sent {"connection_id":110536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:16:36] local.INFO: TCP Data received {"connection_id":112268,"ip":"117.225.209.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ef25d99a8012cbac1c00774db18004f010d28..."} 
[2026-06-23 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112268,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ef25d99a8012cbac1c00774db18004f010d28..."} 
[2026-06-23 08:16:36] local.INFO: Processing buffer {"connection_id":112268,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ef25d99a8012cbac1c00774db18004f010d28..."} 
[2026-06-23 08:16:36] local.INFO: Packet analysis {"connection_id":112268,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:36] local.INFO: Extracted packet for processing {"connection_id":112268,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":750436800,"raw_latitude":125098776,"longitude_deg":75.04368,"latitude_deg":12.5098776,"altitude":79,"angle":269,"satellites":40,"speed":58,"hex_longitude":"2cbac1c0","hex_latitude":"0774db18","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238764800001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321207418518241280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4979362674730516480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782182681000,"timestamp_ms":1782182681000,"timestamp_seconds":1782182681,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25d99a8"} 
[2026-06-23 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-06-23 08:16: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-06-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:16:36] 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-06-23 08: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-06-23 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-06-23 08:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238764800001,"66":27767,"27":54016,"24":58,"16":321207418518241280,"44":-4979362674730516480},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238764800001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321207418518241280,"km_value":321207418518241.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4979362674730516480,"description":"Unknown IO ID 44"} 
[2026-06-23 08:16:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238764800001,"power":27767,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4979362674730516480}} 
[2026-06-23 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":112268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:16:36] local.INFO: GPS data processed {"connection_id":112268,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:16:36] local.INFO: Acknowledgment sent {"connection_id":112268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:16:36] local.INFO: Packet analysis {"connection_id":112268,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:36] local.INFO: Incomplete packet, waiting for more data {"connection_id":112268,"needed":795,"available":565} 
[2026-06-23 08:16:36] local.INFO: TCP Data received {"connection_id":112268,"ip":"117.225.209.96","data_length":230,"data_hex":"2cbba4400774e088004d010e2b003b0000000a000400ef0100715f00f0010045..."} 
[2026-06-23 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112268,"packet_length":230,"packet_hex":"2cbba4400774e088004d010e2b003b0000000a000400ef0100715f00f0010045..."} 
[2026-06-23 08:16:36] local.INFO: Processing buffer {"connection_id":112268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25db500012cba99800774dd40004d011229..."} 
[2026-06-23 08:16:36] local.INFO: Packet analysis {"connection_id":112268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:36] local.INFO: Extracted packet for processing {"connection_id":112268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":750426496,"raw_latitude":125099328,"longitude_deg":75.0426496,"latitude_deg":12.5099328,"altitude":77,"angle":274,"satellites":41,"speed":59,"hex_longitude":"2cba9980","hex_latitude":"0774dd40","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238766336001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321207908144513024,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4989495773891979264,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782182688000,"timestamp_ms":1782182688000,"timestamp_seconds":1782182688,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25db500"} 
[2026-06-23 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-06-23 08:16: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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:16:36] 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-06-23 08: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-06-23 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-06-23 08:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238766336001,"66":27821,"27":54016,"24":59,"16":321207908144513024,"44":-4989495773891979264},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238766336001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321207908144513024,"km_value":321207908144513.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4989495773891979264,"description":"Unknown IO ID 44"} 
[2026-06-23 08:16:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238766336001,"power":27821,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-4989495773891979264}} 
[2026-06-23 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":112268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:16:36] local.INFO: GPS data processed {"connection_id":112268,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:16:36] local.INFO: Acknowledgment sent {"connection_id":112268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:16:41] local.INFO: TCP Data received {"connection_id":112268,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25dcc70012cba75000774dff8004c011128..."} 
[2026-06-23 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25dcc70012cba75000774dff8004c011128..."} 
[2026-06-23 08:16:41] local.INFO: Processing buffer {"connection_id":112268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25dcc70012cba75000774dff8004c011128..."} 
[2026-06-23 08:16:41] local.INFO: Packet analysis {"connection_id":112268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:41] local.INFO: Extracted packet for processing {"connection_id":112268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25d"} 
[2026-06-23 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":750417152,"raw_latitude":125100024,"longitude_deg":75.0417152,"latitude_deg":12.5100024,"altitude":76,"angle":273,"satellites":40,"speed":60,"hex_longitude":"2cba7500","hex_latitude":"0774dff8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238768128001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321208350526144512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5000825141704441856,"note":"Value kept but may cause issues"} 
[2026-06-23 08:16:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782182694000,"timestamp_ms":1782182694000,"timestamp_seconds":1782182694,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25dcc70"} 
[2026-06-23 08:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:16:41] 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-06-23 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:16:41] 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-06-23 08: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-06-23 08:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238768128001,"66":27767,"27":54016,"24":60,"16":321208350526144512,"44":-5000825141704441856},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-06-23 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238768128001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321208350526144512,"km_value":321208350526144.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5000825141704441856,"description":"Unknown IO ID 44"} 
[2026-06-23 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456238768128001,"power":27767,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-5000825141704441856}} 
[2026-06-23 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":112268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:16:41] local.INFO: GPS data processed {"connection_id":112268,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:16:41] local.INFO: Acknowledgment sent {"connection_id":112268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:16:57] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:16:57] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:16:57] local.INFO: IMEI packet received {"connection_id":111334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":111334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:17:02] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:17:02] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:17:02] local.INFO: IMEI packet received {"connection_id":111334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":111334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:17:03] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25e7080012d7abd4005e40e700009004d25..."} 
[2026-06-23 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25e7080012d7abd4005e40e700009004d25..."} 
[2026-06-23 08:17:03] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25e7080012d7abd4005e40e700009004d25..."} 
[2026-06-23 08:17:03] local.INFO: Packet analysis {"connection_id":111334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:17:03] local.INFO: Extracted packet for processing {"connection_id":111334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25e"} 
[2026-06-23 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763018560,"raw_latitude":98831984,"longitude_deg":76.301856,"latitude_deg":9.8831984,"altitude":9,"angle":77,"satellites":37,"speed":18,"hex_longitude":"2d7abd40","hex_latitude":"05e40e70","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238775296001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96265193654321152,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118025364410368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182736000,"timestamp_ms":1782182736000,"timestamp_seconds":1782182736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25e7080"} 
[2026-06-23 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-06-23 08:17:03] 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-06-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 08:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 08:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:17:03] 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-06-23 08:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238775296001,"66":12982,"97":206,"85":15104,"24":18,"16":96265193654321152,"45":8837118025364410368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238775296001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96265193654321152,"km_value":96265193654321.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118025364410368,"description":"Unknown IO ID 45"} 
[2026-06-23 08:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238775296001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8837118025364410368}} 
[2026-06-23 08:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":111334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:17:03] local.INFO: GPS data processed {"connection_id":111334,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:17:03] local.INFO: Acknowledgment sent {"connection_id":111334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:17:25] local.INFO: TCP Data received {"connection_id":110706,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:17:25] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:17:25] local.INFO: IMEI packet received {"connection_id":110706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":110706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:17:26] local.INFO: TCP Data received {"connection_id":110706,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:17:26] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:17:26] local.INFO: IMEI packet received {"connection_id":110706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":110706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:17:27] local.INFO: TCP Data received {"connection_id":110706,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25f2048012cb874c007753aa8003e011a29..."} 
[2026-06-23 08:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25f2048012cb874c007753aa8003e011a29..."} 
[2026-06-23 08:17:27] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25f2048012cb874c007753aa8003e011a29..."} 
[2026-06-23 08:17:27] local.INFO: Packet analysis {"connection_id":110706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:17:27] local.INFO: Extracted packet for processing {"connection_id":110706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:17:27] local.INFO: GPS Element Parsed {"raw_longitude":750286016,"raw_latitude":125123240,"longitude_deg":75.0286016,"latitude_deg":12.512324,"altitude":62,"angle":282,"satellites":41,"speed":62,"hex_longitude":"2cb874c0","hex_latitude":"07753aa8","is_valid_coordinates":true} 
[2026-06-23 08:17: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-06-23 08:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238790400001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321214694192840704,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5144940329774671872,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782182781000,"timestamp_ms":1782182781000,"timestamp_seconds":1782182781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25f2048"} 
[2026-06-23 08:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:17: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-06-23 08:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:17:27] 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-06-23 08:17: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-06-23 08:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":110706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":110706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":110706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238790400001,"66":27865,"201":206,"27":54016,"24":62,"16":321214694192840704,"44":-5144940329774671872},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-06-23 08:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238790400001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:17:27] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:17:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321214694192840704,"km_value":321214694192840.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5144940329774671872,"description":"Unknown IO ID 44"} 
[2026-06-23 08:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238790400001,"power":27865,"unknown_201":206,"unknown_27":54016,"ignition":62,"odometer":null,"unknown_44":-5144940329774671872}} 
[2026-06-23 08:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":110706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:17:27] local.INFO: GPS data processed {"connection_id":110706,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:17:27] local.INFO: Acknowledgment sent {"connection_id":110706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:17:30] local.INFO: TCP Data received {"connection_id":110706,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25f37b8012cb8520007754550003d012529..."} 
[2026-06-23 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25f37b8012cb8520007754550003d012529..."} 
[2026-06-23 08:17:30] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25f37b8012cb8520007754550003d012529..."} 
[2026-06-23 08:17:30] local.INFO: Packet analysis {"connection_id":110706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:17:30] local.INFO: Extracted packet for processing {"connection_id":110706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750277120,"raw_latitude":125125968,"longitude_deg":75.027712,"latitude_deg":12.5125968,"altitude":61,"angle":293,"satellites":41,"speed":60,"hex_longitude":"2cb85200","hex_latitude":"07754550","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238791936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321215140869439488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5155284535168292864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782182787000,"timestamp_ms":1782182787000,"timestamp_seconds":1782182787,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25f37b8"} 
[2026-06-23 08:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:17:30] 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-06-23 08:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:17:30] 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-06-23 08: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-06-23 08:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238791936001,"66":27865,"201":206,"27":54016,"24":60,"16":321215140869439488,"44":-5155284535168292864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-06-23 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238791936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:17:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321215140869439488,"km_value":321215140869439.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5155284535168292864,"description":"Unknown IO ID 44"} 
[2026-06-23 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238791936001,"power":27865,"unknown_201":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-5155284535168292864}} 
[2026-06-23 08:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":110706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:17:30] local.INFO: GPS data processed {"connection_id":110706,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:17:30] local.INFO: Acknowledgment sent {"connection_id":110706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:17:34] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2602600012d7b0ac005e352980008004625..."} 
[2026-06-23 08:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2602600012d7b0ac005e352980008004625..."} 
[2026-06-23 08:17:35] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2602600012d7b0ac005e352980008004625..."} 
[2026-06-23 08:17:35] local.INFO: Packet analysis {"connection_id":111334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:17:35] local.INFO: Extracted packet for processing {"connection_id":111334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98783896,"longitude_deg":76.30384,"latitude_deg":9.8783896,"altitude":8,"angle":70,"satellites":37,"speed":8,"hex_longitude":"2d7b0ac0","hex_latitude":"05e35298","is_valid_coordinates":true} 
[2026-06-23 08:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238808832001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96267899483717632,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841720905728,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782182848000,"timestamp_ms":1782182848000,"timestamp_seconds":1782182848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2602600"} 
[2026-06-23 08:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:17:35] 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-06-23 08:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:17:35] 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-06-23 08:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:17:35] 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-06-23 08:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238808832001,"66":13037,"97":206,"85":15104,"24":8,"16":96267899483717632,"45":8865898841720905728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238808832001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96267899483717632,"km_value":96267899483717.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841720905728,"description":"Unknown IO ID 45"} 
[2026-06-23 08:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238808832001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865898841720905728}} 
[2026-06-23 08:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":111334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:17:35] local.INFO: GPS data processed {"connection_id":111334,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:17:35] local.INFO: Acknowledgment sent {"connection_id":111334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:17:48] local.INFO: TCP Data received {"connection_id":112269,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:17:48] local.INFO: Processing buffer {"connection_id":112269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:17:48] local.INFO: IMEI packet received {"connection_id":112269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":112269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:17:49] local.INFO: TCP Data received {"connection_id":112269,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25f6698012d18394007219440004d01241f..."} 
[2026-06-23 08:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25f6698012d18394007219440004d01241f..."} 
[2026-06-23 08:17:49] local.INFO: Processing buffer {"connection_id":112269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25f6698012d18394007219440004d01241f..."} 
[2026-06-23 08:17:49] local.INFO: Packet analysis {"connection_id":112269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:17:49] local.INFO: Extracted packet for processing {"connection_id":112269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756562240,"raw_latitude":119641152,"longitude_deg":75.656224,"latitude_deg":11.9641152,"altitude":77,"angle":292,"satellites":31,"speed":29,"hex_longitude":"2d183940","hex_latitude":"07219440","is_valid_coordinates":true} 
[2026-06-23 08:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238793472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3865534990909440,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754855772929732608,"note":"Value kept but may cause issues"} 
[2026-06-23 08:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182799000,"timestamp_ms":1782182799000,"timestamp_seconds":1782182799,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25f6698"} 
[2026-06-23 08:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:17:49] 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-06-23 08:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 08:17:49] 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-06-23 08:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238793472001,"66":13993,"101":206,"83":41984,"24":29,"16":3865534990909440,"45":1754855772929732608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 08:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238793472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:17:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 08:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3865534990909440,"km_value":3865534990909.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754855772929732608,"description":"Unknown IO ID 45"} 
[2026-06-23 08:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238793472001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1754855772929732608}} 
[2026-06-23 08:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":112269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:17:49] local.INFO: GPS data processed {"connection_id":112269,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:17:49] local.INFO: Acknowledgment sent {"connection_id":112269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:17:59] local.INFO: TCP Data received {"connection_id":110707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:17:59] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:17:59] local.INFO: IMEI packet received {"connection_id":110707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":110707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:18:02] local.INFO: TCP Data received {"connection_id":110706,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25f37b8012cb8520007754550003d012529..."} 
[2026-06-23 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25f37b8012cb8520007754550003d012529..."} 
[2026-06-23 08:18:02] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25f37b8012cb8520007754550003d012529..."} 
[2026-06-23 08:18:02] local.INFO: Packet analysis {"connection_id":110706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:18:02] local.INFO: Extracted packet for processing {"connection_id":110706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:18:02] local.INFO: GPS Element Parsed {"raw_longitude":750277120,"raw_latitude":125125968,"longitude_deg":75.027712,"latitude_deg":12.5125968,"altitude":61,"angle":293,"satellites":41,"speed":60,"hex_longitude":"2cb85200","hex_latitude":"07754550","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238793472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321215140869439488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5165065790608289792,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782182787000,"timestamp_ms":1782182787000,"timestamp_seconds":1782182787,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25f37b8"} 
[2026-06-23 08:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18:02] 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-06-23 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:02] 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-06-23 08: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-06-23 08:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238793472001,"66":27865,"201":206,"27":54016,"24":60,"16":321215140869439488,"44":-5165065790608289792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-06-23 08:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238793472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321215140869439488,"km_value":321215140869439.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5165065790608289792,"description":"Unknown IO ID 44"} 
[2026-06-23 08:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238793472001,"power":27865,"unknown_201":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-5165065790608289792}} 
[2026-06-23 08:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":110706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:02] local.INFO: GPS data processed {"connection_id":110706,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:02] local.INFO: Acknowledgment sent {"connection_id":110706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:18:02] local.INFO: TCP Data received {"connection_id":110707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:02] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:02] local.INFO: IMEI packet received {"connection_id":110707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":110707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:18:07] local.INFO: TCP Data received {"connection_id":110707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:07] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:07] local.INFO: IMEI packet received {"connection_id":110707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":110707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:18:08] local.INFO: TCP Data received {"connection_id":110707,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26029e8012d7b0bc005e353280008003025..."} 
[2026-06-23 08:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26029e8012d7b0bc005e353280008003025..."} 
[2026-06-23 08:18:08] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26029e8012d7b0bc005e353280008003025..."} 
[2026-06-23 08:18:08] local.INFO: Packet analysis {"connection_id":110707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:08] local.INFO: Extracted packet for processing {"connection_id":110707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98784040,"longitude_deg":76.3038656,"latitude_deg":9.878404,"altitude":8,"angle":48,"satellites":37,"speed":11,"hex_longitude":"2d7b0bc0","hex_latitude":"05e35328","is_valid_coordinates":true} 
[2026-06-23 08:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238809088001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96267912368619520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947953453056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782182849000,"timestamp_ms":1782182849000,"timestamp_seconds":1782182849,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26029e8"} 
[2026-06-23 08:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18: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-06-23 08:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:08] 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-06-23 08:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238809088001,"66":13037,"97":206,"85":15104,"24":11,"16":96267912368619520,"45":8866109947953453056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238809088001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96267912368619520,"km_value":96267912368619.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947953453056,"description":"Unknown IO ID 45"} 
[2026-06-23 08:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238809088001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8866109947953453056}} 
[2026-06-23 08:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":110707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:08] local.INFO: GPS data processed {"connection_id":110707,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:08] local.INFO: Acknowledgment sent {"connection_id":110707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:18:12] local.INFO: TCP Data received {"connection_id":110707,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2602dd0012d7b0c4005e354100008002425..."} 
[2026-06-23 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2602dd0012d7b0c4005e354100008002425..."} 
[2026-06-23 08:18:12] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2602dd0012d7b0c4005e354100008002425..."} 
[2026-06-23 08:18:12] local.INFO: Packet analysis {"connection_id":110707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:12] local.INFO: Extracted packet for processing {"connection_id":110707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98784272,"longitude_deg":76.3038784,"latitude_deg":9.8784272,"altitude":8,"angle":36,"satellites":37,"speed":12,"hex_longitude":"2d7b0c40","hex_latitude":"05e35410","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238809344001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96267925253521408,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422930200576,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782182850000,"timestamp_ms":1782182850000,"timestamp_seconds":1782182850,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2602dd0"} 
[2026-06-23 08:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18: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-06-23 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:12] 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-06-23 08: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-06-23 08:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238809344001,"66":13037,"97":206,"85":15104,"24":12,"16":96267925253521408,"45":8866391422930200576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238809344001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96267925253521408,"km_value":96267925253521.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422930200576,"description":"Unknown IO ID 45"} 
[2026-06-23 08:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238809344001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866391422930200576}} 
[2026-06-23 08:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":110707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:12] local.INFO: GPS data processed {"connection_id":110707,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:12] local.INFO: Acknowledgment sent {"connection_id":110707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:18:24] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:18:24] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:18:24] local.INFO: IMEI packet received {"connection_id":110537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":110537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:18:25] local.INFO: TCP Data received {"connection_id":112269,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25f7e08012d182b4007219b08004e01321f..."} 
[2026-06-23 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25f7e08012d182b4007219b08004e01321f..."} 
[2026-06-23 08:18:25] local.INFO: Processing buffer {"connection_id":112269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25f7e08012d182b4007219b08004e01321f..."} 
[2026-06-23 08:18:25] local.INFO: Packet analysis {"connection_id":112269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:18:25] local.INFO: Extracted packet for processing {"connection_id":112269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642888,"longitude_deg":75.6558656,"latitude_deg":11.9642888,"altitude":78,"angle":306,"satellites":31,"speed":21,"hex_longitude":"2d182b40","hex_latitude":"07219b08","is_valid_coordinates":true} 
[2026-06-23 08:18: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-06-23 08:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3865728264437760,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745496729955090432,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782182805000,"timestamp_ms":1782182805000,"timestamp_seconds":1782182805,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25f7e08"} 
[2026-06-23 08:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18:25] 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-06-23 08:18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:25] 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-06-23 08:18: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-06-23 08:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238796544001,"66":13993,"105":206,"83":41984,"24":21,"16":3865728264437760,"45":1745496729955090432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3865728264437760,"km_value":3865728264437.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745496729955090432,"description":"Unknown IO ID 45"} 
[2026-06-23 08:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238796544001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1745496729955090432}} 
[2026-06-23 08:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":112269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:26] local.INFO: GPS data processed {"connection_id":112269,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:26] local.INFO: Acknowledgment sent {"connection_id":112269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:18:27] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:18:27] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:18:27] local.INFO: IMEI packet received {"connection_id":110537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":110537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:18:28] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2604540012cb6ebc0077600b8004501162a..."} 
[2026-06-23 08:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2604540012cb6ebc0077600b8004501162a..."} 
[2026-06-23 08:18:28] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2604540012cb6ebc0077600b8004501162a..."} 
[2026-06-23 08:18:28] local.INFO: Packet analysis {"connection_id":110537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:28] local.INFO: Extracted packet for processing {"connection_id":110537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:28] local.INFO: GPS Element Parsed {"raw_longitude":750185408,"raw_latitude":125173944,"longitude_deg":75.0185408,"latitude_deg":12.5173944,"altitude":69,"angle":278,"satellites":42,"speed":59,"hex_longitude":"2cb6ebc0","hex_latitude":"077600b8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238809600001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321220101556666368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5256052576818176000,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782182856000,"timestamp_ms":1782182856000,"timestamp_seconds":1782182856,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2604540"} 
[2026-06-23 08:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18:28] 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-06-23 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:28] 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-06-23 08: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-06-23 08:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":110537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238809600001,"66":27919,"202":206,"27":54016,"24":59,"16":321220101556666368,"44":-5256052576818176000},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-06-23 08:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238809600001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321220101556666368,"km_value":321220101556666.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5256052576818176000,"description":"Unknown IO ID 44"} 
[2026-06-23 08:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238809600001,"power":27919,"mcc":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-5256052576818176000}} 
[2026-06-23 08:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":110537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:28] local.INFO: GPS data processed {"connection_id":110537,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:28] local.INFO: Acknowledgment sent {"connection_id":110537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:18:37] local.INFO: TCP Data received {"connection_id":110708,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:18:37] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:18:37] local.INFO: IMEI packet received {"connection_id":110708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":110708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:18:42] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:42] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:42] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:18:42] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:42] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:42] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:18:48] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:48] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:18:48] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:18:49] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef25face8012d181e800721a5b00050013e1f..."} 
[2026-06-23 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef25face8012d181e800721a5b00050013e1f..."} 
[2026-06-23 08:18:49] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef25face8012d181e800721a5b00050013e1f..."} 
[2026-06-23 08:18:49] local.INFO: Packet analysis {"connection_id":111336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:18:49] local.INFO: Extracted packet for processing {"connection_id":111336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef25f"} 
[2026-06-23 08:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645616,"longitude_deg":75.6555392,"latitude_deg":11.9645616,"altitude":80,"angle":318,"satellites":31,"speed":5,"hex_longitude":"2d181e80","hex_latitude":"0721a5b0","is_valid_coordinates":true} 
[2026-06-23 08:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238798080001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3865934422867968,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281585664,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182817000,"timestamp_ms":1782182817000,"timestamp_seconds":1782182817,"priority":1,"record_length":96,"hex_timestamp":"0000019ef25face8"} 
[2026-06-23 08:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18:49] 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-06-23 08:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:49] 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-06-23 08:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238798080001,"66":13972,"105":206,"83":41984,"24":5,"16":3865934422867968,"45":1741556080281585664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238798080001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3865934422867968,"km_value":3865934422867.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281585664,"description":"Unknown IO ID 45"} 
[2026-06-23 08:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238798080001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741556080281585664}} 
[2026-06-23 08:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":111336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:49] local.INFO: GPS data processed {"connection_id":111336,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:49] local.INFO: Acknowledgment sent {"connection_id":111336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:18:54] local.INFO: TCP Data received {"connection_id":110709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:54] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:54] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:18:57] local.INFO: TCP Data received {"connection_id":110709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:57] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:18:57] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:18:59] local.INFO: TCP Data received {"connection_id":110537,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2605cb0012cb6c840077606a00044011729..."} 
[2026-06-23 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2605cb0012cb6c840077606a00044011729..."} 
[2026-06-23 08:18:59] local.INFO: Processing buffer {"connection_id":110537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2605cb0012cb6c840077606a00044011729..."} 
[2026-06-23 08:18:59] local.INFO: Packet analysis {"connection_id":110537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:59] local.INFO: Extracted packet for processing {"connection_id":110537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":750176320,"raw_latitude":125175456,"longitude_deg":75.017632,"latitude_deg":12.5175456,"altitude":68,"angle":279,"satellites":41,"speed":59,"hex_longitude":"2cb6c840","hex_latitude":"077606a0","is_valid_coordinates":true} 
[2026-06-23 08:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238811136001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321220539643330560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5265904201002600448,"note":"Value kept but may cause issues"} 
[2026-06-23 08:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782182862000,"timestamp_ms":1782182862000,"timestamp_seconds":1782182862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2605cb0"} 
[2026-06-23 08:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:18:59] 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-06-23 08:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:18:59] 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-06-23 08:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238811136001,"66":27919,"202":206,"27":54016,"24":59,"16":321220539643330560,"44":-5265904201002600448},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-06-23 08:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238811136001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:18:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321220539643330560,"km_value":321220539643330.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5265904201002600448,"description":"Unknown IO ID 44"} 
[2026-06-23 08:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238811136001,"power":27919,"mcc":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-5265904201002600448}} 
[2026-06-23 08:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":110537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:18:59] local.INFO: GPS data processed {"connection_id":110537,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:18:59] local.INFO: Acknowledgment sent {"connection_id":110537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:02] local.INFO: TCP Data received {"connection_id":110709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:19:02] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:19:02] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:19:03] local.INFO: TCP Data received {"connection_id":110709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2607420012d7b20c005e372300009001e25..."} 
[2026-06-23 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2607420012d7b20c005e372300009001e25..."} 
[2026-06-23 08:19:03] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2607420012d7b20c005e372300009001e25..."} 
[2026-06-23 08:19:03] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:03] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":98791984,"longitude_deg":76.3044032,"latitude_deg":9.8791984,"altitude":9,"angle":30,"satellites":37,"speed":19,"hex_longitude":"2d7b20c0","hex_latitude":"05e37230","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238809600001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96268376225087488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160418615296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182868000,"timestamp_ms":1782182868000,"timestamp_seconds":1782182868,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2607420"} 
[2026-06-23 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-06-23 08:19: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-06-23 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:03] 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-06-23 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-06-23 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-06-23 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238809600001,"66":12906,"97":206,"85":15104,"24":19,"16":96268376225087488,"45":8866532160418615296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238809600001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96268376225087488,"km_value":96268376225087.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160418615296,"description":"Unknown IO ID 45"} 
[2026-06-23 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238809600001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8866532160418615296}} 
[2026-06-23 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:03] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:03] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:04] local.INFO: TCP Data received {"connection_id":110709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26083c0012d7b238005e377280009001226..."} 
[2026-06-23 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26083c0012d7b238005e377280009001226..."} 
[2026-06-23 08:19:04] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26083c0012d7b238005e377280009001226..."} 
[2026-06-23 08:19:04] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:04] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763044736,"raw_latitude":98793256,"longitude_deg":76.3044736,"latitude_deg":9.8793256,"altitude":9,"angle":18,"satellites":38,"speed":8,"hex_longitude":"2d7b2380","hex_latitude":"05e37728","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238814208001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96268444944564224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302397443158016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782182872000,"timestamp_ms":1782182872000,"timestamp_seconds":1782182872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26083c0"} 
[2026-06-23 08:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:19: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-06-23 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:04] 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-06-23 08: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-06-23 08:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238814208001,"66":12906,"97":206,"85":15104,"24":8,"16":96268444944564224,"45":8872302397443158016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238814208001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96268444944564224,"km_value":96268444944564.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302397443158016,"description":"Unknown IO ID 45"} 
[2026-06-23 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238814208001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8872302397443158016}} 
[2026-06-23 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:04] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:04] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:12] local.INFO: TCP Data received {"connection_id":111337,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:19:12] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:19:12] local.INFO: IMEI packet received {"connection_id":111337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":111337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:19:20] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2611c18012d17e78007216918004e00d01f..."} 
[2026-06-23 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2611c18012d17e78007216918004e00d01f..."} 
[2026-06-23 08:19:20] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2611c18012d17e78007216918004e00d01f..."} 
[2026-06-23 08:19:20] local.INFO: Packet analysis {"connection_id":111336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:19:20] local.INFO: Extracted packet for processing {"connection_id":111336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756541312,"raw_latitude":119630104,"longitude_deg":75.6541312,"latitude_deg":11.9630104,"altitude":78,"angle":208,"satellites":31,"speed":38,"hex_longitude":"2d17e780","hex_latitude":"07216918","is_valid_coordinates":true} 
[2026-06-23 08:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238823936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866973804953600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725512006606825472,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782182911000,"timestamp_ms":1782182911000,"timestamp_seconds":1782182911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2611c18"} 
[2026-06-23 08:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:19:20] 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-06-23 08:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:20] 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-06-23 08:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238823936001,"66":14407,"107":206,"83":41984,"24":38,"16":3866973804953600,"45":1725512006606825472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238823936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866973804953600,"km_value":3866973804953.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725512006606825472,"description":"Unknown IO ID 45"} 
[2026-06-23 08:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238823936001,"power":14407,"unknown_107":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1725512006606825472}} 
[2026-06-23 08:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":111336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:20] local.INFO: GPS data processed {"connection_id":111336,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:20] local.INFO: Acknowledgment sent {"connection_id":111336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:24] local.INFO: TCP Data received {"connection_id":110710,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:24] local.INFO: Processing buffer {"connection_id":110710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:24] local.INFO: IMEI packet received {"connection_id":110710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":110710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:19:27] local.INFO: TCP Data received {"connection_id":110710,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:27] local.INFO: Processing buffer {"connection_id":110710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:27] local.INFO: IMEI packet received {"connection_id":110710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":110710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:19:30] local.INFO: TCP Data received {"connection_id":110710,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:30] local.INFO: Processing buffer {"connection_id":110710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:19:30] local.INFO: IMEI packet received {"connection_id":110710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:19:31] local.INFO: TCP Data received {"connection_id":110710,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2607420012cb6a4c007760b30004201132a..."} 
[2026-06-23 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2607420012cb6a4c007760b30004201132a..."} 
[2026-06-23 08:19:31] local.INFO: Processing buffer {"connection_id":110710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2607420012cb6a4c007760b30004201132a..."} 
[2026-06-23 08:19:31] local.INFO: Packet analysis {"connection_id":110710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:31] local.INFO: Extracted packet for processing {"connection_id":110710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":750167232,"raw_latitude":125176624,"longitude_deg":75.0167232,"latitude_deg":12.5176624,"altitude":66,"angle":275,"satellites":42,"speed":59,"hex_longitude":"2cb6a4c0","hex_latitude":"07760b30","is_valid_coordinates":true} 
[2026-06-23 08:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238812672001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321220973435027456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5275896562675441664,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782182868000,"timestamp_ms":1782182868000,"timestamp_seconds":1782182868,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2607420"} 
[2026-06-23 08:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:19:31] 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-06-23 08:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:31] 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-06-23 08:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238812672001,"66":27865,"40":206,"27":54016,"24":59,"16":321220973435027456,"44":-5275896562675441664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-06-23 08:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238812672001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:31] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-23 08:19:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321220973435027456,"km_value":321220973435027.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5275896562675441664,"description":"Unknown IO ID 44"} 
[2026-06-23 08:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238812672001,"power":27865,"unknown_40":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-5275896562675441664}} 
[2026-06-23 08:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":110710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:31] local.INFO: GPS data processed {"connection_id":110710,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:31] local.INFO: Acknowledgment sent {"connection_id":110710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:38] local.INFO: TCP Data received {"connection_id":110710,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2608b90012cb6814007760c980041010d2a..."} 
[2026-06-23 08:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2608b90012cb6814007760c980041010d2a..."} 
[2026-06-23 08:19:38] local.INFO: Processing buffer {"connection_id":110710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2608b90012cb6814007760c980041010d2a..."} 
[2026-06-23 08:19:38] local.INFO: Packet analysis {"connection_id":110710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:38] local.INFO: Extracted packet for processing {"connection_id":110710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:38] local.INFO: GPS Element Parsed {"raw_longitude":750158144,"raw_latitude":125176984,"longitude_deg":75.0158144,"latitude_deg":12.5176984,"altitude":65,"angle":269,"satellites":42,"speed":59,"hex_longitude":"2cb68140","hex_latitude":"07760c98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238814208001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321221402931757056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5285888924348370944,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782182874000,"timestamp_ms":1782182874000,"timestamp_seconds":1782182874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2608b90"} 
[2026-06-23 08:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:19: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-06-23 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:38] 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-06-23 08: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-06-23 08:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238814208001,"66":27789,"40":206,"27":54016,"24":59,"16":321221402931757056,"44":-5285888924348370944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16,44]} 
[2026-06-23 08:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238814208001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321221402931757056,"km_value":321221402931757.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5285888924348370944,"description":"Unknown IO ID 44"} 
[2026-06-23 08:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238814208001,"power":27789,"unknown_40":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-5285888924348370944}} 
[2026-06-23 08:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":110710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:38] local.INFO: GPS data processed {"connection_id":110710,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:38] local.INFO: Acknowledgment sent {"connection_id":110710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:43] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:43] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:43] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:19:43] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:44] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:44] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:19:48] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:48] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:19:48] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:19:49] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2613b58012d17d580072149e8004500d11f..."} 
[2026-06-23 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2613b58012d17d580072149e8004500d11f..."} 
[2026-06-23 08:19:49] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2613b58012d17d580072149e8004500d11f..."} 
[2026-06-23 08:19:49] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:19:49] local.INFO: Extracted packet for processing {"connection_id":111338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756536704,"raw_latitude":119622120,"longitude_deg":75.6536704,"latitude_deg":11.962212,"altitude":69,"angle":209,"satellites":31,"speed":50,"hex_longitude":"2d17d580","hex_latitude":"072149e8","is_valid_coordinates":true} 
[2026-06-23 08:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238825216001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867420481552384,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722486150606166016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182919000,"timestamp_ms":1782182919000,"timestamp_seconds":1782182919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2613b58"} 
[2026-06-23 08:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:19:49] 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-06-23 08:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:49] 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-06-23 08:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238825216001,"66":14341,"107":206,"83":41984,"24":50,"16":3867420481552384,"45":1722486150606166016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238825216001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867420481552384,"km_value":3867420481552.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722486150606166016,"description":"Unknown IO ID 45"} 
[2026-06-23 08:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238825216001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1722486150606166016}} 
[2026-06-23 08:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":111338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:49] local.INFO: GPS data processed {"connection_id":111338,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:49] local.INFO: Acknowledgment sent {"connection_id":111338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:52] local.INFO: TCP Data received {"connection_id":110709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2609748012d7b258005e37be0000a001d28..."} 
[2026-06-23 08:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2609748012d7b258005e37be0000a001d28..."} 
[2026-06-23 08:19:52] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2609748012d7b258005e37be0000a001d28..."} 
[2026-06-23 08:19:52] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:52] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98794464,"longitude_deg":76.3045248,"latitude_deg":9.8794464,"altitude":10,"angle":29,"satellites":40,"speed":17,"hex_longitude":"2d7b2580","hex_latitude":"05e37be0","is_valid_coordinates":true} 
[2026-06-23 08:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238815232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96268509369073664,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453629437952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782182877000,"timestamp_ms":1782182877000,"timestamp_seconds":1782182877,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2609748"} 
[2026-06-23 08:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 08:19:52] 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-06-23 08:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238815232001,"66":12667,"97":206,"85":15104,"24":17,"16":96268509369073664,"45":8873076453629437952},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238815232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96268509369073664,"km_value":96268509369073.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453629437952,"description":"Unknown IO ID 45"} 
[2026-06-23 08:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238815232001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8873076453629437952}} 
[2026-06-23 08:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:19:52] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:19:52] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:19:57] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:19:57] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:19:57] local.INFO: IMEI packet received {"connection_id":110538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":110538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:20:02] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:02] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:02] local.INFO: IMEI packet received {"connection_id":110538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":110538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:20:03] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef260fcd8012d7b4f0005e3b7780009002829..."} 
[2026-06-23 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef260fcd8012d7b4f0005e3b7780009002829..."} 
[2026-06-23 08:20:03] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef260fcd8012d7b4f0005e3b7780009002829..."} 
[2026-06-23 08:20:03] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:20:03] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef260"} 
[2026-06-23 08:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":98809720,"longitude_deg":76.3055872,"latitude_deg":9.880972,"altitude":9,"angle":40,"satellites":41,"speed":28,"hex_longitude":"2d7b4f00","hex_latitude":"05e3b778","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238820096001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96269407017238528,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879268903119304704,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782182903000,"timestamp_ms":1782182903000,"timestamp_seconds":1782182903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef260fcd8"} 
[2026-06-23 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-06-23 08:20: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-06-23 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:20:03] 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-06-23 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-06-23 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-06-23 08:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238820096001,"66":13015,"97":206,"85":15104,"24":28,"16":96269407017238528,"45":8879268903119304704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 08:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238820096001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 08:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 08:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96269407017238528,"km_value":96269407017238.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879268903119304704,"description":"Unknown IO ID 45"} 
[2026-06-23 08:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238820096001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8879268903119304704}} 
[2026-06-23 08:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:20:03] local.INFO: GPS data processed {"connection_id":110538,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:20:03] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:20:09] local.INFO: TCP Data received {"connection_id":110710,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef261e350012cb4be80077544d80031010c2c..."} 
[2026-06-23 08:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef261e350012cb4be80077544d80031010c2c..."} 
[2026-06-23 08:20:09] local.INFO: Processing buffer {"connection_id":110710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef261e350012cb4be80077544d80031010c2c..."} 
[2026-06-23 08:20:09] local.INFO: Packet analysis {"connection_id":110710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:09] local.INFO: Extracted packet for processing {"connection_id":110710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:09] local.INFO: GPS Element Parsed {"raw_longitude":750042752,"raw_latitude":125125848,"longitude_deg":75.0042752,"latitude_deg":12.5125848,"altitude":49,"angle":268,"satellites":44,"speed":53,"hex_longitude":"2cb4be80","hex_latitude":"077544d8","is_valid_coordinates":true} 
[2026-06-23 08:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238837504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321227596274597888,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5418322900903622656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782182962000,"timestamp_ms":1782182962000,"timestamp_seconds":1782182962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef261e350"} 
[2026-06-23 08:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 08:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238837504001,"66":27974,"5":206,"27":54016,"24":53,"16":321227596274597888,"44":-5418322900903622656},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-06-23 08:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238837504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:20:09] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-23 08:20:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321227596274597888,"km_value":321227596274597.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5418322900903622656,"description":"Unknown IO ID 44"} 
[2026-06-23 08:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238837504001,"power":27974,"unknown_5":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5418322900903622656}} 
[2026-06-23 08:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":110710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:20:09] local.INFO: GPS data processed {"connection_id":110710,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:20:09] local.INFO: Acknowledgment sent {"connection_id":110710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:20:21] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26156b0012d17c0c007212af0003f00da1f..."} 
[2026-06-23 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26156b0012d17c0c007212af0003f00da1f..."} 
[2026-06-23 08:20:21] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26156b0012d17c0c007212af0003f00da1f..."} 
[2026-06-23 08:20:21] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:21] local.INFO: Extracted packet for processing {"connection_id":111338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756531392,"raw_latitude":119614192,"longitude_deg":75.6531392,"latitude_deg":11.9614192,"altitude":63,"angle":218,"satellites":31,"speed":53,"hex_longitude":"2d17c0c0","hex_latitude":"07212af0","is_valid_coordinates":true} 
[2026-06-23 08:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238827264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867880043053056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717419601023330304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] 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-06-23 08:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782182926000,"timestamp_ms":1782182926000,"timestamp_seconds":1782182926,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26156b0"} 
[2026-06-23 08:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6961651808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4066403456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503658617569280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2415394896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3160276992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84750477602267557,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.WARNING: Large IO value detected {"io_id":96,"raw_value":22237515817682688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:21] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,189,158,28,45,128,105,78,31,10,66,188,8,64,120,81,221,1,240,179,227,242,33,4,113,205,178,14,56,239,2,13,7,79,11,206,152,96],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-06-23 08:20:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972203919694495744,"timestamp_seconds":4972203919694496.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238827264001,"66":14374,"107":206,"83":41984,"24":53,"16":3867880043053056,"45":1717419601023330304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238827264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:20:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867880043053056,"km_value":3867880043053.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717419601023330304,"description":"Unknown IO ID 45"} 
[2026-06-23 08:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238827264001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1717419601023330304}} 
[2026-06-23 08:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":111338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:20:21] local.INFO: GPS data processed {"connection_id":111338,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:20:21] local.INFO: Acknowledgment sent {"connection_id":111338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:20:24] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:24] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:24] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:20:25] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:25] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:25] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:20:28] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:28] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:20:28] local.INFO: IMEI packet received {"connection_id":110539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":110539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:20:30] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef261ef08012cb4ae8007754640003001192a..."} 
[2026-06-23 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef261ef08012cb4ae8007754640003001192a..."} 
[2026-06-23 08:20:30] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef261ef08012cb4ae8007754640003001192a..."} 
[2026-06-23 08:20:30] local.INFO: Packet analysis {"connection_id":110539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:30] local.INFO: Extracted packet for processing {"connection_id":110539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750038656,"raw_latitude":125126208,"longitude_deg":75.0038656,"latitude_deg":12.5126208,"altitude":48,"angle":281,"satellites":42,"speed":53,"hex_longitude":"2cb4ae80","hex_latitude":"07754640","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238838272001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321227789548126208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5422756131786926080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782182965000,"timestamp_ms":1782182965000,"timestamp_seconds":1782182965,"priority":1,"record_length":96,"hex_timestamp":"0000019ef261ef08"} 
[2026-06-23 08:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:20:30] 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-06-23 08: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 08:20:30] 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-06-23 08: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-06-23 08:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238838272001,"66":27517,"5":206,"27":54016,"24":53,"16":321227789548126208,"44":-5422756131786926080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-06-23 08:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238838272001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:20:30] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-23 08:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321227789548126208,"km_value":321227789548126.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5422756131786926080,"description":"Unknown IO ID 44"} 
[2026-06-23 08:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238838272001,"power":27517,"unknown_5":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5422756131786926080}} 
[2026-06-23 08:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":110539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:20:30] local.INFO: GPS data processed {"connection_id":110539,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:20:30] local.INFO: Acknowledgment sent {"connection_id":110539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:20:34] local.INFO: TCP Data received {"connection_id":110538,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262a2b8012d7c3fc005e525500005015f29..."} 
[2026-06-23 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262a2b8012d7c3fc005e525500005015f29..."} 
[2026-06-23 08:20:34] local.INFO: Processing buffer {"connection_id":110538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262a2b8012d7c3fc005e525500005015f29..."} 
[2026-06-23 08:20:34] local.INFO: Packet analysis {"connection_id":110538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:20:34] local.INFO: Extracted packet for processing {"connection_id":110538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":98903376,"longitude_deg":76.3117504,"latitude_deg":9.8903376,"altitude":5,"angle":351,"satellites":41,"speed":20,"hex_longitude":"2d7c3fc0","hex_latitude":"05e52550","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238850560001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96274835855900672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953156084531683328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20: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-06-23 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782183011000,"timestamp_ms":1782183011000,"timestamp_seconds":1782183011,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262a2b8"} 
[2026-06-23 08:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:20: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-06-23 08: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-23 08:20: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-06-23 08: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-06-23 08:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238850560001,"66":13243,"39":206,"87":13824,"24":20,"16":96274835855900672,"45":8953156084531683328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238850560001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:20:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:20:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96274835855900672,"km_value":96274835855900.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953156084531683328,"description":"Unknown IO ID 45"} 
[2026-06-23 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238850560001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8953156084531683328}} 
[2026-06-23 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":110538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:20:34] local.INFO: GPS data processed {"connection_id":110538,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:20:34] local.INFO: Acknowledgment sent {"connection_id":110538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:20:43] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:20:43] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:20:43] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:20:47] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:20:47] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:20:47] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:20:49] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2617208012d17a7c007211220003f00e71e..."} 
[2026-06-23 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2617208012d17a7c007211220003f00e71e..."} 
[2026-06-23 08:20:49] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2617208012d17a7c007211220003f00e71e..."} 
[2026-06-23 08:20:49] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:49] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef261"} 
[2026-06-23 08:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756524992,"raw_latitude":119607840,"longitude_deg":75.6524992,"latitude_deg":11.960784,"altitude":63,"angle":231,"satellites":30,"speed":45,"hex_longitude":"2d17a7c0","hex_latitude":"07211220","is_valid_coordinates":true} 
[2026-06-23 08:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238829056001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868313834749952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711578995254554624,"note":"Value kept but may cause issues"} 
[2026-06-23 08:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782182933000,"timestamp_ms":1782182933000,"timestamp_seconds":1782182933,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2617208"} 
[2026-06-23 08:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:20:49] 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-06-23 08:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 08:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238829056001,"66":14428,"107":206,"83":41984,"24":45,"16":3868313834749952,"45":1711578995254554624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238829056001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:20:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868313834749952,"km_value":3868313834749.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711578995254554624,"description":"Unknown IO ID 45"} 
[2026-06-23 08:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238829056001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1711578995254554624}} 
[2026-06-23 08:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:20:49] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:20:49] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:20:56] local.INFO: TCP Data received {"connection_id":112271,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:56] local.INFO: Processing buffer {"connection_id":112271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:56] local.INFO: IMEI packet received {"connection_id":112271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":112271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:20:56] local.INFO: TCP Data received {"connection_id":112271,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:56] local.INFO: Processing buffer {"connection_id":112271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:20:56] local.INFO: IMEI packet received {"connection_id":112271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":112271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:21:01] local.INFO: TCP Data received {"connection_id":110539,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2628760012cb4030007755ce8002700e72b..."} 
[2026-06-23 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2628760012cb4030007755ce8002700e72b..."} 
[2026-06-23 08:21:01] local.INFO: Processing buffer {"connection_id":110539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2628760012cb4030007755ce8002700e72b..."} 
[2026-06-23 08:21:01] local.INFO: Packet analysis {"connection_id":110539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:01] local.INFO: Extracted packet for processing {"connection_id":110539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:01] local.INFO: GPS Element Parsed {"raw_longitude":749994752,"raw_latitude":125132008,"longitude_deg":74.9994752,"latitude_deg":12.5132008,"altitude":39,"angle":231,"satellites":43,"speed":40,"hex_longitude":"2cb40300","hex_latitude":"07755ce8","is_valid_coordinates":true} 
[2026-06-23 08:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238847488001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321230095945564160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5470255034104545280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782183004000,"timestamp_ms":1782183004000,"timestamp_seconds":1782183004,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2628760"} 
[2026-06-23 08:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21:01] 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-06-23 08:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:01] 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-06-23 08:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238847488001,"66":28028,"100":206,"27":54016,"24":40,"16":321230095945564160,"44":-5470255034104545280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-06-23 08:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238847488001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 08:21:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321230095945564160,"km_value":321230095945564.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5470255034104545280,"description":"Unknown IO ID 44"} 
[2026-06-23 08:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238847488001,"power":28028,"unknown_100":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5470255034104545280}} 
[2026-06-23 08:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":110539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:01] local.INFO: GPS data processed {"connection_id":110539,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:01] local.INFO: Acknowledgment sent {"connection_id":110539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:02] local.INFO: TCP Data received {"connection_id":112271,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:21:02] local.INFO: Processing buffer {"connection_id":112271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:21:02] local.INFO: IMEI packet received {"connection_id":112271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":112271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:21:03] local.INFO: TCP Data received {"connection_id":112271,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262d198012d7c37c005e547a00004015c26..."} 
[2026-06-23 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262d198012d7c37c005e547a00004015c26..."} 
[2026-06-23 08:21:03] local.INFO: Processing buffer {"connection_id":112271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262d198012d7c37c005e547a00004015c26..."} 
[2026-06-23 08:21:03] local.INFO: Packet analysis {"connection_id":112271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:03] local.INFO: Extracted packet for processing {"connection_id":112271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763115456,"raw_latitude":98912160,"longitude_deg":76.3115456,"latitude_deg":9.891216,"altitude":4,"angle":348,"satellites":38,"speed":32,"hex_longitude":"2d7c37c0","hex_latitude":"05e547a0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238850816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96275273942564864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715787632640,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:03] 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-06-23 08:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183023000,"timestamp_ms":1782183023000,"timestamp_seconds":1782183023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262d198"} 
[2026-06-23 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-06-23 08:21: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-06-23 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:03] 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-06-23 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-06-23 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-06-23 08:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238850816001,"66":13298,"39":206,"87":13824,"24":32,"16":96275273942564864,"45":8953085715787632640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238850816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:21:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96275273942564864,"km_value":96275273942564.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715787632640,"description":"Unknown IO ID 45"} 
[2026-06-23 08:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238850816001,"power":13298,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8953085715787632640}} 
[2026-06-23 08:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":112271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:03] local.INFO: GPS data processed {"connection_id":112271,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:03] local.INFO: Acknowledgment sent {"connection_id":112271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:20] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262d198012d167b4007200b38002e00f41f..."} 
[2026-06-23 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262d198012d167b4007200b38002e00f41f..."} 
[2026-06-23 08:21:20] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262d198012d167b4007200b38002e00f41f..."} 
[2026-06-23 08:21:20] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:20] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756448064,"raw_latitude":119540536,"longitude_deg":75.6448064,"latitude_deg":11.9540536,"altitude":46,"angle":244,"satellites":31,"speed":42,"hex_longitude":"2d167b40","hex_latitude":"07200b38","is_valid_coordinates":true} 
[2026-06-23 08:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238851584001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3873244457205760,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629740145758160896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782183023000,"timestamp_ms":1782183023000,"timestamp_seconds":1782183023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262d198"} 
[2026-06-23 08:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21:20] 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-06-23 08:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238851584001,"66":14428,"87":206,"83":41984,"24":42,"16":3873244457205760,"45":1629740145758160896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238851584001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3873244457205760,"km_value":3873244457205.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629740145758160896,"description":"Unknown IO ID 45"} 
[2026-06-23 08:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238851584001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1629740145758160896}} 
[2026-06-23 08:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:21] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:21] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:30] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:21:30] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:21:30] local.INFO: IMEI packet received {"connection_id":110540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":110540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:21:35] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:21:35] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:21:35] local.INFO: IMEI packet received {"connection_id":110540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":110540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:21:36] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2629ae8012cb3f28007754d90002600db29..."} 
[2026-06-23 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2629ae8012cb3f28007754d90002600db29..."} 
[2026-06-23 08:21:36] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2629ae8012cb3f28007754d90002600db29..."} 
[2026-06-23 08:21:36] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:36] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:36] local.INFO: GPS Element Parsed {"raw_longitude":749990528,"raw_latitude":125128080,"longitude_deg":74.9990528,"latitude_deg":12.512808,"altitude":38,"angle":219,"satellites":41,"speed":49,"hex_longitude":"2cb3f280","hex_latitude":"07754d90","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238849024001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321230370823471104,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5475532689918597120,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782183009000,"timestamp_ms":1782183009000,"timestamp_seconds":1782183009,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2629ae8"} 
[2026-06-23 08:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21: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-06-23 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:36] 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-06-23 08: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-06-23 08:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238849024001,"66":28006,"100":206,"27":54016,"24":49,"16":321230370823471104,"44":-5475532689918597120},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-06-23 08:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238849024001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 08:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321230370823471104,"km_value":321230370823471.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5475532689918597120,"description":"Unknown IO ID 44"} 
[2026-06-23 08:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238849024001,"power":28006,"unknown_100":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5475532689918597120}} 
[2026-06-23 08:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:36] local.INFO: GPS data processed {"connection_id":110540,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:36] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:38] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262b640012cb3dc4007753028002400d826..."} 
[2026-06-23 08:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262b640012cb3dc4007753028002400d826..."} 
[2026-06-23 08:21:38] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262b640012cb3dc4007753028002400d826..."} 
[2026-06-23 08:21:38] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:38] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:38] local.INFO: GPS Element Parsed {"raw_longitude":749984832,"raw_latitude":125120552,"longitude_deg":74.9984832,"latitude_deg":12.5120552,"altitude":36,"angle":216,"satellites":38,"speed":52,"hex_longitude":"2cb3dc40","hex_latitude":"07753028","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238850304001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321230826090004480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5480177027035328512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782183016000,"timestamp_ms":1782183016000,"timestamp_seconds":1782183016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262b640"} 
[2026-06-23 08:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21: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-06-23 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:38] 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-06-23 08: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-06-23 08:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238850304001,"66":27865,"100":206,"27":54016,"24":52,"16":321230826090004480,"44":-5480177027035328512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-06-23 08:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238850304001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 08:21:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321230826090004480,"km_value":321230826090004.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5480177027035328512,"description":"Unknown IO ID 44"} 
[2026-06-23 08:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238850304001,"power":27865,"unknown_100":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-5480177027035328512}} 
[2026-06-23 08:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:38] local.INFO: GPS data processed {"connection_id":110540,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:38] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:46] local.INFO: TCP Data received {"connection_id":112271,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262e908012d7c320005e556f00004014f28..."} 
[2026-06-23 08:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262e908012d7c320005e556f00004014f28..."} 
[2026-06-23 08:21:46] local.INFO: Processing buffer {"connection_id":112271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262e908012d7c320005e556f00004014f28..."} 
[2026-06-23 08:21:46] local.INFO: Packet analysis {"connection_id":112271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:46] local.INFO: Extracted packet for processing {"connection_id":112271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:46] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98916080,"longitude_deg":76.3113984,"latitude_deg":9.891608,"altitude":4,"angle":335,"satellites":40,"speed":24,"hex_longitude":"2d7c3200","hex_latitude":"05e556f0","is_valid_coordinates":true} 
[2026-06-23 08:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238853888001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96275475806027776,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950833915976196096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:46] 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-06-23 08:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782183029000,"timestamp_ms":1782183029000,"timestamp_seconds":1782183029,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262e908"} 
[2026-06-23 08:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21:46] 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-06-23 08:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:46] 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-06-23 08:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238853888001,"66":12939,"39":206,"87":13824,"24":24,"16":96275475806027776,"45":8950833915976196096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238853888001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96275475806027776,"km_value":96275475806027.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950833915976196096,"description":"Unknown IO ID 45"} 
[2026-06-23 08:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238853888001,"power":12939,"unknown_39":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8950833915976196096}} 
[2026-06-23 08:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":112271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:46] local.INFO: GPS data processed {"connection_id":112271,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:46] local.INFO: Acknowledgment sent {"connection_id":112271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:47] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:48] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:48] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:21:52] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:52] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:52] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:21:52] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:52] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:21:52] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:21:53] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262f4c0012d165a40071ffbb8002d00f41e..."} 
[2026-06-23 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262f4c0012d165a40071ffbb8002d00f41e..."} 
[2026-06-23 08:21:53] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262f4c0012d165a40071ffbb8002d00f41e..."} 
[2026-06-23 08:21:53] local.INFO: Packet analysis {"connection_id":111339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:53] local.INFO: Extracted packet for processing {"connection_id":111339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756439616,"raw_latitude":119536568,"longitude_deg":75.6439616,"latitude_deg":11.9536568,"altitude":45,"angle":244,"satellites":30,"speed":40,"hex_longitude":"2d165a40","hex_latitude":"071ffbb8","is_valid_coordinates":true} 
[2026-06-23 08:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238853888001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3873691133804544,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1619958890316380160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:53] 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-06-23 08:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782183032000,"timestamp_ms":1782183032000,"timestamp_seconds":1782183032,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262f4c0"} 
[2026-06-23 08:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21:53] 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-06-23 08:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:21:53] 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-06-23 08:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238853888001,"66":14396,"87":206,"83":41984,"24":40,"16":3873691133804544,"45":1619958890316380160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238853888001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3873691133804544,"km_value":3873691133804.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1619958890316380160,"description":"Unknown IO ID 45"} 
[2026-06-23 08:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238853888001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1619958890316380160}} 
[2026-06-23 08:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":111339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:53] local.INFO: GPS data processed {"connection_id":111339,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:53] local.INFO: Acknowledgment sent {"connection_id":111339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:21:56] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:21:56] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:21:56] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:21:58] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26317e8012d163880071fed40002e00f21e..."} 
[2026-06-23 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26317e8012d163880071fed40002e00f21e..."} 
[2026-06-23 08:21:58] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26317e8012d163880071fed40002e00f21e..."} 
[2026-06-23 08:21:58] local.INFO: Packet analysis {"connection_id":111339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:21:58] local.INFO: Extracted packet for processing {"connection_id":111339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756430976,"raw_latitude":119532864,"longitude_deg":75.6430976,"latitude_deg":11.9532864,"altitude":46,"angle":242,"satellites":30,"speed":43,"hex_longitude":"2d163880","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-06-23 08:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238856192001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3874137810403328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1610670216083912704,"note":"Value kept but may cause issues"} 
[2026-06-23 08:21:58] 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-06-23 08:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782183041000,"timestamp_ms":1782183041000,"timestamp_seconds":1782183041,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26317e8"} 
[2026-06-23 08:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:21:58] 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-06-23 08:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:21: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-06-23 08:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238856192001,"66":14428,"87":206,"83":41984,"24":43,"16":3874137810403328,"45":1610670216083912704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238856192001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3874137810403328,"km_value":3874137810403.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1610670216083912704,"description":"Unknown IO ID 45"} 
[2026-06-23 08:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238856192001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1610670216083912704}} 
[2026-06-23 08:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":111339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:21:58] local.INFO: GPS data processed {"connection_id":111339,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:21:58] local.INFO: Acknowledgment sent {"connection_id":111339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:03] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:03] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:03] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:22:04] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:04] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:04] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:22:07] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262fc90012d7c2dc005e562780003015c23..."} 
[2026-06-23 08:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262fc90012d7c2dc005e562780003015c23..."} 
[2026-06-23 08:22:07] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262fc90012d7c2dc005e562780003015c23..."} 
[2026-06-23 08:22:07] local.INFO: Packet analysis {"connection_id":110713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:22:07] local.INFO: Extracted packet for processing {"connection_id":110713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763112896,"raw_latitude":98919032,"longitude_deg":76.3112896,"latitude_deg":9.8919032,"altitude":3,"angle":348,"satellites":35,"speed":26,"hex_longitude":"2d7c2dc0","hex_latitude":"05e56278","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238855424001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96275630424850432,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434861113344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:07] 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-06-23 08:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782183034000,"timestamp_ms":1782183034000,"timestamp_seconds":1782183034,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262fc90"} 
[2026-06-23 08:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:22: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-06-23 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:07] 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-06-23 08: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-06-23 08:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238855424001,"66":13015,"39":206,"87":13824,"24":26,"16":96275630424850432,"45":8949215434861113344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238855424001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96275630424850432,"km_value":96275630424850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434861113344,"description":"Unknown IO ID 45"} 
[2026-06-23 08:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238855424001,"power":13015,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8949215434861113344}} 
[2026-06-23 08:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":110713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:07] local.INFO: GPS data processed {"connection_id":110713,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:07] local.INFO: Acknowledgment sent {"connection_id":110713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:08] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2634ab0012d7c27c005e57da80005015723..."} 
[2026-06-23 08:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2634ab0012d7c27c005e57da80005015723..."} 
[2026-06-23 08:22:08] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2634ab0012d7c27c005e57da80005015723..."} 
[2026-06-23 08:22:08] local.INFO: Packet analysis {"connection_id":110713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:08] local.INFO: Extracted packet for processing {"connection_id":110713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763111360,"raw_latitude":98925992,"longitude_deg":76.311136,"latitude_deg":9.8925992,"altitude":5,"angle":343,"satellites":35,"speed":22,"hex_longitude":"2d7c27c0","hex_latitude":"05e57da8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238856704001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96275982612168704,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948019166210848768,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:08] 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-06-23 08:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782183054000,"timestamp_ms":1782183054000,"timestamp_seconds":1782183054,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2634ab0"} 
[2026-06-23 08:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:22: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-06-23 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:08] 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-06-23 08: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-06-23 08:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238856704001,"66":12982,"39":206,"87":13824,"24":22,"16":96275982612168704,"45":8948019166210848768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238856704001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:22:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96275982612168704,"km_value":96275982612168.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948019166210848768,"description":"Unknown IO ID 45"} 
[2026-06-23 08:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238856704001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8948019166210848768}} 
[2026-06-23 08:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":110713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:08] local.INFO: GPS data processed {"connection_id":110713,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:08] local.INFO: Acknowledgment sent {"connection_id":110713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:10] local.INFO: TCP Data received {"connection_id":110540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef262d198012cb3c5c0077512a0002100d828..."} 
[2026-06-23 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef262d198012cb3c5c0077512a0002100d828..."} 
[2026-06-23 08:22:10] local.INFO: Processing buffer {"connection_id":110540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef262d198012cb3c5c0077512a0002100d828..."} 
[2026-06-23 08:22:10] local.INFO: Packet analysis {"connection_id":110540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:22:10] local.INFO: Extracted packet for processing {"connection_id":110540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef262"} 
[2026-06-23 08:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749979072,"raw_latitude":125112992,"longitude_deg":74.9979072,"latitude_deg":12.5112992,"altitude":33,"angle":216,"satellites":40,"speed":54,"hex_longitude":"2cb3c5c0","hex_latitude":"077512a0","is_valid_coordinates":true} 
[2026-06-23 08:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238852096001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321231281356537856,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486439845269067776,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782183023000,"timestamp_ms":1782183023000,"timestamp_seconds":1782183023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef262d198"} 
[2026-06-23 08:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:22: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-06-23 08:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:10] 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-06-23 08:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238852096001,"66":27843,"100":206,"27":54016,"24":54,"16":321231281356537856,"44":-5486439845269067776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-06-23 08:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238852096001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 08:22:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321231281356537856,"km_value":321231281356537.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486439845269067776,"description":"Unknown IO ID 44"} 
[2026-06-23 08:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238852096001,"power":27843,"unknown_100":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-5486439845269067776}} 
[2026-06-23 08:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":110540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:10] local.INFO: GPS data processed {"connection_id":110540,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:10] local.INFO: Acknowledgment sent {"connection_id":110540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:24] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:24] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:24] local.INFO: IMEI packet received {"connection_id":110541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":110541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:22:25] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:25] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:25] local.INFO: IMEI packet received {"connection_id":110541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":110541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:22:30] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:30] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:22:30] local.INFO: IMEI packet received {"connection_id":110541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":110541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:22:31] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef263cf80012cb30240077443d8001e01071c..."} 
[2026-06-23 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef263cf80012cb30240077443d8001e01071c..."} 
[2026-06-23 08:22:31] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef263cf80012cb30240077443d8001e01071c..."} 
[2026-06-23 08:22:31] local.INFO: Packet analysis {"connection_id":110541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:31] local.INFO: Extracted packet for processing {"connection_id":110541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749929024,"raw_latitude":125060056,"longitude_deg":74.9929024,"latitude_deg":12.5060056,"altitude":30,"angle":263,"satellites":28,"speed":52,"hex_longitude":"2cb30240","hex_latitude":"077443d8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238869248001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321234919193837568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5540764515789527040,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183088000,"timestamp_ms":1782183088000,"timestamp_seconds":1782183088,"priority":1,"record_length":96,"hex_timestamp":"0000019ef263cf80"} 
[2026-06-23 08:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:22: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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238869248001,"66":27658,"6":206,"27":54016,"24":52,"16":321234919193837568,"44":-5540764515789527040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238869248001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:31] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:22:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321234919193837568,"km_value":321234919193837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5540764515789527040,"description":"Unknown IO ID 44"} 
[2026-06-23 08:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238869248001,"power":27658,"unknown_6":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-5540764515789527040}} 
[2026-06-23 08:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":110541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:31] local.INFO: GPS data processed {"connection_id":110541,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:31] local.INFO: Acknowledgment sent {"connection_id":110541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:39] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2637d78012d7c1b8005e59f900007014e24..."} 
[2026-06-23 08:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2637d78012d7c1b8005e59f900007014e24..."} 
[2026-06-23 08:22:39] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2637d78012d7c1b8005e59f900007014e24..."} 
[2026-06-23 08:22:39] local.INFO: Packet analysis {"connection_id":110713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:39] local.INFO: Extracted packet for processing {"connection_id":110713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763108224,"raw_latitude":98934672,"longitude_deg":76.3108224,"latitude_deg":9.8934672,"altitude":7,"angle":334,"satellites":36,"speed":34,"hex_longitude":"2d7c1b80","hex_latitude":"05e59f90","is_valid_coordinates":true} 
[2026-06-23 08:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238861824001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96276429288767488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316352366592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:39] 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-06-23 08:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782183067000,"timestamp_ms":1782183067000,"timestamp_seconds":1782183067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2637d78"} 
[2026-06-23 08:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:22: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-06-23 08:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:39] 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-06-23 08:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238861824001,"66":12765,"39":206,"87":13824,"24":34,"16":96276429288767488,"45":8946330316352366592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238861824001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:22:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96276429288767488,"km_value":96276429288767.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316352366592,"description":"Unknown IO ID 45"} 
[2026-06-23 08:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238861824001,"power":12765,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8946330316352366592}} 
[2026-06-23 08:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":110713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:39] local.INFO: GPS data processed {"connection_id":110713,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:39] local.INFO: Acknowledgment sent {"connection_id":110713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:48] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:48] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:48] local.INFO: IMEI packet received {"connection_id":110542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":110542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:22:48] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:48] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:48] local.INFO: IMEI packet received {"connection_id":110542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":110542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:22:52] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:52] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:22:52] local.INFO: IMEI packet received {"connection_id":110542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":110542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:22:53] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2632f58012d162180071fe390002d01001e..."} 
[2026-06-23 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2632f58012d162180071fe390002d01001e..."} 
[2026-06-23 08:22:53] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2632f58012d162180071fe390002d01001e..."} 
[2026-06-23 08:22:53] local.INFO: Packet analysis {"connection_id":110542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:53] local.INFO: Extracted packet for processing {"connection_id":110542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756425088,"raw_latitude":119530384,"longitude_deg":75.6425088,"latitude_deg":11.9530384,"altitude":45,"angle":256,"satellites":30,"speed":37,"hex_longitude":"2d162180","hex_latitude":"071fe390","is_valid_coordinates":true} 
[2026-06-23 08:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238858496001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3874442753081344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601170435618979840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:53] 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-06-23 08:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782183047000,"timestamp_ms":1782183047000,"timestamp_seconds":1782183047,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2632f58"} 
[2026-06-23 08:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:22:53] 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-06-23 08:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:53] 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-06-23 08:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238858496001,"66":14428,"87":206,"83":41984,"24":37,"16":3874442753081344,"45":1601170435618979840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238858496001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3874442753081344,"km_value":3874442753081.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601170435618979840,"description":"Unknown IO ID 45"} 
[2026-06-23 08:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238858496001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1601170435618979840}} 
[2026-06-23 08:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":110542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:53] local.INFO: GPS data processed {"connection_id":110542,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:53] local.INFO: Acknowledgment sent {"connection_id":110542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:55] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26342e0012d161340071fe170002a010c1f..."} 
[2026-06-23 08:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26342e0012d161340071fe170002a010c1f..."} 
[2026-06-23 08:22:55] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26342e0012d161340071fe170002a010c1f..."} 
[2026-06-23 08:22:55] local.INFO: Packet analysis {"connection_id":110542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:55] local.INFO: Extracted packet for processing {"connection_id":110542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756421440,"raw_latitude":119529840,"longitude_deg":75.642144,"latitude_deg":11.952984,"altitude":42,"angle":268,"satellites":31,"speed":24,"hex_longitude":"2d161340","hex_latitude":"071fe170","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238860032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3874618846740480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1594696511153999872,"note":"Value kept but may cause issues"} 
[2026-06-23 08:22:55] 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-06-23 08:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782183052000,"timestamp_ms":1782183052000,"timestamp_seconds":1782183052,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26342e0"} 
[2026-06-23 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-06-23 08:22:55] 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-06-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:22:55] 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-06-23 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-06-23 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-06-23 08:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238860032001,"66":14461,"87":206,"83":41984,"24":24,"16":3874618846740480,"45":1594696511153999872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238860032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:22:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3874618846740480,"km_value":3874618846740.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1594696511153999872,"description":"Unknown IO ID 45"} 
[2026-06-23 08:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238860032001,"power":14461,"unknown_87":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1594696511153999872}} 
[2026-06-23 08:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":110542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:22:55] local.INFO: GPS data processed {"connection_id":110542,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:22:55] local.INFO: Acknowledgment sent {"connection_id":110542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:22:58] local.INFO: TCP Data received {"connection_id":112272,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:58] local.INFO: Processing buffer {"connection_id":112272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:22:58] local.INFO: IMEI packet received {"connection_id":112272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":112272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:23:02] local.INFO: TCP Data received {"connection_id":112272,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:02] local.INFO: Processing buffer {"connection_id":112272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:02] local.INFO: IMEI packet received {"connection_id":112272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":112272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:23:02] local.INFO: TCP Data received {"connection_id":110541,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef263df20012cb2ec0007744440001b011320..."} 
[2026-06-23 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef263df20012cb2ec0007744440001b011320..."} 
[2026-06-23 08:23:02] local.INFO: Processing buffer {"connection_id":110541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef263df20012cb2ec0007744440001b011320..."} 
[2026-06-23 08:23:02] local.INFO: Packet analysis {"connection_id":110541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:23:02] local.INFO: Extracted packet for processing {"connection_id":110541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":749923328,"raw_latitude":125060160,"longitude_deg":74.9923328,"latitude_deg":12.506016,"altitude":27,"angle":275,"satellites":32,"speed":56,"hex_longitude":"2cb2ec00","hex_latitude":"07744440","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238870528001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321235189776777216,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5547801390207477760,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183092000,"timestamp_ms":1782183092000,"timestamp_seconds":1782183092,"priority":1,"record_length":96,"hex_timestamp":"0000019ef263df20"} 
[2026-06-23 08:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23: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-06-23 08: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238870528001,"66":27658,"6":206,"27":54016,"24":56,"16":321235189776777216,"44":-5547801390207477760},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238870528001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:02] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321235189776777216,"km_value":321235189776777.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5547801390207477760,"description":"Unknown IO ID 44"} 
[2026-06-23 08:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238870528001,"power":27658,"unknown_6":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-5547801390207477760}} 
[2026-06-23 08:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":110541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:02] local.INFO: GPS data processed {"connection_id":110541,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:02] local.INFO: Acknowledgment sent {"connection_id":110541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:07] local.INFO: TCP Data received {"connection_id":112272,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:07] local.INFO: Processing buffer {"connection_id":112272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:07] local.INFO: IMEI packet received {"connection_id":112272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":112272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:23:08] local.INFO: TCP Data received {"connection_id":112272,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef263a0a0012d7c0bc005e5c0000008014d24..."} 
[2026-06-23 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef263a0a0012d7c0bc005e5c0000008014d24..."} 
[2026-06-23 08:23:08] local.INFO: Processing buffer {"connection_id":112272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef263a0a0012d7c0bc005e5c0000008014d24..."} 
[2026-06-23 08:23:08] local.INFO: Packet analysis {"connection_id":112272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:23:08] local.INFO: Extracted packet for processing {"connection_id":112272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":763104192,"raw_latitude":98942976,"longitude_deg":76.3104192,"latitude_deg":9.8942976,"altitude":8,"angle":333,"satellites":36,"speed":44,"hex_longitude":"2d7c0bc0","hex_latitude":"05e5c000","is_valid_coordinates":true} 
[2026-06-23 08:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238865152001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96276875965366272,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942882247889883136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:08] 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-06-23 08:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782183076000,"timestamp_ms":1782183076000,"timestamp_seconds":1782183076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef263a0a0"} 
[2026-06-23 08:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23: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-06-23 08:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:08] 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-06-23 08:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238865152001,"66":13319,"39":206,"87":13824,"24":44,"16":96276875965366272,"45":8942882247889883136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 08:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238865152001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 08:23:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96276875965366272,"km_value":96276875965366.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942882247889883136,"description":"Unknown IO ID 45"} 
[2026-06-23 08:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238865152001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8942882247889883136}} 
[2026-06-23 08:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":112272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:08] local.INFO: GPS data processed {"connection_id":112272,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:08] local.INFO: Acknowledgment sent {"connection_id":112272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:26] local.INFO: TCP Data received {"connection_id":112273,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:26] local.INFO: Processing buffer {"connection_id":112273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:26] local.INFO: IMEI packet received {"connection_id":112273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":112273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:23:26] local.INFO: TCP Data received {"connection_id":110542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef264b5f8012d14c5c0071f8710003700f81f..."} 
[2026-06-23 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef264b5f8012d14c5c0071f8710003700f81f..."} 
[2026-06-23 08:23:26] local.INFO: Processing buffer {"connection_id":110542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef264b5f8012d14c5c0071f8710003700f81f..."} 
[2026-06-23 08:23:26] local.INFO: Packet analysis {"connection_id":110542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:23:26] local.INFO: Extracted packet for processing {"connection_id":110542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756336064,"raw_latitude":119506704,"longitude_deg":75.6336064,"latitude_deg":11.9506704,"altitude":55,"angle":248,"satellites":31,"speed":42,"hex_longitude":"2d14c5c0","hex_latitude":"071f8710","is_valid_coordinates":true} 
[2026-06-23 08:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238883072001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3878926698938368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1506946687159177216,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:26] 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-06-23 08:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782183147000,"timestamp_ms":1782183147000,"timestamp_seconds":1782183147,"priority":1,"record_length":96,"hex_timestamp":"0000019ef264b5f8"} 
[2026-06-23 08:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23:26] 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-06-23 08:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:26] 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-06-23 08:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238883072001,"66":14428,"11":206,"83":41984,"24":42,"16":3878926698938368,"45":1506946687159177216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-06-23 08:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238883072001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 08:23:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3878926698938368,"km_value":3878926698938.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1506946687159177216,"description":"Unknown IO ID 45"} 
[2026-06-23 08:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238883072001,"power":14428,"unknown_11":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1506946687159177216}} 
[2026-06-23 08:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":110542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:26] local.INFO: GPS data processed {"connection_id":110542,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:26] local.INFO: Acknowledgment sent {"connection_id":110542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:27] local.INFO: TCP Data received {"connection_id":112273,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:27] local.INFO: Processing buffer {"connection_id":112273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:27] local.INFO: IMEI packet received {"connection_id":112273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":112273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:23:30] local.INFO: TCP Data received {"connection_id":112273,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:30] local.INFO: Processing buffer {"connection_id":112273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:30] local.INFO: IMEI packet received {"connection_id":112273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":112273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:23:35] local.INFO: TCP Data received {"connection_id":112273,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:35] local.INFO: Processing buffer {"connection_id":112273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:23:35] local.INFO: IMEI packet received {"connection_id":112273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":112273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:23:36] local.INFO: TCP Data received {"connection_id":112273,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef263f690012cb2ca0007744b180016012024..."} 
[2026-06-23 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef263f690012cb2ca0007744b180016012024..."} 
[2026-06-23 08:23:36] local.INFO: Processing buffer {"connection_id":112273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef263f690012cb2ca0007744b180016012024..."} 
[2026-06-23 08:23:36] local.INFO: Packet analysis {"connection_id":112273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:23:36] local.INFO: Extracted packet for processing {"connection_id":112273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef263"} 
[2026-06-23 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":749914624,"raw_latitude":125061912,"longitude_deg":74.9914624,"latitude_deg":12.5061912,"altitude":22,"angle":288,"satellites":36,"speed":58,"hex_longitude":"2cb2ca00","hex_latitude":"07744b18","is_valid_coordinates":true} 
[2026-06-23 08:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238871552001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321235614978539520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5554064208439263232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782183098000,"timestamp_ms":1782183098000,"timestamp_seconds":1782183098,"priority":1,"record_length":96,"hex_timestamp":"0000019ef263f690"} 
[2026-06-23 08:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23:36] 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-06-23 08:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238871552001,"66":27930,"6":206,"27":54016,"24":58,"16":321235614978539520,"44":-5554064208439263232},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238871552001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321235614978539520,"km_value":321235614978539.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5554064208439263232,"description":"Unknown IO ID 44"} 
[2026-06-23 08:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238871552001,"power":27930,"unknown_6":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-5554064208439263232}} 
[2026-06-23 08:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":112273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:36] local.INFO: GPS data processed {"connection_id":112273,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:36] local.INFO: Acknowledgment sent {"connection_id":112273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:40] local.INFO: TCP Data received {"connection_id":112273,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26411e8012cb2a68007745cb00014012823..."} 
[2026-06-23 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26411e8012cb2a68007745cb00014012823..."} 
[2026-06-23 08:23:40] local.INFO: Processing buffer {"connection_id":112273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26411e8012cb2a68007745cb00014012823..."} 
[2026-06-23 08:23:40] local.INFO: Packet analysis {"connection_id":112273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:23:40] local.INFO: Extracted packet for processing {"connection_id":112273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:23:40] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125066416,"longitude_deg":74.9905536,"latitude_deg":12.5066416,"altitude":20,"angle":296,"satellites":35,"speed":53,"hex_longitude":"2cb2a680","hex_latitude":"07745cb0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238873088001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321236096014876672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5563634357646977024,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782183105000,"timestamp_ms":1782183105000,"timestamp_seconds":1782183105,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26411e8"} 
[2026-06-23 08:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23:40] 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-06-23 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:40] 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-06-23 08: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-06-23 08:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238873088001,"66":27767,"6":206,"27":54016,"24":53,"16":321236096014876672,"44":-5563634357646977024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238873088001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321236096014876672,"km_value":321236096014876.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5563634357646977024,"description":"Unknown IO ID 44"} 
[2026-06-23 08:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238873088001,"power":27767,"unknown_6":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5563634357646977024}} 
[2026-06-23 08:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":112273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:40] local.INFO: GPS data processed {"connection_id":112273,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:40] local.INFO: Acknowledgment sent {"connection_id":112273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:40] local.INFO: TCP Data received {"connection_id":112272,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2658cd0012d7b95c005e6e1280007015824..."} 
[2026-06-23 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2658cd0012d7b95c005e6e1280007015824..."} 
[2026-06-23 08:23:40] local.INFO: Processing buffer {"connection_id":112272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2658cd0012d7b95c005e6e1280007015824..."} 
[2026-06-23 08:23:40] local.INFO: Packet analysis {"connection_id":112272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:23:40] local.INFO: Extracted packet for processing {"connection_id":112272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99017000,"longitude_deg":76.3073984,"latitude_deg":9.9017,"altitude":7,"angle":344,"satellites":36,"speed":30,"hex_longitude":"2d7b95c0","hex_latitude":"05e6e128","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238898688001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96280883169853440,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905727550984454144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23: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-06-23 08:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782183202000,"timestamp_ms":1782183202000,"timestamp_seconds":1782183202,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2658cd0"} 
[2026-06-23 08:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23: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-06-23 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:40] 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-06-23 08: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-06-23 08:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238898688001,"66":13222,"95":206,"87":13824,"24":30,"16":96280883169853440,"45":8905727550984454144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-23 08:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238898688001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96280883169853440,"km_value":96280883169853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905727550984454144,"description":"Unknown IO ID 45"} 
[2026-06-23 08:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238898688001,"power":13222,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8905727550984454144}} 
[2026-06-23 08:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":112272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:40] local.INFO: GPS data processed {"connection_id":112272,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:40] local.INFO: Acknowledgment sent {"connection_id":112272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:43] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:23:43] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:23:43] local.INFO: IMEI packet received {"connection_id":111340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":111340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:23:45] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:23:45] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:23:45] local.INFO: IMEI packet received {"connection_id":111340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":111340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:23:45] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef264d920012d14a240071f76d0003600ef1f..."} 
[2026-06-23 08:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef264d920012d14a240071f76d0003600ef1f..."} 
[2026-06-23 08:23:45] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef264d920012d14a240071f76d0003600ef1f..."} 
[2026-06-23 08:23:45] local.INFO: Packet analysis {"connection_id":111340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:23:45] local.INFO: Extracted packet for processing {"connection_id":111340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756326976,"raw_latitude":119502544,"longitude_deg":75.6326976,"latitude_deg":11.9502544,"altitude":54,"angle":239,"satellites":31,"speed":46,"hex_longitude":"2d14a240","hex_latitude":"071f76d0","is_valid_coordinates":true} 
[2026-06-23 08:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238885632001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3879399145340928,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1496813587996807168,"note":"Value kept but may cause issues"} 
[2026-06-23 08:23: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-06-23 08:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782183156000,"timestamp_ms":1782183156000,"timestamp_seconds":1782183156,"priority":1,"record_length":96,"hex_timestamp":"0000019ef264d920"} 
[2026-06-23 08:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:23:45] 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-06-23 08:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":111340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":111340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":111340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238885632001,"66":14363,"11":206,"83":41984,"24":46,"16":3879399145340928,"45":1496813587996807168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-06-23 08:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238885632001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:23:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 08:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3879399145340928,"km_value":3879399145340.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1496813587996807168,"description":"Unknown IO ID 45"} 
[2026-06-23 08:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238885632001,"power":14363,"unknown_11":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1496813587996807168}} 
[2026-06-23 08:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":111340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:23:46] local.INFO: GPS data processed {"connection_id":111340,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:23:46] local.INFO: Acknowledgment sent {"connection_id":111340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:23:57] local.INFO: TCP Data received {"connection_id":110716,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:57] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:23:57] local.INFO: IMEI packet received {"connection_id":110716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":110716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:24:02] local.INFO: TCP Data received {"connection_id":110716,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:24:02] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:24:02] local.INFO: IMEI packet received {"connection_id":110716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":110716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:24:03] local.INFO: TCP Data received {"connection_id":110716,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef265b7c8012d7b880005e703980005015c24..."} 
[2026-06-23 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef265b7c8012d7b880005e703980005015c24..."} 
[2026-06-23 08:24:03] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef265b7c8012d7b880005e703980005015c24..."} 
[2026-06-23 08:24:03] local.INFO: Packet analysis {"connection_id":110716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:24:03] local.INFO: Extracted packet for processing {"connection_id":110716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763070464,"raw_latitude":99025816,"longitude_deg":76.3070464,"latitude_deg":9.9025816,"altitude":5,"angle":348,"satellites":36,"speed":39,"hex_longitude":"2d7b8800","hex_latitude":"05e70398","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238899712001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96281342731354112,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969775908864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:03] 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-06-23 08:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183213000,"timestamp_ms":1782183213000,"timestamp_seconds":1782183213,"priority":1,"record_length":96,"hex_timestamp":"0000019ef265b7c8"} 
[2026-06-23 08:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:24:03] 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-06-23 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 08:24:03] 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-06-23 08: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-06-23 08:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238899712001,"66":12461,"96":206,"87":13824,"24":39,"16":96281342731354112,"45":8905234969775908864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 08:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238899712001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:24:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96281342731354112,"km_value":96281342731354.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969775908864,"description":"Unknown IO ID 45"} 
[2026-06-23 08:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238899712001,"power":12461,"unknown_96":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8905234969775908864}} 
[2026-06-23 08:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:24:03] local.INFO: GPS data processed {"connection_id":110716,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:24:03] local.INFO: Acknowledgment sent {"connection_id":110716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:24:18] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef264f860012d148380071f6090003200e61f..."} 
[2026-06-23 08:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef264f860012d148380071f6090003200e61f..."} 
[2026-06-23 08:24:18] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef264f860012d148380071f6090003200e61f..."} 
[2026-06-23 08:24:18] local.INFO: Packet analysis {"connection_id":111340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:24:18] local.INFO: Extracted packet for processing {"connection_id":111340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756319104,"raw_latitude":119496848,"longitude_deg":75.6319104,"latitude_deg":11.9496848,"altitude":50,"angle":230,"satellites":31,"speed":47,"hex_longitude":"2d148380","hex_latitude":"071f6090","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238887936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3879863001808896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1486821226322513920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:18] 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-06-23 08:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782183164000,"timestamp_ms":1782183164000,"timestamp_seconds":1782183164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef264f860"} 
[2026-06-23 08:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:24:18] 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-06-23 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 08:24:18] 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-06-23 08: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-06-23 08:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238887936001,"66":14461,"11":206,"83":41984,"24":47,"16":3879863001808896,"45":1486821226322513920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-06-23 08:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238887936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:24:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 08:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3879863001808896,"km_value":3879863001808.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1486821226322513920,"description":"Unknown IO ID 45"} 
[2026-06-23 08:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238887936001,"power":14461,"unknown_11":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1486821226322513920}} 
[2026-06-23 08:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":111340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:24:18] local.INFO: GPS data processed {"connection_id":111340,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:24:18] local.INFO: Acknowledgment sent {"connection_id":111340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:24:21] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:24:21] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:24:21] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:24:24] local.INFO: TCP Data received {"connection_id":112274,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:24:24] local.INFO: Processing buffer {"connection_id":112274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:24:24] local.INFO: IMEI packet received {"connection_id":112274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":112274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:24:27] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:24:27] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:24:27] local.INFO: IMEI packet received {"connection_id":110544,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":110544,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:24:27] local.INFO: TCP Data received {"connection_id":110543,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:24:27] local.INFO: Processing buffer {"connection_id":110543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:24:27] local.INFO: IMEI packet received {"connection_id":110543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":110543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:24:29] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-06-23 08:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-06-23 08:24:29] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000251c00100000000000000000000000000..."} 
[2026-06-23 08:24:29] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-06-23 08:24:29] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-06-23 08:24: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-06-23 08:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:24:29] 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-06-23 08:24:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 08:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 08:24:29] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 08:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 08:24:29] local.ERROR: GPS data processing failed {"connection_id":110544,"error":"No valid data to process"} 
[2026-06-23 08:24:29] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 08:24:31] local.INFO: TCP Data received {"connection_id":112274,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:24:31] local.INFO: Processing buffer {"connection_id":112274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:24:31] local.INFO: IMEI packet received {"connection_id":112274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":112274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:24:33] local.INFO: TCP Data received {"connection_id":112274,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26438f8012cb284c007746d980011012822..."} 
[2026-06-23 08:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26438f8012cb284c007746d980011012822..."} 
[2026-06-23 08:24:33] local.INFO: Processing buffer {"connection_id":112274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26438f8012cb284c007746d980011012822..."} 
[2026-06-23 08:24:33] local.INFO: Packet analysis {"connection_id":112274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:24:33] local.INFO: Extracted packet for processing {"connection_id":112274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:24:33] local.INFO: GPS Element Parsed {"raw_longitude":749896896,"raw_latitude":125070744,"longitude_deg":74.9896896,"latitude_deg":12.5070744,"altitude":17,"angle":296,"satellites":34,"speed":26,"hex_longitude":"2cb284c0","hex_latitude":"07746d98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238874880001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321236555576377344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719319052288,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782183115000,"timestamp_ms":1782183115000,"timestamp_seconds":1782183115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26438f8"} 
[2026-06-23 08:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:24: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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238874880001,"66":27876,"6":206,"27":54016,"24":26,"16":321236555576377344,"44":-5573626719319052288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238874880001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:24:33] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:24:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321236555576377344,"km_value":321236555576377.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:24:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719319052288,"description":"Unknown IO ID 44"} 
[2026-06-23 08:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238874880001,"power":27876,"unknown_6":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5573626719319052288}} 
[2026-06-23 08:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":112274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:24:33] local.INFO: GPS data processed {"connection_id":112274,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:24:33] local.INFO: Acknowledgment sent {"connection_id":112274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:24:34] local.INFO: TCP Data received {"connection_id":110716,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef265c768012d7b844005e710c80005014b26..."} 
[2026-06-23 08:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef265c768012d7b844005e710c80005014b26..."} 
[2026-06-23 08:24:34] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef265c768012d7b844005e710c80005014b26..."} 
[2026-06-23 08:24:34] local.INFO: Packet analysis {"connection_id":110716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:24:34] local.INFO: Extracted packet for processing {"connection_id":110716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":99029192,"longitude_deg":76.3069504,"latitude_deg":9.9029192,"altitude":5,"angle":331,"satellites":38,"speed":32,"hex_longitude":"2d7b8440","hex_latitude":"05e710c8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238902528001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96281514530045952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901364688848394240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24: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-06-23 08:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782183217000,"timestamp_ms":1782183217000,"timestamp_seconds":1782183217,"priority":1,"record_length":96,"hex_timestamp":"0000019ef265c768"} 
[2026-06-23 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-06-23 08:24: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-06-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:24: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-06-23 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-06-23 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-06-23 08:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238902528001,"66":13178,"96":206,"87":13824,"24":32,"16":96281514530045952,"45":8901364688848394240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 08:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238902528001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:24:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96281514530045952,"km_value":96281514530045.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901364688848394240,"description":"Unknown IO ID 45"} 
[2026-06-23 08:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238902528001,"power":13178,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8901364688848394240}} 
[2026-06-23 08:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":110716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:24:34] local.INFO: GPS data processed {"connection_id":110716,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:24:34] local.INFO: Acknowledgment sent {"connection_id":110716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:24:42] local.INFO: TCP Data received {"connection_id":111341,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:24:42] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:24:42] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:24:48] local.INFO: TCP Data received {"connection_id":111341,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:24:48] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:24:48] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:24:49] local.INFO: TCP Data received {"connection_id":111341,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2650fd0012d146bc0071f5030002e00f31f..."} 
[2026-06-23 08:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2650fd0012d146bc0071f5030002e00f31f..."} 
[2026-06-23 08:24:49] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2650fd0012d146bc0071f5030002e00f31f..."} 
[2026-06-23 08:24:49] local.INFO: Packet analysis {"connection_id":111341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:24:49] local.INFO: Extracted packet for processing {"connection_id":111341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756313024,"raw_latitude":119492656,"longitude_deg":75.6313024,"latitude_deg":11.9492656,"altitude":46,"angle":243,"satellites":31,"speed":48,"hex_longitude":"2d146bc0","hex_latitude":"071f5030","is_valid_coordinates":true} 
[2026-06-23 08:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238889984001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3880219484094464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478165870787203072,"note":"Value kept but may cause issues"} 
[2026-06-23 08:24:49] 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-06-23 08:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782183170000,"timestamp_ms":1782183170000,"timestamp_seconds":1782183170,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2650fd0"} 
[2026-06-23 08:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:24:49] 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-06-23 08:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 08:24:49] 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-06-23 08:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238889984001,"66":14374,"11":206,"83":41984,"24":48,"16":3880219484094464,"45":1478165870787203072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-06-23 08:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238889984001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:24:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 08:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3880219484094464,"km_value":3880219484094.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478165870787203072,"description":"Unknown IO ID 45"} 
[2026-06-23 08:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238889984001,"power":14374,"unknown_11":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1478165870787203072}} 
[2026-06-23 08:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":111341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:24:50] local.INFO: GPS data processed {"connection_id":111341,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:24:50] local.INFO: Acknowledgment sent {"connection_id":111341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:24:58] local.INFO: TCP Data received {"connection_id":112275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:24:58] local.INFO: Processing buffer {"connection_id":112275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:24:58] local.INFO: IMEI packet received {"connection_id":112275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":112275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:25:01] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-06-23 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-06-23 08:25:01] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a3c80100000000000000000000000000..."} 
[2026-06-23 08:25:01] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-06-23 08:25:01] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-06-23 08:25: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-06-23 08: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-06-23 08:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:25:01] 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-06-23 08:25:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 08:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 08:25:01] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 08:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 08:25:01] local.ERROR: GPS data processing failed {"connection_id":110544,"error":"No valid data to process"} 
[2026-06-23 08:25:01] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 08:25:02] local.INFO: TCP Data received {"connection_id":112275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:25:02] local.INFO: Processing buffer {"connection_id":112275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:25:02] local.INFO: IMEI packet received {"connection_id":112275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":112275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:25:03] local.INFO: TCP Data received {"connection_id":112275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef265daf0012d7b7c4005e71ea80006015629..."} 
[2026-06-23 08:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef265daf0012d7b7c4005e71ea80006015629..."} 
[2026-06-23 08:25:03] local.INFO: Processing buffer {"connection_id":112275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef265daf0012d7b7c4005e71ea80006015629..."} 
[2026-06-23 08:25:03] local.INFO: Packet analysis {"connection_id":112275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:25:03] local.INFO: Extracted packet for processing {"connection_id":112275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":99032744,"longitude_deg":76.3067456,"latitude_deg":9.9032744,"altitude":6,"angle":342,"satellites":41,"speed":35,"hex_longitude":"2d7b7c40","hex_latitude":"05e71ea8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238903552001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96281716393508864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157686593536,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:03] 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-06-23 08:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183222000,"timestamp_ms":1782183222000,"timestamp_seconds":1782183222,"priority":1,"record_length":96,"hex_timestamp":"0000019ef265daf0"} 
[2026-06-23 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-06-23 08:25: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-06-23 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 08:25:03] 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-06-23 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-06-23 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-06-23 08:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238903552001,"66":12461,"96":206,"87":13824,"24":35,"16":96281716393508864,"45":8900309157686593536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 08:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238903552001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:25:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:25:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96281716393508864,"km_value":96281716393508.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157686593536,"description":"Unknown IO ID 45"} 
[2026-06-23 08:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238903552001,"power":12461,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8900309157686593536}} 
[2026-06-23 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":112275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:25:04] local.INFO: GPS data processed {"connection_id":112275,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:25:04] local.INFO: Acknowledgment sent {"connection_id":112275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:25:04] local.INFO: TCP Data received {"connection_id":112274,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26463f0012cb263c007747da8000f012921..."} 
[2026-06-23 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26463f0012cb263c007747da8000f012921..."} 
[2026-06-23 08:25:04] local.INFO: Processing buffer {"connection_id":112274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26463f0012cb263c007747da8000f012921..."} 
[2026-06-23 08:25:04] local.INFO: Packet analysis {"connection_id":112274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:25:04] local.INFO: Extracted packet for processing {"connection_id":112274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":749888448,"raw_latitude":125074856,"longitude_deg":74.9888448,"latitude_deg":12.5074856,"altitude":15,"angle":297,"satellites":33,"speed":37,"hex_longitude":"2cb263c0","hex_latitude":"07747da8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238877440001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237002252976128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5583126499781928960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782183126000,"timestamp_ms":1782183126000,"timestamp_seconds":1782183126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26463f0"} 
[2026-06-23 08:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:25:04] 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-06-23 08: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-06-23 08:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238877440001,"66":27821,"6":206,"27":54016,"24":37,"16":321237002252976128,"44":-5583126499781928960},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238877440001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:25:04] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:25:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237002252976128,"km_value":321237002252976.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5583126499781928960,"description":"Unknown IO ID 44"} 
[2026-06-23 08:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238877440001,"power":27821,"unknown_6":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-5583126499781928960}} 
[2026-06-23 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":112274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:25:04] local.INFO: GPS data processed {"connection_id":112274,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:25:04] local.INFO: Acknowledgment sent {"connection_id":112274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:25:07] local.INFO: TCP Data received {"connection_id":112276,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:25:07] local.INFO: Processing buffer {"connection_id":112276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:25:07] local.INFO: IMEI packet received {"connection_id":112276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":112276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:25:24] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:25:24] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:25:24] local.INFO: IMEI packet received {"connection_id":110717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":110717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:25:27] local.INFO: TCP Data received {"connection_id":111341,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2665408012d138ac0071ed098002900a01d..."} 
[2026-06-23 08:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2665408012d138ac0071ed098002900a01d..."} 
[2026-06-23 08:25:27] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2665408012d138ac0071ed098002900a01d..."} 
[2026-06-23 08:25:27] local.INFO: Packet analysis {"connection_id":111341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef266"} 
[2026-06-23 08:25:27] local.INFO: Extracted packet for processing {"connection_id":111341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef266"} 
[2026-06-23 08:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756255424,"raw_latitude":119459992,"longitude_deg":75.6255424,"latitude_deg":11.9459992,"altitude":41,"angle":160,"satellites":29,"speed":41,"hex_longitude":"2d138ac0","hex_latitude":"071ed098","is_valid_coordinates":true} 
[2026-06-23 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238909952001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3883780011982848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405263851811880960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782183253000,"timestamp_ms":1782183253000,"timestamp_seconds":1782183253,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2665408"} 
[2026-06-23 08:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:25:27] 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-06-23 08:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 08:25:27] 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-06-23 08:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238909952001,"66":14298,"185":206,"83":41984,"24":41,"16":3883780011982848,"45":1405263851811880960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-06-23 08:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238909952001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:25:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 08:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3883780011982848,"km_value":3883780011982.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405263851811880960,"description":"Unknown IO ID 45"} 
[2026-06-23 08:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238909952001,"power":14298,"unknown_185":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1405263851811880960}} 
[2026-06-23 08:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":111341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:25:27] local.INFO: GPS data processed {"connection_id":111341,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:25:27] local.INFO: Acknowledgment sent {"connection_id":111341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:25:30] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:25:30] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:25:30] local.INFO: IMEI packet received {"connection_id":110717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":110717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:25:31] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2648718012cb249c007748a300011013420..."} 
[2026-06-23 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2648718012cb249c007748a300011013420..."} 
[2026-06-23 08:25:31] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2648718012cb249c007748a300011013420..."} 
[2026-06-23 08:25:31] local.INFO: Packet analysis {"connection_id":110717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:25:31] local.INFO: Extracted packet for processing {"connection_id":110717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":749881792,"raw_latitude":125078064,"longitude_deg":74.9881792,"latitude_deg":12.5078064,"altitude":17,"angle":308,"satellites":32,"speed":17,"hex_longitude":"2cb249c0","hex_latitude":"07748a30","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237354440294400,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5592415174012327936,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183135000,"timestamp_ms":1782183135000,"timestamp_seconds":1782183135,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2648718"} 
[2026-06-23 08:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:25: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-06-23 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:25:31] 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-06-23 08: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-06-23 08:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238880256001,"66":27865,"6":206,"27":54016,"24":17,"16":321237354440294400,"44":-5592415174012327936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:25:31] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:25:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237354440294400,"km_value":321237354440294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5592415174012327936,"description":"Unknown IO ID 44"} 
[2026-06-23 08:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238880256001,"power":27865,"unknown_6":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-5592415174012327936}} 
[2026-06-23 08:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":110717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:25:31] local.INFO: GPS data processed {"connection_id":110717,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:25:31] local.INFO: Acknowledgment sent {"connection_id":110717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:25:32] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a00000000000301880100000000000000000000000000..."} 
[2026-06-23 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000301880100000000000000000000000000..."} 
[2026-06-23 08:25:32] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000301880100000000000000000000000000..."} 
[2026-06-23 08:25:32] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-06-23 08:25:32] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-06-23 08:25: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-06-23 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-06-23 08:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:25:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":197000,"timestamp_seconds":197,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:25:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 08:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 08:25:32] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 08:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 08:25:32] local.ERROR: GPS data processing failed {"connection_id":110544,"error":"No valid data to process"} 
[2026-06-23 08:25:32] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 08:25:35] local.INFO: TCP Data received {"connection_id":112275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2662910012d7b74c005e736a00007015824..."} 
[2026-06-23 08:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2662910012d7b74c005e736a00007015824..."} 
[2026-06-23 08:25:35] local.INFO: Processing buffer {"connection_id":112275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2662910012d7b74c005e736a00007015824..."} 
[2026-06-23 08:25:35] local.INFO: Packet analysis {"connection_id":112275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef266"} 
[2026-06-23 08:25:35] local.INFO: Extracted packet for processing {"connection_id":112275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef266"} 
[2026-06-23 08:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763065536,"raw_latitude":99038880,"longitude_deg":76.3065536,"latitude_deg":9.903888,"altitude":7,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d7b74c0","hex_latitude":"05e736a0","is_valid_coordinates":true} 
[2026-06-23 08:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238904832001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96282029926121472,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357873817600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:35] 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-06-23 08:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782183242000,"timestamp_ms":1782183242000,"timestamp_seconds":1782183242,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2662910"} 
[2026-06-23 08:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:25: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-06-23 08:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:25: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-06-23 08:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238904832001,"66":12939,"96":206,"87":13824,"24":0,"16":96282029926121472,"45":8898057357873817600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 08:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238904832001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:25:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:25:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96282029926121472,"km_value":96282029926121.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357873817600,"description":"Unknown IO ID 45"} 
[2026-06-23 08:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238904832001,"power":12939,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898057357873817600}} 
[2026-06-23 08:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":112275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:25:35] local.INFO: GPS data processed {"connection_id":112275,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:25:35] local.INFO: Acknowledgment sent {"connection_id":112275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:25:41] local.INFO: TCP Data received {"connection_id":110545,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:41] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:41] local.INFO: IMEI packet received {"connection_id":110545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":110545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:25:43] local.INFO: TCP Data received {"connection_id":110545,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:43] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:43] local.INFO: IMEI packet received {"connection_id":110545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":110545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:25:43] local.INFO: TCP Data received {"connection_id":110545,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:43] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:43] local.INFO: IMEI packet received {"connection_id":110545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":110545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:25:49] local.INFO: TCP Data received {"connection_id":110545,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:49] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:25:49] local.INFO: IMEI packet received {"connection_id":110545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":110545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:25:50] local.INFO: TCP Data received {"connection_id":110545,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2667348012d1396c0071eafc0002800a11d..."} 
[2026-06-23 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2667348012d1396c0071eafc0002800a11d..."} 
[2026-06-23 08:25:50] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2667348012d1396c0071eafc0002800a11d..."} 
[2026-06-23 08:25:50] local.INFO: Packet analysis {"connection_id":110545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef266"} 
[2026-06-23 08:25:50] local.INFO: Extracted packet for processing {"connection_id":110545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef266"} 
[2026-06-23 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756258496,"raw_latitude":119451584,"longitude_deg":75.6258496,"latitude_deg":11.9451584,"altitude":40,"angle":161,"satellites":29,"speed":45,"hex_longitude":"2d1396c0","hex_latitude":"071eafc0","is_valid_coordinates":true} 
[2026-06-23 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238912768001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3884213803679744,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408148970320992256,"note":"Value kept but may cause issues"} 
[2026-06-23 08:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782183261000,"timestamp_ms":1782183261000,"timestamp_seconds":1782183261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2667348"} 
[2026-06-23 08:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:25:50] 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-06-23 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-23 08:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238912768001,"66":14396,"185":206,"83":41984,"24":45,"16":3884213803679744,"45":1408148970320992256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-06-23 08:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238912768001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:25:50] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 08:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3884213803679744,"km_value":3884213803679.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408148970320992256,"description":"Unknown IO ID 45"} 
[2026-06-23 08:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238912768001,"power":14396,"unknown_185":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1408148970320992256}} 
[2026-06-23 08:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":110545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:25:50] local.INFO: GPS data processed {"connection_id":110545,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:25:50] local.INFO: Acknowledgment sent {"connection_id":110545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:00] local.INFO: TCP Data received {"connection_id":112277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:00] local.INFO: Processing buffer {"connection_id":112277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:00] local.INFO: IMEI packet received {"connection_id":112277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":112277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:26:02] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2648b00012cb248c007748b380011014020..."} 
[2026-06-23 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2648b00012cb248c007748b380011014020..."} 
[2026-06-23 08:26:02] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2648b00012cb248c007748b380011014020..."} 
[2026-06-23 08:26:02] local.INFO: Packet analysis {"connection_id":110717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:26:02] local.INFO: Extracted packet for processing {"connection_id":110717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":749881536,"raw_latitude":125078328,"longitude_deg":74.9881536,"latitude_deg":12.5078328,"altitude":17,"angle":320,"satellites":32,"speed":17,"hex_longitude":"2cb248c0","hex_latitude":"07748b38","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238882560001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237375915130880,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599733523405983744,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183136000,"timestamp_ms":1782183136000,"timestamp_seconds":1782183136,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2648b00"} 
[2026-06-23 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:26: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-06-23 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:26:02] 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-06-23 08: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-06-23 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238882560001,"66":27865,"6":206,"27":54016,"24":17,"16":321237375915130880,"44":-5599733523405983744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238882560001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:26:02] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237375915130880,"km_value":321237375915130.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599733523405983744,"description":"Unknown IO ID 44"} 
[2026-06-23 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238882560001,"power":27865,"unknown_6":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-5599733523405983744}} 
[2026-06-23 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":110717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:26:02] local.INFO: GPS data processed {"connection_id":110717,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:26:02] local.INFO: Acknowledgment sent {"connection_id":110717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:03] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a00000000000353900100000000000000000000000000..."} 
[2026-06-23 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000353900100000000000000000000000000..."} 
[2026-06-23 08:26:03] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000353900100000000000000000000000000..."} 
[2026-06-23 08:26:03] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-06-23 08:26:03] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-06-23 08:26: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-06-23 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-06-23 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:26:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":218000,"timestamp_seconds":218,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:26:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 08:26:03] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 08:26:03] local.ERROR: GPS data processing failed {"connection_id":110544,"error":"No valid data to process"} 
[2026-06-23 08:26:03] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 08:26:24] local.INFO: TCP Data received {"connection_id":110545,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2678c88012d139d40071e7c900020004417..."} 
[2026-06-23 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2678c88012d139d40071e7c900020004417..."} 
[2026-06-23 08:26:24] local.INFO: Processing buffer {"connection_id":110545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2678c88012d139d40071e7c900020004417..."} 
[2026-06-23 08:26:24] local.INFO: Packet analysis {"connection_id":110545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:24] local.INFO: Extracted packet for processing {"connection_id":110545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756260160,"raw_latitude":119438480,"longitude_deg":75.626016,"latitude_deg":11.943848,"altitude":32,"angle":68,"satellites":23,"speed":2,"hex_longitude":"2d139d40","hex_latitude":"071e7c90","is_valid_coordinates":true} 
[2026-06-23 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238932992001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885055617269760,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413356257384628224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782183333000,"timestamp_ms":1782183333000,"timestamp_seconds":1782183333,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2678c88"} 
[2026-06-23 08:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 08:26:24] 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-06-23 08: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-06-23 08:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238932992001,"66":13091,"10":206,"83":41984,"24":2,"16":3885055617269760,"45":1413356257384628224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238932992001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:26:24] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885055617269760,"km_value":3885055617269.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413356257384628224,"description":"Unknown IO ID 45"} 
[2026-06-23 08:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238932992001,"power":13091,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1413356257384628224}} 
[2026-06-23 08:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":110545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:26:24] local.INFO: GPS data processed {"connection_id":110545,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:26:24] local.INFO: Acknowledgment sent {"connection_id":110545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:25] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:26:25] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:26:25] local.INFO: IMEI packet received {"connection_id":110546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":110546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:26:30] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:26:30] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:26:30] local.INFO: IMEI packet received {"connection_id":110546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":110546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:26:30] local.INFO: TCP Data received {"connection_id":112277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:30] local.INFO: Processing buffer {"connection_id":112277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:30] local.INFO: IMEI packet received {"connection_id":112277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":112277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:26:31] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26492d0012cb2484007748e900010015a1e..."} 
[2026-06-23 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26492d0012cb2484007748e900010015a1e..."} 
[2026-06-23 08:26:31] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26492d0012cb2484007748e900010015a1e..."} 
[2026-06-23 08:26:31] local.INFO: Packet analysis {"connection_id":110546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:26:31] local.INFO: Extracted packet for processing {"connection_id":110546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:26:31] local.INFO: GPS Element Parsed {"raw_longitude":749881408,"raw_latitude":125079184,"longitude_deg":74.9881408,"latitude_deg":12.5079184,"altitude":16,"angle":346,"satellites":30,"speed":17,"hex_longitude":"2cb24840","hex_latitude":"07748e90","is_valid_coordinates":true} 
[2026-06-23 08:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238882816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237418864803840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600014998382626816,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183138000,"timestamp_ms":1782183138000,"timestamp_seconds":1782183138,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26492d0"} 
[2026-06-23 08:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:26: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-06-23 08:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:26:31] 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-06-23 08:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238882816001,"66":27104,"6":206,"27":54016,"24":17,"16":321237418864803840,"44":-5600014998382626816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238882816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:26:31] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237418864803840,"km_value":321237418864803.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600014998382626816,"description":"Unknown IO ID 44"} 
[2026-06-23 08:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238882816001,"power":27104,"unknown_6":206,"unknown_27":54016,"ignition":17,"odometer":null,"unknown_44":-5600014998382626816}} 
[2026-06-23 08:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":110546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:26:31] local.INFO: GPS data processed {"connection_id":110546,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:26:31] local.INFO: Acknowledgment sent {"connection_id":110546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:35] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000000000003a5980100000000000000000000000000..."} 
[2026-06-23 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000003a5980100000000000000000000000000..."} 
[2026-06-23 08:26:35] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000003a5980100000000000000000000000000..."} 
[2026-06-23 08:26:35] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-06-23 08:26:35] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-06-23 08:26: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-06-23 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:26:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":239000,"timestamp_seconds":239,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 08:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 08:26:35] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 08:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 08:26:35] local.ERROR: GPS data processing failed {"connection_id":110544,"error":"No valid data to process"} 
[2026-06-23 08:26:35] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 08:26:42] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:26:42] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:26:42] local.INFO: IMEI packet received {"connection_id":110719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":110719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:26:47] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:26:47] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:26:47] local.INFO: IMEI packet received {"connection_id":110719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":110719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:26:48] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-23 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-23 08:26:48] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-23 08:26:48] local.INFO: IMEI packet received {"connection_id":110719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":110719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:26:49] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2679070012d139d40071e7c980020003017..."} 
[2026-06-23 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2679070012d139d40071e7c980020003017..."} 
[2026-06-23 08:26:49] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ef2..."} 
[2026-06-23 08:26:49] local.INFO: IMEI packet received {"connection_id":110719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":110719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:26:49] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2679458012d139d40071e7c800020004817..."} 
[2026-06-23 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2679458012d139d40071e7c800020004817..."} 
[2026-06-23 08:26:49] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef2679070012d139d40071e7c980020003017..."} 
[2026-06-23 08:26:49] local.INFO: Packet analysis {"connection_id":110719,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:49] local.INFO: Extracted packet for processing {"connection_id":110719,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756260160,"raw_latitude":119438488,"longitude_deg":75.626016,"latitude_deg":11.9438488,"altitude":32,"angle":48,"satellites":23,"speed":1,"hex_longitude":"2d139d40","hex_latitude":"071e7c98","is_valid_coordinates":true} 
[2026-06-23 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238933248001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885055617269760,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413356257384632320,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782183334000,"timestamp_ms":1782183334000,"timestamp_seconds":1782183334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2679070"} 
[2026-06-23 08:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 08:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238933248001,"66":13048,"10":206,"83":41984,"24":1,"16":3885055617269760,"45":1413356257384632320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238933248001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885055617269760,"km_value":3885055617269.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413356257384632320,"description":"Unknown IO ID 45"} 
[2026-06-23 08:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238933248001,"power":13048,"unknown_10":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1413356257384632320}} 
[2026-06-23 08:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":110719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:26:49] local.INFO: GPS data processed {"connection_id":110719,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:26:49] local.INFO: Acknowledgment sent {"connection_id":110719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:49] local.INFO: Packet analysis {"connection_id":110719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:49] local.INFO: Extracted packet for processing {"connection_id":110719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756260160,"raw_latitude":119438464,"longitude_deg":75.626016,"latitude_deg":11.9438464,"altitude":32,"angle":72,"satellites":23,"speed":0,"hex_longitude":"2d139d40","hex_latitude":"071e7c80","is_valid_coordinates":true} 
[2026-06-23 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238933504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885059912237056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413356257384634368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782183335000,"timestamp_ms":1782183335000,"timestamp_seconds":1782183335,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2679458"} 
[2026-06-23 08:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:26:49] 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-06-23 08:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238933504001,"66":13048,"10":206,"83":41984,"24":0,"16":3885059912237056,"45":1413356257384634368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238933504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885059912237056,"km_value":3885059912237.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413356257384634368,"description":"Unknown IO ID 45"} 
[2026-06-23 08:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238933504001,"power":13048,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1413356257384634368}} 
[2026-06-23 08:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":110719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:26:49] local.INFO: GPS data processed {"connection_id":110719,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:26:49] local.INFO: Acknowledgment sent {"connection_id":110719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:51] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef267cef0012d139ec0071e7c68002100b314..."} 
[2026-06-23 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef267cef0012d139ec0071e7c68002100b314..."} 
[2026-06-23 08:26:51] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef267cef0012d139ec0071e7c68002100b314..."} 
[2026-06-23 08:26:51] local.INFO: Packet analysis {"connection_id":110719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:51] local.INFO: Extracted packet for processing {"connection_id":110719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756260544,"raw_latitude":119438440,"longitude_deg":75.6260544,"latitude_deg":11.943844,"altitude":33,"angle":179,"satellites":20,"speed":2,"hex_longitude":"2d139ec0","hex_latitude":"071e7c68","is_valid_coordinates":true} 
[2026-06-23 08:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238933760001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885077092106240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413356257384628224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782183350000,"timestamp_ms":1782183350000,"timestamp_seconds":1782183350,"priority":1,"record_length":96,"hex_timestamp":"0000019ef267cef0"} 
[2026-06-23 08:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:26:51] 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-06-23 08:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238933760001,"66":13048,"10":206,"83":41984,"24":2,"16":3885077092106240,"45":1413356257384628224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238933760001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:26:51] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885077092106240,"km_value":3885077092106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413356257384628224,"description":"Unknown IO ID 45"} 
[2026-06-23 08:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238933760001,"power":13048,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1413356257384628224}} 
[2026-06-23 08:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":110719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:26:51] local.INFO: GPS data processed {"connection_id":110719,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:26:51] local.INFO: Acknowledgment sent {"connection_id":110719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:26:57] local.INFO: TCP Data received {"connection_id":110720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:57] local.INFO: Processing buffer {"connection_id":110720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:26:57] local.INFO: IMEI packet received {"connection_id":110720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":110720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:27:03] local.INFO: TCP Data received {"connection_id":110546,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26496b8012cb24980077490000010000b20..."} 
[2026-06-23 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26496b8012cb24980077490000010000b20..."} 
[2026-06-23 08:27:03] local.INFO: Processing buffer {"connection_id":110546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26496b8012cb24980077490000010000b20..."} 
[2026-06-23 08:27:03] local.INFO: Packet analysis {"connection_id":110546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:27:03] local.INFO: Extracted packet for processing {"connection_id":110546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:27:03] local.INFO: GPS Element Parsed {"raw_longitude":749881728,"raw_latitude":125079552,"longitude_deg":74.9881728,"latitude_deg":12.5079552,"altitude":16,"angle":11,"satellites":32,"speed":13,"hex_longitude":"2cb24980","hex_latitude":"07749000","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238883328001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237444634607616,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600155735870763008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183139000,"timestamp_ms":1782183139000,"timestamp_seconds":1782183139,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26496b8"} 
[2026-06-23 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-06-23 08:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-23 08:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 08:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238883328001,"66":27767,"6":206,"27":54016,"24":13,"16":321237444634607616,"44":-5600155735870763008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238883328001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:27:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:27:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237444634607616,"km_value":321237444634607.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600155735870763008,"description":"Unknown IO ID 44"} 
[2026-06-23 08:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238883328001,"power":27767,"unknown_6":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-5600155735870763008}} 
[2026-06-23 08:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":110546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:27:03] local.INFO: GPS data processed {"connection_id":110546,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:27:03] local.INFO: Acknowledgment sent {"connection_id":110546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:06] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2672ae00100000000000000000000000000..."} 
[2026-06-23 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2672ae00100000000000000000000000000..."} 
[2026-06-23 08:27:06] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2672ae00100000000000000000000000000..."} 
[2026-06-23 08:27:06] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27:06] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27: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-06-23 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782183308000,"timestamp_ms":1782183308000,"timestamp_seconds":1782183308,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2672ae0"} 
[2026-06-23 08:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:27:06] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:27: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-06-23 08:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:27:06] local.INFO: GPS data processed {"connection_id":110544,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:27:06] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:10] local.INFO: TCP Data received {"connection_id":110720,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:10] local.INFO: Processing buffer {"connection_id":110720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:10] local.INFO: IMEI packet received {"connection_id":110720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":110720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:27:11] local.INFO: TCP Data received {"connection_id":110720,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26801b8012d7b5b8005e80a000006016026..."} 
[2026-06-23 08:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26801b8012d7b5b8005e80a000006016026..."} 
[2026-06-23 08:27:12] local.INFO: Processing buffer {"connection_id":110720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26801b8012d7b5b8005e80a000006016026..."} 
[2026-06-23 08:27:12] local.INFO: Packet analysis {"connection_id":110720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef268"} 
[2026-06-23 08:27:12] local.INFO: Extracted packet for processing {"connection_id":110720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef268"} 
[2026-06-23 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99092992,"longitude_deg":76.3059072,"latitude_deg":9.9092992,"altitude":6,"angle":352,"satellites":38,"speed":27,"hex_longitude":"2d7b5b80","hex_latitude":"05e80a00","is_valid_coordinates":true} 
[2026-06-23 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238937856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96284709985714176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733702100992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:12] 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-06-23 08:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782183363000,"timestamp_ms":1782183363000,"timestamp_seconds":1782183363,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26801b8"} 
[2026-06-23 08:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:27:12] 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-06-23 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 08:27:12] 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-06-23 08:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238937856001,"66":13015,"96":206,"87":13824,"24":27,"16":96284709985714176,"45":8888205733702100992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 08:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238937856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96284709985714176,"km_value":96284709985714.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733702100992,"description":"Unknown IO ID 45"} 
[2026-06-23 08:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238937856001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8888205733702100992}} 
[2026-06-23 08:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":110720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:27:12] local.INFO: GPS data processed {"connection_id":110720,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:27:12] local.INFO: Acknowledgment sent {"connection_id":110720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:22] local.INFO: TCP Data received {"connection_id":110719,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef267d2d8012d139ec0071e7c68002100eb15..."} 
[2026-06-23 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef267d2d8012d139ec0071e7c68002100eb15..."} 
[2026-06-23 08:27:22] local.INFO: Processing buffer {"connection_id":110719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef267d2d8012d139ec0071e7c68002100eb15..."} 
[2026-06-23 08:27:22] local.INFO: Packet analysis {"connection_id":110719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27:22] local.INFO: Extracted packet for processing {"connection_id":110719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756260544,"raw_latitude":119438440,"longitude_deg":75.6260544,"latitude_deg":11.943844,"altitude":33,"angle":235,"satellites":21,"speed":1,"hex_longitude":"2d139ec0","hex_latitude":"071e7c68","is_valid_coordinates":true} 
[2026-06-23 08:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238937600001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885077092106240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413778469849688064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782183351000,"timestamp_ms":1782183351000,"timestamp_seconds":1782183351,"priority":1,"record_length":96,"hex_timestamp":"0000019ef267d2d8"} 
[2026-06-23 08:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:27:22] 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-06-23 08:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:27:22] 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-06-23 08:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238937600001,"66":13048,"10":206,"83":41984,"24":1,"16":3885077092106240,"45":1413778469849688064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238937600001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:27:22] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885077092106240,"km_value":3885077092106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413778469849688064,"description":"Unknown IO ID 45"} 
[2026-06-23 08:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238937600001,"power":13048,"unknown_10":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1413778469849688064}} 
[2026-06-23 08:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":110719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:27:22] local.INFO: GPS data processed {"connection_id":110719,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:27:22] local.INFO: Acknowledgment sent {"connection_id":110719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:24] local.INFO: TCP Data received {"connection_id":112278,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:27:24] local.INFO: Processing buffer {"connection_id":112278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:27:24] local.INFO: IMEI packet received {"connection_id":112278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":112278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:27:30] local.INFO: TCP Data received {"connection_id":112278,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:27:30] local.INFO: Processing buffer {"connection_id":112278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:27:30] local.INFO: IMEI packet received {"connection_id":112278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":112278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:27:32] local.INFO: TCP Data received {"connection_id":112278,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2649aa0012cb24ac0077491180010002321..."} 
[2026-06-23 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2649aa0012cb24ac0077491180010002321..."} 
[2026-06-23 08:27:32] local.INFO: Processing buffer {"connection_id":112278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2649aa0012cb24ac0077491180010002321..."} 
[2026-06-23 08:27:32] local.INFO: Packet analysis {"connection_id":112278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:27:32] local.INFO: Extracted packet for processing {"connection_id":112278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":749882048,"raw_latitude":125079832,"longitude_deg":74.9882048,"latitude_deg":12.5079832,"altitude":16,"angle":35,"satellites":33,"speed":14,"hex_longitude":"2cb24ac0","hex_latitude":"07749118","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238883584001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237461814476800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599803892149780480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782183140000,"timestamp_ms":1782183140000,"timestamp_seconds":1782183140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2649aa0"} 
[2026-06-23 08:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:27:32] 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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:27:32] 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-06-23 08: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-06-23 08:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238883584001,"66":27767,"6":206,"27":54016,"24":14,"16":321237461814476800,"44":-5599803892149780480},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238883584001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:27:32] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:27:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237461814476800,"km_value":321237461814476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599803892149780480,"description":"Unknown IO ID 44"} 
[2026-06-23 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238883584001,"power":27767,"unknown_6":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-5599803892149780480}} 
[2026-06-23 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":112278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:27:32] local.INFO: GPS data processed {"connection_id":112278,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:27:32] local.INFO: Acknowledgment sent {"connection_id":112278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:36] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2677ce80100000000000000000000000000..."} 
[2026-06-23 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2677ce80100000000000000000000000000..."} 
[2026-06-23 08:27:36] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2677ce80100000000000000000000000000..."} 
[2026-06-23 08:27:36] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27:36] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27: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-06-23 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782183329000,"timestamp_ms":1782183329000,"timestamp_seconds":1782183329,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2677ce8"} 
[2026-06-23 08:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:27:36] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:27:36] 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-06-23 08:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:27:36] local.INFO: GPS data processed {"connection_id":110544,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:27:36] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:42] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:27:42] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:27:42] local.INFO: IMEI packet received {"connection_id":111343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":111343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:27:48] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:27:48] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:27:48] local.INFO: IMEI packet received {"connection_id":111343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":111343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:27:48] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef267d6c0012d139ec0071e7c60002100c717..."} 
[2026-06-23 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef267d6c0012d139ec0071e7c60002100c717..."} 
[2026-06-23 08:27:48] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef267d6c0012d139ec0071e7c60002100c717..."} 
[2026-06-23 08:27:48] local.INFO: Packet analysis {"connection_id":111343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27:48] local.INFO: Extracted packet for processing {"connection_id":111343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756260544,"raw_latitude":119438432,"longitude_deg":75.6260544,"latitude_deg":11.9438432,"altitude":33,"angle":199,"satellites":23,"speed":0,"hex_longitude":"2d139ec0","hex_latitude":"071e7c60","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238937856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885077092106240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413778469849688064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183352000,"timestamp_ms":1782183352000,"timestamp_seconds":1782183352,"priority":1,"record_length":96,"hex_timestamp":"0000019ef267d6c0"} 
[2026-06-23 08:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:27:48] 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-06-23 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:27:48] 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-06-23 08: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-06-23 08:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238937856001,"66":13048,"10":206,"83":41984,"24":0,"16":3885077092106240,"45":1413778469849688064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238937856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:27:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885077092106240,"km_value":3885077092106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413778469849688064,"description":"Unknown IO ID 45"} 
[2026-06-23 08:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238937856001,"power":13048,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1413778469849688064}} 
[2026-06-23 08:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":111343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:27:49] local.INFO: GPS data processed {"connection_id":111343,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:27:49] local.INFO: Acknowledgment sent {"connection_id":111343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:27:57] local.INFO: TCP Data received {"connection_id":112279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:57] local.INFO: Processing buffer {"connection_id":112279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:57] local.INFO: IMEI packet received {"connection_id":112279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":112279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:27:57] local.INFO: TCP Data received {"connection_id":112279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:57] local.INFO: Processing buffer {"connection_id":112279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:57] local.INFO: IMEI packet received {"connection_id":112279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":112279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:27:59] local.INFO: TCP Data received {"connection_id":112279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:59] local.INFO: Processing buffer {"connection_id":112279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:27:59] local.INFO: IMEI packet received {"connection_id":112279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":112279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:28:02] local.INFO: TCP Data received {"connection_id":112279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:28:02] local.INFO: Processing buffer {"connection_id":112279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:28:02] local.INFO: IMEI packet received {"connection_id":112279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":112279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:28:03] local.INFO: TCP Data received {"connection_id":112279,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2699fc8012d7b488005e92df80007000620..."} 
[2026-06-23 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2699fc8012d7b488005e92df80007000620..."} 
[2026-06-23 08:28:03] local.INFO: Processing buffer {"connection_id":112279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2699fc8012d7b488005e92df80007000620..."} 
[2026-06-23 08:28:03] local.INFO: Packet analysis {"connection_id":112279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:28:03] local.INFO: Extracted packet for processing {"connection_id":112279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":99167736,"longitude_deg":76.3054208,"latitude_deg":9.9167736,"altitude":7,"angle":6,"satellites":32,"speed":8,"hex_longitude":"2d7b4880","hex_latitude":"05e92df8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238965760001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96288369297850368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240327389184,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:03] 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-06-23 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183469000,"timestamp_ms":1782183469000,"timestamp_seconds":1782183469,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2699fc8"} 
[2026-06-23 08:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28:03] 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-06-23 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:03] 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-06-23 08: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-06-23 08:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238965760001,"66":12917,"201":206,"87":13824,"24":8,"16":96288369297850368,"45":8883913240327389184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238965760001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96288369297850368,"km_value":96288369297850.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240327389184,"description":"Unknown IO ID 45"} 
[2026-06-23 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238965760001,"power":12917,"unknown_201":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8883913240327389184}} 
[2026-06-23 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":112279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:03] local.INFO: GPS data processed {"connection_id":112279,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:03] local.INFO: Acknowledgment sent {"connection_id":112279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:03] local.INFO: TCP Data received {"connection_id":112278,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef264d920012cb25ec00774aed00016001d27..."} 
[2026-06-23 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef264d920012cb25ec00774aed00016001d27..."} 
[2026-06-23 08:28:03] local.INFO: Processing buffer {"connection_id":112278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef264d920012cb25ec00774aed00016001d27..."} 
[2026-06-23 08:28:03] local.INFO: Packet analysis {"connection_id":112278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:28:03] local.INFO: Extracted packet for processing {"connection_id":112278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef264"} 
[2026-06-23 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":749887168,"raw_latitude":125087440,"longitude_deg":74.9887168,"latitude_deg":12.508744,"altitude":22,"angle":29,"satellites":39,"speed":25,"hex_longitude":"2cb25ec0","hex_latitude":"0774aed0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238883840001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321237904196108288,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599452048428820480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183156000,"timestamp_ms":1782183156000,"timestamp_seconds":1782183156,"priority":1,"record_length":96,"hex_timestamp":"0000019ef264d920"} 
[2026-06-23 08:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:03] 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-06-23 08: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-06-23 08:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238883840001,"66":27865,"6":206,"27":54016,"24":25,"16":321237904196108288,"44":-5599452048428820480},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-06-23 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238883840001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321237904196108288,"km_value":321237904196108.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599452048428820480,"description":"Unknown IO ID 44"} 
[2026-06-23 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238883840001,"power":27865,"unknown_6":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5599452048428820480}} 
[2026-06-23 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":112278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:03] local.INFO: GPS data processed {"connection_id":112278,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:03] local.INFO: Acknowledgment sent {"connection_id":112278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:07] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef267cef00100000000000000000000000000..."} 
[2026-06-23 08:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef267cef00100000000000000000000000000..."} 
[2026-06-23 08:28:08] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef267cef00100000000000000000000000000..."} 
[2026-06-23 08:28:08] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:28:08] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:28: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-06-23 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770248625586176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 08:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782183350000,"timestamp_ms":1782183350000,"timestamp_seconds":1782183350,"priority":1,"record_length":96,"hex_timestamp":"0000019ef267cef0"} 
[2026-06-23 08:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28:08] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:08] 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-06-23 08:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 08:28:08] local.INFO: GPS data processed {"connection_id":110544,"processed":0,"errors":0,"total":1} 
[2026-06-23 08:28:08] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:20] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef267daa8012d139ec0071e7c40002100b317..."} 
[2026-06-23 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef267daa8012d139ec0071e7c40002100b317..."} 
[2026-06-23 08:28:20] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef267daa8012d139ec0071e7c40002100b317..."} 
[2026-06-23 08:28:20] local.INFO: Packet analysis {"connection_id":111343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:28:20] local.INFO: Extracted packet for processing {"connection_id":111343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef267"} 
[2026-06-23 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756260544,"raw_latitude":119438400,"longitude_deg":75.6260544,"latitude_deg":11.94384,"altitude":33,"angle":179,"satellites":23,"speed":0,"hex_longitude":"2d139ec0","hex_latitude":"071e7c40","is_valid_coordinates":true} 
[2026-06-23 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238938112001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885077092106240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413778469849686016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782183353000,"timestamp_ms":1782183353000,"timestamp_seconds":1782183353,"priority":1,"record_length":96,"hex_timestamp":"0000019ef267daa8"} 
[2026-06-23 08:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28:20] 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-06-23 08:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238938112001,"66":13048,"10":206,"83":41984,"24":0,"16":3885077092106240,"45":1413778469849686016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238938112001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:20] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885077092106240,"km_value":3885077092106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413778469849686016,"description":"Unknown IO ID 45"} 
[2026-06-23 08:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238938112001,"power":13048,"unknown_10":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1413778469849686016}} 
[2026-06-23 08:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":111343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:20] local.INFO: GPS data processed {"connection_id":111343,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:20] local.INFO: Acknowledgment sent {"connection_id":111343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:24] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:28:24] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:28:24] local.INFO: IMEI packet received {"connection_id":110547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":110547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:28:30] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:28:30] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:28:30] local.INFO: IMEI packet received {"connection_id":110547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":110547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:28:31] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2650800012cb270400774ccf00018001e28..."} 
[2026-06-23 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2650800012cb270400774ccf00018001e28..."} 
[2026-06-23 08:28:31] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2650800012cb270400774ccf00018001e28..."} 
[2026-06-23 08:28:31] local.INFO: Packet analysis {"connection_id":110547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:28:31] local.INFO: Extracted packet for processing {"connection_id":110547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":749891648,"raw_latitude":125095152,"longitude_deg":74.9891648,"latitude_deg":12.5095152,"altitude":24,"angle":30,"satellites":40,"speed":34,"hex_longitude":"2cb27040","hex_latitude":"0774ccf0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238887936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238337987805184,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5593822548892659712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183168000,"timestamp_ms":1782183168000,"timestamp_seconds":1782183168,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2650800"} 
[2026-06-23 08:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28: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-06-23 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:31] 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-06-23 08: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-06-23 08:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238887936001,"66":27691,"241":206,"27":54016,"24":34,"16":321238337987805184,"44":-5593822548892659712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238887936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:28:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238337987805184,"km_value":321238337987805.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5593822548892659712,"description":"Unknown IO ID 44"} 
[2026-06-23 08:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238887936001,"power":27691,"unknown_241":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-5593822548892659712}} 
[2026-06-23 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":110547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:31] local.INFO: GPS data processed {"connection_id":110547,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:31] local.INFO: Acknowledgment sent {"connection_id":110547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:34] local.INFO: TCP Data received {"connection_id":112279,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269a3b0012d7b488005e92eb80007001420..."} 
[2026-06-23 08:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269a3b0012d7b488005e92eb80007001420..."} 
[2026-06-23 08:28:34] local.INFO: Processing buffer {"connection_id":112279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269a3b0012d7b488005e92eb80007001420..."} 
[2026-06-23 08:28:34] local.INFO: Packet analysis {"connection_id":112279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:28:34] local.INFO: Extracted packet for processing {"connection_id":112279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":99167928,"longitude_deg":76.3054208,"latitude_deg":9.9167928,"altitude":7,"angle":20,"satellites":32,"speed":7,"hex_longitude":"2d7b4880","hex_latitude":"05e92eb8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238968064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96288377887784960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027863599104,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28: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-06-23 08:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782183470000,"timestamp_ms":1782183470000,"timestamp_seconds":1782183470,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269a3b0"} 
[2026-06-23 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-06-23 08:28: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-06-23 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:28: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-06-23 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-06-23 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-06-23 08:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238968064001,"66":12917,"201":206,"87":13824,"24":7,"16":96288377887784960,"45":8883491027863599104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238968064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96288377887784960,"km_value":96288377887784.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027863599104,"description":"Unknown IO ID 45"} 
[2026-06-23 08:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238968064001,"power":12917,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8883491027863599104}} 
[2026-06-23 08:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":112279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:34] local.INFO: GPS data processed {"connection_id":112279,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:34] local.INFO: Acknowledgment sent {"connection_id":112279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:38] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a43d8012d0c1f000702b018001d007008..."} 
[2026-06-23 08:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a43d8012d0c1f000702b018001d007008..."} 
[2026-06-23 08:28:38] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a43d8012d0c1f000702b018001d007008..."} 
[2026-06-23 08:28:38] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:28:38] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:28:38] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":117616664,"longitude_deg":75.5769088,"latitude_deg":11.7616664,"altitude":29,"angle":112,"satellites":8,"speed":9,"hex_longitude":"2d0c1f00","hex_latitude":"0702b018","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238977280001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770802676367360,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871939139215390720,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28: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-06-23 08:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782183511000,"timestamp_ms":1782183511000,"timestamp_seconds":1782183511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a43d8"} 
[2026-06-23 08:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28:38] 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-06-23 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:38] 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-06-23 08: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-06-23 08:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238977280001,"66":14461,"37":206,"94":11008,"24":9,"16":21770802676367360,"45":871939139215390720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238977280001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770802676367360,"km_value":21770802676367.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":871939139215390720,"description":"Unknown IO ID 45"} 
[2026-06-23 08:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238977280001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":871939139215390720}} 
[2026-06-23 08:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369505,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:38] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:38] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:42] local.INFO: TCP Data received {"connection_id":112280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:28:42] local.INFO: Processing buffer {"connection_id":112280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:28:42] local.INFO: IMEI packet received {"connection_id":112280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":112280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:28:48] local.INFO: TCP Data received {"connection_id":112280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:28:48] local.INFO: Processing buffer {"connection_id":112280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:28:48] local.INFO: IMEI packet received {"connection_id":112280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":112280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:28:48] local.INFO: TCP Data received {"connection_id":112280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2681158012d139f40071e7be0001f00e518..."} 
[2026-06-23 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2681158012d139f40071e7be0001f00e518..."} 
[2026-06-23 08:28:48] local.INFO: Processing buffer {"connection_id":112280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2681158012d139f40071e7be0001f00e518..."} 
[2026-06-23 08:28:48] local.INFO: Packet analysis {"connection_id":112280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef268"} 
[2026-06-23 08:28:48] local.INFO: Extracted packet for processing {"connection_id":112280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef268"} 
[2026-06-23 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756260672,"raw_latitude":119438304,"longitude_deg":75.6260672,"latitude_deg":11.9438304,"altitude":31,"angle":229,"satellites":24,"speed":2,"hex_longitude":"2d139f40","hex_latitude":"071e7be0","is_valid_coordinates":true} 
[2026-06-23 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238938368001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885089977008128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413778469849677824,"note":"Value kept but may cause issues"} 
[2026-06-23 08:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183367000,"timestamp_ms":1782183367000,"timestamp_seconds":1782183367,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2681158"} 
[2026-06-23 08:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:28:48] 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-06-23 08:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:28:48] 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-06-23 08:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238938368001,"66":12972,"10":206,"83":41984,"24":2,"16":3885089977008128,"45":1413778469849677824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238938368001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:28:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885089977008128,"km_value":3885089977008.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413778469849677824,"description":"Unknown IO ID 45"} 
[2026-06-23 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238938368001,"power":12972,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1413778469849677824}} 
[2026-06-23 08:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":112280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:28:49] local.INFO: GPS data processed {"connection_id":112280,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:28:49] local.INFO: Acknowledgment sent {"connection_id":112280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:28:57] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:28:57] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:28:57] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:29:01] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:29:01] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:29:01] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:29:01] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:29:01] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:29:01] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:29:02] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269a798012d7b490005e92f400007002a20..."} 
[2026-06-23 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269a798012d7b490005e92f400007002a20..."} 
[2026-06-23 08:29:02] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269a798012d7b490005e92f400007002a20..."} 
[2026-06-23 08:29:02] local.INFO: Packet analysis {"connection_id":111345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:29:02] local.INFO: Extracted packet for processing {"connection_id":111345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":99168064,"longitude_deg":76.3054336,"latitude_deg":9.9168064,"altitude":7,"angle":42,"satellites":32,"speed":7,"hex_longitude":"2d7b4900","hex_latitude":"05e92f40","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238968320001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96288386477719552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027863648256,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:02] 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-06-23 08:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183471000,"timestamp_ms":1782183471000,"timestamp_seconds":1782183471,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269a798"} 
[2026-06-23 08:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29:02] 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-06-23 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:02] 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-06-23 08: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-06-23 08:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238968320001,"66":12982,"201":206,"87":13824,"24":7,"16":96288386477719552,"45":8883491027863648256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238968320001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96288386477719552,"km_value":96288386477719.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027863648256,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238968320001,"power":12982,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8883491027863648256}} 
[2026-06-23 08:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":111345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:02] local.INFO: GPS data processed {"connection_id":111345,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:02] local.INFO: Acknowledgment sent {"connection_id":111345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:03] local.INFO: TCP Data received {"connection_id":110547,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2650be8012cb272000774cfd00018001f28..."} 
[2026-06-23 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2650be8012cb272000774cfd00018001f28..."} 
[2026-06-23 08:29:03] local.INFO: Processing buffer {"connection_id":110547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2650be8012cb272000774cfd00018001f28..."} 
[2026-06-23 08:29:03] local.INFO: Packet analysis {"connection_id":110547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:29:03] local.INFO: Extracted packet for processing {"connection_id":110547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef265"} 
[2026-06-23 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":749892096,"raw_latitude":125095888,"longitude_deg":74.9892096,"latitude_deg":12.5095888,"altitude":24,"angle":31,"satellites":40,"speed":34,"hex_longitude":"2cb27200","hex_latitude":"0774cfd0","is_valid_coordinates":true} 
[2026-06-23 08:29:03] 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-06-23 08:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891008001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588896736798248960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183169000,"timestamp_ms":1782183169000,"timestamp_seconds":1782183169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2650be8"} 
[2026-06-23 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-06-23 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:03] 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-06-23 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-06-23 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-06-23 08:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891008001,"66":27691,"241":206,"27":54016,"24":34,"16":321238376642510848,"44":-5588896736798248960},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891008001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:29:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588896736798248960,"description":"Unknown IO ID 44"} 
[2026-06-23 08:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891008001,"power":27691,"unknown_241":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-5588896736798248960}} 
[2026-06-23 08:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":110547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:03] local.INFO: GPS data processed {"connection_id":110547,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:03] local.INFO: Acknowledgment sent {"connection_id":110547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:09] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a47c0012d0c20000702af90001d007b09..."} 
[2026-06-23 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a47c0012d0c20000702af90001d007b09..."} 
[2026-06-23 08:29:09] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a47c0012d0c20000702af90001d007b09..."} 
[2026-06-23 08:29:09] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:09] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":755769344,"raw_latitude":117616528,"longitude_deg":75.5769344,"latitude_deg":11.7616528,"altitude":29,"angle":123,"satellites":9,"speed":9,"hex_longitude":"2d0c2000","hex_latitude":"0702af90","is_valid_coordinates":true} 
[2026-06-23 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238978816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770815561269248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416882843031552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782183512000,"timestamp_ms":1782183512000,"timestamp_seconds":1782183512,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a47c0"} 
[2026-06-23 08:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29: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-06-23 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238978816001,"66":14450,"37":206,"94":11008,"24":9,"16":21770815561269248,"45":873416882843031552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238978816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770815561269248,"km_value":21770815561269.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416882843031552,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238978816001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":873416882843031552}} 
[2026-06-23 08:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369509,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:09] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:09] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:25] local.INFO: TCP Data received {"connection_id":110722,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:29:25] local.INFO: Processing buffer {"connection_id":110722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:29:25] local.INFO: IMEI packet received {"connection_id":110722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":110722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:29:28] local.INFO: TCP Data received {"connection_id":112280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a2c68012d13a080071e7f58001e004816..."} 
[2026-06-23 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a2c68012d13a080071e7f58001e004816..."} 
[2026-06-23 08:29:28] local.INFO: Processing buffer {"connection_id":112280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a2c68012d13a080071e7f58001e004816..."} 
[2026-06-23 08:29:28] local.INFO: Packet analysis {"connection_id":112280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:28] local.INFO: Extracted packet for processing {"connection_id":112280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756260992,"raw_latitude":119439192,"longitude_deg":75.6260992,"latitude_deg":11.9439192,"altitude":30,"angle":72,"satellites":22,"speed":2,"hex_longitude":"2d13a080","hex_latitude":"071e7f58","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238976768001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885184466288640,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1414200682314926080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782183505000,"timestamp_ms":1782183505000,"timestamp_seconds":1782183505,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a2c68"} 
[2026-06-23 08:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238976768001,"66":14157,"10":206,"83":41984,"24":2,"16":3885184466288640,"45":1414200682314926080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238976768001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885184466288640,"km_value":3885184466288.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1414200682314926080,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238976768001,"power":14157,"unknown_10":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1414200682314926080}} 
[2026-06-23 08:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":112280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:28] local.INFO: GPS data processed {"connection_id":112280,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:28] local.INFO: Acknowledgment sent {"connection_id":112280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:30] local.INFO: TCP Data received {"connection_id":110722,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:29:30] local.INFO: Processing buffer {"connection_id":110722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:29:30] local.INFO: IMEI packet received {"connection_id":110722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":110722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:29:31] local.INFO: TCP Data received {"connection_id":110722,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:29:31] local.INFO: Processing buffer {"connection_id":110722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:29:31] local.INFO: Packet analysis {"connection_id":110722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:29:31] local.INFO: Extracted packet for processing {"connection_id":110722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 08:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:31] 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-06-23 08: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-06-23 08:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":110722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:31] local.INFO: GPS data processed {"connection_id":110722,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:31] local.INFO: Acknowledgment sent {"connection_id":110722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:34] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269ab80012d7b49c005e92f880007004020..."} 
[2026-06-23 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269ab80012d7b49c005e92f880007004020..."} 
[2026-06-23 08:29:34] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269ab80012d7b49c005e92f880007004020..."} 
[2026-06-23 08:29:34] local.INFO: Packet analysis {"connection_id":111345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:29:34] local.INFO: Extracted packet for processing {"connection_id":111345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":99168136,"longitude_deg":76.3054528,"latitude_deg":9.9168136,"altitude":7,"angle":64,"satellites":32,"speed":7,"hex_longitude":"2d7b49c0","hex_latitude":"05e92f88","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238968576001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96288395067654144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765352038400,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29: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-06-23 08:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782183472000,"timestamp_ms":1782183472000,"timestamp_seconds":1782183472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269ab80"} 
[2026-06-23 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-06-23 08:29: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-06-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:34] 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-06-23 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-06-23 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-06-23 08:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238968576001,"66":12982,"201":206,"87":13824,"24":7,"16":96288395067654144,"45":8883631765352038400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238968576001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96288395067654144,"km_value":96288395067654.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765352038400,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238968576001,"power":12982,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8883631765352038400}} 
[2026-06-23 08:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":111345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:34] local.INFO: GPS data processed {"connection_id":111345,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:34] local.INFO: Acknowledgment sent {"connection_id":111345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:40] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a5378012d0c21c00702ae00001d008b09..."} 
[2026-06-23 08:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a5378012d0c21c00702ae00001d008b09..."} 
[2026-06-23 08:29:40] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a5378012d0c21c00702ae00001d008b09..."} 
[2026-06-23 08:29:40] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:40] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:40] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117616128,"longitude_deg":75.5769792,"latitude_deg":11.7616128,"altitude":29,"angle":139,"satellites":9,"speed":7,"hex_longitude":"2d0c21c0","hex_latitude":"0702ae00","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238979072001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770845626040320,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873698357819707392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782183515000,"timestamp_ms":1782183515000,"timestamp_seconds":1782183515,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a5378"} 
[2026-06-23 08:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29: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-06-23 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 08:29: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-06-23 08: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-06-23 08:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238979072001,"66":14428,"37":206,"94":11008,"24":7,"16":21770845626040320,"45":873698357819707392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238979072001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:29:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770845626040320,"km_value":21770845626040.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":873698357819707392,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238979072001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":873698357819707392}} 
[2026-06-23 08:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:40] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:40] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:48] local.INFO: TCP Data received {"connection_id":112281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:29:48] local.INFO: Processing buffer {"connection_id":112281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:29:48] local.INFO: IMEI packet received {"connection_id":112281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":112281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:29:49] local.INFO: TCP Data received {"connection_id":112281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:29:49] local.INFO: Processing buffer {"connection_id":112281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:29:49] local.INFO: IMEI packet received {"connection_id":112281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":112281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:29:49] local.INFO: TCP Data received {"connection_id":112281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a3438012d13a100071e8020001e003615..."} 
[2026-06-23 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a3438012d13a100071e8020001e003615..."} 
[2026-06-23 08:29:49] local.INFO: Processing buffer {"connection_id":112281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a3438012d13a100071e8020001e003615..."} 
[2026-06-23 08:29:49] local.INFO: Packet analysis {"connection_id":112281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:49] local.INFO: Extracted packet for processing {"connection_id":112281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756261120,"raw_latitude":119439392,"longitude_deg":75.626112,"latitude_deg":11.9439392,"altitude":30,"angle":54,"satellites":21,"speed":4,"hex_longitude":"2d13a100","hex_latitude":"071e8020","is_valid_coordinates":true} 
[2026-06-23 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238977280001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885197351190528,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1414271051059124224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782183507000,"timestamp_ms":1782183507000,"timestamp_seconds":1782183507,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a3438"} 
[2026-06-23 08:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29:49] 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-06-23 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238977280001,"66":13298,"10":206,"83":41984,"24":4,"16":3885197351190528,"45":1414271051059124224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238977280001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885197351190528,"km_value":3885197351190.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1414271051059124224,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238977280001,"power":13298,"unknown_10":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1414271051059124224}} 
[2026-06-23 08:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":112281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:49] local.INFO: GPS data processed {"connection_id":112281,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:49] local.INFO: Acknowledgment sent {"connection_id":112281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:29:54] local.INFO: TCP Data received {"connection_id":112281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a6ae8012d13a680071e8408002000271d..."} 
[2026-06-23 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a6ae8012d13a680071e8408002000271d..."} 
[2026-06-23 08:29:54] local.INFO: Processing buffer {"connection_id":112281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a6ae8012d13a680071e8408002000271d..."} 
[2026-06-23 08:29:54] local.INFO: Packet analysis {"connection_id":112281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:54] local.INFO: Extracted packet for processing {"connection_id":112281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756262528,"raw_latitude":119440392,"longitude_deg":75.6262528,"latitude_deg":11.9440392,"altitude":32,"angle":39,"satellites":29,"speed":5,"hex_longitude":"2d13a680","hex_latitude":"071e8408","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238977792001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885287545503744,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1414411788547530752,"note":"Value kept but may cause issues"} 
[2026-06-23 08:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782183521000,"timestamp_ms":1782183521000,"timestamp_seconds":1782183521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a6ae8"} 
[2026-06-23 08:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:29:54] 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-06-23 08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-23 08:29:54] 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-06-23 08: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-06-23 08:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":112281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":112281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":112281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238977792001,"66":14243,"10":206,"83":41984,"24":5,"16":3885287545503744,"45":1414411788547530752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238977792001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:29:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885287545503744,"km_value":3885287545503.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1414411788547530752,"description":"Unknown IO ID 45"} 
[2026-06-23 08:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238977792001,"power":14243,"unknown_10":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1414411788547530752}} 
[2026-06-23 08:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":112281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:29:54] local.INFO: GPS data processed {"connection_id":112281,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:29:54] local.INFO: Acknowledgment sent {"connection_id":112281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:02] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:02] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:02] local.INFO: IMEI packet received {"connection_id":110548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":110548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:30:02] local.INFO: TCP Data received {"connection_id":110722,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:30:02] local.INFO: Processing buffer {"connection_id":110722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:30:02] local.INFO: Packet analysis {"connection_id":110722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:30:02] local.INFO: Extracted packet for processing {"connection_id":110722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 08:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:02] 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-06-23 08: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-06-23 08:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":110722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:02] local.INFO: GPS data processed {"connection_id":110722,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:02] local.INFO: Acknowledgment sent {"connection_id":110722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:04] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:04] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:04] local.INFO: IMEI packet received {"connection_id":110548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":110548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:30:04] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26b0ef8012d7bad0005e948800009004624..."} 
[2026-06-23 08:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26b0ef8012d7bad0005e948800009004624..."} 
[2026-06-23 08:30:04] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26b0ef8012d7bad0005e948800009004624..."} 
[2026-06-23 08:30:04] local.INFO: Packet analysis {"connection_id":110548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:30:04] local.INFO: Extracted packet for processing {"connection_id":110548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:30:04] local.INFO: GPS Element Parsed {"raw_longitude":763079936,"raw_latitude":99174528,"longitude_deg":76.3079936,"latitude_deg":9.9174528,"altitude":9,"angle":70,"satellites":36,"speed":14,"hex_longitude":"2d7bad00","hex_latitude":"05e94880","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238987008001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96289662083006464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902349851304226816,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] 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-06-23 08:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782183563000,"timestamp_ms":1782183563000,"timestamp_seconds":1782183563,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26b0ef8"} 
[2026-06-23 08:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:04] 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-06-23 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067021456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":242,"raw_value":7619817895685213952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221612850,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802093,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1643778679500681696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224935718433193,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,201,87,24,241,157,16,22,158,177,45,64,60,7,38,10,66,99,59,91,1,240,41,227,242,233,4,113,205,14,101,32,239,50,2,86,5,6,51,54],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-06-23 08:30:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504478083970891776,"timestamp_seconds":504478083970891.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238987008001,"66":13048,"201":206,"87":13824,"24":14,"16":96289662083006464,"45":8902349851304226816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238987008001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:04] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:30:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96289662083006464,"km_value":96289662083006.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902349851304226816,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238987008001,"power":13048,"unknown_201":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8902349851304226816}} 
[2026-06-23 08:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":110548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:04] local.INFO: GPS data processed {"connection_id":110548,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:04] local.INFO: Acknowledgment sent {"connection_id":110548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:07] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26b41c0012d7bbb0005e94d80000a003725..."} 
[2026-06-23 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26b41c0012d7bbb0005e94d80000a003725..."} 
[2026-06-23 08:30:07] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26b41c0012d7bbb0005e94d80000a003725..."} 
[2026-06-23 08:30:07] local.INFO: Packet analysis {"connection_id":110548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:30:07] local.INFO: Extracted packet for processing {"connection_id":110548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":99175808,"longitude_deg":76.308352,"latitude_deg":9.9175808,"altitude":10,"angle":55,"satellites":37,"speed":9,"hex_longitude":"2d7bbb00","hex_latitude":"05e94d80","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238992128001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96289846766600192,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911779263024758784,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:07] 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-06-23 08:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782183576000,"timestamp_ms":1782183576000,"timestamp_seconds":1782183576,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26b41c0"} 
[2026-06-23 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-06-23 08:30:07] 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-06-23 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:07] 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-06-23 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-06-23 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-06-23 08:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238992128001,"66":13059,"201":206,"87":13824,"24":9,"16":96289846766600192,"45":8911779263024758784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238992128001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96289846766600192,"km_value":96289846766600.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911779263024758784,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238992128001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8911779263024758784}} 
[2026-06-23 08:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":110548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:07] local.INFO: GPS data processed {"connection_id":110548,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:07] local.INFO: Acknowledgment sent {"connection_id":110548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:11] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a5f30012d0c23400702ad00001d00800a..."} 
[2026-06-23 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a5f30012d0c23400702ad00001d00800a..."} 
[2026-06-23 08:30:11] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a5f30012d0c23400702ad00001d00800a..."} 
[2026-06-23 08:30:11] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:11] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":755770176,"raw_latitude":117615872,"longitude_deg":75.5770176,"latitude_deg":11.7615872,"altitude":29,"angle":128,"satellites":10,"speed":3,"hex_longitude":"2d0c2340","hex_latitude":"0702ad00","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238979840001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770867100876800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939028848640,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:11] 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-06-23 08:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782183518000,"timestamp_ms":1782183518000,"timestamp_seconds":1782183518,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a5f30"} 
[2026-06-23 08:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:11] 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-06-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:30: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-06-23 08: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-06-23 08:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238979840001,"66":14537,"37":206,"94":11008,"24":3,"16":21770867100876800,"45":874190939028848640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238979840001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:11] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:30:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770867100876800,"km_value":21770867100876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939028848640,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238979840001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":874190939028848640}} 
[2026-06-23 08:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:12] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:12] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:25] local.INFO: TCP Data received {"connection_id":111346,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:30:25] local.INFO: Processing buffer {"connection_id":111346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:30:25] local.INFO: IMEI packet received {"connection_id":111346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":111346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:30:26] local.INFO: TCP Data received {"connection_id":112281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a8e10012d13a640071e8478002001631e..."} 
[2026-06-23 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a8e10012d13a640071e8478002001631e..."} 
[2026-06-23 08:30:26] local.INFO: Processing buffer {"connection_id":112281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a8e10012d13a640071e8478002001631e..."} 
[2026-06-23 08:30:26] local.INFO: Packet analysis {"connection_id":112281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:26] local.INFO: Extracted packet for processing {"connection_id":112281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756262464,"raw_latitude":119440504,"longitude_deg":75.6262464,"latitude_deg":11.9440504,"altitude":32,"angle":355,"satellites":30,"speed":6,"hex_longitude":"2d13a640","hex_latitude":"071e8478","is_valid_coordinates":true} 
[2026-06-23 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238981376001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885300430405632,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415959900919695360,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782183530000,"timestamp_ms":1782183530000,"timestamp_seconds":1782183530,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a8e10"} 
[2026-06-23 08:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:26] 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-06-23 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238981376001,"66":14363,"10":206,"83":41984,"24":6,"16":3885300430405632,"45":1415959900919695360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238981376001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:30:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885300430405632,"km_value":3885300430405.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415959900919695360,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238981376001,"power":14363,"unknown_10":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1415959900919695360}} 
[2026-06-23 08:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":112281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:26] local.INFO: GPS data processed {"connection_id":112281,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:26] local.INFO: Acknowledgment sent {"connection_id":112281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:30] local.INFO: TCP Data received {"connection_id":111346,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:30:30] local.INFO: Processing buffer {"connection_id":111346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:30:30] local.INFO: IMEI packet received {"connection_id":111346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":111346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:30:31] local.INFO: TCP Data received {"connection_id":111346,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:30:31] local.INFO: Processing buffer {"connection_id":111346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:30:31] local.INFO: Packet analysis {"connection_id":111346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:30:31] local.INFO: Extracted packet for processing {"connection_id":111346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:30:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 08:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:31] 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-06-23 08:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:30:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":111346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:31] local.INFO: GPS data processed {"connection_id":111346,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:31] local.INFO: Acknowledgment sent {"connection_id":111346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:37] local.INFO: TCP Data received {"connection_id":112282,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:30:37] local.INFO: Processing buffer {"connection_id":112282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:30:37] local.INFO: IMEI packet received {"connection_id":112282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":112282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:30:38] local.INFO: TCP Data received {"connection_id":110548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26b6cb8012d7bcdc005e95a200006004927..."} 
[2026-06-23 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26b6cb8012d7bcdc005e95a200006004927..."} 
[2026-06-23 08:30:38] local.INFO: Processing buffer {"connection_id":110548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26b6cb8012d7bcdc005e95a200006004927..."} 
[2026-06-23 08:30:38] local.INFO: Packet analysis {"connection_id":110548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:30:38] local.INFO: Extracted packet for processing {"connection_id":110548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763088320,"raw_latitude":99179040,"longitude_deg":76.308832,"latitude_deg":9.917904,"altitude":6,"angle":73,"satellites":39,"speed":25,"hex_longitude":"2d7bcdc0","hex_latitude":"05e95a20","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238995456001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96290125939474432,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719912699035648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] 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-06-23 08:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782183587000,"timestamp_ms":1782183587000,"timestamp_seconds":1782183587,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26b6cb8"} 
[2026-06-23 08:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30: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-06-23 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158818557229,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067050456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-06-23 08:30:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912740864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,201,87,24,241,157,16,23,158,14,45,72,9,36,10,66,22,192,128,61,7,37,177,64,1,240,3,227,242,233,4,113,205,91,127,208,239,50,2,86,5],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-06-23 08:30:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720636572433186816,"timestamp_seconds":720636572433186.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238995456001,"66":13178,"201":206,"87":13824,"24":25,"16":96290125939474432,"45":8915719912699035648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 08:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238995456001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96290125939474432,"km_value":96290125939474.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719912699035648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238995456001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8915719912699035648}} 
[2026-06-23 08:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":110548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:38] local.INFO: GPS data processed {"connection_id":110548,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:38] local.INFO: Acknowledgment sent {"connection_id":110548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:42] local.INFO: TCP Data received {"connection_id":111347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:42] local.INFO: Processing buffer {"connection_id":111347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:42] local.INFO: IMEI packet received {"connection_id":111347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":111347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:30:43] local.INFO: TCP Data received {"connection_id":110544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a6ae8012d0c24400702acd0001d007e0a..."} 
[2026-06-23 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a6ae8012d0c24400702acd0001d007e0a..."} 
[2026-06-23 08:30:43] local.INFO: Processing buffer {"connection_id":110544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a6ae8012d0c24400702acd0001d007e0a..."} 
[2026-06-23 08:30:43] local.INFO: Packet analysis {"connection_id":110544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:43] local.INFO: Extracted packet for processing {"connection_id":110544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":755770432,"raw_latitude":117615824,"longitude_deg":75.5770432,"latitude_deg":11.7615824,"altitude":29,"angle":126,"satellites":10,"speed":0,"hex_longitude":"2d0c2440","hex_latitude":"0702acd0","is_valid_coordinates":true} 
[2026-06-23 08:30: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-06-23 08:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238980608001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770879985778688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874613151493849088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782183521000,"timestamp_ms":1782183521000,"timestamp_seconds":1782183521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a6ae8"} 
[2026-06-23 08:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:43] 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-06-23 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:43] 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-06-23 08: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-06-23 08:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":110544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":110544,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238980608001,"66":14515,"37":206,"94":11008,"24":0,"16":21770879985778688,"45":874613151493849088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238980608001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:30:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770879985778688,"km_value":21770879985778.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":874613151493849088,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238980608001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874613151493849088}} 
[2026-06-23 08:30:43] local.INFO: TCP Data received {"connection_id":111347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:43] local.INFO: Processing buffer {"connection_id":111347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:43] local.INFO: IMEI packet received {"connection_id":111347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":111347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":110544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369523,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:43] local.INFO: GPS data processed {"connection_id":110544,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:43] local.INFO: Acknowledgment sent {"connection_id":110544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:48] local.INFO: TCP Data received {"connection_id":111347,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:48] local.INFO: Processing buffer {"connection_id":111347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:30:48] local.INFO: IMEI packet received {"connection_id":111347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":111347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:30:49] local.INFO: TCP Data received {"connection_id":111347,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a91f8012d13a640071e8530002001561e..."} 
[2026-06-23 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a91f8012d13a640071e8530002001561e..."} 
[2026-06-23 08:30:49] local.INFO: Processing buffer {"connection_id":111347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a91f8012d13a640071e8530002001561e..."} 
[2026-06-23 08:30:49] local.INFO: Packet analysis {"connection_id":111347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:49] local.INFO: Extracted packet for processing {"connection_id":111347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756262464,"raw_latitude":119440688,"longitude_deg":75.6262464,"latitude_deg":11.9440688,"altitude":32,"angle":342,"satellites":30,"speed":8,"hex_longitude":"2d13a640","hex_latitude":"071e8530","is_valid_coordinates":true} 
[2026-06-23 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238983680001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3885309020340224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415889532175546368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782183531000,"timestamp_ms":1782183531000,"timestamp_seconds":1782183531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a91f8"} 
[2026-06-23 08:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:30:49] 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-06-23 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 08:30:49] 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-06-23 08:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238983680001,"66":14363,"10":206,"83":41984,"24":8,"16":3885309020340224,"45":1415889532175546368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-06-23 08:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238983680001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:30:49] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 08:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3885309020340224,"km_value":3885309020340.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415889532175546368,"description":"Unknown IO ID 45"} 
[2026-06-23 08:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238983680001,"power":14363,"unknown_10":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1415889532175546368}} 
[2026-06-23 08:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":111347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:30:49] local.INFO: GPS data processed {"connection_id":111347,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:30:49] local.INFO: Acknowledgment sent {"connection_id":111347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:30:58] local.INFO: TCP Data received {"connection_id":110549,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:58] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:30:58] local.INFO: IMEI packet received {"connection_id":110549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":110549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:31:01] local.INFO: TCP Data received {"connection_id":110549,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:31:01] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:31:01] local.INFO: IMEI packet received {"connection_id":110549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":110549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:31:02] local.INFO: TCP Data received {"connection_id":110549,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26ba750012d7bf0c005e961c80003005026..."} 
[2026-06-23 08:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26ba750012d7bf0c005e961c80003005026..."} 
[2026-06-23 08:31:02] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26ba750012d7bf0c005e961c80003005026..."} 
[2026-06-23 08:31:02] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:02] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763097280,"raw_latitude":99181000,"longitude_deg":76.309728,"latitude_deg":9.9181,"altitude":3,"angle":80,"satellites":38,"speed":22,"hex_longitude":"2d7bf0c0","hex_latitude":"05e961c8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238998272001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96290568321105920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920997568513187840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:02] 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-06-23 08:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183602000,"timestamp_ms":1782183602000,"timestamp_seconds":1782183602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26ba750"} 
[2026-06-23 08:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31:02] 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-06-23 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:02] 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-06-23 08: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-06-23 08:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238998272001,"66":13015,"156":206,"87":13824,"24":22,"16":96290568321105920,"45":8920997568513187840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238998272001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96290568321105920,"km_value":96290568321105.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920997568513187840,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238998272001,"power":13015,"unknown_156":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8920997568513187840}} 
[2026-06-23 08:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:02] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:02] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:03] local.INFO: TCP Data received {"connection_id":111346,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:31:03] local.INFO: Processing buffer {"connection_id":111346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:31:03] local.INFO: Packet analysis {"connection_id":111346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:31:03] local.INFO: Extracted packet for processing {"connection_id":111346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 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-06-23 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:03] 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-06-23 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-06-23 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-06-23 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":111346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:03] local.INFO: GPS data processed {"connection_id":111346,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:03] local.INFO: Acknowledgment sent {"connection_id":111346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:03] local.INFO: TCP Data received {"connection_id":110549,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26bc2a8012d7bffc005e965700005004427..."} 
[2026-06-23 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26bc2a8012d7bffc005e965700005004427..."} 
[2026-06-23 08:31:03] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26bc2a8012d7bffc005e965700005004427..."} 
[2026-06-23 08:31:03] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:03] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763101120,"raw_latitude":99181936,"longitude_deg":76.310112,"latitude_deg":9.9181936,"altitude":5,"angle":68,"satellites":39,"speed":23,"hex_longitude":"2d7bffc0","hex_latitude":"05e96570","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239002112001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96290753004699648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930849192698562560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:03] 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-06-23 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183609000,"timestamp_ms":1782183609000,"timestamp_seconds":1782183609,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26bc2a8"} 
[2026-06-23 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-06-23 08:31:03] 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-06-23 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:03] 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-06-23 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-06-23 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-06-23 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239002112001,"66":12982,"156":206,"87":13824,"24":23,"16":96290753004699648,"45":8930849192698562560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239002112001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96290753004699648,"km_value":96290753004699.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930849192698562560,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239002112001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8930849192698562560}} 
[2026-06-23 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:03] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:03] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:07] local.INFO: TCP Data received {"connection_id":110723,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:31:07] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:31:07] local.INFO: IMEI packet received {"connection_id":110723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":110723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:31:16] local.INFO: TCP Data received {"connection_id":110550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:31:16] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:31:16] local.INFO: IMEI packet received {"connection_id":110550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":110550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:31:20] local.INFO: TCP Data received {"connection_id":111347,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26bf570012d12ecc0071f18e8002f01251f..."} 
[2026-06-23 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26bf570012d12ecc0071f18e8002f01251f..."} 
[2026-06-23 08:31:20] local.INFO: Processing buffer {"connection_id":111347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26bf570012d12ecc0071f18e8002f01251f..."} 
[2026-06-23 08:31:20] local.INFO: Packet analysis {"connection_id":111347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:20] local.INFO: Extracted packet for processing {"connection_id":111347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756214976,"raw_latitude":119478504,"longitude_deg":75.6214976,"latitude_deg":11.9478504,"altitude":47,"angle":293,"satellites":31,"speed":41,"hex_longitude":"2d12ecc0","hex_latitude":"071f18e8","is_valid_coordinates":true} 
[2026-06-23 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239004928001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3888633325027328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1373386810701099008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782183622000,"timestamp_ms":1782183622000,"timestamp_seconds":1782183622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26bf570"} 
[2026-06-23 08:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31:20] 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-06-23 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239004928001,"66":13972,"145":206,"83":41984,"24":41,"16":3888633325027328,"45":1373386810701099008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-06-23 08:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239004928001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:20] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-23 08:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3888633325027328,"km_value":3888633325027.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1373386810701099008,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239004928001,"power":13972,"unknown_145":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1373386810701099008}} 
[2026-06-23 08:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":111347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:20] local.INFO: GPS data processed {"connection_id":111347,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:20] local.INFO: Acknowledgment sent {"connection_id":111347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:21] local.INFO: TCP Data received {"connection_id":110550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:31:21] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:31:21] local.INFO: IMEI packet received {"connection_id":110550,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":110550,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:31:21] local.INFO: TCP Data received {"connection_id":110550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26a6ae8012d0c24400702acd0001d007e0a..."} 
[2026-06-23 08:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26a6ae8012d0c24400702acd0001d007e0a..."} 
[2026-06-23 08:31:21] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26a6ae8012d0c24400702acd0001d007e0a..."} 
[2026-06-23 08:31:21] local.INFO: Packet analysis {"connection_id":110550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:31:21] local.INFO: Extracted packet for processing {"connection_id":110550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26a"} 
[2026-06-23 08:31:21] local.INFO: GPS Element Parsed {"raw_longitude":755770432,"raw_latitude":117615824,"longitude_deg":75.5770432,"latitude_deg":11.7615824,"altitude":29,"angle":126,"satellites":10,"speed":0,"hex_longitude":"2d0c2440","hex_latitude":"0702acd0","is_valid_coordinates":true} 
[2026-06-23 08:31:21] 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-06-23 08:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238981376001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770879985778688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874894626470547456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:21] 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-06-23 08:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782183521000,"timestamp_ms":1782183521000,"timestamp_seconds":1782183521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26a6ae8"} 
[2026-06-23 08:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31:21] 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-06-23 08:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 08:31: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-06-23 08:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238981376001,"66":14515,"37":206,"94":11008,"24":0,"16":21770879985778688,"45":874894626470547456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238981376001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:31:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770879985778688,"km_value":21770879985778.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":874894626470547456,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238981376001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874894626470547456}} 
[2026-06-23 08:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":110550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:22] local.INFO: GPS data processed {"connection_id":110550,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:22] local.INFO: Acknowledgment sent {"connection_id":110550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:24] local.INFO: TCP Data received {"connection_id":111348,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:31:24] local.INFO: Processing buffer {"connection_id":111348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:31:24] local.INFO: IMEI packet received {"connection_id":111348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":111348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:31:30] local.INFO: TCP Data received {"connection_id":111348,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:31:30] local.INFO: Processing buffer {"connection_id":111348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:31:30] local.INFO: IMEI packet received {"connection_id":111348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":111348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:31:31] local.INFO: TCP Data received {"connection_id":111348,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:31:31] local.INFO: Processing buffer {"connection_id":111348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:31:31] local.INFO: Packet analysis {"connection_id":111348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:31:31] local.INFO: Extracted packet for processing {"connection_id":111348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 08:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:31] 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-06-23 08: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-06-23 08:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:31:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":111348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:31] local.INFO: GPS data processed {"connection_id":111348,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:31] local.INFO: Acknowledgment sent {"connection_id":111348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:34] local.INFO: TCP Data received {"connection_id":110549,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26bf570012d7c230005e972d80009004629..."} 
[2026-06-23 08:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26bf570012d7c230005e972d80009004629..."} 
[2026-06-23 08:31:34] local.INFO: Processing buffer {"connection_id":110549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26bf570012d7c230005e972d80009004629..."} 
[2026-06-23 08:31:34] local.INFO: Packet analysis {"connection_id":110549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:34] local.INFO: Extracted packet for processing {"connection_id":110549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26b"} 
[2026-06-23 08:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763110144,"raw_latitude":99185368,"longitude_deg":76.3110144,"latitude_deg":9.9185368,"altitude":9,"angle":70,"satellites":41,"speed":28,"hex_longitude":"2d7c2300","hex_latitude":"05e972d8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239003904001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96291216861167616,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935071317349462016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31: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-06-23 08:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782183622000,"timestamp_ms":1782183622000,"timestamp_seconds":1782183622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26bf570"} 
[2026-06-23 08:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31: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-06-23 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:34] 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-06-23 08: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-06-23 08:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239003904001,"66":12765,"156":206,"87":13824,"24":28,"16":96291216861167616,"45":8935071317349462016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239003904001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96291216861167616,"km_value":96291216861167.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935071317349462016,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239003904001,"power":12765,"unknown_156":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8935071317349462016}} 
[2026-06-23 08:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":110549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:34] local.INFO: GPS data processed {"connection_id":110549,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:34] local.INFO: Acknowledgment sent {"connection_id":110549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:43] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:31:43] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:31:43] local.INFO: IMEI packet received {"connection_id":111349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":111349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:31:48] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:31:48] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:31:48] local.INFO: IMEI packet received {"connection_id":111349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":111349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:31:48] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26c10c8012d12cfc0071f22700030011a1e..."} 
[2026-06-23 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26c10c8012d12cfc0071f22700030011a1e..."} 
[2026-06-23 08:31:48] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26c10c8012d12cfc0071f22700030011a1e..."} 
[2026-06-23 08:31:48] local.INFO: Packet analysis {"connection_id":111349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:31:48] local.INFO: Extracted packet for processing {"connection_id":111349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756207552,"raw_latitude":119480944,"longitude_deg":75.6207552,"latitude_deg":11.9480944,"altitude":48,"angle":282,"satellites":30,"speed":44,"hex_longitude":"2d12cfc0","hex_latitude":"071f2270","is_valid_coordinates":true} 
[2026-06-23 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239007232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3889002692214784,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1363675924005447680,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183629000,"timestamp_ms":1782183629000,"timestamp_seconds":1782183629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26c10c8"} 
[2026-06-23 08:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 08:31:48] 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-06-23 08:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239007232001,"66":14004,"31":206,"83":41984,"24":44,"16":3889002692214784,"45":1363675924005447680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239007232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3889002692214784,"km_value":3889002692214.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1363675924005447680,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239007232001,"power":14004,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1363675924005447680}} 
[2026-06-23 08:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":111349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:49] local.INFO: GPS data processed {"connection_id":111349,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:49] local.INFO: Acknowledgment sent {"connection_id":111349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:54] local.INFO: TCP Data received {"connection_id":110550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26c9598012d0c26400702ad28001d007e18..."} 
[2026-06-23 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26c9598012d0c26400702ad28001d007e18..."} 
[2026-06-23 08:31:54] local.INFO: Processing buffer {"connection_id":110550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26c9598012d0c26400702ad28001d007e18..."} 
[2026-06-23 08:31:54] local.INFO: Packet analysis {"connection_id":110550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:31:54] local.INFO: Extracted packet for processing {"connection_id":110550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117615912,"longitude_deg":75.5770944,"latitude_deg":11.7615912,"altitude":29,"angle":126,"satellites":24,"speed":0,"hex_longitude":"2d0c2640","hex_latitude":"0702ad28","is_valid_coordinates":true} 
[2026-06-23 08:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238981376001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770879985778688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874894626470547456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:31:54] 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-06-23 08:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782183663000,"timestamp_ms":1782183663000,"timestamp_seconds":1782183663,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26c9598"} 
[2026-06-23 08:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:31:54] 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-06-23 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 08:31: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-06-23 08: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-06-23 08:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":110550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":110550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":110550,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238981376001,"66":12743,"37":206,"94":11008,"24":0,"16":21770879985778688,"45":874894626470547456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238981376001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:31:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:31:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770879985778688,"km_value":21770879985778.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":874894626470547456,"description":"Unknown IO ID 45"} 
[2026-06-23 08:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238981376001,"power":12743,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874894626470547456}} 
[2026-06-23 08:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":110550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:31:54] local.INFO: GPS data processed {"connection_id":110550,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:31:54] local.INFO: Acknowledgment sent {"connection_id":110550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:31:57] local.INFO: TCP Data received {"connection_id":112283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:31:57] local.INFO: Processing buffer {"connection_id":112283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:31:57] local.INFO: IMEI packet received {"connection_id":112283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":112283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:32:03] local.INFO: TCP Data received {"connection_id":111348,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:32:03] local.INFO: Processing buffer {"connection_id":111348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:32:03] local.INFO: Packet analysis {"connection_id":111348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:32:03] local.INFO: Extracted packet for processing {"connection_id":111348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:32:03] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 08:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:03] 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-06-23 08: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-06-23 08:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":111348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:03] local.INFO: GPS data processed {"connection_id":111348,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:03] local.INFO: Acknowledgment sent {"connection_id":111348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:04] local.INFO: TCP Data received {"connection_id":112283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:32:04] local.INFO: Processing buffer {"connection_id":112283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:32:04] local.INFO: IMEI packet received {"connection_id":112283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":112283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:32:06] local.INFO: TCP Data received {"connection_id":112283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26c2838012d7c380005e97a000004003a28..."} 
[2026-06-23 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26c2838012d7c380005e97a000004003a28..."} 
[2026-06-23 08:32:06] local.INFO: Processing buffer {"connection_id":112283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26c2838012d7c380005e97a000004003a28..."} 
[2026-06-23 08:32:06] local.INFO: Packet analysis {"connection_id":112283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:06] local.INFO: Extracted packet for processing {"connection_id":112283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763115520,"raw_latitude":99187200,"longitude_deg":76.311552,"latitude_deg":9.91872,"altitude":4,"angle":58,"satellites":40,"speed":11,"hex_longitude":"2d7c3800","hex_latitude":"05e97a00","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239007232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96291491739074560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944993310279391232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:06] 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-06-23 08:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782183635000,"timestamp_ms":1782183635000,"timestamp_seconds":1782183635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26c2838"} 
[2026-06-23 08:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32: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-06-23 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 08:32: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-06-23 08: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-06-23 08:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239007232001,"66":12906,"156":206,"87":13824,"24":11,"16":96291491739074560,"45":8944993310279391232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239007232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:32:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96291491739074560,"km_value":96291491739074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944993310279391232,"description":"Unknown IO ID 45"} 
[2026-06-23 08:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239007232001,"power":12906,"unknown_156":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8944993310279391232}} 
[2026-06-23 08:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":112283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:06] local.INFO: GPS data processed {"connection_id":112283,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:06] local.INFO: Acknowledgment sent {"connection_id":112283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:16] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:32:16] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:32:16] local.INFO: IMEI packet received {"connection_id":110724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":110724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:32:20] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26c2c20012d12b240071f25b80034010e20..."} 
[2026-06-23 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26c2c20012d12b240071f25b80034010e20..."} 
[2026-06-23 08:32:20] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26c2c20012d12b240071f25b80034010e20..."} 
[2026-06-23 08:32:20] local.INFO: Packet analysis {"connection_id":111349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:20] local.INFO: Extracted packet for processing {"connection_id":111349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756200000,"raw_latitude":119481784,"longitude_deg":75.62,"latitude_deg":11.9481784,"altitude":52,"angle":270,"satellites":32,"speed":40,"hex_longitude":"2d12b240","hex_latitude":"071f25b8","is_valid_coordinates":true} 
[2026-06-23 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239009024001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3889363469467648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355513149681463296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:20] 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-06-23 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782183636000,"timestamp_ms":1782183636000,"timestamp_seconds":1782183636,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26c2c20"} 
[2026-06-23 08:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:20] 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-06-23 08:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:20] 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-06-23 08:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239009024001,"66":14363,"31":206,"83":41984,"24":40,"16":3889363469467648,"45":1355513149681463296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239009024001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:20] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3889363469467648,"km_value":3889363469467.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355513149681463296,"description":"Unknown IO ID 45"} 
[2026-06-23 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239009024001,"power":14363,"unknown_31":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1355513149681463296}} 
[2026-06-23 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":111349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:20] local.INFO: GPS data processed {"connection_id":111349,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:20] local.INFO: Acknowledgment sent {"connection_id":111349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:21] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:32:21] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:32:21] local.INFO: IMEI packet received {"connection_id":110724,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":110724,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:32:22] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26c9980012d0c26400702ad28001d007e18..."} 
[2026-06-23 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26c9980012d0c26400702ad28001d007e18..."} 
[2026-06-23 08:32:22] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26c9980012d0c26400702ad28001d007e18..."} 
[2026-06-23 08:32:22] local.INFO: Packet analysis {"connection_id":110724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:22] local.INFO: Extracted packet for processing {"connection_id":110724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117615912,"longitude_deg":75.5770944,"latitude_deg":11.7615912,"altitude":29,"angle":126,"satellites":24,"speed":0,"hex_longitude":"2d0c2640","hex_latitude":"0702ad28","is_valid_coordinates":true} 
[2026-06-23 08:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239017728001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770879985778688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576423991296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32: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-06-23 08:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782183664000,"timestamp_ms":1782183664000,"timestamp_seconds":1782183664,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26c9980"} 
[2026-06-23 08:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239017728001,"66":12743,"37":206,"94":11008,"24":0,"16":21770879985778688,"45":875457576423991296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239017728001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770879985778688,"km_value":21770879985778.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576423991296,"description":"Unknown IO ID 45"} 
[2026-06-23 08:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239017728001,"power":12743,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":875457576423991296}} 
[2026-06-23 08:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":110724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:22] local.INFO: GPS data processed {"connection_id":110724,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:22] local.INFO: Acknowledgment sent {"connection_id":110724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:24] local.INFO: TCP Data received {"connection_id":112284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:32:24] local.INFO: Processing buffer {"connection_id":112284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:32:24] local.INFO: IMEI packet received {"connection_id":112284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":112284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:32:30] local.INFO: TCP Data received {"connection_id":112284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:32:30] local.INFO: Processing buffer {"connection_id":112284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:32:30] local.INFO: IMEI packet received {"connection_id":112284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":112284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:32:31] local.INFO: TCP Data received {"connection_id":112284,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:32:31] local.INFO: Processing buffer {"connection_id":112284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:32:31] local.INFO: Packet analysis {"connection_id":112284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:32:31] local.INFO: Extracted packet for processing {"connection_id":112284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 08:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:31] 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-06-23 08:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:32:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":112284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:31] local.INFO: GPS data processed {"connection_id":112284,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:31] local.INFO: Acknowledgment sent {"connection_id":112284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:42] local.INFO: TCP Data received {"connection_id":112283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26dce18012d7c9f0005e9bb50000e004127..."} 
[2026-06-23 08:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26dce18012d7c9f0005e9bb50000e004127..."} 
[2026-06-23 08:32:42] local.INFO: Processing buffer {"connection_id":112283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26dce18012d7c9f0005e9bb50000e004127..."} 
[2026-06-23 08:32:42] local.INFO: Packet analysis {"connection_id":112283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26d"} 
[2026-06-23 08:32:42] local.INFO: Extracted packet for processing {"connection_id":112283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26d"} 
[2026-06-23 08:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763141888,"raw_latitude":99203920,"longitude_deg":76.3141888,"latitude_deg":9.920392,"altitude":14,"angle":65,"satellites":39,"speed":15,"hex_longitude":"2d7c9f00","hex_latitude":"05e9bb50","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239033088001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96293244085731328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196339117467648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:42] 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-06-23 08:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782183743000,"timestamp_ms":1782183743000,"timestamp_seconds":1782183743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26dce18"} 
[2026-06-23 08:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:42] 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-06-23 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:42] 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-06-23 08: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-06-23 08:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239033088001,"66":12841,"156":206,"87":13824,"24":15,"16":96293244085731328,"45":8974196339117467648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239033088001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:42] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:32:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96293244085731328,"km_value":96293244085731.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196339117467648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239033088001,"power":12841,"unknown_156":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8974196339117467648}} 
[2026-06-23 08:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":112283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:42] local.INFO: GPS data processed {"connection_id":112283,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:42] local.INFO: Acknowledgment sent {"connection_id":112283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:43] local.INFO: TCP Data received {"connection_id":110551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:43] local.INFO: Processing buffer {"connection_id":110551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:43] local.INFO: IMEI packet received {"connection_id":110551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":110551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:32:43] local.INFO: TCP Data received {"connection_id":110551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:43] local.INFO: Processing buffer {"connection_id":110551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:43] local.INFO: IMEI packet received {"connection_id":110551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":110551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:32:48] local.INFO: TCP Data received {"connection_id":110551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:48] local.INFO: Processing buffer {"connection_id":110551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:32:48] local.INFO: IMEI packet received {"connection_id":110551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":110551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:32:49] local.INFO: TCP Data received {"connection_id":110551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26c5718012d128e80071f22e8003d01061f..."} 
[2026-06-23 08:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26c5718012d128e80071f22e8003d01061f..."} 
[2026-06-23 08:32:49] local.INFO: Processing buffer {"connection_id":110551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26c5718012d128e80071f22e8003d01061f..."} 
[2026-06-23 08:32:49] local.INFO: Packet analysis {"connection_id":110551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:49] local.INFO: Extracted packet for processing {"connection_id":110551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756190848,"raw_latitude":119481064,"longitude_deg":75.6190848,"latitude_deg":11.9481064,"altitude":61,"angle":262,"satellites":31,"speed":28,"hex_longitude":"2d128e80","hex_latitude":"071f22e8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239010816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3889801556131840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1347209637868713984,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:49] 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-06-23 08:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782183647000,"timestamp_ms":1782183647000,"timestamp_seconds":1782183647,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26c5718"} 
[2026-06-23 08:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:49] 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-06-23 08: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-06-23 08:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239010816001,"66":14363,"31":206,"83":41984,"24":28,"16":3889801556131840,"45":1347209637868713984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239010816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:49] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3889801556131840,"km_value":3889801556131.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1347209637868713984,"description":"Unknown IO ID 45"} 
[2026-06-23 08:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239010816001,"power":14363,"unknown_31":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1347209637868713984}} 
[2026-06-23 08:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":110551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:49] local.INFO: GPS data processed {"connection_id":110551,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:49] local.INFO: Acknowledgment sent {"connection_id":110551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:32:53] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26ceb88012d0c27c00702add8001e004917..."} 
[2026-06-23 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26ceb88012d0c27c00702add8001e004917..."} 
[2026-06-23 08:32:53] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26ceb88012d0c27c00702add8001e004917..."} 
[2026-06-23 08:32:53] local.INFO: Packet analysis {"connection_id":110724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:53] local.INFO: Extracted packet for processing {"connection_id":110724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26c"} 
[2026-06-23 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":117616088,"longitude_deg":75.5771328,"latitude_deg":11.7616088,"altitude":30,"angle":73,"satellites":23,"speed":2,"hex_longitude":"2d0c27c0","hex_latitude":"0702add8","is_valid_coordinates":true} 
[2026-06-23 08:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239017984001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21770922935451648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875457576423991296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:32:53] 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-06-23 08:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782183685000,"timestamp_ms":1782183685000,"timestamp_seconds":1782183685,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26ceb88"} 
[2026-06-23 08:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:32:53] 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-06-23 08:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 08:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110724,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239017984001,"66":14396,"37":206,"94":11008,"24":2,"16":21770922935451648,"45":875457576423991296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239017984001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:32:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:32:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21770922935451648,"km_value":21770922935451.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":875457576423991296,"description":"Unknown IO ID 45"} 
[2026-06-23 08:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239017984001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875457576423991296}} 
[2026-06-23 08:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":110724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:32:53] local.INFO: GPS data processed {"connection_id":110724,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:32:53] local.INFO: Acknowledgment sent {"connection_id":110724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:02] local.INFO: TCP Data received {"connection_id":112285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:02] local.INFO: Processing buffer {"connection_id":112285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:02] local.INFO: IMEI packet received {"connection_id":112285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":112285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:33:03] local.INFO: TCP Data received {"connection_id":112284,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:33:03] local.INFO: Processing buffer {"connection_id":112284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef269af68012cb29c0007750b98001a001f28..."} 
[2026-06-23 08:33:03] local.INFO: Packet analysis {"connection_id":112284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:33:03] local.INFO: Extracted packet for processing {"connection_id":112284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef269"} 
[2026-06-23 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":40,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238891264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588816896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183473000,"timestamp_ms":1782183473000,"timestamp_seconds":1782183473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef269af68"} 
[2026-06-23 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-06-23 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:03] 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-06-23 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-06-23 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-06-23 08:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238891264001,"66":26419,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5588404155588816896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238891264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:33:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588404155588816896,"description":"Unknown IO ID 44"} 
[2026-06-23 08:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238891264001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5588404155588816896}} 
[2026-06-23 08:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":112284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:03] local.INFO: GPS data processed {"connection_id":112284,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:03] local.INFO: Acknowledgment sent {"connection_id":112284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:03] local.INFO: TCP Data received {"connection_id":112285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:03] local.INFO: Processing buffer {"connection_id":112285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:03] local.INFO: IMEI packet received {"connection_id":112285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":112285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:05] local.INFO: TCP Data received {"connection_id":112285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:05] local.INFO: Processing buffer {"connection_id":112285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:05] local.INFO: IMEI packet received {"connection_id":112285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":112285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:06] local.INFO: TCP Data received {"connection_id":112285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e33a8012d7ccc4005e9bab8000c00b026..."} 
[2026-06-23 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e33a8012d7ccc4005e9bab8000c00b026..."} 
[2026-06-23 08:33:06] local.INFO: Processing buffer {"connection_id":112285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e33a8012d7ccc4005e9bab8000c00b026..."} 
[2026-06-23 08:33:06] local.INFO: Packet analysis {"connection_id":112285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:06] local.INFO: Extracted packet for processing {"connection_id":112285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":99203768,"longitude_deg":76.3153472,"latitude_deg":9.9203768,"altitude":12,"angle":176,"satellites":38,"speed":13,"hex_longitude":"2d7ccc40","hex_latitude":"05e9bab8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239044608001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96293828201283584,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581348286464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:06] 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-06-23 08:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782183769000,"timestamp_ms":1782183769000,"timestamp_seconds":1782183769,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e33a8"} 
[2026-06-23 08:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33: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-06-23 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 08:33: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-06-23 08: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-06-23 08:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239044608001,"66":12189,"156":206,"87":13824,"24":13,"16":96293828201283584,"45":8992562581348286464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239044608001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:33:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96293828201283584,"km_value":96293828201283.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581348286464,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239044608001,"power":12189,"unknown_156":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8992562581348286464}} 
[2026-06-23 08:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":112285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:06] local.INFO: GPS data processed {"connection_id":112285,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:06] local.INFO: Acknowledgment sent {"connection_id":112285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:07] local.INFO: TCP Data received {"connection_id":112285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e3f60012d7ccc8005e9b6e0000b009d25..."} 
[2026-06-23 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e3f60012d7ccc8005e9b6e0000b009d25..."} 
[2026-06-23 08:33:07] local.INFO: Processing buffer {"connection_id":112285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e3f60012d7ccc8005e9b6e0000b009d25..."} 
[2026-06-23 08:33:07] local.INFO: Packet analysis {"connection_id":112285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:07] local.INFO: Extracted packet for processing {"connection_id":112285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763153536,"raw_latitude":99202784,"longitude_deg":76.3153536,"latitude_deg":9.9202784,"altitude":11,"angle":157,"satellites":37,"speed":12,"hex_longitude":"2d7ccc80","hex_latitude":"05e9b6e0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239044864001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96293875445923840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950092380160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:07] 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-06-23 08:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782183772000,"timestamp_ms":1782183772000,"timestamp_seconds":1782183772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e3f60"} 
[2026-06-23 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-06-23 08:33: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-06-23 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 08:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239044864001,"66":12667,"156":206,"87":13824,"24":12,"16":96293875445923840,"45":8992632950092380160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239044864001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96293875445923840,"km_value":96293875445923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950092380160,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239044864001,"power":12667,"unknown_156":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8992632950092380160}} 
[2026-06-23 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":112285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:07] local.INFO: GPS data processed {"connection_id":112285,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:07] local.INFO: Acknowledgment sent {"connection_id":112285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:20] local.INFO: TCP Data received {"connection_id":110551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e0c98012d112fc0071f3218003c00281f..."} 
[2026-06-23 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e0c98012d112fc0071f3218003c00281f..."} 
[2026-06-23 08:33:20] local.INFO: Processing buffer {"connection_id":110551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e0c98012d112fc0071f3218003c00281f..."} 
[2026-06-23 08:33:20] local.INFO: Packet analysis {"connection_id":110551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:20] local.INFO: Extracted packet for processing {"connection_id":110551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756101056,"raw_latitude":119484952,"longitude_deg":75.6101056,"latitude_deg":11.9484952,"altitude":60,"angle":40,"satellites":31,"speed":8,"hex_longitude":"2d112fc0","hex_latitude":"071f3218","is_valid_coordinates":true} 
[2026-06-23 08:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239042048001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3894272617086976,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238349190626629632,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:20] 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-06-23 08:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782183759000,"timestamp_ms":1782183759000,"timestamp_seconds":1782183759,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e0c98"} 
[2026-06-23 08:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33:20] 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-06-23 08:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239042048001,"66":12885,"33":206,"83":41984,"24":8,"16":3894272617086976,"45":1238349190626629632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-06-23 08:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239042048001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 08:33:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3894272617086976,"km_value":3894272617086.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238349190626629632,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239042048001,"power":12885,"unknown_33":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1238349190626629632}} 
[2026-06-23 08:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":110551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:20] local.INFO: GPS data processed {"connection_id":110551,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:20] local.INFO: Acknowledgment sent {"connection_id":110551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:30] local.INFO: TCP Data received {"connection_id":112286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:33:30] local.INFO: Processing buffer {"connection_id":112286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:33:30] local.INFO: IMEI packet received {"connection_id":112286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":112286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:33:31] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:31] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:31] local.INFO: IMEI packet received {"connection_id":112287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":112287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:33:31] local.INFO: TCP Data received {"connection_id":112286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:33:31] local.INFO: Processing buffer {"connection_id":112286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:33:31] local.INFO: IMEI packet received {"connection_id":112286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":112286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:32] local.INFO: TCP Data received {"connection_id":112286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e4730012cb29c0007750b98001a001f2a..."} 
[2026-06-23 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e4730012cb29c0007750b98001a001f2a..."} 
[2026-06-23 08:33:32] local.INFO: Processing buffer {"connection_id":112286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e4730012cb29c0007750b98001a001f2a..."} 
[2026-06-23 08:33:32] local.INFO: Packet analysis {"connection_id":112286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:32] local.INFO: Extracted packet for processing {"connection_id":112286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238969088001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206563051520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782183774000,"timestamp_ms":1782183774000,"timestamp_seconds":1782183774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e4730"} 
[2026-06-23 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-06-23 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238969088001,"66":25430,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5576582206563051520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238969088001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:32] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206563051520,"description":"Unknown IO ID 44"} 
[2026-06-23 08:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238969088001,"power":25430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576582206563051520}} 
[2026-06-23 08:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":112286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:32] local.INFO: GPS data processed {"connection_id":112286,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:32] local.INFO: Acknowledgment sent {"connection_id":112286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:35] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:35] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:35] local.INFO: IMEI packet received {"connection_id":112287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":112287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:35] local.INFO: TCP Data received {"connection_id":112286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e4730012cb29c0007750b98001a001f2a..."} 
[2026-06-23 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e4730012cb29c0007750b98001a001f2a..."} 
[2026-06-23 08:33:35] local.INFO: Processing buffer {"connection_id":112286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e4730012cb29c0007750b98001a001f2a..."} 
[2026-06-23 08:33:35] local.INFO: Packet analysis {"connection_id":112286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:35] local.INFO: Extracted packet for processing {"connection_id":112286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":42,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456238969088001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206563051520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782183774000,"timestamp_ms":1782183774000,"timestamp_seconds":1782183774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e4730"} 
[2026-06-23 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456238969088001,"66":25430,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5576582206563051520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456238969088001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:33:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206563051520,"description":"Unknown IO ID 44"} 
[2026-06-23 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456238969088001,"power":25430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576582206563051520}} 
[2026-06-23 08:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":112286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:35] local.INFO: GPS data processed {"connection_id":112286,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:35] local.INFO: Acknowledgment sent {"connection_id":112286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:35] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:35] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:35] local.INFO: IMEI packet received {"connection_id":112287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":112287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:36] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:36] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:33:36] local.INFO: IMEI packet received {"connection_id":112287,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":112287,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:36] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":1340,"data_hex":"000000000000030f8e0a0000019ef26e9550012d0c18400703acd00010002817..."} 
[2026-06-23 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019ef26e9550012d0c18400703acd00010002817..."} 
[2026-06-23 08:33:36] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019ef26e9550012d0c18400703acd00010002817..."} 
[2026-06-23 08:33:36] local.INFO: Packet analysis {"connection_id":112287,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:36] local.INFO: Extracted packet for processing {"connection_id":112287,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":755767360,"raw_latitude":117681360,"longitude_deg":75.576736,"latitude_deg":11.768136,"altitude":16,"angle":40,"satellites":23,"speed":33,"hex_longitude":"2d0c1840","hex_latitude":"0703acd0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239049472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21774234355236864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868279964533483520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33: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-06-23 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782183794000,"timestamp_ms":1782183794000,"timestamp_seconds":1782183794,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e9550"} 
[2026-06-23 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33: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-06-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:36] 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-06-23 08: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-06-23 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239049472001,"66":14352,"37":206,"94":11008,"24":33,"16":21774234355236864,"45":868279964533483520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239049472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21774234355236864,"km_value":21774234355236.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":868279964533483520,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239049472001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":868279964533483520}} 
[2026-06-23 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":112287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:36] local.INFO: GPS data processed {"connection_id":112287,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:36] local.INFO: Acknowledgment sent {"connection_id":112287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:36] local.INFO: Packet analysis {"connection_id":112287,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:36] local.INFO: Incomplete packet, waiting for more data {"connection_id":112287,"needed":795,"available":545} 
[2026-06-23 08:33:37] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":250,"data_hex":"e30010004d5a04000000000000019ef26dce18012d0c0f80070308180011015b..."} 
[2026-06-23 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":250,"packet_hex":"e30010004d5a04000000000000019ef26dce18012d0c0f80070308180011015b..."} 
[2026-06-23 08:33:37] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e9d20012d0c1d400703b1500011003517..."} 
[2026-06-23 08:33:37] local.INFO: Packet analysis {"connection_id":112287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:37] local.INFO: Extracted packet for processing {"connection_id":112287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117682512,"longitude_deg":75.576864,"latitude_deg":11.7682512,"altitude":17,"angle":53,"satellites":23,"speed":36,"hex_longitude":"2d0c1d40","hex_latitude":"0703b150","is_valid_coordinates":true} 
[2026-06-23 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239051264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21774320254582784,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871516926766796800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33: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-06-23 08:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782183796000,"timestamp_ms":1782183796000,"timestamp_seconds":1782183796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e9d20"} 
[2026-06-23 08:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33: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-06-23 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067282456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6275484773267800074,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503931843379200,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070194981,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4160826636,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2147943210,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6475423793815296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84737264135373541,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":2323865116177072155,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:37] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,37,94,24,241,157,16,91,158,121,45,192,155,15,23,10,66,90,128,126,67,1,240,71,227,242,3,4,113,205,39,252,8,160,239,56,2,77,7,17,35,206,32,12],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-06-23 08:33:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152965583858368512,"timestamp_seconds":1152965583858368.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239051264001,"66":14428,"37":206,"94":11008,"24":36,"16":21774320254582784,"45":871516926766796800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239051264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:33:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21774320254582784,"km_value":21774320254582.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":871516926766796800,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239051264001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":871516926766796800}} 
[2026-06-23 08:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":112287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369549,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:37] local.INFO: GPS data processed {"connection_id":112287,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:37] local.INFO: Acknowledgment sent {"connection_id":112287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:38] local.INFO: TCP Data received {"connection_id":112287,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26eb878012d0c35000703bd780016004017..."} 
[2026-06-23 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26eb878012d0c35000703bd780016004017..."} 
[2026-06-23 08:33:38] local.INFO: Processing buffer {"connection_id":112287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26eb878012d0c35000703bd780016004017..."} 
[2026-06-23 08:33:38] local.INFO: Packet analysis {"connection_id":112287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:38] local.INFO: Extracted packet for processing {"connection_id":112287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":755774720,"raw_latitude":117685624,"longitude_deg":75.577472,"latitude_deg":11.7685624,"altitude":22,"angle":64,"satellites":23,"speed":34,"hex_longitude":"2d0c3500","hex_latitude":"0703bd78","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239051776001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21774642377129984,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301650644992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33: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-06-23 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782183803000,"timestamp_ms":1782183803000,"timestamp_seconds":1782183803,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26eb878"} 
[2026-06-23 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33: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-06-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:38] 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-06-23 08: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-06-23 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112287,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239051776001,"66":14396,"37":206,"94":11008,"24":34,"16":21774642377129984,"45":872924301650644992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239051776001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21774642377129984,"km_value":21774642377129.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301650644992,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239051776001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":872924301650644992}} 
[2026-06-23 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":112287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369550,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:38] local.INFO: GPS data processed {"connection_id":112287,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:38] local.INFO: Acknowledgment sent {"connection_id":112287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:38] local.INFO: TCP Data received {"connection_id":112285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e4348012d7ccd0005e9b5f0000b008725..."} 
[2026-06-23 08:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e4348012d7ccd0005e9b5f0000b008725..."} 
[2026-06-23 08:33:38] local.INFO: Processing buffer {"connection_id":112285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e4348012d7ccd0005e9b5f0000b008725..."} 
[2026-06-23 08:33:38] local.INFO: Packet analysis {"connection_id":112285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:38] local.INFO: Extracted packet for processing {"connection_id":112285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763153664,"raw_latitude":99202544,"longitude_deg":76.3153664,"latitude_deg":9.9202544,"altitude":11,"angle":135,"satellites":37,"speed":11,"hex_longitude":"2d7ccd00","hex_latitude":"05e9b5f0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239045632001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96293888330825728,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836305920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:38] 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-06-23 08:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782183773000,"timestamp_ms":1782183773000,"timestamp_seconds":1782183773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e4348"} 
[2026-06-23 08:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33: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-06-23 08: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 08:33: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-06-23 08: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-06-23 08:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239045632001,"66":12917,"156":206,"87":13824,"24":11,"16":96293888330825728,"45":8992703318836305920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239045632001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96293888330825728,"km_value":96293888330825.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836305920,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239045632001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992703318836305920}} 
[2026-06-23 08:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":112285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:38] local.INFO: GPS data processed {"connection_id":112285,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:38] local.INFO: Acknowledgment sent {"connection_id":112285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:42] local.INFO: TCP Data received {"connection_id":111352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:33:42] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:33:42] local.INFO: IMEI packet received {"connection_id":111352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":111352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:33:48] local.INFO: TCP Data received {"connection_id":111352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:33:48] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:33:48] local.INFO: IMEI packet received {"connection_id":111352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":111352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:33:48] local.INFO: TCP Data received {"connection_id":111352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e1080012d1130c0071f32b0003c00381f..."} 
[2026-06-23 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e1080012d1130c0071f32b0003c00381f..."} 
[2026-06-23 08:33:48] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e1080012d1130c0071f32b0003c00381f..."} 
[2026-06-23 08:33:48] local.INFO: Packet analysis {"connection_id":111352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:48] local.INFO: Extracted packet for processing {"connection_id":111352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756101312,"raw_latitude":119485104,"longitude_deg":75.6101312,"latitude_deg":11.9485104,"altitude":60,"angle":56,"satellites":31,"speed":9,"hex_longitude":"2d1130c0","hex_latitude":"071f32b0","is_valid_coordinates":true} 
[2026-06-23 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239042304001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3894285501988864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238419559370856448,"note":"Value kept but may cause issues"} 
[2026-06-23 08:33:48] 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-06-23 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183760000,"timestamp_ms":1782183760000,"timestamp_seconds":1782183760,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e1080"} 
[2026-06-23 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 08:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239042304001,"66":13004,"33":206,"83":41984,"24":9,"16":3894285501988864,"45":1238419559370856448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-06-23 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239042304001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:33:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 08:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3894285501988864,"km_value":3894285501988.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238419559370856448,"description":"Unknown IO ID 45"} 
[2026-06-23 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239042304001,"power":13004,"unknown_33":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1238419559370856448}} 
[2026-06-23 08:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":111352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:33:49] local.INFO: GPS data processed {"connection_id":111352,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:33:49] local.INFO: Acknowledgment sent {"connection_id":111352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:33:53] local.INFO: TCP Data received {"connection_id":112288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:53] local.INFO: Processing buffer {"connection_id":112288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:53] local.INFO: IMEI packet received {"connection_id":112288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":112288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:33:57] local.INFO: TCP Data received {"connection_id":112288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:57] local.INFO: Processing buffer {"connection_id":112288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:33:57] local.INFO: IMEI packet received {"connection_id":112288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":112288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:02] local.INFO: TCP Data received {"connection_id":112288,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:02] local.INFO: Processing buffer {"connection_id":112288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:02] local.INFO: IMEI packet received {"connection_id":112288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":112288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:03] local.INFO: TCP Data received {"connection_id":112288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e4730012d7cce0005e9b590000b006c25..."} 
[2026-06-23 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e4730012d7cce0005e9b590000b006c25..."} 
[2026-06-23 08:34:03] local.INFO: Processing buffer {"connection_id":112288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e4730012d7cce0005e9b590000b006c25..."} 
[2026-06-23 08:34:03] local.INFO: Packet analysis {"connection_id":112288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:03] local.INFO: Extracted packet for processing {"connection_id":112288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763153920,"raw_latitude":99202448,"longitude_deg":76.315392,"latitude_deg":9.9202448,"altitude":11,"angle":108,"satellites":37,"speed":9,"hex_longitude":"2d7cce00","hex_latitude":"05e9b590","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239045888001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96293901215727616,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992844056324599808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:03] 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-06-23 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183774000,"timestamp_ms":1782183774000,"timestamp_seconds":1782183774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e4730"} 
[2026-06-23 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-06-23 08:34: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-06-23 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:03] 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-06-23 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-06-23 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-06-23 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239045888001,"66":12917,"156":206,"87":13824,"24":9,"16":96293901215727616,"45":8992844056324599808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239045888001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 08:34:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96293901215727616,"km_value":96293901215727.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992844056324599808,"description":"Unknown IO ID 45"} 
[2026-06-23 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239045888001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8992844056324599808}} 
[2026-06-23 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":112288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:03] local.INFO: GPS data processed {"connection_id":112288,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:03] local.INFO: Acknowledgment sent {"connection_id":112288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:07] local.INFO: TCP Data received {"connection_id":112286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e6a58012cb29c0007750b98001a001f29..."} 
[2026-06-23 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e6a58012cb29c0007750b98001a001f29..."} 
[2026-06-23 08:34:07] local.INFO: Processing buffer {"connection_id":112286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e6a58012cb29c0007750b98001a001f29..."} 
[2026-06-23 08:34:07] local.INFO: Packet analysis {"connection_id":112286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:07] local.INFO: Extracted packet for processing {"connection_id":112286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125111192,"longitude_deg":74.9902848,"latitude_deg":12.5111192,"altitude":26,"angle":31,"satellites":41,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07750b98","is_valid_coordinates":true} 
[2026-06-23 08:34:07] 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-06-23 08:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239046144001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206563051520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782183783000,"timestamp_ms":1782183783000,"timestamp_seconds":1782183783,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e6a58"} 
[2026-06-23 08:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239046144001,"66":26115,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5576582206563051520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239046144001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206563051520,"description":"Unknown IO ID 44"} 
[2026-06-23 08:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239046144001,"power":26115,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576582206563051520}} 
[2026-06-23 08:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":112286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:07] local.INFO: GPS data processed {"connection_id":112286,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:07] local.INFO: Acknowledgment sent {"connection_id":112286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:16] local.INFO: TCP Data received {"connection_id":111353,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:34:16] local.INFO: Processing buffer {"connection_id":111353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:34:16] local.INFO: IMEI packet received {"connection_id":111353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":111353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:34:20] local.INFO: TCP Data received {"connection_id":111352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e1468012d113140071f3310003c00471f..."} 
[2026-06-23 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e1468012d113140071f3310003c00471f..."} 
[2026-06-23 08:34:20] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e1468012d113140071f3310003c00471f..."} 
[2026-06-23 08:34:20] local.INFO: Packet analysis {"connection_id":111352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:20] local.INFO: Extracted packet for processing {"connection_id":111352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756101440,"raw_latitude":119485200,"longitude_deg":75.610144,"latitude_deg":11.94852,"altitude":60,"angle":71,"satellites":31,"speed":8,"hex_longitude":"2d113140","hex_latitude":"071f3310","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239042560001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3894294091923456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238701034347606016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:20] 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-06-23 08:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782183761000,"timestamp_ms":1782183761000,"timestamp_seconds":1782183761,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e1468"} 
[2026-06-23 08:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34:20] 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-06-23 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:20] 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-06-23 08: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-06-23 08:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239042560001,"66":13004,"33":206,"83":41984,"24":8,"16":3894294091923456,"45":1238701034347606016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-06-23 08:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239042560001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 08:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3894294091923456,"km_value":3894294091923.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238701034347606016,"description":"Unknown IO ID 45"} 
[2026-06-23 08:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239042560001,"power":13004,"unknown_33":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1238701034347606016}} 
[2026-06-23 08:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":111352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:20] local.INFO: GPS data processed {"connection_id":111352,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:20] local.INFO: Acknowledgment sent {"connection_id":111352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:21] local.INFO: TCP Data received {"connection_id":111353,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111353,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:34:21] local.INFO: Processing buffer {"connection_id":111353,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:34:21] local.INFO: IMEI packet received {"connection_id":111353,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":111353,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:22] local.INFO: TCP Data received {"connection_id":111353,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26ed7b8012d0c4b000703c6a0001b003117..."} 
[2026-06-23 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26ed7b8012d0c4b000703c6a0001b003117..."} 
[2026-06-23 08:34:22] local.INFO: Processing buffer {"connection_id":111353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26ed7b8012d0c4b000703c6a0001b003117..."} 
[2026-06-23 08:34:22] local.INFO: Packet analysis {"connection_id":111353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:22] local.INFO: Extracted packet for processing {"connection_id":111353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":117687968,"longitude_deg":75.5780352,"latitude_deg":11.7687968,"altitude":27,"angle":49,"satellites":23,"speed":23,"hex_longitude":"2d0c4b00","hex_latitude":"0703c6a0","is_valid_coordinates":true} 
[2026-06-23 08:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239053568001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21774934434906112,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879609332348319744,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34: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-06-23 08:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782183811000,"timestamp_ms":1782183811000,"timestamp_seconds":1782183811,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26ed7b8"} 
[2026-06-23 08:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:22] 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-06-23 08:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239053568001,"66":14233,"37":206,"94":11008,"24":23,"16":21774934434906112,"45":879609332348319744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 08:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239053568001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 08:34:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21774934434906112,"km_value":21774934434906.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":879609332348319744,"description":"Unknown IO ID 45"} 
[2026-06-23 08:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239053568001,"power":14233,"unknown_37":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":879609332348319744}} 
[2026-06-23 08:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":111353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:22] local.INFO: GPS data processed {"connection_id":111353,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:22] local.INFO: Acknowledgment sent {"connection_id":111353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:25] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:25] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:25] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:34:27] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:27] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:27] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:28] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:28] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:34:28] local.INFO: IMEI packet received {"connection_id":110553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":110553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:29] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26ecc00012cb2a50007751708001a002027..."} 
[2026-06-23 08:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26ecc00012cb2a50007751708001a002027..."} 
[2026-06-23 08:34:29] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26ecc00012cb2a50007751708001a002027..."} 
[2026-06-23 08:34:29] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:29] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:29] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125114120,"longitude_deg":74.9905152,"latitude_deg":12.511412,"altitude":26,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239048448001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206563051520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782183808000,"timestamp_ms":1782183808000,"timestamp_seconds":1782183808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26ecc00"} 
[2026-06-23 08:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34:29] 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-06-23 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239048448001,"66":27843,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5576582206563051520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239048448001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:34:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206563051520,"description":"Unknown IO ID 44"} 
[2026-06-23 08:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239048448001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576582206563051520}} 
[2026-06-23 08:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:29] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:29] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:31] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26f1e08012cb2a50007751708001a00202b..."} 
[2026-06-23 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26f1e08012cb2a50007751708001a00202b..."} 
[2026-06-23 08:34:31] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26f1e08012cb2a50007751708001a00202b..."} 
[2026-06-23 08:34:31] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:34:31] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:34:31] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125114120,"longitude_deg":74.9905152,"latitude_deg":12.511412,"altitude":26,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"07751708","is_valid_coordinates":true} 
[2026-06-23 08:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239054848001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238376642510848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931771906048,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183829000,"timestamp_ms":1782183829000,"timestamp_seconds":1782183829,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26f1e08"} 
[2026-06-23 08:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34:31] 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-06-23 08:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:31] 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-06-23 08:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239054848001,"66":27658,"241":206,"27":54016,"24":0,"16":321238376642510848,"44":-5574048931771906048},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239054848001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:34:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238376642510848,"km_value":321238376642510.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931771906048,"description":"Unknown IO ID 44"} 
[2026-06-23 08:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239054848001,"power":27658,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574048931771906048}} 
[2026-06-23 08:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:31] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:31] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:35] local.INFO: TCP Data received {"connection_id":112288,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26f25d8012d7d16c005ea12200006000427..."} 
[2026-06-23 08:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26f25d8012d7d16c005ea12200006000427..."} 
[2026-06-23 08:34:35] local.INFO: Processing buffer {"connection_id":112288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26f25d8012d7d16c005ea12200006000427..."} 
[2026-06-23 08:34:35] local.INFO: Packet analysis {"connection_id":112288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:34:35] local.INFO: Extracted packet for processing {"connection_id":112288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:34:35] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99226144,"longitude_deg":76.3172544,"latitude_deg":9.9226144,"altitude":6,"angle":4,"satellites":39,"speed":31,"hex_longitude":"2d7d16c0","hex_latitude":"05ea1220","is_valid_coordinates":true} 
[2026-06-23 08:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239058176001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96295756641599488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012969517163065344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:35] 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-06-23 08:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782183831000,"timestamp_ms":1782183831000,"timestamp_seconds":1782183831,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26f25d8"} 
[2026-06-23 08:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34: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-06-23 08:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:35] 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-06-23 08:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239058176001,"66":13037,"154":206,"87":13824,"24":31,"16":96295756641599488,"45":9012969517163065344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-23 08:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239058176001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:35] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-23 08:34:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96295756641599488,"km_value":96295756641599.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012969517163065344,"description":"Unknown IO ID 45"} 
[2026-06-23 08:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239058176001,"power":13037,"unknown_154":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9012969517163065344}} 
[2026-06-23 08:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":112288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:35] local.INFO: GPS data processed {"connection_id":112288,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:35] local.INFO: Acknowledgment sent {"connection_id":112288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:42] local.INFO: TCP Data received {"connection_id":110725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:42] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:42] local.INFO: IMEI packet received {"connection_id":110725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":110725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:34:46] local.INFO: TCP Data received {"connection_id":110725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:46] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:46] local.INFO: IMEI packet received {"connection_id":110725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":110725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:47] local.INFO: TCP Data received {"connection_id":110725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:47] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:34:47] local.INFO: IMEI packet received {"connection_id":110725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":110725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:34:48] local.INFO: TCP Data received {"connection_id":110725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26e6670012d113300071f33e0003c004d1f..."} 
[2026-06-23 08:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26e6670012d113300071f33e0003c004d1f..."} 
[2026-06-23 08:34:48] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26e6670012d113300071f33e0003c004d1f..."} 
[2026-06-23 08:34:48] local.INFO: Packet analysis {"connection_id":110725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:48] local.INFO: Extracted packet for processing {"connection_id":110725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756101888,"raw_latitude":119485408,"longitude_deg":75.6101888,"latitude_deg":11.9485408,"altitude":60,"angle":77,"satellites":31,"speed":0,"hex_longitude":"2d113300","hex_latitude":"071f33e0","is_valid_coordinates":true} 
[2026-06-23 08:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239042816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3894319861727232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238841771835985920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:48] 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-06-23 08:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183782000,"timestamp_ms":1782183782000,"timestamp_seconds":1782183782,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26e6670"} 
[2026-06-23 08:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:48] 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-06-23 08:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239042816001,"66":12972,"33":206,"83":41984,"24":0,"16":3894319861727232,"45":1238841771835985920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-06-23 08:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239042816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 08:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3894319861727232,"km_value":3894319861727.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238841771835985920,"description":"Unknown IO ID 45"} 
[2026-06-23 08:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239042816001,"power":12972,"unknown_33":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1238841771835985920}} 
[2026-06-23 08:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":110725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:48] local.INFO: GPS data processed {"connection_id":110725,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:48] local.INFO: Acknowledgment sent {"connection_id":110725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:53] local.INFO: TCP Data received {"connection_id":111353,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26fcdd0012d0cb980070478980014016516..."} 
[2026-06-23 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26fcdd0012d0cb980070478980014016516..."} 
[2026-06-23 08:34:53] local.INFO: Processing buffer {"connection_id":111353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26fcdd0012d0cb980070478980014016516..."} 
[2026-06-23 08:34:53] local.INFO: Packet analysis {"connection_id":111353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:34:53] local.INFO: Extracted packet for processing {"connection_id":111353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:34:53] local.INFO: GPS Element Parsed {"raw_longitude":755808640,"raw_latitude":117733528,"longitude_deg":75.580864,"latitude_deg":11.7733528,"altitude":20,"angle":357,"satellites":22,"speed":22,"hex_longitude":"2d0cb980","hex_latitude":"07047898","is_valid_coordinates":true} 
[2026-06-23 08:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239070464001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21777661739139072,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916412185564446720,"note":"Value kept but may cause issues"} 
[2026-06-23 08:34:53] 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-06-23 08:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782183874000,"timestamp_ms":1782183874000,"timestamp_seconds":1782183874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26fcdd0"} 
[2026-06-23 08:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:34: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-06-23 08:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 08:34:53] 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-06-23 08:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111353,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239070464001,"66":14559,"16":21777661739139072,"94":11008,"24":22,"45":916412185564446720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 08:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239070464001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21777661739139072,"km_value":21777661739139.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:34:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":916412185564446720,"description":"Unknown IO ID 45"} 
[2026-06-23 08:34:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456239070464001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":22,"unknown_45":916412185564446720}} 
[2026-06-23 08:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":111353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:34:53] local.INFO: GPS data processed {"connection_id":111353,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:34:53] local.INFO: Acknowledgment sent {"connection_id":111353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:34:55] local.INFO: TCP Data received {"connection_id":112289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:55] local.INFO: Processing buffer {"connection_id":112289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:55] local.INFO: IMEI packet received {"connection_id":112289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":112289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:34:57] local.INFO: TCP Data received {"connection_id":112289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:57] local.INFO: Processing buffer {"connection_id":112289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:34:57] local.INFO: IMEI packet received {"connection_id":112289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":112289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:35:02] local.INFO: TCP Data received {"connection_id":112289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:35:02] local.INFO: Processing buffer {"connection_id":112289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:35:02] local.INFO: IMEI packet received {"connection_id":112289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":112289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:35:02] local.INFO: TCP Data received {"connection_id":110553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26f21f0012cb2a64007751870001d00492a..."} 
[2026-06-23 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26f21f0012cb2a64007751870001d00492a..."} 
[2026-06-23 08:35:02] local.INFO: Processing buffer {"connection_id":110553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26f21f0012cb2a64007751870001d00492a..."} 
[2026-06-23 08:35:02] local.INFO: Packet analysis {"connection_id":110553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:02] local.INFO: Extracted packet for processing {"connection_id":110553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:02] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114480,"longitude_deg":74.9905472,"latitude_deg":12.511448,"altitude":29,"angle":73,"satellites":42,"speed":3,"hex_longitude":"2cb2a640","hex_latitude":"07751870","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239060224001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238402412314624,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931771906048,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183830000,"timestamp_ms":1782183830000,"timestamp_seconds":1782183830,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26f21f0"} 
[2026-06-23 08:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:35:02] 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-06-23 08: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 08:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239060224001,"66":27767,"241":206,"27":54016,"24":3,"16":321238402412314624,"44":-5574048931771906048},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239060224001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:35:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238402412314624,"km_value":321238402412314.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931771906048,"description":"Unknown IO ID 44"} 
[2026-06-23 08:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239060224001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5574048931771906048}} 
[2026-06-23 08:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":110553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:35:02] local.INFO: GPS data processed {"connection_id":110553,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:35:02] local.INFO: Acknowledgment sent {"connection_id":110553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:35:03] local.INFO: TCP Data received {"connection_id":112289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26f73f8012d7d168005ea1e18000a000024..."} 
[2026-06-23 08:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26f73f8012d7d168005ea1e18000a000024..."} 
[2026-06-23 08:35:03] local.INFO: Processing buffer {"connection_id":112289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26f73f8012d7d168005ea1e18000a000024..."} 
[2026-06-23 08:35:03] local.INFO: Packet analysis {"connection_id":112289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:03] local.INFO: Extracted packet for processing {"connection_id":112289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763172480,"raw_latitude":99229208,"longitude_deg":76.317248,"latitude_deg":9.9229208,"altitude":10,"angle":0,"satellites":36,"speed":2,"hex_longitude":"2d7d1680","hex_latitude":"05ea1e18","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239060736001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96295911260422144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835863052288,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:03] 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-06-23 08:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782183851000,"timestamp_ms":1782183851000,"timestamp_seconds":1782183851,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26f73f8"} 
[2026-06-23 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-06-23 08:35:03] 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-06-23 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 08:35:03] 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-06-23 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-06-23 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-06-23 08:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239060736001,"66":12863,"154":206,"87":13824,"24":2,"16":96295911260422144,"45":9013602835863052288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-23 08:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239060736001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:35:03] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-23 08:35:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96295911260422144,"km_value":96295911260422.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835863052288,"description":"Unknown IO ID 45"} 
[2026-06-23 08:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239060736001,"power":12863,"unknown_154":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9013602835863052288}} 
[2026-06-23 08:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":112289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:35:03] local.INFO: GPS data processed {"connection_id":112289,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:35:03] local.INFO: Acknowledgment sent {"connection_id":112289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:35:16] local.INFO: TCP Data received {"connection_id":110727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:16] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:16] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:35:16] local.INFO: TCP Data received {"connection_id":110727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:16] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:16] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:35:19] local.INFO: TCP Data received {"connection_id":110725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26eb878012d113300071f33e0003c004d20..."} 
[2026-06-23 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26eb878012d113300071f33e0003c004d20..."} 
[2026-06-23 08:35:19] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26eb878012d113300071f33e0003c004d20..."} 
[2026-06-23 08:35:19] local.INFO: Packet analysis {"connection_id":110725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:35:19] local.INFO: Extracted packet for processing {"connection_id":110725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26e"} 
[2026-06-23 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756101888,"raw_latitude":119485408,"longitude_deg":75.6101888,"latitude_deg":11.9485408,"altitude":60,"angle":77,"satellites":32,"speed":0,"hex_longitude":"2d113300","hex_latitude":"071f33e0","is_valid_coordinates":true} 
[2026-06-23 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239048192001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3894319861727232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1239334353045282816,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:19] 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-06-23 08:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782183803000,"timestamp_ms":1782183803000,"timestamp_seconds":1782183803,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26eb878"} 
[2026-06-23 08:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:35:19] 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-06-23 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-23 08:35:19] 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-06-23 08:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239048192001,"66":14048,"33":206,"83":41984,"24":0,"16":3894319861727232,"45":1239334353045282816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,83,24,16,45]} 
[2026-06-23 08:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239048192001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:35:19] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 08:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3894319861727232,"km_value":3894319861727.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1239334353045282816,"description":"Unknown IO ID 45"} 
[2026-06-23 08:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239048192001,"power":14048,"unknown_33":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1239334353045282816}} 
[2026-06-23 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":110725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:35:19] local.INFO: GPS data processed {"connection_id":110725,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:35:19] local.INFO: Acknowledgment sent {"connection_id":110725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:35:19] local.INFO: TCP Data received {"connection_id":110727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:19] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:19] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:35:21] local.INFO: TCP Data received {"connection_id":110727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:21] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:35:21] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:35:21] local.INFO: TCP Data received {"connection_id":110727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26fe928012d0cb580070488c00015015216..."} 
[2026-06-23 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26fe928012d0cb580070488c00015015216..."} 
[2026-06-23 08:35:21] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26fe928012d0cb580070488c00015015216..."} 
[2026-06-23 08:35:21] local.INFO: Packet analysis {"connection_id":110727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:21] local.INFO: Extracted packet for processing {"connection_id":110727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":755807616,"raw_latitude":117737664,"longitude_deg":75.5807616,"latitude_deg":11.7737664,"altitude":21,"angle":338,"satellites":22,"speed":27,"hex_longitude":"2d0cb580","hex_latitude":"070488c0","is_valid_coordinates":true} 
[2026-06-23 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239071744001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21777867897569280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916904766774745088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:21] 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-06-23 08:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782183881000,"timestamp_ms":1782183881000,"timestamp_seconds":1782183881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26fe928"} 
[2026-06-23 08:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 08:35:21] 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-06-23 08:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239071744001,"66":14396,"16":21777867897569280,"94":11008,"24":27,"45":916904766774745088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 08:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239071744001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21777867897569280,"km_value":21777867897569.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:35:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":916904766774745088,"description":"Unknown IO ID 45"} 
[2026-06-23 08:35:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456239071744001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":27,"unknown_45":916904766774745088}} 
[2026-06-23 08:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":110727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:35:22] local.INFO: GPS data processed {"connection_id":110727,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:35:22] local.INFO: Acknowledgment sent {"connection_id":110727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:35:24] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:35:24] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:35:24] local.INFO: IMEI packet received {"connection_id":111354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":111354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:35:29] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:35:29] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:35:29] local.INFO: IMEI packet received {"connection_id":111354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":111354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:35:31] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26f25d8012cb2a6c0077518a8001d003c2c..."} 
[2026-06-23 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26f25d8012cb2a6c0077518a8001d003c2c..."} 
[2026-06-23 08:35:31] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26f25d8012cb2a6c0077518a8001d003c2c..."} 
[2026-06-23 08:35:31] local.INFO: Packet analysis {"connection_id":111354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:31] local.INFO: Extracted packet for processing {"connection_id":111354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749905600,"raw_latitude":125114536,"longitude_deg":74.99056,"latitude_deg":12.5114536,"altitude":29,"angle":60,"satellites":44,"speed":8,"hex_longitude":"2cb2a6c0","hex_latitude":"077518a8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239060480001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238406707281920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088050925568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183831000,"timestamp_ms":1782183831000,"timestamp_seconds":1782183831,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26f25d8"} 
[2026-06-23 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-06-23 08:35:31] 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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 08:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239060480001,"66":27767,"241":206,"27":54016,"24":8,"16":321238406707281920,"44":-5573697088050925568},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239060480001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:35:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238406707281920,"km_value":321238406707281.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088050925568,"description":"Unknown IO ID 44"} 
[2026-06-23 08:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239060480001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5573697088050925568}} 
[2026-06-23 08:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":111354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:35:31] local.INFO: GPS data processed {"connection_id":111354,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:35:31] local.INFO: Acknowledgment sent {"connection_id":111354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:35:34] local.INFO: TCP Data received {"connection_id":112289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26fc600012d7d16c005ea2590000b000527..."} 
[2026-06-23 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26fc600012d7d16c005ea2590000b000527..."} 
[2026-06-23 08:35:34] local.INFO: Processing buffer {"connection_id":112289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26fc600012d7d16c005ea2590000b000527..."} 
[2026-06-23 08:35:34] local.INFO: Packet analysis {"connection_id":112289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:34] local.INFO: Extracted packet for processing {"connection_id":112289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99231120,"longitude_deg":76.3172544,"latitude_deg":9.923112,"altitude":11,"angle":5,"satellites":39,"speed":18,"hex_longitude":"2d7d16c0","hex_latitude":"05ea2590","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239065856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96296005749702656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013532467119659008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:35:34] 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-06-23 08:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782183872000,"timestamp_ms":1782183872000,"timestamp_seconds":1782183872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26fc600"} 
[2026-06-23 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-06-23 08:35: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-06-23 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 08:35:34] 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-06-23 08: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-06-23 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-06-23 08:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239065856001,"66":13059,"154":206,"87":13824,"24":18,"16":96296005749702656,"45":9013532467119659008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-23 08:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239065856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:35:34] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-23 08:35:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96296005749702656,"km_value":96296005749702.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013532467119659008,"description":"Unknown IO ID 45"} 
[2026-06-23 08:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239065856001,"power":13059,"unknown_154":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9013532467119659008}} 
[2026-06-23 08:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":112289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:35:34] local.INFO: GPS data processed {"connection_id":112289,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:35:34] local.INFO: Acknowledgment sent {"connection_id":112289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:35:49] local.INFO: TCP Data received {"connection_id":110728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:35:49] local.INFO: Processing buffer {"connection_id":110728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:35:49] local.INFO: IMEI packet received {"connection_id":110728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":110728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:35:52] local.INFO: TCP Data received {"connection_id":110728,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:35:52] local.INFO: Processing buffer {"connection_id":110728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:35:52] local.INFO: IMEI packet received {"connection_id":110728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":110728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:00] local.INFO: TCP Data received {"connection_id":110728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2701fd8012d121500071f2880003d006021..."} 
[2026-06-23 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2701fd8012d121500071f2880003d006021..."} 
[2026-06-23 08:36:00] local.INFO: Processing buffer {"connection_id":110728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2701fd8012d121500071f2880003d006021..."} 
[2026-06-23 08:36:00] local.INFO: Packet analysis {"connection_id":110728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:00] local.INFO: Extracted packet for processing {"connection_id":110728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756159744,"raw_latitude":119482496,"longitude_deg":75.6159744,"latitude_deg":11.9482496,"altitude":61,"angle":96,"satellites":33,"speed":42,"hex_longitude":"2d121500","hex_latitude":"071f2880","is_valid_coordinates":true} 
[2026-06-23 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239074816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3897227554586624,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1291899804945440768,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:00] 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-06-23 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782183895000,"timestamp_ms":1782183895000,"timestamp_seconds":1782183895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2701fd8"} 
[2026-06-23 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08: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-06-23 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:36: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-06-23 08:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239074816001,"66":13961,"31":206,"83":41984,"24":42,"16":3897227554586624,"45":1291899804945440768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239074816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:00] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3897227554586624,"km_value":3897227554586.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1291899804945440768,"description":"Unknown IO ID 45"} 
[2026-06-23 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239074816001,"power":13961,"unknown_31":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1291899804945440768}} 
[2026-06-23 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":110728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:00] local.INFO: GPS data processed {"connection_id":110728,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:00] local.INFO: Acknowledgment sent {"connection_id":110728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:01] local.INFO: TCP Data received {"connection_id":110728,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27046e8012d123bc0071f22680042006220..."} 
[2026-06-23 08:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27046e8012d123bc0071f22680042006220..."} 
[2026-06-23 08:36:01] local.INFO: Processing buffer {"connection_id":110728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27046e8012d123bc0071f22680042006220..."} 
[2026-06-23 08:36:01] local.INFO: Packet analysis {"connection_id":110728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:01] local.INFO: Extracted packet for processing {"connection_id":110728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756169664,"raw_latitude":119480936,"longitude_deg":75.6169664,"latitude_deg":11.9480936,"altitude":66,"angle":98,"satellites":32,"speed":38,"hex_longitude":"2d123bc0","hex_latitude":"071f2268","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239077120001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3897704295956480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1302947697781145600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:01] 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-06-23 08:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782183905000,"timestamp_ms":1782183905000,"timestamp_seconds":1782183905,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27046e8"} 
[2026-06-23 08:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:01] 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-06-23 08: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-06-23 08:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239077120001,"66":13993,"31":206,"83":41984,"24":38,"16":3897704295956480,"45":1302947697781145600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239077120001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:01] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3897704295956480,"km_value":3897704295956.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1302947697781145600,"description":"Unknown IO ID 45"} 
[2026-06-23 08:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239077120001,"power":13993,"unknown_31":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1302947697781145600}} 
[2026-06-23 08:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":110728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:01] local.INFO: GPS data processed {"connection_id":110728,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:01] local.INFO: Acknowledgment sent {"connection_id":110728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:02] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26f29c0012cb2a80007751950001d002e2b..."} 
[2026-06-23 08:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26f29c0012cb2a80007751950001d002e2b..."} 
[2026-06-23 08:36:02] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26f29c0012cb2a80007751950001d002e2b..."} 
[2026-06-23 08:36:02] local.INFO: Packet analysis {"connection_id":111354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:36:02] local.INFO: Extracted packet for processing {"connection_id":111354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:36:02] local.INFO: GPS Element Parsed {"raw_longitude":749905920,"raw_latitude":125114704,"longitude_deg":74.990592,"latitude_deg":12.5114704,"altitude":29,"angle":46,"satellites":43,"speed":13,"hex_longitude":"2cb2a800","hex_latitude":"07751950","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239060736001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321238423887151104,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573556350562555904,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183832000,"timestamp_ms":1782183832000,"timestamp_seconds":1782183832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26f29c0"} 
[2026-06-23 08:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:02] 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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:02] 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-06-23 08: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-06-23 08:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239060736001,"66":27767,"241":206,"27":54016,"24":13,"16":321238423887151104,"44":-5573556350562555904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-06-23 08:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239060736001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-23 08:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321238423887151104,"km_value":321238423887151.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573556350562555904,"description":"Unknown IO ID 44"} 
[2026-06-23 08:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239060736001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-5573556350562555904}} 
[2026-06-23 08:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":111354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:02] local.INFO: GPS data processed {"connection_id":111354,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:02] local.INFO: Acknowledgment sent {"connection_id":111354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:16] local.INFO: TCP Data received {"connection_id":110727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef26ff4e0012d0cb0c0070490a80014014517..."} 
[2026-06-23 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef26ff4e0012d0cb0c0070490a80014014517..."} 
[2026-06-23 08:36:16] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef26ff4e0012d0cb0c0070490a80014014517..."} 
[2026-06-23 08:36:16] local.INFO: Packet analysis {"connection_id":110727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:36:16] local.INFO: Extracted packet for processing {"connection_id":110727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef26f"} 
[2026-06-23 08:36:16] local.INFO: GPS Element Parsed {"raw_longitude":755806400,"raw_latitude":117739688,"longitude_deg":75.58064,"latitude_deg":11.7739688,"altitude":20,"angle":325,"satellites":23,"speed":35,"hex_longitude":"2d0cb0c0","hex_latitude":"070490a8","is_valid_coordinates":true} 
[2026-06-23 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239073536001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21777983861686272,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915778866868961280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:16] 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-06-23 08:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782183884000,"timestamp_ms":1782183884000,"timestamp_seconds":1782183884,"priority":1,"record_length":96,"hex_timestamp":"0000019ef26ff4e0"} 
[2026-06-23 08:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:16] 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-06-23 08:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239073536001,"66":14450,"16":21777983861686272,"94":11008,"24":35,"45":915778866868961280},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 08:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239073536001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21777983861686272,"km_value":21777983861686.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":915778866868961280,"description":"Unknown IO ID 45"} 
[2026-06-23 08:36:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456239073536001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":915778866868961280}} 
[2026-06-23 08:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":110727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:16] local.INFO: GPS data processed {"connection_id":110727,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:16] local.INFO: Acknowledgment sent {"connection_id":110727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:19] local.INFO: TCP Data received {"connection_id":111355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:19] local.INFO: Processing buffer {"connection_id":111355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:19] local.INFO: IMEI packet received {"connection_id":111355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":111355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:36:20] local.INFO: TCP Data received {"connection_id":111355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:20] local.INFO: Processing buffer {"connection_id":111355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:20] local.INFO: IMEI packet received {"connection_id":111355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":111355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:21] local.INFO: TCP Data received {"connection_id":111355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:21] local.INFO: Processing buffer {"connection_id":111355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:21] local.INFO: IMEI packet received {"connection_id":111355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":111355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:21] local.INFO: TCP Data received {"connection_id":111355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:21] local.INFO: Processing buffer {"connection_id":111355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:36:21] local.INFO: IMEI packet received {"connection_id":111355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":111355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:23] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:23] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:23] local.INFO: IMEI packet received {"connection_id":111356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":111356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:36:24] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:24] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:24] local.INFO: IMEI packet received {"connection_id":111356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":111356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:30] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:30] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:36:30] local.INFO: IMEI packet received {"connection_id":111356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":111356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:31] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef270ac78012cb314c0077614d0001900212b..."} 
[2026-06-23 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef270ac78012cb314c0077614d0001900212b..."} 
[2026-06-23 08:36:31] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef270ac78012cb314c0077614d0001900212b..."} 
[2026-06-23 08:36:31] local.INFO: Packet analysis {"connection_id":111356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:31] local.INFO: Extracted packet for processing {"connection_id":111356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:31] local.INFO: GPS Element Parsed {"raw_longitude":749933760,"raw_latitude":125179088,"longitude_deg":74.993376,"latitude_deg":12.5179088,"altitude":25,"angle":33,"satellites":43,"speed":35,"hex_longitude":"2cb314c0","hex_latitude":"077614d0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239083264001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321241941465366528,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548082865155766272,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183931000,"timestamp_ms":1782183931000,"timestamp_seconds":1782183931,"priority":1,"record_length":96,"hex_timestamp":"0000019ef270ac78"} 
[2026-06-23 08:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:31] 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-06-23 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:31] 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-06-23 08: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-06-23 08:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239083264001,"66":27800,"240":206,"27":54016,"24":35,"16":321241941465366528,"44":-5548082865155766272},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-06-23 08:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239083264001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:31] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-23 08:36:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321241941465366528,"km_value":321241941465366.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548082865155766272,"description":"Unknown IO ID 44"} 
[2026-06-23 08:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239083264001,"power":27800,"unknown_240":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5548082865155766272}} 
[2026-06-23 08:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":111356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:31] local.INFO: GPS data processed {"connection_id":111356,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:31] local.INFO: Acknowledgment sent {"connection_id":111356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:32] local.INFO: TCP Data received {"connection_id":112290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:36:32] local.INFO: Processing buffer {"connection_id":112290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:36:32] local.INFO: IMEI packet received {"connection_id":112290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":112290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:36:32] local.INFO: TCP Data received {"connection_id":110554,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:36:32] local.INFO: Processing buffer {"connection_id":110554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:36:32] local.INFO: IMEI packet received {"connection_id":110554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":110554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:36:39] local.INFO: TCP Data received {"connection_id":112290,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:36:39] local.INFO: Processing buffer {"connection_id":112290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:36:39] local.INFO: IMEI packet received {"connection_id":112290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":112290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:40] local.INFO: TCP Data received {"connection_id":112290,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2701808012d7d178005ea3428000e000225..."} 
[2026-06-23 08:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2701808012d7d178005ea3428000e000225..."} 
[2026-06-23 08:36:40] local.INFO: Processing buffer {"connection_id":112290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2701808012d7d178005ea3428000e000225..."} 
[2026-06-23 08:36:40] local.INFO: Packet analysis {"connection_id":112290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:40] local.INFO: Extracted packet for processing {"connection_id":112290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99234856,"longitude_deg":76.3172736,"latitude_deg":9.9234856,"altitude":14,"angle":2,"satellites":37,"speed":0,"hex_longitude":"2d7d1780","hex_latitude":"05ea3428","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239071232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96296186138329088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835864326144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] 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-06-23 08:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782183893000,"timestamp_ms":1782183893000,"timestamp_seconds":1782183893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2701808"} 
[2026-06-23 08:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:40] 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-06-23 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359766,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067344456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818504,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3398959107,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817302,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921827840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,154,87,24,241,157,16,28,158,115,45,128,30,10,36,66,37,192,18,6,39,254,1,240,166,227,242,233,4,113,205,22,196,80,239,49,2,86,5,8],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-06-23 08:36:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792639199480250368,"timestamp_seconds":792639199480250.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239071232001,"66":13059,"154":206,"87":13824,"24":0,"16":96296186138329088,"45":9013602835864326144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-23 08:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239071232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:40] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-23 08:36:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96296186138329088,"km_value":96296186138329.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835864326144,"description":"Unknown IO ID 45"} 
[2026-06-23 08:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239071232001,"power":13059,"unknown_154":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9013602835864326144}} 
[2026-06-23 08:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":112290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:41] local.INFO: GPS data processed {"connection_id":112290,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:41] local.INFO: Acknowledgment sent {"connection_id":112290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:43] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:43] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:43] local.INFO: IMEI packet received {"connection_id":110729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":110729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:36:43] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:43] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:43] local.INFO: IMEI packet received {"connection_id":110729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":110729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:48] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:48] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:36:48] local.INFO: IMEI packet received {"connection_id":110729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":110729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:36:48] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2706a10012d126000071f1f48004400581c..."} 
[2026-06-23 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2706a10012d126000071f1f48004400581c..."} 
[2026-06-23 08:36:48] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2706a10012d126000071f1f48004400581c..."} 
[2026-06-23 08:36:48] local.INFO: Packet analysis {"connection_id":110729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:48] local.INFO: Extracted packet for processing {"connection_id":110729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756178944,"raw_latitude":119480136,"longitude_deg":75.6178944,"latitude_deg":11.9480136,"altitude":68,"angle":88,"satellites":28,"speed":45,"hex_longitude":"2d126000","hex_latitude":"071f1f48","is_valid_coordinates":true} 
[2026-06-23 08:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239079680001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3898146677587968,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1313854853128284160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183914000,"timestamp_ms":1782183914000,"timestamp_seconds":1782183914,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2706a10"} 
[2026-06-23 08:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239079680001,"66":13928,"31":206,"83":41984,"24":45,"16":3898146677587968,"45":1313854853128284160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239079680001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3898146677587968,"km_value":3898146677587.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1313854853128284160,"description":"Unknown IO ID 45"} 
[2026-06-23 08:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239079680001,"power":13928,"unknown_31":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1313854853128284160}} 
[2026-06-23 08:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":110729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:48] local.INFO: GPS data processed {"connection_id":110729,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:48] local.INFO: Acknowledgment sent {"connection_id":110729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:36:51] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2708950012d128540071f23c8003e00531e..."} 
[2026-06-23 08:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2708950012d128540071f23c8003e00531e..."} 
[2026-06-23 08:36:51] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2708950012d128540071f23c8003e00531e..."} 
[2026-06-23 08:36:51] local.INFO: Packet analysis {"connection_id":110729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:51] local.INFO: Extracted packet for processing {"connection_id":110729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756188480,"raw_latitude":119481288,"longitude_deg":75.618848,"latitude_deg":11.9481288,"altitude":62,"angle":83,"satellites":30,"speed":47,"hex_longitude":"2d128540","hex_latitude":"071f23c8","is_valid_coordinates":true} 
[2026-06-23 08:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239081984001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3898601944121344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1324058321033840640,"note":"Value kept but may cause issues"} 
[2026-06-23 08:36:51] 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-06-23 08:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782183922000,"timestamp_ms":1782183922000,"timestamp_seconds":1782183922,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2708950"} 
[2026-06-23 08:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:36:51] 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-06-23 08:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 08:36:51] 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-06-23 08:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239081984001,"66":14004,"31":206,"83":41984,"24":47,"16":3898601944121344,"45":1324058321033840640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239081984001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:36:51] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3898601944121344,"km_value":3898601944121.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1324058321033840640,"description":"Unknown IO ID 45"} 
[2026-06-23 08:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239081984001,"power":14004,"unknown_31":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1324058321033840640}} 
[2026-06-23 08:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":110729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:36:52] local.INFO: GPS data processed {"connection_id":110729,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:36:52] local.INFO: Acknowledgment sent {"connection_id":110729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:02] local.INFO: TCP Data received {"connection_id":110555,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:02] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:02] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:37:02] local.INFO: TCP Data received {"connection_id":110555,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:02] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:02] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:37:04] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef270cbb8012cb3238007762970001a003329..."} 
[2026-06-23 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef270cbb8012cb3238007762970001a003329..."} 
[2026-06-23 08:37:04] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef270cbb8012cb3238007762970001a003329..."} 
[2026-06-23 08:37:04] local.INFO: Packet analysis {"connection_id":111356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:04] local.INFO: Extracted packet for processing {"connection_id":111356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:04] local.INFO: GPS Element Parsed {"raw_longitude":749937536,"raw_latitude":125184368,"longitude_deg":74.9937536,"latitude_deg":12.5184368,"altitude":26,"angle":51,"satellites":41,"speed":25,"hex_longitude":"2cb32380","hex_latitude":"07762970","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239086336001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321242250703011840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5542594103107858432,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782183939000,"timestamp_ms":1782183939000,"timestamp_seconds":1782183939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef270cbb8"} 
[2026-06-23 08:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:37:04] 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-06-23 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 08:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239086336001,"66":27865,"240":206,"27":54016,"24":25,"16":321242250703011840,"44":-5542594103107858432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-06-23 08:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239086336001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:37:04] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-23 08:37:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321242250703011840,"km_value":321242250703011.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5542594103107858432,"description":"Unknown IO ID 44"} 
[2026-06-23 08:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239086336001,"power":27865,"unknown_240":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5542594103107858432}} 
[2026-06-23 08:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":111356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:37:04] local.INFO: GPS data processed {"connection_id":111356,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:37:04] local.INFO: Acknowledgment sent {"connection_id":111356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:07] local.INFO: TCP Data received {"connection_id":110555,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:07] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:07] local.INFO: IMEI packet received {"connection_id":110555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":110555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:37:08] local.INFO: TCP Data received {"connection_id":110555,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2706a10012d7d18c005ea4cf0000e000e28..."} 
[2026-06-23 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2706a10012d7d18c005ea4cf0000e000e28..."} 
[2026-06-23 08:37:08] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2706a10012d7d18c005ea4cf0000e000e28..."} 
[2026-06-23 08:37:08] local.INFO: Packet analysis {"connection_id":110555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:08] local.INFO: Extracted packet for processing {"connection_id":110555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":99241200,"longitude_deg":76.3173056,"latitude_deg":9.92412,"altitude":14,"angle":14,"satellites":40,"speed":17,"hex_longitude":"2d7d18c0","hex_latitude":"05ea4cf0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239076608001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96296495375974400,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942097815552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] 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-06-23 08:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782183914000,"timestamp_ms":1782183914000,"timestamp_seconds":1782183914,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2706a10"} 
[2026-06-23 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-06-23 08:37: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-06-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359766,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067345456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818507,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3987734531,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921891328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,154,87,24,241,157,16,28,158,198,45,192,37,11,39,10,66,115,128,30,36,1,240,237,227,242,233,4,113,205,211,18,152,239,50,2,86,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-06-23 08:37:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008808674468036608,"timestamp_seconds":1008808674468036.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 08:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239076608001,"66":13178,"154":206,"87":13824,"24":17,"16":96296495375974400,"45":9013813942097815552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-23 08:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239076608001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:37:08] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-23 08:37:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96296495375974400,"km_value":96296495375974.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942097815552,"description":"Unknown IO ID 45"} 
[2026-06-23 08:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239076608001,"power":13178,"unknown_154":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9013813942097815552}} 
[2026-06-23 08:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":110555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:37:08] local.INFO: GPS data processed {"connection_id":110555,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:37:08] local.INFO: Acknowledgment sent {"connection_id":110555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:14] local.INFO: TCP Data received {"connection_id":110730,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:37:14] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:37:14] local.INFO: IMEI packet received {"connection_id":110730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":110730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:37:23] local.INFO: TCP Data received {"connection_id":110729,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef270a4a8012d12a9c0071f26e8003600581f..."} 
[2026-06-23 08:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef270a4a8012d12a9c0071f26e8003600581f..."} 
[2026-06-23 08:37:23] local.INFO: Processing buffer {"connection_id":110729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef270a4a8012d12a9c0071f26e8003600581f..."} 
[2026-06-23 08:37:23] local.INFO: Packet analysis {"connection_id":110729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:23] local.INFO: Extracted packet for processing {"connection_id":110729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756197824,"raw_latitude":119482088,"longitude_deg":75.6197824,"latitude_deg":11.9482088,"altitude":54,"angle":88,"satellites":31,"speed":55,"hex_longitude":"2d12a9c0","hex_latitude":"071f26e8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239084032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3899048620720128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1334543263916607488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:23] 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-06-23 08:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782183929000,"timestamp_ms":1782183929000,"timestamp_seconds":1782183929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef270a4a8"} 
[2026-06-23 08:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 08:37:23] 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-06-23 08: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-06-23 08:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239084032001,"66":14374,"31":206,"83":41984,"24":55,"16":3899048620720128,"45":1334543263916607488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239084032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:37:23] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3899048620720128,"km_value":3899048620720.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1334543263916607488,"description":"Unknown IO ID 45"} 
[2026-06-23 08:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239084032001,"power":14374,"unknown_31":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1334543263916607488}} 
[2026-06-23 08:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":110729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:37:23] local.INFO: GPS data processed {"connection_id":110729,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:37:23] local.INFO: Acknowledgment sent {"connection_id":110729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:24] local.INFO: TCP Data received {"connection_id":110557,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:37:24] local.INFO: Processing buffer {"connection_id":110557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:37:24] local.INFO: IMEI packet received {"connection_id":110557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":110557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:37:30] local.INFO: TCP Data received {"connection_id":110557,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:37:30] local.INFO: Processing buffer {"connection_id":110557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:37:30] local.INFO: IMEI packet received {"connection_id":110557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":110557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:37:31] local.INFO: TCP Data received {"connection_id":110557,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2717798012cb347c007769fc80022000129..."} 
[2026-06-23 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2717798012cb347c007769fc80022000129..."} 
[2026-06-23 08:37:31] local.INFO: Processing buffer {"connection_id":110557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2717798012cb347c007769fc80022000129..."} 
[2026-06-23 08:37:31] local.INFO: Packet analysis {"connection_id":110557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:37:31] local.INFO: Extracted packet for processing {"connection_id":110557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:37:31] local.INFO: GPS Element Parsed {"raw_longitude":749946816,"raw_latitude":125214664,"longitude_deg":74.9946816,"latitude_deg":12.5214664,"altitude":34,"angle":1,"satellites":41,"speed":23,"hex_longitude":"2cb347c0","hex_latitude":"07769fc8","is_valid_coordinates":true} 
[2026-06-23 08:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239096832001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321243869905682432,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529153672963162112,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782183983000,"timestamp_ms":1782183983000,"timestamp_seconds":1782183983,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2717798"} 
[2026-06-23 08:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:37:31] 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-06-23 08:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:37:31] 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-06-23 08:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239096832001,"66":27767,"240":206,"27":54016,"24":23,"16":321243869905682432,"44":-5529153672963162112},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-06-23 08:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239096832001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:37:31] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-23 08:37:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321243869905682432,"km_value":321243869905682.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529153672963162112,"description":"Unknown IO ID 44"} 
[2026-06-23 08:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239096832001,"power":27767,"unknown_240":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5529153672963162112}} 
[2026-06-23 08:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":110557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:37:31] local.INFO: GPS data processed {"connection_id":110557,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:37:31] local.INFO: Acknowledgment sent {"connection_id":110557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:40] local.INFO: TCP Data received {"connection_id":110555,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2722378012d7d1ec005eafdc8000d00ec29..."} 
[2026-06-23 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2722378012d7d1ec005eafdc8000d00ec29..."} 
[2026-06-23 08:37:40] local.INFO: Processing buffer {"connection_id":110555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2722378012d7d1ec005eafdc8000d00ec29..."} 
[2026-06-23 08:37:40] local.INFO: Packet analysis {"connection_id":110555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:37:40] local.INFO: Extracted packet for processing {"connection_id":110555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":99286472,"longitude_deg":76.3174592,"latitude_deg":9.9286472,"altitude":13,"angle":236,"satellites":41,"speed":7,"hex_longitude":"2d7d1ec0","hex_latitude":"05eafdc8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239110400001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96298745938837504,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848157278208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37: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-06-23 08:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782184027000,"timestamp_ms":1782184027000,"timestamp_seconds":1782184027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2722378"} 
[2026-06-23 08:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:37:40] 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-06-23 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 08:37:40] 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-06-23 08: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-06-23 08:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239110400001,"66":13178,"158":206,"87":13824,"24":7,"16":96298745938837504,"45":9016276848157278208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239110400001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96298745938837504,"km_value":96298745938837.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848157278208,"description":"Unknown IO ID 45"} 
[2026-06-23 08:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239110400001,"power":13178,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9016276848157278208}} 
[2026-06-23 08:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":110555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:37:40] local.INFO: GPS data processed {"connection_id":110555,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:37:40] local.INFO: Acknowledgment sent {"connection_id":110555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:43] local.INFO: TCP Data received {"connection_id":112291,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:37:43] local.INFO: Processing buffer {"connection_id":112291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:37:43] local.INFO: IMEI packet received {"connection_id":112291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":112291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:37:48] local.INFO: TCP Data received {"connection_id":112291,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:37:48] local.INFO: Processing buffer {"connection_id":112291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:37:48] local.INFO: IMEI packet received {"connection_id":112291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":112291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:37:48] local.INFO: TCP Data received {"connection_id":112291,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef270bc18012d12cc00071f2498002f006321..."} 
[2026-06-23 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef270bc18012d12cc00071f2498002f006321..."} 
[2026-06-23 08:37:48] local.INFO: Processing buffer {"connection_id":112291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef270bc18012d12cc00071f2498002f006321..."} 
[2026-06-23 08:37:48] local.INFO: Packet analysis {"connection_id":112291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:48] local.INFO: Extracted packet for processing {"connection_id":112291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756206592,"raw_latitude":119481496,"longitude_deg":75.6206592,"latitude_deg":11.9481496,"altitude":47,"angle":99,"satellites":33,"speed":57,"hex_longitude":"2d12cc00","hex_latitude":"071f2498","is_valid_coordinates":true} 
[2026-06-23 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239085824001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3899465232547840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1344817100566751232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782183935000,"timestamp_ms":1782183935000,"timestamp_seconds":1782183935,"priority":1,"record_length":96,"hex_timestamp":"0000019ef270bc18"} 
[2026-06-23 08:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 08:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239085824001,"66":13820,"31":206,"83":41984,"24":57,"16":3899465232547840,"45":1344817100566751232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239085824001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3899465232547840,"km_value":3899465232547.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1344817100566751232,"description":"Unknown IO ID 45"} 
[2026-06-23 08:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239085824001,"power":13820,"unknown_31":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1344817100566751232}} 
[2026-06-23 08:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":112291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:37:49] local.INFO: GPS data processed {"connection_id":112291,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:37:49] local.INFO: Acknowledgment sent {"connection_id":112291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:37:56] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:56] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:37:56] local.INFO: IMEI packet received {"connection_id":111357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":111357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:38:02] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:02] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:02] local.INFO: IMEI packet received {"connection_id":111357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":111357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:38:02] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:02] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:02] local.INFO: IMEI packet received {"connection_id":111357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":111357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:38:02] local.INFO: TCP Data received {"connection_id":110557,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2718f08012cb349400776ac700027000e2a..."} 
[2026-06-23 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2718f08012cb349400776ac700027000e2a..."} 
[2026-06-23 08:38:02] local.INFO: Processing buffer {"connection_id":110557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2718f08012cb349400776ac700027000e2a..."} 
[2026-06-23 08:38:02] local.INFO: Packet analysis {"connection_id":110557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:02] local.INFO: Extracted packet for processing {"connection_id":110557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":749947200,"raw_latitude":125217904,"longitude_deg":74.99472,"latitude_deg":12.5217904,"altitude":39,"angle":14,"satellites":42,"speed":18,"hex_longitude":"2cb34940","hex_latitude":"0776ac70","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239099648001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321244028819472384,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5528238879286507520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782183989000,"timestamp_ms":1782183989000,"timestamp_seconds":1782183989,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2718f08"} 
[2026-06-23 08:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38:02] 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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:02] 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-06-23 08: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-06-23 08:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239099648001,"66":27843,"240":206,"27":54016,"24":18,"16":321244028819472384,"44":-5528238879286507520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,27,24,16,44]} 
[2026-06-23 08:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239099648001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:02] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-23 08:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321244028819472384,"km_value":321244028819472.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5528238879286507520,"description":"Unknown IO ID 44"} 
[2026-06-23 08:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239099648001,"power":27843,"unknown_240":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-5528238879286507520}} 
[2026-06-23 08:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":110557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:02] local.INFO: GPS data processed {"connection_id":110557,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:02] local.INFO: Acknowledgment sent {"connection_id":110557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:03] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2722760012d7d1e4005eafd90000d00fd29..."} 
[2026-06-23 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2722760012d7d1e4005eafd90000d00fd29..."} 
[2026-06-23 08:38:03] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2722760012d7d1e4005eafd90000d00fd29..."} 
[2026-06-23 08:38:03] local.INFO: Packet analysis {"connection_id":111357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:38:03] local.INFO: Extracted packet for processing {"connection_id":111357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99286416,"longitude_deg":76.3174464,"latitude_deg":9.9286416,"altitude":13,"angle":253,"satellites":41,"speed":7,"hex_longitude":"2d7d1e40","hex_latitude":"05eafd90","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239110912001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96298754528772096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635692181504,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:03] 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-06-23 08:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184028000,"timestamp_ms":1782184028000,"timestamp_seconds":1782184028,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2722760"} 
[2026-06-23 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-06-23 08:38: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-06-23 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:03] 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-06-23 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-06-23 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-06-23 08:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239110912001,"66":13178,"158":206,"87":13824,"24":7,"16":96298754528772096,"45":9015854635692181504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239110912001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96298754528772096,"km_value":96298754528772.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635692181504,"description":"Unknown IO ID 45"} 
[2026-06-23 08:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239110912001,"power":13178,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015854635692181504}} 
[2026-06-23 08:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":111357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:03] local.INFO: GPS data processed {"connection_id":111357,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:03] local.INFO: Acknowledgment sent {"connection_id":111357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:08] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2725a28012d7d0d8005eaf6b0000d00ee25..."} 
[2026-06-23 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2725a28012d7d0d8005eaf6b0000d00ee25..."} 
[2026-06-23 08:38:08] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2725a28012d7d0d8005eaf6b0000d00ee25..."} 
[2026-06-23 08:38:08] local.INFO: Packet analysis {"connection_id":111357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:38:08] local.INFO: Extracted packet for processing {"connection_id":111357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763170176,"raw_latitude":99284656,"longitude_deg":76.3170176,"latitude_deg":9.9284656,"altitude":13,"angle":238,"satellites":37,"speed":18,"hex_longitude":"2d7d0d80","hex_latitude":"05eaf6b0","is_valid_coordinates":true} 
[2026-06-23 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239111168001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96298977867071488,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898203811840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:08] 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-06-23 08:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782184041000,"timestamp_ms":1782184041000,"timestamp_seconds":1782184041,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2725a28"} 
[2026-06-23 08:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38:08] 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-06-23 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:08] 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-06-23 08:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239111168001,"66":12982,"158":206,"87":13824,"24":18,"16":96298977867071488,"45":9015713898203811840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239111168001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96298977867071488,"km_value":96298977867071.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898203811840,"description":"Unknown IO ID 45"} 
[2026-06-23 08:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239111168001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015713898203811840}} 
[2026-06-23 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":111357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:08] local.INFO: GPS data processed {"connection_id":111357,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:08] local.INFO: Acknowledgment sent {"connection_id":111357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:22] local.INFO: TCP Data received {"connection_id":112291,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef270cfa0012d12e640071f1d48002e006f22..."} 
[2026-06-23 08:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef270cfa0012d12e640071f1d48002e006f22..."} 
[2026-06-23 08:38:22] local.INFO: Processing buffer {"connection_id":112291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef270cfa0012d12e640071f1d48002e006f22..."} 
[2026-06-23 08:38:22] local.INFO: Packet analysis {"connection_id":112291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:38:22] local.INFO: Extracted packet for processing {"connection_id":112291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756213312,"raw_latitude":119479624,"longitude_deg":75.6213312,"latitude_deg":11.9479624,"altitude":46,"angle":111,"satellites":34,"speed":53,"hex_longitude":"2d12e640","hex_latitude":"071f1d48","is_valid_coordinates":true} 
[2026-06-23 08:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239087360001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3899795945029632,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1354457618518939648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:22] 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-06-23 08:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782183940000,"timestamp_ms":1782183940000,"timestamp_seconds":1782183940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef270cfa0"} 
[2026-06-23 08:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 08:38: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-06-23 08:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239087360001,"66":14004,"31":206,"83":41984,"24":53,"16":3899795945029632,"45":1354457618518939648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239087360001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3899795945029632,"km_value":3899795945029.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1354457618518939648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239087360001,"power":14004,"unknown_31":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1354457618518939648}} 
[2026-06-23 08:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":112291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:22] local.INFO: GPS data processed {"connection_id":112291,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:22] local.INFO: Acknowledgment sent {"connection_id":112291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:29] local.INFO: TCP Data received {"connection_id":111358,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:29] local.INFO: Processing buffer {"connection_id":111358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:29] local.INFO: IMEI packet received {"connection_id":111358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:38:30] local.INFO: TCP Data received {"connection_id":111358,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:30] local.INFO: Processing buffer {"connection_id":111358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:30] local.INFO: IMEI packet received {"connection_id":111358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":111358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:38:35] local.INFO: TCP Data received {"connection_id":111358,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:35] local.INFO: Processing buffer {"connection_id":111358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:38:35] local.INFO: IMEI packet received {"connection_id":111358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":111358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:38:36] local.INFO: TCP Data received {"connection_id":111358,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef271cd88012cb352400776ce880029000d28..."} 
[2026-06-23 08:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef271cd88012cb352400776ce880029000d28..."} 
[2026-06-23 08:38:36] local.INFO: Processing buffer {"connection_id":111358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef271cd88012cb352400776ce880029000d28..."} 
[2026-06-23 08:38:36] local.INFO: Packet analysis {"connection_id":111358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:36] local.INFO: Extracted packet for processing {"connection_id":111358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:36] local.INFO: GPS Element Parsed {"raw_longitude":749949504,"raw_latitude":125226632,"longitude_deg":74.9949504,"latitude_deg":12.5226632,"altitude":41,"angle":13,"satellites":40,"speed":31,"hex_longitude":"2cb35240","hex_latitude":"0776ce88","is_valid_coordinates":true} 
[2026-06-23 08:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239101184001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321244466906136576,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5527816666820612096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782184005000,"timestamp_ms":1782184005000,"timestamp_seconds":1782184005,"priority":1,"record_length":96,"hex_timestamp":"0000019ef271cd88"} 
[2026-06-23 08:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38: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-06-23 08:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:36] 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-06-23 08:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239101184001,"66":27843,"71":206,"27":54016,"24":31,"16":321244466906136576,"44":-5527816666820612096},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16,44]} 
[2026-06-23 08:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239101184001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321244466906136576,"km_value":321244466906136.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5527816666820612096,"description":"Unknown IO ID 44"} 
[2026-06-23 08:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239101184001,"power":27843,"unknown_71":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-5527816666820612096}} 
[2026-06-23 08:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":111358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:36] local.INFO: GPS data processed {"connection_id":111358,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:36] local.INFO: Acknowledgment sent {"connection_id":111358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:39] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2729c90012d7d028005eaf0e0000f010125..."} 
[2026-06-23 08:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2729c90012d7d028005eaf0e0000f010125..."} 
[2026-06-23 08:38:39] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2729c90012d7d028005eaf0e0000f010125..."} 
[2026-06-23 08:38:39] local.INFO: Packet analysis {"connection_id":111357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:38:39] local.INFO: Extracted packet for processing {"connection_id":111357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:38:39] local.INFO: GPS Element Parsed {"raw_longitude":763167360,"raw_latitude":99283168,"longitude_deg":76.316736,"latitude_deg":9.9283168,"altitude":15,"angle":257,"satellites":37,"speed":8,"hex_longitude":"2d7d0280","hex_latitude":"05eaf0e0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239114496001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96299141075828736,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010999192343457792,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:39] 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-06-23 08:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782184058000,"timestamp_ms":1782184058000,"timestamp_seconds":1782184058,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2729c90"} 
[2026-06-23 08:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38: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-06-23 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:39] 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-06-23 08: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-06-23 08:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239114496001,"66":12722,"158":206,"87":13824,"24":8,"16":96299141075828736,"45":9010999192343457792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239114496001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:38:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96299141075828736,"km_value":96299141075828.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010999192343457792,"description":"Unknown IO ID 45"} 
[2026-06-23 08:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239114496001,"power":12722,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9010999192343457792}} 
[2026-06-23 08:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":111357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:39] local.INFO: GPS data processed {"connection_id":111357,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:39] local.INFO: Acknowledgment sent {"connection_id":111357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:41] local.INFO: TCP Data received {"connection_id":111358,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef271f880012cb358400776f118002b00072a..."} 
[2026-06-23 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef271f880012cb358400776f118002b00072a..."} 
[2026-06-23 08:38:41] local.INFO: Processing buffer {"connection_id":111358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef271f880012cb358400776f118002b00072a..."} 
[2026-06-23 08:38:41] local.INFO: Packet analysis {"connection_id":111358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:41] local.INFO: Extracted packet for processing {"connection_id":111358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749951040,"raw_latitude":125235480,"longitude_deg":74.995104,"latitude_deg":12.523548,"altitude":43,"angle":7,"satellites":42,"speed":29,"hex_longitude":"2cb35840","hex_latitude":"0776f118","is_valid_coordinates":true} 
[2026-06-23 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239105280001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321244900697833472,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5525283392027981824,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782184016000,"timestamp_ms":1782184016000,"timestamp_seconds":1782184016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef271f880"} 
[2026-06-23 08:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38:41] 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-06-23 08:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:41] 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-06-23 08:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239105280001,"66":27332,"71":206,"27":54016,"24":29,"16":321244900697833472,"44":-5525283392027981824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,27,24,16,44]} 
[2026-06-23 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239105280001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 08:38:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321244900697833472,"km_value":321244900697833.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5525283392027981824,"description":"Unknown IO ID 44"} 
[2026-06-23 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239105280001,"power":27332,"unknown_71":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-5525283392027981824}} 
[2026-06-23 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":111358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:41] local.INFO: GPS data processed {"connection_id":111358,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:41] local.INFO: Acknowledgment sent {"connection_id":111358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:43] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:38:43] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:38:43] local.INFO: IMEI packet received {"connection_id":110731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":110731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:38:49] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:38:49] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:38:49] local.INFO: IMEI packet received {"connection_id":110731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":110731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:38:52] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef270eee0012d130980071f0f38002d006e22..."} 
[2026-06-23 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef270eee0012d130980071f0f38002d006e22..."} 
[2026-06-23 08:38:52] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef270eee0012d130980071f0f38002d006e22..."} 
[2026-06-23 08:38:52] local.INFO: Packet analysis {"connection_id":110731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:38:52] local.INFO: Extracted packet for processing {"connection_id":110731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef270"} 
[2026-06-23 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756222336,"raw_latitude":119476024,"longitude_deg":75.6222336,"latitude_deg":11.9476024,"altitude":45,"angle":110,"satellites":34,"speed":43,"hex_longitude":"2d130980","hex_latitude":"071f0f38","is_valid_coordinates":true} 
[2026-06-23 08:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239088640001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3900255506530304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1361846336657115136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:52] 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-06-23 08:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782183948000,"timestamp_ms":1782183948000,"timestamp_seconds":1782183948,"priority":1,"record_length":96,"hex_timestamp":"0000019ef270eee0"} 
[2026-06-23 08:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:52] 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-06-23 08:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239088640001,"66":14341,"31":206,"83":41984,"24":43,"16":3900255506530304,"45":1361846336657115136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-06-23 08:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239088640001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3900255506530304,"km_value":3900255506530.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1361846336657115136,"description":"Unknown IO ID 45"} 
[2026-06-23 08:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239088640001,"power":14341,"unknown_31":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1361846336657115136}} 
[2026-06-23 08:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":110731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:52] local.INFO: GPS data processed {"connection_id":110731,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:52] local.INFO: Acknowledgment sent {"connection_id":110731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:53] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2711208012d132e40071f0488002e006821..."} 
[2026-06-23 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2711208012d132e40071f0488002e006821..."} 
[2026-06-23 08:38:53] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2711208012d132e40071f0488002e006821..."} 
[2026-06-23 08:38:53] local.INFO: Packet analysis {"connection_id":110731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:53] local.INFO: Extracted packet for processing {"connection_id":110731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef271"} 
[2026-06-23 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756231744,"raw_latitude":119473288,"longitude_deg":75.6231744,"latitude_deg":11.9473288,"altitude":46,"angle":104,"satellites":33,"speed":45,"hex_longitude":"2d132e40","hex_latitude":"071f0488","is_valid_coordinates":true} 
[2026-06-23 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239090688001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3900723657965568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1371768329585244160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] 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-06-23 08:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782183957000,"timestamp_ms":1782183957000,"timestamp_seconds":1782183957,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2711208"} 
[2026-06-23 08:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6961655839,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067444456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503659101618176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1595867342,"corrected_to":0} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3646423040,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84743849393987368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.WARNING: Large IO value detected {"io_id":128,"raw_value":17170386449869312,"note":"Value kept but may cause issues"} 
[2026-06-23 08:38:53] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,31,83,24,241,157,16,219,158,207,45,64,29,46,34,10,66,218,188,36,47,33,164,192,1,240,38,227,242,4,113,205,106,96,72,28,239,54,2,13,7,206,216,128],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1595867342,"validated":0}]} 
[2026-06-23 08:38:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242712824017518592,"timestamp_seconds":3242712824017518.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239090688001,"66":14613,"75":206,"83":41984,"24":45,"16":3900723657965568,"45":1371768329585244160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-06-23 08:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239090688001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:38:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 08:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3900723657965568,"km_value":3900723657965.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1371768329585244160,"description":"Unknown IO ID 45"} 
[2026-06-23 08:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239090688001,"power":14613,"unknown_75":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1371768329585244160}} 
[2026-06-23 08:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":110731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:38:54] local.INFO: GPS data processed {"connection_id":110731,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:38:54] local.INFO: Acknowledgment sent {"connection_id":110731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:38:56] local.INFO: TCP Data received {"connection_id":110732,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:56] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:38:56] local.INFO: IMEI packet received {"connection_id":110732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":110732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:39:03] local.INFO: TCP Data received {"connection_id":110732,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:39:03] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:39:03] local.INFO: IMEI packet received {"connection_id":110732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":110732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:39:04] local.INFO: TCP Data received {"connection_id":110732,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef272eab0012d7cf64005eaee80001100fd22..."} 
[2026-06-23 08:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef272eab0012d7cf64005eaee80001100fd22..."} 
[2026-06-23 08:39:04] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef272eab0012d7cf64005eaee80001100fd22..."} 
[2026-06-23 08:39:04] local.INFO: Packet analysis {"connection_id":110732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:39:04] local.INFO: Extracted packet for processing {"connection_id":110732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef272"} 
[2026-06-23 08:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763164224,"raw_latitude":99282560,"longitude_deg":76.3164224,"latitude_deg":9.928256,"altitude":17,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7cf640","hex_latitude":"05eaee80","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239118848001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96299295694651392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007902967599259648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39: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-06-23 08:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782184078000,"timestamp_ms":1782184078000,"timestamp_seconds":1782184078,"priority":1,"record_length":96,"hex_timestamp":"0000019ef272eab0"} 
[2026-06-23 08:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:39: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-06-23 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 08:39:04] 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-06-23 08: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-06-23 08:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239118848001,"66":12917,"158":206,"87":13824,"24":0,"16":96299295694651392,"45":9007902967599259648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239118848001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:39:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:39:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96299295694651392,"km_value":96299295694651.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007902967599259648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239118848001,"power":12917,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007902967599259648}} 
[2026-06-23 08:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":110732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:39:04] local.INFO: GPS data processed {"connection_id":110732,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:39:04] local.INFO: Acknowledgment sent {"connection_id":110732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:39:25] local.INFO: TCP Data received {"connection_id":112293,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:39:25] local.INFO: Processing buffer {"connection_id":112293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:39:25] local.INFO: IMEI packet received {"connection_id":112293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":112293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:39:28] local.INFO: TCP Data received {"connection_id":112293,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:39:28] local.INFO: Processing buffer {"connection_id":112293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:39:28] local.INFO: IMEI packet received {"connection_id":112293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":112293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:39:30] local.INFO: TCP Data received {"connection_id":112293,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27363c8012cb3df800777e7e00029015d2a..."} 
[2026-06-23 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27363c8012cb3df800777e7e00029015d2a..."} 
[2026-06-23 08:39:30] local.INFO: Processing buffer {"connection_id":112293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27363c8012cb3df800777e7e00029015d2a..."} 
[2026-06-23 08:39:30] local.INFO: Packet analysis {"connection_id":112293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:30] local.INFO: Extracted packet for processing {"connection_id":112293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749985664,"raw_latitude":125298656,"longitude_deg":74.9985664,"latitude_deg":12.5298656,"altitude":41,"angle":349,"satellites":42,"speed":31,"hex_longitude":"2cb3df80","hex_latitude":"0777e7e0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239131648001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321248555715002368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485454682805186560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782184109000,"timestamp_ms":1782184109000,"timestamp_seconds":1782184109,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27363c8"} 
[2026-06-23 08:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:39:30] 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-06-23 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:39: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-06-23 08: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-06-23 08:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239131648001,"66":27876,"224":206,"27":54016,"24":31,"16":321248555715002368,"44":-5485454682805186560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 08:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239131648001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:39:30] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 08:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321248555715002368,"km_value":321248555715002.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5485454682805186560,"description":"Unknown IO ID 44"} 
[2026-06-23 08:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239131648001,"power":27876,"unknown_224":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-5485454682805186560}} 
[2026-06-23 08:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":112293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:39:30] local.INFO: GPS data processed {"connection_id":112293,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:39:30] local.INFO: Acknowledgment sent {"connection_id":112293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:39:35] local.INFO: TCP Data received {"connection_id":110732,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2733cb8012d7cf64005eaee80001100fd1e..."} 
[2026-06-23 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2733cb8012d7cf64005eaee80001100fd1e..."} 
[2026-06-23 08:39:35] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2733cb8012d7cf64005eaee80001100fd1e..."} 
[2026-06-23 08:39:35] local.INFO: Packet analysis {"connection_id":110732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:35] local.INFO: Extracted packet for processing {"connection_id":110732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763164224,"raw_latitude":99282560,"longitude_deg":76.3164224,"latitude_deg":9.928256,"altitude":17,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7cf640","hex_latitude":"05eaee80","is_valid_coordinates":true} 
[2026-06-23 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239123968001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96299295694651392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454899134398464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39: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-06-23 08:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184099000,"timestamp_ms":1782184099000,"timestamp_seconds":1782184099,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2733cb8"} 
[2026-06-23 08:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:39: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-06-23 08:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:39:35] 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-06-23 08:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110732,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239123968001,"66":12841,"158":206,"87":13824,"24":0,"16":96299295694651392,"45":9004454899134398464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239123968001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:39:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:39:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96299295694651392,"km_value":96299295694651.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454899134398464,"description":"Unknown IO ID 45"} 
[2026-06-23 08:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239123968001,"power":12841,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9004454899134398464}} 
[2026-06-23 08:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":110732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:39:35] local.INFO: GPS data processed {"connection_id":110732,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:39:35] local.INFO: Acknowledgment sent {"connection_id":110732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:39:36] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2732548012d139400071efcf80031003f24..."} 
[2026-06-23 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2732548012d139400071efcf80031003f24..."} 
[2026-06-23 08:39:36] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2732548012d139400071efcf80031003f24..."} 
[2026-06-23 08:39:36] local.INFO: Packet analysis {"connection_id":110731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:36] local.INFO: Extracted packet for processing {"connection_id":110731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756257792,"raw_latitude":119471352,"longitude_deg":75.6257792,"latitude_deg":11.9471352,"altitude":49,"angle":63,"satellites":36,"speed":0,"hex_longitude":"2d139400","hex_latitude":"071efcf8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239122432001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3902016443121664,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1407797126602706944,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782184093000,"timestamp_ms":1782184093000,"timestamp_seconds":1782184093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2732548"} 
[2026-06-23 08:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:39: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-06-23 08: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 08:39:36] 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-06-23 08: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-06-23 08:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239122432001,"66":14265,"185":206,"83":41984,"24":0,"16":3902016443121664,"45":1407797126602706944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-06-23 08:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239122432001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3902016443121664,"km_value":3902016443121.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1407797126602706944,"description":"Unknown IO ID 45"} 
[2026-06-23 08:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239122432001,"power":14265,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1407797126602706944}} 
[2026-06-23 08:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":110731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:39:36] local.INFO: GPS data processed {"connection_id":110731,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:39:36] local.INFO: Acknowledgment sent {"connection_id":110731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:39:43] local.INFO: TCP Data received {"connection_id":112294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:39:43] local.INFO: Processing buffer {"connection_id":112294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:39:43] local.INFO: IMEI packet received {"connection_id":112294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":112294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:39:48] local.INFO: TCP Data received {"connection_id":112294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:39:48] local.INFO: Processing buffer {"connection_id":112294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:39:48] local.INFO: IMEI packet received {"connection_id":112294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":112294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:39:48] local.INFO: TCP Data received {"connection_id":112294,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2737750012d13a5c0071f06000033003924..."} 
[2026-06-23 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2737750012d13a5c0071f06000033003924..."} 
[2026-06-23 08:39:48] local.INFO: Processing buffer {"connection_id":112294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2737750012d13a5c0071f06000033003924..."} 
[2026-06-23 08:39:48] local.INFO: Packet analysis {"connection_id":112294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:48] local.INFO: Extracted packet for processing {"connection_id":112294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756262336,"raw_latitude":119473664,"longitude_deg":75.6262336,"latitude_deg":11.9473664,"altitude":51,"angle":57,"satellites":36,"speed":19,"hex_longitude":"2d13a5c0","hex_latitude":"071f0600","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239127808001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3902261256257536,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1410752613858473984,"note":"Value kept but may cause issues"} 
[2026-06-23 08:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184114000,"timestamp_ms":1782184114000,"timestamp_seconds":1782184114,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2737750"} 
[2026-06-23 08:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 08:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239127808001,"66":13961,"185":206,"83":41984,"24":19,"16":3902261256257536,"45":1410752613858473984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-06-23 08:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239127808001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:39:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 08:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3902261256257536,"km_value":3902261256257.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1410752613858473984,"description":"Unknown IO ID 45"} 
[2026-06-23 08:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239127808001,"power":13961,"unknown_185":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1410752613858473984}} 
[2026-06-23 08:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":112294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:39:49] local.INFO: GPS data processed {"connection_id":112294,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:39:49] local.INFO: Acknowledgment sent {"connection_id":112294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:39:59] local.INFO: TCP Data received {"connection_id":112295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:39:59] local.INFO: Processing buffer {"connection_id":112295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:39:59] local.INFO: IMEI packet received {"connection_id":112295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":112295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:40:02] local.INFO: TCP Data received {"connection_id":112295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:02] local.INFO: Processing buffer {"connection_id":112295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:02] local.INFO: IMEI packet received {"connection_id":112295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":112295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:02] local.INFO: TCP Data received {"connection_id":112293,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27367b0012cb3de800777ead8002901502b..."} 
[2026-06-23 08:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27367b0012cb3de800777ead8002901502b..."} 
[2026-06-23 08:40:02] local.INFO: Processing buffer {"connection_id":112293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27367b0012cb3de800777ead8002901502b..."} 
[2026-06-23 08:40:02] local.INFO: Packet analysis {"connection_id":112293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:02] local.INFO: Extracted packet for processing {"connection_id":112293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:02] local.INFO: GPS Element Parsed {"raw_longitude":749985408,"raw_latitude":125299416,"longitude_deg":74.9985408,"latitude_deg":12.5299416,"altitude":41,"angle":336,"satellites":43,"speed":32,"hex_longitude":"2cb3de80","hex_latitude":"0777ead8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239131904001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321248594369708032,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5485525051549163520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782184110000,"timestamp_ms":1782184110000,"timestamp_seconds":1782184110,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27367b0"} 
[2026-06-23 08:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:40:02] 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-06-23 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:40:02] 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-06-23 08: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-06-23 08:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239131904001,"66":27071,"224":206,"27":54016,"24":32,"16":321248594369708032,"44":-5485525051549163520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 08:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239131904001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:40:02] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 08:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321248594369708032,"km_value":321248594369708.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5485525051549163520,"description":"Unknown IO ID 44"} 
[2026-06-23 08:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239131904001,"power":27071,"unknown_224":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-5485525051549163520}} 
[2026-06-23 08:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":112293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:40:02] local.INFO: GPS data processed {"connection_id":112293,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:40:02] local.INFO: Acknowledgment sent {"connection_id":112293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:40:07] local.INFO: TCP Data received {"connection_id":112295,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:07] local.INFO: Processing buffer {"connection_id":112295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:07] local.INFO: IMEI packet received {"connection_id":112295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":112295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:08] local.INFO: TCP Data received {"connection_id":112295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2737f20012d7cf48005eaee380012010c20..."} 
[2026-06-23 08:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2737f20012d7cf48005eaee380012010c20..."} 
[2026-06-23 08:40:08] local.INFO: Processing buffer {"connection_id":112295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2737f20012d7cf48005eaee380012010c20..."} 
[2026-06-23 08:40:08] local.INFO: Packet analysis {"connection_id":112295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:08] local.INFO: Extracted packet for processing {"connection_id":112295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763163776,"raw_latitude":99282488,"longitude_deg":76.3163776,"latitude_deg":9.9282488,"altitude":18,"angle":268,"satellites":32,"speed":2,"hex_longitude":"2d7cf480","hex_latitude":"05eaee38","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239129344001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96299317169487872,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454899134398464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:08] 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-06-23 08:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782184116000,"timestamp_ms":1782184116000,"timestamp_seconds":1782184116,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2737f20"} 
[2026-06-23 08:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:40:08] 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-06-23 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 08:40:08] 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-06-23 08: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-06-23 08:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239129344001,"66":13048,"158":206,"87":13824,"24":2,"16":96299317169487872,"45":9004454899134398464},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239129344001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:40:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:40:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96299317169487872,"km_value":96299317169487.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454899134398464,"description":"Unknown IO ID 45"} 
[2026-06-23 08:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239129344001,"power":13048,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9004454899134398464}} 
[2026-06-23 08:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":112295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:40:08] local.INFO: GPS data processed {"connection_id":112295,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:40:08] local.INFO: Acknowledgment sent {"connection_id":112295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:40:11] local.INFO: TCP Data received {"connection_id":112295,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27392a8012d7cf1c005eaedc00011010122..."} 
[2026-06-23 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27392a8012d7cf1c005eaedc00011010122..."} 
[2026-06-23 08:40:11] local.INFO: Processing buffer {"connection_id":112295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27392a8012d7cf1c005eaedc00011010122..."} 
[2026-06-23 08:40:11] local.INFO: Packet analysis {"connection_id":112295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:11] local.INFO: Extracted packet for processing {"connection_id":112295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763163072,"raw_latitude":99282368,"longitude_deg":76.3163072,"latitude_deg":9.9282368,"altitude":17,"angle":257,"satellites":34,"speed":4,"hex_longitude":"2d7cf1c0","hex_latitude":"05eaedc0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239133696001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96299351529226240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003962317925136384,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:11] 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-06-23 08:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782184121000,"timestamp_ms":1782184121000,"timestamp_seconds":1782184121,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27392a8"} 
[2026-06-23 08:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:40: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-06-23 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:40:11] 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-06-23 08: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-06-23 08:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":112295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":112295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":112295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239133696001,"66":12972,"158":206,"87":13824,"24":4,"16":96299351529226240,"45":9003962317925136384},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 08:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239133696001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:40:11] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 08:40:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96299351529226240,"km_value":96299351529226.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003962317925136384,"description":"Unknown IO ID 45"} 
[2026-06-23 08:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239133696001,"power":12972,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9003962317925136384}} 
[2026-06-23 08:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":112295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:40:11] local.INFO: GPS data processed {"connection_id":112295,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:40:11] local.INFO: Acknowledgment sent {"connection_id":112295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:40:19] local.INFO: TCP Data received {"connection_id":112294,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef273aa18012d13c580071f18500034003f22..."} 
[2026-06-23 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef273aa18012d13c580071f18500034003f22..."} 
[2026-06-23 08:40:19] local.INFO: Processing buffer {"connection_id":112294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef273aa18012d13c580071f18500034003f22..."} 
[2026-06-23 08:40:19] local.INFO: Packet analysis {"connection_id":112294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:19] local.INFO: Extracted packet for processing {"connection_id":112294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756270464,"raw_latitude":119478352,"longitude_deg":75.6270464,"latitude_deg":11.9478352,"altitude":52,"angle":63,"satellites":34,"speed":36,"hex_longitude":"2d13c580","hex_latitude":"071f1850","is_valid_coordinates":true} 
[2026-06-23 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239133184001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3902707932856320,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415748794695680000,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782184127000,"timestamp_ms":1782184127000,"timestamp_seconds":1782184127,"priority":1,"record_length":96,"hex_timestamp":"0000019ef273aa18"} 
[2026-06-23 08:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:40:19] 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-06-23 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-23 08:40: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-06-23 08:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239133184001,"66":13993,"185":206,"83":41984,"24":36,"16":3902707932856320,"45":1415748794695680000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-06-23 08:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239133184001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:40:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 08:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3902707932856320,"km_value":3902707932856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415748794695680000,"description":"Unknown IO ID 45"} 
[2026-06-23 08:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239133184001,"power":13993,"unknown_185":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1415748794695680000}} 
[2026-06-23 08:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":112294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:40:19] local.INFO: GPS data processed {"connection_id":112294,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:40:19] local.INFO: Acknowledgment sent {"connection_id":112294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:40:22] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:22] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:22] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:40:24] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:24] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:24] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:25] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:25] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:25] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:26] local.INFO: TCP Data received {"connection_id":110560,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:26] local.INFO: Processing buffer {"connection_id":110560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:40:26] local.INFO: IMEI packet received {"connection_id":110560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":110560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:43] local.INFO: TCP Data received {"connection_id":111360,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:43] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:43] local.INFO: IMEI packet received {"connection_id":111360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":111360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:40:43] local.INFO: TCP Data received {"connection_id":111360,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:43] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:43] local.INFO: IMEI packet received {"connection_id":111360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":111360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:48] local.INFO: TCP Data received {"connection_id":111360,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:48] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:40:48] local.INFO: IMEI packet received {"connection_id":111360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":111360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:49] local.INFO: TCP Data received {"connection_id":111360,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef273c958012d13e700071f25380030004722..."} 
[2026-06-23 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef273c958012d13e700071f25380030004722..."} 
[2026-06-23 08:40:49] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef273c958012d13e700071f25380030004722..."} 
[2026-06-23 08:40:49] local.INFO: Packet analysis {"connection_id":111360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:49] local.INFO: Extracted packet for processing {"connection_id":111360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef273"} 
[2026-06-23 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756279040,"raw_latitude":119481656,"longitude_deg":75.627904,"latitude_deg":11.9481656,"altitude":48,"angle":71,"satellites":34,"speed":49,"hex_longitude":"2d13e700","hex_latitude":"071f2538","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239136512001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3903146019520512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424685625207443456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782184135000,"timestamp_ms":1782184135000,"timestamp_seconds":1782184135,"priority":1,"record_length":96,"hex_timestamp":"0000019ef273c958"} 
[2026-06-23 08:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:40:49] 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-06-23 08: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-06-23 08:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239136512001,"66":13928,"185":206,"83":41984,"24":49,"16":3903146019520512,"45":1424685625207443456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-06-23 08:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239136512001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:40:49] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 08:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3903146019520512,"km_value":3903146019520.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424685625207443456,"description":"Unknown IO ID 45"} 
[2026-06-23 08:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239136512001,"power":13928,"unknown_185":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1424685625207443456}} 
[2026-06-23 08:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":111360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:40:49] local.INFO: GPS data processed {"connection_id":111360,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:40:49] local.INFO: Acknowledgment sent {"connection_id":111360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:40:54] local.INFO: TCP Data received {"connection_id":110561,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:54] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:54] local.INFO: IMEI packet received {"connection_id":110561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":110561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:40:55] local.INFO: TCP Data received {"connection_id":110561,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:55] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:55] local.INFO: IMEI packet received {"connection_id":110561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":110561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:40:56] local.INFO: TCP Data received {"connection_id":110561,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:56] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:40:56] local.INFO: IMEI packet received {"connection_id":110561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":110561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:41:02] local.INFO: TCP Data received {"connection_id":110561,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:02] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:02] local.INFO: IMEI packet received {"connection_id":110561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":110561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:41:02] local.INFO: TCP Data received {"connection_id":110561,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2757ed8012d7c3dc005eac7980008014225..."} 
[2026-06-23 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2757ed8012d7c3dc005eac7980008014225..."} 
[2026-06-23 08:41:03] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2757ed8012d7c3dc005eac7980008014225..."} 
[2026-06-23 08:41:03] local.INFO: Packet analysis {"connection_id":110561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:03] local.INFO: Extracted packet for processing {"connection_id":110561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99272600,"longitude_deg":76.3116992,"latitude_deg":9.92726,"altitude":8,"angle":322,"satellites":37,"speed":5,"hex_longitude":"2d7c3dc0","hex_latitude":"05eac798","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239166208001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96301640746795008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347137886208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:03] 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-06-23 08:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184247000,"timestamp_ms":1782184247000,"timestamp_seconds":1782184247,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2757ed8"} 
[2026-06-23 08:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:41:03] 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-06-23 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:41:03] 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-06-23 08: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-06-23 08:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239166208001,"66":12917,"8":206,"87":13824,"24":5,"16":96301640746795008,"45":8953015347137886208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 08:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239166208001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:41:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 08:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96301640746795008,"km_value":96301640746795.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347137886208,"description":"Unknown IO ID 45"} 
[2026-06-23 08:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239166208001,"power":12917,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8953015347137886208}} 
[2026-06-23 08:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":110561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:41:03] local.INFO: GPS data processed {"connection_id":110561,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:41:03] local.INFO: Acknowledgment sent {"connection_id":110561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:41:20] local.INFO: TCP Data received {"connection_id":111360,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2752118012d154340071fc830002a005723..."} 
[2026-06-23 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2752118012d154340071fc830002a005723..."} 
[2026-06-23 08:41:20] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2752118012d154340071fc830002a005723..."} 
[2026-06-23 08:41:20] local.INFO: Packet analysis {"connection_id":111360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:20] local.INFO: Extracted packet for processing {"connection_id":111360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756368192,"raw_latitude":119523376,"longitude_deg":75.6368192,"latitude_deg":11.9523376,"altitude":42,"angle":87,"satellites":35,"speed":47,"hex_longitude":"2d154340","hex_latitude":"071fc830","is_valid_coordinates":true} 
[2026-06-23 08:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239160320001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3907887663415296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1528268416648355840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782184223000,"timestamp_ms":1782184223000,"timestamp_seconds":1782184223,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2752118"} 
[2026-06-23 08:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:41:20] 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-06-23 08:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239160320001,"66":14407,"87":206,"83":41984,"24":47,"16":3907887663415296,"45":1528268416648355840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239160320001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:41:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3907887663415296,"km_value":3907887663415.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1528268416648355840,"description":"Unknown IO ID 45"} 
[2026-06-23 08:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239160320001,"power":14407,"unknown_87":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1528268416648355840}} 
[2026-06-23 08:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":111360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:41:20] local.INFO: GPS data processed {"connection_id":111360,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:41:20] local.INFO: Acknowledgment sent {"connection_id":111360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:41:22] local.INFO: TCP Data received {"connection_id":112296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:41:22] local.INFO: Processing buffer {"connection_id":112296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:41:22] local.INFO: IMEI packet received {"connection_id":112296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":112296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:41:23] local.INFO: TCP Data received {"connection_id":112296,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef275f020012d0d95c00705d628001b00491c..."} 
[2026-06-23 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef275f020012d0d95c00705d628001b00491c..."} 
[2026-06-23 08:41:23] local.INFO: Processing buffer {"connection_id":112296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef275f020012d0d95c00705d628001b00491c..."} 
[2026-06-23 08:41:23] local.INFO: Packet analysis {"connection_id":112296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:23] local.INFO: Extracted packet for processing {"connection_id":112296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755865024,"raw_latitude":117823016,"longitude_deg":75.5865024,"latitude_deg":11.7823016,"altitude":27,"angle":73,"satellites":28,"speed":22,"hex_longitude":"2d0d95c0","hex_latitude":"0705d628","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239173632001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21786925983596544,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":976577461859964928,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41: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-06-23 08:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782184276000,"timestamp_ms":1782184276000,"timestamp_seconds":1782184276,"priority":1,"record_length":96,"hex_timestamp":"0000019ef275f020"} 
[2026-06-23 08:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":125,"data_length":795,"current_offset":136} 
[2026-06-23 08:41:23] 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-06-23 08: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-06-23 08:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":112296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":112296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":112296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239173632001,"66":14374,"167":206,"94":11008,"24":22,"16":21786925983596544,"45":976577461859964928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 08:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239173632001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:41:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 08:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21786925983596544,"km_value":21786925983596.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":976577461859964928,"description":"Unknown IO ID 45"} 
[2026-06-23 08:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239173632001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":976577461859964928}} 
[2026-06-23 08:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":112296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:41:23] local.INFO: GPS data processed {"connection_id":112296,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:41:23] local.INFO: Acknowledgment sent {"connection_id":112296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:41:33] local.INFO: TCP Data received {"connection_id":110561,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2759260012d7c3dc005eac9e00008000724..."} 
[2026-06-23 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2759260012d7c3dc005eac9e00008000724..."} 
[2026-06-23 08:41:33] local.INFO: Processing buffer {"connection_id":110561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2759260012d7c3dc005eac9e00008000724..."} 
[2026-06-23 08:41:33] local.INFO: Packet analysis {"connection_id":110561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:33] local.INFO: Extracted packet for processing {"connection_id":110561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99273184,"longitude_deg":76.3116992,"latitude_deg":9.9273184,"altitude":8,"angle":7,"satellites":36,"speed":6,"hex_longitude":"2d7c3dc0","hex_latitude":"05eac9e0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239167232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96301670811566080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765928732672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41: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-06-23 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782184252000,"timestamp_ms":1782184252000,"timestamp_seconds":1782184252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2759260"} 
[2026-06-23 08:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:41: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-06-23 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:41:33] 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-06-23 08: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-06-23 08:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239167232001,"66":12928,"8":206,"87":13824,"24":6,"16":96301670811566080,"45":8952522765928732672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239167232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:41:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 08:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96301670811566080,"km_value":96301670811566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765928732672,"description":"Unknown IO ID 45"} 
[2026-06-23 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239167232001,"power":12928,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8952522765928732672}} 
[2026-06-23 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":110561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:41:33] local.INFO: GPS data processed {"connection_id":110561,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:41:33] local.INFO: Acknowledgment sent {"connection_id":110561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:41:42] local.INFO: TCP Data received {"connection_id":112298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:42] local.INFO: Processing buffer {"connection_id":112298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:42] local.INFO: IMEI packet received {"connection_id":112298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":112298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:41:44] local.INFO: TCP Data received {"connection_id":112298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:44] local.INFO: Processing buffer {"connection_id":112298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:44] local.INFO: IMEI packet received {"connection_id":112298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":112298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:41:48] local.INFO: TCP Data received {"connection_id":112298,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:48] local.INFO: Processing buffer {"connection_id":112298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:41:48] local.INFO: IMEI packet received {"connection_id":112298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":112298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:41:48] local.INFO: TCP Data received {"connection_id":112298,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2754058012d1568c0071fc6000026005c23..."} 
[2026-06-23 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2754058012d1568c0071fc6000026005c23..."} 
[2026-06-23 08:41:48] local.INFO: Processing buffer {"connection_id":112298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2754058012d1568c0071fc6000026005c23..."} 
[2026-06-23 08:41:48] local.INFO: Packet analysis {"connection_id":112298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:48] local.INFO: Extracted packet for processing {"connection_id":112298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756377792,"raw_latitude":119522816,"longitude_deg":75.6377792,"latitude_deg":11.9522816,"altitude":38,"angle":92,"satellites":35,"speed":45,"hex_longitude":"2d1568c0","hex_latitude":"071fc600","is_valid_coordinates":true} 
[2026-06-23 08:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239161088001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3908342929948672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1532138697578262528,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184231000,"timestamp_ms":1782184231000,"timestamp_seconds":1782184231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2754058"} 
[2026-06-23 08:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:41:48] 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-06-23 08:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239161088001,"66":14428,"87":206,"83":41984,"24":45,"16":3908342929948672,"45":1532138697578262528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239161088001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:41:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3908342929948672,"km_value":3908342929948.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1532138697578262528,"description":"Unknown IO ID 45"} 
[2026-06-23 08:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239161088001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1532138697578262528}} 
[2026-06-23 08:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":112298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:41:49] local.INFO: GPS data processed {"connection_id":112298,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:41:49] local.INFO: Acknowledgment sent {"connection_id":112298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:41:54] local.INFO: TCP Data received {"connection_id":112296,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef275f7f0012d0d9a000705d680001b005d1c..."} 
[2026-06-23 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef275f7f0012d0d9a000705d680001b005d1c..."} 
[2026-06-23 08:41:54] local.INFO: Processing buffer {"connection_id":112296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef275f7f0012d0d9a000705d680001b005d1c..."} 
[2026-06-23 08:41:54] local.INFO: Packet analysis {"connection_id":112296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:54] local.INFO: Extracted packet for processing {"connection_id":112296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":755866112,"raw_latitude":117823104,"longitude_deg":75.5866112,"latitude_deg":11.7823104,"altitude":27,"angle":93,"satellites":28,"speed":21,"hex_longitude":"2d0d9a00","hex_latitude":"0705d680","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239174656001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21786977523204096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978899630418176000,"note":"Value kept but may cause issues"} 
[2026-06-23 08:41:54] 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-06-23 08:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782184278000,"timestamp_ms":1782184278000,"timestamp_seconds":1782184278,"priority":1,"record_length":96,"hex_timestamp":"0000019ef275f7f0"} 
[2026-06-23 08:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":38,"data_length":795,"current_offset":136} 
[2026-06-23 08:41: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-06-23 08: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-06-23 08:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":112296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":112296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":112296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239174656001,"66":14450,"167":206,"94":11008,"24":21,"16":21786977523204096,"45":978899630418176000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 08:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239174656001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21786977523204096,"km_value":21786977523204.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":978899630418176000,"description":"Unknown IO ID 45"} 
[2026-06-23 08:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239174656001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":978899630418176000}} 
[2026-06-23 08:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":112296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:41:54] local.INFO: GPS data processed {"connection_id":112296,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:41:54] local.INFO: Acknowledgment sent {"connection_id":112296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:41:55] local.INFO: TCP Data received {"connection_id":111361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:55] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:55] local.INFO: IMEI packet received {"connection_id":111361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":111361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:41:56] local.INFO: TCP Data received {"connection_id":111361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:56] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:41:56] local.INFO: IMEI packet received {"connection_id":111361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":111361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:42:02] local.INFO: TCP Data received {"connection_id":111361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:42:02] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:42:02] local.INFO: IMEI packet received {"connection_id":111361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":111361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:42:03] local.INFO: TCP Data received {"connection_id":111361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2764de0012d7c27c005eb2a700005014e22..."} 
[2026-06-23 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2764de0012d7c27c005eb2a700005014e22..."} 
[2026-06-23 08:42:03] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2764de0012d7c27c005eb2a700005014e22..."} 
[2026-06-23 08:42:03] local.INFO: Packet analysis {"connection_id":111361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:03] local.INFO: Extracted packet for processing {"connection_id":111361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763111360,"raw_latitude":99297904,"longitude_deg":76.311136,"latitude_deg":9.9297904,"altitude":5,"angle":334,"satellites":34,"speed":24,"hex_longitude":"2d7c27c0","hex_latitude":"05eb2a70","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239180032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96302946416852992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947456216354035712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:03] 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-06-23 08:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184300000,"timestamp_ms":1782184300000,"timestamp_seconds":1782184300,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2764de0"} 
[2026-06-23 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-06-23 08:42: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-06-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 08:42: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-06-23 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-06-23 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-06-23 08:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239180032001,"66":13276,"8":206,"87":13824,"24":24,"16":96302946416852992,"45":8947456216354035712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 08:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239180032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:42:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 08:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96302946416852992,"km_value":96302946416852.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947456216354035712,"description":"Unknown IO ID 45"} 
[2026-06-23 08:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239180032001,"power":13276,"unknown_8":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8947456216354035712}} 
[2026-06-23 08:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":111361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:42:03] local.INFO: GPS data processed {"connection_id":111361,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:42:03] local.INFO: Acknowledgment sent {"connection_id":111361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:42:16] local.INFO: TCP Data received {"connection_id":111363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:16] local.INFO: Processing buffer {"connection_id":111363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:16] local.INFO: IMEI packet received {"connection_id":111363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":111363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:42:17] local.INFO: TCP Data received {"connection_id":111363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:17] local.INFO: Processing buffer {"connection_id":111363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:17] local.INFO: IMEI packet received {"connection_id":111363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":111363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:42:19] local.INFO: TCP Data received {"connection_id":112298,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27557c8012d158340071fc7980025004f23..."} 
[2026-06-23 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27557c8012d158340071fc7980025004f23..."} 
[2026-06-23 08:42:19] local.INFO: Processing buffer {"connection_id":112298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27557c8012d158340071fc7980025004f23..."} 
[2026-06-23 08:42:19] local.INFO: Packet analysis {"connection_id":112298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:42:19] local.INFO: Extracted packet for processing {"connection_id":112298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756384576,"raw_latitude":119523224,"longitude_deg":75.6384576,"latitude_deg":11.9523224,"altitude":37,"angle":79,"satellites":35,"speed":43,"hex_longitude":"2d158340","hex_latitude":"071fc798","is_valid_coordinates":true} 
[2026-06-23 08:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239163136001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3908669347463168,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1542694009204768768,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782184237000,"timestamp_ms":1782184237000,"timestamp_seconds":1782184237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27557c8"} 
[2026-06-23 08:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:42:19] 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-06-23 08:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:42:19] 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-06-23 08:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239163136001,"66":14428,"87":206,"83":41984,"24":43,"16":3908669347463168,"45":1542694009204768768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239163136001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:42:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3908669347463168,"km_value":3908669347463.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1542694009204768768,"description":"Unknown IO ID 45"} 
[2026-06-23 08:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239163136001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1542694009204768768}} 
[2026-06-23 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":112298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:42:20] local.INFO: GPS data processed {"connection_id":112298,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:42:20] local.INFO: Acknowledgment sent {"connection_id":112298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:42:21] local.INFO: TCP Data received {"connection_id":111363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:21] local.INFO: Processing buffer {"connection_id":111363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:42:21] local.INFO: IMEI packet received {"connection_id":111363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":111363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:42:22] local.INFO: TCP Data received {"connection_id":111363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef276c6f8012d0e22000705c9800019004d1c..."} 
[2026-06-23 08:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef276c6f8012d0e22000705c9800019004d1c..."} 
[2026-06-23 08:42:22] local.INFO: Processing buffer {"connection_id":111363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef276c6f8012d0e22000705c9800019004d1c..."} 
[2026-06-23 08:42:22] local.INFO: Packet analysis {"connection_id":111363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:22] local.INFO: Extracted packet for processing {"connection_id":111363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755900928,"raw_latitude":117819776,"longitude_deg":75.5900928,"latitude_deg":11.7819776,"altitude":25,"angle":77,"satellites":28,"speed":17,"hex_longitude":"2d0e2200","hex_latitude":"0705c980","is_valid_coordinates":true} 
[2026-06-23 08:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239187968001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21788665445351424,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016617277296637952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:22] 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-06-23 08:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782184331000,"timestamp_ms":1782184331000,"timestamp_seconds":1782184331,"priority":1,"record_length":96,"hex_timestamp":"0000019ef276c6f8"} 
[2026-06-23 08:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-06-23 08:42:22] 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-06-23 08:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239187968001,"66":14439,"167":206,"94":11008,"24":17,"16":21788665445351424,"45":1016617277296637952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 08:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239187968001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:42:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 08:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21788665445351424,"km_value":21788665445351.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016617277296637952,"description":"Unknown IO ID 45"} 
[2026-06-23 08:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239187968001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":1016617277296637952}} 
[2026-06-23 08:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":111363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:42:22] local.INFO: GPS data processed {"connection_id":111363,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:42:22] local.INFO: Acknowledgment sent {"connection_id":111363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:42:32] local.INFO: TCP Data received {"connection_id":111362,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:42:32] local.INFO: Processing buffer {"connection_id":111362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:42:32] local.INFO: IMEI packet received {"connection_id":111362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":111362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:42:35] local.INFO: TCP Data received {"connection_id":111361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27651c8012d7c26c005eb2cc80005015a22..."} 
[2026-06-23 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27651c8012d7c26c005eb2cc80005015a22..."} 
[2026-06-23 08:42:35] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27651c8012d7c26c005eb2cc80005015a22..."} 
[2026-06-23 08:42:35] local.INFO: Packet analysis {"connection_id":111361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:35] local.INFO: Extracted packet for processing {"connection_id":111361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763111104,"raw_latitude":99298504,"longitude_deg":76.3111104,"latitude_deg":9.9298504,"altitude":5,"angle":346,"satellites":34,"speed":24,"hex_longitude":"2d7c26c0","hex_latitude":"05eb2cc8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239180800001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96302976481624064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316447576064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:35] 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-06-23 08:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184301000,"timestamp_ms":1782184301000,"timestamp_seconds":1782184301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27651c8"} 
[2026-06-23 08:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:42: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-06-23 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-23 08:42:35] 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-06-23 08: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-06-23 08:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239180800001,"66":12776,"8":206,"87":13824,"24":24,"16":96302976481624064,"45":8946330316447576064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 08:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239180800001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:42:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 08:42:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96302976481624064,"km_value":96302976481624.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316447576064,"description":"Unknown IO ID 45"} 
[2026-06-23 08:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239180800001,"power":12776,"unknown_8":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8946330316447576064}} 
[2026-06-23 08:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":111361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:42:35] local.INFO: GPS data processed {"connection_id":111361,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:42:35] local.INFO: Acknowledgment sent {"connection_id":111361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:42:42] local.INFO: TCP Data received {"connection_id":110735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:42] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:42] local.INFO: IMEI packet received {"connection_id":110735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":110735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:42:45] local.INFO: TCP Data received {"connection_id":110735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:45] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:45] local.INFO: IMEI packet received {"connection_id":110735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":110735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:42:48] local.INFO: TCP Data received {"connection_id":110735,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:48] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:42:48] local.INFO: IMEI packet received {"connection_id":110735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":110735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:42:48] local.INFO: TCP Data received {"connection_id":110735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2757af0012d15a6c0071fd0300024004924..."} 
[2026-06-23 08:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2757af0012d15a6c0071fd0300024004924..."} 
[2026-06-23 08:42:48] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2757af0012d15a6c0071fd0300024004924..."} 
[2026-06-23 08:42:48] local.INFO: Packet analysis {"connection_id":110735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:42:48] local.INFO: Extracted packet for processing {"connection_id":110735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756393664,"raw_latitude":119525424,"longitude_deg":75.6393664,"latitude_deg":11.9525424,"altitude":36,"angle":73,"satellites":36,"speed":37,"hex_longitude":"2d15a6c0","hex_latitude":"071fd030","is_valid_coordinates":true} 
[2026-06-23 08:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239164672001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3909111729094656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1550153096087705600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184246000,"timestamp_ms":1782184246000,"timestamp_seconds":1782184246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2757af0"} 
[2026-06-23 08:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239164672001,"66":14396,"87":206,"83":41984,"24":37,"16":3909111729094656,"45":1550153096087705600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239164672001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:42:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3909111729094656,"km_value":3909111729094.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1550153096087705600,"description":"Unknown IO ID 45"} 
[2026-06-23 08:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239164672001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1550153096087705600}} 
[2026-06-23 08:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":110735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:42:49] local.INFO: GPS data processed {"connection_id":110735,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:42:49] local.INFO: Acknowledgment sent {"connection_id":110735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:42:53] local.INFO: TCP Data received {"connection_id":111363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef276cae0012d0e23800705ca20001900391c..."} 
[2026-06-23 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef276cae0012d0e23800705ca20001900391c..."} 
[2026-06-23 08:42:53] local.INFO: Processing buffer {"connection_id":111363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef276cae0012d0e23800705ca20001900391c..."} 
[2026-06-23 08:42:53] local.INFO: Packet analysis {"connection_id":111363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:53] local.INFO: Extracted packet for processing {"connection_id":111363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:42:53] local.INFO: GPS Element Parsed {"raw_longitude":755901312,"raw_latitude":117819936,"longitude_deg":75.5901312,"latitude_deg":11.7819936,"altitude":25,"angle":57,"satellites":28,"speed":16,"hex_longitude":"2d0e2380","hex_latitude":"0705ca20","is_valid_coordinates":true} 
[2026-06-23 08:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239188736001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21788686920187904,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1018376495901016064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:42:53] 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-06-23 08:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184332000,"timestamp_ms":1782184332000,"timestamp_seconds":1782184332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef276cae0"} 
[2026-06-23 08:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:42:53] 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-06-23 08:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239188736001,"66":14439,"167":206,"94":11008,"24":16,"16":21788686920187904,"45":1018376495901016064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 08:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239188736001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:42:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 08:42:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21788686920187904,"km_value":21788686920187.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1018376495901016064,"description":"Unknown IO ID 45"} 
[2026-06-23 08:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239188736001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":1018376495901016064}} 
[2026-06-23 08:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":111363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:42:53] local.INFO: GPS data processed {"connection_id":111363,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:42:53] local.INFO: Acknowledgment sent {"connection_id":111363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:42:57] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:42:57] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:42:57] local.INFO: IMEI packet received {"connection_id":110736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":110736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:43:02] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:02] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:02] local.INFO: IMEI packet received {"connection_id":110736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":110736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:43:03] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27680a8012d7c240005eb4b280002016621..."} 
[2026-06-23 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27680a8012d7c240005eb4b280002016621..."} 
[2026-06-23 08:43:03] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27680a8012d7c240005eb4b280002016621..."} 
[2026-06-23 08:43:03] local.INFO: Packet analysis {"connection_id":110736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:43:03] local.INFO: Extracted packet for processing {"connection_id":110736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":99306280,"longitude_deg":76.31104,"latitude_deg":9.930628,"altitude":2,"angle":358,"satellites":33,"speed":20,"hex_longitude":"2d7c2400","hex_latitude":"05eb4b28","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239181056001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96303354438746112,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946048841471019008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:03] 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-06-23 08:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184313000,"timestamp_ms":1782184313000,"timestamp_seconds":1782184313,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27680a8"} 
[2026-06-23 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-06-23 08:43:03] 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-06-23 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:03] 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-06-23 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-06-23 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-06-23 08:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239181056001,"66":13059,"8":206,"87":13824,"24":20,"16":96303354438746112,"45":8946048841471019008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 08:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239181056001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 08:43:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96303354438746112,"km_value":96303354438746.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946048841471019008,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239181056001,"power":13059,"unknown_8":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8946048841471019008}} 
[2026-06-23 08:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":110736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:03] local.INFO: GPS data processed {"connection_id":110736,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:03] local.INFO: Acknowledgment sent {"connection_id":110736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:08] local.INFO: TCP Data received {"connection_id":110563,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:43:08] local.INFO: Processing buffer {"connection_id":110563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:43:08] local.INFO: IMEI packet received {"connection_id":110563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":110563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:43:16] local.INFO: TCP Data received {"connection_id":110737,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110737,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:43:16] local.INFO: Processing buffer {"connection_id":110737,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:43:16] local.INFO: IMEI packet received {"connection_id":110737,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":110737,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:43:19] local.INFO: TCP Data received {"connection_id":110735,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef275a200012d15ca00071fd8680021004f24..."} 
[2026-06-23 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef275a200012d15ca00071fd8680021004f24..."} 
[2026-06-23 08:43:20] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef275a200012d15ca00071fd8680021004f24..."} 
[2026-06-23 08:43:20] local.INFO: Packet analysis {"connection_id":110735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:43:20] local.INFO: Extracted packet for processing {"connection_id":110735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef275"} 
[2026-06-23 08:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756402688,"raw_latitude":119527528,"longitude_deg":75.6402688,"latitude_deg":11.9527528,"altitude":33,"angle":79,"satellites":36,"speed":36,"hex_longitude":"2d15ca00","hex_latitude":"071fd868","is_valid_coordinates":true} 
[2026-06-23 08:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239166976001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3909549815758848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1560145457761497088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782184256000,"timestamp_ms":1782184256000,"timestamp_seconds":1782184256,"priority":1,"record_length":96,"hex_timestamp":"0000019ef275a200"} 
[2026-06-23 08:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:43:20] 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-06-23 08:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239166976001,"66":14396,"87":206,"83":41984,"24":36,"16":3909549815758848,"45":1560145457761497088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-06-23 08:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239166976001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3909549815758848,"km_value":3909549815758.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1560145457761497088,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239166976001,"power":14396,"unknown_87":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1560145457761497088}} 
[2026-06-23 08:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":110735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:20] local.INFO: GPS data processed {"connection_id":110735,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:20] local.INFO: Acknowledgment sent {"connection_id":110735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:21] local.INFO: TCP Data received {"connection_id":110737,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110737,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:43:21] local.INFO: Processing buffer {"connection_id":110737,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:43:21] local.INFO: IMEI packet received {"connection_id":110737,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":110737,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:43:22] local.INFO: TCP Data received {"connection_id":110737,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2779218012d0e65400705ea80001801651d..."} 
[2026-06-23 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2779218012d0e65400705ea80001801651d..."} 
[2026-06-23 08:43:22] local.INFO: Processing buffer {"connection_id":110737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2779218012d0e65400705ea80001801651d..."} 
[2026-06-23 08:43:22] local.INFO: Packet analysis {"connection_id":110737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:22] local.INFO: Extracted packet for processing {"connection_id":110737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755918144,"raw_latitude":117828224,"longitude_deg":75.5918144,"latitude_deg":11.7828224,"altitude":24,"angle":357,"satellites":29,"speed":19,"hex_longitude":"2d0e6540","hex_latitude":"0705ea80","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239201792001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789756367044608,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037305688086849536,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:22] 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-06-23 08:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782184383000,"timestamp_ms":1782184383000,"timestamp_seconds":1782184383,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2779218"} 
[2026-06-23 08:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:22] 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-06-23 08: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-06-23 08:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239201792001,"66":14439,"165":206,"94":11008,"24":19,"16":21789756367044608,"45":1037305688086849536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239201792001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789756367044608,"km_value":21789756367044.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037305688086849536,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239201792001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":1037305688086849536}} 
[2026-06-23 08:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":110737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:22] local.INFO: GPS data processed {"connection_id":110737,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:22] local.INFO: Acknowledgment sent {"connection_id":110737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:35] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef276bf28012d7c1dc005eb6e280000015b21..."} 
[2026-06-23 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef276bf28012d7c1dc005eb6e280000015b21..."} 
[2026-06-23 08:43:35] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef276bf28012d7c1dc005eb6e280000015b21..."} 
[2026-06-23 08:43:35] local.INFO: Packet analysis {"connection_id":110736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:43:35] local.INFO: Extracted packet for processing {"connection_id":110736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef276"} 
[2026-06-23 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763108800,"raw_latitude":99315240,"longitude_deg":76.31088,"latitude_deg":9.931524,"altitude":0,"angle":347,"satellites":33,"speed":25,"hex_longitude":"2d7c1dc0","hex_latitude":"05eb6e28","is_valid_coordinates":true} 
[2026-06-23 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239184128001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96303796820377600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785287055360,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] 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-06-23 08:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184329000,"timestamp_ms":1782184329000,"timestamp_seconds":1782184329,"priority":1,"record_length":96,"hex_timestamp":"0000019ef276bf28"} 
[2026-06-23 08:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:43: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-06-23 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496590,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818522,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4067828456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3943888896,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-06-23 08:43:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748878,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,8,87,24,241,157,16,35,158,81,45,192,44,5,34,10,66,77,42,1,240,173,227,242,235,4,113,205,22,49,80,239,2,86,6,26],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-06-23 08:43:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144508954973831168,"timestamp_seconds":144508954973831.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239184128001,"66":13189,"8":206,"87":13824,"24":25,"16":96303796820377600,"45":8945274785287055360},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 08:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239184128001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 08:43:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96303796820377600,"km_value":96303796820377.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785287055360,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239184128001,"power":13189,"unknown_8":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8945274785287055360}} 
[2026-06-23 08:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":110736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:35] local.INFO: GPS data processed {"connection_id":110736,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:35] local.INFO: Acknowledgment sent {"connection_id":110736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:47] local.INFO: TCP Data received {"connection_id":110738,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:43:47] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:43:47] local.INFO: IMEI packet received {"connection_id":110738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":110738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:43:50] local.INFO: TCP Data received {"connection_id":110738,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:43:50] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:43:50] local.INFO: IMEI packet received {"connection_id":110738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":110738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:43:51] local.INFO: TCP Data received {"connection_id":110738,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27720d0012d170f0007208d68002c002b23..."} 
[2026-06-23 08:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27720d0012d170f0007208d68002c002b23..."} 
[2026-06-23 08:43:51] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27720d0012d170f0007208d68002c002b23..."} 
[2026-06-23 08:43:51] local.INFO: Packet analysis {"connection_id":110738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:51] local.INFO: Extracted packet for processing {"connection_id":110738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756485888,"raw_latitude":119573864,"longitude_deg":75.6485888,"latitude_deg":11.9573864,"altitude":44,"angle":43,"satellites":35,"speed":42,"hex_longitude":"2d170f00","hex_latitude":"07208d68","is_valid_coordinates":true} 
[2026-06-23 08:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239192320001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3914257099915264,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654509943714357248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:51] 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-06-23 08:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782184354000,"timestamp_ms":1782184354000,"timestamp_seconds":1782184354,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27720d0"} 
[2026-06-23 08:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:51] 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-06-23 08:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239192320001,"66":14461,"107":206,"83":41984,"24":42,"16":3914257099915264,"45":1654509943714357248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239192320001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3914257099915264,"km_value":3914257099915.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654509943714357248,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239192320001,"power":14461,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1654509943714357248}} 
[2026-06-23 08:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":110738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:51] local.INFO: GPS data processed {"connection_id":110738,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:51] local.INFO: Acknowledgment sent {"connection_id":110738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:53] local.INFO: TCP Data received {"connection_id":110738,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27743f8012d1729000720a5b8002d003323..."} 
[2026-06-23 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27743f8012d1729000720a5b8002d003323..."} 
[2026-06-23 08:43:53] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27743f8012d1729000720a5b8002d003323..."} 
[2026-06-23 08:43:53] local.INFO: Packet analysis {"connection_id":110738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:53] local.INFO: Extracted packet for processing {"connection_id":110738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756492544,"raw_latitude":119580088,"longitude_deg":75.6492544,"latitude_deg":11.9580088,"altitude":45,"angle":51,"satellites":35,"speed":38,"hex_longitude":"2d172900","hex_latitude":"0720a5b8","is_valid_coordinates":true} 
[2026-06-23 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239194624001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3914695186579456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661546818133911552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:53] 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-06-23 08:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184363000,"timestamp_ms":1782184363000,"timestamp_seconds":1782184363,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27743f8"} 
[2026-06-23 08:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:53] 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-06-23 08:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239194624001,"66":14363,"107":206,"83":41984,"24":38,"16":3914695186579456,"45":1661546818133911552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239194624001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3914695186579456,"km_value":3914695186579.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661546818133911552,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239194624001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1661546818133911552}} 
[2026-06-23 08:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":110738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:53] local.INFO: GPS data processed {"connection_id":110738,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:53] local.INFO: Acknowledgment sent {"connection_id":110738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:53] local.INFO: TCP Data received {"connection_id":110737,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2779dd0012d0e64400705f098001801571c..."} 
[2026-06-23 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2779dd0012d0e64400705f098001801571c..."} 
[2026-06-23 08:43:53] local.INFO: Processing buffer {"connection_id":110737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2779dd0012d0e64400705f098001801571c..."} 
[2026-06-23 08:43:53] local.INFO: Packet analysis {"connection_id":110737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:53] local.INFO: Extracted packet for processing {"connection_id":110737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":755917888,"raw_latitude":117829784,"longitude_deg":75.5917888,"latitude_deg":11.7829784,"altitude":24,"angle":343,"satellites":28,"speed":21,"hex_longitude":"2d0e6440","hex_latitude":"0705f098","is_valid_coordinates":true} 
[2026-06-23 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239202048001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789833676455936,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037305688086970368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:43:53] 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-06-23 08:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184386000,"timestamp_ms":1782184386000,"timestamp_seconds":1782184386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2779dd0"} 
[2026-06-23 08:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:43:53] 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-06-23 08:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110737,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239202048001,"66":14559,"165":206,"94":11008,"24":21,"16":21789833676455936,"45":1037305688086970368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239202048001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789833676455936,"km_value":21789833676455.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037305688086970368,"description":"Unknown IO ID 45"} 
[2026-06-23 08:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239202048001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":1037305688086970368}} 
[2026-06-23 08:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":110737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369619,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:43:53] local.INFO: GPS data processed {"connection_id":110737,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:43:53] local.INFO: Acknowledgment sent {"connection_id":110737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:43:56] local.INFO: TCP Data received {"connection_id":112299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:56] local.INFO: Processing buffer {"connection_id":112299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:56] local.INFO: IMEI packet received {"connection_id":112299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":112299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:43:56] local.INFO: TCP Data received {"connection_id":112299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:56] local.INFO: Processing buffer {"connection_id":112299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:56] local.INFO: IMEI packet received {"connection_id":112299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":112299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:43:58] local.INFO: TCP Data received {"connection_id":112299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:58] local.INFO: Processing buffer {"connection_id":112299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:43:58] local.INFO: IMEI packet received {"connection_id":112299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":112299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:44:02] local.INFO: TCP Data received {"connection_id":112299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:02] local.INFO: Processing buffer {"connection_id":112299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:02] local.INFO: IMEI packet received {"connection_id":112299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":112299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:44:03] local.INFO: TCP Data received {"connection_id":112299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27849b0012d7be40005ec32680005015922..."} 
[2026-06-23 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27849b0012d7be40005ec32680005015922..."} 
[2026-06-23 08:44:03] local.INFO: Processing buffer {"connection_id":112299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27849b0012d7be40005ec32680005015922..."} 
[2026-06-23 08:44:03] local.INFO: Packet analysis {"connection_id":112299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:44:03] local.INFO: Extracted packet for processing {"connection_id":112299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99365480,"longitude_deg":76.3094016,"latitude_deg":9.936548,"altitude":5,"angle":345,"satellites":34,"speed":14,"hex_longitude":"2d7be400","hex_latitude":"05ec3268","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239213824001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96306360915853312,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025169408,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:03] 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-06-23 08:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184430000,"timestamp_ms":1782184430000,"timestamp_seconds":1782184430,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27849b0"} 
[2026-06-23 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-06-23 08:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 08:44:03] 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-06-23 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-06-23 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-06-23 08:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239213824001,"66":12602,"198":206,"87":13824,"24":14,"16":96306360915853312,"45":8927471493025169408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239213824001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:44:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:44:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96306360915853312,"km_value":96306360915853.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025169408,"description":"Unknown IO ID 45"} 
[2026-06-23 08:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239213824001,"power":12602,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8927471493025169408}} 
[2026-06-23 08:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":112299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:44:03] local.INFO: GPS data processed {"connection_id":112299,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:44:03] local.INFO: Acknowledgment sent {"connection_id":112299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:44:16] local.INFO: TCP Data received {"connection_id":110566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:16] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:16] local.INFO: IMEI packet received {"connection_id":110566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":110566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:44:17] local.INFO: TCP Data received {"connection_id":110566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:17] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:17] local.INFO: IMEI packet received {"connection_id":110566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":110566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:44:21] local.INFO: TCP Data received {"connection_id":110566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:21] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:44:21] local.INFO: IMEI packet received {"connection_id":110566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":110566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:44:22] local.INFO: TCP Data received {"connection_id":110566,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef277b540012d0e62000705fbe8001900001d..."} 
[2026-06-23 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef277b540012d0e62000705fbe8001900001d..."} 
[2026-06-23 08:44:22] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef277b540012d0e62000705fbe8001900001d..."} 
[2026-06-23 08:44:22] local.INFO: Packet analysis {"connection_id":110566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:44:22] local.INFO: Extracted packet for processing {"connection_id":110566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755917312,"raw_latitude":117832680,"longitude_deg":75.5917312,"latitude_deg":11.783268,"altitude":25,"angle":0,"satellites":29,"speed":18,"hex_longitude":"2d0e6200","hex_latitude":"0705fbe8","is_valid_coordinates":true} 
[2026-06-23 08:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239202816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21789975410376704,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037024213110659072,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:22] 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-06-23 08:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782184392000,"timestamp_ms":1782184392000,"timestamp_seconds":1782184392,"priority":1,"record_length":96,"hex_timestamp":"0000019ef277b540"} 
[2026-06-23 08:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 08:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239202816001,"66":14548,"165":206,"94":11008,"24":18,"16":21789975410376704,"45":1037024213110659072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239202816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21789975410376704,"km_value":21789975410376.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037024213110659072,"description":"Unknown IO ID 45"} 
[2026-06-23 08:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239202816001,"power":14548,"unknown_165":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":1037024213110659072}} 
[2026-06-23 08:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":110566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369621,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:44:22] local.INFO: GPS data processed {"connection_id":110566,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:44:22] local.INFO: Acknowledgment sent {"connection_id":110566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:44:24] local.INFO: TCP Data received {"connection_id":110738,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2776720012d1744000720bbf80030003222..."} 
[2026-06-23 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2776720012d1744000720bbf80030003222..."} 
[2026-06-23 08:44:24] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2776720012d1744000720bbf80030003222..."} 
[2026-06-23 08:44:24] local.INFO: Packet analysis {"connection_id":110738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:44:24] local.INFO: Extracted packet for processing {"connection_id":110738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756499456,"raw_latitude":119585784,"longitude_deg":75.6499456,"latitude_deg":11.9585784,"altitude":48,"angle":50,"satellites":34,"speed":39,"hex_longitude":"2d174400","hex_latitude":"0720bbf8","is_valid_coordinates":true} 
[2026-06-23 08:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239196928001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3915124683309056,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1668865167529981952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:24] 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-06-23 08:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782184372000,"timestamp_ms":1782184372000,"timestamp_seconds":1782184372,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2776720"} 
[2026-06-23 08:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:44:24] 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-06-23 08:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 08:44:24] 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-06-23 08:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239196928001,"66":13993,"107":206,"83":41984,"24":39,"16":3915124683309056,"45":1668865167529981952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239196928001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3915124683309056,"km_value":3915124683309.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1668865167529981952,"description":"Unknown IO ID 45"} 
[2026-06-23 08:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239196928001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1668865167529981952}} 
[2026-06-23 08:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":110738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:44:24] local.INFO: GPS data processed {"connection_id":110738,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:44:24] local.INFO: Acknowledgment sent {"connection_id":110738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:44:35] local.INFO: TCP Data received {"connection_id":112299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2784d98012d7be40005ec33a80005000022..."} 
[2026-06-23 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2784d98012d7be40005ec33a80005000022..."} 
[2026-06-23 08:44:35] local.INFO: Processing buffer {"connection_id":112299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2784d98012d7be40005ec33a80005000022..."} 
[2026-06-23 08:44:35] local.INFO: Packet analysis {"connection_id":112299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:44:35] local.INFO: Extracted packet for processing {"connection_id":112299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":99365800,"longitude_deg":76.3094016,"latitude_deg":9.93658,"altitude":5,"angle":0,"satellites":34,"speed":12,"hex_longitude":"2d7be400","hex_latitude":"05ec33a8","is_valid_coordinates":true} 
[2026-06-23 08:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239214080001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96306373800755200,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792728576,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:35] 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-06-23 08:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184431000,"timestamp_ms":1782184431000,"timestamp_seconds":1782184431,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2784d98"} 
[2026-06-23 08:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:44: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-06-23 08:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-23 08:44:35] 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-06-23 08:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239214080001,"66":12602,"198":206,"87":13824,"24":12,"16":96306373800755200,"45":8927260386792728576},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239214080001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:44:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:44:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96306373800755200,"km_value":96306373800755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792728576,"description":"Unknown IO ID 45"} 
[2026-06-23 08:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239214080001,"power":12602,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8927260386792728576}} 
[2026-06-23 08:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":112299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:44:35] local.INFO: GPS data processed {"connection_id":112299,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:44:35] local.INFO: Acknowledgment sent {"connection_id":112299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:44:42] local.INFO: TCP Data received {"connection_id":110567,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:44:42] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:44:42] local.INFO: IMEI packet received {"connection_id":110567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":110567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:44:46] local.INFO: TCP Data received {"connection_id":110567,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:44:46] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:44:46] local.INFO: IMEI packet received {"connection_id":110567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":110567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:44:47] local.INFO: TCP Data received {"connection_id":110567,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2778e30012d175f400720d4400036002c22..."} 
[2026-06-23 08:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2778e30012d175f400720d4400036002c22..."} 
[2026-06-23 08:44:47] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2778e30012d175f400720d4400036002c22..."} 
[2026-06-23 08:44:47] local.INFO: Packet analysis {"connection_id":110567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:44:47] local.INFO: Extracted packet for processing {"connection_id":110567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756506432,"raw_latitude":119592000,"longitude_deg":75.6506432,"latitude_deg":11.9592,"altitude":54,"angle":44,"satellites":34,"speed":35,"hex_longitude":"2d175f40","hex_latitude":"0720d440","is_valid_coordinates":true} 
[2026-06-23 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239199232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3915571359907840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1676464991902627840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782184382000,"timestamp_ms":1782184382000,"timestamp_seconds":1782184382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2778e30"} 
[2026-06-23 08:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:44:47] 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-06-23 08:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239199232001,"66":13993,"107":206,"83":41984,"24":35,"16":3915571359907840,"45":1676464991902627840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239199232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:44:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3915571359907840,"km_value":3915571359907.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1676464991902627840,"description":"Unknown IO ID 45"} 
[2026-06-23 08:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239199232001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1676464991902627840}} 
[2026-06-23 08:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":110567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:44:47] local.INFO: GPS data processed {"connection_id":110567,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:44:47] local.INFO: Acknowledgment sent {"connection_id":110567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:44:53] local.INFO: TCP Data received {"connection_id":110566,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2790148012d0e628007063c900021011f1d..."} 
[2026-06-23 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2790148012d0e628007063c900021011f1d..."} 
[2026-06-23 08:44:53] local.INFO: Processing buffer {"connection_id":110566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2790148012d0e628007063c900021011f1d..."} 
[2026-06-23 08:44:53] local.INFO: Packet analysis {"connection_id":110566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:44:53] local.INFO: Extracted packet for processing {"connection_id":110566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":755917440,"raw_latitude":117849232,"longitude_deg":75.591744,"latitude_deg":11.7849232,"altitude":33,"angle":287,"satellites":29,"speed":14,"hex_longitude":"2d0e6280","hex_latitude":"07063c90","is_valid_coordinates":true} 
[2026-06-23 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239225856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21790963252854784,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036953844371427328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] 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-06-23 08:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184477000,"timestamp_ms":1782184477000,"timestamp_seconds":1782184477,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2790148"} 
[2026-06-23 08:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4068005456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":128,"raw_value":8445658537134592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4259560856922095626,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503932128264192,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070197669,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705312462,"corrected_to":0} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":14,"raw_value":7313853517969489950,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84739793871111726,"note":"Value kept but may cause issues"} 
[2026-06-23 08:44:53] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,165,94,24,241,157,16,106,158,249,45,192,59,32,29,10,66,245,128,58,1,240,114,227,242,6,4,113,205,14,218,100,160,239,56,2,77,7,30,11,206,104],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1705312462,"validated":0}]} 
[2026-06-23 08:44:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378231680806486016,"timestamp_seconds":2378231680806486.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239225856001,"66":14352,"165":206,"94":11008,"24":14,"16":21790963252854784,"45":1036953844371427328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239225856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21790963252854784,"km_value":21790963252854.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036953844371427328,"description":"Unknown IO ID 45"} 
[2026-06-23 08:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239225856001,"power":14352,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1036953844371427328}} 
[2026-06-23 08:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":110566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369625,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:44:53] local.INFO: GPS data processed {"connection_id":110566,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:44:53] local.INFO: Acknowledgment sent {"connection_id":110566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:44:56] local.INFO: TCP Data received {"connection_id":111365,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:56] local.INFO: Processing buffer {"connection_id":111365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:56] local.INFO: IMEI packet received {"connection_id":111365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":111365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:44:58] local.INFO: TCP Data received {"connection_id":111365,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:58] local.INFO: Processing buffer {"connection_id":111365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:44:58] local.INFO: IMEI packet received {"connection_id":111365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":111365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:45:01] local.INFO: TCP Data received {"connection_id":111365,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:45:01] local.INFO: Processing buffer {"connection_id":111365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:45:01] local.INFO: IMEI packet received {"connection_id":111365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":111365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:45:02] local.INFO: TCP Data received {"connection_id":111365,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2785180012d7be44005ec34a80004000d22..."} 
[2026-06-23 08:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2785180012d7be44005ec34a80004000d22..."} 
[2026-06-23 08:45:02] local.INFO: Processing buffer {"connection_id":111365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2785180012d7be44005ec34a80004000d22..."} 
[2026-06-23 08:45:02] local.INFO: Packet analysis {"connection_id":111365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:45:02] local.INFO: Extracted packet for processing {"connection_id":111365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":99366056,"longitude_deg":76.309408,"latitude_deg":9.9366056,"altitude":4,"angle":13,"satellites":34,"speed":10,"hex_longitude":"2d7be440","hex_latitude":"05ec34a8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239214336001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96306386685657088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792810496,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:02] 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-06-23 08:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782184432000,"timestamp_ms":1782184432000,"timestamp_seconds":1782184432,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2785180"} 
[2026-06-23 08:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45:02] 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-06-23 08: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:02] 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-06-23 08: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-06-23 08:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239214336001,"66":12602,"198":206,"87":13824,"24":10,"16":96306386685657088,"45":8927260386792810496},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239214336001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96306386685657088,"km_value":96306386685657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792810496,"description":"Unknown IO ID 45"} 
[2026-06-23 08:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239214336001,"power":12602,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927260386792810496}} 
[2026-06-23 08:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":111365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:03] local.INFO: GPS data processed {"connection_id":111365,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:03] local.INFO: Acknowledgment sent {"connection_id":111365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:45:18] local.INFO: TCP Data received {"connection_id":110567,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef277b928012d1779800720eff8003c002b23..."} 
[2026-06-23 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef277b928012d1779800720eff8003c002b23..."} 
[2026-06-23 08:45:18] local.INFO: Processing buffer {"connection_id":110567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef277b928012d1779800720eff8003c002b23..."} 
[2026-06-23 08:45:18] local.INFO: Packet analysis {"connection_id":110567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:45:18] local.INFO: Extracted packet for processing {"connection_id":110567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756513152,"raw_latitude":119599096,"longitude_deg":75.6513152,"latitude_deg":11.9599096,"altitude":60,"angle":43,"satellites":35,"speed":34,"hex_longitude":"2d177980","hex_latitude":"0720eff8","is_valid_coordinates":true} 
[2026-06-23 08:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239201792001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3916039511343104,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684135185019584512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782184393000,"timestamp_ms":1782184393000,"timestamp_seconds":1782184393,"priority":1,"record_length":96,"hex_timestamp":"0000019ef277b928"} 
[2026-06-23 08:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":110567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":110567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":110567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239201792001,"66":13993,"107":206,"83":41984,"24":34,"16":3916039511343104,"45":1684135185019584512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239201792001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3916039511343104,"km_value":3916039511343.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684135185019584512,"description":"Unknown IO ID 45"} 
[2026-06-23 08:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239201792001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1684135185019584512}} 
[2026-06-23 08:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":110567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:18] local.INFO: GPS data processed {"connection_id":110567,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:18] local.INFO: Acknowledgment sent {"connection_id":110567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:45:21] local.INFO: TCP Data received {"connection_id":112300,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:45:21] local.INFO: Processing buffer {"connection_id":112300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:45:21] local.INFO: IMEI packet received {"connection_id":112300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":112300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:45:24] local.INFO: TCP Data received {"connection_id":112300,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:45:24] local.INFO: Processing buffer {"connection_id":112300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:45:24] local.INFO: IMEI packet received {"connection_id":112300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":112300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:45:25] local.INFO: TCP Data received {"connection_id":112300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2791ca0012d0e578007063ed00023010f1d..."} 
[2026-06-23 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2791ca0012d0e578007063ed00023010f1d..."} 
[2026-06-23 08:45:25] local.INFO: Processing buffer {"connection_id":112300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2791ca0012d0e578007063ed00023010f1d..."} 
[2026-06-23 08:45:25] local.INFO: Packet analysis {"connection_id":112300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:45:25] local.INFO: Extracted packet for processing {"connection_id":112300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:45:25] local.INFO: GPS Element Parsed {"raw_longitude":755914624,"raw_latitude":117849808,"longitude_deg":75.5914624,"latitude_deg":11.7849808,"altitude":35,"angle":271,"satellites":29,"speed":14,"hex_longitude":"2d0e5780","hex_latitude":"07063ed0","is_valid_coordinates":true} 
[2026-06-23 08:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239226112001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21791100691808256,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036531631906394112,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] 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-06-23 08:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782184484000,"timestamp_ms":1782184484000,"timestamp_seconds":1782184484,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2791ca0"} 
[2026-06-23 08:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45: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-06-23 08:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4068006456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5196309588005093386,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503932128460800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070197669,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1705312462,"corrected_to":0} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":14,"raw_value":7259810322452578334,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147943987,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84739792797369903,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.WARNING: Large IO value detected {"io_id":120,"raw_value":8445718666676992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:25] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,165,94,24,241,157,16,106,158,253,45,60,33,29,10,66,249,192,59,32,245,128,1,240,223,227,242,6,4,113,205,14,226,100,48,239,56,2,77,7,30,12,206,80,120],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1705312462,"validated":0}]} 
[2026-06-23 08:45:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378216287643762688,"timestamp_seconds":2378216287643762.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239226112001,"66":14407,"165":206,"94":11008,"24":14,"16":21791100691808256,"45":1036531631906394112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239226112001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21791100691808256,"km_value":21791100691808.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036531631906394112,"description":"Unknown IO ID 45"} 
[2026-06-23 08:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239226112001,"power":14407,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1036531631906394112}} 
[2026-06-23 08:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":112300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:25] local.INFO: GPS data processed {"connection_id":112300,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:25] local.INFO: Acknowledgment sent {"connection_id":112300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:45:26] local.INFO: TCP Data received {"connection_id":112300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2793410012d0e4f8007063f580024011c1d..."} 
[2026-06-23 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2793410012d0e4f8007063f580024011c1d..."} 
[2026-06-23 08:45:26] local.INFO: Processing buffer {"connection_id":112300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2793410012d0e4f8007063f580024011c1d..."} 
[2026-06-23 08:45:26] local.INFO: Packet analysis {"connection_id":112300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:45:26] local.INFO: Extracted packet for processing {"connection_id":112300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755912576,"raw_latitude":117849944,"longitude_deg":75.5912576,"latitude_deg":11.7849944,"altitude":36,"angle":284,"satellites":29,"speed":14,"hex_longitude":"2d0e4f80","hex_latitude":"07063f58","is_valid_coordinates":true} 
[2026-06-23 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239227904001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21791199476056064,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1033435407162724352,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:26] 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-06-23 08:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782184490000,"timestamp_ms":1782184490000,"timestamp_seconds":1782184490,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2793410"} 
[2026-06-23 08:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45:26] 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-06-23 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:26] 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-06-23 08:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239227904001,"66":14450,"165":206,"94":11008,"24":14,"16":21791199476056064,"45":1033435407162724352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239227904001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21791199476056064,"km_value":21791199476056.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1033435407162724352,"description":"Unknown IO ID 45"} 
[2026-06-23 08:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239227904001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1033435407162724352}} 
[2026-06-23 08:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":112300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:26] local.INFO: GPS data processed {"connection_id":112300,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:26] local.INFO: Acknowledgment sent {"connection_id":112300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:45:30] local.INFO: TCP Data received {"connection_id":112301,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:45:30] local.INFO: Processing buffer {"connection_id":112301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:45:30] local.INFO: IMEI packet received {"connection_id":112301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":112301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:45:31] local.INFO: TCP Data received {"connection_id":112301,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2788448012cb37c80077bd4000017016129..."} 
[2026-06-23 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2788448012cb37c80077bd4000017016129..."} 
[2026-06-23 08:45:31] local.INFO: Processing buffer {"connection_id":112301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2788448012cb37c80077bd4000017016129..."} 
[2026-06-23 08:45:31] local.INFO: Packet analysis {"connection_id":112301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:45:31] local.INFO: Extracted packet for processing {"connection_id":112301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:45:31] local.INFO: GPS Element Parsed {"raw_longitude":749960320,"raw_latitude":125555712,"longitude_deg":74.996032,"latitude_deg":12.5555712,"altitude":23,"angle":353,"satellites":41,"speed":23,"hex_longitude":"2cb37c80","hex_latitude":"077bd400","is_valid_coordinates":true} 
[2026-06-23 08:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239217664001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321263394827010048,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513391074177859584,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782184445000,"timestamp_ms":1782184445000,"timestamp_seconds":1782184445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2788448"} 
[2026-06-23 08:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45:31] 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-06-23 08:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:31] 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-06-23 08:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239217664001,"66":27908,"177":206,"27":54016,"24":23,"16":321263394827010048,"44":-5513391074177859584},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,27,24,16,44]} 
[2026-06-23 08:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239217664001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 08:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321263394827010048,"km_value":321263394827010.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513391074177859584,"description":"Unknown IO ID 44"} 
[2026-06-23 08:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239217664001,"power":27908,"unknown_177":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5513391074177859584}} 
[2026-06-23 08:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":112301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:31] local.INFO: GPS data processed {"connection_id":112301,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:31] local.INFO: Acknowledgment sent {"connection_id":112301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:45:34] local.INFO: TCP Data received {"connection_id":111365,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2785568012d7be50005ec35380004002922..."} 
[2026-06-23 08:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2785568012d7be50005ec35380004002922..."} 
[2026-06-23 08:45:34] local.INFO: Processing buffer {"connection_id":111365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2785568012d7be50005ec35380004002922..."} 
[2026-06-23 08:45:34] local.INFO: Packet analysis {"connection_id":111365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:45:34] local.INFO: Extracted packet for processing {"connection_id":111365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:45:34] local.INFO: GPS Element Parsed {"raw_longitude":763094272,"raw_latitude":99366200,"longitude_deg":76.3094272,"latitude_deg":9.93662,"altitude":4,"angle":41,"satellites":34,"speed":9,"hex_longitude":"2d7be500","hex_latitude":"05ec3538","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239214592001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96306399570558976,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755537053696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45: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-06-23 08:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782184433000,"timestamp_ms":1782184433000,"timestamp_seconds":1782184433,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2785568"} 
[2026-06-23 08:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45: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-06-23 08: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:34] 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-06-23 08: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-06-23 08:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239214592001,"66":12982,"198":206,"87":13824,"24":9,"16":96306399570558976,"45":8927330755537053696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239214592001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:45:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96306399570558976,"km_value":96306399570558.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755537053696,"description":"Unknown IO ID 45"} 
[2026-06-23 08:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239214592001,"power":12982,"unknown_198":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8927330755537053696}} 
[2026-06-23 08:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":111365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:34] local.INFO: GPS data processed {"connection_id":111365,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:34] local.INFO: Acknowledgment sent {"connection_id":111365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:45:42] local.INFO: TCP Data received {"connection_id":110568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:45:42] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:45:42] local.INFO: IMEI packet received {"connection_id":110568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":110568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:45:48] local.INFO: TCP Data received {"connection_id":110568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:45:48] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:45:48] local.INFO: IMEI packet received {"connection_id":110568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":110568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:45:48] local.INFO: TCP Data received {"connection_id":110568,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef277e038012d1794c007210740003d003524..."} 
[2026-06-23 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef277e038012d1794c007210740003d003524..."} 
[2026-06-23 08:45:48] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef277e038012d1794c007210740003d003524..."} 
[2026-06-23 08:45:48] local.INFO: Packet analysis {"connection_id":110568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:45:48] local.INFO: Extracted packet for processing {"connection_id":110568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef277"} 
[2026-06-23 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756520128,"raw_latitude":119605056,"longitude_deg":75.6520128,"latitude_deg":11.9605056,"altitude":61,"angle":53,"satellites":36,"speed":39,"hex_longitude":"2d1794c0","hex_latitude":"07210740","is_valid_coordinates":true} 
[2026-06-23 08:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239204608001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3916481892974592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691523903160055808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184403000,"timestamp_ms":1782184403000,"timestamp_seconds":1782184403,"priority":1,"record_length":96,"hex_timestamp":"0000019ef277e038"} 
[2026-06-23 08:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:45:49] 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-06-23 08:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239204608001,"66":13961,"107":206,"83":41984,"24":39,"16":3916481892974592,"45":1691523903160055808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239204608001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:45:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3916481892974592,"km_value":3916481892974.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691523903160055808,"description":"Unknown IO ID 45"} 
[2026-06-23 08:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239204608001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1691523903160055808}} 
[2026-06-23 08:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":110568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:45:49] local.INFO: GPS data processed {"connection_id":110568,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:45:49] local.INFO: Acknowledgment sent {"connection_id":110568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:02] local.INFO: TCP Data received {"connection_id":110740,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:02] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:02] local.INFO: IMEI packet received {"connection_id":110740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":110740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:46:03] local.INFO: TCP Data received {"connection_id":112301,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2797a60012cb323c0077c9270000e000627..."} 
[2026-06-23 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2797a60012cb323c0077c9270000e000627..."} 
[2026-06-23 08:46:03] local.INFO: Processing buffer {"connection_id":112301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2797a60012cb323c0077c9270000e000627..."} 
[2026-06-23 08:46:03] local.INFO: Packet analysis {"connection_id":112301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:03] local.INFO: Extracted packet for processing {"connection_id":112301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:03] local.INFO: GPS Element Parsed {"raw_longitude":749937600,"raw_latitude":125604464,"longitude_deg":74.99376,"latitude_deg":12.5604464,"altitude":14,"angle":6,"satellites":39,"speed":44,"hex_longitude":"2cb323c0","hex_latitude":"077c9270","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239233280001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321266212325556224,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538371978349225984,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184508000,"timestamp_ms":1782184508000,"timestamp_seconds":1782184508,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2797a60"} 
[2026-06-23 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-06-23 08:46:03] 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-06-23 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:03] 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-06-23 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-06-23 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-06-23 08:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239233280001,"66":27615,"176":206,"27":54016,"24":44,"16":321266212325556224,"44":-5538371978349225984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239233280001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:46:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321266212325556224,"km_value":321266212325556.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538371978349225984,"description":"Unknown IO ID 44"} 
[2026-06-23 08:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239233280001,"power":27615,"unknown_176":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5538371978349225984}} 
[2026-06-23 08:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":112301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:03] local.INFO: GPS data processed {"connection_id":112301,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:03] local.INFO: Acknowledgment sent {"connection_id":112301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:04] local.INFO: TCP Data received {"connection_id":112300,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a12b8012d0e310007066800002501401d..."} 
[2026-06-23 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a12b8012d0e310007066800002501401d..."} 
[2026-06-23 08:46:04] local.INFO: Processing buffer {"connection_id":112300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a12b8012d0e310007066800002501401d..."} 
[2026-06-23 08:46:04] local.INFO: Packet analysis {"connection_id":112300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:04] local.INFO: Extracted packet for processing {"connection_id":112300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117860352,"longitude_deg":75.5904768,"latitude_deg":11.7860352,"altitude":37,"angle":320,"satellites":29,"speed":6,"hex_longitude":"2d0e3100","hex_latitude":"07066800","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239243008001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21791998339973120,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022880095538614272,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:04] 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-06-23 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782184547000,"timestamp_ms":1782184547000,"timestamp_seconds":1782184547,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a12b8"} 
[2026-06-23 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46: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-06-23 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:46: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-06-23 08: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-06-23 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239243008001,"66":14374,"165":206,"94":11008,"24":6,"16":21791998339973120,"45":1022880095538614272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239243008001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:46:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21791998339973120,"km_value":21791998339973.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022880095538614272,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239243008001,"power":14374,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1022880095538614272}} 
[2026-06-23 08:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":112300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:04] local.INFO: GPS data processed {"connection_id":112300,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:04] local.INFO: Acknowledgment sent {"connection_id":112300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:07] local.INFO: TCP Data received {"connection_id":110740,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:07] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:07] local.INFO: IMEI packet received {"connection_id":110740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":110740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:08] local.INFO: TCP Data received {"connection_id":110740,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef279e7c0012d7d1b8005ec43300007007421..."} 
[2026-06-23 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef279e7c0012d7d1b8005ec43300007007421..."} 
[2026-06-23 08:46:08] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef279e7c0012d7d1b8005ec43300007007421..."} 
[2026-06-23 08:46:08] local.INFO: Packet analysis {"connection_id":110740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:08] local.INFO: Extracted packet for processing {"connection_id":110740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99369776,"longitude_deg":76.317376,"latitude_deg":9.9369776,"altitude":7,"angle":116,"satellites":33,"speed":14,"hex_longitude":"2d7d1b80","hex_latitude":"05ec4330","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239240704001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310204911583232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014095417109143552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782184536000,"timestamp_ms":1782184536000,"timestamp_seconds":1782184536,"priority":1,"record_length":96,"hex_timestamp":"0000019ef279e7c0"} 
[2026-06-23 08:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:08] 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-06-23 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:08] 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-06-23 08: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-06-23 08:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239240704001,"66":12982,"197":206,"87":13824,"24":14,"16":96310204911583232,"45":9014095417109143552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 08:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239240704001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 08:46:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310204911583232,"km_value":96310204911583.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014095417109143552,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239240704001,"power":12982,"unknown_197":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9014095417109143552}} 
[2026-06-23 08:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":110740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:08] local.INFO: GPS data processed {"connection_id":110740,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:08] local.INFO: Acknowledgment sent {"connection_id":110740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:09] local.INFO: TCP Data received {"connection_id":110740,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef279eba8012d7d1cc005ec42500007008622..."} 
[2026-06-23 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef279eba8012d7d1cc005ec42500007008622..."} 
[2026-06-23 08:46:09] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef279eba8012d7d1cc005ec42500007008622..."} 
[2026-06-23 08:46:09] local.INFO: Packet analysis {"connection_id":110740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:09] local.INFO: Extracted packet for processing {"connection_id":110740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99369552,"longitude_deg":76.317408,"latitude_deg":9.9369552,"altitude":7,"angle":134,"satellites":34,"speed":11,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec4250","is_valid_coordinates":true} 
[2026-06-23 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239241216001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310226386419712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842039197696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782184537000,"timestamp_ms":1782184537000,"timestamp_seconds":1782184537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef279eba8"} 
[2026-06-23 08:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46: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-06-23 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:09] 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-06-23 08:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":110740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":110740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":110740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239241216001,"66":12504,"197":206,"87":13824,"24":11,"16":96310226386419712,"45":9014939842039197696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 08:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239241216001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 08:46:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310226386419712,"km_value":96310226386419.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842039197696,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239241216001,"power":12504,"unknown_197":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9014939842039197696}} 
[2026-06-23 08:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":110740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:09] local.INFO: GPS data processed {"connection_id":110740,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:09] local.INFO: Acknowledgment sent {"connection_id":110740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:14] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:14] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:14] local.INFO: IMEI packet received {"connection_id":112302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":112302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:46:14] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:14] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:14] local.INFO: IMEI packet received {"connection_id":112302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":112302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:16] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:16] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:16] local.INFO: IMEI packet received {"connection_id":112302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":112302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:19] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:19] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:46:19] local.INFO: IMEI packet received {"connection_id":112302,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":112302,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:20] local.INFO: TCP Data received {"connection_id":110568,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2780360012d17b3c007211f18003b002d23..."} 
[2026-06-23 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2780360012d17b3c007211f18003b002d23..."} 
[2026-06-23 08:46:20] local.INFO: Processing buffer {"connection_id":110568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2780360012d17b3c007211f18003b002d23..."} 
[2026-06-23 08:46:20] local.INFO: Packet analysis {"connection_id":110568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:46:20] local.INFO: Extracted packet for processing {"connection_id":110568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756528064,"raw_latitude":119611160,"longitude_deg":75.6528064,"latitude_deg":11.961116,"altitude":59,"angle":45,"satellites":35,"speed":44,"hex_longitude":"2d17b3c0","hex_latitude":"07211f18","is_valid_coordinates":true} 
[2026-06-23 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239207168001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3916962929311744,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699194096276946944,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782184412000,"timestamp_ms":1782184412000,"timestamp_seconds":1782184412,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2780360"} 
[2026-06-23 08:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:20] 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-06-23 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:20] 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-06-23 08:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239207168001,"66":14004,"107":206,"83":41984,"24":44,"16":3916962929311744,"45":1699194096276946944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239207168001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3916962929311744,"km_value":3916962929311.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699194096276946944,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239207168001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1699194096276946944}} 
[2026-06-23 08:46:20] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a16a0012d0e30c007066870002501341d..."} 
[2026-06-23 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a16a0012d0e30c007066870002501341d..."} 
[2026-06-23 08:46:20] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a16a0012d0e30c007066870002501341d..."} 
[2026-06-23 08:46:20] local.INFO: Packet analysis {"connection_id":112302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:20] local.INFO: Extracted packet for processing {"connection_id":112302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755904704,"raw_latitude":117860464,"longitude_deg":75.5904704,"latitude_deg":11.7860464,"altitude":37,"angle":308,"satellites":29,"speed":6,"hex_longitude":"2d0e30c0","hex_latitude":"07066870","is_valid_coordinates":true} 
[2026-06-23 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239244032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21792006929907712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620562063360,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:20] 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-06-23 08:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782184548000,"timestamp_ms":1782184548000,"timestamp_seconds":1782184548,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a16a0"} 
[2026-06-23 08:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239244032001,"66":14461,"165":206,"94":11008,"24":6,"16":21792006929907712,"45":1022598620562063360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239244032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21792006929907712,"km_value":21792006929907.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620562063360,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239244032001,"power":14461,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1022598620562063360}} 
[2026-06-23 08:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":110568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:20] local.INFO: GPS data processed {"connection_id":110568,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:20] local.INFO: Acknowledgment sent {"connection_id":110568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":112302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:20] local.INFO: GPS data processed {"connection_id":112302,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:20] local.INFO: Acknowledgment sent {"connection_id":112302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:21] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a2258012d0e2f0007066958002401271d..."} 
[2026-06-23 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a2258012d0e2f0007066958002401271d..."} 
[2026-06-23 08:46:21] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a2258012d0e2f0007066958002401271d..."} 
[2026-06-23 08:46:21] local.INFO: Packet analysis {"connection_id":112302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:21] local.INFO: Extracted packet for processing {"connection_id":112302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":755904256,"raw_latitude":117860696,"longitude_deg":75.5904256,"latitude_deg":11.7860696,"altitude":36,"angle":295,"satellites":29,"speed":6,"hex_longitude":"2d0e2f00","hex_latitude":"07066958","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239244288001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21792028404744192,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022528251817914368,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:21] 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-06-23 08:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782184551000,"timestamp_ms":1782184551000,"timestamp_seconds":1782184551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a2258"} 
[2026-06-23 08:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239244288001,"66":14450,"165":206,"94":11008,"24":6,"16":21792028404744192,"45":1022528251817914368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 08:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239244288001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 08:46:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 08:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21792028404744192,"km_value":21792028404744.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022528251817914368,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239244288001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1022528251817914368}} 
[2026-06-23 08:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":112302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:21] local.INFO: GPS data processed {"connection_id":112302,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:21] local.INFO: Acknowledgment sent {"connection_id":112302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:24] local.INFO: TCP Data received {"connection_id":112303,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:24] local.INFO: Processing buffer {"connection_id":112303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:24] local.INFO: IMEI packet received {"connection_id":112303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":112303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:46:25] local.INFO: TCP Data received {"connection_id":112303,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:25] local.INFO: Processing buffer {"connection_id":112303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:25] local.INFO: IMEI packet received {"connection_id":112303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":112303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:30] local.INFO: TCP Data received {"connection_id":112303,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:30] local.INFO: Processing buffer {"connection_id":112303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:46:30] local.INFO: IMEI packet received {"connection_id":112303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":112303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:31] local.INFO: TCP Data received {"connection_id":112303,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2798a00012cb32740077ca120001000142a..."} 
[2026-06-23 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2798a00012cb32740077ca120001000142a..."} 
[2026-06-23 08:46:31] local.INFO: Processing buffer {"connection_id":112303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2798a00012cb32740077ca120001000142a..."} 
[2026-06-23 08:46:31] local.INFO: Packet analysis {"connection_id":112303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:31] local.INFO: Extracted packet for processing {"connection_id":112303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:31] local.INFO: GPS Element Parsed {"raw_longitude":749938496,"raw_latitude":125608224,"longitude_deg":74.9938496,"latitude_deg":12.5608224,"altitude":16,"angle":20,"satellites":42,"speed":34,"hex_longitude":"2cb32740","hex_latitude":"077ca120","is_valid_coordinates":true} 
[2026-06-23 08:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239234048001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321266397009149952,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538371978348302336,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782184512000,"timestamp_ms":1782184512000,"timestamp_seconds":1782184512,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2798a00"} 
[2026-06-23 08:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:31] 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-06-23 08:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:31] 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-06-23 08:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239234048001,"66":27919,"176":206,"27":54016,"24":34,"16":321266397009149952,"44":-5538371978348302336},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239234048001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321266397009149952,"km_value":321266397009149.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538371978348302336,"description":"Unknown IO ID 44"} 
[2026-06-23 08:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239234048001,"power":27919,"unknown_176":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-5538371978348302336}} 
[2026-06-23 08:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":112303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:31] local.INFO: GPS data processed {"connection_id":112303,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:31] local.INFO: Acknowledgment sent {"connection_id":112303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:39] local.INFO: TCP Data received {"connection_id":110741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:39] local.INFO: Processing buffer {"connection_id":110741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:39] local.INFO: IMEI packet received {"connection_id":110741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":110741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:46:41] local.INFO: TCP Data received {"connection_id":110740,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef279ef90012d7d1d0005ec4158000700a422..."} 
[2026-06-23 08:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef279ef90012d7d1d0005ec4158000700a422..."} 
[2026-06-23 08:46:41] local.INFO: Processing buffer {"connection_id":110740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef279ef90012d7d1d0005ec4158000700a422..."} 
[2026-06-23 08:46:41] local.INFO: Packet analysis {"connection_id":110740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:41] local.INFO: Extracted packet for processing {"connection_id":110740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99369304,"longitude_deg":76.3174144,"latitude_deg":9.9369304,"altitude":7,"angle":164,"satellites":34,"speed":9,"hex_longitude":"2d7d1d00","hex_latitude":"05ec4158","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239241472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310239271321600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685760028672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782184538000,"timestamp_ms":1782184538000,"timestamp_seconds":1782184538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef279ef90"} 
[2026-06-23 08:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:41] 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-06-23 08: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:41] 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-06-23 08: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-06-23 08:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239241472001,"66":12504,"197":206,"87":13824,"24":9,"16":96310239271321600,"45":9015291685760028672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 08:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239241472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 08:46:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310239271321600,"km_value":96310239271321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685760028672,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239241472001,"power":12504,"unknown_197":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015291685760028672}} 
[2026-06-23 08:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":110740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:41] local.INFO: GPS data processed {"connection_id":110740,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:41] local.INFO: Acknowledgment sent {"connection_id":110740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:42] local.INFO: TCP Data received {"connection_id":110741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:42] local.INFO: Processing buffer {"connection_id":110741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:42] local.INFO: IMEI packet received {"connection_id":110741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":110741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:48] local.INFO: TCP Data received {"connection_id":110741,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:48] local.INFO: Processing buffer {"connection_id":110741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:46:48] local.INFO: IMEI packet received {"connection_id":110741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":110741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:46:48] local.INFO: TCP Data received {"connection_id":110741,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2781ad0012d17c48007213288003c002224..."} 
[2026-06-23 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2781ad0012d17c48007213288003c002224..."} 
[2026-06-23 08:46:48] local.INFO: Processing buffer {"connection_id":110741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2781ad0012d17c48007213288003c002224..."} 
[2026-06-23 08:46:48] local.INFO: Packet analysis {"connection_id":110741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:46:48] local.INFO: Extracted packet for processing {"connection_id":110741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756532352,"raw_latitude":119616136,"longitude_deg":75.6532352,"latitude_deg":11.9616136,"altitude":60,"angle":34,"satellites":36,"speed":42,"hex_longitude":"2d17c480","hex_latitude":"07213288","is_valid_coordinates":true} 
[2026-06-23 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239209472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3917276461924352,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707919820556539904,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184418000,"timestamp_ms":1782184418000,"timestamp_seconds":1782184418,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2781ad0"} 
[2026-06-23 08:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239209472001,"66":13993,"107":206,"83":41984,"24":42,"16":3917276461924352,"45":1707919820556539904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239209472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3917276461924352,"km_value":3917276461924.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707919820556539904,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239209472001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1707919820556539904}} 
[2026-06-23 08:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":110741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:49] local.INFO: GPS data processed {"connection_id":110741,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:49] local.INFO: Acknowledgment sent {"connection_id":110741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:52] local.INFO: TCP Data received {"connection_id":112302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27aed78012d0e0a8007068638001e01301d..."} 
[2026-06-23 08:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27aed78012d0e0a8007068638001e01301d..."} 
[2026-06-23 08:46:52] local.INFO: Processing buffer {"connection_id":112302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27aed78012d0e0a8007068638001e01301d..."} 
[2026-06-23 08:46:52] local.INFO: Packet analysis {"connection_id":112302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:52] local.INFO: Extracted packet for processing {"connection_id":112302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:46:52] local.INFO: GPS Element Parsed {"raw_longitude":755894912,"raw_latitude":117868088,"longitude_deg":75.5894912,"latitude_deg":11.7868088,"altitude":30,"angle":304,"satellites":29,"speed":3,"hex_longitude":"2d0e0a80","hex_latitude":"07068638","is_valid_coordinates":true} 
[2026-06-23 08:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239254528001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21792711304544256,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013450683820910592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:46:52] 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-06-23 08:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782184603000,"timestamp_ms":1782184603000,"timestamp_seconds":1782184603,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27aed78"} 
[2026-06-23 08:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:46:52] 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-06-23 08:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:46:52] 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-06-23 08:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112302,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239254528001,"66":14461,"219":206,"94":10240,"24":3,"16":21792711304544256,"45":1013450683820910592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 08:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239254528001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:46:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 08:46:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21792711304544256,"km_value":21792711304544.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013450683820910592,"description":"Unknown IO ID 45"} 
[2026-06-23 08:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239254528001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1013450683820910592}} 
[2026-06-23 08:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":112302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:46:52] local.INFO: GPS data processed {"connection_id":112302,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:46:52] local.INFO: Acknowledgment sent {"connection_id":112302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:46:57] local.INFO: TCP Data received {"connection_id":112304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:57] local.INFO: Processing buffer {"connection_id":112304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:46:57] local.INFO: IMEI packet received {"connection_id":112304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":112304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:47:02] local.INFO: TCP Data received {"connection_id":112304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:47:02] local.INFO: Processing buffer {"connection_id":112304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:47:02] local.INFO: IMEI packet received {"connection_id":112304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":112304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:02] local.INFO: TCP Data received {"connection_id":112303,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef279ad28012cb33580077cc160000e00152a..."} 
[2026-06-23 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef279ad28012cb33580077cc160000e00152a..."} 
[2026-06-23 08:47:02] local.INFO: Processing buffer {"connection_id":112303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef279ad28012cb33580077cc160000e00152a..."} 
[2026-06-23 08:47:02] local.INFO: Packet analysis {"connection_id":112303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:47:02] local.INFO: Extracted packet for processing {"connection_id":112303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef279"} 
[2026-06-23 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":749942144,"raw_latitude":125616480,"longitude_deg":74.9942144,"latitude_deg":12.561648,"altitude":14,"angle":21,"satellites":42,"speed":48,"hex_longitude":"2cb33580","hex_latitude":"077cc160","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239235072001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321266835095814144,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5537386815928852480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782184521000,"timestamp_ms":1782184521000,"timestamp_seconds":1782184521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef279ad28"} 
[2026-06-23 08:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:47:02] 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-06-23 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:47:02] 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-06-23 08: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-06-23 08:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239235072001,"66":27865,"176":206,"27":54016,"24":48,"16":321266835095814144,"44":-5537386815928852480},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239235072001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321266835095814144,"km_value":321266835095814.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5537386815928852480,"description":"Unknown IO ID 44"} 
[2026-06-23 08:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239235072001,"power":27865,"unknown_176":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5537386815928852480}} 
[2026-06-23 08:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":112303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:47:02] local.INFO: GPS data processed {"connection_id":112303,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:47:02] local.INFO: Acknowledgment sent {"connection_id":112303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:47:04] local.INFO: TCP Data received {"connection_id":112304,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a0ed0012d7d1d0005ec3f80000700e524..."} 
[2026-06-23 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a0ed0012d7d1d0005ec3f80000700e524..."} 
[2026-06-23 08:47:04] local.INFO: Processing buffer {"connection_id":112304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a0ed0012d7d1d0005ec3f80000700e524..."} 
[2026-06-23 08:47:04] local.INFO: Packet analysis {"connection_id":112304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:47:04] local.INFO: Extracted packet for processing {"connection_id":112304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368832,"longitude_deg":76.3174144,"latitude_deg":9.9368832,"altitude":7,"angle":229,"satellites":36,"speed":8,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3f80","is_valid_coordinates":true} 
[2026-06-23 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239241728001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310269336092672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504142848,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:04] 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-06-23 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782184546000,"timestamp_ms":1782184546000,"timestamp_seconds":1782184546,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a0ed0"} 
[2026-06-23 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:47:04] 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-06-23 08:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 08:47: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-06-23 08:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239241728001,"66":12939,"110":206,"87":13824,"24":8,"16":96310269336092672,"45":9015362054504142848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239241728001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:47:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 08:47:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310269336092672,"km_value":96310269336092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504142848,"description":"Unknown IO ID 45"} 
[2026-06-23 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239241728001,"power":12939,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015362054504142848}} 
[2026-06-23 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":112304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:47:04] local.INFO: GPS data processed {"connection_id":112304,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:47:04] local.INFO: Acknowledgment sent {"connection_id":112304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:47:12] local.INFO: TCP Data received {"connection_id":112305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:12] local.INFO: Processing buffer {"connection_id":112305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:12] local.INFO: IMEI packet received {"connection_id":112305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":112305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:47:13] local.INFO: TCP Data received {"connection_id":112305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:13] local.INFO: Processing buffer {"connection_id":112305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:13] local.INFO: IMEI packet received {"connection_id":112305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":112305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:14] local.INFO: TCP Data received {"connection_id":112305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:14] local.INFO: Processing buffer {"connection_id":112305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:14] local.INFO: IMEI packet received {"connection_id":112305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":112305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:15] local.INFO: TCP Data received {"connection_id":112305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:15] local.INFO: Processing buffer {"connection_id":112305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:47:15] local.INFO: IMEI packet received {"connection_id":112305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":112305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:19] local.INFO: TCP Data received {"connection_id":110741,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2783df8012d17d700072150b80042001e24..."} 
[2026-06-23 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2783df8012d17d700072150b80042001e24..."} 
[2026-06-23 08:47:19] local.INFO: Processing buffer {"connection_id":110741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2783df8012d17d700072150b80042001e24..."} 
[2026-06-23 08:47:19] local.INFO: Packet analysis {"connection_id":110741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:47:19] local.INFO: Extracted packet for processing {"connection_id":110741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756537088,"raw_latitude":119623864,"longitude_deg":75.6537088,"latitude_deg":11.9623864,"altitude":66,"angle":30,"satellites":36,"speed":35,"hex_longitude":"2d17d700","hex_latitude":"072150b8","is_valid_coordinates":true} 
[2026-06-23 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239211008001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3917714548588544,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712634526417717248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:19] 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-06-23 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782184427000,"timestamp_ms":1782184427000,"timestamp_seconds":1782184427,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2783df8"} 
[2026-06-23 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:47:19] 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-06-23 08:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 08:47:19] 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-06-23 08:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239211008001,"66":13656,"107":206,"83":41984,"24":35,"16":3917714548588544,"45":1712634526417717248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239211008001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:47:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3917714548588544,"km_value":3917714548588.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712634526417717248,"description":"Unknown IO ID 45"} 
[2026-06-23 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239211008001,"power":13656,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1712634526417717248}} 
[2026-06-23 08:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":110741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:47:20] local.INFO: GPS data processed {"connection_id":110741,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:47:20] local.INFO: Acknowledgment sent {"connection_id":110741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:47:24] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:47:24] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:47:24] local.INFO: IMEI packet received {"connection_id":110569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":110569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:47:29] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:47:29] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:47:29] local.INFO: IMEI packet received {"connection_id":110569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":110569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:30] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27aab10012cb35240077d8930001c014528..."} 
[2026-06-23 08:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27aab10012cb35240077d8930001c014528..."} 
[2026-06-23 08:47:30] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27aab10012cb35240077d8930001c014528..."} 
[2026-06-23 08:47:30] local.INFO: Packet analysis {"connection_id":110569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:47:30] local.INFO: Extracted packet for processing {"connection_id":110569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:47:30] local.INFO: GPS Element Parsed {"raw_longitude":749949504,"raw_latitude":125667632,"longitude_deg":74.9949504,"latitude_deg":12.5667632,"altitude":28,"angle":325,"satellites":40,"speed":26,"hex_longitude":"2cb35240","hex_latitude":"077d8930","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239253504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321269510860439552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5524509335729444864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782184586000,"timestamp_ms":1782184586000,"timestamp_seconds":1782184586,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27aab10"} 
[2026-06-23 08:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:47:30] 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-06-23 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239253504001,"66":27919,"176":206,"27":54016,"24":26,"16":321269510860439552,"44":-5524509335729444864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239253504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:47:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:47:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321269510860439552,"km_value":321269510860439.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5524509335729444864,"description":"Unknown IO ID 44"} 
[2026-06-23 08:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239253504001,"power":27919,"unknown_176":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5524509335729444864}} 
[2026-06-23 08:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":110569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:47:30] local.INFO: GPS data processed {"connection_id":110569,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:47:30] local.INFO: Acknowledgment sent {"connection_id":110569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:47:36] local.INFO: TCP Data received {"connection_id":112304,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a12b8012d7d1c0005ec3ef8000700f624..."} 
[2026-06-23 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a12b8012d7d1c0005ec3ef8000700f624..."} 
[2026-06-23 08:47:36] local.INFO: Processing buffer {"connection_id":112304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a12b8012d7d1c0005ec3ef8000700f624..."} 
[2026-06-23 08:47:36] local.INFO: Packet analysis {"connection_id":112304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:47:36] local.INFO: Extracted packet for processing {"connection_id":112304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:47:36] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99368696,"longitude_deg":76.3173888,"latitude_deg":9.9368696,"altitude":7,"angle":246,"satellites":36,"speed":10,"hex_longitude":"2d7d1c00","hex_latitude":"05ec3ef8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239243776001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310282220994560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504022016,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:36] 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-06-23 08:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782184547000,"timestamp_ms":1782184547000,"timestamp_seconds":1782184547,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a12b8"} 
[2026-06-23 08:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:47: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-06-23 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 08:47:36] 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-06-23 08: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-06-23 08:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239243776001,"66":13037,"110":206,"87":13824,"24":10,"16":96310282220994560,"45":9015362054504022016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 08:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239243776001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310282220994560,"km_value":96310282220994.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504022016,"description":"Unknown IO ID 45"} 
[2026-06-23 08:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239243776001,"power":13037,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015362054504022016}} 
[2026-06-23 08:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":112304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:47:36] local.INFO: GPS data processed {"connection_id":112304,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:47:36] local.INFO: Acknowledgment sent {"connection_id":112304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:47:43] local.INFO: TCP Data received {"connection_id":111369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:43] local.INFO: Processing buffer {"connection_id":111369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:43] local.INFO: IMEI packet received {"connection_id":111369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":111369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:47:43] local.INFO: TCP Data received {"connection_id":111369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:43] local.INFO: Processing buffer {"connection_id":111369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:43] local.INFO: IMEI packet received {"connection_id":111369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":111369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:48] local.INFO: TCP Data received {"connection_id":111369,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:48] local.INFO: Processing buffer {"connection_id":111369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:47:48] local.INFO: IMEI packet received {"connection_id":111369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":111369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:47:53] local.INFO: TCP Data received {"connection_id":111369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27870c0012d17e9c0072170580049002124..."} 
[2026-06-23 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27870c0012d17e9c0072170580049002124..."} 
[2026-06-23 08:47:53] local.INFO: Processing buffer {"connection_id":111369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27870c0012d17e9c0072170580049002124..."} 
[2026-06-23 08:47:53] local.INFO: Packet analysis {"connection_id":111369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:47:53] local.INFO: Extracted packet for processing {"connection_id":111369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef278"} 
[2026-06-23 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756541888,"raw_latitude":119631960,"longitude_deg":75.6541888,"latitude_deg":11.963196,"altitude":73,"angle":33,"satellites":36,"speed":20,"hex_longitude":"2d17e9c0","hex_latitude":"07217058","is_valid_coordinates":true} 
[2026-06-23 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239213312001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3918169815121920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717841813488842752,"note":"Value kept but may cause issues"} 
[2026-06-23 08:47:53] 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-06-23 08:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184440000,"timestamp_ms":1782184440000,"timestamp_seconds":1782184440,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27870c0"} 
[2026-06-23 08:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-23 08:47:53] 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-06-23 08:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239213312001,"66":13798,"107":206,"83":41984,"24":20,"16":3918169815121920,"45":1717841813488842752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-06-23 08:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239213312001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3918169815121920,"km_value":3918169815121.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717841813488842752,"description":"Unknown IO ID 45"} 
[2026-06-23 08:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239213312001,"power":13798,"unknown_107":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1717841813488842752}} 
[2026-06-23 08:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":111369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:47:53] local.INFO: GPS data processed {"connection_id":111369,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:47:53] local.INFO: Acknowledgment sent {"connection_id":111369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:47:57] local.INFO: TCP Data received {"connection_id":111370,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:47:57] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:47:57] local.INFO: IMEI packet received {"connection_id":111370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":111370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:48:02] local.INFO: TCP Data received {"connection_id":111370,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:48:02] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:48:02] local.INFO: IMEI packet received {"connection_id":111370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":111370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:48:02] local.INFO: TCP Data received {"connection_id":110569,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27b7a18012cb32500077e0d180035012a29..."} 
[2026-06-23 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27b7a18012cb32500077e0d180035012a29..."} 
[2026-06-23 08:48:02] local.INFO: Processing buffer {"connection_id":110569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27b7a18012cb32500077e0d180035012a29..."} 
[2026-06-23 08:48:02] local.INFO: Packet analysis {"connection_id":110569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:02] local.INFO: Extracted packet for processing {"connection_id":110569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":749937920,"raw_latitude":125701400,"longitude_deg":74.993792,"latitude_deg":12.57014,"altitude":53,"angle":298,"satellites":41,"speed":33,"hex_longitude":"2cb32500","hex_latitude":"077e0d18","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239266816001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321271486545395712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5535205384835659776,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782184639000,"timestamp_ms":1782184639000,"timestamp_seconds":1782184639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27b7a18"} 
[2026-06-23 08:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:48:02] 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-06-23 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:48:02] 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-06-23 08: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-06-23 08:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239266816001,"66":27908,"176":206,"27":54016,"24":33,"16":321271486545395712,"44":-5535205384835659776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239266816001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:48:02] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321271486545395712,"km_value":321271486545395.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5535205384835659776,"description":"Unknown IO ID 44"} 
[2026-06-23 08:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239266816001,"power":27908,"unknown_176":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-5535205384835659776}} 
[2026-06-23 08:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":110569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:48:02] local.INFO: GPS data processed {"connection_id":110569,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:48:02] local.INFO: Acknowledgment sent {"connection_id":110569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:48:03] local.INFO: TCP Data received {"connection_id":111370,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a2258012d7d180005ec3dc00007010724..."} 
[2026-06-23 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a2258012d7d180005ec3dc00007010724..."} 
[2026-06-23 08:48:03] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a2258012d7d180005ec3dc00007010724..."} 
[2026-06-23 08:48:03] local.INFO: Packet analysis {"connection_id":111370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:48:03] local.INFO: Extracted packet for processing {"connection_id":111370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99368384,"longitude_deg":76.3172864,"latitude_deg":9.9368384,"altitude":7,"angle":263,"satellites":36,"speed":12,"hex_longitude":"2d7d1800","hex_latitude":"05ec3dc0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239244032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310333760602112,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527276544,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:03] 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-06-23 08:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184551000,"timestamp_ms":1782184551000,"timestamp_seconds":1782184551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a2258"} 
[2026-06-23 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-06-23 08:48:03] 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-06-23 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 08:48:03] 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-06-23 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-06-23 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-06-23 08:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239244032001,"66":13048,"110":206,"87":13824,"24":12,"16":96310333760602112,"45":9015080579527276544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 08:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239244032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:48:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 08:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310333760602112,"km_value":96310333760602.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527276544,"description":"Unknown IO ID 45"} 
[2026-06-23 08:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239244032001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015080579527276544}} 
[2026-06-23 08:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":111370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:48:03] local.INFO: GPS data processed {"connection_id":111370,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:48:03] local.INFO: Acknowledgment sent {"connection_id":111370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:48:24] local.INFO: TCP Data received {"connection_id":111369,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27bd008012d1824400721b708004b001224..."} 
[2026-06-23 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27bd008012d1824400721b708004b001224..."} 
[2026-06-23 08:48:24] local.INFO: Processing buffer {"connection_id":111369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27bd008012d1824400721b708004b001224..."} 
[2026-06-23 08:48:24] local.INFO: Packet analysis {"connection_id":111369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:24] local.INFO: Extracted packet for processing {"connection_id":111369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650056,"longitude_deg":75.6556864,"latitude_deg":11.9650056,"altitude":75,"angle":18,"satellites":36,"speed":9,"hex_longitude":"2d182440","hex_latitude":"0721b708","is_valid_coordinates":true} 
[2026-06-23 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239268608001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919312276422656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584932864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782184661000,"timestamp_ms":1782184661000,"timestamp_seconds":1782184661,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27bd008"} 
[2026-06-23 08:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:48:24] 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-06-23 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 08:48:24] 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-06-23 08:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239268608001,"66":12841,"105":206,"83":41984,"24":9,"16":3919312276422656,"45":1734871049584932864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239268608001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919312276422656,"km_value":3919312276422.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584932864,"description":"Unknown IO ID 45"} 
[2026-06-23 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239268608001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1734871049584932864}} 
[2026-06-23 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":111369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:48:24] local.INFO: GPS data processed {"connection_id":111369,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:48:24] local.INFO: Acknowledgment sent {"connection_id":111369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:48:25] local.INFO: TCP Data received {"connection_id":112307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:48:25] local.INFO: Processing buffer {"connection_id":112307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:48:25] local.INFO: IMEI packet received {"connection_id":112307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":112307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:48:35] local.INFO: TCP Data received {"connection_id":111370,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a5cf0012d7cf34005ec3ad00008010a24..."} 
[2026-06-23 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a5cf0012d7cf34005ec3ad00008010a24..."} 
[2026-06-23 08:48:35] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a5cf0012d7cf34005ec3ad00008010a24..."} 
[2026-06-23 08:48:35] local.INFO: Packet analysis {"connection_id":111370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:48:35] local.INFO: Extracted packet for processing {"connection_id":111370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":99367632,"longitude_deg":76.3163456,"latitude_deg":9.9367632,"altitude":8,"angle":266,"satellites":36,"speed":33,"hex_longitude":"2d7cf340","hex_latitude":"05ec3ad0","is_valid_coordinates":true} 
[2026-06-23 08:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239245056001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96310784732168192,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679620354048,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:35] 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-06-23 08:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184566000,"timestamp_ms":1782184566000,"timestamp_seconds":1782184566,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a5cf0"} 
[2026-06-23 08:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:48: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-06-23 08:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:48:35] 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-06-23 08:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239245056001,"66":13319,"110":206,"87":13824,"24":33,"16":96310784732168192,"45":9013954679620354048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 08:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239245056001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:48:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 08:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96310784732168192,"km_value":96310784732168.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679620354048,"description":"Unknown IO ID 45"} 
[2026-06-23 08:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239245056001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9013954679620354048}} 
[2026-06-23 08:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":111370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:48:35] local.INFO: GPS data processed {"connection_id":111370,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:48:35] local.INFO: Acknowledgment sent {"connection_id":111370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:48:39] local.INFO: TCP Data received {"connection_id":112307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:48:39] local.INFO: Processing buffer {"connection_id":112307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:48:39] local.INFO: IMEI packet received {"connection_id":112307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":112307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:48:41] local.INFO: TCP Data received {"connection_id":111371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:48:41] local.INFO: Processing buffer {"connection_id":111371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:48:41] local.INFO: IMEI packet received {"connection_id":111371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":111371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:48:43] local.INFO: TCP Data received {"connection_id":111372,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:48:43] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:48:43] local.INFO: IMEI packet received {"connection_id":111372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":111372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:48:48] local.INFO: TCP Data received {"connection_id":111372,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:48:48] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:48:48] local.INFO: IMEI packet received {"connection_id":111372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":111372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:48:49] local.INFO: TCP Data received {"connection_id":111372,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27bd3f0012d1824400721b7e8004b015c24..."} 
[2026-06-23 08:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27bd3f0012d1824400721b7e8004b015c24..."} 
[2026-06-23 08:48:49] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27bd3f0012d1824400721b7e8004b015c24..."} 
[2026-06-23 08:48:49] local.INFO: Packet analysis {"connection_id":111372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:49] local.INFO: Extracted packet for processing {"connection_id":111372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650280,"longitude_deg":75.6556864,"latitude_deg":11.965028,"altitude":75,"angle":348,"satellites":36,"speed":8,"hex_longitude":"2d182440","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-06-23 08:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239273216001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919325161324544,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446446080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782184662000,"timestamp_ms":1782184662000,"timestamp_seconds":1782184662,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27bd3f0"} 
[2026-06-23 08:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 08:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239273216001,"66":13048,"105":206,"83":41984,"24":8,"16":3919325161324544,"45":1739585755446446080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239273216001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:48:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919325161324544,"km_value":3919325161324.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446446080,"description":"Unknown IO ID 45"} 
[2026-06-23 08:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239273216001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739585755446446080}} 
[2026-06-23 08:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":111372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:48:49] local.INFO: GPS data processed {"connection_id":111372,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:48:49] local.INFO: Acknowledgment sent {"connection_id":111372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:48:57] local.INFO: TCP Data received {"connection_id":112307,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27b81e8012cb320c0077e11b8003601462b..."} 
[2026-06-23 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27b81e8012cb320c0077e11b8003601462b..."} 
[2026-06-23 08:48:57] local.INFO: Processing buffer {"connection_id":112307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27b81e8012cb320c0077e11b8003601462b..."} 
[2026-06-23 08:48:57] local.INFO: Packet analysis {"connection_id":112307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:57] local.INFO: Extracted packet for processing {"connection_id":112307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":749936832,"raw_latitude":125702584,"longitude_deg":74.9936832,"latitude_deg":12.5702584,"altitude":54,"angle":326,"satellites":43,"speed":31,"hex_longitude":"2cb320c0","hex_latitude":"077e11b8","is_valid_coordinates":true} 
[2026-06-23 08:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321271568149774336,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538020134602598400,"note":"Value kept but may cause issues"} 
[2026-06-23 08:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782184641000,"timestamp_ms":1782184641000,"timestamp_seconds":1782184641,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27b81e8"} 
[2026-06-23 08:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:48:57] 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-06-23 08:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:48: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-06-23 08:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239267584001,"66":27865,"176":206,"27":54016,"24":31,"16":321271568149774336,"44":-5538020134602598400},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:48:57] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:48:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321271568149774336,"km_value":321271568149774.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:48:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538020134602598400,"description":"Unknown IO ID 44"} 
[2026-06-23 08:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239267584001,"power":27865,"unknown_176":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-5538020134602598400}} 
[2026-06-23 08:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":112307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:48:57] local.INFO: GPS data processed {"connection_id":112307,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:48:57] local.INFO: Acknowledgment sent {"connection_id":112307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:48:57] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:48:57] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:48:57] local.INFO: IMEI packet received {"connection_id":110742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":110742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:49:02] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:49:02] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:49:02] local.INFO: IMEI packet received {"connection_id":110742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":110742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:49:03] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27a8fb8012d7ccf4005ec39300009010b22..."} 
[2026-06-23 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27a8fb8012d7ccf4005ec39300009010b22..."} 
[2026-06-23 08:49:03] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27a8fb8012d7ccf4005ec39300009010b22..."} 
[2026-06-23 08:49:03] local.INFO: Packet analysis {"connection_id":110742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:49:03] local.INFO: Extracted packet for processing {"connection_id":110742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763154240,"raw_latitude":99367216,"longitude_deg":76.315424,"latitude_deg":9.9367216,"altitude":9,"angle":267,"satellites":34,"speed":24,"hex_longitude":"2d7ccf40","hex_latitude":"05ec3930","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239248896001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96311227113799680,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610474226044928,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] 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-06-23 08:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184579000,"timestamp_ms":1782184579000,"timestamp_seconds":1782184579,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27a8fb8"} 
[2026-06-23 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-06-23 08:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4068075456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4926938022414524928,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438974158,"corrected_to":0} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2818649469,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221613634,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931221,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963826176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-2310345313957150715,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,42,158,34,45,61,7,36,10,66,41,18,62,14,1,240,139,227,242,236,4,113,205,9,235,28,80,239,48,197,2,86,5,182,121],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1438974158,"validated":0}]} 
[2026-06-23 08:49:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576753377017397248,"timestamp_seconds":576753377017397.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 08:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239248896001,"66":13243,"110":206,"87":13824,"24":24,"16":96311227113799680,"45":9003610474226044928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 08:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239248896001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:49:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 08:49:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96311227113799680,"km_value":96311227113799.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610474226044928,"description":"Unknown IO ID 45"} 
[2026-06-23 08:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239248896001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9003610474226044928}} 
[2026-06-23 08:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":110742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:49:03] local.INFO: GPS data processed {"connection_id":110742,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:49:03] local.INFO: Acknowledgment sent {"connection_id":110742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:49:11] local.INFO: TCP Data received {"connection_id":110570,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:49:11] local.INFO: Processing buffer {"connection_id":110570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:49:11] local.INFO: IMEI packet received {"connection_id":110570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":110570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:49:19] local.INFO: TCP Data received {"connection_id":111372,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27bd7d8012d1824000721b878004a013225..."} 
[2026-06-23 08:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27bd7d8012d1824000721b878004a013225..."} 
[2026-06-23 08:49:19] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27bd7d8012d1824000721b878004a013225..."} 
[2026-06-23 08:49:19] local.INFO: Packet analysis {"connection_id":111372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:49:19] local.INFO: Extracted packet for processing {"connection_id":111372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650424,"longitude_deg":75.65568,"latitude_deg":11.9650424,"altitude":74,"angle":306,"satellites":37,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b878","is_valid_coordinates":true} 
[2026-06-23 08:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239273472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919329456291840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446503424,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782184663000,"timestamp_ms":1782184663000,"timestamp_seconds":1782184663,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27bd7d8"} 
[2026-06-23 08:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:49:19] 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-06-23 08:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:49:19] 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-06-23 08:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239273472001,"66":13048,"105":206,"83":41984,"24":6,"16":3919329456291840,"45":1739585755446503424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239273472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919329456291840,"km_value":3919329456291.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446503424,"description":"Unknown IO ID 45"} 
[2026-06-23 08:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239273472001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446503424}} 
[2026-06-23 08:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":111372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:49:19] local.INFO: GPS data processed {"connection_id":111372,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:49:19] local.INFO: Acknowledgment sent {"connection_id":111372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:49:30] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:49:30] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:49:30] local.INFO: IMEI packet received {"connection_id":111373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":111373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:49:34] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:49:34] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:49:34] local.INFO: IMEI packet received {"connection_id":111373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":111373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:49:35] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27addd8012d7cb7c005ec37e8000b010a24..."} 
[2026-06-23 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27addd8012d7cb7c005ec37e8000b010a24..."} 
[2026-06-23 08:49:35] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27addd8012d7cb7c005ec37e8000b010a24..."} 
[2026-06-23 08:49:35] local.INFO: Packet analysis {"connection_id":110742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:49:35] local.INFO: Extracted packet for processing {"connection_id":110742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27a"} 
[2026-06-23 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":763148224,"raw_latitude":99366888,"longitude_deg":76.3148224,"latitude_deg":9.9366888,"altitude":11,"angle":266,"satellites":36,"speed":8,"hex_longitude":"2d7cb7c0","hex_latitude":"05ec37e8","is_valid_coordinates":true} 
[2026-06-23 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239252224001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96311514876608512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993477375064354816,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:35] 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-06-23 08:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184599000,"timestamp_ms":1782184599000,"timestamp_seconds":1782184599,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27addd8"} 
[2026-06-23 08:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:49: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-06-23 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 08:49:35] 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-06-23 08:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239252224001,"66":12917,"110":206,"87":13824,"24":8,"16":96311514876608512,"45":8993477375064354816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239252224001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96311514876608512,"km_value":96311514876608.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993477375064354816,"description":"Unknown IO ID 45"} 
[2026-06-23 08:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239252224001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8993477375064354816}} 
[2026-06-23 08:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":110742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:49:35] local.INFO: GPS data processed {"connection_id":110742,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:49:35] local.INFO: Acknowledgment sent {"connection_id":110742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:49:35] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27b85d0012cb32080077e15200037015f29..."} 
[2026-06-23 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27b85d0012cb32080077e15200037015f29..."} 
[2026-06-23 08:49:35] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27b85d0012cb32080077e15200037015f29..."} 
[2026-06-23 08:49:35] local.INFO: Packet analysis {"connection_id":111373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:49:35] local.INFO: Extracted packet for processing {"connection_id":111373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:49:35] local.INFO: GPS Element Parsed {"raw_longitude":749936768,"raw_latitude":125703456,"longitude_deg":74.9936768,"latitude_deg":12.5703456,"altitude":55,"angle":351,"satellites":41,"speed":31,"hex_longitude":"2cb32080","hex_latitude":"077e1520","is_valid_coordinates":true} 
[2026-06-23 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239268096001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321271611099447296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5539216403253315584,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184642000,"timestamp_ms":1782184642000,"timestamp_seconds":1782184642,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27b85d0"} 
[2026-06-23 08:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:49:35] 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-06-23 08:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:49:35] 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-06-23 08:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239268096001,"66":27865,"176":206,"27":54016,"24":31,"16":321271611099447296,"44":-5539216403253315584},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239268096001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321271611099447296,"km_value":321271611099447.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5539216403253315584,"description":"Unknown IO ID 44"} 
[2026-06-23 08:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239268096001,"power":27865,"unknown_176":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-5539216403253315584}} 
[2026-06-23 08:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":111373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:49:35] local.INFO: GPS data processed {"connection_id":111373,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:49:35] local.INFO: Acknowledgment sent {"connection_id":111373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:49:36] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27ccdf0012cb3c5c0077eb928004600312b..."} 
[2026-06-23 08:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27ccdf0012cb3c5c0077eb928004600312b..."} 
[2026-06-23 08:49:36] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27ccdf0012cb3c5c0077eb928004600312b..."} 
[2026-06-23 08:49:36] local.INFO: Packet analysis {"connection_id":111373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:49:36] local.INFO: Extracted packet for processing {"connection_id":111373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:49:36] local.INFO: GPS Element Parsed {"raw_longitude":749979072,"raw_latitude":125745448,"longitude_deg":74.9979072,"latitude_deg":12.5745448,"altitude":70,"angle":49,"satellites":43,"speed":30,"hex_longitude":"2cb3c5c0","hex_latitude":"077eb928","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239289856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321274527382241280,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5492773032085084160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782184726000,"timestamp_ms":1782184726000,"timestamp_seconds":1782184726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27ccdf0"} 
[2026-06-23 08:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:49: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-06-23 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:49:36] 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-06-23 08: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-06-23 08:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239289856001,"66":27919,"176":206,"27":54016,"24":30,"16":321274527382241280,"44":-5492773032085084160},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 08:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239289856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321274527382241280,"km_value":321274527382241.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5492773032085084160,"description":"Unknown IO ID 44"} 
[2026-06-23 08:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239289856001,"power":27919,"unknown_176":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5492773032085084160}} 
[2026-06-23 08:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":111373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:49:36] local.INFO: GPS data processed {"connection_id":111373,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:49:36] local.INFO: Acknowledgment sent {"connection_id":111373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:49:42] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:49:42] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:49:42] local.INFO: IMEI packet received {"connection_id":110571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":110571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:49:47] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:49:47] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:49:47] local.INFO: IMEI packet received {"connection_id":110571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":110571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:49:48] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27bfee8012d1822800721b5f8004a00ca24..."} 
[2026-06-23 08:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27bfee8012d1822800721b5f8004a00ca24..."} 
[2026-06-23 08:49:48] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27bfee8012d1822800721b5f8004a00ca24..."} 
[2026-06-23 08:49:48] local.INFO: Packet analysis {"connection_id":110571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:49:48] local.INFO: Extracted packet for processing {"connection_id":110571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649784,"longitude_deg":75.6556416,"latitude_deg":11.9649784,"altitude":74,"angle":202,"satellites":36,"speed":6,"hex_longitude":"2d182280","hex_latitude":"0721b5f8","is_valid_coordinates":true} 
[2026-06-23 08:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239273728001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919380995899392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702362624,"note":"Value kept but may cause issues"} 
[2026-06-23 08:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184673000,"timestamp_ms":1782184673000,"timestamp_seconds":1782184673,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27bfee8"} 
[2026-06-23 08:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:49:48] 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-06-23 08:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239273728001,"66":13048,"105":206,"83":41984,"24":6,"16":3919380995899392,"45":1739515386702362624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239273728001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:49:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919380995899392,"km_value":3919380995899.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702362624,"description":"Unknown IO ID 45"} 
[2026-06-23 08:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239273728001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739515386702362624}} 
[2026-06-23 08:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":110571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:49:48] local.INFO: GPS data processed {"connection_id":110571,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:49:48] local.INFO: Acknowledgment sent {"connection_id":110571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:49:56] local.INFO: TCP Data received {"connection_id":112309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:49:56] local.INFO: Processing buffer {"connection_id":112309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:49:56] local.INFO: IMEI packet received {"connection_id":112309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":112309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:50:02] local.INFO: TCP Data received {"connection_id":112309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:50:02] local.INFO: Processing buffer {"connection_id":112309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:50:02] local.INFO: IMEI packet received {"connection_id":112309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":112309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:50:03] local.INFO: TCP Data received {"connection_id":112309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27b2fe0012d7caa8005ec3728000d010c23..."} 
[2026-06-23 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27b2fe0012d7caa8005ec3728000d010c23..."} 
[2026-06-23 08:50:03] local.INFO: Processing buffer {"connection_id":112309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27b2fe0012d7caa8005ec3728000d010c23..."} 
[2026-06-23 08:50:03] local.INFO: Packet analysis {"connection_id":112309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:50:03] local.INFO: Extracted packet for processing {"connection_id":112309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763144832,"raw_latitude":99366696,"longitude_deg":76.3144832,"latitude_deg":9.9366696,"altitude":13,"angle":268,"satellites":35,"speed":0,"hex_longitude":"2d7caa80","hex_latitude":"05ec3728","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239257344001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96311673790398464,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986862713111570432,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:03] 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-06-23 08:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184620000,"timestamp_ms":1782184620000,"timestamp_seconds":1782184620,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27b2fe0"} 
[2026-06-23 08:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:50:03] 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-06-23 08: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-06-23 08:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239257344001,"66":12939,"198":206,"87":13824,"24":0,"16":96311673790398464,"45":8986862713111570432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239257344001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:50:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96311673790398464,"km_value":96311673790398.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986862713111570432,"description":"Unknown IO ID 45"} 
[2026-06-23 08:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239257344001,"power":12939,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8986862713111570432}} 
[2026-06-23 08:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":112309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:50:03] local.INFO: GPS data processed {"connection_id":112309,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:50:03] local.INFO: Acknowledgment sent {"connection_id":112309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:50:08] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cf500012cb3e300077ed120004700252c..."} 
[2026-06-23 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cf500012cb3e300077ed120004700252c..."} 
[2026-06-23 08:50:08] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cf500012cb3e300077ed120004700252c..."} 
[2026-06-23 08:50:08] local.INFO: Packet analysis {"connection_id":111373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:08] local.INFO: Extracted packet for processing {"connection_id":111373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:08] local.INFO: GPS Element Parsed {"raw_longitude":749986560,"raw_latitude":125751584,"longitude_deg":74.998656,"latitude_deg":12.5751584,"altitude":71,"angle":37,"satellites":44,"speed":42,"hex_longitude":"2cb3e300","hex_latitude":"077ed120","is_valid_coordinates":true} 
[2026-06-23 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239289856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321274991238709248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5492773032085084160,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782184736000,"timestamp_ms":1782184736000,"timestamp_seconds":1782184736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cf500"} 
[2026-06-23 08:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:50: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-06-23 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 08:50:08] 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-06-23 08:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239289856001,"66":27767,"125":206,"27":54016,"24":42,"16":321274991238709248,"44":-5492773032085084160},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 08:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239289856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:50:08] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 08:50:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321274991238709248,"km_value":321274991238709.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5492773032085084160,"description":"Unknown IO ID 44"} 
[2026-06-23 08:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239289856001,"power":27767,"unknown_125":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5492773032085084160}} 
[2026-06-23 08:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":111373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:50:08] local.INFO: GPS data processed {"connection_id":111373,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:50:08] local.INFO: Acknowledgment sent {"connection_id":111373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:50:19] local.INFO: TCP Data received {"connection_id":110571,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27c50f0012d1820400721b340004a00d424..."} 
[2026-06-23 08:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27c50f0012d1820400721b340004a00d424..."} 
[2026-06-23 08:50:19] local.INFO: Processing buffer {"connection_id":110571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27c50f0012d1820400721b340004a00d424..."} 
[2026-06-23 08:50:19] local.INFO: Packet analysis {"connection_id":110571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:19] local.INFO: Extracted packet for processing {"connection_id":110571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":36,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239276288001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237132800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782184694000,"timestamp_ms":1782184694000,"timestamp_seconds":1782184694,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27c50f0"} 
[2026-06-23 08:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:50:19] 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-06-23 08:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 08:50:19] 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-06-23 08:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239276288001,"66":13037,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1739093174237132800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239276288001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:50:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237132800,"description":"Unknown IO ID 45"} 
[2026-06-23 08:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239276288001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237132800}} 
[2026-06-23 08:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":110571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:50:19] local.INFO: GPS data processed {"connection_id":110571,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:50:19] local.INFO: Acknowledgment sent {"connection_id":110571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:50:22] local.INFO: TCP Data received {"connection_id":112310,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:22] local.INFO: Processing buffer {"connection_id":112310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:22] local.INFO: IMEI packet received {"connection_id":112310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":112310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:50:22] local.INFO: TCP Data received {"connection_id":112310,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:22] local.INFO: Processing buffer {"connection_id":112310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:22] local.INFO: IMEI packet received {"connection_id":112310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":112310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:50:24] local.INFO: TCP Data received {"connection_id":112310,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:24] local.INFO: Processing buffer {"connection_id":112310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:24] local.INFO: IMEI packet received {"connection_id":112310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":112310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:50:29] local.INFO: TCP Data received {"connection_id":112310,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:29] local.INFO: Processing buffer {"connection_id":112310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:50:29] local.INFO: IMEI packet received {"connection_id":112310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":112310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:50:31] local.INFO: TCP Data received {"connection_id":112310,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cf500012cb3e300077ed120004700252c..."} 
[2026-06-23 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cf500012cb3e300077ed120004700252c..."} 
[2026-06-23 08:50:31] local.INFO: Processing buffer {"connection_id":112310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cf500012cb3e300077ed120004700252c..."} 
[2026-06-23 08:50:31] local.INFO: Packet analysis {"connection_id":112310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:31] local.INFO: Extracted packet for processing {"connection_id":112310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":749986560,"raw_latitude":125751584,"longitude_deg":74.998656,"latitude_deg":12.5751584,"altitude":71,"angle":37,"satellites":44,"speed":42,"hex_longitude":"2cb3e300","hex_latitude":"077ed120","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239292416001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321274991238709248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5484539889014726656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782184736000,"timestamp_ms":1782184736000,"timestamp_seconds":1782184736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cf500"} 
[2026-06-23 08:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:50:31] 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-06-23 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 08:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239292416001,"66":27767,"125":206,"27":54016,"24":42,"16":321274991238709248,"44":-5484539889014726656},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 08:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239292416001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:50:31] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 08:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321274991238709248,"km_value":321274991238709.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5484539889014726656,"description":"Unknown IO ID 44"} 
[2026-06-23 08:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239292416001,"power":27767,"unknown_125":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5484539889014726656}} 
[2026-06-23 08:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":112310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:50:31] local.INFO: GPS data processed {"connection_id":112310,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:50:31] local.INFO: Acknowledgment sent {"connection_id":112310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:50:35] local.INFO: TCP Data received {"connection_id":112309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27b81e8012d7ca60005ec3728000d010a25..."} 
[2026-06-23 08:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27b81e8012d7ca60005ec3728000d010a25..."} 
[2026-06-23 08:50:35] local.INFO: Processing buffer {"connection_id":112309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27b81e8012d7ca60005ec3728000d010a25..."} 
[2026-06-23 08:50:35] local.INFO: Packet analysis {"connection_id":112309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:50:35] local.INFO: Extracted packet for processing {"connection_id":112309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:50:35] local.INFO: GPS Element Parsed {"raw_longitude":763143680,"raw_latitude":99366696,"longitude_deg":76.314368,"latitude_deg":9.9366696,"altitude":13,"angle":266,"satellites":37,"speed":0,"hex_longitude":"2d7ca600","hex_latitude":"05ec3728","is_valid_coordinates":true} 
[2026-06-23 08:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239262720001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96311729624973312,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983133169670105088,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:35] 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-06-23 08:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184641000,"timestamp_ms":1782184641000,"timestamp_seconds":1782184641,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27b81e8"} 
[2026-06-23 08:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:50: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-06-23 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 08:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239262720001,"66":13276,"198":206,"87":13824,"24":0,"16":96311729624973312,"45":8983133169670105088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239262720001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:50:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:50:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96311729624973312,"km_value":96311729624973.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983133169670105088,"description":"Unknown IO ID 45"} 
[2026-06-23 08:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239262720001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8983133169670105088}} 
[2026-06-23 08:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":112309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:50:35] local.INFO: GPS data processed {"connection_id":112309,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:50:35] local.INFO: Acknowledgment sent {"connection_id":112309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:50:48] local.INFO: TCP Data received {"connection_id":111375,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:50:48] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:50:48] local.INFO: IMEI packet received {"connection_id":111375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":111375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:50:52] local.INFO: TCP Data received {"connection_id":111375,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:50:52] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:50:52] local.INFO: IMEI packet received {"connection_id":111375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":111375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:50:53] local.INFO: TCP Data received {"connection_id":111375,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27ca2f8012d1820400721b340004a00d423..."} 
[2026-06-23 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27ca2f8012d1820400721b340004a00d423..."} 
[2026-06-23 08:50:53] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27ca2f8012d1820400721b340004a00d423..."} 
[2026-06-23 08:50:53] local.INFO: Packet analysis {"connection_id":111375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:53] local.INFO: Extracted packet for processing {"connection_id":111375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239281664001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184715000,"timestamp_ms":1782184715000,"timestamp_seconds":1782184715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27ca2f8"} 
[2026-06-23 08:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:50:53] 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-06-23 08:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 08:50:53] 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-06-23 08:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239281664001,"66":13015,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239281664001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239281664001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":111375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:50:53] local.INFO: GPS data processed {"connection_id":111375,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:50:53] local.INFO: Acknowledgment sent {"connection_id":111375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:02] local.INFO: TCP Data received {"connection_id":110572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:02] local.INFO: Processing buffer {"connection_id":110572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:02] local.INFO: IMEI packet received {"connection_id":110572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":110572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:51:02] local.INFO: TCP Data received {"connection_id":112310,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27deb18012cb42e80077ff2c0004f000d2c..."} 
[2026-06-23 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27deb18012cb42e80077ff2c0004f000d2c..."} 
[2026-06-23 08:51:02] local.INFO: Processing buffer {"connection_id":112310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27deb18012cb42e80077ff2c0004f000d2c..."} 
[2026-06-23 08:51:02] local.INFO: Packet analysis {"connection_id":112310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27d"} 
[2026-06-23 08:51:02] local.INFO: Extracted packet for processing {"connection_id":112310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27d"} 
[2026-06-23 08:51:02] local.INFO: GPS Element Parsed {"raw_longitude":750005888,"raw_latitude":125825728,"longitude_deg":75.0005888,"latitude_deg":12.5825728,"altitude":79,"angle":13,"satellites":44,"speed":47,"hex_longitude":"2cb42e80","hex_latitude":"077ff2c0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239306496001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321278757925027840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5464555165651748864,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782184799000,"timestamp_ms":1782184799000,"timestamp_seconds":1782184799,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27deb18"} 
[2026-06-23 08:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:51:02] 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-06-23 08: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-06-23 08:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239306496001,"66":27984,"125":206,"27":54016,"24":47,"16":321278757925027840,"44":-5464555165651748864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 08:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239306496001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:51:02] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 08:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321278757925027840,"km_value":321278757925027.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5464555165651748864,"description":"Unknown IO ID 44"} 
[2026-06-23 08:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239306496001,"power":27984,"unknown_125":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-5464555165651748864}} 
[2026-06-23 08:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":112310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:51:02] local.INFO: GPS data processed {"connection_id":112310,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:51:02] local.INFO: Acknowledgment sent {"connection_id":112310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:04] local.INFO: TCP Data received {"connection_id":110572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:04] local.INFO: Processing buffer {"connection_id":110572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:04] local.INFO: IMEI packet received {"connection_id":110572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":110572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:51:09] local.INFO: TCP Data received {"connection_id":110572,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:09] local.INFO: Processing buffer {"connection_id":110572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:09] local.INFO: IMEI packet received {"connection_id":110572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":110572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:51:11] local.INFO: TCP Data received {"connection_id":110572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27bd3f0012d7c9cc005ec36f0000d010c25..."} 
[2026-06-23 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27bd3f0012d7c9cc005ec36f0000d010c25..."} 
[2026-06-23 08:51:11] local.INFO: Processing buffer {"connection_id":110572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27bd3f0012d7c9cc005ec36f0000d010c25..."} 
[2026-06-23 08:51:11] local.INFO: Packet analysis {"connection_id":110572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:51:11] local.INFO: Extracted packet for processing {"connection_id":110572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27b"} 
[2026-06-23 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763141312,"raw_latitude":99366640,"longitude_deg":76.3141312,"latitude_deg":9.936664,"altitude":13,"angle":268,"satellites":37,"speed":16,"hex_longitude":"2d7c9cc0","hex_latitude":"05ec36f0","is_valid_coordinates":true} 
[2026-06-23 08:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239268096001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96311845589090304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981866532274907136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:11] 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-06-23 08:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782184662000,"timestamp_ms":1782184662000,"timestamp_seconds":1782184662,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27bd3f0"} 
[2026-06-23 08:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:51:11] 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-06-23 08:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-23 08:51:11] 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-06-23 08:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239268096001,"66":13243,"198":206,"87":13824,"24":16,"16":96311845589090304,"45":8981866532274907136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239268096001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96311845589090304,"km_value":96311845589090.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981866532274907136,"description":"Unknown IO ID 45"} 
[2026-06-23 08:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239268096001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8981866532274907136}} 
[2026-06-23 08:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":110572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:51:11] local.INFO: GPS data processed {"connection_id":110572,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:51:11] local.INFO: Acknowledgment sent {"connection_id":110572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:13] local.INFO: TCP Data received {"connection_id":110572,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27c2210012d7c790005ec3610000d010c27..."} 
[2026-06-23 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27c2210012d7c790005ec3610000d010c27..."} 
[2026-06-23 08:51:13] local.INFO: Processing buffer {"connection_id":110572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27c2210012d7c790005ec3610000d010c27..."} 
[2026-06-23 08:51:13] local.INFO: Packet analysis {"connection_id":110572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:51:13] local.INFO: Extracted packet for processing {"connection_id":110572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763132160,"raw_latitude":99366416,"longitude_deg":76.313216,"latitude_deg":9.9366416,"altitude":13,"angle":268,"satellites":39,"speed":22,"hex_longitude":"2d7c7900","hex_latitude":"05ec3610","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239273472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96312279380787200,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979262888740319232,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:13] 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-06-23 08:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782184682000,"timestamp_ms":1782184682000,"timestamp_seconds":1782184682,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27c2210"} 
[2026-06-23 08:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:51:13] 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-06-23 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 08:51:13] 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-06-23 08: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-06-23 08:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":110572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":110572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":110572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239273472001,"66":13243,"198":206,"87":13824,"24":22,"16":96312279380787200,"45":8979262888740319232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239273472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:51:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96312279380787200,"km_value":96312279380787.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979262888740319232,"description":"Unknown IO ID 45"} 
[2026-06-23 08:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239273472001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8979262888740319232}} 
[2026-06-23 08:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":110572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:51:13] local.INFO: GPS data processed {"connection_id":110572,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:51:13] local.INFO: Acknowledgment sent {"connection_id":110572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:24] local.INFO: TCP Data received {"connection_id":111375,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:51:24] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:51:24] local.INFO: Packet analysis {"connection_id":111375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:51:24] local.INFO: Extracted packet for processing {"connection_id":111375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:51:24] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:51:24] 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-06-23 08:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239287040001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782184719000,"timestamp_ms":1782184719000,"timestamp_seconds":1782184719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cb298"} 
[2026-06-23 08:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:51:24] 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-06-23 08:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 08:51:24] 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-06-23 08:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239287040001,"66":13004,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239287040001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:51:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239287040001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":111375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:51:24] local.INFO: GPS data processed {"connection_id":111375,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:51:24] local.INFO: Acknowledgment sent {"connection_id":111375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:24] local.INFO: TCP Data received {"connection_id":110745,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:51:24] local.INFO: Processing buffer {"connection_id":110745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:51:24] local.INFO: IMEI packet received {"connection_id":110745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":110745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:51:30] local.INFO: TCP Data received {"connection_id":110745,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:51:30] local.INFO: Processing buffer {"connection_id":110745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:51:30] local.INFO: IMEI packet received {"connection_id":110745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":110745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:51:31] local.INFO: TCP Data received {"connection_id":110745,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27e0a58012cb43880078016680051000e2b..."} 
[2026-06-23 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27e0a58012cb43880078016680051000e2b..."} 
[2026-06-23 08:51:31] local.INFO: Processing buffer {"connection_id":110745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27e0a58012cb43880078016680051000e2b..."} 
[2026-06-23 08:51:31] local.INFO: Packet analysis {"connection_id":110745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27e"} 
[2026-06-23 08:51:31] local.INFO: Extracted packet for processing {"connection_id":110745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27e"} 
[2026-06-23 08:51:31] local.INFO: GPS Element Parsed {"raw_longitude":750008448,"raw_latitude":125834856,"longitude_deg":75.0008448,"latitude_deg":12.5834856,"altitude":81,"angle":14,"satellites":43,"speed":46,"hex_longitude":"2cb43880","hex_latitude":"07801668","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239308544001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321279217486528512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463288528254091264,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782184807000,"timestamp_ms":1782184807000,"timestamp_seconds":1782184807,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27e0a58"} 
[2026-06-23 08:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:51:31] 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-06-23 08: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 08:51:31] 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-06-23 08: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-06-23 08:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239308544001,"66":27930,"125":206,"27":54016,"24":46,"16":321279217486528512,"44":-5463288528254091264},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 08:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239308544001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:51:31] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 08:51:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321279217486528512,"km_value":321279217486528.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463288528254091264,"description":"Unknown IO ID 44"} 
[2026-06-23 08:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239308544001,"power":27930,"unknown_125":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5463288528254091264}} 
[2026-06-23 08:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":110745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:51:31] local.INFO: GPS data processed {"connection_id":110745,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:51:31] local.INFO: Acknowledgment sent {"connection_id":110745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:43] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:51:43] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:51:43] local.INFO: IMEI packet received {"connection_id":110746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":110746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:51:48] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:51:48] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:51:48] local.INFO: IMEI packet received {"connection_id":110746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":110746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:51:49] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:51:49] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:51:49] local.INFO: Packet analysis {"connection_id":110746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:51:49] local.INFO: Extracted packet for processing {"connection_id":110746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:51:49] 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-06-23 08:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782184719000,"timestamp_ms":1782184719000,"timestamp_seconds":1782184719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cb298"} 
[2026-06-23 08:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":13004,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:51:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":110746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:51:49] local.INFO: GPS data processed {"connection_id":110746,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:51:49] local.INFO: Acknowledgment sent {"connection_id":110746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:51:56] local.INFO: TCP Data received {"connection_id":112311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:56] local.INFO: Processing buffer {"connection_id":112311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:51:56] local.INFO: IMEI packet received {"connection_id":112311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":112311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:52:02] local.INFO: TCP Data received {"connection_id":112311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:52:02] local.INFO: Processing buffer {"connection_id":112311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:52:02] local.INFO: IMEI packet received {"connection_id":112311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":112311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:52:02] local.INFO: TCP Data received {"connection_id":110745,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27e2998012cb4414007803aa0005200092c..."} 
[2026-06-23 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27e2998012cb4414007803aa0005200092c..."} 
[2026-06-23 08:52:02] local.INFO: Processing buffer {"connection_id":110745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27e2998012cb4414007803aa0005200092c..."} 
[2026-06-23 08:52:02] local.INFO: Packet analysis {"connection_id":110745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27e"} 
[2026-06-23 08:52:02] local.INFO: Extracted packet for processing {"connection_id":110745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27e"} 
[2026-06-23 08:52:02] local.INFO: GPS Element Parsed {"raw_longitude":750010688,"raw_latitude":125844128,"longitude_deg":75.0010688,"latitude_deg":12.5844128,"altitude":82,"angle":9,"satellites":44,"speed":45,"hex_longitude":"2cb44140","hex_latitude":"07803aa0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239310592001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321279677048029184,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5460473778484647936,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782184815000,"timestamp_ms":1782184815000,"timestamp_seconds":1782184815,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27e2998"} 
[2026-06-23 08:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52:02] 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-06-23 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 08:52:02] 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-06-23 08: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-06-23 08:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239310592001,"66":27930,"125":206,"27":54016,"24":45,"16":321279677048029184,"44":-5460473778484647936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 08:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239310592001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:02] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 08:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321279677048029184,"km_value":321279677048029.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5460473778484647936,"description":"Unknown IO ID 44"} 
[2026-06-23 08:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239310592001,"power":27930,"unknown_125":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5460473778484647936}} 
[2026-06-23 08:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":110745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:02] local.INFO: GPS data processed {"connection_id":110745,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:02] local.INFO: Acknowledgment sent {"connection_id":110745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:03] local.INFO: TCP Data received {"connection_id":112311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f3720012d7b29c005ebee10001200f226..."} 
[2026-06-23 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f3720012d7b29c005ebee10001200f226..."} 
[2026-06-23 08:52:03] local.INFO: Processing buffer {"connection_id":112311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f3720012d7b29c005ebee10001200f226..."} 
[2026-06-23 08:52:03] local.INFO: Packet analysis {"connection_id":112311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:03] local.INFO: Extracted packet for processing {"connection_id":112311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":99347984,"longitude_deg":76.3046336,"latitude_deg":9.9347984,"altitude":18,"angle":242,"satellites":38,"speed":33,"hex_longitude":"2d7b29c0","hex_latitude":"05ebee10","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239327232001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96316527103442944,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983609120043008,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:03] 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-06-23 08:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184884000,"timestamp_ms":1782184884000,"timestamp_seconds":1782184884,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f3720"} 
[2026-06-23 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-06-23 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 08:52:03] 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-06-23 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-06-23 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-06-23 08:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239327232001,"66":12917,"198":206,"87":13824,"24":33,"16":96316527103442944,"45":8883983609120043008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 08:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239327232001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 08:52:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96316527103442944,"km_value":96316527103442.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983609120043008,"description":"Unknown IO ID 45"} 
[2026-06-23 08:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239327232001,"power":12917,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8883983609120043008}} 
[2026-06-23 08:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":112311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:03] local.INFO: GPS data processed {"connection_id":112311,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:03] local.INFO: Acknowledgment sent {"connection_id":112311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:16] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:52:16] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:52:16] local.INFO: IMEI packet received {"connection_id":111376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":111376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:52:20] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:52:20] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:52:20] local.INFO: Packet analysis {"connection_id":110746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:52:20] local.INFO: Extracted packet for processing {"connection_id":110746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782184719000,"timestamp_ms":1782184719000,"timestamp_seconds":1782184719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cb298"} 
[2026-06-23 08:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52:20] 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-06-23 08:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:52:20] 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-06-23 08:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":13004,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":110746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:20] local.INFO: GPS data processed {"connection_id":110746,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:20] local.INFO: Acknowledgment sent {"connection_id":110746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:21] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:52:21] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:52:21] local.INFO: IMEI packet received {"connection_id":111376,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":111376,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:52:22] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f8d10012d0db3c00706f010003000ff1d..."} 
[2026-06-23 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f8d10012d0db3c00706f010003000ff1d..."} 
[2026-06-23 08:52:22] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f8d10012d0db3c00706f010003000ff1d..."} 
[2026-06-23 08:52:22] local.INFO: Packet analysis {"connection_id":111376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:22] local.INFO: Extracted packet for processing {"connection_id":111376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755872704,"raw_latitude":117895184,"longitude_deg":75.5872704,"latitude_deg":11.7895184,"altitude":48,"angle":255,"satellites":29,"speed":16,"hex_longitude":"2d0db3c0","hex_latitude":"0706f010","is_valid_coordinates":true} 
[2026-06-23 08:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239334400001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21796937552363520,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989666048295952384,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:22] 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-06-23 08:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782184906000,"timestamp_ms":1782184906000,"timestamp_seconds":1782184906,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f8d10"} 
[2026-06-23 08:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 08:52: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-06-23 08:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239334400001,"66":14515,"219":206,"94":10240,"24":16,"16":21796937552363520,"45":989666048295952384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 08:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239334400001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21796937552363520,"km_value":21796937552363.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":989666048295952384,"description":"Unknown IO ID 45"} 
[2026-06-23 08:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239334400001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":989666048295952384}} 
[2026-06-23 08:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":111376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:22] local.INFO: GPS data processed {"connection_id":111376,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:22] local.INFO: Acknowledgment sent {"connection_id":111376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:25] local.INFO: TCP Data received {"connection_id":112312,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:25] local.INFO: Processing buffer {"connection_id":112312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:25] local.INFO: IMEI packet received {"connection_id":112312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":112312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:52:26] local.INFO: TCP Data received {"connection_id":112312,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:26] local.INFO: Processing buffer {"connection_id":112312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:26] local.INFO: IMEI packet received {"connection_id":112312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":112312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:52:30] local.INFO: TCP Data received {"connection_id":112312,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:30] local.INFO: Processing buffer {"connection_id":112312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:52:30] local.INFO: IMEI packet received {"connection_id":112312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":112312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:52:31] local.INFO: TCP Data received {"connection_id":112312,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f3b08012cb465000780f3480041013a2b..."} 
[2026-06-23 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f3b08012cb465000780f3480041013a2b..."} 
[2026-06-23 08:52:31] local.INFO: Processing buffer {"connection_id":112312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f3b08012cb465000780f3480041013a2b..."} 
[2026-06-23 08:52:31] local.INFO: Packet analysis {"connection_id":112312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:31] local.INFO: Extracted packet for processing {"connection_id":112312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:31] local.INFO: GPS Element Parsed {"raw_longitude":750019840,"raw_latitude":125891400,"longitude_deg":75.001984,"latitude_deg":12.58914,"altitude":65,"angle":314,"satellites":43,"speed":12,"hex_longitude":"2cb46500","hex_latitude":"0780f348","is_valid_coordinates":true} 
[2026-06-23 08:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239330304001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321282039280041984,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447666667029899264,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782184885000,"timestamp_ms":1782184885000,"timestamp_seconds":1782184885,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f3b08"} 
[2026-06-23 08:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52:31] 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-06-23 08:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 08:52:31] 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-06-23 08:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239330304001,"66":27843,"126":206,"27":54016,"24":12,"16":321282039280041984,"44":-5447666667029899264},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 08:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239330304001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 08:52:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321282039280041984,"km_value":321282039280042.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447666667029899264,"description":"Unknown IO ID 44"} 
[2026-06-23 08:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239330304001,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":12,"odometer":null,"unknown_44":-5447666667029899264}} 
[2026-06-23 08:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":112312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:31] local.INFO: GPS data processed {"connection_id":112312,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:31] local.INFO: Acknowledgment sent {"connection_id":112312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:34] local.INFO: TCP Data received {"connection_id":112311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f5e30012d7b0a0005ebde58000f00f326..."} 
[2026-06-23 08:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f5e30012d7b0a0005ebde58000f00f326..."} 
[2026-06-23 08:52:34] local.INFO: Processing buffer {"connection_id":112311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f5e30012d7b0a0005ebde58000f00f326..."} 
[2026-06-23 08:52:34] local.INFO: Packet analysis {"connection_id":112311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:34] local.INFO: Extracted packet for processing {"connection_id":112311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":99343960,"longitude_deg":76.3038208,"latitude_deg":9.934396,"altitude":15,"angle":243,"satellites":38,"speed":32,"hex_longitude":"2d7b0a00","hex_latitude":"05ebde58","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239330304001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96316960895139840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672375889920,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782184894000,"timestamp_ms":1782184894000,"timestamp_seconds":1782184894,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f5e30"} 
[2026-06-23 08:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52: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-06-23 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 08:52: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-06-23 08: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-06-23 08:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239330304001,"66":13189,"155":206,"87":13824,"24":32,"16":96316960895139840,"45":8874835672375889920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-23 08:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239330304001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96316960895139840,"km_value":96316960895139.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672375889920,"description":"Unknown IO ID 45"} 
[2026-06-23 08:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239330304001,"power":13189,"unknown_155":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8874835672375889920}} 
[2026-06-23 08:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":112311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:34] local.INFO: GPS data processed {"connection_id":112311,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:34] local.INFO: Acknowledgment sent {"connection_id":112311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:43] local.INFO: TCP Data received {"connection_id":111377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:52:43] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:52:43] local.INFO: IMEI packet received {"connection_id":111377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":111377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:52:48] local.INFO: TCP Data received {"connection_id":111377,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:52:48] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:52:48] local.INFO: IMEI packet received {"connection_id":111377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":111377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:52:49] local.INFO: TCP Data received {"connection_id":111377,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:52:49] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:52:49] local.INFO: Packet analysis {"connection_id":111377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:52:49] local.INFO: Extracted packet for processing {"connection_id":111377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:52:49] 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-06-23 08:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782184719000,"timestamp_ms":1782184719000,"timestamp_seconds":1782184719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cb298"} 
[2026-06-23 08:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":13004,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":111377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:49] local.INFO: GPS data processed {"connection_id":111377,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:49] local.INFO: Acknowledgment sent {"connection_id":111377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:53] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f98c8012d0dae400706eeb80031010b1d..."} 
[2026-06-23 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f98c8012d0dae400706eeb80031010b1d..."} 
[2026-06-23 08:52:53] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f98c8012d0dae400706eeb80031010b1d..."} 
[2026-06-23 08:52:53] local.INFO: Packet analysis {"connection_id":111376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:53] local.INFO: Extracted packet for processing {"connection_id":111376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:52:53] local.INFO: GPS Element Parsed {"raw_longitude":755871296,"raw_latitude":117894840,"longitude_deg":75.5871296,"latitude_deg":11.789484,"altitude":49,"angle":267,"satellites":29,"speed":21,"hex_longitude":"2d0dae40","hex_latitude":"0706eeb8","is_valid_coordinates":true} 
[2026-06-23 08:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21797006271840256,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987343879737970688,"note":"Value kept but may cause issues"} 
[2026-06-23 08:52:53] 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-06-23 08:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184909000,"timestamp_ms":1782184909000,"timestamp_seconds":1782184909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f98c8"} 
[2026-06-23 08:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:52: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-06-23 08:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 08:52:53] 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-06-23 08:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111376,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239335936001,"66":13754,"219":206,"94":10240,"24":21,"16":21797006271840256,"45":987343879737970688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 08:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21797006271840256,"km_value":21797006271840.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":987343879737970688,"description":"Unknown IO ID 45"} 
[2026-06-23 08:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239335936001,"power":13754,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":987343879737970688}} 
[2026-06-23 08:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":111376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:52:53] local.INFO: GPS data processed {"connection_id":111376,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:52:53] local.INFO: Acknowledgment sent {"connection_id":111376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:52:56] local.INFO: TCP Data received {"connection_id":112313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:52:56] local.INFO: Processing buffer {"connection_id":112313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:52:56] local.INFO: IMEI packet received {"connection_id":112313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":112313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:53:02] local.INFO: TCP Data received {"connection_id":112313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:53:02] local.INFO: Processing buffer {"connection_id":112313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:53:02] local.INFO: IMEI packet received {"connection_id":112313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":112313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:53:03] local.INFO: TCP Data received {"connection_id":112313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f90f8012d7ae88005ebcda8000e00f327..."} 
[2026-06-23 08:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f90f8012d7ae88005ebcda8000e00f327..."} 
[2026-06-23 08:53:03] local.INFO: Processing buffer {"connection_id":112313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f90f8012d7ae88005ebcda8000e00f327..."} 
[2026-06-23 08:53:03] local.INFO: Packet analysis {"connection_id":112313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:53:03] local.INFO: Extracted packet for processing {"connection_id":112313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763029632,"raw_latitude":99339688,"longitude_deg":76.3029632,"latitude_deg":9.9339688,"altitude":14,"angle":243,"satellites":39,"speed":26,"hex_longitude":"2d7ae880","hex_latitude":"05ebcda8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239332864001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96317420456640512,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841864296448,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782184907000,"timestamp_ms":1782184907000,"timestamp_seconds":1782184907,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f90f8"} 
[2026-06-23 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-06-23 08:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:03] 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-06-23 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-06-23 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-06-23 08:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239332864001,"66":13254,"155":206,"87":13824,"24":26,"16":96317420456640512,"45":8865898841864296448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-23 08:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239332864001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96317420456640512,"km_value":96317420456640.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841864296448,"description":"Unknown IO ID 45"} 
[2026-06-23 08:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239332864001,"power":13254,"unknown_155":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8865898841864296448}} 
[2026-06-23 08:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":112313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:03] local.INFO: GPS data processed {"connection_id":112313,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:03] local.INFO: Acknowledgment sent {"connection_id":112313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:16] local.INFO: TCP Data received {"connection_id":110747,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:16] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:16] local.INFO: IMEI packet received {"connection_id":110747,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":110747,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:53:16] local.INFO: TCP Data received {"connection_id":110747,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:16] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:16] local.INFO: IMEI packet received {"connection_id":110747,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":110747,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:53:20] local.INFO: TCP Data received {"connection_id":111377,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:53:20] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:53:20] local.INFO: Packet analysis {"connection_id":111377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:53:20] local.INFO: Extracted packet for processing {"connection_id":111377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782184719000,"timestamp_ms":1782184719000,"timestamp_seconds":1782184719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cb298"} 
[2026-06-23 08:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53:20] 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-06-23 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:20] 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-06-23 08:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":13004,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":111377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:20] local.INFO: GPS data processed {"connection_id":111377,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:20] local.INFO: Acknowledgment sent {"connection_id":111377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:21] local.INFO: TCP Data received {"connection_id":110747,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:21] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:53:21] local.INFO: IMEI packet received {"connection_id":110747,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":110747,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:53:22] local.INFO: TCP Data received {"connection_id":110747,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef280b5f0012d0d2f40070716f00022012e1d..."} 
[2026-06-23 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef280b5f0012d0d2f40070716f00022012e1d..."} 
[2026-06-23 08:53:22] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef280b5f0012d0d2f40070716f00022012e1d..."} 
[2026-06-23 08:53:22] local.INFO: Packet analysis {"connection_id":110747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:22] local.INFO: Extracted packet for processing {"connection_id":110747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755838784,"raw_latitude":117905136,"longitude_deg":75.5838784,"latitude_deg":11.7905136,"altitude":34,"angle":302,"satellites":29,"speed":10,"hex_longitude":"2d0d2f40","hex_latitude":"070716f0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239353856001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21798668424183808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952652088860887040,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:22] 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-06-23 08:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782184982000,"timestamp_ms":1782184982000,"timestamp_seconds":1782184982,"priority":1,"record_length":96,"hex_timestamp":"0000019ef280b5f0"} 
[2026-06-23 08:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:53: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-06-23 08: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-06-23 08:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239353856001,"66":14439,"219":206,"94":10240,"24":10,"16":21798668424183808,"45":952652088860887040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 08:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239353856001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 08:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21798668424183808,"km_value":21798668424183.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":952652088860887040,"description":"Unknown IO ID 45"} 
[2026-06-23 08:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239353856001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":952652088860887040}} 
[2026-06-23 08:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":110747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:22] local.INFO: GPS data processed {"connection_id":110747,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:22] local.INFO: Acknowledgment sent {"connection_id":110747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:23] local.INFO: TCP Data received {"connection_id":112312,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27f3ef0012cb463c00780f4200041012b2c..."} 
[2026-06-23 08:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27f3ef0012cb463c00780f4200041012b2c..."} 
[2026-06-23 08:53:23] local.INFO: Processing buffer {"connection_id":112312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27f3ef0012cb463c00780f4200041012b2c..."} 
[2026-06-23 08:53:23] local.INFO: Packet analysis {"connection_id":112312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:53:23] local.INFO: Extracted packet for processing {"connection_id":112312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:53:23] local.INFO: GPS Element Parsed {"raw_longitude":750019520,"raw_latitude":125891616,"longitude_deg":75.001952,"latitude_deg":12.5891616,"altitude":65,"angle":299,"satellites":44,"speed":14,"hex_longitude":"2cb463c0","hex_latitude":"0780f420","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239330560001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321282056459911168,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447948142006548480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782184886000,"timestamp_ms":1782184886000,"timestamp_seconds":1782184886,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27f3ef0"} 
[2026-06-23 08:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53:23] 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-06-23 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:23] 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-06-23 08: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-06-23 08:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":112312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":112312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":112312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239330560001,"66":27843,"126":206,"27":54016,"24":14,"16":321282056459911168,"44":-5447948142006548480},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 08:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239330560001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:23] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 08:53:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321282056459911168,"km_value":321282056459911.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447948142006548480,"description":"Unknown IO ID 44"} 
[2026-06-23 08:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239330560001,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-5447948142006548480}} 
[2026-06-23 08:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":112312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:23] local.INFO: GPS data processed {"connection_id":112312,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:23] local.INFO: Acknowledgment sent {"connection_id":112312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:29] local.INFO: TCP Data received {"connection_id":110748,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:29] local.INFO: Processing buffer {"connection_id":110748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:29] local.INFO: IMEI packet received {"connection_id":110748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":110748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:53:33] local.INFO: TCP Data received {"connection_id":110748,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:33] local.INFO: Processing buffer {"connection_id":110748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:33] local.INFO: IMEI packet received {"connection_id":110748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":110748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:53:34] local.INFO: TCP Data received {"connection_id":112313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27fcb90012d7ac7c005ebbd98000d00f327..."} 
[2026-06-23 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27fcb90012d7ac7c005ebbd98000d00f327..."} 
[2026-06-23 08:53:34] local.INFO: Processing buffer {"connection_id":112313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27fcb90012d7ac7c005ebbd98000d00f327..."} 
[2026-06-23 08:53:34] local.INFO: Packet analysis {"connection_id":112313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:53:34] local.INFO: Extracted packet for processing {"connection_id":112313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27f"} 
[2026-06-23 08:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763021248,"raw_latitude":99335576,"longitude_deg":76.3021248,"latitude_deg":9.9335576,"altitude":13,"angle":243,"satellites":39,"speed":24,"hex_longitude":"2d7ac7c0","hex_latitude":"05ebbd98","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239336192001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96317867133239296,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856469430143395840,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782184922000,"timestamp_ms":1782184922000,"timestamp_seconds":1782184922,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27fcb90"} 
[2026-06-23 08:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53: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-06-23 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 08:53: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-06-23 08: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-06-23 08:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239336192001,"66":12982,"155":206,"87":13824,"24":24,"16":96317867133239296,"45":8856469430143395840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-23 08:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239336192001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96317867133239296,"km_value":96317867133239.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856469430143395840,"description":"Unknown IO ID 45"} 
[2026-06-23 08:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239336192001,"power":12982,"unknown_155":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8856469430143395840}} 
[2026-06-23 08:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":112313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:34] local.INFO: GPS data processed {"connection_id":112313,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:34] local.INFO: Acknowledgment sent {"connection_id":112313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:34] local.INFO: TCP Data received {"connection_id":110748,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:34] local.INFO: Processing buffer {"connection_id":110748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:53:34] local.INFO: IMEI packet received {"connection_id":110748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":110748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:53:35] local.INFO: TCP Data received {"connection_id":110748,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2803cd8012cb39a0007817e90004d012929..."} 
[2026-06-23 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2803cd8012cb39a0007817e90004d012929..."} 
[2026-06-23 08:53:35] local.INFO: Processing buffer {"connection_id":110748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2803cd8012cb39a0007817e90004d012929..."} 
[2026-06-23 08:53:35] local.INFO: Packet analysis {"connection_id":110748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:35] local.INFO: Extracted packet for processing {"connection_id":110748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":749967872,"raw_latitude":125927056,"longitude_deg":74.9967872,"latitude_deg":12.5927056,"altitude":77,"angle":297,"satellites":41,"speed":46,"hex_longitude":"2cb39a00","hex_latitude":"07817e90","is_valid_coordinates":true} 
[2026-06-23 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239345920001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321285191786037248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5497769212875878400,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782184951000,"timestamp_ms":1782184951000,"timestamp_seconds":1782184951,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2803cd8"} 
[2026-06-23 08:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53:35] 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-06-23 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239345920001,"66":28028,"28":206,"27":54016,"24":46,"16":321285191786037248,"44":-5497769212875878400},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 08:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239345920001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 08:53:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321285191786037248,"km_value":321285191786037.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5497769212875878400,"description":"Unknown IO ID 44"} 
[2026-06-23 08:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239345920001,"power":28028,"unknown_28":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-5497769212875878400}} 
[2026-06-23 08:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":110748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:35] local.INFO: GPS data processed {"connection_id":110748,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:35] local.INFO: Acknowledgment sent {"connection_id":110748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:38] local.INFO: TCP Data received {"connection_id":110748,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2805448012cb382c007818e70004e01352c..."} 
[2026-06-23 08:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2805448012cb382c007818e70004e01352c..."} 
[2026-06-23 08:53:38] local.INFO: Processing buffer {"connection_id":110748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2805448012cb382c007818e70004e01352c..."} 
[2026-06-23 08:53:38] local.INFO: Packet analysis {"connection_id":110748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:38] local.INFO: Extracted packet for processing {"connection_id":110748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:38] local.INFO: GPS Element Parsed {"raw_longitude":749961920,"raw_latitude":125931120,"longitude_deg":74.996192,"latitude_deg":12.593112,"altitude":78,"angle":309,"satellites":44,"speed":49,"hex_longitude":"2cb382c0","hex_latitude":"07818e70","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239347456001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321285535383420928,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5505087562269683712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782184957000,"timestamp_ms":1782184957000,"timestamp_seconds":1782184957,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2805448"} 
[2026-06-23 08:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53: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-06-23 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:38] 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-06-23 08: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-06-23 08:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239347456001,"66":27876,"28":206,"27":54016,"24":49,"16":321285535383420928,"44":-5505087562269683712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 08:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239347456001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321285535383420928,"km_value":321285535383420.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5505087562269683712,"description":"Unknown IO ID 44"} 
[2026-06-23 08:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239347456001,"power":27876,"unknown_28":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5505087562269683712}} 
[2026-06-23 08:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":110748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:38] local.INFO: GPS data processed {"connection_id":110748,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:38] local.INFO: Acknowledgment sent {"connection_id":110748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:43] local.INFO: TCP Data received {"connection_id":112315,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:53:43] local.INFO: Processing buffer {"connection_id":112315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:53:43] local.INFO: IMEI packet received {"connection_id":112315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":112315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:53:48] local.INFO: TCP Data received {"connection_id":112315,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:53:48] local.INFO: Processing buffer {"connection_id":112315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:53:48] local.INFO: IMEI packet received {"connection_id":112315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":112315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:53:48] local.INFO: TCP Data received {"connection_id":112315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:53:48] local.INFO: Processing buffer {"connection_id":112315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef27cb298012d1820400721b340004a00d423..."} 
[2026-06-23 08:53:48] local.INFO: Packet analysis {"connection_id":112315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:53:48] local.INFO: Extracted packet for processing {"connection_id":112315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef27c"} 
[2026-06-23 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649088,"longitude_deg":75.655584,"latitude_deg":11.9649088,"altitude":74,"angle":212,"satellites":35,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-06-23 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782184719000,"timestamp_ms":1782184719000,"timestamp_seconds":1782184719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef27cb298"} 
[2026-06-23 08:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:48] 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-06-23 08: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-06-23 08:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":13004,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":112315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:49] local.INFO: GPS data processed {"connection_id":112315,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:49] local.INFO: Acknowledgment sent {"connection_id":112315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:53:53] local.INFO: TCP Data received {"connection_id":110747,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef280bdc0012d0d2d8007071858002201471d..."} 
[2026-06-23 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef280bdc0012d0d2d8007071858002201471d..."} 
[2026-06-23 08:53:53] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef280bdc0012d0d2d8007071858002201471d..."} 
[2026-06-23 08:53:53] local.INFO: Packet analysis {"connection_id":110747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:53] local.INFO: Extracted packet for processing {"connection_id":110747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117905496,"longitude_deg":75.5838336,"latitude_deg":11.7905496,"altitude":34,"angle":327,"satellites":29,"speed":11,"hex_longitude":"2d0d2d80","hex_latitude":"07071858","is_valid_coordinates":true} 
[2026-06-23 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239355392001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21798698488954880,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950048445326356480,"note":"Value kept but may cause issues"} 
[2026-06-23 08:53:53] 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-06-23 08:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782184984000,"timestamp_ms":1782184984000,"timestamp_seconds":1782184984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef280bdc0"} 
[2026-06-23 08:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:53:53] 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-06-23 08:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110747,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239355392001,"66":14396,"219":206,"94":10240,"24":11,"16":21798698488954880,"45":950048445326356480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 08:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239355392001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:53:53] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 08:53:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21798698488954880,"km_value":21798698488954.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":950048445326356480,"description":"Unknown IO ID 45"} 
[2026-06-23 08:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239355392001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":950048445326356480}} 
[2026-06-23 08:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":110747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369690,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:53:53] local.INFO: GPS data processed {"connection_id":110747,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:53:53] local.INFO: Acknowledgment sent {"connection_id":110747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:02] local.INFO: TCP Data received {"connection_id":110749,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:02] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:02] local.INFO: IMEI packet received {"connection_id":110749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":110749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:54:07] local.INFO: TCP Data received {"connection_id":110749,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:07] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:07] local.INFO: IMEI packet received {"connection_id":110749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":110749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:08] local.INFO: TCP Data received {"connection_id":110749,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2800240012d7aa60005ebb008000a00f827..."} 
[2026-06-23 08:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2800240012d7aa60005ebb008000a00f827..."} 
[2026-06-23 08:54:08] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2800240012d7aa60005ebb008000a00f827..."} 
[2026-06-23 08:54:08] local.INFO: Packet analysis {"connection_id":110749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:08] local.INFO: Extracted packet for processing {"connection_id":110749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:08] local.INFO: GPS Element Parsed {"raw_longitude":763012608,"raw_latitude":99332104,"longitude_deg":76.3012608,"latitude_deg":9.9332104,"altitude":10,"angle":248,"satellites":39,"speed":28,"hex_longitude":"2d7aa600","hex_latitude":"05ebb008","is_valid_coordinates":true} 
[2026-06-23 08:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239340032001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96318309514870784,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847251124655069184,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782184936000,"timestamp_ms":1782184936000,"timestamp_seconds":1782184936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2800240"} 
[2026-06-23 08:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:08] 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-06-23 08:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:08] 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-06-23 08:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239340032001,"66":13102,"155":206,"87":13824,"24":28,"16":96318309514870784,"45":8847251124655069184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-23 08:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239340032001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 08:54:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96318309514870784,"km_value":96318309514870.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847251124655069184,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239340032001,"power":13102,"unknown_155":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8847251124655069184}} 
[2026-06-23 08:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":110749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:08] local.INFO: GPS data processed {"connection_id":110749,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:08] local.INFO: Acknowledgment sent {"connection_id":110749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:10] local.INFO: TCP Data received {"connection_id":110748,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2806fa0012cb368000781a590004b01382d..."} 
[2026-06-23 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2806fa0012cb368000781a590004b01382d..."} 
[2026-06-23 08:54:10] local.INFO: Processing buffer {"connection_id":110748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2806fa0012cb368000781a590004b01382d..."} 
[2026-06-23 08:54:10] local.INFO: Packet analysis {"connection_id":110748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:10] local.INFO: Extracted packet for processing {"connection_id":110748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749955072,"raw_latitude":125937040,"longitude_deg":74.9955072,"latitude_deg":12.593704,"altitude":75,"angle":312,"satellites":45,"speed":55,"hex_longitude":"2cb36800","hex_latitude":"0781a590","is_valid_coordinates":true} 
[2026-06-23 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239348992001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321285969175117824,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5511631855477166080,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782184964000,"timestamp_ms":1782184964000,"timestamp_seconds":1782184964,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2806fa0"} 
[2026-06-23 08:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54: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-06-23 08:54:10] local.INFO: IO Element 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-06-23 08:54:10] 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-06-23 08:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239348992001,"66":27908,"28":206,"27":54016,"24":55,"16":321285969175117824,"44":-5511631855477166080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 08:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239348992001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321285969175117824,"km_value":321285969175117.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5511631855477166080,"description":"Unknown IO ID 44"} 
[2026-06-23 08:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239348992001,"power":27908,"unknown_28":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-5511631855477166080}} 
[2026-06-23 08:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":110748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:10] local.INFO: GPS data processed {"connection_id":110748,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:10] local.INFO: Acknowledgment sent {"connection_id":110748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:13] local.INFO: TCP Data received {"connection_id":110749,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2805060012d7a8a4005eba558000600ff24..."} 
[2026-06-23 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2805060012d7a8a4005eba558000600ff24..."} 
[2026-06-23 08:54:13] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2805060012d7a8a4005eba558000600ff24..."} 
[2026-06-23 08:54:13] local.INFO: Packet analysis {"connection_id":110749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:13] local.INFO: Extracted packet for processing {"connection_id":110749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763005504,"raw_latitude":99329368,"longitude_deg":76.3005504,"latitude_deg":9.9329368,"altitude":6,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d7a8a40","hex_latitude":"05eba558","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239343616001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96318678882058240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837751344190195712,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782184956000,"timestamp_ms":1782184956000,"timestamp_seconds":1782184956,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2805060"} 
[2026-06-23 08:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:13] 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-06-23 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:13] 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-06-23 08: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-06-23 08:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":110749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":110749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":110749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 08:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 08:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 08:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239343616001,"66":12809,"155":206,"87":13824,"24":0,"16":96318678882058240,"45":8837751344190195712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-23 08:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 08:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 08:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239343616001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 08:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 08:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96318678882058240,"km_value":96318678882058.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837751344190195712,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239343616001,"power":12809,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8837751344190195712}} 
[2026-06-23 08:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":110749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:13] local.INFO: GPS data processed {"connection_id":110749,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:13] local.INFO: Acknowledgment sent {"connection_id":110749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:19] local.INFO: TCP Data received {"connection_id":112315,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:19] local.INFO: Processing buffer {"connection_id":112315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:19] local.INFO: Packet analysis {"connection_id":112315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:19] local.INFO: Extracted packet for processing {"connection_id":112315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:19] 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-06-23 08:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:19] 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-06-23 08:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":112315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:19] local.INFO: GPS data processed {"connection_id":112315,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:19] local.INFO: Acknowledgment sent {"connection_id":112315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:20] local.INFO: TCP Data received {"connection_id":112317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:20] local.INFO: Processing buffer {"connection_id":112317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:20] local.INFO: IMEI packet received {"connection_id":112317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":112317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:54:21] local.INFO: TCP Data received {"connection_id":112317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:21] local.INFO: Processing buffer {"connection_id":112317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:21] local.INFO: IMEI packet received {"connection_id":112317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":112317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:22] local.INFO: TCP Data received {"connection_id":112316,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:54:22] local.INFO: Processing buffer {"connection_id":112316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:54:22] local.INFO: IMEI packet received {"connection_id":112316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":112316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:54:23] local.INFO: TCP Data received {"connection_id":112317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:23] local.INFO: Processing buffer {"connection_id":112317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:54:23] local.INFO: IMEI packet received {"connection_id":112317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":112317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:23] local.INFO: TCP Data received {"connection_id":112317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2818cc8012d0ce08007074d88002700db1b..."} 
[2026-06-23 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2818cc8012d0ce08007074d88002700db1b..."} 
[2026-06-23 08:54:23] local.INFO: Processing buffer {"connection_id":112317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2818cc8012d0ce08007074d88002700db1b..."} 
[2026-06-23 08:54:23] local.INFO: Packet analysis {"connection_id":112317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:23] local.INFO: Extracted packet for processing {"connection_id":112317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755818624,"raw_latitude":117919112,"longitude_deg":75.5818624,"latitude_deg":11.7919112,"altitude":39,"angle":219,"satellites":27,"speed":17,"hex_longitude":"2d0ce080","hex_latitude":"07074d88","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239368704001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21800188842606592,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928585978356066304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54: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-06-23 08:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782185037000,"timestamp_ms":1782185037000,"timestamp_seconds":1782185037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2818cc8"} 
[2026-06-23 08:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54: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-06-23 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:23] 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-06-23 08: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-06-23 08:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":112317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":112317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":112317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239368704001,"66":14439,"221":206,"94":10240,"24":17,"16":21800188842606592,"45":928585978356066304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239368704001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21800188842606592,"km_value":21800188842606.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":928585978356066304,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239368704001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":928585978356066304}} 
[2026-06-23 08:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":112317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:24] local.INFO: GPS data processed {"connection_id":112317,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:24] local.INFO: Acknowledgment sent {"connection_id":112317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:24] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:54:24] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:54:24] local.INFO: IMEI packet received {"connection_id":110575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":110575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:54:29] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:54:29] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:54:29] local.INFO: IMEI packet received {"connection_id":110575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":110575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:31] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2807b58012cb35a400781af780049012a2b..."} 
[2026-06-23 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2807b58012cb35a400781af780049012a2b..."} 
[2026-06-23 08:54:31] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2807b58012cb35a400781af780049012a2b..."} 
[2026-06-23 08:54:31] local.INFO: Packet analysis {"connection_id":110575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:31] local.INFO: Extracted packet for processing {"connection_id":110575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef280"} 
[2026-06-23 08:54:31] local.INFO: GPS Element Parsed {"raw_longitude":749951552,"raw_latitude":125939576,"longitude_deg":74.9951552,"latitude_deg":12.5939576,"altitude":73,"angle":298,"satellites":43,"speed":58,"hex_longitude":"2cb35a40","hex_latitude":"0781af78","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239350784001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321286175333548032,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519161311102660608,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782184967000,"timestamp_ms":1782184967000,"timestamp_seconds":1782184967,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2807b58"} 
[2026-06-23 08:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:31] 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-06-23 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:31] 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-06-23 08: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-06-23 08:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239350784001,"66":27745,"28":206,"27":54016,"24":58,"16":321286175333548032,"44":-5519161311102660608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 08:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239350784001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 08:54:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321286175333548032,"km_value":321286175333548.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519161311102660608,"description":"Unknown IO ID 44"} 
[2026-06-23 08:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239350784001,"power":27745,"unknown_28":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-5519161311102660608}} 
[2026-06-23 08:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":110575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:31] local.INFO: GPS data processed {"connection_id":110575,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:31] local.INFO: Acknowledgment sent {"connection_id":110575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:48] local.INFO: TCP Data received {"connection_id":112318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:54:48] local.INFO: Processing buffer {"connection_id":112318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:54:48] local.INFO: IMEI packet received {"connection_id":112318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":112318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:54:53] local.INFO: TCP Data received {"connection_id":110576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:53] local.INFO: Processing buffer {"connection_id":110576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:53] local.INFO: IMEI packet received {"connection_id":110576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":110576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:54:53] local.INFO: TCP Data received {"connection_id":112318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:54:53] local.INFO: Processing buffer {"connection_id":112318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:54:53] local.INFO: IMEI packet received {"connection_id":112318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":112318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:53] local.INFO: TCP Data received {"connection_id":112318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:53] local.INFO: Processing buffer {"connection_id":112318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:53] local.INFO: Packet analysis {"connection_id":112318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:53] local.INFO: Extracted packet for processing {"connection_id":112318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:53] 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-06-23 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:53] 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-06-23 08: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-06-23 08:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:54:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":112318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:54] local.INFO: GPS data processed {"connection_id":112318,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:54] local.INFO: Acknowledgment sent {"connection_id":112318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:54] local.INFO: TCP Data received {"connection_id":110576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:54] local.INFO: Processing buffer {"connection_id":110576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:54] local.INFO: IMEI packet received {"connection_id":110576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":110576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:55] local.INFO: TCP Data received {"connection_id":110576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:55] local.INFO: Processing buffer {"connection_id":110576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:55] local.INFO: IMEI packet received {"connection_id":110576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":110576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:55] local.INFO: TCP Data received {"connection_id":112317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28190b0012d0cdf0007074cc0002700ef1b..."} 
[2026-06-23 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28190b0012d0cdf0007074cc0002700ef1b..."} 
[2026-06-23 08:54:55] local.INFO: Processing buffer {"connection_id":112317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28190b0012d0cdf0007074cc0002700ef1b..."} 
[2026-06-23 08:54:55] local.INFO: Packet analysis {"connection_id":112317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:55] local.INFO: Extracted packet for processing {"connection_id":112317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:55] local.INFO: GPS Element Parsed {"raw_longitude":755818240,"raw_latitude":117918912,"longitude_deg":75.581824,"latitude_deg":11.7918912,"altitude":39,"angle":239,"satellites":27,"speed":17,"hex_longitude":"2d0cdf00","hex_latitude":"07074cc0","is_valid_coordinates":true} 
[2026-06-23 08:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239369472001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21800210317443072,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927882290913970176,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54: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-06-23 08:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782185038000,"timestamp_ms":1782185038000,"timestamp_seconds":1782185038,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28190b0"} 
[2026-06-23 08:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:55] 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-06-23 08:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239369472001,"66":14439,"221":206,"94":10240,"24":17,"16":21800210317443072,"45":927882290913970176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239369472001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:54:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21800210317443072,"km_value":21800210317443.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":927882290913970176,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239369472001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":927882290913970176}} 
[2026-06-23 08:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":112317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:55] local.INFO: GPS data processed {"connection_id":112317,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:55] local.INFO: Acknowledgment sent {"connection_id":112317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:54:57] local.INFO: TCP Data received {"connection_id":110576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:57] local.INFO: Processing buffer {"connection_id":110576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 08:54:57] local.INFO: IMEI packet received {"connection_id":110576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 08:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":110576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:54:58] local.INFO: TCP Data received {"connection_id":112318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:58] local.INFO: Processing buffer {"connection_id":112318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:54:58] local.INFO: Packet analysis {"connection_id":112318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:58] local.INFO: Extracted packet for processing {"connection_id":112318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:54: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-06-23 08:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:54:58] 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-06-23 08:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:54:58] 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-06-23 08:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:54:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":112318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:54:58] local.INFO: GPS data processed {"connection_id":112318,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:54:58] local.INFO: Acknowledgment sent {"connection_id":112318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:55:02] local.INFO: TCP Data received {"connection_id":110575,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef281d700012cb29e40078228480049001d2d..."} 
[2026-06-23 08:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef281d700012cb29e40078228480049001d2d..."} 
[2026-06-23 08:55:02] local.INFO: Processing buffer {"connection_id":110575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef281d700012cb29e40078228480049001d2d..."} 
[2026-06-23 08:55:02] local.INFO: Packet analysis {"connection_id":110575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:02] local.INFO: Extracted packet for processing {"connection_id":110575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:02] local.INFO: GPS Element Parsed {"raw_longitude":749903424,"raw_latitude":125970504,"longitude_deg":74.9903424,"latitude_deg":12.5970504,"altitude":73,"angle":29,"satellites":45,"speed":18,"hex_longitude":"2cb29e40","hex_latitude":"07822848","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239373056001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289284889870336,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577637737506201600,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185056000,"timestamp_ms":1782185056000,"timestamp_seconds":1782185056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef281d700"} 
[2026-06-23 08:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:55:02] 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-06-23 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:55:02] 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-06-23 08: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-06-23 08:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239373056001,"66":28028,"87":206,"27":54016,"24":18,"16":321289284889870336,"44":-5577637737506201600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 08:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239373056001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:55:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289284889870336,"km_value":321289284889870.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577637737506201600,"description":"Unknown IO ID 44"} 
[2026-06-23 08:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239373056001,"power":28028,"unknown_87":206,"unknown_27":54016,"ignition":18,"odometer":null,"unknown_44":-5577637737506201600}} 
[2026-06-23 08:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":110575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:55:02] local.INFO: GPS data processed {"connection_id":110575,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:55:02] local.INFO: Acknowledgment sent {"connection_id":110575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:55:08] local.INFO: TCP Data received {"connection_id":110577,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:55:08] local.INFO: Processing buffer {"connection_id":110577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 08:55:08] local.INFO: IMEI packet received {"connection_id":110577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 08:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":110577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:55:16] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:55:16] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:55:16] local.INFO: IMEI packet received {"connection_id":110578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":110578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:55:22] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:55:22] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:55:22] local.INFO: IMEI packet received {"connection_id":110578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":110578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:55:23] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2819498012d0cdd4007074c80002700fc1b..."} 
[2026-06-23 08:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2819498012d0cdd4007074c80002700fc1b..."} 
[2026-06-23 08:55:23] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2819498012d0cdd4007074c80002700fc1b..."} 
[2026-06-23 08:55:23] local.INFO: Packet analysis {"connection_id":110578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:23] local.INFO: Extracted packet for processing {"connection_id":110578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:23] local.INFO: GPS Element Parsed {"raw_longitude":755817792,"raw_latitude":117918848,"longitude_deg":75.5817792,"latitude_deg":11.7918848,"altitude":39,"angle":252,"satellites":27,"speed":15,"hex_longitude":"2d0cdd40","hex_latitude":"07074c80","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239369728001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21800231792279552,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448852992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55: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-06-23 08:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782185039000,"timestamp_ms":1782185039000,"timestamp_seconds":1782185039,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2819498"} 
[2026-06-23 08:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:55: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-06-23 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:55: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-06-23 08: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-06-23 08:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239369728001,"66":14396,"221":206,"94":10240,"24":15,"16":21800231792279552,"45":927460078448852992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239369728001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:55:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:55:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21800231792279552,"km_value":21800231792279.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448852992,"description":"Unknown IO ID 45"} 
[2026-06-23 08:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239369728001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":927460078448852992}} 
[2026-06-23 08:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":110578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:55:23] local.INFO: GPS data processed {"connection_id":110578,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:55:23] local.INFO: Acknowledgment sent {"connection_id":110578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:55:24] local.INFO: TCP Data received {"connection_id":111378,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:55:24] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:55:24] local.INFO: IMEI packet received {"connection_id":111378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":111378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:55:30] local.INFO: TCP Data received {"connection_id":111378,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:55:30] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:55:30] local.INFO: IMEI packet received {"connection_id":111378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":111378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:55:31] local.INFO: TCP Data received {"connection_id":111378,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef281ee70012cb2a24007823000004900092d..."} 
[2026-06-23 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef281ee70012cb2a24007823000004900092d..."} 
[2026-06-23 08:55:31] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef281ee70012cb2a24007823000004900092d..."} 
[2026-06-23 08:55:31] local.INFO: Packet analysis {"connection_id":111378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:31] local.INFO: Extracted packet for processing {"connection_id":111378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:31] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125972480,"longitude_deg":74.9904448,"latitude_deg":12.597248,"altitude":73,"angle":9,"satellites":45,"speed":10,"hex_longitude":"2cb2a240","hex_latitude":"07823000","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239374336001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289392264052736,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575948887645468672,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185062000,"timestamp_ms":1782185062000,"timestamp_seconds":1782185062,"priority":1,"record_length":96,"hex_timestamp":"0000019ef281ee70"} 
[2026-06-23 08:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:55:31] 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-06-23 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 08:55:31] 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-06-23 08: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-06-23 08:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239374336001,"66":28006,"87":206,"27":54016,"24":10,"16":321289392264052736,"44":-5575948887645468672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 08:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239374336001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289392264052736,"km_value":321289392264052.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575948887645468672,"description":"Unknown IO ID 44"} 
[2026-06-23 08:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239374336001,"power":28006,"unknown_87":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5575948887645468672}} 
[2026-06-23 08:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":111378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:55:31] local.INFO: GPS data processed {"connection_id":111378,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:55:31] local.INFO: Acknowledgment sent {"connection_id":111378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:55:43] local.INFO: TCP Data received {"connection_id":112319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:55:43] local.INFO: Processing buffer {"connection_id":112319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:55:43] local.INFO: IMEI packet received {"connection_id":112319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":112319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:55:48] local.INFO: TCP Data received {"connection_id":112319,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:55:48] local.INFO: Processing buffer {"connection_id":112319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:55:48] local.INFO: IMEI packet received {"connection_id":112319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":112319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:55:49] local.INFO: TCP Data received {"connection_id":112319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:55:49] local.INFO: Processing buffer {"connection_id":112319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:55:49] local.INFO: Packet analysis {"connection_id":112319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:49] local.INFO: Extracted packet for processing {"connection_id":112319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:55:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":112319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:55:49] local.INFO: GPS data processed {"connection_id":112319,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:55:49] local.INFO: Acknowledgment sent {"connection_id":112319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:55:54] local.INFO: TCP Data received {"connection_id":110578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2819880012d0cdb8007074ca0002701091b..."} 
[2026-06-23 08:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2819880012d0cdb8007074ca0002701091b..."} 
[2026-06-23 08:55:54] local.INFO: Processing buffer {"connection_id":110578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2819880012d0cdb8007074ca0002701091b..."} 
[2026-06-23 08:55:54] local.INFO: Packet analysis {"connection_id":110578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:54] local.INFO: Extracted packet for processing {"connection_id":110578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:55:54] local.INFO: GPS Element Parsed {"raw_longitude":755817344,"raw_latitude":117918880,"longitude_deg":75.5817344,"latitude_deg":11.791888,"altitude":39,"angle":265,"satellites":27,"speed":16,"hex_longitude":"2d0cdb80","hex_latitude":"07074ca0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239369984001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21800253267116032,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926967497239592960,"note":"Value kept but may cause issues"} 
[2026-06-23 08:55: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-06-23 08:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782185040000,"timestamp_ms":1782185040000,"timestamp_seconds":1782185040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2819880"} 
[2026-06-23 08:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 08:55: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-06-23 08: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-06-23 08:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":110578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":110578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":110578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239369984001,"66":14396,"221":206,"94":10240,"24":16,"16":21800253267116032,"45":926967497239592960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239369984001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:55:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:55:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21800253267116032,"km_value":21800253267116.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":926967497239592960,"description":"Unknown IO ID 45"} 
[2026-06-23 08:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239369984001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":926967497239592960}} 
[2026-06-23 08:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":110578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:55:54] local.INFO: GPS data processed {"connection_id":110578,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:55:54] local.INFO: Acknowledgment sent {"connection_id":110578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:56:03] local.INFO: TCP Data received {"connection_id":111378,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef281f258012cb2a240078230e8004901642d..."} 
[2026-06-23 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef281f258012cb2a240078230e8004901642d..."} 
[2026-06-23 08:56:03] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef281f258012cb2a240078230e8004901642d..."} 
[2026-06-23 08:56:03] local.INFO: Packet analysis {"connection_id":111378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:56:03] local.INFO: Extracted packet for processing {"connection_id":111378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125972712,"longitude_deg":74.9904448,"latitude_deg":12.5972712,"altitude":73,"angle":356,"satellites":45,"speed":7,"hex_longitude":"2cb2a240","hex_latitude":"078230e8","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239375872001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289405148954624,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987738120192,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185063000,"timestamp_ms":1782185063000,"timestamp_seconds":1782185063,"priority":1,"record_length":96,"hex_timestamp":"0000019ef281f258"} 
[2026-06-23 08:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:56:03] 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-06-23 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:56:03] 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-06-23 08: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-06-23 08:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239375872001,"66":28006,"87":206,"27":54016,"24":7,"16":321289405148954624,"44":-5574822987738120192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 08:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239375872001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:56:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289405148954624,"km_value":321289405148954.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987738120192,"description":"Unknown IO ID 44"} 
[2026-06-23 08:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239375872001,"power":28006,"unknown_87":206,"unknown_27":54016,"ignition":7,"odometer":null,"unknown_44":-5574822987738120192}} 
[2026-06-23 08:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":111378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:56:03] local.INFO: GPS data processed {"connection_id":111378,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:56:03] local.INFO: Acknowledgment sent {"connection_id":111378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:56:16] local.INFO: TCP Data received {"connection_id":110752,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:56:16] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:56:16] local.INFO: IMEI packet received {"connection_id":110752,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":110752,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:56:20] local.INFO: TCP Data received {"connection_id":112319,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:56:20] local.INFO: Processing buffer {"connection_id":112319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:56:20] local.INFO: Packet analysis {"connection_id":112319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:56:20] local.INFO: Extracted packet for processing {"connection_id":112319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:56:20] 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-06-23 08:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:56:20] 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-06-23 08:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:56:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":112319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:56:20] local.INFO: GPS data processed {"connection_id":112319,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:56:20] local.INFO: Acknowledgment sent {"connection_id":112319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:56:21] local.INFO: TCP Data received {"connection_id":110752,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:56:21] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:56:21] local.INFO: IMEI packet received {"connection_id":110752,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":110752,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:56:22] local.INFO: TCP Data received {"connection_id":110752,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2836570012d0cab00070776b8002601461f..."} 
[2026-06-23 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2836570012d0cab00070776b8002601461f..."} 
[2026-06-23 08:56:22] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2836570012d0cab00070776b8002601461f..."} 
[2026-06-23 08:56:22] local.INFO: Packet analysis {"connection_id":110752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:56:22] local.INFO: Extracted packet for processing {"connection_id":110752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755804928,"raw_latitude":117929656,"longitude_deg":75.5804928,"latitude_deg":11.7929656,"altitude":38,"angle":326,"satellites":31,"speed":8,"hex_longitude":"2d0cab00","hex_latitude":"070776b8","is_valid_coordinates":true} 
[2026-06-23 08:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239400192001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21801189569986560,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912964117150957568,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56: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-06-23 08:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185158000,"timestamp_ms":1782185158000,"timestamp_seconds":1782185158,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2836570"} 
[2026-06-23 08:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:56:22] 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-06-23 08:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239400192001,"66":14439,"221":206,"94":10240,"24":8,"16":21801189569986560,"45":912964117150957568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239400192001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:56:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:56:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21801189569986560,"km_value":21801189569986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":912964117150957568,"description":"Unknown IO ID 45"} 
[2026-06-23 08:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239400192001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":912964117150957568}} 
[2026-06-23 08:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":110752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:56:22] local.INFO: GPS data processed {"connection_id":110752,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:56:22] local.INFO: Acknowledgment sent {"connection_id":110752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:56:24] local.INFO: TCP Data received {"connection_id":112320,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:24] local.INFO: Processing buffer {"connection_id":112320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:24] local.INFO: IMEI packet received {"connection_id":112320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":112320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:56:26] local.INFO: TCP Data received {"connection_id":112320,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:26] local.INFO: Processing buffer {"connection_id":112320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:26] local.INFO: IMEI packet received {"connection_id":112320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":112320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:56:30] local.INFO: TCP Data received {"connection_id":112320,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:30] local.INFO: Processing buffer {"connection_id":112320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:56:30] local.INFO: IMEI packet received {"connection_id":112320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":112320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:56:31] local.INFO: TCP Data received {"connection_id":112320,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2824460012cb2a2c007823218004900022c..."} 
[2026-06-23 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2824460012cb2a2c007823218004900022c..."} 
[2026-06-23 08:56:31] local.INFO: Processing buffer {"connection_id":112320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2824460012cb2a2c007823218004900022c..."} 
[2026-06-23 08:56:31] local.INFO: Packet analysis {"connection_id":112320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef282"} 
[2026-06-23 08:56:31] local.INFO: Extracted packet for processing {"connection_id":112320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef282"} 
[2026-06-23 08:56:31] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125973016,"longitude_deg":74.9904576,"latitude_deg":12.5973016,"altitude":73,"angle":2,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823218","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239376128001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289422328823808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987738060800,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185084000,"timestamp_ms":1782185084000,"timestamp_seconds":1782185084,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2824460"} 
[2026-06-23 08:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:56:31] 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-06-23 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:56:31] 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-06-23 08: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-06-23 08:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239376128001,"66":28006,"87":206,"27":54016,"24":0,"16":321289422328823808,"44":-5574822987738060800},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 08:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239376128001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289422328823808,"km_value":321289422328823.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987738060800,"description":"Unknown IO ID 44"} 
[2026-06-23 08:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239376128001,"power":28006,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574822987738060800}} 
[2026-06-23 08:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":112320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:56:31] local.INFO: GPS data processed {"connection_id":112320,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:56:31] local.INFO: Acknowledgment sent {"connection_id":112320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:56:43] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:56:43] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:56:43] local.INFO: IMEI packet received {"connection_id":110579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":110579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:56:48] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:56:48] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:56:48] local.INFO: IMEI packet received {"connection_id":110579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":110579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:56:48] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:56:48] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:56:48] local.INFO: Packet analysis {"connection_id":110579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:56:48] local.INFO: Extracted packet for processing {"connection_id":110579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:56:48] 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-06-23 08:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:56:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":110579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:56:49] local.INFO: GPS data processed {"connection_id":110579,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:56:49] local.INFO: Acknowledgment sent {"connection_id":110579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:56:53] local.INFO: TCP Data received {"connection_id":110752,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2836958012d0caa4007077748002601311f..."} 
[2026-06-23 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2836958012d0caa4007077748002601311f..."} 
[2026-06-23 08:56:53] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2836958012d0caa4007077748002601311f..."} 
[2026-06-23 08:56:53] local.INFO: Packet analysis {"connection_id":110752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:56:53] local.INFO: Extracted packet for processing {"connection_id":110752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":755804736,"raw_latitude":117929800,"longitude_deg":75.5804736,"latitude_deg":11.79298,"altitude":38,"angle":305,"satellites":31,"speed":6,"hex_longitude":"2d0caa40","hex_latitude":"07077748","is_valid_coordinates":true} 
[2026-06-23 08:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239400448001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21801198159921152,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912823379662649344,"note":"Value kept but may cause issues"} 
[2026-06-23 08:56:53] 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-06-23 08:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185159000,"timestamp_ms":1782185159000,"timestamp_seconds":1782185159,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2836958"} 
[2026-06-23 08:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 08:56:53] 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-06-23 08:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110752,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239400448001,"66":14439,"221":206,"94":10240,"24":6,"16":21801198159921152,"45":912823379662649344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239400448001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21801198159921152,"km_value":21801198159921.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":912823379662649344,"description":"Unknown IO ID 45"} 
[2026-06-23 08:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239400448001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":912823379662649344}} 
[2026-06-23 08:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":110752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:56:53] local.INFO: GPS data processed {"connection_id":110752,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:56:53] local.INFO: Acknowledgment sent {"connection_id":110752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:57:03] local.INFO: TCP Data received {"connection_id":112320,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2829668012cb2a2c007823218004900022a..."} 
[2026-06-23 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2829668012cb2a2c007823218004900022a..."} 
[2026-06-23 08:57:03] local.INFO: Processing buffer {"connection_id":112320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2829668012cb2a2c007823218004900022a..."} 
[2026-06-23 08:57:03] local.INFO: Packet analysis {"connection_id":112320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef282"} 
[2026-06-23 08:57:03] local.INFO: Extracted packet for processing {"connection_id":112320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef282"} 
[2026-06-23 08:57:03] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125973016,"longitude_deg":74.9904576,"latitude_deg":12.5973016,"altitude":73,"angle":2,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823218","is_valid_coordinates":true} 
[2026-06-23 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-06-23 08:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239381504001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289422328823808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249627648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185105000,"timestamp_ms":1782185105000,"timestamp_seconds":1782185105,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2829668"} 
[2026-06-23 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-06-23 08:57:03] 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-06-23 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 08:57:03] 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-06-23 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-06-23 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-06-23 08:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239381504001,"66":28028,"87":206,"27":54016,"24":0,"16":321289422328823808,"44":-5574682250249627648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 08:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239381504001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:57:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:57:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289422328823808,"km_value":321289422328823.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249627648,"description":"Unknown IO ID 44"} 
[2026-06-23 08:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239381504001,"power":28028,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574682250249627648}} 
[2026-06-23 08:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":112320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:57:03] local.INFO: GPS data processed {"connection_id":112320,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:57:03] local.INFO: Acknowledgment sent {"connection_id":112320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:57:16] local.INFO: TCP Data received {"connection_id":110581,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:16] local.INFO: Processing buffer {"connection_id":110581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:16] local.INFO: IMEI packet received {"connection_id":110581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":110581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:57:17] local.INFO: TCP Data received {"connection_id":110581,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:17] local.INFO: Processing buffer {"connection_id":110581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:17] local.INFO: IMEI packet received {"connection_id":110581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":110581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:57:18] local.INFO: TCP Data received {"connection_id":110581,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:18] local.INFO: Processing buffer {"connection_id":110581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:18] local.INFO: IMEI packet received {"connection_id":110581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":110581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:57:19] local.INFO: TCP Data received {"connection_id":110581,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:19] local.INFO: Processing buffer {"connection_id":110581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:57:19] local.INFO: IMEI packet received {"connection_id":110581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":110581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:57:19] local.INFO: TCP Data received {"connection_id":110581,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2844fd0012d0c498007077590001001091e..."} 
[2026-06-23 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2844fd0012d0c498007077590001001091e..."} 
[2026-06-23 08:57:19] local.INFO: Processing buffer {"connection_id":110581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2844fd0012d0c498007077590001001091e..."} 
[2026-06-23 08:57:19] local.INFO: Packet analysis {"connection_id":110581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef284"} 
[2026-06-23 08:57:19] local.INFO: Extracted packet for processing {"connection_id":110581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef284"} 
[2026-06-23 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":755779968,"raw_latitude":117929360,"longitude_deg":75.5779968,"latitude_deg":11.792936,"altitude":16,"angle":265,"satellites":30,"speed":42,"hex_longitude":"2d0c4980","hex_latitude":"07077590","is_valid_coordinates":true} 
[2026-06-23 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239412224001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21802405045731328,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896497831013511168,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:19] 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-06-23 08:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185218000,"timestamp_ms":1782185218000,"timestamp_seconds":1782185218,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2844fd0"} 
[2026-06-23 08:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 08:57:19] 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-06-23 08:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239412224001,"66":14407,"221":206,"94":10240,"24":42,"16":21802405045731328,"45":896497831013511168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239412224001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:57:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:57:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21802405045731328,"km_value":21802405045731.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":896497831013511168,"description":"Unknown IO ID 45"} 
[2026-06-23 08:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239412224001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":896497831013511168}} 
[2026-06-23 08:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":110581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:57:20] local.INFO: GPS data processed {"connection_id":110581,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:57:20] local.INFO: Acknowledgment sent {"connection_id":110581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:57:20] local.INFO: TCP Data received {"connection_id":110579,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:57:20] local.INFO: Processing buffer {"connection_id":110579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:57:20] local.INFO: Packet analysis {"connection_id":110579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:57:20] local.INFO: Extracted packet for processing {"connection_id":110579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:57:20] 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-06-23 08:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:57:20] 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-06-23 08:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:57:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":110579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:57:20] local.INFO: GPS data processed {"connection_id":110579,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:57:20] local.INFO: Acknowledgment sent {"connection_id":110579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:57:24] local.INFO: TCP Data received {"connection_id":110755,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:57:24] local.INFO: Processing buffer {"connection_id":110755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:57:24] local.INFO: IMEI packet received {"connection_id":110755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":110755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:57:29] local.INFO: TCP Data received {"connection_id":110755,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:57:29] local.INFO: Processing buffer {"connection_id":110755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:57:29] local.INFO: IMEI packet received {"connection_id":110755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":110755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:57:30] local.INFO: TCP Data received {"connection_id":110755,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef282ec58012cb2a2c0078232180049000229..."} 
[2026-06-23 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef282ec58012cb2a2c0078232180049000229..."} 
[2026-06-23 08:57:30] local.INFO: Processing buffer {"connection_id":110755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef282ec58012cb2a2c0078232180049000229..."} 
[2026-06-23 08:57:30] local.INFO: Packet analysis {"connection_id":110755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef282"} 
[2026-06-23 08:57:30] local.INFO: Extracted packet for processing {"connection_id":110755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef282"} 
[2026-06-23 08:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125973016,"longitude_deg":74.9904576,"latitude_deg":12.5973016,"altitude":73,"angle":2,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823218","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239386880001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289422328823808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249627648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782185127000,"timestamp_ms":1782185127000,"timestamp_seconds":1782185127,"priority":1,"record_length":96,"hex_timestamp":"0000019ef282ec58"} 
[2026-06-23 08:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:57:30] 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-06-23 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 08:57:30] 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-06-23 08: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-06-23 08:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239386880001,"66":27865,"87":206,"27":54016,"24":0,"16":321289422328823808,"44":-5574682250249627648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 08:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239386880001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 08:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289422328823808,"km_value":321289422328823.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249627648,"description":"Unknown IO ID 44"} 
[2026-06-23 08:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239386880001,"power":27865,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574682250249627648}} 
[2026-06-23 08:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":110755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:57:30] local.INFO: GPS data processed {"connection_id":110755,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:57:30] local.INFO: Acknowledgment sent {"connection_id":110755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:57:42] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:57:42] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:57:42] local.INFO: IMEI packet received {"connection_id":110582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":110582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:57:48] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:57:48] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:57:48] local.INFO: IMEI packet received {"connection_id":110582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":110582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:57:48] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:57:48] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:57:48] local.INFO: Packet analysis {"connection_id":110582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:57:48] local.INFO: Extracted packet for processing {"connection_id":110582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:57:48] 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-06-23 08:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":110582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:57:49] local.INFO: GPS data processed {"connection_id":110582,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:57:49] local.INFO: Acknowledgment sent {"connection_id":110582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:57:51] local.INFO: TCP Data received {"connection_id":110581,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef284c8e8012d0c06c007075118000e010b1f..."} 
[2026-06-23 08:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef284c8e8012d0c06c007075118000e010b1f..."} 
[2026-06-23 08:57:51] local.INFO: Processing buffer {"connection_id":110581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef284c8e8012d0c06c007075118000e010b1f..."} 
[2026-06-23 08:57:51] local.INFO: Packet analysis {"connection_id":110581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef284"} 
[2026-06-23 08:57:51] local.INFO: Extracted packet for processing {"connection_id":110581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef284"} 
[2026-06-23 08:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755762880,"raw_latitude":117920024,"longitude_deg":75.576288,"latitude_deg":11.7920024,"altitude":14,"angle":267,"satellites":31,"speed":39,"hex_longitude":"2d0c06c0","hex_latitude":"07075118","is_valid_coordinates":true} 
[2026-06-23 08:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239421440001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21803564686901248,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876583476408903680,"note":"Value kept but may cause issues"} 
[2026-06-23 08:57:51] 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-06-23 08:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782185249000,"timestamp_ms":1782185249000,"timestamp_seconds":1782185249,"priority":1,"record_length":96,"hex_timestamp":"0000019ef284c8e8"} 
[2026-06-23 08:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-23 08:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239421440001,"66":14428,"221":206,"94":10240,"24":39,"16":21803564686901248,"45":876583476408903680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239421440001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:57:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21803564686901248,"km_value":21803564686901.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":876583476408903680,"description":"Unknown IO ID 45"} 
[2026-06-23 08:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239421440001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":876583476408903680}} 
[2026-06-23 08:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":110581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:57:51] local.INFO: GPS data processed {"connection_id":110581,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:57:51] local.INFO: Acknowledgment sent {"connection_id":110581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:02] local.INFO: TCP Data received {"connection_id":110755,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2833a78012cb2a2c007823218004900022b..."} 
[2026-06-23 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2833a78012cb2a2c007823218004900022b..."} 
[2026-06-23 08:58:02] local.INFO: Processing buffer {"connection_id":110755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2833a78012cb2a2c007823218004900022b..."} 
[2026-06-23 08:58:02] local.INFO: Packet analysis {"connection_id":110755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:58:02] local.INFO: Extracted packet for processing {"connection_id":110755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125973016,"longitude_deg":74.9904576,"latitude_deg":12.5973016,"altitude":73,"angle":2,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823218","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239392512001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289422328823808,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249627648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185147000,"timestamp_ms":1782185147000,"timestamp_seconds":1782185147,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2833a78"} 
[2026-06-23 08:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58:02] 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-06-23 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:02] 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-06-23 08: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-06-23 08:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239392512001,"66":27332,"126":206,"27":54016,"24":0,"16":321289422328823808,"44":-5574682250249627648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 08:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239392512001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289422328823808,"km_value":321289422328823.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249627648,"description":"Unknown IO ID 44"} 
[2026-06-23 08:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239392512001,"power":27332,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574682250249627648}} 
[2026-06-23 08:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":110755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:02] local.INFO: GPS data processed {"connection_id":110755,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:02] local.INFO: Acknowledgment sent {"connection_id":110755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:16] local.INFO: TCP Data received {"connection_id":110584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:16] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:16] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:58:18] local.INFO: TCP Data received {"connection_id":110584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:18] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:18] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:58:19] local.INFO: TCP Data received {"connection_id":110582,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:58:19] local.INFO: Processing buffer {"connection_id":110582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:58:19] local.INFO: Packet analysis {"connection_id":110582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:58:19] local.INFO: Extracted packet for processing {"connection_id":110582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58:19] 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-06-23 08:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:19] 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-06-23 08:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":110582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:19] local.INFO: GPS data processed {"connection_id":110582,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:19] local.INFO: Acknowledgment sent {"connection_id":110582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:20] local.INFO: TCP Data received {"connection_id":110584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:20] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:58:20] local.INFO: IMEI packet received {"connection_id":110584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":110584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:58:21] local.INFO: TCP Data received {"connection_id":110584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef284d4a0012d0bf98007074de0000d00ff1e..."} 
[2026-06-23 08:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef284d4a0012d0bf98007074de0000d00ff1e..."} 
[2026-06-23 08:58:21] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef284d4a0012d0bf98007074de0000d00ff1e..."} 
[2026-06-23 08:58:21] local.INFO: Packet analysis {"connection_id":110584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef284"} 
[2026-06-23 08:58:21] local.INFO: Extracted packet for processing {"connection_id":110584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef284"} 
[2026-06-23 08:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755759488,"raw_latitude":117919200,"longitude_deg":75.5759488,"latitude_deg":11.79192,"altitude":13,"angle":255,"satellites":30,"speed":46,"hex_longitude":"2d0bf980","hex_latitude":"07074de0","is_valid_coordinates":true} 
[2026-06-23 08:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239423744001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21803727895658496,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866591114735458304,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:21] 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-06-23 08:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782185252000,"timestamp_ms":1782185252000,"timestamp_seconds":1782185252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef284d4a0"} 
[2026-06-23 08:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:21] 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-06-23 08:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239423744001,"66":14407,"221":206,"94":10240,"24":46,"16":21803727895658496,"45":866591114735458304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 08:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239423744001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 08:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21803727895658496,"km_value":21803727895658.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":866591114735458304,"description":"Unknown IO ID 45"} 
[2026-06-23 08:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239423744001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":866591114735458304}} 
[2026-06-23 08:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":110584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:21] local.INFO: GPS data processed {"connection_id":110584,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:21] local.INFO: Acknowledgment sent {"connection_id":110584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:29] local.INFO: TCP Data received {"connection_id":112321,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:58:29] local.INFO: Processing buffer {"connection_id":112321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:58:29] local.INFO: IMEI packet received {"connection_id":112321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":112321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:58:35] local.INFO: TCP Data received {"connection_id":112321,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:58:35] local.INFO: Processing buffer {"connection_id":112321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:58:35] local.INFO: IMEI packet received {"connection_id":112321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":112321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:58:36] local.INFO: TCP Data received {"connection_id":112321,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2834e00012cb2a2c007823350004900122c..."} 
[2026-06-23 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2834e00012cb2a2c007823350004900122c..."} 
[2026-06-23 08:58:36] local.INFO: Processing buffer {"connection_id":112321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2834e00012cb2a2c007823350004900122c..."} 
[2026-06-23 08:58:36] local.INFO: Packet analysis {"connection_id":112321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:58:36] local.INFO: Extracted packet for processing {"connection_id":112321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125973328,"longitude_deg":74.9904576,"latitude_deg":12.5973328,"altitude":73,"angle":18,"satellites":44,"speed":7,"hex_longitude":"2cb2a2c0","hex_latitude":"07823350","is_valid_coordinates":true} 
[2026-06-23 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239397632001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289439508692992,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249627648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782185152000,"timestamp_ms":1782185152000,"timestamp_seconds":1782185152,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2834e00"} 
[2026-06-23 08:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58: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-06-23 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239397632001,"66":27908,"126":206,"27":54016,"24":7,"16":321289439508692992,"44":-5574682250249627648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 08:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239397632001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289439508692992,"km_value":321289439508693.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249627648,"description":"Unknown IO ID 44"} 
[2026-06-23 08:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239397632001,"power":27908,"unknown_126":206,"unknown_27":54016,"ignition":7,"odometer":null,"unknown_44":-5574682250249627648}} 
[2026-06-23 08:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":112321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:36] local.INFO: GPS data processed {"connection_id":112321,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:36] local.INFO: Acknowledgment sent {"connection_id":112321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:40] local.INFO: TCP Data received {"connection_id":112321,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28351e8012cb2a2c007823410004900022d..."} 
[2026-06-23 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28351e8012cb2a2c007823410004900022d..."} 
[2026-06-23 08:58:40] local.INFO: Processing buffer {"connection_id":112321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28351e8012cb2a2c007823410004900022d..."} 
[2026-06-23 08:58:40] local.INFO: Packet analysis {"connection_id":112321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:58:40] local.INFO: Extracted packet for processing {"connection_id":112321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:58:40] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125973520,"longitude_deg":74.9904576,"latitude_deg":12.597352,"altitude":73,"angle":2,"satellites":45,"speed":8,"hex_longitude":"2cb2a2c0","hex_latitude":"07823410","is_valid_coordinates":true} 
[2026-06-23 08:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239398912001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289448098627584,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249547776,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782185153000,"timestamp_ms":1782185153000,"timestamp_seconds":1782185153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28351e8"} 
[2026-06-23 08:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58: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-06-23 08:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:40] 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-06-23 08:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239398912001,"66":27365,"126":206,"27":54016,"24":8,"16":321289448098627584,"44":-5574682250249547776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 08:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239398912001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 08:58:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289448098627584,"km_value":321289448098627.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249547776,"description":"Unknown IO ID 44"} 
[2026-06-23 08:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239398912001,"power":27365,"unknown_126":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5574682250249547776}} 
[2026-06-23 08:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":112321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:40] local.INFO: GPS data processed {"connection_id":112321,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:40] local.INFO: Acknowledgment sent {"connection_id":112321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:42] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:58:42] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:58:42] local.INFO: IMEI packet received {"connection_id":110585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":110585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:58:48] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:58:48] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:58:48] local.INFO: IMEI packet received {"connection_id":110585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":110585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:58:48] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:58:48] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2814e48012d1820400721b2f8004b00d426..."} 
[2026-06-23 08:58:48] local.INFO: Packet analysis {"connection_id":110585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:58:48] local.INFO: Extracted packet for processing {"connection_id":110585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef281"} 
[2026-06-23 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539355648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185021000,"timestamp_ms":1782185021000,"timestamp_seconds":1782185021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2814e48"} 
[2026-06-23 08:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:48] 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-06-23 08:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239288064001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539355648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539355648,"description":"Unknown IO ID 45"} 
[2026-06-23 08:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239288064001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539355648}} 
[2026-06-23 08:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":110585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:49] local.INFO: GPS data processed {"connection_id":110585,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:49] local.INFO: Acknowledgment sent {"connection_id":110585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:58:52] local.INFO: TCP Data received {"connection_id":110584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef285cea0012d0b814007070db8001601091d..."} 
[2026-06-23 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef285cea0012d0b814007070db8001601091d..."} 
[2026-06-23 08:58:52] local.INFO: Processing buffer {"connection_id":110584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef285cea0012d0b814007070db8001601091d..."} 
[2026-06-23 08:58:52] local.INFO: Packet analysis {"connection_id":110584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:58:52] local.INFO: Extracted packet for processing {"connection_id":110584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":755728704,"raw_latitude":117902776,"longitude_deg":75.5728704,"latitude_deg":11.7902776,"altitude":22,"angle":265,"satellites":29,"speed":40,"hex_longitude":"2d0b8140","hex_latitude":"07070db8","is_valid_coordinates":true} 
[2026-06-23 08:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239438592001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21805742235320320,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838373248316162048,"note":"Value kept but may cause issues"} 
[2026-06-23 08:58:52] 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-06-23 08:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782185316000,"timestamp_ms":1782185316000,"timestamp_seconds":1782185316,"priority":1,"record_length":96,"hex_timestamp":"0000019ef285cea0"} 
[2026-06-23 08:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 08:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:58:52] 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-06-23 08:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239438592001,"66":14428,"163":206,"94":10240,"24":40,"16":21805742235320320,"45":838373248316162048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 08:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239438592001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:58:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 08:58:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21805742235320320,"km_value":21805742235320.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":838373248316162048,"description":"Unknown IO ID 45"} 
[2026-06-23 08:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239438592001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":838373248316162048}} 
[2026-06-23 08:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":110584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:58:52] local.INFO: GPS data processed {"connection_id":110584,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:58:52] local.INFO: Acknowledgment sent {"connection_id":110584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:59:16] local.INFO: TCP Data received {"connection_id":110758,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:16] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:16] local.INFO: IMEI packet received {"connection_id":110758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 08:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":110758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:59:19] local.INFO: TCP Data received {"connection_id":110758,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:19] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:19] local.INFO: IMEI packet received {"connection_id":110758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":110758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:59:19] local.INFO: TCP Data received {"connection_id":110585,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 08:59:19] local.INFO: Processing buffer {"connection_id":110585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 08:59:19] local.INFO: Packet analysis {"connection_id":110585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:59:19] local.INFO: Extracted packet for processing {"connection_id":110585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:59:19] 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-06-23 08:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239365376001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185307000,"timestamp_ms":1782185307000,"timestamp_seconds":1782185307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef285ab78"} 
[2026-06-23 08:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:59:19] 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-06-23 08:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 08:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239365376001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239365376001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:59:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-06-23 08:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239365376001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-06-23 08:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":110585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:59:19] local.INFO: GPS data processed {"connection_id":110585,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:59:19] local.INFO: Acknowledgment sent {"connection_id":110585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:59:21] local.INFO: TCP Data received {"connection_id":110758,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:21] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 08:59:21] local.INFO: IMEI packet received {"connection_id":110758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 08:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":110758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:59:22] local.INFO: TCP Data received {"connection_id":110758,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef285e9f8012d0b6300070709f0001300fe1d..."} 
[2026-06-23 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef285e9f8012d0b6300070709f0001300fe1d..."} 
[2026-06-23 08:59:22] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef285e9f8012d0b6300070709f0001300fe1d..."} 
[2026-06-23 08:59:22] local.INFO: Packet analysis {"connection_id":110758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:59:22] local.INFO: Extracted packet for processing {"connection_id":110758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:59:22] local.INFO: GPS Element Parsed {"raw_longitude":755720960,"raw_latitude":117901808,"longitude_deg":75.572096,"latitude_deg":11.7901808,"altitude":19,"angle":254,"satellites":29,"speed":38,"hex_longitude":"2d0b6300","hex_latitude":"070709f0","is_valid_coordinates":true} 
[2026-06-23 08:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239440896001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21806111602507776,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829014205340170240,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:22] 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-06-23 08:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185323000,"timestamp_ms":1782185323000,"timestamp_seconds":1782185323,"priority":1,"record_length":96,"hex_timestamp":"0000019ef285e9f8"} 
[2026-06-23 08:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:59:22] 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-06-23 08:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 08:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239440896001,"66":14515,"163":206,"94":10240,"24":38,"16":21806111602507776,"45":829014205340170240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 08:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239440896001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:59:22] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 08:59:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21806111602507776,"km_value":21806111602507.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":829014205340170240,"description":"Unknown IO ID 45"} 
[2026-06-23 08:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239440896001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":829014205340170240}} 
[2026-06-23 08:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":110758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:59:22] local.INFO: GPS data processed {"connection_id":110758,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:59:22] local.INFO: Acknowledgment sent {"connection_id":110758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:59:25] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:59:25] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:59:25] local.INFO: IMEI packet received {"connection_id":110759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 08:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":110759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:59:29] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:59:29] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 08:59:29] local.INFO: IMEI packet received {"connection_id":110759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 08:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":110759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:59:30] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2836188012cb2a2c0078237f00049015d2c..."} 
[2026-06-23 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2836188012cb2a2c0078237f00049015d2c..."} 
[2026-06-23 08:59:30] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2836188012cb2a2c0078237f00049015d2c..."} 
[2026-06-23 08:59:30] local.INFO: Packet analysis {"connection_id":110759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:59:30] local.INFO: Extracted packet for processing {"connection_id":110759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125974512,"longitude_deg":74.9904576,"latitude_deg":12.5974512,"altitude":73,"angle":349,"satellites":44,"speed":10,"hex_longitude":"2cb2a2c0","hex_latitude":"078237f0","is_valid_coordinates":true} 
[2026-06-23 08: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-06-23 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239399168001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289499638235136,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249498624,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782185157000,"timestamp_ms":1782185157000,"timestamp_seconds":1782185157,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2836188"} 
[2026-06-23 08:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:59:30] 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-06-23 08: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 08:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08: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-06-23 08:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 08:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239399168001,"66":27995,"126":206,"27":54016,"24":10,"16":321289499638235136,"44":-5574682250249498624},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 08:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 08:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239399168001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:59:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 08:59:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 08:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289499638235136,"km_value":321289499638235.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249498624,"description":"Unknown IO ID 44"} 
[2026-06-23 08:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239399168001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5574682250249498624}} 
[2026-06-23 08:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":110759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:59:30] local.INFO: GPS data processed {"connection_id":110759,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:59:30] local.INFO: Acknowledgment sent {"connection_id":110759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:59:43] local.INFO: TCP Data received {"connection_id":112322,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:59:43] local.INFO: Processing buffer {"connection_id":112322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:59:43] local.INFO: IMEI packet received {"connection_id":112322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 08:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":112322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 08:59:48] local.INFO: TCP Data received {"connection_id":112322,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:59:48] local.INFO: Processing buffer {"connection_id":112322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 08:59:48] local.INFO: IMEI packet received {"connection_id":112322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 08:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":112322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 08:59:48] local.INFO: TCP Data received {"connection_id":112322,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 08:59:48] local.INFO: Processing buffer {"connection_id":112322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 08:59:48] local.INFO: Packet analysis {"connection_id":112322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:59:48] local.INFO: Extracted packet for processing {"connection_id":112322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239438592001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 08:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185307000,"timestamp_ms":1782185307000,"timestamp_seconds":1782185307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef285ab78"} 
[2026-06-23 08:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:59:48] 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-06-23 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 08:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 08:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 08:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 08:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 08:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 08:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239438592001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 08:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 08:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 08:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239438592001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:59:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 08:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 08:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-06-23 08:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239438592001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-06-23 08:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":112322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:59:48] local.INFO: GPS data processed {"connection_id":112322,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:59:48] local.INFO: Acknowledgment sent {"connection_id":112322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 08:59:53] local.INFO: TCP Data received {"connection_id":110758,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef286c8a0012d0aed4007067040001200c51e..."} 
[2026-06-23 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef286c8a0012d0aed4007067040001200c51e..."} 
[2026-06-23 08:59:53] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef286c8a0012d0aed4007067040001200c51e..."} 
[2026-06-23 08:59:53] local.INFO: Packet analysis {"connection_id":110758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 08:59:53] local.INFO: Extracted packet for processing {"connection_id":110758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 08:59:53] local.INFO: GPS Element Parsed {"raw_longitude":755690816,"raw_latitude":117862464,"longitude_deg":75.5690816,"latitude_deg":11.7862464,"altitude":18,"angle":197,"satellites":30,"speed":5,"hex_longitude":"2d0aed40","hex_latitude":"07067040","is_valid_coordinates":true} 
[2026-06-23 08:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239454976001,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21808576913735680,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790100289799987200,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] 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-06-23 08:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185380000,"timestamp_ms":1782185380000,"timestamp_seconds":1782185380,"priority":1,"record_length":96,"hex_timestamp":"0000019ef286c8a0"} 
[2026-06-23 08:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 08:59:53] 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-06-23 08:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147392,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4068877456,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503932373958656,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2255151105,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2645557265,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151651,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3087084811,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":168,"raw_value":5348944167053312,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372272999,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84736343938631412,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5062053707721474067,"note":"Value kept but may cause issues"} 
[2026-06-23 08:59:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,94,24,241,157,16,122,158,161,45,128,119,30,10,66,149,125,1,240,114,227,242,6,4,113,205,41,71,40,168,239,56,2,77,7,19,206,8,11],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-06-23 08:59:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153177819666382848,"timestamp_seconds":1153177819666382.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 08:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 08:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 08:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 08:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 08:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 08:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 08:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 08:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239454976001,"66":14407,"163":206,"94":10240,"24":5,"16":21808576913735680,"45":790100289799987200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 08:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 08:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239454976001,"description":"Unknown IO ID 0"} 
[2026-06-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 08:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21808576913735680,"km_value":21808576913735.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":790100289799987200,"description":"Unknown IO ID 45"} 
[2026-06-23 08:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239454976001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":790100289799987200}} 
[2026-06-23 08:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":110758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 08:59:53] local.INFO: GPS data processed {"connection_id":110758,"processed":1,"errors":0,"total":1} 
[2026-06-23 08:59:53] local.INFO: Acknowledgment sent {"connection_id":110758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:02] local.INFO: TCP Data received {"connection_id":110760,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:00:02] local.INFO: Processing buffer {"connection_id":110760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:00:02] local.INFO: IMEI packet received {"connection_id":110760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":110760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:00:02] local.INFO: TCP Data received {"connection_id":110759,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2837128012cb2a18007823c200048014e2c..."} 
[2026-06-23 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2837128012cb2a18007823c200048014e2c..."} 
[2026-06-23 09:00:02] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2837128012cb2a18007823c200048014e2c..."} 
[2026-06-23 09:00:02] local.INFO: Packet analysis {"connection_id":110759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:00:02] local.INFO: Extracted packet for processing {"connection_id":110759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":749904256,"raw_latitude":125975584,"longitude_deg":74.9904256,"latitude_deg":12.5975584,"altitude":72,"angle":334,"satellites":44,"speed":10,"hex_longitude":"2cb2a180","hex_latitude":"07823c20","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239400192001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289551177842688,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249244672,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185161000,"timestamp_ms":1782185161000,"timestamp_seconds":1782185161,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2837128"} 
[2026-06-23 09:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00:02] 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-06-23 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:00:02] 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-06-23 09: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-06-23 09:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239400192001,"66":27974,"126":206,"27":54016,"24":10,"16":321289551177842688,"44":-5574682250249244672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239400192001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289551177842688,"km_value":321289551177842.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249244672,"description":"Unknown IO ID 44"} 
[2026-06-23 09:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239400192001,"power":27974,"unknown_126":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5574682250249244672}} 
[2026-06-23 09:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":110759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:02] local.INFO: GPS data processed {"connection_id":110759,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:02] local.INFO: Acknowledgment sent {"connection_id":110759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:02] local.INFO: TCP Data received {"connection_id":110760,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2865b40012d7a120005ec7ef0000800f827..."} 
[2026-06-23 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2865b40012d7a120005ec7ef0000800f827..."} 
[2026-06-23 09:00:02] local.INFO: Processing buffer {"connection_id":110760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2865b40012d7a120005ec7ef0000800f827..."} 
[2026-06-23 09:00:02] local.INFO: Packet analysis {"connection_id":110760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:02] local.INFO: Extracted packet for processing {"connection_id":110760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762974720,"raw_latitude":99385072,"longitude_deg":76.297472,"latitude_deg":9.9385072,"altitude":8,"angle":248,"satellites":39,"speed":18,"hex_longitude":"2d7a1200","hex_latitude":"05ec7ef0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239449600001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96323029683929088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472580825088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185352000,"timestamp_ms":1782185352000,"timestamp_seconds":1782185352,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2865b40"} 
[2026-06-23 09:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00: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-06-23 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 09:00: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-06-23 09: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-06-23 09:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239449600001,"66":13200,"157":206,"87":13824,"24":18,"16":96323029683929088,"45":8796937472580825088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239449600001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96323029683929088,"km_value":96323029683929.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472580825088,"description":"Unknown IO ID 45"} 
[2026-06-23 09:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239449600001,"power":13200,"unknown_157":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8796937472580825088}} 
[2026-06-23 09:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":110760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:03] local.INFO: GPS data processed {"connection_id":110760,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:03] local.INFO: Acknowledgment sent {"connection_id":110760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:16] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:00:16] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:00:16] local.INFO: IMEI packet received {"connection_id":110587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":110587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:00:20] local.INFO: TCP Data received {"connection_id":112322,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 09:00:20] local.INFO: Processing buffer {"connection_id":112322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef285ab78012d1820400721b2f8004b00d428..."} 
[2026-06-23 09:00:20] local.INFO: Packet analysis {"connection_id":112322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 09:00:20] local.INFO: Extracted packet for processing {"connection_id":112322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef285"} 
[2026-06-23 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649016,"longitude_deg":75.655584,"latitude_deg":11.9649016,"altitude":75,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2f8","is_valid_coordinates":true} 
[2026-06-23 09:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239438592001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185307000,"timestamp_ms":1782185307000,"timestamp_seconds":1782185307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef285ab78"} 
[2026-06-23 09:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00:20] 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-06-23 09:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 09:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239438592001,"66":2166,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239438592001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-06-23 09:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239438592001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-06-23 09:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":112322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:20] local.INFO: GPS data processed {"connection_id":112322,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:20] local.INFO: Acknowledgment sent {"connection_id":112322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:21] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:00:21] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:00:21] local.INFO: IMEI packet received {"connection_id":110587,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":110587,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:00:22] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef286cc88012d0aed4007066f80001200b01e..."} 
[2026-06-23 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef286cc88012d0aed4007066f80001200b01e..."} 
[2026-06-23 09:00:22] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef286cc88012d0aed4007066f80001200b01e..."} 
[2026-06-23 09:00:22] local.INFO: Packet analysis {"connection_id":110587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:22] local.INFO: Extracted packet for processing {"connection_id":110587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755690816,"raw_latitude":117862272,"longitude_deg":75.5690816,"latitude_deg":11.7862272,"altitude":18,"angle":176,"satellites":30,"speed":7,"hex_longitude":"2d0aed40","hex_latitude":"07066f80","is_valid_coordinates":true} 
[2026-06-23 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239457280001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21808585503670272,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787355908776673280,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:22] 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-06-23 09:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185381000,"timestamp_ms":1782185381000,"timestamp_seconds":1782185381,"priority":1,"record_length":96,"hex_timestamp":"0000019ef286cc88"} 
[2026-06-23 09:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:00: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-06-23 09:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239457280001,"66":13830,"163":206,"94":10240,"24":7,"16":21808585503670272,"45":787355908776673280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 09:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239457280001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:22] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21808585503670272,"km_value":21808585503670.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":787355908776673280,"description":"Unknown IO ID 45"} 
[2026-06-23 09:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239457280001,"power":13830,"unknown_163":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":787355908776673280}} 
[2026-06-23 09:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":110587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:22] local.INFO: GPS data processed {"connection_id":110587,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:22] local.INFO: Acknowledgment sent {"connection_id":110587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:25] local.INFO: TCP Data received {"connection_id":112323,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:00:25] local.INFO: Processing buffer {"connection_id":112323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:00:25] local.INFO: IMEI packet received {"connection_id":112323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":112323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:00:30] local.INFO: TCP Data received {"connection_id":112323,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:00:30] local.INFO: Processing buffer {"connection_id":112323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:00:30] local.INFO: IMEI packet received {"connection_id":112323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":112323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:00:31] local.INFO: TCP Data received {"connection_id":112323,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2838c80012cb29ec007824300004901672c..."} 
[2026-06-23 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2838c80012cb29ec007824300004901672c..."} 
[2026-06-23 09:00:31] local.INFO: Processing buffer {"connection_id":112323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2838c80012cb29ec007824300004901672c..."} 
[2026-06-23 09:00:31] local.INFO: Packet analysis {"connection_id":112323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:00:31] local.INFO: Extracted packet for processing {"connection_id":112323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:00:31] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125977344,"longitude_deg":74.9903552,"latitude_deg":12.5977344,"altitude":73,"angle":359,"satellites":44,"speed":10,"hex_longitude":"2cb29ec0","hex_latitude":"07824300","is_valid_coordinates":true} 
[2026-06-23 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239401216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289645667123200,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575034093969858560,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185168000,"timestamp_ms":1782185168000,"timestamp_seconds":1782185168,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2838c80"} 
[2026-06-23 09:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00:31] 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-06-23 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 09:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239401216001,"66":27821,"126":206,"27":54016,"24":10,"16":321289645667123200,"44":-5575034093969858560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239401216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:00:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289645667123200,"km_value":321289645667123.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575034093969858560,"description":"Unknown IO ID 44"} 
[2026-06-23 09:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239401216001,"power":27821,"unknown_126":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5575034093969858560}} 
[2026-06-23 09:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":112323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:31] local.INFO: GPS data processed {"connection_id":112323,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:31] local.INFO: Acknowledgment sent {"connection_id":112323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:34] local.INFO: TCP Data received {"connection_id":110760,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef286ad48012d79f98005ec75d8000b00f629..."} 
[2026-06-23 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef286ad48012d79f98005ec75d8000b00f629..."} 
[2026-06-23 09:00:34] local.INFO: Processing buffer {"connection_id":110760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef286ad48012d79f98005ec75d8000b00f629..."} 
[2026-06-23 09:00:34] local.INFO: Packet analysis {"connection_id":110760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:34] local.INFO: Extracted packet for processing {"connection_id":110760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99382744,"longitude_deg":76.2968448,"latitude_deg":9.9382744,"altitude":11,"angle":246,"satellites":41,"speed":0,"hex_longitude":"2d79f980","hex_latitude":"05ec75d8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239450112001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96323356101443584,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796093047650578432,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782185373000,"timestamp_ms":1782185373000,"timestamp_seconds":1782185373,"priority":1,"record_length":96,"hex_timestamp":"0000019ef286ad48"} 
[2026-06-23 09:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00: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-06-23 09: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-23 09:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239450112001,"66":13015,"157":206,"87":13824,"24":0,"16":96323356101443584,"45":8796093047650578432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239450112001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:00:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96323356101443584,"km_value":96323356101443.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796093047650578432,"description":"Unknown IO ID 45"} 
[2026-06-23 09:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239450112001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796093047650578432}} 
[2026-06-23 09:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":110760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:34] local.INFO: GPS data processed {"connection_id":110760,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:34] local.INFO: Acknowledgment sent {"connection_id":110760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:40] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:40] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:40] local.INFO: IMEI packet received {"connection_id":111380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":111380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:00:42] local.INFO: TCP Data received {"connection_id":110586,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:00:42] local.INFO: Processing buffer {"connection_id":110586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:00:42] local.INFO: IMEI packet received {"connection_id":110586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":110586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:00:43] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:43] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:43] local.INFO: IMEI packet received {"connection_id":111380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":111380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:00:46] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:46] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:00:46] local.INFO: IMEI packet received {"connection_id":111380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":111380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:00:47] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2860938012d181d400721aee8004b00d829..."} 
[2026-06-23 09:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2860938012d181d400721aee8004b00d829..."} 
[2026-06-23 09:00:47] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2860938012d181d400721aee8004b00d829..."} 
[2026-06-23 09:00:47] local.INFO: Packet analysis {"connection_id":111380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:47] local.INFO: Extracted packet for processing {"connection_id":111380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647976,"longitude_deg":75.6555072,"latitude_deg":11.9647976,"altitude":75,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee8","is_valid_coordinates":true} 
[2026-06-23 09:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239438592001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3919428240539648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539337216,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782185331000,"timestamp_ms":1782185331000,"timestamp_seconds":1782185331,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2860938"} 
[2026-06-23 09:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00:47] 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-06-23 09:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 09:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239438592001,"66":14233,"105":206,"83":41984,"24":0,"16":3919428240539648,"45":1738459855539337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239438592001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3919428240539648,"km_value":3919428240539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539337216,"description":"Unknown IO ID 45"} 
[2026-06-23 09:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239438592001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539337216}} 
[2026-06-23 09:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":111380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:47] local.INFO: GPS data processed {"connection_id":111380,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:47] local.INFO: Acknowledgment sent {"connection_id":111380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:53] local.INFO: TCP Data received {"connection_id":110587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef286e010012d0aefc007066760001200a31f..."} 
[2026-06-23 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef286e010012d0aefc007066760001200a31f..."} 
[2026-06-23 09:00:53] local.INFO: Processing buffer {"connection_id":110587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef286e010012d0aefc007066760001200a31f..."} 
[2026-06-23 09:00:53] local.INFO: Packet analysis {"connection_id":110587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:53] local.INFO: Extracted packet for processing {"connection_id":110587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef286"} 
[2026-06-23 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117860192,"longitude_deg":75.5691456,"latitude_deg":11.7860192,"altitude":18,"angle":163,"satellites":31,"speed":26,"hex_longitude":"2d0aefc0","hex_latitude":"07066760","is_valid_coordinates":true} 
[2026-06-23 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239457536001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21808692877852672,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787355908776624128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] 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-06-23 09:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185386000,"timestamp_ms":1782185386000,"timestamp_seconds":1782185386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef286e010"} 
[2026-06-23 09:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11540482650865664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633614019584,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147560715,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4068895456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":40961,"corrected_to":0} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2257967105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-5187815769810925818,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.WARNING: Large IO value detected {"io_id":190,"raw_value":-6341047381242544091,"note":"Value kept but may cause issues"} 
[2026-06-23 09:00:53] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,94,24,241,157,16,122,158,200,45,64,112,18,30,10,66,165,118,161,128,1,240,227,242,6,4,113,205,27,13,248,29,239,56,2,77,7,17,41,71,190],"length":528,"final_offset":658,"validated_count":42,"validation_warnings":[{"io_id":200,"original":40961,"validated":0},{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-06-23 09:00:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297230335578669056,"timestamp_seconds":1297230335578669.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110587,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239457536001,"66":14428,"163":206,"94":10240,"24":26,"16":21808692877852672,"45":787355908776624128},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 09:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239457536001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:00:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21808692877852672,"km_value":21808692877852.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":787355908776624128,"description":"Unknown IO ID 45"} 
[2026-06-23 09:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239457536001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":787355908776624128}} 
[2026-06-23 09:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":110587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:00:53] local.INFO: GPS data processed {"connection_id":110587,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:00:53] local.INFO: Acknowledgment sent {"connection_id":110587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:00:56] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:00:56] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:00:56] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:01:00] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:00] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:00] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:01:00] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:00] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:00] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:01:01] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:01] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:01:01] local.INFO: IMEI packet received {"connection_id":110588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":110588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:01:02] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef287c688012d79e14005ecabc00009003728..."} 
[2026-06-23 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef287c688012d79e14005ecabc00009003728..."} 
[2026-06-23 09:01:02] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef287c688012d79e14005ecabc00009003728..."} 
[2026-06-23 09:01:02] local.INFO: Packet analysis {"connection_id":110588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:01:02] local.INFO: Extracted packet for processing {"connection_id":110588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":99396544,"longitude_deg":76.296224,"latitude_deg":9.9396544,"altitude":9,"angle":55,"satellites":40,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05ecabc0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239468800001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324124900589568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782230405050494976,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185445000,"timestamp_ms":1782185445000,"timestamp_seconds":1782185445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef287c688"} 
[2026-06-23 09:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:01:02] 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-06-23 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:02] 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-06-23 09: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-06-23 09:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239468800001,"66":12385,"157":206,"87":13824,"24":0,"16":96324124900589568,"45":8782230405050494976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239468800001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324124900589568,"km_value":96324124900589.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782230405050494976,"description":"Unknown IO ID 45"} 
[2026-06-23 09:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239468800001,"power":12385,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782230405050494976}} 
[2026-06-23 09:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":110588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:02] local.INFO: GPS data processed {"connection_id":110588,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:02] local.INFO: Acknowledgment sent {"connection_id":110588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:01:03] local.INFO: TCP Data received {"connection_id":112323,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2839068012cb29ec007824400004a000a2c..."} 
[2026-06-23 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2839068012cb29ec007824400004a000a2c..."} 
[2026-06-23 09:01:03] local.INFO: Processing buffer {"connection_id":112323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2839068012cb29ec007824400004a000a2c..."} 
[2026-06-23 09:01:03] local.INFO: Packet analysis {"connection_id":112323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:01:03] local.INFO: Extracted packet for processing {"connection_id":112323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:01:03] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125977600,"longitude_deg":74.9903552,"latitude_deg":12.59776,"altitude":74,"angle":10,"satellites":44,"speed":8,"hex_longitude":"2cb29ec0","hex_latitude":"07824400","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403008001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155362304,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185169000,"timestamp_ms":1782185169000,"timestamp_seconds":1782185169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2839068"} 
[2026-06-23 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-06-23 09:01:03] 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-06-23 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403008001,"66":27887,"126":206,"27":54016,"24":8,"16":321289658552025088,"44":-5575808150155362304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403008001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:01:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155362304,"description":"Unknown IO ID 44"} 
[2026-06-23 09:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403008001,"power":27887,"unknown_126":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5575808150155362304}} 
[2026-06-23 09:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":112323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:03] local.INFO: GPS data processed {"connection_id":112323,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:03] local.INFO: Acknowledgment sent {"connection_id":112323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:01:12] local.INFO: TCP Data received {"connection_id":111381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:01:12] local.INFO: Processing buffer {"connection_id":111381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:01:12] local.INFO: IMEI packet received {"connection_id":111381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":111381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:01:16] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:01:16] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:01:16] local.INFO: IMEI packet received {"connection_id":111382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":111382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:01:18] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2879b90012d18c4c007214ff0004400a026..."} 
[2026-06-23 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2879b90012d18c4c007214ff0004400a026..."} 
[2026-06-23 09:01:18] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2879b90012d18c4c007214ff0004400a026..."} 
[2026-06-23 09:01:18] local.INFO: Packet analysis {"connection_id":111380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:01:18] local.INFO: Extracted packet for processing {"connection_id":111380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119623664,"longitude_deg":75.6597952,"latitude_deg":11.9623664,"altitude":68,"angle":160,"satellites":38,"speed":33,"hex_longitude":"2d18c4c0","hex_latitude":"07214ff0","is_valid_coordinates":true} 
[2026-06-23 09:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239468544001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3921927911505920,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252181188608,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782185434000,"timestamp_ms":1782185434000,"timestamp_seconds":1782185434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2879b90"} 
[2026-06-23 09:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:18] 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-06-23 09:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239468544001,"66":14374,"106":206,"83":41984,"24":33,"16":3921927911505920,"45":1778992252181188608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239468544001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3921927911505920,"km_value":3921927911505.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252181188608,"description":"Unknown IO ID 45"} 
[2026-06-23 09:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239468544001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1778992252181188608}} 
[2026-06-23 09:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":111380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:18] local.INFO: GPS data processed {"connection_id":111380,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:18] local.INFO: Acknowledgment sent {"connection_id":111380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:01:21] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:01:21] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:01:21] local.INFO: IMEI packet received {"connection_id":111382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":111382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:01:22] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2881890012d0b4cc00705ff30001700641f..."} 
[2026-06-23 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2881890012d0b4cc00705ff30001700641f..."} 
[2026-06-23 09:01:22] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2881890012d0b4cc00705ff30001700641f..."} 
[2026-06-23 09:01:22] local.INFO: Packet analysis {"connection_id":111382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:01:22] local.INFO: Extracted packet for processing {"connection_id":111382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:01:22] local.INFO: GPS Element Parsed {"raw_longitude":755715264,"raw_latitude":117833520,"longitude_deg":75.5715264,"latitude_deg":11.783352,"altitude":23,"angle":100,"satellites":31,"speed":8,"hex_longitude":"2d0b4cc0","hex_latitude":"0705ff30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239479040001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810466699345920,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813955294068426752,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:22] 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-06-23 09:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185466000,"timestamp_ms":1782185466000,"timestamp_seconds":1782185466,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2881890"} 
[2026-06-23 09:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239479040001,"66":14374,"165":206,"94":10240,"24":8,"16":21810466699345920,"45":813955294068426752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239479040001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:01:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810466699345920,"km_value":21810466699345.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":813955294068426752,"description":"Unknown IO ID 45"} 
[2026-06-23 09:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239479040001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":813955294068426752}} 
[2026-06-23 09:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":111382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:22] local.INFO: GPS data processed {"connection_id":111382,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:22] local.INFO: Acknowledgment sent {"connection_id":111382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:01:24] local.INFO: TCP Data received {"connection_id":112324,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:01:24] local.INFO: Processing buffer {"connection_id":112324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:01:24] local.INFO: IMEI packet received {"connection_id":112324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":112324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:01:30] local.INFO: TCP Data received {"connection_id":112324,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:01:30] local.INFO: Processing buffer {"connection_id":112324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:01:30] local.INFO: IMEI packet received {"connection_id":112324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":112324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:01:31] local.INFO: TCP Data received {"connection_id":112324,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2839068012cb29ec007824400004a000a2c..."} 
[2026-06-23 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2839068012cb29ec007824400004a000a2c..."} 
[2026-06-23 09:01:31] local.INFO: Processing buffer {"connection_id":112324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2839068012cb29ec007824400004a000a2c..."} 
[2026-06-23 09:01:31] local.INFO: Packet analysis {"connection_id":112324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:01:31] local.INFO: Extracted packet for processing {"connection_id":112324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef283"} 
[2026-06-23 09:01:31] local.INFO: GPS Element Parsed {"raw_longitude":749903552,"raw_latitude":125977600,"longitude_deg":74.9903552,"latitude_deg":12.59776,"altitude":74,"angle":10,"satellites":44,"speed":8,"hex_longitude":"2cb29ec0","hex_latitude":"07824400","is_valid_coordinates":true} 
[2026-06-23 09:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185169000,"timestamp_ms":1782185169000,"timestamp_seconds":1782185169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2839068"} 
[2026-06-23 09:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:01:31] 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-06-23 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:31] 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-06-23 09: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-06-23 09:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":27887,"126":206,"27":54016,"24":8,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":27887,"unknown_126":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":112324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:31] local.INFO: GPS data processed {"connection_id":112324,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:31] local.INFO: Acknowledgment sent {"connection_id":112324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:01:33] local.INFO: TCP Data received {"connection_id":110588,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef287e1e0012d79e1c005ecab68000b008c28..."} 
[2026-06-23 09:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef287e1e0012d79e1c005ecab68000b008c28..."} 
[2026-06-23 09:01:33] local.INFO: Processing buffer {"connection_id":110588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef287e1e0012d79e1c005ecab68000b008c28..."} 
[2026-06-23 09:01:33] local.INFO: Packet analysis {"connection_id":110588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:01:33] local.INFO: Extracted packet for processing {"connection_id":110588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:01:33] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99396456,"longitude_deg":76.2962368,"latitude_deg":9.9396456,"altitude":11,"angle":140,"satellites":40,"speed":1,"hex_longitude":"2d79e1c0","hex_latitude":"05ecab68","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239473920001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324129195556864,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142538870784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782185452000,"timestamp_ms":1782185452000,"timestamp_seconds":1782185452,"priority":1,"record_length":96,"hex_timestamp":"0000019ef287e1e0"} 
[2026-06-23 09:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:01:33] 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-06-23 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:33] 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-06-23 09: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-06-23 09:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239473920001,"66":13135,"157":206,"87":13824,"24":1,"16":96324129195556864,"45":8782371142538870784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239473920001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:01:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324129195556864,"km_value":96324129195556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142538870784,"description":"Unknown IO ID 45"} 
[2026-06-23 09:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239473920001,"power":13135,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8782371142538870784}} 
[2026-06-23 09:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":110588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:33] local.INFO: GPS data processed {"connection_id":110588,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:33] local.INFO: Acknowledgment sent {"connection_id":110588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:01:53] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2881c78012d0b4d400705ff38001700571f..."} 
[2026-06-23 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2881c78012d0b4d400705ff38001700571f..."} 
[2026-06-23 09:01:53] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2881c78012d0b4d400705ff38001700571f..."} 
[2026-06-23 09:01:53] local.INFO: Packet analysis {"connection_id":111382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:01:53] local.INFO: Extracted packet for processing {"connection_id":111382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:01:53] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833528,"longitude_deg":75.5715392,"latitude_deg":11.7833528,"altitude":23,"angle":87,"satellites":31,"speed":6,"hex_longitude":"2d0b4d40","hex_latitude":"0705ff38","is_valid_coordinates":true} 
[2026-06-23 09:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239479296001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810470994313216,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045131264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:01:53] 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-06-23 09:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185467000,"timestamp_ms":1782185467000,"timestamp_seconds":1782185467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2881c78"} 
[2026-06-23 09:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:01:53] 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-06-23 09:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:01:53] 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-06-23 09:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239479296001,"66":14374,"165":206,"94":10240,"24":6,"16":21810470994313216,"45":814236769045131264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239479296001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810470994313216,"km_value":21810470994313.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045131264,"description":"Unknown IO ID 45"} 
[2026-06-23 09:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239479296001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814236769045131264}} 
[2026-06-23 09:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":111382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:01:53] local.INFO: GPS data processed {"connection_id":111382,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:01:53] local.INFO: Acknowledgment sent {"connection_id":111382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:02] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:02] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:02] local.INFO: IMEI packet received {"connection_id":110761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":110761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:02:03] local.INFO: TCP Data received {"connection_id":112324,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:02:03] local.INFO: Processing buffer {"connection_id":112324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:02:03] local.INFO: Packet analysis {"connection_id":112324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:03] local.INFO: Extracted packet for processing {"connection_id":112324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 09:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:03] 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-06-23 09: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-06-23 09:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":112324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:03] local.INFO: GPS data processed {"connection_id":112324,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:03] local.INFO: Acknowledgment sent {"connection_id":112324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:07] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:07] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:07] local.INFO: IMEI packet received {"connection_id":110761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":110761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:08] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef287e5c8012d79e20005ecab68000b003828..."} 
[2026-06-23 09:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef287e5c8012d79e20005ecab68000b003828..."} 
[2026-06-23 09:02:08] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef287e5c8012d79e20005ecab68000b003828..."} 
[2026-06-23 09:02:08] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:02:08] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:02:08] local.INFO: GPS Element Parsed {"raw_longitude":762962432,"raw_latitude":99396456,"longitude_deg":76.2962432,"latitude_deg":9.9396456,"altitude":11,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2d79e200","hex_latitude":"05ecab68","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239475712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324133490524160,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880027203584,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782185453000,"timestamp_ms":1782185453000,"timestamp_seconds":1782185453,"priority":1,"record_length":96,"hex_timestamp":"0000019ef287e5c8"} 
[2026-06-23 09:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02: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-06-23 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239475712001,"66":13254,"157":206,"87":13824,"24":0,"16":96324133490524160,"45":8782511880027203584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239475712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:02:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324133490524160,"km_value":96324133490524.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880027203584,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239475712001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8782511880027203584}} 
[2026-06-23 09:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:08] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:08] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:10] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef287f950012d79e24005ecab08000b007e29..."} 
[2026-06-23 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef287f950012d79e24005ecab08000b007e29..."} 
[2026-06-23 09:02:10] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef287f950012d79e24005ecab08000b007e29..."} 
[2026-06-23 09:02:10] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:02:10] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef287"} 
[2026-06-23 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99396360,"longitude_deg":76.2962496,"latitude_deg":9.939636,"altitude":11,"angle":126,"satellites":41,"speed":3,"hex_longitude":"2d79e240","hex_latitude":"05ecab08","is_valid_coordinates":true} 
[2026-06-23 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239475968001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324146375426048,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771381248,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782185458000,"timestamp_ms":1782185458000,"timestamp_seconds":1782185458,"priority":1,"record_length":96,"hex_timestamp":"0000019ef287f950"} 
[2026-06-23 09:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02: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-06-23 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:10] 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-06-23 09:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239475968001,"66":12939,"157":206,"87":13824,"24":3,"16":96324146375426048,"45":8782582248771381248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239475968001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:02:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324146375426048,"km_value":96324146375426.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771381248,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239475968001,"power":12939,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8782582248771381248}} 
[2026-06-23 09:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:10] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:10] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:13] local.INFO: TCP Data received {"connection_id":112325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:13] local.INFO: Processing buffer {"connection_id":112325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:13] local.INFO: IMEI packet received {"connection_id":112325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":112325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:02:17] local.INFO: TCP Data received {"connection_id":112326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:17] local.INFO: Processing buffer {"connection_id":112326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:17] local.INFO: IMEI packet received {"connection_id":112326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":112326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:02:18] local.INFO: TCP Data received {"connection_id":112325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:18] local.INFO: Processing buffer {"connection_id":112325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:18] local.INFO: IMEI packet received {"connection_id":112325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":112325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:18] local.INFO: TCP Data received {"connection_id":112325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:18] local.INFO: Processing buffer {"connection_id":112325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:18] local.INFO: IMEI packet received {"connection_id":112325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":112325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:19] local.INFO: TCP Data received {"connection_id":112325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2885328012d191d000720c1e0002f006f27..."} 
[2026-06-23 09:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2885328012d191d000720c1e0002f006f27..."} 
[2026-06-23 09:02:19] local.INFO: Processing buffer {"connection_id":112325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2885328012d191d000720c1e0002f006f27..."} 
[2026-06-23 09:02:19] local.INFO: Packet analysis {"connection_id":112325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:19] local.INFO: Extracted packet for processing {"connection_id":112325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756620544,"raw_latitude":119587296,"longitude_deg":75.6620544,"latitude_deg":11.9587296,"altitude":47,"angle":111,"satellites":39,"speed":49,"hex_longitude":"2d191d00","hex_latitude":"0720c1e0","is_valid_coordinates":true} 
[2026-06-23 09:02: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-06-23 09:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239481088001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3924135524696064,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801299144075231232,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185481000,"timestamp_ms":1782185481000,"timestamp_seconds":1782185481,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2885328"} 
[2026-06-23 09:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:19] 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-06-23 09:02: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":169,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:19] 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-06-23 09:02: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-06-23 09:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239481088001,"66":14070,"103":206,"83":41984,"24":49,"16":3924135524696064,"45":1801299144075231232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239481088001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3924135524696064,"km_value":3924135524696.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801299144075231232,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239481088001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1801299144075231232}} 
[2026-06-23 09:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":112325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:19] local.INFO: GPS data processed {"connection_id":112325,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:19] local.INFO: Acknowledgment sent {"connection_id":112325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:21] local.INFO: TCP Data received {"connection_id":112326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:21] local.INFO: Processing buffer {"connection_id":112326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:21] local.INFO: IMEI packet received {"connection_id":112326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":112326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:23] local.INFO: TCP Data received {"connection_id":112325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2887268012d193f000720b258002c007326..."} 
[2026-06-23 09:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2887268012d193f000720b258002c007326..."} 
[2026-06-23 09:02:23] local.INFO: Processing buffer {"connection_id":112325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2887268012d193f000720b258002c007326..."} 
[2026-06-23 09:02:23] local.INFO: Packet analysis {"connection_id":112325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:23] local.INFO: Extracted packet for processing {"connection_id":112325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119583320,"longitude_deg":75.6629248,"latitude_deg":11.958332,"altitude":44,"angle":115,"satellites":38,"speed":42,"hex_longitude":"2d193f00","hex_latitude":"0720b258","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239483136001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3924595086196736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809602655887155200,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782185489000,"timestamp_ms":1782185489000,"timestamp_seconds":1782185489,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2887268"} 
[2026-06-23 09:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:23] 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-06-23 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":112325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":112325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":112325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239483136001,"66":13972,"103":206,"83":41984,"24":42,"16":3924595086196736,"45":1809602655887155200},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239483136001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3924595086196736,"km_value":3924595086196.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809602655887155200,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239483136001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1809602655887155200}} 
[2026-06-23 09:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":112325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:23] local.INFO: GPS data processed {"connection_id":112325,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:23] local.INFO: Acknowledgment sent {"connection_id":112325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:25] local.INFO: TCP Data received {"connection_id":111384,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:02:25] local.INFO: Processing buffer {"connection_id":111384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:02:25] local.INFO: IMEI packet received {"connection_id":111384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":111384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:02:26] local.INFO: TCP Data received {"connection_id":112326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:26] local.INFO: Processing buffer {"connection_id":112326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:02:26] local.INFO: IMEI packet received {"connection_id":112326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":112326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:27] local.INFO: TCP Data received {"connection_id":112326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28833e8012d0b4f00070600e80018001a1f..."} 
[2026-06-23 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28833e8012d0b4f00070600e80018001a1f..."} 
[2026-06-23 09:02:27] local.INFO: Processing buffer {"connection_id":112326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28833e8012d0b4f00070600e80018001a1f..."} 
[2026-06-23 09:02:27] local.INFO: Packet analysis {"connection_id":112326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:27] local.INFO: Extracted packet for processing {"connection_id":112326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:27] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833960,"longitude_deg":75.571584,"latitude_deg":11.783396,"altitude":24,"angle":26,"satellites":31,"speed":5,"hex_longitude":"2d0b4f00","hex_latitude":"070600e8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239479552001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810505354051584,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814377506533488640,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:27] 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-06-23 09:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782185473000,"timestamp_ms":1782185473000,"timestamp_seconds":1782185473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28833e8"} 
[2026-06-23 09:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:27] 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-06-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:02: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-06-23 09: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-06-23 09:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239479552001,"66":14439,"165":206,"94":10240,"24":5,"16":21810505354051584,"45":814377506533488640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239479552001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:02:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810505354051584,"km_value":21810505354051.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":814377506533488640,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239479552001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814377506533488640}} 
[2026-06-23 09:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":112326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:27] local.INFO: GPS data processed {"connection_id":112326,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:27] local.INFO: Acknowledgment sent {"connection_id":112326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:30] local.INFO: TCP Data received {"connection_id":111384,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:02:30] local.INFO: Processing buffer {"connection_id":111384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:02:30] local.INFO: IMEI packet received {"connection_id":111384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":111384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:31] local.INFO: TCP Data received {"connection_id":112326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2888208012d0b53c007060bc0001900191f..."} 
[2026-06-23 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2888208012d0b53c007060bc0001900191f..."} 
[2026-06-23 09:02:31] local.INFO: Processing buffer {"connection_id":112326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2888208012d0b53c007060bc0001900191f..."} 
[2026-06-23 09:02:31] local.INFO: Packet analysis {"connection_id":112326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:31] local.INFO: Extracted packet for processing {"connection_id":112326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":31,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239481088001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742842880,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:31] 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-06-23 09:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185493000,"timestamp_ms":1782185493000,"timestamp_seconds":1782185493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2888208"} 
[2026-06-23 09:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:31] 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-06-23 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 09:02: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-06-23 09:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239481088001,"66":14396,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":814870087742842880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239481088001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742842880,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239481088001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814870087742842880}} 
[2026-06-23 09:02:31] local.INFO: TCP Data received {"connection_id":111384,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:02:31] local.INFO: Processing buffer {"connection_id":111384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:02:31] local.INFO: Packet analysis {"connection_id":111384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:31] local.INFO: Extracted packet for processing {"connection_id":111384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 09:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:31] 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-06-23 09:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":111384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:31] local.INFO: GPS data processed {"connection_id":111384,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:31] local.INFO: Acknowledgment sent {"connection_id":111384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":112326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:31] local.INFO: GPS data processed {"connection_id":112326,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:31] local.INFO: Acknowledgment sent {"connection_id":112326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:40] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2895cc8012d79f14005ecac58000c004126..."} 
[2026-06-23 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2895cc8012d79f14005ecac58000c004126..."} 
[2026-06-23 09:02:40] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2895cc8012d79f14005ecac58000c004126..."} 
[2026-06-23 09:02:40] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:02:40] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:02:40] local.INFO: GPS Element Parsed {"raw_longitude":762966336,"raw_latitude":99396696,"longitude_deg":76.2966336,"latitude_deg":9.9396696,"altitude":12,"angle":65,"satellites":38,"speed":0,"hex_longitude":"2d79f140","hex_latitude":"05ecac58","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239495168001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324348238888960,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786874742166280192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782185549000,"timestamp_ms":1782185549000,"timestamp_seconds":1782185549,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2895cc8"} 
[2026-06-23 09:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02: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-06-23 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:40] 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-06-23 09: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-06-23 09:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239495168001,"66":13037,"157":206,"87":13824,"24":0,"16":96324348238888960,"45":8786874742166280192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239495168001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324348238888960,"km_value":96324348238888.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786874742166280192,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239495168001,"power":13037,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8786874742166280192}} 
[2026-06-23 09:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:40] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:40] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:48] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:48] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:48] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:02:52] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:52] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:02:52] local.INFO: IMEI packet received {"connection_id":110589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":110589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:53] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2888208012d194dc00720ac98002c006625..."} 
[2026-06-23 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2888208012d194dc00720ac98002c006625..."} 
[2026-06-23 09:02:53] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2888208012d194dc00720ac98002c006625..."} 
[2026-06-23 09:02:53] local.INFO: Packet analysis {"connection_id":110589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:53] local.INFO: Extracted packet for processing {"connection_id":110589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119581848,"longitude_deg":75.6633024,"latitude_deg":11.9581848,"altitude":44,"angle":102,"satellites":37,"speed":37,"hex_longitude":"2d194dc0","hex_latitude":"0720ac98","is_valid_coordinates":true} 
[2026-06-23 09:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239485184001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3924784064757760,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805094299648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185493000,"timestamp_ms":1782185493000,"timestamp_seconds":1782185493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2888208"} 
[2026-06-23 09:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02: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-06-23 09:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:53] 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-06-23 09:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239485184001,"66":14070,"103":206,"83":41984,"24":37,"16":3924784064757760,"45":1819172805094299648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239485184001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3924784064757760,"km_value":3924784064757.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805094299648,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239485184001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1819172805094299648}} 
[2026-06-23 09:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":110589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:53] local.INFO: GPS data processed {"connection_id":110589,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:53] local.INFO: Acknowledgment sent {"connection_id":110589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:02:54] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:54] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:54] local.INFO: IMEI packet received {"connection_id":111385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":111385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:02:55] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:55] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:55] local.INFO: IMEI packet received {"connection_id":111385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":111385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:57] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:57] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:57] local.INFO: IMEI packet received {"connection_id":111385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":111385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:58] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:58] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:02:58] local.INFO: IMEI packet received {"connection_id":111385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":111385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:02:59] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2897438012d79f30005ecaeb0000c012621..."} 
[2026-06-23 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2897438012d79f30005ecaeb0000c012621..."} 
[2026-06-23 09:02:59] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2897438012d79f30005ecaeb0000c012621..."} 
[2026-06-23 09:02:59] local.INFO: Packet analysis {"connection_id":111385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:02:59] local.INFO: Extracted packet for processing {"connection_id":111385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99397296,"longitude_deg":76.2966784,"latitude_deg":9.9397296,"altitude":12,"angle":294,"satellites":33,"speed":3,"hex_longitude":"2d79f300","hex_latitude":"05ecaeb0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239500544001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324386893594624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786874742166280192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782185555000,"timestamp_ms":1782185555000,"timestamp_seconds":1782185555,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2897438"} 
[2026-06-23 09:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:02:59] 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-06-23 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 09:02:59] 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-06-23 09: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-06-23 09:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239500544001,"66":12689,"157":206,"87":13824,"24":3,"16":96324386893594624,"45":8786874742166280192},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239500544001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:02:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:02:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324386893594624,"km_value":96324386893594.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786874742166280192,"description":"Unknown IO ID 45"} 
[2026-06-23 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239500544001,"power":12689,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8786874742166280192}} 
[2026-06-23 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":111385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:02:59] local.INFO: GPS data processed {"connection_id":111385,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:02:59] local.INFO: Acknowledgment sent {"connection_id":111385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:03] local.INFO: TCP Data received {"connection_id":111384,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:03:03] local.INFO: Processing buffer {"connection_id":111384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:03:03] local.INFO: Packet analysis {"connection_id":111384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:03] local.INFO: Extracted packet for processing {"connection_id":111384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 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-06-23 09:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:03] 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-06-23 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-06-23 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-06-23 09:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:03:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":111384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:03] local.INFO: GPS data processed {"connection_id":111384,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:03] local.INFO: Acknowledgment sent {"connection_id":111384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:16] local.INFO: TCP Data received {"connection_id":112327,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:03:16] local.INFO: Processing buffer {"connection_id":112327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:03:16] local.INFO: IMEI packet received {"connection_id":112327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":112327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:03:20] local.INFO: TCP Data received {"connection_id":112327,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:03:20] local.INFO: Processing buffer {"connection_id":112327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:03:20] local.INFO: IMEI packet received {"connection_id":112327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":112327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:03:21] local.INFO: TCP Data received {"connection_id":112327,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef288d410012d0b53c007060bc0001900191c..."} 
[2026-06-23 09:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef288d410012d0b53c007060bc0001900191c..."} 
[2026-06-23 09:03:21] local.INFO: Processing buffer {"connection_id":112327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef288d410012d0b53c007060bc0001900191c..."} 
[2026-06-23 09:03:21] local.INFO: Packet analysis {"connection_id":112327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:21] local.INFO: Extracted packet for processing {"connection_id":112327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:21] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":28,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239486208001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:21] 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-06-23 09:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782185514000,"timestamp_ms":1782185514000,"timestamp_seconds":1782185514,"priority":1,"record_length":96,"hex_timestamp":"0000019ef288d410"} 
[2026-06-23 09:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:03:21] 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-06-23 09:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239486208001,"66":14396,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239486208001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:03:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239486208001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":112327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:21] local.INFO: GPS data processed {"connection_id":112327,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:21] local.INFO: Acknowledgment sent {"connection_id":112327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:24] local.INFO: TCP Data received {"connection_id":110589,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2888dc0012d1959400720ab88002b005724..."} 
[2026-06-23 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2888dc0012d1959400720ab88002b005724..."} 
[2026-06-23 09:03:24] local.INFO: Processing buffer {"connection_id":110589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2888dc0012d1959400720ab88002b005724..."} 
[2026-06-23 09:03:24] local.INFO: Packet analysis {"connection_id":110589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:24] local.INFO: Extracted packet for processing {"connection_id":110589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756635968,"raw_latitude":119581576,"longitude_deg":75.6635968,"latitude_deg":11.9581576,"altitude":43,"angle":87,"satellites":36,"speed":38,"hex_longitude":"2d195940","hex_latitude":"0720ab88","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239486208001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3924925798678528,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324561000404992,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782185496000,"timestamp_ms":1782185496000,"timestamp_seconds":1782185496,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2888dc0"} 
[2026-06-23 09:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:03: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-06-23 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239486208001,"66":13243,"103":206,"83":41984,"24":38,"16":3924925798678528,"45":1823324561000404992},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239486208001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3924925798678528,"km_value":3924925798678.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324561000404992,"description":"Unknown IO ID 45"} 
[2026-06-23 09:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239486208001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1823324561000404992}} 
[2026-06-23 09:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":110589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:24] local.INFO: GPS data processed {"connection_id":110589,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:24] local.INFO: Acknowledgment sent {"connection_id":110589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:24] local.INFO: TCP Data received {"connection_id":110590,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:03:24] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:03:24] local.INFO: IMEI packet received {"connection_id":110590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":110590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:03:30] local.INFO: TCP Data received {"connection_id":110590,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:03:30] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:03:30] local.INFO: IMEI packet received {"connection_id":110590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":110590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:03:30] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef289fcf0012d79e1c005ecaa28000b00c228..."} 
[2026-06-23 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef289fcf0012d79e1c005ecaa28000b00c228..."} 
[2026-06-23 09:03:30] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef289fcf0012d79e1c005ecaa28000b00c228..."} 
[2026-06-23 09:03:30] local.INFO: Packet analysis {"connection_id":111385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:03:30] local.INFO: Extracted packet for processing {"connection_id":111385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99396136,"longitude_deg":76.2962368,"latitude_deg":9.9396136,"altitude":11,"angle":194,"satellites":40,"speed":5,"hex_longitude":"2d79e1c0","hex_latitude":"05ecaa28","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239510784001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324631706730496,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771330048,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782185590000,"timestamp_ms":1782185590000,"timestamp_seconds":1782185590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef289fcf0"} 
[2026-06-23 09:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:03:30] 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-06-23 09: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069104456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10241,"corrected_to":0} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":242,"raw_value":-8533344922483691968,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2904555531,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2684431737,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1391823390888617693,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314874990255459927,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,157,87,24,241,16,54,158,221,45,170,12,39,10,66,217,64,202,1,240,215,227,242,236,4,113,205,182,231,112,33,239,50,2,86,5,51,152],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":202,"original":10241,"validated":0},{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-23 09:03:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864917799649345536,"timestamp_seconds":864917799649345.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239510784001,"66":12809,"157":206,"87":13824,"24":5,"16":96324631706730496,"45":8782582248771330048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239510784001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324631706730496,"km_value":96324631706730.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771330048,"description":"Unknown IO ID 45"} 
[2026-06-23 09:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239510784001,"power":12809,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8782582248771330048}} 
[2026-06-23 09:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":111385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:30] local.INFO: GPS data processed {"connection_id":111385,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:30] local.INFO: Acknowledgment sent {"connection_id":111385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:31] local.INFO: TCP Data received {"connection_id":110590,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:03:31] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:03:31] local.INFO: Packet analysis {"connection_id":110590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:31] local.INFO: Extracted packet for processing {"connection_id":110590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 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-06-23 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:31] 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-06-23 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-06-23 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-06-23 09:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":110590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:31] local.INFO: GPS data processed {"connection_id":110590,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:31] local.INFO: Acknowledgment sent {"connection_id":110590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:42] local.INFO: TCP Data received {"connection_id":112328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:03:42] local.INFO: Processing buffer {"connection_id":112328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:03:42] local.INFO: IMEI packet received {"connection_id":112328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":112328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:03:47] local.INFO: TCP Data received {"connection_id":112328,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:03:47] local.INFO: Processing buffer {"connection_id":112328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:03:47] local.INFO: IMEI packet received {"connection_id":112328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":112328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:03:48] local.INFO: TCP Data received {"connection_id":112328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef288a148012d196d000720adc0002c004a26..."} 
[2026-06-23 09:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef288a148012d196d000720adc0002c004a26..."} 
[2026-06-23 09:03:48] local.INFO: Processing buffer {"connection_id":112328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef288a148012d196d000720adc0002c004a26..."} 
[2026-06-23 09:03:48] local.INFO: Packet analysis {"connection_id":112328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:48] local.INFO: Extracted packet for processing {"connection_id":112328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119582144,"longitude_deg":75.6641024,"latitude_deg":11.9582144,"altitude":44,"angle":74,"satellites":38,"speed":40,"hex_longitude":"2d196d00","hex_latitude":"0720adc0","is_valid_coordinates":true} 
[2026-06-23 09:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239486976001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3925166316847104,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826561523232507904,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185501000,"timestamp_ms":1782185501000,"timestamp_seconds":1782185501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef288a148"} 
[2026-06-23 09:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:03:48] 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-06-23 09:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:48] 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-06-23 09:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239486976001,"66":14396,"103":206,"83":41984,"24":40,"16":3925166316847104,"45":1826561523232507904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239486976001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3925166316847104,"km_value":3925166316847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826561523232507904,"description":"Unknown IO ID 45"} 
[2026-06-23 09:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239486976001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1826561523232507904}} 
[2026-06-23 09:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":112328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:48] local.INFO: GPS data processed {"connection_id":112328,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:48] local.INFO: Acknowledgment sent {"connection_id":112328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:52] local.INFO: TCP Data received {"connection_id":112327,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2892618012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2892618012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:03:52] local.INFO: Processing buffer {"connection_id":112327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2892618012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:03:52] local.INFO: Packet analysis {"connection_id":112327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:03:52] local.INFO: Extracted packet for processing {"connection_id":112327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:03:52] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":30,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239491584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:03:52] 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-06-23 09:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782185535000,"timestamp_ms":1782185535000,"timestamp_seconds":1782185535,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2892618"} 
[2026-06-23 09:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:03:52] 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-06-23 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:03:52] 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-06-23 09:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112327,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239491584001,"66":14450,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239491584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:03:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:03:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239491584001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":112327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:03:53] local.INFO: GPS data processed {"connection_id":112327,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:03:53] local.INFO: Acknowledgment sent {"connection_id":112327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:03:57] local.INFO: TCP Data received {"connection_id":112329,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:03:57] local.INFO: Processing buffer {"connection_id":112329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:03:57] local.INFO: IMEI packet received {"connection_id":112329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":112329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:04:02] local.INFO: TCP Data received {"connection_id":112329,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112329,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:04:02] local.INFO: Processing buffer {"connection_id":112329,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:04:02] local.INFO: IMEI packet received {"connection_id":112329,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":112329,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:04:02] local.INFO: TCP Data received {"connection_id":112329,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a00d8012d79e1c005eca980000b00aa28..."} 
[2026-06-23 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a00d8012d79e1c005eca980000b00aa28..."} 
[2026-06-23 09:04:02] local.INFO: Processing buffer {"connection_id":112329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a00d8012d79e1c005eca980000b00aa28..."} 
[2026-06-23 09:04:02] local.INFO: Packet analysis {"connection_id":112329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:04:02] local.INFO: Extracted packet for processing {"connection_id":112329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99395968,"longitude_deg":76.2962368,"latitude_deg":9.9395968,"altitude":11,"angle":170,"satellites":40,"speed":7,"hex_longitude":"2d79e1c0","hex_latitude":"05eca980","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239511040001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324640296665088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880027121664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185591000,"timestamp_ms":1782185591000,"timestamp_seconds":1782185591,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a00d8"} 
[2026-06-23 09:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:04:02] 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-06-23 09: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069111456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":242,"raw_value":-8531145899228140480,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2885681163,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2281778553,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854088900234839,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1391814594795598556,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,54,158,249,45,170,12,40,10,66,221,39,217,64,1,240,106,227,242,236,4,113,205,3,186,231,32,33,239,50,2,86,5,11,169],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-23 09:04:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792847011472015360,"timestamp_seconds":792847011472015.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239511040001,"66":12722,"157":206,"87":13824,"24":7,"16":96324640296665088,"45":8782511880027121664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239511040001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:04:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324640296665088,"km_value":96324640296665.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880027121664,"description":"Unknown IO ID 45"} 
[2026-06-23 09:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239511040001,"power":12722,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782511880027121664}} 
[2026-06-23 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":112329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:03] local.INFO: GPS data processed {"connection_id":112329,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:03] local.INFO: Acknowledgment sent {"connection_id":112329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:03] local.INFO: TCP Data received {"connection_id":110590,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:04:03] local.INFO: Processing buffer {"connection_id":110590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:04:03] local.INFO: Packet analysis {"connection_id":110590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:04:03] local.INFO: Extracted packet for processing {"connection_id":110590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 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-06-23 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:04:03] 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-06-23 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-06-23 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-06-23 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:04:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":110590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:03] local.INFO: GPS data processed {"connection_id":110590,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:03] local.INFO: Acknowledgment sent {"connection_id":110590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:16] local.INFO: TCP Data received {"connection_id":111388,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:04:16] local.INFO: Processing buffer {"connection_id":111388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:04:16] local.INFO: IMEI packet received {"connection_id":111388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":111388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:04:19] local.INFO: TCP Data received {"connection_id":112328,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef288d028012d198bc00720b5f0002a003f26..."} 
[2026-06-23 09:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef288d028012d198bc00720b5f0002a003f26..."} 
[2026-06-23 09:04:19] local.INFO: Processing buffer {"connection_id":112328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef288d028012d198bc00720b5f0002a003f26..."} 
[2026-06-23 09:04:19] local.INFO: Packet analysis {"connection_id":112328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:04:19] local.INFO: Extracted packet for processing {"connection_id":112328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119584240,"longitude_deg":75.6648896,"latitude_deg":11.958424,"altitude":42,"angle":63,"satellites":38,"speed":6,"hex_longitude":"2d198bc0","hex_latitude":"0720b5f0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239488256001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3925557158871040,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832120654022688768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185513000,"timestamp_ms":1782185513000,"timestamp_seconds":1782185513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef288d028"} 
[2026-06-23 09:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:04:19] 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-06-23 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239488256001,"66":13993,"103":206,"83":41984,"24":6,"16":3925557158871040,"45":1832120654022688768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239488256001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3925557158871040,"km_value":3925557158871.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832120654022688768,"description":"Unknown IO ID 45"} 
[2026-06-23 09:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239488256001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1832120654022688768}} 
[2026-06-23 09:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":112328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:20] local.INFO: GPS data processed {"connection_id":112328,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:20] local.INFO: Acknowledgment sent {"connection_id":112328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:21] local.INFO: TCP Data received {"connection_id":111388,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111388,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:04:21] local.INFO: Processing buffer {"connection_id":111388,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:04:21] local.INFO: IMEI packet received {"connection_id":111388,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":111388,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:04:22] local.INFO: TCP Data received {"connection_id":111388,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2897820012d0b53c007060bc0001900191f..."} 
[2026-06-23 09:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2897820012d0b53c007060bc0001900191f..."} 
[2026-06-23 09:04:22] local.INFO: Processing buffer {"connection_id":111388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2897820012d0b53c007060bc0001900191f..."} 
[2026-06-23 09:04:22] local.INFO: Packet analysis {"connection_id":111388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:04:22] local.INFO: Extracted packet for processing {"connection_id":111388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:04:22] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":31,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239496960001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:22] 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-06-23 09:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185556000,"timestamp_ms":1782185556000,"timestamp_seconds":1782185556,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2897820"} 
[2026-06-23 09:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:04: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-06-23 09: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-06-23 09:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239496960001,"66":14298,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239496960001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:04:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239496960001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":111388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:22] local.INFO: GPS data processed {"connection_id":111388,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:22] local.INFO: Acknowledgment sent {"connection_id":111388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:24] local.INFO: TCP Data received {"connection_id":112330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:04:24] local.INFO: Processing buffer {"connection_id":112330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:04:24] local.INFO: IMEI packet received {"connection_id":112330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":112330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:04:30] local.INFO: TCP Data received {"connection_id":112330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:04:30] local.INFO: Processing buffer {"connection_id":112330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:04:30] local.INFO: IMEI packet received {"connection_id":112330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":112330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:04:32] local.INFO: TCP Data received {"connection_id":112330,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:04:32] local.INFO: Processing buffer {"connection_id":112330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:04:32] local.INFO: Packet analysis {"connection_id":112330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:04:32] local.INFO: Extracted packet for processing {"connection_id":112330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 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-06-23 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:04:32] 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-06-23 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-06-23 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-06-23 09:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:04:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":112330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:32] local.INFO: GPS data processed {"connection_id":112330,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:32] local.INFO: Acknowledgment sent {"connection_id":112330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:33] local.INFO: TCP Data received {"connection_id":112329,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a08a8012d79e24005eca7d8000b009e28..."} 
[2026-06-23 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a08a8012d79e24005eca7d8000b009e28..."} 
[2026-06-23 09:04:33] local.INFO: Processing buffer {"connection_id":112329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a08a8012d79e24005eca7d8000b009e28..."} 
[2026-06-23 09:04:33] local.INFO: Packet analysis {"connection_id":112329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:04:33] local.INFO: Extracted packet for processing {"connection_id":112329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":762962496,"raw_latitude":99395544,"longitude_deg":76.2962496,"latitude_deg":9.9395544,"altitude":11,"angle":158,"satellites":40,"speed":9,"hex_longitude":"2d79e240","hex_latitude":"05eca7d8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239511296001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96324661771501568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880027078656,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782185593000,"timestamp_ms":1782185593000,"timestamp_seconds":1782185593,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a08a8"} 
[2026-06-23 09:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:04:33] 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-06-23 09: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 09:04: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-06-23 09: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-06-23 09:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112329,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239511296001,"66":13091,"157":206,"87":13824,"24":9,"16":96324661771501568,"45":8782511880027078656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239511296001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:04:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96324661771501568,"km_value":96324661771501.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880027078656,"description":"Unknown IO ID 45"} 
[2026-06-23 09:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239511296001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8782511880027078656}} 
[2026-06-23 09:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":112329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:33] local.INFO: GPS data processed {"connection_id":112329,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:33] local.INFO: Acknowledgment sent {"connection_id":112329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:42] local.INFO: TCP Data received {"connection_id":110762,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:42] local.INFO: Processing buffer {"connection_id":110762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:42] local.INFO: IMEI packet received {"connection_id":110762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":110762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:04:42] local.INFO: TCP Data received {"connection_id":110762,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:42] local.INFO: Processing buffer {"connection_id":110762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:42] local.INFO: IMEI packet received {"connection_id":110762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":110762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:04:48] local.INFO: TCP Data received {"connection_id":110762,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:48] local.INFO: Processing buffer {"connection_id":110762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:04:48] local.INFO: IMEI packet received {"connection_id":110762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":110762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:04:49] local.INFO: TCP Data received {"connection_id":110762,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a9160012d1959400720ab60002b010c26..."} 
[2026-06-23 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a9160012d1959400720ab60002b010c26..."} 
[2026-06-23 09:04:49] local.INFO: Processing buffer {"connection_id":110762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a9160012d1959400720ab60002b010c26..."} 
[2026-06-23 09:04:49] local.INFO: Packet analysis {"connection_id":110762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:04:49] local.INFO: Extracted packet for processing {"connection_id":110762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756635968,"raw_latitude":119581536,"longitude_deg":75.6635968,"latitude_deg":11.9581536,"altitude":43,"angle":268,"satellites":38,"speed":29,"hex_longitude":"2d195940","hex_latitude":"0720ab60","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239517440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3926252943572992,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728627091456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782185628000,"timestamp_ms":1782185628000,"timestamp_seconds":1782185628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a9160"} 
[2026-06-23 09:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239517440001,"66":14428,"103":206,"83":41984,"24":29,"16":3926252943572992,"45":1836905728627091456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239517440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3926252943572992,"km_value":3926252943572.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728627091456,"description":"Unknown IO ID 45"} 
[2026-06-23 09:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239517440001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1836905728627091456}} 
[2026-06-23 09:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":110762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:49] local.INFO: GPS data processed {"connection_id":110762,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:49] local.INFO: Acknowledgment sent {"connection_id":110762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:53] local.INFO: TCP Data received {"connection_id":111388,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef289ca28012d0b53c007060bc00019001921..."} 
[2026-06-23 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef289ca28012d0b53c007060bc00019001921..."} 
[2026-06-23 09:04:53] local.INFO: Processing buffer {"connection_id":111388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef289ca28012d0b53c007060bc00019001921..."} 
[2026-06-23 09:04:53] local.INFO: Packet analysis {"connection_id":111388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:04:53] local.INFO: Extracted packet for processing {"connection_id":111388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef289"} 
[2026-06-23 09:04:53] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":33,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239502336001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:04:53] 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-06-23 09:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185577000,"timestamp_ms":1782185577000,"timestamp_seconds":1782185577,"priority":1,"record_length":96,"hex_timestamp":"0000019ef289ca28"} 
[2026-06-23 09:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:04:53] 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-06-23 09: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":218,"data_length":795,"current_offset":136} 
[2026-06-23 09:04:53] 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-06-23 09: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-06-23 09:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111388,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239502336001,"66":14428,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239502336001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239502336001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":111388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:04:53] local.INFO: GPS data processed {"connection_id":111388,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:04:53] local.INFO: Acknowledgment sent {"connection_id":111388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:04:57] local.INFO: TCP Data received {"connection_id":110591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:04:57] local.INFO: Processing buffer {"connection_id":110591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:04:57] local.INFO: IMEI packet received {"connection_id":110591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":110591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:05:02] local.INFO: TCP Data received {"connection_id":110591,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:02] local.INFO: Processing buffer {"connection_id":110591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:02] local.INFO: IMEI packet received {"connection_id":110591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":110591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:05:02] local.INFO: TCP Data received {"connection_id":110591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a56c8012d79ee4005ec8758000b00a028..."} 
[2026-06-23 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a56c8012d79ee4005ec8758000b00a028..."} 
[2026-06-23 09:05:02] local.INFO: Processing buffer {"connection_id":110591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a56c8012d79ee4005ec8758000b00a028..."} 
[2026-06-23 09:05:02] local.INFO: Packet analysis {"connection_id":110591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:02] local.INFO: Extracted packet for processing {"connection_id":110591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762965568,"raw_latitude":99387224,"longitude_deg":76.2965568,"latitude_deg":9.9387224,"altitude":11,"angle":160,"satellites":40,"speed":17,"hex_longitude":"2d79ee40","hex_latitude":"05ec8758","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239511808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96325091268231168,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782652617515325440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185613000,"timestamp_ms":1782185613000,"timestamp_seconds":1782185613,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a56c8"} 
[2026-06-23 09:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:02] 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-06-23 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:02] 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-06-23 09: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-06-23 09:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239511808001,"66":13037,"157":206,"87":13824,"24":17,"16":96325091268231168,"45":8782652617515325440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239511808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96325091268231168,"km_value":96325091268231.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782652617515325440,"description":"Unknown IO ID 45"} 
[2026-06-23 09:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239511808001,"power":13037,"unknown_157":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8782652617515325440}} 
[2026-06-23 09:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":110591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:02] local.INFO: GPS data processed {"connection_id":110591,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:02] local.INFO: Acknowledgment sent {"connection_id":110591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:04] local.INFO: TCP Data received {"connection_id":112330,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:05:04] local.INFO: Processing buffer {"connection_id":112330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:05:04] local.INFO: Packet analysis {"connection_id":112330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:05:04] local.INFO: Extracted packet for processing {"connection_id":112330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 09:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:04] 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-06-23 09: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-06-23 09:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:05:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":112330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:04] local.INFO: GPS data processed {"connection_id":112330,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:04] local.INFO: Acknowledgment sent {"connection_id":112330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:14] local.INFO: TCP Data received {"connection_id":112331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:14] local.INFO: Processing buffer {"connection_id":112331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:14] local.INFO: IMEI packet received {"connection_id":112331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":112331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:05:16] local.INFO: TCP Data received {"connection_id":112331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:16] local.INFO: Processing buffer {"connection_id":112331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:16] local.INFO: IMEI packet received {"connection_id":112331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":112331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:05:19] local.INFO: TCP Data received {"connection_id":110762,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a9d18012d1950800720aba8002b011726..."} 
[2026-06-23 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a9d18012d1950800720aba8002b011726..."} 
[2026-06-23 09:05:19] local.INFO: Processing buffer {"connection_id":110762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a9d18012d1950800720aba8002b011726..."} 
[2026-06-23 09:05:19] local.INFO: Packet analysis {"connection_id":110762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:19] local.INFO: Extracted packet for processing {"connection_id":110762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119581608,"longitude_deg":75.6633728,"latitude_deg":11.9581608,"altitude":43,"angle":279,"satellites":38,"speed":29,"hex_longitude":"2d195080","hex_latitude":"0720aba8","is_valid_coordinates":true} 
[2026-06-23 09:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239520768001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3926356022788096,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826561523232497664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185631000,"timestamp_ms":1782185631000,"timestamp_seconds":1782185631,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a9d18"} 
[2026-06-23 09:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:19] 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-06-23 09:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:19] 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-06-23 09:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239520768001,"66":14396,"103":206,"83":41984,"24":29,"16":3926356022788096,"45":1826561523232497664},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239520768001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3926356022788096,"km_value":3926356022788.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826561523232497664,"description":"Unknown IO ID 45"} 
[2026-06-23 09:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239520768001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1826561523232497664}} 
[2026-06-23 09:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":110762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:19] local.INFO: GPS data processed {"connection_id":110762,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:19] local.INFO: Acknowledgment sent {"connection_id":110762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:21] local.INFO: TCP Data received {"connection_id":112331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:21] local.INFO: Processing buffer {"connection_id":112331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:05:21] local.INFO: IMEI packet received {"connection_id":112331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":112331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:05:22] local.INFO: TCP Data received {"connection_id":112331,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a1c30012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a1c30012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:05:22] local.INFO: Processing buffer {"connection_id":112331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a1c30012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:05:22] local.INFO: Packet analysis {"connection_id":112331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:22] local.INFO: Extracted packet for processing {"connection_id":112331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:22] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":30,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239507712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:22] 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-06-23 09:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185598000,"timestamp_ms":1782185598000,"timestamp_seconds":1782185598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a1c30"} 
[2026-06-23 09:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239507712001,"66":14428,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239507712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:05:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239507712001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":112331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:22] local.INFO: GPS data processed {"connection_id":112331,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:22] local.INFO: Acknowledgment sent {"connection_id":112331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:24] local.INFO: TCP Data received {"connection_id":112332,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:05:24] local.INFO: Processing buffer {"connection_id":112332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:05:24] local.INFO: IMEI packet received {"connection_id":112332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":112332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:05:30] local.INFO: TCP Data received {"connection_id":112332,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:05:30] local.INFO: Processing buffer {"connection_id":112332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:05:30] local.INFO: IMEI packet received {"connection_id":112332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":112332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:05:32] local.INFO: TCP Data received {"connection_id":112332,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:05:32] local.INFO: Processing buffer {"connection_id":112332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:05:32] local.INFO: Packet analysis {"connection_id":112332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:05:32] local.INFO: Extracted packet for processing {"connection_id":112332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 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-06-23 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:32] 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-06-23 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-06-23 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-06-23 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:05:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":112332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:32] local.INFO: GPS data processed {"connection_id":112332,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:32] local.INFO: Acknowledgment sent {"connection_id":112332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:33] local.INFO: TCP Data received {"connection_id":110591,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a6668012d79f08005ec8268000b008f28..."} 
[2026-06-23 09:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a6668012d79f08005ec8268000b008f28..."} 
[2026-06-23 09:05:33] local.INFO: Processing buffer {"connection_id":110591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a6668012d79f08005ec8268000b008f28..."} 
[2026-06-23 09:05:33] local.INFO: Packet analysis {"connection_id":110591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:33] local.INFO: Extracted packet for processing {"connection_id":110591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:33] local.INFO: GPS Element Parsed {"raw_longitude":762966144,"raw_latitude":99385960,"longitude_deg":76.2966144,"latitude_deg":9.938596,"altitude":11,"angle":143,"satellites":40,"speed":7,"hex_longitude":"2d79f080","hex_latitude":"05ec8268","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239516928001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96325159987707904,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786030317233723392,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782185617000,"timestamp_ms":1782185617000,"timestamp_seconds":1782185617,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a6668"} 
[2026-06-23 09:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:33] 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-06-23 09: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:33] 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-06-23 09: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-06-23 09:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239516928001,"66":12461,"157":206,"87":13824,"24":7,"16":96325159987707904,"45":8786030317233723392},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239516928001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:05:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96325159987707904,"km_value":96325159987707.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786030317233723392,"description":"Unknown IO ID 45"} 
[2026-06-23 09:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239516928001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8786030317233723392}} 
[2026-06-23 09:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":110591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:33] local.INFO: GPS data processed {"connection_id":110591,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:33] local.INFO: Acknowledgment sent {"connection_id":110591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:42] local.INFO: TCP Data received {"connection_id":111389,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:42] local.INFO: Processing buffer {"connection_id":111389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:42] local.INFO: IMEI packet received {"connection_id":111389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":111389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:05:43] local.INFO: TCP Data received {"connection_id":111389,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:43] local.INFO: Processing buffer {"connection_id":111389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:43] local.INFO: IMEI packet received {"connection_id":111389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":111389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:05:48] local.INFO: TCP Data received {"connection_id":111389,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:48] local.INFO: Processing buffer {"connection_id":111389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:05:48] local.INFO: IMEI packet received {"connection_id":111389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":111389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:05:48] local.INFO: TCP Data received {"connection_id":111389,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28b9718012d18cfc007212a80003f015628..."} 
[2026-06-23 09:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28b9718012d18cfc007212a80003f015628..."} 
[2026-06-23 09:05:48] local.INFO: Processing buffer {"connection_id":111389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28b9718012d18cfc007212a80003f015628..."} 
[2026-06-23 09:05:48] local.INFO: Packet analysis {"connection_id":111389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:05:48] local.INFO: Extracted packet for processing {"connection_id":111389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614080,"longitude_deg":75.6600768,"latitude_deg":11.961408,"altitude":63,"angle":342,"satellites":40,"speed":26,"hex_longitude":"2d18cfc0","hex_latitude":"07212a80","is_valid_coordinates":true} 
[2026-06-23 09:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239535616001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3928769794408448,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406764544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185695000,"timestamp_ms":1782185695000,"timestamp_seconds":1782185695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28b9718"} 
[2026-06-23 09:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239535616001,"66":14374,"103":206,"83":41984,"24":26,"16":3928769794408448,"45":1788280926406764544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239535616001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3928769794408448,"km_value":3928769794408.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406764544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239535616001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1788280926406764544}} 
[2026-06-23 09:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":111389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:49] local.INFO: GPS data processed {"connection_id":111389,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:49] local.INFO: Acknowledgment sent {"connection_id":111389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:52] local.INFO: TCP Data received {"connection_id":112331,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a6e38012d0b53c007060bc00019001920..."} 
[2026-06-23 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a6e38012d0b53c007060bc00019001920..."} 
[2026-06-23 09:05:52] local.INFO: Processing buffer {"connection_id":112331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a6e38012d0b53c007060bc00019001920..."} 
[2026-06-23 09:05:52] local.INFO: Packet analysis {"connection_id":112331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:52] local.INFO: Extracted packet for processing {"connection_id":112331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":32,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239513088001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:05:52] 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-06-23 09:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782185619000,"timestamp_ms":1782185619000,"timestamp_seconds":1782185619,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a6e38"} 
[2026-06-23 09:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:05:52] 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-06-23 09:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:05:52] 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-06-23 09:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239513088001,"66":14352,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239513088001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:05:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239513088001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":112331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:05:53] local.INFO: GPS data processed {"connection_id":112331,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:05:53] local.INFO: Acknowledgment sent {"connection_id":112331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:05:57] local.INFO: TCP Data received {"connection_id":111390,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:57] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:57] local.INFO: IMEI packet received {"connection_id":111390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":111390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:05:59] local.INFO: TCP Data received {"connection_id":111390,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:59] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:05:59] local.INFO: IMEI packet received {"connection_id":111390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":111390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:02] local.INFO: TCP Data received {"connection_id":111390,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:02] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:02] local.INFO: IMEI packet received {"connection_id":111390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":111390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:03] local.INFO: TCP Data received {"connection_id":111390,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28a9930012d79f80005ec74e8000c009f28..."} 
[2026-06-23 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28a9930012d79f80005ec74e8000c009f28..."} 
[2026-06-23 09:06:03] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28a9930012d79f80005ec74e8000c009f28..."} 
[2026-06-23 09:06:03] local.INFO: Packet analysis {"connection_id":111390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:06:03] local.INFO: Extracted packet for processing {"connection_id":111390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99382504,"longitude_deg":76.2968064,"latitude_deg":9.9382504,"altitude":12,"angle":159,"satellites":40,"speed":19,"hex_longitude":"2d79f800","hex_latitude":"05ec74e8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239517952001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96325348966268928,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786663635930998784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185630000,"timestamp_ms":1782185630000,"timestamp_seconds":1782185630,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28a9930"} 
[2026-06-23 09:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:06: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-06-23 09: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-06-23 09:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239517952001,"66":12982,"157":206,"87":13824,"24":19,"16":96325348966268928,"45":8786663635930998784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239517952001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:06:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96325348966268928,"km_value":96325348966268.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786663635930998784,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239517952001,"power":12982,"unknown_157":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8786663635930998784}} 
[2026-06-23 09:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":111390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:03] local.INFO: GPS data processed {"connection_id":111390,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:03] local.INFO: Acknowledgment sent {"connection_id":111390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:04] local.INFO: TCP Data received {"connection_id":112332,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:06:04] local.INFO: Processing buffer {"connection_id":112332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:06:04] local.INFO: Packet analysis {"connection_id":112332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:06:04] local.INFO: Extracted packet for processing {"connection_id":112332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 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-06-23 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:04] 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-06-23 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-06-23 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-06-23 09:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:06:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":112332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:04] local.INFO: GPS data processed {"connection_id":112332,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:04] local.INFO: Acknowledgment sent {"connection_id":112332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:16] local.INFO: TCP Data received {"connection_id":111392,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:06:16] local.INFO: Processing buffer {"connection_id":111392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:06:16] local.INFO: IMEI packet received {"connection_id":111392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":111392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:06:19] local.INFO: TCP Data received {"connection_id":111389,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28b9ee8012d18cdc007212f48003f014927..."} 
[2026-06-23 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28b9ee8012d18cdc007212f48003f014927..."} 
[2026-06-23 09:06:19] local.INFO: Processing buffer {"connection_id":111389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28b9ee8012d18cdc007212f48003f014927..."} 
[2026-06-23 09:06:19] local.INFO: Packet analysis {"connection_id":111389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:06:19] local.INFO: Extracted packet for processing {"connection_id":111389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119615304,"longitude_deg":75.6600256,"latitude_deg":11.9615304,"altitude":63,"angle":329,"satellites":39,"speed":28,"hex_longitude":"2d18cdc0","hex_latitude":"07212f48","is_valid_coordinates":true} 
[2026-06-23 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239537920001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3928834218917888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943113728,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185697000,"timestamp_ms":1782185697000,"timestamp_seconds":1782185697,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28b9ee8"} 
[2026-06-23 09:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:19] 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-06-23 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:06: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-06-23 09:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239537920001,"66":14363,"103":206,"83":41984,"24":28,"16":3928834218917888,"45":1787858713943113728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239537920001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3928834218917888,"km_value":3928834218917.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943113728,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239537920001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1787858713943113728}} 
[2026-06-23 09:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":111389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:19] local.INFO: GPS data processed {"connection_id":111389,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:19] local.INFO: Acknowledgment sent {"connection_id":111389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:21] local.INFO: TCP Data received {"connection_id":111392,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111392,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:06:21] local.INFO: Processing buffer {"connection_id":111392,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:06:21] local.INFO: IMEI packet received {"connection_id":111392,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":111392,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:22] local.INFO: TCP Data received {"connection_id":111392,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ac040012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ac040012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:06:22] local.INFO: Processing buffer {"connection_id":111392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ac040012d0b53c007060bc0001900191e..."} 
[2026-06-23 09:06:22] local.INFO: Packet analysis {"connection_id":111392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:06:22] local.INFO: Extracted packet for processing {"connection_id":111392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:06:22] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836736,"longitude_deg":75.5717056,"latitude_deg":11.7836736,"altitude":25,"angle":25,"satellites":30,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060bc0","is_valid_coordinates":true} 
[2026-06-23 09:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239518464001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21810655677906944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882929152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] 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-06-23 09:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185640000,"timestamp_ms":1782185640000,"timestamp_seconds":1782185640,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ac040"} 
[2026-06-23 09:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069032456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5566456861768024087,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10241,"corrected_to":0} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503932431564800,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2300975105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151653,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3221685771,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.WARNING: Large IO value detected {"io_id":232,"raw_value":6755511630300416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,165,94,24,241,157,16,124,158,28,45,192,11,25,30,10,66,202,33,120,1,240,218,227,242,6,4,113,205,212,83,239,56,2,77,7,206,232],"length":628,"final_offset":758,"validated_count":38,"validation_warnings":[{"io_id":202,"original":10241,"validated":0},{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-06-23 09:06:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801467476177846272,"timestamp_seconds":1801467476177846.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239518464001,"66":14537,"165":206,"94":10240,"24":0,"16":21810655677906944,"45":816207093882929152},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239518464001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:06:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21810655677906944,"km_value":21810655677906.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882929152,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239518464001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816207093882929152}} 
[2026-06-23 09:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":111392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:22] local.INFO: GPS data processed {"connection_id":111392,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:22] local.INFO: Acknowledgment sent {"connection_id":111392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:24] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:06:24] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:06:24] local.INFO: IMEI packet received {"connection_id":111393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":111393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:06:30] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:06:30] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:06:30] local.INFO: IMEI packet received {"connection_id":111393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":111393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:31] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:06:31] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2883000012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:06:31] local.INFO: Packet analysis {"connection_id":111393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:06:31] local.INFO: Extracted packet for processing {"connection_id":111393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef288"} 
[2026-06-23 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239403264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575808150155296768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185472000,"timestamp_ms":1782185472000,"timestamp_seconds":1782185472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2883000"} 
[2026-06-23 09:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:31] 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-06-23 09: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-06-23 09:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239403264001,"66":26473,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5575808150155296768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239403264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575808150155296768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239403264001,"power":26473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575808150155296768}} 
[2026-06-23 09:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":111393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:31] local.INFO: GPS data processed {"connection_id":111393,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:31] local.INFO: Acknowledgment sent {"connection_id":111393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:33] local.INFO: TCP Data received {"connection_id":111390,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ae750012d7a030005ec5380000d00a327..."} 
[2026-06-23 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ae750012d7a030005ec5380000d00a327..."} 
[2026-06-23 09:06:33] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ae750012d7a030005ec5380000d00a327..."} 
[2026-06-23 09:06:33] local.INFO: Packet analysis {"connection_id":111390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:06:33] local.INFO: Extracted packet for processing {"connection_id":111390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28a"} 
[2026-06-23 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":762970880,"raw_latitude":99373952,"longitude_deg":76.297088,"latitude_deg":9.9373952,"altitude":13,"angle":163,"satellites":39,"speed":17,"hex_longitude":"2d7a0300","hex_latitude":"05ec5380","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239521280001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96325787052933120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255443968,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782185650000,"timestamp_ms":1782185650000,"timestamp_seconds":1782185650,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ae750"} 
[2026-06-23 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-06-23 09:06: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-06-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 09:06: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-06-23 09: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-06-23 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-06-23 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239521280001,"66":13178,"157":206,"87":13824,"24":17,"16":96325787052933120,"45":8788774698255443968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239521280001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96325787052933120,"km_value":96325787052933.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255443968,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239521280001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8788774698255443968}} 
[2026-06-23 09:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":111390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:34] local.INFO: GPS data processed {"connection_id":111390,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:34] local.INFO: Acknowledgment sent {"connection_id":111390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:42] local.INFO: TCP Data received {"connection_id":111391,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:06:42] local.INFO: Processing buffer {"connection_id":111391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:06:42] local.INFO: IMEI packet received {"connection_id":111391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":111391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:06:42] local.INFO: TCP Data received {"connection_id":110593,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:06:42] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:06:42] local.INFO: IMEI packet received {"connection_id":110593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":110593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:06:45] local.INFO: TCP Data received {"connection_id":110593,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:06:45] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:06:45] local.INFO: IMEI packet received {"connection_id":110593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":110593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:48] local.INFO: TCP Data received {"connection_id":110593,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-23 09:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-23 09:06:48] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-23 09:06:48] local.INFO: IMEI packet received {"connection_id":110593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":110593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:49] local.INFO: TCP Data received {"connection_id":110593,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28bb658012d18c54007213d680040015429..."} 
[2026-06-23 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28bb658012d18c54007213d680040015429..."} 
[2026-06-23 09:06:49] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019ef2..."} 
[2026-06-23 09:06:49] local.INFO: IMEI packet received {"connection_id":110593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":110593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:06:53] local.INFO: TCP Data received {"connection_id":111392,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28d19d0012d0b27c00705fd58001700c820..."} 
[2026-06-23 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28d19d0012d0b27c00705fd58001700c820..."} 
[2026-06-23 09:06:53] local.INFO: Processing buffer {"connection_id":111392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28d19d0012d0b27c00705fd58001700c820..."} 
[2026-06-23 09:06:53] local.INFO: Packet analysis {"connection_id":111392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:06:53] local.INFO: Extracted packet for processing {"connection_id":111392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":117833048,"longitude_deg":75.5705792,"latitude_deg":11.7833048,"altitude":23,"angle":200,"satellites":32,"speed":32,"hex_longitude":"2d0b27c0","hex_latitude":"0705fd58","is_valid_coordinates":true} 
[2026-06-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239562496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21811656405286912,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804525882349064192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] 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-06-23 09:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185794000,"timestamp_ms":1782185794000,"timestamp_seconds":1782185794,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28d19d0"} 
[2026-06-23 09:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:53] 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-06-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111392,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239562496001,"66":14428,"165":206,"94":10240,"24":32,"16":21811656405286912,"45":804525882349064192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239562496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21811656405286912,"km_value":21811656405286.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":804525882349064192,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239562496001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":804525882349064192}} 
[2026-06-23 09:06:53] local.INFO: TCP Data received {"connection_id":110593,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28bbe28012d18c400072143280040016028..."} 
[2026-06-23 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28bbe28012d18c400072143280040016028..."} 
[2026-06-23 09:06:53] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef28bb658012d18c54007213d680040015429..."} 
[2026-06-23 09:06:53] local.INFO: Packet analysis {"connection_id":110593,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:06:53] local.INFO: Extracted packet for processing {"connection_id":110593,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119618920,"longitude_deg":75.659808,"latitude_deg":11.961892,"altitude":64,"angle":340,"satellites":41,"speed":30,"hex_longitude":"2d18c540","hex_latitude":"07213d68","is_valid_coordinates":true} 
[2026-06-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239538432001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3929040377348096,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787295763990005760,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185703000,"timestamp_ms":1782185703000,"timestamp_seconds":1782185703,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28bb658"} 
[2026-06-23 09:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239538432001,"66":14363,"106":206,"83":41984,"24":30,"16":3929040377348096,"45":1787295763990005760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239538432001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3929040377348096,"km_value":3929040377348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787295763990005760,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239538432001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1787295763990005760}} 
[2026-06-23 09:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":111392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:53] local.INFO: GPS data processed {"connection_id":111392,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:53] local.INFO: Acknowledgment sent {"connection_id":111392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":110593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:53] local.INFO: GPS data processed {"connection_id":110593,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:53] local.INFO: Acknowledgment sent {"connection_id":110593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:53] local.INFO: Packet analysis {"connection_id":110593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:06:53] local.INFO: Extracted packet for processing {"connection_id":110593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620392,"longitude_deg":75.659776,"latitude_deg":11.9620392,"altitude":64,"angle":352,"satellites":40,"speed":30,"hex_longitude":"2d18c400","hex_latitude":"07214328","is_valid_coordinates":true} 
[2026-06-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239539968001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3929113391792128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226688890880,"note":"Value kept but may cause issues"} 
[2026-06-23 09:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185705000,"timestamp_ms":1782185705000,"timestamp_seconds":1782185705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28bbe28"} 
[2026-06-23 09:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239539968001,"66":13820,"106":206,"83":41984,"24":30,"16":3929113391792128,"45":1784903226688890880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239539968001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3929113391792128,"km_value":3929113391792.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226688890880,"description":"Unknown IO ID 45"} 
[2026-06-23 09:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239539968001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1784903226688890880}} 
[2026-06-23 09:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":110593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:06:53] local.INFO: GPS data processed {"connection_id":110593,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:06:53] local.INFO: Acknowledgment sent {"connection_id":110593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:06:57] local.INFO: TCP Data received {"connection_id":112333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:57] local.INFO: Processing buffer {"connection_id":112333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:57] local.INFO: IMEI packet received {"connection_id":112333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":112333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:06:57] local.INFO: TCP Data received {"connection_id":112333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:57] local.INFO: Processing buffer {"connection_id":112333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:06:57] local.INFO: IMEI packet received {"connection_id":112333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":112333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:07:02] local.INFO: TCP Data received {"connection_id":112333,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:07:02] local.INFO: Processing buffer {"connection_id":112333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:07:02] local.INFO: IMEI packet received {"connection_id":112333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":112333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:07:02] local.INFO: TCP Data received {"connection_id":112333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28b3570012d7a05c005ec4aa0000d00a024..."} 
[2026-06-23 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28b3570012d7a05c005ec4aa0000d00a024..."} 
[2026-06-23 09:07:02] local.INFO: Processing buffer {"connection_id":112333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28b3570012d7a05c005ec4aa0000d00a024..."} 
[2026-06-23 09:07:02] local.INFO: Packet analysis {"connection_id":112333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:02] local.INFO: Extracted packet for processing {"connection_id":112333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:02] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":99371680,"longitude_deg":76.2971584,"latitude_deg":9.937168,"altitude":13,"angle":160,"satellites":36,"speed":0,"hex_longitude":"2d7a05c0","hex_latitude":"05ec4aa0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239526400001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96325907312017408,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791870922997071872,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185670000,"timestamp_ms":1782185670000,"timestamp_seconds":1782185670,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28b3570"} 
[2026-06-23 09:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07: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-06-23 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:02] 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-06-23 09: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-06-23 09:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239526400001,"66":12939,"157":206,"87":13824,"24":0,"16":96325907312017408,"45":8791870922997071872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239526400001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96325907312017408,"km_value":96325907312017.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791870922997071872,"description":"Unknown IO ID 45"} 
[2026-06-23 09:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239526400001,"power":12939,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8791870922997071872}} 
[2026-06-23 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":112333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:03] local.INFO: GPS data processed {"connection_id":112333,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:03] local.INFO: Acknowledgment sent {"connection_id":112333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:03] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:07:03] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:07:03] local.INFO: Packet analysis {"connection_id":111393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:07:03] local.INFO: Extracted packet for processing {"connection_id":111393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 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-06-23 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:07:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":111393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:03] local.INFO: GPS data processed {"connection_id":111393,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:03] local.INFO: Acknowledgment sent {"connection_id":111393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:12] local.INFO: TCP Data received {"connection_id":110763,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:07:12] local.INFO: Processing buffer {"connection_id":110763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:07:12] local.INFO: IMEI packet received {"connection_id":110763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":110763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:07:16] local.INFO: TCP Data received {"connection_id":112334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:07:16] local.INFO: Processing buffer {"connection_id":112334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:07:16] local.INFO: IMEI packet received {"connection_id":112334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":112334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:07:21] local.INFO: TCP Data received {"connection_id":112334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:07:21] local.INFO: Processing buffer {"connection_id":112334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:07:21] local.INFO: IMEI packet received {"connection_id":112334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":112334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:07:22] local.INFO: TCP Data received {"connection_id":112334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28d2d58012d0b22c00705ebb0001700bb21..."} 
[2026-06-23 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28d2d58012d0b22c00705ebb0001700bb21..."} 
[2026-06-23 09:07:22] local.INFO: Processing buffer {"connection_id":112334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28d2d58012d0b22c00705ebb0001700bb21..."} 
[2026-06-23 09:07:22] local.INFO: Packet analysis {"connection_id":112334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:07:22] local.INFO: Extracted packet for processing {"connection_id":112334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:07:22] local.INFO: GPS Element Parsed {"raw_longitude":755704512,"raw_latitude":117828528,"longitude_deg":75.5704512,"latitude_deg":11.7828528,"altitude":23,"angle":187,"satellites":33,"speed":39,"hex_longitude":"2d0b22c0","hex_latitude":"0705ebb0","is_valid_coordinates":true} 
[2026-06-23 09:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239563264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21811884038553600,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194906716160,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:22] 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-06-23 09:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185799000,"timestamp_ms":1782185799000,"timestamp_seconds":1782185799,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28d2d58"} 
[2026-06-23 09:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239563264001,"66":14396,"165":206,"94":10240,"24":39,"16":21811884038553600,"45":803822194906716160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239563264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:07:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21811884038553600,"km_value":21811884038553.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194906716160,"description":"Unknown IO ID 45"} 
[2026-06-23 09:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239563264001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":803822194906716160}} 
[2026-06-23 09:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":112334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:22] local.INFO: GPS data processed {"connection_id":112334,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:22] local.INFO: Acknowledgment sent {"connection_id":112334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:24] local.INFO: TCP Data received {"connection_id":110593,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28bd1b0012d18c240072152780041015128..."} 
[2026-06-23 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28bd1b0012d18c240072152780041015128..."} 
[2026-06-23 09:07:24] local.INFO: Processing buffer {"connection_id":110593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28bd1b0012d18c240072152780041015128..."} 
[2026-06-23 09:07:24] local.INFO: Packet analysis {"connection_id":110593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:24] local.INFO: Extracted packet for processing {"connection_id":110593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624312,"longitude_deg":75.6597312,"latitude_deg":11.9624312,"altitude":65,"angle":337,"satellites":40,"speed":32,"hex_longitude":"2d18c240","hex_latitude":"07215278","is_valid_coordinates":true} 
[2026-06-23 09:07: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-06-23 09:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239540480001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3929306665320448,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968379392,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782185710000,"timestamp_ms":1782185710000,"timestamp_seconds":1782185710,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28bd1b0"} 
[2026-06-23 09:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07:24] 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-06-23 09:07: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":252,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:24] 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-06-23 09:07: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-06-23 09:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239540480001,"66":14428,"106":206,"83":41984,"24":32,"16":3929306665320448,"45":1784551382968379392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239540480001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3929306665320448,"km_value":3929306665320.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968379392,"description":"Unknown IO ID 45"} 
[2026-06-23 09:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239540480001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784551382968379392}} 
[2026-06-23 09:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":110593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:24] local.INFO: GPS data processed {"connection_id":110593,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:24] local.INFO: Acknowledgment sent {"connection_id":110593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:25] local.INFO: TCP Data received {"connection_id":110764,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:07:25] local.INFO: Processing buffer {"connection_id":110764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:07:25] local.INFO: IMEI packet received {"connection_id":110764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":110764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:07:30] local.INFO: TCP Data received {"connection_id":110764,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:07:30] local.INFO: Processing buffer {"connection_id":110764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:07:30] local.INFO: IMEI packet received {"connection_id":110764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":110764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:07:31] local.INFO: TCP Data received {"connection_id":110764,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:07:31] local.INFO: Processing buffer {"connection_id":110764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:07:31] local.INFO: Packet analysis {"connection_id":110764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:07:31] local.INFO: Extracted packet for processing {"connection_id":110764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:07:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:07:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":110764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:31] local.INFO: GPS data processed {"connection_id":110764,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:31] local.INFO: Acknowledgment sent {"connection_id":110764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:33] local.INFO: TCP Data received {"connection_id":112333,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28b8778012d7a088005ec4270000d00a826..."} 
[2026-06-23 09:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28b8778012d7a088005ec4270000d00a826..."} 
[2026-06-23 09:07:33] local.INFO: Processing buffer {"connection_id":112333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28b8778012d7a088005ec4270000d00a826..."} 
[2026-06-23 09:07:33] local.INFO: Packet analysis {"connection_id":112333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:33] local.INFO: Extracted packet for processing {"connection_id":112333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:33] local.INFO: GPS Element Parsed {"raw_longitude":762972288,"raw_latitude":99369584,"longitude_deg":76.2972288,"latitude_deg":9.9369584,"altitude":13,"angle":168,"satellites":38,"speed":4,"hex_longitude":"2d7a0880","hex_latitude":"05ec4270","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239531520001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96326018981167104,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644979182444544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782185691000,"timestamp_ms":1782185691000,"timestamp_seconds":1782185691,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28b8778"} 
[2026-06-23 09:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07:33] 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-06-23 09: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:33] 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-06-23 09: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-06-23 09:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239531520001,"66":13189,"157":206,"87":13824,"24":4,"16":96326018981167104,"45":8792644979182444544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 09:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239531520001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 09:07:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96326018981167104,"km_value":96326018981167.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644979182444544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239531520001,"power":13189,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8792644979182444544}} 
[2026-06-23 09:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":112333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:33] local.INFO: GPS data processed {"connection_id":112333,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:33] local.INFO: Acknowledgment sent {"connection_id":112333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:42] local.INFO: TCP Data received {"connection_id":110594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:42] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:42] local.INFO: IMEI packet received {"connection_id":110594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":110594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:07:45] local.INFO: TCP Data received {"connection_id":110594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:45] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:45] local.INFO: IMEI packet received {"connection_id":110594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":110594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:07:48] local.INFO: TCP Data received {"connection_id":110594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:48] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:07:48] local.INFO: IMEI packet received {"connection_id":110594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":110594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:07:48] local.INFO: TCP Data received {"connection_id":110594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28bd980012d18be80072157e00041014329..."} 
[2026-06-23 09:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28bd980012d18be80072157e00041014329..."} 
[2026-06-23 09:07:48] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28bd980012d18be80072157e00041014329..."} 
[2026-06-23 09:07:48] local.INFO: Packet analysis {"connection_id":110594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:48] local.INFO: Extracted packet for processing {"connection_id":110594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28b"} 
[2026-06-23 09:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756596352,"raw_latitude":119625696,"longitude_deg":75.6596352,"latitude_deg":11.9625696,"altitude":65,"angle":323,"satellites":41,"speed":32,"hex_longitude":"2d18be80","hex_latitude":"072157e0","is_valid_coordinates":true} 
[2026-06-23 09:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239541760001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3929383974731776,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760139264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185712000,"timestamp_ms":1782185712000,"timestamp_seconds":1782185712,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28bd980"} 
[2026-06-23 09:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239541760001,"66":14483,"106":206,"83":41984,"24":32,"16":3929383974731776,"45":1784058801760139264},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239541760001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3929383974731776,"km_value":3929383974731.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760139264,"description":"Unknown IO ID 45"} 
[2026-06-23 09:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239541760001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784058801760139264}} 
[2026-06-23 09:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":110594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:49] local.INFO: GPS data processed {"connection_id":110594,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:49] local.INFO: Acknowledgment sent {"connection_id":110594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:52] local.INFO: TCP Data received {"connection_id":112334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28d5080012d0b22000705c560001400b821..."} 
[2026-06-23 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28d5080012d0b22000705c560001400b821..."} 
[2026-06-23 09:07:52] local.INFO: Processing buffer {"connection_id":112334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28d5080012d0b22000705c560001400b821..."} 
[2026-06-23 09:07:52] local.INFO: Packet analysis {"connection_id":112334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:07:52] local.INFO: Extracted packet for processing {"connection_id":112334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:07:52] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117818720,"longitude_deg":75.570432,"latitude_deg":11.781872,"altitude":20,"angle":184,"satellites":33,"speed":41,"hex_longitude":"2d0b2200","hex_latitude":"0705c560","is_valid_coordinates":true} 
[2026-06-23 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239564544001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21812360779923456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802414820022005760,"note":"Value kept but may cause issues"} 
[2026-06-23 09:07:52] 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-06-23 09:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782185808000,"timestamp_ms":1782185808000,"timestamp_seconds":1782185808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28d5080"} 
[2026-06-23 09:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:07:52] 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-06-23 09:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:07:52] 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-06-23 09:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239564544001,"66":14428,"165":206,"94":10240,"24":41,"16":21812360779923456,"45":802414820022005760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239564544001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:07:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:07:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21812360779923456,"km_value":21812360779923.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":802414820022005760,"description":"Unknown IO ID 45"} 
[2026-06-23 09:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239564544001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":802414820022005760}} 
[2026-06-23 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":112334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:07:53] local.INFO: GPS data processed {"connection_id":112334,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:07:53] local.INFO: Acknowledgment sent {"connection_id":112334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:07:56] local.INFO: TCP Data received {"connection_id":110595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:07:56] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:07:56] local.INFO: IMEI packet received {"connection_id":110595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":110595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:08:02] local.INFO: TCP Data received {"connection_id":110595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:08:02] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:08:02] local.INFO: IMEI packet received {"connection_id":110595,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":110595,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:08:03] local.INFO: TCP Data received {"connection_id":110595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e2370012d7a53c005eb9860000a008a26..."} 
[2026-06-23 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e2370012d7a53c005eb9860000a008a26..."} 
[2026-06-23 09:08:03] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e2370012d7a53c005eb9860000a008a26..."} 
[2026-06-23 09:08:03] local.INFO: Packet analysis {"connection_id":110595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:03] local.INFO: Extracted packet for processing {"connection_id":110595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762991552,"raw_latitude":99326048,"longitude_deg":76.2991552,"latitude_deg":9.9326048,"altitude":10,"angle":138,"satellites":38,"speed":12,"hex_longitude":"2d7a53c0","hex_latitude":"05eb9860","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239578624001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96328355443376128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812629702517921792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] 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-06-23 09:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185862000,"timestamp_ms":1782185862000,"timestamp_seconds":1782185862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e2370"} 
[2026-06-23 09:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:03] 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-06-23 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947197,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069276456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2363183105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033633998,"corrected_to":0} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962296320,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,87,24,241,157,16,57,158,182,45,64,192,8,35,10,66,156,107,223,4,39,29,128,1,240,221,227,242,236,113,205,6,137,20,38,239,50,2,86,5,14],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033633998,"validated":0}]} 
[2026-06-23 09:08:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720743229356507136,"timestamp_seconds":720743229356507.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239578624001,"66":12906,"163":206,"87":13824,"24":12,"16":96328355443376128,"45":8812629702517921792},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239578624001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96328355443376128,"km_value":96328355443376.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812629702517921792,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239578624001,"power":12906,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8812629702517921792}} 
[2026-06-23 09:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":110595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:03] local.INFO: GPS data processed {"connection_id":110595,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:03] local.INFO: Acknowledgment sent {"connection_id":110595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:03] local.INFO: TCP Data received {"connection_id":110764,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:08:03] local.INFO: Processing buffer {"connection_id":110764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:08:03] local.INFO: Packet analysis {"connection_id":110764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:08:03] local.INFO: Extracted packet for processing {"connection_id":110764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:08:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":110764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:03] local.INFO: GPS data processed {"connection_id":110764,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:03] local.INFO: Acknowledgment sent {"connection_id":110764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:16] local.INFO: TCP Data received {"connection_id":112335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:16] local.INFO: Processing buffer {"connection_id":112335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:16] local.INFO: IMEI packet received {"connection_id":112335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":112335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:08:17] local.INFO: TCP Data received {"connection_id":112335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:17] local.INFO: Processing buffer {"connection_id":112335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:17] local.INFO: IMEI packet received {"connection_id":112335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":112335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:08:20] local.INFO: TCP Data received {"connection_id":110594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28db228012d1821000721a4480052013428..."} 
[2026-06-23 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28db228012d1821000721a4480052013428..."} 
[2026-06-23 09:08:20] local.INFO: Processing buffer {"connection_id":110594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28db228012d1821000721a4480052013428..."} 
[2026-06-23 09:08:20] local.INFO: Packet analysis {"connection_id":110594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:08:20] local.INFO: Extracted packet for processing {"connection_id":110594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119645256,"longitude_deg":75.6556032,"latitude_deg":11.9645256,"altitude":82,"angle":308,"satellites":40,"speed":10,"hex_longitude":"2d182100","hex_latitude":"0721a448","is_valid_coordinates":true} 
[2026-06-23 09:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239571712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931621652692992,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654170112,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185833000,"timestamp_ms":1782185833000,"timestamp_seconds":1782185833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28db228"} 
[2026-06-23 09:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:20] 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-06-23 09:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239571712001,"66":14407,"105":206,"83":41984,"24":10,"16":3931621652692992,"45":1740078336654170112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239571712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931621652692992,"km_value":3931621652692.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654170112,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239571712001,"power":14407,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1740078336654170112}} 
[2026-06-23 09:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":110594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:20] local.INFO: GPS data processed {"connection_id":110594,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:20] local.INFO: Acknowledgment sent {"connection_id":110594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:21] local.INFO: TCP Data received {"connection_id":112335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112335,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:21] local.INFO: Processing buffer {"connection_id":112335,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:08:21] local.INFO: IMEI packet received {"connection_id":112335,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":112335,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:08:22] local.INFO: TCP Data received {"connection_id":112335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e4a80012d0ae1c0070595480025011621..."} 
[2026-06-23 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e4a80012d0ae1c0070595480025011621..."} 
[2026-06-23 09:08:22] local.INFO: Processing buffer {"connection_id":112335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e4a80012d0ae1c0070595480025011621..."} 
[2026-06-23 09:08:22] local.INFO: Packet analysis {"connection_id":112335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:22] local.INFO: Extracted packet for processing {"connection_id":112335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755687872,"raw_latitude":117806408,"longitude_deg":75.5687872,"latitude_deg":11.7806408,"altitude":37,"angle":278,"satellites":33,"speed":11,"hex_longitude":"2d0ae1c0","hex_latitude":"07059548","is_valid_coordinates":true} 
[2026-06-23 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239582464001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21813670744948736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785104108948535296,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:22] 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-06-23 09:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782185872000,"timestamp_ms":1782185872000,"timestamp_seconds":1782185872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e4a80"} 
[2026-06-23 09:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:22] 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-06-23 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:22] 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-06-23 09:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239582464001,"66":14396,"165":206,"94":10240,"24":11,"16":21813670744948736,"45":785104108948535296},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239582464001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21813670744948736,"km_value":21813670744948.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":785104108948535296,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239582464001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":785104108948535296}} 
[2026-06-23 09:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":112335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:22] local.INFO: GPS data processed {"connection_id":112335,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:22] local.INFO: Acknowledgment sent {"connection_id":112335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:24] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:08:24] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:08:24] local.INFO: IMEI packet received {"connection_id":110765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":110765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:08:29] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:08:29] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:08:29] local.INFO: IMEI packet received {"connection_id":110765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":110765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:08:31] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:08:31] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:08:31] local.INFO: Packet analysis {"connection_id":110765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:08:31] local.INFO: Extracted packet for processing {"connection_id":110765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:08:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":110765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:31] local.INFO: GPS data processed {"connection_id":110765,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:31] local.INFO: Acknowledgment sent {"connection_id":110765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:34] local.INFO: TCP Data received {"connection_id":110595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e2b40012d7a558005eb96d0000b007c27..."} 
[2026-06-23 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e2b40012d7a558005eb96d0000b007c27..."} 
[2026-06-23 09:08:34] local.INFO: Processing buffer {"connection_id":110595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e2b40012d7a558005eb96d0000b007c27..."} 
[2026-06-23 09:08:34] local.INFO: Packet analysis {"connection_id":110595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:34] local.INFO: Extracted packet for processing {"connection_id":110595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:34] local.INFO: GPS Element Parsed {"raw_longitude":762992000,"raw_latitude":99325648,"longitude_deg":76.2992,"latitude_deg":9.9325648,"altitude":11,"angle":124,"satellites":39,"speed":10,"hex_longitude":"2d7a5580","hex_latitude":"05eb96d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239580672001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96328385508147200,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814600027354193920,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:34] 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-06-23 09:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782185864000,"timestamp_ms":1782185864000,"timestamp_seconds":1782185864,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e2b40"} 
[2026-06-23 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-06-23 09:08: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-06-23 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:34] 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-06-23 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-06-23 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-06-23 09:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110595,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239580672001,"66":13091,"163":206,"87":13824,"24":10,"16":96328385508147200,"45":8814600027354193920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 09:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239580672001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96328385508147200,"km_value":96328385508147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814600027354193920,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239580672001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8814600027354193920}} 
[2026-06-23 09:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":110595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:34] local.INFO: GPS data processed {"connection_id":110595,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:34] local.INFO: Acknowledgment sent {"connection_id":110595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:48] local.INFO: TCP Data received {"connection_id":110766,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:08:48] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:08:48] local.INFO: IMEI packet received {"connection_id":110766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":110766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:08:53] local.INFO: TCP Data received {"connection_id":110766,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:08:53] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:08:53] local.INFO: IMEI packet received {"connection_id":110766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":110766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:08:53] local.INFO: TCP Data received {"connection_id":112335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e4e68012d0ae080070595480025010b21..."} 
[2026-06-23 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e4e68012d0ae080070595480025010b21..."} 
[2026-06-23 09:08:53] local.INFO: Processing buffer {"connection_id":112335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e4e68012d0ae080070595480025010b21..."} 
[2026-06-23 09:08:53] local.INFO: Packet analysis {"connection_id":112335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:53] local.INFO: Extracted packet for processing {"connection_id":112335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":755687552,"raw_latitude":117806408,"longitude_deg":75.5687552,"latitude_deg":11.7806408,"altitude":37,"angle":267,"satellites":33,"speed":11,"hex_longitude":"2d0ae080","hex_latitude":"07059548","is_valid_coordinates":true} 
[2026-06-23 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239583232001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21813683629850624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784118946530150400,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:53] 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-06-23 09:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185873000,"timestamp_ms":1782185873000,"timestamp_seconds":1782185873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e4e68"} 
[2026-06-23 09:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:53] 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-06-23 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112335,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239583232001,"66":14396,"165":206,"94":10240,"24":11,"16":21813683629850624,"45":784118946530150400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239583232001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21813683629850624,"km_value":21813683629850.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":784118946530150400,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239583232001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":784118946530150400}} 
[2026-06-23 09:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":112335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:53] local.INFO: GPS data processed {"connection_id":112335,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:53] local.INFO: Acknowledgment sent {"connection_id":112335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:53] local.INFO: TCP Data received {"connection_id":110766,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28dbde0012d181ec00721a578005201292a..."} 
[2026-06-23 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28dbde0012d181ec00721a578005201292a..."} 
[2026-06-23 09:08:53] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28dbde0012d181ec00721a578005201292a..."} 
[2026-06-23 09:08:53] local.INFO: Packet analysis {"connection_id":110766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:08:53] local.INFO: Extracted packet for processing {"connection_id":110766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28d"} 
[2026-06-23 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645560,"longitude_deg":75.6555456,"latitude_deg":11.964556,"altitude":82,"angle":297,"satellites":42,"speed":5,"hex_longitude":"2d181ec0","hex_latitude":"0721a578","is_valid_coordinates":true} 
[2026-06-23 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239573248001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931651717464064,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961770907648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185836000,"timestamp_ms":1782185836000,"timestamp_seconds":1782185836,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28dbde0"} 
[2026-06-23 09:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:08:53] 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-06-23 09:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239573248001,"66":14374,"105":206,"83":41984,"24":5,"16":3931651717464064,"45":1738670961770907648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239573248001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931651717464064,"km_value":3931651717464.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961770907648,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239573248001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738670961770907648}} 
[2026-06-23 09:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":110766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:53] local.INFO: GPS data processed {"connection_id":110766,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:53] local.INFO: Acknowledgment sent {"connection_id":110766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:08:54] local.INFO: TCP Data received {"connection_id":110766,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e0fe8012d181dc00721a6780052013427..."} 
[2026-06-23 09:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e0fe8012d181dc00721a6780052013427..."} 
[2026-06-23 09:08:54] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e0fe8012d181dc00721a6780052013427..."} 
[2026-06-23 09:08:54] local.INFO: Packet analysis {"connection_id":110766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:54] local.INFO: Extracted packet for processing {"connection_id":110766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645816,"longitude_deg":75.65552,"latitude_deg":11.9645816,"altitude":82,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721a678","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239574016001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931673192300544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073386496,"note":"Value kept but may cause issues"} 
[2026-06-23 09:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782185857000,"timestamp_ms":1782185857000,"timestamp_seconds":1782185857,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e0fe8"} 
[2026-06-23 09:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:08: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-06-23 09: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-06-23 09:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":110766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":110766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":110766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239574016001,"66":13102,"105":206,"83":41984,"24":0,"16":3931673192300544,"45":1738037643073386496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239574016001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:08:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931673192300544,"km_value":3931673192300.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073386496,"description":"Unknown IO ID 45"} 
[2026-06-23 09:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239574016001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643073386496}} 
[2026-06-23 09:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":110766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:08:54] local.INFO: GPS data processed {"connection_id":110766,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:08:54] local.INFO: Acknowledgment sent {"connection_id":110766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:02] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:02] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:02] local.INFO: IMEI packet received {"connection_id":110767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":110767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:09:02] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:02] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:02] local.INFO: IMEI packet received {"connection_id":110767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":110767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:09:03] local.INFO: TCP Data received {"connection_id":110765,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:03] local.INFO: Processing buffer {"connection_id":110765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:03] local.INFO: Packet analysis {"connection_id":110765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:09:03] local.INFO: Extracted packet for processing {"connection_id":110765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":110765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:03] local.INFO: GPS data processed {"connection_id":110765,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:03] local.INFO: Acknowledgment sent {"connection_id":110765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:07] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:07] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:09:07] local.INFO: IMEI packet received {"connection_id":110767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":110767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:09:11] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e3310012d7a574005eb9600000b006427..."} 
[2026-06-23 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e3310012d7a574005eb9600000b006427..."} 
[2026-06-23 09:09:11] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e3310012d7a574005eb9600000b006427..."} 
[2026-06-23 09:09:11] local.INFO: Packet analysis {"connection_id":110767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:11] local.INFO: Extracted packet for processing {"connection_id":110767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":762992448,"raw_latitude":99325440,"longitude_deg":76.2992448,"latitude_deg":9.932544,"altitude":11,"angle":100,"satellites":39,"speed":10,"hex_longitude":"2d7a5740","hex_latitude":"05eb9600","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239581184001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96328406982983680,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815092608563335168,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:11] 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-06-23 09:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782185866000,"timestamp_ms":1782185866000,"timestamp_seconds":1782185866,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e3310"} 
[2026-06-23 09:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09: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-06-23 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:11] 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-06-23 09: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-06-23 09:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":110767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":110767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":110767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239581184001,"66":13178,"163":206,"87":13824,"24":10,"16":96328406982983680,"45":8815092608563335168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 09:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239581184001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96328406982983680,"km_value":96328406982983.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815092608563335168,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239581184001,"power":13178,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8815092608563335168}} 
[2026-06-23 09:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":110767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:11] local.INFO: GPS data processed {"connection_id":110767,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:11] local.INFO: Acknowledgment sent {"connection_id":110767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:12] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e3ec8012d7a5a4005eb9608000b004a25..."} 
[2026-06-23 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e3ec8012d7a5a4005eb9608000b004a25..."} 
[2026-06-23 09:09:12] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e3ec8012d7a5a4005eb9608000b004a25..."} 
[2026-06-23 09:09:12] local.INFO: Packet analysis {"connection_id":110767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:12] local.INFO: Extracted packet for processing {"connection_id":110767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":99325448,"longitude_deg":76.2993216,"latitude_deg":9.9325448,"altitude":11,"angle":74,"satellites":37,"speed":10,"hex_longitude":"2d7a5a40","hex_latitude":"05eb9608","is_valid_coordinates":true} 
[2026-06-23 09:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239581696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96328445637689344,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815585189772525568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:12] 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-06-23 09:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782185869000,"timestamp_ms":1782185869000,"timestamp_seconds":1782185869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e3ec8"} 
[2026-06-23 09:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:12] 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-06-23 09:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239581696001,"66":13102,"163":206,"87":13824,"24":10,"16":96328445637689344,"45":8815585189772525568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 09:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239581696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96328445637689344,"km_value":96328445637689.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815585189772525568,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239581696001,"power":13102,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8815585189772525568}} 
[2026-06-23 09:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":110767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:12] local.INFO: GPS data processed {"connection_id":110767,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:12] local.INFO: Acknowledgment sent {"connection_id":110767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:16] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:16] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:16] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:09:18] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e8ce8012d7a758005eb9fb80009004928..."} 
[2026-06-23 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e8ce8012d7a758005eb9fb80009004928..."} 
[2026-06-23 09:09:18] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e8ce8012d7a758005eb9fb80009004928..."} 
[2026-06-23 09:09:18] local.INFO: Packet analysis {"connection_id":110767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:18] local.INFO: Extracted packet for processing {"connection_id":110767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763000192,"raw_latitude":99327928,"longitude_deg":76.3000192,"latitude_deg":9.9327928,"altitude":9,"angle":73,"satellites":40,"speed":18,"hex_longitude":"2d7a7580","hex_latitude":"05eb9fb8","is_valid_coordinates":true} 
[2026-06-23 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239582464001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96328797825007616,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614702659584,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:18] 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-06-23 09:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782185889000,"timestamp_ms":1782185889000,"timestamp_seconds":1782185889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e8ce8"} 
[2026-06-23 09:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:18] 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-06-23 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:18] 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-06-23 09:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":110767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":110767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":110767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239582464001,"66":13319,"163":206,"87":13824,"24":18,"16":96328797825007616,"45":8816429614702659584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 09:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239582464001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96328797825007616,"km_value":96328797825007.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614702659584,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239582464001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8816429614702659584}} 
[2026-06-23 09:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":110767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:18] local.INFO: GPS data processed {"connection_id":110767,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:18] local.INFO: Acknowledgment sent {"connection_id":110767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:20] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:20] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:20] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:09:21] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:21] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:09:21] local.INFO: IMEI packet received {"connection_id":110597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":110597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:09:21] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e5e08012d0ada00070593a8002600fd20..."} 
[2026-06-23 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e5e08012d0ada00070593a8002600fd20..."} 
[2026-06-23 09:09:21] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e5e08012d0ada00070593a8002600fd20..."} 
[2026-06-23 09:09:21] local.INFO: Packet analysis {"connection_id":110597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:21] local.INFO: Extracted packet for processing {"connection_id":110597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":755685888,"raw_latitude":117805992,"longitude_deg":75.5685888,"latitude_deg":11.7805992,"altitude":38,"angle":253,"satellites":32,"speed":19,"hex_longitude":"2d0ada00","hex_latitude":"070593a8","is_valid_coordinates":true} 
[2026-06-23 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239583488001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21813765234229248,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783767102809262080,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:21] 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-06-23 09:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782185877000,"timestamp_ms":1782185877000,"timestamp_seconds":1782185877,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e5e08"} 
[2026-06-23 09:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:21] 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-06-23 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239583488001,"66":14407,"165":206,"94":10240,"24":19,"16":21813765234229248,"45":783767102809262080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239583488001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:09:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21813765234229248,"km_value":21813765234229.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":783767102809262080,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239583488001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":783767102809262080}} 
[2026-06-23 09:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":110597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:21] local.INFO: GPS data processed {"connection_id":110597,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:21] local.INFO: Acknowledgment sent {"connection_id":110597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:25] local.INFO: TCP Data received {"connection_id":110766,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e2f28012d181d400721a8000051001b29..."} 
[2026-06-23 09:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e2f28012d181d400721a8000051001b29..."} 
[2026-06-23 09:09:25] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e2f28012d181d400721a8000051001b29..."} 
[2026-06-23 09:09:25] local.INFO: Packet analysis {"connection_id":110766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:25] local.INFO: Extracted packet for processing {"connection_id":110766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646208,"longitude_deg":75.6555072,"latitude_deg":11.9646208,"altitude":81,"angle":27,"satellites":41,"speed":5,"hex_longitude":"2d181d40","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-06-23 09:09: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-06-23 09:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239579392001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931690372169728,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096741376,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782185865000,"timestamp_ms":1782185865000,"timestamp_seconds":1782185865,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e2f28"} 
[2026-06-23 09:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:25] 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-06-23 09:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:09: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-06-23 09:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239579392001,"66":13243,"105":206,"83":41984,"24":5,"16":3931690372169728,"45":1737756168096741376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239579392001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931690372169728,"km_value":3931690372169.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096741376,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239579392001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737756168096741376}} 
[2026-06-23 09:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":110766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:25] local.INFO: GPS data processed {"connection_id":110766,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:25] local.INFO: Acknowledgment sent {"connection_id":110766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:30] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:09:30] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:09:30] local.INFO: IMEI packet received {"connection_id":110598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":110598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:09:35] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:09:35] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:09:35] local.INFO: IMEI packet received {"connection_id":110598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":110598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:09:36] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:36] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:36] local.INFO: Packet analysis {"connection_id":110598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:09:36] local.INFO: Extracted packet for processing {"connection_id":110598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:09:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":110598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:36] local.INFO: GPS data processed {"connection_id":110598,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:36] local.INFO: Acknowledgment sent {"connection_id":110598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:42] local.INFO: TCP Data received {"connection_id":110598,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:42] local.INFO: Processing buffer {"connection_id":110598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:09:42] local.INFO: Packet analysis {"connection_id":110598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:09:42] local.INFO: Extracted packet for processing {"connection_id":110598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":110598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":110598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:09:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":110598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:42] local.INFO: GPS data processed {"connection_id":110598,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:42] local.INFO: Acknowledgment sent {"connection_id":110598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:43] local.INFO: TCP Data received {"connection_id":112336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:09:43] local.INFO: Processing buffer {"connection_id":112336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:09:43] local.INFO: IMEI packet received {"connection_id":112336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":112336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:09:48] local.INFO: TCP Data received {"connection_id":112336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:09:48] local.INFO: Processing buffer {"connection_id":112336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:09:48] local.INFO: IMEI packet received {"connection_id":112336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":112336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:09:48] local.INFO: TCP Data received {"connection_id":112336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e4698012d1820400721ace00051002829..."} 
[2026-06-23 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e4698012d1820400721ace00051002829..."} 
[2026-06-23 09:09:48] local.INFO: Processing buffer {"connection_id":112336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e4698012d1820400721ace00051002829..."} 
[2026-06-23 09:09:48] local.INFO: Packet analysis {"connection_id":112336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:48] local.INFO: Extracted packet for processing {"connection_id":112336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119647456,"longitude_deg":75.655584,"latitude_deg":11.9647456,"altitude":81,"angle":40,"satellites":41,"speed":15,"hex_longitude":"2d182040","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-06-23 09:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239581440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931763386613760,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608486400,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185871000,"timestamp_ms":1782185871000,"timestamp_seconds":1782185871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e4698"} 
[2026-06-23 09:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:48] 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-06-23 09:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239581440001,"66":13243,"105":206,"83":41984,"24":15,"16":3931763386613760,"45":1737615430608486400},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239581440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931763386613760,"km_value":3931763386613.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608486400,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239581440001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1737615430608486400}} 
[2026-06-23 09:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":112336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:48] local.INFO: GPS data processed {"connection_id":112336,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:48] local.INFO: Acknowledgment sent {"connection_id":112336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:09:53] local.INFO: TCP Data received {"connection_id":110597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ea458012d0ab7c007058b18002500f720..."} 
[2026-06-23 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ea458012d0ab7c007058b18002500f720..."} 
[2026-06-23 09:09:53] local.INFO: Processing buffer {"connection_id":110597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ea458012d0ab7c007058b18002500f720..."} 
[2026-06-23 09:09:53] local.INFO: Packet analysis {"connection_id":110597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:53] local.INFO: Extracted packet for processing {"connection_id":110597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":755677120,"raw_latitude":117803800,"longitude_deg":75.567712,"latitude_deg":11.78038,"altitude":37,"angle":247,"satellites":32,"speed":7,"hex_longitude":"2d0ab7c0","hex_latitude":"07058b18","is_valid_coordinates":true} 
[2026-06-23 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239584512001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21814194730958848,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781937515460536320,"note":"Value kept but may cause issues"} 
[2026-06-23 09:09:53] 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-06-23 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782185895000,"timestamp_ms":1782185895000,"timestamp_seconds":1782185895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ea458"} 
[2026-06-23 09:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:09:53] 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-06-23 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:09:53] 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-06-23 09:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239584512001,"66":14396,"165":206,"94":10240,"24":7,"16":21814194730958848,"45":781937515460536320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239584512001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21814194730958848,"km_value":21814194730958.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":781937515460536320,"description":"Unknown IO ID 45"} 
[2026-06-23 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239584512001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":781937515460536320}} 
[2026-06-23 09:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":110597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:09:53] local.INFO: GPS data processed {"connection_id":110597,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:09:53] local.INFO: Acknowledgment sent {"connection_id":110597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:01] local.INFO: TCP Data received {"connection_id":110599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:01] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:01] local.INFO: IMEI packet received {"connection_id":110599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":110599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:10:18] local.INFO: TCP Data received {"connection_id":110599,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:18] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:18] local.INFO: IMEI packet received {"connection_id":110599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":110599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:10:19] local.INFO: TCP Data received {"connection_id":112336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28e5638012d1823800721b1a00050001a29..."} 
[2026-06-23 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28e5638012d1823800721b1a00050001a29..."} 
[2026-06-23 09:10:19] local.INFO: Processing buffer {"connection_id":112336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28e5638012d1823800721b1a00050001a29..."} 
[2026-06-23 09:10:19] local.INFO: Packet analysis {"connection_id":112336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:19] local.INFO: Extracted packet for processing {"connection_id":112336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119648672,"longitude_deg":75.6556672,"latitude_deg":11.9648672,"altitude":80,"angle":26,"satellites":41,"speed":10,"hex_longitude":"2d182380","hex_latitude":"0721b1a0","is_valid_coordinates":true} 
[2026-06-23 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239582976001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931832106090496,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538937856,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782185875000,"timestamp_ms":1782185875000,"timestamp_seconds":1782185875,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28e5638"} 
[2026-06-23 09:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:19] 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-06-23 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:19] 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-06-23 09:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239582976001,"66":13243,"105":206,"83":41984,"24":10,"16":3931832106090496,"45":1738459855538937856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239582976001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931832106090496,"km_value":3931832106090.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538937856,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239582976001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738459855538937856}} 
[2026-06-23 09:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":112336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:19] local.INFO: GPS data processed {"connection_id":112336,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:19] local.INFO: Acknowledgment sent {"connection_id":112336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:20] local.INFO: TCP Data received {"connection_id":110599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ec780012d7a964005ebac800009004726..."} 
[2026-06-23 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ec780012d7a964005ebac800009004726..."} 
[2026-06-23 09:10:20] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ec780012d7a964005ebac800009004726..."} 
[2026-06-23 09:10:20] local.INFO: Packet analysis {"connection_id":110599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:20] local.INFO: Extracted packet for processing {"connection_id":110599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763008576,"raw_latitude":99331200,"longitude_deg":76.3008576,"latitude_deg":9.93312,"altitude":9,"angle":71,"satellites":38,"speed":30,"hex_longitude":"2d7a9640","hex_latitude":"05ebac80","is_valid_coordinates":true} 
[2026-06-23 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239587584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96329231616704512,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824099807818659840,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] 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-06-23 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185904000,"timestamp_ms":1782185904000,"timestamp_seconds":1782185904,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ec780"} 
[2026-06-23 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069373456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2384687105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-2337368189415250176,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3221613475,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955234816,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":69,"raw_value":57770110463399734,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.WARNING: Large IO value detected {"io_id":141,"raw_value":7770962451862831109,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,87,24,241,157,16,58,158,62,45,64,150,11,37,10,66,51,39,43,128,1,240,35,227,242,235,4,113,205,12,76,38,239,2,86,5,8,69,141],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-06-23 09:10:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648598782490050560,"timestamp_seconds":648598782490050.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239587584001,"66":12982,"163":206,"87":13824,"24":30,"16":96329231616704512,"45":8824099807818659840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239587584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 09:10:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96329231616704512,"km_value":96329231616704.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824099807818659840,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239587584001,"power":12982,"unknown_163":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8824099807818659840}} 
[2026-06-23 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":110599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:20] local.INFO: GPS data processed {"connection_id":110599,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:20] local.INFO: Acknowledgment sent {"connection_id":110599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:20] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:20] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:20] local.INFO: IMEI packet received {"connection_id":111395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":111395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:10:21] local.INFO: TCP Data received {"connection_id":110599,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ef660012d7ab9c005ebb9c80008004428..."} 
[2026-06-23 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ef660012d7ab9c005ebb9c80008004428..."} 
[2026-06-23 09:10:21] local.INFO: Processing buffer {"connection_id":110599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ef660012d7ab9c005ebb9c80008004428..."} 
[2026-06-23 09:10:21] local.INFO: Packet analysis {"connection_id":110599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:21] local.INFO: Extracted packet for processing {"connection_id":110599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763017664,"raw_latitude":99334600,"longitude_deg":76.3017664,"latitude_deg":9.93346,"altitude":8,"angle":68,"satellites":40,"speed":28,"hex_longitude":"2d7ab9c0","hex_latitude":"05ebb9c8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239591424001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96329695473172480,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833318113306771456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:21] 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-06-23 09:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782185916000,"timestamp_ms":1782185916000,"timestamp_seconds":1782185916,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ef660"} 
[2026-06-23 09:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:21] 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-06-23 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:21] 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-06-23 09: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-06-23 09:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239591424001,"66":13135,"161":206,"87":13824,"24":28,"16":96329695473172480,"45":8833318113306771456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-23 09:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239591424001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 09:10:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96329695473172480,"km_value":96329695473172.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833318113306771456,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239591424001,"power":13135,"unknown_161":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8833318113306771456}} 
[2026-06-23 09:10:21] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:21] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:21] local.INFO: IMEI packet received {"connection_id":111395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":111395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":110599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:21] local.INFO: GPS data processed {"connection_id":110599,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:21] local.INFO: Acknowledgment sent {"connection_id":110599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:25] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:10:25] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:10:25] local.INFO: IMEI packet received {"connection_id":110768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":110768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:10:26] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:26] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:10:26] local.INFO: IMEI packet received {"connection_id":111395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":111395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:10:27] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2904268012d0a86400705a898001801351f..."} 
[2026-06-23 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2904268012d0a86400705a898001801351f..."} 
[2026-06-23 09:10:27] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2904268012d0a86400705a898001801351f..."} 
[2026-06-23 09:10:27] local.INFO: Packet analysis {"connection_id":111395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:10:27] local.INFO: Extracted packet for processing {"connection_id":111395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:10:27] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117811352,"longitude_deg":75.5664448,"latitude_deg":11.7811352,"altitude":24,"angle":309,"satellites":31,"speed":11,"hex_longitude":"2d0a8640","hex_latitude":"0705a898","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239615744001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21815058019385344,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758856567371499520,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10: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-06-23 09:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782186001000,"timestamp_ms":1782186001000,"timestamp_seconds":1782186001,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2904268"} 
[2026-06-23 09:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:27] 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-06-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:27] 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-06-23 09: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-06-23 09:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239615744001,"66":14450,"153":206,"94":10240,"24":11,"16":21815058019385344,"45":758856567371499520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239615744001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:10:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21815058019385344,"km_value":21815058019385.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":758856567371499520,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239615744001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":758856567371499520}} 
[2026-06-23 09:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":111395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:27] local.INFO: GPS data processed {"connection_id":111395,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:27] local.INFO: Acknowledgment sent {"connection_id":111395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:30] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:10:30] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:10:30] local.INFO: IMEI packet received {"connection_id":110768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":110768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:10:31] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:10:31] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:10:31] local.INFO: Packet analysis {"connection_id":110768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:10:31] local.INFO: Extracted packet for processing {"connection_id":110768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:10:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":110768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:31] local.INFO: GPS data processed {"connection_id":110768,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:31] local.INFO: Acknowledgment sent {"connection_id":110768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:33] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2904650012d0a85400705a9280018012520..."} 
[2026-06-23 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2904650012d0a85400705a9280018012520..."} 
[2026-06-23 09:10:33] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2904650012d0a85400705a9280018012520..."} 
[2026-06-23 09:10:33] local.INFO: Packet analysis {"connection_id":111395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:10:33] local.INFO: Extracted packet for processing {"connection_id":111395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":755664192,"raw_latitude":117811496,"longitude_deg":75.5664192,"latitude_deg":11.7811496,"altitude":24,"angle":293,"satellites":32,"speed":9,"hex_longitude":"2d0a8540","hex_latitude":"0705a928","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239616256001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21815070904287232,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986162391040,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:33] 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-06-23 09:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782186002000,"timestamp_ms":1782186002000,"timestamp_seconds":1782186002,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2904650"} 
[2026-06-23 09:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:33] 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-06-23 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:33] 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-06-23 09: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-06-23 09:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239616256001,"66":14363,"153":206,"94":10240,"24":9,"16":21815070904287232,"45":758363986162391040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239616256001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:33] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:10:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21815070904287232,"km_value":21815070904287.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986162391040,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239616256001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":758363986162391040}} 
[2026-06-23 09:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":111395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:33] local.INFO: GPS data processed {"connection_id":111395,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:33] local.INFO: Acknowledgment sent {"connection_id":111395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:43] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:10:43] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:10:43] local.INFO: IMEI packet received {"connection_id":110769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":110769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:10:48] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:10:48] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:10:48] local.INFO: IMEI packet received {"connection_id":110769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":110769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:10:49] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ea840012d1821800721b3a8004e001128..."} 
[2026-06-23 09:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ea840012d1821800721b3a8004e001128..."} 
[2026-06-23 09:10:49] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ea840012d1821800721b3a8004e001128..."} 
[2026-06-23 09:10:49] local.INFO: Packet analysis {"connection_id":110769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:49] local.INFO: Extracted packet for processing {"connection_id":110769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239584000001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213558784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782185896000,"timestamp_ms":1782185896000,"timestamp_seconds":1782185896,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ea840"} 
[2026-06-23 09:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 09:10:49] 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-06-23 09:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239584000001,"66":13059,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1739374649213558784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239584000001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213558784,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239584000001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213558784}} 
[2026-06-23 09:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":110769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:49] local.INFO: GPS data processed {"connection_id":110769,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:49] local.INFO: Acknowledgment sent {"connection_id":110769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:10:57] local.INFO: TCP Data received {"connection_id":110601,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:57] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:57] local.INFO: IMEI packet received {"connection_id":110601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":110601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:10:58] local.INFO: TCP Data received {"connection_id":110601,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:58] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:10:58] local.INFO: IMEI packet received {"connection_id":110601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":110601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:10:59] local.INFO: TCP Data received {"connection_id":110601,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28f2540012d7ada8005ebc948000a003f29..."} 
[2026-06-23 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28f2540012d7ada8005ebc948000a003f29..."} 
[2026-06-23 09:10:59] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28f2540012d7ada8005ebc948000a003f29..."} 
[2026-06-23 09:10:59] local.INFO: Packet analysis {"connection_id":110601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:10:59] local.INFO: Extracted packet for processing {"connection_id":110601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763026048,"raw_latitude":99338568,"longitude_deg":76.3026048,"latitude_deg":9.9338568,"altitude":10,"angle":63,"satellites":41,"speed":31,"hex_longitude":"2d7ada80","hex_latitude":"05ebc948","is_valid_coordinates":true} 
[2026-06-23 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239594496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96330137854803968,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843310474980870144,"note":"Value kept but may cause issues"} 
[2026-06-23 09:10:59] 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-06-23 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782185928000,"timestamp_ms":1782185928000,"timestamp_seconds":1782185928,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28f2540"} 
[2026-06-23 09:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:10:59] 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-06-23 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 09:10: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-06-23 09:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":110601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":110601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":110601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239594496001,"66":12950,"156":206,"87":13824,"24":31,"16":96330137854803968,"45":8843310474980870144},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239594496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96330137854803968,"km_value":96330137854803.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843310474980870144,"description":"Unknown IO ID 45"} 
[2026-06-23 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239594496001,"power":12950,"unknown_156":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8843310474980870144}} 
[2026-06-23 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":110601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:10:59] local.INFO: GPS data processed {"connection_id":110601,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:10:59] local.INFO: Acknowledgment sent {"connection_id":110601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:02] local.INFO: TCP Data received {"connection_id":110768,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:11:02] local.INFO: Processing buffer {"connection_id":110768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:11:02] local.INFO: Packet analysis {"connection_id":110768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:11:02] local.INFO: Extracted packet for processing {"connection_id":110768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 09:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":110768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:02] local.INFO: GPS data processed {"connection_id":110768,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:02] local.INFO: Acknowledgment sent {"connection_id":110768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:16] local.INFO: TCP Data received {"connection_id":110602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:11:16] local.INFO: Processing buffer {"connection_id":110602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:11:16] local.INFO: IMEI packet received {"connection_id":110602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":110602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:11:20] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28efa48012d1821800721b3a8004e001128..."} 
[2026-06-23 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28efa48012d1821800721b3a8004e001128..."} 
[2026-06-23 09:11:20] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28efa48012d1821800721b3a8004e001128..."} 
[2026-06-23 09:11:20] local.INFO: Packet analysis {"connection_id":110769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:11:20] local.INFO: Extracted packet for processing {"connection_id":110769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28e"} 
[2026-06-23 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239589376001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185917000,"timestamp_ms":1782185917000,"timestamp_seconds":1782185917,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28efa48"} 
[2026-06-23 09:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:11:20] 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-06-23 09:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303185628548458,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709962,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069372456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3657433088,"corrected_to":0} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2383407105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2792882258,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692837,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4157669376,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:20] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,248,158,86,45,128,177,80,41,10,66,247,70,64,172,81,47,1,240,187,227,242,33,4,113,205,189,30,120,42,239,56,2,13,7,82],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":247,"original":3657433088,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-23 09:11:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620511198454743040,"timestamp_seconds":5620511198454743.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239589376001,"66":13167,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239589376001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239589376001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":110769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:20] local.INFO: GPS data processed {"connection_id":110769,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:20] local.INFO: Acknowledgment sent {"connection_id":110769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:24] local.INFO: TCP Data received {"connection_id":110602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:11:24] local.INFO: Processing buffer {"connection_id":110602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:11:24] local.INFO: IMEI packet received {"connection_id":110602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":110602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:11:24] local.INFO: TCP Data received {"connection_id":112338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:11:24] local.INFO: Processing buffer {"connection_id":112338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:11:24] local.INFO: IMEI packet received {"connection_id":112338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":112338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:11:24] local.INFO: TCP Data received {"connection_id":110602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2904a38012d0a84400705a9580018011920..."} 
[2026-06-23 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2904a38012d0a84400705a9580018011920..."} 
[2026-06-23 09:11:24] local.INFO: Processing buffer {"connection_id":110602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2904a38012d0a84400705a9580018011920..."} 
[2026-06-23 09:11:24] local.INFO: Packet analysis {"connection_id":110602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:11:24] local.INFO: Extracted packet for processing {"connection_id":110602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:11:24] local.INFO: GPS Element Parsed {"raw_longitude":755663936,"raw_latitude":117811544,"longitude_deg":75.5663936,"latitude_deg":11.7811544,"altitude":24,"angle":281,"satellites":32,"speed":8,"hex_longitude":"2d0a8440","hex_latitude":"0705a958","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239616512001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21815083789189120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758082511185717248,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11: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-06-23 09:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782186003000,"timestamp_ms":1782186003000,"timestamp_seconds":1782186003,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2904a38"} 
[2026-06-23 09:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:11:24] 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-06-23 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:11:24] 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-06-23 09: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-06-23 09:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239616512001,"66":14363,"153":206,"94":10240,"24":8,"16":21815083789189120,"45":758082511185717248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239616512001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:24] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:11:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21815083789189120,"km_value":21815083789189.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":758082511185717248,"description":"Unknown IO ID 45"} 
[2026-06-23 09:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239616512001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":758082511185717248}} 
[2026-06-23 09:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":110602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:25] local.INFO: GPS data processed {"connection_id":110602,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:25] local.INFO: Acknowledgment sent {"connection_id":110602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:30] local.INFO: TCP Data received {"connection_id":112338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:11:30] local.INFO: Processing buffer {"connection_id":112338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:11:30] local.INFO: IMEI packet received {"connection_id":112338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":112338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:11:30] local.INFO: TCP Data received {"connection_id":110601,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2914050012d7c7d4005ec3808000800582b..."} 
[2026-06-23 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2914050012d7c7d4005ec3808000800582b..."} 
[2026-06-23 09:11:30] local.INFO: Processing buffer {"connection_id":110601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2914050012d7c7d4005ec3808000800582b..."} 
[2026-06-23 09:11:30] local.INFO: Packet analysis {"connection_id":110601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:11:30] local.INFO: Extracted packet for processing {"connection_id":110601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763133248,"raw_latitude":99366920,"longitude_deg":76.3133248,"latitude_deg":9.936692,"altitude":8,"angle":88,"satellites":43,"speed":36,"hex_longitude":"2d7c7d40","hex_latitude":"05ec3808","is_valid_coordinates":true} 
[2026-06-23 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239630336001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96335519448825856,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959841115347302400,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:30] 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-06-23 09:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782186066000,"timestamp_ms":1782186066000,"timestamp_seconds":1782186066,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2914050"} 
[2026-06-23 09:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:11:30] 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-06-23 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-23 09:11:30] 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-06-23 09:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239630336001,"66":13091,"198":206,"87":13824,"24":36,"16":96335519448825856,"45":8959841115347302400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239630336001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96335519448825856,"km_value":96335519448825.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959841115347302400,"description":"Unknown IO ID 45"} 
[2026-06-23 09:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239630336001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8959841115347302400}} 
[2026-06-23 09:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":110601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:30] local.INFO: GPS data processed {"connection_id":110601,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:30] local.INFO: Acknowledgment sent {"connection_id":110601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:32] local.INFO: TCP Data received {"connection_id":112338,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:11:32] local.INFO: Processing buffer {"connection_id":112338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28cc7c8012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:11:32] local.INFO: Packet analysis {"connection_id":112338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:11:32] local.INFO: Extracted packet for processing {"connection_id":112338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28c"} 
[2026-06-23 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239480832001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782185773000,"timestamp_ms":1782185773000,"timestamp_seconds":1782185773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28cc7c8"} 
[2026-06-23 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-06-23 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 09:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239480832001,"66":26180,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239480832001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:11:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239480832001,"power":26180,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":112338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:32] local.INFO: GPS data processed {"connection_id":112338,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:32] local.INFO: Acknowledgment sent {"connection_id":112338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:41] local.INFO: TCP Data received {"connection_id":111396,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:41] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:41] local.INFO: IMEI packet received {"connection_id":111396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":111396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:11:42] local.INFO: TCP Data received {"connection_id":111396,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:42] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:42] local.INFO: IMEI packet received {"connection_id":111396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":111396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:11:48] local.INFO: TCP Data received {"connection_id":111396,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:48] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:11:48] local.INFO: IMEI packet received {"connection_id":111396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":111396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:11:48] local.INFO: TCP Data received {"connection_id":111396,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28f4c50012d1821800721b3a8004e001129..."} 
[2026-06-23 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28f4c50012d1821800721b3a8004e001129..."} 
[2026-06-23 09:11:48] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28f4c50012d1821800721b3a8004e001129..."} 
[2026-06-23 09:11:48] local.INFO: Packet analysis {"connection_id":111396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:11:48] local.INFO: Extracted packet for processing {"connection_id":111396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239594752001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185938000,"timestamp_ms":1782185938000,"timestamp_seconds":1782185938,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28f4c50"} 
[2026-06-23 09:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-23 09:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239594752001,"66":13135,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239594752001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239594752001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":111396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:48] local.INFO: GPS data processed {"connection_id":111396,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:48] local.INFO: Acknowledgment sent {"connection_id":111396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:56] local.INFO: TCP Data received {"connection_id":110602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2905208012d0a82c00705a9b80018012e20..."} 
[2026-06-23 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2905208012d0a82c00705a9b80018012e20..."} 
[2026-06-23 09:11:56] local.INFO: Processing buffer {"connection_id":110602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2905208012d0a82c00705a9b80018012e20..."} 
[2026-06-23 09:11:56] local.INFO: Packet analysis {"connection_id":110602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:11:56] local.INFO: Extracted packet for processing {"connection_id":110602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:11:56] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811640,"longitude_deg":75.5663552,"latitude_deg":11.781164,"altitude":24,"angle":302,"satellites":32,"speed":8,"hex_longitude":"2d0a82c0","hex_latitude":"0705a9b8","is_valid_coordinates":true} 
[2026-06-23 09:11: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-06-23 09:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239616768001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21815100969058304,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757801036209018880,"note":"Value kept but may cause issues"} 
[2026-06-23 09:11:56] 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-06-23 09:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782186005000,"timestamp_ms":1782186005000,"timestamp_seconds":1782186005,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2905208"} 
[2026-06-23 09:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:11:56] 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-06-23 09:11: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-06-23 09:11: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-06-23 09:11: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-06-23 09:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":110602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":110602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":110602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239616768001,"66":14450,"153":206,"94":10240,"24":8,"16":21815100969058304,"45":757801036209018880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239616768001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:11:56] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:11:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21815100969058304,"km_value":21815100969058.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":757801036209018880,"description":"Unknown IO ID 45"} 
[2026-06-23 09:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239616768001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":757801036209018880}} 
[2026-06-23 09:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":110602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:11:56] local.INFO: GPS data processed {"connection_id":110602,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:11:56] local.INFO: Acknowledgment sent {"connection_id":110602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:11:57] local.INFO: TCP Data received {"connection_id":110603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:11:57] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:11:57] local.INFO: IMEI packet received {"connection_id":110603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":110603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:12:02] local.INFO: TCP Data received {"connection_id":110603,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:12:02] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:12:02] local.INFO: IMEI packet received {"connection_id":110603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":110603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:12:03] local.INFO: TCP Data received {"connection_id":110603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2916760012d7ca0c005ec3920000700582b..."} 
[2026-06-23 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2916760012d7ca0c005ec3920000700582b..."} 
[2026-06-23 09:12:03] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2916760012d7ca0c005ec3920000700582b..."} 
[2026-06-23 09:12:03] local.INFO: Packet analysis {"connection_id":110603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:03] local.INFO: Extracted packet for processing {"connection_id":110603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763142336,"raw_latitude":99367200,"longitude_deg":76.3142336,"latitude_deg":9.93672,"altitude":7,"angle":88,"satellites":43,"speed":35,"hex_longitude":"2d7ca0c0","hex_latitude":"05ec3920","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239632896001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96335953240522752,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970396426974005248,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:03] 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-06-23 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186076000,"timestamp_ms":1782186076000,"timestamp_seconds":1782186076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2916760"} 
[2026-06-23 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-06-23 09:12:03] 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-06-23 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:03] 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-06-23 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-06-23 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-06-23 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239632896001,"66":13254,"198":206,"87":13824,"24":35,"16":96335953240522752,"45":8970396426974005248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239632896001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96335953240522752,"km_value":96335953240522.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970396426974005248,"description":"Unknown IO ID 45"} 
[2026-06-23 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239632896001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8970396426974005248}} 
[2026-06-23 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":110603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:03] local.INFO: GPS data processed {"connection_id":110603,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:03] local.INFO: Acknowledgment sent {"connection_id":110603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:03] local.INFO: TCP Data received {"connection_id":112338,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2915f90012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2915f90012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:12:03] local.INFO: Processing buffer {"connection_id":112338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2915f90012cb29bc007823e30004a000e27..."} 
[2026-06-23 09:12:03] local.INFO: Packet analysis {"connection_id":112338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:03] local.INFO: Extracted packet for processing {"connection_id":112338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239557888001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186074000,"timestamp_ms":1782186074000,"timestamp_seconds":1782186074,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2915f90"} 
[2026-06-23 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-06-23 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239557888001,"66":26060,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239557888001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239557888001,"power":26060,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":112338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:03] local.INFO: GPS data processed {"connection_id":112338,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:03] local.INFO: Acknowledgment sent {"connection_id":112338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:15] local.INFO: TCP Data received {"connection_id":110770,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:15] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:15] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:12:16] local.INFO: TCP Data received {"connection_id":110770,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:16] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:16] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:12:20] local.INFO: TCP Data received {"connection_id":111396,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28f9e58012d1821800721b3a8004e001129..."} 
[2026-06-23 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28f9e58012d1821800721b3a8004e001129..."} 
[2026-06-23 09:12:20] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28f9e58012d1821800721b3a8004e001129..."} 
[2026-06-23 09:12:20] local.INFO: Packet analysis {"connection_id":111396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:12:20] local.INFO: Extracted packet for processing {"connection_id":111396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239600128001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782185959000,"timestamp_ms":1782185959000,"timestamp_seconds":1782185959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28f9e58"} 
[2026-06-23 09:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:20] 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-06-23 09:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239600128001,"66":13091,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239600128001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239600128001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":111396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:20] local.INFO: GPS data processed {"connection_id":111396,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:20] local.INFO: Acknowledgment sent {"connection_id":111396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:21] local.INFO: TCP Data received {"connection_id":110770,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:21] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:12:21] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:12:22] local.INFO: TCP Data received {"connection_id":110770,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29203a0012d0a734007060660000e00a720..."} 
[2026-06-23 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29203a0012d0a734007060660000e00a720..."} 
[2026-06-23 09:12:22] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29203a0012d0a734007060660000e00a720..."} 
[2026-06-23 09:12:22] local.INFO: Packet analysis {"connection_id":110770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:12:22] local.INFO: Extracted packet for processing {"connection_id":110770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835360,"longitude_deg":75.5659584,"latitude_deg":11.783536,"altitude":14,"angle":167,"satellites":32,"speed":1,"hex_longitude":"2d0a7340","hex_latitude":"07060660","is_valid_coordinates":true} 
[2026-06-23 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239641856001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816333624672256,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224122730496,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186116000,"timestamp_ms":1782186116000,"timestamp_seconds":1782186116,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29203a0"} 
[2026-06-23 09:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:22] 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-06-23 09:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239641856001,"66":14515,"153":206,"94":10240,"24":1,"16":21816333624672256,"45":752875224122730496},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239641856001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816333624672256,"km_value":21816333624672.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224122730496,"description":"Unknown IO ID 45"} 
[2026-06-23 09:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239641856001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":752875224122730496}} 
[2026-06-23 09:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":110770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:22] local.INFO: GPS data processed {"connection_id":110770,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:22] local.INFO: Acknowledgment sent {"connection_id":110770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:30] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:12:30] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:12:30] local.INFO: IMEI packet received {"connection_id":110605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":110605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:12:35] local.INFO: TCP Data received {"connection_id":110603,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2919258012d7cc4c005ec3a20000600582b..."} 
[2026-06-23 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2919258012d7cc4c005ec3a20000600582b..."} 
[2026-06-23 09:12:35] local.INFO: Processing buffer {"connection_id":110603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2919258012d7cc4c005ec3a20000600582b..."} 
[2026-06-23 09:12:35] local.INFO: Packet analysis {"connection_id":110603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:35] local.INFO: Extracted packet for processing {"connection_id":110603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763151552,"raw_latitude":99367456,"longitude_deg":76.3151552,"latitude_deg":9.9367456,"altitude":6,"angle":88,"satellites":43,"speed":33,"hex_longitude":"2d7cc4c0","hex_latitude":"05ec3a20","is_valid_coordinates":true} 
[2026-06-23 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635456001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336391327186944,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980388788647305216,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:35] 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-06-23 09:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186087000,"timestamp_ms":1782186087000,"timestamp_seconds":1782186087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2919258"} 
[2026-06-23 09:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:35] 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-06-23 09:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:35] 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-06-23 09:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635456001,"66":13167,"198":206,"87":13824,"24":33,"16":96336391327186944,"45":8980388788647305216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635456001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:12:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336391327186944,"km_value":96336391327186.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980388788647305216,"description":"Unknown IO ID 45"} 
[2026-06-23 09:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635456001,"power":13167,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8980388788647305216}} 
[2026-06-23 09:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":110603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:35] local.INFO: GPS data processed {"connection_id":110603,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:35] local.INFO: Acknowledgment sent {"connection_id":110603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:35] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:12:35] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:12:35] local.INFO: IMEI packet received {"connection_id":110605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":110605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:12:36] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2916378012cb29bc007823e30004a000e28..."} 
[2026-06-23 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2916378012cb29bc007823e30004a000e28..."} 
[2026-06-23 09:12:36] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2916378012cb29bc007823e30004a000e28..."} 
[2026-06-23 09:12:36] local.INFO: Packet analysis {"connection_id":110605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:36] local.INFO: Extracted packet for processing {"connection_id":110605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125976112,"longitude_deg":74.9902784,"latitude_deg":12.5976112,"altitude":74,"angle":14,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823e30","is_valid_coordinates":true} 
[2026-06-23 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239634944001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782186075000,"timestamp_ms":1782186075000,"timestamp_seconds":1782186075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2916378"} 
[2026-06-23 09:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239634944001,"66":26006,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239634944001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239634944001,"power":26006,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":110605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:36] local.INFO: GPS data processed {"connection_id":110605,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:36] local.INFO: Acknowledgment sent {"connection_id":110605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:41] local.INFO: TCP Data received {"connection_id":110605,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2916b48012cb29b8007823bf8004a00c128..."} 
[2026-06-23 09:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2916b48012cb29b8007823bf8004a00c128..."} 
[2026-06-23 09:12:41] local.INFO: Processing buffer {"connection_id":110605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2916b48012cb29b8007823bf8004a00c128..."} 
[2026-06-23 09:12:41] local.INFO: Packet analysis {"connection_id":110605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:41] local.INFO: Extracted packet for processing {"connection_id":110605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 09:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635200001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085809664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782186077000,"timestamp_ms":1782186077000,"timestamp_seconds":1782186077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2916b48"} 
[2026-06-23 09:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:41] 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-06-23 09:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635200001,"66":25854,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576652575085809664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635200001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:12:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085809664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635200001,"power":25854,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085809664}} 
[2026-06-23 09:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":110605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:41] local.INFO: GPS data processed {"connection_id":110605,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:41] local.INFO: Acknowledgment sent {"connection_id":110605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:42] local.INFO: TCP Data received {"connection_id":110604,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:12:42] local.INFO: Processing buffer {"connection_id":110604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:12:42] local.INFO: IMEI packet received {"connection_id":110604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":110604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:12:43] local.INFO: TCP Data received {"connection_id":112339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:43] local.INFO: Processing buffer {"connection_id":112339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:43] local.INFO: IMEI packet received {"connection_id":112339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":112339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:12:44] local.INFO: TCP Data received {"connection_id":112339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:44] local.INFO: Processing buffer {"connection_id":112339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:44] local.INFO: IMEI packet received {"connection_id":112339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":112339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:12:48] local.INFO: TCP Data received {"connection_id":112339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:48] local.INFO: Processing buffer {"connection_id":112339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:12:48] local.INFO: IMEI packet received {"connection_id":112339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":112339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:12:48] local.INFO: TCP Data received {"connection_id":112339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef28ff060012d1821800721b3a8004e001129..."} 
[2026-06-23 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef28ff060012d1821800721b3a8004e001129..."} 
[2026-06-23 09:12:48] local.INFO: Processing buffer {"connection_id":112339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef28ff060012d1821800721b3a8004e001129..."} 
[2026-06-23 09:12:48] local.INFO: Packet analysis {"connection_id":112339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:12:48] local.INFO: Extracted packet for processing {"connection_id":112339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef28f"} 
[2026-06-23 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239605504001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782185980000,"timestamp_ms":1782185980000,"timestamp_seconds":1782185980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef28ff060"} 
[2026-06-23 09:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:48] 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-06-23 09:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239605504001,"66":13091,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239605504001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239605504001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":112339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:48] local.INFO: GPS data processed {"connection_id":112339,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:48] local.INFO: Acknowledgment sent {"connection_id":112339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:53] local.INFO: TCP Data received {"connection_id":110770,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2920788012d0a738007060630000e009720..."} 
[2026-06-23 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2920788012d0a738007060630000e009720..."} 
[2026-06-23 09:12:53] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2920788012d0a738007060630000e009720..."} 
[2026-06-23 09:12:53] local.INFO: Packet analysis {"connection_id":110770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:12:53] local.INFO: Extracted packet for processing {"connection_id":110770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835312,"longitude_deg":75.5659648,"latitude_deg":11.7835312,"altitude":14,"angle":151,"satellites":32,"speed":1,"hex_longitude":"2d0a7380","hex_latitude":"07060630","is_valid_coordinates":true} 
[2026-06-23 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239645696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816337919639552,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611034624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:12:53] 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-06-23 09:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186117000,"timestamp_ms":1782186117000,"timestamp_seconds":1782186117,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2920788"} 
[2026-06-23 09:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 09:12:53] 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-06-23 09:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239645696001,"66":14515,"153":206,"94":10240,"24":1,"16":21816337919639552,"45":753015961611034624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239645696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816337919639552,"km_value":21816337919639.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611034624,"description":"Unknown IO ID 45"} 
[2026-06-23 09:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239645696001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753015961611034624}} 
[2026-06-23 09:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":110770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:12:53] local.INFO: GPS data processed {"connection_id":110770,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:12:53] local.INFO: Acknowledgment sent {"connection_id":110770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:12:57] local.INFO: TCP Data received {"connection_id":111397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:12:57] local.INFO: Processing buffer {"connection_id":111397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:12:57] local.INFO: IMEI packet received {"connection_id":111397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":111397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:13:02] local.INFO: TCP Data received {"connection_id":111397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:13:02] local.INFO: Processing buffer {"connection_id":111397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:13:02] local.INFO: IMEI packet received {"connection_id":111397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":111397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:13:03] local.INFO: TCP Data received {"connection_id":111397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef291c520012d7ce88005ec3b70000500552b..."} 
[2026-06-23 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef291c520012d7ce88005ec3b70000500552b..."} 
[2026-06-23 09:13:03] local.INFO: Processing buffer {"connection_id":111397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef291c520012d7ce88005ec3b70000500552b..."} 
[2026-06-23 09:13:03] local.INFO: Packet analysis {"connection_id":111397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:13:03] local.INFO: Extracted packet for processing {"connection_id":111397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763160704,"raw_latitude":99367792,"longitude_deg":76.3160704,"latitude_deg":9.9367792,"altitude":5,"angle":85,"satellites":43,"speed":12,"hex_longitude":"2d7ce880","hex_latitude":"05ec3b70","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239638272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336829413851136,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990521887808954368,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:03] 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-06-23 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186100000,"timestamp_ms":1782186100000,"timestamp_seconds":1782186100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef291c520"} 
[2026-06-23 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-06-23 09:13:03] 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-06-23 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-23 09:13:03] 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-06-23 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-06-23 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-06-23 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239638272001,"66":12341,"198":206,"87":13824,"24":12,"16":96336829413851136,"45":8990521887808954368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239638272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:13:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336829413851136,"km_value":96336829413851.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990521887808954368,"description":"Unknown IO ID 45"} 
[2026-06-23 09:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239638272001,"power":12341,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8990521887808954368}} 
[2026-06-23 09:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":111397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:03] local.INFO: GPS data processed {"connection_id":111397,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:03] local.INFO: Acknowledgment sent {"connection_id":111397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:07] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:13:07] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:13:07] local.INFO: IMEI packet received {"connection_id":110771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":110771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:13:16] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:13:16] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:13:16] local.INFO: IMEI packet received {"connection_id":111398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":111398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:13:19] local.INFO: TCP Data received {"connection_id":112339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2904268012d1821800721b3a8004e001127..."} 
[2026-06-23 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2904268012d1821800721b3a8004e001127..."} 
[2026-06-23 09:13:19] local.INFO: Processing buffer {"connection_id":112339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2904268012d1821800721b3a8004e001127..."} 
[2026-06-23 09:13:19] local.INFO: Packet analysis {"connection_id":112339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:13:19] local.INFO: Extracted packet for processing {"connection_id":112339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239610880001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782186001000,"timestamp_ms":1782186001000,"timestamp_seconds":1782186001,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2904268"} 
[2026-06-23 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:13:19] 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-06-23 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 09:13:19] 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-06-23 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239610880001,"66":13080,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239610880001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239610880001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":112339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:20] local.INFO: GPS data processed {"connection_id":112339,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:20] local.INFO: Acknowledgment sent {"connection_id":112339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:20] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:13:20] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:13:20] local.INFO: IMEI packet received {"connection_id":111398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":111398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:13:21] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2931510012d0a75400705fbc0000e015b1f..."} 
[2026-06-23 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2931510012d0a75400705fbc0000e015b1f..."} 
[2026-06-23 09:13:21] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2931510012d0a75400705fbc0000e015b1f..."} 
[2026-06-23 09:13:21] local.INFO: Packet analysis {"connection_id":111398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:13:21] local.INFO: Extracted packet for processing {"connection_id":111398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:13:21] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117832640,"longitude_deg":75.5660096,"latitude_deg":11.783264,"altitude":14,"angle":347,"satellites":31,"speed":2,"hex_longitude":"2d0a7540","hex_latitude":"0705fbc0","is_valid_coordinates":true} 
[2026-06-23 09:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239660032001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816509718331392,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587309056,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:21] 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-06-23 09:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782186186000,"timestamp_ms":1782186186000,"timestamp_seconds":1782186186,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2931510"} 
[2026-06-23 09:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:13:21] 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-06-23 09:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239660032001,"66":14396,"153":206,"94":10240,"24":2,"16":21816509718331392,"45":753297436587309056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239660032001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:13:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816509718331392,"km_value":21816509718331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587309056,"description":"Unknown IO ID 45"} 
[2026-06-23 09:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239660032001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753297436587309056}} 
[2026-06-23 09:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":111398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:21] local.INFO: GPS data processed {"connection_id":111398,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:21] local.INFO: Acknowledgment sent {"connection_id":111398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:25] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:13:25] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:13:25] local.INFO: IMEI packet received {"connection_id":110772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:13:30] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:13:30] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:13:30] local.INFO: IMEI packet received {"connection_id":110772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":110772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:13:31] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:13:31] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:13:31] local.INFO: Packet analysis {"connection_id":110772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:13:31] local.INFO: Extracted packet for processing {"connection_id":110772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:13:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 09:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186083000,"timestamp_ms":1782186083000,"timestamp_seconds":1782186083,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29182b8"} 
[2026-06-23 09:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:13:31] 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-06-23 09:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635712001,"66":25147,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635712001,"power":25147,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:31] local.INFO: GPS data processed {"connection_id":110772,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:31] local.INFO: Acknowledgment sent {"connection_id":110772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:34] local.INFO: TCP Data received {"connection_id":111397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef291c908012d7ce98005ec3ba0000500492b..."} 
[2026-06-23 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef291c908012d7ce98005ec3ba0000500492b..."} 
[2026-06-23 09:13:34] local.INFO: Processing buffer {"connection_id":111397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef291c908012d7ce98005ec3ba0000500492b..."} 
[2026-06-23 09:13:34] local.INFO: Packet analysis {"connection_id":111397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:13:34] local.INFO: Extracted packet for processing {"connection_id":111397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763160960,"raw_latitude":99367840,"longitude_deg":76.316096,"latitude_deg":9.936784,"altitude":5,"angle":73,"satellites":43,"speed":7,"hex_longitude":"2d7ce980","hex_latitude":"05ec3ba0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239641600001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336842298753024,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000584618226446336,"note":"Value kept but may cause issues"} 
[2026-06-23 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-06-23 09:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782186101000,"timestamp_ms":1782186101000,"timestamp_seconds":1782186101,"priority":1,"record_length":96,"hex_timestamp":"0000019ef291c908"} 
[2026-06-23 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-06-23 09:13: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-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 09:13: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-06-23 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-06-23 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-06-23 09:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239641600001,"66":12939,"198":206,"87":13824,"24":7,"16":96336842298753024,"45":9000584618226446336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239641600001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336842298753024,"km_value":96336842298753.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000584618226446336,"description":"Unknown IO ID 45"} 
[2026-06-23 09:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239641600001,"power":12939,"unknown_198":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9000584618226446336}} 
[2026-06-23 09:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":111397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:34] local.INFO: GPS data processed {"connection_id":111397,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:34] local.INFO: Acknowledgment sent {"connection_id":111397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:42] local.INFO: TCP Data received {"connection_id":111399,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:13:42] local.INFO: Processing buffer {"connection_id":111399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:13:42] local.INFO: IMEI packet received {"connection_id":111399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":111399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:13:48] local.INFO: TCP Data received {"connection_id":111399,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:13:48] local.INFO: Processing buffer {"connection_id":111399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:13:48] local.INFO: IMEI packet received {"connection_id":111399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":111399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:13:49] local.INFO: TCP Data received {"connection_id":111399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2909470012d1821800721b3a8004e001125..."} 
[2026-06-23 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2909470012d1821800721b3a8004e001125..."} 
[2026-06-23 09:13:49] local.INFO: Processing buffer {"connection_id":111399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2909470012d1821800721b3a8004e001125..."} 
[2026-06-23 09:13:49] local.INFO: Packet analysis {"connection_id":111399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:13:49] local.INFO: Extracted packet for processing {"connection_id":111399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239616256001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782186022000,"timestamp_ms":1782186022000,"timestamp_seconds":1782186022,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2909470"} 
[2026-06-23 09:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-23 09:13:49] 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-06-23 09:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239616256001,"66":13015,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239616256001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239616256001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":111399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:49] local.INFO: GPS data processed {"connection_id":111399,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:49] local.INFO: Acknowledgment sent {"connection_id":111399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:52] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2932c80012d0a75000705fce8000e014b21..."} 
[2026-06-23 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2932c80012d0a75000705fce8000e014b21..."} 
[2026-06-23 09:13:52] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2932c80012d0a75000705fce8000e014b21..."} 
[2026-06-23 09:13:52] local.INFO: Packet analysis {"connection_id":111398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:13:52] local.INFO: Extracted packet for processing {"connection_id":111398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117832936,"longitude_deg":75.5660032,"latitude_deg":11.7832936,"altitude":14,"angle":331,"satellites":33,"speed":0,"hex_longitude":"2d0a7500","hex_latitude":"0705fce8","is_valid_coordinates":true} 
[2026-06-23 09:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239663616001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816526898200576,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911563759616,"note":"Value kept but may cause issues"} 
[2026-06-23 09:13: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-06-23 09:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782186192000,"timestamp_ms":1782186192000,"timestamp_seconds":1782186192,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2932c80"} 
[2026-06-23 09:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:13:52] 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-06-23 09:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239663616001,"66":14450,"153":206,"94":10240,"24":0,"16":21816526898200576,"45":753578911563759616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239663616001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:13:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:13:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816526898200576,"km_value":21816526898200.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911563759616,"description":"Unknown IO ID 45"} 
[2026-06-23 09:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239663616001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753578911563759616}} 
[2026-06-23 09:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":111398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:13:52] local.INFO: GPS data processed {"connection_id":111398,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:13:52] local.INFO: Acknowledgment sent {"connection_id":111398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:13:56] local.INFO: TCP Data received {"connection_id":110606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:13:56] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:13:56] local.INFO: IMEI packet received {"connection_id":110606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":110606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:14:01] local.INFO: TCP Data received {"connection_id":110606,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:14:01] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:14:01] local.INFO: IMEI packet received {"connection_id":110606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":110606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:14:02] local.INFO: TCP Data received {"connection_id":110606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef291ccf0012d7cea0005ec3be80005003e29..."} 
[2026-06-23 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef291ccf0012d7cea0005ec3be80005003e29..."} 
[2026-06-23 09:14:02] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef291ccf0012d7cea0005ec3be80005003e29..."} 
[2026-06-23 09:14:02] local.INFO: Packet analysis {"connection_id":110606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:02] local.INFO: Extracted packet for processing {"connection_id":110606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763161088,"raw_latitude":99367912,"longitude_deg":76.3161088,"latitude_deg":9.9367912,"altitude":5,"angle":62,"satellites":41,"speed":6,"hex_longitude":"2d7cea00","hex_latitude":"05ec3be8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239641856001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336850888687616,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000866093203169280,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:02] 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-06-23 09:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782186102000,"timestamp_ms":1782186102000,"timestamp_seconds":1782186102,"priority":1,"record_length":96,"hex_timestamp":"0000019ef291ccf0"} 
[2026-06-23 09:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:02] 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-06-23 09:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239641856001,"66":12982,"198":206,"87":13824,"24":6,"16":96336850888687616,"45":9000866093203169280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239641856001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:14:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336850888687616,"km_value":96336850888687.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000866093203169280,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239641856001,"power":12982,"unknown_198":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9000866093203169280}} 
[2026-06-23 09:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":110606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:03] local.INFO: GPS data processed {"connection_id":110606,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:03] local.INFO: Acknowledgment sent {"connection_id":110606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:03] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:14:03] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:14:03] local.INFO: Packet analysis {"connection_id":110772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:03] local.INFO: Extracted packet for processing {"connection_id":110772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 09:14:03] 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-06-23 09:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186083000,"timestamp_ms":1782186083000,"timestamp_seconds":1782186083,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29182b8"} 
[2026-06-23 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-06-23 09:14:03] 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-06-23 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635712001,"66":25147,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:14:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635712001,"power":25147,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":110772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:03] local.INFO: GPS data processed {"connection_id":110772,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:03] local.INFO: Acknowledgment sent {"connection_id":110772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:16] local.INFO: TCP Data received {"connection_id":110773,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:16] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:16] local.INFO: IMEI packet received {"connection_id":110773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":110773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:14:19] local.INFO: TCP Data received {"connection_id":110773,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:19] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:19] local.INFO: IMEI packet received {"connection_id":110773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":110773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:14:20] local.INFO: TCP Data received {"connection_id":111399,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef290e678012d1821800721b3a8004e001126..."} 
[2026-06-23 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef290e678012d1821800721b3a8004e001126..."} 
[2026-06-23 09:14:20] local.INFO: Processing buffer {"connection_id":111399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef290e678012d1821800721b3a8004e001126..."} 
[2026-06-23 09:14:20] local.INFO: Packet analysis {"connection_id":111399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:14:20] local.INFO: Extracted packet for processing {"connection_id":111399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef290"} 
[2026-06-23 09:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239621632001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186043000,"timestamp_ms":1782186043000,"timestamp_seconds":1782186043,"priority":1,"record_length":96,"hex_timestamp":"0000019ef290e678"} 
[2026-06-23 09:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:20] 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-06-23 09:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:20] 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-06-23 09:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239621632001,"66":13004,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239621632001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239621632001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":111399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:20] local.INFO: GPS data processed {"connection_id":111399,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:20] local.INFO: Acknowledgment sent {"connection_id":111399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:21] local.INFO: TCP Data received {"connection_id":110773,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:21] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:14:21] local.INFO: IMEI packet received {"connection_id":110773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":110773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:14:22] local.INFO: TCP Data received {"connection_id":110773,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29343f0012d0a75400705fc10000e00ad21..."} 
[2026-06-23 09:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29343f0012d0a75400705fc10000e00ad21..."} 
[2026-06-23 09:14:22] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29343f0012d0a75400705fc10000e00ad21..."} 
[2026-06-23 09:14:22] local.INFO: Packet analysis {"connection_id":110773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:14:22] local.INFO: Extracted packet for processing {"connection_id":110773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:14:22] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117832720,"longitude_deg":75.5660096,"latitude_deg":11.783272,"altitude":14,"angle":173,"satellites":33,"speed":1,"hex_longitude":"2d0a7540","hex_latitude":"0705fc10","is_valid_coordinates":true} 
[2026-06-23 09:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239665152001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816539783102464,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542819657728,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186198000,"timestamp_ms":1782186198000,"timestamp_seconds":1782186198,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29343f0"} 
[2026-06-23 09:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:14: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-06-23 09:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239665152001,"66":14396,"153":206,"94":10240,"24":1,"16":21816539783102464,"45":753508542819657728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239665152001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:14:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816539783102464,"km_value":21816539783102.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542819657728,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239665152001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753508542819657728}} 
[2026-06-23 09:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":110773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:22] local.INFO: GPS data processed {"connection_id":110773,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:22] local.INFO: Acknowledgment sent {"connection_id":110773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:24] local.INFO: TCP Data received {"connection_id":110774,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:14:24] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:14:24] local.INFO: IMEI packet received {"connection_id":110774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":110774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:14:30] local.INFO: TCP Data received {"connection_id":110774,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:14:30] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:14:30] local.INFO: IMEI packet received {"connection_id":110774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":110774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:14:31] local.INFO: TCP Data received {"connection_id":110774,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:14:31] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:14:31] local.INFO: Packet analysis {"connection_id":110774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:31] local.INFO: Extracted packet for processing {"connection_id":110774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 09:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186083000,"timestamp_ms":1782186083000,"timestamp_seconds":1782186083,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29182b8"} 
[2026-06-23 09:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:31] 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-06-23 09:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635712001,"66":25147,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:14:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635712001,"power":25147,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":110774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:31] local.INFO: GPS data processed {"connection_id":110774,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:31] local.INFO: Acknowledgment sent {"connection_id":110774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:34] local.INFO: TCP Data received {"connection_id":110606,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef291d0d8012d7cea8005ec3c180005004b29..."} 
[2026-06-23 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef291d0d8012d7cea8005ec3c180005004b29..."} 
[2026-06-23 09:14:34] local.INFO: Processing buffer {"connection_id":110606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef291d0d8012d7cea8005ec3c180005004b29..."} 
[2026-06-23 09:14:34] local.INFO: Packet analysis {"connection_id":110606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:34] local.INFO: Extracted packet for processing {"connection_id":110606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763161216,"raw_latitude":99367960,"longitude_deg":76.3161216,"latitude_deg":9.936796,"altitude":5,"angle":75,"satellites":41,"speed":5,"hex_longitude":"2d7cea80","hex_latitude":"05ec3c18","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239642112001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336855183654912,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001006830691543040,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14: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-06-23 09:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782186103000,"timestamp_ms":1782186103000,"timestamp_seconds":1782186103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef291d0d8"} 
[2026-06-23 09:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14: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-06-23 09: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":182,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:34] 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-06-23 09: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-06-23 09:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239642112001,"66":12982,"198":206,"87":13824,"24":5,"16":96336855183654912,"45":9001006830691543040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 09:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239642112001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 09:14:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336855183654912,"km_value":96336855183654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001006830691543040,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239642112001,"power":12982,"unknown_198":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9001006830691543040}} 
[2026-06-23 09:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":110606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:34] local.INFO: GPS data processed {"connection_id":110606,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:34] local.INFO: Acknowledgment sent {"connection_id":110606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:48] local.INFO: TCP Data received {"connection_id":111400,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:14:48] local.INFO: Processing buffer {"connection_id":111400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:14:48] local.INFO: IMEI packet received {"connection_id":111400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":111400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:14:51] local.INFO: TCP Data received {"connection_id":111400,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:14:51] local.INFO: Processing buffer {"connection_id":111400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:14:51] local.INFO: IMEI packet received {"connection_id":111400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":111400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:14:51] local.INFO: TCP Data received {"connection_id":111400,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2913880012d1821800721b3a8004e001127..."} 
[2026-06-23 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2913880012d1821800721b3a8004e001127..."} 
[2026-06-23 09:14:51] local.INFO: Processing buffer {"connection_id":111400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2913880012d1821800721b3a8004e001127..."} 
[2026-06-23 09:14:51] local.INFO: Packet analysis {"connection_id":111400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:51] local.INFO: Extracted packet for processing {"connection_id":111400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782186064000,"timestamp_ms":1782186064000,"timestamp_seconds":1782186064,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2913880"} 
[2026-06-23 09:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239627008001,"66":12950,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239627008001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":111400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:52] local.INFO: GPS data processed {"connection_id":111400,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:52] local.INFO: Acknowledgment sent {"connection_id":111400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:52] local.INFO: TCP Data received {"connection_id":110773,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2934fa8012d0a75400705fb78000e00c121..."} 
[2026-06-23 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2934fa8012d0a75400705fb78000e00c121..."} 
[2026-06-23 09:14:52] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2934fa8012d0a75400705fb78000e00c121..."} 
[2026-06-23 09:14:52] local.INFO: Packet analysis {"connection_id":110773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:14:52] local.INFO: Extracted packet for processing {"connection_id":110773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:14:52] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117832568,"longitude_deg":75.5660096,"latitude_deg":11.7832568,"altitude":14,"angle":193,"satellites":33,"speed":1,"hex_longitude":"2d0a7540","hex_latitude":"0705fb78","is_valid_coordinates":true} 
[2026-06-23 09:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239666688001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816552668004352,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911563780096,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14: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-06-23 09:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782186201000,"timestamp_ms":1782186201000,"timestamp_seconds":1782186201,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2934fa8"} 
[2026-06-23 09:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:52] 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-06-23 09:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239666688001,"66":14396,"153":206,"94":10240,"24":1,"16":21816552668004352,"45":753578911563780096},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239666688001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:14:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816552668004352,"km_value":21816552668004.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911563780096,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239666688001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753578911563780096}} 
[2026-06-23 09:14:53] local.INFO: TCP Data received {"connection_id":111400,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2918a88012d1821800721b3a8004e001126..."} 
[2026-06-23 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2918a88012d1821800721b3a8004e001126..."} 
[2026-06-23 09:14:53] local.INFO: Processing buffer {"connection_id":111400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2918a88012d1821800721b3a8004e001126..."} 
[2026-06-23 09:14:53] local.INFO: Packet analysis {"connection_id":111400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:53] local.INFO: Extracted packet for processing {"connection_id":111400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239632384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186085000,"timestamp_ms":1782186085000,"timestamp_seconds":1782186085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2918a88"} 
[2026-06-23 09:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:14:53] 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-06-23 09:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 09:14:53] 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-06-23 09:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239632384001,"66":12972,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239632384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239632384001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":110773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369852,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:53] local.INFO: GPS data processed {"connection_id":110773,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:53] local.INFO: Acknowledgment sent {"connection_id":110773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":111400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:14:53] local.INFO: GPS data processed {"connection_id":111400,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:14:53] local.INFO: Acknowledgment sent {"connection_id":111400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:14:56] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:14:56] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:14:56] local.INFO: IMEI packet received {"connection_id":111401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":111401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:15:02] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:15:02] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:15:02] local.INFO: IMEI packet received {"connection_id":111401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":111401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:15:03] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2921ef8012d7ceb4005ec3c300005004b2b..."} 
[2026-06-23 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2921ef8012d7ceb4005ec3c300005004b2b..."} 
[2026-06-23 09:15:03] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2921ef8012d7ceb4005ec3c300005004b2b..."} 
[2026-06-23 09:15:03] local.INFO: Packet analysis {"connection_id":111401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:15:03] local.INFO: Extracted packet for processing {"connection_id":111401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":99367984,"longitude_deg":76.3161408,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":43,"speed":0,"hex_longitude":"2d7ceb40","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239642368001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001147568179910656,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:03] 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-06-23 09:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186123000,"timestamp_ms":1782186123000,"timestamp_seconds":1782186123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2921ef8"} 
[2026-06-23 09:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:03] 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-06-23 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:03] 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-06-23 09: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-06-23 09:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239642368001,"66":12743,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001147568179910656},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239642368001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001147568179910656,"description":"Unknown IO ID 45"} 
[2026-06-23 09:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239642368001,"power":12743,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001147568179910656}} 
[2026-06-23 09:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":111401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:03] local.INFO: GPS data processed {"connection_id":111401,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:03] local.INFO: Acknowledgment sent {"connection_id":111401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:03] local.INFO: TCP Data received {"connection_id":110774,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:15:03] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:15:03] local.INFO: Packet analysis {"connection_id":110774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:15:03] local.INFO: Extracted packet for processing {"connection_id":110774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 09:15:03] 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-06-23 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186083000,"timestamp_ms":1782186083000,"timestamp_seconds":1782186083,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29182b8"} 
[2026-06-23 09:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:03] 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-06-23 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635712001,"66":25147,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635712001,"power":25147,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":110774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:03] local.INFO: GPS data processed {"connection_id":110774,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:03] local.INFO: Acknowledgment sent {"connection_id":110774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:16] local.INFO: TCP Data received {"connection_id":112340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:15:16] local.INFO: Processing buffer {"connection_id":112340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:15:16] local.INFO: IMEI packet received {"connection_id":112340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":112340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:15:21] local.INFO: TCP Data received {"connection_id":112340,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112340,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:15:21] local.INFO: Processing buffer {"connection_id":112340,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:15:21] local.INFO: IMEI packet received {"connection_id":112340,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":112340,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:15:22] local.INFO: TCP Data received {"connection_id":112340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29395f8012d0a75800705f8f8000d00b221..."} 
[2026-06-23 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29395f8012d0a75800705f8f8000d00b221..."} 
[2026-06-23 09:15:22] local.INFO: Processing buffer {"connection_id":112340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29395f8012d0a75800705f8f8000d00b221..."} 
[2026-06-23 09:15:22] local.INFO: Packet analysis {"connection_id":112340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:15:22] local.INFO: Extracted packet for processing {"connection_id":112340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:15:22] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117831928,"longitude_deg":75.566016,"latitude_deg":11.7831928,"altitude":13,"angle":178,"satellites":33,"speed":6,"hex_longitude":"2d0a7580","hex_latitude":"0705f8f8","is_valid_coordinates":true} 
[2026-06-23 09:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239667456001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21816591322710016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911563741184,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186219000,"timestamp_ms":1782186219000,"timestamp_seconds":1782186219,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29395f8"} 
[2026-06-23 09:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:22] 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-06-23 09:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239667456001,"66":14428,"153":206,"94":10240,"24":6,"16":21816591322710016,"45":753578911563741184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239667456001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:15:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21816591322710016,"km_value":21816591322710.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911563741184,"description":"Unknown IO ID 45"} 
[2026-06-23 09:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239667456001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":753578911563741184}} 
[2026-06-23 09:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":112340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:22] local.INFO: GPS data processed {"connection_id":112340,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:22] local.INFO: Acknowledgment sent {"connection_id":112340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:23] local.INFO: TCP Data received {"connection_id":111400,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef291dc90012d1821800721b3a8004e001127..."} 
[2026-06-23 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef291dc90012d1821800721b3a8004e001127..."} 
[2026-06-23 09:15:23] local.INFO: Processing buffer {"connection_id":111400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef291dc90012d1821800721b3a8004e001127..."} 
[2026-06-23 09:15:23] local.INFO: Packet analysis {"connection_id":111400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:15:23] local.INFO: Extracted packet for processing {"connection_id":111400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239637760001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782186106000,"timestamp_ms":1782186106000,"timestamp_seconds":1782186106,"priority":1,"record_length":96,"hex_timestamp":"0000019ef291dc90"} 
[2026-06-23 09:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:23] 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-06-23 09: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-06-23 09:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":111400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":111400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":111400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239637760001,"66":12950,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239637760001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239637760001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":111400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:23] local.INFO: GPS data processed {"connection_id":111400,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:23] local.INFO: Acknowledgment sent {"connection_id":111400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:24] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:15:24] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:15:24] local.INFO: IMEI packet received {"connection_id":110609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":110609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:15:30] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:15:30] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:15:30] local.INFO: IMEI packet received {"connection_id":110609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":110609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:15:31] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:15:31] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29182b8012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:15:31] local.INFO: Packet analysis {"connection_id":110609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:15:31] local.INFO: Extracted packet for processing {"connection_id":110609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef291"} 
[2026-06-23 09:15:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 09:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239635712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186083000,"timestamp_ms":1782186083000,"timestamp_seconds":1782186083,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29182b8"} 
[2026-06-23 09:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:31] 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-06-23 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239635712001,"66":25147,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239635712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:15:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239635712001,"power":25147,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":110609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:31] local.INFO: GPS data processed {"connection_id":110609,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:31] local.INFO: Acknowledgment sent {"connection_id":110609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:34] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2927100012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2927100012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:15:34] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2927100012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:15:34] local.INFO: Packet analysis {"connection_id":111401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:15:34] local.INFO: Extracted packet for processing {"connection_id":111401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":99367984,"longitude_deg":76.3161408,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb40","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239647488001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674412449792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15: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-06-23 09:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782186144000,"timestamp_ms":1782186144000,"timestamp_seconds":1782186144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2927100"} 
[2026-06-23 09:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15: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-06-23 09: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:34] 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-06-23 09: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-06-23 09:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239647488001,"66":13059,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001358674412449792},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239647488001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674412449792,"description":"Unknown IO ID 45"} 
[2026-06-23 09:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239647488001,"power":13059,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001358674412449792}} 
[2026-06-23 09:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":111401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:34] local.INFO: GPS data processed {"connection_id":111401,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:34] local.INFO: Acknowledgment sent {"connection_id":111401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:43] local.INFO: TCP Data received {"connection_id":112341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:15:43] local.INFO: Processing buffer {"connection_id":112341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:15:43] local.INFO: IMEI packet received {"connection_id":112341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":112341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:15:48] local.INFO: TCP Data received {"connection_id":112341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:15:48] local.INFO: Processing buffer {"connection_id":112341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:15:48] local.INFO: IMEI packet received {"connection_id":112341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":112341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:15:48] local.INFO: TCP Data received {"connection_id":112341,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2922e98012d1821800721b3a8004e001128..."} 
[2026-06-23 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2922e98012d1821800721b3a8004e001128..."} 
[2026-06-23 09:15:48] local.INFO: Processing buffer {"connection_id":112341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2922e98012d1821800721b3a8004e001128..."} 
[2026-06-23 09:15:48] local.INFO: Packet analysis {"connection_id":112341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:15:48] local.INFO: Extracted packet for processing {"connection_id":112341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239643136001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186127000,"timestamp_ms":1782186127000,"timestamp_seconds":1782186127,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2922e98"} 
[2026-06-23 09:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239643136001,"66":12885,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239643136001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:15:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239643136001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":112341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:49] local.INFO: GPS data processed {"connection_id":112341,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:49] local.INFO: Acknowledgment sent {"connection_id":112341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:15:53] local.INFO: TCP Data received {"connection_id":112340,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2952080012d0a82400705a888001200d11f..."} 
[2026-06-23 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2952080012d0a82400705a888001200d11f..."} 
[2026-06-23 09:15:53] local.INFO: Processing buffer {"connection_id":112340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2952080012d0a82400705a888001200d11f..."} 
[2026-06-23 09:15:53] local.INFO: Packet analysis {"connection_id":112340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:15:53] local.INFO: Extracted packet for processing {"connection_id":112340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:15:53] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811336,"longitude_deg":75.5663424,"latitude_deg":11.7811336,"altitude":18,"angle":209,"satellites":31,"speed":11,"hex_longitude":"2d0a8240","hex_latitude":"0705a888","is_valid_coordinates":true} 
[2026-06-23 09:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239697664001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21817639294730240,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743967232,"note":"Value kept but may cause issues"} 
[2026-06-23 09:15:53] 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-06-23 09:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186320000,"timestamp_ms":1782186320000,"timestamp_seconds":1782186320,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2952080"} 
[2026-06-23 09:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 09:15:53] 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-06-23 09:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112340,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239697664001,"66":14461,"153":206,"94":10240,"24":11,"16":21817639294730240,"45":757378823743967232},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239697664001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:15:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:15:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21817639294730240,"km_value":21817639294730.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743967232,"description":"Unknown IO ID 45"} 
[2026-06-23 09:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239697664001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757378823743967232}} 
[2026-06-23 09:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":112340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:15:53] local.INFO: GPS data processed {"connection_id":112340,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:15:53] local.INFO: Acknowledgment sent {"connection_id":112340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:02] local.INFO: TCP Data received {"connection_id":112342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:02] local.INFO: Processing buffer {"connection_id":112342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:02] local.INFO: IMEI packet received {"connection_id":112342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":112342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:16:04] local.INFO: TCP Data received {"connection_id":110609,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef294c2c0012cb29ac007823bd0004a00c124..."} 
[2026-06-23 09:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef294c2c0012cb29ac007823bd0004a00c124..."} 
[2026-06-23 09:16:04] local.INFO: Processing buffer {"connection_id":110609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef294c2c0012cb29ac007823bd0004a00c124..."} 
[2026-06-23 09:16:04] local.INFO: Packet analysis {"connection_id":110609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef294"} 
[2026-06-23 09:16:04] local.INFO: Extracted packet for processing {"connection_id":110609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef294"} 
[2026-06-23 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975504,"longitude_deg":74.9902528,"latitude_deg":12.5975504,"altitude":74,"angle":193,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823bd0","is_valid_coordinates":true} 
[2026-06-23 09:16: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-06-23 09:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239637248001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782186296000,"timestamp_ms":1782186296000,"timestamp_seconds":1782186296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef294c2c0"} 
[2026-06-23 09:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239637248001,"66":25952,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239637248001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:16:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239637248001,"power":25952,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":110609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:04] local.INFO: GPS data processed {"connection_id":110609,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:04] local.INFO: Acknowledgment sent {"connection_id":110609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:07] local.INFO: TCP Data received {"connection_id":112342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:07] local.INFO: Processing buffer {"connection_id":112342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:07] local.INFO: IMEI packet received {"connection_id":112342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":112342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:16:07] local.INFO: TCP Data received {"connection_id":112342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef292c308012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef292c308012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:16:07] local.INFO: Processing buffer {"connection_id":112342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef292c308012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:16:07] local.INFO: Packet analysis {"connection_id":112342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:07] local.INFO: Extracted packet for processing {"connection_id":112342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":99367984,"longitude_deg":76.3161408,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb40","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239652864001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674412449792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] 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-06-23 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782186165000,"timestamp_ms":1782186165000,"timestamp_seconds":1782186165,"priority":1,"record_length":96,"hex_timestamp":"0000019ef292c308"} 
[2026-06-23 09:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16:07] 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-06-23 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164824800597,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4069626456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963232256,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818529,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2445871105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-06-23 09:16:07] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2147871803,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,65,158,30,45,64,60,5,43,10,66,208,128,41,198,204,1,240,182,227,242,236,4,113,205,7,197,232,112,239,48,2,86,6,33],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-06-23 09:16:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360370609655382016,"timestamp_seconds":360370609655382.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239652864001,"66":13015,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001358674412449792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239652864001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674412449792,"description":"Unknown IO ID 45"} 
[2026-06-23 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239652864001,"power":13015,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001358674412449792}} 
[2026-06-23 09:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":112342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:07] local.INFO: GPS data processed {"connection_id":112342,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:07] local.INFO: Acknowledgment sent {"connection_id":112342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:12] local.INFO: TCP Data received {"connection_id":112342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef292fda0012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef292fda0012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:16:12] local.INFO: Processing buffer {"connection_id":112342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef292fda0012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:16:12] local.INFO: Packet analysis {"connection_id":112342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:12] local.INFO: Extracted packet for processing {"connection_id":112342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":99367984,"longitude_deg":76.3161408,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb40","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239658240001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674412449792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:12] 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-06-23 09:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782186180000,"timestamp_ms":1782186180000,"timestamp_seconds":1782186180,"priority":1,"record_length":96,"hex_timestamp":"0000019ef292fda0"} 
[2026-06-23 09:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16: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-06-23 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:12] 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-06-23 09: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-06-23 09:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":112342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":112342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":112342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239658240001,"66":12961,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001358674412449792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239658240001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:16:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674412449792,"description":"Unknown IO ID 45"} 
[2026-06-23 09:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239658240001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001358674412449792}} 
[2026-06-23 09:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":112342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:12] local.INFO: GPS data processed {"connection_id":112342,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:12] local.INFO: Acknowledgment sent {"connection_id":112342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:14] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:14] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:14] local.INFO: IMEI packet received {"connection_id":110611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":110611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:16:16] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:16] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:16] local.INFO: IMEI packet received {"connection_id":110611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":110611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:16:20] local.INFO: TCP Data received {"connection_id":112341,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29280a0012d1821800721b3a8004e001127..."} 
[2026-06-23 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29280a0012d1821800721b3a8004e001127..."} 
[2026-06-23 09:16:20] local.INFO: Processing buffer {"connection_id":112341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29280a0012d1821800721b3a8004e001127..."} 
[2026-06-23 09:16:20] local.INFO: Packet analysis {"connection_id":112341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:20] local.INFO: Extracted packet for processing {"connection_id":112341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239648512001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186148000,"timestamp_ms":1782186148000,"timestamp_seconds":1782186148,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29280a0"} 
[2026-06-23 09:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16:20] 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-06-23 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239648512001,"66":12885,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239648512001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239648512001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":112341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:20] local.INFO: GPS data processed {"connection_id":112341,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:20] local.INFO: Acknowledgment sent {"connection_id":112341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:21] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:21] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:16:21] local.INFO: IMEI packet received {"connection_id":110611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":110611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:16:22] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2954f60012d0a7500070594a0001100dd20..."} 
[2026-06-23 09:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2954f60012d0a7500070594a0001100dd20..."} 
[2026-06-23 09:16:22] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2954f60012d0a7500070594a0001100dd20..."} 
[2026-06-23 09:16:22] local.INFO: Packet analysis {"connection_id":110611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:16:22] local.INFO: Extracted packet for processing {"connection_id":110611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:16:22] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117806240,"longitude_deg":75.5660032,"latitude_deg":11.780624,"altitude":17,"angle":221,"satellites":32,"speed":24,"hex_longitude":"2d0a7500","hex_latitude":"070594a0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239697920001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21817935647473664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255544320,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186332000,"timestamp_ms":1782186332000,"timestamp_seconds":1782186332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2954f60"} 
[2026-06-23 09:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:22] 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-06-23 09: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-06-23 09:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239697920001,"66":14439,"153":206,"94":10240,"24":24,"16":21817935647473664,"45":757238086255544320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239697920001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:16:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21817935647473664,"km_value":21817935647473.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255544320,"description":"Unknown IO ID 45"} 
[2026-06-23 09:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239697920001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":757238086255544320}} 
[2026-06-23 09:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":110611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:22] local.INFO: GPS data processed {"connection_id":110611,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:22] local.INFO: Acknowledgment sent {"connection_id":110611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:24] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:16:24] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:16:24] local.INFO: IMEI packet received {"connection_id":110612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":110612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:16:30] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:16:30] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:16:30] local.INFO: IMEI packet received {"connection_id":110612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":110612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:16:32] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29514c8012cb29b8007823bf8004a00c125..."} 
[2026-06-23 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29514c8012cb29b8007823bf8004a00c125..."} 
[2026-06-23 09:16:32] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29514c8012cb29b8007823bf8004a00c125..."} 
[2026-06-23 09:16:32] local.INFO: Packet analysis {"connection_id":110612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:16:32] local.INFO: Extracted packet for processing {"connection_id":110612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239691776001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062675968,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782186317000,"timestamp_ms":1782186317000,"timestamp_seconds":1782186317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29514c8"} 
[2026-06-23 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-06-23 09:16:32] 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-06-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239691776001,"66":27267,"28":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576934050062675968},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239691776001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 09:16:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062675968,"description":"Unknown IO ID 44"} 
[2026-06-23 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239691776001,"power":27267,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576934050062675968}} 
[2026-06-23 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":110612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:32] local.INFO: GPS data processed {"connection_id":110612,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:32] local.INFO: Acknowledgment sent {"connection_id":110612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:43] local.INFO: TCP Data received {"connection_id":110613,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:16:43] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:16:43] local.INFO: IMEI packet received {"connection_id":110613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":110613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:16:48] local.INFO: TCP Data received {"connection_id":110613,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:16:48] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:16:48] local.INFO: IMEI packet received {"connection_id":110613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":110613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:16:48] local.INFO: TCP Data received {"connection_id":110613,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef292d2a8012d1821800721b3a8004e001128..."} 
[2026-06-23 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef292d2a8012d1821800721b3a8004e001128..."} 
[2026-06-23 09:16:48] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef292d2a8012d1821800721b3a8004e001128..."} 
[2026-06-23 09:16:48] local.INFO: Packet analysis {"connection_id":110613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:48] local.INFO: Extracted packet for processing {"connection_id":110613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239653888001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186169000,"timestamp_ms":1782186169000,"timestamp_seconds":1782186169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef292d2a8"} 
[2026-06-23 09:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239653888001,"66":12885,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239653888001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239653888001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":110613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:49] local.INFO: GPS data processed {"connection_id":110613,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:49] local.INFO: Acknowledgment sent {"connection_id":110613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:53] local.INFO: TCP Data received {"connection_id":110611,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2957a58012d0a674007058678000f00ec21..."} 
[2026-06-23 09:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2957a58012d0a674007058678000f00ec21..."} 
[2026-06-23 09:16:53] local.INFO: Processing buffer {"connection_id":110611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2957a58012d0a674007058678000f00ec21..."} 
[2026-06-23 09:16:53] local.INFO: Packet analysis {"connection_id":110611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:16:53] local.INFO: Extracted packet for processing {"connection_id":110611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:16:53] local.INFO: GPS Element Parsed {"raw_longitude":755656512,"raw_latitude":117802616,"longitude_deg":75.5656512,"latitude_deg":11.7802616,"altitude":15,"angle":236,"satellites":33,"speed":21,"hex_longitude":"2d0a6740","hex_latitude":"07058678","is_valid_coordinates":true} 
[2026-06-23 09:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239700992001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21818180460609536,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542812823552,"note":"Value kept but may cause issues"} 
[2026-06-23 09:16:53] 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-06-23 09:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186343000,"timestamp_ms":1782186343000,"timestamp_seconds":1782186343,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2957a58"} 
[2026-06-23 09:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 09:16:53] 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-06-23 09:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239700992001,"66":14309,"153":206,"94":10240,"24":21,"16":21818180460609536,"45":753508542812823552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 09:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239700992001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:16:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 09:16:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21818180460609536,"km_value":21818180460609.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542812823552,"description":"Unknown IO ID 45"} 
[2026-06-23 09:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239700992001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":753508542812823552}} 
[2026-06-23 09:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":110611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:16:53] local.INFO: GPS data processed {"connection_id":110611,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:16:53] local.INFO: Acknowledgment sent {"connection_id":110611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:16:57] local.INFO: TCP Data received {"connection_id":110775,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:57] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:16:57] local.INFO: IMEI packet received {"connection_id":110775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":110775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:17:02] local.INFO: TCP Data received {"connection_id":110775,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:17:02] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:17:02] local.INFO: IMEI packet received {"connection_id":110775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":110775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:17:03] local.INFO: TCP Data received {"connection_id":110775,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ef292fda0012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef292fda0012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:17:03] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef292fda0012d7ceb4005ec3c300005004b29..."} 
[2026-06-23 09:17:03] local.INFO: Packet analysis {"connection_id":110775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:17:03] local.INFO: Extracted packet for processing {"connection_id":110775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef292"} 
[2026-06-23 09:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":99367984,"longitude_deg":76.3161408,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb40","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09:17:03] 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-06-23 09:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239662080001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674412449792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:03] 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-06-23 09:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186180000,"timestamp_ms":1782186180000,"timestamp_seconds":1782186180,"priority":1,"record_length":96,"hex_timestamp":"0000019ef292fda0"} 
[2026-06-23 09:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:03] 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-06-23 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:03] 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-06-23 09: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-06-23 09:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239662080001,"66":12961,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001358674412449792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239662080001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:17:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674412449792,"description":"Unknown IO ID 45"} 
[2026-06-23 09:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239662080001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001358674412449792}} 
[2026-06-23 09:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":110775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:03] local.INFO: GPS data processed {"connection_id":110775,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:03] local.INFO: Acknowledgment sent {"connection_id":110775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:04] local.INFO: TCP Data received {"connection_id":110612,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29566d0012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29566d0012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:17:04] local.INFO: Processing buffer {"connection_id":110612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29566d0012cb29b8007823bf8004a00c127..."} 
[2026-06-23 09:17:04] local.INFO: Packet analysis {"connection_id":110612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:17:04] local.INFO: Extracted packet for processing {"connection_id":110612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:17:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975544,"longitude_deg":74.990272,"latitude_deg":12.5975544,"altitude":74,"angle":193,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bf8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239697152001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289658552025088,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782186338000,"timestamp_ms":1782186338000,"timestamp_seconds":1782186338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29566d0"} 
[2026-06-23 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-06-23 09:17:04] 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-06-23 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239697152001,"66":27658,"126":206,"27":54016,"24":0,"16":321289658552025088,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239697152001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:17:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289658552025088,"km_value":321289658552025.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239697152001,"power":27658,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":110612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:04] local.INFO: GPS data processed {"connection_id":110612,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:04] local.INFO: Acknowledgment sent {"connection_id":110612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:16] local.INFO: TCP Data received {"connection_id":111402,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:16] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:16] local.INFO: IMEI packet received {"connection_id":111402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":111402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:17:17] local.INFO: TCP Data received {"connection_id":111402,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:17] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:17] local.INFO: IMEI packet received {"connection_id":111402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":111402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:17:19] local.INFO: TCP Data received {"connection_id":110613,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29324b0012d1821800721b3a8004e001128..."} 
[2026-06-23 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29324b0012d1821800721b3a8004e001128..."} 
[2026-06-23 09:17:19] local.INFO: Processing buffer {"connection_id":110613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29324b0012d1821800721b3a8004e001128..."} 
[2026-06-23 09:17:19] local.INFO: Packet analysis {"connection_id":110613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:17:19] local.INFO: Extracted packet for processing {"connection_id":110613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239659264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782186190000,"timestamp_ms":1782186190000,"timestamp_seconds":1782186190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29324b0"} 
[2026-06-23 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:19] 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-06-23 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:19] 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-06-23 09:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239659264001,"66":12885,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239659264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239659264001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":110613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:19] local.INFO: GPS data processed {"connection_id":110613,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:19] local.INFO: Acknowledgment sent {"connection_id":110613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:21] local.INFO: TCP Data received {"connection_id":111402,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:21] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:17:21] local.INFO: IMEI packet received {"connection_id":111402,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":111402,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:17:22] local.INFO: TCP Data received {"connection_id":111402,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2968fb0012d0a4680070589180012010c21..."} 
[2026-06-23 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2968fb0012d0a4680070589180012010c21..."} 
[2026-06-23 09:17:22] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2968fb0012d0a4680070589180012010c21..."} 
[2026-06-23 09:17:22] local.INFO: Packet analysis {"connection_id":111402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:17:22] local.INFO: Extracted packet for processing {"connection_id":111402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":755648128,"raw_latitude":117803288,"longitude_deg":75.5648128,"latitude_deg":11.7803288,"altitude":18,"angle":268,"satellites":33,"speed":10,"hex_longitude":"2d0a4680","hex_latitude":"07058918","is_valid_coordinates":true} 
[2026-06-23 09:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239721728001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21818725921456128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740631062627557376,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:22] 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-06-23 09:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186414000,"timestamp_ms":1782186414000,"timestamp_seconds":1782186414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2968fb0"} 
[2026-06-23 09:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:22] 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-06-23 09:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239721728001,"66":14298,"177":206,"94":10240,"24":10,"16":21818725921456128,"45":740631062627557376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239721728001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:17:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21818725921456128,"km_value":21818725921456.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":740631062627557376,"description":"Unknown IO ID 45"} 
[2026-06-23 09:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239721728001,"power":14298,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740631062627557376}} 
[2026-06-23 09:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":111402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:22] local.INFO: GPS data processed {"connection_id":111402,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:22] local.INFO: Acknowledgment sent {"connection_id":111402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:29] local.INFO: TCP Data received {"connection_id":112344,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:17:29] local.INFO: Processing buffer {"connection_id":112344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:17:29] local.INFO: IMEI packet received {"connection_id":112344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":112344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:17:30] local.INFO: TCP Data received {"connection_id":112344,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:17:30] local.INFO: Processing buffer {"connection_id":112344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:17:30] local.INFO: IMEI packet received {"connection_id":112344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":112344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:17:33] local.INFO: TCP Data received {"connection_id":112344,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef295a938012cb29d0007823e680049001c27..."} 
[2026-06-23 09:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef295a938012cb29d0007823e680049001c27..."} 
[2026-06-23 09:17:33] local.INFO: Processing buffer {"connection_id":112344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef295a938012cb29d0007823e680049001c27..."} 
[2026-06-23 09:17:33] local.INFO: Packet analysis {"connection_id":112344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:17:33] local.INFO: Extracted packet for processing {"connection_id":112344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:17:33] local.INFO: GPS Element Parsed {"raw_longitude":749903104,"raw_latitude":125976168,"longitude_deg":74.9903104,"latitude_deg":12.5976168,"altitude":73,"angle":28,"satellites":39,"speed":5,"hex_longitude":"2cb29d00","hex_latitude":"07823e68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239702528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289692911763456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830132736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782186355000,"timestamp_ms":1782186355000,"timestamp_seconds":1782186355,"priority":1,"record_length":96,"hex_timestamp":"0000019ef295a938"} 
[2026-06-23 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-06-23 09:17:33] 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-06-23 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239702528001,"66":28028,"126":206,"27":54016,"24":5,"16":321289692911763456,"44":-5576722943830132736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239702528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:17:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289692911763456,"km_value":321289692911763.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830132736,"description":"Unknown IO ID 44"} 
[2026-06-23 09:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239702528001,"power":28028,"unknown_126":206,"unknown_27":54016,"ignition":5,"odometer":null,"unknown_44":-5576722943830132736}} 
[2026-06-23 09:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":112344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:33] local.INFO: GPS data processed {"connection_id":112344,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:33] local.INFO: Acknowledgment sent {"connection_id":112344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:35] local.INFO: TCP Data received {"connection_id":110775,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2937e88012d7cebc005ec3c300005004b2a..."} 
[2026-06-23 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2937e88012d7cebc005ec3c300005004b2a..."} 
[2026-06-23 09:17:35] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2937e88012d7cebc005ec3c300005004b2a..."} 
[2026-06-23 09:17:35] local.INFO: Packet analysis {"connection_id":110775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:17:35] local.INFO: Extracted packet for processing {"connection_id":110775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763161536,"raw_latitude":99367984,"longitude_deg":76.3161536,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7cebc0","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09:17:35] 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-06-23 09:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239662080001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674412449792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:35] 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-06-23 09:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186213000,"timestamp_ms":1782186213000,"timestamp_seconds":1782186213,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2937e88"} 
[2026-06-23 09:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:35] 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-06-23 09:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:35] 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-06-23 09:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239662080001,"66":13472,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001358674412449792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239662080001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:17:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674412449792,"description":"Unknown IO ID 45"} 
[2026-06-23 09:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239662080001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001358674412449792}} 
[2026-06-23 09:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":110775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:35] local.INFO: GPS data processed {"connection_id":110775,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:35] local.INFO: Acknowledgment sent {"connection_id":110775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:36] local.INFO: TCP Data received {"connection_id":112344,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef295b8d8012cb29e40078240380049002828..."} 
[2026-06-23 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef295b8d8012cb29e40078240380049002828..."} 
[2026-06-23 09:17:36] local.INFO: Processing buffer {"connection_id":112344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef295b8d8012cb29e40078240380049002828..."} 
[2026-06-23 09:17:36] local.INFO: Packet analysis {"connection_id":112344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:17:36] local.INFO: Extracted packet for processing {"connection_id":112344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":749903424,"raw_latitude":125976632,"longitude_deg":74.9903424,"latitude_deg":12.5976632,"altitude":73,"angle":40,"satellites":40,"speed":5,"hex_longitude":"2cb29e40","hex_latitude":"07824038","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239706880001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289718681567232,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576300731364907008,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782186359000,"timestamp_ms":1782186359000,"timestamp_seconds":1782186359,"priority":1,"record_length":96,"hex_timestamp":"0000019ef295b8d8"} 
[2026-06-23 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:36] 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-06-23 09: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:36] 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-06-23 09: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-06-23 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239706880001,"66":27930,"126":206,"27":54016,"24":5,"16":321289718681567232,"44":-5576300731364907008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239706880001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289718681567232,"km_value":321289718681567.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576300731364907008,"description":"Unknown IO ID 44"} 
[2026-06-23 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239706880001,"power":27930,"unknown_126":206,"unknown_27":54016,"ignition":5,"odometer":null,"unknown_44":-5576300731364907008}} 
[2026-06-23 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":112344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:36] local.INFO: GPS data processed {"connection_id":112344,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:36] local.INFO: Acknowledgment sent {"connection_id":112344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:43] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:17:43] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:17:43] local.INFO: IMEI packet received {"connection_id":111403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":111403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:17:48] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:17:48] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:17:48] local.INFO: IMEI packet received {"connection_id":111403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":111403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:17:48] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29376b8012d1821800721b3a8004e001128..."} 
[2026-06-23 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29376b8012d1821800721b3a8004e001128..."} 
[2026-06-23 09:17:48] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29376b8012d1821800721b3a8004e001128..."} 
[2026-06-23 09:17:48] local.INFO: Packet analysis {"connection_id":111403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:17:48] local.INFO: Extracted packet for processing {"connection_id":111403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239664640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186211000,"timestamp_ms":1782186211000,"timestamp_seconds":1782186211,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29376b8"} 
[2026-06-23 09:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239664640001,"66":12863,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239664640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239664640001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":111403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:49] local.INFO: GPS data processed {"connection_id":111403,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:49] local.INFO: Acknowledgment sent {"connection_id":111403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:53] local.INFO: TCP Data received {"connection_id":111402,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2969398012d0a4540070588c8001200fa21..."} 
[2026-06-23 09:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2969398012d0a4540070588c8001200fa21..."} 
[2026-06-23 09:17:53] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2969398012d0a4540070588c8001200fa21..."} 
[2026-06-23 09:17:53] local.INFO: Packet analysis {"connection_id":111402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:17:53] local.INFO: Extracted packet for processing {"connection_id":111402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":755647808,"raw_latitude":117803208,"longitude_deg":75.5647808,"latitude_deg":11.7803208,"altitude":18,"angle":250,"satellites":33,"speed":10,"hex_longitude":"2d0a4540","hex_latitude":"070588c8","is_valid_coordinates":true} 
[2026-06-23 09:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239721984001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21818743101325312,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740419956395022336,"note":"Value kept but may cause issues"} 
[2026-06-23 09:17:53] 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-06-23 09:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186415000,"timestamp_ms":1782186415000,"timestamp_seconds":1782186415,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2969398"} 
[2026-06-23 09:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-23 09:17:53] 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-06-23 09:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111402,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239721984001,"66":14298,"177":206,"94":10240,"24":10,"16":21818743101325312,"45":740419956395022336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239721984001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21818743101325312,"km_value":21818743101325.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":740419956395022336,"description":"Unknown IO ID 45"} 
[2026-06-23 09:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239721984001,"power":14298,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":740419956395022336}} 
[2026-06-23 09:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":111402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:17:53] local.INFO: GPS data processed {"connection_id":111402,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:17:53] local.INFO: Acknowledgment sent {"connection_id":111402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:17:57] local.INFO: TCP Data received {"connection_id":110614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:17:57] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:17:57] local.INFO: IMEI packet received {"connection_id":110614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":110614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:18:02] local.INFO: TCP Data received {"connection_id":110614,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:18:02] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:18:02] local.INFO: IMEI packet received {"connection_id":110614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":110614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:03] local.INFO: TCP Data received {"connection_id":110614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2937e88012d7cebc005ec3c300005004b2a..."} 
[2026-06-23 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2937e88012d7cebc005ec3c300005004b2a..."} 
[2026-06-23 09:18:03] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2937e88012d7cebc005ec3c300005004b2a..."} 
[2026-06-23 09:18:03] local.INFO: Packet analysis {"connection_id":110614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:18:03] local.INFO: Extracted packet for processing {"connection_id":110614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763161536,"raw_latitude":99367984,"longitude_deg":76.3161536,"latitude_deg":9.9367984,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7cebc0","hex_latitude":"05ec3c30","is_valid_coordinates":true} 
[2026-06-23 09:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:03] 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-06-23 09:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186213000,"timestamp_ms":1782186213000,"timestamp_seconds":1782186213,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2937e88"} 
[2026-06-23 09:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:03] 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-06-23 09: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-06-23 09:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":13472,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:18:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":110614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:03] local.INFO: GPS data processed {"connection_id":110614,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:03] local.INFO: Acknowledgment sent {"connection_id":110614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:15] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:15] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:15] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:18:16] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:16] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:16] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:18] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:18] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:18] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:20] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef293c8c0012d1821800721b3a8004e001128..."} 
[2026-06-23 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef293c8c0012d1821800721b3a8004e001128..."} 
[2026-06-23 09:18:20] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef293c8c0012d1821800721b3a8004e001128..."} 
[2026-06-23 09:18:20] local.INFO: Packet analysis {"connection_id":111403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:18:20] local.INFO: Extracted packet for processing {"connection_id":111403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef293"} 
[2026-06-23 09:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":78,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-06-23 09:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670016001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931918005436416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186232000,"timestamp_ms":1782186232000,"timestamp_seconds":1782186232,"priority":1,"record_length":96,"hex_timestamp":"0000019ef293c8c0"} 
[2026-06-23 09:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:20] 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-06-23 09:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670016001,"66":12809,"105":206,"83":41984,"24":0,"16":3931918005436416,"45":1738811699260270592},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670016001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931918005436416,"km_value":3931918005436.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670016001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-06-23 09:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":111403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:20] local.INFO: GPS data processed {"connection_id":111403,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:20] local.INFO: Acknowledgment sent {"connection_id":111403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:20] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:20] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:18:20] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:20] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297c448012d09ea4007057688001400ad21..."} 
[2026-06-23 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297c448012d09ea4007057688001400ad21..."} 
[2026-06-23 09:18:20] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297c448012d09ea4007057688001400ad21..."} 
[2026-06-23 09:18:20] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:20] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:20] local.INFO: GPS Element Parsed {"raw_longitude":755624512,"raw_latitude":117798536,"longitude_deg":75.5624512,"latitude_deg":11.7798536,"altitude":20,"angle":173,"satellites":33,"speed":19,"hex_longitude":"2d09ea40","hex_latitude":"07057688","is_valid_coordinates":true} 
[2026-06-23 09:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239741696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21819941397200896,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714383521048322048,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:20] 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-06-23 09:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186493000,"timestamp_ms":1782186493000,"timestamp_seconds":1782186493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297c448"} 
[2026-06-23 09:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18: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-06-23 09:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239741696001,"66":14352,"177":206,"94":10240,"24":19,"16":21819941397200896,"45":714383521048322048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239741696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21819941397200896,"km_value":21819941397200.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":714383521048322048,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239741696001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":714383521048322048}} 
[2026-06-23 09:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:21] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:21] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:21] local.INFO: TCP Data received {"connection_id":112344,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef295bcc0012cb29e80078240a80049001729..."} 
[2026-06-23 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef295bcc0012cb29e80078240a80049001729..."} 
[2026-06-23 09:18:21] local.INFO: Processing buffer {"connection_id":112344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef295bcc0012cb29e80078240a80049001729..."} 
[2026-06-23 09:18:21] local.INFO: Packet analysis {"connection_id":112344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:18:21] local.INFO: Extracted packet for processing {"connection_id":112344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976744,"longitude_deg":74.9903488,"latitude_deg":12.5976744,"altitude":73,"angle":23,"satellites":41,"speed":4,"hex_longitude":"2cb29e80","hex_latitude":"078240a8","is_valid_coordinates":true} 
[2026-06-23 09:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239707904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289727271501824,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575948887643899904,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782186360000,"timestamp_ms":1782186360000,"timestamp_seconds":1782186360,"priority":1,"record_length":96,"hex_timestamp":"0000019ef295bcc0"} 
[2026-06-23 09:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:21] 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-06-23 09:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:21] 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-06-23 09:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239707904001,"66":27930,"126":206,"27":54016,"24":4,"16":321289727271501824,"44":-5575948887643899904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239707904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289727271501824,"km_value":321289727271501.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575948887643899904,"description":"Unknown IO ID 44"} 
[2026-06-23 09:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239707904001,"power":27930,"unknown_126":206,"unknown_27":54016,"ignition":4,"odometer":null,"unknown_44":-5575948887643899904}} 
[2026-06-23 09:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":112344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:21] local.INFO: GPS data processed {"connection_id":112344,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:21] local.INFO: Acknowledgment sent {"connection_id":112344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:21] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297d000012d09ea4007057218001400bc22..."} 
[2026-06-23 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297d000012d09ea4007057218001400bc22..."} 
[2026-06-23 09:18:21] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297d000012d09ea4007057218001400bc22..."} 
[2026-06-23 09:18:21] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:21] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:21] local.INFO: GPS Element Parsed {"raw_longitude":755624512,"raw_latitude":117797400,"longitude_deg":75.5624512,"latitude_deg":11.77974,"altitude":20,"angle":188,"satellites":34,"speed":9,"hex_longitude":"2d09ea40","hex_latitude":"07057218","is_valid_coordinates":true} 
[2026-06-23 09:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239742208001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21819997231775744,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714453889792247808,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] 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-06-23 09:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782186496000,"timestamp_ms":1782186496000,"timestamp_seconds":1782186496,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297d000"} 
[2026-06-23 09:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18: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-06-23 09:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221685629,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4070010456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3278628249025904660,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":801922255893299210,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503932566175744,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2544943105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639689926670257,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2008088782,"corrected_to":0} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2230845440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84735115577984387,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:21] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,177,94,24,241,157,16,133,158,188,45,122,21,33,10,66,184,192,123,180,64,1,240,87,227,242,5,4,113,205,13,165,160,32,239,56,2,77,7,22,12,206,8],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2008088782,"validated":0}]} 
[2026-06-23 09:18:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441342238005329920,"timestamp_seconds":1441342238005330.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239742208001,"66":14352,"177":206,"94":10240,"24":9,"16":21819997231775744,"45":714453889792247808},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239742208001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21819997231775744,"km_value":21819997231775.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":714453889792247808,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239742208001,"power":14352,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":714453889792247808}} 
[2026-06-23 09:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:21] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:21] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:22] local.INFO: TCP Data received {"connection_id":110776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:18:22] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:18:22] local.INFO: IMEI packet received {"connection_id":110776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":110776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:18:24] local.INFO: TCP Data received {"connection_id":112345,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:18:24] local.INFO: Processing buffer {"connection_id":112345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:18:24] local.INFO: IMEI packet received {"connection_id":112345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":112345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:18:30] local.INFO: TCP Data received {"connection_id":112345,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:18:30] local.INFO: Processing buffer {"connection_id":112345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:18:30] local.INFO: IMEI packet received {"connection_id":112345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":112345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:32] local.INFO: TCP Data received {"connection_id":112345,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef295cc60012cb29f80078242700049000c2c..."} 
[2026-06-23 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef295cc60012cb29f80078242700049000c2c..."} 
[2026-06-23 09:18:32] local.INFO: Processing buffer {"connection_id":112345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef295cc60012cb29f80078242700049000c2c..."} 
[2026-06-23 09:18:32] local.INFO: Packet analysis {"connection_id":112345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:18:32] local.INFO: Extracted packet for processing {"connection_id":112345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125977200,"longitude_deg":74.9903744,"latitude_deg":12.59772,"altitude":73,"angle":12,"satellites":44,"speed":5,"hex_longitude":"2cb29f80","hex_latitude":"07824270","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239708160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289753041305600,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899693568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782186364000,"timestamp_ms":1782186364000,"timestamp_seconds":1782186364,"priority":1,"record_length":96,"hex_timestamp":"0000019ef295cc60"} 
[2026-06-23 09:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:32] 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-06-23 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:32] 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-06-23 09: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-06-23 09:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239708160001,"66":27821,"126":206,"27":54016,"24":5,"16":321289753041305600,"44":-5575878518899693568},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239708160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:18:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289753041305600,"km_value":321289753041305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899693568,"description":"Unknown IO ID 44"} 
[2026-06-23 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239708160001,"power":27821,"unknown_126":206,"unknown_27":54016,"ignition":5,"odometer":null,"unknown_44":-5575878518899693568}} 
[2026-06-23 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":112345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:32] local.INFO: GPS data processed {"connection_id":112345,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:32] local.INFO: Acknowledgment sent {"connection_id":112345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:35] local.INFO: TCP Data received {"connection_id":110614,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:18:35] local.INFO: Processing buffer {"connection_id":110614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:18:35] local.INFO: Packet analysis {"connection_id":110614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:35] local.INFO: Extracted packet for processing {"connection_id":110614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:35] 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-06-23 09:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:18: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-06-23 09:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:18:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":110614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:35] local.INFO: GPS data processed {"connection_id":110614,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:35] local.INFO: Acknowledgment sent {"connection_id":110614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:43] local.INFO: TCP Data received {"connection_id":110778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:43] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:43] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:18:43] local.INFO: TCP Data received {"connection_id":110778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:43] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:43] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:48] local.INFO: TCP Data received {"connection_id":110778,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:48] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:18:48] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:18:48] local.INFO: TCP Data received {"connection_id":110778,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29700f8012d181f800721b2e0004c00d62a..."} 
[2026-06-23 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29700f8012d181f800721b2e0004c00d62a..."} 
[2026-06-23 09:18:48] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29700f8012d181f800721b2e0004c00d62a..."} 
[2026-06-23 09:18:48] local.INFO: Packet analysis {"connection_id":110778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:48] local.INFO: Extracted packet for processing {"connection_id":110778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648992,"longitude_deg":75.6555648,"latitude_deg":11.9648992,"altitude":76,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b2e0","is_valid_coordinates":true} 
[2026-06-23 09:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239724032001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931952365174784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118051004416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186443000,"timestamp_ms":1782186443000,"timestamp_seconds":1782186443,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29700f8"} 
[2026-06-23 09:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239724032001,"66":12711,"105":206,"83":41984,"24":0,"16":3931952365174784,"45":1738319118051004416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239724032001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931952365174784,"km_value":3931952365174.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118051004416,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239724032001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118051004416}} 
[2026-06-23 09:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":110778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:48] local.INFO: GPS data processed {"connection_id":110778,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:48] local.INFO: Acknowledgment sent {"connection_id":110778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:53] local.INFO: TCP Data received {"connection_id":110777,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2984148012d09be80070572f8001400ca22..."} 
[2026-06-23 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2984148012d09be80070572f8001400ca22..."} 
[2026-06-23 09:18:53] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2984148012d09be80070572f8001400ca22..."} 
[2026-06-23 09:18:53] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:18:53] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":755613312,"raw_latitude":117797624,"longitude_deg":75.5613312,"latitude_deg":11.7797624,"altitude":20,"angle":202,"satellites":34,"speed":12,"hex_longitude":"2d09be80","hex_latitude":"070572f8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239750144001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21820585642295296,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702350465793538048,"note":"Value kept but may cause issues"} 
[2026-06-23 09:18:53] 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-06-23 09:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186525000,"timestamp_ms":1782186525000,"timestamp_seconds":1782186525,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2984148"} 
[2026-06-23 09:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 09:18:53] 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-06-23 09: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-06-23 09:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239750144001,"66":13906,"177":206,"94":10240,"24":12,"16":21820585642295296,"45":702350465793538048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239750144001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21820585642295296,"km_value":21820585642295.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":702350465793538048,"description":"Unknown IO ID 45"} 
[2026-06-23 09:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239750144001,"power":13906,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":702350465793538048}} 
[2026-06-23 09:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:18:53] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:18:53] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:18:56] local.INFO: TCP Data received {"connection_id":110615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:18:56] local.INFO: Processing buffer {"connection_id":110615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:18:56] local.INFO: IMEI packet received {"connection_id":110615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":110615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:19:02] local.INFO: TCP Data received {"connection_id":110615,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:19:02] local.INFO: Processing buffer {"connection_id":110615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:19:02] local.INFO: IMEI packet received {"connection_id":110615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":110615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:19:03] local.INFO: TCP Data received {"connection_id":110615,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:19:03] local.INFO: Processing buffer {"connection_id":110615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:19:03] local.INFO: Packet analysis {"connection_id":110615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:03] local.INFO: Extracted packet for processing {"connection_id":110615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:03] 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-06-23 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:19:03] 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-06-23 09: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-06-23 09:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:19: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-06-23 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"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-06-23 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":110615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:03] local.INFO: GPS data processed {"connection_id":110615,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:03] local.INFO: Acknowledgment sent {"connection_id":110615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:03] local.INFO: TCP Data received {"connection_id":112345,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef295d048012cb29f80078242e0004901602c..."} 
[2026-06-23 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef295d048012cb29f80078242e0004901602c..."} 
[2026-06-23 09:19:03] local.INFO: Processing buffer {"connection_id":112345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef295d048012cb29f80078242e0004901602c..."} 
[2026-06-23 09:19:03] local.INFO: Packet analysis {"connection_id":112345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:19:03] local.INFO: Extracted packet for processing {"connection_id":112345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125977312,"longitude_deg":74.9903744,"latitude_deg":12.5977312,"altitude":73,"angle":352,"satellites":44,"speed":3,"hex_longitude":"2cb29f80","hex_latitude":"078242e0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239709184001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289757336272896,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043922866176,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186365000,"timestamp_ms":1782186365000,"timestamp_seconds":1782186365,"priority":1,"record_length":96,"hex_timestamp":"0000019ef295d048"} 
[2026-06-23 09:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19:03] 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-06-23 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239709184001,"66":27691,"126":206,"27":54016,"24":3,"16":321289757336272896,"44":-5575597043922866176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239709184001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289757336272896,"km_value":321289757336272.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043922866176,"description":"Unknown IO ID 44"} 
[2026-06-23 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239709184001,"power":27691,"unknown_126":206,"unknown_27":54016,"ignition":3,"odometer":null,"unknown_44":-5575597043922866176}} 
[2026-06-23 09:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":112345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:03] local.INFO: GPS data processed {"connection_id":112345,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:03] local.INFO: Acknowledgment sent {"connection_id":112345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:07] local.INFO: TCP Data received {"connection_id":111404,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:19:07] local.INFO: Processing buffer {"connection_id":111404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:19:07] local.INFO: IMEI packet received {"connection_id":111404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":111404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:19:16] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:16] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:16] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:19:18] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:18] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:18] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:19:19] local.INFO: TCP Data received {"connection_id":110778,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2975300012d181e400721b0c8004c00d228..."} 
[2026-06-23 09:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2975300012d181e400721b0c8004c00d228..."} 
[2026-06-23 09:19:19] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2975300012d181e400721b0c8004c00d228..."} 
[2026-06-23 09:19:19] local.INFO: Packet analysis {"connection_id":110778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:19] local.INFO: Extracted packet for processing {"connection_id":110778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239729408001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306798080,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782186464000,"timestamp_ms":1782186464000,"timestamp_seconds":1782186464,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2975300"} 
[2026-06-23 09:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19:19] 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-06-23 09:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-23 09:19:19] 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-06-23 09:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239729408001,"66":12667,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1738248749306798080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239729408001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306798080,"description":"Unknown IO ID 45"} 
[2026-06-23 09:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239729408001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306798080}} 
[2026-06-23 09:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":110778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:19] local.INFO: GPS data processed {"connection_id":110778,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:19] local.INFO: Acknowledgment sent {"connection_id":110778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:21] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:21] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:19:21] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:19:21] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2984530012d09be4007057198001300bf23..."} 
[2026-06-23 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2984530012d09be4007057198001300bf23..."} 
[2026-06-23 09:19:21] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2984530012d09be4007057198001300bf23..."} 
[2026-06-23 09:19:21] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:19:21] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":755613248,"raw_latitude":117797272,"longitude_deg":75.5613248,"latitude_deg":11.7797272,"altitude":19,"angle":191,"satellites":35,"speed":13,"hex_longitude":"2d09be40","hex_latitude":"07057198","is_valid_coordinates":true} 
[2026-06-23 09:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239750400001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21820602822164480,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702139359560923136,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:21] 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-06-23 09:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782186526000,"timestamp_ms":1782186526000,"timestamp_seconds":1782186526,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2984530"} 
[2026-06-23 09:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19: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-06-23 09:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 09:19:21] 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-06-23 09:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239750400001,"66":14439,"177":206,"94":10240,"24":13,"16":21820602822164480,"45":702139359560923136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239750400001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:19:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21820602822164480,"km_value":21820602822164.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":702139359560923136,"description":"Unknown IO ID 45"} 
[2026-06-23 09:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239750400001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":702139359560923136}} 
[2026-06-23 09:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:22] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:22] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:24] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:19:24] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:19:24] local.INFO: IMEI packet received {"connection_id":110616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":110616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:19:30] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:19:30] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:19:30] local.INFO: IMEI packet received {"connection_id":110616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:19:32] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef295eba0012cb29f0007824340004901502c..."} 
[2026-06-23 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef295eba0012cb29f0007824340004901502c..."} 
[2026-06-23 09:19:32] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef295eba0012cb29f0007824340004901502c..."} 
[2026-06-23 09:19:32] local.INFO: Packet analysis {"connection_id":110616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:19:32] local.INFO: Extracted packet for processing {"connection_id":110616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef295"} 
[2026-06-23 09:19:32] local.INFO: GPS Element Parsed {"raw_longitude":749903616,"raw_latitude":125977408,"longitude_deg":74.9903616,"latitude_deg":12.5977408,"altitude":73,"angle":336,"satellites":44,"speed":2,"hex_longitude":"2cb29f00","hex_latitude":"07824340","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239709440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289765926207488,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043922837504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782186372000,"timestamp_ms":1782186372000,"timestamp_seconds":1782186372,"priority":1,"record_length":96,"hex_timestamp":"0000019ef295eba0"} 
[2026-06-23 09:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19:32] 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-06-23 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 09:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239709440001,"66":27984,"126":206,"27":54016,"24":2,"16":321289765926207488,"44":-5575597043922837504},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239709440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:19:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289765926207488,"km_value":321289765926207.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043922837504,"description":"Unknown IO ID 44"} 
[2026-06-23 09:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239709440001,"power":27984,"unknown_126":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5575597043922837504}} 
[2026-06-23 09:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":110616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:32] local.INFO: GPS data processed {"connection_id":110616,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:32] local.INFO: Acknowledgment sent {"connection_id":110616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:34] local.INFO: TCP Data received {"connection_id":110615,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:19:34] local.INFO: Processing buffer {"connection_id":110615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:19:34] local.INFO: Packet analysis {"connection_id":110615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:34] local.INFO: Extracted packet for processing {"connection_id":110615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19: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-06-23 09:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:19: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-06-23 09: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-06-23 09:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:19: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-06-23 09:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"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-06-23 09:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:19:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":110615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:34] local.INFO: GPS data processed {"connection_id":110615,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:34] local.INFO: Acknowledgment sent {"connection_id":110615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:42] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:42] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:42] local.INFO: IMEI packet received {"connection_id":110617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":110617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:19:46] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:46] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:46] local.INFO: IMEI packet received {"connection_id":110617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":110617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:19:47] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:47] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:19:47] local.INFO: IMEI packet received {"connection_id":110617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":110617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:19:48] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d181e400721b0c8004c00d229..."} 
[2026-06-23 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d181e400721b0c8004c00d229..."} 
[2026-06-23 09:19:48] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d181e400721b0c8004c00d229..."} 
[2026-06-23 09:19:48] local.INFO: Packet analysis {"connection_id":110617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:48] local.INFO: Extracted packet for processing {"connection_id":110617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734784001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 09:19: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-06-23 09: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-06-23 09:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734784001,"66":12613,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734784001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734784001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":110617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:48] local.INFO: GPS data processed {"connection_id":110617,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:48] local.INFO: Acknowledgment sent {"connection_id":110617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:19:52] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef298ed28012d09b7c007052b10000e00ba21..."} 
[2026-06-23 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef298ed28012d09b7c007052b10000e00ba21..."} 
[2026-06-23 09:19:52] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef298ed28012d09b7c007052b10000e00ba21..."} 
[2026-06-23 09:19:52] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:19:52] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":755611584,"raw_latitude":117779216,"longitude_deg":75.5611584,"latitude_deg":11.7779216,"altitude":14,"angle":186,"satellites":33,"speed":10,"hex_longitude":"2d09b7c0","hex_latitude":"07052b10","is_valid_coordinates":true} 
[2026-06-23 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239758336001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21821556304904192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702561572023261184,"note":"Value kept but may cause issues"} 
[2026-06-23 09:19:52] 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-06-23 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782186569000,"timestamp_ms":1782186569000,"timestamp_seconds":1782186569,"priority":1,"record_length":96,"hex_timestamp":"0000019ef298ed28"} 
[2026-06-23 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:19: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-06-23 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:19:52] 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-06-23 09:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239758336001,"66":14580,"177":206,"94":10240,"24":10,"16":21821556304904192,"45":702561572023261184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239758336001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21821556304904192,"km_value":21821556304904.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":702561572023261184,"description":"Unknown IO ID 45"} 
[2026-06-23 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239758336001,"power":14580,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":702561572023261184}} 
[2026-06-23 09:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369895,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:19:53] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:19:53] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:02] local.INFO: TCP Data received {"connection_id":111405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:02] local.INFO: Processing buffer {"connection_id":111405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:02] local.INFO: IMEI packet received {"connection_id":111405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":111405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:20:03] local.INFO: TCP Data received {"connection_id":110616,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2963da8012cb29f0007824358004901502b..."} 
[2026-06-23 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2963da8012cb29f0007824358004901502b..."} 
[2026-06-23 09:20:03] local.INFO: Processing buffer {"connection_id":110616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2963da8012cb29f0007824358004901502b..."} 
[2026-06-23 09:20:03] local.INFO: Packet analysis {"connection_id":110616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:20:03] local.INFO: Extracted packet for processing {"connection_id":110616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:20:03] local.INFO: GPS Element Parsed {"raw_longitude":749903616,"raw_latitude":125977432,"longitude_deg":74.9903616,"latitude_deg":12.5977432,"altitude":73,"angle":336,"satellites":43,"speed":0,"hex_longitude":"2cb29f00","hex_latitude":"07824358","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239711232001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289765926207488,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411168256,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186393000,"timestamp_ms":1782186393000,"timestamp_seconds":1782186393,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2963da8"} 
[2026-06-23 09:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20:03] 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-06-23 09: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:03] 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-06-23 09: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-06-23 09:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239711232001,"66":27745,"126":206,"27":54016,"24":0,"16":321289765926207488,"44":-5575737781411168256},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239711232001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289765926207488,"km_value":321289765926207.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411168256,"description":"Unknown IO ID 44"} 
[2026-06-23 09:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239711232001,"power":27745,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575737781411168256}} 
[2026-06-23 09:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":110616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:03] local.INFO: GPS data processed {"connection_id":110616,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:03] local.INFO: Acknowledgment sent {"connection_id":110616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:07] local.INFO: TCP Data received {"connection_id":111405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:07] local.INFO: Processing buffer {"connection_id":111405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:07] local.INFO: IMEI packet received {"connection_id":111405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":111405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:20:08] local.INFO: TCP Data received {"connection_id":111405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:20:08] local.INFO: Processing buffer {"connection_id":111405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:20:08] local.INFO: Packet analysis {"connection_id":111405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:20:08] local.INFO: Extracted packet for processing {"connection_id":111405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:08] 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-06-23 09:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:08] 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-06-23 09: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-06-23 09:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:20:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":111405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:08] local.INFO: GPS data processed {"connection_id":111405,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:08] local.INFO: Acknowledgment sent {"connection_id":111405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:12] local.INFO: TCP Data received {"connection_id":111405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:20:12] local.INFO: Processing buffer {"connection_id":111405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:20:12] local.INFO: Packet analysis {"connection_id":111405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:20:12] local.INFO: Extracted packet for processing {"connection_id":111405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:12] 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-06-23 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:12] 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-06-23 09:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":111405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":111405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":111405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":111405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:12] local.INFO: GPS data processed {"connection_id":111405,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:12] local.INFO: Acknowledgment sent {"connection_id":111405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:16] local.INFO: TCP Data received {"connection_id":112346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:20:16] local.INFO: Processing buffer {"connection_id":112346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:20:16] local.INFO: IMEI packet received {"connection_id":112346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":112346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:20:19] local.INFO: TCP Data received {"connection_id":110617,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297f710012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297f710012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:20:19] local.INFO: Processing buffer {"connection_id":110617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297f710012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:20:19] local.INFO: Packet analysis {"connection_id":110617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:20:19] local.INFO: Extracted packet for processing {"connection_id":110617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782186506000,"timestamp_ms":1782186506000,"timestamp_seconds":1782186506,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297f710"} 
[2026-06-23 09:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":12667,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":110617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:19] local.INFO: GPS data processed {"connection_id":110617,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:19] local.INFO: Acknowledgment sent {"connection_id":110617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:21] local.INFO: TCP Data received {"connection_id":112346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112346,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:20:21] local.INFO: Processing buffer {"connection_id":112346,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:20:21] local.INFO: IMEI packet received {"connection_id":112346,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":112346,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:20:22] local.INFO: TCP Data received {"connection_id":112346,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2991c08012d09b94007052fa8000e000c22..."} 
[2026-06-23 09:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2991c08012d09b94007052fa8000e000c22..."} 
[2026-06-23 09:20:22] local.INFO: Processing buffer {"connection_id":112346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2991c08012d09b94007052fa8000e000c22..."} 
[2026-06-23 09:20:22] local.INFO: Packet analysis {"connection_id":112346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:20:22] local.INFO: Extracted packet for processing {"connection_id":112346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:20:22] local.INFO: GPS Element Parsed {"raw_longitude":755611968,"raw_latitude":117780392,"longitude_deg":75.5611968,"latitude_deg":11.7780392,"altitude":14,"angle":12,"satellites":34,"speed":4,"hex_longitude":"2d09b940","hex_latitude":"07052fa8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21821629319348224,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":700239403463413760,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:22] 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-06-23 09:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186581000,"timestamp_ms":1782186581000,"timestamp_seconds":1782186581,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2991c08"} 
[2026-06-23 09:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20: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-06-23 09: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:22] 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-06-23 09: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-06-23 09:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239761664001,"66":14515,"177":206,"94":10240,"24":4,"16":21821629319348224,"45":700239403463413760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:20:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21821629319348224,"km_value":21821629319348.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":700239403463413760,"description":"Unknown IO ID 45"} 
[2026-06-23 09:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239761664001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":700239403463413760}} 
[2026-06-23 09:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":112346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369900,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:22] local.INFO: GPS data processed {"connection_id":112346,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:22] local.INFO: Acknowledgment sent {"connection_id":112346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:30] local.INFO: TCP Data received {"connection_id":110618,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:20:30] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:20:30] local.INFO: IMEI packet received {"connection_id":110618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":110618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:20:35] local.INFO: TCP Data received {"connection_id":110618,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:20:35] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:20:35] local.INFO: IMEI packet received {"connection_id":110618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":110618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:20:36] local.INFO: TCP Data received {"connection_id":110618,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2965900012cb29e80078241b0004a00cf2b..."} 
[2026-06-23 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2965900012cb29e80078241b0004a00cf2b..."} 
[2026-06-23 09:20:36] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2965900012cb29e80078241b0004a00cf2b..."} 
[2026-06-23 09:20:36] local.INFO: Packet analysis {"connection_id":110618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:20:36] local.INFO: Extracted packet for processing {"connection_id":110618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125977008,"longitude_deg":74.9903488,"latitude_deg":12.5977008,"altitude":74,"angle":207,"satellites":43,"speed":2,"hex_longitude":"2cb29e80","hex_latitude":"078241b0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239716608001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289787401043968,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411162112,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782186400000,"timestamp_ms":1782186400000,"timestamp_seconds":1782186400,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2965900"} 
[2026-06-23 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20: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-06-23 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:36] 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-06-23 09: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-06-23 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239716608001,"66":27919,"126":206,"27":54016,"24":2,"16":321289787401043968,"44":-5575737781411162112},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239716608001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289787401043968,"km_value":321289787401043.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411162112,"description":"Unknown IO ID 44"} 
[2026-06-23 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239716608001,"power":27919,"unknown_126":206,"unknown_27":54016,"ignition":2,"odometer":null,"unknown_44":-5575737781411162112}} 
[2026-06-23 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":110618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:36] local.INFO: GPS data processed {"connection_id":110618,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:36] local.INFO: Acknowledgment sent {"connection_id":110618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:40] local.INFO: TCP Data received {"connection_id":110618,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef296ab08012cb29e8007824168004a00cf28..."} 
[2026-06-23 09:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef296ab08012cb29e8007824168004a00cf28..."} 
[2026-06-23 09:20:40] local.INFO: Processing buffer {"connection_id":110618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef296ab08012cb29e8007824168004a00cf28..."} 
[2026-06-23 09:20:40] local.INFO: Packet analysis {"connection_id":110618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:20:40] local.INFO: Extracted packet for processing {"connection_id":110618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239718400001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899625984,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782186421000,"timestamp_ms":1782186421000,"timestamp_seconds":1782186421,"priority":1,"record_length":96,"hex_timestamp":"0000019ef296ab08"} 
[2026-06-23 09:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20: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-06-23 09:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:40] 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-06-23 09:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239718400001,"66":27887,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899625984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239718400001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:20:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899625984,"description":"Unknown IO ID 44"} 
[2026-06-23 09:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239718400001,"power":27887,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899625984}} 
[2026-06-23 09:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":110618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:40] local.INFO: GPS data processed {"connection_id":110618,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:40] local.INFO: Acknowledgment sent {"connection_id":110618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:42] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:20:42] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:20:42] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:20:48] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:20:48] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:20:48] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:20:49] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2984918012d181e400721b0c8004c00d22b..."} 
[2026-06-23 09:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2984918012d181e400721b0c8004c00d22b..."} 
[2026-06-23 09:20:49] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2984918012d181e400721b0c8004c00d22b..."} 
[2026-06-23 09:20:49] local.INFO: Packet analysis {"connection_id":110782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:20:49] local.INFO: Extracted packet for processing {"connection_id":110782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239745536001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782186527000,"timestamp_ms":1782186527000,"timestamp_seconds":1782186527,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2984918"} 
[2026-06-23 09:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239745536001,"66":12667,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239745536001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239745536001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":110782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:49] local.INFO: GPS data processed {"connection_id":110782,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:49] local.INFO: Acknowledgment sent {"connection_id":110782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:53] local.INFO: TCP Data received {"connection_id":112346,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29a1dd8012d09c68007050340000d009822..."} 
[2026-06-23 09:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29a1dd8012d09c68007050340000d009822..."} 
[2026-06-23 09:20:53] local.INFO: Processing buffer {"connection_id":112346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29a1dd8012d09c68007050340000d009822..."} 
[2026-06-23 09:20:53] local.INFO: Packet analysis {"connection_id":112346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:20:53] local.INFO: Extracted packet for processing {"connection_id":112346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:20:53] local.INFO: GPS Element Parsed {"raw_longitude":755615360,"raw_latitude":117769024,"longitude_deg":75.561536,"latitude_deg":11.7769024,"altitude":13,"angle":152,"satellites":34,"speed":6,"hex_longitude":"2d09c680","hex_latitude":"07050340","is_valid_coordinates":true} 
[2026-06-23 09:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239781376001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21822492607774720,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704320790623139840,"note":"Value kept but may cause issues"} 
[2026-06-23 09:20:53] 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-06-23 09:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186647000,"timestamp_ms":1782186647000,"timestamp_seconds":1782186647,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29a1dd8"} 
[2026-06-23 09:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:20: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-06-23 09:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-23 09:20:53] 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-06-23 09:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112346,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239781376001,"66":14048,"177":206,"94":10240,"24":6,"16":21822492607774720,"45":704320790623139840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239781376001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21822492607774720,"km_value":21822492607774.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":704320790623139840,"description":"Unknown IO ID 45"} 
[2026-06-23 09:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239781376001,"power":14048,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":704320790623139840}} 
[2026-06-23 09:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":112346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:20:53] local.INFO: GPS data processed {"connection_id":112346,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:20:53] local.INFO: Acknowledgment sent {"connection_id":112346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:20:57] local.INFO: TCP Data received {"connection_id":110783,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:57] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:20:57] local.INFO: IMEI packet received {"connection_id":110783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":110783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:21:02] local.INFO: TCP Data received {"connection_id":110783,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:21:02] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:21:02] local.INFO: IMEI packet received {"connection_id":110783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":110783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:21:03] local.INFO: TCP Data received {"connection_id":110783,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:21:03] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:21:03] local.INFO: Packet analysis {"connection_id":110783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:21:03] local.INFO: Extracted packet for processing {"connection_id":110783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:03] 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-06-23 09:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 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-06-23 09:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:03] 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-06-23 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-06-23 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-06-23 09:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":110783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:03] local.INFO: GPS data processed {"connection_id":110783,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:03] local.INFO: Acknowledgment sent {"connection_id":110783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:16] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:21:16] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:21:16] local.INFO: IMEI packet received {"connection_id":110620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":110620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:21:20] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2989b20012d181e400721b0c8004c00d228..."} 
[2026-06-23 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2989b20012d181e400721b0c8004c00d228..."} 
[2026-06-23 09:21:20] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2989b20012d181e400721b0c8004c00d228..."} 
[2026-06-23 09:21:20] local.INFO: Packet analysis {"connection_id":110782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:21:20] local.INFO: Extracted packet for processing {"connection_id":110782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239750912001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186548000,"timestamp_ms":1782186548000,"timestamp_seconds":1782186548,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2989b20"} 
[2026-06-23 09:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239750912001,"66":12602,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239750912001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239750912001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":110782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:20] local.INFO: GPS data processed {"connection_id":110782,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:20] local.INFO: Acknowledgment sent {"connection_id":110782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:21] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:21:21] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:21:21] local.INFO: IMEI packet received {"connection_id":110620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":110620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:21:22] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29a21c0012d09c70007050288000d00a922..."} 
[2026-06-23 09:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29a21c0012d09c70007050288000d00a922..."} 
[2026-06-23 09:21:22] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29a21c0012d09c70007050288000d00a922..."} 
[2026-06-23 09:21:22] local.INFO: Packet analysis {"connection_id":110620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:21:22] local.INFO: Extracted packet for processing {"connection_id":110620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755615488,"raw_latitude":117768840,"longitude_deg":75.5615488,"latitude_deg":11.776884,"altitude":13,"angle":169,"satellites":34,"speed":7,"hex_longitude":"2d09c700","hex_latitude":"07050288","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239781632001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21822505492676608,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704391159367286784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:22] 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-06-23 09:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186648000,"timestamp_ms":1782186648000,"timestamp_seconds":1782186648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29a21c0"} 
[2026-06-23 09:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21: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-06-23 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239781632001,"66":14309,"177":206,"94":10240,"24":7,"16":21822505492676608,"45":704391159367286784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239781632001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21822505492676608,"km_value":21822505492676.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":704391159367286784,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239781632001,"power":14309,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":704391159367286784}} 
[2026-06-23 09:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":110620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:22] local.INFO: GPS data processed {"connection_id":110620,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:22] local.INFO: Acknowledgment sent {"connection_id":110620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:25] local.INFO: TCP Data received {"connection_id":111406,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:21:25] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:21:25] local.INFO: IMEI packet received {"connection_id":111406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":111406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:21:29] local.INFO: TCP Data received {"connection_id":111406,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:21:29] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:21:29] local.INFO: IMEI packet received {"connection_id":111406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":111406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:21:31] local.INFO: TCP Data received {"connection_id":111406,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef296fd10012cb29e8007824168004a00cf28..."} 
[2026-06-23 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef296fd10012cb29e8007824168004a00cf28..."} 
[2026-06-23 09:21:31] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef296fd10012cb29e8007824168004a00cf28..."} 
[2026-06-23 09:21:31] local.INFO: Packet analysis {"connection_id":111406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:21:31] local.INFO: Extracted packet for processing {"connection_id":111406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef296"} 
[2026-06-23 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239723776001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186442000,"timestamp_ms":1782186442000,"timestamp_seconds":1782186442,"priority":1,"record_length":96,"hex_timestamp":"0000019ef296fd10"} 
[2026-06-23 09:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21:31] 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-06-23 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:31] 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-06-23 09: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-06-23 09:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239723776001,"66":27767,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239723776001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:21:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239723776001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":111406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:31] local.INFO: GPS data processed {"connection_id":111406,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:31] local.INFO: Acknowledgment sent {"connection_id":111406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:35] local.INFO: TCP Data received {"connection_id":110783,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:21:35] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:21:35] local.INFO: Packet analysis {"connection_id":110783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:21:35] local.INFO: Extracted packet for processing {"connection_id":110783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:21:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:35] 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-06-23 09:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 09:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:21: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-06-23 09:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:21:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":110783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:35] local.INFO: GPS data processed {"connection_id":110783,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:35] local.INFO: Acknowledgment sent {"connection_id":110783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:48] local.INFO: TCP Data received {"connection_id":110621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:21:48] local.INFO: Processing buffer {"connection_id":110621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:21:48] local.INFO: IMEI packet received {"connection_id":110621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":110621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:21:52] local.INFO: TCP Data received {"connection_id":110621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:21:52] local.INFO: Processing buffer {"connection_id":110621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:21:52] local.INFO: IMEI packet received {"connection_id":110621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":110621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:21:53] local.INFO: TCP Data received {"connection_id":110621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef298ed28012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef298ed28012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:21:53] local.INFO: Processing buffer {"connection_id":110621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef298ed28012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:21:53] local.INFO: Packet analysis {"connection_id":110621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:21:53] local.INFO: Extracted packet for processing {"connection_id":110621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef298"} 
[2026-06-23 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239756288001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186569000,"timestamp_ms":1782186569000,"timestamp_seconds":1782186569,"priority":1,"record_length":96,"hex_timestamp":"0000019ef298ed28"} 
[2026-06-23 09:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21:53] 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-06-23 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239756288001,"66":12645,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239756288001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239756288001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":110621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:53] local.INFO: GPS data processed {"connection_id":110621,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:53] local.INFO: Acknowledgment sent {"connection_id":110621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:53] local.INFO: TCP Data received {"connection_id":110620,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29af4b0012d09f4000704df280018002e22..."} 
[2026-06-23 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29af4b0012d09f4000704df280018002e22..."} 
[2026-06-23 09:21:53] local.INFO: Processing buffer {"connection_id":110620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29af4b0012d09f4000704df280018002e22..."} 
[2026-06-23 09:21:53] local.INFO: Packet analysis {"connection_id":110620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:21:53] local.INFO: Extracted packet for processing {"connection_id":110620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":755627008,"raw_latitude":117759784,"longitude_deg":75.5627008,"latitude_deg":11.7759784,"altitude":24,"angle":46,"satellites":34,"speed":23,"hex_longitude":"2d09f400","hex_latitude":"0704df28","is_valid_coordinates":true} 
[2026-06-23 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239795456001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21823776802996224,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716635320851738624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] 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-06-23 09:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186702000,"timestamp_ms":1782186702000,"timestamp_seconds":1782186702,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29af4b0"} 
[2026-06-23 09:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21: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-06-23 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:53] 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-06-23 09:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239795456001,"66":14450,"177":206,"94":10240,"24":23,"16":21823776802996224,"45":716635320851738624},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239795456001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21823776802996224,"km_value":21823776802996.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":716635320851738624,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239795456001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":716635320851738624}} 
[2026-06-23 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":110620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:53] local.INFO: GPS data processed {"connection_id":110620,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:53] local.INFO: Acknowledgment sent {"connection_id":110620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:53] local.INFO: TCP Data received {"connection_id":110621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2993f30012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2993f30012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:21:53] local.INFO: Processing buffer {"connection_id":110621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2993f30012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:21:53] local.INFO: Packet analysis {"connection_id":110621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:21:53] local.INFO: Extracted packet for processing {"connection_id":110621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239761664001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782186590000,"timestamp_ms":1782186590000,"timestamp_seconds":1782186590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2993f30"} 
[2026-06-23 09:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:21:53] 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-06-23 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 09:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239761664001,"66":12591,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239761664001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239761664001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":110621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:21:53] local.INFO: GPS data processed {"connection_id":110621,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:21:53] local.INFO: Acknowledgment sent {"connection_id":110621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:21:58] local.INFO: TCP Data received {"connection_id":111407,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:21:58] local.INFO: Processing buffer {"connection_id":111407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:21:58] local.INFO: IMEI packet received {"connection_id":111407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":111407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:22:02] local.INFO: TCP Data received {"connection_id":111407,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:22:02] local.INFO: Processing buffer {"connection_id":111407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:22:02] local.INFO: IMEI packet received {"connection_id":111407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":111407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:22:02] local.INFO: TCP Data received {"connection_id":111407,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:22:03] local.INFO: Processing buffer {"connection_id":111407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:22:03] local.INFO: Packet analysis {"connection_id":111407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:03] local.INFO: Extracted packet for processing {"connection_id":111407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:03] 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-06-23 09:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 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-06-23 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:22:03] 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-06-23 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-06-23 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-06-23 09:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:22:03] 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-06-23 09:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":111407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:22:03] local.INFO: GPS data processed {"connection_id":111407,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:22:03] local.INFO: Acknowledgment sent {"connection_id":111407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:22:03] local.INFO: TCP Data received {"connection_id":111406,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:22:03] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:22:03] local.INFO: Packet analysis {"connection_id":111406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:03] local.INFO: Extracted packet for processing {"connection_id":111406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239729152001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186463000,"timestamp_ms":1782186463000,"timestamp_seconds":1782186463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2974f18"} 
[2026-06-23 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-06-23 09:22:03] 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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 09:22:03] 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-06-23 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-06-23 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-06-23 09:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239729152001,"66":27995,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239729152001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239729152001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":111406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:22:03] local.INFO: GPS data processed {"connection_id":111406,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:22:03] local.INFO: Acknowledgment sent {"connection_id":111406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:22:24] local.INFO: TCP Data received {"connection_id":110621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2999138012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2999138012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:22:24] local.INFO: Processing buffer {"connection_id":110621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2999138012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:22:24] local.INFO: Packet analysis {"connection_id":110621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:22:24] local.INFO: Extracted packet for processing {"connection_id":110621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239767040001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782186611000,"timestamp_ms":1782186611000,"timestamp_seconds":1782186611,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2999138"} 
[2026-06-23 09:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09: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-06-23 09: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-06-23 09:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239767040001,"66":12591,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239767040001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239767040001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":110621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:22:24] local.INFO: GPS data processed {"connection_id":110621,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:22:24] local.INFO: Acknowledgment sent {"connection_id":110621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:22:25] local.INFO: TCP Data received {"connection_id":112347,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:22:25] local.INFO: Processing buffer {"connection_id":112347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:22:25] local.INFO: IMEI packet received {"connection_id":112347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":112347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:22:30] local.INFO: TCP Data received {"connection_id":112347,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:22:30] local.INFO: Processing buffer {"connection_id":112347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:22:30] local.INFO: IMEI packet received {"connection_id":112347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":112347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:22:31] local.INFO: TCP Data received {"connection_id":112347,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:22:31] local.INFO: Processing buffer {"connection_id":112347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:22:31] local.INFO: Packet analysis {"connection_id":112347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:31] local.INFO: Extracted packet for processing {"connection_id":112347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186463000,"timestamp_ms":1782186463000,"timestamp_seconds":1782186463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2974f18"} 
[2026-06-23 09:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:22:31] 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-06-23 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:22:31] 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-06-23 09:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":27995,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:22:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:22:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":112347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:22:31] local.INFO: GPS data processed {"connection_id":112347,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:22:31] local.INFO: Acknowledgment sent {"connection_id":112347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:22:34] local.INFO: TCP Data received {"connection_id":111407,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:22:34] local.INFO: Processing buffer {"connection_id":111407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:22:34] local.INFO: Packet analysis {"connection_id":111407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:34] local.INFO: Extracted packet for processing {"connection_id":111407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:22:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22: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-06-23 09:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 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-06-23 09:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:22: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-06-23 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-06-23 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-06-23 09:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:22:34] 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-06-23 09:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:22:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:22:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":111407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:22:34] local.INFO: GPS data processed {"connection_id":111407,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:22:34] local.INFO: Acknowledgment sent {"connection_id":111407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:22:43] local.INFO: TCP Data received {"connection_id":111408,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:22:43] local.INFO: Processing buffer {"connection_id":111408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:22:43] local.INFO: IMEI packet received {"connection_id":111408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":111408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:22:48] local.INFO: TCP Data received {"connection_id":111408,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:22:48] local.INFO: Processing buffer {"connection_id":111408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:22:48] local.INFO: IMEI packet received {"connection_id":111408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":111408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:22:48] local.INFO: TCP Data received {"connection_id":111408,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef299e340012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef299e340012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:22:48] local.INFO: Processing buffer {"connection_id":111408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef299e340012d181e400721b0c8004c00d22a..."} 
[2026-06-23 09:22:48] local.INFO: Packet analysis {"connection_id":111408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:22:48] local.INFO: Extracted packet for processing {"connection_id":111408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef299"} 
[2026-06-23 09:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239772416001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186632000,"timestamp_ms":1782186632000,"timestamp_seconds":1782186632,"priority":1,"record_length":96,"hex_timestamp":"0000019ef299e340"} 
[2026-06-23 09:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:22:48] 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-06-23 09:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 09:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239772416001,"66":12580,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239772416001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:22:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239772416001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":111408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:22:49] local.INFO: GPS data processed {"connection_id":111408,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:22:49] local.INFO: Acknowledgment sent {"connection_id":111408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:22:57] local.INFO: TCP Data received {"connection_id":110784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:22:57] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:22:57] local.INFO: IMEI packet received {"connection_id":110784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":110784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:23:02] local.INFO: TCP Data received {"connection_id":110784,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:23:02] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:23:02] local.INFO: IMEI packet received {"connection_id":110784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":110784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:03] local.INFO: TCP Data received {"connection_id":110784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:23:03] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef297a508012d7ceb0005ec3c080005004b2c..."} 
[2026-06-23 09:23:03] local.INFO: Packet analysis {"connection_id":110784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:23:03] local.INFO: Extracted packet for processing {"connection_id":110784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":44,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239670528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411900805120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:03] 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-06-23 09:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186485000,"timestamp_ms":1782186485000,"timestamp_seconds":1782186485,"priority":1,"record_length":96,"hex_timestamp":"0000019ef297a508"} 
[2026-06-23 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-06-23 09:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 09:23:03] 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-06-23 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-06-23 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-06-23 09:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:23:03] 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-06-23 09:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239670528001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001499411900805120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239670528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:23:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:23:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411900805120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239670528001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001499411900805120}} 
[2026-06-23 09:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":110784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:23:03] local.INFO: GPS data processed {"connection_id":110784,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:23:03] local.INFO: Acknowledgment sent {"connection_id":110784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:23:04] local.INFO: TCP Data received {"connection_id":112347,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:23:04] local.INFO: Processing buffer {"connection_id":112347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2974f18012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:23:04] local.INFO: Packet analysis {"connection_id":112347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:23:04] local.INFO: Extracted packet for processing {"connection_id":112347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef297"} 
[2026-06-23 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:23: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-06-23 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782186463000,"timestamp_ms":1782186463000,"timestamp_seconds":1782186463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2974f18"} 
[2026-06-23 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:23:04] 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-06-23 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:23:04] 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-06-23 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":27995,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:23:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:23:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":27995,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":112347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:23:04] local.INFO: GPS data processed {"connection_id":112347,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:23:04] local.INFO: Acknowledgment sent {"connection_id":112347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:23:20] local.INFO: TCP Data received {"connection_id":111408,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29a3548012d181e400721b0c8004c00d22b..."} 
[2026-06-23 09:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29a3548012d181e400721b0c8004c00d22b..."} 
[2026-06-23 09:23:20] local.INFO: Processing buffer {"connection_id":111408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29a3548012d181e400721b0c8004c00d22b..."} 
[2026-06-23 09:23:20] local.INFO: Packet analysis {"connection_id":111408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:23:20] local.INFO: Extracted packet for processing {"connection_id":111408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239777792001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186653000,"timestamp_ms":1782186653000,"timestamp_seconds":1782186653,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29a3548"} 
[2026-06-23 09:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-23 09:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239777792001,"66":12558,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239777792001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:23:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239777792001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":111408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:23:20] local.INFO: GPS data processed {"connection_id":111408,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:23:20] local.INFO: Acknowledgment sent {"connection_id":111408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:23:24] local.INFO: TCP Data received {"connection_id":112348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:24] local.INFO: Processing buffer {"connection_id":112348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:24] local.INFO: IMEI packet received {"connection_id":112348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":112348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:23:24] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:24] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:24] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:23:25] local.INFO: TCP Data received {"connection_id":112348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:25] local.INFO: Processing buffer {"connection_id":112348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:25] local.INFO: IMEI packet received {"connection_id":112348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":112348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:25] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:25] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:25] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:26] local.INFO: TCP Data received {"connection_id":112348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:26] local.INFO: Processing buffer {"connection_id":112348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:26] local.INFO: IMEI packet received {"connection_id":112348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":112348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:26] local.INFO: TCP Data received {"connection_id":112348,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:26] local.INFO: Processing buffer {"connection_id":112348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:23:26] local.INFO: IMEI packet received {"connection_id":112348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":112348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:29] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:29] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:23:29] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:31] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:23:31] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:23:31] local.INFO: Packet analysis {"connection_id":110785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:23:31] local.INFO: Extracted packet for processing {"connection_id":110785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:23:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186767000,"timestamp_ms":1782186767000,"timestamp_seconds":1782186767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29bf298"} 
[2026-06-23 09:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:23:31] 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-06-23 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:23:31] 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-06-23 09: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-06-23 09:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":26278,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:23:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:23:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":26278,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":110785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:23:31] local.INFO: GPS data processed {"connection_id":110785,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:23:31] local.INFO: Acknowledgment sent {"connection_id":110785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:23:34] local.INFO: TCP Data received {"connection_id":110784,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:23:34] local.INFO: Processing buffer {"connection_id":110784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:23:34] local.INFO: Packet analysis {"connection_id":110784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:23:34] local.INFO: Extracted packet for processing {"connection_id":110784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:23:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23: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-06-23 09:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:23: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-06-23 09: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-06-23 09:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:23:34] 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-06-23 09:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:23:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:23:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":110784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:23:34] local.INFO: GPS data processed {"connection_id":110784,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:23:34] local.INFO: Acknowledgment sent {"connection_id":110784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:23:43] local.INFO: TCP Data received {"connection_id":110624,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:23:43] local.INFO: Processing buffer {"connection_id":110624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:23:43] local.INFO: IMEI packet received {"connection_id":110624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":110624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:23:45] local.INFO: TCP Data received {"connection_id":110624,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:23:45] local.INFO: Processing buffer {"connection_id":110624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:23:45] local.INFO: IMEI packet received {"connection_id":110624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":110624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:23:46] local.INFO: TCP Data received {"connection_id":110624,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29a8750012d181e400721b0c8004c00d22c..."} 
[2026-06-23 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29a8750012d181e400721b0c8004c00d22c..."} 
[2026-06-23 09:23:46] local.INFO: Processing buffer {"connection_id":110624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29a8750012d181e400721b0c8004c00d22c..."} 
[2026-06-23 09:23:46] local.INFO: Packet analysis {"connection_id":110624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:23:46] local.INFO: Extracted packet for processing {"connection_id":110624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29a"} 
[2026-06-23 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648456,"longitude_deg":75.6555328,"latitude_deg":11.9648456,"altitude":76,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-06-23 09:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239783168001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3931986724913152,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585772544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782186674000,"timestamp_ms":1782186674000,"timestamp_seconds":1782186674,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29a8750"} 
[2026-06-23 09:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:23:46] 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-06-23 09:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4070066456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380391494201544,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2565679105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2965897292,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-23 09:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4980946,"corrected_to":0} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4162781184,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 09:23:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,248,158,227,45,64,176,76,42,10,66,145,63,1,240,47,242,33,4,113,205,155,30,200,40,239,49,2,13,7,106,56,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":4980946,"validated":0}]} 
[2026-06-23 09:23:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476608229007949824,"timestamp_seconds":5476608229007950.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239783168001,"66":12558,"105":206,"83":41984,"24":0,"16":3931986724913152,"45":1737896905585772544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 09:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239783168001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:23:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 09:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3931986724913152,"km_value":3931986724913.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585772544,"description":"Unknown IO ID 45"} 
[2026-06-23 09:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239783168001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585772544}} 
[2026-06-23 09:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":110624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:23:46] local.INFO: GPS data processed {"connection_id":110624,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:23:46] local.INFO: Acknowledgment sent {"connection_id":110624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:23:56] local.INFO: TCP Data received {"connection_id":110625,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:23:56] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:23:56] local.INFO: IMEI packet received {"connection_id":110625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":110625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:24:02] local.INFO: TCP Data received {"connection_id":110625,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:24:02] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:24:02] local.INFO: IMEI packet received {"connection_id":110625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":110625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:24:03] local.INFO: TCP Data received {"connection_id":110625,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:24:03] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:24:03] local.INFO: Packet analysis {"connection_id":110625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:03] local.INFO: Extracted packet for processing {"connection_id":110625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:03] 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-06-23 09:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:24:03] 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-06-23 09: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-06-23 09:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:24:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:24:03] local.INFO: GPS data processed {"connection_id":110625,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:24:03] local.INFO: Acknowledgment sent {"connection_id":110625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:24:04] local.INFO: TCP Data received {"connection_id":110785,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:24:04] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:24:04] local.INFO: Packet analysis {"connection_id":110785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:24:04] local.INFO: Extracted packet for processing {"connection_id":110785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:24:04] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782186767000,"timestamp_ms":1782186767000,"timestamp_seconds":1782186767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29bf298"} 
[2026-06-23 09:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:24:04] 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-06-23 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:24:04] 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-06-23 09: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-06-23 09:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":26278,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:24:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:24:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:24:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":26278,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":110785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:24:04] local.INFO: GPS data processed {"connection_id":110785,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:24:04] local.INFO: Acknowledgment sent {"connection_id":110785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:24:20] local.INFO: TCP Data received {"connection_id":110624,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c8ed8012d186e80072181e0004e005626..."} 
[2026-06-23 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c8ed8012d186e80072181e0004e005626..."} 
[2026-06-23 09:24:20] local.INFO: Processing buffer {"connection_id":110624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c8ed8012d186e80072181e0004e005626..."} 
[2026-06-23 09:24:20] local.INFO: Packet analysis {"connection_id":110624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:20] local.INFO: Extracted packet for processing {"connection_id":110624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756575872,"raw_latitude":119636448,"longitude_deg":75.6575872,"latitude_deg":11.9636448,"altitude":78,"angle":86,"satellites":38,"speed":37,"hex_longitude":"2d186e80","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-06-23 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239822080001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3933185020788736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758374210138413056,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782186807000,"timestamp_ms":1782186807000,"timestamp_seconds":1782186807,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c8ed8"} 
[2026-06-23 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:24:20] 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-06-23 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239822080001,"66":14363,"106":206,"83":41984,"24":37,"16":3933185020788736,"45":1758374210138413056},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239822080001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:24:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3933185020788736,"km_value":3933185020788.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758374210138413056,"description":"Unknown IO ID 45"} 
[2026-06-23 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239822080001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1758374210138413056}} 
[2026-06-23 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":110624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:24:20] local.INFO: GPS data processed {"connection_id":110624,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:24:20] local.INFO: Acknowledgment sent {"connection_id":110624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:24:25] local.INFO: TCP Data received {"connection_id":110786,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:24:25] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:24:25] local.INFO: IMEI packet received {"connection_id":110786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:24:29] local.INFO: TCP Data received {"connection_id":110786,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:24:29] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:24:29] local.INFO: IMEI packet received {"connection_id":110786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":110786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:24:31] local.INFO: TCP Data received {"connection_id":110786,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:24:31] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:24:31] local.INFO: Packet analysis {"connection_id":110786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:24:31] local.INFO: Extracted packet for processing {"connection_id":110786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186767000,"timestamp_ms":1782186767000,"timestamp_seconds":1782186767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29bf298"} 
[2026-06-23 09:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:24:31] 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-06-23 09:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:24:31] 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-06-23 09:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":26278,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:24:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":26278,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":110786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:24:31] local.INFO: GPS data processed {"connection_id":110786,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:24:31] local.INFO: Acknowledgment sent {"connection_id":110786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:24:32] local.INFO: TCP Data received {"connection_id":111409,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:24:32] local.INFO: Processing buffer {"connection_id":111409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:24:32] local.INFO: IMEI packet received {"connection_id":111409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":111409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:24:35] local.INFO: TCP Data received {"connection_id":110625,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:24:35] local.INFO: Processing buffer {"connection_id":110625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:24:35] local.INFO: Packet analysis {"connection_id":110625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:35] local.INFO: Extracted packet for processing {"connection_id":110625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:35] 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-06-23 09:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:24: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-06-23 09:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:24:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":110625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:24:35] local.INFO: GPS data processed {"connection_id":110625,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:24:35] local.INFO: Acknowledgment sent {"connection_id":110625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:24:43] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:43] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:43] local.INFO: IMEI packet received {"connection_id":111410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":111410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:24:43] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:43] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:43] local.INFO: IMEI packet received {"connection_id":111410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":111410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:24:46] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:46] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:24:46] local.INFO: IMEI packet received {"connection_id":111410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":111410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:24:47] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29ca648012d18854007218150004e006626..."} 
[2026-06-23 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29ca648012d18854007218150004e006626..."} 
[2026-06-23 09:24:47] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29ca648012d18854007218150004e006626..."} 
[2026-06-23 09:24:47] local.INFO: Packet analysis {"connection_id":111410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:47] local.INFO: Extracted packet for processing {"connection_id":111410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":119636304,"longitude_deg":75.6581696,"latitude_deg":11.9636304,"altitude":78,"angle":102,"satellites":38,"speed":38,"hex_longitude":"2d188540","hex_latitude":"07218150","is_valid_coordinates":true} 
[2026-06-23 09:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239822592001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3933464193662976,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760485272463728640,"note":"Value kept but may cause issues"} 
[2026-06-23 09:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782186813000,"timestamp_ms":1782186813000,"timestamp_seconds":1782186813,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29ca648"} 
[2026-06-23 09:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:24:47] 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-06-23 09:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:24:47] 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-06-23 09:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239822592001,"66":14396,"106":206,"83":41984,"24":38,"16":3933464193662976,"45":1760485272463728640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 09:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239822592001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:24:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 09:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3933464193662976,"km_value":3933464193662.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760485272463728640,"description":"Unknown IO ID 45"} 
[2026-06-23 09:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239822592001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1760485272463728640}} 
[2026-06-23 09:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":111410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:24:47] local.INFO: GPS data processed {"connection_id":111410,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:24:47] local.INFO: Acknowledgment sent {"connection_id":111410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:02] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:02] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:02] local.INFO: IMEI packet received {"connection_id":110626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":110626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:25:03] local.INFO: TCP Data received {"connection_id":110786,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:25:03] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:25:03] local.INFO: Packet analysis {"connection_id":110786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:25:03] local.INFO: Extracted packet for processing {"connection_id":110786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:25:03] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186767000,"timestamp_ms":1782186767000,"timestamp_seconds":1782186767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29bf298"} 
[2026-06-23 09:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:03] 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-06-23 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:25:03] 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-06-23 09: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-06-23 09:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":26278,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:25:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":26278,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":110786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:03] local.INFO: GPS data processed {"connection_id":110786,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:03] local.INFO: Acknowledgment sent {"connection_id":110786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:07] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:07] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:07] local.INFO: IMEI packet received {"connection_id":110626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":110626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:25:07] local.INFO: TCP Data received {"connection_id":111411,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:25:07] local.INFO: Processing buffer {"connection_id":111411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:25:07] local.INFO: IMEI packet received {"connection_id":111411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":111411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:25:08] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:25:08] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:25:08] local.INFO: Packet analysis {"connection_id":110626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:25:08] local.INFO: Extracted packet for processing {"connection_id":110626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:08] 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-06-23 09:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:25:08] 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-06-23 09: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-06-23 09:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:25:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":110626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:08] local.INFO: GPS data processed {"connection_id":110626,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:08] local.INFO: Acknowledgment sent {"connection_id":110626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:12] local.INFO: TCP Data received {"connection_id":110626,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:25:12] local.INFO: Processing buffer {"connection_id":110626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:25:12] local.INFO: Packet analysis {"connection_id":110626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:25:12] local.INFO: Extracted packet for processing {"connection_id":110626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:12] 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-06-23 09:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:25: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-06-23 09:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":110626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:12] local.INFO: GPS data processed {"connection_id":110626,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:12] local.INFO: Acknowledgment sent {"connection_id":110626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:18] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29d88d8012d18fb000720d3b80033008227..."} 
[2026-06-23 09:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29d88d8012d18fb000720d3b80033008227..."} 
[2026-06-23 09:25:18] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29d88d8012d18fb000720d3b80033008227..."} 
[2026-06-23 09:25:18] local.INFO: Packet analysis {"connection_id":111410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:25:18] local.INFO: Extracted packet for processing {"connection_id":111410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756611840,"raw_latitude":119591864,"longitude_deg":75.661184,"latitude_deg":11.9591864,"altitude":51,"angle":130,"satellites":39,"speed":38,"hex_longitude":"2d18fb00","hex_latitude":"0720d3b8","is_valid_coordinates":true} 
[2026-06-23 09:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239836672001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3936238742536192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794403007147798528,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782186871000,"timestamp_ms":1782186871000,"timestamp_seconds":1782186871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29d88d8"} 
[2026-06-23 09:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:25:18] 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-06-23 09:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239836672001,"66":14341,"103":206,"83":41984,"24":38,"16":3936238742536192,"45":1794403007147798528},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239836672001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3936238742536192,"km_value":3936238742536.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794403007147798528,"description":"Unknown IO ID 45"} 
[2026-06-23 09:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239836672001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1794403007147798528}} 
[2026-06-23 09:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":111410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:18] local.INFO: GPS data processed {"connection_id":111410,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:18] local.INFO: Acknowledgment sent {"connection_id":111410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:24] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:25:24] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:25:24] local.INFO: IMEI packet received {"connection_id":110627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":110627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:25:30] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:25:30] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:25:30] local.INFO: IMEI packet received {"connection_id":110627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":110627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:25:33] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:25:33] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:25:33] local.INFO: Packet analysis {"connection_id":110627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:25:33] local.INFO: Extracted packet for processing {"connection_id":110627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:25:33] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782186767000,"timestamp_ms":1782186767000,"timestamp_seconds":1782186767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29bf298"} 
[2026-06-23 09:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:33] 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-06-23 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:25:33] 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-06-23 09: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-06-23 09:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":26278,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:25:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":26278,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":110627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:33] local.INFO: GPS data processed {"connection_id":110627,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:33] local.INFO: Acknowledgment sent {"connection_id":110627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:42] local.INFO: TCP Data received {"connection_id":112350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:42] local.INFO: Processing buffer {"connection_id":112350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:42] local.INFO: IMEI packet received {"connection_id":112350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":112350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:25:45] local.INFO: TCP Data received {"connection_id":112350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:45] local.INFO: Processing buffer {"connection_id":112350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:45] local.INFO: IMEI packet received {"connection_id":112350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":112350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:25:48] local.INFO: TCP Data received {"connection_id":112350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:48] local.INFO: Processing buffer {"connection_id":112350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:25:48] local.INFO: IMEI packet received {"connection_id":112350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":112350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:25:48] local.INFO: TCP Data received {"connection_id":112350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29d88d8012d18fb000720d3b80033008227..."} 
[2026-06-23 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29d88d8012d18fb000720d3b80033008227..."} 
[2026-06-23 09:25:48] local.INFO: Processing buffer {"connection_id":112350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29d88d8012d18fb000720d3b80033008227..."} 
[2026-06-23 09:25:48] local.INFO: Packet analysis {"connection_id":112350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:25:48] local.INFO: Extracted packet for processing {"connection_id":112350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756611840,"raw_latitude":119591864,"longitude_deg":75.661184,"latitude_deg":11.9591864,"altitude":51,"angle":130,"satellites":39,"speed":38,"hex_longitude":"2d18fb00","hex_latitude":"0720d3b8","is_valid_coordinates":true} 
[2026-06-23 09:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239838976001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3936238742536192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800032506680162304,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186871000,"timestamp_ms":1782186871000,"timestamp_seconds":1782186871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29d88d8"} 
[2026-06-23 09:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:48] 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-06-23 09:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6961667347,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4070385456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503659671322624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2638383105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4210753536,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84751224926576952,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.WARNING: Large IO value detected {"io_id":8,"raw_value":19422409652184832,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,251,158,101,45,239,57,39,10,66,89,64,248,58,37,82,1,240,185,227,242,33,4,113,205,40,47,212,56,38,2,13,7,67,206,168,8],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-23 09:25:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675080399952150528,"timestamp_seconds":3675080399952150.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239838976001,"66":14341,"103":206,"83":41984,"24":38,"16":3936238742536192,"45":1800032506680162304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239838976001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3936238742536192,"km_value":3936238742536.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800032506680162304,"description":"Unknown IO ID 45"} 
[2026-06-23 09:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239838976001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1800032506680162304}} 
[2026-06-23 09:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":112350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:49] local.INFO: GPS data processed {"connection_id":112350,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:49] local.INFO: Acknowledgment sent {"connection_id":112350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:51] local.INFO: TCP Data received {"connection_id":112350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29d9490012d1904800720cd900032007727..."} 
[2026-06-23 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29d9490012d1904800720cd900032007727..."} 
[2026-06-23 09:25:51] local.INFO: Processing buffer {"connection_id":112350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29d9490012d1904800720cd900032007727..."} 
[2026-06-23 09:25:51] local.INFO: Packet analysis {"connection_id":112350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:25:51] local.INFO: Extracted packet for processing {"connection_id":112350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756614272,"raw_latitude":119590288,"longitude_deg":75.6614272,"latitude_deg":11.9590288,"altitude":50,"angle":119,"satellites":39,"speed":39,"hex_longitude":"2d190480","hex_latitude":"0720cd90","is_valid_coordinates":true} 
[2026-06-23 09:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239838976001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3936380476456960,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800032506680162304,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782186874000,"timestamp_ms":1782186874000,"timestamp_seconds":1782186874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29d9490"} 
[2026-06-23 09:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6961667367,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4070387456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503659672698880,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2639407105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4250927163,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3221692684,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4214554624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84751263581282599,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.WARNING: Large IO value detected {"io_id":168,"raw_value":18859524140049664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:25:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,251,158,136,45,211,51,39,10,66,101,239,57,89,64,1,240,27,227,242,32,4,113,205,212,80,38,55,2,13,7,206,48,168],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-23 09:25:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675080399952150528,"timestamp_seconds":3675080399952150.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239838976001,"66":14037,"103":206,"83":41984,"24":39,"16":3936380476456960,"45":1800032506680162304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239838976001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:25:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3936380476456960,"km_value":3936380476456.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800032506680162304,"description":"Unknown IO ID 45"} 
[2026-06-23 09:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239838976001,"power":14037,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1800032506680162304}} 
[2026-06-23 09:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":112350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:25:51] local.INFO: GPS data processed {"connection_id":112350,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:25:51] local.INFO: Acknowledgment sent {"connection_id":112350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:25:57] local.INFO: TCP Data received {"connection_id":112351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:57] local.INFO: Processing buffer {"connection_id":112351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:25:57] local.INFO: IMEI packet received {"connection_id":112351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":112351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:26:02] local.INFO: TCP Data received {"connection_id":112351,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:26:02] local.INFO: Processing buffer {"connection_id":112351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:26:02] local.INFO: IMEI packet received {"connection_id":112351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":112351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:26:03] local.INFO: TCP Data received {"connection_id":112351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:26:03] local.INFO: Processing buffer {"connection_id":112351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:26:03] local.INFO: Packet analysis {"connection_id":112351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:26:03] local.INFO: Extracted packet for processing {"connection_id":112351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:03] 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-06-23 09:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:26:03] 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-06-23 09: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-06-23 09:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:26: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-06-23 09:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"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-06-23 09:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:26:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":112351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:26:03] local.INFO: GPS data processed {"connection_id":112351,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:26:03] local.INFO: Acknowledgment sent {"connection_id":112351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:26:05] local.INFO: TCP Data received {"connection_id":110627,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:26:05] local.INFO: Processing buffer {"connection_id":110627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29bf298012cb29c0007824198004a00cf27..."} 
[2026-06-23 09:26:05] local.INFO: Packet analysis {"connection_id":110627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:26:05] local.INFO: Extracted packet for processing {"connection_id":110627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29b"} 
[2026-06-23 09:26:05] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239734528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782186767000,"timestamp_ms":1782186767000,"timestamp_seconds":1782186767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29bf298"} 
[2026-06-23 09:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:26:05] 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-06-23 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 09:26:05] 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-06-23 09: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-06-23 09:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239734528001,"66":26278,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239734528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:26:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:26:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239734528001,"power":26278,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":110627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:26:05] local.INFO: GPS data processed {"connection_id":110627,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:26:05] local.INFO: Acknowledgment sent {"connection_id":110627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:26:22] local.INFO: TCP Data received {"connection_id":112350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29db3d0012d1927800720be00002b006f26..."} 
[2026-06-23 09:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29db3d0012d1927800720be00002b006f26..."} 
[2026-06-23 09:26:22] local.INFO: Processing buffer {"connection_id":112350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29db3d0012d1927800720be00002b006f26..."} 
[2026-06-23 09:26:22] local.INFO: Packet analysis {"connection_id":112350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:26:22] local.INFO: Extracted packet for processing {"connection_id":112350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119586304,"longitude_deg":75.6623232,"latitude_deg":11.9586304,"altitude":43,"angle":111,"satellites":38,"speed":52,"hex_longitude":"2d192780","hex_latitude":"0720be00","is_valid_coordinates":true} 
[2026-06-23 09:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239839744001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3936844332924928,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802706518958510080,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782186882000,"timestamp_ms":1782186882000,"timestamp_seconds":1782186882,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29db3d0"} 
[2026-06-23 09:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-06-23 09:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2385,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239839744001,"66":14080,"103":206,"83":41984,"24":52,"16":3936844332924928,"45":1802706518958510080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239839744001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:26:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3936844332924928,"km_value":3936844332924.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802706518958510080,"description":"Unknown IO ID 45"} 
[2026-06-23 09:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239839744001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1802706518958510080}} 
[2026-06-23 09:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":112350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:26:23] local.INFO: GPS data processed {"connection_id":112350,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:26:23] local.INFO: Acknowledgment sent {"connection_id":112350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:26:24] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:24] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:24] local.INFO: IMEI packet received {"connection_id":110789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":110789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:26:25] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:25] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:25] local.INFO: IMEI packet received {"connection_id":110789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":110789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:26:30] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:30] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:26:30] local.INFO: IMEI packet received {"connection_id":110789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":110789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:26:31] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29e5bc8012cb29c0007824198004a00cf24..."} 
[2026-06-23 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29e5bc8012cb29c0007824198004a00cf24..."} 
[2026-06-23 09:26:31] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29e5bc8012cb29c0007824198004a00cf24..."} 
[2026-06-23 09:26:31] local.INFO: Packet analysis {"connection_id":110789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29e"} 
[2026-06-23 09:26:31] local.INFO: Extracted packet for processing {"connection_id":110789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29e"} 
[2026-06-23 09:26:31] local.INFO: GPS Element Parsed {"raw_longitude":749902848,"raw_latitude":125976984,"longitude_deg":74.9902848,"latitude_deg":12.5976984,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29c00","hex_latitude":"07824198","is_valid_coordinates":true} 
[2026-06-23 09:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239812352001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341408768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186925000,"timestamp_ms":1782186925000,"timestamp_seconds":1782186925,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29e5bc8"} 
[2026-06-23 09:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 09:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2202,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239812352001,"66":26223,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576582206341408768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239812352001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:26:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341408768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239812352001,"power":26223,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576582206341408768}} 
[2026-06-23 09:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":110789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:26:31] local.INFO: GPS data processed {"connection_id":110789,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:26:31] local.INFO: Acknowledgment sent {"connection_id":110789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:26:35] local.INFO: TCP Data received {"connection_id":112351,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:26:35] local.INFO: Processing buffer {"connection_id":112351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:26:35] local.INFO: Packet analysis {"connection_id":112351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:26:35] local.INFO: Extracted packet for processing {"connection_id":112351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:35] 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-06-23 09:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:26: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-06-23 09:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09: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-06-23 09:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"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-06-23 09:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:26:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:26:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":112351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:26:35] local.INFO: GPS data processed {"connection_id":112351,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:26:35] local.INFO: Acknowledgment sent {"connection_id":112351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:26:42] local.INFO: TCP Data received {"connection_id":112352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:26:42] local.INFO: Processing buffer {"connection_id":112352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:26:42] local.INFO: IMEI packet received {"connection_id":112352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":112352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:26:48] local.INFO: TCP Data received {"connection_id":112352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:26:48] local.INFO: Processing buffer {"connection_id":112352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:26:48] local.INFO: IMEI packet received {"connection_id":112352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":112352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:26:48] local.INFO: TCP Data received {"connection_id":112352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29dc370012d193a000720b5700029007a27..."} 
[2026-06-23 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29dc370012d193a000720b5700029007a27..."} 
[2026-06-23 09:26:48] local.INFO: Processing buffer {"connection_id":112352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29dc370012d193a000720b5700029007a27..."} 
[2026-06-23 09:26:48] local.INFO: Packet analysis {"connection_id":112352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:26:48] local.INFO: Extracted packet for processing {"connection_id":112352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29d"} 
[2026-06-23 09:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756627968,"raw_latitude":119584112,"longitude_deg":75.6627968,"latitude_deg":11.9584112,"altitude":41,"angle":122,"satellites":39,"speed":49,"hex_longitude":"2d193a00","hex_latitude":"0720b570","is_valid_coordinates":true} 
[2026-06-23 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239841792001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3937093441028096,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143142363136,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186886000,"timestamp_ms":1782186886000,"timestamp_seconds":1782186886,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29dc370"} 
[2026-06-23 09:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:26:48] 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-06-23 09:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4070396456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":251,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2640687105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4025483321,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":89,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4219011072,"note":"Value kept but may cause issues"} 
[2026-06-23 09:26:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,252,158,148,45,128,205,50,39,10,66,136,211,51,251,1,240,5,227,242,32,4,113,37,89,223,239,56,2,13,7,59],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-06-23 09:26:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098598752633749504,"timestamp_seconds":3098598752633749.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239841792001,"66":14080,"103":206,"83":41984,"24":49,"16":3937093441028096,"45":1812558143142363136},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239841792001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:26:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3937093441028096,"km_value":3937093441028.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143142363136,"description":"Unknown IO ID 45"} 
[2026-06-23 09:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239841792001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1812558143142363136}} 
[2026-06-23 09:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":112352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:26:49] local.INFO: GPS data processed {"connection_id":112352,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:26:49] local.INFO: Acknowledgment sent {"connection_id":112352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:26:57] local.INFO: TCP Data received {"connection_id":110629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:26:57] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:26:57] local.INFO: IMEI packet received {"connection_id":110629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":110629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:27:02] local.INFO: TCP Data received {"connection_id":110629,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:27:02] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:27:02] local.INFO: IMEI packet received {"connection_id":110629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":110629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:27:03] local.INFO: TCP Data received {"connection_id":110789,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29eb1b8012cb29e8007824168004a00cf21..."} 
[2026-06-23 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29eb1b8012cb29e8007824168004a00cf21..."} 
[2026-06-23 09:27:03] local.INFO: Processing buffer {"connection_id":110789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29eb1b8012cb29e8007824168004a00cf21..."} 
[2026-06-23 09:27:03] local.INFO: Packet analysis {"connection_id":110789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29e"} 
[2026-06-23 09:27:03] local.INFO: Extracted packet for processing {"connection_id":110789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29e"} 
[2026-06-23 09:27:03] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239852800001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576582206341408768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186947000,"timestamp_ms":1782186947000,"timestamp_seconds":1782186947,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29eb1b8"} 
[2026-06-23 09:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27:03] 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-06-23 09: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-23 09:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239852800001,"66":27908,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576582206341408768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239852800001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576582206341408768,"description":"Unknown IO ID 44"} 
[2026-06-23 09:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239852800001,"power":27908,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576582206341408768}} 
[2026-06-23 09:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":110789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:03] local.INFO: GPS data processed {"connection_id":110789,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:03] local.INFO: Acknowledgment sent {"connection_id":110789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:03] local.INFO: TCP Data received {"connection_id":110629,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:27:03] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:27:03] local.INFO: Packet analysis {"connection_id":110629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:27:03] local.INFO: Extracted packet for processing {"connection_id":110629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:03] 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-06-23 09:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:27:03] 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-06-23 09: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-06-23 09:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:27:03] 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-06-23 09:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":110629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:03] local.INFO: GPS data processed {"connection_id":110629,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:03] local.INFO: Acknowledgment sent {"connection_id":110629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:21] local.INFO: TCP Data received {"connection_id":112352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f7508012d19bac00720a6a8003100b929..."} 
[2026-06-23 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f7508012d19bac00720a6a8003100b929..."} 
[2026-06-23 09:27:21] local.INFO: Processing buffer {"connection_id":112352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f7508012d19bac00720a6a8003100b929..."} 
[2026-06-23 09:27:21] local.INFO: Packet analysis {"connection_id":112352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:21] local.INFO: Extracted packet for processing {"connection_id":112352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119580328,"longitude_deg":75.6660928,"latitude_deg":11.9580328,"altitude":49,"angle":185,"satellites":41,"speed":14,"hex_longitude":"2d19bac0","hex_latitude":"0720a6a8","is_valid_coordinates":true} 
[2026-06-23 09:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239870976001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3938764183306240,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461565440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782186997000,"timestamp_ms":1782186997000,"timestamp_seconds":1782186997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f7508"} 
[2026-06-23 09:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239870976001,"66":13102,"103":206,"83":41984,"24":14,"16":3938764183306240,"45":1854005333461565440},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239870976001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:27:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3938764183306240,"km_value":3938764183306.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461565440,"description":"Unknown IO ID 45"} 
[2026-06-23 09:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239870976001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1854005333461565440}} 
[2026-06-23 09:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":112352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:21] local.INFO: GPS data processed {"connection_id":112352,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:21] local.INFO: Acknowledgment sent {"connection_id":112352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:30] local.INFO: TCP Data received {"connection_id":111412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:27:30] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:27:30] local.INFO: IMEI packet received {"connection_id":111412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":111412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:27:34] local.INFO: TCP Data received {"connection_id":111412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:27:34] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:27:34] local.INFO: IMEI packet received {"connection_id":111412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":111412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:27:35] local.INFO: TCP Data received {"connection_id":110629,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:27:35] local.INFO: Processing buffer {"connection_id":110629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:27:35] local.INFO: Packet analysis {"connection_id":110629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:27:35] local.INFO: Extracted packet for processing {"connection_id":110629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:35] 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-06-23 09:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 09:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:27: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-06-23 09: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-06-23 09:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:27: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-06-23 09:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":110629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:35] local.INFO: GPS data processed {"connection_id":110629,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:35] local.INFO: Acknowledgment sent {"connection_id":110629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:35] local.INFO: TCP Data received {"connection_id":111412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f03c0012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f03c0012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:27:35] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f03c0012cb29e8007824168004a00cf22..."} 
[2026-06-23 09:27:35] local.INFO: Packet analysis {"connection_id":111412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:35] local.INFO: Extracted packet for processing {"connection_id":111412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:35] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239858432001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782186968000,"timestamp_ms":1782186968000,"timestamp_seconds":1782186968,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f03c0"} 
[2026-06-23 09:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27:35] 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-06-23 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 09:27:35] 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-06-23 09: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-06-23 09:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239858432001,"66":27843,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239858432001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239858432001,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":111412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:35] local.INFO: GPS data processed {"connection_id":111412,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:35] local.INFO: Acknowledgment sent {"connection_id":111412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:40] local.INFO: TCP Data received {"connection_id":111412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:27:40] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:27:40] local.INFO: Packet analysis {"connection_id":111412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:40] local.INFO: Extracted packet for processing {"connection_id":111412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:40] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27: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-06-23 09:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:27:40] 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-06-23 09:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":111412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:40] local.INFO: GPS data processed {"connection_id":111412,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:40] local.INFO: Acknowledgment sent {"connection_id":111412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:42] local.INFO: TCP Data received {"connection_id":112354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:27:42] local.INFO: Processing buffer {"connection_id":112354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:27:42] local.INFO: IMEI packet received {"connection_id":112354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":112354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:27:48] local.INFO: TCP Data received {"connection_id":112354,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:27:48] local.INFO: Processing buffer {"connection_id":112354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:27:48] local.INFO: IMEI packet received {"connection_id":112354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":112354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:27:48] local.INFO: TCP Data received {"connection_id":112354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f78f0012d19ba800720a550003100c629..."} 
[2026-06-23 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f78f0012d19ba800720a550003100c629..."} 
[2026-06-23 09:27:48] local.INFO: Processing buffer {"connection_id":112354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f78f0012d19ba800720a550003100c629..."} 
[2026-06-23 09:27:48] local.INFO: Packet analysis {"connection_id":112354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:48] local.INFO: Extracted packet for processing {"connection_id":112354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119579984,"longitude_deg":75.6660864,"latitude_deg":11.9579984,"altitude":49,"angle":198,"satellites":41,"speed":13,"hex_longitude":"2d19ba80","hex_latitude":"0720a550","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239871232001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3938781363175424,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461477376,"note":"Value kept but may cause issues"} 
[2026-06-23 09:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782186998000,"timestamp_ms":1782186998000,"timestamp_seconds":1782186998,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f78f0"} 
[2026-06-23 09:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:27:48] 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-06-23 09:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239871232001,"66":12526,"103":206,"83":41984,"24":13,"16":3938781363175424,"45":1854005333461477376},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239871232001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:27:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3938781363175424,"km_value":3938781363175.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461477376,"description":"Unknown IO ID 45"} 
[2026-06-23 09:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239871232001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1854005333461477376}} 
[2026-06-23 09:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":112354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:27:49] local.INFO: GPS data processed {"connection_id":112354,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:27:49] local.INFO: Acknowledgment sent {"connection_id":112354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:27:57] local.INFO: TCP Data received {"connection_id":110630,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:27:57] local.INFO: Processing buffer {"connection_id":110630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:27:57] local.INFO: IMEI packet received {"connection_id":110630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":110630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:28:02] local.INFO: TCP Data received {"connection_id":110630,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:28:02] local.INFO: Processing buffer {"connection_id":110630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:28:02] local.INFO: IMEI packet received {"connection_id":110630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":110630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:28:04] local.INFO: TCP Data received {"connection_id":110630,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:28:04] local.INFO: Processing buffer {"connection_id":110630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29c3cd0012d7ceb0005ec3c080005004b27..."} 
[2026-06-23 09:28:04] local.INFO: Packet analysis {"connection_id":110630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:28:04] local.INFO: Extracted packet for processing {"connection_id":110630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29c"} 
[2026-06-23 09:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239740160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:04] 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-06-23 09:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782186786000,"timestamp_ms":1782186786000,"timestamp_seconds":1782186786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29c3cd0"} 
[2026-06-23 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-06-23 09:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:04] 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-06-23 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-06-23 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-06-23 09:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:28: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-06-23 09:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239740160001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239740160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239740160001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":110630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:04] local.INFO: GPS data processed {"connection_id":110630,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:04] local.INFO: Acknowledgment sent {"connection_id":110630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:20] local.INFO: TCP Data received {"connection_id":112354,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f80c0012d19b9400720a2c0003000d429..."} 
[2026-06-23 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f80c0012d19b9400720a2c0003000d429..."} 
[2026-06-23 09:28:20] local.INFO: Processing buffer {"connection_id":112354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f80c0012d19b9400720a2c0003000d429..."} 
[2026-06-23 09:28:20] local.INFO: Packet analysis {"connection_id":112354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:20] local.INFO: Extracted packet for processing {"connection_id":112354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119579328,"longitude_deg":75.6660544,"latitude_deg":11.9579328,"altitude":48,"angle":212,"satellites":41,"speed":17,"hex_longitude":"2d19b940","hex_latitude":"0720a2c0","is_valid_coordinates":true} 
[2026-06-23 09:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239871488001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3938815722913792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717211648,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187000000,"timestamp_ms":1782187000000,"timestamp_seconds":1782187000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f80c0"} 
[2026-06-23 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:28:20] 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-06-23 09:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:20] 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-06-23 09:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239871488001,"66":13091,"103":206,"83":41984,"24":17,"16":3938815722913792,"45":1853934964717211648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239871488001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3938815722913792,"km_value":3938815722913.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717211648,"description":"Unknown IO ID 45"} 
[2026-06-23 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239871488001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1853934964717211648}} 
[2026-06-23 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":112354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:20] local.INFO: GPS data processed {"connection_id":112354,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:20] local.INFO: Acknowledgment sent {"connection_id":112354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:25] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:28:25] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:28:25] local.INFO: IMEI packet received {"connection_id":111413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":111413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:28:28] local.INFO: TCP Data received {"connection_id":112355,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:28:28] local.INFO: Processing buffer {"connection_id":112355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:28:28] local.INFO: IMEI packet received {"connection_id":112355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":112355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:28:29] local.INFO: TCP Data received {"connection_id":112355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d0b65c00704c7e80019008122..."} 
[2026-06-23 09:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d0b65c00704c7e80019008122..."} 
[2026-06-23 09:28:29] local.INFO: Processing buffer {"connection_id":112355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d0b65c00704c7e80019008122..."} 
[2026-06-23 09:28:29] local.INFO: Packet analysis {"connection_id":112355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:28:29] local.INFO: Extracted packet for processing {"connection_id":112355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:28:29] local.INFO: GPS Element Parsed {"raw_longitude":755721664,"raw_latitude":117753832,"longitude_deg":75.5721664,"latitude_deg":11.7753832,"altitude":25,"angle":129,"satellites":34,"speed":12,"hex_longitude":"2d0b65c0","hex_latitude":"0704c7e8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894016001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21833964465422336,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820992168465831936,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:29] 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-06-23 09:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:29] 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-06-23 09: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-06-23 09:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894016001,"66":14396,"96":206,"94":10240,"24":12,"16":21833964465422336,"45":820992168465831936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 09:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894016001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 09:28:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21833964465422336,"km_value":21833964465422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":820992168465831936,"description":"Unknown IO ID 45"} 
[2026-06-23 09:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894016001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":820992168465831936}} 
[2026-06-23 09:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":112355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:29] local.INFO: GPS data processed {"connection_id":112355,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:29] local.INFO: Acknowledgment sent {"connection_id":112355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:31] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:28:31] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:28:31] local.INFO: IMEI packet received {"connection_id":111413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":111413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:28:33] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:28:33] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:28:33] local.INFO: Packet analysis {"connection_id":111413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:33] local.INFO: Extracted packet for processing {"connection_id":111413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:28:33] 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-06-23 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 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-06-23 09:28: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-06-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:33] 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-06-23 09: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-06-23 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-06-23 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:28:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":111413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:33] local.INFO: GPS data processed {"connection_id":111413,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:33] local.INFO: Acknowledgment sent {"connection_id":111413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:36] local.INFO: TCP Data received {"connection_id":110630,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:28:36] local.INFO: Processing buffer {"connection_id":110630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:28:36] local.INFO: Packet analysis {"connection_id":110630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:28:36] local.INFO: Extracted packet for processing {"connection_id":110630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:36] 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-06-23 09:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:28:36] 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-06-23 09: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":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:36] 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-06-23 09: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-06-23 09:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:28: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-06-23 09:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":110630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:36] local.INFO: GPS data processed {"connection_id":110630,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:36] local.INFO: Acknowledgment sent {"connection_id":110630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:48] local.INFO: TCP Data received {"connection_id":112356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:28:48] local.INFO: Processing buffer {"connection_id":112356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:28:48] local.INFO: IMEI packet received {"connection_id":112356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":112356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:28:53] local.INFO: TCP Data received {"connection_id":112356,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:28:53] local.INFO: Processing buffer {"connection_id":112356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:28:53] local.INFO: IMEI packet received {"connection_id":112356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":112356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:28:54] local.INFO: TCP Data received {"connection_id":112356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29fa000012d19ad0007209160003000c029..."} 
[2026-06-23 09:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29fa000012d19ad0007209160003000c029..."} 
[2026-06-23 09:28:54] local.INFO: Processing buffer {"connection_id":112356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29fa000012d19ad0007209160003000c029..."} 
[2026-06-23 09:28:54] local.INFO: Packet analysis {"connection_id":112356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:54] local.INFO: Extracted packet for processing {"connection_id":112356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574880,"longitude_deg":75.6657408,"latitude_deg":11.957488,"altitude":48,"angle":192,"satellites":41,"speed":32,"hex_longitude":"2d19ad00","hex_latitude":"07209160","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239872000001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3939077715918848,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996155392,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782187008000,"timestamp_ms":1782187008000,"timestamp_seconds":1782187008,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29fa000"} 
[2026-06-23 09:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:28:54] 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-06-23 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:54] 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-06-23 09: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-06-23 09:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":112356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":112356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":112356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239872000001,"66":13102,"103":206,"83":41984,"24":32,"16":3939077715918848,"45":1853583120996155392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239872000001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3939077715918848,"km_value":3939077715918.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996155392,"description":"Unknown IO ID 45"} 
[2026-06-23 09:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239872000001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1853583120996155392}} 
[2026-06-23 09:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":112356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:54] local.INFO: GPS data processed {"connection_id":112356,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:54] local.INFO: Acknowledgment sent {"connection_id":112356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:55] local.INFO: TCP Data received {"connection_id":112356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29fa3e8012d19ad0007208e48003000b129..."} 
[2026-06-23 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29fa3e8012d19ad0007208e48003000b129..."} 
[2026-06-23 09:28:55] local.INFO: Processing buffer {"connection_id":112356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29fa3e8012d19ad0007208e48003000b129..."} 
[2026-06-23 09:28:55] local.INFO: Packet analysis {"connection_id":112356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:55] local.INFO: Extracted packet for processing {"connection_id":112356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574088,"longitude_deg":75.6657408,"latitude_deg":11.9574088,"altitude":48,"angle":177,"satellites":41,"speed":31,"hex_longitude":"2d19ad00","hex_latitude":"07208e48","is_valid_coordinates":true} 
[2026-06-23 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239874048001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3939116370624512,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530311168,"note":"Value kept but may cause issues"} 
[2026-06-23 09:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782187009000,"timestamp_ms":1782187009000,"timestamp_seconds":1782187009,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29fa3e8"} 
[2026-06-23 09:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:28:55] 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-06-23 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:28:55] 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-06-23 09:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239874048001,"66":13102,"103":206,"83":41984,"24":31,"16":3939116370624512,"45":1850135052530311168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239874048001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:28:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3939116370624512,"km_value":3939116370624.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530311168,"description":"Unknown IO ID 45"} 
[2026-06-23 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239874048001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1850135052530311168}} 
[2026-06-23 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":112356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:28:55] local.INFO: GPS data processed {"connection_id":112356,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:28:55] local.INFO: Acknowledgment sent {"connection_id":112356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:28:56] local.INFO: TCP Data received {"connection_id":112357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:28:56] local.INFO: Processing buffer {"connection_id":112357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:28:56] local.INFO: IMEI packet received {"connection_id":112357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":112357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:29:00] local.INFO: TCP Data received {"connection_id":112355,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a18460012d0bb8800704d8c80019015122..."} 
[2026-06-23 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a18460012d0bb8800704d8c80019015122..."} 
[2026-06-23 09:29:00] local.INFO: Processing buffer {"connection_id":112355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a18460012d0bb8800704d8c80019015122..."} 
[2026-06-23 09:29:00] local.INFO: Packet analysis {"connection_id":112355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a1"} 
[2026-06-23 09:29:00] local.INFO: Extracted packet for processing {"connection_id":112355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a1"} 
[2026-06-23 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":755742848,"raw_latitude":117758152,"longitude_deg":75.5742848,"latitude_deg":11.7758152,"altitude":25,"angle":337,"satellites":34,"speed":30,"hex_longitude":"2d0bb880","hex_latitude":"0704d8c8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239905280001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21835403279466496,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845128647719464960,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:00] 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-06-23 09:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782187132000,"timestamp_ms":1782187132000,"timestamp_seconds":1782187132,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a18460"} 
[2026-06-23 09:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:29: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-06-23 09: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 09:29: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-06-23 09: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-06-23 09:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239905280001,"66":14396,"96":206,"94":10240,"24":30,"16":21835403279466496,"45":845128647719464960},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 09:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239905280001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 09:29:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21835403279466496,"km_value":21835403279466.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":845128647719464960,"description":"Unknown IO ID 45"} 
[2026-06-23 09:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239905280001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":845128647719464960}} 
[2026-06-23 09:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":112355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:00] local.INFO: GPS data processed {"connection_id":112355,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:00] local.INFO: Acknowledgment sent {"connection_id":112355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:29:02] local.INFO: TCP Data received {"connection_id":112357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:29:02] local.INFO: Processing buffer {"connection_id":112357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:29:02] local.INFO: IMEI packet received {"connection_id":112357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":112357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:29:03] local.INFO: TCP Data received {"connection_id":112357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:29:03] local.INFO: Processing buffer {"connection_id":112357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:29:03] local.INFO: Packet analysis {"connection_id":112357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:29:03] local.INFO: Extracted packet for processing {"connection_id":112357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:03] 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-06-23 09:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 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-06-23 09:29:03] 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-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:29:03] 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-06-23 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-06-23 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-06-23 09:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":112357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:03] local.INFO: GPS data processed {"connection_id":112357,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:03] local.INFO: Acknowledgment sent {"connection_id":112357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:29:04] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:29:04] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:29:04] local.INFO: Packet analysis {"connection_id":111413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:29:04] local.INFO: Extracted packet for processing {"connection_id":111413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:29:04] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:29: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-06-23 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:29:04] 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-06-23 09: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-06-23 09:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:29:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":111413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:04] local.INFO: GPS data processed {"connection_id":111413,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:04] local.INFO: Acknowledgment sent {"connection_id":111413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:29:14] local.INFO: TCP Data received {"connection_id":110792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:14] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:14] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:29:17] local.INFO: TCP Data received {"connection_id":110792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:17] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:17] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:29:23] local.INFO: TCP Data received {"connection_id":110792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:23] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:29:23] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:29:25] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:29:25] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:29:25] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:29:27] local.INFO: TCP Data received {"connection_id":112356,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29fb388012d19aec007208450003000a529..."} 
[2026-06-23 09:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29fb388012d19aec007208450003000a529..."} 
[2026-06-23 09:29:27] local.INFO: Processing buffer {"connection_id":112356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29fb388012d19aec007208450003000a529..."} 
[2026-06-23 09:29:27] local.INFO: Packet analysis {"connection_id":112356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:29:27] local.INFO: Extracted packet for processing {"connection_id":112356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119571536,"longitude_deg":75.6657856,"latitude_deg":11.9571536,"altitude":48,"angle":165,"satellites":41,"speed":17,"hex_longitude":"2d19aec0","hex_latitude":"07208450","is_valid_coordinates":true} 
[2026-06-23 09:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239874304001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3939240924676096,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850135052530108416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29: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-06-23 09:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782187013000,"timestamp_ms":1782187013000,"timestamp_seconds":1782187013,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29fb388"} 
[2026-06-23 09:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:29:27] 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-06-23 09:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239874304001,"66":13048,"103":206,"83":41984,"24":17,"16":3939240924676096,"45":1850135052530108416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239874304001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3939240924676096,"km_value":3939240924676.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850135052530108416,"description":"Unknown IO ID 45"} 
[2026-06-23 09:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239874304001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1850135052530108416}} 
[2026-06-23 09:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":112356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:27] local.INFO: GPS data processed {"connection_id":112356,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:27] local.INFO: Acknowledgment sent {"connection_id":112356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:29:30] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:29:30] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:29:30] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:29:31] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:29:31] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:29:31] local.INFO: Packet analysis {"connection_id":110793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:29:31] local.INFO: Extracted packet for processing {"connection_id":110793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:29:31] 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-06-23 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:29:31] 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-06-23 09: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-06-23 09:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":110793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:31] local.INFO: GPS data processed {"connection_id":110793,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:31] local.INFO: Acknowledgment sent {"connection_id":110793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:29:34] local.INFO: TCP Data received {"connection_id":112357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:29:34] local.INFO: Processing buffer {"connection_id":112357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:29:34] local.INFO: Packet analysis {"connection_id":112357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:29:34] local.INFO: Extracted packet for processing {"connection_id":112357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29: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-06-23 09:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:29:34] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:29: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-06-23 09: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-06-23 09:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":112357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:35] local.INFO: GPS data processed {"connection_id":112357,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:35] local.INFO: Acknowledgment sent {"connection_id":112357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:29:43] local.INFO: TCP Data received {"connection_id":112359,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:29:43] local.INFO: Processing buffer {"connection_id":112359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:29:43] local.INFO: IMEI packet received {"connection_id":112359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":112359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:29:45] local.INFO: TCP Data received {"connection_id":112359,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:29:45] local.INFO: Processing buffer {"connection_id":112359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:29:45] local.INFO: IMEI packet received {"connection_id":112359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":112359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:29:46] local.INFO: TCP Data received {"connection_id":112359,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a00590012d19b000072080d8003000a029..."} 
[2026-06-23 09:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a00590012d19b000072080d8003000a029..."} 
[2026-06-23 09:29:46] local.INFO: Processing buffer {"connection_id":112359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a00590012d19b000072080d8003000a029..."} 
[2026-06-23 09:29:46] local.INFO: Packet analysis {"connection_id":112359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:29:46] local.INFO: Extracted packet for processing {"connection_id":112359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119570648,"longitude_deg":75.6658176,"latitude_deg":11.9570648,"altitude":48,"angle":160,"satellites":41,"speed":0,"hex_longitude":"2d19b000","hex_latitude":"072080d8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3939288169316352,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633738698752,"note":"Value kept but may cause issues"} 
[2026-06-23 09:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782187034000,"timestamp_ms":1782187034000,"timestamp_seconds":1782187034,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a00590"} 
[2026-06-23 09:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:29:46] 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-06-23 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 09:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239875328001,"66":13015,"103":206,"83":41984,"24":0,"16":3939288169316352,"45":1850627633738698752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 09:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:29:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 09:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3939288169316352,"km_value":3939288169316.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633738698752,"description":"Unknown IO ID 45"} 
[2026-06-23 09:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239875328001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1850627633738698752}} 
[2026-06-23 09:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":112359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:29:46] local.INFO: GPS data processed {"connection_id":112359,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:29:46] local.INFO: Acknowledgment sent {"connection_id":112359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:02] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:02] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:02] local.INFO: IMEI packet received {"connection_id":111414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":111414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:30:03] local.INFO: TCP Data received {"connection_id":110792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:30:03] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:30:03] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:30:03] local.INFO: TCP Data received {"connection_id":110793,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:30:03] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:30:03] local.INFO: Packet analysis {"connection_id":110793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:30:03] local.INFO: Extracted packet for processing {"connection_id":110793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:30:03] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:30:03] 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-06-23 09:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:30:03] 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-06-23 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:30:03] 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-06-23 09: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-06-23 09:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:30:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:30:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":110793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:30:03] local.INFO: GPS data processed {"connection_id":110793,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:30:03] local.INFO: Acknowledgment sent {"connection_id":110793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:07] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:07] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:07] local.INFO: IMEI packet received {"connection_id":111414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":111414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:30:08] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:30:08] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:30:08] local.INFO: Packet analysis {"connection_id":111414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:30:08] local.INFO: Extracted packet for processing {"connection_id":111414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:08] 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-06-23 09:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:30:08] 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-06-23 09: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-06-23 09:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":111414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:30:08] local.INFO: GPS data processed {"connection_id":111414,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:30:08] local.INFO: Acknowledgment sent {"connection_id":111414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:13] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:30:13] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:30:13] local.INFO: Packet analysis {"connection_id":111414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:30:13] local.INFO: Extracted packet for processing {"connection_id":111414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:13] 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-06-23 09:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:30:13] 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-06-23 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:30:13] 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-06-23 09:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":111414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":111414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":111414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":111414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:30:13] local.INFO: GPS data processed {"connection_id":111414,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:30:13] local.INFO: Acknowledgment sent {"connection_id":111414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:17] local.INFO: TCP Data received {"connection_id":112359,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a218d0012d19df00072009f8003100bb2a..."} 
[2026-06-23 09:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a218d0012d19df00072009f8003100bb2a..."} 
[2026-06-23 09:30:17] local.INFO: Processing buffer {"connection_id":112359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a218d0012d19df00072009f8003100bb2a..."} 
[2026-06-23 09:30:17] local.INFO: Packet analysis {"connection_id":112359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a2"} 
[2026-06-23 09:30:17] local.INFO: Extracted packet for processing {"connection_id":112359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a2"} 
[2026-06-23 09:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540216,"longitude_deg":75.6670208,"latitude_deg":11.9540216,"altitude":49,"angle":187,"satellites":42,"speed":8,"hex_longitude":"2d19df00","hex_latitude":"072009f8","is_valid_coordinates":true} 
[2026-06-23 09:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239915264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3940933141790720,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801357025280,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782187170000,"timestamp_ms":1782187170000,"timestamp_seconds":1782187170,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a218d0"} 
[2026-06-23 09:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:30:17] 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-06-23 09:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239915264001,"66":14113,"101":206,"83":41984,"24":8,"16":3940933141790720,"45":1864208801357025280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 09:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239915264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:30:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 09:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3940933141790720,"km_value":3940933141790.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801357025280,"description":"Unknown IO ID 45"} 
[2026-06-23 09:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239915264001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1864208801357025280}} 
[2026-06-23 09:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":112359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:30:17] local.INFO: GPS data processed {"connection_id":112359,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:30:17] local.INFO: Acknowledgment sent {"connection_id":112359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:24] local.INFO: TCP Data received {"connection_id":111415,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:30:24] local.INFO: Processing buffer {"connection_id":111415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:30:24] local.INFO: IMEI packet received {"connection_id":111415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":111415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:30:30] local.INFO: TCP Data received {"connection_id":111415,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:30:30] local.INFO: Processing buffer {"connection_id":111415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:30:30] local.INFO: IMEI packet received {"connection_id":111415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":111415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:30:31] local.INFO: TCP Data received {"connection_id":111415,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:30:31] local.INFO: Processing buffer {"connection_id":111415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:30:31] local.INFO: Packet analysis {"connection_id":111415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:30:31] local.INFO: Extracted packet for processing {"connection_id":111415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:30:31] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:30:31] 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-06-23 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:30:31] 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-06-23 09: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-06-23 09:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:30:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:30:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":111415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:30:31] local.INFO: GPS data processed {"connection_id":111415,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:30:31] local.INFO: Acknowledgment sent {"connection_id":111415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:37] local.INFO: TCP Data received {"connection_id":110794,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:30:37] local.INFO: Processing buffer {"connection_id":110794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:30:37] local.INFO: IMEI packet received {"connection_id":110794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":110794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:30:43] local.INFO: TCP Data received {"connection_id":112361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:43] local.INFO: Processing buffer {"connection_id":112361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:43] local.INFO: IMEI packet received {"connection_id":112361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":112361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:30:43] local.INFO: TCP Data received {"connection_id":112361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:43] local.INFO: Processing buffer {"connection_id":112361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:43] local.INFO: IMEI packet received {"connection_id":112361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":112361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:30:48] local.INFO: TCP Data received {"connection_id":112361,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:48] local.INFO: Processing buffer {"connection_id":112361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:30:48] local.INFO: IMEI packet received {"connection_id":112361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":112361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:30:48] local.INFO: TCP Data received {"connection_id":112361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a21cb8012d19dec007200908003100d12a..."} 
[2026-06-23 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a21cb8012d19dec007200908003100d12a..."} 
[2026-06-23 09:30:48] local.INFO: Processing buffer {"connection_id":112361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a21cb8012d19dec007200908003100d12a..."} 
[2026-06-23 09:30:48] local.INFO: Packet analysis {"connection_id":112361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a2"} 
[2026-06-23 09:30:48] local.INFO: Extracted packet for processing {"connection_id":112361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a2"} 
[2026-06-23 09:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539976,"longitude_deg":75.6670144,"latitude_deg":11.9539976,"altitude":49,"angle":209,"satellites":42,"speed":11,"hex_longitude":"2d19dec0","hex_latitude":"07200908","is_valid_coordinates":true} 
[2026-06-23 09:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239915520001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3940946026692608,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356969984,"note":"Value kept but may cause issues"} 
[2026-06-23 09:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187171000,"timestamp_ms":1782187171000,"timestamp_seconds":1782187171,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a21cb8"} 
[2026-06-23 09:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 09:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239915520001,"66":14113,"101":206,"83":41984,"24":11,"16":3940946026692608,"45":1864208801356969984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 09:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239915520001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:30:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 09:30:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3940946026692608,"km_value":3940946026692.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356969984,"description":"Unknown IO ID 45"} 
[2026-06-23 09:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239915520001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1864208801356969984}} 
[2026-06-23 09:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":112361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:30:48] local.INFO: GPS data processed {"connection_id":112361,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:30:48] local.INFO: Acknowledgment sent {"connection_id":112361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:30:57] local.INFO: TCP Data received {"connection_id":112362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:57] local.INFO: Processing buffer {"connection_id":112362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:30:57] local.INFO: IMEI packet received {"connection_id":112362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":112362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:31:02] local.INFO: TCP Data received {"connection_id":112362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:31:02] local.INFO: Processing buffer {"connection_id":112362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:31:02] local.INFO: IMEI packet received {"connection_id":112362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":112362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:31:03] local.INFO: TCP Data received {"connection_id":112362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:31:03] local.INFO: Processing buffer {"connection_id":112362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:31:03] local.INFO: Packet analysis {"connection_id":112362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:31:03] local.INFO: Extracted packet for processing {"connection_id":112362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:03] 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-06-23 09:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:31:03] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:31:03] 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-06-23 09: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-06-23 09:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:31:03] local.INFO: TCP Data received {"connection_id":111415,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":112362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:31:03] local.INFO: GPS data processed {"connection_id":112362,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:31:03] local.INFO: Acknowledgment sent {"connection_id":112362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:31:03] local.INFO: Processing buffer {"connection_id":111415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:31:03] local.INFO: Packet analysis {"connection_id":111415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:31:03] local.INFO: Extracted packet for processing {"connection_id":111415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:31:03] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:31:03] 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-06-23 09:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:31:03] 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-06-23 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:31:03] 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-06-23 09: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-06-23 09:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":111415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:31:03] local.INFO: GPS data processed {"connection_id":111415,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:31:03] local.INFO: Acknowledgment sent {"connection_id":111415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:31:12] local.INFO: TCP Data received {"connection_id":110631,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:31:12] local.INFO: Processing buffer {"connection_id":110631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:31:12] local.INFO: IMEI packet received {"connection_id":110631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":110631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:31:20] local.INFO: TCP Data received {"connection_id":112361,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a316b8012d197ec0071fecf8004100f729..."} 
[2026-06-23 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a316b8012d197ec0071fecf8004100f729..."} 
[2026-06-23 09:31:20] local.INFO: Processing buffer {"connection_id":112361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a316b8012d197ec0071fecf8004100f729..."} 
[2026-06-23 09:31:20] local.INFO: Packet analysis {"connection_id":112361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:31:20] local.INFO: Extracted packet for processing {"connection_id":112361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756645568,"raw_latitude":119532792,"longitude_deg":75.6645568,"latitude_deg":11.9532792,"altitude":65,"angle":247,"satellites":41,"speed":18,"hex_longitude":"2d197ec0","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-06-23 09:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239931392001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942277466554368,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497871360,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187235000,"timestamp_ms":1782187235000,"timestamp_seconds":1782187235,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a316b8"} 
[2026-06-23 09:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:31:20] 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-06-23 09:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 09:31:20] 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-06-23 09:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239931392001,"66":13222,"102":206,"83":41984,"24":18,"16":3942277466554368,"45":1838313103497871360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239931392001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:31:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942277466554368,"km_value":3942277466554.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497871360,"description":"Unknown IO ID 45"} 
[2026-06-23 09:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239931392001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1838313103497871360}} 
[2026-06-23 09:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":112361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:31:20] local.INFO: GPS data processed {"connection_id":112361,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:31:20] local.INFO: Acknowledgment sent {"connection_id":112361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:31:24] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:31:24] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:31:24] local.INFO: IMEI packet received {"connection_id":110632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":110632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:31:30] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:31:30] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:31:30] local.INFO: IMEI packet received {"connection_id":110632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":110632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:31:31] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:31:31] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:31:31] local.INFO: Packet analysis {"connection_id":110632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:31:31] local.INFO: Extracted packet for processing {"connection_id":110632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:31:31] 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-06-23 09:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:31:31] 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-06-23 09: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-06-23 09:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:31:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:31:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":110632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:31:31] local.INFO: GPS data processed {"connection_id":110632,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:31:31] local.INFO: Acknowledgment sent {"connection_id":110632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:31:34] local.INFO: TCP Data received {"connection_id":112362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:31:34] local.INFO: Processing buffer {"connection_id":112362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:31:34] local.INFO: Packet analysis {"connection_id":112362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:31:34] local.INFO: Extracted packet for processing {"connection_id":112362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31: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-06-23 09:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:31:34] 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-06-23 09:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:31: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-06-23 09:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:31:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":112362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:31:35] local.INFO: GPS data processed {"connection_id":112362,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:31:35] local.INFO: Acknowledgment sent {"connection_id":112362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:31:41] local.INFO: TCP Data received {"connection_id":110797,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:41] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:41] local.INFO: IMEI packet received {"connection_id":110797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":110797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:31:42] local.INFO: TCP Data received {"connection_id":110797,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:42] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:42] local.INFO: IMEI packet received {"connection_id":110797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":110797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:31:48] local.INFO: TCP Data received {"connection_id":110797,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:48] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:31:48] local.INFO: IMEI packet received {"connection_id":110797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":110797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:31:48] local.INFO: TCP Data received {"connection_id":110797,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a31aa0012d197cc0071fec78004101032c..."} 
[2026-06-23 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a31aa0012d197cc0071fec78004101032c..."} 
[2026-06-23 09:31:48] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a31aa0012d197cc0071fec78004101032c..."} 
[2026-06-23 09:31:48] local.INFO: Packet analysis {"connection_id":110797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:31:48] local.INFO: Extracted packet for processing {"connection_id":110797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532664,"longitude_deg":75.6645056,"latitude_deg":11.9532664,"altitude":65,"angle":259,"satellites":44,"speed":20,"hex_longitude":"2d197cc0","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-06-23 09:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239932160001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942303236358144,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834846668800,"note":"Value kept but may cause issues"} 
[2026-06-23 09:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187236000,"timestamp_ms":1782187236000,"timestamp_seconds":1782187236,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a31aa0"} 
[2026-06-23 09:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 09:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239932160001,"66":13200,"102":206,"83":41984,"24":20,"16":3942303236358144,"45":1837116834846668800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239932160001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942303236358144,"km_value":3942303236358.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834846668800,"description":"Unknown IO ID 45"} 
[2026-06-23 09:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239932160001,"power":13200,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1837116834846668800}} 
[2026-06-23 09:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":110797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:31:48] local.INFO: GPS data processed {"connection_id":110797,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:31:48] local.INFO: Acknowledgment sent {"connection_id":110797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:31:57] local.INFO: TCP Data received {"connection_id":111416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:31:57] local.INFO: Processing buffer {"connection_id":111416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:31:57] local.INFO: IMEI packet received {"connection_id":111416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":111416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:32:02] local.INFO: TCP Data received {"connection_id":111416,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:32:02] local.INFO: Processing buffer {"connection_id":111416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:32:02] local.INFO: IMEI packet received {"connection_id":111416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":111416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:32:03] local.INFO: TCP Data received {"connection_id":111416,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:32:03] local.INFO: Processing buffer {"connection_id":111416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:32:03] local.INFO: Packet analysis {"connection_id":111416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:32:03] local.INFO: Extracted packet for processing {"connection_id":111416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:03] 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-06-23 09:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:32:03] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:32:03] 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-06-23 09: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-06-23 09:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":111416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:32:03] local.INFO: GPS data processed {"connection_id":111416,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:32:03] local.INFO: Acknowledgment sent {"connection_id":111416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:32:03] local.INFO: TCP Data received {"connection_id":110632,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:32:03] local.INFO: Processing buffer {"connection_id":110632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef29f4240012cb29e8007824168004a00cf20..."} 
[2026-06-23 09:32:03] local.INFO: Packet analysis {"connection_id":110632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:32:03] local.INFO: Extracted packet for processing {"connection_id":110632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef29f"} 
[2026-06-23 09:32:03] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976936,"longitude_deg":74.9903488,"latitude_deg":12.5976936,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29e80","hex_latitude":"07824168","is_valid_coordinates":true} 
[2026-06-23 09:32:03] 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-06-23 09:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239863808001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782186984000,"timestamp_ms":1782186984000,"timestamp_seconds":1782186984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef29f4240"} 
[2026-06-23 09:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:32:03] 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-06-23 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 09:32:03] 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-06-23 09: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-06-23 09:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239863808001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 09:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239863808001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239863808001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":110632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:32:03] local.INFO: GPS data processed {"connection_id":110632,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:32:03] local.INFO: Acknowledgment sent {"connection_id":110632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:32:20] local.INFO: TCP Data received {"connection_id":110797,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a32658012d1976c0071febf80041010f2c..."} 
[2026-06-23 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a32658012d1976c0071febf80041010f2c..."} 
[2026-06-23 09:32:20] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a32658012d1976c0071febf80041010f2c..."} 
[2026-06-23 09:32:20] local.INFO: Packet analysis {"connection_id":110797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:32:20] local.INFO: Extracted packet for processing {"connection_id":110797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756643520,"raw_latitude":119532536,"longitude_deg":75.664352,"latitude_deg":11.9532536,"altitude":65,"angle":271,"satellites":44,"speed":18,"hex_longitude":"2d1976c0","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-06-23 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239932416001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942376250802176,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893214720,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187239000,"timestamp_ms":1782187239000,"timestamp_seconds":1782187239,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a32658"} 
[2026-06-23 09:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:32:20] 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-06-23 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-23 09:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239932416001,"66":13243,"102":206,"83":41984,"24":18,"16":3942376250802176,"45":1836553884893214720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239932416001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:32:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942376250802176,"km_value":3942376250802.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893214720,"description":"Unknown IO ID 45"} 
[2026-06-23 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239932416001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1836553884893214720}} 
[2026-06-23 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":110797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:32:20] local.INFO: GPS data processed {"connection_id":110797,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:32:20] local.INFO: Acknowledgment sent {"connection_id":110797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:32:30] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:32:30] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:32:30] local.INFO: IMEI packet received {"connection_id":110633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":110633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:32:34] local.INFO: TCP Data received {"connection_id":111416,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:32:34] local.INFO: Processing buffer {"connection_id":111416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:32:34] local.INFO: Packet analysis {"connection_id":111416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:32:34] local.INFO: Extracted packet for processing {"connection_id":111416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32: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-06-23 09:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 09:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:32:34] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:32: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-06-23 09: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-06-23 09:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:32:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":111416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:32:34] local.INFO: GPS data processed {"connection_id":111416,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:32:34] local.INFO: Acknowledgment sent {"connection_id":111416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:32:35] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:32:35] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:32:35] local.INFO: IMEI packet received {"connection_id":110633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":110633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:32:37] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:32:37] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:32:37] local.INFO: Packet analysis {"connection_id":110633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:32:37] local.INFO: Extracted packet for processing {"connection_id":110633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 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-06-23 09:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:32:37] 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-06-23 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-06-23 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-06-23 09:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:32:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:32:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":110633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:32:37] local.INFO: GPS data processed {"connection_id":110633,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:32:37] local.INFO: Acknowledgment sent {"connection_id":110633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:32:43] local.INFO: TCP Data received {"connection_id":111417,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:43] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:43] local.INFO: IMEI packet received {"connection_id":111417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":111417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:32:44] local.INFO: TCP Data received {"connection_id":111417,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:44] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:44] local.INFO: IMEI packet received {"connection_id":111417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":111417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:32:48] local.INFO: TCP Data received {"connection_id":111417,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:48] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:32:48] local.INFO: IMEI packet received {"connection_id":111417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":111417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:32:48] local.INFO: TCP Data received {"connection_id":111417,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a335f8012d197040071fecf00041011e2b..."} 
[2026-06-23 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a335f8012d197040071fecf00041011e2b..."} 
[2026-06-23 09:32:48] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a335f8012d197040071fecf00041011e2b..."} 
[2026-06-23 09:32:48] local.INFO: Packet analysis {"connection_id":111417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:32:48] local.INFO: Extracted packet for processing {"connection_id":111417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756641856,"raw_latitude":119532784,"longitude_deg":75.6641856,"latitude_deg":11.9532784,"altitude":65,"angle":286,"satellites":43,"speed":14,"hex_longitude":"2d197040","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-06-23 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239933184001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942453560213504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834865035032918016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187243000,"timestamp_ms":1782187243000,"timestamp_seconds":1782187243,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a335f8"} 
[2026-06-23 09:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 09:32:48] 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-06-23 09:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239933184001,"66":13243,"102":206,"83":41984,"24":14,"16":3942453560213504,"45":1834865035032918016},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239933184001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942453560213504,"km_value":3942453560213.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834865035032918016,"description":"Unknown IO ID 45"} 
[2026-06-23 09:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239933184001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1834865035032918016}} 
[2026-06-23 09:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":111417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:32:48] local.INFO: GPS data processed {"connection_id":111417,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:32:48] local.INFO: Acknowledgment sent {"connection_id":111417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:32:57] local.INFO: TCP Data received {"connection_id":110798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:32:57] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:32:57] local.INFO: IMEI packet received {"connection_id":110798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":110798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:33:02] local.INFO: TCP Data received {"connection_id":110798,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:33:02] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:33:02] local.INFO: IMEI packet received {"connection_id":110798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":110798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:33:03] local.INFO: TCP Data received {"connection_id":110798,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:33:03] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a0d498012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:33:03] local.INFO: Packet analysis {"connection_id":110798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:33:03] local.INFO: Extracted packet for processing {"connection_id":110798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a0"} 
[2026-06-23 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239817216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:03] 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-06-23 09:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187087000,"timestamp_ms":1782187087000,"timestamp_seconds":1782187087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a0d498"} 
[2026-06-23 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-06-23 09:33:03] 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-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:33:03] 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-06-23 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-06-23 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-06-23 09:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:33: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-06-23 09:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239817216001,"66":2242,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"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-06-23 09:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239817216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239817216001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":110798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:33:03] local.INFO: GPS data processed {"connection_id":110798,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:33:03] local.INFO: Acknowledgment sent {"connection_id":110798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:33:08] local.INFO: TCP Data received {"connection_id":110633,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:33:08] local.INFO: Processing buffer {"connection_id":110633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:33:08] local.INFO: Packet analysis {"connection_id":110633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:08] local.INFO: Extracted packet for processing {"connection_id":110633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:33:08] 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-06-23 09: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-06-23 09:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:33:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:33:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":110633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:33:08] local.INFO: GPS data processed {"connection_id":110633,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:33:08] local.INFO: Acknowledgment sent {"connection_id":110633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:33:19] local.INFO: TCP Data received {"connection_id":111417,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a38800012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a38800012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:33:19] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a38800012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:33:19] local.INFO: Packet analysis {"connection_id":111417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:19] local.INFO: Extracted packet for processing {"connection_id":111417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239934208001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833035447684362240,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187264000,"timestamp_ms":1782187264000,"timestamp_seconds":1782187264,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a38800"} 
[2026-06-23 09:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 09:33:19] 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-06-23 09:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239934208001,"66":13135,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1833035447684362240},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239934208001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:33:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833035447684362240,"description":"Unknown IO ID 45"} 
[2026-06-23 09:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239934208001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1833035447684362240}} 
[2026-06-23 09:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":111417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:33:20] local.INFO: GPS data processed {"connection_id":111417,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:33:20] local.INFO: Acknowledgment sent {"connection_id":111417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:33:24] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:33:24] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:33:24] local.INFO: IMEI packet received {"connection_id":111419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":111419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:33:30] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:33:30] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:33:30] local.INFO: IMEI packet received {"connection_id":111419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":111419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:33:31] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:33:31] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:33:31] local.INFO: Packet analysis {"connection_id":111419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:31] local.INFO: Extracted packet for processing {"connection_id":111419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:33:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:33:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":111419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:33:31] local.INFO: GPS data processed {"connection_id":111419,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:33:31] local.INFO: Acknowledgment sent {"connection_id":111419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:33:35] local.INFO: TCP Data received {"connection_id":110798,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:33:35] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:33:35] local.INFO: Packet analysis {"connection_id":110798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:33:35] local.INFO: Extracted packet for processing {"connection_id":110798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:35] 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-06-23 09:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:33: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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:33: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-06-23 09: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-06-23 09:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09: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-06-23 09:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"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-06-23 09:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:33:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":110798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:33:35] local.INFO: GPS data processed {"connection_id":110798,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:33:35] local.INFO: Acknowledgment sent {"connection_id":110798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:33:42] local.INFO: TCP Data received {"connection_id":112364,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:33:42] local.INFO: Processing buffer {"connection_id":112364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:33:42] local.INFO: IMEI packet received {"connection_id":112364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":112364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:33:48] local.INFO: TCP Data received {"connection_id":112364,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:33:48] local.INFO: Processing buffer {"connection_id":112364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:33:48] local.INFO: IMEI packet received {"connection_id":112364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":112364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:33:49] local.INFO: TCP Data received {"connection_id":112364,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3da08012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3da08012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:33:49] local.INFO: Processing buffer {"connection_id":112364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3da08012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:33:49] local.INFO: Packet analysis {"connection_id":112364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:49] local.INFO: Extracted packet for processing {"connection_id":112364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239939584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782187285000,"timestamp_ms":1782187285000,"timestamp_seconds":1782187285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3da08"} 
[2026-06-23 09:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 09:33:49] 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-06-23 09:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239939584001,"66":13135,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239939584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239939584001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":112364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:33:49] local.INFO: GPS data processed {"connection_id":112364,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:33:49] local.INFO: Acknowledgment sent {"connection_id":112364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:33:57] local.INFO: TCP Data received {"connection_id":110799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:33:57] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:33:57] local.INFO: IMEI packet received {"connection_id":110799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":110799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:34:02] local.INFO: TCP Data received {"connection_id":110799,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:34:02] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:34:02] local.INFO: IMEI packet received {"connection_id":110799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":110799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:34:03] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:03] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:03] local.INFO: Packet analysis {"connection_id":111419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:34:03] local.INFO: Extracted packet for processing {"connection_id":111419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:34:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:34:03] 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-06-23 09: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-06-23 09:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":111419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:03] local.INFO: GPS data processed {"connection_id":111419,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:03] local.INFO: Acknowledgment sent {"connection_id":111419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:34:03] local.INFO: TCP Data received {"connection_id":110799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:34:03] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:34:03] local.INFO: Packet analysis {"connection_id":110799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:34:03] local.INFO: Extracted packet for processing {"connection_id":110799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:03] 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-06-23 09:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34: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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:34:03] 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-06-23 09: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-06-23 09:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":110799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:03] local.INFO: GPS data processed {"connection_id":110799,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:03] local.INFO: Acknowledgment sent {"connection_id":110799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:34:20] local.INFO: TCP Data received {"connection_id":112364,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a42c10012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a42c10012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:34:20] local.INFO: Processing buffer {"connection_id":112364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a42c10012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:34:20] local.INFO: Packet analysis {"connection_id":112364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a4"} 
[2026-06-23 09:34:20] local.INFO: Extracted packet for processing {"connection_id":112364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a4"} 
[2026-06-23 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239944960001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187306000,"timestamp_ms":1782187306000,"timestamp_seconds":1782187306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a42c10"} 
[2026-06-23 09:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34:20] 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-06-23 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 09:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239944960001,"66":13102,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239944960001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239944960001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":112364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:20] local.INFO: GPS data processed {"connection_id":112364,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:20] local.INFO: Acknowledgment sent {"connection_id":112364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:34:29] local.INFO: TCP Data received {"connection_id":110635,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:34:29] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:34:29] local.INFO: IMEI packet received {"connection_id":110635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:34:34] local.INFO: TCP Data received {"connection_id":110799,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:34:34] local.INFO: Processing buffer {"connection_id":110799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:34:34] local.INFO: Packet analysis {"connection_id":110799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:34:34] local.INFO: Extracted packet for processing {"connection_id":110799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34: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-06-23 09:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34:34] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:34: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-06-23 09: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-06-23 09:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":110799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:34] local.INFO: GPS data processed {"connection_id":110799,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:34] local.INFO: Acknowledgment sent {"connection_id":110799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:34:35] local.INFO: TCP Data received {"connection_id":110635,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:34:35] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:34:35] local.INFO: IMEI packet received {"connection_id":110635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":110635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:34:36] local.INFO: TCP Data received {"connection_id":110635,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:36] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:36] local.INFO: Packet analysis {"connection_id":110635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:34:36] local.INFO: Extracted packet for processing {"connection_id":110635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:34:36] 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-06-23 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":110635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:36] local.INFO: GPS data processed {"connection_id":110635,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:36] local.INFO: Acknowledgment sent {"connection_id":110635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:34:41] local.INFO: TCP Data received {"connection_id":110635,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:41] local.INFO: Processing buffer {"connection_id":110635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:34:41] local.INFO: Packet analysis {"connection_id":110635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:34:41] local.INFO: Extracted packet for processing {"connection_id":110635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:34:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":110635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:41] local.INFO: GPS data processed {"connection_id":110635,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:41] local.INFO: Acknowledgment sent {"connection_id":110635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:34:42] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:34:42] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:34:42] local.INFO: IMEI packet received {"connection_id":110636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":110636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:34:48] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:34:48] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:34:48] local.INFO: IMEI packet received {"connection_id":110636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":110636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:34:48] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a47e18012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a47e18012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:34:48] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a47e18012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:34:48] local.INFO: Packet analysis {"connection_id":110636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a4"} 
[2026-06-23 09:34:48] local.INFO: Extracted packet for processing {"connection_id":110636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a4"} 
[2026-06-23 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239950336001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187327000,"timestamp_ms":1782187327000,"timestamp_seconds":1782187327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a47e18"} 
[2026-06-23 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239950336001,"66":13048,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239950336001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:34:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239950336001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":110636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:34:48] local.INFO: GPS data processed {"connection_id":110636,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:34:48] local.INFO: Acknowledgment sent {"connection_id":110636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:02] local.INFO: TCP Data received {"connection_id":112365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:02] local.INFO: Processing buffer {"connection_id":112365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:02] local.INFO: IMEI packet received {"connection_id":112365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":112365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:35:07] local.INFO: TCP Data received {"connection_id":112365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:07] local.INFO: Processing buffer {"connection_id":112365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:07] local.INFO: IMEI packet received {"connection_id":112365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":112365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:35:08] local.INFO: TCP Data received {"connection_id":112365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:35:08] local.INFO: Processing buffer {"connection_id":112365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:35:08] local.INFO: Packet analysis {"connection_id":112365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:35:08] local.INFO: Extracted packet for processing {"connection_id":112365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:08] 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-06-23 09:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:08] 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-06-23 09:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:08] 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-06-23 09:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:35:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":112365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:08] local.INFO: GPS data processed {"connection_id":112365,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:08] local.INFO: Acknowledgment sent {"connection_id":112365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:13] local.INFO: TCP Data received {"connection_id":112365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:35:13] local.INFO: Processing buffer {"connection_id":112365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:35:13] local.INFO: Packet analysis {"connection_id":112365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:35:13] local.INFO: Extracted packet for processing {"connection_id":112365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:13] 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-06-23 09:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:13] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:13] 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-06-23 09: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-06-23 09:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":112365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:13] local.INFO: GPS data processed {"connection_id":112365,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:13] local.INFO: Acknowledgment sent {"connection_id":112365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:16] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:35:16] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:35:16] local.INFO: IMEI packet received {"connection_id":110802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":110802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:35:19] local.INFO: TCP Data received {"connection_id":110636,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a4d020012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a4d020012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:35:19] local.INFO: Processing buffer {"connection_id":110636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a4d020012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:35:19] local.INFO: Packet analysis {"connection_id":110636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a4"} 
[2026-06-23 09:35:19] local.INFO: Extracted packet for processing {"connection_id":110636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a4"} 
[2026-06-23 09:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239955712001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187348000,"timestamp_ms":1782187348000,"timestamp_seconds":1782187348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a4d020"} 
[2026-06-23 09:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:19] 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-06-23 09:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239955712001,"66":13059,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239955712001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239955712001,"power":13059,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":110636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:20] local.INFO: GPS data processed {"connection_id":110636,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:20] local.INFO: Acknowledgment sent {"connection_id":110636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:21] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:35:21] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:35:21] local.INFO: IMEI packet received {"connection_id":110802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":110802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:35:22] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a61840012d0c49c0070641180018007620..."} 
[2026-06-23 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a61840012d0c49c0070641180018007620..."} 
[2026-06-23 09:35:22] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a61840012d0c49c0070641180018007620..."} 
[2026-06-23 09:35:22] local.INFO: Packet analysis {"connection_id":110802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:35:22] local.INFO: Extracted packet for processing {"connection_id":110802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755780032,"raw_latitude":117850392,"longitude_deg":75.5780032,"latitude_deg":11.7850392,"altitude":24,"angle":118,"satellites":32,"speed":15,"hex_longitude":"2d0c49c0","hex_latitude":"07064118","is_valid_coordinates":true} 
[2026-06-23 09:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239980032001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21841386168909824,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882001869692745728,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:22] 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-06-23 09:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782187432000,"timestamp_ms":1782187432000,"timestamp_seconds":1782187432,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a61840"} 
[2026-06-23 09:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239980032001,"66":14428,"164":206,"94":10240,"24":15,"16":21841386168909824,"45":882001869692745728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-23 09:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239980032001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 09:35:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21841386168909824,"km_value":21841386168909.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":882001869692745728,"description":"Unknown IO ID 45"} 
[2026-06-23 09:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239980032001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":882001869692745728}} 
[2026-06-23 09:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":110802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":369999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:22] local.INFO: GPS data processed {"connection_id":110802,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:22] local.INFO: Acknowledgment sent {"connection_id":110802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:25] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:35:25] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:35:25] local.INFO: IMEI packet received {"connection_id":110803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":110803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:35:30] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:35:30] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:35:30] local.INFO: IMEI packet received {"connection_id":110803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":110803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:35:31] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:35:31] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:35:31] local.INFO: Packet analysis {"connection_id":110803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:35:31] local.INFO: Extracted packet for processing {"connection_id":110803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":110803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:31] local.INFO: GPS data processed {"connection_id":110803,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:31] local.INFO: Acknowledgment sent {"connection_id":110803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:42] local.INFO: TCP Data received {"connection_id":112366,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:35:42] local.INFO: Processing buffer {"connection_id":112366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:35:42] local.INFO: IMEI packet received {"connection_id":112366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":112366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:35:48] local.INFO: TCP Data received {"connection_id":112366,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:35:48] local.INFO: Processing buffer {"connection_id":112366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:35:48] local.INFO: IMEI packet received {"connection_id":112366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":112366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:35:48] local.INFO: TCP Data received {"connection_id":112366,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a52228012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a52228012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:35:48] local.INFO: Processing buffer {"connection_id":112366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a52228012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:35:48] local.INFO: Packet analysis {"connection_id":112366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:35:48] local.INFO: Extracted packet for processing {"connection_id":112366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239961088001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187369000,"timestamp_ms":1782187369000,"timestamp_seconds":1782187369,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a52228"} 
[2026-06-23 09:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869048,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":102,"raw_value":58075809043709970,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4070778456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2743599105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391992,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,126,45,192,238,63,43,10,66,44,42,218,240,79,227,242,31,4,113,205,53,112,239,51,2,14,7,65,18],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 09:35:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932078577287168,"timestamp_seconds":4539932078577287.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239961088001,"66":13015,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239961088001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239961088001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":112366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:48] local.INFO: GPS data processed {"connection_id":112366,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:48] local.INFO: Acknowledgment sent {"connection_id":112366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:53] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a7aa98012d0cab400705d8f8001b008422..."} 
[2026-06-23 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a7aa98012d0cab400705d8f8001b008422..."} 
[2026-06-23 09:35:53] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a7aa98012d0cab400705d8f8001b008422..."} 
[2026-06-23 09:35:53] local.INFO: Packet analysis {"connection_id":110802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:35:53] local.INFO: Extracted packet for processing {"connection_id":110802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":755804992,"raw_latitude":117823736,"longitude_deg":75.5804992,"latitude_deg":11.7823736,"altitude":27,"angle":132,"satellites":34,"speed":11,"hex_longitude":"2d0cab40","hex_latitude":"0705d8f8","is_valid_coordinates":true} 
[2026-06-23 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240007680001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21843168580337664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912049323449827328,"note":"Value kept but may cause issues"} 
[2026-06-23 09:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782187535000,"timestamp_ms":1782187535000,"timestamp_seconds":1782187535,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a7aa98"} 
[2026-06-23 09:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:35:53] 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-06-23 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240007680001,"66":14407,"220":206,"94":10240,"24":11,"16":21843168580337664,"45":912049323449827328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-06-23 09:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240007680001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21843168580337664,"km_value":21843168580337.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":912049323449827328,"description":"Unknown IO ID 45"} 
[2026-06-23 09:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240007680001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":912049323449827328}} 
[2026-06-23 09:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":110802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:35:53] local.INFO: GPS data processed {"connection_id":110802,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:35:53] local.INFO: Acknowledgment sent {"connection_id":110802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:35:57] local.INFO: TCP Data received {"connection_id":110637,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:57] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:35:57] local.INFO: IMEI packet received {"connection_id":110637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":110637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:36:02] local.INFO: TCP Data received {"connection_id":110637,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:36:02] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:36:02] local.INFO: IMEI packet received {"connection_id":110637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":110637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:36:03] local.INFO: TCP Data received {"connection_id":110637,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:36:03] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:36:03] local.INFO: Packet analysis {"connection_id":110637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:03] local.INFO: Extracted packet for processing {"connection_id":110637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:03] 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-06-23 09:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 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-06-23 09:36: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-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:36:03] 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-06-23 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-06-23 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-06-23 09:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":110637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:03] local.INFO: GPS data processed {"connection_id":110637,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:03] local.INFO: Acknowledgment sent {"connection_id":110637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:03] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:36:03] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:36:03] local.INFO: Packet analysis {"connection_id":110803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:36:03] local.INFO: Extracted packet for processing {"connection_id":110803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:36:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 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-06-23 09:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:36:03] 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-06-23 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-06-23 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-06-23 09:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":110803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:03] local.INFO: GPS data processed {"connection_id":110803,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:03] local.INFO: Acknowledgment sent {"connection_id":110803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:16] local.INFO: TCP Data received {"connection_id":111422,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:36:16] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:36:16] local.INFO: IMEI packet received {"connection_id":111422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":111422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:36:20] local.INFO: TCP Data received {"connection_id":112366,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a57430012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a57430012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:36:20] local.INFO: Processing buffer {"connection_id":112366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a57430012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:36:20] local.INFO: Packet analysis {"connection_id":112366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:20] local.INFO: Extracted packet for processing {"connection_id":112366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239966464001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187390000,"timestamp_ms":1782187390000,"timestamp_seconds":1782187390,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a57430"} 
[2026-06-23 09:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:36:20] 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-06-23 09:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 09:36:20] 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-06-23 09:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239966464001,"66":12722,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239966464001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239966464001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":112366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:20] local.INFO: GPS data processed {"connection_id":112366,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:20] local.INFO: Acknowledgment sent {"connection_id":112366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:21] local.INFO: TCP Data received {"connection_id":111422,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:36:21] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:36:21] local.INFO: IMEI packet received {"connection_id":111422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":111422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:36:22] local.INFO: TCP Data received {"connection_id":111422,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a7d590012d0cb8000705ccc8001b009523..."} 
[2026-06-23 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a7d590012d0cb8000705ccc8001b009523..."} 
[2026-06-23 09:36:22] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a7d590012d0cb8000705ccc8001b009523..."} 
[2026-06-23 09:36:22] local.INFO: Packet analysis {"connection_id":111422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:36:22] local.INFO: Extracted packet for processing {"connection_id":111422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755808256,"raw_latitude":117820616,"longitude_deg":75.5808256,"latitude_deg":11.7820616,"altitude":27,"angle":149,"satellites":35,"speed":14,"hex_longitude":"2d0cb800","hex_latitude":"0705ccc8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240008960001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21843387623669760,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912893748379711488,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782187546000,"timestamp_ms":1782187546000,"timestamp_seconds":1782187546,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a7d590"} 
[2026-06-23 09:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:36: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-06-23 09: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-06-23 09:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240008960001,"66":14396,"220":206,"94":10240,"24":14,"16":21843387623669760,"45":912893748379711488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-06-23 09:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240008960001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 09:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21843387623669760,"km_value":21843387623669.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":912893748379711488,"description":"Unknown IO ID 45"} 
[2026-06-23 09:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240008960001,"power":14396,"unknown_220":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":912893748379711488}} 
[2026-06-23 09:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":111422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370006,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:22] local.INFO: GPS data processed {"connection_id":111422,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:22] local.INFO: Acknowledgment sent {"connection_id":111422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:24] local.INFO: TCP Data received {"connection_id":110804,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:36:24] local.INFO: Processing buffer {"connection_id":110804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:36:24] local.INFO: IMEI packet received {"connection_id":110804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":110804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:36:30] local.INFO: TCP Data received {"connection_id":110804,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:36:30] local.INFO: Processing buffer {"connection_id":110804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:36:30] local.INFO: IMEI packet received {"connection_id":110804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":110804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:36:31] local.INFO: TCP Data received {"connection_id":110804,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:36:31] local.INFO: Processing buffer {"connection_id":110804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:36:31] local.INFO: Packet analysis {"connection_id":110804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:36:31] local.INFO: Extracted packet for processing {"connection_id":110804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:36:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":110804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:31] local.INFO: GPS data processed {"connection_id":110804,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:31] local.INFO: Acknowledgment sent {"connection_id":110804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:34] local.INFO: TCP Data received {"connection_id":110637,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:36:34] local.INFO: Processing buffer {"connection_id":110637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:36:34] local.INFO: Packet analysis {"connection_id":110637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:34] local.INFO: Extracted packet for processing {"connection_id":110637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36: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-06-23 09:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:36:34] 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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:36: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-06-23 09: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-06-23 09:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:36:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":110637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:34] local.INFO: GPS data processed {"connection_id":110637,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:34] local.INFO: Acknowledgment sent {"connection_id":110637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:36] local.INFO: TCP Data received {"connection_id":110638,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:36:36] local.INFO: Processing buffer {"connection_id":110638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:36:36] local.INFO: IMEI packet received {"connection_id":110638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":110638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:36:42] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:36:42] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:36:42] local.INFO: IMEI packet received {"connection_id":111423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":111423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:36:48] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:36:48] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:36:48] local.INFO: IMEI packet received {"connection_id":111423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":111423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:36:48] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a5c638012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a5c638012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:36:48] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a5c638012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:36:48] local.INFO: Packet analysis {"connection_id":111423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:48] local.INFO: Extracted packet for processing {"connection_id":111423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971840001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187411000,"timestamp_ms":1782187411000,"timestamp_seconds":1782187411,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a5c638"} 
[2026-06-23 09:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 09:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971840001,"66":13004,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971840001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971840001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":111423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:49] local.INFO: GPS data processed {"connection_id":111423,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:49] local.INFO: Acknowledgment sent {"connection_id":111423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:36:57] local.INFO: TCP Data received {"connection_id":112367,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:36:57] local.INFO: Processing buffer {"connection_id":112367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:36:57] local.INFO: IMEI packet received {"connection_id":112367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":112367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:36:58] local.INFO: TCP Data received {"connection_id":111422,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a8bc08012d0c6f0007059018001f00d022..."} 
[2026-06-23 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a8bc08012d0c6f0007059018001f00d022..."} 
[2026-06-23 09:36:58] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a8bc08012d0c6f0007059018001f00d022..."} 
[2026-06-23 09:36:58] local.INFO: Packet analysis {"connection_id":111422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:36:58] local.INFO: Extracted packet for processing {"connection_id":111422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117805080,"longitude_deg":75.5789568,"latitude_deg":11.780508,"altitude":31,"angle":208,"satellites":34,"speed":20,"hex_longitude":"2d0c6f00","hex_latitude":"07059018","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240026624001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21844912337059840,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896075618516596736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782187605000,"timestamp_ms":1782187605000,"timestamp_seconds":1782187605,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a8bc08"} 
[2026-06-23 09:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:36: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-06-23 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:36:58] 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-06-23 09: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-06-23 09:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240026624001,"66":14374,"220":206,"94":10240,"24":20,"16":21844912337059840,"45":896075618516596736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-06-23 09:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240026624001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:36:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 09:36:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21844912337059840,"km_value":21844912337059.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":896075618516596736,"description":"Unknown IO ID 45"} 
[2026-06-23 09:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240026624001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":896075618516596736}} 
[2026-06-23 09:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":111422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:36:58] local.INFO: GPS data processed {"connection_id":111422,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:36:58] local.INFO: Acknowledgment sent {"connection_id":111422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:02] local.INFO: TCP Data received {"connection_id":112367,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:37:02] local.INFO: Processing buffer {"connection_id":112367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:37:02] local.INFO: IMEI packet received {"connection_id":112367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":112367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:37:03] local.INFO: TCP Data received {"connection_id":110804,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:37:03] local.INFO: Processing buffer {"connection_id":110804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a3e1d8012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:37:03] local.INFO: Packet analysis {"connection_id":110804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:37:03] local.INFO: Extracted packet for processing {"connection_id":110804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a3"} 
[2026-06-23 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239867904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899644416,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187287000,"timestamp_ms":1782187287000,"timestamp_seconds":1782187287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a3e1d8"} 
[2026-06-23 09:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 09:37:03] 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-06-23 09: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-06-23 09:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239867904001,"66":26169,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5575878518899644416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239867904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899644416,"description":"Unknown IO ID 44"} 
[2026-06-23 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239867904001,"power":26169,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5575878518899644416}} 
[2026-06-23 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":110804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:03] local.INFO: GPS data processed {"connection_id":110804,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:03] local.INFO: Acknowledgment sent {"connection_id":110804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:03] local.INFO: TCP Data received {"connection_id":112367,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:37:03] local.INFO: Processing buffer {"connection_id":112367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:37:03] local.INFO: Packet analysis {"connection_id":112367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:37:03] local.INFO: Extracted packet for processing {"connection_id":112367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:03] 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-06-23 09:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37: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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:37:03] 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-06-23 09: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-06-23 09:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":112367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:04] local.INFO: GPS data processed {"connection_id":112367,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:04] local.INFO: Acknowledgment sent {"connection_id":112367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:07] local.INFO: TCP Data received {"connection_id":110639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:37:07] local.INFO: Processing buffer {"connection_id":110639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:37:07] local.INFO: IMEI packet received {"connection_id":110639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":110639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:37:19] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a61840012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a61840012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:37:19] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a61840012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:37:19] local.INFO: Packet analysis {"connection_id":111423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:37:19] local.INFO: Extracted packet for processing {"connection_id":111423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239977216001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187432000,"timestamp_ms":1782187432000,"timestamp_seconds":1782187432,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a61840"} 
[2026-06-23 09:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37:19] 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-06-23 09:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-23 09:37:19] 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-06-23 09:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239977216001,"66":12939,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239977216001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239977216001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":111423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:19] local.INFO: GPS data processed {"connection_id":111423,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:19] local.INFO: Acknowledgment sent {"connection_id":111423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:29] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:37:29] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:37:29] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:37:35] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:37:35] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:37:35] local.INFO: IMEI packet received {"connection_id":110640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":110640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:37:35] local.INFO: TCP Data received {"connection_id":112367,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:37:35] local.INFO: Processing buffer {"connection_id":112367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:37:35] local.INFO: Packet analysis {"connection_id":112367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:37:35] local.INFO: Extracted packet for processing {"connection_id":112367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:35] 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-06-23 09:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37: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-06-23 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:37: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-06-23 09:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":112367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:35] local.INFO: GPS data processed {"connection_id":112367,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:35] local.INFO: Acknowledgment sent {"connection_id":112367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:36] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:37:36] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:37:36] local.INFO: Packet analysis {"connection_id":110640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:37:36] local.INFO: Extracted packet for processing {"connection_id":110640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:37:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:37:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":110640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:36] local.INFO: GPS data processed {"connection_id":110640,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:36] local.INFO: Acknowledgment sent {"connection_id":110640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:48] local.INFO: TCP Data received {"connection_id":111424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:37:48] local.INFO: Processing buffer {"connection_id":111424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:37:48] local.INFO: IMEI packet received {"connection_id":111424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":111424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:37:53] local.INFO: TCP Data received {"connection_id":111424,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:37:53] local.INFO: Processing buffer {"connection_id":111424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:37:53] local.INFO: IMEI packet received {"connection_id":111424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":111424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:37:53] local.INFO: TCP Data received {"connection_id":111424,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a66a48012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a66a48012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:37:53] local.INFO: Processing buffer {"connection_id":111424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a66a48012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:37:53] local.INFO: Packet analysis {"connection_id":111424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:37:53] local.INFO: Extracted packet for processing {"connection_id":111424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239982592001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782187453000,"timestamp_ms":1782187453000,"timestamp_seconds":1782187453,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a66a48"} 
[2026-06-23 09:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 09:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239982592001,"66":12917,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239982592001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239982592001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":111424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:53] local.INFO: GPS data processed {"connection_id":111424,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:53] local.INFO: Acknowledgment sent {"connection_id":111424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:37:57] local.INFO: TCP Data received {"connection_id":110805,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:37:57] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:37:57] local.INFO: IMEI packet received {"connection_id":110805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":110805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:37:58] local.INFO: TCP Data received {"connection_id":111424,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a6b868012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a6b868012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:37:58] local.INFO: Processing buffer {"connection_id":111424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a6b868012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:37:58] local.INFO: Packet analysis {"connection_id":111424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:37:58] local.INFO: Extracted packet for processing {"connection_id":111424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a6"} 
[2026-06-23 09:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239987968001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:37: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-06-23 09:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782187473000,"timestamp_ms":1782187473000,"timestamp_seconds":1782187473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a6b868"} 
[2026-06-23 09:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:37:58] 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-06-23 09:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 09:37:58] 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-06-23 09:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239987968001,"66":12950,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239987968001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:37:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239987968001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":111424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:37:58] local.INFO: GPS data processed {"connection_id":111424,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:37:58] local.INFO: Acknowledgment sent {"connection_id":111424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:38:02] local.INFO: TCP Data received {"connection_id":110805,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:38:02] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:38:02] local.INFO: IMEI packet received {"connection_id":110805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":110805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:38:03] local.INFO: TCP Data received {"connection_id":110805,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:38:03] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a56c60012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:38:03] local.INFO: Packet analysis {"connection_id":110805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:38:03] local.INFO: Extracted packet for processing {"connection_id":110805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a5"} 
[2026-06-23 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239894272001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:03] 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-06-23 09:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187388000,"timestamp_ms":1782187388000,"timestamp_seconds":1782187388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a56c60"} 
[2026-06-23 09:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:38: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-06-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 09:38:03] 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-06-23 09: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-06-23 09:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239894272001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239894272001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239894272001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":110805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:38:03] local.INFO: GPS data processed {"connection_id":110805,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:38:03] local.INFO: Acknowledgment sent {"connection_id":110805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:38:08] local.INFO: TCP Data received {"connection_id":110640,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:38:08] local.INFO: Processing buffer {"connection_id":110640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:38:08] local.INFO: Packet analysis {"connection_id":110640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:38:08] local.INFO: Extracted packet for processing {"connection_id":110640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:38:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":110640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:38:08] local.INFO: GPS data processed {"connection_id":110640,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:38:08] local.INFO: Acknowledgment sent {"connection_id":110640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:38:25] local.INFO: TCP Data received {"connection_id":110641,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:38:25] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:38:25] local.INFO: IMEI packet received {"connection_id":110641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":110641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:38:29] local.INFO: TCP Data received {"connection_id":110641,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:38:29] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:38:29] local.INFO: IMEI packet received {"connection_id":110641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":110641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:38:30] local.INFO: TCP Data received {"connection_id":110641,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:38:30] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:38:30] local.INFO: Packet analysis {"connection_id":110641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:38:30] local.INFO: Extracted packet for processing {"connection_id":110641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":110641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:38:30] local.INFO: GPS data processed {"connection_id":110641,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:38:30] local.INFO: Acknowledgment sent {"connection_id":110641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:38:34] local.INFO: TCP Data received {"connection_id":110805,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:38:34] local.INFO: Processing buffer {"connection_id":110805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:38:34] local.INFO: Packet analysis {"connection_id":110805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:38:34] local.INFO: Extracted packet for processing {"connection_id":110805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38: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-06-23 09:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:38: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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":110805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:38:34] local.INFO: GPS data processed {"connection_id":110805,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:38:34] local.INFO: Acknowledgment sent {"connection_id":110805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:38:42] local.INFO: TCP Data received {"connection_id":112369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:42] local.INFO: Processing buffer {"connection_id":112369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:42] local.INFO: IMEI packet received {"connection_id":112369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":112369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:38:42] local.INFO: TCP Data received {"connection_id":112369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:42] local.INFO: Processing buffer {"connection_id":112369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:42] local.INFO: IMEI packet received {"connection_id":112369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":112369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:38:48] local.INFO: TCP Data received {"connection_id":112369,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:48] local.INFO: Processing buffer {"connection_id":112369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:38:48] local.INFO: IMEI packet received {"connection_id":112369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":112369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:38:48] local.INFO: TCP Data received {"connection_id":112369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a70e58012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a70e58012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:38:48] local.INFO: Processing buffer {"connection_id":112369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a70e58012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:38:48] local.INFO: Packet analysis {"connection_id":112369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:38:48] local.INFO: Extracted packet for processing {"connection_id":112369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239993088001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187495000,"timestamp_ms":1782187495000,"timestamp_seconds":1782187495,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a70e58"} 
[2026-06-23 09:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 09:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239993088001,"66":12939,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239993088001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:38:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239993088001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":112369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:38:48] local.INFO: GPS data processed {"connection_id":112369,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:38:48] local.INFO: Acknowledgment sent {"connection_id":112369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:38:56] local.INFO: TCP Data received {"connection_id":110642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:38:56] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:38:56] local.INFO: IMEI packet received {"connection_id":110642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":110642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:38:58] local.INFO: TCP Data received {"connection_id":111425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:38:58] local.INFO: Processing buffer {"connection_id":111425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:38:58] local.INFO: IMEI packet received {"connection_id":111425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":111425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:39:02] local.INFO: TCP Data received {"connection_id":110642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:39:02] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:39:02] local.INFO: IMEI packet received {"connection_id":110642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":110642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:39:02] local.INFO: TCP Data received {"connection_id":110641,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:02] local.INFO: Processing buffer {"connection_id":110641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:02] local.INFO: Packet analysis {"connection_id":110641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:02] local.INFO: Extracted packet for processing {"connection_id":110641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":110641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:02] local.INFO: GPS data processed {"connection_id":110641,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:02] local.INFO: Acknowledgment sent {"connection_id":110641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:04] local.INFO: TCP Data received {"connection_id":110642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:39:04] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:39:04] local.INFO: Packet analysis {"connection_id":110642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:39:04] local.INFO: Extracted packet for processing {"connection_id":110642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:04] 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-06-23 09:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39: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-06-23 09: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":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:39:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":110642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:04] local.INFO: GPS data processed {"connection_id":110642,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:04] local.INFO: Acknowledgment sent {"connection_id":110642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:19] local.INFO: TCP Data received {"connection_id":112369,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a76060012d1968c0071fee48003f011428..."} 
[2026-06-23 09:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a76060012d1968c0071fee48003f011428..."} 
[2026-06-23 09:39:19] local.INFO: Processing buffer {"connection_id":112369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a76060012d1968c0071fee48003f011428..."} 
[2026-06-23 09:39:19] local.INFO: Packet analysis {"connection_id":112369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:39:19] local.INFO: Extracted packet for processing {"connection_id":112369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:39: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-06-23 09:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239998720001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187516000,"timestamp_ms":1782187516000,"timestamp_seconds":1782187516,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a76060"} 
[2026-06-23 09:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39:19] 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-06-23 09:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:19] 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-06-23 09:39: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-06-23 09:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239998720001,"66":12885,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239998720001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239998720001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":112369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:20] local.INFO: GPS data processed {"connection_id":112369,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:20] local.INFO: Acknowledgment sent {"connection_id":112369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:30] local.INFO: TCP Data received {"connection_id":111427,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:39:30] local.INFO: Processing buffer {"connection_id":111427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:39:30] local.INFO: IMEI packet received {"connection_id":111427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":111427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:39:31] local.INFO: TCP Data received {"connection_id":111428,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:39:31] local.INFO: Processing buffer {"connection_id":111428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:39:31] local.INFO: IMEI packet received {"connection_id":111428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":111428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:39:34] local.INFO: TCP Data received {"connection_id":111428,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:39:34] local.INFO: Processing buffer {"connection_id":111428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:39:34] local.INFO: IMEI packet received {"connection_id":111428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":111428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:39:35] local.INFO: TCP Data received {"connection_id":111428,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aae2d0012d0c71800704f9100020009022..."} 
[2026-06-23 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aae2d0012d0c71800704f9100020009022..."} 
[2026-06-23 09:39:35] local.INFO: Processing buffer {"connection_id":111428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aae2d0012d0c71800704f9100020009022..."} 
[2026-06-23 09:39:35] local.INFO: Packet analysis {"connection_id":111428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:39:35] local.INFO: Extracted packet for processing {"connection_id":111428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":755790208,"raw_latitude":117766416,"longitude_deg":75.5790208,"latitude_deg":11.7766416,"altitude":32,"angle":144,"satellites":34,"speed":37,"hex_longitude":"2d0c7180","hex_latitude":"0704f910","is_valid_coordinates":true} 
[2026-06-23 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240062208001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21847403418091520,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718600361984,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:35] 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-06-23 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187746000,"timestamp_ms":1782187746000,"timestamp_seconds":1782187746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aae2d0"} 
[2026-06-23 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39: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-06-23 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:35] 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-06-23 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240062208001,"66":14428,"95":206,"94":10240,"24":37,"16":21847403418091520,"45":894949718600361984},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240062208001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21847403418091520,"km_value":21847403418091.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718600361984,"description":"Unknown IO ID 45"} 
[2026-06-23 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240062208001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":894949718600361984}} 
[2026-06-23 09:39:35] local.INFO: TCP Data received {"connection_id":110642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:39:35] local.INFO: Processing buffer {"connection_id":110642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:39:35] local.INFO: Packet analysis {"connection_id":110642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:39:35] local.INFO: Extracted packet for processing {"connection_id":110642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:35] 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-06-23 09:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39: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-06-23 09:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":111428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370026,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:35] local.INFO: GPS data processed {"connection_id":111428,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:35] local.INFO: Acknowledgment sent {"connection_id":111428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:35] local.INFO: TCP Data received {"connection_id":111427,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:39:35] local.INFO: Processing buffer {"connection_id":111427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:39:35] local.INFO: IMEI packet received {"connection_id":111427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":111427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":110642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:35] local.INFO: GPS data processed {"connection_id":110642,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:35] local.INFO: Acknowledgment sent {"connection_id":110642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:36] local.INFO: TCP Data received {"connection_id":111427,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:36] local.INFO: Processing buffer {"connection_id":111427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:36] local.INFO: Packet analysis {"connection_id":111427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:36] local.INFO: Extracted packet for processing {"connection_id":111427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":111427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:36] local.INFO: GPS data processed {"connection_id":111427,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:36] local.INFO: Acknowledgment sent {"connection_id":111427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:40] local.INFO: TCP Data received {"connection_id":111427,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:40] local.INFO: Processing buffer {"connection_id":111427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:39:40] local.INFO: Packet analysis {"connection_id":111427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:40] local.INFO: Extracted packet for processing {"connection_id":111427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":111427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:40] local.INFO: GPS data processed {"connection_id":111427,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:40] local.INFO: Acknowledgment sent {"connection_id":111427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:43] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:43] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:43] local.INFO: IMEI packet received {"connection_id":111429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":111429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:39:45] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:45] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:45] local.INFO: IMEI packet received {"connection_id":111429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":111429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:39:48] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:48] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:39:48] local.INFO: IMEI packet received {"connection_id":111429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":111429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:39:49] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a7b268012d1968c0071fee48003f011429..."} 
[2026-06-23 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a7b268012d1968c0071fee48003f011429..."} 
[2026-06-23 09:39:49] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a7b268012d1968c0071fee48003f011429..."} 
[2026-06-23 09:39:49] local.INFO: Packet analysis {"connection_id":111429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:39:49] local.INFO: Extracted packet for processing {"connection_id":111429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a7"} 
[2026-06-23 09:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240004096001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782187537000,"timestamp_ms":1782187537000,"timestamp_seconds":1782187537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a7b268"} 
[2026-06-23 09:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39:49] 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-06-23 09:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240004096001,"66":12885,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240004096001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240004096001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":111429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:49] local.INFO: GPS data processed {"connection_id":111429,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:49] local.INFO: Acknowledgment sent {"connection_id":111429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:39:53] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a80470012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a80470012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:39:53] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a80470012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:39:53] local.INFO: Packet analysis {"connection_id":111429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:53] local.INFO: Extracted packet for processing {"connection_id":111429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240009472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782187558000,"timestamp_ms":1782187558000,"timestamp_seconds":1782187558,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a80470"} 
[2026-06-23 09:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 09:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240009472001,"66":12863,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240009472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:39:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240009472001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":111429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:39:53] local.INFO: GPS data processed {"connection_id":111429,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:39:53] local.INFO: Acknowledgment sent {"connection_id":111429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:02] local.INFO: TCP Data received {"connection_id":110806,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:02] local.INFO: Processing buffer {"connection_id":110806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:02] local.INFO: IMEI packet received {"connection_id":110806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":110806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:40:07] local.INFO: TCP Data received {"connection_id":110806,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:07] local.INFO: Processing buffer {"connection_id":110806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:07] local.INFO: IMEI packet received {"connection_id":110806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":110806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:40:08] local.INFO: TCP Data received {"connection_id":110806,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:40:08] local.INFO: Processing buffer {"connection_id":110806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:40:08] local.INFO: Packet analysis {"connection_id":110806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:40:08] local.INFO: Extracted packet for processing {"connection_id":110806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:08] 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-06-23 09:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40:08] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:40:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":110806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:08] local.INFO: GPS data processed {"connection_id":110806,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:08] local.INFO: Acknowledgment sent {"connection_id":110806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:12] local.INFO: TCP Data received {"connection_id":110806,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:40:12] local.INFO: Processing buffer {"connection_id":110806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:40:12] local.INFO: Packet analysis {"connection_id":110806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:40:12] local.INFO: Extracted packet for processing {"connection_id":110806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:12] 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-06-23 09:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40:12] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":110806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:12] local.INFO: GPS data processed {"connection_id":110806,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:12] local.INFO: Acknowledgment sent {"connection_id":110806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:24] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a85678012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a85678012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:40:24] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a85678012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:40:24] local.INFO: Packet analysis {"connection_id":111429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:40:24] local.INFO: Extracted packet for processing {"connection_id":111429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240014848001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782187579000,"timestamp_ms":1782187579000,"timestamp_seconds":1782187579,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a85678"} 
[2026-06-23 09:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40:24] 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-06-23 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:24] 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-06-23 09:40: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-06-23 09:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240014848001,"66":12852,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240014848001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240014848001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":111429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:24] local.INFO: GPS data processed {"connection_id":111429,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:24] local.INFO: Acknowledgment sent {"connection_id":111429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:24] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:40:24] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:40:24] local.INFO: IMEI packet received {"connection_id":110808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":110808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:40:30] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:40:30] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:40:30] local.INFO: IMEI packet received {"connection_id":110808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":110808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:40:31] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:40:31] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:40:31] local.INFO: Packet analysis {"connection_id":110808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:40:31] local.INFO: Extracted packet for processing {"connection_id":110808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:40:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":110808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:31] local.INFO: GPS data processed {"connection_id":110808,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:31] local.INFO: Acknowledgment sent {"connection_id":110808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:34] local.INFO: TCP Data received {"connection_id":112370,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:34] local.INFO: Processing buffer {"connection_id":112370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:34] local.INFO: IMEI packet received {"connection_id":112370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":112370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:40:36] local.INFO: TCP Data received {"connection_id":112370,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:36] local.INFO: Processing buffer {"connection_id":112370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:36] local.INFO: IMEI packet received {"connection_id":112370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":112370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:40:37] local.INFO: TCP Data received {"connection_id":112370,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:37] local.INFO: Processing buffer {"connection_id":112370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:40:37] local.INFO: IMEI packet received {"connection_id":112370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":112370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:40:37] local.INFO: TCP Data received {"connection_id":112370,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2abc178012d0ce9000704c0b80023006120..."} 
[2026-06-23 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2abc178012d0ce9000704c0b80023006120..."} 
[2026-06-23 09:40:37] local.INFO: Processing buffer {"connection_id":112370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2abc178012d0ce9000704c0b80023006120..."} 
[2026-06-23 09:40:37] local.INFO: Packet analysis {"connection_id":112370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ab"} 
[2026-06-23 09:40:37] local.INFO: Extracted packet for processing {"connection_id":112370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ab"} 
[2026-06-23 09:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755820800,"raw_latitude":117751992,"longitude_deg":75.58208,"latitude_deg":11.7751992,"altitude":35,"angle":97,"satellites":32,"speed":12,"hex_longitude":"2d0ce900","hex_latitude":"0704c0b8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240076544001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21849185829519360,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929148928266315776,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:37] 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-06-23 09:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782187803000,"timestamp_ms":1782187803000,"timestamp_seconds":1782187803,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2abc178"} 
[2026-06-23 09:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:37] 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-06-23 09: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-06-23 09:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240076544001,"66":14363,"95":206,"94":10240,"24":12,"16":21849185829519360,"45":929148928266315776},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240076544001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21849185829519360,"km_value":21849185829519.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":929148928266315776,"description":"Unknown IO ID 45"} 
[2026-06-23 09:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240076544001,"power":14363,"unknown_95":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":929148928266315776}} 
[2026-06-23 09:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":112370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:37] local.INFO: GPS data processed {"connection_id":112370,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:37] local.INFO: Acknowledgment sent {"connection_id":112370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:38] local.INFO: TCP Data received {"connection_id":112370,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2abfc10012d0d0e400704bbd80024005420..."} 
[2026-06-23 09:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2abfc10012d0d0e400704bbd80024005420..."} 
[2026-06-23 09:40:38] local.INFO: Processing buffer {"connection_id":112370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2abfc10012d0d0e400704bbd80024005420..."} 
[2026-06-23 09:40:38] local.INFO: Packet analysis {"connection_id":112370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ab"} 
[2026-06-23 09:40:38] local.INFO: Extracted packet for processing {"connection_id":112370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ab"} 
[2026-06-23 09:40:38] local.INFO: GPS Element Parsed {"raw_longitude":755830336,"raw_latitude":117750744,"longitude_deg":75.5830336,"latitude_deg":11.7750744,"altitude":36,"angle":84,"satellites":32,"speed":33,"hex_longitude":"2d0d0e40","hex_latitude":"0704bbd8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240077568001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21849645391020032,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930274828173228032,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40: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-06-23 09:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782187818000,"timestamp_ms":1782187818000,"timestamp_seconds":1782187818,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2abfc10"} 
[2026-06-23 09:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40: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-06-23 09: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:38] 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-06-23 09: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-06-23 09:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112370,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240077568001,"66":14374,"95":206,"94":10240,"24":33,"16":21849645391020032,"45":930274828173228032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240077568001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:40:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21849645391020032,"km_value":21849645391020.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":930274828173228032,"description":"Unknown IO ID 45"} 
[2026-06-23 09:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240077568001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":930274828173228032}} 
[2026-06-23 09:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":112370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370037,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:38] local.INFO: GPS data processed {"connection_id":112370,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:38] local.INFO: Acknowledgment sent {"connection_id":112370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:43] local.INFO: TCP Data received {"connection_id":110809,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:40:43] local.INFO: Processing buffer {"connection_id":110809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:40:43] local.INFO: IMEI packet received {"connection_id":110809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":110809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:40:48] local.INFO: TCP Data received {"connection_id":110809,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:40:48] local.INFO: Processing buffer {"connection_id":110809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:40:48] local.INFO: IMEI packet received {"connection_id":110809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":110809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:40:48] local.INFO: TCP Data received {"connection_id":110809,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a8a880012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a8a880012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:40:48] local.INFO: Processing buffer {"connection_id":110809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a8a880012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:40:48] local.INFO: Packet analysis {"connection_id":110809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:40:48] local.INFO: Extracted packet for processing {"connection_id":110809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240020224001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187600000,"timestamp_ms":1782187600000,"timestamp_seconds":1782187600,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a8a880"} 
[2026-06-23 09:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-23 09:40:48] 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-06-23 09:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240020224001,"66":12841,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240020224001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:40:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240020224001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":110809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:40:49] local.INFO: GPS data processed {"connection_id":110809,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:40:49] local.INFO: Acknowledgment sent {"connection_id":110809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:40:57] local.INFO: TCP Data received {"connection_id":112371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:57] local.INFO: Processing buffer {"connection_id":112371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:40:57] local.INFO: IMEI packet received {"connection_id":112371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":112371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:41:02] local.INFO: TCP Data received {"connection_id":112371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:41:02] local.INFO: Processing buffer {"connection_id":112371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:41:02] local.INFO: IMEI packet received {"connection_id":112371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":112371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:41:03] local.INFO: TCP Data received {"connection_id":110808,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:41:03] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:41:03] local.INFO: Packet analysis {"connection_id":110808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:41:03] local.INFO: Extracted packet for processing {"connection_id":110808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":110808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:03] local.INFO: GPS data processed {"connection_id":110808,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:03] local.INFO: Acknowledgment sent {"connection_id":110808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:03] local.INFO: TCP Data received {"connection_id":112371,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:41:03] local.INFO: Processing buffer {"connection_id":112371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:41:03] local.INFO: Packet analysis {"connection_id":112371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:41:03] local.INFO: Extracted packet for processing {"connection_id":112371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:03] 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-06-23 09:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:03] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":112371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:03] local.INFO: GPS data processed {"connection_id":112371,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:03] local.INFO: Acknowledgment sent {"connection_id":112371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:15] local.INFO: TCP Data received {"connection_id":110643,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:15] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:15] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:41:16] local.INFO: TCP Data received {"connection_id":110643,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:16] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:16] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:41:20] local.INFO: TCP Data received {"connection_id":110809,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a8fa88012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a8fa88012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:41:20] local.INFO: Processing buffer {"connection_id":110809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a8fa88012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:41:20] local.INFO: Packet analysis {"connection_id":110809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:41:20] local.INFO: Extracted packet for processing {"connection_id":110809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240025600001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187621000,"timestamp_ms":1782187621000,"timestamp_seconds":1782187621,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a8fa88"} 
[2026-06-23 09:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:20] 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-06-23 09:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240025600001,"66":12819,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240025600001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240025600001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":110809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:20] local.INFO: GPS data processed {"connection_id":110809,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:20] local.INFO: Acknowledgment sent {"connection_id":110809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:21] local.INFO: TCP Data received {"connection_id":110643,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:21] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:41:21] local.INFO: IMEI packet received {"connection_id":110643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":110643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:41:21] local.INFO: TCP Data received {"connection_id":110643,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2abfc10012d0d0e400704bbd80024005420..."} 
[2026-06-23 09:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2abfc10012d0d0e400704bbd80024005420..."} 
[2026-06-23 09:41:21] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2abfc10012d0d0e400704bbd80024005420..."} 
[2026-06-23 09:41:21] local.INFO: Packet analysis {"connection_id":110643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ab"} 
[2026-06-23 09:41:21] local.INFO: Extracted packet for processing {"connection_id":110643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ab"} 
[2026-06-23 09:41:21] local.INFO: GPS Element Parsed {"raw_longitude":755830336,"raw_latitude":117750744,"longitude_deg":75.5830336,"latitude_deg":11.7750744,"altitude":36,"angle":84,"satellites":32,"speed":33,"hex_longitude":"2d0d0e40","hex_latitude":"0704bbd8","is_valid_coordinates":true} 
[2026-06-23 09:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240081408001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21849645391020032,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":940759771055380480,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:21] 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-06-23 09:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782187818000,"timestamp_ms":1782187818000,"timestamp_seconds":1782187818,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2abfc10"} 
[2026-06-23 09:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:21] 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-06-23 09:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240081408001,"66":14374,"95":206,"94":10240,"24":33,"16":21849645391020032,"45":940759771055380480},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240081408001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:41:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21849645391020032,"km_value":21849645391020.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":940759771055380480,"description":"Unknown IO ID 45"} 
[2026-06-23 09:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240081408001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":940759771055380480}} 
[2026-06-23 09:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":110643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:21] local.INFO: GPS data processed {"connection_id":110643,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:21] local.INFO: Acknowledgment sent {"connection_id":110643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:24] local.INFO: TCP Data received {"connection_id":110810,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:41:24] local.INFO: Processing buffer {"connection_id":110810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:41:24] local.INFO: IMEI packet received {"connection_id":110810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":110810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:41:29] local.INFO: TCP Data received {"connection_id":110810,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:41:29] local.INFO: Processing buffer {"connection_id":110810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:41:29] local.INFO: IMEI packet received {"connection_id":110810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":110810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:41:31] local.INFO: TCP Data received {"connection_id":110810,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:41:31] local.INFO: Processing buffer {"connection_id":110810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:41:31] local.INFO: Packet analysis {"connection_id":110810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:41:31] local.INFO: Extracted packet for processing {"connection_id":110810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:41:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:31] local.INFO: GPS data processed {"connection_id":110810,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:31] local.INFO: Acknowledgment sent {"connection_id":110810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:35] local.INFO: TCP Data received {"connection_id":112371,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:41:35] local.INFO: Processing buffer {"connection_id":112371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:41:35] local.INFO: Packet analysis {"connection_id":112371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:41:35] local.INFO: Extracted packet for processing {"connection_id":112371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:41:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:35] 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-06-23 09:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41: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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":112371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:35] local.INFO: GPS data processed {"connection_id":112371,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:35] local.INFO: Acknowledgment sent {"connection_id":112371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:43] local.INFO: TCP Data received {"connection_id":110644,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:41:43] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:41:43] local.INFO: IMEI packet received {"connection_id":110644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":110644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:41:48] local.INFO: TCP Data received {"connection_id":110644,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:41:48] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:41:48] local.INFO: IMEI packet received {"connection_id":110644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":110644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:41:49] local.INFO: TCP Data received {"connection_id":110644,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a94c90012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a94c90012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:41:49] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a94c90012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:41:49] local.INFO: Packet analysis {"connection_id":110644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a9"} 
[2026-06-23 09:41:49] local.INFO: Extracted packet for processing {"connection_id":110644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a9"} 
[2026-06-23 09:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240030976001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782187642000,"timestamp_ms":1782187642000,"timestamp_seconds":1782187642,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a94c90"} 
[2026-06-23 09:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4071034456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503659785879552,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":242,"raw_value":-6433277713437857600,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4251661935327904000,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":72,"raw_value":17734109665165312,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182092270665984,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300855625527137324,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,1,158,168,45,192,238,63,42,10,66,86,43,4,240,227,242,31,113,205,96,104,72,40,239,50,2,14,7,164,186,69],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-06-23 09:41:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932074282319872,"timestamp_seconds":4539932074282320.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240030976001,"66":12645,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240030976001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240030976001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":110644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:49] local.INFO: GPS data processed {"connection_id":110644,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:49] local.INFO: Acknowledgment sent {"connection_id":110644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:52] local.INFO: TCP Data received {"connection_id":110643,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad2108012d0d37c007047cf0001d00ba23..."} 
[2026-06-23 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad2108012d0d37c007047cf0001d00ba23..."} 
[2026-06-23 09:41:52] local.INFO: Processing buffer {"connection_id":110643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad2108012d0d37c007047cf0001d00ba23..."} 
[2026-06-23 09:41:52] local.INFO: Packet analysis {"connection_id":110643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:41:52] local.INFO: Extracted packet for processing {"connection_id":110643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117734640,"longitude_deg":75.584096,"latitude_deg":11.773464,"altitude":29,"angle":186,"satellites":35,"speed":10,"hex_longitude":"2d0d37c0","hex_latitude":"07047cf0","is_valid_coordinates":true} 
[2026-06-23 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240095488001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21850976830881792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301283733504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:41:52] 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-06-23 09:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782187893000,"timestamp_ms":1782187893000,"timestamp_seconds":1782187893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad2108"} 
[2026-06-23 09:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-23 09:41:52] 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-06-23 09:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240095488001,"66":14537,"17":206,"94":11008,"24":10,"16":21850976830881792,"45":953074301283733504},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240095488001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:41:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21850976830881792,"km_value":21850976830881.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301283733504,"description":"Unknown IO ID 45"} 
[2026-06-23 09:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240095488001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953074301283733504}} 
[2026-06-23 09:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":110643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:41:52] local.INFO: GPS data processed {"connection_id":110643,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:41:52] local.INFO: Acknowledgment sent {"connection_id":110643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:41:57] local.INFO: TCP Data received {"connection_id":110645,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:41:57] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:41:57] local.INFO: IMEI packet received {"connection_id":110645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":110645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:42:02] local.INFO: TCP Data received {"connection_id":110645,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:42:02] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:42:02] local.INFO: IMEI packet received {"connection_id":110645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":110645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:42:02] local.INFO: TCP Data received {"connection_id":110810,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:42:02] local.INFO: Processing buffer {"connection_id":110810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a879a0012cb29b8007823df8004a00cf25..."} 
[2026-06-23 09:42:02] local.INFO: Packet analysis {"connection_id":110810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:42:02] local.INFO: Extracted packet for processing {"connection_id":110810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a8"} 
[2026-06-23 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239945472001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782187588000,"timestamp_ms":1782187588000,"timestamp_seconds":1782187588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a879a0"} 
[2026-06-23 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239945472001,"66":26039,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239945472001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239945472001,"power":26039,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":110810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:02] local.INFO: GPS data processed {"connection_id":110810,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:02] local.INFO: Acknowledgment sent {"connection_id":110810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:03] local.INFO: TCP Data received {"connection_id":110645,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:42:03] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:42:03] local.INFO: Packet analysis {"connection_id":110645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:42:03] local.INFO: Extracted packet for processing {"connection_id":110645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:03] 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-06-23 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 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-06-23 09:42:03] 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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":110645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:03] local.INFO: GPS data processed {"connection_id":110645,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:03] local.INFO: Acknowledgment sent {"connection_id":110645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:12] local.INFO: TCP Data received {"connection_id":110811,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:42:12] local.INFO: Processing buffer {"connection_id":110811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:42:12] local.INFO: IMEI packet received {"connection_id":110811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":110811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:42:16] local.INFO: TCP Data received {"connection_id":111430,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:42:16] local.INFO: Processing buffer {"connection_id":111430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:42:16] local.INFO: IMEI packet received {"connection_id":111430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":111430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:42:20] local.INFO: TCP Data received {"connection_id":111430,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111430,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:42:20] local.INFO: Processing buffer {"connection_id":111430,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:42:20] local.INFO: IMEI packet received {"connection_id":111430,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":111430,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:42:20] local.INFO: TCP Data received {"connection_id":110644,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a99e98012d1968c0071fee48003f011428..."} 
[2026-06-23 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a99e98012d1968c0071fee48003f011428..."} 
[2026-06-23 09:42:20] local.INFO: Processing buffer {"connection_id":110644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a99e98012d1968c0071fee48003f011428..."} 
[2026-06-23 09:42:20] local.INFO: Packet analysis {"connection_id":110644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a9"} 
[2026-06-23 09:42:20] local.INFO: Extracted packet for processing {"connection_id":110644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a9"} 
[2026-06-23 09:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240036352001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187663000,"timestamp_ms":1782187663000,"timestamp_seconds":1782187663,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a99e98"} 
[2026-06-23 09:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42:20] 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-06-23 09:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240036352001,"66":12798,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240036352001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240036352001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":110644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:20] local.INFO: GPS data processed {"connection_id":110644,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:20] local.INFO: Acknowledgment sent {"connection_id":110644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:20] local.INFO: TCP Data received {"connection_id":111430,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad4430012d0d36c007047360001c00c623..."} 
[2026-06-23 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad4430012d0d36c007047360001c00c623..."} 
[2026-06-23 09:42:20] local.INFO: Processing buffer {"connection_id":111430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad4430012d0d36c007047360001c00c623..."} 
[2026-06-23 09:42:20] local.INFO: Packet analysis {"connection_id":111430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:20] local.INFO: Extracted packet for processing {"connection_id":111430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:20] local.INFO: GPS Element Parsed {"raw_longitude":755840704,"raw_latitude":117732192,"longitude_deg":75.5840704,"latitude_deg":11.7732192,"altitude":28,"angle":198,"satellites":35,"speed":15,"hex_longitude":"2d0d36c0","hex_latitude":"07047360","is_valid_coordinates":true} 
[2026-06-23 09:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240100608001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21851097089966080,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982584750080,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:20] 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-06-23 09:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187902000,"timestamp_ms":1782187902000,"timestamp_seconds":1782187902,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad4430"} 
[2026-06-23 09:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42: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-06-23 09:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240100608001,"66":13580,"17":206,"94":11008,"24":15,"16":21851097089966080,"45":952440982584750080},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240100608001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21851097089966080,"km_value":21851097089966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982584750080,"description":"Unknown IO ID 45"} 
[2026-06-23 09:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240100608001,"power":13580,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":952440982584750080}} 
[2026-06-23 09:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":111430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:20] local.INFO: GPS data processed {"connection_id":111430,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:20] local.INFO: Acknowledgment sent {"connection_id":111430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:30] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:42:30] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:42:30] local.INFO: IMEI packet received {"connection_id":110812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":110812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:42:34] local.INFO: TCP Data received {"connection_id":110645,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:42:34] local.INFO: Processing buffer {"connection_id":110645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:42:34] local.INFO: Packet analysis {"connection_id":110645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:42:34] local.INFO: Extracted packet for processing {"connection_id":110645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42: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-06-23 09:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 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-06-23 09:42: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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:42:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":110645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:34] local.INFO: GPS data processed {"connection_id":110645,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:34] local.INFO: Acknowledgment sent {"connection_id":110645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:35] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:42:35] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:42:35] local.INFO: IMEI packet received {"connection_id":110812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":110812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:42:37] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:42:37] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:42:37] local.INFO: Packet analysis {"connection_id":110812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:37] local.INFO: Extracted packet for processing {"connection_id":110812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:42:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":110812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:37] local.INFO: GPS data processed {"connection_id":110812,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:37] local.INFO: Acknowledgment sent {"connection_id":110812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:41] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:42:41] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:42:41] local.INFO: Packet analysis {"connection_id":110812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:41] local.INFO: Extracted packet for processing {"connection_id":110812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:42:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":110812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:41] local.INFO: GPS data processed {"connection_id":110812,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:41] local.INFO: Acknowledgment sent {"connection_id":110812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:42] local.INFO: TCP Data received {"connection_id":110646,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:42:42] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:42:42] local.INFO: IMEI packet received {"connection_id":110646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":110646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:42:48] local.INFO: TCP Data received {"connection_id":110646,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:42:48] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:42:48] local.INFO: IMEI packet received {"connection_id":110646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":110646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:42:48] local.INFO: TCP Data received {"connection_id":110646,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2a9f0a0012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2a9f0a0012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:42:48] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2a9f0a0012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:42:48] local.INFO: Packet analysis {"connection_id":110646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2a9"} 
[2026-06-23 09:42:48] local.INFO: Extracted packet for processing {"connection_id":110646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2a9"} 
[2026-06-23 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240041728001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187684000,"timestamp_ms":1782187684000,"timestamp_seconds":1782187684,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2a9f0a0"} 
[2026-06-23 09:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240041728001,"66":12722,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240041728001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240041728001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":110646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:49] local.INFO: GPS data processed {"connection_id":110646,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:49] local.INFO: Acknowledgment sent {"connection_id":110646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:51] local.INFO: TCP Data received {"connection_id":111430,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad5f88012d0d338007046868001d00b822..."} 
[2026-06-23 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad5f88012d0d338007046868001d00b822..."} 
[2026-06-23 09:42:51] local.INFO: Processing buffer {"connection_id":111430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad5f88012d0d338007046868001d00b822..."} 
[2026-06-23 09:42:51] local.INFO: Packet analysis {"connection_id":111430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:51] local.INFO: Extracted packet for processing {"connection_id":111430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755839872,"raw_latitude":117729384,"longitude_deg":75.5839872,"latitude_deg":11.7729384,"altitude":29,"angle":184,"satellites":34,"speed":15,"hex_longitude":"2d0d3380","hex_latitude":"07046868","is_valid_coordinates":true} 
[2026-06-23 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240102912001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21851243118854144,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952159507607412736,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] 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-06-23 09:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782187909000,"timestamp_ms":1782187909000,"timestamp_seconds":1782187909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad5f88"} 
[2026-06-23 09:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:42: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-06-23 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533472,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4071379456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2892591105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638568940219153,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2870018254,"corrected_to":0} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3489737997,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422158320514944606,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2695364608,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4125304975594618914,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-06-23 09:42:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,17,94,24,241,157,16,161,158,33,45,192,124,29,35,10,66,210,146,34,183,1,240,27,227,242,4,113,205,15,89,59,239,56,2,77,7,5,13,43],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2870018254,"validated":0}]} 
[2026-06-23 09:42:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017830486689120256,"timestamp_seconds":2017830486689120.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111430,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240102912001,"66":14515,"17":206,"94":11008,"24":15,"16":21851243118854144,"45":952159507607412736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240102912001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21851243118854144,"km_value":21851243118854.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":952159507607412736,"description":"Unknown IO ID 45"} 
[2026-06-23 09:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240102912001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":952159507607412736}} 
[2026-06-23 09:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":111430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:42:51] local.INFO: GPS data processed {"connection_id":111430,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:42:51] local.INFO: Acknowledgment sent {"connection_id":111430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:42:57] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:42:57] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:42:57] local.INFO: IMEI packet received {"connection_id":111431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":111431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:43:02] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:43:02] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:43:02] local.INFO: IMEI packet received {"connection_id":111431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":111431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:43:04] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:43:04] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aa0428012d7ceb0005ec3c080005004b2a..."} 
[2026-06-23 09:43:04] local.INFO: Packet analysis {"connection_id":111431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:43:04] local.INFO: Extracted packet for processing {"connection_id":111431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2aa"} 
[2026-06-23 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":42,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456239971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:04] 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-06-23 09:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782187689000,"timestamp_ms":1782187689000,"timestamp_seconds":1782187689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aa0428"} 
[2026-06-23 09:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43: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-06-23 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:43:04] 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-06-23 09:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456239971328001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456239971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:43:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456239971328001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":111431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:04] local.INFO: GPS data processed {"connection_id":111431,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:04] local.INFO: Acknowledgment sent {"connection_id":111431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:16] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:43:16] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:43:16] local.INFO: IMEI packet received {"connection_id":111432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":111432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:43:18] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:43:18] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:43:18] local.INFO: IMEI packet received {"connection_id":111432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":111432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:43:19] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad6f28012d0d328007046250001d00c922..."} 
[2026-06-23 09:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad6f28012d0d328007046250001d00c922..."} 
[2026-06-23 09:43:19] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad6f28012d0d328007046250001d00c922..."} 
[2026-06-23 09:43:19] local.INFO: Packet analysis {"connection_id":111432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:19] local.INFO: Extracted packet for processing {"connection_id":111432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":755839616,"raw_latitude":117727824,"longitude_deg":75.5839616,"latitude_deg":11.7727824,"altitude":29,"angle":201,"satellites":34,"speed":12,"hex_longitude":"2d0d3280","hex_latitude":"07046250","is_valid_coordinates":true} 
[2026-06-23 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240104704001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21851320428265472,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951244713932384256,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43: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-06-23 09:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187913000,"timestamp_ms":1782187913000,"timestamp_seconds":1782187913,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad6f28"} 
[2026-06-23 09:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:19] 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-06-23 09:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240104704001,"66":14439,"17":206,"94":11008,"24":12,"16":21851320428265472,"45":951244713932384256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240104704001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21851320428265472,"km_value":21851320428265.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":951244713932384256,"description":"Unknown IO ID 45"} 
[2026-06-23 09:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240104704001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":951244713932384256}} 
[2026-06-23 09:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":111432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:19] local.INFO: GPS data processed {"connection_id":111432,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:19] local.INFO: Acknowledgment sent {"connection_id":111432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:20] local.INFO: TCP Data received {"connection_id":110646,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad76f8012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad76f8012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:43:20] local.INFO: Processing buffer {"connection_id":110646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad76f8012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:43:20] local.INFO: Packet analysis {"connection_id":110646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:20] local.INFO: Extracted packet for processing {"connection_id":110646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240100864001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782187915000,"timestamp_ms":1782187915000,"timestamp_seconds":1782187915,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad76f8"} 
[2026-06-23 09:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:20] 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-06-23 09:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:20] 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-06-23 09:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240100864001,"66":12602,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240100864001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240100864001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":110646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:20] local.INFO: GPS data processed {"connection_id":110646,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:20] local.INFO: Acknowledgment sent {"connection_id":110646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:25] local.INFO: TCP Data received {"connection_id":110813,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:43:25] local.INFO: Processing buffer {"connection_id":110813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:43:25] local.INFO: IMEI packet received {"connection_id":110813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":110813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:43:29] local.INFO: TCP Data received {"connection_id":110813,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:43:29] local.INFO: Processing buffer {"connection_id":110813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:43:29] local.INFO: IMEI packet received {"connection_id":110813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:43:30] local.INFO: TCP Data received {"connection_id":110813,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:43:30] local.INFO: Processing buffer {"connection_id":110813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:43:30] local.INFO: Packet analysis {"connection_id":110813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:30] local.INFO: Extracted packet for processing {"connection_id":110813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:43:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":110813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:30] local.INFO: GPS data processed {"connection_id":110813,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:30] local.INFO: Acknowledgment sent {"connection_id":110813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:35] local.INFO: TCP Data received {"connection_id":110813,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:43:35] local.INFO: Processing buffer {"connection_id":110813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:43:35] local.INFO: Packet analysis {"connection_id":110813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:35] local.INFO: Extracted packet for processing {"connection_id":110813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":110813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:35] local.INFO: GPS data processed {"connection_id":110813,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:35] local.INFO: Acknowledgment sent {"connection_id":110813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:35] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:43:35] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:43:35] local.INFO: Packet analysis {"connection_id":111431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:43:35] local.INFO: Extracted packet for processing {"connection_id":111431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:35] 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-06-23 09:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 09:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:43:35] 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-06-23 09:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":111431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:35] local.INFO: GPS data processed {"connection_id":111431,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:35] local.INFO: Acknowledgment sent {"connection_id":111431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:42] local.INFO: TCP Data received {"connection_id":112373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:43:42] local.INFO: Processing buffer {"connection_id":112373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:43:42] local.INFO: IMEI packet received {"connection_id":112373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":112373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:43:48] local.INFO: TCP Data received {"connection_id":112373,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:43:48] local.INFO: Processing buffer {"connection_id":112373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:43:48] local.INFO: IMEI packet received {"connection_id":112373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":112373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:43:48] local.INFO: TCP Data received {"connection_id":112373,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2adc900012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2adc900012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:43:48] local.INFO: Processing buffer {"connection_id":112373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2adc900012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:43:48] local.INFO: Packet analysis {"connection_id":112373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:48] local.INFO: Extracted packet for processing {"connection_id":112373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240106240001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187936000,"timestamp_ms":1782187936000,"timestamp_seconds":1782187936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2adc900"} 
[2026-06-23 09:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:48] 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-06-23 09:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240106240001,"66":12591,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240106240001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240106240001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":112373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:48] local.INFO: GPS data processed {"connection_id":112373,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:48] local.INFO: Acknowledgment sent {"connection_id":112373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:43:50] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2af1120012d0d27c007043d08001a002323..."} 
[2026-06-23 09:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2af1120012d0d27c007043d08001a002323..."} 
[2026-06-23 09:43:50] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2af1120012d0d27c007043d08001a002323..."} 
[2026-06-23 09:43:50] local.INFO: Packet analysis {"connection_id":111432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:43:50] local.INFO: Extracted packet for processing {"connection_id":111432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:43:50] local.INFO: GPS Element Parsed {"raw_longitude":755836864,"raw_latitude":117718280,"longitude_deg":75.5836864,"latitude_deg":11.771828,"altitude":26,"angle":35,"satellites":35,"speed":6,"hex_longitude":"2d0d27c0","hex_latitude":"07043d08","is_valid_coordinates":true} 
[2026-06-23 09:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240129024001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21852003328065536,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947937382953082880,"note":"Value kept but may cause issues"} 
[2026-06-23 09:43: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-06-23 09:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782188020000,"timestamp_ms":1782188020000,"timestamp_seconds":1782188020,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2af1120"} 
[2026-06-23 09:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-23 09:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240129024001,"66":14374,"17":206,"94":11008,"24":6,"16":21852003328065536,"45":947937382953082880},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240129024001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:43:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21852003328065536,"km_value":21852003328065.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":947937382953082880,"description":"Unknown IO ID 45"} 
[2026-06-23 09:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240129024001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":947937382953082880}} 
[2026-06-23 09:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":111432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:43:50] local.INFO: GPS data processed {"connection_id":111432,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:43:50] local.INFO: Acknowledgment sent {"connection_id":111432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:02] local.INFO: TCP Data received {"connection_id":112374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:02] local.INFO: Processing buffer {"connection_id":112374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:02] local.INFO: IMEI packet received {"connection_id":112374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":112374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:44:06] local.INFO: TCP Data received {"connection_id":110813,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:06] local.INFO: Processing buffer {"connection_id":110813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:06] local.INFO: Packet analysis {"connection_id":110813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:44:06] local.INFO: Extracted packet for processing {"connection_id":110813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:44:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":110813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:06] local.INFO: GPS data processed {"connection_id":110813,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:06] local.INFO: Acknowledgment sent {"connection_id":110813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:07] local.INFO: TCP Data received {"connection_id":112374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:07] local.INFO: Processing buffer {"connection_id":112374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:07] local.INFO: IMEI packet received {"connection_id":112374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":112374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:44:08] local.INFO: TCP Data received {"connection_id":112374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:44:08] local.INFO: Processing buffer {"connection_id":112374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:44:08] local.INFO: Packet analysis {"connection_id":112374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:08] local.INFO: Extracted packet for processing {"connection_id":112374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:08] 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-06-23 09:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 09:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:44:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":112374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:08] local.INFO: GPS data processed {"connection_id":112374,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:08] local.INFO: Acknowledgment sent {"connection_id":112374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:12] local.INFO: TCP Data received {"connection_id":112374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:44:12] local.INFO: Processing buffer {"connection_id":112374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:44:12] local.INFO: Packet analysis {"connection_id":112374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:12] local.INFO: Extracted packet for processing {"connection_id":112374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:12] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:12] 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-06-23 09:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 09:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":112374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":112374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":112374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":112374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:12] local.INFO: GPS data processed {"connection_id":112374,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:12] local.INFO: Acknowledgment sent {"connection_id":112374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:13] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:13] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:13] local.INFO: IMEI packet received {"connection_id":111433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":111433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:44:16] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:16] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:16] local.INFO: IMEI packet received {"connection_id":111433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":111433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:44:19] local.INFO: TCP Data received {"connection_id":112373,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae1b08012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae1b08012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:44:19] local.INFO: Processing buffer {"connection_id":112373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae1b08012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:44:19] local.INFO: Packet analysis {"connection_id":112373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:19] local.INFO: Extracted packet for processing {"connection_id":112373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240111616001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187957000,"timestamp_ms":1782187957000,"timestamp_seconds":1782187957,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae1b08"} 
[2026-06-23 09:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240111616001,"66":12591,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240111616001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240111616001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":112373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:19] local.INFO: GPS data processed {"connection_id":112373,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:19] local.INFO: Acknowledgment sent {"connection_id":112373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:21] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:21] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:44:21] local.INFO: IMEI packet received {"connection_id":111433,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":111433,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:44:22] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2af1cd8012d0d290007044000001a001422..."} 
[2026-06-23 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2af1cd8012d0d290007044000001a001422..."} 
[2026-06-23 09:44:22] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2af1cd8012d0d290007044000001a001422..."} 
[2026-06-23 09:44:22] local.INFO: Packet analysis {"connection_id":111433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:44:22] local.INFO: Extracted packet for processing {"connection_id":111433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117719040,"longitude_deg":75.5837184,"latitude_deg":11.771904,"altitude":26,"angle":20,"satellites":34,"speed":12,"hex_longitude":"2d0d2900","hex_latitude":"07044000","is_valid_coordinates":true} 
[2026-06-23 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240133120001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21852041982771200,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947937382953191424,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782188023000,"timestamp_ms":1782188023000,"timestamp_seconds":1782188023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2af1cd8"} 
[2026-06-23 09:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240133120001,"66":14309,"17":206,"94":11008,"24":12,"16":21852041982771200,"45":947937382953191424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240133120001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21852041982771200,"km_value":21852041982771.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":947937382953191424,"description":"Unknown IO ID 45"} 
[2026-06-23 09:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240133120001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":947937382953191424}} 
[2026-06-23 09:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":111433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:22] local.INFO: GPS data processed {"connection_id":111433,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:22] local.INFO: Acknowledgment sent {"connection_id":111433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:27] local.INFO: TCP Data received {"connection_id":111434,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:44:27] local.INFO: Processing buffer {"connection_id":111434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:44:27] local.INFO: IMEI packet received {"connection_id":111434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":111434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:44:29] local.INFO: TCP Data received {"connection_id":111434,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:44:29] local.INFO: Processing buffer {"connection_id":111434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:44:29] local.INFO: IMEI packet received {"connection_id":111434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":111434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:44:31] local.INFO: TCP Data received {"connection_id":111434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:31] local.INFO: Processing buffer {"connection_id":111434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:31] local.INFO: Packet analysis {"connection_id":111434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:44:31] local.INFO: Extracted packet for processing {"connection_id":111434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:44:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:44:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":111434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:31] local.INFO: GPS data processed {"connection_id":111434,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:31] local.INFO: Acknowledgment sent {"connection_id":111434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:35] local.INFO: TCP Data received {"connection_id":111434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:35] local.INFO: Processing buffer {"connection_id":111434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:44:35] local.INFO: Packet analysis {"connection_id":111434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:44:35] local.INFO: Extracted packet for processing {"connection_id":111434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":111434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:35] local.INFO: GPS data processed {"connection_id":111434,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:35] local.INFO: Acknowledgment sent {"connection_id":111434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:42] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:44:42] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:44:42] local.INFO: IMEI packet received {"connection_id":110648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":110648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:44:48] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:44:48] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:44:48] local.INFO: IMEI packet received {"connection_id":110648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":110648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:44:48] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae6d10012d1968c0071fee48003f01142e..."} 
[2026-06-23 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae6d10012d1968c0071fee48003f01142e..."} 
[2026-06-23 09:44:48] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae6d10012d1968c0071fee48003f01142e..."} 
[2026-06-23 09:44:48] local.INFO: Packet analysis {"connection_id":110648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:48] local.INFO: Extracted packet for processing {"connection_id":110648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":46,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240116992001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782187978000,"timestamp_ms":1782187978000,"timestamp_seconds":1782187978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae6d10"} 
[2026-06-23 09:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240116992001,"66":12558,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240116992001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240116992001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":110648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:48] local.INFO: GPS data processed {"connection_id":110648,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:48] local.INFO: Acknowledgment sent {"connection_id":110648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:53] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2afd858012d0d3580070474a0001f000922..."} 
[2026-06-23 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2afd858012d0d3580070474a0001f000922..."} 
[2026-06-23 09:44:53] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2afd858012d0d3580070474a0001f000922..."} 
[2026-06-23 09:44:53] local.INFO: Packet analysis {"connection_id":111433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:44:53] local.INFO: Extracted packet for processing {"connection_id":111433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":755840384,"raw_latitude":117732512,"longitude_deg":75.5840384,"latitude_deg":11.7732512,"altitude":31,"angle":9,"satellites":34,"speed":13,"hex_longitude":"2d0d3580","hex_latitude":"070474a0","is_valid_coordinates":true} 
[2026-06-23 09:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240145152001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21852724882571264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951103976444432384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:44: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-06-23 09:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188071000,"timestamp_ms":1782188071000,"timestamp_seconds":1782188071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2afd858"} 
[2026-06-23 09:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:44: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-06-23 09:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:44:53] 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-06-23 09:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111433,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240145152001,"66":14450,"17":206,"94":11008,"24":13,"16":21852724882571264,"45":951103976444432384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240145152001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:44:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21852724882571264,"km_value":21852724882571.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":951103976444432384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240145152001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":951103976444432384}} 
[2026-06-23 09:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":111433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370072,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:44:53] local.INFO: GPS data processed {"connection_id":111433,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:44:53] local.INFO: Acknowledgment sent {"connection_id":111433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:44:57] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:57] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:44:57] local.INFO: IMEI packet received {"connection_id":111435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":111435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:45:02] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:45:02] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:45:02] local.INFO: IMEI packet received {"connection_id":111435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":111435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:45:03] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:45:03] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:45:03] local.INFO: Packet analysis {"connection_id":111435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:45:03] local.INFO: Extracted packet for processing {"connection_id":111435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:03] 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-06-23 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 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-06-23 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:45:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":111435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:03] local.INFO: GPS data processed {"connection_id":111435,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:03] local.INFO: Acknowledgment sent {"connection_id":111435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:07] local.INFO: TCP Data received {"connection_id":111434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:45:07] local.INFO: Processing buffer {"connection_id":111434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:45:07] local.INFO: Packet analysis {"connection_id":111434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:45:07] local.INFO: Extracted packet for processing {"connection_id":111434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 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-06-23 09:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:45:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":111434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:07] local.INFO: GPS data processed {"connection_id":111434,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:07] local.INFO: Acknowledgment sent {"connection_id":111434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:16] local.INFO: TCP Data received {"connection_id":111436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:16] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:16] local.INFO: IMEI packet received {"connection_id":111436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":111436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:45:16] local.INFO: TCP Data received {"connection_id":111436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:16] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:16] local.INFO: IMEI packet received {"connection_id":111436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":111436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:45:19] local.INFO: TCP Data received {"connection_id":110648,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2aebf18012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2aebf18012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:45:19] local.INFO: Processing buffer {"connection_id":110648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2aebf18012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:45:19] local.INFO: Packet analysis {"connection_id":110648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:45:19] local.INFO: Extracted packet for processing {"connection_id":110648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240122368001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782187999000,"timestamp_ms":1782187999000,"timestamp_seconds":1782187999,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2aebf18"} 
[2026-06-23 09:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066184,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4071391456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2904879105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":61,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,1,158,27,45,192,238,63,10,66,201,44,118,240,58,227,242,31,4,113,205,210,104,72,239,49,2,14,7,120,61,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 09:45:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932087167221760,"timestamp_seconds":4539932087167222.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240122368001,"66":12558,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240122368001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240122368001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":110648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:20] local.INFO: GPS data processed {"connection_id":110648,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:20] local.INFO: Acknowledgment sent {"connection_id":110648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:21] local.INFO: TCP Data received {"connection_id":111436,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:21] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:45:21] local.INFO: IMEI packet received {"connection_id":111436,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":111436,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:45:22] local.INFO: TCP Data received {"connection_id":111436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2afe028012d0d35c0070476d8001f016722..."} 
[2026-06-23 09:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2afe028012d0d35c0070476d8001f016722..."} 
[2026-06-23 09:45:22] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2afe028012d0d35c0070476d8001f016722..."} 
[2026-06-23 09:45:22] local.INFO: Packet analysis {"connection_id":111436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:45:22] local.INFO: Extracted packet for processing {"connection_id":111436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:45:22] local.INFO: GPS Element Parsed {"raw_longitude":755840448,"raw_latitude":117733080,"longitude_deg":75.5840448,"latitude_deg":11.773308,"altitude":31,"angle":359,"satellites":34,"speed":10,"hex_longitude":"2d0d35c0","hex_latitude":"070476d8","is_valid_coordinates":true} 
[2026-06-23 09:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240146176001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21852754947342336,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951807663886606336,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782188073000,"timestamp_ms":1782188073000,"timestamp_seconds":1782188073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2afe028"} 
[2026-06-23 09:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:45: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-06-23 09:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:45: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-06-23 09:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240146176001,"66":14439,"17":206,"94":11008,"24":10,"16":21852754947342336,"45":951807663886606336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240146176001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21852754947342336,"km_value":21852754947342.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":951807663886606336,"description":"Unknown IO ID 45"} 
[2026-06-23 09:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240146176001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":951807663886606336}} 
[2026-06-23 09:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":111436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370076,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:22] local.INFO: GPS data processed {"connection_id":111436,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:22] local.INFO: Acknowledgment sent {"connection_id":111436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:24] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:45:24] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:45:24] local.INFO: IMEI packet received {"connection_id":110815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":110815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:45:30] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:45:30] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:45:30] local.INFO: IMEI packet received {"connection_id":110815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":110815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:45:31] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:45:31] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:45:31] local.INFO: Packet analysis {"connection_id":110815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:45:31] local.INFO: Extracted packet for processing {"connection_id":110815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:45:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":110815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:31] local.INFO: GPS data processed {"connection_id":110815,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:31] local.INFO: Acknowledgment sent {"connection_id":110815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:35] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:45:35] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:45:35] local.INFO: Packet analysis {"connection_id":111435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:45:35] local.INFO: Extracted packet for processing {"connection_id":111435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:35] 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-06-23 09:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 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-06-23 09:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:45:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":111435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:35] local.INFO: GPS data processed {"connection_id":111435,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:35] local.INFO: Acknowledgment sent {"connection_id":111435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:42] local.INFO: TCP Data received {"connection_id":110649,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:45:42] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:45:42] local.INFO: IMEI packet received {"connection_id":110649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":110649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:45:48] local.INFO: TCP Data received {"connection_id":110649,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:45:48] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:45:48] local.INFO: IMEI packet received {"connection_id":110649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":110649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:45:48] local.INFO: TCP Data received {"connection_id":110649,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2af1120012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2af1120012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:45:48] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2af1120012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:45:48] local.INFO: Packet analysis {"connection_id":110649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:45:48] local.INFO: Extracted packet for processing {"connection_id":110649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240127744001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188020000,"timestamp_ms":1782188020000,"timestamp_seconds":1782188020,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2af1120"} 
[2026-06-23 09:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066184,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4071412456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2910255105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":61,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,1,158,109,45,192,238,63,46,10,66,27,201,240,47,227,242,31,4,113,205,36,104,72,44,239,49,2,14,7,120,61,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 09:45:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932082872254464,"timestamp_seconds":4539932082872254.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240127744001,"66":12558,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240127744001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240127744001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":110649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:48] local.INFO: GPS data processed {"connection_id":110649,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:48] local.INFO: Acknowledgment sent {"connection_id":110649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:53] local.INFO: TCP Data received {"connection_id":111436,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b00f08012d0d36c0070481c80020000f22..."} 
[2026-06-23 09:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b00f08012d0d36c0070481c80020000f22..."} 
[2026-06-23 09:45:53] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b00f08012d0d36c0070481c80020000f22..."} 
[2026-06-23 09:45:53] local.INFO: Packet analysis {"connection_id":111436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:45:53] local.INFO: Extracted packet for processing {"connection_id":111436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:45:53] local.INFO: GPS Element Parsed {"raw_longitude":755840704,"raw_latitude":117735880,"longitude_deg":75.5840704,"latitude_deg":11.773588,"altitude":32,"angle":15,"satellites":34,"speed":6,"hex_longitude":"2d0d36c0","hex_latitude":"070481c8","is_valid_coordinates":true} 
[2026-06-23 09:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240146688001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21852892386295808,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951878032630929408,"note":"Value kept but may cause issues"} 
[2026-06-23 09:45: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-06-23 09:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188085000,"timestamp_ms":1782188085000,"timestamp_seconds":1782188085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b00f08"} 
[2026-06-23 09:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:45: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-06-23 09:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 09:45:53] 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-06-23 09:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111436,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240146688001,"66":14428,"17":206,"94":11008,"24":6,"16":21852892386295808,"45":951878032630929408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240146688001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:45:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21852892386295808,"km_value":21852892386295.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":951878032630929408,"description":"Unknown IO ID 45"} 
[2026-06-23 09:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240146688001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":951878032630929408}} 
[2026-06-23 09:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":111436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:45:53] local.INFO: GPS data processed {"connection_id":111436,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:45:53] local.INFO: Acknowledgment sent {"connection_id":111436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:45:57] local.INFO: TCP Data received {"connection_id":110816,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:45:57] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:45:57] local.INFO: IMEI packet received {"connection_id":110816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":110816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:46:02] local.INFO: TCP Data received {"connection_id":110816,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:46:02] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:46:02] local.INFO: IMEI packet received {"connection_id":110816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":110816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:46:03] local.INFO: TCP Data received {"connection_id":110816,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:46:03] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:46:03] local.INFO: Packet analysis {"connection_id":110816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:46:03] local.INFO: Extracted packet for processing {"connection_id":110816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:03] 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-06-23 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":110816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:03] local.INFO: GPS data processed {"connection_id":110816,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:03] local.INFO: Acknowledgment sent {"connection_id":110816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:03] local.INFO: TCP Data received {"connection_id":110815,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:46:03] local.INFO: Processing buffer {"connection_id":110815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:46:03] local.INFO: Packet analysis {"connection_id":110815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:46:03] local.INFO: Extracted packet for processing {"connection_id":110815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":110815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:03] local.INFO: GPS data processed {"connection_id":110815,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:03] local.INFO: Acknowledgment sent {"connection_id":110815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:16] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:16] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:16] local.INFO: IMEI packet received {"connection_id":111437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":111437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:46:18] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:18] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:18] local.INFO: IMEI packet received {"connection_id":111437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":111437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:46:20] local.INFO: TCP Data received {"connection_id":110649,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2af6328012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2af6328012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:46:20] local.INFO: Processing buffer {"connection_id":110649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2af6328012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:46:20] local.INFO: Packet analysis {"connection_id":110649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:46:20] local.INFO: Extracted packet for processing {"connection_id":110649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240133120001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782188041000,"timestamp_ms":1782188041000,"timestamp_seconds":1782188041,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2af6328"} 
[2026-06-23 09:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:20] 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-06-23 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743780087066184,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4071433456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2915631105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":118,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":61,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,1,158,191,45,192,238,63,10,66,109,46,27,240,47,227,242,31,4,113,205,118,104,72,239,49,2,14,7,120,61,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 09:46:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932082872254464,"timestamp_seconds":4539932082872254.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240133120001,"66":12548,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240133120001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240133120001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":110649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:20] local.INFO: GPS data processed {"connection_id":110649,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:20] local.INFO: Acknowledgment sent {"connection_id":110649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:21] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:21] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:46:21] local.INFO: IMEI packet received {"connection_id":111437,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":111437,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:46:22] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b02678012d0d37c0070488480020000421..."} 
[2026-06-23 09:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b02678012d0d37c0070488480020000421..."} 
[2026-06-23 09:46:22] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b02678012d0d37c0070488480020000421..."} 
[2026-06-23 09:46:22] local.INFO: Packet analysis {"connection_id":111437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:46:22] local.INFO: Extracted packet for processing {"connection_id":111437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:46:22] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117737544,"longitude_deg":75.584096,"latitude_deg":11.7737544,"altitude":32,"angle":4,"satellites":33,"speed":15,"hex_longitude":"2d0d37c0","hex_latitude":"07048848","is_valid_coordinates":true} 
[2026-06-23 09:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240149760001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21852973990674432,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952159507608356864,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782188091000,"timestamp_ms":1782188091000,"timestamp_seconds":1782188091,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b02678"} 
[2026-06-23 09:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240149760001,"66":14439,"17":206,"94":11008,"24":15,"16":21852973990674432,"45":952159507608356864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 09:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240149760001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21852973990674432,"km_value":21852973990674.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":952159507608356864,"description":"Unknown IO ID 45"} 
[2026-06-23 09:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240149760001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":952159507608356864}} 
[2026-06-23 09:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":111437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370084,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:22] local.INFO: GPS data processed {"connection_id":111437,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:22] local.INFO: Acknowledgment sent {"connection_id":111437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:24] local.INFO: TCP Data received {"connection_id":110651,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:46:24] local.INFO: Processing buffer {"connection_id":110651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:46:24] local.INFO: IMEI packet received {"connection_id":110651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":110651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:46:30] local.INFO: TCP Data received {"connection_id":110651,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:46:30] local.INFO: Processing buffer {"connection_id":110651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:46:30] local.INFO: IMEI packet received {"connection_id":110651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":110651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:46:31] local.INFO: TCP Data received {"connection_id":110651,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:46:31] local.INFO: Processing buffer {"connection_id":110651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:46:31] local.INFO: Packet analysis {"connection_id":110651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:46:31] local.INFO: Extracted packet for processing {"connection_id":110651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:46:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 09:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":110651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:31] local.INFO: GPS data processed {"connection_id":110651,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:31] local.INFO: Acknowledgment sent {"connection_id":110651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:34] local.INFO: TCP Data received {"connection_id":110816,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:46:34] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:46:34] local.INFO: Packet analysis {"connection_id":110816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:46:34] local.INFO: Extracted packet for processing {"connection_id":110816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46: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-06-23 09:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 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-06-23 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:46:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":110816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:34] local.INFO: GPS data processed {"connection_id":110816,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:34] local.INFO: Acknowledgment sent {"connection_id":110816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:44] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:44] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:44] local.INFO: IMEI packet received {"connection_id":111438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":111438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:46:48] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:48] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:48] local.INFO: IMEI packet received {"connection_id":111438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":111438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:46:53] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1e7b0012d0caa000704c2180025012b21..."} 
[2026-06-23 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1e7b0012d0caa000704c2180025012b21..."} 
[2026-06-23 09:46:53] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1e7b0012d0caa000704c2180025012b21..."} 
[2026-06-23 09:46:53] local.INFO: Packet analysis {"connection_id":111437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:46:53] local.INFO: Extracted packet for processing {"connection_id":111437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:46:53] local.INFO: GPS Element Parsed {"raw_longitude":755804672,"raw_latitude":117752344,"longitude_deg":75.5804672,"latitude_deg":11.7752344,"altitude":37,"angle":299,"satellites":33,"speed":9,"hex_longitude":"2d0caa00","hex_latitude":"0704c218","is_valid_coordinates":true} 
[2026-06-23 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240178944001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21855387762294784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916060341849178112,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] 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-06-23 09:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188206000,"timestamp_ms":1782188206000,"timestamp_seconds":1782188206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1e7b0"} 
[2026-06-23 09:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:53] 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-06-23 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:53] 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-06-23 09:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111437,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240178944001,"66":14548,"95":206,"94":10240,"24":9,"16":21855387762294784,"45":916060341849178112},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240178944001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21855387762294784,"km_value":21855387762294.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":916060341849178112,"description":"Unknown IO ID 45"} 
[2026-06-23 09:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240178944001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":916060341849178112}} 
[2026-06-23 09:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":111437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370087,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:53] local.INFO: GPS data processed {"connection_id":111437,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:53] local.INFO: Acknowledgment sent {"connection_id":111437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:53] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:53] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:46:53] local.INFO: IMEI packet received {"connection_id":111438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":111438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:46:53] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2afb530012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2afb530012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:46:53] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2afb530012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:46:53] local.INFO: Packet analysis {"connection_id":111438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:46:53] local.INFO: Extracted packet for processing {"connection_id":111438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2af"} 
[2026-06-23 09:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240138496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188062000,"timestamp_ms":1782188062000,"timestamp_seconds":1782188062,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2afb530"} 
[2026-06-23 09:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:46:53] 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-06-23 09:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4071454456,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2921007105,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 09:46:53] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,17,45,192,238,63,10,66,191,109,240,14,227,242,31,4,113,205,201,104,72,44,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 09:46:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932078577287168,"timestamp_seconds":4539932078577287.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 09:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240138496001,"66":12526,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240138496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240138496001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":111438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:46:53] local.INFO: GPS data processed {"connection_id":111438,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:46:53] local.INFO: Acknowledgment sent {"connection_id":111438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:46:56] local.INFO: TCP Data received {"connection_id":110652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:46:56] local.INFO: Processing buffer {"connection_id":110652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:46:56] local.INFO: IMEI packet received {"connection_id":110652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":110652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:47:02] local.INFO: TCP Data received {"connection_id":110652,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:47:02] local.INFO: Processing buffer {"connection_id":110652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:47:02] local.INFO: IMEI packet received {"connection_id":110652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":110652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:47:03] local.INFO: TCP Data received {"connection_id":110651,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:47:03] local.INFO: Processing buffer {"connection_id":110651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ad1168012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:47:03] local.INFO: Packet analysis {"connection_id":110651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:47:03] local.INFO: Extracted packet for processing {"connection_id":110651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ad"} 
[2026-06-23 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240022528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187889000,"timestamp_ms":1782187889000,"timestamp_seconds":1782187889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ad1168"} 
[2026-06-23 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-06-23 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240022528001,"66":25952,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240022528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240022528001,"power":25952,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":110651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:03] local.INFO: GPS data processed {"connection_id":110651,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:03] local.INFO: Acknowledgment sent {"connection_id":110651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:03] local.INFO: TCP Data received {"connection_id":110652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:47:03] local.INFO: Processing buffer {"connection_id":110652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:47:03] local.INFO: Packet analysis {"connection_id":110652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:47:03] local.INFO: Extracted packet for processing {"connection_id":110652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:03] 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-06-23 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 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-06-23 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":110652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:03] local.INFO: GPS data processed {"connection_id":110652,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:03] local.INFO: Acknowledgment sent {"connection_id":110652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:16] local.INFO: TCP Data received {"connection_id":110653,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:47:16] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:47:16] local.INFO: IMEI packet received {"connection_id":110653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":110653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:47:21] local.INFO: TCP Data received {"connection_id":110653,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:47:21] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:47:21] local.INFO: IMEI packet received {"connection_id":110653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":110653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:47:22] local.INFO: TCP Data received {"connection_id":110653,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1ef80012d0ca8c00704c3180024013c22..."} 
[2026-06-23 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1ef80012d0ca8c00704c3180024013c22..."} 
[2026-06-23 09:47:22] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1ef80012d0ca8c00704c3180024013c22..."} 
[2026-06-23 09:47:22] local.INFO: Packet analysis {"connection_id":110653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:47:22] local.INFO: Extracted packet for processing {"connection_id":110653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:47:22] local.INFO: GPS Element Parsed {"raw_longitude":755804352,"raw_latitude":117752600,"longitude_deg":75.5804352,"latitude_deg":11.77526,"altitude":36,"angle":316,"satellites":34,"speed":9,"hex_longitude":"2d0ca8c0","hex_latitude":"0704c318","is_valid_coordinates":true} 
[2026-06-23 09:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240180736001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21855409237131264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912541904640546816,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782188208000,"timestamp_ms":1782188208000,"timestamp_seconds":1782188208,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1ef80"} 
[2026-06-23 09:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240180736001,"66":14559,"95":206,"94":10240,"24":9,"16":21855409237131264,"45":912541904640546816},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240180736001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:47:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21855409237131264,"km_value":21855409237131.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":912541904640546816,"description":"Unknown IO ID 45"} 
[2026-06-23 09:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240180736001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":912541904640546816}} 
[2026-06-23 09:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":110653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370091,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:22] local.INFO: GPS data processed {"connection_id":110653,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:22] local.INFO: Acknowledgment sent {"connection_id":110653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:25] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b00350012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b00350012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:47:25] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b00350012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:47:25] local.INFO: Packet analysis {"connection_id":111438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:47:25] local.INFO: Extracted packet for processing {"connection_id":111438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240143872001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782188082000,"timestamp_ms":1782188082000,"timestamp_seconds":1782188082,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b00350"} 
[2026-06-23 09:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:25] 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-06-23 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:25] 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-06-23 09:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240143872001,"66":12504,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240143872001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240143872001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":111438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:25] local.INFO: GPS data processed {"connection_id":111438,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:25] local.INFO: Acknowledgment sent {"connection_id":111438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:30] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:47:30] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:47:30] local.INFO: IMEI packet received {"connection_id":110817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":110817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:47:34] local.INFO: TCP Data received {"connection_id":110652,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:47:34] local.INFO: Processing buffer {"connection_id":110652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:47:34] local.INFO: Packet analysis {"connection_id":110652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:47:34] local.INFO: Extracted packet for processing {"connection_id":110652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47: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-06-23 09:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 09:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:47:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":110652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:34] local.INFO: GPS data processed {"connection_id":110652,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:34] local.INFO: Acknowledgment sent {"connection_id":110652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:35] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:47:35] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:47:35] local.INFO: IMEI packet received {"connection_id":110817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":110817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:47:36] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:47:36] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:47:36] local.INFO: Packet analysis {"connection_id":110817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:47:36] local.INFO: Extracted packet for processing {"connection_id":110817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":110817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:36] local.INFO: GPS data processed {"connection_id":110817,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:36] local.INFO: Acknowledgment sent {"connection_id":110817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:36] local.INFO: TCP Data received {"connection_id":112376,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:47:36] local.INFO: Processing buffer {"connection_id":112376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:47:36] local.INFO: IMEI packet received {"connection_id":112376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":112376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:47:40] local.INFO: TCP Data received {"connection_id":110817,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:47:40] local.INFO: Processing buffer {"connection_id":110817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:47:40] local.INFO: Packet analysis {"connection_id":110817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:47:40] local.INFO: Extracted packet for processing {"connection_id":110817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":110817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:40] local.INFO: GPS data processed {"connection_id":110817,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:40] local.INFO: Acknowledgment sent {"connection_id":110817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:43] local.INFO: TCP Data received {"connection_id":111439,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:47:43] local.INFO: Processing buffer {"connection_id":111439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:47:43] local.INFO: IMEI packet received {"connection_id":111439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":111439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:47:48] local.INFO: TCP Data received {"connection_id":111439,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:47:48] local.INFO: Processing buffer {"connection_id":111439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:47:48] local.INFO: IMEI packet received {"connection_id":111439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":111439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:47:48] local.INFO: TCP Data received {"connection_id":111439,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b05558012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b05558012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:47:48] local.INFO: Processing buffer {"connection_id":111439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b05558012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:47:48] local.INFO: Packet analysis {"connection_id":111439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:47:48] local.INFO: Extracted packet for processing {"connection_id":111439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240148992001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188103000,"timestamp_ms":1782188103000,"timestamp_seconds":1782188103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b05558"} 
[2026-06-23 09:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240148992001,"66":12504,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240148992001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240148992001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":111439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:49] local.INFO: GPS data processed {"connection_id":111439,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:49] local.INFO: Acknowledgment sent {"connection_id":111439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:54] local.INFO: TCP Data received {"connection_id":110653,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b2a718012d0cba8007047f10001700aa1f..."} 
[2026-06-23 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b2a718012d0cba8007047f10001700aa1f..."} 
[2026-06-23 09:47:54] local.INFO: Processing buffer {"connection_id":110653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b2a718012d0cba8007047f10001700aa1f..."} 
[2026-06-23 09:47:54] local.INFO: Packet analysis {"connection_id":110653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:47:54] local.INFO: Extracted packet for processing {"connection_id":110653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117735184,"longitude_deg":75.5808896,"latitude_deg":11.7735184,"altitude":23,"angle":170,"satellites":31,"speed":47,"hex_longitude":"2d0cba80","hex_latitude":"07047f10","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240192768001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21856843756208128,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916412185566517248,"note":"Value kept but may cause issues"} 
[2026-06-23 09:47:54] 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-06-23 09:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782188255000,"timestamp_ms":1782188255000,"timestamp_seconds":1782188255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b2a718"} 
[2026-06-23 09:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":125,"data_length":795,"current_offset":136} 
[2026-06-23 09:47:54] 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-06-23 09: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-06-23 09:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":110653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":110653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":110653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240192768001,"66":14559,"95":206,"94":10240,"24":47,"16":21856843756208128,"45":916412185566517248},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240192768001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:47:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:47:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21856843756208128,"km_value":21856843756208.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":916412185566517248,"description":"Unknown IO ID 45"} 
[2026-06-23 09:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240192768001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":916412185566517248}} 
[2026-06-23 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":110653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370097,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:47:55] local.INFO: GPS data processed {"connection_id":110653,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:47:55] local.INFO: Acknowledgment sent {"connection_id":110653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:47:56] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:47:56] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:47:56] local.INFO: IMEI packet received {"connection_id":110818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":110818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:48:02] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:48:02] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:48:02] local.INFO: IMEI packet received {"connection_id":110818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":110818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:03] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:48:03] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ae9bf0012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:48:03] local.INFO: Packet analysis {"connection_id":110818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:48:03] local.INFO: Extracted packet for processing {"connection_id":110818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ae"} 
[2026-06-23 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:03] 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-06-23 09:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782187990000,"timestamp_ms":1782187990000,"timestamp_seconds":1782187990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ae9bf0"} 
[2026-06-23 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-06-23 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240048384001,"66":2253,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240048384001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":110818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:03] local.INFO: GPS data processed {"connection_id":110818,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:03] local.INFO: Acknowledgment sent {"connection_id":110818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:04] local.INFO: TCP Data received {"connection_id":111440,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:04] local.INFO: Processing buffer {"connection_id":111440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:04] local.INFO: IMEI packet received {"connection_id":111440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":111440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:48:07] local.INFO: TCP Data received {"connection_id":111440,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:07] local.INFO: Processing buffer {"connection_id":111440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:07] local.INFO: IMEI packet received {"connection_id":111440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 09:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":111440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:08] local.INFO: TCP Data received {"connection_id":111440,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:08] local.INFO: Processing buffer {"connection_id":111440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:48:08] local.INFO: IMEI packet received {"connection_id":111440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 09:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":111440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:16] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:16] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:16] local.INFO: IMEI packet received {"connection_id":110819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":110819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:48:20] local.INFO: TCP Data received {"connection_id":111439,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b0ab48012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b0ab48012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:48:20] local.INFO: Processing buffer {"connection_id":111439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b0ab48012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:48:20] local.INFO: Packet analysis {"connection_id":111439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:48:20] local.INFO: Extracted packet for processing {"connection_id":111439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240154368001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782188125000,"timestamp_ms":1782188125000,"timestamp_seconds":1782188125,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b0ab48"} 
[2026-06-23 09:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:48:20] 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-06-23 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 09:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240154368001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240154368001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240154368001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":111439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:20] local.INFO: GPS data processed {"connection_id":111439,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:20] local.INFO: Acknowledgment sent {"connection_id":111439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:20] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:20] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:20] local.INFO: IMEI packet received {"connection_id":110819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":110819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:21] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:21] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:48:21] local.INFO: IMEI packet received {"connection_id":110819,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":110819,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:21] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b2aee8012d0cbac007047598001700b721..."} 
[2026-06-23 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b2aee8012d0cbac007047598001700b721..."} 
[2026-06-23 09:48:21] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b2aee8012d0cbac007047598001700b721..."} 
[2026-06-23 09:48:21] local.INFO: Packet analysis {"connection_id":110819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:48:21] local.INFO: Extracted packet for processing {"connection_id":110819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:48:21] local.INFO: GPS Element Parsed {"raw_longitude":755808960,"raw_latitude":117732760,"longitude_deg":75.580896,"latitude_deg":11.773276,"altitude":23,"angle":183,"satellites":33,"speed":48,"hex_longitude":"2d0cbac0","hex_latitude":"07047598","is_valid_coordinates":true} 
[2026-06-23 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240193280001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21856959720325120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751879680,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:21] 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-06-23 09:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782188257000,"timestamp_ms":1782188257000,"timestamp_seconds":1782188257,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b2aee8"} 
[2026-06-23 09:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:48: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-06-23 09:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 09:48:21] 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-06-23 09:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240193280001,"66":14450,"95":206,"94":10240,"24":48,"16":21856959720325120,"45":917186241751879680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240193280001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:48:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21856959720325120,"km_value":21856959720325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751879680,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240193280001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_45":917186241751879680}} 
[2026-06-23 09:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":110819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:21] local.INFO: GPS data processed {"connection_id":110819,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:21] local.INFO: Acknowledgment sent {"connection_id":110819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:24] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b2ca40012d0cb54007045530001600c222..."} 
[2026-06-23 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b2ca40012d0cb54007045530001600c222..."} 
[2026-06-23 09:48:24] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b2ca40012d0cb54007045530001600c222..."} 
[2026-06-23 09:48:24] local.INFO: Packet analysis {"connection_id":110819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:48:24] local.INFO: Extracted packet for processing {"connection_id":110819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":755807552,"raw_latitude":117724464,"longitude_deg":75.5807552,"latitude_deg":11.7724464,"altitude":22,"angle":194,"satellites":34,"speed":49,"hex_longitude":"2d0cb540","hex_latitude":"07045530","is_valid_coordinates":true} 
[2026-06-23 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240193792001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21857367742218240,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917256610495436800,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:24] 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-06-23 09:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782188264000,"timestamp_ms":1782188264000,"timestamp_seconds":1782188264,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b2ca40"} 
[2026-06-23 09:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:48:24] 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-06-23 09:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:48: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-06-23 09:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240193792001,"66":14439,"95":206,"94":10240,"24":49,"16":21857367742218240,"45":917256610495436800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 09:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240193792001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21857367742218240,"km_value":21857367742218.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":917256610495436800,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240193792001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_45":917256610495436800}} 
[2026-06-23 09:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":110819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:24] local.INFO: GPS data processed {"connection_id":110819,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:24] local.INFO: Acknowledgment sent {"connection_id":110819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:25] local.INFO: TCP Data received {"connection_id":112377,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:48:25] local.INFO: Processing buffer {"connection_id":112377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:48:25] local.INFO: IMEI packet received {"connection_id":112377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":112377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:48:30] local.INFO: TCP Data received {"connection_id":112377,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:48:30] local.INFO: Processing buffer {"connection_id":112377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:48:30] local.INFO: IMEI packet received {"connection_id":112377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":112377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:31] local.INFO: TCP Data received {"connection_id":112377,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:48:31] local.INFO: Processing buffer {"connection_id":112377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:48:31] local.INFO: Packet analysis {"connection_id":112377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:48:31] local.INFO: Extracted packet for processing {"connection_id":112377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:48:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":112377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:31] local.INFO: GPS data processed {"connection_id":112377,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:31] local.INFO: Acknowledgment sent {"connection_id":112377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:34] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:48:34] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:48:34] local.INFO: Packet analysis {"connection_id":110818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:48:34] local.INFO: Extracted packet for processing {"connection_id":110818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48: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-06-23 09:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 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-06-23 09:48: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-06-23 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:48: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-06-23 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-06-23 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-06-23 09:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":110818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:34] local.INFO: GPS data processed {"connection_id":110818,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:34] local.INFO: Acknowledgment sent {"connection_id":110818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:43] local.INFO: TCP Data received {"connection_id":110654,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:48:43] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:48:43] local.INFO: IMEI packet received {"connection_id":110654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":110654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:48:48] local.INFO: TCP Data received {"connection_id":110654,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:48:48] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:48:48] local.INFO: IMEI packet received {"connection_id":110654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":110654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:48:48] local.INFO: TCP Data received {"connection_id":110654,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b0fd50012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b0fd50012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:48:48] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b0fd50012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:48:48] local.INFO: Packet analysis {"connection_id":110654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:48:48] local.INFO: Extracted packet for processing {"connection_id":110654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b0"} 
[2026-06-23 09:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240160000001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188146000,"timestamp_ms":1782188146000,"timestamp_seconds":1782188146,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b0fd50"} 
[2026-06-23 09:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 09:48:48] 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-06-23 09:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240160000001,"66":12504,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240160000001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240160000001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":110654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:48] local.INFO: GPS data processed {"connection_id":110654,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:48] local.INFO: Acknowledgment sent {"connection_id":110654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:48:55] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b3cc10012d0c6a800703dff0001b008420..."} 
[2026-06-23 09:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b3cc10012d0c6a800703dff0001b008420..."} 
[2026-06-23 09:48:55] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b3cc10012d0c6a800703dff0001b008420..."} 
[2026-06-23 09:48:55] local.INFO: Packet analysis {"connection_id":110819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:48:55] local.INFO: Extracted packet for processing {"connection_id":110819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:48:55] local.INFO: GPS Element Parsed {"raw_longitude":755788416,"raw_latitude":117694448,"longitude_deg":75.5788416,"latitude_deg":11.7694448,"altitude":27,"angle":132,"satellites":32,"speed":12,"hex_longitude":"2d0c6a80","hex_latitude":"0703dff0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240212224001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21859566765473792,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894316399883755520,"note":"Value kept but may cause issues"} 
[2026-06-23 09:48: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-06-23 09:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782188330000,"timestamp_ms":1782188330000,"timestamp_seconds":1782188330,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b3cc10"} 
[2026-06-23 09:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:48:55] 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-06-23 09: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-06-23 09:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110819,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240212224001,"66":13646,"16":21859566765473792,"94":11008,"24":12,"45":894316399883755520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240212224001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21859566765473792,"km_value":21859566765473.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:48:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":894316399883755520,"description":"Unknown IO ID 45"} 
[2026-06-23 09:48:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240212224001,"power":13646,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":894316399883755520}} 
[2026-06-23 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":110819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:48:56] local.INFO: GPS data processed {"connection_id":110819,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:48:56] local.INFO: Acknowledgment sent {"connection_id":110819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:02] local.INFO: TCP Data received {"connection_id":112378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:02] local.INFO: Processing buffer {"connection_id":112378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:02] local.INFO: IMEI packet received {"connection_id":112378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":112378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:49:03] local.INFO: TCP Data received {"connection_id":112377,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:49:03] local.INFO: Processing buffer {"connection_id":112377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:49:03] local.INFO: Packet analysis {"connection_id":112377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:03] local.INFO: Extracted packet for processing {"connection_id":112377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:49:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":112377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:03] local.INFO: GPS data processed {"connection_id":112377,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:03] local.INFO: Acknowledgment sent {"connection_id":112377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:07] local.INFO: TCP Data received {"connection_id":112378,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:07] local.INFO: Processing buffer {"connection_id":112378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:07] local.INFO: IMEI packet received {"connection_id":112378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":112378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:49:08] local.INFO: TCP Data received {"connection_id":112378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:49:08] local.INFO: Processing buffer {"connection_id":112378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:49:08] local.INFO: Packet analysis {"connection_id":112378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:08] local.INFO: Extracted packet for processing {"connection_id":112378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:08] 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-06-23 09:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 09:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:08] 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-06-23 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:49: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-06-23 09:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:49:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":112378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:08] local.INFO: GPS data processed {"connection_id":112378,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:08] local.INFO: Acknowledgment sent {"connection_id":112378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:13] local.INFO: TCP Data received {"connection_id":112378,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:49:13] local.INFO: Processing buffer {"connection_id":112378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:49:13] local.INFO: Packet analysis {"connection_id":112378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:13] local.INFO: Extracted packet for processing {"connection_id":112378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:13] 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-06-23 09:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 09:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:13] 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-06-23 09:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:13] 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-06-23 09:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:49:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":112378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:13] local.INFO: GPS data processed {"connection_id":112378,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:13] local.INFO: Acknowledgment sent {"connection_id":112378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:19] local.INFO: TCP Data received {"connection_id":110654,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b14f58012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b14f58012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:49:19] local.INFO: Processing buffer {"connection_id":110654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b14f58012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:49:19] local.INFO: Packet analysis {"connection_id":110654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:19] local.INFO: Extracted packet for processing {"connection_id":110654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240165376001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188167000,"timestamp_ms":1782188167000,"timestamp_seconds":1782188167,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b14f58"} 
[2026-06-23 09:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:19] 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-06-23 09:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240165376001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240165376001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240165376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":110654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:20] local.INFO: GPS data processed {"connection_id":110654,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:20] local.INFO: Acknowledgment sent {"connection_id":110654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:21] local.INFO: TCP Data received {"connection_id":112380,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:49:21] local.INFO: Processing buffer {"connection_id":112380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:49:21] local.INFO: IMEI packet received {"connection_id":112380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":112380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:49:24] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:49:24] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:49:24] local.INFO: IMEI packet received {"connection_id":110820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":110820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:49:26] local.INFO: TCP Data received {"connection_id":112380,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:49:26] local.INFO: Processing buffer {"connection_id":112380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:49:26] local.INFO: IMEI packet received {"connection_id":112380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":112380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:49:27] local.INFO: TCP Data received {"connection_id":112380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b3cff8012d0c6b000703dee0001b009920..."} 
[2026-06-23 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b3cff8012d0c6b000703dee0001b009920..."} 
[2026-06-23 09:49:27] local.INFO: Processing buffer {"connection_id":112380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b3cff8012d0c6b000703dee0001b009920..."} 
[2026-06-23 09:49:27] local.INFO: Packet analysis {"connection_id":112380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:27] local.INFO: Extracted packet for processing {"connection_id":112380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755788544,"raw_latitude":117694176,"longitude_deg":75.5788544,"latitude_deg":11.7694176,"altitude":27,"angle":153,"satellites":32,"speed":12,"hex_longitude":"2d0c6b00","hex_latitude":"0703dee0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240212480001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21859583945342976,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894668243604598784,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:27] 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-06-23 09:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782188331000,"timestamp_ms":1782188331000,"timestamp_seconds":1782188331,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b3cff8"} 
[2026-06-23 09:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:27] 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-06-23 09: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-06-23 09:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240212480001,"66":13646,"16":21859583945342976,"94":11008,"24":12,"45":894668243604598784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240212480001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21859583945342976,"km_value":21859583945342.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":894668243604598784,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240212480001,"power":13646,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":894668243604598784}} 
[2026-06-23 09:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":112380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:27] local.INFO: GPS data processed {"connection_id":112380,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:27] local.INFO: Acknowledgment sent {"connection_id":112380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:27] local.INFO: TCP Data received {"connection_id":112380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b3d3e0012d0c6b800703dda0001b00af20..."} 
[2026-06-23 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b3d3e0012d0c6b800703dda0001b00af20..."} 
[2026-06-23 09:49:27] local.INFO: Processing buffer {"connection_id":112380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b3d3e0012d0c6b800703dda0001b00af20..."} 
[2026-06-23 09:49:27] local.INFO: Packet analysis {"connection_id":112380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:27] local.INFO: Extracted packet for processing {"connection_id":112380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:27] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117693856,"longitude_deg":75.5788672,"latitude_deg":11.7693856,"altitude":27,"angle":175,"satellites":32,"speed":13,"hex_longitude":"2d0c6b80","hex_latitude":"0703dda0","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240212736001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21859601125212160,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894808981092884480,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:27] 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-06-23 09:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782188332000,"timestamp_ms":1782188332000,"timestamp_seconds":1782188332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b3d3e0"} 
[2026-06-23 09:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:27] 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-06-23 09: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-06-23 09:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240212736001,"66":14515,"16":21859601125212160,"94":11008,"24":13,"45":894808981092884480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240212736001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21859601125212160,"km_value":21859601125212.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":894808981092884480,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240212736001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":894808981092884480}} 
[2026-06-23 09:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":112380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:27] local.INFO: GPS data processed {"connection_id":112380,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:27] local.INFO: Acknowledgment sent {"connection_id":112380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:29] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:49:29] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:49:29] local.INFO: IMEI packet received {"connection_id":110820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":110820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:49:32] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:49:32] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:49:32] local.INFO: Packet analysis {"connection_id":110820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:32] local.INFO: Extracted packet for processing {"connection_id":110820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:49:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":110820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:32] local.INFO: GPS data processed {"connection_id":110820,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:32] local.INFO: Acknowledgment sent {"connection_id":110820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:43] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:49:43] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:49:43] local.INFO: IMEI packet received {"connection_id":110821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":110821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:49:48] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:49:48] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:49:48] local.INFO: IMEI packet received {"connection_id":110821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":110821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:49:48] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a160012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a160012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:49:48] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a160012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:49:48] local.INFO: Packet analysis {"connection_id":110821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:48] local.INFO: Extracted packet for processing {"connection_id":110821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188188000,"timestamp_ms":1782188188000,"timestamp_seconds":1782188188,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a160"} 
[2026-06-23 09:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240170752001,"66":12504,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240170752001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":110821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:49] local.INFO: GPS data processed {"connection_id":110821,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:49] local.INFO: Acknowledgment sent {"connection_id":110821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:49:57] local.INFO: TCP Data received {"connection_id":112381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:57] local.INFO: Processing buffer {"connection_id":112381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:49:57] local.INFO: IMEI packet received {"connection_id":112381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":112381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:49:59] local.INFO: TCP Data received {"connection_id":112380,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b3eb50012d0c6c000703d368001800bb20..."} 
[2026-06-23 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b3eb50012d0c6c000703d368001800bb20..."} 
[2026-06-23 09:49:59] local.INFO: Processing buffer {"connection_id":112380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b3eb50012d0c6c000703d368001800bb20..."} 
[2026-06-23 09:49:59] local.INFO: Packet analysis {"connection_id":112380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:59] local.INFO: Extracted packet for processing {"connection_id":112380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117691240,"longitude_deg":75.57888,"latitude_deg":11.769124,"altitude":24,"angle":187,"satellites":32,"speed":22,"hex_longitude":"2d0c6c00","hex_latitude":"0703d368","is_valid_coordinates":true} 
[2026-06-23 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240212992001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21859729974231040,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718581157888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:49:59] 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-06-23 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782188338000,"timestamp_ms":1782188338000,"timestamp_seconds":1782188338,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b3eb50"} 
[2026-06-23 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:49: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-06-23 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 09:49:59] 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-06-23 09:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240212992001,"66":14515,"16":21859729974231040,"94":11008,"24":22,"45":894949718581157888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240212992001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21859729974231040,"km_value":21859729974231.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:49:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718581157888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240212992001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":22,"unknown_45":894949718581157888}} 
[2026-06-23 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":112380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370114,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:49:59] local.INFO: GPS data processed {"connection_id":112380,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:49:59] local.INFO: Acknowledgment sent {"connection_id":112380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:02] local.INFO: TCP Data received {"connection_id":112381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:50:02] local.INFO: Processing buffer {"connection_id":112381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:50:02] local.INFO: IMEI packet received {"connection_id":112381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":112381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:50:03] local.INFO: TCP Data received {"connection_id":112381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:50:03] local.INFO: Processing buffer {"connection_id":112381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:50:03] local.INFO: Packet analysis {"connection_id":112381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:50:03] local.INFO: Extracted packet for processing {"connection_id":112381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:03] 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-06-23 09:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 09:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:03] 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-06-23 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:03] 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-06-23 09: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-06-23 09:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":112381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:03] local.INFO: GPS data processed {"connection_id":112381,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:03] local.INFO: Acknowledgment sent {"connection_id":112381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:03] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:50:03] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:50:03] local.INFO: Packet analysis {"connection_id":110820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:50:03] local.INFO: Extracted packet for processing {"connection_id":110820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:50:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":110820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:04] local.INFO: GPS data processed {"connection_id":110820,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:04] local.INFO: Acknowledgment sent {"connection_id":110820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:20] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1f368012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1f368012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:50:20] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1f368012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:50:20] local.INFO: Packet analysis {"connection_id":110821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:50:20] local.INFO: Extracted packet for processing {"connection_id":110821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176128001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782188209000,"timestamp_ms":1782188209000,"timestamp_seconds":1782188209,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1f368"} 
[2026-06-23 09:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:20] 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-06-23 09:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176128001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176128001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":110821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:20] local.INFO: GPS data processed {"connection_id":110821,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:20] local.INFO: Acknowledgment sent {"connection_id":110821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:21] local.INFO: TCP Data received {"connection_id":112382,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:50:21] local.INFO: Processing buffer {"connection_id":112382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:50:21] local.INFO: IMEI packet received {"connection_id":112382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":112382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:50:24] local.INFO: TCP Data received {"connection_id":111443,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:50:24] local.INFO: Processing buffer {"connection_id":111443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:50:24] local.INFO: IMEI packet received {"connection_id":111443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":111443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:50:27] local.INFO: TCP Data received {"connection_id":112382,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 09:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112382,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 09:50:27] local.INFO: Processing buffer {"connection_id":112382,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 09:50:27] local.INFO: IMEI packet received {"connection_id":112382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":112382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:50:28] local.INFO: TCP Data received {"connection_id":112382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b40a90012d0c6b800703c440001800af20..."} 
[2026-06-23 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b40a90012d0c6b800703c440001800af20..."} 
[2026-06-23 09:50:28] local.INFO: Processing buffer {"connection_id":112382,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ef2..."} 
[2026-06-23 09:50:28] local.INFO: IMEI packet received {"connection_id":112382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":112382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:50:29] local.INFO: TCP Data received {"connection_id":112382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b52ba0012d0c390007036038001b00dd20..."} 
[2026-06-23 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b52ba0012d0c390007036038001b00dd20..."} 
[2026-06-23 09:50:29] local.INFO: Processing buffer {"connection_id":112382,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef2b40a90012d0c6b800703c440001800af20..."} 
[2026-06-23 09:50:29] local.INFO: Packet analysis {"connection_id":112382,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:50:29] local.INFO: Extracted packet for processing {"connection_id":112382,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117687360,"longitude_deg":75.5788672,"latitude_deg":11.768736,"altitude":24,"angle":175,"satellites":32,"speed":17,"hex_longitude":"2d0c6b80","hex_latitude":"0703c440","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240214528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21859918952792064,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456068843520,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] 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-06-23 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782188346000,"timestamp_ms":1782188346000,"timestamp_seconds":1782188346,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b40a90"} 
[2026-06-23 09:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":179,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:29] 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-06-23 09: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-06-23 09:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240214528001,"66":14515,"16":21859918952792064,"94":11008,"24":17,"45":895090456068843520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240214528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21859918952792064,"km_value":21859918952792.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456068843520,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240214528001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":17,"unknown_45":895090456068843520}} 
[2026-06-23 09:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":112382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:29] local.INFO: GPS data processed {"connection_id":112382,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:29] local.INFO: Acknowledgment sent {"connection_id":112382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:29] local.INFO: Packet analysis {"connection_id":112382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:50:29] local.INFO: Extracted packet for processing {"connection_id":112382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117661752,"longitude_deg":75.5775744,"latitude_deg":11.7661752,"altitude":27,"angle":221,"satellites":32,"speed":7,"hex_longitude":"2d0c3900","hex_latitude":"07036038","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240235264001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21861525270560768,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481620992,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] 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-06-23 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782188420000,"timestamp_ms":1782188420000,"timestamp_seconds":1782188420,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b52ba0"} 
[2026-06-23 09:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":179,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:29] 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-06-23 09: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-06-23 09:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240235264001,"66":14407,"16":21861525270560768,"94":11008,"24":7,"45":880946338481620992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240235264001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21861525270560768,"km_value":21861525270560.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481620992,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240235264001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":880946338481620992}} 
[2026-06-23 09:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":112382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370119,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:29] local.INFO: GPS data processed {"connection_id":112382,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:29] local.INFO: Acknowledgment sent {"connection_id":112382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:29] local.INFO: TCP Data received {"connection_id":112382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b52f88012d0c38c007035f98001b00c620..."} 
[2026-06-23 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b52f88012d0c38c007035f98001b00c620..."} 
[2026-06-23 09:50:29] local.INFO: Processing buffer {"connection_id":112382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b52f88012d0c38c007035f98001b00c620..."} 
[2026-06-23 09:50:29] local.INFO: Packet analysis {"connection_id":112382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:50:29] local.INFO: Extracted packet for processing {"connection_id":112382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117661592,"longitude_deg":75.577568,"latitude_deg":11.7661592,"altitude":27,"angle":198,"satellites":32,"speed":7,"hex_longitude":"2d0c38c0","hex_latitude":"07035f98","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240235520001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21861533860495360,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232249051136,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:29] 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-06-23 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782188421000,"timestamp_ms":1782188421000,"timestamp_seconds":1782188421,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b52f88"} 
[2026-06-23 09:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:29] 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-06-23 09: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-06-23 09:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240235520001,"66":14407,"16":21861533860495360,"94":11008,"24":7,"45":880735232249051136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240235520001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21861533860495360,"km_value":21861533860495.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232249051136,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240235520001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":880735232249051136}} 
[2026-06-23 09:50:30] local.INFO: TCP Data received {"connection_id":111443,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:50:30] local.INFO: Processing buffer {"connection_id":111443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:50:30] local.INFO: IMEI packet received {"connection_id":111443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":111443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":112382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:30] local.INFO: GPS data processed {"connection_id":112382,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:30] local.INFO: Acknowledgment sent {"connection_id":112382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:31] local.INFO: TCP Data received {"connection_id":111443,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:50:31] local.INFO: Processing buffer {"connection_id":111443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:50:31] local.INFO: Packet analysis {"connection_id":111443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:50:31] local.INFO: Extracted packet for processing {"connection_id":111443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 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-06-23 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":111443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:31] local.INFO: GPS data processed {"connection_id":111443,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:31] local.INFO: Acknowledgment sent {"connection_id":111443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:34] local.INFO: TCP Data received {"connection_id":112381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:50:34] local.INFO: Processing buffer {"connection_id":112381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:50:34] local.INFO: Packet analysis {"connection_id":112381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:50:34] local.INFO: Extracted packet for processing {"connection_id":112381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:50:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50: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-06-23 09:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 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-06-23 09:50: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-06-23 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:50: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-06-23 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-06-23 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-06-23 09:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:50:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":112381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:34] local.INFO: GPS data processed {"connection_id":112381,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:34] local.INFO: Acknowledgment sent {"connection_id":112381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:42] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:50:42] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:50:42] local.INFO: IMEI packet received {"connection_id":110655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":110655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:50:48] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:50:48] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:50:48] local.INFO: IMEI packet received {"connection_id":110655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":110655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:50:48] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b24570012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b24570012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:50:48] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b24570012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:50:48] local.INFO: Packet analysis {"connection_id":110655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:50:48] local.INFO: Extracted packet for processing {"connection_id":110655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240181504001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188230000,"timestamp_ms":1782188230000,"timestamp_seconds":1782188230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b24570"} 
[2026-06-23 09:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240181504001,"66":12504,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240181504001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:50:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240181504001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":110655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:50:48] local.INFO: GPS data processed {"connection_id":110655,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:50:48] local.INFO: Acknowledgment sent {"connection_id":110655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:50:57] local.INFO: TCP Data received {"connection_id":112383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:50:57] local.INFO: Processing buffer {"connection_id":112383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:50:57] local.INFO: IMEI packet received {"connection_id":112383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":112383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:51:00] local.INFO: TCP Data received {"connection_id":112382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b53370012d0c38c007035eb8001a00b820..."} 
[2026-06-23 09:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b53370012d0c38c007035eb8001a00b820..."} 
[2026-06-23 09:51:00] local.INFO: Processing buffer {"connection_id":112382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b53370012d0c38c007035eb8001a00b820..."} 
[2026-06-23 09:51:00] local.INFO: Packet analysis {"connection_id":112382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:51:00] local.INFO: Extracted packet for processing {"connection_id":112382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117661368,"longitude_deg":75.577568,"latitude_deg":11.7661368,"altitude":26,"angle":184,"satellites":32,"speed":8,"hex_longitude":"2d0c38c0","hex_latitude":"07035eb8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240235776001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21861542450429952,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504832512,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:00] 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-06-23 09:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782188422000,"timestamp_ms":1782188422000,"timestamp_seconds":1782188422,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b53370"} 
[2026-06-23 09:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51: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-06-23 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:00] 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-06-23 09: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-06-23 09:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240235776001,"66":14548,"16":21861542450429952,"94":11008,"24":8,"45":880664863504832512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-23 09:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240235776001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21861542450429952,"km_value":21861542450429.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504832512,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456240235776001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":880664863504832512}} 
[2026-06-23 09:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":112382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370124,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:01] local.INFO: GPS data processed {"connection_id":112382,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:01] local.INFO: Acknowledgment sent {"connection_id":112382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:02] local.INFO: TCP Data received {"connection_id":112383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:51:02] local.INFO: Processing buffer {"connection_id":112383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:51:02] local.INFO: IMEI packet received {"connection_id":112383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":112383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:51:02] local.INFO: TCP Data received {"connection_id":112383,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:51:02] local.INFO: Processing buffer {"connection_id":112383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:51:02] local.INFO: Packet analysis {"connection_id":112383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:51:02] local.INFO: Extracted packet for processing {"connection_id":112383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:02] 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-06-23 09:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 09:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51:02] 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-06-23 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:02] 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-06-23 09: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-06-23 09:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:51:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":112383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:03] local.INFO: GPS data processed {"connection_id":112383,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:03] local.INFO: Acknowledgment sent {"connection_id":112383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:03] local.INFO: TCP Data received {"connection_id":111443,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:51:03] local.INFO: Processing buffer {"connection_id":111443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:51:03] local.INFO: Packet analysis {"connection_id":111443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:51:03] local.INFO: Extracted packet for processing {"connection_id":111443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 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-06-23 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":111443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:03] local.INFO: GPS data processed {"connection_id":111443,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:03] local.INFO: Acknowledgment sent {"connection_id":111443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:16] local.INFO: TCP Data received {"connection_id":112384,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:51:16] local.INFO: Processing buffer {"connection_id":112384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:51:16] local.INFO: IMEI packet received {"connection_id":112384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":112384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:51:19] local.INFO: TCP Data received {"connection_id":112384,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:51:19] local.INFO: Processing buffer {"connection_id":112384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:51:19] local.INFO: IMEI packet received {"connection_id":112384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":112384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:51:19] local.INFO: TCP Data received {"connection_id":110655,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b29778012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b29778012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:51:19] local.INFO: Processing buffer {"connection_id":110655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b29778012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:51:19] local.INFO: Packet analysis {"connection_id":110655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:51:19] local.INFO: Extracted packet for processing {"connection_id":110655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240186880001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188251000,"timestamp_ms":1782188251000,"timestamp_seconds":1782188251,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b29778"} 
[2026-06-23 09:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51:19] 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-06-23 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240186880001,"66":12504,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240186880001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240186880001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":110655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:19] local.INFO: GPS data processed {"connection_id":110655,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:19] local.INFO: Acknowledgment sent {"connection_id":110655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:19] local.INFO: TCP Data received {"connection_id":112384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b546f8012d0c38c007035a58001900cc1f..."} 
[2026-06-23 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b546f8012d0c38c007035a58001900cc1f..."} 
[2026-06-23 09:51:19] local.INFO: Processing buffer {"connection_id":112384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b546f8012d0c38c007035a58001900cc1f..."} 
[2026-06-23 09:51:19] local.INFO: Packet analysis {"connection_id":112384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:51:19] local.INFO: Extracted packet for processing {"connection_id":112384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117660248,"longitude_deg":75.577568,"latitude_deg":11.7660248,"altitude":25,"angle":204,"satellites":31,"speed":7,"hex_longitude":"2d0c38c0","hex_latitude":"07035a58","is_valid_coordinates":true} 
[2026-06-23 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240236032001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21861598285004800,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504775168,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:19] 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-06-23 09:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188427000,"timestamp_ms":1782188427000,"timestamp_seconds":1782188427,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b546f8"} 
[2026-06-23 09:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51:19] 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-06-23 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 09:51: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-06-23 09:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240236032001,"66":14461,"37":206,"94":11008,"24":7,"16":21861598285004800,"45":880664863504775168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 09:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240236032001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21861598285004800,"km_value":21861598285004.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504775168,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240236032001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":880664863504775168}} 
[2026-06-23 09:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":112384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:20] local.INFO: GPS data processed {"connection_id":112384,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:20] local.INFO: Acknowledgment sent {"connection_id":112384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:24] local.INFO: TCP Data received {"connection_id":112385,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:51:24] local.INFO: Processing buffer {"connection_id":112385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:51:24] local.INFO: IMEI packet received {"connection_id":112385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":112385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:51:30] local.INFO: TCP Data received {"connection_id":112385,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:51:30] local.INFO: Processing buffer {"connection_id":112385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:51:30] local.INFO: IMEI packet received {"connection_id":112385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":112385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:51:31] local.INFO: TCP Data received {"connection_id":112385,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:51:31] local.INFO: Processing buffer {"connection_id":112385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:51:31] local.INFO: Packet analysis {"connection_id":112385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:51:31] local.INFO: Extracted packet for processing {"connection_id":112385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:51:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":112385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:31] local.INFO: GPS data processed {"connection_id":112385,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:31] local.INFO: Acknowledgment sent {"connection_id":112385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:34] local.INFO: TCP Data received {"connection_id":112383,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:51:34] local.INFO: Processing buffer {"connection_id":112383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:51:34] local.INFO: Packet analysis {"connection_id":112383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:51:34] local.INFO: Extracted packet for processing {"connection_id":112383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51: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-06-23 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 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-06-23 09:51: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-06-23 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:51: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-06-23 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-06-23 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-06-23 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":112383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:34] local.INFO: GPS data processed {"connection_id":112383,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:34] local.INFO: Acknowledgment sent {"connection_id":112383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:42] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:51:42] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:51:42] local.INFO: IMEI packet received {"connection_id":110823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":110823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:51:48] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:51:48] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:51:48] local.INFO: IMEI packet received {"connection_id":110823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":110823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:51:48] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b2e980012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b2e980012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:51:48] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b2e980012d1968c0071fee48003f01142b..."} 
[2026-06-23 09:51:48] local.INFO: Packet analysis {"connection_id":110823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:51:48] local.INFO: Extracted packet for processing {"connection_id":110823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b2"} 
[2026-06-23 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240192256001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188272000,"timestamp_ms":1782188272000,"timestamp_seconds":1782188272,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b2e980"} 
[2026-06-23 09:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240192256001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240192256001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240192256001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":110823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:48] local.INFO: GPS data processed {"connection_id":110823,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:48] local.INFO: Acknowledgment sent {"connection_id":110823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:51] local.INFO: TCP Data received {"connection_id":112384,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b59900012d0c384007035948001800cc1f..."} 
[2026-06-23 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b59900012d0c384007035948001800cc1f..."} 
[2026-06-23 09:51:51] local.INFO: Processing buffer {"connection_id":112384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b59900012d0c384007035948001800cc1f..."} 
[2026-06-23 09:51:51] local.INFO: Packet analysis {"connection_id":112384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:51:51] local.INFO: Extracted packet for processing {"connection_id":112384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755775552,"raw_latitude":117659976,"longitude_deg":75.5775552,"latitude_deg":11.7659976,"altitude":24,"angle":204,"satellites":31,"speed":0,"hex_longitude":"2d0c3840","hex_latitude":"07035948","is_valid_coordinates":true} 
[2026-06-23 09:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240237312001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21861619759841280,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863504488448,"note":"Value kept but may cause issues"} 
[2026-06-23 09:51:51] 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-06-23 09:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782188448000,"timestamp_ms":1782188448000,"timestamp_seconds":1782188448,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b59900"} 
[2026-06-23 09:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 09:51:51] 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-06-23 09:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240237312001,"66":14450,"37":206,"94":11008,"24":0,"16":21861619759841280,"45":880664863504488448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 09:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240237312001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:51:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 09:51:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21861619759841280,"km_value":21861619759841.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863504488448,"description":"Unknown IO ID 45"} 
[2026-06-23 09:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240237312001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":880664863504488448}} 
[2026-06-23 09:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":112384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370132,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:51:51] local.INFO: GPS data processed {"connection_id":112384,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:51:51] local.INFO: Acknowledgment sent {"connection_id":112384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:51:57] local.INFO: TCP Data received {"connection_id":112386,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:51:57] local.INFO: Processing buffer {"connection_id":112386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:51:57] local.INFO: IMEI packet received {"connection_id":112386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":112386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:52:02] local.INFO: TCP Data received {"connection_id":112386,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:52:02] local.INFO: Processing buffer {"connection_id":112386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:52:02] local.INFO: IMEI packet received {"connection_id":112386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":112386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:52:03] local.INFO: TCP Data received {"connection_id":112386,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:52:03] local.INFO: Processing buffer {"connection_id":112386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:52:03] local.INFO: Packet analysis {"connection_id":112386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:03] local.INFO: Extracted packet for processing {"connection_id":112386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:03] 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-06-23 09:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 09:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:03] 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-06-23 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:03] 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-06-23 09: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-06-23 09:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":112386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:03] local.INFO: GPS data processed {"connection_id":112386,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:03] local.INFO: Acknowledgment sent {"connection_id":112386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:03] local.INFO: TCP Data received {"connection_id":112385,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:52:03] local.INFO: Processing buffer {"connection_id":112385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b1a930012cb29b8007823df8004a00cf26..."} 
[2026-06-23 09:52:03] local.INFO: Packet analysis {"connection_id":112385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:52:03] local.INFO: Extracted packet for processing {"connection_id":112385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b1"} 
[2026-06-23 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240099584001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188190000,"timestamp_ms":1782188190000,"timestamp_seconds":1782188190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b1a930"} 
[2026-06-23 09:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240099584001,"66":25875,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240099584001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240099584001,"power":25875,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":112385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:03] local.INFO: GPS data processed {"connection_id":112385,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:03] local.INFO: Acknowledgment sent {"connection_id":112385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:16] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:52:16] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:52:16] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:52:19] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:52:19] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:52:19] local.INFO: IMEI packet received {"connection_id":110656,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":110656,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:52:19] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b5a0d0012d0c38c0070359400018002620..."} 
[2026-06-23 09:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b5a0d0012d0c38c0070359400018002620..."} 
[2026-06-23 09:52:19] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b5a0d0012d0c38c0070359400018002620..."} 
[2026-06-23 09:52:19] local.INFO: Packet analysis {"connection_id":110656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:52:19] local.INFO: Extracted packet for processing {"connection_id":110656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b5"} 
[2026-06-23 09:52:19] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117659968,"longitude_deg":75.577568,"latitude_deg":11.7659968,"altitude":24,"angle":38,"satellites":32,"speed":1,"hex_longitude":"2d0c38c0","hex_latitude":"07035940","is_valid_coordinates":true} 
[2026-06-23 09:52: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-06-23 09:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240242688001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21861628349775872,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126016063488,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:19] 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-06-23 09:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188450000,"timestamp_ms":1782188450000,"timestamp_seconds":1782188450,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b5a0d0"} 
[2026-06-23 09:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:19] 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-06-23 09:52: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":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:19] 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-06-23 09:52: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-06-23 09:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240242688001,"66":14559,"37":206,"94":11008,"24":1,"16":21861628349775872,"45":880524126016063488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240242688001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21861628349775872,"km_value":21861628349775.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126016063488,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240242688001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":880524126016063488}} 
[2026-06-23 09:52:19] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b33b88012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b33b88012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:52:19] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b33b88012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:52:19] local.INFO: Packet analysis {"connection_id":110823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:19] local.INFO: Extracted packet for processing {"connection_id":110823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:52: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-06-23 09:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240197632001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188293000,"timestamp_ms":1782188293000,"timestamp_seconds":1782188293,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b33b88"} 
[2026-06-23 09:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:19] 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-06-23 09:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:19] 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-06-23 09:52: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-06-23 09:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240197632001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240197632001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240197632001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":110823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:19] local.INFO: GPS data processed {"connection_id":110823,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:19] local.INFO: Acknowledgment sent {"connection_id":110823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":110656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:19] local.INFO: GPS data processed {"connection_id":110656,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:19] local.INFO: Acknowledgment sent {"connection_id":110656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:30] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:52:30] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:52:30] local.INFO: IMEI packet received {"connection_id":110824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":110824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:52:34] local.INFO: TCP Data received {"connection_id":112386,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:52:34] local.INFO: Processing buffer {"connection_id":112386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:52:34] local.INFO: Packet analysis {"connection_id":112386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:34] local.INFO: Extracted packet for processing {"connection_id":112386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52: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-06-23 09:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 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-06-23 09:52: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-06-23 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:52: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-06-23 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-06-23 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-06-23 09:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:52:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":112386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:34] local.INFO: GPS data processed {"connection_id":112386,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:34] local.INFO: Acknowledgment sent {"connection_id":112386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:35] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:52:35] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:52:35] local.INFO: IMEI packet received {"connection_id":110824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":110824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:52:36] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:52:36] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:52:36] local.INFO: Packet analysis {"connection_id":110824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:52:36] local.INFO: Extracted packet for processing {"connection_id":110824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":110824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:36] local.INFO: GPS data processed {"connection_id":110824,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:36] local.INFO: Acknowledgment sent {"connection_id":110824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:47] local.INFO: TCP Data received {"connection_id":111445,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:52:47] local.INFO: Processing buffer {"connection_id":111445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:52:47] local.INFO: IMEI packet received {"connection_id":111445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":111445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:52:50] local.INFO: TCP Data received {"connection_id":110656,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b746b0012d0c1dc007035058001900d224..."} 
[2026-06-23 09:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b746b0012d0c1dc007035058001900d224..."} 
[2026-06-23 09:52:50] local.INFO: Processing buffer {"connection_id":110656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b746b0012d0c1dc007035058001900d224..."} 
[2026-06-23 09:52:50] local.INFO: Packet analysis {"connection_id":110656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:52:50] local.INFO: Extracted packet for processing {"connection_id":110656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755768768,"raw_latitude":117657688,"longitude_deg":75.5768768,"latitude_deg":11.7657688,"altitude":25,"angle":210,"satellites":36,"speed":9,"hex_longitude":"2d0c1dc0","hex_latitude":"07035058","is_valid_coordinates":true} 
[2026-06-23 09:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240270336001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21862023486767104,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873346514109466624,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:50] 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-06-23 09:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782188558000,"timestamp_ms":1782188558000,"timestamp_seconds":1782188558,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b746b0"} 
[2026-06-23 09:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:50] 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-06-23 09:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110656,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240270336001,"66":14298,"37":206,"94":11008,"24":9,"16":21862023486767104,"45":873346514109466624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 09:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240270336001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 09:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21862023486767104,"km_value":21862023486767.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":873346514109466624,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240270336001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":873346514109466624}} 
[2026-06-23 09:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":110656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370139,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:51] local.INFO: GPS data processed {"connection_id":110656,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:51] local.INFO: Acknowledgment sent {"connection_id":110656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:52] local.INFO: TCP Data received {"connection_id":111445,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:52:52] local.INFO: Processing buffer {"connection_id":111445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:52:52] local.INFO: IMEI packet received {"connection_id":111445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":111445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:52:53] local.INFO: TCP Data received {"connection_id":111445,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b38d90012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b38d90012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:52:53] local.INFO: Processing buffer {"connection_id":111445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b38d90012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:52:53] local.INFO: Packet analysis {"connection_id":111445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:53] local.INFO: Extracted packet for processing {"connection_id":111445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240203008001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188314000,"timestamp_ms":1782188314000,"timestamp_seconds":1782188314,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b38d90"} 
[2026-06-23 09:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:53] 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-06-23 09:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240203008001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240203008001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240203008001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":111445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:53] local.INFO: GPS data processed {"connection_id":111445,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:53] local.INFO: Acknowledgment sent {"connection_id":111445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:52:58] local.INFO: TCP Data received {"connection_id":112387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:52:58] local.INFO: Processing buffer {"connection_id":112387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:52:58] local.INFO: IMEI packet received {"connection_id":112387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":112387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:52:58] local.INFO: TCP Data received {"connection_id":111445,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b3df98012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b3df98012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:52:58] local.INFO: Processing buffer {"connection_id":111445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b3df98012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:52:58] local.INFO: Packet analysis {"connection_id":111445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:58] local.INFO: Extracted packet for processing {"connection_id":111445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240208384001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782188335000,"timestamp_ms":1782188335000,"timestamp_seconds":1782188335,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b3df98"} 
[2026-06-23 09:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:52:58] 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-06-23 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240208384001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240208384001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240208384001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":111445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:52:58] local.INFO: GPS data processed {"connection_id":111445,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:52:58] local.INFO: Acknowledgment sent {"connection_id":111445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:53:02] local.INFO: TCP Data received {"connection_id":112387,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:53:02] local.INFO: Processing buffer {"connection_id":112387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:53:02] local.INFO: IMEI packet received {"connection_id":112387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":112387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:53:03] local.INFO: TCP Data received {"connection_id":112387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:53:03] local.INFO: Processing buffer {"connection_id":112387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b333b8012d7ceb0005ec3c080005004b28..."} 
[2026-06-23 09:53:03] local.INFO: Packet analysis {"connection_id":112387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:53:03] local.INFO: Extracted packet for processing {"connection_id":112387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b3"} 
[2026-06-23 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240125440001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:03] 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-06-23 09:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188291000,"timestamp_ms":1782188291000,"timestamp_seconds":1782188291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b333b8"} 
[2026-06-23 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-06-23 09:53:03] 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-06-23 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 09:53:03] 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-06-23 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-06-23 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-06-23 09:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240125440001,"66":2231,"110":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 09:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240125440001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:53:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 09:53:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240125440001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":112387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:53:03] local.INFO: GPS data processed {"connection_id":112387,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:53:03] local.INFO: Acknowledgment sent {"connection_id":112387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:53:15] local.INFO: TCP Data received {"connection_id":111447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:15] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:15] local.INFO: IMEI packet received {"connection_id":111447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":111447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:53:15] local.INFO: TCP Data received {"connection_id":110824,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:53:15] local.INFO: Processing buffer {"connection_id":110824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:53:15] local.INFO: Packet analysis {"connection_id":110824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:53:15] local.INFO: Extracted packet for processing {"connection_id":110824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:53:15] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:53:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:53:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":110824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:53:15] local.INFO: GPS data processed {"connection_id":110824,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:53:15] local.INFO: Acknowledgment sent {"connection_id":110824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:53:16] local.INFO: TCP Data received {"connection_id":111447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:16] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:16] local.INFO: IMEI packet received {"connection_id":111447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":111447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:53:17] local.INFO: TCP Data received {"connection_id":111447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:17] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:17] local.INFO: IMEI packet received {"connection_id":111447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":111447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:53:19] local.INFO: TCP Data received {"connection_id":111447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:19] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:53:19] local.INFO: IMEI packet received {"connection_id":111447,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":111447,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:53:21] local.INFO: TCP Data received {"connection_id":111446,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:53:21] local.INFO: Processing buffer {"connection_id":111446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:53:21] local.INFO: IMEI packet received {"connection_id":111446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":111446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:53:25] local.INFO: TCP Data received {"connection_id":111448,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:53:25] local.INFO: Processing buffer {"connection_id":111448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:53:25] local.INFO: IMEI packet received {"connection_id":111448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":111448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:53:30] local.INFO: TCP Data received {"connection_id":111448,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:53:30] local.INFO: Processing buffer {"connection_id":111448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:53:30] local.INFO: IMEI packet received {"connection_id":111448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":111448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:53:32] local.INFO: TCP Data received {"connection_id":111448,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:53:32] local.INFO: Processing buffer {"connection_id":111448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:53:32] local.INFO: Packet analysis {"connection_id":111448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:53:32] local.INFO: Extracted packet for processing {"connection_id":111448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:53:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:53:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":111448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:53:32] local.INFO: GPS data processed {"connection_id":111448,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:53:32] local.INFO: Acknowledgment sent {"connection_id":111448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:53:34] local.INFO: TCP Data received {"connection_id":112387,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:53:34] local.INFO: Processing buffer {"connection_id":112387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:53:34] local.INFO: Packet analysis {"connection_id":112387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:53:34] local.INFO: Extracted packet for processing {"connection_id":112387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 09:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:53:34] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:53:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":112387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:53:34] local.INFO: GPS data processed {"connection_id":112387,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:53:34] local.INFO: Acknowledgment sent {"connection_id":112387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:53:42] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:53:42] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:53:42] local.INFO: IMEI packet received {"connection_id":111449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":111449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:53:45] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:53:45] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:53:45] local.INFO: IMEI packet received {"connection_id":111449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":111449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:53:45] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b42db8012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b42db8012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:53:45] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b42db8012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:53:45] local.INFO: Packet analysis {"connection_id":111449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:53:45] local.INFO: Extracted packet for processing {"connection_id":111449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240213760001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782188355000,"timestamp_ms":1782188355000,"timestamp_seconds":1782188355,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b42db8"} 
[2026-06-23 09:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:53:45] 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-06-23 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:53:45] 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-06-23 09:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":111449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":111449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":111449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240213760001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240213760001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240213760001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":111449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:53:46] local.INFO: GPS data processed {"connection_id":111449,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:53:46] local.INFO: Acknowledgment sent {"connection_id":111449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:02] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:02] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:02] local.INFO: IMEI packet received {"connection_id":110657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":110657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:54:04] local.INFO: TCP Data received {"connection_id":111448,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:54:04] local.INFO: Processing buffer {"connection_id":111448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:54:04] local.INFO: Packet analysis {"connection_id":111448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:54:04] local.INFO: Extracted packet for processing {"connection_id":111448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:54:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:54:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:54:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":111448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:54:04] local.INFO: GPS data processed {"connection_id":111448,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:54:04] local.INFO: Acknowledgment sent {"connection_id":111448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:07] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:07] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:07] local.INFO: IMEI packet received {"connection_id":110657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":110657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:54:07] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:54:07] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:54:07] local.INFO: Packet analysis {"connection_id":110657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:54:07] local.INFO: Extracted packet for processing {"connection_id":110657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:54:07] 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-06-23 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":110657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:54:07] local.INFO: GPS data processed {"connection_id":110657,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:54:07] local.INFO: Acknowledgment sent {"connection_id":110657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:12] local.INFO: TCP Data received {"connection_id":110657,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:54:12] local.INFO: Processing buffer {"connection_id":110657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:54:12] local.INFO: Packet analysis {"connection_id":110657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:54:12] local.INFO: Extracted packet for processing {"connection_id":110657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 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-06-23 09:54:12] 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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":110657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":110657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":110657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:54:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:54:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":110657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:54:12] local.INFO: GPS data processed {"connection_id":110657,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:54:12] local.INFO: Acknowledgment sent {"connection_id":110657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:17] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b47fc0012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b47fc0012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:54:17] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b47fc0012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:54:17] local.INFO: Packet analysis {"connection_id":111449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:54:17] local.INFO: Extracted packet for processing {"connection_id":111449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240218880001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782188376000,"timestamp_ms":1782188376000,"timestamp_seconds":1782188376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b47fc0"} 
[2026-06-23 09:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240218880001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240218880001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240218880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":111449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:54:17] local.INFO: GPS data processed {"connection_id":111449,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:54:17] local.INFO: Acknowledgment sent {"connection_id":111449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:24] local.INFO: TCP Data received {"connection_id":110825,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:54:24] local.INFO: Processing buffer {"connection_id":110825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:54:24] local.INFO: IMEI packet received {"connection_id":110825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":110825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:54:30] local.INFO: TCP Data received {"connection_id":110825,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:54:30] local.INFO: Processing buffer {"connection_id":110825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:54:30] local.INFO: IMEI packet received {"connection_id":110825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":110825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:54:31] local.INFO: TCP Data received {"connection_id":110825,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:54:31] local.INFO: Processing buffer {"connection_id":110825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:54:31] local.INFO: Packet analysis {"connection_id":110825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:54:31] local.INFO: Extracted packet for processing {"connection_id":110825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:54:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:54:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":110825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:54:31] local.INFO: GPS data processed {"connection_id":110825,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:54:31] local.INFO: Acknowledgment sent {"connection_id":110825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:43] local.INFO: TCP Data received {"connection_id":112389,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:54:43] local.INFO: Processing buffer {"connection_id":112389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:54:43] local.INFO: IMEI packet received {"connection_id":112389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":112389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:54:48] local.INFO: TCP Data received {"connection_id":112389,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:54:48] local.INFO: Processing buffer {"connection_id":112389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:54:48] local.INFO: IMEI packet received {"connection_id":112389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":112389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:54:48] local.INFO: TCP Data received {"connection_id":112389,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b4d1c8012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b4d1c8012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:54:48] local.INFO: Processing buffer {"connection_id":112389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b4d1c8012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:54:48] local.INFO: Packet analysis {"connection_id":112389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:54:48] local.INFO: Extracted packet for processing {"connection_id":112389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b4"} 
[2026-06-23 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240224256001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188397000,"timestamp_ms":1782188397000,"timestamp_seconds":1782188397,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b4d1c8"} 
[2026-06-23 09:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240224256001,"66":12461,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240224256001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:54:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240224256001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":112389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:54:48] local.INFO: GPS data processed {"connection_id":112389,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:54:48] local.INFO: Acknowledgment sent {"connection_id":112389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:54:57] local.INFO: TCP Data received {"connection_id":110658,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:57] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:54:57] local.INFO: IMEI packet received {"connection_id":110658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":110658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:55:02] local.INFO: TCP Data received {"connection_id":110658,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:55:02] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:55:02] local.INFO: IMEI packet received {"connection_id":110658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":110658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:55:03] local.INFO: TCP Data received {"connection_id":110658,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:55:03] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:55:03] local.INFO: Packet analysis {"connection_id":110658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:55:03] local.INFO: Extracted packet for processing {"connection_id":110658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 09:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:55:03] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":110658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:55:03] local.INFO: GPS data processed {"connection_id":110658,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:55:03] local.INFO: Acknowledgment sent {"connection_id":110658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:55:03] local.INFO: TCP Data received {"connection_id":110825,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:55:03] local.INFO: Processing buffer {"connection_id":110825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:55:03] local.INFO: Packet analysis {"connection_id":110825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:55:03] local.INFO: Extracted packet for processing {"connection_id":110825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:55:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":110825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:55:03] local.INFO: GPS data processed {"connection_id":110825,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:55:03] local.INFO: Acknowledgment sent {"connection_id":110825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:55:19] local.INFO: TCP Data received {"connection_id":112389,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b85820012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b85820012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:55:19] local.INFO: Processing buffer {"connection_id":112389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b85820012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:55:19] local.INFO: Packet analysis {"connection_id":112389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b8"} 
[2026-06-23 09:55:19] local.INFO: Extracted packet for processing {"connection_id":112389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b8"} 
[2026-06-23 09:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240283392001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188628000,"timestamp_ms":1782188628000,"timestamp_seconds":1782188628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b85820"} 
[2026-06-23 09:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:55:19] 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-06-23 09:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 09:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240283392001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240283392001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:55:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240283392001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":112389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:55:20] local.INFO: GPS data processed {"connection_id":112389,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:55:20] local.INFO: Acknowledgment sent {"connection_id":112389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:55:24] local.INFO: TCP Data received {"connection_id":111451,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:55:24] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:55:24] local.INFO: IMEI packet received {"connection_id":111451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":111451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:55:30] local.INFO: TCP Data received {"connection_id":111451,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:55:30] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:55:30] local.INFO: IMEI packet received {"connection_id":111451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":111451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:55:31] local.INFO: TCP Data received {"connection_id":111451,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:55:31] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:55:31] local.INFO: Packet analysis {"connection_id":111451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:55:31] local.INFO: Extracted packet for processing {"connection_id":111451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":111451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:55:31] local.INFO: GPS data processed {"connection_id":111451,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:55:31] local.INFO: Acknowledgment sent {"connection_id":111451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:55:35] local.INFO: TCP Data received {"connection_id":110658,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:55:35] local.INFO: Processing buffer {"connection_id":110658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:55:35] local.INFO: Packet analysis {"connection_id":110658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:55:35] local.INFO: Extracted packet for processing {"connection_id":110658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 09:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:55:35] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:55:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:55:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":110658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:55:35] local.INFO: GPS data processed {"connection_id":110658,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:55:35] local.INFO: Acknowledgment sent {"connection_id":110658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:55:42] local.INFO: TCP Data received {"connection_id":111453,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:55:42] local.INFO: Processing buffer {"connection_id":111453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:55:42] local.INFO: IMEI packet received {"connection_id":111453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":111453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:55:48] local.INFO: TCP Data received {"connection_id":111453,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:55:48] local.INFO: Processing buffer {"connection_id":111453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:55:48] local.INFO: IMEI packet received {"connection_id":111453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":111453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:55:48] local.INFO: TCP Data received {"connection_id":111453,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b8aa28012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b8aa28012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:55:48] local.INFO: Processing buffer {"connection_id":111453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b8aa28012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:55:48] local.INFO: Packet analysis {"connection_id":111453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b8"} 
[2026-06-23 09:55:48] local.INFO: Extracted packet for processing {"connection_id":111453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b8"} 
[2026-06-23 09:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240288768001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188649000,"timestamp_ms":1782188649000,"timestamp_seconds":1782188649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b8aa28"} 
[2026-06-23 09:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:55:48] 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-06-23 09:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 09:55:48] 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-06-23 09:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240288768001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240288768001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:55:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240288768001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":111453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:55:49] local.INFO: GPS data processed {"connection_id":111453,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:55:49] local.INFO: Acknowledgment sent {"connection_id":111453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:55:57] local.INFO: TCP Data received {"connection_id":110826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:55:57] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:55:57] local.INFO: IMEI packet received {"connection_id":110826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":110826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:56:02] local.INFO: TCP Data received {"connection_id":110826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:56:02] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:56:02] local.INFO: IMEI packet received {"connection_id":110826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":110826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:56:03] local.INFO: TCP Data received {"connection_id":110826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:56:03] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:56:03] local.INFO: Packet analysis {"connection_id":110826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:56:03] local.INFO: Extracted packet for processing {"connection_id":110826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 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-06-23 09:56:03] 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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":110826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:03] local.INFO: GPS data processed {"connection_id":110826,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:03] local.INFO: Acknowledgment sent {"connection_id":110826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:09] local.INFO: TCP Data received {"connection_id":111451,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:09] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:09] local.INFO: Packet analysis {"connection_id":111451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:56:09] local.INFO: Extracted packet for processing {"connection_id":111451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:56:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":111451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:09] local.INFO: GPS data processed {"connection_id":111451,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:09] local.INFO: Acknowledgment sent {"connection_id":111451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:19] local.INFO: TCP Data received {"connection_id":111453,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b8fc30012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b8fc30012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:56:19] local.INFO: Processing buffer {"connection_id":111453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b8fc30012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:56:19] local.INFO: Packet analysis {"connection_id":111453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b8"} 
[2026-06-23 09:56:19] local.INFO: Extracted packet for processing {"connection_id":111453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b8"} 
[2026-06-23 09:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240294144001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188670000,"timestamp_ms":1782188670000,"timestamp_seconds":1782188670,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b8fc30"} 
[2026-06-23 09:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:56:19] 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-06-23 09:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240294144001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240294144001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240294144001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":111453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:20] local.INFO: GPS data processed {"connection_id":111453,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:20] local.INFO: Acknowledgment sent {"connection_id":111453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:30] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:56:30] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:56:30] local.INFO: IMEI packet received {"connection_id":110661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":110661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:56:34] local.INFO: TCP Data received {"connection_id":110826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:56:34] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:56:34] local.INFO: Packet analysis {"connection_id":110826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:56:34] local.INFO: Extracted packet for processing {"connection_id":110826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:56:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 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-06-23 09:56:34] 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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":110826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:34] local.INFO: GPS data processed {"connection_id":110826,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:34] local.INFO: Acknowledgment sent {"connection_id":110826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:35] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:56:35] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:56:35] local.INFO: IMEI packet received {"connection_id":110661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":110661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:56:36] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:36] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:36] local.INFO: Packet analysis {"connection_id":110661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:56:36] local.INFO: Extracted packet for processing {"connection_id":110661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:56:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":110661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:36] local.INFO: GPS data processed {"connection_id":110661,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:36] local.INFO: Acknowledgment sent {"connection_id":110661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:40] local.INFO: TCP Data received {"connection_id":110661,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:40] local.INFO: Processing buffer {"connection_id":110661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b640f8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 09:56:40] local.INFO: Packet analysis {"connection_id":110661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:56:40] local.INFO: Extracted packet for processing {"connection_id":110661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b6"} 
[2026-06-23 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240176640001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782188491000,"timestamp_ms":1782188491000,"timestamp_seconds":1782188491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b640f8"} 
[2026-06-23 09:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240176640001,"66":25854,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 09:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240176640001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240176640001,"power":25854,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":110661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:40] local.INFO: GPS data processed {"connection_id":110661,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:40] local.INFO: Acknowledgment sent {"connection_id":110661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:42] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:56:42] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:56:42] local.INFO: IMEI packet received {"connection_id":110662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":110662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:56:48] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:56:48] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:56:48] local.INFO: IMEI packet received {"connection_id":110662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":110662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:56:48] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b94e38012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b94e38012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:56:48] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b94e38012d1968c0071fee48003f01142a..."} 
[2026-06-23 09:56:48] local.INFO: Packet analysis {"connection_id":110662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b9"} 
[2026-06-23 09:56:48] local.INFO: Extracted packet for processing {"connection_id":110662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b9"} 
[2026-06-23 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240299520001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188691000,"timestamp_ms":1782188691000,"timestamp_seconds":1782188691,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b94e38"} 
[2026-06-23 09:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:56:48] 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-06-23 09:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 09:56:48] 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-06-23 09:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240299520001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240299520001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:56:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240299520001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":110662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:56:48] local.INFO: GPS data processed {"connection_id":110662,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:56:48] local.INFO: Acknowledgment sent {"connection_id":110662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:56:56] local.INFO: TCP Data received {"connection_id":112391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:56:56] local.INFO: Processing buffer {"connection_id":112391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:56:56] local.INFO: IMEI packet received {"connection_id":112391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":112391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:57:02] local.INFO: TCP Data received {"connection_id":112391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:57:02] local.INFO: Processing buffer {"connection_id":112391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:57:02] local.INFO: IMEI packet received {"connection_id":112391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":112391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:57:03] local.INFO: TCP Data received {"connection_id":112391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:57:03] local.INFO: Processing buffer {"connection_id":112391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:57:03] local.INFO: Packet analysis {"connection_id":112391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:57:03] local.INFO: Extracted packet for processing {"connection_id":112391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 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-06-23 09:57:03] 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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:57:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:57:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":112391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:57:03] local.INFO: GPS data processed {"connection_id":112391,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:57:03] local.INFO: Acknowledgment sent {"connection_id":112391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:57:19] local.INFO: TCP Data received {"connection_id":110662,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b9a428012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b9a428012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:57:19] local.INFO: Processing buffer {"connection_id":110662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b9a428012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:57:19] local.INFO: Packet analysis {"connection_id":110662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b9"} 
[2026-06-23 09:57:19] local.INFO: Extracted packet for processing {"connection_id":110662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b9"} 
[2026-06-23 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240304896001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188713000,"timestamp_ms":1782188713000,"timestamp_seconds":1782188713,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b9a428"} 
[2026-06-23 09:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:57:19] 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-06-23 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 09:57:19] 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-06-23 09:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240304896001,"66":12156,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240304896001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:57:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240304896001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":110662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:57:20] local.INFO: GPS data processed {"connection_id":110662,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:57:20] local.INFO: Acknowledgment sent {"connection_id":110662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:57:25] local.INFO: TCP Data received {"connection_id":111455,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:57:25] local.INFO: Processing buffer {"connection_id":111455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:57:25] local.INFO: IMEI packet received {"connection_id":111455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":111455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:57:30] local.INFO: TCP Data received {"connection_id":111455,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:57:30] local.INFO: Processing buffer {"connection_id":111455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:57:30] local.INFO: IMEI packet received {"connection_id":111455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":111455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:57:31] local.INFO: TCP Data received {"connection_id":111455,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:57:31] local.INFO: Processing buffer {"connection_id":111455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:57:31] local.INFO: Packet analysis {"connection_id":111455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:57:31] local.INFO: Extracted packet for processing {"connection_id":111455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:57:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 09:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 09:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:57:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 09:57:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":111455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:57:31] local.INFO: GPS data processed {"connection_id":111455,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:57:31] local.INFO: Acknowledgment sent {"connection_id":111455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:57:34] local.INFO: TCP Data received {"connection_id":112391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:57:34] local.INFO: Processing buffer {"connection_id":112391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:57:34] local.INFO: Packet analysis {"connection_id":112391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:57:34] local.INFO: Extracted packet for processing {"connection_id":112391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 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-06-23 09:57:34] 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-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:57:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:57:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":112391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:57:34] local.INFO: GPS data processed {"connection_id":112391,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:57:34] local.INFO: Acknowledgment sent {"connection_id":112391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:57:42] local.INFO: TCP Data received {"connection_id":111457,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:57:42] local.INFO: Processing buffer {"connection_id":111457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:57:42] local.INFO: IMEI packet received {"connection_id":111457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":111457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:57:48] local.INFO: TCP Data received {"connection_id":111457,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:57:48] local.INFO: Processing buffer {"connection_id":111457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:57:48] local.INFO: IMEI packet received {"connection_id":111457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":111457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:57:48] local.INFO: TCP Data received {"connection_id":111457,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b9f630012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b9f630012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:57:48] local.INFO: Processing buffer {"connection_id":111457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b9f630012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:57:48] local.INFO: Packet analysis {"connection_id":111457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b9"} 
[2026-06-23 09:57:48] local.INFO: Extracted packet for processing {"connection_id":111457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b9"} 
[2026-06-23 09:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240310528001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188734000,"timestamp_ms":1782188734000,"timestamp_seconds":1782188734,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b9f630"} 
[2026-06-23 09:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:57:48] 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-06-23 09:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 09:57:48] 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-06-23 09:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240310528001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240310528001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:57:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240310528001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":111457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:57:48] local.INFO: GPS data processed {"connection_id":111457,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:57:48] local.INFO: Acknowledgment sent {"connection_id":111457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:57:57] local.INFO: TCP Data received {"connection_id":112392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:57:57] local.INFO: Processing buffer {"connection_id":112392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:57:57] local.INFO: IMEI packet received {"connection_id":112392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":112392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:58:02] local.INFO: TCP Data received {"connection_id":112392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:58:02] local.INFO: Processing buffer {"connection_id":112392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:58:02] local.INFO: IMEI packet received {"connection_id":112392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":112392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:58:02] local.INFO: TCP Data received {"connection_id":112392,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:58:02] local.INFO: Processing buffer {"connection_id":112392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2b7cb80012d7ceb0005ec3c080005004b29..."} 
[2026-06-23 09:58:02] local.INFO: Packet analysis {"connection_id":112392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:58:02] local.INFO: Extracted packet for processing {"connection_id":112392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2b7"} 
[2026-06-23 09:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":41,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240202496001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782188592000,"timestamp_ms":1782188592000,"timestamp_seconds":1782188592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2b7cb80"} 
[2026-06-23 09:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:02] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240202496001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240202496001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240202496001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":112392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:03] local.INFO: GPS data processed {"connection_id":112392,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:03] local.INFO: Acknowledgment sent {"connection_id":112392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:03] local.INFO: TCP Data received {"connection_id":111455,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:58:03] local.INFO: Processing buffer {"connection_id":111455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:58:03] local.INFO: Packet analysis {"connection_id":111455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:03] local.INFO: Extracted packet for processing {"connection_id":111455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 09:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 09:58:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":111455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:03] local.INFO: GPS data processed {"connection_id":111455,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:03] local.INFO: Acknowledgment sent {"connection_id":111455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:19] local.INFO: TCP Data received {"connection_id":111457,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ba4838012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ba4838012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:58:19] local.INFO: Processing buffer {"connection_id":111457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ba4838012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:58:19] local.INFO: Packet analysis {"connection_id":111457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:19] local.INFO: Extracted packet for processing {"connection_id":111457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240315904001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188755000,"timestamp_ms":1782188755000,"timestamp_seconds":1782188755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ba4838"} 
[2026-06-23 09:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:19] 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-06-23 09:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240315904001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240315904001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240315904001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":111457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:19] local.INFO: GPS data processed {"connection_id":111457,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:19] local.INFO: Acknowledgment sent {"connection_id":111457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:21] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:58:21] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:58:21] local.INFO: IMEI packet received {"connection_id":110663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":110663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:58:21] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bbabb0012d0b4280070380c00013001d20..."} 
[2026-06-23 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bbabb0012d0b4280070380c00013001d20..."} 
[2026-06-23 09:58:21] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bbabb0012d0b4280070380c00013001d20..."} 
[2026-06-23 09:58:21] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 09:58:21] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 09:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755712640,"raw_latitude":117670080,"longitude_deg":75.571264,"latitude_deg":11.767008,"altitude":19,"angle":29,"satellites":32,"speed":15,"hex_longitude":"2d0b4280","hex_latitude":"070380c0","is_valid_coordinates":true} 
[2026-06-23 09:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240344320001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21866266914455552,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811140544259379200,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:21] 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-06-23 09:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782188846000,"timestamp_ms":1782188846000,"timestamp_seconds":1782188846,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bbabb0"} 
[2026-06-23 09:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:21] 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-06-23 09:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:21] 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-06-23 09:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240344320001,"66":14439,"37":206,"94":11008,"24":15,"16":21866266914455552,"45":811140544259379200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 09:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240344320001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 09:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 09:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21866266914455552,"km_value":21866266914455.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":811140544259379200,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240344320001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":811140544259379200}} 
[2026-06-23 09:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370174,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:22] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:22] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:24] local.INFO: TCP Data received {"connection_id":112393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:58:24] local.INFO: Processing buffer {"connection_id":112393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:58:24] local.INFO: IMEI packet received {"connection_id":112393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":112393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:58:30] local.INFO: TCP Data received {"connection_id":112393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:58:30] local.INFO: Processing buffer {"connection_id":112393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:58:30] local.INFO: IMEI packet received {"connection_id":112393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":112393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:58:31] local.INFO: TCP Data received {"connection_id":112393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:58:31] local.INFO: Processing buffer {"connection_id":112393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:58:31] local.INFO: Packet analysis {"connection_id":112393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:31] local.INFO: Extracted packet for processing {"connection_id":112393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 09:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 09:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 09:58:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":112393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:31] local.INFO: GPS data processed {"connection_id":112393,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:31] local.INFO: Acknowledgment sent {"connection_id":112393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:33] local.INFO: TCP Data received {"connection_id":112392,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bc6348012d7ceb0005ec3c080005004b2b..."} 
[2026-06-23 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bc6348012d7ceb0005ec3c080005004b2b..."} 
[2026-06-23 09:58:33] local.INFO: Processing buffer {"connection_id":112392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bc6348012d7ceb0005ec3c080005004b2b..."} 
[2026-06-23 09:58:33] local.INFO: Packet analysis {"connection_id":112392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:58:33] local.INFO: Extracted packet for processing {"connection_id":112392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":43,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240279552001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782188893000,"timestamp_ms":1782188893000,"timestamp_seconds":1782188893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bc6348"} 
[2026-06-23 09:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:33] 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-06-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240279552001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240279552001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240279552001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":112392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:34] local.INFO: GPS data processed {"connection_id":112392,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:34] local.INFO: Acknowledgment sent {"connection_id":112392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:48] local.INFO: TCP Data received {"connection_id":110828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:58:48] local.INFO: Processing buffer {"connection_id":110828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:58:48] local.INFO: IMEI packet received {"connection_id":110828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":110828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:58:52] local.INFO: TCP Data received {"connection_id":110663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bcccc0012d0b36c0070424d00013015c20..."} 
[2026-06-23 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bcccc0012d0b36c0070424d00013015c20..."} 
[2026-06-23 09:58:52] local.INFO: Processing buffer {"connection_id":110663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bcccc0012d0b36c0070424d00013015c20..."} 
[2026-06-23 09:58:52] local.INFO: Packet analysis {"connection_id":110663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:58:52] local.INFO: Extracted packet for processing {"connection_id":110663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":755709632,"raw_latitude":117712080,"longitude_deg":75.5709632,"latitude_deg":11.771208,"altitude":19,"angle":348,"satellites":32,"speed":22,"hex_longitude":"2d0b36c0","hex_latitude":"070424d0","is_valid_coordinates":true} 
[2026-06-23 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240362240001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21868410103136256,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809170219432581120,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:52] 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-06-23 09:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782188920000,"timestamp_ms":1782188920000,"timestamp_seconds":1782188920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bcccc0"} 
[2026-06-23 09:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:52] 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-06-23 09:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110663,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240362240001,"66":14428,"96":206,"94":10240,"24":22,"16":21868410103136256,"45":809170219432581120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 09:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240362240001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 09:58:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21868410103136256,"km_value":21868410103136.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":809170219432581120,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240362240001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":809170219432581120}} 
[2026-06-23 09:58:52] local.INFO: TCP Data received {"connection_id":110828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:58:52] local.INFO: Processing buffer {"connection_id":110828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:58:52] local.INFO: IMEI packet received {"connection_id":110828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":110828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":110663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:52] local.INFO: GPS data processed {"connection_id":110663,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:52] local.INFO: Acknowledgment sent {"connection_id":110663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:53] local.INFO: TCP Data received {"connection_id":110828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ba9a40012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ba9a40012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:58:53] local.INFO: Processing buffer {"connection_id":110828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ba9a40012d1968c0071fee48003f01142d..."} 
[2026-06-23 09:58:53] local.INFO: Packet analysis {"connection_id":110828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:53] local.INFO: Extracted packet for processing {"connection_id":110828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240321280001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188776000,"timestamp_ms":1782188776000,"timestamp_seconds":1782188776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ba9a40"} 
[2026-06-23 09:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:53] 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-06-23 09:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240321280001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240321280001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240321280001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":110828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:53] local.INFO: GPS data processed {"connection_id":110828,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:53] local.INFO: Acknowledgment sent {"connection_id":110828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:58:58] local.INFO: TCP Data received {"connection_id":110828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2baec48012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2baec48012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:58:58] local.INFO: Processing buffer {"connection_id":110828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2baec48012d1968c0071fee48003f01142c..."} 
[2026-06-23 09:58:58] local.INFO: Packet analysis {"connection_id":110828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:58] local.INFO: Extracted packet for processing {"connection_id":110828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240326656001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:58: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-06-23 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782188797000,"timestamp_ms":1782188797000,"timestamp_seconds":1782188797,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2baec48"} 
[2026-06-23 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 09:58:58] 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-06-23 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240326656001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240326656001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:58:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240326656001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":110828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:58:58] local.INFO: GPS data processed {"connection_id":110828,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:58:58] local.INFO: Acknowledgment sent {"connection_id":110828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:59:02] local.INFO: TCP Data received {"connection_id":110829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:59:02] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:59:02] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 09:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:59:03] local.INFO: TCP Data received {"connection_id":112393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:59:03] local.INFO: Processing buffer {"connection_id":112393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:59:03] local.INFO: Packet analysis {"connection_id":112393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:59:03] local.INFO: Extracted packet for processing {"connection_id":112393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 09:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 09:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:59:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 09:59:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":112393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:59:03] local.INFO: GPS data processed {"connection_id":112393,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:59:03] local.INFO: Acknowledgment sent {"connection_id":112393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:59:05] local.INFO: TCP Data received {"connection_id":112394,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:59:05] local.INFO: Processing buffer {"connection_id":112394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 09:59:05] local.INFO: IMEI packet received {"connection_id":112394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 09:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":112394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:59:07] local.INFO: TCP Data received {"connection_id":110829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:59:07] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 09:59:07] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 09:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:08] local.INFO: TCP Data received {"connection_id":110829,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bc6348012d7ceb0005ec3c080005004b2b..."} 
[2026-06-23 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bc6348012d7ceb0005ec3c080005004b2b..."} 
[2026-06-23 09:59:08] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bc6348012d7ceb0005ec3c080005004b2b..."} 
[2026-06-23 09:59:08] local.INFO: Packet analysis {"connection_id":110829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:59:08] local.INFO: Extracted packet for processing {"connection_id":110829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":99367944,"longitude_deg":76.3161344,"latitude_deg":9.9367944,"altitude":5,"angle":75,"satellites":43,"speed":0,"hex_longitude":"2d7ceb00","hex_latitude":"05ec3c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240279552001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305668261888,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782188893000,"timestamp_ms":1782188893000,"timestamp_seconds":1782188893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bc6348"} 
[2026-06-23 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-06-23 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 09:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240279552001,"66":2231,"197":206,"87":13824,"24":0,"16":96336863773589504,"45":9001288305668261888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-23 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240279552001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305668261888,"description":"Unknown IO ID 45"} 
[2026-06-23 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240279552001,"power":2231,"unknown_197":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9001288305668261888}} 
[2026-06-23 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":110829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:59:08] local.INFO: GPS data processed {"connection_id":110829,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:59:08] local.INFO: Acknowledgment sent {"connection_id":110829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:59:16] local.INFO: TCP Data received {"connection_id":112395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:16] local.INFO: Processing buffer {"connection_id":112395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:16] local.INFO: IMEI packet received {"connection_id":112395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 09:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":112395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:59:17] local.INFO: TCP Data received {"connection_id":112395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:17] local.INFO: Processing buffer {"connection_id":112395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:17] local.INFO: IMEI packet received {"connection_id":112395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":112395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:18] local.INFO: TCP Data received {"connection_id":112395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:18] local.INFO: Processing buffer {"connection_id":112395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:18] local.INFO: IMEI packet received {"connection_id":112395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":112395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:20] local.INFO: TCP Data received {"connection_id":112395,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:20] local.INFO: Processing buffer {"connection_id":112395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 09:59:20] local.INFO: IMEI packet received {"connection_id":112395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":112395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:21] local.INFO: TCP Data received {"connection_id":112395,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bce818012d0b36c007042b680011004221..."} 
[2026-06-23 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bce818012d0b36c007042b680011004221..."} 
[2026-06-23 09:59:21] local.INFO: Processing buffer {"connection_id":112395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bce818012d0b36c007042b680011004221..."} 
[2026-06-23 09:59:21] local.INFO: Packet analysis {"connection_id":112395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:59:21] local.INFO: Extracted packet for processing {"connection_id":112395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":755709632,"raw_latitude":117713768,"longitude_deg":75.5709632,"latitude_deg":11.7713768,"altitude":17,"angle":66,"satellites":33,"speed":6,"hex_longitude":"2d0b36c0","hex_latitude":"07042b68","is_valid_coordinates":true} 
[2026-06-23 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240363520001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21868500297449472,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808044319526408192,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:21] 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-06-23 09:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782188927000,"timestamp_ms":1782188927000,"timestamp_seconds":1782188927,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bce818"} 
[2026-06-23 09:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:59:21] 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-06-23 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 09:59:21] 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-06-23 09:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240363520001,"66":14439,"96":206,"94":10240,"24":6,"16":21868500297449472,"45":808044319526408192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 09:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240363520001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:59:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 09:59:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21868500297449472,"km_value":21868500297449.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":808044319526408192,"description":"Unknown IO ID 45"} 
[2026-06-23 09:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240363520001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":808044319526408192}} 
[2026-06-23 09:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":112395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370182,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:59:21] local.INFO: GPS data processed {"connection_id":112395,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:59:21] local.INFO: Acknowledgment sent {"connection_id":112395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:59:24] local.INFO: TCP Data received {"connection_id":111458,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:59:24] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:59:24] local.INFO: IMEI packet received {"connection_id":111458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 09:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":111458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:59:29] local.INFO: TCP Data received {"connection_id":111458,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:59:29] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 09:59:29] local.INFO: IMEI packet received {"connection_id":111458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 09:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":111458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:31] local.INFO: TCP Data received {"connection_id":111458,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:59:31] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 09:59:31] local.INFO: Packet analysis {"connection_id":111458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:59:31] local.INFO: Extracted packet for processing {"connection_id":111458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 09:59:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 09: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-06-23 09:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 09:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 09:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 09:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 09: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-06-23 09:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 09:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 09:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 09:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 09:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 09:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 09:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:59:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 09:59:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 09:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 09:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 09:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":111458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:59:31] local.INFO: GPS data processed {"connection_id":111458,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:59:31] local.INFO: Acknowledgment sent {"connection_id":111458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:59:42] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:42] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:42] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 09:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 09:59:42] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:42] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:42] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:48] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:48] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 09:59:48] local.INFO: IMEI packet received {"connection_id":110664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 09:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":110664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 09:59:48] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bb3e50012d1968c0071fee48003f011429..."} 
[2026-06-23 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bb3e50012d1968c0071fee48003f011429..."} 
[2026-06-23 09:59:48] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bb3e50012d1968c0071fee48003f011429..."} 
[2026-06-23 09:59:48] local.INFO: Packet analysis {"connection_id":110664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 09:59:48] local.INFO: Extracted packet for processing {"connection_id":110664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240332032001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188818000,"timestamp_ms":1782188818000,"timestamp_seconds":1782188818,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bb3e50"} 
[2026-06-23 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 09:59:48] 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-06-23 09:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 09:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240332032001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240332032001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:59:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 09:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240332032001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":110664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:59:48] local.INFO: GPS data processed {"connection_id":110664,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:59:48] local.INFO: Acknowledgment sent {"connection_id":110664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 09:59:52] local.INFO: TCP Data received {"connection_id":112395,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bcefe8012d0b37c007042bd00011005221..."} 
[2026-06-23 09:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bcefe8012d0b37c007042bd00011005221..."} 
[2026-06-23 09:59:52] local.INFO: Processing buffer {"connection_id":112395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bcefe8012d0b37c007042bd00011005221..."} 
[2026-06-23 09:59:52] local.INFO: Packet analysis {"connection_id":112395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:59:52] local.INFO: Extracted packet for processing {"connection_id":112395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 09:59:52] local.INFO: GPS Element Parsed {"raw_longitude":755709888,"raw_latitude":117713872,"longitude_deg":75.5709888,"latitude_deg":11.7713872,"altitude":17,"angle":82,"satellites":33,"speed":7,"hex_longitude":"2d0b37c0","hex_latitude":"07042bd0","is_valid_coordinates":true} 
[2026-06-23 09:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 09:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240365312001,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21868513182351360,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808044319526840320,"note":"Value kept but may cause issues"} 
[2026-06-23 09:59:52] 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-06-23 09:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782188929000,"timestamp_ms":1782188929000,"timestamp_seconds":1782188929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bcefe8"} 
[2026-06-23 09:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 09:59:52] 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-06-23 09:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 09:59:52] 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-06-23 09:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 09:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 09:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 09:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 09:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 09:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 09:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 09:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 09:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240365312001,"66":14428,"96":206,"94":10240,"24":7,"16":21868513182351360,"45":808044319526840320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 09:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 09:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 09:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240365312001,"description":"Unknown IO ID 0"} 
[2026-06-23 09:59:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 09:59:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 09:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21868513182351360,"km_value":21868513182351.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 09:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":808044319526840320,"description":"Unknown IO ID 45"} 
[2026-06-23 09:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240365312001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":808044319526840320}} 
[2026-06-23 09:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":112395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 09:59:52] local.INFO: GPS data processed {"connection_id":112395,"processed":1,"errors":0,"total":1} 
[2026-06-23 09:59:52] local.INFO: Acknowledgment sent {"connection_id":112395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:00:03] local.INFO: TCP Data received {"connection_id":111458,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:00:03] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:00:03] local.INFO: Packet analysis {"connection_id":111458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:00:03] local.INFO: Extracted packet for processing {"connection_id":111458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 10:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 10:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:00:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":111458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:00:03] local.INFO: GPS data processed {"connection_id":111458,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:00:03] local.INFO: Acknowledgment sent {"connection_id":111458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:00:16] local.INFO: TCP Data received {"connection_id":111459,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:16] local.INFO: Processing buffer {"connection_id":111459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:16] local.INFO: IMEI packet received {"connection_id":111459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":111459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:00:19] local.INFO: TCP Data received {"connection_id":111459,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:19] local.INFO: Processing buffer {"connection_id":111459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:19] local.INFO: IMEI packet received {"connection_id":111459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":111459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:00:19] local.INFO: TCP Data received {"connection_id":110664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bb9058012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bb9058012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:00:19] local.INFO: Processing buffer {"connection_id":110664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bb9058012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:00:19] local.INFO: Packet analysis {"connection_id":110664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 10:00:19] local.INFO: Extracted packet for processing {"connection_id":110664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 10:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240337408001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188839000,"timestamp_ms":1782188839000,"timestamp_seconds":1782188839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bb9058"} 
[2026-06-23 10:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:00:19] 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-06-23 10:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 10:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240337408001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240337408001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:00:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240337408001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":110664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:00:20] local.INFO: GPS data processed {"connection_id":110664,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:00:20] local.INFO: Acknowledgment sent {"connection_id":110664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:00:21] local.INFO: TCP Data received {"connection_id":111459,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:21] local.INFO: Processing buffer {"connection_id":111459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:00:21] local.INFO: IMEI packet received {"connection_id":111459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":111459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:00:21] local.INFO: TCP Data received {"connection_id":111459,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bd2698012d0b4a00070430580012004621..."} 
[2026-06-23 10:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bd2698012d0b4a00070430580012004621..."} 
[2026-06-23 10:00:21] local.INFO: Processing buffer {"connection_id":111459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bd2698012d0b4a00070430580012004621..."} 
[2026-06-23 10:00:21] local.INFO: Packet analysis {"connection_id":111459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:00:21] local.INFO: Extracted packet for processing {"connection_id":111459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:00:21] local.INFO: GPS Element Parsed {"raw_longitude":755714560,"raw_latitude":117715032,"longitude_deg":75.571456,"latitude_deg":11.7715032,"altitude":18,"angle":70,"satellites":33,"speed":12,"hex_longitude":"2d0b4a00","hex_latitude":"07043058","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240365824001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21868745110585344,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808325794503577600,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:21] 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-06-23 10:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782188943000,"timestamp_ms":1782188943000,"timestamp_seconds":1782188943,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bd2698"} 
[2026-06-23 10:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:00:21] 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-06-23 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:00:21] 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-06-23 10: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-06-23 10:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240365824001,"66":14428,"96":206,"94":10240,"24":12,"16":21868745110585344,"45":808325794503577600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 10:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240365824001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:00:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 10:00:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 10:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21868745110585344,"km_value":21868745110585.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":808325794503577600,"description":"Unknown IO ID 45"} 
[2026-06-23 10:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240365824001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":808325794503577600}} 
[2026-06-23 10:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":111459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370188,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:00:22] local.INFO: GPS data processed {"connection_id":111459,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:00:22] local.INFO: Acknowledgment sent {"connection_id":111459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:00:25] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:00:25] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:00:25] local.INFO: IMEI packet received {"connection_id":111460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":111460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:00:30] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:00:30] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:00:30] local.INFO: IMEI packet received {"connection_id":111460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":111460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:00:31] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:00:31] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:00:31] local.INFO: Packet analysis {"connection_id":111460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:00:31] local.INFO: Extracted packet for processing {"connection_id":111460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 10:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 10:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:00:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:00:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":111460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:00:31] local.INFO: GPS data processed {"connection_id":111460,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:00:31] local.INFO: Acknowledgment sent {"connection_id":111460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:00:43] local.INFO: TCP Data received {"connection_id":110830,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:00:43] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:00:43] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:00:45] local.INFO: TCP Data received {"connection_id":110830,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:00:45] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:00:45] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:00:46] local.INFO: TCP Data received {"connection_id":110830,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bbe260012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bbe260012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:00:46] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bbe260012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:00:46] local.INFO: Packet analysis {"connection_id":110830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 10:00:46] local.INFO: Extracted packet for processing {"connection_id":110830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bb"} 
[2026-06-23 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240342784001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782188860000,"timestamp_ms":1782188860000,"timestamp_seconds":1782188860,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bbe260"} 
[2026-06-23 10:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:00:46] 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-06-23 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 10:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240342784001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240342784001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240342784001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":110830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:00:46] local.INFO: GPS data processed {"connection_id":110830,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:00:46] local.INFO: Acknowledgment sent {"connection_id":110830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:00:53] local.INFO: TCP Data received {"connection_id":111459,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bd5578012d0b5e80070438000013003a20..."} 
[2026-06-23 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bd5578012d0b5e80070438000013003a20..."} 
[2026-06-23 10:00:53] local.INFO: Processing buffer {"connection_id":111459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bd5578012d0b5e80070438000013003a20..."} 
[2026-06-23 10:00:53] local.INFO: Packet analysis {"connection_id":111459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:00:53] local.INFO: Extracted packet for processing {"connection_id":111459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":755719808,"raw_latitude":117716992,"longitude_deg":75.5719808,"latitude_deg":11.7716992,"altitude":19,"angle":58,"satellites":32,"speed":6,"hex_longitude":"2d0b5e80","hex_latitude":"07043800","is_valid_coordinates":true} 
[2026-06-23 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240369408001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21869011398557696,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813462712828844032,"note":"Value kept but may cause issues"} 
[2026-06-23 10:00:53] 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-06-23 10:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782188955000,"timestamp_ms":1782188955000,"timestamp_seconds":1782188955,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bd5578"} 
[2026-06-23 10:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:00:53] 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-06-23 10:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:00:53] 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-06-23 10:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240369408001,"66":14407,"96":206,"94":10240,"24":6,"16":21869011398557696,"45":813462712828844032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 10:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240369408001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 10:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21869011398557696,"km_value":21869011398557.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":813462712828844032,"description":"Unknown IO ID 45"} 
[2026-06-23 10:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240369408001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":813462712828844032}} 
[2026-06-23 10:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":111459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370191,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:00:53] local.INFO: GPS data processed {"connection_id":111459,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:00:53] local.INFO: Acknowledgment sent {"connection_id":111459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:01:03] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:01:03] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:01:03] local.INFO: Packet analysis {"connection_id":111460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:01:03] local.INFO: Extracted packet for processing {"connection_id":111460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 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-06-23 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 10:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":111460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:01:03] local.INFO: GPS data processed {"connection_id":111460,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:01:03] local.INFO: Acknowledgment sent {"connection_id":111460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:01:16] local.INFO: TCP Data received {"connection_id":112397,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:01:16] local.INFO: Processing buffer {"connection_id":112397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:01:16] local.INFO: IMEI packet received {"connection_id":112397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":112397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:01:17] local.INFO: TCP Data received {"connection_id":110830,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bc3468012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bc3468012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:01:17] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bc3468012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:01:17] local.INFO: Packet analysis {"connection_id":110830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 10:01:17] local.INFO: Extracted packet for processing {"connection_id":110830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 10:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240348160001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782188881000,"timestamp_ms":1782188881000,"timestamp_seconds":1782188881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bc3468"} 
[2026-06-23 10:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":110830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":110830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":110830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240348160001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240348160001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:01:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240348160001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":110830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:01:17] local.INFO: GPS data processed {"connection_id":110830,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:01:17] local.INFO: Acknowledgment sent {"connection_id":110830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:01:21] local.INFO: TCP Data received {"connection_id":112397,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:01:21] local.INFO: Processing buffer {"connection_id":112397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:01:21] local.INFO: IMEI packet received {"connection_id":112397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":112397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:01:22] local.INFO: TCP Data received {"connection_id":112397,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2beebb8012d0b6a400703f758001600a821..."} 
[2026-06-23 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2beebb8012d0b6a400703f758001600a821..."} 
[2026-06-23 10:01:22] local.INFO: Processing buffer {"connection_id":112397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2beebb8012d0b6a400703f758001600a821..."} 
[2026-06-23 10:01:22] local.INFO: Packet analysis {"connection_id":112397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:01:22] local.INFO: Extracted packet for processing {"connection_id":112397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":755722816,"raw_latitude":117700440,"longitude_deg":75.5722816,"latitude_deg":11.770044,"altitude":22,"angle":168,"satellites":33,"speed":16,"hex_longitude":"2d0b6a40","hex_latitude":"0703f758","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240398336001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21869861802082304,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822469912080134144,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:22] 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-06-23 10:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782189059000,"timestamp_ms":1782189059000,"timestamp_seconds":1782189059,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2beebb8"} 
[2026-06-23 10:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:01: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-06-23 10: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 10:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240398336001,"66":14265,"96":206,"94":10240,"24":16,"16":21869861802082304,"45":822469912080134144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 10:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240398336001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:01:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 10:01:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 10:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21869861802082304,"km_value":21869861802082.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":822469912080134144,"description":"Unknown IO ID 45"} 
[2026-06-23 10:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240398336001,"power":14265,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":822469912080134144}} 
[2026-06-23 10:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":112397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:01:22] local.INFO: GPS data processed {"connection_id":112397,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:01:22] local.INFO: Acknowledgment sent {"connection_id":112397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:01:24] local.INFO: TCP Data received {"connection_id":112398,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:01:24] local.INFO: Processing buffer {"connection_id":112398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:01:24] local.INFO: IMEI packet received {"connection_id":112398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":112398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:01:30] local.INFO: TCP Data received {"connection_id":112398,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:01:30] local.INFO: Processing buffer {"connection_id":112398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:01:30] local.INFO: IMEI packet received {"connection_id":112398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":112398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:01:31] local.INFO: TCP Data received {"connection_id":112398,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:01:31] local.INFO: Processing buffer {"connection_id":112398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:01:31] local.INFO: Packet analysis {"connection_id":112398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:01:31] local.INFO: Extracted packet for processing {"connection_id":112398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:01:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 10:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 10:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:01:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":112398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:01:31] local.INFO: GPS data processed {"connection_id":112398,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:01:31] local.INFO: Acknowledgment sent {"connection_id":112398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:01:42] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:01:42] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:01:42] local.INFO: IMEI packet received {"connection_id":110666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":110666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:01:48] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:01:48] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:01:48] local.INFO: IMEI packet received {"connection_id":110666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":110666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:01:48] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bc8288012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bc8288012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:01:48] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bc8288012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:01:48] local.INFO: Packet analysis {"connection_id":110666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 10:01:48] local.INFO: Extracted packet for processing {"connection_id":110666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 10:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240353536001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188901000,"timestamp_ms":1782188901000,"timestamp_seconds":1782188901,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bc8288"} 
[2026-06-23 10:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:01:48] 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-06-23 10:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240353536001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240353536001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:01:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:01:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240353536001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":110666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:01:49] local.INFO: GPS data processed {"connection_id":110666,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:01:49] local.INFO: Acknowledgment sent {"connection_id":110666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:01:53] local.INFO: TCP Data received {"connection_id":112397,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf0328012d0b6c400703edf00016009822..."} 
[2026-06-23 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf0328012d0b6c400703edf00016009822..."} 
[2026-06-23 10:01:53] local.INFO: Processing buffer {"connection_id":112397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf0328012d0b6c400703edf00016009822..."} 
[2026-06-23 10:01:53] local.INFO: Packet analysis {"connection_id":112397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:01:53] local.INFO: Extracted packet for processing {"connection_id":112397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":755723328,"raw_latitude":117698032,"longitude_deg":75.5723328,"latitude_deg":11.7698032,"altitude":22,"angle":152,"satellites":34,"speed":11,"hex_longitude":"2d0b6c40","hex_latitude":"0703edf0","is_valid_coordinates":true} 
[2026-06-23 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240399104001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21869986356133888,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822540280824027136,"note":"Value kept but may cause issues"} 
[2026-06-23 10:01:53] 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-06-23 10:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782189065000,"timestamp_ms":1782189065000,"timestamp_seconds":1782189065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf0328"} 
[2026-06-23 10:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:01:53] 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-06-23 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 10:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240399104001,"66":14559,"96":206,"94":10240,"24":11,"16":21869986356133888,"45":822540280824027136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 10:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240399104001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:01:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 10:01:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 10:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21869986356133888,"km_value":21869986356133.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":822540280824027136,"description":"Unknown IO ID 45"} 
[2026-06-23 10:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240399104001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":822540280824027136}} 
[2026-06-23 10:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":112397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:01:53] local.INFO: GPS data processed {"connection_id":112397,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:01:53] local.INFO: Acknowledgment sent {"connection_id":112397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:02:03] local.INFO: TCP Data received {"connection_id":112398,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:02:03] local.INFO: Processing buffer {"connection_id":112398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bad8c0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:02:03] local.INFO: Packet analysis {"connection_id":112398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:02:03] local.INFO: Extracted packet for processing {"connection_id":112398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ba"} 
[2026-06-23 10:02:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782188792000,"timestamp_ms":1782188792000,"timestamp_seconds":1782188792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bad8c0"} 
[2026-06-23 10:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 10:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240253696001,"66":25778,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:02:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240253696001,"power":25778,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":112398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:02:03] local.INFO: GPS data processed {"connection_id":112398,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:02:03] local.INFO: Acknowledgment sent {"connection_id":112398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:02:20] local.INFO: TCP Data received {"connection_id":110666,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bcd490012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bcd490012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:02:20] local.INFO: Processing buffer {"connection_id":110666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bcd490012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:02:20] local.INFO: Packet analysis {"connection_id":110666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 10:02:20] local.INFO: Extracted packet for processing {"connection_id":110666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bc"} 
[2026-06-23 10:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240358656001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782188922000,"timestamp_ms":1782188922000,"timestamp_seconds":1782188922,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bcd490"} 
[2026-06-23 10:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:02:20] 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-06-23 10:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240358656001,"66":12374,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240358656001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:02:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240358656001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":110666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:02:20] local.INFO: GPS data processed {"connection_id":110666,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:02:20] local.INFO: Acknowledgment sent {"connection_id":110666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:02:24] local.INFO: TCP Data received {"connection_id":110832,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:02:24] local.INFO: Processing buffer {"connection_id":110832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:02:24] local.INFO: IMEI packet received {"connection_id":110832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":110832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:02:29] local.INFO: TCP Data received {"connection_id":110832,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:02:29] local.INFO: Processing buffer {"connection_id":110832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:02:29] local.INFO: IMEI packet received {"connection_id":110832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":110832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:02:30] local.INFO: TCP Data received {"connection_id":110832,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:02:30] local.INFO: Processing buffer {"connection_id":110832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:02:30] local.INFO: Packet analysis {"connection_id":110832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:02:30] local.INFO: Extracted packet for processing {"connection_id":110832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:02:30] 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-06-23 10:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:02:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":110832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:02:30] local.INFO: GPS data processed {"connection_id":110832,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:02:30] local.INFO: Acknowledgment sent {"connection_id":110832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:02:43] local.INFO: TCP Data received {"connection_id":112399,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:02:43] local.INFO: Processing buffer {"connection_id":112399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:02:43] local.INFO: IMEI packet received {"connection_id":112399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":112399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:02:48] local.INFO: TCP Data received {"connection_id":112399,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:02:48] local.INFO: Processing buffer {"connection_id":112399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:02:48] local.INFO: IMEI packet received {"connection_id":112399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":112399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:02:48] local.INFO: TCP Data received {"connection_id":112399,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bd2698012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bd2698012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:02:48] local.INFO: Processing buffer {"connection_id":112399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bd2698012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:02:48] local.INFO: Packet analysis {"connection_id":112399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:02:48] local.INFO: Extracted packet for processing {"connection_id":112399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240364032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188943000,"timestamp_ms":1782188943000,"timestamp_seconds":1782188943,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bd2698"} 
[2026-06-23 10:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 10:02:48] 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-06-23 10:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240364032001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240364032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:02:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240364032001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":112399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:02:48] local.INFO: GPS data processed {"connection_id":112399,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:02:48] local.INFO: Acknowledgment sent {"connection_id":112399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:02:58] local.INFO: TCP Data received {"connection_id":110667,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:02:58] local.INFO: Processing buffer {"connection_id":110667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:02:58] local.INFO: IMEI packet received {"connection_id":110667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":110667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:03:02] local.INFO: TCP Data received {"connection_id":110832,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:03:02] local.INFO: Processing buffer {"connection_id":110832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:03:02] local.INFO: Packet analysis {"connection_id":110832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:03:02] local.INFO: Extracted packet for processing {"connection_id":110832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:03:02] 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-06-23 10: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-06-23 10:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:03:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":110832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:03:02] local.INFO: GPS data processed {"connection_id":110832,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:03:02] local.INFO: Acknowledgment sent {"connection_id":110832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:03:19] local.INFO: TCP Data received {"connection_id":112399,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bd78a0012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bd78a0012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:03:19] local.INFO: Processing buffer {"connection_id":112399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bd78a0012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:03:19] local.INFO: Packet analysis {"connection_id":112399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:03:19] local.INFO: Extracted packet for processing {"connection_id":112399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240369408001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782188964000,"timestamp_ms":1782188964000,"timestamp_seconds":1782188964,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bd78a0"} 
[2026-06-23 10:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:03:19] 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-06-23 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240369408001,"66":12374,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240369408001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:03:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240369408001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":112399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:03:20] local.INFO: GPS data processed {"connection_id":112399,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:03:20] local.INFO: Acknowledgment sent {"connection_id":112399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:03:25] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:03:25] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:03:25] local.INFO: IMEI packet received {"connection_id":110668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":110668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:03:30] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:03:30] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:03:30] local.INFO: IMEI packet received {"connection_id":110668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":110668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:03:31] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:03:31] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:03:31] local.INFO: Packet analysis {"connection_id":110668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:03:31] local.INFO: Extracted packet for processing {"connection_id":110668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:03:31] 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-06-23 10:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:03:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":110668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:03:31] local.INFO: GPS data processed {"connection_id":110668,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:03:31] local.INFO: Acknowledgment sent {"connection_id":110668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:03:42] local.INFO: TCP Data received {"connection_id":110669,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:03:42] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:03:42] local.INFO: IMEI packet received {"connection_id":110669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":110669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:03:48] local.INFO: TCP Data received {"connection_id":110669,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:03:48] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:03:48] local.INFO: IMEI packet received {"connection_id":110669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":110669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:03:48] local.INFO: TCP Data received {"connection_id":110669,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bdcaa8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bdcaa8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:03:48] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bdcaa8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:03:48] local.INFO: Packet analysis {"connection_id":110669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:03:48] local.INFO: Extracted packet for processing {"connection_id":110669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bd"} 
[2026-06-23 10:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240374784001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782188985000,"timestamp_ms":1782188985000,"timestamp_seconds":1782188985,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bdcaa8"} 
[2026-06-23 10:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:03:48] 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-06-23 10:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 10:03:48] 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-06-23 10:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240374784001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240374784001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240374784001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":110669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:03:48] local.INFO: GPS data processed {"connection_id":110669,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:03:48] local.INFO: Acknowledgment sent {"connection_id":110669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:04:03] local.INFO: TCP Data received {"connection_id":110668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:04:03] local.INFO: Processing buffer {"connection_id":110668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:04:03] local.INFO: Packet analysis {"connection_id":110668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:04:03] local.INFO: Extracted packet for processing {"connection_id":110668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:04:03] 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-06-23 10: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-06-23 10:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:04:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":110668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:04:03] local.INFO: GPS data processed {"connection_id":110668,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:04:03] local.INFO: Acknowledgment sent {"connection_id":110668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:04:19] local.INFO: TCP Data received {"connection_id":110669,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2be2098012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2be2098012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:04:19] local.INFO: Processing buffer {"connection_id":110669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2be2098012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:04:19] local.INFO: Packet analysis {"connection_id":110669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:04:19] local.INFO: Extracted packet for processing {"connection_id":110669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240380160001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189007000,"timestamp_ms":1782189007000,"timestamp_seconds":1782189007,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2be2098"} 
[2026-06-23 10:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:04:19] 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-06-23 10: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:04:19] 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-06-23 10: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-06-23 10:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240380160001,"66":12015,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240380160001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:04:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240380160001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":110669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:04:20] local.INFO: GPS data processed {"connection_id":110669,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:04:20] local.INFO: Acknowledgment sent {"connection_id":110669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:04:24] local.INFO: TCP Data received {"connection_id":112401,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:04:24] local.INFO: Processing buffer {"connection_id":112401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:04:24] local.INFO: IMEI packet received {"connection_id":112401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":112401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:04:26] local.INFO: TCP Data received {"connection_id":110834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:04:26] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:04:26] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:04:30] local.INFO: TCP Data received {"connection_id":112401,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:04:30] local.INFO: Processing buffer {"connection_id":112401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:04:30] local.INFO: IMEI packet received {"connection_id":112401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":112401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:04:31] local.INFO: TCP Data received {"connection_id":112401,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:04:31] local.INFO: Processing buffer {"connection_id":112401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:04:31] local.INFO: Packet analysis {"connection_id":112401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:04:31] local.INFO: Extracted packet for processing {"connection_id":112401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:04:31] 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-06-23 10:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:04:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:04:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":112401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:04:31] local.INFO: GPS data processed {"connection_id":112401,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:04:31] local.INFO: Acknowledgment sent {"connection_id":112401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:04:32] local.INFO: TCP Data received {"connection_id":110834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:04:32] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:04:32] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:04:33] local.INFO: TCP Data received {"connection_id":110834,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c129f0012d0b40c007037f28001a00eb20..."} 
[2026-06-23 10:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c129f0012d0b40c007037f28001a00eb20..."} 
[2026-06-23 10:04:33] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c129f0012d0b40c007037f28001a00eb20..."} 
[2026-06-23 10:04:33] local.INFO: Packet analysis {"connection_id":110834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c1"} 
[2026-06-23 10:04:33] local.INFO: Extracted packet for processing {"connection_id":110834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c1"} 
[2026-06-23 10:04:33] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117669672,"longitude_deg":75.5712192,"latitude_deg":11.7669672,"altitude":26,"angle":235,"satellites":32,"speed":13,"hex_longitude":"2d0b40c0","hex_latitude":"07037f28","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240436480001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21872988538273792,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811210913003614208,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:33] 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-06-23 10:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782189206000,"timestamp_ms":1782189206000,"timestamp_seconds":1782189206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c129f0"} 
[2026-06-23 10:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:04: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-06-23 10: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-23 10:04: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-06-23 10: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-06-23 10:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110834,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110834,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240436480001,"66":14537,"96":206,"94":10240,"24":13,"16":21872988538273792,"45":811210913003614208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 10:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240436480001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:04:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 10:04:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 10:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21872988538273792,"km_value":21872988538273.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":811210913003614208,"description":"Unknown IO ID 45"} 
[2026-06-23 10:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240436480001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":811210913003614208}} 
[2026-06-23 10:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":110834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370209,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:04:33] local.INFO: GPS data processed {"connection_id":110834,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:04:33] local.INFO: Acknowledgment sent {"connection_id":110834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:04:42] local.INFO: TCP Data received {"connection_id":110671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:04:42] local.INFO: Processing buffer {"connection_id":110671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:04:42] local.INFO: IMEI packet received {"connection_id":110671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":110671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:04:42] local.INFO: TCP Data received {"connection_id":110670,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:04:42] local.INFO: Processing buffer {"connection_id":110670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:04:42] local.INFO: IMEI packet received {"connection_id":110670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":110670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:04:48] local.INFO: TCP Data received {"connection_id":110671,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:04:48] local.INFO: Processing buffer {"connection_id":110671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:04:48] local.INFO: IMEI packet received {"connection_id":110671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":110671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:04:48] local.INFO: TCP Data received {"connection_id":110671,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2be72a0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2be72a0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:04:48] local.INFO: Processing buffer {"connection_id":110671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2be72a0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:04:48] local.INFO: Packet analysis {"connection_id":110671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:04:48] local.INFO: Extracted packet for processing {"connection_id":110671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240385792001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189028000,"timestamp_ms":1782189028000,"timestamp_seconds":1782189028,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2be72a0"} 
[2026-06-23 10:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 10:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240385792001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240385792001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:04:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240385792001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":110671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:04:48] local.INFO: GPS data processed {"connection_id":110671,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:04:48] local.INFO: Acknowledgment sent {"connection_id":110671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:03] local.INFO: TCP Data received {"connection_id":112401,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:05:03] local.INFO: Processing buffer {"connection_id":112401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:05:03] local.INFO: Packet analysis {"connection_id":112401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:05:03] local.INFO: Extracted packet for processing {"connection_id":112401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:05:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:05:03] 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-06-23 10: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-06-23 10:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:05:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":112401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:03] local.INFO: GPS data processed {"connection_id":112401,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:03] local.INFO: Acknowledgment sent {"connection_id":112401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:07] local.INFO: TCP Data received {"connection_id":110835,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:05:07] local.INFO: Processing buffer {"connection_id":110835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:05:07] local.INFO: IMEI packet received {"connection_id":110835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":110835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:05:19] local.INFO: TCP Data received {"connection_id":110671,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bec4a8012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bec4a8012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:05:19] local.INFO: Processing buffer {"connection_id":110671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bec4a8012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:05:19] local.INFO: Packet analysis {"connection_id":110671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:05:19] local.INFO: Extracted packet for processing {"connection_id":110671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2be"} 
[2026-06-23 10:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240391168001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189049000,"timestamp_ms":1782189049000,"timestamp_seconds":1782189049,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bec4a8"} 
[2026-06-23 10:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05:19] 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-06-23 10:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:05:19] 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-06-23 10:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240391168001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240391168001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240391168001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":110671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:19] local.INFO: GPS data processed {"connection_id":110671,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:19] local.INFO: Acknowledgment sent {"connection_id":110671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:21] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:05:21] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:05:21] local.INFO: IMEI packet received {"connection_id":111461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":111461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:05:22] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:05:22] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:05:22] local.INFO: IMEI packet received {"connection_id":111461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":111461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:05:23] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c279e0012d0af9800702f728001200be21..."} 
[2026-06-23 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c279e0012d0af9800702f728001200be21..."} 
[2026-06-23 10:05:23] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c279e0012d0af9800702f728001200be21..."} 
[2026-06-23 10:05:23] local.INFO: Packet analysis {"connection_id":111461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c2"} 
[2026-06-23 10:05:23] local.INFO: Extracted packet for processing {"connection_id":111461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c2"} 
[2026-06-23 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":755693952,"raw_latitude":117634856,"longitude_deg":75.5693952,"latitude_deg":11.7634856,"altitude":18,"angle":190,"satellites":33,"speed":21,"hex_longitude":"2d0af980","hex_latitude":"0702f728","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240456192001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21874942748393472,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793759464440780800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05: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-06-23 10:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782189292000,"timestamp_ms":1782189292000,"timestamp_seconds":1782189292,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c279e0"} 
[2026-06-23 10:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05: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-06-23 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 10:05: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-06-23 10: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-06-23 10:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":111461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":111461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":111461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240456192001,"66":14309,"17":206,"94":11008,"24":21,"16":21874942748393472,"45":793759464440780800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240456192001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21874942748393472,"km_value":21874942748393.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":793759464440780800,"description":"Unknown IO ID 45"} 
[2026-06-23 10:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240456192001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":793759464440780800}} 
[2026-06-23 10:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":111461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370213,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:23] local.INFO: GPS data processed {"connection_id":111461,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:23] local.INFO: Acknowledgment sent {"connection_id":111461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:23] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c28d68012d0af7800702ee50001200ca1f..."} 
[2026-06-23 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c28d68012d0af7800702ee50001200ca1f..."} 
[2026-06-23 10:05:23] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c28d68012d0af7800702ee50001200ca1f..."} 
[2026-06-23 10:05:23] local.INFO: Packet analysis {"connection_id":111461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c2"} 
[2026-06-23 10:05:23] local.INFO: Extracted packet for processing {"connection_id":111461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c2"} 
[2026-06-23 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":755693440,"raw_latitude":117632592,"longitude_deg":75.569344,"latitude_deg":11.7632592,"altitude":18,"angle":202,"satellites":31,"speed":14,"hex_longitude":"2d0af780","hex_latitude":"0702ee50","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240458752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21875058712510464,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790803977183111168,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05: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-06-23 10:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782189297000,"timestamp_ms":1782189297000,"timestamp_seconds":1782189297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c28d68"} 
[2026-06-23 10:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05: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-06-23 10: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 10:05:23] 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-06-23 10: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-06-23 10:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":111461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":111461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":111461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240458752001,"66":14352,"17":206,"94":11008,"24":14,"16":21875058712510464,"45":790803977183111168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240458752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21875058712510464,"km_value":21875058712510.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":790803977183111168,"description":"Unknown IO ID 45"} 
[2026-06-23 10:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240458752001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":790803977183111168}} 
[2026-06-23 10:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":111461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370214,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:24] local.INFO: GPS data processed {"connection_id":111461,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:24] local.INFO: Acknowledgment sent {"connection_id":111461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:24] local.INFO: TCP Data received {"connection_id":112402,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:05:24] local.INFO: Processing buffer {"connection_id":112402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:05:24] local.INFO: IMEI packet received {"connection_id":112402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":112402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:05:30] local.INFO: TCP Data received {"connection_id":112402,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:05:30] local.INFO: Processing buffer {"connection_id":112402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:05:30] local.INFO: IMEI packet received {"connection_id":112402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":112402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:05:31] local.INFO: TCP Data received {"connection_id":112402,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:05:31] local.INFO: Processing buffer {"connection_id":112402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:05:31] local.INFO: Packet analysis {"connection_id":112402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:05:31] local.INFO: Extracted packet for processing {"connection_id":112402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:05:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:05:31] 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-06-23 10:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":112402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:31] local.INFO: GPS data processed {"connection_id":112402,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:31] local.INFO: Acknowledgment sent {"connection_id":112402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:42] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:05:42] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:05:42] local.INFO: IMEI packet received {"connection_id":111462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":111462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:05:48] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:05:48] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:05:48] local.INFO: IMEI packet received {"connection_id":111462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":111462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:05:48] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf16b0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf16b0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:05:48] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf16b0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:05:48] local.INFO: Packet analysis {"connection_id":111462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:05:48] local.INFO: Extracted packet for processing {"connection_id":111462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240396544001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189070000,"timestamp_ms":1782189070000,"timestamp_seconds":1782189070,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf16b0"} 
[2026-06-23 10:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:05:48] 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-06-23 10:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240396544001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240396544001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240396544001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":111462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:48] local.INFO: GPS data processed {"connection_id":111462,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:48] local.INFO: Acknowledgment sent {"connection_id":111462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:05:55] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c34118012d0b00800702c1f0001400b222..."} 
[2026-06-23 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c34118012d0b00800702c1f0001400b222..."} 
[2026-06-23 10:05:55] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c34118012d0b00800702c1f0001400b222..."} 
[2026-06-23 10:05:55] local.INFO: Packet analysis {"connection_id":111461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:05:55] local.INFO: Extracted packet for processing {"connection_id":111461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":117621232,"longitude_deg":75.5695744,"latitude_deg":11.7621232,"altitude":20,"angle":178,"satellites":34,"speed":13,"hex_longitude":"2d0b0080","hex_latitude":"0702c1f0","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240471552001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21875810331787264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792703933272506368,"note":"Value kept but may cause issues"} 
[2026-06-23 10:05:55] 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-06-23 10:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782189343000,"timestamp_ms":1782189343000,"timestamp_seconds":1782189343,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c34118"} 
[2026-06-23 10:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:05:55] 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-06-23 10: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 10:05:55] 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-06-23 10: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-06-23 10:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240471552001,"66":14450,"17":206,"94":11008,"24":13,"16":21875810331787264,"45":792703933272506368},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240471552001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:05:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21875810331787264,"km_value":21875810331787.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":792703933272506368,"description":"Unknown IO ID 45"} 
[2026-06-23 10:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240471552001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":792703933272506368}} 
[2026-06-23 10:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":111461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370217,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:05:55] local.INFO: GPS data processed {"connection_id":111461,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:05:55] local.INFO: Acknowledgment sent {"connection_id":111461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:06:03] local.INFO: TCP Data received {"connection_id":112402,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:06:03] local.INFO: Processing buffer {"connection_id":112402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:06:03] local.INFO: Packet analysis {"connection_id":112402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:06:03] local.INFO: Extracted packet for processing {"connection_id":112402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:06:03] 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-06-23 10: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-06-23 10:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":112402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:06:03] local.INFO: GPS data processed {"connection_id":112402,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:06:03] local.INFO: Acknowledgment sent {"connection_id":112402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:06:16] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:06:16] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:06:16] local.INFO: IMEI packet received {"connection_id":110672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":110672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:06:19] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf68b8012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf68b8012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:06:19] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf68b8012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:06:19] local.INFO: Packet analysis {"connection_id":111462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:06:19] local.INFO: Extracted packet for processing {"connection_id":111462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240401920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189091000,"timestamp_ms":1782189091000,"timestamp_seconds":1782189091,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf68b8"} 
[2026-06-23 10:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 10:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:06: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-06-23 10:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240401920001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240401920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:06:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240401920001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":111462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:06:19] local.INFO: GPS data processed {"connection_id":111462,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:06:19] local.INFO: Acknowledgment sent {"connection_id":111462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:06:22] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:06:22] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:06:22] local.INFO: IMEI packet received {"connection_id":110672,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":110672,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:06:23] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c35888012d0b02400702b5c0001400a121..."} 
[2026-06-23 10:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c35888012d0b02400702b5c0001400a121..."} 
[2026-06-23 10:06:23] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c35888012d0b02400702b5c0001400a121..."} 
[2026-06-23 10:06:23] local.INFO: Packet analysis {"connection_id":110672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:06:23] local.INFO: Extracted packet for processing {"connection_id":110672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755696192,"raw_latitude":117618112,"longitude_deg":75.5696192,"latitude_deg":11.7618112,"altitude":20,"angle":161,"satellites":33,"speed":22,"hex_longitude":"2d0b0240","hex_latitude":"0702b5c0","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240471808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21875964950609920,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302016598016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06: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-06-23 10:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782189349000,"timestamp_ms":1782189349000,"timestamp_seconds":1782189349,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c35888"} 
[2026-06-23 10:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 10:06: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-06-23 10: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-06-23 10:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240471808001,"66":14407,"17":206,"94":11008,"24":22,"16":21875964950609920,"45":792774302016598016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240471808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:06:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21875964950609920,"km_value":21875964950609.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302016598016,"description":"Unknown IO ID 45"} 
[2026-06-23 10:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240471808001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":792774302016598016}} 
[2026-06-23 10:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":110672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370220,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:06:23] local.INFO: GPS data processed {"connection_id":110672,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:06:23] local.INFO: Acknowledgment sent {"connection_id":110672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:06:24] local.INFO: TCP Data received {"connection_id":112403,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:06:24] local.INFO: Processing buffer {"connection_id":112403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:06:24] local.INFO: IMEI packet received {"connection_id":112403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":112403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:06:30] local.INFO: TCP Data received {"connection_id":112403,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:06:30] local.INFO: Processing buffer {"connection_id":112403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:06:30] local.INFO: IMEI packet received {"connection_id":112403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":112403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:06:31] local.INFO: TCP Data received {"connection_id":112403,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:06:31] local.INFO: Processing buffer {"connection_id":112403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:06:31] local.INFO: Packet analysis {"connection_id":112403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:06:31] local.INFO: Extracted packet for processing {"connection_id":112403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:06:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:06:31] 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-06-23 10: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-06-23 10:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:06:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":112403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:06:31] local.INFO: GPS data processed {"connection_id":112403,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:06:31] local.INFO: Acknowledgment sent {"connection_id":112403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:06:42] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:06:42] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:06:42] local.INFO: IMEI packet received {"connection_id":110836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":110836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:06:48] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:06:48] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:06:48] local.INFO: IMEI packet received {"connection_id":110836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":110836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:06:48] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c2ef10012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c2ef10012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:06:48] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c2ef10012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:06:48] local.INFO: Packet analysis {"connection_id":110836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c2"} 
[2026-06-23 10:06:48] local.INFO: Extracted packet for processing {"connection_id":110836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c2"} 
[2026-06-23 10:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240460800001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189322000,"timestamp_ms":1782189322000,"timestamp_seconds":1782189322,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c2ef10"} 
[2026-06-23 10:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:06:48] 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-06-23 10:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:06:48] 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-06-23 10:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240460800001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240460800001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:06:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240460800001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":110836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:06:49] local.INFO: GPS data processed {"connection_id":110836,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:06:49] local.INFO: Acknowledgment sent {"connection_id":110836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:06:58] local.INFO: TCP Data received {"connection_id":110672,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c36058012d0b04000702b1a80014009622..."} 
[2026-06-23 10:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c36058012d0b04000702b1a80014009622..."} 
[2026-06-23 10:06:58] local.INFO: Processing buffer {"connection_id":110672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c36058012d0b04000702b1a80014009622..."} 
[2026-06-23 10:06:58] local.INFO: Packet analysis {"connection_id":110672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:06:58] local.INFO: Extracted packet for processing {"connection_id":110672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:06:58] local.INFO: GPS Element Parsed {"raw_longitude":755696640,"raw_latitude":117617064,"longitude_deg":75.569664,"latitude_deg":11.7617064,"altitude":20,"angle":150,"satellites":34,"speed":21,"hex_longitude":"2d0b0400","hex_latitude":"0702b1a8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240473344001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876020785184768,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793266883225042944,"note":"Value kept but may cause issues"} 
[2026-06-23 10:06:58] 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-06-23 10:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782189351000,"timestamp_ms":1782189351000,"timestamp_seconds":1782189351,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c36058"} 
[2026-06-23 10:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:06: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-06-23 10: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 10:06:58] 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-06-23 10: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-06-23 10:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":110672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":110672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":110672,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240473344001,"66":14428,"17":206,"94":11008,"24":21,"16":21876020785184768,"45":793266883225042944},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240473344001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876020785184768,"km_value":21876020785184.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":793266883225042944,"description":"Unknown IO ID 45"} 
[2026-06-23 10:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240473344001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":793266883225042944}} 
[2026-06-23 10:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":110672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370223,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:06:58] local.INFO: GPS data processed {"connection_id":110672,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:06:58] local.INFO: Acknowledgment sent {"connection_id":110672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:03] local.INFO: TCP Data received {"connection_id":112403,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:07:03] local.INFO: Processing buffer {"connection_id":112403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2bf7088012cb29b8007823df8004a00cf26..."} 
[2026-06-23 10:07:03] local.INFO: Packet analysis {"connection_id":112403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:07:03] local.INFO: Extracted packet for processing {"connection_id":112403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2bf"} 
[2026-06-23 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189093000,"timestamp_ms":1782189093000,"timestamp_seconds":1782189093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2bf7088"} 
[2026-06-23 10:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:03] 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-06-23 10: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-06-23 10:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240330752001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240330752001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":112403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:03] local.INFO: GPS data processed {"connection_id":112403,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:03] local.INFO: Acknowledgment sent {"connection_id":112403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:16] local.INFO: TCP Data received {"connection_id":110674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:07:16] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:07:16] local.INFO: IMEI packet received {"connection_id":110674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":110674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:07:20] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c34118012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c34118012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:07:20] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c34118012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:07:20] local.INFO: Packet analysis {"connection_id":110836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:20] local.INFO: Extracted packet for processing {"connection_id":110836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240466432001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782189343000,"timestamp_ms":1782189343000,"timestamp_seconds":1782189343,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c34118"} 
[2026-06-23 10:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07:20] 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-06-23 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240466432001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240466432001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240466432001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":110836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:20] local.INFO: GPS data processed {"connection_id":110836,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:20] local.INFO: Acknowledgment sent {"connection_id":110836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:21] local.INFO: TCP Data received {"connection_id":110674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:07:21] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:07:21] local.INFO: IMEI packet received {"connection_id":110674,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":110674,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:07:30] local.INFO: TCP Data received {"connection_id":111464,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:07:30] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:07:30] local.INFO: IMEI packet received {"connection_id":111464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":111464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:07:35] local.INFO: TCP Data received {"connection_id":111464,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:07:35] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:07:35] local.INFO: IMEI packet received {"connection_id":111464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":111464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:07:36] local.INFO: TCP Data received {"connection_id":111464,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:07:36] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:07:36] local.INFO: Packet analysis {"connection_id":111464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:07:36] local.INFO: Extracted packet for processing {"connection_id":111464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:07:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:07:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":111464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:36] local.INFO: GPS data processed {"connection_id":111464,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:36] local.INFO: Acknowledgment sent {"connection_id":111464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:38] local.INFO: TCP Data received {"connection_id":110674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c36c10012d0b07800702acd00014008a21..."} 
[2026-06-23 10:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c36c10012d0b07800702acd00014008a21..."} 
[2026-06-23 10:07:38] local.INFO: Processing buffer {"connection_id":110674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c36c10012d0b07800702acd00014008a21..."} 
[2026-06-23 10:07:38] local.INFO: Packet analysis {"connection_id":110674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:38] local.INFO: Extracted packet for processing {"connection_id":110674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:38] local.INFO: GPS Element Parsed {"raw_longitude":755697536,"raw_latitude":117615824,"longitude_deg":75.5697536,"latitude_deg":11.7615824,"altitude":20,"angle":138,"satellites":33,"speed":18,"hex_longitude":"2d0b0780","hex_latitude":"0702acd0","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240473856001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876093799628800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793759464434018304,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:38] 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-06-23 10:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782189354000,"timestamp_ms":1782189354000,"timestamp_seconds":1782189354,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c36c10"} 
[2026-06-23 10:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07: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-06-23 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:38] 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-06-23 10: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-06-23 10:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110674,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240473856001,"66":13580,"17":206,"94":11008,"24":18,"16":21876093799628800,"45":793759464434018304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240473856001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876093799628800,"km_value":21876093799628.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":793759464434018304,"description":"Unknown IO ID 45"} 
[2026-06-23 10:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240473856001,"power":13580,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":793759464434018304}} 
[2026-06-23 10:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":110674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370227,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:38] local.INFO: GPS data processed {"connection_id":110674,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:38] local.INFO: Acknowledgment sent {"connection_id":110674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:40] local.INFO: TCP Data received {"connection_id":111464,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:07:40] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:07:40] local.INFO: Packet analysis {"connection_id":111464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:07:40] local.INFO: Extracted packet for processing {"connection_id":111464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:07:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":111464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:40] local.INFO: GPS data processed {"connection_id":111464,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:40] local.INFO: Acknowledgment sent {"connection_id":111464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:45] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:45] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:45] local.INFO: IMEI packet received {"connection_id":111465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":111465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:07:48] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:48] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:48] local.INFO: IMEI packet received {"connection_id":111465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":111465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:07:53] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:53] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:07:53] local.INFO: IMEI packet received {"connection_id":111465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":111465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:07:53] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c39320012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c39320012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:07:53] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c39320012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:07:53] local.INFO: Packet analysis {"connection_id":111465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:53] local.INFO: Extracted packet for processing {"connection_id":111465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240471808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782189364000,"timestamp_ms":1782189364000,"timestamp_seconds":1782189364,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c39320"} 
[2026-06-23 10:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240471808001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240471808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240471808001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":111465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:53] local.INFO: GPS data processed {"connection_id":111465,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:53] local.INFO: Acknowledgment sent {"connection_id":111465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:07:58] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c3e528012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c3e528012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:07:58] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c3e528012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:07:58] local.INFO: Packet analysis {"connection_id":111465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:58] local.INFO: Extracted packet for processing {"connection_id":111465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240477184001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:07: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-06-23 10:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782189385000,"timestamp_ms":1782189385000,"timestamp_seconds":1782189385,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c3e528"} 
[2026-06-23 10:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240477184001,"66":12363,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240477184001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:07:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240477184001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":111465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:07:58] local.INFO: GPS data processed {"connection_id":111465,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:07:58] local.INFO: Acknowledgment sent {"connection_id":111465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:08:24] local.INFO: TCP Data received {"connection_id":112404,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:08:24] local.INFO: Processing buffer {"connection_id":112404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:08:24] local.INFO: IMEI packet received {"connection_id":112404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":112404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:08:30] local.INFO: TCP Data received {"connection_id":112404,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:08:30] local.INFO: Processing buffer {"connection_id":112404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:08:30] local.INFO: IMEI packet received {"connection_id":112404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":112404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:08:31] local.INFO: TCP Data received {"connection_id":112404,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:08:31] local.INFO: Processing buffer {"connection_id":112404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:08:31] local.INFO: Packet analysis {"connection_id":112404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:08:31] local.INFO: Extracted packet for processing {"connection_id":112404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:08:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:08:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":112404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:08:31] local.INFO: GPS data processed {"connection_id":112404,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:08:31] local.INFO: Acknowledgment sent {"connection_id":112404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:08:43] local.INFO: TCP Data received {"connection_id":112405,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:08:43] local.INFO: Processing buffer {"connection_id":112405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:08:43] local.INFO: IMEI packet received {"connection_id":112405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":112405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:08:48] local.INFO: TCP Data received {"connection_id":112405,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:08:48] local.INFO: Processing buffer {"connection_id":112405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:08:48] local.INFO: IMEI packet received {"connection_id":112405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":112405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:08:48] local.INFO: TCP Data received {"connection_id":112405,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c43730012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c43730012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:08:48] local.INFO: Processing buffer {"connection_id":112405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c43730012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:08:48] local.INFO: Packet analysis {"connection_id":112405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:08:48] local.INFO: Extracted packet for processing {"connection_id":112405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":46,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189406000,"timestamp_ms":1782189406000,"timestamp_seconds":1782189406,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c43730"} 
[2026-06-23 10:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:08:48] 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-06-23 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 10:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240482560001,"66":12428,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:08:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240482560001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":112405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:08:49] local.INFO: GPS data processed {"connection_id":112405,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:08:49] local.INFO: Acknowledgment sent {"connection_id":112405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:09:03] local.INFO: TCP Data received {"connection_id":112404,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:09:03] local.INFO: Processing buffer {"connection_id":112404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:09:03] local.INFO: Packet analysis {"connection_id":112404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:03] local.INFO: Extracted packet for processing {"connection_id":112404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":112404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:09:03] local.INFO: GPS data processed {"connection_id":112404,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:09:03] local.INFO: Acknowledgment sent {"connection_id":112404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:09:19] local.INFO: TCP Data received {"connection_id":112405,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c48550012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c48550012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:09:19] local.INFO: Processing buffer {"connection_id":112405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c48550012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:09:19] local.INFO: Packet analysis {"connection_id":112405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:19] local.INFO: Extracted packet for processing {"connection_id":112405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":46,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240487936001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189426000,"timestamp_ms":1782189426000,"timestamp_seconds":1782189426,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c48550"} 
[2026-06-23 10:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 10:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240487936001,"66":12374,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240487936001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:09:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240487936001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":112405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:09:20] local.INFO: GPS data processed {"connection_id":112405,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:09:20] local.INFO: Acknowledgment sent {"connection_id":112405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:09:24] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:09:24] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:09:24] local.INFO: IMEI packet received {"connection_id":110675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":110675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:09:26] local.INFO: TCP Data received {"connection_id":110839,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:09:26] local.INFO: Processing buffer {"connection_id":110839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:09:26] local.INFO: IMEI packet received {"connection_id":110839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":110839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:09:30] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:09:30] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:09:30] local.INFO: IMEI packet received {"connection_id":110675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":110675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:09:31] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:09:31] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:09:31] local.INFO: Packet analysis {"connection_id":110675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:31] local.INFO: Extracted packet for processing {"connection_id":110675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:09:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:09:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":110675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:09:31] local.INFO: GPS data processed {"connection_id":110675,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:09:31] local.INFO: Acknowledgment sent {"connection_id":110675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:09:31] local.INFO: TCP Data received {"connection_id":110839,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110839,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:09:31] local.INFO: Processing buffer {"connection_id":110839,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:09:31] local.INFO: IMEI packet received {"connection_id":110839,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":110839,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:09:43] local.INFO: TCP Data received {"connection_id":112406,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:09:43] local.INFO: Processing buffer {"connection_id":112406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:09:43] local.INFO: IMEI packet received {"connection_id":112406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":112406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:09:45] local.INFO: TCP Data received {"connection_id":110839,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c39320012d0b11800702a150001700a21e..."} 
[2026-06-23 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c39320012d0b11800702a150001700a21e..."} 
[2026-06-23 10:09:45] local.INFO: Processing buffer {"connection_id":110839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c39320012d0b11800702a150001700a21e..."} 
[2026-06-23 10:09:45] local.INFO: Packet analysis {"connection_id":110839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:09:45] local.INFO: Extracted packet for processing {"connection_id":110839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:09:45] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":117612880,"longitude_deg":75.5700096,"latitude_deg":11.761288,"altitude":23,"angle":162,"satellites":30,"speed":5,"hex_longitude":"2d0b1180","hex_latitude":"0702a150","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240474624001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876282778189824,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794744626852188160,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782189364000,"timestamp_ms":1782189364000,"timestamp_seconds":1782189364,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c39320"} 
[2026-06-23 10:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:09: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-06-23 10: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751533495,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4072879456,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-828654622947672045,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3275567105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959367697,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2147943108,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827422,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3085369344,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":56,"raw_value":9007425058636877406,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:45] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,17,94,24,241,157,16,184,158,96,45,177,20,34,10,66,88,64,181,33,65,128,1,240,114,227,183,242,2,4,113,205,11,57,255,80,35,239,52,77,7,56,43],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-06-23 10:09:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441303755098292224,"timestamp_seconds":1441303755098292.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":110839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":110839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":110839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240474624001,"66":14515,"17":206,"94":11008,"24":5,"16":21876282778189824,"45":794744626852188160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240474624001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:09:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876282778189824,"km_value":21876282778189.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":794744626852188160,"description":"Unknown IO ID 45"} 
[2026-06-23 10:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240474624001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":794744626852188160}} 
[2026-06-23 10:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":110839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370236,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:09:45] local.INFO: GPS data processed {"connection_id":110839,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:09:45] local.INFO: Acknowledgment sent {"connection_id":110839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:09:46] local.INFO: TCP Data received {"connection_id":110839,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c3d588012d0b138007029ec80019004f1d..."} 
[2026-06-23 10:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c3d588012d0b138007029ec80019004f1d..."} 
[2026-06-23 10:09:46] local.INFO: Processing buffer {"connection_id":110839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c3d588012d0b138007029ec80019004f1d..."} 
[2026-06-23 10:09:46] local.INFO: Packet analysis {"connection_id":110839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:09:46] local.INFO: Extracted packet for processing {"connection_id":110839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:09:46] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612232,"longitude_deg":75.5700608,"latitude_deg":11.7612232,"altitude":25,"angle":79,"satellites":29,"speed":2,"hex_longitude":"2d0b1380","hex_latitude":"07029ec8","is_valid_coordinates":true} 
[2026-06-23 10:09:46] 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-06-23 10:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240477184001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876330022830080,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376618541056,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782189381000,"timestamp_ms":1782189381000,"timestamp_seconds":1782189381,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c3d588"} 
[2026-06-23 10:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:09:46] 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-06-23 10:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 10:09: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-06-23 10:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":110839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":110839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":110839,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240477184001,"66":14428,"17":206,"94":11008,"24":2,"16":21876330022830080,"45":797559376618541056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240477184001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:09:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876330022830080,"km_value":21876330022830.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376618541056,"description":"Unknown IO ID 45"} 
[2026-06-23 10:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240477184001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797559376618541056}} 
[2026-06-23 10:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":110839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370237,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:09:46] local.INFO: GPS data processed {"connection_id":110839,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:09:46] local.INFO: Acknowledgment sent {"connection_id":110839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:09:48] local.INFO: TCP Data received {"connection_id":112406,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:09:48] local.INFO: Processing buffer {"connection_id":112406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:09:48] local.INFO: IMEI packet received {"connection_id":112406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":112406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:09:48] local.INFO: TCP Data received {"connection_id":112406,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c4d758012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c4d758012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:09:48] local.INFO: Processing buffer {"connection_id":112406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c4d758012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:09:48] local.INFO: Packet analysis {"connection_id":112406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:48] local.INFO: Extracted packet for processing {"connection_id":112406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240493056001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189447000,"timestamp_ms":1782189447000,"timestamp_seconds":1782189447,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c4d758"} 
[2026-06-23 10:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:09:48] 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-06-23 10:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 10:09:48] 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-06-23 10:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240493056001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240493056001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:09:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240493056001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":112406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:09:48] local.INFO: GPS data processed {"connection_id":112406,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:09:48] local.INFO: Acknowledgment sent {"connection_id":112406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:10:03] local.INFO: TCP Data received {"connection_id":110675,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:03] local.INFO: Processing buffer {"connection_id":110675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:03] local.INFO: Packet analysis {"connection_id":110675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:10:03] local.INFO: Extracted packet for processing {"connection_id":110675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:10:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":110675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:10:03] local.INFO: GPS data processed {"connection_id":110675,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:10:03] local.INFO: Acknowledgment sent {"connection_id":110675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:10:16] local.INFO: TCP Data received {"connection_id":110840,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:10:16] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:10:16] local.INFO: IMEI packet received {"connection_id":110840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":110840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:10:19] local.INFO: TCP Data received {"connection_id":112406,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c52960012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c52960012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:10:19] local.INFO: Processing buffer {"connection_id":112406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c52960012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:10:19] local.INFO: Packet analysis {"connection_id":112406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c5"} 
[2026-06-23 10:10:19] local.INFO: Extracted packet for processing {"connection_id":112406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c5"} 
[2026-06-23 10:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240498432001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189468000,"timestamp_ms":1782189468000,"timestamp_seconds":1782189468,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c52960"} 
[2026-06-23 10:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240498432001,"66":12406,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240498432001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:10:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240498432001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":112406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:10:19] local.INFO: GPS data processed {"connection_id":112406,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:10:19] local.INFO: Acknowledgment sent {"connection_id":112406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:10:22] local.INFO: TCP Data received {"connection_id":110840,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:10:22] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:10:22] local.INFO: IMEI packet received {"connection_id":110840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":110840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:10:22] local.INFO: TCP Data received {"connection_id":111466,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:10:22] local.INFO: Processing buffer {"connection_id":111466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:10:22] local.INFO: IMEI packet received {"connection_id":111466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":111466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:10:23] local.INFO: TCP Data received {"connection_id":110840,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c3d588012d0b138007029ec80019004f1d..."} 
[2026-06-23 10:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c3d588012d0b138007029ec80019004f1d..."} 
[2026-06-23 10:10:23] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c3d588012d0b138007029ec80019004f1d..."} 
[2026-06-23 10:10:23] local.INFO: Packet analysis {"connection_id":110840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:10:23] local.INFO: Extracted packet for processing {"connection_id":110840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:10:23] local.INFO: GPS Element Parsed {"raw_longitude":755700608,"raw_latitude":117612232,"longitude_deg":75.5700608,"latitude_deg":11.7612232,"altitude":25,"angle":79,"satellites":29,"speed":2,"hex_longitude":"2d0b1380","hex_latitude":"07029ec8","is_valid_coordinates":true} 
[2026-06-23 10:10: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-06-23 10:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240481536001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876330022830080,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571796480,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10: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-06-23 10:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782189381000,"timestamp_ms":1782189381000,"timestamp_seconds":1782189381,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c3d588"} 
[2026-06-23 10:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:10:23] 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-06-23 10:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:10: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-06-23 10:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240481536001,"66":14428,"17":206,"94":11008,"24":2,"16":21876330022830080,"45":798122326571796480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240481536001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876330022830080,"km_value":21876330022830.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571796480,"description":"Unknown IO ID 45"} 
[2026-06-23 10:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240481536001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":798122326571796480}} 
[2026-06-23 10:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":110840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370241,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:10:23] local.INFO: GPS data processed {"connection_id":110840,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:10:23] local.INFO: Acknowledgment sent {"connection_id":110840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:10:30] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:10:30] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:10:30] local.INFO: IMEI packet received {"connection_id":111467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":111467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:10:35] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:10:35] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:10:35] local.INFO: IMEI packet received {"connection_id":111467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":111467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:10:36] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:36] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:36] local.INFO: Packet analysis {"connection_id":111467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:10:36] local.INFO: Extracted packet for processing {"connection_id":111467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":111467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:10:36] local.INFO: GPS data processed {"connection_id":111467,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:10:36] local.INFO: Acknowledgment sent {"connection_id":111467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:10:40] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:40] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:10:40] local.INFO: Packet analysis {"connection_id":111467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:10:40] local.INFO: Extracted packet for processing {"connection_id":111467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:10:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":111467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:10:40] local.INFO: GPS data processed {"connection_id":111467,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:10:40] local.INFO: Acknowledgment sent {"connection_id":111467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:10:43] local.INFO: TCP Data received {"connection_id":112407,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:10:43] local.INFO: Processing buffer {"connection_id":112407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:10:43] local.INFO: IMEI packet received {"connection_id":112407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":112407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:10:48] local.INFO: TCP Data received {"connection_id":112407,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:10:48] local.INFO: Processing buffer {"connection_id":112407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:10:48] local.INFO: IMEI packet received {"connection_id":112407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":112407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:10:48] local.INFO: TCP Data received {"connection_id":112407,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c57b68012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c57b68012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:10:48] local.INFO: Processing buffer {"connection_id":112407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c57b68012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:10:48] local.INFO: Packet analysis {"connection_id":112407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c5"} 
[2026-06-23 10:10:48] local.INFO: Extracted packet for processing {"connection_id":112407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c5"} 
[2026-06-23 10:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240503808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189489000,"timestamp_ms":1782189489000,"timestamp_seconds":1782189489,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c57b68"} 
[2026-06-23 10:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:10:48] 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-06-23 10:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 10:10:48] 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-06-23 10:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240503808001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240503808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:10:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240503808001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":112407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:10:48] local.INFO: GPS data processed {"connection_id":112407,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:10:48] local.INFO: Acknowledgment sent {"connection_id":112407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:11:04] local.INFO: TCP Data received {"connection_id":110840,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c3d970012d0b13c007029ee0001900371e..."} 
[2026-06-23 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c3d970012d0b13c007029ee0001900371e..."} 
[2026-06-23 10:11:05] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c3d970012d0b13c007029ee0001900371e..."} 
[2026-06-23 10:11:05] local.INFO: Packet analysis {"connection_id":110840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:11:05] local.INFO: Extracted packet for processing {"connection_id":110840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c3"} 
[2026-06-23 10:11:05] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612256,"longitude_deg":75.5700672,"latitude_deg":11.7612256,"altitude":25,"angle":55,"satellites":30,"speed":1,"hex_longitude":"2d0b13c0","hex_latitude":"07029ee0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240481536001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876330022830080,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798122326571796480,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:05] 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-06-23 10:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782189382000,"timestamp_ms":1782189382000,"timestamp_seconds":1782189382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c3d970"} 
[2026-06-23 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-06-23 10:11:05] 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-06-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:11: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-06-23 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-06-23 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-06-23 10:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110840,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240481536001,"66":14428,"17":206,"94":11008,"24":1,"16":21876330022830080,"45":798122326571796480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240481536001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:11:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876330022830080,"km_value":21876330022830.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":798122326571796480,"description":"Unknown IO ID 45"} 
[2026-06-23 10:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240481536001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":798122326571796480}} 
[2026-06-23 10:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":110840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:11:05] local.INFO: GPS data processed {"connection_id":110840,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:11:05] local.INFO: Acknowledgment sent {"connection_id":110840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:11:07] local.INFO: TCP Data received {"connection_id":111468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:11:07] local.INFO: Processing buffer {"connection_id":111468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:11:07] local.INFO: IMEI packet received {"connection_id":111468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":111468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:11:19] local.INFO: TCP Data received {"connection_id":112407,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c5cd70012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c5cd70012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:11:19] local.INFO: Processing buffer {"connection_id":112407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c5cd70012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:11:19] local.INFO: Packet analysis {"connection_id":112407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c5"} 
[2026-06-23 10:11:19] local.INFO: Extracted packet for processing {"connection_id":112407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c5"} 
[2026-06-23 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240509184001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189510000,"timestamp_ms":1782189510000,"timestamp_seconds":1782189510,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c5cd70"} 
[2026-06-23 10:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240509184001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240509184001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:11:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240509184001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":112407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:11:20] local.INFO: GPS data processed {"connection_id":112407,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:11:20] local.INFO: Acknowledgment sent {"connection_id":112407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:11:25] local.INFO: TCP Data received {"connection_id":111469,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:11:25] local.INFO: Processing buffer {"connection_id":111469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:11:25] local.INFO: IMEI packet received {"connection_id":111469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":111469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:11:30] local.INFO: TCP Data received {"connection_id":111469,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:11:30] local.INFO: Processing buffer {"connection_id":111469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:11:30] local.INFO: IMEI packet received {"connection_id":111469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":111469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:11:31] local.INFO: TCP Data received {"connection_id":111469,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:11:31] local.INFO: Processing buffer {"connection_id":111469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:11:31] local.INFO: Packet analysis {"connection_id":111469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:11:31] local.INFO: Extracted packet for processing {"connection_id":111469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:11:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:11:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:11:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":111469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:11:31] local.INFO: GPS data processed {"connection_id":111469,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:11:31] local.INFO: Acknowledgment sent {"connection_id":111469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:11:43] local.INFO: TCP Data received {"connection_id":112409,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:11:43] local.INFO: Processing buffer {"connection_id":112409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:11:43] local.INFO: IMEI packet received {"connection_id":112409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":112409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:11:46] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:46] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:46] local.INFO: IMEI packet received {"connection_id":110841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":110841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:11:46] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:46] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:46] local.INFO: IMEI packet received {"connection_id":110841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":110841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:11:48] local.INFO: TCP Data received {"connection_id":112409,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:11:48] local.INFO: Processing buffer {"connection_id":112409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:11:48] local.INFO: IMEI packet received {"connection_id":112409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":112409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:11:48] local.INFO: TCP Data received {"connection_id":112409,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c61f78012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c61f78012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:11:48] local.INFO: Processing buffer {"connection_id":112409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c61f78012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:11:48] local.INFO: Packet analysis {"connection_id":112409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c6"} 
[2026-06-23 10:11:48] local.INFO: Extracted packet for processing {"connection_id":112409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c6"} 
[2026-06-23 10:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240514560001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189531000,"timestamp_ms":1782189531000,"timestamp_seconds":1782189531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c61f78"} 
[2026-06-23 10:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:11:48] 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-06-23 10:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240514560001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240514560001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:11:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240514560001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":112409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:11:48] local.INFO: GPS data processed {"connection_id":112409,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:11:48] local.INFO: Acknowledgment sent {"connection_id":112409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:11:49] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:49] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:11:49] local.INFO: IMEI packet received {"connection_id":110841,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":110841,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:12:03] local.INFO: TCP Data received {"connection_id":111469,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:12:03] local.INFO: Processing buffer {"connection_id":111469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c40850012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 10:12:03] local.INFO: Packet analysis {"connection_id":111469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:12:03] local.INFO: Extracted packet for processing {"connection_id":111469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c4"} 
[2026-06-23 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240407808001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189394000,"timestamp_ms":1782189394000,"timestamp_seconds":1782189394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c40850"} 
[2026-06-23 10:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240407808001,"66":25180,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240407808001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:12:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:12:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240407808001,"power":25180,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":111469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:12:03] local.INFO: GPS data processed {"connection_id":111469,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:12:03] local.INFO: Acknowledgment sent {"connection_id":111469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:12:19] local.INFO: TCP Data received {"connection_id":112409,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c67180012d1968c0071fee48003f011429..."} 
[2026-06-23 10:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c67180012d1968c0071fee48003f011429..."} 
[2026-06-23 10:12:19] local.INFO: Processing buffer {"connection_id":112409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c67180012d1968c0071fee48003f011429..."} 
[2026-06-23 10:12:19] local.INFO: Packet analysis {"connection_id":112409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c6"} 
[2026-06-23 10:12:19] local.INFO: Extracted packet for processing {"connection_id":112409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c6"} 
[2026-06-23 10:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240519936001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189552000,"timestamp_ms":1782189552000,"timestamp_seconds":1782189552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c67180"} 
[2026-06-23 10:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:12:19] 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-06-23 10:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240519936001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240519936001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:12:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240519936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":112409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:12:19] local.INFO: GPS data processed {"connection_id":112409,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:12:19] local.INFO: Acknowledgment sent {"connection_id":112409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:12:24] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:12:24] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:12:24] local.INFO: IMEI packet received {"connection_id":110842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":110842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:12:29] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:12:29] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:12:29] local.INFO: IMEI packet received {"connection_id":110842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":110842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:12:31] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:12:31] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:12:31] local.INFO: Packet analysis {"connection_id":110842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:12:31] local.INFO: Extracted packet for processing {"connection_id":110842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:12:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:12:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:12:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":110842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:12:31] local.INFO: GPS data processed {"connection_id":110842,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:12:31] local.INFO: Acknowledgment sent {"connection_id":110842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:12:43] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:12:43] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:12:43] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:12:48] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:12:48] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:12:48] local.INFO: IMEI packet received {"connection_id":110676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":110676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:12:48] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c6c388012d1968c0071fee48003f011428..."} 
[2026-06-23 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c6c388012d1968c0071fee48003f011428..."} 
[2026-06-23 10:12:48] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c6c388012d1968c0071fee48003f011428..."} 
[2026-06-23 10:12:48] local.INFO: Packet analysis {"connection_id":110676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c6"} 
[2026-06-23 10:12:48] local.INFO: Extracted packet for processing {"connection_id":110676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c6"} 
[2026-06-23 10:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240525312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189573000,"timestamp_ms":1782189573000,"timestamp_seconds":1782189573,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c6c388"} 
[2026-06-23 10:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:12:48] 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-06-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240525312001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240525312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:12:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240525312001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":110676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:12:49] local.INFO: GPS data processed {"connection_id":110676,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:12:49] local.INFO: Acknowledgment sent {"connection_id":110676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:13:02] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:13:02] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:13:02] local.INFO: Packet analysis {"connection_id":110842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:13:02] local.INFO: Extracted packet for processing {"connection_id":110842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:13:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":110842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:13:02] local.INFO: GPS data processed {"connection_id":110842,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:13:02] local.INFO: Acknowledgment sent {"connection_id":110842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:13:20] local.INFO: TCP Data received {"connection_id":110676,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c71590012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c71590012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:13:20] local.INFO: Processing buffer {"connection_id":110676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c71590012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:13:20] local.INFO: Packet analysis {"connection_id":110676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c7"} 
[2026-06-23 10:13:20] local.INFO: Extracted packet for processing {"connection_id":110676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c7"} 
[2026-06-23 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240530688001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782189594000,"timestamp_ms":1782189594000,"timestamp_seconds":1782189594,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c71590"} 
[2026-06-23 10:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:13:20] 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-06-23 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240530688001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240530688001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:13:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240530688001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":110676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:13:20] local.INFO: GPS data processed {"connection_id":110676,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:13:20] local.INFO: Acknowledgment sent {"connection_id":110676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:13:24] local.INFO: TCP Data received {"connection_id":112412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:13:24] local.INFO: Processing buffer {"connection_id":112412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:13:24] local.INFO: IMEI packet received {"connection_id":112412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":112412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:13:30] local.INFO: TCP Data received {"connection_id":112412,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:13:30] local.INFO: Processing buffer {"connection_id":112412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:13:30] local.INFO: IMEI packet received {"connection_id":112412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":112412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:13:31] local.INFO: TCP Data received {"connection_id":112412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:13:31] local.INFO: Processing buffer {"connection_id":112412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:13:31] local.INFO: Packet analysis {"connection_id":112412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:13:31] local.INFO: Extracted packet for processing {"connection_id":112412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:13:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:13:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":112412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:13:31] local.INFO: GPS data processed {"connection_id":112412,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:13:31] local.INFO: Acknowledgment sent {"connection_id":112412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:13:41] local.INFO: TCP Data received {"connection_id":110677,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:41] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:41] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:13:42] local.INFO: TCP Data received {"connection_id":110677,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:42] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:42] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:13:47] local.INFO: TCP Data received {"connection_id":110677,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:47] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:13:47] local.INFO: IMEI packet received {"connection_id":110677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":110677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:13:48] local.INFO: TCP Data received {"connection_id":110677,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c76b80012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c76b80012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:13:48] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c76b80012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:13:48] local.INFO: Packet analysis {"connection_id":110677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c7"} 
[2026-06-23 10:13:48] local.INFO: Extracted packet for processing {"connection_id":110677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c7"} 
[2026-06-23 10:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240536064001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189616000,"timestamp_ms":1782189616000,"timestamp_seconds":1782189616,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c76b80"} 
[2026-06-23 10:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:13:48] 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-06-23 10:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240536064001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240536064001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:13:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240536064001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":110677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:13:48] local.INFO: GPS data processed {"connection_id":110677,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:13:48] local.INFO: Acknowledgment sent {"connection_id":110677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:14:03] local.INFO: TCP Data received {"connection_id":112412,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:03] local.INFO: Processing buffer {"connection_id":112412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:03] local.INFO: Packet analysis {"connection_id":112412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:03] local.INFO: Extracted packet for processing {"connection_id":112412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10: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-06-23 10: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-06-23 10:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":112412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:14:03] local.INFO: GPS data processed {"connection_id":112412,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:14:03] local.INFO: Acknowledgment sent {"connection_id":112412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:14:19] local.INFO: TCP Data received {"connection_id":110677,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c7bd88012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c7bd88012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:14:19] local.INFO: Processing buffer {"connection_id":110677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c7bd88012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:14:19] local.INFO: Packet analysis {"connection_id":110677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c7"} 
[2026-06-23 10:14:19] local.INFO: Extracted packet for processing {"connection_id":110677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c7"} 
[2026-06-23 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240541696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189637000,"timestamp_ms":1782189637000,"timestamp_seconds":1782189637,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c7bd88"} 
[2026-06-23 10:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:14:19] 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-06-23 10: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240541696001,"66":12374,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240541696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:14:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240541696001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":110677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:14:19] local.INFO: GPS data processed {"connection_id":110677,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:14:19] local.INFO: Acknowledgment sent {"connection_id":110677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:14:30] local.INFO: TCP Data received {"connection_id":110844,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:14:30] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:14:30] local.INFO: IMEI packet received {"connection_id":110844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":110844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:14:35] local.INFO: TCP Data received {"connection_id":110844,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:14:35] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:14:35] local.INFO: IMEI packet received {"connection_id":110844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":110844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:14:36] local.INFO: TCP Data received {"connection_id":110844,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:36] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:36] local.INFO: Packet analysis {"connection_id":110844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:36] local.INFO: Extracted packet for processing {"connection_id":110844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":110844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:14:36] local.INFO: GPS data processed {"connection_id":110844,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:14:36] local.INFO: Acknowledgment sent {"connection_id":110844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:14:40] local.INFO: TCP Data received {"connection_id":110844,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:40] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:14:40] local.INFO: Packet analysis {"connection_id":110844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:40] local.INFO: Extracted packet for processing {"connection_id":110844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:14:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:14:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":110844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:14:40] local.INFO: GPS data processed {"connection_id":110844,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:14:40] local.INFO: Acknowledgment sent {"connection_id":110844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:14:42] local.INFO: TCP Data received {"connection_id":110678,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:42] local.INFO: Processing buffer {"connection_id":110678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:42] local.INFO: IMEI packet received {"connection_id":110678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":110678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:14:45] local.INFO: TCP Data received {"connection_id":110678,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:45] local.INFO: Processing buffer {"connection_id":110678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:45] local.INFO: IMEI packet received {"connection_id":110678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":110678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:14:48] local.INFO: TCP Data received {"connection_id":110678,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:48] local.INFO: Processing buffer {"connection_id":110678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:14:48] local.INFO: IMEI packet received {"connection_id":110678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":110678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:14:48] local.INFO: TCP Data received {"connection_id":110678,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c80f90012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c80f90012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:14:48] local.INFO: Processing buffer {"connection_id":110678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c80f90012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:14:48] local.INFO: Packet analysis {"connection_id":110678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:48] local.INFO: Extracted packet for processing {"connection_id":110678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":46,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240547072001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189658000,"timestamp_ms":1782189658000,"timestamp_seconds":1782189658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c80f90"} 
[2026-06-23 10:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:14:48] 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-06-23 10:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 10:14:48] 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-06-23 10:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240547072001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240547072001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:14:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:14:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240547072001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":110678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:14:48] local.INFO: GPS data processed {"connection_id":110678,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:14:48] local.INFO: Acknowledgment sent {"connection_id":110678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:15:19] local.INFO: TCP Data received {"connection_id":110678,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c85db0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c85db0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:15:19] local.INFO: Processing buffer {"connection_id":110678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c85db0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:15:19] local.INFO: Packet analysis {"connection_id":110678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:15:19] local.INFO: Extracted packet for processing {"connection_id":110678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240552448001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189678000,"timestamp_ms":1782189678000,"timestamp_seconds":1782189678,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c85db0"} 
[2026-06-23 10:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240552448001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240552448001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240552448001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":110678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:15:19] local.INFO: GPS data processed {"connection_id":110678,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:15:19] local.INFO: Acknowledgment sent {"connection_id":110678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:15:25] local.INFO: TCP Data received {"connection_id":110845,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:15:25] local.INFO: Processing buffer {"connection_id":110845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:15:25] local.INFO: IMEI packet received {"connection_id":110845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":110845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:15:29] local.INFO: TCP Data received {"connection_id":110845,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:15:29] local.INFO: Processing buffer {"connection_id":110845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:15:29] local.INFO: IMEI packet received {"connection_id":110845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":110845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:15:30] local.INFO: TCP Data received {"connection_id":110845,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:15:30] local.INFO: Processing buffer {"connection_id":110845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:15:30] local.INFO: Packet analysis {"connection_id":110845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:15:30] local.INFO: Extracted packet for processing {"connection_id":110845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:15:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:15:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":110845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:15:30] local.INFO: GPS data processed {"connection_id":110845,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:15:30] local.INFO: Acknowledgment sent {"connection_id":110845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:15:42] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:15:42] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:15:42] local.INFO: IMEI packet received {"connection_id":110846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":110846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:15:47] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:15:47] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:15:47] local.INFO: IMEI packet received {"connection_id":110846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":110846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:15:48] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8afb8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8afb8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:15:48] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8afb8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:15:48] local.INFO: Packet analysis {"connection_id":110846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:15:48] local.INFO: Extracted packet for processing {"connection_id":110846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240557568001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189699000,"timestamp_ms":1782189699000,"timestamp_seconds":1782189699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8afb8"} 
[2026-06-23 10:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:15:48] 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-06-23 10:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240557568001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240557568001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:15:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:15:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240557568001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":110846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:15:48] local.INFO: GPS data processed {"connection_id":110846,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:15:48] local.INFO: Acknowledgment sent {"connection_id":110846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:16:02] local.INFO: TCP Data received {"connection_id":110845,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:16:02] local.INFO: Processing buffer {"connection_id":110845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:16:02] local.INFO: Packet analysis {"connection_id":110845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:16:02] local.INFO: Extracted packet for processing {"connection_id":110845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:16:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":110845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:16:02] local.INFO: GPS data processed {"connection_id":110845,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:16:02] local.INFO: Acknowledgment sent {"connection_id":110845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:16:19] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c901c0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c901c0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:16:19] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c901c0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:16:19] local.INFO: Packet analysis {"connection_id":110846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:16:19] local.INFO: Extracted packet for processing {"connection_id":110846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240562944001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189720000,"timestamp_ms":1782189720000,"timestamp_seconds":1782189720,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c901c0"} 
[2026-06-23 10:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240562944001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240562944001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:16:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240562944001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":110846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:16:19] local.INFO: GPS data processed {"connection_id":110846,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:16:19] local.INFO: Acknowledgment sent {"connection_id":110846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:16:24] local.INFO: TCP Data received {"connection_id":111470,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:16:24] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:16:24] local.INFO: IMEI packet received {"connection_id":111470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":111470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:16:30] local.INFO: TCP Data received {"connection_id":111470,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:16:30] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:16:30] local.INFO: IMEI packet received {"connection_id":111470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":111470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:16:31] local.INFO: TCP Data received {"connection_id":111470,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:16:31] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:16:31] local.INFO: Packet analysis {"connection_id":111470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:16:31] local.INFO: Extracted packet for processing {"connection_id":111470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:16:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:16:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":111470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:16:31] local.INFO: GPS data processed {"connection_id":111470,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:16:31] local.INFO: Acknowledgment sent {"connection_id":111470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:16:32] local.INFO: TCP Data received {"connection_id":110847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:16:32] local.INFO: Processing buffer {"connection_id":110847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:16:32] local.INFO: IMEI packet received {"connection_id":110847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":110847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:16:42] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:16:42] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:16:42] local.INFO: IMEI packet received {"connection_id":110679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":110679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:16:48] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:16:48] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:16:48] local.INFO: IMEI packet received {"connection_id":110679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":110679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:16:48] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c953c8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c953c8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:16:48] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c953c8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:16:48] local.INFO: Packet analysis {"connection_id":110679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:16:48] local.INFO: Extracted packet for processing {"connection_id":110679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240568320001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189741000,"timestamp_ms":1782189741000,"timestamp_seconds":1782189741,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c953c8"} 
[2026-06-23 10:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:16:48] 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-06-23 10:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240568320001,"66":12385,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240568320001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:16:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240568320001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":110679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:16:48] local.INFO: GPS data processed {"connection_id":110679,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:16:48] local.INFO: Acknowledgment sent {"connection_id":110679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:17:03] local.INFO: TCP Data received {"connection_id":111470,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:17:03] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8a018012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:17:03] local.INFO: Packet analysis {"connection_id":111470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:17:03] local.INFO: Extracted packet for processing {"connection_id":111470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240484864001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189695000,"timestamp_ms":1782189695000,"timestamp_seconds":1782189695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8a018"} 
[2026-06-23 10:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 10:17: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-06-23 10: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-06-23 10:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240484864001,"66":25756,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240484864001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240484864001,"power":25756,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":111470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:17:03] local.INFO: GPS data processed {"connection_id":111470,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:17:03] local.INFO: Acknowledgment sent {"connection_id":111470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:17:11] local.INFO: TCP Data received {"connection_id":112414,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:17:11] local.INFO: Processing buffer {"connection_id":112414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:17:11] local.INFO: IMEI packet received {"connection_id":112414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":112414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:17:12] local.INFO: TCP Data received {"connection_id":110680,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:17:12] local.INFO: Processing buffer {"connection_id":110680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:17:12] local.INFO: IMEI packet received {"connection_id":110680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":110680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:17:16] local.INFO: TCP Data received {"connection_id":112414,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:17:16] local.INFO: Processing buffer {"connection_id":112414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:17:16] local.INFO: IMEI packet received {"connection_id":112414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":112414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:17:17] local.INFO: TCP Data received {"connection_id":112414,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8cb10012d0b0a000702a1580017015a24..."} 
[2026-06-23 10:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8cb10012d0b0a000702a1580017015a24..."} 
[2026-06-23 10:17:17] local.INFO: Processing buffer {"connection_id":112414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8cb10012d0b0a000702a1580017015a24..."} 
[2026-06-23 10:17:17] local.INFO: Packet analysis {"connection_id":112414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:17:17] local.INFO: Extracted packet for processing {"connection_id":112414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:17:17] local.INFO: GPS Element Parsed {"raw_longitude":755698176,"raw_latitude":117612888,"longitude_deg":75.5698176,"latitude_deg":11.7612888,"altitude":23,"angle":346,"satellites":36,"speed":0,"hex_longitude":"2d0b0a00","hex_latitude":"0702a158","is_valid_coordinates":true} 
[2026-06-23 10:17:17] 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-06-23 10:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240564736001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876381562437632,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795448314293213184,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17: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-06-23 10:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782189706000,"timestamp_ms":1782189706000,"timestamp_seconds":1782189706,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8cb10"} 
[2026-06-23 10:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:17:17] 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-06-23 10:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 10:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240564736001,"66":13820,"17":206,"94":11008,"24":0,"16":21876381562437632,"45":795448314293213184},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240564736001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:17:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876381562437632,"km_value":21876381562437.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":795448314293213184,"description":"Unknown IO ID 45"} 
[2026-06-23 10:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240564736001,"power":13820,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795448314293213184}} 
[2026-06-23 10:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":112414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:17:17] local.INFO: GPS data processed {"connection_id":112414,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:17:17] local.INFO: Acknowledgment sent {"connection_id":112414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:17:19] local.INFO: TCP Data received {"connection_id":110679,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c9a5d0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c9a5d0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:17:19] local.INFO: Processing buffer {"connection_id":110679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c9a5d0012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:17:19] local.INFO: Packet analysis {"connection_id":110679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:17:19] local.INFO: Extracted packet for processing {"connection_id":110679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240573696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782189762000,"timestamp_ms":1782189762000,"timestamp_seconds":1782189762,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c9a5d0"} 
[2026-06-23 10:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 10:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240573696001,"66":12374,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240573696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:17:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240573696001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":110679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:17:19] local.INFO: GPS data processed {"connection_id":110679,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:17:19] local.INFO: Acknowledgment sent {"connection_id":110679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:17:24] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:17:24] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:17:24] local.INFO: IMEI packet received {"connection_id":111471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":111471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:17:31] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:17:31] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:17:31] local.INFO: IMEI packet received {"connection_id":111471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":111471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:17:32] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:17:32] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:17:32] local.INFO: Packet analysis {"connection_id":111471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:17:32] local.INFO: Extracted packet for processing {"connection_id":111471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:17:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:17:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:17:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":111471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:17:32] local.INFO: GPS data processed {"connection_id":111471,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:17:32] local.INFO: Acknowledgment sent {"connection_id":111471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:17:42] local.INFO: TCP Data received {"connection_id":110848,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:17:42] local.INFO: Processing buffer {"connection_id":110848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:17:42] local.INFO: IMEI packet received {"connection_id":110848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":110848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:17:48] local.INFO: TCP Data received {"connection_id":110848,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:17:48] local.INFO: Processing buffer {"connection_id":110848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:17:48] local.INFO: IMEI packet received {"connection_id":110848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":110848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:17:48] local.INFO: TCP Data received {"connection_id":112414,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c8d2e0012d0b0a400702a1580017015a24..."} 
[2026-06-23 10:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c8d2e0012d0b0a400702a1580017015a24..."} 
[2026-06-23 10:17:48] local.INFO: Processing buffer {"connection_id":112414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c8d2e0012d0b0a400702a1580017015a24..."} 
[2026-06-23 10:17:48] local.INFO: Packet analysis {"connection_id":112414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:17:48] local.INFO: Extracted packet for processing {"connection_id":112414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c8"} 
[2026-06-23 10:17:48] local.INFO: GPS Element Parsed {"raw_longitude":755698240,"raw_latitude":117612888,"longitude_deg":75.569824,"latitude_deg":11.7612888,"altitude":23,"angle":346,"satellites":36,"speed":0,"hex_longitude":"2d0b0a40","hex_latitude":"0702a158","is_valid_coordinates":true} 
[2026-06-23 10:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240564736001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876381562437632,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795448314293213184,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189708000,"timestamp_ms":1782189708000,"timestamp_seconds":1782189708,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c8d2e0"} 
[2026-06-23 10:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:17:48] 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-06-23 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 10:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 10:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240564736001,"66":14407,"17":206,"94":11008,"24":0,"16":21876381562437632,"45":795448314293213184},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 10:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240564736001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 10:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876381562437632,"km_value":21876381562437.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":795448314293213184,"description":"Unknown IO ID 45"} 
[2026-06-23 10:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240564736001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795448314293213184}} 
[2026-06-23 10:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":112414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:17:48] local.INFO: GPS data processed {"connection_id":112414,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:17:48] local.INFO: Acknowledgment sent {"connection_id":112414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:17:48] local.INFO: TCP Data received {"connection_id":110848,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2c9f7d8012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2c9f7d8012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:17:48] local.INFO: Processing buffer {"connection_id":110848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2c9f7d8012d1968c0071fee48003f01142e..."} 
[2026-06-23 10:17:48] local.INFO: Packet analysis {"connection_id":110848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:17:48] local.INFO: Extracted packet for processing {"connection_id":110848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2c9"} 
[2026-06-23 10:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":46,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240579072001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782189783000,"timestamp_ms":1782189783000,"timestamp_seconds":1782189783,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2c9f7d8"} 
[2026-06-23 10:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:17:48] 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-06-23 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 10:17:48] 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-06-23 10: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-06-23 10:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240579072001,"66":12363,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240579072001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240579072001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":110848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:17:48] local.INFO: GPS data processed {"connection_id":110848,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:17:48] local.INFO: Acknowledgment sent {"connection_id":110848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:18:05] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:18:05] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:18:05] local.INFO: Packet analysis {"connection_id":111471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:05] local.INFO: Extracted packet for processing {"connection_id":111471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:05] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:18:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:18:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":111471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:18:05] local.INFO: GPS data processed {"connection_id":111471,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:18:05] local.INFO: Acknowledgment sent {"connection_id":111471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:18:16] local.INFO: TCP Data received {"connection_id":110849,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:18:16] local.INFO: Processing buffer {"connection_id":110849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:18:16] local.INFO: IMEI packet received {"connection_id":110849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 10:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":110849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:18:19] local.INFO: TCP Data received {"connection_id":110848,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd7e30012d1968c0071fee48003f011429..."} 
[2026-06-23 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd7e30012d1968c0071fee48003f011429..."} 
[2026-06-23 10:18:19] local.INFO: Processing buffer {"connection_id":110848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd7e30012d1968c0071fee48003f011429..."} 
[2026-06-23 10:18:19] local.INFO: Packet analysis {"connection_id":110848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:19] local.INFO: Extracted packet for processing {"connection_id":110848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638208001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190014000,"timestamp_ms":1782190014000,"timestamp_seconds":1782190014,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd7e30"} 
[2026-06-23 10:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 10:18:19] 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-06-23 10:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638208001,"66":12363,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638208001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:18:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638208001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":110848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:18:19] local.INFO: GPS data processed {"connection_id":110848,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:18:19] local.INFO: Acknowledgment sent {"connection_id":110848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:18:21] local.INFO: TCP Data received {"connection_id":110849,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110849,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:18:21] local.INFO: Processing buffer {"connection_id":110849,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 10:18:21] local.INFO: IMEI packet received {"connection_id":110849,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 10:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":110849,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:18:25] local.INFO: TCP Data received {"connection_id":110681,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:18:25] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:18:25] local.INFO: IMEI packet received {"connection_id":110681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":110681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:18:30] local.INFO: TCP Data received {"connection_id":110681,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:18:30] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:18:30] local.INFO: IMEI packet received {"connection_id":110681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":110681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:18:31] local.INFO: TCP Data received {"connection_id":110681,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:18:31] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:18:31] local.INFO: Packet analysis {"connection_id":110681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:31] local.INFO: Extracted packet for processing {"connection_id":110681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:18:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:18:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":110681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:18:31] local.INFO: GPS data processed {"connection_id":110681,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:18:31] local.INFO: Acknowledgment sent {"connection_id":110681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:18:48] local.INFO: TCP Data received {"connection_id":111473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:18:48] local.INFO: Processing buffer {"connection_id":111473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:18:48] local.INFO: IMEI packet received {"connection_id":111473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":111473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:18:53] local.INFO: TCP Data received {"connection_id":111473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:18:53] local.INFO: Processing buffer {"connection_id":111473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:18:53] local.INFO: IMEI packet received {"connection_id":111473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":111473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:18:53] local.INFO: TCP Data received {"connection_id":111473,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cdd038012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cdd038012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:18:53] local.INFO: Processing buffer {"connection_id":111473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cdd038012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:18:53] local.INFO: Packet analysis {"connection_id":111473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:53] local.INFO: Extracted packet for processing {"connection_id":111473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240643584001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782190035000,"timestamp_ms":1782190035000,"timestamp_seconds":1782190035,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cdd038"} 
[2026-06-23 10:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:18:53] 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-06-23 10:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 10:18:53] 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-06-23 10: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-06-23 10:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240643584001,"66":12374,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240643584001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:18:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240643584001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":111473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:18:53] local.INFO: GPS data processed {"connection_id":111473,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:18:53] local.INFO: Acknowledgment sent {"connection_id":111473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:18:57] local.INFO: TCP Data received {"connection_id":111473,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ce2240012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ce2240012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:18:57] local.INFO: Processing buffer {"connection_id":111473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ce2240012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:18:57] local.INFO: Packet analysis {"connection_id":111473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ce"} 
[2026-06-23 10:18:57] local.INFO: Extracted packet for processing {"connection_id":111473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ce"} 
[2026-06-23 10:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240648960001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782190056000,"timestamp_ms":1782190056000,"timestamp_seconds":1782190056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ce2240"} 
[2026-06-23 10:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:18: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-06-23 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 10:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240648960001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240648960001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240648960001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":111473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:18:57] local.INFO: GPS data processed {"connection_id":111473,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:18:57] local.INFO: Acknowledgment sent {"connection_id":111473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:19:03] local.INFO: TCP Data received {"connection_id":110681,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:19:03] local.INFO: Processing buffer {"connection_id":110681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:19:03] local.INFO: Packet analysis {"connection_id":110681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:19:03] local.INFO: Extracted packet for processing {"connection_id":110681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 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-06-23 10:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":110681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:19:03] local.INFO: GPS data processed {"connection_id":110681,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:19:03] local.INFO: Acknowledgment sent {"connection_id":110681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:19:24] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:19:24] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:19:24] local.INFO: IMEI packet received {"connection_id":110851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":110851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:19:30] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:19:30] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:19:30] local.INFO: IMEI packet received {"connection_id":110851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":110851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:19:31] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:19:31] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:19:31] local.INFO: Packet analysis {"connection_id":110851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:19:31] local.INFO: Extracted packet for processing {"connection_id":110851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:19:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:19:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:19:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":110851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:19:31] local.INFO: GPS data processed {"connection_id":110851,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:19:31] local.INFO: Acknowledgment sent {"connection_id":110851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:19:43] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:19:43] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:19:43] local.INFO: IMEI packet received {"connection_id":111474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":111474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:19:48] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:19:48] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:19:48] local.INFO: IMEI packet received {"connection_id":111474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":111474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:19:48] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ce7448012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ce7448012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:19:48] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ce7448012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:19:48] local.INFO: Packet analysis {"connection_id":111474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ce"} 
[2026-06-23 10:19:48] local.INFO: Extracted packet for processing {"connection_id":111474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ce"} 
[2026-06-23 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240654336001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190077000,"timestamp_ms":1782190077000,"timestamp_seconds":1782190077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ce7448"} 
[2026-06-23 10:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:19:48] 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-06-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240654336001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240654336001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:19:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240654336001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":111474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:19:48] local.INFO: GPS data processed {"connection_id":111474,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:19:48] local.INFO: Acknowledgment sent {"connection_id":111474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:20:03] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:20:03] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:20:03] local.INFO: Packet analysis {"connection_id":110851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:20:03] local.INFO: Extracted packet for processing {"connection_id":110851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:20:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 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-06-23 10:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":110851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:20:03] local.INFO: GPS data processed {"connection_id":110851,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:20:03] local.INFO: Acknowledgment sent {"connection_id":110851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:20:19] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cec650012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cec650012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:20:19] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cec650012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:20:19] local.INFO: Packet analysis {"connection_id":111474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ce"} 
[2026-06-23 10:20:19] local.INFO: Extracted packet for processing {"connection_id":111474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ce"} 
[2026-06-23 10:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240659712001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190098000,"timestamp_ms":1782190098000,"timestamp_seconds":1782190098,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cec650"} 
[2026-06-23 10:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:20:19] 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-06-23 10:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:20:19] 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-06-23 10:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240659712001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240659712001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:20:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240659712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":111474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:20:19] local.INFO: GPS data processed {"connection_id":111474,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:20:19] local.INFO: Acknowledgment sent {"connection_id":111474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:20:24] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:20:24] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:20:24] local.INFO: IMEI packet received {"connection_id":110682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":110682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:20:30] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:20:30] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:20:30] local.INFO: IMEI packet received {"connection_id":110682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":110682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:20:31] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:20:31] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:20:31] local.INFO: Packet analysis {"connection_id":110682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:20:31] local.INFO: Extracted packet for processing {"connection_id":110682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:20:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:20:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":110682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:20:31] local.INFO: GPS data processed {"connection_id":110682,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:20:31] local.INFO: Acknowledgment sent {"connection_id":110682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:20:42] local.INFO: TCP Data received {"connection_id":111475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:42] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:42] local.INFO: IMEI packet received {"connection_id":111475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":111475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:20:42] local.INFO: TCP Data received {"connection_id":111475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:42] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:42] local.INFO: IMEI packet received {"connection_id":111475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":111475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:20:48] local.INFO: TCP Data received {"connection_id":111475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:48] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:20:48] local.INFO: IMEI packet received {"connection_id":111475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":111475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:20:48] local.INFO: TCP Data received {"connection_id":111475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cf1858012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cf1858012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:20:48] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cf1858012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:20:48] local.INFO: Packet analysis {"connection_id":111475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cf"} 
[2026-06-23 10:20:48] local.INFO: Extracted packet for processing {"connection_id":111475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cf"} 
[2026-06-23 10:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240665088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190119000,"timestamp_ms":1782190119000,"timestamp_seconds":1782190119,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cf1858"} 
[2026-06-23 10:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:20:48] 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-06-23 10:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240665088001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240665088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:20:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240665088001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":111475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:20:48] local.INFO: GPS data processed {"connection_id":111475,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:20:48] local.INFO: Acknowledgment sent {"connection_id":111475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:21:03] local.INFO: TCP Data received {"connection_id":110682,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:03] local.INFO: Processing buffer {"connection_id":110682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:03] local.INFO: Packet analysis {"connection_id":110682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:21:03] local.INFO: Extracted packet for processing {"connection_id":110682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":110682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:21:03] local.INFO: GPS data processed {"connection_id":110682,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:21:03] local.INFO: Acknowledgment sent {"connection_id":110682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:21:19] local.INFO: TCP Data received {"connection_id":111475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cf6a60012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cf6a60012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:21:19] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cf6a60012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:21:19] local.INFO: Packet analysis {"connection_id":111475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cf"} 
[2026-06-23 10:21:19] local.INFO: Extracted packet for processing {"connection_id":111475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cf"} 
[2026-06-23 10:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240670464001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190140000,"timestamp_ms":1782190140000,"timestamp_seconds":1782190140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cf6a60"} 
[2026-06-23 10:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:21:19] 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-06-23 10:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240670464001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240670464001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:21:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240670464001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":111475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:21:19] local.INFO: GPS data processed {"connection_id":111475,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:21:19] local.INFO: Acknowledgment sent {"connection_id":111475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:21:29] local.INFO: TCP Data received {"connection_id":112416,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:21:29] local.INFO: Processing buffer {"connection_id":112416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:21:29] local.INFO: IMEI packet received {"connection_id":112416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":112416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:21:35] local.INFO: TCP Data received {"connection_id":112416,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:21:35] local.INFO: Processing buffer {"connection_id":112416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:21:35] local.INFO: IMEI packet received {"connection_id":112416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":112416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:21:36] local.INFO: TCP Data received {"connection_id":112416,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:36] local.INFO: Processing buffer {"connection_id":112416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:36] local.INFO: Packet analysis {"connection_id":112416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:21:36] local.INFO: Extracted packet for processing {"connection_id":112416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":112416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:21:36] local.INFO: GPS data processed {"connection_id":112416,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:21:36] local.INFO: Acknowledgment sent {"connection_id":112416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:21:40] local.INFO: TCP Data received {"connection_id":112416,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:40] local.INFO: Processing buffer {"connection_id":112416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cd37e0012cb29b8007823df8004a00cf27..."} 
[2026-06-23 10:21:40] local.INFO: Packet analysis {"connection_id":112416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:21:40] local.INFO: Extracted packet for processing {"connection_id":112416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cd"} 
[2026-06-23 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:21: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-06-23 10:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240561920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782189996000,"timestamp_ms":1782189996000,"timestamp_seconds":1782189996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cd37e0"} 
[2026-06-23 10:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-23 10:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:21: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-06-23 10:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240561920001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240561920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:21:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240561920001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":112416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:21:40] local.INFO: GPS data processed {"connection_id":112416,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:21:40] local.INFO: Acknowledgment sent {"connection_id":112416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:21:43] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:43] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:43] local.INFO: IMEI packet received {"connection_id":111476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":111476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:21:44] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:44] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:44] local.INFO: IMEI packet received {"connection_id":111476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":111476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:21:48] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:48] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:21:48] local.INFO: IMEI packet received {"connection_id":111476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":111476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:21:48] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2cfbc68012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2cfbc68012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:21:48] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2cfbc68012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:21:48] local.INFO: Packet analysis {"connection_id":111476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2cf"} 
[2026-06-23 10:21:48] local.INFO: Extracted packet for processing {"connection_id":111476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2cf"} 
[2026-06-23 10:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240675840001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190161000,"timestamp_ms":1782190161000,"timestamp_seconds":1782190161,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2cfbc68"} 
[2026-06-23 10:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:21:48] 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-06-23 10:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240675840001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240675840001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:21:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240675840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":111476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:21:48] local.INFO: GPS data processed {"connection_id":111476,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:21:48] local.INFO: Acknowledgment sent {"connection_id":111476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:22:19] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d00e70012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d00e70012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:22:19] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d00e70012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:22:19] local.INFO: Packet analysis {"connection_id":111476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d0"} 
[2026-06-23 10:22:19] local.INFO: Extracted packet for processing {"connection_id":111476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d0"} 
[2026-06-23 10:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240681216001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190182000,"timestamp_ms":1782190182000,"timestamp_seconds":1782190182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d00e70"} 
[2026-06-23 10:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:22:19] 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-06-23 10:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:22:19] 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-06-23 10:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240681216001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240681216001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:22:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240681216001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":111476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:22:19] local.INFO: GPS data processed {"connection_id":111476,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:22:19] local.INFO: Acknowledgment sent {"connection_id":111476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:22:25] local.INFO: TCP Data received {"connection_id":110683,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:22:25] local.INFO: Processing buffer {"connection_id":110683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:22:25] local.INFO: IMEI packet received {"connection_id":110683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":110683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:22:30] local.INFO: TCP Data received {"connection_id":110683,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:22:30] local.INFO: Processing buffer {"connection_id":110683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:22:30] local.INFO: IMEI packet received {"connection_id":110683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":110683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:22:31] local.INFO: TCP Data received {"connection_id":110683,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:22:31] local.INFO: Processing buffer {"connection_id":110683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:22:31] local.INFO: Packet analysis {"connection_id":110683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:22:31] local.INFO: Extracted packet for processing {"connection_id":110683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:22:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:22:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":110683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:22:31] local.INFO: GPS data processed {"connection_id":110683,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:22:31] local.INFO: Acknowledgment sent {"connection_id":110683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:22:37] local.INFO: TCP Data received {"connection_id":110853,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:22:37] local.INFO: Processing buffer {"connection_id":110853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:22:37] local.INFO: IMEI packet received {"connection_id":110853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":110853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:22:43] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:22:43] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:22:43] local.INFO: IMEI packet received {"connection_id":110854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":110854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:22:48] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:22:48] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:22:48] local.INFO: IMEI packet received {"connection_id":110854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":110854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:22:48] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d06460012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d06460012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:22:48] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d06460012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:22:48] local.INFO: Packet analysis {"connection_id":110854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d0"} 
[2026-06-23 10:22:48] local.INFO: Extracted packet for processing {"connection_id":110854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d0"} 
[2026-06-23 10:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240686592001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190204000,"timestamp_ms":1782190204000,"timestamp_seconds":1782190204,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d06460"} 
[2026-06-23 10:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:22:48] 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-06-23 10:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-950875007348827800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77735472083763200,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3469103105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:22:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:22:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,188,45,192,238,63,43,10,66,106,44,240,53,227,242,31,4,113,205,116,104,72,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:22:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932078577287168,"timestamp_seconds":4539932078577287.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240686592001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240686592001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:22:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240686592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":110854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:22:48] local.INFO: GPS data processed {"connection_id":110854,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:22:48] local.INFO: Acknowledgment sent {"connection_id":110854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:23:03] local.INFO: TCP Data received {"connection_id":110683,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:23:03] local.INFO: Processing buffer {"connection_id":110683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:23:03] local.INFO: Packet analysis {"connection_id":110683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:23:03] local.INFO: Extracted packet for processing {"connection_id":110683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 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-06-23 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":110683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:23:03] local.INFO: GPS data processed {"connection_id":110683,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:23:03] local.INFO: Acknowledgment sent {"connection_id":110683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:23:07] local.INFO: TCP Data received {"connection_id":111477,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:23:07] local.INFO: Processing buffer {"connection_id":111477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:23:07] local.INFO: IMEI packet received {"connection_id":111477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":111477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:23:19] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d0b668012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d0b668012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:23:19] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d0b668012d1968c0071fee48003f01142d..."} 
[2026-06-23 10:23:19] local.INFO: Packet analysis {"connection_id":110854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d0"} 
[2026-06-23 10:23:19] local.INFO: Extracted packet for processing {"connection_id":110854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d0"} 
[2026-06-23 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240692224001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190225000,"timestamp_ms":1782190225000,"timestamp_seconds":1782190225,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d0b668"} 
[2026-06-23 10:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:23:19] 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-06-23 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240692224001,"66":12004,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240692224001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:23:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240692224001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":110854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:23:19] local.INFO: GPS data processed {"connection_id":110854,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:23:19] local.INFO: Acknowledgment sent {"connection_id":110854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:23:24] local.INFO: TCP Data received {"connection_id":110684,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:23:24] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:23:24] local.INFO: IMEI packet received {"connection_id":110684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":110684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:23:29] local.INFO: TCP Data received {"connection_id":110684,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:23:29] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:23:29] local.INFO: IMEI packet received {"connection_id":110684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":110684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:23:30] local.INFO: TCP Data received {"connection_id":110684,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:23:30] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:23:30] local.INFO: Packet analysis {"connection_id":110684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:23:30] local.INFO: Extracted packet for processing {"connection_id":110684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:23:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":110684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:23:30] local.INFO: GPS data processed {"connection_id":110684,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:23:30] local.INFO: Acknowledgment sent {"connection_id":110684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:23:42] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:23:42] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:23:42] local.INFO: IMEI packet received {"connection_id":110685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":110685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:23:48] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:23:48] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:23:48] local.INFO: IMEI packet received {"connection_id":110685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":110685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:23:48] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d10870012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d10870012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:23:48] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d10870012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:23:48] local.INFO: Packet analysis {"connection_id":110685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:23:48] local.INFO: Extracted packet for processing {"connection_id":110685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240697600001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190246000,"timestamp_ms":1782190246000,"timestamp_seconds":1782190246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d10870"} 
[2026-06-23 10:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:23:48] 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-06-23 10:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 10:23:48] 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-06-23 10:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240697600001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240697600001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240697600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":110685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:23:48] local.INFO: GPS data processed {"connection_id":110685,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:23:48] local.INFO: Acknowledgment sent {"connection_id":110685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:24:02] local.INFO: TCP Data received {"connection_id":110684,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:02] local.INFO: Processing buffer {"connection_id":110684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:02] local.INFO: Packet analysis {"connection_id":110684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:02] local.INFO: Extracted packet for processing {"connection_id":110684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:24:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":110684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:24:02] local.INFO: GPS data processed {"connection_id":110684,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:24:02] local.INFO: Acknowledgment sent {"connection_id":110684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:24:19] local.INFO: TCP Data received {"connection_id":110685,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d15690012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d15690012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:24:19] local.INFO: Processing buffer {"connection_id":110685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d15690012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:24:19] local.INFO: Packet analysis {"connection_id":110685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:19] local.INFO: Extracted packet for processing {"connection_id":110685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240702976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190266000,"timestamp_ms":1782190266000,"timestamp_seconds":1782190266,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d15690"} 
[2026-06-23 10:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:24:19] 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-06-23 10:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:24:19] 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-06-23 10:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240702976001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240702976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:24:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240702976001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":110685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:24:19] local.INFO: GPS data processed {"connection_id":110685,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:24:19] local.INFO: Acknowledgment sent {"connection_id":110685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:24:30] local.INFO: TCP Data received {"connection_id":112417,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:24:30] local.INFO: Processing buffer {"connection_id":112417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:24:30] local.INFO: IMEI packet received {"connection_id":112417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":112417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:24:35] local.INFO: TCP Data received {"connection_id":112417,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:24:35] local.INFO: Processing buffer {"connection_id":112417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:24:35] local.INFO: IMEI packet received {"connection_id":112417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":112417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:24:36] local.INFO: TCP Data received {"connection_id":112417,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:36] local.INFO: Processing buffer {"connection_id":112417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:36] local.INFO: Packet analysis {"connection_id":112417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:36] local.INFO: Extracted packet for processing {"connection_id":112417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":112417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:24:36] local.INFO: GPS data processed {"connection_id":112417,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:24:36] local.INFO: Acknowledgment sent {"connection_id":112417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:24:40] local.INFO: TCP Data received {"connection_id":112417,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:40] local.INFO: Processing buffer {"connection_id":112417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:24:40] local.INFO: Packet analysis {"connection_id":112417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:40] local.INFO: Extracted packet for processing {"connection_id":112417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:24:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:24:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":112417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:24:40] local.INFO: GPS data processed {"connection_id":112417,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:24:40] local.INFO: Acknowledgment sent {"connection_id":112417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:24:42] local.INFO: TCP Data received {"connection_id":111479,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:24:42] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:24:42] local.INFO: IMEI packet received {"connection_id":111479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":111479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:24:48] local.INFO: TCP Data received {"connection_id":111479,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:24:48] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:24:48] local.INFO: IMEI packet received {"connection_id":111479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":111479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:24:48] local.INFO: TCP Data received {"connection_id":111479,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1a898012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1a898012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:24:48] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1a898012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:24:48] local.INFO: Packet analysis {"connection_id":111479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:48] local.INFO: Extracted packet for processing {"connection_id":111479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240708096001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190287000,"timestamp_ms":1782190287000,"timestamp_seconds":1782190287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1a898"} 
[2026-06-23 10:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:24:48] 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-06-23 10:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-950514230095963800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77735472083763200,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3490607105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:24:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:24:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,8,45,192,238,63,44,10,66,182,100,240,31,227,242,4,113,205,188,104,72,43,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:24:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932069987352576,"timestamp_seconds":4539932069987353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240708096001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240708096001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:24:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240708096001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":111479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:24:48] local.INFO: GPS data processed {"connection_id":111479,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:24:48] local.INFO: Acknowledgment sent {"connection_id":111479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:25:19] local.INFO: TCP Data received {"connection_id":111479,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1faa0012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1faa0012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:25:19] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1faa0012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:25:19] local.INFO: Packet analysis {"connection_id":111479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:25:19] local.INFO: Extracted packet for processing {"connection_id":111479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240713472001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190308000,"timestamp_ms":1782190308000,"timestamp_seconds":1782190308,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1faa0"} 
[2026-06-23 10:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:25:19] 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-06-23 10:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240713472001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240713472001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:25:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240713472001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":111479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:25:19] local.INFO: GPS data processed {"connection_id":111479,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:25:19] local.INFO: Acknowledgment sent {"connection_id":111479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:25:25] local.INFO: TCP Data received {"connection_id":112418,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:25:25] local.INFO: Processing buffer {"connection_id":112418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:25:25] local.INFO: IMEI packet received {"connection_id":112418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":112418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:25:30] local.INFO: TCP Data received {"connection_id":112418,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:25:30] local.INFO: Processing buffer {"connection_id":112418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:25:30] local.INFO: IMEI packet received {"connection_id":112418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":112418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:25:31] local.INFO: TCP Data received {"connection_id":112418,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:25:31] local.INFO: Processing buffer {"connection_id":112418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:25:31] local.INFO: Packet analysis {"connection_id":112418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:25:31] local.INFO: Extracted packet for processing {"connection_id":112418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:25:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:25:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:25:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":112418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:25:31] local.INFO: GPS data processed {"connection_id":112418,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:25:31] local.INFO: Acknowledgment sent {"connection_id":112418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:25:42] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:25:42] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:25:42] local.INFO: IMEI packet received {"connection_id":111480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":111480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:25:48] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:25:48] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:25:48] local.INFO: IMEI packet received {"connection_id":111480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":111480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:25:48] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d24ca8012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d24ca8012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:25:48] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d24ca8012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:25:48] local.INFO: Packet analysis {"connection_id":111480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d2"} 
[2026-06-23 10:25:48] local.INFO: Extracted packet for processing {"connection_id":111480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d2"} 
[2026-06-23 10:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240718848001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190329000,"timestamp_ms":1782190329000,"timestamp_seconds":1782190329,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d24ca8"} 
[2026-06-23 10:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:25:48] 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-06-23 10:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240718848001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240718848001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:25:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240718848001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":111480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:25:48] local.INFO: GPS data processed {"connection_id":111480,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:25:48] local.INFO: Acknowledgment sent {"connection_id":111480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:26:03] local.INFO: TCP Data received {"connection_id":112418,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:26:03] local.INFO: Processing buffer {"connection_id":112418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:26:03] local.INFO: Packet analysis {"connection_id":112418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:26:03] local.INFO: Extracted packet for processing {"connection_id":112418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 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-06-23 10:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":112418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:26:03] local.INFO: GPS data processed {"connection_id":112418,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:26:03] local.INFO: Acknowledgment sent {"connection_id":112418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:26:19] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d29eb0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d29eb0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:26:19] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d29eb0012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:26:19] local.INFO: Packet analysis {"connection_id":111480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d2"} 
[2026-06-23 10:26:19] local.INFO: Extracted packet for processing {"connection_id":111480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d2"} 
[2026-06-23 10:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240724224001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190350000,"timestamp_ms":1782190350000,"timestamp_seconds":1782190350,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d29eb0"} 
[2026-06-23 10:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-950243647156315800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77735472083763200,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3506991105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,250,45,192,238,63,43,10,66,168,86,240,227,242,31,4,113,205,182,104,72,239,46,2,14,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:26:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932074282319872,"timestamp_seconds":4539932074282320.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240724224001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240724224001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:26:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:26:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240724224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":111480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:26:19] local.INFO: GPS data processed {"connection_id":111480,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:26:19] local.INFO: Acknowledgment sent {"connection_id":111480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:26:25] local.INFO: TCP Data received {"connection_id":110856,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:26:25] local.INFO: Processing buffer {"connection_id":110856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:26:25] local.INFO: IMEI packet received {"connection_id":110856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":110856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:26:30] local.INFO: TCP Data received {"connection_id":110856,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:26:30] local.INFO: Processing buffer {"connection_id":110856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:26:30] local.INFO: IMEI packet received {"connection_id":110856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":110856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:26:31] local.INFO: TCP Data received {"connection_id":110856,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:26:31] local.INFO: Processing buffer {"connection_id":110856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:26:31] local.INFO: Packet analysis {"connection_id":110856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:26:31] local.INFO: Extracted packet for processing {"connection_id":110856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:26:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 10:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:26:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":110856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:26:31] local.INFO: GPS data processed {"connection_id":110856,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:26:31] local.INFO: Acknowledgment sent {"connection_id":110856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:26:48] local.INFO: TCP Data received {"connection_id":110686,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:26:48] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:26:48] local.INFO: IMEI packet received {"connection_id":110686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":110686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:26:48] local.INFO: TCP Data received {"connection_id":110686,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d2f0b8012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d2f0b8012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:26:48] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d2f0b8012d1968c0071fee48003f01142c..."} 
[2026-06-23 10:26:48] local.INFO: Packet analysis {"connection_id":110686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d2"} 
[2026-06-23 10:26:48] local.INFO: Extracted packet for processing {"connection_id":110686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d2"} 
[2026-06-23 10:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240729600001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190371000,"timestamp_ms":1782190371000,"timestamp_seconds":1782190371,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d2f0b8"} 
[2026-06-23 10:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:26:48] 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-06-23 10:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240729600001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240729600001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:26:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240729600001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":110686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:26:48] local.INFO: GPS data processed {"connection_id":110686,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:26:48] local.INFO: Acknowledgment sent {"connection_id":110686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:27:03] local.INFO: TCP Data received {"connection_id":110856,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:27:03] local.INFO: Processing buffer {"connection_id":110856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d1cfa8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:27:03] local.INFO: Packet analysis {"connection_id":110856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:27:03] local.INFO: Extracted packet for processing {"connection_id":110856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d1"} 
[2026-06-23 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240638976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190297000,"timestamp_ms":1782190297000,"timestamp_seconds":1782190297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d1cfa8"} 
[2026-06-23 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-06-23 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240638976001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240638976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240638976001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":110856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:27:03] local.INFO: GPS data processed {"connection_id":110856,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:27:03] local.INFO: Acknowledgment sent {"connection_id":110856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:27:19] local.INFO: TCP Data received {"connection_id":110686,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d342c0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d342c0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:27:19] local.INFO: Processing buffer {"connection_id":110686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d342c0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:27:19] local.INFO: Packet analysis {"connection_id":110686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d3"} 
[2026-06-23 10:27:19] local.INFO: Extracted packet for processing {"connection_id":110686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d3"} 
[2026-06-23 10:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240734976001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190392000,"timestamp_ms":1782190392000,"timestamp_seconds":1782190392,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d342c0"} 
[2026-06-23 10:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:27:19] 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-06-23 10:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:27:19] 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-06-23 10:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240734976001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240734976001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:27:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240734976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":110686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:27:19] local.INFO: GPS data processed {"connection_id":110686,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:27:19] local.INFO: Acknowledgment sent {"connection_id":110686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:27:24] local.INFO: TCP Data received {"connection_id":112420,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:27:24] local.INFO: Processing buffer {"connection_id":112420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:27:24] local.INFO: IMEI packet received {"connection_id":112420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":112420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:27:30] local.INFO: TCP Data received {"connection_id":112420,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:27:30] local.INFO: Processing buffer {"connection_id":112420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:27:30] local.INFO: IMEI packet received {"connection_id":112420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":112420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:27:31] local.INFO: TCP Data received {"connection_id":112420,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:27:31] local.INFO: Processing buffer {"connection_id":112420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:27:31] local.INFO: Packet analysis {"connection_id":112420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:27:31] local.INFO: Extracted packet for processing {"connection_id":112420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:27:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":112420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:27:31] local.INFO: GPS data processed {"connection_id":112420,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:27:31] local.INFO: Acknowledgment sent {"connection_id":112420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:27:48] local.INFO: TCP Data received {"connection_id":111482,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:27:48] local.INFO: Processing buffer {"connection_id":111482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:27:48] local.INFO: IMEI packet received {"connection_id":111482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":111482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:27:53] local.INFO: TCP Data received {"connection_id":111482,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:27:53] local.INFO: Processing buffer {"connection_id":111482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:27:53] local.INFO: IMEI packet received {"connection_id":111482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":111482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:27:53] local.INFO: TCP Data received {"connection_id":111482,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d394c8012d1968c0071fee48003f011429..."} 
[2026-06-23 10:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d394c8012d1968c0071fee48003f011429..."} 
[2026-06-23 10:27:53] local.INFO: Processing buffer {"connection_id":111482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d394c8012d1968c0071fee48003f011429..."} 
[2026-06-23 10:27:53] local.INFO: Packet analysis {"connection_id":111482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d3"} 
[2026-06-23 10:27:53] local.INFO: Extracted packet for processing {"connection_id":111482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d3"} 
[2026-06-23 10:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240740352001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782190413000,"timestamp_ms":1782190413000,"timestamp_seconds":1782190413,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d394c8"} 
[2026-06-23 10:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240740352001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240740352001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:27:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:27:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240740352001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":111482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:27:53] local.INFO: GPS data processed {"connection_id":111482,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:27:53] local.INFO: Acknowledgment sent {"connection_id":111482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:27:58] local.INFO: TCP Data received {"connection_id":111482,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d3e6d0012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d3e6d0012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:27:58] local.INFO: Processing buffer {"connection_id":111482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d3e6d0012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:27:58] local.INFO: Packet analysis {"connection_id":111482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d3"} 
[2026-06-23 10:27:58] local.INFO: Extracted packet for processing {"connection_id":111482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d3"} 
[2026-06-23 10:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240745728001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:27: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-06-23 10:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782190434000,"timestamp_ms":1782190434000,"timestamp_seconds":1782190434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d3e6d0"} 
[2026-06-23 10:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:27: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-06-23 10:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240745728001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240745728001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:27:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240745728001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":111482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:27:58] local.INFO: GPS data processed {"connection_id":111482,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:27:58] local.INFO: Acknowledgment sent {"connection_id":111482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:28:03] local.INFO: TCP Data received {"connection_id":112420,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:03] local.INFO: Processing buffer {"connection_id":112420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:03] local.INFO: Packet analysis {"connection_id":112420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:28:03] local.INFO: Extracted packet for processing {"connection_id":112420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:28:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 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-06-23 10:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:28:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":112420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:28:03] local.INFO: GPS data processed {"connection_id":112420,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:28:03] local.INFO: Acknowledgment sent {"connection_id":112420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:28:30] local.INFO: TCP Data received {"connection_id":111483,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:28:30] local.INFO: Processing buffer {"connection_id":111483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:28:30] local.INFO: IMEI packet received {"connection_id":111483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":111483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:28:31] local.INFO: TCP Data received {"connection_id":112421,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:28:31] local.INFO: Processing buffer {"connection_id":112421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:28:31] local.INFO: IMEI packet received {"connection_id":112421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":112421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:28:35] local.INFO: TCP Data received {"connection_id":111483,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:28:35] local.INFO: Processing buffer {"connection_id":111483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:28:35] local.INFO: IMEI packet received {"connection_id":111483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":111483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:28:36] local.INFO: TCP Data received {"connection_id":111483,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:36] local.INFO: Processing buffer {"connection_id":111483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:36] local.INFO: Packet analysis {"connection_id":111483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:28:36] local.INFO: Extracted packet for processing {"connection_id":111483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":111483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:28:36] local.INFO: GPS data processed {"connection_id":111483,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:28:36] local.INFO: Acknowledgment sent {"connection_id":111483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:28:40] local.INFO: TCP Data received {"connection_id":111483,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:40] local.INFO: Processing buffer {"connection_id":111483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:28:40] local.INFO: Packet analysis {"connection_id":111483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:28:40] local.INFO: Extracted packet for processing {"connection_id":111483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:28:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:28:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":111483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:28:40] local.INFO: GPS data processed {"connection_id":111483,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:28:40] local.INFO: Acknowledgment sent {"connection_id":111483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:28:42] local.INFO: TCP Data received {"connection_id":112422,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:28:42] local.INFO: Processing buffer {"connection_id":112422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:28:42] local.INFO: IMEI packet received {"connection_id":112422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":112422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:28:45] local.INFO: TCP Data received {"connection_id":112422,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:28:45] local.INFO: Processing buffer {"connection_id":112422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:28:45] local.INFO: IMEI packet received {"connection_id":112422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":112422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:28:46] local.INFO: TCP Data received {"connection_id":112422,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d438d8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d438d8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:28:46] local.INFO: Processing buffer {"connection_id":112422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d438d8012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:28:46] local.INFO: Packet analysis {"connection_id":112422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d4"} 
[2026-06-23 10:28:46] local.INFO: Extracted packet for processing {"connection_id":112422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d4"} 
[2026-06-23 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240751104001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782190455000,"timestamp_ms":1782190455000,"timestamp_seconds":1782190455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d438d8"} 
[2026-06-23 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:28:46] 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-06-23 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-949792675590235800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77734372572135424,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3533615105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:28:46] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,1,158,148,45,192,238,63,41,10,66,240,255,227,242,31,4,113,205,76,104,72,43,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:28:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932069987352576,"timestamp_seconds":4539932069987353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240751104001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240751104001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240751104001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":112422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:28:46] local.INFO: GPS data processed {"connection_id":112422,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:28:46] local.INFO: Acknowledgment sent {"connection_id":112422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:29:07] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:29:07] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:29:07] local.INFO: IMEI packet received {"connection_id":111484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":111484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:29:12] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:29:12] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:29:12] local.INFO: IMEI packet received {"connection_id":111484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 10:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":111484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:29:13] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d64448012cfa9140074573c00084011224..."} 
[2026-06-23 10:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d64448012cfa9140074573c00084011224..."} 
[2026-06-23 10:29:13] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d64448012cfa9140074573c00084011224..."} 
[2026-06-23 10:29:13] local.INFO: Packet analysis {"connection_id":111484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:29:13] local.INFO: Extracted packet for processing {"connection_id":111484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:29:13] local.INFO: GPS Element Parsed {"raw_longitude":754618688,"raw_latitude":121992128,"longitude_deg":75.4618688,"latitude_deg":12.1992128,"altitude":132,"angle":274,"satellites":36,"speed":43,"hex_longitude":"2cfa9140","hex_latitude":"074573c0","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240787968001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126860685245153280,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-380413399794585600,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782190589000,"timestamp_ms":1782190589000,"timestamp_seconds":1782190589,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d64448"} 
[2026-06-23 10:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 10:29:13] 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-06-23 10: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-06-23 10:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":111484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":111484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 10:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":111484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 10:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-23 10:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-23 10:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240787968001,"66":28398,"115":206,"83":43520,"24":43,"16":126860685245153280,"44":-380413399794585600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-06-23 10:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-23 10:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-23 10:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240787968001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:29:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 10:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43520,"description":"Unknown IO ID 83"} 
[2026-06-23 10:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126860685245153280,"km_value":126860685245153.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-380413399794585600,"description":"Unknown IO ID 44"} 
[2026-06-23 10:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240787968001,"power":28398,"unknown_115":206,"unknown_83":43520,"ignition":43,"odometer":null,"unknown_44":-380413399794585600}} 
[2026-06-23 10:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":111484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:29:13] local.INFO: GPS data processed {"connection_id":111484,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:29:13] local.INFO: Acknowledgment sent {"connection_id":111484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:29:17] local.INFO: TCP Data received {"connection_id":112422,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d48ae0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d48ae0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:29:17] local.INFO: Processing buffer {"connection_id":112422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d48ae0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:29:17] local.INFO: Packet analysis {"connection_id":112422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d4"} 
[2026-06-23 10:29:17] local.INFO: Extracted packet for processing {"connection_id":112422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d4"} 
[2026-06-23 10:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240756480001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782190476000,"timestamp_ms":1782190476000,"timestamp_seconds":1782190476,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d48ae0"} 
[2026-06-23 10:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-949702481277019800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77734372572135424,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3538991105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:29:17] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,230,45,192,238,63,42,10,66,148,41,240,255,227,242,31,4,113,205,104,72,44,239,48,2,14,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:29:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932069987352576,"timestamp_seconds":4539932069987353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240756480001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240756480001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240756480001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":112422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:29:17] local.INFO: GPS data processed {"connection_id":112422,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:29:17] local.INFO: Acknowledgment sent {"connection_id":112422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:29:25] local.INFO: TCP Data received {"connection_id":112423,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:29:25] local.INFO: Processing buffer {"connection_id":112423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:29:25] local.INFO: IMEI packet received {"connection_id":112423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":112423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:29:30] local.INFO: TCP Data received {"connection_id":112423,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:29:30] local.INFO: Processing buffer {"connection_id":112423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:29:30] local.INFO: IMEI packet received {"connection_id":112423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":112423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:29:31] local.INFO: TCP Data received {"connection_id":112423,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:29:31] local.INFO: Processing buffer {"connection_id":112423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:29:31] local.INFO: Packet analysis {"connection_id":112423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:29:31] local.INFO: Extracted packet for processing {"connection_id":112423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:29:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":112423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:29:31] local.INFO: GPS data processed {"connection_id":112423,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:29:31] local.INFO: Acknowledgment sent {"connection_id":112423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:29:43] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:29:43] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:29:43] local.INFO: IMEI packet received {"connection_id":110687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":110687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:29:48] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:29:48] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:29:48] local.INFO: IMEI packet received {"connection_id":110687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":110687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:29:48] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d81138012d1968c0071fee48003f011429..."} 
[2026-06-23 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d81138012d1968c0071fee48003f011429..."} 
[2026-06-23 10:29:48] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d81138012d1968c0071fee48003f011429..."} 
[2026-06-23 10:29:48] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d8"} 
[2026-06-23 10:29:48] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d8"} 
[2026-06-23 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240815616001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190707000,"timestamp_ms":1782190707000,"timestamp_seconds":1782190707,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d81138"} 
[2026-06-23 10:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 10:29:48] 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-06-23 10:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240815616001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240815616001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:29:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240815616001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:29:48] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:29:48] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:30:04] local.INFO: TCP Data received {"connection_id":112423,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:30:04] local.INFO: Processing buffer {"connection_id":112423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:30:04] local.INFO: Packet analysis {"connection_id":112423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:30:04] local.INFO: Extracted packet for processing {"connection_id":112423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:30:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:30:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:30:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":112423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:30:04] local.INFO: GPS data processed {"connection_id":112423,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:30:04] local.INFO: Acknowledgment sent {"connection_id":112423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:30:07] local.INFO: TCP Data received {"connection_id":110688,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:30:07] local.INFO: Processing buffer {"connection_id":110688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:30:07] local.INFO: IMEI packet received {"connection_id":110688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":110688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:30:19] local.INFO: TCP Data received {"connection_id":110687,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d86340012d1968c0071fee48003f011428..."} 
[2026-06-23 10:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d86340012d1968c0071fee48003f011428..."} 
[2026-06-23 10:30:19] local.INFO: Processing buffer {"connection_id":110687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d86340012d1968c0071fee48003f011428..."} 
[2026-06-23 10:30:19] local.INFO: Packet analysis {"connection_id":110687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d8"} 
[2026-06-23 10:30:19] local.INFO: Extracted packet for processing {"connection_id":110687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d8"} 
[2026-06-23 10:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240820992001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190728000,"timestamp_ms":1782190728000,"timestamp_seconds":1782190728,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d86340"} 
[2026-06-23 10:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240820992001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240820992001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240820992001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":110687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:30:19] local.INFO: GPS data processed {"connection_id":110687,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:30:19] local.INFO: Acknowledgment sent {"connection_id":110687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:30:24] local.INFO: TCP Data received {"connection_id":110857,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:30:24] local.INFO: Processing buffer {"connection_id":110857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:30:24] local.INFO: IMEI packet received {"connection_id":110857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":110857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:30:30] local.INFO: TCP Data received {"connection_id":110857,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:30:30] local.INFO: Processing buffer {"connection_id":110857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:30:30] local.INFO: IMEI packet received {"connection_id":110857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":110857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:30:31] local.INFO: TCP Data received {"connection_id":110857,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:30:31] local.INFO: Processing buffer {"connection_id":110857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:30:31] local.INFO: Packet analysis {"connection_id":110857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:30:31] local.INFO: Extracted packet for processing {"connection_id":110857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:30:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:30:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:30:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":110857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:30:31] local.INFO: GPS data processed {"connection_id":110857,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:30:31] local.INFO: Acknowledgment sent {"connection_id":110857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:30:43] local.INFO: TCP Data received {"connection_id":110689,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:30:43] local.INFO: Processing buffer {"connection_id":110689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:30:43] local.INFO: IMEI packet received {"connection_id":110689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":110689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:30:47] local.INFO: TCP Data received {"connection_id":110689,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:30:47] local.INFO: Processing buffer {"connection_id":110689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:30:47] local.INFO: IMEI packet received {"connection_id":110689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":110689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:30:48] local.INFO: TCP Data received {"connection_id":110689,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d8b548012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d8b548012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:30:48] local.INFO: Processing buffer {"connection_id":110689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d8b548012d1968c0071fee48003f01142b..."} 
[2026-06-23 10:30:48] local.INFO: Packet analysis {"connection_id":110689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d8"} 
[2026-06-23 10:30:48] local.INFO: Extracted packet for processing {"connection_id":110689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d8"} 
[2026-06-23 10:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240826368001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190749000,"timestamp_ms":1782190749000,"timestamp_seconds":1782190749,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d8b548"} 
[2026-06-23 10:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240826368001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240826368001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:30:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:30:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240826368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":110689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:30:48] local.INFO: GPS data processed {"connection_id":110689,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:30:48] local.INFO: Acknowledgment sent {"connection_id":110689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:31:03] local.INFO: TCP Data received {"connection_id":110857,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:31:03] local.INFO: Processing buffer {"connection_id":110857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:31:03] local.INFO: Packet analysis {"connection_id":110857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:31:03] local.INFO: Extracted packet for processing {"connection_id":110857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:31:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:31:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:31:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":110857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:31:03] local.INFO: GPS data processed {"connection_id":110857,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:31:03] local.INFO: Acknowledgment sent {"connection_id":110857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:31:19] local.INFO: TCP Data received {"connection_id":110689,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d90750012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d90750012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:31:19] local.INFO: Processing buffer {"connection_id":110689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d90750012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:31:19] local.INFO: Packet analysis {"connection_id":110689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:31:19] local.INFO: Extracted packet for processing {"connection_id":110689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240831744001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190770000,"timestamp_ms":1782190770000,"timestamp_seconds":1782190770,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d90750"} 
[2026-06-23 10:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:31:19] 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-06-23 10:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:31:19] 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-06-23 10:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240831744001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240831744001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:31:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240831744001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":110689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:31:20] local.INFO: GPS data processed {"connection_id":110689,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:31:20] local.INFO: Acknowledgment sent {"connection_id":110689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:31:24] local.INFO: TCP Data received {"connection_id":110858,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:31:24] local.INFO: Processing buffer {"connection_id":110858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:31:24] local.INFO: IMEI packet received {"connection_id":110858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":110858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:31:29] local.INFO: TCP Data received {"connection_id":110858,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:31:29] local.INFO: Processing buffer {"connection_id":110858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:31:29] local.INFO: IMEI packet received {"connection_id":110858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:31:31] local.INFO: TCP Data received {"connection_id":110858,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:31:31] local.INFO: Processing buffer {"connection_id":110858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:31:31] local.INFO: Packet analysis {"connection_id":110858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:31:31] local.INFO: Extracted packet for processing {"connection_id":110858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:31:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:31:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":110858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:31:31] local.INFO: GPS data processed {"connection_id":110858,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:31:31] local.INFO: Acknowledgment sent {"connection_id":110858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:31:43] local.INFO: TCP Data received {"connection_id":110690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:31:43] local.INFO: Processing buffer {"connection_id":110690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:31:43] local.INFO: IMEI packet received {"connection_id":110690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":110690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:31:47] local.INFO: TCP Data received {"connection_id":110690,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:31:47] local.INFO: Processing buffer {"connection_id":110690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:31:47] local.INFO: IMEI packet received {"connection_id":110690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":110690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:31:48] local.INFO: TCP Data received {"connection_id":110690,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d95958012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d95958012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:31:48] local.INFO: Processing buffer {"connection_id":110690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d95958012d1968c0071fee48003f01142a..."} 
[2026-06-23 10:31:48] local.INFO: Packet analysis {"connection_id":110690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:31:48] local.INFO: Extracted packet for processing {"connection_id":110690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240837120001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190791000,"timestamp_ms":1782190791000,"timestamp_seconds":1782190791,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d95958"} 
[2026-06-23 10:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:31:48] 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-06-23 10:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240837120001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240837120001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:31:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240837120001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":110690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:31:48] local.INFO: GPS data processed {"connection_id":110690,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:31:48] local.INFO: Acknowledgment sent {"connection_id":110690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:32:02] local.INFO: TCP Data received {"connection_id":110858,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:32:02] local.INFO: Processing buffer {"connection_id":110858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d66770012cb29b8007823df8004a00cf23..."} 
[2026-06-23 10:32:02] local.INFO: Packet analysis {"connection_id":110858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:32:02] local.INFO: Extracted packet for processing {"connection_id":110858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d6"} 
[2026-06-23 10:32:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240716032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782190598000,"timestamp_ms":1782190598000,"timestamp_seconds":1782190598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d66770"} 
[2026-06-23 10:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240716032001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240716032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:32:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240716032001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":110858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:32:02] local.INFO: GPS data processed {"connection_id":110858,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:32:02] local.INFO: Acknowledgment sent {"connection_id":110858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:32:19] local.INFO: TCP Data received {"connection_id":110690,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d9af48012d1968c0071fee48003f011426..."} 
[2026-06-23 10:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d9af48012d1968c0071fee48003f011426..."} 
[2026-06-23 10:32:19] local.INFO: Processing buffer {"connection_id":110690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d9af48012d1968c0071fee48003f011426..."} 
[2026-06-23 10:32:19] local.INFO: Packet analysis {"connection_id":110690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:32:19] local.INFO: Extracted packet for processing {"connection_id":110690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240842496001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190813000,"timestamp_ms":1782190813000,"timestamp_seconds":1782190813,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d9af48"} 
[2026-06-23 10:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-948259372265563800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77734372572135424,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3625007105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:32:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,7,45,192,238,63,42,10,66,181,43,99,240,53,227,242,31,4,113,205,191,104,72,239,47,2,14,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:32:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932069987352576,"timestamp_seconds":4539932069987353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240842496001,"66":11895,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240842496001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:32:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240842496001,"power":11895,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":110690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:32:19] local.INFO: GPS data processed {"connection_id":110690,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:32:19] local.INFO: Acknowledgment sent {"connection_id":110690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:32:29] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:32:29] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:32:29] local.INFO: IMEI packet received {"connection_id":111485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":111485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:32:34] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:32:34] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:32:34] local.INFO: IMEI packet received {"connection_id":111485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":111485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:32:36] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:32:36] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:32:36] local.INFO: Packet analysis {"connection_id":111485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:32:36] local.INFO: Extracted packet for processing {"connection_id":111485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:32:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 10:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":111485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:32:36] local.INFO: GPS data processed {"connection_id":111485,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:32:36] local.INFO: Acknowledgment sent {"connection_id":111485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:32:43] local.INFO: TCP Data received {"connection_id":110859,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:32:43] local.INFO: Processing buffer {"connection_id":110859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:32:43] local.INFO: IMEI packet received {"connection_id":110859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":110859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:32:47] local.INFO: TCP Data received {"connection_id":110859,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:32:47] local.INFO: Processing buffer {"connection_id":110859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:32:47] local.INFO: IMEI packet received {"connection_id":110859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":110859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:32:48] local.INFO: TCP Data received {"connection_id":110859,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2d9fd68012d1968c0071fee48003f011426..."} 
[2026-06-23 10:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2d9fd68012d1968c0071fee48003f011426..."} 
[2026-06-23 10:32:48] local.INFO: Processing buffer {"connection_id":110859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2d9fd68012d1968c0071fee48003f011426..."} 
[2026-06-23 10:32:48] local.INFO: Packet analysis {"connection_id":110859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:32:48] local.INFO: Extracted packet for processing {"connection_id":110859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2d9"} 
[2026-06-23 10:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240848128001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190833000,"timestamp_ms":1782190833000,"timestamp_seconds":1782190833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2d9fd68"} 
[2026-06-23 10:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 10:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240848128001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240848128001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:32:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240848128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":110859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:32:48] local.INFO: GPS data processed {"connection_id":110859,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:32:48] local.INFO: Acknowledgment sent {"connection_id":110859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:33:07] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:33:07] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:33:07] local.INFO: Packet analysis {"connection_id":111485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:07] local.INFO: Extracted packet for processing {"connection_id":111485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 10:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":111485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:33:07] local.INFO: GPS data processed {"connection_id":111485,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:33:07] local.INFO: Acknowledgment sent {"connection_id":111485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:33:19] local.INFO: TCP Data received {"connection_id":110859,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2da4f70012d1968c0071fee48003f011427..."} 
[2026-06-23 10:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2da4f70012d1968c0071fee48003f011427..."} 
[2026-06-23 10:33:19] local.INFO: Processing buffer {"connection_id":110859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2da4f70012d1968c0071fee48003f011427..."} 
[2026-06-23 10:33:19] local.INFO: Packet analysis {"connection_id":110859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:19] local.INFO: Extracted packet for processing {"connection_id":110859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240853248001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190854000,"timestamp_ms":1782190854000,"timestamp_seconds":1782190854,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2da4f70"} 
[2026-06-23 10:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-948078983639131800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77732173548879872,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3635759105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:33:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,175,45,192,238,63,38,10,66,89,42,7,240,31,227,242,4,113,205,99,104,72,40,239,48,2,14],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:33:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932052807483392,"timestamp_seconds":4539932052807483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240853248001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240853248001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:33:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240853248001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":110859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:33:19] local.INFO: GPS data processed {"connection_id":110859,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:33:19] local.INFO: Acknowledgment sent {"connection_id":110859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:33:24] local.INFO: TCP Data received {"connection_id":110860,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:33:24] local.INFO: Processing buffer {"connection_id":110860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:33:24] local.INFO: IMEI packet received {"connection_id":110860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":110860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:33:30] local.INFO: TCP Data received {"connection_id":110860,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:33:30] local.INFO: Processing buffer {"connection_id":110860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:33:30] local.INFO: IMEI packet received {"connection_id":110860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":110860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:33:31] local.INFO: TCP Data received {"connection_id":110860,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:33:31] local.INFO: Processing buffer {"connection_id":110860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:33:31] local.INFO: Packet analysis {"connection_id":110860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:31] local.INFO: Extracted packet for processing {"connection_id":110860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 10:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:33:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:33:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":110860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:33:31] local.INFO: GPS data processed {"connection_id":110860,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:33:31] local.INFO: Acknowledgment sent {"connection_id":110860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:33:42] local.INFO: TCP Data received {"connection_id":112426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:33:42] local.INFO: Processing buffer {"connection_id":112426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:33:42] local.INFO: IMEI packet received {"connection_id":112426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":112426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:33:48] local.INFO: TCP Data received {"connection_id":112426,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:33:48] local.INFO: Processing buffer {"connection_id":112426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:33:48] local.INFO: IMEI packet received {"connection_id":112426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":112426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:33:48] local.INFO: TCP Data received {"connection_id":112426,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daa178012d1968c0071fee48003f011428..."} 
[2026-06-23 10:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daa178012d1968c0071fee48003f011428..."} 
[2026-06-23 10:33:48] local.INFO: Processing buffer {"connection_id":112426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daa178012d1968c0071fee48003f011428..."} 
[2026-06-23 10:33:48] local.INFO: Packet analysis {"connection_id":112426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:48] local.INFO: Extracted packet for processing {"connection_id":112426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240858624001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190875000,"timestamp_ms":1782190875000,"timestamp_seconds":1782190875,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daa178"} 
[2026-06-23 10:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-947988789325915800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77731074037252096,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3641135105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:33:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:33:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,253,45,192,238,63,38,10,66,175,89,240,227,242,31,4,113,205,181,104,72,43,239,48,2,14,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:33:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932057102450688,"timestamp_seconds":4539932057102451.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240858624001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240858624001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:33:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240858624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":112426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:33:48] local.INFO: GPS data processed {"connection_id":112426,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:33:48] local.INFO: Acknowledgment sent {"connection_id":112426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:34:03] local.INFO: TCP Data received {"connection_id":110860,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:34:03] local.INFO: Processing buffer {"connection_id":110860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:34:03] local.INFO: Packet analysis {"connection_id":110860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:34:03] local.INFO: Extracted packet for processing {"connection_id":110860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:34:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 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-06-23 10:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":110860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:34:03] local.INFO: GPS data processed {"connection_id":110860,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:34:03] local.INFO: Acknowledgment sent {"connection_id":110860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:34:19] local.INFO: TCP Data received {"connection_id":112426,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daf380012d1968c0071fee48003f011427..."} 
[2026-06-23 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daf380012d1968c0071fee48003f011427..."} 
[2026-06-23 10:34:19] local.INFO: Processing buffer {"connection_id":112426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daf380012d1968c0071fee48003f011427..."} 
[2026-06-23 10:34:19] local.INFO: Packet analysis {"connection_id":112426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:34:19] local.INFO: Extracted packet for processing {"connection_id":112426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240864000001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782190896000,"timestamp_ms":1782190896000,"timestamp_seconds":1782190896,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daf380"} 
[2026-06-23 10:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:34:19] 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-06-23 10:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240864000001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240864000001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:34:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240864000001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":112426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:34:19] local.INFO: GPS data processed {"connection_id":112426,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:34:19] local.INFO: Acknowledgment sent {"connection_id":112426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:34:24] local.INFO: TCP Data received {"connection_id":111487,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:34:24] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:34:24] local.INFO: IMEI packet received {"connection_id":111487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":111487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:34:30] local.INFO: TCP Data received {"connection_id":111487,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:34:30] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:34:30] local.INFO: IMEI packet received {"connection_id":111487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":111487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:34:32] local.INFO: TCP Data received {"connection_id":111487,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:34:32] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:34:32] local.INFO: Packet analysis {"connection_id":111487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:34:32] local.INFO: Extracted packet for processing {"connection_id":111487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 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-06-23 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:34:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:34:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":111487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:34:32] local.INFO: GPS data processed {"connection_id":111487,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:34:32] local.INFO: Acknowledgment sent {"connection_id":111487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:34:42] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:34:42] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:34:42] local.INFO: IMEI packet received {"connection_id":110691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":110691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:34:47] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:34:47] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:34:47] local.INFO: IMEI packet received {"connection_id":110691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":110691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:34:48] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2db4588012d1968c0071fee48003f011428..."} 
[2026-06-23 10:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2db4588012d1968c0071fee48003f011428..."} 
[2026-06-23 10:34:48] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2db4588012d1968c0071fee48003f011428..."} 
[2026-06-23 10:34:48] local.INFO: Packet analysis {"connection_id":110691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2db"} 
[2026-06-23 10:34:48] local.INFO: Extracted packet for processing {"connection_id":110691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2db"} 
[2026-06-23 10:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240869376001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190917000,"timestamp_ms":1782190917000,"timestamp_seconds":1782190917,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2db4588"} 
[2026-06-23 10:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240869376001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240869376001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:34:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240869376001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":110691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:34:48] local.INFO: GPS data processed {"connection_id":110691,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:34:48] local.INFO: Acknowledgment sent {"connection_id":110691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:35:04] local.INFO: TCP Data received {"connection_id":111487,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:35:04] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:35:04] local.INFO: Packet analysis {"connection_id":111487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:35:04] local.INFO: Extracted packet for processing {"connection_id":111487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 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-06-23 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:35:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:35:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":111487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:35:04] local.INFO: GPS data processed {"connection_id":111487,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:35:04] local.INFO: Acknowledgment sent {"connection_id":111487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:35:20] local.INFO: TCP Data received {"connection_id":110691,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2db9790012d1968c0071fee48003f011428..."} 
[2026-06-23 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2db9790012d1968c0071fee48003f011428..."} 
[2026-06-23 10:35:20] local.INFO: Processing buffer {"connection_id":110691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2db9790012d1968c0071fee48003f011428..."} 
[2026-06-23 10:35:20] local.INFO: Packet analysis {"connection_id":110691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2db"} 
[2026-06-23 10:35:20] local.INFO: Extracted packet for processing {"connection_id":110691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2db"} 
[2026-06-23 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240874752001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782190938000,"timestamp_ms":1782190938000,"timestamp_seconds":1782190938,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2db9790"} 
[2026-06-23 10:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:35:20] 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-06-23 10:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:35:20] 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-06-23 10:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240874752001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240874752001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:35:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240874752001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":110691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:35:20] local.INFO: GPS data processed {"connection_id":110691,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:35:20] local.INFO: Acknowledgment sent {"connection_id":110691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:35:24] local.INFO: TCP Data received {"connection_id":111488,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:35:24] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:35:24] local.INFO: IMEI packet received {"connection_id":111488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":111488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:35:30] local.INFO: TCP Data received {"connection_id":111488,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:35:30] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:35:30] local.INFO: IMEI packet received {"connection_id":111488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":111488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:35:31] local.INFO: TCP Data received {"connection_id":111488,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:35:31] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:35:31] local.INFO: Packet analysis {"connection_id":111488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:35:31] local.INFO: Extracted packet for processing {"connection_id":111488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 10:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:35:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":111488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:35:31] local.INFO: GPS data processed {"connection_id":111488,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:35:31] local.INFO: Acknowledgment sent {"connection_id":111488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:35:32] local.INFO: TCP Data received {"connection_id":112428,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:35:32] local.INFO: Processing buffer {"connection_id":112428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:35:32] local.INFO: IMEI packet received {"connection_id":112428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":112428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:35:42] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:42] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:42] local.INFO: IMEI packet received {"connection_id":110861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":110861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:35:45] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:45] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:45] local.INFO: IMEI packet received {"connection_id":110861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":110861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:35:47] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:47] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:35:47] local.INFO: IMEI packet received {"connection_id":110861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":110861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:35:48] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2dbe998012d1968c0071fee48003f011423..."} 
[2026-06-23 10:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2dbe998012d1968c0071fee48003f011423..."} 
[2026-06-23 10:35:48] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2dbe998012d1968c0071fee48003f011423..."} 
[2026-06-23 10:35:48] local.INFO: Packet analysis {"connection_id":110861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2db"} 
[2026-06-23 10:35:48] local.INFO: Extracted packet for processing {"connection_id":110861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2db"} 
[2026-06-23 10:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240880128001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782190959000,"timestamp_ms":1782190959000,"timestamp_seconds":1782190959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2dbe998"} 
[2026-06-23 10:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-947628012073051800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3348145730461499598,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3662639105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:35:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:35:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,1,158,69,45,192,238,63,40,10,66,243,39,161,240,53,227,242,31,4,113,205,253,104,72,38,239,48,2,14,7,42],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:35:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932061397417984,"timestamp_seconds":4539932061397418.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240880128001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240880128001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:35:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240880128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":110861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:35:48] local.INFO: GPS data processed {"connection_id":110861,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:35:48] local.INFO: Acknowledgment sent {"connection_id":110861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:36:03] local.INFO: TCP Data received {"connection_id":111488,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:03] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:03] local.INFO: Packet analysis {"connection_id":111488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:36:03] local.INFO: Extracted packet for processing {"connection_id":111488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 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-06-23 10:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:36:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:36:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":111488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:36:03] local.INFO: GPS data processed {"connection_id":111488,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:36:03] local.INFO: Acknowledgment sent {"connection_id":111488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:36:07] local.INFO: TCP Data received {"connection_id":111489,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:36:07] local.INFO: Processing buffer {"connection_id":111489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:36:07] local.INFO: IMEI packet received {"connection_id":111489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":111489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:36:20] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2dc3ba0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2dc3ba0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:36:20] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2dc3ba0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:36:20] local.INFO: Packet analysis {"connection_id":110861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2dc"} 
[2026-06-23 10:36:20] local.INFO: Extracted packet for processing {"connection_id":110861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2dc"} 
[2026-06-23 10:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240885504001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782190980000,"timestamp_ms":1782190980000,"timestamp_seconds":1782190980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2dc3ba0"} 
[2026-06-23 10:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:36:20] 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-06-23 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-947533522792539800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3668015105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:36:20] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,151,45,192,238,63,40,10,66,69,243,240,53,227,242,31,4,113,205,79,104,72,39,239,48,2,14,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:36:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240885504001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240885504001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:36:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240885504001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":110861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:36:20] local.INFO: GPS data processed {"connection_id":110861,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:36:20] local.INFO: Acknowledgment sent {"connection_id":110861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:36:30] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:36:30] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:36:30] local.INFO: IMEI packet received {"connection_id":110692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":110692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:36:35] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:36:35] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:36:35] local.INFO: IMEI packet received {"connection_id":110692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":110692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:36:36] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:36] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:36] local.INFO: Packet analysis {"connection_id":110692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:36:36] local.INFO: Extracted packet for processing {"connection_id":110692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 10:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":110692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:36:36] local.INFO: GPS data processed {"connection_id":110692,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:36:36] local.INFO: Acknowledgment sent {"connection_id":110692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:36:41] local.INFO: TCP Data received {"connection_id":110692,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:41] local.INFO: Processing buffer {"connection_id":110692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2daff38012cb29b8007823df8004a00cf20..."} 
[2026-06-23 10:36:41] local.INFO: Packet analysis {"connection_id":110692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:36:41] local.INFO: Extracted packet for processing {"connection_id":110692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2da"} 
[2026-06-23 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240793088001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782190899000,"timestamp_ms":1782190899000,"timestamp_seconds":1782190899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2daff38"} 
[2026-06-23 10:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240793088001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240793088001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:36:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:36:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240793088001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":110692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:36:41] local.INFO: GPS data processed {"connection_id":110692,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:36:41] local.INFO: Acknowledgment sent {"connection_id":110692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:36:48] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:48] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:48] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:36:48] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:48] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:48] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:36:53] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:53] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:36:53] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:36:53] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2dc8da8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2dc8da8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:36:53] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2dc8da8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:36:53] local.INFO: Packet analysis {"connection_id":111490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2dc"} 
[2026-06-23 10:36:53] local.INFO: Extracted packet for processing {"connection_id":111490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2dc"} 
[2026-06-23 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240890880001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782191001000,"timestamp_ms":1782191001000,"timestamp_seconds":1782191001,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2dc8da8"} 
[2026-06-23 10:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240890880001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240890880001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240890880001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":111490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:36:53] local.INFO: GPS data processed {"connection_id":111490,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:36:53] local.INFO: Acknowledgment sent {"connection_id":111490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:36:58] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2dcdfb0012d1968c0071fee48003f011426..."} 
[2026-06-23 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2dcdfb0012d1968c0071fee48003f011426..."} 
[2026-06-23 10:36:58] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2dcdfb0012d1968c0071fee48003f011426..."} 
[2026-06-23 10:36:58] local.INFO: Packet analysis {"connection_id":111490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2dc"} 
[2026-06-23 10:36:58] local.INFO: Extracted packet for processing {"connection_id":111490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2dc"} 
[2026-06-23 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240896256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:36: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-06-23 10:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782191022000,"timestamp_ms":1782191022000,"timestamp_seconds":1782191022,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2dcdfb0"} 
[2026-06-23 10:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:36: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-06-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240896256001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240896256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:36:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240896256001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":111490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:36:58] local.INFO: GPS data processed {"connection_id":111490,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:36:58] local.INFO: Acknowledgment sent {"connection_id":111490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:37:25] local.INFO: TCP Data received {"connection_id":112429,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:37:25] local.INFO: Processing buffer {"connection_id":112429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:37:25] local.INFO: IMEI packet received {"connection_id":112429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":112429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:37:30] local.INFO: TCP Data received {"connection_id":112429,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:37:30] local.INFO: Processing buffer {"connection_id":112429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:37:30] local.INFO: IMEI packet received {"connection_id":112429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":112429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:37:31] local.INFO: TCP Data received {"connection_id":112429,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:37:31] local.INFO: Processing buffer {"connection_id":112429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:37:31] local.INFO: Packet analysis {"connection_id":112429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:37:31] local.INFO: Extracted packet for processing {"connection_id":112429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:37:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:37:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:37:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":112429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:37:31] local.INFO: GPS data processed {"connection_id":112429,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:37:31] local.INFO: Acknowledgment sent {"connection_id":112429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:37:43] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:37:43] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:37:43] local.INFO: IMEI packet received {"connection_id":111491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":111491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:37:47] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:37:47] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:37:47] local.INFO: IMEI packet received {"connection_id":111491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":111491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:37:48] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2dd31b8012d1968c0071fee48003f011427..."} 
[2026-06-23 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2dd31b8012d1968c0071fee48003f011427..."} 
[2026-06-23 10:37:48] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2dd31b8012d1968c0071fee48003f011427..."} 
[2026-06-23 10:37:48] local.INFO: Packet analysis {"connection_id":111491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2dd"} 
[2026-06-23 10:37:48] local.INFO: Extracted packet for processing {"connection_id":111491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2dd"} 
[2026-06-23 10:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240901632001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191043000,"timestamp_ms":1782191043000,"timestamp_seconds":1782191043,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2dd31b8"} 
[2026-06-23 10:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:37:48] 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-06-23 10:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-947267234820187800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3684143105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:37:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,141,45,192,238,63,37,10,66,59,233,240,227,242,31,4,113,205,69,104,72,40,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:37:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932052807483392,"timestamp_seconds":4539932052807483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240901632001,"66":12156,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240901632001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240901632001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":111491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:37:48] local.INFO: GPS data processed {"connection_id":111491,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:37:48] local.INFO: Acknowledgment sent {"connection_id":111491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:38:03] local.INFO: TCP Data received {"connection_id":112429,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:38:03] local.INFO: Processing buffer {"connection_id":112429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:38:03] local.INFO: Packet analysis {"connection_id":112429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:38:03] local.INFO: Extracted packet for processing {"connection_id":112429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":112429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:38:03] local.INFO: GPS data processed {"connection_id":112429,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:38:03] local.INFO: Acknowledgment sent {"connection_id":112429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:38:19] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2dd83c0012d1968c0071fee48003f011427..."} 
[2026-06-23 10:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2dd83c0012d1968c0071fee48003f011427..."} 
[2026-06-23 10:38:19] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2dd83c0012d1968c0071fee48003f011427..."} 
[2026-06-23 10:38:19] local.INFO: Packet analysis {"connection_id":111491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2dd"} 
[2026-06-23 10:38:19] local.INFO: Extracted packet for processing {"connection_id":111491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2dd"} 
[2026-06-23 10:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240907008001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191064000,"timestamp_ms":1782191064000,"timestamp_seconds":1782191064,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2dd83c0"} 
[2026-06-23 10:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:38:19] 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-06-23 10:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 10:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240907008001,"66":11874,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240907008001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:38:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240907008001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":111491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:38:19] local.INFO: GPS data processed {"connection_id":111491,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:38:19] local.INFO: Acknowledgment sent {"connection_id":111491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:38:24] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:38:24] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:38:24] local.INFO: IMEI packet received {"connection_id":110693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":110693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:38:30] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:38:30] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:38:30] local.INFO: IMEI packet received {"connection_id":110693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":110693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:38:31] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:38:31] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:38:31] local.INFO: Packet analysis {"connection_id":110693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:38:31] local.INFO: Extracted packet for processing {"connection_id":110693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:38:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:38:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:38:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":110693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:38:31] local.INFO: GPS data processed {"connection_id":110693,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:38:31] local.INFO: Acknowledgment sent {"connection_id":110693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:38:42] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:38:42] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:38:42] local.INFO: IMEI packet received {"connection_id":110694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":110694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:38:47] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:38:47] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:38:47] local.INFO: IMEI packet received {"connection_id":110694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":110694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:38:48] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ddd5c8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ddd5c8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:38:48] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ddd5c8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:38:48] local.INFO: Packet analysis {"connection_id":110694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2dd"} 
[2026-06-23 10:38:48] local.INFO: Extracted packet for processing {"connection_id":110694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2dd"} 
[2026-06-23 10:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240912384001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191085000,"timestamp_ms":1782191085000,"timestamp_seconds":1782191085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ddd5c8"} 
[2026-06-23 10:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:38:48] 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-06-23 10: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 10:38:48] 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-06-23 10: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-06-23 10:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240912384001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240912384001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:38:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240912384001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":110694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:38:48] local.INFO: GPS data processed {"connection_id":110694,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:38:48] local.INFO: Acknowledgment sent {"connection_id":110694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:39:03] local.INFO: TCP Data received {"connection_id":110693,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:03] local.INFO: Processing buffer {"connection_id":110693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:03] local.INFO: Packet analysis {"connection_id":110693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:39:03] local.INFO: Extracted packet for processing {"connection_id":110693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 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-06-23 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":110693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:39:03] local.INFO: GPS data processed {"connection_id":110693,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:39:03] local.INFO: Acknowledgment sent {"connection_id":110693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:39:19] local.INFO: TCP Data received {"connection_id":110694,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2de27d0012d1968c0071fee48003f011428..."} 
[2026-06-23 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2de27d0012d1968c0071fee48003f011428..."} 
[2026-06-23 10:39:19] local.INFO: Processing buffer {"connection_id":110694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2de27d0012d1968c0071fee48003f011428..."} 
[2026-06-23 10:39:19] local.INFO: Packet analysis {"connection_id":110694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2de"} 
[2026-06-23 10:39:19] local.INFO: Extracted packet for processing {"connection_id":110694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2de"} 
[2026-06-23 10:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:39: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-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240917760001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191106000,"timestamp_ms":1782191106000,"timestamp_seconds":1782191106,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2de27d0"} 
[2026-06-23 10:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:39:19] 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-06-23 10:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-946996651880539800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3700271105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,131,45,192,238,63,39,10,66,49,223,240,227,242,31,4,113,205,59,104,72,37,239,48,2,14,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:39:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932052807483392,"timestamp_seconds":4539932052807483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240917760001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240917760001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:39:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240917760001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":110694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:39:19] local.INFO: GPS data processed {"connection_id":110694,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:39:19] local.INFO: Acknowledgment sent {"connection_id":110694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:39:30] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:39:30] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:39:30] local.INFO: IMEI packet received {"connection_id":110695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":110695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:39:35] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:39:35] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:39:35] local.INFO: IMEI packet received {"connection_id":110695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":110695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:39:36] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:36] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:36] local.INFO: Packet analysis {"connection_id":110695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:39:36] local.INFO: Extracted packet for processing {"connection_id":110695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":110695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:39:36] local.INFO: GPS data processed {"connection_id":110695,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:39:36] local.INFO: Acknowledgment sent {"connection_id":110695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:39:40] local.INFO: TCP Data received {"connection_id":110695,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:40] local.INFO: Processing buffer {"connection_id":110695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:39:40] local.INFO: Packet analysis {"connection_id":110695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:39:40] local.INFO: Extracted packet for processing {"connection_id":110695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:39:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":110695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:39:40] local.INFO: GPS data processed {"connection_id":110695,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:39:40] local.INFO: Acknowledgment sent {"connection_id":110695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:39:43] local.INFO: TCP Data received {"connection_id":110864,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:39:43] local.INFO: Processing buffer {"connection_id":110864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:39:43] local.INFO: IMEI packet received {"connection_id":110864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":110864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:39:47] local.INFO: TCP Data received {"connection_id":110864,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:39:47] local.INFO: Processing buffer {"connection_id":110864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:39:47] local.INFO: IMEI packet received {"connection_id":110864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":110864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:39:48] local.INFO: TCP Data received {"connection_id":110864,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2de79d8012d1968c0071fee48003f011428..."} 
[2026-06-23 10:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2de79d8012d1968c0071fee48003f011428..."} 
[2026-06-23 10:39:48] local.INFO: Processing buffer {"connection_id":110864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2de79d8012d1968c0071fee48003f011428..."} 
[2026-06-23 10:39:48] local.INFO: Packet analysis {"connection_id":110864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2de"} 
[2026-06-23 10:39:48] local.INFO: Extracted packet for processing {"connection_id":110864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2de"} 
[2026-06-23 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240923136001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191127000,"timestamp_ms":1782191127000,"timestamp_seconds":1782191127,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2de79d8"} 
[2026-06-23 10:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240923136001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240923136001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:39:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240923136001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":110864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:39:48] local.INFO: GPS data processed {"connection_id":110864,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:39:48] local.INFO: Acknowledgment sent {"connection_id":110864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:40:19] local.INFO: TCP Data received {"connection_id":110864,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2decbe0012d1968c0071fee48003f011428..."} 
[2026-06-23 10:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2decbe0012d1968c0071fee48003f011428..."} 
[2026-06-23 10:40:19] local.INFO: Processing buffer {"connection_id":110864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2decbe0012d1968c0071fee48003f011428..."} 
[2026-06-23 10:40:19] local.INFO: Packet analysis {"connection_id":110864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2de"} 
[2026-06-23 10:40:19] local.INFO: Extracted packet for processing {"connection_id":110864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2de"} 
[2026-06-23 10:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240928512001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191148000,"timestamp_ms":1782191148000,"timestamp_seconds":1782191148,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2decbe0"} 
[2026-06-23 10:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:40:19] 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-06-23 10:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-946816263254107800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3711023105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,39,45,192,238,63,40,10,66,213,38,131,240,98,227,242,31,4,113,205,223,104,72,239,48,2,14,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:40:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932061397417984,"timestamp_seconds":4539932061397418.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240928512001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240928512001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:40:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240928512001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":110864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:40:19] local.INFO: GPS data processed {"connection_id":110864,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:40:19] local.INFO: Acknowledgment sent {"connection_id":110864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:40:25] local.INFO: TCP Data received {"connection_id":110697,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:40:25] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:40:25] local.INFO: IMEI packet received {"connection_id":110697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":110697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:40:30] local.INFO: TCP Data received {"connection_id":110697,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:40:30] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:40:30] local.INFO: IMEI packet received {"connection_id":110697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":110697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:40:31] local.INFO: TCP Data received {"connection_id":110697,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:40:31] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:40:31] local.INFO: Packet analysis {"connection_id":110697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:40:31] local.INFO: Extracted packet for processing {"connection_id":110697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:40:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:40:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:40:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":110697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:40:31] local.INFO: GPS data processed {"connection_id":110697,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:40:31] local.INFO: Acknowledgment sent {"connection_id":110697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:40:43] local.INFO: TCP Data received {"connection_id":112430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:40:43] local.INFO: Processing buffer {"connection_id":112430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:40:43] local.INFO: IMEI packet received {"connection_id":112430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":112430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:40:47] local.INFO: TCP Data received {"connection_id":112430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:40:47] local.INFO: Processing buffer {"connection_id":112430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:40:47] local.INFO: IMEI packet received {"connection_id":112430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":112430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:40:48] local.INFO: TCP Data received {"connection_id":112430,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df1de8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df1de8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:40:48] local.INFO: Processing buffer {"connection_id":112430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df1de8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:40:48] local.INFO: Packet analysis {"connection_id":112430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:40:48] local.INFO: Extracted packet for processing {"connection_id":112430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240933888001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191169000,"timestamp_ms":1782191169000,"timestamp_seconds":1782191169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df1de8"} 
[2026-06-23 10:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:40:48] 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-06-23 10:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-946726068940891800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3716399105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:40:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,121,45,192,238,63,40,10,66,39,213,240,227,242,31,4,113,205,49,104,72,239,47,2,14,7,37],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:40:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932061397417984,"timestamp_seconds":4539932061397418.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240933888001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240933888001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:40:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240933888001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":112430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:40:48] local.INFO: GPS data processed {"connection_id":112430,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:40:48] local.INFO: Acknowledgment sent {"connection_id":112430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:41:03] local.INFO: TCP Data received {"connection_id":110697,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:41:03] local.INFO: Processing buffer {"connection_id":110697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:41:03] local.INFO: Packet analysis {"connection_id":110697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:41:03] local.INFO: Extracted packet for processing {"connection_id":110697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":110697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:41:03] local.INFO: GPS data processed {"connection_id":110697,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:41:03] local.INFO: Acknowledgment sent {"connection_id":110697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:41:19] local.INFO: TCP Data received {"connection_id":112430,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df6ff0012d1968c0071fee48003f011427..."} 
[2026-06-23 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df6ff0012d1968c0071fee48003f011427..."} 
[2026-06-23 10:41:19] local.INFO: Processing buffer {"connection_id":112430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df6ff0012d1968c0071fee48003f011427..."} 
[2026-06-23 10:41:19] local.INFO: Packet analysis {"connection_id":112430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:41:19] local.INFO: Extracted packet for processing {"connection_id":112430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240939264001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191190000,"timestamp_ms":1782191190000,"timestamp_seconds":1782191190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df6ff0"} 
[2026-06-23 10:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:41:19] 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-06-23 10:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:41:19] 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-06-23 10:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240939264001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240939264001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:41:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240939264001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":112430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:41:19] local.INFO: GPS data processed {"connection_id":112430,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:41:19] local.INFO: Acknowledgment sent {"connection_id":112430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:41:24] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:41:24] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:41:24] local.INFO: IMEI packet received {"connection_id":110865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":110865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:41:30] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:41:30] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:41:30] local.INFO: IMEI packet received {"connection_id":110865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":110865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:41:31] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:41:31] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:41:31] local.INFO: Packet analysis {"connection_id":110865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:41:31] local.INFO: Extracted packet for processing {"connection_id":110865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:41:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:41:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:41:31] local.INFO: GPS data processed {"connection_id":110865,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:41:31] local.INFO: Acknowledgment sent {"connection_id":110865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:41:37] local.INFO: TCP Data received {"connection_id":110698,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:41:37] local.INFO: Processing buffer {"connection_id":110698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:41:37] local.INFO: IMEI packet received {"connection_id":110698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":110698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:41:41] local.INFO: TCP Data received {"connection_id":112431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:41] local.INFO: Processing buffer {"connection_id":112431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:41] local.INFO: IMEI packet received {"connection_id":112431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":112431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:41:42] local.INFO: TCP Data received {"connection_id":112431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:42] local.INFO: Processing buffer {"connection_id":112431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:42] local.INFO: IMEI packet received {"connection_id":112431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":112431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:41:47] local.INFO: TCP Data received {"connection_id":112431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:47] local.INFO: Processing buffer {"connection_id":112431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:41:47] local.INFO: IMEI packet received {"connection_id":112431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":112431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:41:48] local.INFO: TCP Data received {"connection_id":112431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e2f648012d1968c0071fee48003f011424..."} 
[2026-06-23 10:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e2f648012d1968c0071fee48003f011424..."} 
[2026-06-23 10:41:48] local.INFO: Processing buffer {"connection_id":112431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e2f648012d1968c0071fee48003f011424..."} 
[2026-06-23 10:41:48] local.INFO: Packet analysis {"connection_id":112431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e2"} 
[2026-06-23 10:41:48] local.INFO: Extracted packet for processing {"connection_id":112431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e2"} 
[2026-06-23 10:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240998400001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191421000,"timestamp_ms":1782191421000,"timestamp_seconds":1782191421,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e2f648"} 
[2026-06-23 10:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:41:48] 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-06-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:41:48] 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-06-23 10: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-06-23 10:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240998400001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240998400001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:41:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240998400001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":112431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:41:48] local.INFO: GPS data processed {"connection_id":112431,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:41:48] local.INFO: Acknowledgment sent {"connection_id":112431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:42:02] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:42:02] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2df9700012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 10:42:02] local.INFO: Packet analysis {"connection_id":110865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:42:02] local.INFO: Extracted packet for processing {"connection_id":110865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2df"} 
[2026-06-23 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240870144001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782191200000,"timestamp_ms":1782191200000,"timestamp_seconds":1782191200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2df9700"} 
[2026-06-23 10:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240870144001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240870144001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:42:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240870144001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":110865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:42:03] local.INFO: GPS data processed {"connection_id":110865,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:42:03] local.INFO: Acknowledgment sent {"connection_id":110865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:42:12] local.INFO: TCP Data received {"connection_id":111493,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:42:12] local.INFO: Processing buffer {"connection_id":111493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:42:12] local.INFO: IMEI packet received {"connection_id":111493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":111493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:42:19] local.INFO: TCP Data received {"connection_id":112431,"ip":"42.106.6.25","data_length":93,"data_hex":"00000000000000518e010000019ef2e34850012d1968c0071fee48003f011423..."} 
[2026-06-23 10:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112431,"packet_length":93,"packet_hex":"00000000000000518e010000019ef2e34850012d1968c0071fee48003f011423..."} 
[2026-06-23 10:42:19] local.INFO: Processing buffer {"connection_id":112431,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ef2e34850012d1968c0071fee48003f011423..."} 
[2026-06-23 10:42:19] local.INFO: Packet analysis {"connection_id":112431,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ef2e3"} 
[2026-06-23 10:42:19] local.INFO: Extracted packet for processing {"connection_id":112431,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ef2e3"} 
[2026-06-23 10:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-23 10:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:42:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:42:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 10:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112431,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-23 10:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112431,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 10:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112431,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 10:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 10:42:19] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 10:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":112431,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 10:42:19] local.ERROR: GPS data processing failed {"connection_id":112431,"error":"No valid data to process"} 
[2026-06-23 10:42:19] local.INFO: Acknowledgment sent {"connection_id":112431,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 10:42:24] local.INFO: TCP Data received {"connection_id":112432,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:42:24] local.INFO: Processing buffer {"connection_id":112432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:42:24] local.INFO: IMEI packet received {"connection_id":112432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":112432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:42:30] local.INFO: TCP Data received {"connection_id":112432,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:42:30] local.INFO: Processing buffer {"connection_id":112432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:42:30] local.INFO: IMEI packet received {"connection_id":112432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":112432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:42:31] local.INFO: TCP Data received {"connection_id":112432,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:42:31] local.INFO: Processing buffer {"connection_id":112432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:42:31] local.INFO: Packet analysis {"connection_id":112432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:42:31] local.INFO: Extracted packet for processing {"connection_id":112432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:42:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":112432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:42:31] local.INFO: GPS data processed {"connection_id":112432,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:42:31] local.INFO: Acknowledgment sent {"connection_id":112432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:42:42] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:42] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:42] local.INFO: IMEI packet received {"connection_id":110866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":110866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:42:45] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:45] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:45] local.INFO: IMEI packet received {"connection_id":110866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":110866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:42:47] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:47] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:42:47] local.INFO: IMEI packet received {"connection_id":110866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":110866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:42:48] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e39a58012d1968c0071fee48003f011423..."} 
[2026-06-23 10:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e39a58012d1968c0071fee48003f011423..."} 
[2026-06-23 10:42:48] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e39a58012d1968c0071fee48003f011423..."} 
[2026-06-23 10:42:48] local.INFO: Packet analysis {"connection_id":110866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e3"} 
[2026-06-23 10:42:48] local.INFO: Extracted packet for processing {"connection_id":110866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e3"} 
[2026-06-23 10:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241009152001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191463000,"timestamp_ms":1782191463000,"timestamp_seconds":1782191463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e39a58"} 
[2026-06-23 10:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:42:48] 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-06-23 10:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-945463348555867800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":18433,"corrected_to":0} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3791663105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:42:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:42:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,246,45,192,238,63,36,10,66,164,37,82,240,227,242,31,4,113,205,174,104,72,239,48,2,14,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":246,"original":18433,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:42:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241009152001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241009152001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:42:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241009152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":110866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:42:48] local.INFO: GPS data processed {"connection_id":110866,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:42:48] local.INFO: Acknowledgment sent {"connection_id":110866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:43:03] local.INFO: TCP Data received {"connection_id":112432,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:03] local.INFO: Processing buffer {"connection_id":112432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:03] local.INFO: Packet analysis {"connection_id":112432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:03] local.INFO: Extracted packet for processing {"connection_id":112432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:43:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":112432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:43:03] local.INFO: GPS data processed {"connection_id":112432,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:43:03] local.INFO: Acknowledgment sent {"connection_id":112432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:43:19] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e3ec60012d1968c0071fee48003f011424..."} 
[2026-06-23 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e3ec60012d1968c0071fee48003f011424..."} 
[2026-06-23 10:43:19] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e3ec60012d1968c0071fee48003f011424..."} 
[2026-06-23 10:43:19] local.INFO: Packet analysis {"connection_id":110866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e3"} 
[2026-06-23 10:43:19] local.INFO: Extracted packet for processing {"connection_id":110866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e3"} 
[2026-06-23 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241014528001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191484000,"timestamp_ms":1782191484000,"timestamp_seconds":1782191484,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e3ec60"} 
[2026-06-23 10:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:43:19] 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-06-23 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:43:19] 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-06-23 10:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241014528001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241014528001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:43:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241014528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":110866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:43:19] local.INFO: GPS data processed {"connection_id":110866,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:43:19] local.INFO: Acknowledgment sent {"connection_id":110866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:43:30] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:43:30] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:43:30] local.INFO: IMEI packet received {"connection_id":111494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":111494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:43:35] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:43:35] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:43:35] local.INFO: IMEI packet received {"connection_id":111494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":111494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:43:36] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:36] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:36] local.INFO: Packet analysis {"connection_id":111494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:36] local.INFO: Extracted packet for processing {"connection_id":111494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:43:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:43:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":111494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:43:36] local.INFO: GPS data processed {"connection_id":111494,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:43:36] local.INFO: Acknowledgment sent {"connection_id":111494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:43:40] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:40] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:43:40] local.INFO: Packet analysis {"connection_id":111494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:40] local.INFO: Extracted packet for processing {"connection_id":111494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:43:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":111494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:43:40] local.INFO: GPS data processed {"connection_id":111494,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:43:40] local.INFO: Acknowledgment sent {"connection_id":111494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:43:42] local.INFO: TCP Data received {"connection_id":110867,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:43:42] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:43:42] local.INFO: IMEI packet received {"connection_id":110867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":110867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:43:48] local.INFO: TCP Data received {"connection_id":110867,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:43:48] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:43:48] local.INFO: IMEI packet received {"connection_id":110867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":110867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:43:48] local.INFO: TCP Data received {"connection_id":110867,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e43e68012d1968c0071fee48003f011426..."} 
[2026-06-23 10:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e43e68012d1968c0071fee48003f011426..."} 
[2026-06-23 10:43:48] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e43e68012d1968c0071fee48003f011426..."} 
[2026-06-23 10:43:48] local.INFO: Packet analysis {"connection_id":110867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:48] local.INFO: Extracted packet for processing {"connection_id":110867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241019904001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191505000,"timestamp_ms":1782191505000,"timestamp_seconds":1782191505,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e43e68"} 
[2026-06-23 10:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:43:48] 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-06-23 10:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241019904001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241019904001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:43:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241019904001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":110867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:43:48] local.INFO: GPS data processed {"connection_id":110867,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:43:48] local.INFO: Acknowledgment sent {"connection_id":110867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:44:19] local.INFO: TCP Data received {"connection_id":110867,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e49070012d1968c0071fee48003f011427..."} 
[2026-06-23 10:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e49070012d1968c0071fee48003f011427..."} 
[2026-06-23 10:44:19] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e49070012d1968c0071fee48003f011427..."} 
[2026-06-23 10:44:19] local.INFO: Packet analysis {"connection_id":110867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:44:19] local.INFO: Extracted packet for processing {"connection_id":110867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241025280001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191526000,"timestamp_ms":1782191526000,"timestamp_seconds":1782191526,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e49070"} 
[2026-06-23 10:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:44:19] 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-06-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-945192765616219800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77723377455857664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3807791105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:44:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,236,45,192,238,63,36,10,66,154,35,72,240,227,242,31,4,113,205,164,104,37,239,48,2,14,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:44:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932052807483392,"timestamp_seconds":4539932052807483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241025280001,"66":11906,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241025280001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:44:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241025280001,"power":11906,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":110867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:44:19] local.INFO: GPS data processed {"connection_id":110867,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:44:19] local.INFO: Acknowledgment sent {"connection_id":110867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:44:25] local.INFO: TCP Data received {"connection_id":112434,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:44:25] local.INFO: Processing buffer {"connection_id":112434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:44:25] local.INFO: IMEI packet received {"connection_id":112434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":112434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:44:30] local.INFO: TCP Data received {"connection_id":112434,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:44:30] local.INFO: Processing buffer {"connection_id":112434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:44:30] local.INFO: IMEI packet received {"connection_id":112434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":112434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:44:31] local.INFO: TCP Data received {"connection_id":112434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:44:31] local.INFO: Processing buffer {"connection_id":112434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:44:31] local.INFO: Packet analysis {"connection_id":112434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:44:31] local.INFO: Extracted packet for processing {"connection_id":112434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:44:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:44:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":112434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:44:31] local.INFO: GPS data processed {"connection_id":112434,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:44:31] local.INFO: Acknowledgment sent {"connection_id":112434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:44:42] local.INFO: TCP Data received {"connection_id":110868,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:44:42] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:44:42] local.INFO: IMEI packet received {"connection_id":110868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":110868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:44:47] local.INFO: TCP Data received {"connection_id":110868,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:44:47] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:44:47] local.INFO: IMEI packet received {"connection_id":110868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":110868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:44:48] local.INFO: TCP Data received {"connection_id":110868,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e4e278012d1968c0071fee48003f011427..."} 
[2026-06-23 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e4e278012d1968c0071fee48003f011427..."} 
[2026-06-23 10:44:48] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e4e278012d1968c0071fee48003f011427..."} 
[2026-06-23 10:44:48] local.INFO: Packet analysis {"connection_id":110868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:44:48] local.INFO: Extracted packet for processing {"connection_id":110868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241030656001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191547000,"timestamp_ms":1782191547000,"timestamp_seconds":1782191547,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e4e278"} 
[2026-06-23 10:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:44:48] 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-06-23 10:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-23 10:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241030656001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241030656001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:44:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241030656001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":110868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:44:48] local.INFO: GPS data processed {"connection_id":110868,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:44:48] local.INFO: Acknowledgment sent {"connection_id":110868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:45:03] local.INFO: TCP Data received {"connection_id":112434,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:45:03] local.INFO: Processing buffer {"connection_id":112434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:45:03] local.INFO: Packet analysis {"connection_id":112434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:45:03] local.INFO: Extracted packet for processing {"connection_id":112434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:45:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":112434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:45:03] local.INFO: GPS data processed {"connection_id":112434,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:45:03] local.INFO: Acknowledgment sent {"connection_id":112434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:45:19] local.INFO: TCP Data received {"connection_id":110868,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e53480012d1968c0071fee48003f011429..."} 
[2026-06-23 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e53480012d1968c0071fee48003f011429..."} 
[2026-06-23 10:45:19] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e53480012d1968c0071fee48003f011429..."} 
[2026-06-23 10:45:19] local.INFO: Packet analysis {"connection_id":110868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e5"} 
[2026-06-23 10:45:19] local.INFO: Extracted packet for processing {"connection_id":110868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e5"} 
[2026-06-23 10:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241036032001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191568000,"timestamp_ms":1782191568000,"timestamp_seconds":1782191568,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e53480"} 
[2026-06-23 10:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:45:19] 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-06-23 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 10:45:19] 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-06-23 10:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241036032001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241036032001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:45:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241036032001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":110868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:45:19] local.INFO: GPS data processed {"connection_id":110868,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:45:19] local.INFO: Acknowledgment sent {"connection_id":110868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:45:24] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:45:24] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:45:24] local.INFO: IMEI packet received {"connection_id":110701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":110701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:45:29] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:45:29] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:45:29] local.INFO: IMEI packet received {"connection_id":110701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":110701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:45:31] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:45:31] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:45:31] local.INFO: Packet analysis {"connection_id":110701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:45:31] local.INFO: Extracted packet for processing {"connection_id":110701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:45:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":110701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:45:31] local.INFO: GPS data processed {"connection_id":110701,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:45:31] local.INFO: Acknowledgment sent {"connection_id":110701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:45:42] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:45:42] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:45:42] local.INFO: IMEI packet received {"connection_id":111495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":111495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:45:47] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:45:47] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:45:47] local.INFO: IMEI packet received {"connection_id":111495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":111495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:45:48] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e58688012d1968c0071fee48003f011428..."} 
[2026-06-23 10:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e58688012d1968c0071fee48003f011428..."} 
[2026-06-23 10:45:48] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e58688012d1968c0071fee48003f011428..."} 
[2026-06-23 10:45:48] local.INFO: Packet analysis {"connection_id":111495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e5"} 
[2026-06-23 10:45:48] local.INFO: Extracted packet for processing {"connection_id":111495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e5"} 
[2026-06-23 10:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241041408001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191589000,"timestamp_ms":1782191589000,"timestamp_seconds":1782191589,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e58688"} 
[2026-06-23 10:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:45:48] 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-06-23 10:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-944922182676571800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3823919105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 10:45:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,226,45,192,238,63,39,10,66,144,62,240,227,242,31,4,113,205,154,104,72,35,239,47,2,14,7,36],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:45:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932065692385280,"timestamp_seconds":4539932065692385.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241041408001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241041408001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:45:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241041408001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":111495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:45:48] local.INFO: GPS data processed {"connection_id":111495,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:45:48] local.INFO: Acknowledgment sent {"connection_id":111495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:46:03] local.INFO: TCP Data received {"connection_id":110701,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:46:03] local.INFO: Processing buffer {"connection_id":110701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:46:03] local.INFO: Packet analysis {"connection_id":110701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:46:03] local.INFO: Extracted packet for processing {"connection_id":110701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 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-06-23 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:46:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:46:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":110701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:46:03] local.INFO: GPS data processed {"connection_id":110701,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:46:03] local.INFO: Acknowledgment sent {"connection_id":110701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:46:19] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e5d890012d1968c0071fee48003f011427..."} 
[2026-06-23 10:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e5d890012d1968c0071fee48003f011427..."} 
[2026-06-23 10:46:19] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e5d890012d1968c0071fee48003f011427..."} 
[2026-06-23 10:46:19] local.INFO: Packet analysis {"connection_id":111495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e5"} 
[2026-06-23 10:46:19] local.INFO: Extracted packet for processing {"connection_id":111495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e5"} 
[2026-06-23 10:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241046784001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191610000,"timestamp_ms":1782191610000,"timestamp_seconds":1782191610,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e5d890"} 
[2026-06-23 10:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:46:19] 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-06-23 10:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-944831988363355800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3829295105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,1,158,52,45,192,238,63,41,10,66,226,39,144,240,130,227,242,31,4,113,205,236,104,72,36,239,47,2,14,7,35],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:46:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932061397417984,"timestamp_seconds":4539932061397418.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241046784001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241046784001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:46:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241046784001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":111495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:46:19] local.INFO: GPS data processed {"connection_id":111495,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:46:19] local.INFO: Acknowledgment sent {"connection_id":111495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:46:24] local.INFO: TCP Data received {"connection_id":110869,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:46:24] local.INFO: Processing buffer {"connection_id":110869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:46:24] local.INFO: IMEI packet received {"connection_id":110869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":110869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:46:30] local.INFO: TCP Data received {"connection_id":110869,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:46:30] local.INFO: Processing buffer {"connection_id":110869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:46:30] local.INFO: IMEI packet received {"connection_id":110869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":110869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:46:31] local.INFO: TCP Data received {"connection_id":110869,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:46:31] local.INFO: Processing buffer {"connection_id":110869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:46:31] local.INFO: Packet analysis {"connection_id":110869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:46:31] local.INFO: Extracted packet for processing {"connection_id":110869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:46:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:46:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":110869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:46:31] local.INFO: GPS data processed {"connection_id":110869,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:46:31] local.INFO: Acknowledgment sent {"connection_id":110869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:46:47] local.INFO: TCP Data received {"connection_id":110870,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:46:47] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:46:47] local.INFO: IMEI packet received {"connection_id":110870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":110870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:46:52] local.INFO: TCP Data received {"connection_id":110870,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:46:52] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:46:52] local.INFO: IMEI packet received {"connection_id":110870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":110870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:46:53] local.INFO: TCP Data received {"connection_id":110870,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e62a98012d1968c0071fee48003f011427..."} 
[2026-06-23 10:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e62a98012d1968c0071fee48003f011427..."} 
[2026-06-23 10:46:53] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e62a98012d1968c0071fee48003f011427..."} 
[2026-06-23 10:46:53] local.INFO: Packet analysis {"connection_id":110870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e6"} 
[2026-06-23 10:46:53] local.INFO: Extracted packet for processing {"connection_id":110870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e6"} 
[2026-06-23 10:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241052160001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782191631000,"timestamp_ms":1782191631000,"timestamp_seconds":1782191631,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e62a98"} 
[2026-06-23 10:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:46:53] 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-06-23 10:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:46:53] 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-06-23 10:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241052160001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241052160001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241052160001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":110870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:46:53] local.INFO: GPS data processed {"connection_id":110870,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:46:53] local.INFO: Acknowledgment sent {"connection_id":110870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:46:57] local.INFO: TCP Data received {"connection_id":110870,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e67ca0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e67ca0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:46:57] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e67ca0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:46:57] local.INFO: Packet analysis {"connection_id":110870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e6"} 
[2026-06-23 10:46:57] local.INFO: Extracted packet for processing {"connection_id":110870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e6"} 
[2026-06-23 10:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241057536001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782191652000,"timestamp_ms":1782191652000,"timestamp_seconds":1782191652,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e67ca0"} 
[2026-06-23 10:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:46:57] 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-06-23 10:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-944651599736923800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3840047105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2181090680,"note":"Value kept but may cause issues"} 
[2026-06-23 10:46:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,216,45,192,238,63,39,10,66,134,40,52,240,227,242,31,4,113,205,144,104,72,239,46,2,14,7,36],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:46:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932057102450688,"timestamp_seconds":4539932057102451.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":110870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":110870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":110870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241057536001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241057536001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241057536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":110870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:46:57] local.INFO: GPS data processed {"connection_id":110870,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:46:57] local.INFO: Acknowledgment sent {"connection_id":110870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:47:03] local.INFO: TCP Data received {"connection_id":110869,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:47:03] local.INFO: Processing buffer {"connection_id":110869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e42ec8012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:47:03] local.INFO: Packet analysis {"connection_id":110869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:47:03] local.INFO: Extracted packet for processing {"connection_id":110869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e4"} 
[2026-06-23 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456240947200001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191501000,"timestamp_ms":1782191501000,"timestamp_seconds":1782191501,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e42ec8"} 
[2026-06-23 10:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456240947200001,"66":25702,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456240947200001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456240947200001,"power":25702,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":110869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:47:03] local.INFO: GPS data processed {"connection_id":110869,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:47:03] local.INFO: Acknowledgment sent {"connection_id":110869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:47:30] local.INFO: TCP Data received {"connection_id":111497,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:47:30] local.INFO: Processing buffer {"connection_id":111497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:47:30] local.INFO: IMEI packet received {"connection_id":111497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":111497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:47:35] local.INFO: TCP Data received {"connection_id":111497,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:47:35] local.INFO: Processing buffer {"connection_id":111497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:47:35] local.INFO: IMEI packet received {"connection_id":111497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":111497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:47:36] local.INFO: TCP Data received {"connection_id":111497,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:47:36] local.INFO: Processing buffer {"connection_id":111497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:47:36] local.INFO: Packet analysis {"connection_id":111497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:47:36] local.INFO: Extracted packet for processing {"connection_id":111497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:47:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:47:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":111497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:47:36] local.INFO: GPS data processed {"connection_id":111497,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:47:36] local.INFO: Acknowledgment sent {"connection_id":111497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:47:40] local.INFO: TCP Data received {"connection_id":111497,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:47:40] local.INFO: Processing buffer {"connection_id":111497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:47:40] local.INFO: Packet analysis {"connection_id":111497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:47:40] local.INFO: Extracted packet for processing {"connection_id":111497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:47:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":111497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:47:40] local.INFO: GPS data processed {"connection_id":111497,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:47:40] local.INFO: Acknowledgment sent {"connection_id":111497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:47:41] local.INFO: TCP Data received {"connection_id":112435,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:47:41] local.INFO: Processing buffer {"connection_id":112435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:47:41] local.INFO: IMEI packet received {"connection_id":112435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":112435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:47:43] local.INFO: TCP Data received {"connection_id":112436,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:47:43] local.INFO: Processing buffer {"connection_id":112436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:47:43] local.INFO: IMEI packet received {"connection_id":112436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":112436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:47:47] local.INFO: TCP Data received {"connection_id":112436,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:47:47] local.INFO: Processing buffer {"connection_id":112436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:47:47] local.INFO: IMEI packet received {"connection_id":112436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":112436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:47:48] local.INFO: TCP Data received {"connection_id":112436,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e6cea8012d1968c0071fee48003f011424..."} 
[2026-06-23 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e6cea8012d1968c0071fee48003f011424..."} 
[2026-06-23 10:47:48] local.INFO: Processing buffer {"connection_id":112436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e6cea8012d1968c0071fee48003f011424..."} 
[2026-06-23 10:47:48] local.INFO: Packet analysis {"connection_id":112436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e6"} 
[2026-06-23 10:47:48] local.INFO: Extracted packet for processing {"connection_id":112436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e6"} 
[2026-06-23 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241062912001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191673000,"timestamp_ms":1782191673000,"timestamp_seconds":1782191673,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e6cea8"} 
[2026-06-23 10:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:47:48] 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-06-23 10:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241062912001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241062912001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:47:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241062912001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":112436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:47:48] local.INFO: GPS data processed {"connection_id":112436,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:47:48] local.INFO: Acknowledgment sent {"connection_id":112436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:48:11] local.INFO: TCP Data received {"connection_id":112437,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:48:11] local.INFO: Processing buffer {"connection_id":112437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:48:11] local.INFO: IMEI packet received {"connection_id":112437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":112437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:48:19] local.INFO: TCP Data received {"connection_id":112436,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e720b0012d1968c0071fee48003f011424..."} 
[2026-06-23 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e720b0012d1968c0071fee48003f011424..."} 
[2026-06-23 10:48:19] local.INFO: Processing buffer {"connection_id":112436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e720b0012d1968c0071fee48003f011424..."} 
[2026-06-23 10:48:19] local.INFO: Packet analysis {"connection_id":112436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e7"} 
[2026-06-23 10:48:19] local.INFO: Extracted packet for processing {"connection_id":112436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e7"} 
[2026-06-23 10:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241068288001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191694000,"timestamp_ms":1782191694000,"timestamp_seconds":1782191694,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e720b0"} 
[2026-06-23 10:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:48:19] 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-06-23 10:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241068288001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241068288001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:48:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241068288001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":112436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:48:19] local.INFO: GPS data processed {"connection_id":112436,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:48:19] local.INFO: Acknowledgment sent {"connection_id":112436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:48:24] local.INFO: TCP Data received {"connection_id":111498,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:48:24] local.INFO: Processing buffer {"connection_id":111498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:48:24] local.INFO: IMEI packet received {"connection_id":111498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":111498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:48:30] local.INFO: TCP Data received {"connection_id":111498,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:48:30] local.INFO: Processing buffer {"connection_id":111498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:48:30] local.INFO: IMEI packet received {"connection_id":111498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":111498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:48:31] local.INFO: TCP Data received {"connection_id":111498,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:48:31] local.INFO: Processing buffer {"connection_id":111498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:48:31] local.INFO: Packet analysis {"connection_id":111498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:48:31] local.INFO: Extracted packet for processing {"connection_id":111498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:48:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:48:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":111498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:48:31] local.INFO: GPS data processed {"connection_id":111498,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:48:31] local.INFO: Acknowledgment sent {"connection_id":111498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:48:42] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:42] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:42] local.INFO: IMEI packet received {"connection_id":111500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":111500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:48:42] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:42] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:42] local.INFO: IMEI packet received {"connection_id":111500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":111500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:48:47] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:47] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:48:47] local.INFO: IMEI packet received {"connection_id":111500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":111500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:48:48] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e772b8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e772b8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:48:48] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e772b8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:48:48] local.INFO: Packet analysis {"connection_id":111500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e7"} 
[2026-06-23 10:48:48] local.INFO: Extracted packet for processing {"connection_id":111500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e7"} 
[2026-06-23 10:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241073664001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191715000,"timestamp_ms":1782191715000,"timestamp_seconds":1782191715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e772b8"} 
[2026-06-23 10:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:48:48] 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-06-23 10:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-944381016797275800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77732173548879872,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3856175105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:48:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,206,45,192,238,63,36,10,66,124,37,42,240,227,242,31,4,113,205,134,104,72,40,239,48,2,14,7,39],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:48:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932044217548800,"timestamp_seconds":4539932044217549.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241073664001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241073664001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:48:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241073664001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":111500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:48:48] local.INFO: GPS data processed {"connection_id":111500,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:48:48] local.INFO: Acknowledgment sent {"connection_id":111500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:49:03] local.INFO: TCP Data received {"connection_id":111498,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:49:03] local.INFO: Processing buffer {"connection_id":111498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:49:03] local.INFO: Packet analysis {"connection_id":111498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:49:03] local.INFO: Extracted packet for processing {"connection_id":111498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:49:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:49:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":111498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:49:03] local.INFO: GPS data processed {"connection_id":111498,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:49:03] local.INFO: Acknowledgment sent {"connection_id":111498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:49:19] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e7c4c0012d1968c0071fee48003f011423..."} 
[2026-06-23 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e7c4c0012d1968c0071fee48003f011423..."} 
[2026-06-23 10:49:19] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e7c4c0012d1968c0071fee48003f011423..."} 
[2026-06-23 10:49:19] local.INFO: Packet analysis {"connection_id":111500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e7"} 
[2026-06-23 10:49:19] local.INFO: Extracted packet for processing {"connection_id":111500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e7"} 
[2026-06-23 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241079040001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191736000,"timestamp_ms":1782191736000,"timestamp_seconds":1782191736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e7c4c0"} 
[2026-06-23 10:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:49:19] 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-06-23 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241079040001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241079040001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:49:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241079040001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":111500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:49:20] local.INFO: GPS data processed {"connection_id":111500,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:49:20] local.INFO: Acknowledgment sent {"connection_id":111500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:49:24] local.INFO: TCP Data received {"connection_id":111501,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:49:24] local.INFO: Processing buffer {"connection_id":111501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:49:24] local.INFO: IMEI packet received {"connection_id":111501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":111501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:49:29] local.INFO: TCP Data received {"connection_id":111501,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:49:29] local.INFO: Processing buffer {"connection_id":111501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:49:29] local.INFO: IMEI packet received {"connection_id":111501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":111501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:49:30] local.INFO: TCP Data received {"connection_id":111501,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:49:30] local.INFO: Processing buffer {"connection_id":111501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:49:30] local.INFO: Packet analysis {"connection_id":111501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:49:30] local.INFO: Extracted packet for processing {"connection_id":111501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:49:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":111501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:49:30] local.INFO: GPS data processed {"connection_id":111501,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:49:30] local.INFO: Acknowledgment sent {"connection_id":111501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:49:43] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:43] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:43] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:49:44] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:44] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:44] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:49:47] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:47] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:49:47] local.INFO: IMEI packet received {"connection_id":110702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":110702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:49:48] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e816c8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e816c8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:49:48] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e816c8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:49:48] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:49:48] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241084416001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191757000,"timestamp_ms":1782191757000,"timestamp_seconds":1782191757,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e816c8"} 
[2026-06-23 10:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:49:48] 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-06-23 10:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-944200628170843800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3866927105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:49:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,114,45,192,238,63,37,10,66,32,36,206,240,31,227,242,4,113,205,42,104,72,39,239,48,2,14,7,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:49:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241084416001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241084416001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241084416001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:49:48] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:49:48] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:50:02] local.INFO: TCP Data received {"connection_id":111501,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:02] local.INFO: Processing buffer {"connection_id":111501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:02] local.INFO: Packet analysis {"connection_id":111501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:02] local.INFO: Extracted packet for processing {"connection_id":111501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:50:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":111501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:50:02] local.INFO: GPS data processed {"connection_id":111501,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:50:02] local.INFO: Acknowledgment sent {"connection_id":111501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:50:19] local.INFO: TCP Data received {"connection_id":110702,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e868d0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e868d0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:50:19] local.INFO: Processing buffer {"connection_id":110702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e868d0012d1968c0071fee48003f011429..."} 
[2026-06-23 10:50:19] local.INFO: Packet analysis {"connection_id":110702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:19] local.INFO: Extracted packet for processing {"connection_id":110702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241089792001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191778000,"timestamp_ms":1782191778000,"timestamp_seconds":1782191778,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e868d0"} 
[2026-06-23 10:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:50:19] 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-06-23 10:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-944110433857627800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3872303105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,196,45,192,238,63,35,10,66,114,37,32,240,227,242,31,4,113,205,124,104,72,239,47,2,14,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:50:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932052807483392,"timestamp_seconds":4539932052807483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241089792001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241089792001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:50:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241089792001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":110702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:50:19] local.INFO: GPS data processed {"connection_id":110702,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:50:19] local.INFO: Acknowledgment sent {"connection_id":110702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:50:30] local.INFO: TCP Data received {"connection_id":112439,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:50:30] local.INFO: Processing buffer {"connection_id":112439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:50:30] local.INFO: IMEI packet received {"connection_id":112439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":112439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:50:35] local.INFO: TCP Data received {"connection_id":112439,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:50:35] local.INFO: Processing buffer {"connection_id":112439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:50:35] local.INFO: IMEI packet received {"connection_id":112439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":112439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:50:36] local.INFO: TCP Data received {"connection_id":112439,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:36] local.INFO: Processing buffer {"connection_id":112439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:36] local.INFO: Packet analysis {"connection_id":112439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:36] local.INFO: Extracted packet for processing {"connection_id":112439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:50:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:50:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":112439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:50:36] local.INFO: GPS data processed {"connection_id":112439,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:50:36] local.INFO: Acknowledgment sent {"connection_id":112439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:50:40] local.INFO: TCP Data received {"connection_id":112439,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:40] local.INFO: Processing buffer {"connection_id":112439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:50:40] local.INFO: Packet analysis {"connection_id":112439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:40] local.INFO: Extracted packet for processing {"connection_id":112439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":112439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:50:40] local.INFO: GPS data processed {"connection_id":112439,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:50:40] local.INFO: Acknowledgment sent {"connection_id":112439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:50:43] local.INFO: TCP Data received {"connection_id":112440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:50:43] local.INFO: Processing buffer {"connection_id":112440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:50:43] local.INFO: IMEI packet received {"connection_id":112440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":112440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:50:48] local.INFO: TCP Data received {"connection_id":112440,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:50:48] local.INFO: Processing buffer {"connection_id":112440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:50:48] local.INFO: IMEI packet received {"connection_id":112440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":112440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:50:48] local.INFO: TCP Data received {"connection_id":112440,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8bad8012d1968c0071fee48003f011427..."} 
[2026-06-23 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8bad8012d1968c0071fee48003f011427..."} 
[2026-06-23 10:50:48] local.INFO: Processing buffer {"connection_id":112440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8bad8012d1968c0071fee48003f011427..."} 
[2026-06-23 10:50:48] local.INFO: Packet analysis {"connection_id":112440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:48] local.INFO: Extracted packet for processing {"connection_id":112440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241095168001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191799000,"timestamp_ms":1782191799000,"timestamp_seconds":1782191799,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8bad8"} 
[2026-06-23 10:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:50:48] 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-06-23 10:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241095168001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241095168001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:50:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241095168001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":112440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:50:48] local.INFO: GPS data processed {"connection_id":112440,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:50:48] local.INFO: Acknowledgment sent {"connection_id":112440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:51:19] local.INFO: TCP Data received {"connection_id":112440,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e90ce0012d1968c0071fee48003f011424..."} 
[2026-06-23 10:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e90ce0012d1968c0071fee48003f011424..."} 
[2026-06-23 10:51:19] local.INFO: Processing buffer {"connection_id":112440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e90ce0012d1968c0071fee48003f011424..."} 
[2026-06-23 10:51:19] local.INFO: Packet analysis {"connection_id":112440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e9"} 
[2026-06-23 10:51:19] local.INFO: Extracted packet for processing {"connection_id":112440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e9"} 
[2026-06-23 10:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241100544001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191820000,"timestamp_ms":1782191820000,"timestamp_seconds":1782191820,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e90ce0"} 
[2026-06-23 10:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:51:19] 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-06-23 10:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241100544001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241100544001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:51:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241100544001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":112440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:51:19] local.INFO: GPS data processed {"connection_id":112440,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:51:19] local.INFO: Acknowledgment sent {"connection_id":112440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:51:25] local.INFO: TCP Data received {"connection_id":110873,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:51:25] local.INFO: Processing buffer {"connection_id":110873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:51:25] local.INFO: IMEI packet received {"connection_id":110873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":110873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:51:29] local.INFO: TCP Data received {"connection_id":110873,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:51:29] local.INFO: Processing buffer {"connection_id":110873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:51:29] local.INFO: IMEI packet received {"connection_id":110873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":110873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:51:30] local.INFO: TCP Data received {"connection_id":110873,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:51:30] local.INFO: Processing buffer {"connection_id":110873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:51:30] local.INFO: Packet analysis {"connection_id":110873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:51:30] local.INFO: Extracted packet for processing {"connection_id":110873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:51:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:51:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":110873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:51:30] local.INFO: GPS data processed {"connection_id":110873,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:51:30] local.INFO: Acknowledgment sent {"connection_id":110873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:51:42] local.INFO: TCP Data received {"connection_id":110703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:51:42] local.INFO: Processing buffer {"connection_id":110703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:51:42] local.INFO: IMEI packet received {"connection_id":110703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":110703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:51:47] local.INFO: TCP Data received {"connection_id":110703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:51:47] local.INFO: Processing buffer {"connection_id":110703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:51:47] local.INFO: IMEI packet received {"connection_id":110703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":110703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:51:48] local.INFO: TCP Data received {"connection_id":110703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e95ee8012d1968c0071fee48003f011423..."} 
[2026-06-23 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e95ee8012d1968c0071fee48003f011423..."} 
[2026-06-23 10:51:48] local.INFO: Processing buffer {"connection_id":110703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e95ee8012d1968c0071fee48003f011423..."} 
[2026-06-23 10:51:48] local.INFO: Packet analysis {"connection_id":110703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e9"} 
[2026-06-23 10:51:48] local.INFO: Extracted packet for processing {"connection_id":110703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e9"} 
[2026-06-23 10:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241105920001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191841000,"timestamp_ms":1782191841000,"timestamp_seconds":1782191841,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e95ee8"} 
[2026-06-23 10:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:51:48] 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-06-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:51:48] 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-06-23 10: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-06-23 10:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241105920001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241105920001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:51:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241105920001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":110703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:51:48] local.INFO: GPS data processed {"connection_id":110703,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:51:48] local.INFO: Acknowledgment sent {"connection_id":110703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:52:02] local.INFO: TCP Data received {"connection_id":110873,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:52:02] local.INFO: Processing buffer {"connection_id":110873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e8c690012cb29b8007823df8004a00cf21..."} 
[2026-06-23 10:52:02] local.INFO: Packet analysis {"connection_id":110873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:52:02] local.INFO: Extracted packet for processing {"connection_id":110873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e8"} 
[2026-06-23 10:52:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241024256001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782191802000,"timestamp_ms":1782191802000,"timestamp_seconds":1782191802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e8c690"} 
[2026-06-23 10:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 10:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241024256001,"66":25691,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241024256001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:52:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241024256001,"power":25691,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":110873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:52:02] local.INFO: GPS data processed {"connection_id":110873,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:52:02] local.INFO: Acknowledgment sent {"connection_id":110873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:52:19] local.INFO: TCP Data received {"connection_id":110703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2e9b0f0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2e9b0f0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:52:19] local.INFO: Processing buffer {"connection_id":110703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2e9b0f0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:52:19] local.INFO: Packet analysis {"connection_id":110703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2e9"} 
[2026-06-23 10:52:19] local.INFO: Extracted packet for processing {"connection_id":110703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2e9"} 
[2026-06-23 10:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:52: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-06-23 10:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241111296001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782191862000,"timestamp_ms":1782191862000,"timestamp_seconds":1782191862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2e9b0f0"} 
[2026-06-23 10:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:52: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-06-23 10:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241111296001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241111296001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:52:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241111296001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":110703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:52:19] local.INFO: GPS data processed {"connection_id":110703,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:52:19] local.INFO: Acknowledgment sent {"connection_id":110703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:52:24] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:52:24] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:52:24] local.INFO: IMEI packet received {"connection_id":110874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":110874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:52:29] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:52:30] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:52:30] local.INFO: IMEI packet received {"connection_id":110874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":110874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:52:31] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:52:31] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:52:31] local.INFO: Packet analysis {"connection_id":110874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:52:31] local.INFO: Extracted packet for processing {"connection_id":110874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 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-06-23 10:52:31] 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-06-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:52:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:52:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":110874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:52:31] local.INFO: GPS data processed {"connection_id":110874,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:52:31] local.INFO: Acknowledgment sent {"connection_id":110874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:52:47] local.INFO: TCP Data received {"connection_id":110875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:52:47] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:52:47] local.INFO: IMEI packet received {"connection_id":110875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":110875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:52:52] local.INFO: TCP Data received {"connection_id":110875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:52:52] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:52:52] local.INFO: IMEI packet received {"connection_id":110875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":110875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:52:53] local.INFO: TCP Data received {"connection_id":110875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ea02f8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ea02f8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:52:53] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ea02f8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:52:53] local.INFO: Packet analysis {"connection_id":110875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:52:53] local.INFO: Extracted packet for processing {"connection_id":110875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241116672001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782191883000,"timestamp_ms":1782191883000,"timestamp_seconds":1782191883,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ea02f8"} 
[2026-06-23 10:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:52:53] 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-06-23 10:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241116672001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241116672001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:52:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241116672001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":110875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:52:53] local.INFO: GPS data processed {"connection_id":110875,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:52:53] local.INFO: Acknowledgment sent {"connection_id":110875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:52:54] local.INFO: TCP Data received {"connection_id":110875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ea5500012d1968c0071fee48003f011423..."} 
[2026-06-23 10:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ea5500012d1968c0071fee48003f011423..."} 
[2026-06-23 10:52:54] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ea5500012d1968c0071fee48003f011423..."} 
[2026-06-23 10:52:54] local.INFO: Packet analysis {"connection_id":110875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:52:54] local.INFO: Extracted packet for processing {"connection_id":110875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241122048001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782191904000,"timestamp_ms":1782191904000,"timestamp_seconds":1782191904,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ea5500"} 
[2026-06-23 10:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:52: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-06-23 10: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-06-23 10:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":110875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":110875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":110875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241122048001,"66":12145,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241122048001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:52:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:52:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241122048001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":110875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:52:54] local.INFO: GPS data processed {"connection_id":110875,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:52:54] local.INFO: Acknowledgment sent {"connection_id":110875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:53:03] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:03] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:03] local.INFO: Packet analysis {"connection_id":110874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:53:03] local.INFO: Extracted packet for processing {"connection_id":110874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 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-06-23 10:53:03] 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-06-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":110874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:53:03] local.INFO: GPS data processed {"connection_id":110874,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:53:03] local.INFO: Acknowledgment sent {"connection_id":110874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:53:25] local.INFO: TCP Data received {"connection_id":110875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2eaa708012d1968c0071fee48003f011427..."} 
[2026-06-23 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2eaa708012d1968c0071fee48003f011427..."} 
[2026-06-23 10:53:25] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2eaa708012d1968c0071fee48003f011427..."} 
[2026-06-23 10:53:25] local.INFO: Packet analysis {"connection_id":110875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:53:25] local.INFO: Extracted packet for processing {"connection_id":110875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241127424001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782191925000,"timestamp_ms":1782191925000,"timestamp_seconds":1782191925,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2eaa708"} 
[2026-06-23 10:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:53:25] 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-06-23 10: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 10:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241127424001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241127424001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:53:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:53:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241127424001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":110875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:53:25] local.INFO: GPS data processed {"connection_id":110875,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:53:25] local.INFO: Acknowledgment sent {"connection_id":110875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:53:29] local.INFO: TCP Data received {"connection_id":111503,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:53:29] local.INFO: Processing buffer {"connection_id":111503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:53:29] local.INFO: IMEI packet received {"connection_id":111503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":111503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:53:32] local.INFO: TCP Data received {"connection_id":112441,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:53:32] local.INFO: Processing buffer {"connection_id":112441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:53:32] local.INFO: IMEI packet received {"connection_id":112441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":112441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:53:34] local.INFO: TCP Data received {"connection_id":111503,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:53:34] local.INFO: Processing buffer {"connection_id":111503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:53:34] local.INFO: IMEI packet received {"connection_id":111503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":111503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:53:36] local.INFO: TCP Data received {"connection_id":111503,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:36] local.INFO: Processing buffer {"connection_id":111503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:36] local.INFO: Packet analysis {"connection_id":111503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:53:36] local.INFO: Extracted packet for processing {"connection_id":111503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 10:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:53: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-06-23 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":111503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:53:36] local.INFO: GPS data processed {"connection_id":111503,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:53:36] local.INFO: Acknowledgment sent {"connection_id":111503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:53:40] local.INFO: TCP Data received {"connection_id":111503,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:40] local.INFO: Processing buffer {"connection_id":111503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:53:40] local.INFO: Packet analysis {"connection_id":111503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:53:40] local.INFO: Extracted packet for processing {"connection_id":111503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:53:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 10:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:53:40] 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-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:53:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:53:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":111503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:53:40] local.INFO: GPS data processed {"connection_id":111503,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:53:40] local.INFO: Acknowledgment sent {"connection_id":111503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:53:42] local.INFO: TCP Data received {"connection_id":110876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:53:42] local.INFO: Processing buffer {"connection_id":110876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:53:42] local.INFO: IMEI packet received {"connection_id":110876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":110876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:53:47] local.INFO: TCP Data received {"connection_id":110876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:53:47] local.INFO: Processing buffer {"connection_id":110876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:53:47] local.INFO: IMEI packet received {"connection_id":110876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":110876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:53:48] local.INFO: TCP Data received {"connection_id":110876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2eaf910012d1968c0071fee48003f011427..."} 
[2026-06-23 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2eaf910012d1968c0071fee48003f011427..."} 
[2026-06-23 10:53:48] local.INFO: Processing buffer {"connection_id":110876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2eaf910012d1968c0071fee48003f011427..."} 
[2026-06-23 10:53:48] local.INFO: Packet analysis {"connection_id":110876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:53:48] local.INFO: Extracted packet for processing {"connection_id":110876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ea"} 
[2026-06-23 10:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241132800001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782191946000,"timestamp_ms":1782191946000,"timestamp_seconds":1782191946,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2eaf910"} 
[2026-06-23 10:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:53:48] 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-06-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-943388879351899800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77729974525624320,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3915311105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:53:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,85,45,192,238,63,35,10,66,2,37,176,240,255,227,242,31,4,113,205,12,104,72,36,239,48,14,7,41],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:53:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932057102450688,"timestamp_seconds":4539932057102451.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241132800001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241132800001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:53:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:53:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241132800001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":110876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:53:48] local.INFO: GPS data processed {"connection_id":110876,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:53:48] local.INFO: Acknowledgment sent {"connection_id":110876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:54:11] local.INFO: TCP Data received {"connection_id":110704,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:54:11] local.INFO: Processing buffer {"connection_id":110704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:54:11] local.INFO: IMEI packet received {"connection_id":110704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":110704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:54:19] local.INFO: TCP Data received {"connection_id":110876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ee7f68012d1968c0071fee48003f011421..."} 
[2026-06-23 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ee7f68012d1968c0071fee48003f011421..."} 
[2026-06-23 10:54:19] local.INFO: Processing buffer {"connection_id":110876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ee7f68012d1968c0071fee48003f011421..."} 
[2026-06-23 10:54:19] local.INFO: Packet analysis {"connection_id":110876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ee"} 
[2026-06-23 10:54:19] local.INFO: Extracted packet for processing {"connection_id":110876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ee"} 
[2026-06-23 10:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241191936001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192177000,"timestamp_ms":1782192177000,"timestamp_seconds":1782192177,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ee7f68"} 
[2026-06-23 10:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-942396741906523800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77722277944229888,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3974447105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,219,45,192,238,63,35,10,66,137,36,55,240,31,227,242,4,113,205,147,104,72,34,239,47,2,14,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:54:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241191936001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241191936001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:54:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241191936001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":110876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:54:19] local.INFO: GPS data processed {"connection_id":110876,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:54:19] local.INFO: Acknowledgment sent {"connection_id":110876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:54:25] local.INFO: TCP Data received {"connection_id":111504,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:54:25] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:54:25] local.INFO: IMEI packet received {"connection_id":111504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":111504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:54:30] local.INFO: TCP Data received {"connection_id":111504,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:54:30] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:54:30] local.INFO: IMEI packet received {"connection_id":111504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":111504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:54:31] local.INFO: TCP Data received {"connection_id":111504,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:54:31] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:54:31] local.INFO: Packet analysis {"connection_id":111504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:54:31] local.INFO: Extracted packet for processing {"connection_id":111504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:54:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 10:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:54:31] 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-06-23 10:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:54:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:54:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":111504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:54:31] local.INFO: GPS data processed {"connection_id":111504,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:54:31] local.INFO: Acknowledgment sent {"connection_id":111504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:54:42] local.INFO: TCP Data received {"connection_id":112442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:54:42] local.INFO: Processing buffer {"connection_id":112442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:54:42] local.INFO: IMEI packet received {"connection_id":112442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":112442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:54:47] local.INFO: TCP Data received {"connection_id":112442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:54:47] local.INFO: Processing buffer {"connection_id":112442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:54:47] local.INFO: IMEI packet received {"connection_id":112442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":112442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:54:48] local.INFO: TCP Data received {"connection_id":112442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2eed170012d1968c0071fee48003f011421..."} 
[2026-06-23 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2eed170012d1968c0071fee48003f011421..."} 
[2026-06-23 10:54:48] local.INFO: Processing buffer {"connection_id":112442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2eed170012d1968c0071fee48003f011421..."} 
[2026-06-23 10:54:48] local.INFO: Packet analysis {"connection_id":112442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ee"} 
[2026-06-23 10:54:48] local.INFO: Extracted packet for processing {"connection_id":112442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ee"} 
[2026-06-23 10:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241197312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192198000,"timestamp_ms":1782192198000,"timestamp_seconds":1782192198,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2eed170"} 
[2026-06-23 10:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:54:48] 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-06-23 10:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:54:48] 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-06-23 10:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241197312001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241197312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:54:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241197312001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":112442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:54:48] local.INFO: GPS data processed {"connection_id":112442,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:54:48] local.INFO: Acknowledgment sent {"connection_id":112442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:55:03] local.INFO: TCP Data received {"connection_id":111504,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:55:03] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:55:03] local.INFO: Packet analysis {"connection_id":111504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:55:03] local.INFO: Extracted packet for processing {"connection_id":111504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 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-06-23 10:55:03] 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-06-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":111504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:55:03] local.INFO: GPS data processed {"connection_id":111504,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:55:03] local.INFO: Acknowledgment sent {"connection_id":111504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:55:19] local.INFO: TCP Data received {"connection_id":112442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ef2378012d1968c0071fee48003f011423..."} 
[2026-06-23 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ef2378012d1968c0071fee48003f011423..."} 
[2026-06-23 10:55:19] local.INFO: Processing buffer {"connection_id":112442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ef2378012d1968c0071fee48003f011423..."} 
[2026-06-23 10:55:19] local.INFO: Packet analysis {"connection_id":112442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 10:55:19] local.INFO: Extracted packet for processing {"connection_id":112442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241202688001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192219000,"timestamp_ms":1782192219000,"timestamp_seconds":1782192219,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ef2378"} 
[2026-06-23 10:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241202688001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241202688001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:55:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241202688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":112442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:55:19] local.INFO: GPS data processed {"connection_id":112442,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:55:19] local.INFO: Acknowledgment sent {"connection_id":112442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:55:24] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:55:24] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:55:24] local.INFO: IMEI packet received {"connection_id":110705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":110705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:55:30] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:55:30] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:55:30] local.INFO: IMEI packet received {"connection_id":110705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":110705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:55:31] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:55:31] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:55:31] local.INFO: Packet analysis {"connection_id":110705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:55:31] local.INFO: Extracted packet for processing {"connection_id":110705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:55:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 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-06-23 10:55:31] 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-06-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:55:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":110705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:55:31] local.INFO: GPS data processed {"connection_id":110705,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:55:31] local.INFO: Acknowledgment sent {"connection_id":110705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:55:41] local.INFO: TCP Data received {"connection_id":111505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:41] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:41] local.INFO: IMEI packet received {"connection_id":111505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":111505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:55:42] local.INFO: TCP Data received {"connection_id":111505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:42] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:42] local.INFO: IMEI packet received {"connection_id":111505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":111505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:55:47] local.INFO: TCP Data received {"connection_id":111505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:47] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:55:47] local.INFO: IMEI packet received {"connection_id":111505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":111505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:55:48] local.INFO: TCP Data received {"connection_id":111505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ef7580012d1968c0071fee48003f011423..."} 
[2026-06-23 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ef7580012d1968c0071fee48003f011423..."} 
[2026-06-23 10:55:48] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ef7580012d1968c0071fee48003f011423..."} 
[2026-06-23 10:55:48] local.INFO: Packet analysis {"connection_id":111505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 10:55:48] local.INFO: Extracted packet for processing {"connection_id":111505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241208064001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192240000,"timestamp_ms":1782192240000,"timestamp_seconds":1782192240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ef7580"} 
[2026-06-23 10:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:55:48] 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-06-23 10:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-942126158966875800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3990575105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:55:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:55:48] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,1,158,209,45,192,238,63,33,10,66,127,240,227,242,31,4,113,205,137,104,72,36,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:55:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241208064001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241208064001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:55:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241208064001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":111505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:55:48] local.INFO: GPS data processed {"connection_id":111505,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:55:48] local.INFO: Acknowledgment sent {"connection_id":111505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:56:02] local.INFO: TCP Data received {"connection_id":110705,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:56:02] local.INFO: Processing buffer {"connection_id":110705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:56:02] local.INFO: Packet analysis {"connection_id":110705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:56:02] local.INFO: Extracted packet for processing {"connection_id":110705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 10:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:56:02] 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-06-23 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:56:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:56:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":110705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:56:02] local.INFO: GPS data processed {"connection_id":110705,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:56:02] local.INFO: Acknowledgment sent {"connection_id":110705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:56:19] local.INFO: TCP Data received {"connection_id":111505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2efc788012d1968c0071fee48003f011422..."} 
[2026-06-23 10:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2efc788012d1968c0071fee48003f011422..."} 
[2026-06-23 10:56:19] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2efc788012d1968c0071fee48003f011422..."} 
[2026-06-23 10:56:19] local.INFO: Packet analysis {"connection_id":111505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 10:56:19] local.INFO: Extracted packet for processing {"connection_id":111505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 10:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241213440001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192261000,"timestamp_ms":1782192261000,"timestamp_seconds":1782192261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2efc788"} 
[2026-06-23 10:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 10:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-942035964653659800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77726675990740992,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3995951105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:19] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,1,158,35,45,192,238,63,10,66,209,33,127,240,31,227,242,4,113,205,219,104,72,239,47,2,14,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:56:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241213440001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241213440001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:56:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241213440001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":111505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:56:19] local.INFO: GPS data processed {"connection_id":111505,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:56:19] local.INFO: Acknowledgment sent {"connection_id":111505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:56:24] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:56:24] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:56:24] local.INFO: IMEI packet received {"connection_id":110878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":110878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:56:30] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:56:30] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:56:30] local.INFO: IMEI packet received {"connection_id":110878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":110878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:56:31] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:56:31] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:56:31] local.INFO: Packet analysis {"connection_id":110878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:56:31] local.INFO: Extracted packet for processing {"connection_id":110878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 10:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:56:31] 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-06-23 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:56:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":110878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:56:31] local.INFO: GPS data processed {"connection_id":110878,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:56:31] local.INFO: Acknowledgment sent {"connection_id":110878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:56:43] local.INFO: TCP Data received {"connection_id":110879,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:43] local.INFO: Processing buffer {"connection_id":110879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:43] local.INFO: IMEI packet received {"connection_id":110879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":110879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:56:44] local.INFO: TCP Data received {"connection_id":110879,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:44] local.INFO: Processing buffer {"connection_id":110879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:44] local.INFO: IMEI packet received {"connection_id":110879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":110879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:56:47] local.INFO: TCP Data received {"connection_id":110879,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:47] local.INFO: Processing buffer {"connection_id":110879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:56:47] local.INFO: IMEI packet received {"connection_id":110879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":110879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:56:48] local.INFO: TCP Data received {"connection_id":110879,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f01990012d1968c0071fee48003f011423..."} 
[2026-06-23 10:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f01990012d1968c0071fee48003f011423..."} 
[2026-06-23 10:56:48] local.INFO: Processing buffer {"connection_id":110879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f01990012d1968c0071fee48003f011423..."} 
[2026-06-23 10:56:48] local.INFO: Packet analysis {"connection_id":110879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f0"} 
[2026-06-23 10:56:48] local.INFO: Extracted packet for processing {"connection_id":110879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f0"} 
[2026-06-23 10:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241218816001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192282000,"timestamp_ms":1782192282000,"timestamp_seconds":1782192282,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f01990"} 
[2026-06-23 10:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:56:48] 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-06-23 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 10:56:48] 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-06-23 10:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241218816001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241218816001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:56:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241218816001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":110879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:56:48] local.INFO: GPS data processed {"connection_id":110879,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:56:48] local.INFO: Acknowledgment sent {"connection_id":110879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:57:03] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:57:03] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ed5e58012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:57:03] local.INFO: Packet analysis {"connection_id":110878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:57:03] local.INFO: Extracted packet for processing {"connection_id":110878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ed"} 
[2026-06-23 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241101312001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192103000,"timestamp_ms":1782192103000,"timestamp_seconds":1782192103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ed5e58"} 
[2026-06-23 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-06-23 10:57:03] 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-06-23 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 10:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241101312001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241101312001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241101312001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":110878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:57:03] local.INFO: GPS data processed {"connection_id":110878,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:57:03] local.INFO: Acknowledgment sent {"connection_id":110878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:57:19] local.INFO: TCP Data received {"connection_id":110879,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f06b98012d1968c0071fee48003f011423..."} 
[2026-06-23 10:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f06b98012d1968c0071fee48003f011423..."} 
[2026-06-23 10:57:19] local.INFO: Processing buffer {"connection_id":110879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f06b98012d1968c0071fee48003f011423..."} 
[2026-06-23 10:57:19] local.INFO: Packet analysis {"connection_id":110879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f0"} 
[2026-06-23 10:57:19] local.INFO: Extracted packet for processing {"connection_id":110879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f0"} 
[2026-06-23 10:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241224192001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192303000,"timestamp_ms":1782192303000,"timestamp_seconds":1782192303,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f06b98"} 
[2026-06-23 10:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:57:19] 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-06-23 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-941855576027227800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4006703105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:57:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,199,45,192,238,63,34,10,66,117,35,240,227,242,31,4,113,205,127,104,72,33,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:57:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241224192001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241224192001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:57:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241224192001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":110879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:57:20] local.INFO: GPS data processed {"connection_id":110879,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:57:20] local.INFO: Acknowledgment sent {"connection_id":110879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:57:24] local.INFO: TCP Data received {"connection_id":112445,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:57:24] local.INFO: Processing buffer {"connection_id":112445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:57:24] local.INFO: IMEI packet received {"connection_id":112445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":112445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:57:30] local.INFO: TCP Data received {"connection_id":112445,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:57:30] local.INFO: Processing buffer {"connection_id":112445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:57:30] local.INFO: IMEI packet received {"connection_id":112445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":112445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:57:31] local.INFO: TCP Data received {"connection_id":112445,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:57:31] local.INFO: Processing buffer {"connection_id":112445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:57:31] local.INFO: Packet analysis {"connection_id":112445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:57:31] local.INFO: Extracted packet for processing {"connection_id":112445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:57:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 10:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:57:31] 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-06-23 10:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 10:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:57:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:57:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":112445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:57:31] local.INFO: GPS data processed {"connection_id":112445,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:57:31] local.INFO: Acknowledgment sent {"connection_id":112445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:57:43] local.INFO: TCP Data received {"connection_id":110706,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:57:43] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:57:43] local.INFO: IMEI packet received {"connection_id":110706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":110706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:57:48] local.INFO: TCP Data received {"connection_id":110706,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:57:48] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:57:48] local.INFO: IMEI packet received {"connection_id":110706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":110706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:57:48] local.INFO: TCP Data received {"connection_id":110706,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f0bda0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f0bda0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:57:48] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f0bda0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:57:48] local.INFO: Packet analysis {"connection_id":110706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f0"} 
[2026-06-23 10:57:48] local.INFO: Extracted packet for processing {"connection_id":110706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f0"} 
[2026-06-23 10:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241229568001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192324000,"timestamp_ms":1782192324000,"timestamp_seconds":1782192324,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f0bda0"} 
[2026-06-23 10:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:57:48] 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-06-23 10:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241229568001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241229568001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:57:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241229568001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":110706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:57:48] local.INFO: GPS data processed {"connection_id":110706,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:57:48] local.INFO: Acknowledgment sent {"connection_id":110706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:58:03] local.INFO: TCP Data received {"connection_id":112445,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:58:03] local.INFO: Processing buffer {"connection_id":112445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:58:03] local.INFO: Packet analysis {"connection_id":112445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:03] local.INFO: Extracted packet for processing {"connection_id":112445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 10:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 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-06-23 10:58:03] 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-06-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 10:58:03] 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-06-23 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-06-23 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-06-23 10:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:58:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":112445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:58:03] local.INFO: GPS data processed {"connection_id":112445,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:58:03] local.INFO: Acknowledgment sent {"connection_id":112445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:58:19] local.INFO: TCP Data received {"connection_id":110706,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f10fa8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f10fa8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:58:19] local.INFO: Processing buffer {"connection_id":110706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f10fa8012d1968c0071fee48003f011426..."} 
[2026-06-23 10:58:19] local.INFO: Packet analysis {"connection_id":110706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:19] local.INFO: Extracted packet for processing {"connection_id":110706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241234944001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192345000,"timestamp_ms":1782192345000,"timestamp_seconds":1782192345,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f10fa8"} 
[2026-06-23 10:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:58:19] 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-06-23 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 10:58:19] 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-06-23 10:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241234944001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241234944001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:58:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241234944001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":110706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:58:19] local.INFO: GPS data processed {"connection_id":110706,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:58:19] local.INFO: Acknowledgment sent {"connection_id":110706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:58:24] local.INFO: TCP Data received {"connection_id":110707,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:58:24] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:58:24] local.INFO: IMEI packet received {"connection_id":110707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":110707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:58:32] local.INFO: TCP Data received {"connection_id":110707,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:58:32] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:58:32] local.INFO: IMEI packet received {"connection_id":110707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":110707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:58:34] local.INFO: TCP Data received {"connection_id":110707,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:58:34] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:58:34] local.INFO: Packet analysis {"connection_id":110707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:34] local.INFO: Extracted packet for processing {"connection_id":110707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10: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-06-23 10:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 10:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:58:34] 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-06-23 10:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 10:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10: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-06-23 10:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:58:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:58:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":110707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:58:34] local.INFO: GPS data processed {"connection_id":110707,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:58:34] local.INFO: Acknowledgment sent {"connection_id":110707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:58:42] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:58:42] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:58:42] local.INFO: IMEI packet received {"connection_id":111507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":111507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:58:47] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:58:47] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:58:47] local.INFO: IMEI packet received {"connection_id":111507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":111507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:58:48] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f161b0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f161b0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:58:48] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f161b0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:58:48] local.INFO: Packet analysis {"connection_id":111507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:48] local.INFO: Extracted packet for processing {"connection_id":111507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241240320001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192366000,"timestamp_ms":1782192366000,"timestamp_seconds":1782192366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f161b0"} 
[2026-06-23 10:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:58:48] 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-06-23 10:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-941584993087579800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4022831105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:58:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,189,45,192,238,63,37,10,66,107,35,25,240,227,242,31,4,113,205,117,104,72,239,48,2,14,7,33],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:58:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932052807483392,"timestamp_seconds":4539932052807483.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241240320001,"66":12015,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241240320001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:58:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241240320001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":111507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:58:48] local.INFO: GPS data processed {"connection_id":111507,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:58:48] local.INFO: Acknowledgment sent {"connection_id":111507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:59:06] local.INFO: TCP Data received {"connection_id":110707,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:59:06] local.INFO: Processing buffer {"connection_id":110707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:59:06] local.INFO: Packet analysis {"connection_id":110707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:59:06] local.INFO: Extracted packet for processing {"connection_id":110707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:59:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 10:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:59:06] 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-06-23 10:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 10:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:59:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:59:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":110707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:59:06] local.INFO: GPS data processed {"connection_id":110707,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:59:06] local.INFO: Acknowledgment sent {"connection_id":110707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:59:19] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1b3b8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1b3b8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:59:19] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1b3b8012d1968c0071fee48003f011425..."} 
[2026-06-23 10:59:19] local.INFO: Packet analysis {"connection_id":111507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:59:19] local.INFO: Extracted packet for processing {"connection_id":111507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241245696001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192387000,"timestamp_ms":1782192387000,"timestamp_seconds":1782192387,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1b3b8"} 
[2026-06-23 10:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:59:19] 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-06-23 10:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 10:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241245696001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241245696001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:59:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241245696001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":111507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:59:19] local.INFO: GPS data processed {"connection_id":111507,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:59:19] local.INFO: Acknowledgment sent {"connection_id":111507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:59:29] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:59:30] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:59:30] local.INFO: IMEI packet received {"connection_id":110708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 10:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":110708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:59:34] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:59:34] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 10:59:34] local.INFO: IMEI packet received {"connection_id":110708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 10:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":110708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:59:36] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:59:36] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 10:59:36] local.INFO: Packet analysis {"connection_id":110708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:59:36] local.INFO: Extracted packet for processing {"connection_id":110708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 10:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:59: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-06-23 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 10:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 10:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 10:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 10:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 10:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 10:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 10:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 10:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 10:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 10:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 10:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":110708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:59:36] local.INFO: GPS data processed {"connection_id":110708,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:59:36] local.INFO: Acknowledgment sent {"connection_id":110708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 10:59:42] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:59:42] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:59:42] local.INFO: IMEI packet received {"connection_id":110880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 10:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":110880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:59:47] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:59:47] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 10:59:47] local.INFO: IMEI packet received {"connection_id":110880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 10:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":110880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 10:59:47] local.INFO: TCP Data received {"connection_id":112446,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:59:47] local.INFO: Processing buffer {"connection_id":112446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 10:59:47] local.INFO: IMEI packet received {"connection_id":112446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 10:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":112446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 10:59:48] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f205c0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f205c0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:59:48] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f205c0012d1968c0071fee48003f011425..."} 
[2026-06-23 10:59:48] local.INFO: Packet analysis {"connection_id":110880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 10:59:48] local.INFO: Extracted packet for processing {"connection_id":110880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 10:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 10:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241251072001,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 10:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192408000,"timestamp_ms":1782192408000,"timestamp_seconds":1782192408,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f205c0"} 
[2026-06-23 10:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 10:59:48] 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-06-23 10:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-941404604461147800,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77724476967485440,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4033583105,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 10:59:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,1,158,97,45,192,238,63,37,10,66,15,38,189,240,255,227,242,31,4,113,205,25,104,72,35,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 10:59:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932048512516096,"timestamp_seconds":4539932048512516.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 10:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 10:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 10:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 10:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 10:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 10:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 10:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 10:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241251072001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 10:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 10:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 10:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241251072001,"description":"Unknown IO ID 0"} 
[2026-06-23 10:59:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 10:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 10:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 10:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 10:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241251072001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 10:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":110880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 10:59:48] local.INFO: GPS data processed {"connection_id":110880,"processed":1,"errors":0,"total":1} 
[2026-06-23 10:59:48] local.INFO: Acknowledgment sent {"connection_id":110880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:00:07] local.INFO: TCP Data received {"connection_id":110708,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:00:07] local.INFO: Processing buffer {"connection_id":110708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:00:07] local.INFO: Packet analysis {"connection_id":110708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:00:07] local.INFO: Extracted packet for processing {"connection_id":110708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:00: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-06-23 11:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":110708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:00:07] local.INFO: GPS data processed {"connection_id":110708,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:00:07] local.INFO: Acknowledgment sent {"connection_id":110708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:00:08] local.INFO: TCP Data received {"connection_id":111508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:00:08] local.INFO: Processing buffer {"connection_id":111508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:00:08] local.INFO: IMEI packet received {"connection_id":111508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":111508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:00:19] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f257c8012d1968c0071fee48003f011424..."} 
[2026-06-23 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f257c8012d1968c0071fee48003f011424..."} 
[2026-06-23 11:00:19] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f257c8012d1968c0071fee48003f011424..."} 
[2026-06-23 11:00:19] local.INFO: Packet analysis {"connection_id":110880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 11:00:19] local.INFO: Extracted packet for processing {"connection_id":110880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 11:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241256448001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192429000,"timestamp_ms":1782192429000,"timestamp_seconds":1782192429,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f257c8"} 
[2026-06-23 11:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:00:19] 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-06-23 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-941314410147931800,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4038959105,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,179,45,192,238,63,37,10,66,97,15,240,227,242,31,4,113,205,107,104,72,35,239,47,2,14,7,34],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:00:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932048512516096,"timestamp_seconds":4539932048512516.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241256448001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241256448001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:00:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241256448001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":110880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:00:19] local.INFO: GPS data processed {"connection_id":110880,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:00:19] local.INFO: Acknowledgment sent {"connection_id":110880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:00:25] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:00:25] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:00:25] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:00:29] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:00:30] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:00:30] local.INFO: IMEI packet received {"connection_id":110709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":110709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:00:31] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:00:31] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:00:31] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:00:31] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:00:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 11:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:00:31] 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-06-23 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:00:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:00:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:00:31] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:00:31] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:00:42] local.INFO: TCP Data received {"connection_id":112447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:00:42] local.INFO: Processing buffer {"connection_id":112447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:00:42] local.INFO: IMEI packet received {"connection_id":112447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":112447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:00:47] local.INFO: TCP Data received {"connection_id":112447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:00:47] local.INFO: Processing buffer {"connection_id":112447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:00:47] local.INFO: IMEI packet received {"connection_id":112447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":112447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:00:48] local.INFO: TCP Data received {"connection_id":112447,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f2a9d0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f2a9d0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:00:48] local.INFO: Processing buffer {"connection_id":112447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f2a9d0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:00:48] local.INFO: Packet analysis {"connection_id":112447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 11:00:48] local.INFO: Extracted packet for processing {"connection_id":112447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 11:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241261824001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192450000,"timestamp_ms":1782192450000,"timestamp_seconds":1782192450,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f2a9d0"} 
[2026-06-23 11:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:00:48] 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-06-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-941224215834715800,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77725576479113216,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4044335105,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 11:00:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,5,45,192,238,63,37,10,66,179,97,240,239,227,242,31,4,113,205,189,104,72,47,2,14,7,35],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:00:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932044217548800,"timestamp_seconds":4539932044217549.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241261824001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241261824001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241261824001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":112447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:00:48] local.INFO: GPS data processed {"connection_id":112447,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:00:48] local.INFO: Acknowledgment sent {"connection_id":112447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:01:03] local.INFO: TCP Data received {"connection_id":110709,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:01:03] local.INFO: Processing buffer {"connection_id":110709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:01:03] local.INFO: Packet analysis {"connection_id":110709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:01:03] local.INFO: Extracted packet for processing {"connection_id":110709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 11:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:01:03] 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-06-23 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:01:03] 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-06-23 11: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-06-23 11:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":110709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:01:03] local.INFO: GPS data processed {"connection_id":110709,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:01:03] local.INFO: Acknowledgment sent {"connection_id":110709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:01:19] local.INFO: TCP Data received {"connection_id":112447,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f2fbd8012d1968c0071fee48003f011423..."} 
[2026-06-23 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f2fbd8012d1968c0071fee48003f011423..."} 
[2026-06-23 11:01:19] local.INFO: Processing buffer {"connection_id":112447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f2fbd8012d1968c0071fee48003f011423..."} 
[2026-06-23 11:01:19] local.INFO: Packet analysis {"connection_id":112447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 11:01:19] local.INFO: Extracted packet for processing {"connection_id":112447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f2"} 
[2026-06-23 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241267200001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192471000,"timestamp_ms":1782192471000,"timestamp_seconds":1782192471,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f2fbd8"} 
[2026-06-23 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:01:19] 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-06-23 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241267200001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241267200001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:01:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241267200001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":112447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:01:19] local.INFO: GPS data processed {"connection_id":112447,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:01:19] local.INFO: Acknowledgment sent {"connection_id":112447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:01:24] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:01:24] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:01:24] local.INFO: IMEI packet received {"connection_id":110881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":110881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:01:29] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:01:29] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:01:29] local.INFO: IMEI packet received {"connection_id":110881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":110881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:01:31] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:01:31] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:01:31] local.INFO: Packet analysis {"connection_id":110881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:01:31] local.INFO: Extracted packet for processing {"connection_id":110881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 11:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:01:31] 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-06-23 11:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:01:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":110881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:01:31] local.INFO: GPS data processed {"connection_id":110881,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:01:31] local.INFO: Acknowledgment sent {"connection_id":110881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:01:47] local.INFO: TCP Data received {"connection_id":112448,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:01:47] local.INFO: Processing buffer {"connection_id":112448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:01:47] local.INFO: IMEI packet received {"connection_id":112448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":112448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:01:52] local.INFO: TCP Data received {"connection_id":112448,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:01:52] local.INFO: Processing buffer {"connection_id":112448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:01:52] local.INFO: IMEI packet received {"connection_id":112448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":112448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:01:53] local.INFO: TCP Data received {"connection_id":112448,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f34de0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f34de0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:01:53] local.INFO: Processing buffer {"connection_id":112448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f34de0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:01:53] local.INFO: Packet analysis {"connection_id":112448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f3"} 
[2026-06-23 11:01:53] local.INFO: Extracted packet for processing {"connection_id":112448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f3"} 
[2026-06-23 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241272576001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782192492000,"timestamp_ms":1782192492000,"timestamp_seconds":1782192492,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f34de0"} 
[2026-06-23 11:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:01:53] 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-06-23 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-941043827208283800,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77728875013996544,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4055087105,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807224,"note":"Value kept but may cause issues"} 
[2026-06-23 11:01:53] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,169,45,192,238,63,35,10,66,87,36,5,240,227,242,31,4,113,205,97,104,72,37,239,46,2,14,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:01:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932039922581504,"timestamp_seconds":4539932039922582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241272576001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241272576001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241272576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":112448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:01:53] local.INFO: GPS data processed {"connection_id":112448,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:01:53] local.INFO: Acknowledgment sent {"connection_id":112448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:02:03] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:02:03] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f1f620012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:02:03] local.INFO: Packet analysis {"connection_id":110881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:02:03] local.INFO: Extracted packet for processing {"connection_id":110881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f1"} 
[2026-06-23 11:02:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241178368001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192404000,"timestamp_ms":1782192404000,"timestamp_seconds":1782192404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f1f620"} 
[2026-06-23 11:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:02:03] 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-06-23 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:02:03] 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-06-23 11: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-06-23 11:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241178368001,"66":25680,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241178368001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241178368001,"power":25680,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":110881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:02:03] local.INFO: GPS data processed {"connection_id":110881,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:02:03] local.INFO: Acknowledgment sent {"connection_id":110881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:02:24] local.INFO: TCP Data received {"connection_id":110883,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:02:24] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:02:24] local.INFO: IMEI packet received {"connection_id":110883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":110883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:02:24] local.INFO: TCP Data received {"connection_id":112448,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f39fe8012d1968c0071fee48003f011422..."} 
[2026-06-23 11:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f39fe8012d1968c0071fee48003f011422..."} 
[2026-06-23 11:02:24] local.INFO: Processing buffer {"connection_id":112448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f39fe8012d1968c0071fee48003f011422..."} 
[2026-06-23 11:02:24] local.INFO: Packet analysis {"connection_id":112448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f3"} 
[2026-06-23 11:02:24] local.INFO: Extracted packet for processing {"connection_id":112448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f3"} 
[2026-06-23 11:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241277952001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782192513000,"timestamp_ms":1782192513000,"timestamp_seconds":1782192513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f39fe8"} 
[2026-06-23 11:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:02: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-06-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 11:02:24] 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-06-23 11: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-06-23 11:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241277952001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241277952001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241277952001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":112448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:02:24] local.INFO: GPS data processed {"connection_id":112448,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:02:24] local.INFO: Acknowledgment sent {"connection_id":112448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:02:30] local.INFO: TCP Data received {"connection_id":110883,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:02:30] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:02:30] local.INFO: IMEI packet received {"connection_id":110883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":110883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:02:31] local.INFO: TCP Data received {"connection_id":110883,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:02:31] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:02:31] local.INFO: Packet analysis {"connection_id":110883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:02:31] local.INFO: Extracted packet for processing {"connection_id":110883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:02:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 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-06-23 11:02:31] 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-06-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:02:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":110883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:02:31] local.INFO: GPS data processed {"connection_id":110883,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:02:31] local.INFO: Acknowledgment sent {"connection_id":110883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:02:42] local.INFO: TCP Data received {"connection_id":112449,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:42] local.INFO: Processing buffer {"connection_id":112449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:42] local.INFO: IMEI packet received {"connection_id":112449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":112449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:02:42] local.INFO: TCP Data received {"connection_id":112449,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:42] local.INFO: Processing buffer {"connection_id":112449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:42] local.INFO: IMEI packet received {"connection_id":112449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":112449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:02:47] local.INFO: TCP Data received {"connection_id":112449,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:47] local.INFO: Processing buffer {"connection_id":112449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:02:47] local.INFO: IMEI packet received {"connection_id":112449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":112449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:02:48] local.INFO: TCP Data received {"connection_id":112449,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f3f1f0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f3f1f0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:02:48] local.INFO: Processing buffer {"connection_id":112449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f3f1f0012d1968c0071fee48003f011423..."} 
[2026-06-23 11:02:48] local.INFO: Packet analysis {"connection_id":112449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f3"} 
[2026-06-23 11:02:48] local.INFO: Extracted packet for processing {"connection_id":112449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f3"} 
[2026-06-23 11:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241283328001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192534000,"timestamp_ms":1782192534000,"timestamp_seconds":1782192534,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f3f1f0"} 
[2026-06-23 11:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:02:48] 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-06-23 11:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-940863438581851800,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77727775502368768,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4065839105,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 11:02:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,1,158,77,45,192,238,63,35,10,66,251,169,240,31,227,242,4,113,205,5,104,72,37,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:02:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932035627614208,"timestamp_seconds":4539932035627614.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241283328001,"66":12287,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241283328001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:02:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241283328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":112449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:02:48] local.INFO: GPS data processed {"connection_id":112449,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:02:48] local.INFO: Acknowledgment sent {"connection_id":112449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:03:03] local.INFO: TCP Data received {"connection_id":110883,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:03:03] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:03:03] local.INFO: Packet analysis {"connection_id":110883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:03:03] local.INFO: Extracted packet for processing {"connection_id":110883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 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-06-23 11:03:03] 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-06-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:03:03] 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-06-23 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-06-23 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-06-23 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:03:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":110883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:03:03] local.INFO: GPS data processed {"connection_id":110883,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:03:03] local.INFO: Acknowledgment sent {"connection_id":110883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:03:19] local.INFO: TCP Data received {"connection_id":112449,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f443f8012d1968c0071fee48003f011422..."} 
[2026-06-23 11:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f443f8012d1968c0071fee48003f011422..."} 
[2026-06-23 11:03:19] local.INFO: Processing buffer {"connection_id":112449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f443f8012d1968c0071fee48003f011422..."} 
[2026-06-23 11:03:19] local.INFO: Packet analysis {"connection_id":112449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f4"} 
[2026-06-23 11:03:19] local.INFO: Extracted packet for processing {"connection_id":112449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f4"} 
[2026-06-23 11:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241288704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192555000,"timestamp_ms":1782192555000,"timestamp_seconds":1782192555,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f443f8"} 
[2026-06-23 11:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:03:19] 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-06-23 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 11:03:19] 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-06-23 11: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-06-23 11:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241288704001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241288704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:03:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241288704001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":112449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:03:19] local.INFO: GPS data processed {"connection_id":112449,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:03:19] local.INFO: Acknowledgment sent {"connection_id":112449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:03:25] local.INFO: TCP Data received {"connection_id":112450,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:03:25] local.INFO: Processing buffer {"connection_id":112450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:03:25] local.INFO: IMEI packet received {"connection_id":112450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":112450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:03:31] local.INFO: TCP Data received {"connection_id":112450,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:03:31] local.INFO: Processing buffer {"connection_id":112450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:03:31] local.INFO: IMEI packet received {"connection_id":112450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":112450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:03:32] local.INFO: TCP Data received {"connection_id":112450,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:03:32] local.INFO: Processing buffer {"connection_id":112450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:03:32] local.INFO: Packet analysis {"connection_id":112450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:03:32] local.INFO: Extracted packet for processing {"connection_id":112450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:03:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 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-06-23 11:03:32] 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-06-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:03:32] 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-06-23 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-06-23 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-06-23 11:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:03:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:03:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:03:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":112450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:03:32] local.INFO: GPS data processed {"connection_id":112450,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:03:32] local.INFO: Acknowledgment sent {"connection_id":112450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:03:43] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:43] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:43] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:03:44] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:44] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:44] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:03:47] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:47] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:03:47] local.INFO: IMEI packet received {"connection_id":110711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":110711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:03:48] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f49600012d1968c0071fee48003f011420..."} 
[2026-06-23 11:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f49600012d1968c0071fee48003f011420..."} 
[2026-06-23 11:03:48] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f49600012d1968c0071fee48003f011420..."} 
[2026-06-23 11:03:48] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f4"} 
[2026-06-23 11:03:48] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f4"} 
[2026-06-23 11:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241294080001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192576000,"timestamp_ms":1782192576000,"timestamp_seconds":1782192576,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f49600"} 
[2026-06-23 11:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:03:48] 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-06-23 11:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 11:03:48] 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-06-23 11:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241294080001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241294080001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:03:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241294080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:03:48] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:03:48] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:04:04] local.INFO: TCP Data received {"connection_id":112450,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:04:04] local.INFO: Processing buffer {"connection_id":112450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:04:04] local.INFO: Packet analysis {"connection_id":112450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:04:04] local.INFO: Extracted packet for processing {"connection_id":112450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:04:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:04:04] 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-06-23 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:04:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:04:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":112450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:04:04] local.INFO: GPS data processed {"connection_id":112450,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:04:04] local.INFO: Acknowledgment sent {"connection_id":112450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:04:19] local.INFO: TCP Data received {"connection_id":110711,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f4e808012d1968c0071fee48003f011421..."} 
[2026-06-23 11:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f4e808012d1968c0071fee48003f011421..."} 
[2026-06-23 11:04:19] local.INFO: Processing buffer {"connection_id":110711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f4e808012d1968c0071fee48003f011421..."} 
[2026-06-23 11:04:19] local.INFO: Packet analysis {"connection_id":110711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f4"} 
[2026-06-23 11:04:19] local.INFO: Extracted packet for processing {"connection_id":110711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f4"} 
[2026-06-23 11:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241299456001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192597000,"timestamp_ms":1782192597000,"timestamp_seconds":1782192597,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f4e808"} 
[2026-06-23 11:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:04:19] 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-06-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 11:04:19] 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-06-23 11: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-06-23 11:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241299456001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241299456001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:04:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241299456001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":110711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:04:19] local.INFO: GPS data processed {"connection_id":110711,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:04:19] local.INFO: Acknowledgment sent {"connection_id":110711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:04:24] local.INFO: TCP Data received {"connection_id":111510,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:04:24] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:04:24] local.INFO: IMEI packet received {"connection_id":111510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":111510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:04:29] local.INFO: TCP Data received {"connection_id":111510,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:04:29] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:04:29] local.INFO: IMEI packet received {"connection_id":111510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":111510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:04:31] local.INFO: TCP Data received {"connection_id":111510,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:04:31] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:04:31] local.INFO: Packet analysis {"connection_id":111510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:04:31] local.INFO: Extracted packet for processing {"connection_id":111510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:04:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:04:31] 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-06-23 11:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:04:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:04:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":111510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:04:31] local.INFO: GPS data processed {"connection_id":111510,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:04:31] local.INFO: Acknowledgment sent {"connection_id":111510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:04:43] local.INFO: TCP Data received {"connection_id":112452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:04:43] local.INFO: Processing buffer {"connection_id":112452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:04:43] local.INFO: IMEI packet received {"connection_id":112452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":112452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:04:47] local.INFO: TCP Data received {"connection_id":112452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:04:47] local.INFO: Processing buffer {"connection_id":112452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:04:48] local.INFO: IMEI packet received {"connection_id":112452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":112452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:04:48] local.INFO: TCP Data received {"connection_id":112452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f53a10012d1968c0071fee48003f011422..."} 
[2026-06-23 11:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f53a10012d1968c0071fee48003f011422..."} 
[2026-06-23 11:04:48] local.INFO: Processing buffer {"connection_id":112452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f53a10012d1968c0071fee48003f011422..."} 
[2026-06-23 11:04:48] local.INFO: Packet analysis {"connection_id":112452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f5"} 
[2026-06-23 11:04:48] local.INFO: Extracted packet for processing {"connection_id":112452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f5"} 
[2026-06-23 11:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241304832001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192618000,"timestamp_ms":1782192618000,"timestamp_seconds":1782192618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f53a10"} 
[2026-06-23 11:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:04:48] 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-06-23 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 11:04:48] 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-06-23 11:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241304832001,"66":12341,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241304832001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:04:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241304832001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":112452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:04:48] local.INFO: GPS data processed {"connection_id":112452,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:04:48] local.INFO: Acknowledgment sent {"connection_id":112452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:05:03] local.INFO: TCP Data received {"connection_id":111510,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:05:03] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:05:03] local.INFO: Packet analysis {"connection_id":111510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:05:03] local.INFO: Extracted packet for processing {"connection_id":111510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:05:03] 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-06-23 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:05:03] 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-06-23 11: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-06-23 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":111510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:05:03] local.INFO: GPS data processed {"connection_id":111510,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:05:03] local.INFO: Acknowledgment sent {"connection_id":111510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:05:19] local.INFO: TCP Data received {"connection_id":112452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f58c18012d1968c0071fee48003f011420..."} 
[2026-06-23 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f58c18012d1968c0071fee48003f011420..."} 
[2026-06-23 11:05:19] local.INFO: Processing buffer {"connection_id":112452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f58c18012d1968c0071fee48003f011420..."} 
[2026-06-23 11:05:19] local.INFO: Packet analysis {"connection_id":112452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f5"} 
[2026-06-23 11:05:19] local.INFO: Extracted packet for processing {"connection_id":112452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f5"} 
[2026-06-23 11:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241310208001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782192639000,"timestamp_ms":1782192639000,"timestamp_seconds":1782192639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f58c18"} 
[2026-06-23 11:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:05:19] 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-06-23 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 11:05:19] 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-06-23 11:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241310208001,"66":12298,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241310208001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:05:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241310208001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":112452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:05:19] local.INFO: GPS data processed {"connection_id":112452,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:05:19] local.INFO: Acknowledgment sent {"connection_id":112452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:05:24] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:05:24] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:05:24] local.INFO: IMEI packet received {"connection_id":110885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":110885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:05:29] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:05:29] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:05:29] local.INFO: IMEI packet received {"connection_id":110885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":110885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:05:31] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:05:31] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:05:31] local.INFO: Packet analysis {"connection_id":110885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:05:31] local.INFO: Extracted packet for processing {"connection_id":110885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:05:31] 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-06-23 11:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:05:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":110885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:05:31] local.INFO: GPS data processed {"connection_id":110885,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:05:31] local.INFO: Acknowledgment sent {"connection_id":110885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:05:37] local.INFO: TCP Data received {"connection_id":110884,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:05:37] local.INFO: Processing buffer {"connection_id":110884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:05:37] local.INFO: IMEI packet received {"connection_id":110884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":110884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:05:43] local.INFO: TCP Data received {"connection_id":110712,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:05:43] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:05:43] local.INFO: IMEI packet received {"connection_id":110712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":110712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:05:47] local.INFO: TCP Data received {"connection_id":110712,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:05:47] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:05:47] local.INFO: IMEI packet received {"connection_id":110712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":110712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:05:48] local.INFO: TCP Data received {"connection_id":110712,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f5de20012d1968c0071fee48003f011421..."} 
[2026-06-23 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f5de20012d1968c0071fee48003f011421..."} 
[2026-06-23 11:05:48] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f5de20012d1968c0071fee48003f011421..."} 
[2026-06-23 11:05:48] local.INFO: Packet analysis {"connection_id":110712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f5"} 
[2026-06-23 11:05:48] local.INFO: Extracted packet for processing {"connection_id":110712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f5"} 
[2026-06-23 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533128,"longitude_deg":75.6639936,"latitude_deg":11.9533128,"altitude":63,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241315584001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942548049494016,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359120384,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782192660000,"timestamp_ms":1782192660000,"timestamp_seconds":1782192660,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f5de20"} 
[2026-06-23 11:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:05:48] 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-06-23 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5044031582654955519,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-940322272702555800,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513390875552710932,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":77724476967485440,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4098095105,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3997696063,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 11:05:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,1,158,58,45,192,238,63,34,10,66,232,33,150,240,53,227,242,31,4,113,205,104,72,35,239,47,2,14,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:05:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539932027037679616,"timestamp_seconds":4539932027037680.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241315584001,"66":12319,"102":206,"83":41984,"24":0,"16":3942548049494016,"45":1830924385359120384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241315584001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:05:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942548049494016,"km_value":3942548049494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359120384,"description":"Unknown IO ID 45"} 
[2026-06-23 11:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241315584001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359120384}} 
[2026-06-23 11:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":110712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:05:48] local.INFO: GPS data processed {"connection_id":110712,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:05:48] local.INFO: Acknowledgment sent {"connection_id":110712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:06:03] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:03] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:03] local.INFO: Packet analysis {"connection_id":110885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:06:03] local.INFO: Extracted packet for processing {"connection_id":110885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:06:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:06:03] 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-06-23 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:06:03] 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-06-23 11: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-06-23 11:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:06:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:06:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":110885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:06:03] local.INFO: GPS data processed {"connection_id":110885,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:06:03] local.INFO: Acknowledgment sent {"connection_id":110885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:06:07] local.INFO: TCP Data received {"connection_id":112453,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:06:07] local.INFO: Processing buffer {"connection_id":112453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:06:07] local.INFO: IMEI packet received {"connection_id":112453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":112453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:06:20] local.INFO: TCP Data received {"connection_id":110712,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fa04a0012d196b40071fed80003f004822..."} 
[2026-06-23 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fa04a0012d196b40071fed80003f004822..."} 
[2026-06-23 11:06:20] local.INFO: Processing buffer {"connection_id":110712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fa04a0012d196b40071fed80003f004822..."} 
[2026-06-23 11:06:20] local.INFO: Packet analysis {"connection_id":110712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fa"} 
[2026-06-23 11:06:20] local.INFO: Extracted packet for processing {"connection_id":110712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fa"} 
[2026-06-23 11:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532928,"longitude_deg":75.6640576,"latitude_deg":11.9532928,"altitude":63,"angle":72,"satellites":34,"speed":4,"hex_longitude":"2d196b40","hex_latitude":"071fed80","is_valid_coordinates":true} 
[2026-06-23 11:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241389056001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3942595294134272,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079932928,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782192932000,"timestamp_ms":1782192932000,"timestamp_seconds":1782192932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fa04a0"} 
[2026-06-23 11:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:06:20] 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-06-23 11:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 11:06:20] 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-06-23 11:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241389056001,"66":14048,"102":206,"83":41984,"24":4,"16":3942595294134272,"45":1831276229079932928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241389056001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3942595294134272,"km_value":3942595294134.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079932928,"description":"Unknown IO ID 45"} 
[2026-06-23 11:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241389056001,"power":14048,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1831276229079932928}} 
[2026-06-23 11:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":110712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:06:20] local.INFO: GPS data processed {"connection_id":110712,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:06:20] local.INFO: Acknowledgment sent {"connection_id":110712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:06:30] local.INFO: TCP Data received {"connection_id":112454,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:06:30] local.INFO: Processing buffer {"connection_id":112454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:06:30] local.INFO: IMEI packet received {"connection_id":112454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":112454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:06:34] local.INFO: TCP Data received {"connection_id":112454,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:06:34] local.INFO: Processing buffer {"connection_id":112454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:06:34] local.INFO: IMEI packet received {"connection_id":112454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":112454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:06:36] local.INFO: TCP Data received {"connection_id":112454,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:36] local.INFO: Processing buffer {"connection_id":112454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:36] local.INFO: Packet analysis {"connection_id":112454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:06:36] local.INFO: Extracted packet for processing {"connection_id":112454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:06:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:06: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-06-23 11:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":112454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:06:36] local.INFO: GPS data processed {"connection_id":112454,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:06:36] local.INFO: Acknowledgment sent {"connection_id":112454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:06:40] local.INFO: TCP Data received {"connection_id":112454,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:40] local.INFO: Processing buffer {"connection_id":112454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2f68de8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:06:40] local.INFO: Packet analysis {"connection_id":112454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:06:40] local.INFO: Extracted packet for processing {"connection_id":112454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2f6"} 
[2026-06-23 11:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241255424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782192705000,"timestamp_ms":1782192705000,"timestamp_seconds":1782192705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2f68de8"} 
[2026-06-23 11:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:06:40] 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-06-23 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 11:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241255424001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241255424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:06:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:06:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241255424001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":112454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:06:40] local.INFO: GPS data processed {"connection_id":112454,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:06:40] local.INFO: Acknowledgment sent {"connection_id":112454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:06:42] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:42] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:42] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:06:42] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:42] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:42] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:06:43] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:43] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:43] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:06:45] local.INFO: TCP Data received {"connection_id":110713,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:45] local.INFO: Processing buffer {"connection_id":110713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:06:45] local.INFO: IMEI packet received {"connection_id":110713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":110713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:07:24] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:25] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:25] local.INFO: IMEI packet received {"connection_id":111511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":111511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:07:25] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:25] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:25] local.INFO: IMEI packet received {"connection_id":111511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":111511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:07:29] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:29] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:07:29] local.INFO: IMEI packet received {"connection_id":111511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":111511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:07:30] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:07:30] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:07:30] local.INFO: Packet analysis {"connection_id":111511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:07:30] local.INFO: Extracted packet for processing {"connection_id":111511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:07:30] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:07:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":111511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:07:30] local.INFO: GPS data processed {"connection_id":111511,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:07:30] local.INFO: Acknowledgment sent {"connection_id":111511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:07:35] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:07:35] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:07:35] local.INFO: Packet analysis {"connection_id":111511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:07:35] local.INFO: Extracted packet for processing {"connection_id":111511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:07:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:07:35] 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-06-23 11:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:07:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:07:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":111511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:07:35] local.INFO: GPS data processed {"connection_id":111511,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:07:35] local.INFO: Acknowledgment sent {"connection_id":111511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:08:07] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:08:07] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:08:07] local.INFO: Packet analysis {"connection_id":111511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:08:07] local.INFO: Extracted packet for processing {"connection_id":111511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:08: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-06-23 11:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":111511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:08:07] local.INFO: GPS data processed {"connection_id":111511,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:08:07] local.INFO: Acknowledgment sent {"connection_id":111511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:08:24] local.INFO: TCP Data received {"connection_id":110715,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:08:24] local.INFO: Processing buffer {"connection_id":110715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:08:24] local.INFO: IMEI packet received {"connection_id":110715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":110715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:08:29] local.INFO: TCP Data received {"connection_id":110715,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:08:29] local.INFO: Processing buffer {"connection_id":110715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:08:29] local.INFO: IMEI packet received {"connection_id":110715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":110715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:08:31] local.INFO: TCP Data received {"connection_id":110715,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:08:31] local.INFO: Processing buffer {"connection_id":110715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:08:31] local.INFO: Packet analysis {"connection_id":110715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:08:31] local.INFO: Extracted packet for processing {"connection_id":110715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:08:31] 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-06-23 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:08:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:08:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":110715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:08:31] local.INFO: GPS data processed {"connection_id":110715,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:08:31] local.INFO: Acknowledgment sent {"connection_id":110715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:09:02] local.INFO: TCP Data received {"connection_id":110715,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:09:02] local.INFO: Processing buffer {"connection_id":110715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:09:02] local.INFO: Packet analysis {"connection_id":110715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:09:02] local.INFO: Extracted packet for processing {"connection_id":110715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:09:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:09:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:09:02] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:09:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":110715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:09:03] local.INFO: GPS data processed {"connection_id":110715,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:09:03] local.INFO: Acknowledgment sent {"connection_id":110715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:09:24] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:09:24] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:09:24] local.INFO: IMEI packet received {"connection_id":110716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":110716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:09:29] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:09:29] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:09:29] local.INFO: IMEI packet received {"connection_id":110716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":110716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:09:31] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:09:31] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:09:31] local.INFO: Packet analysis {"connection_id":110716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:09:31] local.INFO: Extracted packet for processing {"connection_id":110716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:09:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:09:31] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:09:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:09:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":110716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:09:31] local.INFO: GPS data processed {"connection_id":110716,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:09:31] local.INFO: Acknowledgment sent {"connection_id":110716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:10:02] local.INFO: TCP Data received {"connection_id":110716,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:02] local.INFO: Processing buffer {"connection_id":110716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:02] local.INFO: Packet analysis {"connection_id":110716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:10:02] local.INFO: Extracted packet for processing {"connection_id":110716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:10:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:10:02] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:10:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":110716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:10:02] local.INFO: GPS data processed {"connection_id":110716,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:10:02] local.INFO: Acknowledgment sent {"connection_id":110716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:10:29] local.INFO: TCP Data received {"connection_id":111513,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:10:29] local.INFO: Processing buffer {"connection_id":111513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:10:29] local.INFO: IMEI packet received {"connection_id":111513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":111513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:10:34] local.INFO: TCP Data received {"connection_id":111513,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:10:34] local.INFO: Processing buffer {"connection_id":111513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:10:34] local.INFO: IMEI packet received {"connection_id":111513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":111513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:10:36] local.INFO: TCP Data received {"connection_id":111513,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:36] local.INFO: Processing buffer {"connection_id":111513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:36] local.INFO: Packet analysis {"connection_id":111513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:10:36] local.INFO: Extracted packet for processing {"connection_id":111513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11: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-06-23 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":111513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:10:36] local.INFO: GPS data processed {"connection_id":111513,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:10:36] local.INFO: Acknowledgment sent {"connection_id":111513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:10:40] local.INFO: TCP Data received {"connection_id":111513,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:40] local.INFO: Processing buffer {"connection_id":111513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:10:40] local.INFO: Packet analysis {"connection_id":111513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:10:40] local.INFO: Extracted packet for processing {"connection_id":111513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:10:40] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:10:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:10:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":111513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:10:40] local.INFO: GPS data processed {"connection_id":111513,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:10:40] local.INFO: Acknowledgment sent {"connection_id":111513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:11:24] local.INFO: TCP Data received {"connection_id":110889,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:11:24] local.INFO: Processing buffer {"connection_id":110889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:11:24] local.INFO: IMEI packet received {"connection_id":110889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":110889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:11:29] local.INFO: TCP Data received {"connection_id":110889,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:11:29] local.INFO: Processing buffer {"connection_id":110889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:11:29] local.INFO: IMEI packet received {"connection_id":110889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":110889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:11:30] local.INFO: TCP Data received {"connection_id":110889,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:11:30] local.INFO: Processing buffer {"connection_id":110889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:11:30] local.INFO: Packet analysis {"connection_id":110889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:11:30] local.INFO: Extracted packet for processing {"connection_id":110889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:11:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:11:30] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:11:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":110889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:11:30] local.INFO: GPS data processed {"connection_id":110889,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:11:30] local.INFO: Acknowledgment sent {"connection_id":110889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:11:32] local.INFO: TCP Data received {"connection_id":111514,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:11:32] local.INFO: Processing buffer {"connection_id":111514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:11:32] local.INFO: IMEI packet received {"connection_id":111514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":111514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:11:47] local.INFO: TCP Data received {"connection_id":112458,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:11:47] local.INFO: Processing buffer {"connection_id":112458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:11:47] local.INFO: IMEI packet received {"connection_id":112458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":112458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:11:47] local.INFO: TCP Data received {"connection_id":112458,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ff09c8012d1959800720a0b0003200e721..."} 
[2026-06-23 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ff09c8012d1959800720a0b0003200e721..."} 
[2026-06-23 11:11:47] local.INFO: Processing buffer {"connection_id":112458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ff09c8012d1959800720a0b0003200e721..."} 
[2026-06-23 11:11:47] local.INFO: Packet analysis {"connection_id":112458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:11:47] local.INFO: Extracted packet for processing {"connection_id":112458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756636032,"raw_latitude":119578800,"longitude_deg":75.6636032,"latitude_deg":11.95788,"altitude":50,"angle":231,"satellites":33,"speed":11,"hex_longitude":"2d195980","hex_latitude":"0720a0b0","is_valid_coordinates":true} 
[2026-06-23 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241474560001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3948419269787648,"note":"Value kept but may cause issues"} 
[2026-06-23 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366952732672,"note":"Value kept but may cause issues"} 
[2026-06-23 11:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782193261000,"timestamp_ms":1782193261000,"timestamp_seconds":1782193261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ff09c8"} 
[2026-06-23 11:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-23 11:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241474560001,"66":14135,"103":206,"83":41984,"24":11,"16":3948419269787648,"45":1826913366952732672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241474560001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:11:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3948419269787648,"km_value":3948419269787.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366952732672,"description":"Unknown IO ID 45"} 
[2026-06-23 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241474560001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1826913366952732672}} 
[2026-06-23 11:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":112458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:11:48] local.INFO: GPS data processed {"connection_id":112458,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:11:48] local.INFO: Acknowledgment sent {"connection_id":112458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:12:02] local.INFO: TCP Data received {"connection_id":110889,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:12:02] local.INFO: Processing buffer {"connection_id":110889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fb25b0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 11:12:02] local.INFO: Packet analysis {"connection_id":110889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:12:02] local.INFO: Extracted packet for processing {"connection_id":110889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2fb"} 
[2026-06-23 11:12:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241332480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193006000,"timestamp_ms":1782193006000,"timestamp_seconds":1782193006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fb25b0"} 
[2026-06-23 11:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:12:02] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241332480001,"66":25647,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241332480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:12:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241332480001,"power":25647,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":110889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:12:02] local.INFO: GPS data processed {"connection_id":110889,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:12:02] local.INFO: Acknowledgment sent {"connection_id":110889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:12:07] local.INFO: TCP Data received {"connection_id":112459,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:07] local.INFO: Processing buffer {"connection_id":112459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:07] local.INFO: IMEI packet received {"connection_id":112459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":112459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:12:12] local.INFO: TCP Data received {"connection_id":112459,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:12] local.INFO: Processing buffer {"connection_id":112459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:12] local.INFO: IMEI packet received {"connection_id":112459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 11:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":112459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:12:13] local.INFO: TCP Data received {"connection_id":112459,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ef0c08012ceb6c0007502f78003e004127..."} 
[2026-06-23 11:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ef0c08012ceb6c0007502f78003e004127..."} 
[2026-06-23 11:12:13] local.INFO: Processing buffer {"connection_id":112459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ef0c08012ceb6c0007502f78003e004127..."} 
[2026-06-23 11:12:13] local.INFO: Packet analysis {"connection_id":112459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 11:12:13] local.INFO: Extracted packet for processing {"connection_id":112459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ef"} 
[2026-06-23 11:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753626112,"raw_latitude":122695544,"longitude_deg":75.3626112,"latitude_deg":12.2695544,"altitude":62,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2ceb6c00","hex_latitude":"07502f78","is_valid_coordinates":true} 
[2026-06-23 11:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241201152001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":126884951810375680,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482810145901676544,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782192213000,"timestamp_ms":1782192213000,"timestamp_seconds":1782192213,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ef0c08"} 
[2026-06-23 11:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:12: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-06-23 11:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 11:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 11:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 11:12:13] 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-06-23 11:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-23 11:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-23 11:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241201152001,"66":28517,"50":206,"85":37376,"24":0,"16":126884951810375680,"44":-1482810145901676544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,44]} 
[2026-06-23 11:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-23 11:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-23 11:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241201152001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:12:13] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-23 11:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37376,"description":"Unknown IO ID 85"} 
[2026-06-23 11:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":126884951810375680,"km_value":126884951810375.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482810145901676544,"description":"Unknown IO ID 44"} 
[2026-06-23 11:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241201152001,"power":28517,"unknown_50":206,"unknown_85":37376,"ignition":0,"odometer":null,"unknown_44":-1482810145901676544}} 
[2026-06-23 11:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":112459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:12:13] local.INFO: GPS data processed {"connection_id":112459,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:12:13] local.INFO: Acknowledgment sent {"connection_id":112459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:12:19] local.INFO: TCP Data received {"connection_id":112458,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ff0db0012d1958c00720a050003200fb21..."} 
[2026-06-23 11:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ff0db0012d1958c00720a050003200fb21..."} 
[2026-06-23 11:12:19] local.INFO: Processing buffer {"connection_id":112458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ff0db0012d1958c00720a050003200fb21..."} 
[2026-06-23 11:12:19] local.INFO: Packet analysis {"connection_id":112458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:12:19] local.INFO: Extracted packet for processing {"connection_id":112458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756635840,"raw_latitude":119578704,"longitude_deg":75.663584,"latitude_deg":11.9578704,"altitude":50,"angle":251,"satellites":33,"speed":11,"hex_longitude":"2d1958c0","hex_latitude":"0720a050","is_valid_coordinates":true} 
[2026-06-23 11:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241474816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3948427859722240,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826631891975974912,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782193262000,"timestamp_ms":1782193262000,"timestamp_seconds":1782193262,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ff0db0"} 
[2026-06-23 11:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:12:19] 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-06-23 11:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-23 11:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241474816001,"66":14135,"103":206,"83":41984,"24":11,"16":3948427859722240,"45":1826631891975974912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241474816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:12:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3948427859722240,"km_value":3948427859722.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826631891975974912,"description":"Unknown IO ID 45"} 
[2026-06-23 11:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241474816001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1826631891975974912}} 
[2026-06-23 11:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":112458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:12:19] local.INFO: GPS data processed {"connection_id":112458,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:12:19] local.INFO: Acknowledgment sent {"connection_id":112458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:12:24] local.INFO: TCP Data received {"connection_id":111515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:24] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:24] local.INFO: IMEI packet received {"connection_id":111515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":111515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:12:25] local.INFO: TCP Data received {"connection_id":111515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:25] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:25] local.INFO: IMEI packet received {"connection_id":111515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":111515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:12:29] local.INFO: TCP Data received {"connection_id":111515,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:29] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:12:29] local.INFO: IMEI packet received {"connection_id":111515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":111515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:12:31] local.INFO: TCP Data received {"connection_id":111515,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:12:31] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:12:31] local.INFO: Packet analysis {"connection_id":111515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:12:31] local.INFO: Extracted packet for processing {"connection_id":111515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 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-06-23 11:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:12:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:12:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":111515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:12:31] local.INFO: GPS data processed {"connection_id":111515,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:12:31] local.INFO: Acknowledgment sent {"connection_id":111515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:12:41] local.INFO: TCP Data received {"connection_id":112460,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:41] local.INFO: Processing buffer {"connection_id":112460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:41] local.INFO: IMEI packet received {"connection_id":112460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":112460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:12:42] local.INFO: TCP Data received {"connection_id":112460,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:42] local.INFO: Processing buffer {"connection_id":112460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:42] local.INFO: IMEI packet received {"connection_id":112460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":112460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:12:47] local.INFO: TCP Data received {"connection_id":112460,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:47] local.INFO: Processing buffer {"connection_id":112460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:12:47] local.INFO: IMEI packet received {"connection_id":112460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":112460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:12:48] local.INFO: TCP Data received {"connection_id":112460,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffb990012d19610007207c98003100e723..."} 
[2026-06-23 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffb990012d19610007207c98003100e723..."} 
[2026-06-23 11:12:48] local.INFO: Processing buffer {"connection_id":112460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffb990012d19610007207c98003100e723..."} 
[2026-06-23 11:12:48] local.INFO: Packet analysis {"connection_id":112460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:12:48] local.INFO: Extracted packet for processing {"connection_id":112460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119569560,"longitude_deg":75.6637952,"latitude_deg":11.956956,"altitude":49,"angle":231,"satellites":35,"speed":6,"hex_longitude":"2d196100","hex_latitude":"07207c98","is_valid_coordinates":true} 
[2026-06-23 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486080001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949029155143680,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828813323043151872,"note":"Value kept but may cause issues"} 
[2026-06-23 11:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782193306000,"timestamp_ms":1782193306000,"timestamp_seconds":1782193306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffb990"} 
[2026-06-23 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-23 11:12:48] 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-06-23 11:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486080001,"66":13917,"103":206,"83":41984,"24":6,"16":3949029155143680,"45":1828813323043151872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486080001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:12:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949029155143680,"km_value":3949029155143.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828813323043151872,"description":"Unknown IO ID 45"} 
[2026-06-23 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486080001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1828813323043151872}} 
[2026-06-23 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":112460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:12:48] local.INFO: GPS data processed {"connection_id":112460,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:12:48] local.INFO: Acknowledgment sent {"connection_id":112460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:12:57] local.INFO: TCP Data received {"connection_id":110890,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:57] local.INFO: Processing buffer {"connection_id":110890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:12:57] local.INFO: IMEI packet received {"connection_id":110890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":110890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:13:03] local.INFO: TCP Data received {"connection_id":111515,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:13:03] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:13:03] local.INFO: Packet analysis {"connection_id":111515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:03] local.INFO: Extracted packet for processing {"connection_id":111515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:13:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:13:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":111515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:13:03] local.INFO: GPS data processed {"connection_id":111515,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:13:03] local.INFO: Acknowledgment sent {"connection_id":111515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:13:18] local.INFO: TCP Data received {"connection_id":112460,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012d19600007207c600032010822..."} 
[2026-06-23 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012d19600007207c600032010822..."} 
[2026-06-23 11:13:18] local.INFO: Processing buffer {"connection_id":112460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012d19600007207c600032010822..."} 
[2026-06-23 11:13:18] local.INFO: Packet analysis {"connection_id":112460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:18] local.INFO: Extracted packet for processing {"connection_id":112460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756637696,"raw_latitude":119569504,"longitude_deg":75.6637696,"latitude_deg":11.9569504,"altitude":50,"angle":264,"satellites":34,"speed":7,"hex_longitude":"2d196000","hex_latitude":"07207c60","is_valid_coordinates":true} 
[2026-06-23 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486336001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949037745078272,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954298939392,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-23 11:13:18] 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-06-23 11:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":112460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":112460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":112460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486336001,"66":13961,"103":206,"83":41984,"24":7,"16":3949037745078272,"45":1828742954298939392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486336001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:13:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949037745078272,"km_value":3949037745078.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954298939392,"description":"Unknown IO ID 45"} 
[2026-06-23 11:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486336001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1828742954298939392}} 
[2026-06-23 11:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":112460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:13:19] local.INFO: GPS data processed {"connection_id":112460,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:13:19] local.INFO: Acknowledgment sent {"connection_id":112460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:13:24] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:13:24] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:13:24] local.INFO: IMEI packet received {"connection_id":110717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":110717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:13:29] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:13:29] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:13:29] local.INFO: IMEI packet received {"connection_id":110717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:13:31] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:13:31] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:13:31] local.INFO: Packet analysis {"connection_id":110717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:31] local.INFO: Extracted packet for processing {"connection_id":110717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:13:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:13:31] local.INFO: GPS data processed {"connection_id":110717,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:13:31] local.INFO: Acknowledgment sent {"connection_id":110717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:13:42] local.INFO: TCP Data received {"connection_id":110891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:13:42] local.INFO: Processing buffer {"connection_id":110891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:13:42] local.INFO: IMEI packet received {"connection_id":110891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":110891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:13:46] local.INFO: TCP Data received {"connection_id":110891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:13:46] local.INFO: Processing buffer {"connection_id":110891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:13:46] local.INFO: IMEI packet received {"connection_id":110891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":110891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:13:47] local.INFO: TCP Data received {"connection_id":110891,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2fffbf8012d19528007207b000036011521..."} 
[2026-06-23 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2fffbf8012d19528007207b000036011521..."} 
[2026-06-23 11:13:47] local.INFO: Processing buffer {"connection_id":110891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2fffbf8012d19528007207b000036011521..."} 
[2026-06-23 11:13:47] local.INFO: Packet analysis {"connection_id":110891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:47] local.INFO: Extracted packet for processing {"connection_id":110891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756634240,"raw_latitude":119569152,"longitude_deg":75.663424,"latitude_deg":11.9569152,"altitude":54,"angle":277,"satellites":33,"speed":11,"hex_longitude":"2d195280","hex_latitude":"07207b00","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949205248802816,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828461479322214400,"note":"Value kept but may cause issues"} 
[2026-06-23 11:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782193323000,"timestamp_ms":1782193323000,"timestamp_seconds":1782193323,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2fffbf8"} 
[2026-06-23 11:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:13:47] 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-06-23 11: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-23 11:13:47] 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-06-23 11: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-06-23 11:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":13156,"103":206,"83":41984,"24":11,"16":3949205248802816,"45":1828461479322214400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:13:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949205248802816,"km_value":3949205248802.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828461479322214400,"description":"Unknown IO ID 45"} 
[2026-06-23 11:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":13156,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1828461479322214400}} 
[2026-06-23 11:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":110891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:13:47] local.INFO: GPS data processed {"connection_id":110891,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:13:47] local.INFO: Acknowledgment sent {"connection_id":110891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:14:02] local.INFO: TCP Data received {"connection_id":110717,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:02] local.INFO: Processing buffer {"connection_id":110717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:02] local.INFO: Packet analysis {"connection_id":110717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:14:02] local.INFO: Extracted packet for processing {"connection_id":110717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:14:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:14:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":110717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:14:02] local.INFO: GPS data processed {"connection_id":110717,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:14:02] local.INFO: Acknowledgment sent {"connection_id":110717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:14:18] local.INFO: TCP Data received {"connection_id":110891,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3001750012d194b8007207b10003700f822..."} 
[2026-06-23 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3001750012d194b8007207b10003700f822..."} 
[2026-06-23 11:14:18] local.INFO: Processing buffer {"connection_id":110891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3001750012d194b8007207b10003700f822..."} 
[2026-06-23 11:14:18] local.INFO: Packet analysis {"connection_id":110891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef300"} 
[2026-06-23 11:14:18] local.INFO: Extracted packet for processing {"connection_id":110891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef300"} 
[2026-06-23 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756632448,"raw_latitude":119569168,"longitude_deg":75.6632448,"latitude_deg":11.9569168,"altitude":55,"angle":248,"satellites":34,"speed":7,"hex_longitude":"2d194b80","hex_latitude":"07207b10","is_valid_coordinates":true} 
[2026-06-23 11:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241490688001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949291148148736,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567136530432,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782193330000,"timestamp_ms":1782193330000,"timestamp_seconds":1782193330,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3001750"} 
[2026-06-23 11:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-23 11:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":110891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":110891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":110891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241490688001,"66":13656,"103":206,"83":41984,"24":7,"16":3949291148148736,"45":1824661567136530432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241490688001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:14:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949291148148736,"km_value":3949291148148.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567136530432,"description":"Unknown IO ID 45"} 
[2026-06-23 11:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241490688001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1824661567136530432}} 
[2026-06-23 11:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":110891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:14:18] local.INFO: GPS data processed {"connection_id":110891,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:14:18] local.INFO: Acknowledgment sent {"connection_id":110891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:14:29] local.INFO: TCP Data received {"connection_id":112461,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:14:29] local.INFO: Processing buffer {"connection_id":112461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:14:29] local.INFO: IMEI packet received {"connection_id":112461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":112461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:14:34] local.INFO: TCP Data received {"connection_id":112461,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:14:34] local.INFO: Processing buffer {"connection_id":112461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:14:34] local.INFO: IMEI packet received {"connection_id":112461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":112461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:14:36] local.INFO: TCP Data received {"connection_id":112461,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:36] local.INFO: Processing buffer {"connection_id":112461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:36] local.INFO: Packet analysis {"connection_id":112461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:14:36] local.INFO: Extracted packet for processing {"connection_id":112461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":112461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:14:36] local.INFO: GPS data processed {"connection_id":112461,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:14:36] local.INFO: Acknowledgment sent {"connection_id":112461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:14:40] local.INFO: TCP Data received {"connection_id":112461,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:40] local.INFO: Processing buffer {"connection_id":112461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:14:40] local.INFO: Packet analysis {"connection_id":112461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:14:40] local.INFO: Extracted packet for processing {"connection_id":112461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:14:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:14:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":112461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:14:40] local.INFO: GPS data processed {"connection_id":112461,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:14:40] local.INFO: Acknowledgment sent {"connection_id":112461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:14:42] local.INFO: TCP Data received {"connection_id":110892,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:14:42] local.INFO: Processing buffer {"connection_id":110892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:14:42] local.INFO: IMEI packet received {"connection_id":110892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":110892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:14:48] local.INFO: TCP Data received {"connection_id":110892,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:14:48] local.INFO: Processing buffer {"connection_id":110892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:14:48] local.INFO: IMEI packet received {"connection_id":110892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":110892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:14:49] local.INFO: TCP Data received {"connection_id":110892,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3001b38012d194b0007207aa8003700dc22..."} 
[2026-06-23 11:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3001b38012d194b0007207aa8003700dc22..."} 
[2026-06-23 11:14:49] local.INFO: Processing buffer {"connection_id":110892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3001b38012d194b0007207aa8003700dc22..."} 
[2026-06-23 11:14:49] local.INFO: Packet analysis {"connection_id":110892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef300"} 
[2026-06-23 11:14:49] local.INFO: Extracted packet for processing {"connection_id":110892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef300"} 
[2026-06-23 11:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756632320,"raw_latitude":119569064,"longitude_deg":75.663232,"latitude_deg":11.9569064,"altitude":55,"angle":220,"satellites":34,"speed":5,"hex_longitude":"2d194b00","hex_latitude":"07207aa8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241492480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949299738083328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822691242299559936,"note":"Value kept but may cause issues"} 
[2026-06-23 11:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782193331000,"timestamp_ms":1782193331000,"timestamp_seconds":1782193331,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3001b38"} 
[2026-06-23 11:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-06-23 11:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241492480001,"66":13993,"103":206,"83":41984,"24":5,"16":3949299738083328,"45":1822691242299559936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241492480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:14:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949299738083328,"km_value":3949299738083.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822691242299559936,"description":"Unknown IO ID 45"} 
[2026-06-23 11:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241492480001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1822691242299559936}} 
[2026-06-23 11:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":110892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:14:49] local.INFO: GPS data processed {"connection_id":110892,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:14:49] local.INFO: Acknowledgment sent {"connection_id":110892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:15:20] local.INFO: TCP Data received {"connection_id":110892,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3001f20012d194ac007207a08003700bc22..."} 
[2026-06-23 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3001f20012d194ac007207a08003700bc22..."} 
[2026-06-23 11:15:20] local.INFO: Processing buffer {"connection_id":110892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3001f20012d194ac007207a08003700bc22..."} 
[2026-06-23 11:15:20] local.INFO: Packet analysis {"connection_id":110892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef300"} 
[2026-06-23 11:15:20] local.INFO: Extracted packet for processing {"connection_id":110892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef300"} 
[2026-06-23 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756632256,"raw_latitude":119568904,"longitude_deg":75.6632256,"latitude_deg":11.9568904,"altitude":55,"angle":188,"satellites":34,"speed":6,"hex_longitude":"2d194ac0","hex_latitude":"07207a08","is_valid_coordinates":true} 
[2026-06-23 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241492736001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949308328017920,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822550504811177984,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782193332000,"timestamp_ms":1782193332000,"timestamp_seconds":1782193332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3001f20"} 
[2026-06-23 11:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:15:20] 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-06-23 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 11:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241492736001,"66":13993,"103":206,"83":41984,"24":6,"16":3949308328017920,"45":1822550504811177984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241492736001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:15:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949308328017920,"km_value":3949308328017.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822550504811177984,"description":"Unknown IO ID 45"} 
[2026-06-23 11:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241492736001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1822550504811177984}} 
[2026-06-23 11:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":110892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:15:20] local.INFO: GPS data processed {"connection_id":110892,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:15:20] local.INFO: Acknowledgment sent {"connection_id":110892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:15:25] local.INFO: TCP Data received {"connection_id":111517,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:15:25] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:15:25] local.INFO: IMEI packet received {"connection_id":111517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":111517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:15:29] local.INFO: TCP Data received {"connection_id":111517,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:15:29] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:15:29] local.INFO: IMEI packet received {"connection_id":111517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":111517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:15:31] local.INFO: TCP Data received {"connection_id":111517,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:15:31] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:15:31] local.INFO: Packet analysis {"connection_id":111517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:15:31] local.INFO: Extracted packet for processing {"connection_id":111517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:15:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:15:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:15:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":111517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:15:31] local.INFO: GPS data processed {"connection_id":111517,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:15:31] local.INFO: Acknowledgment sent {"connection_id":111517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:15:43] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:43] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:43] local.INFO: IMEI packet received {"connection_id":111518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":111518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:15:47] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:47] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:47] local.INFO: IMEI packet received {"connection_id":111518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":111518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:15:52] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:52] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:15:52] local.INFO: IMEI packet received {"connection_id":111518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":111518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:15:53] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3024200012d1947c007207328003a015d21..."} 
[2026-06-23 11:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3024200012d1947c007207328003a015d21..."} 
[2026-06-23 11:15:53] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3024200012d1947c007207328003a015d21..."} 
[2026-06-23 11:15:53] local.INFO: Packet analysis {"connection_id":111518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef302"} 
[2026-06-23 11:15:53] local.INFO: Extracted packet for processing {"connection_id":111518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef302"} 
[2026-06-23 11:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756631488,"raw_latitude":119567144,"longitude_deg":75.6631488,"latitude_deg":11.9567144,"altitude":58,"angle":349,"satellites":33,"speed":0,"hex_longitude":"2d1947c0","hex_latitude":"07207328","is_valid_coordinates":true} 
[2026-06-23 11:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241523456001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949462946840576,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821635711136376832,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782193472000,"timestamp_ms":1782193472000,"timestamp_seconds":1782193472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3024200"} 
[2026-06-23 11:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 11:15:53] 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-06-23 11:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241523456001,"66":14026,"103":206,"83":41984,"24":0,"16":3949462946840576,"45":1821635711136376832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241523456001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:15:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949462946840576,"km_value":3949462946840.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821635711136376832,"description":"Unknown IO ID 45"} 
[2026-06-23 11:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241523456001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821635711136376832}} 
[2026-06-23 11:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":111518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:15:53] local.INFO: GPS data processed {"connection_id":111518,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:15:53] local.INFO: Acknowledgment sent {"connection_id":111518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:15:54] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3029408012d1947c007207328003a015d22..."} 
[2026-06-23 11:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3029408012d1947c007207328003a015d22..."} 
[2026-06-23 11:15:54] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3029408012d1947c007207328003a015d22..."} 
[2026-06-23 11:15:54] local.INFO: Packet analysis {"connection_id":111518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef302"} 
[2026-06-23 11:15:54] local.INFO: Extracted packet for processing {"connection_id":111518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef302"} 
[2026-06-23 11:15:54] local.INFO: GPS Element Parsed {"raw_longitude":756631488,"raw_latitude":119567144,"longitude_deg":75.6631488,"latitude_deg":11.9567144,"altitude":58,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d1947c0","hex_latitude":"07207328","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241528832001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949462946840576,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821635711136376832,"note":"Value kept but may cause issues"} 
[2026-06-23 11:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782193493000,"timestamp_ms":1782193493000,"timestamp_seconds":1782193493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3029408"} 
[2026-06-23 11:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:15: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-06-23 11:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-23 11:15:54] 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-06-23 11:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":111518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241528832001,"66":14189,"103":206,"83":41984,"24":0,"16":3949462946840576,"45":1821635711136376832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241528832001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:15:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:15:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949462946840576,"km_value":3949462946840.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821635711136376832,"description":"Unknown IO ID 45"} 
[2026-06-23 11:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241528832001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821635711136376832}} 
[2026-06-23 11:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":111518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:15:54] local.INFO: GPS data processed {"connection_id":111518,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:15:54] local.INFO: Acknowledgment sent {"connection_id":111518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:16:03] local.INFO: TCP Data received {"connection_id":111517,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:16:03] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:16:03] local.INFO: Packet analysis {"connection_id":111517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:16:03] local.INFO: Extracted packet for processing {"connection_id":111517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 11:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":111517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:16:03] local.INFO: GPS data processed {"connection_id":111517,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:16:03] local.INFO: Acknowledgment sent {"connection_id":111517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:16:24] local.INFO: TCP Data received {"connection_id":110718,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:16:24] local.INFO: Processing buffer {"connection_id":110718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:16:24] local.INFO: IMEI packet received {"connection_id":110718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":110718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:16:25] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef302c2e8012d1947c0072071800039008d22..."} 
[2026-06-23 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef302c2e8012d1947c0072071800039008d22..."} 
[2026-06-23 11:16:25] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef302c2e8012d1947c0072071800039008d22..."} 
[2026-06-23 11:16:25] local.INFO: Packet analysis {"connection_id":111518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef302"} 
[2026-06-23 11:16:25] local.INFO: Extracted packet for processing {"connection_id":111518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef302"} 
[2026-06-23 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756631488,"raw_latitude":119566720,"longitude_deg":75.6631488,"latitude_deg":11.956672,"altitude":57,"angle":141,"satellites":34,"speed":1,"hex_longitude":"2d1947c0","hex_latitude":"07207180","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241534208001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3949484421677056,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821635711136376832,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782193505000,"timestamp_ms":1782193505000,"timestamp_seconds":1782193505,"priority":1,"record_length":96,"hex_timestamp":"0000019ef302c2e8"} 
[2026-06-23 11:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:16: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-06-23 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 11:16:25] 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-06-23 11: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-06-23 11:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241534208001,"66":13439,"103":206,"83":41984,"24":1,"16":3949484421677056,"45":1821635711136376832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 11:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241534208001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:16:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 11:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3949484421677056,"km_value":3949484421677.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821635711136376832,"description":"Unknown IO ID 45"} 
[2026-06-23 11:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241534208001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1821635711136376832}} 
[2026-06-23 11:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":111518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:16:25] local.INFO: GPS data processed {"connection_id":111518,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:16:25] local.INFO: Acknowledgment sent {"connection_id":111518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:16:29] local.INFO: TCP Data received {"connection_id":110718,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:16:29] local.INFO: Processing buffer {"connection_id":110718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:16:29] local.INFO: IMEI packet received {"connection_id":110718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":110718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:16:31] local.INFO: TCP Data received {"connection_id":110718,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:16:31] local.INFO: Processing buffer {"connection_id":110718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:16:31] local.INFO: Packet analysis {"connection_id":110718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:16:31] local.INFO: Extracted packet for processing {"connection_id":110718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 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-06-23 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:16:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":110718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:16:31] local.INFO: GPS data processed {"connection_id":110718,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:16:31] local.INFO: Acknowledgment sent {"connection_id":110718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:16:38] local.INFO: TCP Data received {"connection_id":110893,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:16:38] local.INFO: Processing buffer {"connection_id":110893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:16:38] local.INFO: IMEI packet received {"connection_id":110893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":110893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:17:02] local.INFO: TCP Data received {"connection_id":110718,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:17:03] local.INFO: Processing buffer {"connection_id":110718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef2ffbd78012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:17:03] local.INFO: Packet analysis {"connection_id":110718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:17:03] local.INFO: Extracted packet for processing {"connection_id":110718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef2ff"} 
[2026-06-23 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241409536001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782193307000,"timestamp_ms":1782193307000,"timestamp_seconds":1782193307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef2ffbd78"} 
[2026-06-23 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-06-23 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241409536001,"66":25093,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241409536001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241409536001,"power":25093,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":110718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:17:03] local.INFO: GPS data processed {"connection_id":110718,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:17:03] local.INFO: Acknowledgment sent {"connection_id":110718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:17:24] local.INFO: TCP Data received {"connection_id":112463,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:24] local.INFO: Processing buffer {"connection_id":112463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:24] local.INFO: IMEI packet received {"connection_id":112463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":112463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:17:26] local.INFO: TCP Data received {"connection_id":112463,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:26] local.INFO: Processing buffer {"connection_id":112463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:26] local.INFO: IMEI packet received {"connection_id":112463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":112463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:17:29] local.INFO: TCP Data received {"connection_id":112463,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:29] local.INFO: Processing buffer {"connection_id":112463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:17:29] local.INFO: IMEI packet received {"connection_id":112463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":112463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:17:31] local.INFO: TCP Data received {"connection_id":112463,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:17:31] local.INFO: Processing buffer {"connection_id":112463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:17:31] local.INFO: Packet analysis {"connection_id":112463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:17:31] local.INFO: Extracted packet for processing {"connection_id":112463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:17:31] 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-06-23 11:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:17:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:17:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":112463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:17:31] local.INFO: GPS data processed {"connection_id":112463,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:17:31] local.INFO: Acknowledgment sent {"connection_id":112463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:18:03] local.INFO: TCP Data received {"connection_id":112463,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:18:03] local.INFO: Processing buffer {"connection_id":112463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:18:03] local.INFO: Packet analysis {"connection_id":112463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:18:03] local.INFO: Extracted packet for processing {"connection_id":112463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:18:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:18:03] 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-06-23 11:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":112463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:18:03] local.INFO: GPS data processed {"connection_id":112463,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:18:03] local.INFO: Acknowledgment sent {"connection_id":112463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:18:22] local.INFO: TCP Data received {"connection_id":111521,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:18:22] local.INFO: Processing buffer {"connection_id":111521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:18:22] local.INFO: IMEI packet received {"connection_id":111521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":111521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:18:25] local.INFO: TCP Data received {"connection_id":112464,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:18:25] local.INFO: Processing buffer {"connection_id":112464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:18:25] local.INFO: IMEI packet received {"connection_id":112464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":112464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:18:29] local.INFO: TCP Data received {"connection_id":112464,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:18:29] local.INFO: Processing buffer {"connection_id":112464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:18:29] local.INFO: IMEI packet received {"connection_id":112464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":112464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:18:31] local.INFO: TCP Data received {"connection_id":112464,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:18:31] local.INFO: Processing buffer {"connection_id":112464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:18:31] local.INFO: Packet analysis {"connection_id":112464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:18:31] local.INFO: Extracted packet for processing {"connection_id":112464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 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-06-23 11:18:31] 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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:18:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:18:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":112464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:18:31] local.INFO: GPS data processed {"connection_id":112464,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:18:31] local.INFO: Acknowledgment sent {"connection_id":112464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:19:03] local.INFO: TCP Data received {"connection_id":112464,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:19:03] local.INFO: Processing buffer {"connection_id":112464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:19:03] local.INFO: Packet analysis {"connection_id":112464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:19:03] local.INFO: Extracted packet for processing {"connection_id":112464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 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-06-23 11:19:03] 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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:19:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:19:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":112464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:19:03] local.INFO: GPS data processed {"connection_id":112464,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:19:03] local.INFO: Acknowledgment sent {"connection_id":112464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:19:07] local.INFO: TCP Data received {"connection_id":110894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:19:07] local.INFO: Processing buffer {"connection_id":110894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:19:07] local.INFO: IMEI packet received {"connection_id":110894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":110894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:19:24] local.INFO: TCP Data received {"connection_id":112465,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:19:24] local.INFO: Processing buffer {"connection_id":112465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:19:24] local.INFO: IMEI packet received {"connection_id":112465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":112465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:19:29] local.INFO: TCP Data received {"connection_id":112465,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:19:29] local.INFO: Processing buffer {"connection_id":112465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:19:29] local.INFO: IMEI packet received {"connection_id":112465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":112465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:19:31] local.INFO: TCP Data received {"connection_id":112465,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:19:31] local.INFO: Processing buffer {"connection_id":112465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:19:31] local.INFO: Packet analysis {"connection_id":112465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:19:31] local.INFO: Extracted packet for processing {"connection_id":112465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:19:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:19:31] 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-06-23 11:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:19:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:19:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":112465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:19:31] local.INFO: GPS data processed {"connection_id":112465,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:19:31] local.INFO: Acknowledgment sent {"connection_id":112465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:19:34] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:34] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:34] local.INFO: IMEI packet received {"connection_id":111522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":111522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:19:35] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:35] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:35] local.INFO: IMEI packet received {"connection_id":111522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":111522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:19:39] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:39] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:19:39] local.INFO: IMEI packet received {"connection_id":111522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":111522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:19:40] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef305d7f8012d196840071fed280042006123..."} 
[2026-06-23 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef305d7f8012d196840071fed280042006123..."} 
[2026-06-23 11:19:40] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef305d7f8012d196840071fed280042006123..."} 
[2026-06-23 11:19:40] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef305"} 
[2026-06-23 11:19:40] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef305"} 
[2026-06-23 11:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:19:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 11:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782193707000,"timestamp_ms":1782193707000,"timestamp_seconds":1782193707,"priority":1,"record_length":96,"hex_timestamp":"0000019ef305d7f8"} 
[2026-06-23 11:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-23 11:19:40] 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-06-23 11: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-06-23 11:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13135,"102":206,"83":41984,"24":0,"16":3952078581923840},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16]} 
[2026-06-23 11:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-23 11:19:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:19:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-06-23 11:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:19:40] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:19:40] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:20:02] local.INFO: TCP Data received {"connection_id":112465,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:20:02] local.INFO: Processing buffer {"connection_id":112465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:20:02] local.INFO: Packet analysis {"connection_id":112465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:20:02] local.INFO: Extracted packet for processing {"connection_id":112465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:20:02] 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-06-23 11: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:20:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:20:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:20:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":112465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:20:02] local.INFO: GPS data processed {"connection_id":112465,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:20:02] local.INFO: Acknowledgment sent {"connection_id":112465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:20:11] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3064d28012d196840071fed280042006122..."} 
[2026-06-23 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3064d28012d196840071fed280042006122..."} 
[2026-06-23 11:20:11] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3064d28012d196840071fed280042006122..."} 
[2026-06-23 11:20:11] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef306"} 
[2026-06-23 11:20:11] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef306"} 
[2026-06-23 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241588992001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782193737000,"timestamp_ms":1782193737000,"timestamp_seconds":1782193737,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3064d28"} 
[2026-06-23 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-06-23 11:20:11] 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-06-23 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 11:20:11] 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-06-23 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-06-23 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-06-23 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241588992001,"66":12863,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241588992001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241588992001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:20:11] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:20:11] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:20:24] local.INFO: TCP Data received {"connection_id":112466,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:20:24] local.INFO: Processing buffer {"connection_id":112466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:20:24] local.INFO: IMEI packet received {"connection_id":112466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":112466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:20:29] local.INFO: TCP Data received {"connection_id":112466,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:20:29] local.INFO: Processing buffer {"connection_id":112466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:20:29] local.INFO: IMEI packet received {"connection_id":112466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":112466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:20:31] local.INFO: TCP Data received {"connection_id":112466,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:20:31] local.INFO: Processing buffer {"connection_id":112466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:20:31] local.INFO: Packet analysis {"connection_id":112466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:20:31] local.INFO: Extracted packet for processing {"connection_id":112466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:20:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:20:31] 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-06-23 11:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:20:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":112466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:20:31] local.INFO: GPS data processed {"connection_id":112466,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:20:31] local.INFO: Acknowledgment sent {"connection_id":112466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:20:42] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3069f30012d196840071fed280042006120..."} 
[2026-06-23 11:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3069f30012d196840071fed280042006120..."} 
[2026-06-23 11:20:42] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3069f30012d196840071fed280042006120..."} 
[2026-06-23 11:20:42] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef306"} 
[2026-06-23 11:20:42] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef306"} 
[2026-06-23 11:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241596672001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782193758000,"timestamp_ms":1782193758000,"timestamp_seconds":1782193758,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3069f30"} 
[2026-06-23 11:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 11:20:42] 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-06-23 11: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-06-23 11:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241596672001,"66":13080,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241596672001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241596672001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:20:42] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:20:42] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:21:03] local.INFO: TCP Data received {"connection_id":112466,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:03] local.INFO: Processing buffer {"connection_id":112466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:03] local.INFO: Packet analysis {"connection_id":112466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:21:03] local.INFO: Extracted packet for processing {"connection_id":112466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:21:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:21:03] 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-06-23 11:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":112466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:21:03] local.INFO: GPS data processed {"connection_id":112466,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:21:03] local.INFO: Acknowledgment sent {"connection_id":112466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:21:13] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef306f138012d196840071fed280042006121..."} 
[2026-06-23 11:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef306f138012d196840071fed280042006121..."} 
[2026-06-23 11:21:13] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef306f138012d196840071fed280042006121..."} 
[2026-06-23 11:21:13] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef306"} 
[2026-06-23 11:21:13] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef306"} 
[2026-06-23 11:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241602048001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782193779000,"timestamp_ms":1782193779000,"timestamp_seconds":1782193779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef306f138"} 
[2026-06-23 11:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:21: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-06-23 11: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-23 11:21:13] 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-06-23 11: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-06-23 11:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241602048001,"66":13048,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241602048001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:21:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241602048001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:21:13] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:21:13] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:21:29] local.INFO: TCP Data received {"connection_id":110896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:21:29] local.INFO: Processing buffer {"connection_id":110896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:21:29] local.INFO: IMEI packet received {"connection_id":110896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":110896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:21:34] local.INFO: TCP Data received {"connection_id":110896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:21:34] local.INFO: Processing buffer {"connection_id":110896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:21:34] local.INFO: IMEI packet received {"connection_id":110896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":110896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:21:36] local.INFO: TCP Data received {"connection_id":110896,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:36] local.INFO: Processing buffer {"connection_id":110896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:36] local.INFO: Packet analysis {"connection_id":110896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:21:36] local.INFO: Extracted packet for processing {"connection_id":110896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:21: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-06-23 11:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":110896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:21:36] local.INFO: GPS data processed {"connection_id":110896,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:21:36] local.INFO: Acknowledgment sent {"connection_id":110896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:21:40] local.INFO: TCP Data received {"connection_id":110896,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:40] local.INFO: Processing buffer {"connection_id":110896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3045540012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:21:40] local.INFO: Packet analysis {"connection_id":110896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:21:40] local.INFO: Extracted packet for processing {"connection_id":110896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef304"} 
[2026-06-23 11:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:21: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-06-23 11:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241486592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782193608000,"timestamp_ms":1782193608000,"timestamp_seconds":1782193608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3045540"} 
[2026-06-23 11:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:21:40] 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-06-23 11:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 11:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:21: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-06-23 11:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241486592001,"66":25625,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241486592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:21:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241486592001,"power":25625,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":110896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:21:40] local.INFO: GPS data processed {"connection_id":110896,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:21:40] local.INFO: Acknowledgment sent {"connection_id":110896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:21:44] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3074340012d196840071fed280042006122..."} 
[2026-06-23 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3074340012d196840071fed280042006122..."} 
[2026-06-23 11:21:44] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3074340012d196840071fed280042006122..."} 
[2026-06-23 11:21:44] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef307"} 
[2026-06-23 11:21:44] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef307"} 
[2026-06-23 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241607424001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782193800000,"timestamp_ms":1782193800000,"timestamp_seconds":1782193800,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3074340"} 
[2026-06-23 11:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 11:21:44] 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-06-23 11: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-06-23 11:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241607424001,"66":12972,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241607424001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241607424001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:21:44] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:21:44] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:22:15] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3079548012d196840071fed28004200611f..."} 
[2026-06-23 11:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3079548012d196840071fed28004200611f..."} 
[2026-06-23 11:22:15] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3079548012d196840071fed28004200611f..."} 
[2026-06-23 11:22:15] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef307"} 
[2026-06-23 11:22:15] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef307"} 
[2026-06-23 11:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241612800001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782193821000,"timestamp_ms":1782193821000,"timestamp_seconds":1782193821,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3079548"} 
[2026-06-23 11:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:22:15] 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-06-23 11:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-23 11:22:15] 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-06-23 11:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241612800001,"66":12982,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241612800001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:22:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241612800001,"power":12982,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:22:15] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:22:15] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:22:24] local.INFO: TCP Data received {"connection_id":111523,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:22:24] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:22:24] local.INFO: IMEI packet received {"connection_id":111523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":111523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:22:27] local.INFO: TCP Data received {"connection_id":111523,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:22:27] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:22:27] local.INFO: IMEI packet received {"connection_id":111523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":111523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:22:29] local.INFO: TCP Data received {"connection_id":111523,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:22:29] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:22:29] local.INFO: Packet analysis {"connection_id":111523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:22:29] local.INFO: Extracted packet for processing {"connection_id":111523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:22:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:22:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:22:29] local.INFO: GPS data processed {"connection_id":111523,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:22:29] local.INFO: Acknowledgment sent {"connection_id":111523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:22:46] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef307e750012d196840071fed280042006120..."} 
[2026-06-23 11:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef307e750012d196840071fed280042006120..."} 
[2026-06-23 11:22:46] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef307e750012d196840071fed280042006120..."} 
[2026-06-23 11:22:46] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef307"} 
[2026-06-23 11:22:46] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef307"} 
[2026-06-23 11:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241618176001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782193842000,"timestamp_ms":1782193842000,"timestamp_seconds":1782193842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef307e750"} 
[2026-06-23 11:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 11:22:46] 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-06-23 11:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241618176001,"66":12928,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241618176001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241618176001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:22:46] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:22:46] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:23:00] local.INFO: TCP Data received {"connection_id":111523,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:23:00] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:23:00] local.INFO: Packet analysis {"connection_id":111523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:00] local.INFO: Extracted packet for processing {"connection_id":111523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:23:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:23:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:23:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":111523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:23:00] local.INFO: GPS data processed {"connection_id":111523,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:23:00] local.INFO: Acknowledgment sent {"connection_id":111523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:23:17] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3083958012d196840071fed28004200611f..."} 
[2026-06-23 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3083958012d196840071fed28004200611f..."} 
[2026-06-23 11:23:17] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3083958012d196840071fed28004200611f..."} 
[2026-06-23 11:23:17] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:17] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241623552001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782193863000,"timestamp_ms":1782193863000,"timestamp_seconds":1782193863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3083958"} 
[2026-06-23 11:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:23: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-06-23 11:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-23 11:23:17] 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-06-23 11:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241623552001,"66":12939,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241623552001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241623552001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:23:17] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:23:17] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:23:24] local.INFO: TCP Data received {"connection_id":110897,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:23:24] local.INFO: Processing buffer {"connection_id":110897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:23:24] local.INFO: IMEI packet received {"connection_id":110897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":110897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:23:29] local.INFO: TCP Data received {"connection_id":110897,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:23:29] local.INFO: Processing buffer {"connection_id":110897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:23:29] local.INFO: IMEI packet received {"connection_id":110897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":110897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:23:31] local.INFO: TCP Data received {"connection_id":110897,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:23:31] local.INFO: Processing buffer {"connection_id":110897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:23:31] local.INFO: Packet analysis {"connection_id":110897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:31] local.INFO: Extracted packet for processing {"connection_id":110897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:23:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:23:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":110897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:23:31] local.INFO: GPS data processed {"connection_id":110897,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:23:31] local.INFO: Acknowledgment sent {"connection_id":110897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:23:48] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3088b60012d196840071fed28004200611f..."} 
[2026-06-23 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3088b60012d196840071fed28004200611f..."} 
[2026-06-23 11:23:48] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3088b60012d196840071fed28004200611f..."} 
[2026-06-23 11:23:48] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:48] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241628928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782193884000,"timestamp_ms":1782193884000,"timestamp_seconds":1782193884,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3088b60"} 
[2026-06-23 11:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 11:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241628928001,"66":12885,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241628928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:23:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241628928001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:23:48] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:23:48] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:24:02] local.INFO: TCP Data received {"connection_id":110897,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:02] local.INFO: Processing buffer {"connection_id":110897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:02] local.INFO: Packet analysis {"connection_id":110897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:02] local.INFO: Extracted packet for processing {"connection_id":110897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:24:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":110897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:24:02] local.INFO: GPS data processed {"connection_id":110897,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:24:02] local.INFO: Acknowledgment sent {"connection_id":110897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:24:14] local.INFO: TCP Data received {"connection_id":112468,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:24:14] local.INFO: Processing buffer {"connection_id":112468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:24:14] local.INFO: IMEI packet received {"connection_id":112468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":112468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:24:19] local.INFO: TCP Data received {"connection_id":112468,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:24:19] local.INFO: Processing buffer {"connection_id":112468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:24:19] local.INFO: IMEI packet received {"connection_id":112468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":112468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:24:20] local.INFO: TCP Data received {"connection_id":112468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308dd68012d196840071fed280042006120..."} 
[2026-06-23 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308dd68012d196840071fed280042006120..."} 
[2026-06-23 11:24:20] local.INFO: Processing buffer {"connection_id":112468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308dd68012d196840071fed280042006120..."} 
[2026-06-23 11:24:20] local.INFO: Packet analysis {"connection_id":112468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:20] local.INFO: Extracted packet for processing {"connection_id":112468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241634304001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782193905000,"timestamp_ms":1782193905000,"timestamp_seconds":1782193905,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308dd68"} 
[2026-06-23 11:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:24:20] 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-06-23 11:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 11:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241634304001,"66":12863,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241634304001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:24:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241634304001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":112468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:24:20] local.INFO: GPS data processed {"connection_id":112468,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:24:20] local.INFO: Acknowledgment sent {"connection_id":112468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:24:29] local.INFO: TCP Data received {"connection_id":111524,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:24:29] local.INFO: Processing buffer {"connection_id":111524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:24:29] local.INFO: IMEI packet received {"connection_id":111524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":111524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:24:32] local.INFO: TCP Data received {"connection_id":110721,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:24:32] local.INFO: Processing buffer {"connection_id":110721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:24:32] local.INFO: IMEI packet received {"connection_id":110721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":110721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:24:38] local.INFO: TCP Data received {"connection_id":111524,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:24:38] local.INFO: Processing buffer {"connection_id":111524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:24:38] local.INFO: IMEI packet received {"connection_id":111524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":111524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:24:42] local.INFO: TCP Data received {"connection_id":111524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:42] local.INFO: Processing buffer {"connection_id":111524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:42] local.INFO: Packet analysis {"connection_id":111524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:42] local.INFO: Extracted packet for processing {"connection_id":111524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:24:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:24:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":111524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:24:42] local.INFO: GPS data processed {"connection_id":111524,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:24:42] local.INFO: Acknowledgment sent {"connection_id":111524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:24:43] local.INFO: TCP Data received {"connection_id":111524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:43] local.INFO: Processing buffer {"connection_id":111524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:24:43] local.INFO: Packet analysis {"connection_id":111524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:43] local.INFO: Extracted packet for processing {"connection_id":111524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:24:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:24:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":111524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:24:43] local.INFO: GPS data processed {"connection_id":111524,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:24:43] local.INFO: Acknowledgment sent {"connection_id":111524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:24:50] local.INFO: TCP Data received {"connection_id":112468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3092f70012d196840071fed280042006121..."} 
[2026-06-23 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3092f70012d196840071fed280042006121..."} 
[2026-06-23 11:24:50] local.INFO: Processing buffer {"connection_id":112468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3092f70012d196840071fed280042006121..."} 
[2026-06-23 11:24:50] local.INFO: Packet analysis {"connection_id":112468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef309"} 
[2026-06-23 11:24:50] local.INFO: Extracted packet for processing {"connection_id":112468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef309"} 
[2026-06-23 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241639680001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782193926000,"timestamp_ms":1782193926000,"timestamp_seconds":1782193926,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3092f70"} 
[2026-06-23 11:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 11:24:50] 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-06-23 11: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-06-23 11:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241639680001,"66":12863,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241639680001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241639680001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":112468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:24:50] local.INFO: GPS data processed {"connection_id":112468,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:24:50] local.INFO: Acknowledgment sent {"connection_id":112468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:25:07] local.INFO: TCP Data received {"connection_id":110898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:25:07] local.INFO: Processing buffer {"connection_id":110898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:25:07] local.INFO: IMEI packet received {"connection_id":110898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":110898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:25:21] local.INFO: TCP Data received {"connection_id":112468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3098178012d196840071fed280042006120..."} 
[2026-06-23 11:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3098178012d196840071fed280042006120..."} 
[2026-06-23 11:25:21] local.INFO: Processing buffer {"connection_id":112468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3098178012d196840071fed280042006120..."} 
[2026-06-23 11:25:21] local.INFO: Packet analysis {"connection_id":112468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef309"} 
[2026-06-23 11:25:21] local.INFO: Extracted packet for processing {"connection_id":112468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef309"} 
[2026-06-23 11:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241645056001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782193947000,"timestamp_ms":1782193947000,"timestamp_seconds":1782193947,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3098178"} 
[2026-06-23 11:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:25:21] 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-06-23 11:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 11:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241645056001,"66":12841,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241645056001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:25:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241645056001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":112468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:25:22] local.INFO: GPS data processed {"connection_id":112468,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:25:22] local.INFO: Acknowledgment sent {"connection_id":112468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:25:24] local.INFO: TCP Data received {"connection_id":112469,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:25:24] local.INFO: Processing buffer {"connection_id":112469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:25:24] local.INFO: IMEI packet received {"connection_id":112469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":112469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:25:30] local.INFO: TCP Data received {"connection_id":112469,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:25:30] local.INFO: Processing buffer {"connection_id":112469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:25:30] local.INFO: IMEI packet received {"connection_id":112469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":112469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:25:31] local.INFO: TCP Data received {"connection_id":112469,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:25:31] local.INFO: Processing buffer {"connection_id":112469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:25:31] local.INFO: Packet analysis {"connection_id":112469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:25:31] local.INFO: Extracted packet for processing {"connection_id":112469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:25:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:25:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:25:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":112469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:25:31] local.INFO: GPS data processed {"connection_id":112469,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:25:31] local.INFO: Acknowledgment sent {"connection_id":112469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:25:35] local.INFO: TCP Data received {"connection_id":112469,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:25:35] local.INFO: Processing buffer {"connection_id":112469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:25:35] local.INFO: Packet analysis {"connection_id":112469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:25:35] local.INFO: Extracted packet for processing {"connection_id":112469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:25:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:25:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":112469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:25:35] local.INFO: GPS data processed {"connection_id":112469,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:25:35] local.INFO: Acknowledgment sent {"connection_id":112469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:25:53] local.INFO: TCP Data received {"connection_id":112468,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef309d380012d196840071fed28004200611f..."} 
[2026-06-23 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef309d380012d196840071fed28004200611f..."} 
[2026-06-23 11:25:53] local.INFO: Processing buffer {"connection_id":112468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef309d380012d196840071fed28004200611f..."} 
[2026-06-23 11:25:53] local.INFO: Packet analysis {"connection_id":112468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef309"} 
[2026-06-23 11:25:53] local.INFO: Extracted packet for processing {"connection_id":112468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef309"} 
[2026-06-23 11:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241650432001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782193968000,"timestamp_ms":1782193968000,"timestamp_seconds":1782193968,"priority":1,"record_length":96,"hex_timestamp":"0000019ef309d380"} 
[2026-06-23 11:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 11:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241650432001,"66":12841,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241650432001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:25:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241650432001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":112468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:25:53] local.INFO: GPS data processed {"connection_id":112468,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:25:53] local.INFO: Acknowledgment sent {"connection_id":112468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:26:07] local.INFO: TCP Data received {"connection_id":112469,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:26:07] local.INFO: Processing buffer {"connection_id":112469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:26:07] local.INFO: Packet analysis {"connection_id":112469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:26:07] local.INFO: Extracted packet for processing {"connection_id":112469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:26:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:26:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":112469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:26:07] local.INFO: GPS data processed {"connection_id":112469,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:26:07] local.INFO: Acknowledgment sent {"connection_id":112469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:26:14] local.INFO: TCP Data received {"connection_id":110723,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:14] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:14] local.INFO: IMEI packet received {"connection_id":110723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":110723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:26:14] local.INFO: TCP Data received {"connection_id":110723,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:14] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:14] local.INFO: IMEI packet received {"connection_id":110723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":110723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:26:19] local.INFO: TCP Data received {"connection_id":110723,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:19] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:26:19] local.INFO: IMEI packet received {"connection_id":110723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":110723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:26:20] local.INFO: TCP Data received {"connection_id":110723,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30a2588012d196840071fed280042006121..."} 
[2026-06-23 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30a2588012d196840071fed280042006121..."} 
[2026-06-23 11:26:20] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30a2588012d196840071fed280042006121..."} 
[2026-06-23 11:26:20] local.INFO: Packet analysis {"connection_id":110723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30a"} 
[2026-06-23 11:26:20] local.INFO: Extracted packet for processing {"connection_id":110723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30a"} 
[2026-06-23 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241655808001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782193989000,"timestamp_ms":1782193989000,"timestamp_seconds":1782193989,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30a2588"} 
[2026-06-23 11:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:26:20] 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-06-23 11:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 11:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241655808001,"66":12776,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241655808001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:26:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:26:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241655808001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":110723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:26:20] local.INFO: GPS data processed {"connection_id":110723,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:26:20] local.INFO: Acknowledgment sent {"connection_id":110723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:26:25] local.INFO: TCP Data received {"connection_id":112470,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:26:25] local.INFO: Processing buffer {"connection_id":112470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:26:25] local.INFO: IMEI packet received {"connection_id":112470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":112470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:26:29] local.INFO: TCP Data received {"connection_id":112470,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:26:29] local.INFO: Processing buffer {"connection_id":112470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:26:29] local.INFO: IMEI packet received {"connection_id":112470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":112470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:26:31] local.INFO: TCP Data received {"connection_id":112470,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:26:31] local.INFO: Processing buffer {"connection_id":112470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:26:31] local.INFO: Packet analysis {"connection_id":112470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:26:31] local.INFO: Extracted packet for processing {"connection_id":112470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:26:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":112470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:26:31] local.INFO: GPS data processed {"connection_id":112470,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:26:31] local.INFO: Acknowledgment sent {"connection_id":112470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:26:51] local.INFO: TCP Data received {"connection_id":110723,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30a7790012d196840071fed280042006121..."} 
[2026-06-23 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30a7790012d196840071fed280042006121..."} 
[2026-06-23 11:26:51] local.INFO: Processing buffer {"connection_id":110723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30a7790012d196840071fed280042006121..."} 
[2026-06-23 11:26:51] local.INFO: Packet analysis {"connection_id":110723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30a"} 
[2026-06-23 11:26:51] local.INFO: Extracted packet for processing {"connection_id":110723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30a"} 
[2026-06-23 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241661184001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194010000,"timestamp_ms":1782194010000,"timestamp_seconds":1782194010,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30a7790"} 
[2026-06-23 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-23 11:26:51] 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-06-23 11:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241661184001,"66":12809,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241661184001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241661184001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":110723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:26:51] local.INFO: GPS data processed {"connection_id":110723,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:26:51] local.INFO: Acknowledgment sent {"connection_id":110723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:27:02] local.INFO: TCP Data received {"connection_id":112470,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:27:02] local.INFO: Processing buffer {"connection_id":112470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef308ed08012cb29b8007823df8004a00cf24..."} 
[2026-06-23 11:27:02] local.INFO: Packet analysis {"connection_id":112470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:27:02] local.INFO: Extracted packet for processing {"connection_id":112470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef308"} 
[2026-06-23 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241563648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782193909000,"timestamp_ms":1782193909000,"timestamp_seconds":1782193909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef308ed08"} 
[2026-06-23 11:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 11:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241563648001,"66":25593,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 11:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241563648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:27:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 11:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241563648001,"power":25593,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":112470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:27:02] local.INFO: GPS data processed {"connection_id":112470,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:27:02] local.INFO: Acknowledgment sent {"connection_id":112470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:27:14] local.INFO: TCP Data received {"connection_id":110899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:14] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:14] local.INFO: IMEI packet received {"connection_id":110899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":110899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:27:17] local.INFO: TCP Data received {"connection_id":110899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:17] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:17] local.INFO: IMEI packet received {"connection_id":110899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":110899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:27:19] local.INFO: TCP Data received {"connection_id":110899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:19] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:27:19] local.INFO: IMEI packet received {"connection_id":110899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":110899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:27:20] local.INFO: TCP Data received {"connection_id":110899,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30ac998012d196840071fed280042006121..."} 
[2026-06-23 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30ac998012d196840071fed280042006121..."} 
[2026-06-23 11:27:20] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30ac998012d196840071fed280042006121..."} 
[2026-06-23 11:27:20] local.INFO: Packet analysis {"connection_id":110899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30a"} 
[2026-06-23 11:27:20] local.INFO: Extracted packet for processing {"connection_id":110899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30a"} 
[2026-06-23 11:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241666560001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194031000,"timestamp_ms":1782194031000,"timestamp_seconds":1782194031,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30ac998"} 
[2026-06-23 11:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:27:20] 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-06-23 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4077423456,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":243,"raw_value":592601588050782272,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300538966228623647,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,10,158,37,45,64,237,66,33,211,31,129,1,240,41,227,243,4,113,205,221,104,40,32,239,50,2,14,7,164,101],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:27:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241666560001,"66":12548,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241666560001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:27:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241666560001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":110899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:27:20] local.INFO: GPS data processed {"connection_id":110899,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:27:20] local.INFO: Acknowledgment sent {"connection_id":110899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:27:24] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:27:24] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:27:24] local.INFO: IMEI packet received {"connection_id":111526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":111526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:27:28] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:27:28] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:27:28] local.INFO: IMEI packet received {"connection_id":111526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:27:30] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:27:30] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:27:30] local.INFO: Packet analysis {"connection_id":111526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:27:30] local.INFO: Extracted packet for processing {"connection_id":111526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:27:30] 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-06-23 11: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":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:27:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:27:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":111526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:27:30] local.INFO: GPS data processed {"connection_id":111526,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:27:30] local.INFO: Acknowledgment sent {"connection_id":111526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:27:50] local.INFO: TCP Data received {"connection_id":110899,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30b1ba0012d196840071fed280042006121..."} 
[2026-06-23 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30b1ba0012d196840071fed280042006121..."} 
[2026-06-23 11:27:50] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30b1ba0012d196840071fed280042006121..."} 
[2026-06-23 11:27:50] local.INFO: Packet analysis {"connection_id":110899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30b"} 
[2026-06-23 11:27:50] local.INFO: Extracted packet for processing {"connection_id":110899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30b"} 
[2026-06-23 11:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241671936001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782194052000,"timestamp_ms":1782194052000,"timestamp_seconds":1782194052,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30b1ba0"} 
[2026-06-23 11:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4077444456,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184217673933,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:27:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 11:27:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,119,45,64,237,66,33,37,211,1,240,41,227,243,31,4,113,205,47,104,40,239,50,2,14,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:27:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241671936001,"66":12743,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241671936001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:27:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241671936001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":110899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:27:51] local.INFO: GPS data processed {"connection_id":110899,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:27:51] local.INFO: Acknowledgment sent {"connection_id":110899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:28:02] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:28:02] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:28:02] local.INFO: Packet analysis {"connection_id":111526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:28:02] local.INFO: Extracted packet for processing {"connection_id":111526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:28:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:28:02] 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-06-23 11: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":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:28: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-06-23 11: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-06-23 11:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:28:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":111526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:28:02] local.INFO: GPS data processed {"connection_id":111526,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:28:02] local.INFO: Acknowledgment sent {"connection_id":111526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:28:14] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:28:14] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:28:14] local.INFO: IMEI packet received {"connection_id":110724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":110724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:28:19] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:28:19] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:28:19] local.INFO: IMEI packet received {"connection_id":110724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":110724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:28:20] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30b6da8012d196840071fed280042006121..."} 
[2026-06-23 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30b6da8012d196840071fed280042006121..."} 
[2026-06-23 11:28:20] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30b6da8012d196840071fed280042006121..."} 
[2026-06-23 11:28:20] local.INFO: Packet analysis {"connection_id":110724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30b"} 
[2026-06-23 11:28:20] local.INFO: Extracted packet for processing {"connection_id":110724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30b"} 
[2026-06-23 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241677312001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194073000,"timestamp_ms":1782194073000,"timestamp_seconds":1782194073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30b6da8"} 
[2026-06-23 11:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:28:20] 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-06-23 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 11:28:20] 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-06-23 11:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241677312001,"66":12743,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241677312001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:28:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241677312001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":110724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:28:20] local.INFO: GPS data processed {"connection_id":110724,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:28:20] local.INFO: Acknowledgment sent {"connection_id":110724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:28:29] local.INFO: TCP Data received {"connection_id":111527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:28:29] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:28:29] local.INFO: IMEI packet received {"connection_id":111527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":111527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:28:34] local.INFO: TCP Data received {"connection_id":111527,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:28:34] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:28:34] local.INFO: IMEI packet received {"connection_id":111527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":111527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:28:36] local.INFO: TCP Data received {"connection_id":111527,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:28:36] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:28:36] local.INFO: Packet analysis {"connection_id":111527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:28:36] local.INFO: Extracted packet for processing {"connection_id":111527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:28:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:28: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-06-23 11:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:28:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:28:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:28:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":111527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:28:36] local.INFO: GPS data processed {"connection_id":111527,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:28:36] local.INFO: Acknowledgment sent {"connection_id":111527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:28:51] local.INFO: TCP Data received {"connection_id":110724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30bbfb0012d196840071fed280042006121..."} 
[2026-06-23 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30bbfb0012d196840071fed280042006121..."} 
[2026-06-23 11:28:51] local.INFO: Processing buffer {"connection_id":110724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30bbfb0012d196840071fed280042006121..."} 
[2026-06-23 11:28:51] local.INFO: Packet analysis {"connection_id":110724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30b"} 
[2026-06-23 11:28:51] local.INFO: Extracted packet for processing {"connection_id":110724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30b"} 
[2026-06-23 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241682688001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194094000,"timestamp_ms":1782194094000,"timestamp_seconds":1782194094,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30bbfb0"} 
[2026-06-23 11:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 11:28:51] 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-06-23 11:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241682688001,"66":12743,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241682688001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:28:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241682688001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":110724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:28:51] local.INFO: GPS data processed {"connection_id":110724,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:28:51] local.INFO: Acknowledgment sent {"connection_id":110724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:29:07] local.INFO: TCP Data received {"connection_id":111527,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:29:07] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:29:07] local.INFO: Packet analysis {"connection_id":111527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:29:07] local.INFO: Extracted packet for processing {"connection_id":111527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:29:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:29: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-06-23 11:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:29:07] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:29:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":111527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:29:07] local.INFO: GPS data processed {"connection_id":111527,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:29:07] local.INFO: Acknowledgment sent {"connection_id":111527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:29:19] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:29:19] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:29:19] local.INFO: IMEI packet received {"connection_id":110901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":110901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:29:23] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:29:23] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:29:23] local.INFO: IMEI packet received {"connection_id":110901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":110901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:29:24] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30c11b8012d196840071fed280042006122..."} 
[2026-06-23 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30c11b8012d196840071fed280042006122..."} 
[2026-06-23 11:29:24] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30c11b8012d196840071fed280042006122..."} 
[2026-06-23 11:29:24] local.INFO: Packet analysis {"connection_id":110901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30c"} 
[2026-06-23 11:29:24] local.INFO: Extracted packet for processing {"connection_id":110901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30c"} 
[2026-06-23 11:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241688064001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782194115000,"timestamp_ms":1782194115000,"timestamp_seconds":1782194115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30c11b8"} 
[2026-06-23 11:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":199,"data_length":795,"current_offset":136} 
[2026-06-23 11:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241688064001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241688064001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241688064001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":110901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:29:24] local.INFO: GPS data processed {"connection_id":110901,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:29:24] local.INFO: Acknowledgment sent {"connection_id":110901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:29:24] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:29:24] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:29:24] local.INFO: IMEI packet received {"connection_id":110902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":110902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:29:24] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30c63c0012d196840071fed280042006120..."} 
[2026-06-23 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30c63c0012d196840071fed280042006120..."} 
[2026-06-23 11:29:24] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30c63c0012d196840071fed280042006120..."} 
[2026-06-23 11:29:24] local.INFO: Packet analysis {"connection_id":110901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30c"} 
[2026-06-23 11:29:24] local.INFO: Extracted packet for processing {"connection_id":110901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30c"} 
[2026-06-23 11:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241693440001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782194136000,"timestamp_ms":1782194136000,"timestamp_seconds":1782194136,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30c63c0"} 
[2026-06-23 11:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241693440001,"66":12678,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241693440001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241693440001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":110901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:29:24] local.INFO: GPS data processed {"connection_id":110901,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:29:24] local.INFO: Acknowledgment sent {"connection_id":110901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:29:29] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:29:29] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:29:29] local.INFO: IMEI packet received {"connection_id":110902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":110902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:29:31] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:29:31] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:29:31] local.INFO: Packet analysis {"connection_id":110902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:29:31] local.INFO: Extracted packet for processing {"connection_id":110902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:29:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:29:31] 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-06-23 11: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":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:29: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-06-23 11: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-06-23 11:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:29:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:29:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":110902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:29:31] local.INFO: GPS data processed {"connection_id":110902,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:29:31] local.INFO: Acknowledgment sent {"connection_id":110902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:29:55] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30cb5c8012d196840071fed280042006124..."} 
[2026-06-23 11:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30cb5c8012d196840071fed280042006124..."} 
[2026-06-23 11:29:55] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30cb5c8012d196840071fed280042006124..."} 
[2026-06-23 11:29:55] local.INFO: Packet analysis {"connection_id":110901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30c"} 
[2026-06-23 11:29:55] local.INFO: Extracted packet for processing {"connection_id":110901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30c"} 
[2026-06-23 11:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241698816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782194157000,"timestamp_ms":1782194157000,"timestamp_seconds":1782194157,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30cb5c8"} 
[2026-06-23 11:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:29: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-06-23 11: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":134,"data_length":795,"current_offset":136} 
[2026-06-23 11:29: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-06-23 11: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-06-23 11:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241698816001,"66":12722,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241698816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241698816001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":110901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:29:56] local.INFO: GPS data processed {"connection_id":110901,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:29:56] local.INFO: Acknowledgment sent {"connection_id":110901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:30:02] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:30:02] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:30:02] local.INFO: Packet analysis {"connection_id":110902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:02] local.INFO: Extracted packet for processing {"connection_id":110902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:30:02] 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-06-23 11: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":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:30: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-06-23 11: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-06-23 11:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:30:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":110902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:30:02] local.INFO: GPS data processed {"connection_id":110902,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:30:02] local.INFO: Acknowledgment sent {"connection_id":110902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:30:14] local.INFO: TCP Data received {"connection_id":112472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:30:14] local.INFO: Processing buffer {"connection_id":112472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:30:14] local.INFO: IMEI packet received {"connection_id":112472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":112472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:30:19] local.INFO: TCP Data received {"connection_id":112472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:30:19] local.INFO: Processing buffer {"connection_id":112472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:30:19] local.INFO: IMEI packet received {"connection_id":112472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":112472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:30:20] local.INFO: TCP Data received {"connection_id":112472,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d07d0012d196840071fed280042006122..."} 
[2026-06-23 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d07d0012d196840071fed280042006122..."} 
[2026-06-23 11:30:20] local.INFO: Processing buffer {"connection_id":112472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d07d0012d196840071fed280042006122..."} 
[2026-06-23 11:30:20] local.INFO: Packet analysis {"connection_id":112472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:20] local.INFO: Extracted packet for processing {"connection_id":112472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241704192001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194178000,"timestamp_ms":1782194178000,"timestamp_seconds":1782194178,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d07d0"} 
[2026-06-23 11:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:30:20] 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-06-23 11:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 11:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241704192001,"66":12689,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241704192001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:30:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241704192001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":112472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:30:20] local.INFO: GPS data processed {"connection_id":112472,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:30:20] local.INFO: Acknowledgment sent {"connection_id":112472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:30:24] local.INFO: TCP Data received {"connection_id":110903,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:30:24] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:30:24] local.INFO: IMEI packet received {"connection_id":110903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":110903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:30:29] local.INFO: TCP Data received {"connection_id":110903,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:30:29] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:30:29] local.INFO: IMEI packet received {"connection_id":110903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":110903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:30:32] local.INFO: TCP Data received {"connection_id":110725,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:30:32] local.INFO: Processing buffer {"connection_id":110725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:30:32] local.INFO: IMEI packet received {"connection_id":110725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":110725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:30:41] local.INFO: TCP Data received {"connection_id":110903,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:30:41] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:30:41] local.INFO: Packet analysis {"connection_id":110903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:41] local.INFO: Extracted packet for processing {"connection_id":110903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:30: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-06-23 11: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":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:30:41] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:30:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":110903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:30:41] local.INFO: GPS data processed {"connection_id":110903,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:30:41] local.INFO: Acknowledgment sent {"connection_id":110903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:30:51] local.INFO: TCP Data received {"connection_id":112472,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d59d8012d196840071fed280042006122..."} 
[2026-06-23 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d59d8012d196840071fed280042006122..."} 
[2026-06-23 11:30:51] local.INFO: Processing buffer {"connection_id":112472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d59d8012d196840071fed280042006122..."} 
[2026-06-23 11:30:51] local.INFO: Packet analysis {"connection_id":112472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:51] local.INFO: Extracted packet for processing {"connection_id":112472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241709568001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194199000,"timestamp_ms":1782194199000,"timestamp_seconds":1782194199,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d59d8"} 
[2026-06-23 11:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 11:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241709568001,"66":12689,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241709568001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:30:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241709568001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":112472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:30:51] local.INFO: GPS data processed {"connection_id":112472,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:30:51] local.INFO: Acknowledgment sent {"connection_id":112472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:31:14] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:31:14] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:31:14] local.INFO: IMEI packet received {"connection_id":110904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":110904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:31:16] local.INFO: TCP Data received {"connection_id":110905,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:31:16] local.INFO: Processing buffer {"connection_id":110905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:31:16] local.INFO: IMEI packet received {"connection_id":110905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":110905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:31:19] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:31:19] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:31:19] local.INFO: IMEI packet received {"connection_id":110904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":110904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:31:20] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30dabe0012d196840071fed280042006124..."} 
[2026-06-23 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30dabe0012d196840071fed280042006124..."} 
[2026-06-23 11:31:20] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30dabe0012d196840071fed280042006124..."} 
[2026-06-23 11:31:20] local.INFO: Packet analysis {"connection_id":110904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:31:20] local.INFO: Extracted packet for processing {"connection_id":110904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241714944001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194220000,"timestamp_ms":1782194220000,"timestamp_seconds":1782194220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30dabe0"} 
[2026-06-23 11:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 11:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241714944001,"66":12689,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241714944001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:31:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241714944001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":110904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:31:20] local.INFO: GPS data processed {"connection_id":110904,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:31:20] local.INFO: Acknowledgment sent {"connection_id":110904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:31:24] local.INFO: TCP Data received {"connection_id":111528,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:31:24] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:31:24] local.INFO: IMEI packet received {"connection_id":111528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":111528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:31:29] local.INFO: TCP Data received {"connection_id":111528,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:31:29] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:31:29] local.INFO: IMEI packet received {"connection_id":111528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":111528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:31:31] local.INFO: TCP Data received {"connection_id":111528,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:31:31] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:31:31] local.INFO: Packet analysis {"connection_id":111528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:31:31] local.INFO: Extracted packet for processing {"connection_id":111528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:31:31] 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-06-23 11: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-06-23 11: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-06-23 11: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-06-23 11:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:31:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:31:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":111528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:31:31] local.INFO: GPS data processed {"connection_id":111528,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:31:31] local.INFO: Acknowledgment sent {"connection_id":111528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:31:50] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30dfde8012d196840071fed280042006121..."} 
[2026-06-23 11:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30dfde8012d196840071fed280042006121..."} 
[2026-06-23 11:31:50] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30dfde8012d196840071fed280042006121..."} 
[2026-06-23 11:31:50] local.INFO: Packet analysis {"connection_id":110904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:31:50] local.INFO: Extracted packet for processing {"connection_id":110904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:31: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-06-23 11:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241720320001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782194241000,"timestamp_ms":1782194241000,"timestamp_seconds":1782194241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30dfde8"} 
[2026-06-23 11:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:31: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":145,"data_length":795,"current_offset":136} 
[2026-06-23 11:31:50] 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-06-23 11:31: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-06-23 11:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241720320001,"66":12689,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241720320001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:31:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241720320001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":110904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:31:50] local.INFO: GPS data processed {"connection_id":110904,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:31:50] local.INFO: Acknowledgment sent {"connection_id":110904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:32:02] local.INFO: TCP Data received {"connection_id":111528,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:32:02] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30d84d0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:32:02] local.INFO: Packet analysis {"connection_id":111528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:32:02] local.INFO: Extracted packet for processing {"connection_id":111528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30d"} 
[2026-06-23 11:32:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241640704001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194210000,"timestamp_ms":1782194210000,"timestamp_seconds":1782194210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30d84d0"} 
[2026-06-23 11:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:32:02] 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-06-23 11: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-06-23 11: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-06-23 11: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-06-23 11:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241640704001,"66":25647,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241640704001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:32:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241640704001,"power":25647,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":111528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:32:02] local.INFO: GPS data processed {"connection_id":111528,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:32:02] local.INFO: Acknowledgment sent {"connection_id":111528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:32:14] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:32:14] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:32:14] local.INFO: IMEI packet received {"connection_id":111529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":111529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:32:19] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:32:19] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:32:19] local.INFO: IMEI packet received {"connection_id":111529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":111529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:32:20] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30e4ff0012d196840071fed280042006123..."} 
[2026-06-23 11:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30e4ff0012d196840071fed280042006123..."} 
[2026-06-23 11:32:20] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30e4ff0012d196840071fed280042006123..."} 
[2026-06-23 11:32:20] local.INFO: Packet analysis {"connection_id":111529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30e"} 
[2026-06-23 11:32:20] local.INFO: Extracted packet for processing {"connection_id":111529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30e"} 
[2026-06-23 11:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241725696001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194262000,"timestamp_ms":1782194262000,"timestamp_seconds":1782194262,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30e4ff0"} 
[2026-06-23 11:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:32:20] 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-06-23 11:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 11:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241725696001,"66":12667,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241725696001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:32:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241725696001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":111529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:32:20] local.INFO: GPS data processed {"connection_id":111529,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:32:20] local.INFO: Acknowledgment sent {"connection_id":111529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:32:29] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:29] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:29] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:32:30] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:30] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:30] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:32:34] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:34] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:32:34] local.INFO: IMEI packet received {"connection_id":110727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":110727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:32:36] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:32:36] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:32:36] local.INFO: Packet analysis {"connection_id":110727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:32:36] local.INFO: Extracted packet for processing {"connection_id":110727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:32:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:32: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-06-23 11:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:32:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:32:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":110727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:32:36] local.INFO: GPS data processed {"connection_id":110727,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:32:36] local.INFO: Acknowledgment sent {"connection_id":110727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:32:40] local.INFO: TCP Data received {"connection_id":110727,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:32:40] local.INFO: Processing buffer {"connection_id":110727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:32:40] local.INFO: Packet analysis {"connection_id":110727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:32:40] local.INFO: Extracted packet for processing {"connection_id":110727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:32:40] 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-06-23 11:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:32:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:32:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":110727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:32:40] local.INFO: GPS data processed {"connection_id":110727,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:32:40] local.INFO: Acknowledgment sent {"connection_id":110727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:32:51] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef30ea1f8012d196840071fed280042006124..."} 
[2026-06-23 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef30ea1f8012d196840071fed280042006124..."} 
[2026-06-23 11:32:51] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef30ea1f8012d196840071fed280042006124..."} 
[2026-06-23 11:32:51] local.INFO: Packet analysis {"connection_id":111529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef30e"} 
[2026-06-23 11:32:51] local.INFO: Extracted packet for processing {"connection_id":111529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef30e"} 
[2026-06-23 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241731072001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194283000,"timestamp_ms":1782194283000,"timestamp_seconds":1782194283,"priority":1,"record_length":96,"hex_timestamp":"0000019ef30ea1f8"} 
[2026-06-23 11:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 11:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241731072001,"66":12645,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241731072001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241731072001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":111529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:32:51] local.INFO: GPS data processed {"connection_id":111529,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:32:51] local.INFO: Acknowledgment sent {"connection_id":111529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:33:14] local.INFO: TCP Data received {"connection_id":112474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:14] local.INFO: Processing buffer {"connection_id":112474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:14] local.INFO: IMEI packet received {"connection_id":112474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":112474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:33:14] local.INFO: TCP Data received {"connection_id":112474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:14] local.INFO: Processing buffer {"connection_id":112474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:14] local.INFO: IMEI packet received {"connection_id":112474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":112474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:33:19] local.INFO: TCP Data received {"connection_id":112474,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:19] local.INFO: Processing buffer {"connection_id":112474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:33:19] local.INFO: IMEI packet received {"connection_id":112474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":112474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:33:20] local.INFO: TCP Data received {"connection_id":112474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3122850012d196840071fed280042006121..."} 
[2026-06-23 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3122850012d196840071fed280042006121..."} 
[2026-06-23 11:33:20] local.INFO: Processing buffer {"connection_id":112474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3122850012d196840071fed280042006121..."} 
[2026-06-23 11:33:20] local.INFO: Packet analysis {"connection_id":112474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:33:20] local.INFO: Extracted packet for processing {"connection_id":112474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241790208001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194514000,"timestamp_ms":1782194514000,"timestamp_seconds":1782194514,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3122850"} 
[2026-06-23 11:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:33:20] 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-06-23 11:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4077906456,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331252008,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,10,158,132,45,64,237,66,35,50,34,224,1,240,249,227,243,31,4,113,205,60,104,40,239,49,2,14,7,120,75,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:33:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908005160026112,"timestamp_seconds":4755908005160026.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241790208001,"66":12548,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241790208001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:33:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:33:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241790208001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":112474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:33:20] local.INFO: GPS data processed {"connection_id":112474,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:33:20] local.INFO: Acknowledgment sent {"connection_id":112474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:33:24] local.INFO: TCP Data received {"connection_id":111530,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:33:24] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:33:24] local.INFO: IMEI packet received {"connection_id":111530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":111530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:33:29] local.INFO: TCP Data received {"connection_id":111530,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:33:29] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:33:29] local.INFO: IMEI packet received {"connection_id":111530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":111530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:33:31] local.INFO: TCP Data received {"connection_id":111530,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:33:31] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:33:31] local.INFO: Packet analysis {"connection_id":111530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:33:31] local.INFO: Extracted packet for processing {"connection_id":111530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:33:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:33:31] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:33:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:33:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":111530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:33:31] local.INFO: GPS data processed {"connection_id":111530,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:33:31] local.INFO: Acknowledgment sent {"connection_id":111530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:33:51] local.INFO: TCP Data received {"connection_id":112474,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3127a58012d196840071fed280042006124..."} 
[2026-06-23 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3127a58012d196840071fed280042006124..."} 
[2026-06-23 11:33:51] local.INFO: Processing buffer {"connection_id":112474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3127a58012d196840071fed280042006124..."} 
[2026-06-23 11:33:51] local.INFO: Packet analysis {"connection_id":112474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:33:51] local.INFO: Extracted packet for processing {"connection_id":112474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241795584001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194535000,"timestamp_ms":1782194535000,"timestamp_seconds":1782194535,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3127a58"} 
[2026-06-23 11:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4077927456,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:33:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 11:33:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,10,158,214,45,64,237,66,34,132,35,50,1,240,14,227,243,31,4,113,205,142,104,40,36,239,49,2,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:33:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241795584001,"66":12363,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241795584001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:33:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241795584001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":112474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:33:51] local.INFO: GPS data processed {"connection_id":112474,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:33:51] local.INFO: Acknowledgment sent {"connection_id":112474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:34:02] local.INFO: TCP Data received {"connection_id":111530,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:34:02] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:34:02] local.INFO: Packet analysis {"connection_id":111530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:34:02] local.INFO: Extracted packet for processing {"connection_id":111530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:34:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:34:02] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":111530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:34:02] local.INFO: GPS data processed {"connection_id":111530,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:34:02] local.INFO: Acknowledgment sent {"connection_id":111530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:34:14] local.INFO: TCP Data received {"connection_id":110730,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:14] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:14] local.INFO: IMEI packet received {"connection_id":110730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":110730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:34:17] local.INFO: TCP Data received {"connection_id":110730,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:17] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:17] local.INFO: IMEI packet received {"connection_id":110730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":110730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:34:19] local.INFO: TCP Data received {"connection_id":110730,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:19] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:34:19] local.INFO: IMEI packet received {"connection_id":110730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":110730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:34:20] local.INFO: TCP Data received {"connection_id":110730,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef312cc60012d196840071fed280042006122..."} 
[2026-06-23 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef312cc60012d196840071fed280042006122..."} 
[2026-06-23 11:34:20] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef312cc60012d196840071fed280042006122..."} 
[2026-06-23 11:34:20] local.INFO: Packet analysis {"connection_id":110730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:34:20] local.INFO: Extracted packet for processing {"connection_id":110730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241800960001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194556000,"timestamp_ms":1782194556000,"timestamp_seconds":1782194556,"priority":1,"record_length":96,"hex_timestamp":"0000019ef312cc60"} 
[2026-06-23 11:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:34:20] 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-06-23 11:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 11:34:20] 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-06-23 11: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-06-23 11:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241800960001,"66":12265,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241800960001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:34:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241800960001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":110730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:34:20] local.INFO: GPS data processed {"connection_id":110730,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:34:20] local.INFO: Acknowledgment sent {"connection_id":110730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:34:24] local.INFO: TCP Data received {"connection_id":110906,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:34:24] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:34:24] local.INFO: IMEI packet received {"connection_id":110906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":110906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:34:29] local.INFO: TCP Data received {"connection_id":110906,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:34:29] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:34:29] local.INFO: IMEI packet received {"connection_id":110906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:34:30] local.INFO: TCP Data received {"connection_id":110906,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:34:30] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:34:30] local.INFO: Packet analysis {"connection_id":110906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:34:30] local.INFO: Extracted packet for processing {"connection_id":110906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:34:30] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:34:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":110906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:34:30] local.INFO: GPS data processed {"connection_id":110906,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:34:30] local.INFO: Acknowledgment sent {"connection_id":110906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:34:51] local.INFO: TCP Data received {"connection_id":110730,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3131e68012d196840071fed280042006121..."} 
[2026-06-23 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3131e68012d196840071fed280042006121..."} 
[2026-06-23 11:34:51] local.INFO: Processing buffer {"connection_id":110730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3131e68012d196840071fed280042006121..."} 
[2026-06-23 11:34:51] local.INFO: Packet analysis {"connection_id":110730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef313"} 
[2026-06-23 11:34:51] local.INFO: Extracted packet for processing {"connection_id":110730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef313"} 
[2026-06-23 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241806336001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194577000,"timestamp_ms":1782194577000,"timestamp_seconds":1782194577,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3131e68"} 
[2026-06-23 11:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 11:34:51] 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-06-23 11: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-06-23 11:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241806336001,"66":12548,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241806336001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:34:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241806336001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":110730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:34:51] local.INFO: GPS data processed {"connection_id":110730,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:34:51] local.INFO: Acknowledgment sent {"connection_id":110730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:35:02] local.INFO: TCP Data received {"connection_id":110906,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:35:02] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:35:02] local.INFO: Packet analysis {"connection_id":110906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:35:02] local.INFO: Extracted packet for processing {"connection_id":110906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:35:02] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:35:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":110906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:35:02] local.INFO: GPS data processed {"connection_id":110906,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:35:02] local.INFO: Acknowledgment sent {"connection_id":110906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:35:19] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:35:19] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:35:19] local.INFO: IMEI packet received {"connection_id":110731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":110731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:35:20] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:35:20] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:35:20] local.INFO: IMEI packet received {"connection_id":110731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":110731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:35:20] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3137070012d196840071fed28004200611f..."} 
[2026-06-23 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3137070012d196840071fed28004200611f..."} 
[2026-06-23 11:35:20] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3137070012d196840071fed28004200611f..."} 
[2026-06-23 11:35:20] local.INFO: Packet analysis {"connection_id":110731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef313"} 
[2026-06-23 11:35:20] local.INFO: Extracted packet for processing {"connection_id":110731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef313"} 
[2026-06-23 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241811712001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194598000,"timestamp_ms":1782194598000,"timestamp_seconds":1782194598,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3137070"} 
[2026-06-23 11:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4077990456,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:20] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,204,45,64,237,66,34,122,36,40,1,240,4,227,243,31,113,205,132,104,35,239,47,2,14,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 11:35:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 11:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241811712001,"66":12537,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241811712001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:35:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241811712001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":110731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:35:20] local.INFO: GPS data processed {"connection_id":110731,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:35:20] local.INFO: Acknowledgment sent {"connection_id":110731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:35:24] local.INFO: TCP Data received {"connection_id":111532,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:35:24] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:35:24] local.INFO: IMEI packet received {"connection_id":111532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":111532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:35:24] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef313c278012d196840071fed280042006121..."} 
[2026-06-23 11:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef313c278012d196840071fed280042006121..."} 
[2026-06-23 11:35:24] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef313c278012d196840071fed280042006121..."} 
[2026-06-23 11:35:24] local.INFO: Packet analysis {"connection_id":110731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef313"} 
[2026-06-23 11:35:24] local.INFO: Extracted packet for processing {"connection_id":110731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef313"} 
[2026-06-23 11:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241817088001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782194619000,"timestamp_ms":1782194619000,"timestamp_seconds":1782194619,"priority":1,"record_length":96,"hex_timestamp":"0000019ef313c278"} 
[2026-06-23 11:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:35:24] 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-06-23 11:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-23 11:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241817088001,"66":12526,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241817088001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241817088001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":110731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:35:24] local.INFO: GPS data processed {"connection_id":110731,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:35:24] local.INFO: Acknowledgment sent {"connection_id":110731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:35:29] local.INFO: TCP Data received {"connection_id":111532,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:35:29] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:35:29] local.INFO: IMEI packet received {"connection_id":111532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":111532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:35:31] local.INFO: TCP Data received {"connection_id":111532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:35:31] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:35:31] local.INFO: Packet analysis {"connection_id":111532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:35:31] local.INFO: Extracted packet for processing {"connection_id":111532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:35:31] 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-06-23 11:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:35:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":111532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:35:31] local.INFO: GPS data processed {"connection_id":111532,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:35:31] local.INFO: Acknowledgment sent {"connection_id":111532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:35:55] local.INFO: TCP Data received {"connection_id":110731,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3141480012d196840071fed280042006123..."} 
[2026-06-23 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3141480012d196840071fed280042006123..."} 
[2026-06-23 11:35:55] local.INFO: Processing buffer {"connection_id":110731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3141480012d196840071fed280042006123..."} 
[2026-06-23 11:35:55] local.INFO: Packet analysis {"connection_id":110731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef314"} 
[2026-06-23 11:35:55] local.INFO: Extracted packet for processing {"connection_id":110731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef314"} 
[2026-06-23 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241822464001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782194640000,"timestamp_ms":1782194640000,"timestamp_seconds":1782194640,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3141480"} 
[2026-06-23 11:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 11:35: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-06-23 11:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241822464001,"66":12526,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241822464001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241822464001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":110731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:35:55] local.INFO: GPS data processed {"connection_id":110731,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:35:55] local.INFO: Acknowledgment sent {"connection_id":110731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:36:04] local.INFO: TCP Data received {"connection_id":111532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:04] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:04] local.INFO: Packet analysis {"connection_id":111532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:36:04] local.INFO: Extracted packet for processing {"connection_id":111532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:36:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:36:04] 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-06-23 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:36:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:36:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:36:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":111532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:36:04] local.INFO: GPS data processed {"connection_id":111532,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:36:04] local.INFO: Acknowledgment sent {"connection_id":111532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:36:14] local.INFO: TCP Data received {"connection_id":111533,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:36:14] local.INFO: Processing buffer {"connection_id":111533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:36:14] local.INFO: IMEI packet received {"connection_id":111533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":111533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:36:19] local.INFO: TCP Data received {"connection_id":111533,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:36:19] local.INFO: Processing buffer {"connection_id":111533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:36:19] local.INFO: IMEI packet received {"connection_id":111533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":111533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:36:20] local.INFO: TCP Data received {"connection_id":111533,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3146688012d196840071fed280042006122..."} 
[2026-06-23 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3146688012d196840071fed280042006122..."} 
[2026-06-23 11:36:20] local.INFO: Processing buffer {"connection_id":111533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3146688012d196840071fed280042006122..."} 
[2026-06-23 11:36:20] local.INFO: Packet analysis {"connection_id":111533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef314"} 
[2026-06-23 11:36:20] local.INFO: Extracted packet for processing {"connection_id":111533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef314"} 
[2026-06-23 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241827840001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194661000,"timestamp_ms":1782194661000,"timestamp_seconds":1782194661,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3146688"} 
[2026-06-23 11:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 11:36:20] 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-06-23 11:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241827840001,"66":12406,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241827840001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:36:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241827840001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":111533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:36:20] local.INFO: GPS data processed {"connection_id":111533,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:36:20] local.INFO: Acknowledgment sent {"connection_id":111533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:36:23] local.INFO: TCP Data received {"connection_id":111533,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef314b890012d196840071fed280042006124..."} 
[2026-06-23 11:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef314b890012d196840071fed280042006124..."} 
[2026-06-23 11:36:23] local.INFO: Processing buffer {"connection_id":111533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef314b890012d196840071fed280042006124..."} 
[2026-06-23 11:36:23] local.INFO: Packet analysis {"connection_id":111533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef314"} 
[2026-06-23 11:36:23] local.INFO: Extracted packet for processing {"connection_id":111533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef314"} 
[2026-06-23 11:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241833216001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782194682000,"timestamp_ms":1782194682000,"timestamp_seconds":1782194682,"priority":1,"record_length":96,"hex_timestamp":"0000019ef314b890"} 
[2026-06-23 11:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 11:36:23] 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-06-23 11:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":111533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":111533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":111533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241833216001,"66":12526,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241833216001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241833216001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":111533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:36:23] local.INFO: GPS data processed {"connection_id":111533,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:36:23] local.INFO: Acknowledgment sent {"connection_id":111533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:36:29] local.INFO: TCP Data received {"connection_id":111534,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:36:29] local.INFO: Processing buffer {"connection_id":111534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:36:29] local.INFO: IMEI packet received {"connection_id":111534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:36:34] local.INFO: TCP Data received {"connection_id":111534,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:36:34] local.INFO: Processing buffer {"connection_id":111534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:36:34] local.INFO: IMEI packet received {"connection_id":111534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":111534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:36:36] local.INFO: TCP Data received {"connection_id":111534,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:36] local.INFO: Processing buffer {"connection_id":111534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:36] local.INFO: Packet analysis {"connection_id":111534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:36:36] local.INFO: Extracted packet for processing {"connection_id":111534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:36: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-06-23 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":111534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:36:36] local.INFO: GPS data processed {"connection_id":111534,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:36:36] local.INFO: Acknowledgment sent {"connection_id":111534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:36:38] local.INFO: TCP Data received {"connection_id":110732,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:36:38] local.INFO: Processing buffer {"connection_id":110732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:36:38] local.INFO: IMEI packet received {"connection_id":110732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":110732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:36:40] local.INFO: TCP Data received {"connection_id":111534,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:40] local.INFO: Processing buffer {"connection_id":111534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:36:40] local.INFO: Packet analysis {"connection_id":111534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:36:40] local.INFO: Extracted packet for processing {"connection_id":111534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 11:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:36:40] 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-06-23 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:36:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":111534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:36:40] local.INFO: GPS data processed {"connection_id":111534,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:36:40] local.INFO: Acknowledgment sent {"connection_id":111534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:36:54] local.INFO: TCP Data received {"connection_id":111533,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3150a98012d196840071fed280042006124..."} 
[2026-06-23 11:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3150a98012d196840071fed280042006124..."} 
[2026-06-23 11:36:54] local.INFO: Processing buffer {"connection_id":111533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3150a98012d196840071fed280042006124..."} 
[2026-06-23 11:36:54] local.INFO: Packet analysis {"connection_id":111533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef315"} 
[2026-06-23 11:36:54] local.INFO: Extracted packet for processing {"connection_id":111533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef315"} 
[2026-06-23 11:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241838592001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782194703000,"timestamp_ms":1782194703000,"timestamp_seconds":1782194703,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3150a98"} 
[2026-06-23 11:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 11:36: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-06-23 11: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-06-23 11:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":111533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":111533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":111533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241838592001,"66":12515,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241838592001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:36:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241838592001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":111533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:36:54] local.INFO: GPS data processed {"connection_id":111533,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:36:54] local.INFO: Acknowledgment sent {"connection_id":111533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:37:12] local.INFO: TCP Data received {"connection_id":112475,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:37:13] local.INFO: Processing buffer {"connection_id":112475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:37:13] local.INFO: IMEI packet received {"connection_id":112475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":112475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:37:14] local.INFO: TCP Data received {"connection_id":112476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:37:14] local.INFO: Processing buffer {"connection_id":112476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:37:14] local.INFO: IMEI packet received {"connection_id":112476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":112476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:37:19] local.INFO: TCP Data received {"connection_id":112476,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:37:19] local.INFO: Processing buffer {"connection_id":112476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:37:19] local.INFO: IMEI packet received {"connection_id":112476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":112476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:37:20] local.INFO: TCP Data received {"connection_id":112476,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3155ca0012d196840071fed280042006124..."} 
[2026-06-23 11:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3155ca0012d196840071fed280042006124..."} 
[2026-06-23 11:37:20] local.INFO: Processing buffer {"connection_id":112476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3155ca0012d196840071fed280042006124..."} 
[2026-06-23 11:37:20] local.INFO: Packet analysis {"connection_id":112476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef315"} 
[2026-06-23 11:37:20] local.INFO: Extracted packet for processing {"connection_id":112476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef315"} 
[2026-06-23 11:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241843968001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194724000,"timestamp_ms":1782194724000,"timestamp_seconds":1782194724,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3155ca0"} 
[2026-06-23 11:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-23 11:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241843968001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241843968001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:37:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241843968001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":112476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:37:20] local.INFO: GPS data processed {"connection_id":112476,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:37:20] local.INFO: Acknowledgment sent {"connection_id":112476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:37:24] local.INFO: TCP Data received {"connection_id":110907,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:37:24] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:37:24] local.INFO: IMEI packet received {"connection_id":110907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":110907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:37:29] local.INFO: TCP Data received {"connection_id":110907,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:37:29] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:37:29] local.INFO: IMEI packet received {"connection_id":110907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":110907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:37:32] local.INFO: TCP Data received {"connection_id":110907,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:37:32] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3121c98012cb29b8007823df8004a00cf20..."} 
[2026-06-23 11:37:32] local.INFO: Packet analysis {"connection_id":110907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:37:32] local.INFO: Extracted packet for processing {"connection_id":110907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef312"} 
[2026-06-23 11:37:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241717760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782194511000,"timestamp_ms":1782194511000,"timestamp_seconds":1782194511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3121c98"} 
[2026-06-23 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-06-23 11:37:32] 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-06-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 11:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241717760001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241717760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:37:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:37:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:37:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241717760001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":110907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:37:32] local.INFO: GPS data processed {"connection_id":110907,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:37:32] local.INFO: Acknowledgment sent {"connection_id":110907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:37:51] local.INFO: TCP Data received {"connection_id":112476,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef315aea8012d196840071fed280042006123..."} 
[2026-06-23 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef315aea8012d196840071fed280042006123..."} 
[2026-06-23 11:37:51] local.INFO: Processing buffer {"connection_id":112476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef315aea8012d196840071fed280042006123..."} 
[2026-06-23 11:37:51] local.INFO: Packet analysis {"connection_id":112476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef315"} 
[2026-06-23 11:37:51] local.INFO: Extracted packet for processing {"connection_id":112476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef315"} 
[2026-06-23 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241849344001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194745000,"timestamp_ms":1782194745000,"timestamp_seconds":1782194745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef315aea8"} 
[2026-06-23 11:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241849344001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241849344001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:37:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241849344001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":112476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:37:51] local.INFO: GPS data processed {"connection_id":112476,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:37:51] local.INFO: Acknowledgment sent {"connection_id":112476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:38:03] local.INFO: TCP Data received {"connection_id":110907,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:38:03] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:38:03] local.INFO: Packet analysis {"connection_id":110907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:03] local.INFO: Extracted packet for processing {"connection_id":110907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":110907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:38:03] local.INFO: GPS data processed {"connection_id":110907,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:38:03] local.INFO: Acknowledgment sent {"connection_id":110907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:38:14] local.INFO: TCP Data received {"connection_id":110908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:38:14] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:38:14] local.INFO: IMEI packet received {"connection_id":110908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":110908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:38:19] local.INFO: TCP Data received {"connection_id":110908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:38:19] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:38:19] local.INFO: IMEI packet received {"connection_id":110908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":110908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:38:20] local.INFO: TCP Data received {"connection_id":110908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31600b0012d196840071fed280042006124..."} 
[2026-06-23 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31600b0012d196840071fed280042006124..."} 
[2026-06-23 11:38:20] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31600b0012d196840071fed280042006124..."} 
[2026-06-23 11:38:20] local.INFO: Packet analysis {"connection_id":110908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:20] local.INFO: Extracted packet for processing {"connection_id":110908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241854720001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194766000,"timestamp_ms":1782194766000,"timestamp_seconds":1782194766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31600b0"} 
[2026-06-23 11:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241854720001,"66":12526,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241854720001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:38:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241854720001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":110908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:38:20] local.INFO: GPS data processed {"connection_id":110908,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:38:20] local.INFO: Acknowledgment sent {"connection_id":110908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:38:24] local.INFO: TCP Data received {"connection_id":110909,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:38:24] local.INFO: Processing buffer {"connection_id":110909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:38:24] local.INFO: IMEI packet received {"connection_id":110909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":110909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:38:29] local.INFO: TCP Data received {"connection_id":110909,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:38:29] local.INFO: Processing buffer {"connection_id":110909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:38:29] local.INFO: IMEI packet received {"connection_id":110909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":110909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:38:31] local.INFO: TCP Data received {"connection_id":110909,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:38:31] local.INFO: Processing buffer {"connection_id":110909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:38:31] local.INFO: Packet analysis {"connection_id":110909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:31] local.INFO: Extracted packet for processing {"connection_id":110909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:38:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:38:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":110909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:38:31] local.INFO: GPS data processed {"connection_id":110909,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:38:31] local.INFO: Acknowledgment sent {"connection_id":110909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:38:50] local.INFO: TCP Data received {"connection_id":110908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31652b8012d196840071fed280042006122..."} 
[2026-06-23 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31652b8012d196840071fed280042006122..."} 
[2026-06-23 11:38:50] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31652b8012d196840071fed280042006122..."} 
[2026-06-23 11:38:50] local.INFO: Packet analysis {"connection_id":110908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:50] local.INFO: Extracted packet for processing {"connection_id":110908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241860096001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782194787000,"timestamp_ms":1782194787000,"timestamp_seconds":1782194787,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31652b8"} 
[2026-06-23 11:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 11:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241860096001,"66":12526,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241860096001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:38:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241860096001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":110908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:38:50] local.INFO: GPS data processed {"connection_id":110908,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:38:50] local.INFO: Acknowledgment sent {"connection_id":110908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:39:02] local.INFO: TCP Data received {"connection_id":110909,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:39:02] local.INFO: Processing buffer {"connection_id":110909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:39:02] local.INFO: Packet analysis {"connection_id":110909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:02] local.INFO: Extracted packet for processing {"connection_id":110909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:39:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":110909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:39:02] local.INFO: GPS data processed {"connection_id":110909,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:39:02] local.INFO: Acknowledgment sent {"connection_id":110909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:39:14] local.INFO: TCP Data received {"connection_id":111537,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:39:14] local.INFO: Processing buffer {"connection_id":111537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:39:14] local.INFO: IMEI packet received {"connection_id":111537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":111537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:39:19] local.INFO: TCP Data received {"connection_id":111537,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:39:19] local.INFO: Processing buffer {"connection_id":111537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:39:19] local.INFO: IMEI packet received {"connection_id":111537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":111537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:39:20] local.INFO: TCP Data received {"connection_id":111537,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316a4c0012d196840071fed280042006124..."} 
[2026-06-23 11:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316a4c0012d196840071fed280042006124..."} 
[2026-06-23 11:39:20] local.INFO: Processing buffer {"connection_id":111537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316a4c0012d196840071fed280042006124..."} 
[2026-06-23 11:39:20] local.INFO: Packet analysis {"connection_id":111537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:20] local.INFO: Extracted packet for processing {"connection_id":111537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241865472001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194808000,"timestamp_ms":1782194808000,"timestamp_seconds":1782194808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316a4c0"} 
[2026-06-23 11:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 11:39:20] 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-06-23 11:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241865472001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241865472001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:39:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:39:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241865472001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":111537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:39:20] local.INFO: GPS data processed {"connection_id":111537,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:39:20] local.INFO: Acknowledgment sent {"connection_id":111537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:39:24] local.INFO: TCP Data received {"connection_id":112477,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:39:24] local.INFO: Processing buffer {"connection_id":112477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:39:24] local.INFO: IMEI packet received {"connection_id":112477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":112477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:39:29] local.INFO: TCP Data received {"connection_id":112477,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:39:29] local.INFO: Processing buffer {"connection_id":112477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:39:29] local.INFO: IMEI packet received {"connection_id":112477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":112477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:39:31] local.INFO: TCP Data received {"connection_id":112477,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:39:31] local.INFO: Processing buffer {"connection_id":112477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:39:31] local.INFO: Packet analysis {"connection_id":112477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:31] local.INFO: Extracted packet for processing {"connection_id":112477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:39:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:39:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":112477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:39:31] local.INFO: GPS data processed {"connection_id":112477,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:39:31] local.INFO: Acknowledgment sent {"connection_id":112477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:39:51] local.INFO: TCP Data received {"connection_id":111537,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316f6c8012d196840071fed280042006123..."} 
[2026-06-23 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316f6c8012d196840071fed280042006123..."} 
[2026-06-23 11:39:51] local.INFO: Processing buffer {"connection_id":111537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316f6c8012d196840071fed280042006123..."} 
[2026-06-23 11:39:51] local.INFO: Packet analysis {"connection_id":111537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:51] local.INFO: Extracted packet for processing {"connection_id":111537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241870848001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194829000,"timestamp_ms":1782194829000,"timestamp_seconds":1782194829,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316f6c8"} 
[2026-06-23 11:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241870848001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241870848001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:39:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241870848001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":111537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:39:51] local.INFO: GPS data processed {"connection_id":111537,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:39:51] local.INFO: Acknowledgment sent {"connection_id":111537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:40:03] local.INFO: TCP Data received {"connection_id":112477,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:03] local.INFO: Processing buffer {"connection_id":112477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:03] local.INFO: Packet analysis {"connection_id":112477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:40:03] local.INFO: Extracted packet for processing {"connection_id":112477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:40:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:40:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:40:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":112477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:40:03] local.INFO: GPS data processed {"connection_id":112477,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:40:03] local.INFO: Acknowledgment sent {"connection_id":112477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:40:14] local.INFO: TCP Data received {"connection_id":110910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:14] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:14] local.INFO: IMEI packet received {"connection_id":110910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":110910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:40:14] local.INFO: TCP Data received {"connection_id":110910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:14] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:14] local.INFO: IMEI packet received {"connection_id":110910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":110910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:40:19] local.INFO: TCP Data received {"connection_id":110910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:19] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:40:19] local.INFO: IMEI packet received {"connection_id":110910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":110910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:40:20] local.INFO: TCP Data received {"connection_id":110910,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31748d0012d196840071fed280042006122..."} 
[2026-06-23 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31748d0012d196840071fed280042006122..."} 
[2026-06-23 11:40:20] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31748d0012d196840071fed280042006122..."} 
[2026-06-23 11:40:20] local.INFO: Packet analysis {"connection_id":110910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef317"} 
[2026-06-23 11:40:20] local.INFO: Extracted packet for processing {"connection_id":110910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef317"} 
[2026-06-23 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241876224001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194850000,"timestamp_ms":1782194850000,"timestamp_seconds":1782194850,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31748d0"} 
[2026-06-23 11:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241876224001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241876224001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:40:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241876224001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":110910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:40:20] local.INFO: GPS data processed {"connection_id":110910,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:40:20] local.INFO: Acknowledgment sent {"connection_id":110910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:40:29] local.INFO: TCP Data received {"connection_id":112478,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:40:29] local.INFO: Processing buffer {"connection_id":112478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:40:29] local.INFO: IMEI packet received {"connection_id":112478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":112478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:40:34] local.INFO: TCP Data received {"connection_id":112478,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:40:34] local.INFO: Processing buffer {"connection_id":112478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:40:34] local.INFO: IMEI packet received {"connection_id":112478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":112478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:40:36] local.INFO: TCP Data received {"connection_id":112478,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:36] local.INFO: Processing buffer {"connection_id":112478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:36] local.INFO: Packet analysis {"connection_id":112478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:40:36] local.INFO: Extracted packet for processing {"connection_id":112478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:40:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:40:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:40:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":112478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:40:36] local.INFO: GPS data processed {"connection_id":112478,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:40:36] local.INFO: Acknowledgment sent {"connection_id":112478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:40:40] local.INFO: TCP Data received {"connection_id":112478,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:40] local.INFO: Processing buffer {"connection_id":112478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:40:40] local.INFO: Packet analysis {"connection_id":112478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:40:40] local.INFO: Extracted packet for processing {"connection_id":112478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:40:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:40:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":112478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:40:40] local.INFO: GPS data processed {"connection_id":112478,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:40:40] local.INFO: Acknowledgment sent {"connection_id":112478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:40:51] local.INFO: TCP Data received {"connection_id":110910,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3179ad8012d196840071fed280042006121..."} 
[2026-06-23 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3179ad8012d196840071fed280042006121..."} 
[2026-06-23 11:40:51] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3179ad8012d196840071fed280042006121..."} 
[2026-06-23 11:40:51] local.INFO: Packet analysis {"connection_id":110910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef317"} 
[2026-06-23 11:40:51] local.INFO: Extracted packet for processing {"connection_id":110910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef317"} 
[2026-06-23 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241881600001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194871000,"timestamp_ms":1782194871000,"timestamp_seconds":1782194871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3179ad8"} 
[2026-06-23 11:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241881600001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241881600001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241881600001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":110910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:40:51] local.INFO: GPS data processed {"connection_id":110910,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:40:51] local.INFO: Acknowledgment sent {"connection_id":110910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:41:14] local.INFO: TCP Data received {"connection_id":110734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:14] local.INFO: Processing buffer {"connection_id":110734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:14] local.INFO: IMEI packet received {"connection_id":110734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":110734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:41:17] local.INFO: TCP Data received {"connection_id":110734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:17] local.INFO: Processing buffer {"connection_id":110734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:17] local.INFO: IMEI packet received {"connection_id":110734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":110734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:41:19] local.INFO: TCP Data received {"connection_id":110734,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:19] local.INFO: Processing buffer {"connection_id":110734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:41:19] local.INFO: IMEI packet received {"connection_id":110734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":110734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:41:19] local.INFO: TCP Data received {"connection_id":110734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef317ece0012d196840071fed280042006123..."} 
[2026-06-23 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef317ece0012d196840071fed280042006123..."} 
[2026-06-23 11:41:19] local.INFO: Processing buffer {"connection_id":110734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef317ece0012d196840071fed280042006123..."} 
[2026-06-23 11:41:19] local.INFO: Packet analysis {"connection_id":110734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef317"} 
[2026-06-23 11:41:19] local.INFO: Extracted packet for processing {"connection_id":110734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef317"} 
[2026-06-23 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241886976001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782194892000,"timestamp_ms":1782194892000,"timestamp_seconds":1782194892,"priority":1,"record_length":96,"hex_timestamp":"0000019ef317ece0"} 
[2026-06-23 11:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241886976001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241886976001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:41:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241886976001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":110734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:41:19] local.INFO: GPS data processed {"connection_id":110734,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:41:19] local.INFO: Acknowledgment sent {"connection_id":110734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:41:24] local.INFO: TCP Data received {"connection_id":110734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3183ee8012d196840071fed280042006124..."} 
[2026-06-23 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3183ee8012d196840071fed280042006124..."} 
[2026-06-23 11:41:24] local.INFO: Processing buffer {"connection_id":110734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3183ee8012d196840071fed280042006124..."} 
[2026-06-23 11:41:24] local.INFO: Packet analysis {"connection_id":110734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef318"} 
[2026-06-23 11:41:24] local.INFO: Extracted packet for processing {"connection_id":110734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef318"} 
[2026-06-23 11:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241892352001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782194913000,"timestamp_ms":1782194913000,"timestamp_seconds":1782194913,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3183ee8"} 
[2026-06-23 11:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:41:24] 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-06-23 11:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:41: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-06-23 11:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241892352001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241892352001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241892352001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":110734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:41:24] local.INFO: GPS data processed {"connection_id":110734,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:41:24] local.INFO: Acknowledgment sent {"connection_id":110734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:41:24] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:41:24] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:41:24] local.INFO: IMEI packet received {"connection_id":110911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":110911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:41:29] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:41:29] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:41:29] local.INFO: IMEI packet received {"connection_id":110911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":110911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:41:31] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:41:31] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:41:31] local.INFO: Packet analysis {"connection_id":110911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:41:31] local.INFO: Extracted packet for processing {"connection_id":110911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:41:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:41:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:41:31] local.INFO: GPS data processed {"connection_id":110911,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:41:31] local.INFO: Acknowledgment sent {"connection_id":110911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:41:55] local.INFO: TCP Data received {"connection_id":110734,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31890f0012d196840071fed280042006125..."} 
[2026-06-23 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31890f0012d196840071fed280042006125..."} 
[2026-06-23 11:41:55] local.INFO: Processing buffer {"connection_id":110734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31890f0012d196840071fed280042006125..."} 
[2026-06-23 11:41:55] local.INFO: Packet analysis {"connection_id":110734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef318"} 
[2026-06-23 11:41:55] local.INFO: Extracted packet for processing {"connection_id":110734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef318"} 
[2026-06-23 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241897728001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782194934000,"timestamp_ms":1782194934000,"timestamp_seconds":1782194934,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31890f0"} 
[2026-06-23 11:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241897728001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241897728001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241897728001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":110734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:41:55] local.INFO: GPS data processed {"connection_id":110734,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:41:55] local.INFO: Acknowledgment sent {"connection_id":110734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:42:02] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:42:02] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:42:02] local.INFO: Packet analysis {"connection_id":110911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:42:02] local.INFO: Extracted packet for processing {"connection_id":110911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:42:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":110911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:42:02] local.INFO: GPS data processed {"connection_id":110911,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:42:02] local.INFO: Acknowledgment sent {"connection_id":110911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:42:14] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:42:14] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:42:14] local.INFO: IMEI packet received {"connection_id":110736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":110736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:42:19] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:42:19] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:42:19] local.INFO: IMEI packet received {"connection_id":110736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":110736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:42:20] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef318e2f8012d196840071fed280042006124..."} 
[2026-06-23 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef318e2f8012d196840071fed280042006124..."} 
[2026-06-23 11:42:20] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef318e2f8012d196840071fed280042006124..."} 
[2026-06-23 11:42:20] local.INFO: Packet analysis {"connection_id":110736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef318"} 
[2026-06-23 11:42:20] local.INFO: Extracted packet for processing {"connection_id":110736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef318"} 
[2026-06-23 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241903104001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194955000,"timestamp_ms":1782194955000,"timestamp_seconds":1782194955,"priority":1,"record_length":96,"hex_timestamp":"0000019ef318e2f8"} 
[2026-06-23 11:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241903104001,"66":12428,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241903104001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:42:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241903104001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":110736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:42:20] local.INFO: GPS data processed {"connection_id":110736,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:42:20] local.INFO: Acknowledgment sent {"connection_id":110736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:42:24] local.INFO: TCP Data received {"connection_id":110912,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:42:24] local.INFO: Processing buffer {"connection_id":110912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:42:24] local.INFO: IMEI packet received {"connection_id":110912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":110912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:42:29] local.INFO: TCP Data received {"connection_id":110912,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:42:29] local.INFO: Processing buffer {"connection_id":110912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:42:29] local.INFO: IMEI packet received {"connection_id":110912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":110912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:42:31] local.INFO: TCP Data received {"connection_id":110912,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:42:31] local.INFO: Processing buffer {"connection_id":110912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef316b460012cb29b8007823df8004a00cf1e..."} 
[2026-06-23 11:42:31] local.INFO: Packet analysis {"connection_id":110912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:42:31] local.INFO: Extracted packet for processing {"connection_id":110912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef316"} 
[2026-06-23 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":30,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241794816001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782194812000,"timestamp_ms":1782194812000,"timestamp_seconds":1782194812,"priority":1,"record_length":96,"hex_timestamp":"0000019ef316b460"} 
[2026-06-23 11:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241794816001,"66":25615,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241794816001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:42:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241794816001,"power":25615,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":110912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:42:31] local.INFO: GPS data processed {"connection_id":110912,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:42:31] local.INFO: Acknowledgment sent {"connection_id":110912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:42:32] local.INFO: TCP Data received {"connection_id":110735,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:42:32] local.INFO: Processing buffer {"connection_id":110735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:42:32] local.INFO: IMEI packet received {"connection_id":110735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":110735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:42:51] local.INFO: TCP Data received {"connection_id":110736,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3193500012d196840071fed280042006121..."} 
[2026-06-23 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3193500012d196840071fed280042006121..."} 
[2026-06-23 11:42:51] local.INFO: Processing buffer {"connection_id":110736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3193500012d196840071fed280042006121..."} 
[2026-06-23 11:42:51] local.INFO: Packet analysis {"connection_id":110736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef319"} 
[2026-06-23 11:42:51] local.INFO: Extracted packet for processing {"connection_id":110736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef319"} 
[2026-06-23 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241908480001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782194976000,"timestamp_ms":1782194976000,"timestamp_seconds":1782194976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3193500"} 
[2026-06-23 11:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241908480001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241908480001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241908480001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":110736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:42:51] local.INFO: GPS data processed {"connection_id":110736,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:42:51] local.INFO: Acknowledgment sent {"connection_id":110736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:43:02] local.INFO: TCP Data received {"connection_id":110912,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:43:02] local.INFO: Processing buffer {"connection_id":110912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:43:02] local.INFO: Packet analysis {"connection_id":110912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:43:02] local.INFO: Extracted packet for processing {"connection_id":110912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:43:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":110912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:43:02] local.INFO: GPS data processed {"connection_id":110912,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:43:02] local.INFO: Acknowledgment sent {"connection_id":110912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:43:07] local.INFO: TCP Data received {"connection_id":110913,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:43:07] local.INFO: Processing buffer {"connection_id":110913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:43:07] local.INFO: IMEI packet received {"connection_id":110913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":110913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:43:14] local.INFO: TCP Data received {"connection_id":111538,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:43:14] local.INFO: Processing buffer {"connection_id":111538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:43:14] local.INFO: IMEI packet received {"connection_id":111538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":111538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:43:19] local.INFO: TCP Data received {"connection_id":111538,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:43:19] local.INFO: Processing buffer {"connection_id":111538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:43:19] local.INFO: IMEI packet received {"connection_id":111538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":111538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:43:20] local.INFO: TCP Data received {"connection_id":111538,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3198708012d196840071fed280042006122..."} 
[2026-06-23 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3198708012d196840071fed280042006122..."} 
[2026-06-23 11:43:20] local.INFO: Processing buffer {"connection_id":111538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3198708012d196840071fed280042006122..."} 
[2026-06-23 11:43:20] local.INFO: Packet analysis {"connection_id":111538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef319"} 
[2026-06-23 11:43:20] local.INFO: Extracted packet for processing {"connection_id":111538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef319"} 
[2026-06-23 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241913856001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782194997000,"timestamp_ms":1782194997000,"timestamp_seconds":1782194997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3198708"} 
[2026-06-23 11:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:43: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-06-23 11:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241913856001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241913856001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:43:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:43:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241913856001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":111538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:43:20] local.INFO: GPS data processed {"connection_id":111538,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:43:20] local.INFO: Acknowledgment sent {"connection_id":111538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:43:24] local.INFO: TCP Data received {"connection_id":111539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:43:24] local.INFO: Processing buffer {"connection_id":111539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:43:24] local.INFO: IMEI packet received {"connection_id":111539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":111539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:43:29] local.INFO: TCP Data received {"connection_id":111539,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:43:29] local.INFO: Processing buffer {"connection_id":111539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:43:29] local.INFO: IMEI packet received {"connection_id":111539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":111539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:43:31] local.INFO: TCP Data received {"connection_id":111539,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:43:31] local.INFO: Processing buffer {"connection_id":111539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:43:31] local.INFO: Packet analysis {"connection_id":111539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:43:31] local.INFO: Extracted packet for processing {"connection_id":111539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:43:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:43:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":111539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:43:31] local.INFO: GPS data processed {"connection_id":111539,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:43:31] local.INFO: Acknowledgment sent {"connection_id":111539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:43:51] local.INFO: TCP Data received {"connection_id":111538,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef319d910012d196840071fed280042006123..."} 
[2026-06-23 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef319d910012d196840071fed280042006123..."} 
[2026-06-23 11:43:51] local.INFO: Processing buffer {"connection_id":111538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef319d910012d196840071fed280042006123..."} 
[2026-06-23 11:43:51] local.INFO: Packet analysis {"connection_id":111538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef319"} 
[2026-06-23 11:43:51] local.INFO: Extracted packet for processing {"connection_id":111538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef319"} 
[2026-06-23 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241919232001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195018000,"timestamp_ms":1782195018000,"timestamp_seconds":1782195018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef319d910"} 
[2026-06-23 11:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:43: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-06-23 11:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241919232001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241919232001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:43:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241919232001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":111538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:43:51] local.INFO: GPS data processed {"connection_id":111538,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:43:51] local.INFO: Acknowledgment sent {"connection_id":111538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:44:03] local.INFO: TCP Data received {"connection_id":111539,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:03] local.INFO: Processing buffer {"connection_id":111539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:03] local.INFO: Packet analysis {"connection_id":111539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:44:03] local.INFO: Extracted packet for processing {"connection_id":111539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 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-06-23 11:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:44:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:44:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:44:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":111539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:44:03] local.INFO: GPS data processed {"connection_id":111539,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:44:03] local.INFO: Acknowledgment sent {"connection_id":111539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:44:19] local.INFO: TCP Data received {"connection_id":112480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:44:19] local.INFO: Processing buffer {"connection_id":112480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:44:19] local.INFO: IMEI packet received {"connection_id":112480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":112480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:44:24] local.INFO: TCP Data received {"connection_id":112480,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:44:24] local.INFO: Processing buffer {"connection_id":112480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:44:24] local.INFO: IMEI packet received {"connection_id":112480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":112480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:44:25] local.INFO: TCP Data received {"connection_id":112480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31a2b18012d196840071fed280042006121..."} 
[2026-06-23 11:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31a2b18012d196840071fed280042006121..."} 
[2026-06-23 11:44:25] local.INFO: Processing buffer {"connection_id":112480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31a2b18012d196840071fed280042006121..."} 
[2026-06-23 11:44:25] local.INFO: Packet analysis {"connection_id":112480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31a"} 
[2026-06-23 11:44:25] local.INFO: Extracted packet for processing {"connection_id":112480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31a"} 
[2026-06-23 11:44:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:44: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-06-23 11:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241924608001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782195039000,"timestamp_ms":1782195039000,"timestamp_seconds":1782195039,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31a2b18"} 
[2026-06-23 11:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:44:25] 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-06-23 11:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:44: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-06-23 11:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241924608001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241924608001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:44:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:44:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241924608001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":112480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:44:25] local.INFO: GPS data processed {"connection_id":112480,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:44:25] local.INFO: Acknowledgment sent {"connection_id":112480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:44:26] local.INFO: TCP Data received {"connection_id":112480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31a7d20012d196840071fed280042006123..."} 
[2026-06-23 11:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31a7d20012d196840071fed280042006123..."} 
[2026-06-23 11:44:26] local.INFO: Processing buffer {"connection_id":112480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31a7d20012d196840071fed280042006123..."} 
[2026-06-23 11:44:26] local.INFO: Packet analysis {"connection_id":112480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31a"} 
[2026-06-23 11:44:26] local.INFO: Extracted packet for processing {"connection_id":112480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31a"} 
[2026-06-23 11:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241929984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782195060000,"timestamp_ms":1782195060000,"timestamp_seconds":1782195060,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31a7d20"} 
[2026-06-23 11:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:44: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-06-23 11:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241929984001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241929984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:44:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241929984001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":112480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:44:26] local.INFO: GPS data processed {"connection_id":112480,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:44:26] local.INFO: Acknowledgment sent {"connection_id":112480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:44:29] local.INFO: TCP Data received {"connection_id":111540,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:44:29] local.INFO: Processing buffer {"connection_id":111540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:44:29] local.INFO: IMEI packet received {"connection_id":111540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":111540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:44:34] local.INFO: TCP Data received {"connection_id":111540,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:44:34] local.INFO: Processing buffer {"connection_id":111540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:44:34] local.INFO: IMEI packet received {"connection_id":111540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":111540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:44:36] local.INFO: TCP Data received {"connection_id":111540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:36] local.INFO: Processing buffer {"connection_id":111540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:36] local.INFO: Packet analysis {"connection_id":111540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:44:36] local.INFO: Extracted packet for processing {"connection_id":111540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":111540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:44:36] local.INFO: GPS data processed {"connection_id":111540,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:44:36] local.INFO: Acknowledgment sent {"connection_id":111540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:44:40] local.INFO: TCP Data received {"connection_id":111540,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:40] local.INFO: Processing buffer {"connection_id":111540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:44:40] local.INFO: Packet analysis {"connection_id":111540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:44:40] local.INFO: Extracted packet for processing {"connection_id":111540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:44:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:44:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":111540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:44:40] local.INFO: GPS data processed {"connection_id":111540,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:44:40] local.INFO: Acknowledgment sent {"connection_id":111540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:44:57] local.INFO: TCP Data received {"connection_id":112480,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31acf28012d196840071fed280042006125..."} 
[2026-06-23 11:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31acf28012d196840071fed280042006125..."} 
[2026-06-23 11:44:57] local.INFO: Processing buffer {"connection_id":112480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31acf28012d196840071fed280042006125..."} 
[2026-06-23 11:44:57] local.INFO: Packet analysis {"connection_id":112480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31a"} 
[2026-06-23 11:44:57] local.INFO: Extracted packet for processing {"connection_id":112480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31a"} 
[2026-06-23 11:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:44: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-06-23 11:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241935360001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782195081000,"timestamp_ms":1782195081000,"timestamp_seconds":1782195081,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31acf28"} 
[2026-06-23 11:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:44:57] 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-06-23 11:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:44: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-06-23 11:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241935360001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241935360001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241935360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":112480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:44:57] local.INFO: GPS data processed {"connection_id":112480,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:44:57] local.INFO: Acknowledgment sent {"connection_id":112480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:45:14] local.INFO: TCP Data received {"connection_id":111541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:45:14] local.INFO: Processing buffer {"connection_id":111541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:45:14] local.INFO: IMEI packet received {"connection_id":111541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":111541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:45:19] local.INFO: TCP Data received {"connection_id":111541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:45:19] local.INFO: Processing buffer {"connection_id":111541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:45:19] local.INFO: IMEI packet received {"connection_id":111541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":111541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:45:20] local.INFO: TCP Data received {"connection_id":111541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b2130012d196840071fed280042006120..."} 
[2026-06-23 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b2130012d196840071fed280042006120..."} 
[2026-06-23 11:45:20] local.INFO: Processing buffer {"connection_id":111541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b2130012d196840071fed280042006120..."} 
[2026-06-23 11:45:20] local.INFO: Packet analysis {"connection_id":111541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:20] local.INFO: Extracted packet for processing {"connection_id":111541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241940736001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195102000,"timestamp_ms":1782195102000,"timestamp_seconds":1782195102,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b2130"} 
[2026-06-23 11:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:45: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-06-23 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241940736001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241940736001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:45:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241940736001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":111541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:45:20] local.INFO: GPS data processed {"connection_id":111541,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:45:20] local.INFO: Acknowledgment sent {"connection_id":111541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:45:24] local.INFO: TCP Data received {"connection_id":111541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b7338012d196840071fed280042006121..."} 
[2026-06-23 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b7338012d196840071fed280042006121..."} 
[2026-06-23 11:45:24] local.INFO: Processing buffer {"connection_id":111541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b7338012d196840071fed280042006121..."} 
[2026-06-23 11:45:24] local.INFO: Packet analysis {"connection_id":111541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:24] local.INFO: Extracted packet for processing {"connection_id":111541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241946112001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782195123000,"timestamp_ms":1782195123000,"timestamp_seconds":1782195123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b7338"} 
[2026-06-23 11:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:45: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-06-23 11:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241946112001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241946112001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241946112001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":111541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:45:24] local.INFO: GPS data processed {"connection_id":111541,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:45:24] local.INFO: Acknowledgment sent {"connection_id":111541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:45:24] local.INFO: TCP Data received {"connection_id":110916,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:45:24] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:45:24] local.INFO: IMEI packet received {"connection_id":110916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":110916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:45:29] local.INFO: TCP Data received {"connection_id":110916,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:45:29] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:45:29] local.INFO: IMEI packet received {"connection_id":110916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":110916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:45:31] local.INFO: TCP Data received {"connection_id":110916,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:45:31] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:45:31] local.INFO: Packet analysis {"connection_id":110916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:31] local.INFO: Extracted packet for processing {"connection_id":110916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:45:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":110916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:45:31] local.INFO: GPS data processed {"connection_id":110916,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:45:31] local.INFO: Acknowledgment sent {"connection_id":110916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:45:55] local.INFO: TCP Data received {"connection_id":111541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31bc540012d196840071fed280042006123..."} 
[2026-06-23 11:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31bc540012d196840071fed280042006123..."} 
[2026-06-23 11:45:55] local.INFO: Processing buffer {"connection_id":111541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31bc540012d196840071fed280042006123..."} 
[2026-06-23 11:45:55] local.INFO: Packet analysis {"connection_id":111541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:55] local.INFO: Extracted packet for processing {"connection_id":111541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241951488001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782195144000,"timestamp_ms":1782195144000,"timestamp_seconds":1782195144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31bc540"} 
[2026-06-23 11:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241951488001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241951488001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241951488001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":111541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:45:55] local.INFO: GPS data processed {"connection_id":111541,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:45:55] local.INFO: Acknowledgment sent {"connection_id":111541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:46:02] local.INFO: TCP Data received {"connection_id":110916,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:46:02] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:46:02] local.INFO: Packet analysis {"connection_id":110916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:46:02] local.INFO: Extracted packet for processing {"connection_id":110916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":110916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:46:02] local.INFO: GPS data processed {"connection_id":110916,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:46:02] local.INFO: Acknowledgment sent {"connection_id":110916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:46:11] local.INFO: TCP Data received {"connection_id":111542,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:11] local.INFO: Processing buffer {"connection_id":111542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:11] local.INFO: IMEI packet received {"connection_id":111542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":111542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:46:14] local.INFO: TCP Data received {"connection_id":111542,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:14] local.INFO: Processing buffer {"connection_id":111542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:14] local.INFO: IMEI packet received {"connection_id":111542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":111542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:46:19] local.INFO: TCP Data received {"connection_id":111542,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:19] local.INFO: Processing buffer {"connection_id":111542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:46:19] local.INFO: IMEI packet received {"connection_id":111542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":111542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:46:20] local.INFO: TCP Data received {"connection_id":111542,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31c1748012d196840071fed280042006122..."} 
[2026-06-23 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31c1748012d196840071fed280042006122..."} 
[2026-06-23 11:46:20] local.INFO: Processing buffer {"connection_id":111542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31c1748012d196840071fed280042006122..."} 
[2026-06-23 11:46:20] local.INFO: Packet analysis {"connection_id":111542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31c"} 
[2026-06-23 11:46:20] local.INFO: Extracted packet for processing {"connection_id":111542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31c"} 
[2026-06-23 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241956864001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195165000,"timestamp_ms":1782195165000,"timestamp_seconds":1782195165,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31c1748"} 
[2026-06-23 11:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:46: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-06-23 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241956864001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241956864001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:46:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241956864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":111542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:46:20] local.INFO: GPS data processed {"connection_id":111542,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:46:20] local.INFO: Acknowledgment sent {"connection_id":111542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:46:24] local.INFO: TCP Data received {"connection_id":112481,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:46:24] local.INFO: Processing buffer {"connection_id":112481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:46:24] local.INFO: IMEI packet received {"connection_id":112481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":112481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:46:29] local.INFO: TCP Data received {"connection_id":112481,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:46:29] local.INFO: Processing buffer {"connection_id":112481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:46:29] local.INFO: IMEI packet received {"connection_id":112481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":112481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:46:31] local.INFO: TCP Data received {"connection_id":112481,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:46:31] local.INFO: Processing buffer {"connection_id":112481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:46:31] local.INFO: Packet analysis {"connection_id":112481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:46:31] local.INFO: Extracted packet for processing {"connection_id":112481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:46:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:46:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":112481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:46:31] local.INFO: GPS data processed {"connection_id":112481,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:46:31] local.INFO: Acknowledgment sent {"connection_id":112481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:46:51] local.INFO: TCP Data received {"connection_id":111542,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31c6950012d196840071fed280042006121..."} 
[2026-06-23 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31c6950012d196840071fed280042006121..."} 
[2026-06-23 11:46:51] local.INFO: Processing buffer {"connection_id":111542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31c6950012d196840071fed280042006121..."} 
[2026-06-23 11:46:51] local.INFO: Packet analysis {"connection_id":111542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31c"} 
[2026-06-23 11:46:51] local.INFO: Extracted packet for processing {"connection_id":111542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31c"} 
[2026-06-23 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241962240001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195186000,"timestamp_ms":1782195186000,"timestamp_seconds":1782195186,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31c6950"} 
[2026-06-23 11:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:46: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-06-23 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241962240001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241962240001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241962240001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":111542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:46:51] local.INFO: GPS data processed {"connection_id":111542,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:46:51] local.INFO: Acknowledgment sent {"connection_id":111542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:47:02] local.INFO: TCP Data received {"connection_id":112481,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:47:02] local.INFO: Processing buffer {"connection_id":112481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:47:02] local.INFO: Packet analysis {"connection_id":112481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:47:02] local.INFO: Extracted packet for processing {"connection_id":112481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":112481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:47:02] local.INFO: GPS data processed {"connection_id":112481,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:47:02] local.INFO: Acknowledgment sent {"connection_id":112481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:47:14] local.INFO: TCP Data received {"connection_id":112482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:14] local.INFO: Processing buffer {"connection_id":112482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:14] local.INFO: IMEI packet received {"connection_id":112482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":112482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:47:14] local.INFO: TCP Data received {"connection_id":112482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:14] local.INFO: Processing buffer {"connection_id":112482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:14] local.INFO: IMEI packet received {"connection_id":112482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":112482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:47:19] local.INFO: TCP Data received {"connection_id":112482,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:19] local.INFO: Processing buffer {"connection_id":112482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:47:19] local.INFO: IMEI packet received {"connection_id":112482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":112482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:47:20] local.INFO: TCP Data received {"connection_id":112482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31cbb58012d196840071fed280042006124..."} 
[2026-06-23 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31cbb58012d196840071fed280042006124..."} 
[2026-06-23 11:47:20] local.INFO: Processing buffer {"connection_id":112482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31cbb58012d196840071fed280042006124..."} 
[2026-06-23 11:47:20] local.INFO: Packet analysis {"connection_id":112482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31c"} 
[2026-06-23 11:47:20] local.INFO: Extracted packet for processing {"connection_id":112482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31c"} 
[2026-06-23 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241967616001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195207000,"timestamp_ms":1782195207000,"timestamp_seconds":1782195207,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31cbb58"} 
[2026-06-23 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:47: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-06-23 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241967616001,"66":12504,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241967616001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:47:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241967616001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":112482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:47:20] local.INFO: GPS data processed {"connection_id":112482,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:47:20] local.INFO: Acknowledgment sent {"connection_id":112482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:47:24] local.INFO: TCP Data received {"connection_id":110738,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:47:24] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:47:24] local.INFO: IMEI packet received {"connection_id":110738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":110738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:47:29] local.INFO: TCP Data received {"connection_id":110738,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:47:29] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:47:29] local.INFO: IMEI packet received {"connection_id":110738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":110738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:47:31] local.INFO: TCP Data received {"connection_id":110738,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:47:31] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31b4c28012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:47:31] local.INFO: Packet analysis {"connection_id":110738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:47:31] local.INFO: Extracted packet for processing {"connection_id":110738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31b"} 
[2026-06-23 11:47:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241871872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195113000,"timestamp_ms":1782195113000,"timestamp_seconds":1782195113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31b4c28"} 
[2026-06-23 11:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 11:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241871872001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241871872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:47:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:47:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241871872001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":110738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:47:31] local.INFO: GPS data processed {"connection_id":110738,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:47:31] local.INFO: Acknowledgment sent {"connection_id":110738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:47:51] local.INFO: TCP Data received {"connection_id":112482,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31d0d60012d196840071fed280042006124..."} 
[2026-06-23 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31d0d60012d196840071fed280042006124..."} 
[2026-06-23 11:47:51] local.INFO: Processing buffer {"connection_id":112482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31d0d60012d196840071fed280042006124..."} 
[2026-06-23 11:47:51] local.INFO: Packet analysis {"connection_id":112482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31d"} 
[2026-06-23 11:47:51] local.INFO: Extracted packet for processing {"connection_id":112482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31d"} 
[2026-06-23 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241972992001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195228000,"timestamp_ms":1782195228000,"timestamp_seconds":1782195228,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31d0d60"} 
[2026-06-23 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:47: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-06-23 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 11:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241972992001,"66":12428,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241972992001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:47:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241972992001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":112482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:47:51] local.INFO: GPS data processed {"connection_id":112482,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:47:51] local.INFO: Acknowledgment sent {"connection_id":112482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:48:02] local.INFO: TCP Data received {"connection_id":110738,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:02] local.INFO: Processing buffer {"connection_id":110738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:02] local.INFO: Packet analysis {"connection_id":110738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:48:02] local.INFO: Extracted packet for processing {"connection_id":110738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:48:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":110738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:48:02] local.INFO: GPS data processed {"connection_id":110738,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:48:02] local.INFO: Acknowledgment sent {"connection_id":110738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:48:14] local.INFO: TCP Data received {"connection_id":110739,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:48:14] local.INFO: Processing buffer {"connection_id":110739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:48:14] local.INFO: IMEI packet received {"connection_id":110739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":110739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:48:17] local.INFO: TCP Data received {"connection_id":110739,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:48:17] local.INFO: Processing buffer {"connection_id":110739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:48:17] local.INFO: IMEI packet received {"connection_id":110739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":110739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:48:18] local.INFO: TCP Data received {"connection_id":110739,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31d5f68012d196840071fed280042006121..."} 
[2026-06-23 11:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31d5f68012d196840071fed280042006121..."} 
[2026-06-23 11:48:18] local.INFO: Processing buffer {"connection_id":110739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31d5f68012d196840071fed280042006121..."} 
[2026-06-23 11:48:18] local.INFO: Packet analysis {"connection_id":110739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31d"} 
[2026-06-23 11:48:18] local.INFO: Extracted packet for processing {"connection_id":110739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31d"} 
[2026-06-23 11:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241978368001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782195249000,"timestamp_ms":1782195249000,"timestamp_seconds":1782195249,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31d5f68"} 
[2026-06-23 11:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":110739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":110739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":110739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241978368001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241978368001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241978368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":110739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:48:18] local.INFO: GPS data processed {"connection_id":110739,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:48:18] local.INFO: Acknowledgment sent {"connection_id":110739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:48:29] local.INFO: TCP Data received {"connection_id":111543,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:48:29] local.INFO: Processing buffer {"connection_id":111543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:48:29] local.INFO: IMEI packet received {"connection_id":111543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":111543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:48:34] local.INFO: TCP Data received {"connection_id":111543,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:48:34] local.INFO: Processing buffer {"connection_id":111543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:48:34] local.INFO: IMEI packet received {"connection_id":111543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":111543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:48:35] local.INFO: TCP Data received {"connection_id":111543,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:35] local.INFO: Processing buffer {"connection_id":111543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:35] local.INFO: Packet analysis {"connection_id":111543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:48:35] local.INFO: Extracted packet for processing {"connection_id":111543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":111543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:48:36] local.INFO: GPS data processed {"connection_id":111543,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:48:36] local.INFO: Acknowledgment sent {"connection_id":111543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:48:40] local.INFO: TCP Data received {"connection_id":111543,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:40] local.INFO: Processing buffer {"connection_id":111543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:48:40] local.INFO: Packet analysis {"connection_id":111543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:48:40] local.INFO: Extracted packet for processing {"connection_id":111543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:48:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:48:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":111543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:48:40] local.INFO: GPS data processed {"connection_id":111543,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:48:40] local.INFO: Acknowledgment sent {"connection_id":111543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:48:46] local.INFO: TCP Data received {"connection_id":110917,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:48:46] local.INFO: Processing buffer {"connection_id":110917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:48:46] local.INFO: IMEI packet received {"connection_id":110917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":110917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:48:49] local.INFO: TCP Data received {"connection_id":110739,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31db170012d196840071fed280042006123..."} 
[2026-06-23 11:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31db170012d196840071fed280042006123..."} 
[2026-06-23 11:48:49] local.INFO: Processing buffer {"connection_id":110739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31db170012d196840071fed280042006123..."} 
[2026-06-23 11:48:49] local.INFO: Packet analysis {"connection_id":110739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31d"} 
[2026-06-23 11:48:49] local.INFO: Extracted packet for processing {"connection_id":110739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31d"} 
[2026-06-23 11:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241983744001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782195270000,"timestamp_ms":1782195270000,"timestamp_seconds":1782195270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31db170"} 
[2026-06-23 11:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241983744001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241983744001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:48:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241983744001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":110739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:48:49] local.INFO: GPS data processed {"connection_id":110739,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:48:49] local.INFO: Acknowledgment sent {"connection_id":110739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:49:14] local.INFO: TCP Data received {"connection_id":111544,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:49:14] local.INFO: Processing buffer {"connection_id":111544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:49:14] local.INFO: IMEI packet received {"connection_id":111544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":111544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:49:16] local.INFO: TCP Data received {"connection_id":112483,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:49:16] local.INFO: Processing buffer {"connection_id":112483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:49:16] local.INFO: IMEI packet received {"connection_id":112483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":112483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:49:19] local.INFO: TCP Data received {"connection_id":111544,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:49:19] local.INFO: Processing buffer {"connection_id":111544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:49:19] local.INFO: IMEI packet received {"connection_id":111544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":111544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:49:20] local.INFO: TCP Data received {"connection_id":111544,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31e0378012d196840071fed280042006123..."} 
[2026-06-23 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31e0378012d196840071fed280042006123..."} 
[2026-06-23 11:49:20] local.INFO: Processing buffer {"connection_id":111544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31e0378012d196840071fed280042006123..."} 
[2026-06-23 11:49:20] local.INFO: Packet analysis {"connection_id":111544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31e"} 
[2026-06-23 11:49:20] local.INFO: Extracted packet for processing {"connection_id":111544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31e"} 
[2026-06-23 11:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241989120001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195291000,"timestamp_ms":1782195291000,"timestamp_seconds":1782195291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31e0378"} 
[2026-06-23 11:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:49: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-06-23 11:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241989120001,"66":12439,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241989120001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:49:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:49:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241989120001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":111544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:49:20] local.INFO: GPS data processed {"connection_id":111544,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:49:20] local.INFO: Acknowledgment sent {"connection_id":111544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:49:25] local.INFO: TCP Data received {"connection_id":111545,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:49:25] local.INFO: Processing buffer {"connection_id":111545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:49:25] local.INFO: IMEI packet received {"connection_id":111545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":111545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:49:29] local.INFO: TCP Data received {"connection_id":111545,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:49:29] local.INFO: Processing buffer {"connection_id":111545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:49:29] local.INFO: IMEI packet received {"connection_id":111545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":111545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:49:31] local.INFO: TCP Data received {"connection_id":111545,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:49:31] local.INFO: Processing buffer {"connection_id":111545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:49:31] local.INFO: Packet analysis {"connection_id":111545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:49:31] local.INFO: Extracted packet for processing {"connection_id":111545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:49:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:49:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:49:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":111545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:49:31] local.INFO: GPS data processed {"connection_id":111545,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:49:31] local.INFO: Acknowledgment sent {"connection_id":111545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:49:51] local.INFO: TCP Data received {"connection_id":111544,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31e5580012d196840071fed280042006124..."} 
[2026-06-23 11:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31e5580012d196840071fed280042006124..."} 
[2026-06-23 11:49:51] local.INFO: Processing buffer {"connection_id":111544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31e5580012d196840071fed280042006124..."} 
[2026-06-23 11:49:51] local.INFO: Packet analysis {"connection_id":111544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31e"} 
[2026-06-23 11:49:51] local.INFO: Extracted packet for processing {"connection_id":111544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31e"} 
[2026-06-23 11:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241994496001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195312000,"timestamp_ms":1782195312000,"timestamp_seconds":1782195312,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31e5580"} 
[2026-06-23 11:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:49: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-06-23 11:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 11:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241994496001,"66":12461,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241994496001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:49:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241994496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":111544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:49:51] local.INFO: GPS data processed {"connection_id":111544,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:49:51] local.INFO: Acknowledgment sent {"connection_id":111544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:50:03] local.INFO: TCP Data received {"connection_id":111545,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:50:03] local.INFO: Processing buffer {"connection_id":111545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:50:03] local.INFO: Packet analysis {"connection_id":111545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:50:03] local.INFO: Extracted packet for processing {"connection_id":111545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:50:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:50:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:50:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":111545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:50:03] local.INFO: GPS data processed {"connection_id":111545,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:50:03] local.INFO: Acknowledgment sent {"connection_id":111545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:50:14] local.INFO: TCP Data received {"connection_id":110918,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:50:14] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:50:14] local.INFO: IMEI packet received {"connection_id":110918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":110918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:50:19] local.INFO: TCP Data received {"connection_id":110918,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:50:19] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:50:19] local.INFO: IMEI packet received {"connection_id":110918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":110918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:50:20] local.INFO: TCP Data received {"connection_id":110918,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31ea788012d196840071fed280042006123..."} 
[2026-06-23 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31ea788012d196840071fed280042006123..."} 
[2026-06-23 11:50:20] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31ea788012d196840071fed280042006123..."} 
[2026-06-23 11:50:20] local.INFO: Packet analysis {"connection_id":110918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31e"} 
[2026-06-23 11:50:20] local.INFO: Extracted packet for processing {"connection_id":110918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31e"} 
[2026-06-23 11:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241999872001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195333000,"timestamp_ms":1782195333000,"timestamp_seconds":1782195333,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31ea788"} 
[2026-06-23 11:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:50: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-06-23 11:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 11:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241999872001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241999872001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:50:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241999872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":110918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:50:20] local.INFO: GPS data processed {"connection_id":110918,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:50:20] local.INFO: Acknowledgment sent {"connection_id":110918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:50:24] local.INFO: TCP Data received {"connection_id":112485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:50:24] local.INFO: Processing buffer {"connection_id":112485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:50:24] local.INFO: IMEI packet received {"connection_id":112485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":112485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:50:29] local.INFO: TCP Data received {"connection_id":112485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:50:29] local.INFO: Processing buffer {"connection_id":112485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:50:29] local.INFO: IMEI packet received {"connection_id":112485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":112485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:50:31] local.INFO: TCP Data received {"connection_id":112485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:50:31] local.INFO: Processing buffer {"connection_id":112485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:50:31] local.INFO: Packet analysis {"connection_id":112485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:50:31] local.INFO: Extracted packet for processing {"connection_id":112485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":112485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:50:31] local.INFO: GPS data processed {"connection_id":112485,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:50:31] local.INFO: Acknowledgment sent {"connection_id":112485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:50:51] local.INFO: TCP Data received {"connection_id":110918,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3222de0012d196840071fed280042006124..."} 
[2026-06-23 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3222de0012d196840071fed280042006124..."} 
[2026-06-23 11:50:51] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3222de0012d196840071fed280042006124..."} 
[2026-06-23 11:50:51] local.INFO: Packet analysis {"connection_id":110918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef322"} 
[2026-06-23 11:50:51] local.INFO: Extracted packet for processing {"connection_id":110918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef322"} 
[2026-06-23 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242059008001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195564000,"timestamp_ms":1782195564000,"timestamp_seconds":1782195564,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3222de0"} 
[2026-06-23 11:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:50: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-06-23 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242059008001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242059008001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242059008001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":110918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:50:51] local.INFO: GPS data processed {"connection_id":110918,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:50:51] local.INFO: Acknowledgment sent {"connection_id":110918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:51:03] local.INFO: TCP Data received {"connection_id":112485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:51:03] local.INFO: Processing buffer {"connection_id":112485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:51:03] local.INFO: Packet analysis {"connection_id":112485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:51:03] local.INFO: Extracted packet for processing {"connection_id":112485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:51:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":112485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:51:03] local.INFO: GPS data processed {"connection_id":112485,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:51:03] local.INFO: Acknowledgment sent {"connection_id":112485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:51:14] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:51:14] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:51:14] local.INFO: IMEI packet received {"connection_id":110742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":110742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:51:19] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:51:19] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:51:19] local.INFO: IMEI packet received {"connection_id":110742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":110742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:51:20] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3227fe8012d196840071fed280042006125..."} 
[2026-06-23 11:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3227fe8012d196840071fed280042006125..."} 
[2026-06-23 11:51:20] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3227fe8012d196840071fed280042006125..."} 
[2026-06-23 11:51:20] local.INFO: Packet analysis {"connection_id":110742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef322"} 
[2026-06-23 11:51:20] local.INFO: Extracted packet for processing {"connection_id":110742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef322"} 
[2026-06-23 11:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242064384001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195585000,"timestamp_ms":1782195585000,"timestamp_seconds":1782195585,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3227fe8"} 
[2026-06-23 11:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:51: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-06-23 11:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 11:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242064384001,"66":12428,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242064384001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:51:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:51:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242064384001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":110742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:51:20] local.INFO: GPS data processed {"connection_id":110742,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:51:20] local.INFO: Acknowledgment sent {"connection_id":110742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:51:24] local.INFO: TCP Data received {"connection_id":112486,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:51:24] local.INFO: Processing buffer {"connection_id":112486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:51:24] local.INFO: IMEI packet received {"connection_id":112486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":112486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:51:29] local.INFO: TCP Data received {"connection_id":112486,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:51:29] local.INFO: Processing buffer {"connection_id":112486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:51:29] local.INFO: IMEI packet received {"connection_id":112486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":112486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:51:31] local.INFO: TCP Data received {"connection_id":112486,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:51:31] local.INFO: Processing buffer {"connection_id":112486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:51:31] local.INFO: Packet analysis {"connection_id":112486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:51:31] local.INFO: Extracted packet for processing {"connection_id":112486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:51:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:51:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":112486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:51:31] local.INFO: GPS data processed {"connection_id":112486,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:51:31] local.INFO: Acknowledgment sent {"connection_id":112486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:51:51] local.INFO: TCP Data received {"connection_id":110742,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef322d1f0012d196840071fed280042006122..."} 
[2026-06-23 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef322d1f0012d196840071fed280042006122..."} 
[2026-06-23 11:51:51] local.INFO: Processing buffer {"connection_id":110742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef322d1f0012d196840071fed280042006122..."} 
[2026-06-23 11:51:51] local.INFO: Packet analysis {"connection_id":110742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef322"} 
[2026-06-23 11:51:51] local.INFO: Extracted packet for processing {"connection_id":110742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef322"} 
[2026-06-23 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242069760001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195606000,"timestamp_ms":1782195606000,"timestamp_seconds":1782195606,"priority":1,"record_length":96,"hex_timestamp":"0000019ef322d1f0"} 
[2026-06-23 11:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:51: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-06-23 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242069760001,"66":12428,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242069760001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:51:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242069760001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":110742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:51:51] local.INFO: GPS data processed {"connection_id":110742,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:51:51] local.INFO: Acknowledgment sent {"connection_id":110742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:52:02] local.INFO: TCP Data received {"connection_id":112486,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:52:02] local.INFO: Processing buffer {"connection_id":112486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:52:02] local.INFO: Packet analysis {"connection_id":112486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:52:02] local.INFO: Extracted packet for processing {"connection_id":112486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:52:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":112486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:52:03] local.INFO: GPS data processed {"connection_id":112486,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:52:03] local.INFO: Acknowledgment sent {"connection_id":112486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:52:19] local.INFO: TCP Data received {"connection_id":111546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:52:19] local.INFO: Processing buffer {"connection_id":111546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:52:19] local.INFO: IMEI packet received {"connection_id":111546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":111546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:52:24] local.INFO: TCP Data received {"connection_id":111546,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:52:24] local.INFO: Processing buffer {"connection_id":111546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:52:24] local.INFO: IMEI packet received {"connection_id":111546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":111546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:52:24] local.INFO: TCP Data received {"connection_id":112487,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:52:24] local.INFO: Processing buffer {"connection_id":112487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:52:24] local.INFO: IMEI packet received {"connection_id":112487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":112487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:52:25] local.INFO: TCP Data received {"connection_id":111546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32323f8012d196840071fed280042006124..."} 
[2026-06-23 11:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32323f8012d196840071fed280042006124..."} 
[2026-06-23 11:52:25] local.INFO: Processing buffer {"connection_id":111546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32323f8012d196840071fed280042006124..."} 
[2026-06-23 11:52:25] local.INFO: Packet analysis {"connection_id":111546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef323"} 
[2026-06-23 11:52:25] local.INFO: Extracted packet for processing {"connection_id":111546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef323"} 
[2026-06-23 11:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242075136001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782195627000,"timestamp_ms":1782195627000,"timestamp_seconds":1782195627,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32323f8"} 
[2026-06-23 11:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:52:25] 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-06-23 11:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242075136001,"66":12428,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242075136001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242075136001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":111546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:52:25] local.INFO: GPS data processed {"connection_id":111546,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:52:25] local.INFO: Acknowledgment sent {"connection_id":111546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:52:29] local.INFO: TCP Data received {"connection_id":111546,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3237600012d196840071fed280042006124..."} 
[2026-06-23 11:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3237600012d196840071fed280042006124..."} 
[2026-06-23 11:52:29] local.INFO: Processing buffer {"connection_id":111546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3237600012d196840071fed280042006124..."} 
[2026-06-23 11:52:29] local.INFO: Packet analysis {"connection_id":111546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef323"} 
[2026-06-23 11:52:29] local.INFO: Extracted packet for processing {"connection_id":111546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef323"} 
[2026-06-23 11:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242080512001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782195648000,"timestamp_ms":1782195648000,"timestamp_seconds":1782195648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3237600"} 
[2026-06-23 11:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:52: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-06-23 11:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:52:29] 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-06-23 11:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242080512001,"66":12428,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242080512001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:52:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242080512001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":111546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:52:29] local.INFO: GPS data processed {"connection_id":111546,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:52:29] local.INFO: Acknowledgment sent {"connection_id":111546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:52:29] local.INFO: TCP Data received {"connection_id":112487,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:52:29] local.INFO: Processing buffer {"connection_id":112487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:52:29] local.INFO: IMEI packet received {"connection_id":112487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":112487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:52:32] local.INFO: TCP Data received {"connection_id":112487,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:52:32] local.INFO: Processing buffer {"connection_id":112487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef31fe3f0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:52:32] local.INFO: Packet analysis {"connection_id":112487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:52:32] local.INFO: Extracted packet for processing {"connection_id":112487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef31f"} 
[2026-06-23 11:52:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456241948928001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782195414000,"timestamp_ms":1782195414000,"timestamp_seconds":1782195414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef31fe3f0"} 
[2026-06-23 11:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456241948928001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456241948928001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:52:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:52:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456241948928001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":112487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:52:32] local.INFO: GPS data processed {"connection_id":112487,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:52:32] local.INFO: Acknowledgment sent {"connection_id":112487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:53:04] local.INFO: TCP Data received {"connection_id":112487,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:53:04] local.INFO: Processing buffer {"connection_id":112487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:53:04] local.INFO: Packet analysis {"connection_id":112487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:53:04] local.INFO: Extracted packet for processing {"connection_id":112487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:53:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 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-06-23 11:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11:53: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-06-23 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-06-23 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-06-23 11:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:53:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:53:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:53:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":112487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:53:04] local.INFO: GPS data processed {"connection_id":112487,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:53:04] local.INFO: Acknowledgment sent {"connection_id":112487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:53:11] local.INFO: TCP Data received {"connection_id":110920,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:11] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:11] local.INFO: IMEI packet received {"connection_id":110920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":110920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:53:14] local.INFO: TCP Data received {"connection_id":110920,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:14] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:14] local.INFO: IMEI packet received {"connection_id":110920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":110920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:53:19] local.INFO: TCP Data received {"connection_id":110920,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:19] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:53:19] local.INFO: IMEI packet received {"connection_id":110920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":110920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:53:20] local.INFO: TCP Data received {"connection_id":110920,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef323c808012d196840071fed280042006123..."} 
[2026-06-23 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef323c808012d196840071fed280042006123..."} 
[2026-06-23 11:53:20] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef323c808012d196840071fed280042006123..."} 
[2026-06-23 11:53:20] local.INFO: Packet analysis {"connection_id":110920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef323"} 
[2026-06-23 11:53:20] local.INFO: Extracted packet for processing {"connection_id":110920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef323"} 
[2026-06-23 11:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242085888001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195669000,"timestamp_ms":1782195669000,"timestamp_seconds":1782195669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef323c808"} 
[2026-06-23 11:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:53: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-06-23 11:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 11:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242085888001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242085888001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:53:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242085888001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":110920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:53:20] local.INFO: GPS data processed {"connection_id":110920,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:53:20] local.INFO: Acknowledgment sent {"connection_id":110920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:53:25] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:53:25] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:53:25] local.INFO: IMEI packet received {"connection_id":110921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":110921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:53:29] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:53:29] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:53:29] local.INFO: IMEI packet received {"connection_id":110921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":110921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:53:31] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:53:31] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:53:31] local.INFO: Packet analysis {"connection_id":110921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:53:31] local.INFO: Extracted packet for processing {"connection_id":110921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 11:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11: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-06-23 11: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-06-23 11:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:53:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":110921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:53:31] local.INFO: GPS data processed {"connection_id":110921,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:53:31] local.INFO: Acknowledgment sent {"connection_id":110921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:53:51] local.INFO: TCP Data received {"connection_id":110920,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3241a10012d196840071fed280042006120..."} 
[2026-06-23 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3241a10012d196840071fed280042006120..."} 
[2026-06-23 11:53:51] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3241a10012d196840071fed280042006120..."} 
[2026-06-23 11:53:51] local.INFO: Packet analysis {"connection_id":110920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:53:51] local.INFO: Extracted packet for processing {"connection_id":110920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242091264001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195690000,"timestamp_ms":1782195690000,"timestamp_seconds":1782195690,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3241a10"} 
[2026-06-23 11:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:53: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-06-23 11:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 11:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242091264001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242091264001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:53:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242091264001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":110920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:53:51] local.INFO: GPS data processed {"connection_id":110920,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:53:51] local.INFO: Acknowledgment sent {"connection_id":110920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:54:03] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:54:03] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:54:03] local.INFO: Packet analysis {"connection_id":110921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:03] local.INFO: Extracted packet for processing {"connection_id":110921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 11:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11:54: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-06-23 11: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-06-23 11:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":110921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:54:03] local.INFO: GPS data processed {"connection_id":110921,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:54:03] local.INFO: Acknowledgment sent {"connection_id":110921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:54:14] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:14] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:14] local.INFO: IMEI packet received {"connection_id":110922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":110922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:54:14] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:14] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:14] local.INFO: IMEI packet received {"connection_id":110922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":110922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:54:19] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:19] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:54:19] local.INFO: IMEI packet received {"connection_id":110922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":110922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:54:20] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3246c18012d196840071fed280042006122..."} 
[2026-06-23 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3246c18012d196840071fed280042006122..."} 
[2026-06-23 11:54:20] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3246c18012d196840071fed280042006122..."} 
[2026-06-23 11:54:20] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:20] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242096640001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195711000,"timestamp_ms":1782195711000,"timestamp_seconds":1782195711,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3246c18"} 
[2026-06-23 11:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:54: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-06-23 11:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 11:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242096640001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242096640001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:54:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242096640001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:54:20] local.INFO: GPS data processed {"connection_id":110922,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:54:20] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:54:24] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:54:24] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:54:24] local.INFO: IMEI packet received {"connection_id":110744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":110744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:54:29] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:54:29] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:54:29] local.INFO: IMEI packet received {"connection_id":110744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":110744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:54:31] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:54:31] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:54:31] local.INFO: Packet analysis {"connection_id":110744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:31] local.INFO: Extracted packet for processing {"connection_id":110744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 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-06-23 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11:54: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-06-23 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-06-23 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-06-23 11:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:54:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:54:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":110744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:54:31] local.INFO: GPS data processed {"connection_id":110744,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:54:31] local.INFO: Acknowledgment sent {"connection_id":110744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:54:39] local.INFO: TCP Data received {"connection_id":110743,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:54:39] local.INFO: Processing buffer {"connection_id":110743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:54:39] local.INFO: IMEI packet received {"connection_id":110743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":110743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:54:51] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef324be20012d196840071fed280042006121..."} 
[2026-06-23 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef324be20012d196840071fed280042006121..."} 
[2026-06-23 11:54:51] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef324be20012d196840071fed280042006121..."} 
[2026-06-23 11:54:51] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:51] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242102016001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195732000,"timestamp_ms":1782195732000,"timestamp_seconds":1782195732,"priority":1,"record_length":96,"hex_timestamp":"0000019ef324be20"} 
[2026-06-23 11:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:54: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-06-23 11:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 11:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242102016001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242102016001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:54:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242102016001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:54:51] local.INFO: GPS data processed {"connection_id":110922,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:54:51] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:55:03] local.INFO: TCP Data received {"connection_id":110744,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:55:03] local.INFO: Processing buffer {"connection_id":110744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:55:03] local.INFO: Packet analysis {"connection_id":110744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:55:03] local.INFO: Extracted packet for processing {"connection_id":110744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 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-06-23 11:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11: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-06-23 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-06-23 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-06-23 11:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:55:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":110744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:55:03] local.INFO: GPS data processed {"connection_id":110744,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:55:03] local.INFO: Acknowledgment sent {"connection_id":110744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:55:14] local.INFO: TCP Data received {"connection_id":111548,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:55:14] local.INFO: Processing buffer {"connection_id":111548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:55:14] local.INFO: IMEI packet received {"connection_id":111548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":111548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:55:17] local.INFO: TCP Data received {"connection_id":111548,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:55:17] local.INFO: Processing buffer {"connection_id":111548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:55:17] local.INFO: IMEI packet received {"connection_id":111548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":111548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:55:18] local.INFO: TCP Data received {"connection_id":111548,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3251028012d196840071fed280042006122..."} 
[2026-06-23 11:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3251028012d196840071fed280042006122..."} 
[2026-06-23 11:55:18] local.INFO: Processing buffer {"connection_id":111548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3251028012d196840071fed280042006122..."} 
[2026-06-23 11:55:18] local.INFO: Packet analysis {"connection_id":111548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef325"} 
[2026-06-23 11:55:18] local.INFO: Extracted packet for processing {"connection_id":111548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef325"} 
[2026-06-23 11:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242107392001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782195753000,"timestamp_ms":1782195753000,"timestamp_seconds":1782195753,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3251028"} 
[2026-06-23 11:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 11:55:18] 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-06-23 11:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242107392001,"66":12113,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242107392001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242107392001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":111548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:55:18] local.INFO: GPS data processed {"connection_id":111548,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:55:18] local.INFO: Acknowledgment sent {"connection_id":111548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:55:24] local.INFO: TCP Data received {"connection_id":110923,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:55:24] local.INFO: Processing buffer {"connection_id":110923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:55:24] local.INFO: IMEI packet received {"connection_id":110923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":110923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:55:29] local.INFO: TCP Data received {"connection_id":110923,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:55:29] local.INFO: Processing buffer {"connection_id":110923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:55:29] local.INFO: IMEI packet received {"connection_id":110923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":110923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:55:31] local.INFO: TCP Data received {"connection_id":110923,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:55:31] local.INFO: Processing buffer {"connection_id":110923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:55:31] local.INFO: Packet analysis {"connection_id":110923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:55:31] local.INFO: Extracted packet for processing {"connection_id":110923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:55:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 11:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11: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-06-23 11: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-06-23 11:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:55:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:55:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":110923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:55:31] local.INFO: GPS data processed {"connection_id":110923,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:55:31] local.INFO: Acknowledgment sent {"connection_id":110923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:55:47] local.INFO: TCP Data received {"connection_id":112488,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:55:47] local.INFO: Processing buffer {"connection_id":112488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:55:47] local.INFO: IMEI packet received {"connection_id":112488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":112488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:55:49] local.INFO: TCP Data received {"connection_id":111548,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3256230012d196840071fed28004200611f..."} 
[2026-06-23 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3256230012d196840071fed28004200611f..."} 
[2026-06-23 11:55:49] local.INFO: Processing buffer {"connection_id":111548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3256230012d196840071fed28004200611f..."} 
[2026-06-23 11:55:49] local.INFO: Packet analysis {"connection_id":111548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef325"} 
[2026-06-23 11:55:49] local.INFO: Extracted packet for processing {"connection_id":111548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef325"} 
[2026-06-23 11:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242112768001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782195774000,"timestamp_ms":1782195774000,"timestamp_seconds":1782195774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3256230"} 
[2026-06-23 11:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 11:55:49] 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-06-23 11: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-06-23 11:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242112768001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242112768001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242112768001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":111548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:55:49] local.INFO: GPS data processed {"connection_id":111548,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:55:49] local.INFO: Acknowledgment sent {"connection_id":111548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:56:03] local.INFO: TCP Data received {"connection_id":110923,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:56:03] local.INFO: Processing buffer {"connection_id":110923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:56:03] local.INFO: Packet analysis {"connection_id":110923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:56:03] local.INFO: Extracted packet for processing {"connection_id":110923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:56:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 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-06-23 11:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11: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-06-23 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-06-23 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-06-23 11:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":110923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:56:03] local.INFO: GPS data processed {"connection_id":110923,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:56:03] local.INFO: Acknowledgment sent {"connection_id":110923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:56:14] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:56:14] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:56:14] local.INFO: IMEI packet received {"connection_id":110924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":110924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:56:19] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:56:19] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:56:19] local.INFO: IMEI packet received {"connection_id":110924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":110924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:56:20] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef325b438012d196840071fed280042006123..."} 
[2026-06-23 11:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef325b438012d196840071fed280042006123..."} 
[2026-06-23 11:56:20] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef325b438012d196840071fed280042006123..."} 
[2026-06-23 11:56:20] local.INFO: Packet analysis {"connection_id":110924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef325"} 
[2026-06-23 11:56:20] local.INFO: Extracted packet for processing {"connection_id":110924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef325"} 
[2026-06-23 11:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242118144001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195795000,"timestamp_ms":1782195795000,"timestamp_seconds":1782195795,"priority":1,"record_length":96,"hex_timestamp":"0000019ef325b438"} 
[2026-06-23 11:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:56: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-06-23 11:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 11:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242118144001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242118144001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:56:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242118144001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":110924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:56:20] local.INFO: GPS data processed {"connection_id":110924,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:56:20] local.INFO: Acknowledgment sent {"connection_id":110924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:56:20] local.INFO: TCP Data received {"connection_id":110745,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:56:20] local.INFO: Processing buffer {"connection_id":110745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 11:56:20] local.INFO: IMEI packet received {"connection_id":110745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 11:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":110745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:56:24] local.INFO: TCP Data received {"connection_id":112489,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:56:24] local.INFO: Processing buffer {"connection_id":112489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:56:24] local.INFO: IMEI packet received {"connection_id":112489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":112489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:56:29] local.INFO: TCP Data received {"connection_id":112489,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:56:29] local.INFO: Processing buffer {"connection_id":112489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:56:29] local.INFO: IMEI packet received {"connection_id":112489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":112489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:56:31] local.INFO: TCP Data received {"connection_id":112489,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:56:31] local.INFO: Processing buffer {"connection_id":112489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:56:31] local.INFO: Packet analysis {"connection_id":112489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:56:31] local.INFO: Extracted packet for processing {"connection_id":112489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 11:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11:56: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-06-23 11: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-06-23 11:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:56:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":112489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:56:31] local.INFO: GPS data processed {"connection_id":112489,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:56:31] local.INFO: Acknowledgment sent {"connection_id":112489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:56:51] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3260640012d196840071fed280042006122..."} 
[2026-06-23 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3260640012d196840071fed280042006122..."} 
[2026-06-23 11:56:51] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3260640012d196840071fed280042006122..."} 
[2026-06-23 11:56:51] local.INFO: Packet analysis {"connection_id":110924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:56:51] local.INFO: Extracted packet for processing {"connection_id":110924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242123520001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195816000,"timestamp_ms":1782195816000,"timestamp_seconds":1782195816,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3260640"} 
[2026-06-23 11:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 11:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242123520001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242123520001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:56:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242123520001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":110924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:56:51] local.INFO: GPS data processed {"connection_id":110924,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:56:51] local.INFO: Acknowledgment sent {"connection_id":110924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:57:03] local.INFO: TCP Data received {"connection_id":112489,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:57:03] local.INFO: Processing buffer {"connection_id":112489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3247bb8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 11:57:03] local.INFO: Packet analysis {"connection_id":112489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:57:03] local.INFO: Extracted packet for processing {"connection_id":112489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef324"} 
[2026-06-23 11:57:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242025984001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782195715000,"timestamp_ms":1782195715000,"timestamp_seconds":1782195715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3247bb8"} 
[2026-06-23 11:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 11:57: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-06-23 11: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-06-23 11:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242025984001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242025984001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:57:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:57:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242025984001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":112489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:57:03] local.INFO: GPS data processed {"connection_id":112489,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:57:03] local.INFO: Acknowledgment sent {"connection_id":112489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:57:14] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:57:14] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:57:14] local.INFO: IMEI packet received {"connection_id":110746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":110746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:57:19] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:57:19] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:57:19] local.INFO: IMEI packet received {"connection_id":110746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":110746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:57:20] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3265848012d196840071fed280042006122..."} 
[2026-06-23 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3265848012d196840071fed280042006122..."} 
[2026-06-23 11:57:20] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3265848012d196840071fed280042006122..."} 
[2026-06-23 11:57:20] local.INFO: Packet analysis {"connection_id":110746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:57:20] local.INFO: Extracted packet for processing {"connection_id":110746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242128896001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195837000,"timestamp_ms":1782195837000,"timestamp_seconds":1782195837,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3265848"} 
[2026-06-23 11:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:57: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-06-23 11:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 11:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242128896001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242128896001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:57:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242128896001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":110746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:57:20] local.INFO: GPS data processed {"connection_id":110746,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:57:20] local.INFO: Acknowledgment sent {"connection_id":110746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:57:29] local.INFO: TCP Data received {"connection_id":110747,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:57:29] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:57:29] local.INFO: IMEI packet received {"connection_id":110747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":110747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:57:34] local.INFO: TCP Data received {"connection_id":110747,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:57:34] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:57:34] local.INFO: IMEI packet received {"connection_id":110747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":110747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:57:36] local.INFO: TCP Data received {"connection_id":110747,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:57:36] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:57:36] local.INFO: Packet analysis {"connection_id":110747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:57:36] local.INFO: Extracted packet for processing {"connection_id":110747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 11:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:57:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:57:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":110747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:57:36] local.INFO: GPS data processed {"connection_id":110747,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:57:36] local.INFO: Acknowledgment sent {"connection_id":110747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:57:51] local.INFO: TCP Data received {"connection_id":110746,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef326aa50012d196840071fed280042006122..."} 
[2026-06-23 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef326aa50012d196840071fed280042006122..."} 
[2026-06-23 11:57:51] local.INFO: Processing buffer {"connection_id":110746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef326aa50012d196840071fed280042006122..."} 
[2026-06-23 11:57:51] local.INFO: Packet analysis {"connection_id":110746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:57:51] local.INFO: Extracted packet for processing {"connection_id":110746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242134272001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195858000,"timestamp_ms":1782195858000,"timestamp_seconds":1782195858,"priority":1,"record_length":96,"hex_timestamp":"0000019ef326aa50"} 
[2026-06-23 11:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 11:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242134272001,"66":12406,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242134272001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:57:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242134272001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":110746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:57:51] local.INFO: GPS data processed {"connection_id":110746,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:57:51] local.INFO: Acknowledgment sent {"connection_id":110746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:58:08] local.INFO: TCP Data received {"connection_id":110747,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:58:08] local.INFO: Processing buffer {"connection_id":110747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:58:08] local.INFO: Packet analysis {"connection_id":110747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:58:08] local.INFO: Extracted packet for processing {"connection_id":110747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:58:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 11:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:58:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:58:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:58:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":110747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:58:08] local.INFO: GPS data processed {"connection_id":110747,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:58:08] local.INFO: Acknowledgment sent {"connection_id":110747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:58:14] local.INFO: TCP Data received {"connection_id":112490,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:58:14] local.INFO: Processing buffer {"connection_id":112490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:58:14] local.INFO: IMEI packet received {"connection_id":112490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":112490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:58:19] local.INFO: TCP Data received {"connection_id":112490,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:58:19] local.INFO: Processing buffer {"connection_id":112490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:58:19] local.INFO: IMEI packet received {"connection_id":112490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":112490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:58:20] local.INFO: TCP Data received {"connection_id":112490,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef326fc58012d196840071fed280042006123..."} 
[2026-06-23 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef326fc58012d196840071fed280042006123..."} 
[2026-06-23 11:58:20] local.INFO: Processing buffer {"connection_id":112490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef326fc58012d196840071fed280042006123..."} 
[2026-06-23 11:58:20] local.INFO: Packet analysis {"connection_id":112490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:58:20] local.INFO: Extracted packet for processing {"connection_id":112490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef326"} 
[2026-06-23 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242139648001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195879000,"timestamp_ms":1782195879000,"timestamp_seconds":1782195879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef326fc58"} 
[2026-06-23 11:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:58:20] 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-06-23 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 11:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242139648001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242139648001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:58:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242139648001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":112490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:58:20] local.INFO: GPS data processed {"connection_id":112490,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:58:20] local.INFO: Acknowledgment sent {"connection_id":112490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:58:24] local.INFO: TCP Data received {"connection_id":110749,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:58:24] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:58:24] local.INFO: IMEI packet received {"connection_id":110749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":110749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:58:29] local.INFO: TCP Data received {"connection_id":110749,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:58:29] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:58:29] local.INFO: IMEI packet received {"connection_id":110749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":110749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:58:31] local.INFO: TCP Data received {"connection_id":110749,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:58:31] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:58:31] local.INFO: Packet analysis {"connection_id":110749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:58:31] local.INFO: Extracted packet for processing {"connection_id":110749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:58:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 11:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 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-06-23 11:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 11:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:58:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:58:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":110749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:58:31] local.INFO: GPS data processed {"connection_id":110749,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:58:31] local.INFO: Acknowledgment sent {"connection_id":110749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:58:50] local.INFO: TCP Data received {"connection_id":112490,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3274e60012d196840071fed280042006121..."} 
[2026-06-23 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3274e60012d196840071fed280042006121..."} 
[2026-06-23 11:58:50] local.INFO: Processing buffer {"connection_id":112490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3274e60012d196840071fed280042006121..."} 
[2026-06-23 11:58:50] local.INFO: Packet analysis {"connection_id":112490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef327"} 
[2026-06-23 11:58:50] local.INFO: Extracted packet for processing {"connection_id":112490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef327"} 
[2026-06-23 11:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242145024001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782195900000,"timestamp_ms":1782195900000,"timestamp_seconds":1782195900,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3274e60"} 
[2026-06-23 11:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 11:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 11:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242145024001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242145024001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:58:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242145024001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":112490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:58:51] local.INFO: GPS data processed {"connection_id":112490,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:58:51] local.INFO: Acknowledgment sent {"connection_id":112490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:59:02] local.INFO: TCP Data received {"connection_id":110749,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:59:02] local.INFO: Processing buffer {"connection_id":110749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:59:02] local.INFO: Packet analysis {"connection_id":110749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:59:02] local.INFO: Extracted packet for processing {"connection_id":110749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 11:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:59:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":110749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:59:02] local.INFO: GPS data processed {"connection_id":110749,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:59:02] local.INFO: Acknowledgment sent {"connection_id":110749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:59:19] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:59:19] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:59:19] local.INFO: IMEI packet received {"connection_id":110925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 11:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":110925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:59:24] local.INFO: TCP Data received {"connection_id":112491,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:59:24] local.INFO: Processing buffer {"connection_id":112491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:59:24] local.INFO: IMEI packet received {"connection_id":112491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 11:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":112491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 11:59:24] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:59:24] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 11:59:24] local.INFO: IMEI packet received {"connection_id":110925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 11:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":110925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:59:25] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef327a068012d196840071fed280042006122..."} 
[2026-06-23 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef327a068012d196840071fed280042006122..."} 
[2026-06-23 11:59:25] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef327a068012d196840071fed280042006122..."} 
[2026-06-23 11:59:25] local.INFO: Packet analysis {"connection_id":110925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef327"} 
[2026-06-23 11:59:25] local.INFO: Extracted packet for processing {"connection_id":110925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef327"} 
[2026-06-23 11:59:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242150400001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782195921000,"timestamp_ms":1782195921000,"timestamp_seconds":1782195921,"priority":1,"record_length":96,"hex_timestamp":"0000019ef327a068"} 
[2026-06-23 11:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:59:25] 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-06-23 11:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 11:59:25] 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-06-23 11:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242150400001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242150400001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:59:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242150400001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":110925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:59:25] local.INFO: GPS data processed {"connection_id":110925,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:59:25] local.INFO: Acknowledgment sent {"connection_id":110925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:59:29] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef327f270012d196840071fed280042006121..."} 
[2026-06-23 11:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef327f270012d196840071fed280042006121..."} 
[2026-06-23 11:59:29] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef327f270012d196840071fed280042006121..."} 
[2026-06-23 11:59:29] local.INFO: Packet analysis {"connection_id":110925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef327"} 
[2026-06-23 11:59:29] local.INFO: Extracted packet for processing {"connection_id":110925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef327"} 
[2026-06-23 11:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 11: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-06-23 11:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242155776001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782195942000,"timestamp_ms":1782195942000,"timestamp_seconds":1782195942,"priority":1,"record_length":96,"hex_timestamp":"0000019ef327f270"} 
[2026-06-23 11:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:59: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-06-23 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 11:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11: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-06-23 11:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 11:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 11:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 11:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242155776001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 11:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 11:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 11:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242155776001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:59:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 11:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 11:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 11:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242155776001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 11:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":110925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:59:29] local.INFO: GPS data processed {"connection_id":110925,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:59:29] local.INFO: Acknowledgment sent {"connection_id":110925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 11:59:29] local.INFO: TCP Data received {"connection_id":112491,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:59:29] local.INFO: Processing buffer {"connection_id":112491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 11:59:29] local.INFO: IMEI packet received {"connection_id":112491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 11:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":112491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 11:59:31] local.INFO: TCP Data received {"connection_id":112491,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:59:31] local.INFO: Processing buffer {"connection_id":112491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 11:59:31] local.INFO: Packet analysis {"connection_id":112491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:59:31] local.INFO: Extracted packet for processing {"connection_id":112491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 11:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 11:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 11:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 11:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 11:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 11:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 11:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 11:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 11:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 11:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 11:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 11:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 11:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 11:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 11:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 11:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 11:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 11:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 11:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 11:59:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 11:59:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 11:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 11:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 11:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 11:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":112491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 11:59:31] local.INFO: GPS data processed {"connection_id":112491,"processed":1,"errors":0,"total":1} 
[2026-06-23 11:59:31] local.INFO: Acknowledgment sent {"connection_id":112491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:00:02] local.INFO: TCP Data received {"connection_id":112491,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:02] local.INFO: Processing buffer {"connection_id":112491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:02] local.INFO: Packet analysis {"connection_id":112491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:00:02] local.INFO: Extracted packet for processing {"connection_id":112491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:00:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 12:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:00:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":112491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:00:02] local.INFO: GPS data processed {"connection_id":112491,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:00:02] local.INFO: Acknowledgment sent {"connection_id":112491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:00:11] local.INFO: TCP Data received {"connection_id":111552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:11] local.INFO: Processing buffer {"connection_id":111552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:11] local.INFO: IMEI packet received {"connection_id":111552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":111552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:00:14] local.INFO: TCP Data received {"connection_id":111552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:14] local.INFO: Processing buffer {"connection_id":111552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:14] local.INFO: IMEI packet received {"connection_id":111552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":111552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:00:19] local.INFO: TCP Data received {"connection_id":111552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:19] local.INFO: Processing buffer {"connection_id":111552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:00:19] local.INFO: IMEI packet received {"connection_id":111552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":111552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:00:20] local.INFO: TCP Data received {"connection_id":111552,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3284478012d196840071fed280042006123..."} 
[2026-06-23 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3284478012d196840071fed280042006123..."} 
[2026-06-23 12:00:20] local.INFO: Processing buffer {"connection_id":111552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3284478012d196840071fed280042006123..."} 
[2026-06-23 12:00:20] local.INFO: Packet analysis {"connection_id":111552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef328"} 
[2026-06-23 12:00:20] local.INFO: Extracted packet for processing {"connection_id":111552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef328"} 
[2026-06-23 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242161152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782195963000,"timestamp_ms":1782195963000,"timestamp_seconds":1782195963,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3284478"} 
[2026-06-23 12:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:00:20] 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-06-23 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 12:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242161152001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242161152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:00:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242161152001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":111552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:00:20] local.INFO: GPS data processed {"connection_id":111552,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:00:20] local.INFO: Acknowledgment sent {"connection_id":111552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:00:29] local.INFO: TCP Data received {"connection_id":112492,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:00:29] local.INFO: Processing buffer {"connection_id":112492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:00:29] local.INFO: IMEI packet received {"connection_id":112492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":112492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:00:34] local.INFO: TCP Data received {"connection_id":112492,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:00:34] local.INFO: Processing buffer {"connection_id":112492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:00:34] local.INFO: IMEI packet received {"connection_id":112492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":112492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:00:35] local.INFO: TCP Data received {"connection_id":112492,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:35] local.INFO: Processing buffer {"connection_id":112492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:35] local.INFO: Packet analysis {"connection_id":112492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:00:35] local.INFO: Extracted packet for processing {"connection_id":112492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:00:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 12:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":112492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:00:36] local.INFO: GPS data processed {"connection_id":112492,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:00:36] local.INFO: Acknowledgment sent {"connection_id":112492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:00:40] local.INFO: TCP Data received {"connection_id":112492,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:40] local.INFO: Processing buffer {"connection_id":112492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:00:40] local.INFO: Packet analysis {"connection_id":112492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:00:40] local.INFO: Extracted packet for processing {"connection_id":112492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 12:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:00:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:00:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":112492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:00:40] local.INFO: GPS data processed {"connection_id":112492,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:00:40] local.INFO: Acknowledgment sent {"connection_id":112492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:00:51] local.INFO: TCP Data received {"connection_id":111552,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3289680012d196840071fed280042006123..."} 
[2026-06-23 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3289680012d196840071fed280042006123..."} 
[2026-06-23 12:00:51] local.INFO: Processing buffer {"connection_id":111552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3289680012d196840071fed280042006123..."} 
[2026-06-23 12:00:51] local.INFO: Packet analysis {"connection_id":111552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef328"} 
[2026-06-23 12:00:51] local.INFO: Extracted packet for processing {"connection_id":111552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef328"} 
[2026-06-23 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242166528001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782195984000,"timestamp_ms":1782195984000,"timestamp_seconds":1782195984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3289680"} 
[2026-06-23 12:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:00: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-06-23 12:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242166528001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242166528001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:00:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242166528001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":111552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:00:51] local.INFO: GPS data processed {"connection_id":111552,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:00:51] local.INFO: Acknowledgment sent {"connection_id":111552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:01:14] local.INFO: TCP Data received {"connection_id":110751,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:14] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:14] local.INFO: IMEI packet received {"connection_id":110751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":110751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:01:14] local.INFO: TCP Data received {"connection_id":110751,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:14] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:14] local.INFO: IMEI packet received {"connection_id":110751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":110751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:01:19] local.INFO: TCP Data received {"connection_id":110751,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:19] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:01:19] local.INFO: IMEI packet received {"connection_id":110751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":110751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:01:20] local.INFO: TCP Data received {"connection_id":110751,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef328e888012d196840071fed280042006124..."} 
[2026-06-23 12:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef328e888012d196840071fed280042006124..."} 
[2026-06-23 12:01:20] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef328e888012d196840071fed280042006124..."} 
[2026-06-23 12:01:20] local.INFO: Packet analysis {"connection_id":110751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef328"} 
[2026-06-23 12:01:20] local.INFO: Extracted packet for processing {"connection_id":110751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef328"} 
[2026-06-23 12:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242171904001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196005000,"timestamp_ms":1782196005000,"timestamp_seconds":1782196005,"priority":1,"record_length":96,"hex_timestamp":"0000019ef328e888"} 
[2026-06-23 12:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:01: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-06-23 12:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 12:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242171904001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242171904001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:01:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242171904001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":110751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:01:20] local.INFO: GPS data processed {"connection_id":110751,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:01:20] local.INFO: Acknowledgment sent {"connection_id":110751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:01:24] local.INFO: TCP Data received {"connection_id":112493,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:01:24] local.INFO: Processing buffer {"connection_id":112493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:01:24] local.INFO: IMEI packet received {"connection_id":112493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":112493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:01:27] local.INFO: TCP Data received {"connection_id":110750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:01:27] local.INFO: Processing buffer {"connection_id":110750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:01:27] local.INFO: IMEI packet received {"connection_id":110750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":110750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:01:29] local.INFO: TCP Data received {"connection_id":112493,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:01:29] local.INFO: Processing buffer {"connection_id":112493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:01:29] local.INFO: IMEI packet received {"connection_id":112493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":112493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:01:31] local.INFO: TCP Data received {"connection_id":112493,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:01:31] local.INFO: Processing buffer {"connection_id":112493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:01:31] local.INFO: Packet analysis {"connection_id":112493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:01:31] local.INFO: Extracted packet for processing {"connection_id":112493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 12:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:01:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:01:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":112493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:01:31] local.INFO: GPS data processed {"connection_id":112493,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:01:31] local.INFO: Acknowledgment sent {"connection_id":112493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:01:51] local.INFO: TCP Data received {"connection_id":110751,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3293a90012d196840071fed280042006122..."} 
[2026-06-23 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3293a90012d196840071fed280042006122..."} 
[2026-06-23 12:01:51] local.INFO: Processing buffer {"connection_id":110751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3293a90012d196840071fed280042006122..."} 
[2026-06-23 12:01:51] local.INFO: Packet analysis {"connection_id":110751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:01:51] local.INFO: Extracted packet for processing {"connection_id":110751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242177280001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196026000,"timestamp_ms":1782196026000,"timestamp_seconds":1782196026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3293a90"} 
[2026-06-23 12:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 12:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242177280001,"66":12385,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242177280001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242177280001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":110751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:01:51] local.INFO: GPS data processed {"connection_id":110751,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:01:51] local.INFO: Acknowledgment sent {"connection_id":110751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:02:02] local.INFO: TCP Data received {"connection_id":112493,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:02:02] local.INFO: Processing buffer {"connection_id":112493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:02:02] local.INFO: Packet analysis {"connection_id":112493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:02:02] local.INFO: Extracted packet for processing {"connection_id":112493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:02:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 12:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:02:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":112493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:02:02] local.INFO: GPS data processed {"connection_id":112493,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:02:02] local.INFO: Acknowledgment sent {"connection_id":112493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:02:07] local.INFO: TCP Data received {"connection_id":110926,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:02:07] local.INFO: Processing buffer {"connection_id":110926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:02:07] local.INFO: IMEI packet received {"connection_id":110926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":110926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:02:14] local.INFO: TCP Data received {"connection_id":111553,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:02:14] local.INFO: Processing buffer {"connection_id":111553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:02:14] local.INFO: IMEI packet received {"connection_id":111553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":111553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:02:17] local.INFO: TCP Data received {"connection_id":111553,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:02:17] local.INFO: Processing buffer {"connection_id":111553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:02:17] local.INFO: IMEI packet received {"connection_id":111553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":111553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:02:18] local.INFO: TCP Data received {"connection_id":111553,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32cc0e8012d196840071fed280042006120..."} 
[2026-06-23 12:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32cc0e8012d196840071fed280042006120..."} 
[2026-06-23 12:02:18] local.INFO: Processing buffer {"connection_id":111553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32cc0e8012d196840071fed280042006120..."} 
[2026-06-23 12:02:18] local.INFO: Packet analysis {"connection_id":111553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32c"} 
[2026-06-23 12:02:18] local.INFO: Extracted packet for processing {"connection_id":111553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32c"} 
[2026-06-23 12:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242236416001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782196257000,"timestamp_ms":1782196257000,"timestamp_seconds":1782196257,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32cc0e8"} 
[2026-06-23 12:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:02:18] 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-06-23 12: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-06-23 12:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242236416001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242236416001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242236416001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":111553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:02:18] local.INFO: GPS data processed {"connection_id":111553,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:02:18] local.INFO: Acknowledgment sent {"connection_id":111553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:02:24] local.INFO: TCP Data received {"connection_id":111554,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:02:24] local.INFO: Processing buffer {"connection_id":111554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:02:24] local.INFO: IMEI packet received {"connection_id":111554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":111554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:02:29] local.INFO: TCP Data received {"connection_id":111554,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:02:29] local.INFO: Processing buffer {"connection_id":111554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:02:29] local.INFO: IMEI packet received {"connection_id":111554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":111554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:02:31] local.INFO: TCP Data received {"connection_id":111554,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:02:31] local.INFO: Processing buffer {"connection_id":111554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3291380012cb29b8007823df8004a00cf22..."} 
[2026-06-23 12:02:31] local.INFO: Packet analysis {"connection_id":111554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:02:31] local.INFO: Extracted packet for processing {"connection_id":111554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef329"} 
[2026-06-23 12:02:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242103040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196016000,"timestamp_ms":1782196016000,"timestamp_seconds":1782196016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3291380"} 
[2026-06-23 12:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242103040001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242103040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:02:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:02:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242103040001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":111554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:02:31] local.INFO: GPS data processed {"connection_id":111554,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:02:31] local.INFO: Acknowledgment sent {"connection_id":111554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:02:49] local.INFO: TCP Data received {"connection_id":111553,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32d12f0012d196840071fed280042006124..."} 
[2026-06-23 12:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32d12f0012d196840071fed280042006124..."} 
[2026-06-23 12:02:49] local.INFO: Processing buffer {"connection_id":111553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32d12f0012d196840071fed280042006124..."} 
[2026-06-23 12:02:49] local.INFO: Packet analysis {"connection_id":111553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:02:49] local.INFO: Extracted packet for processing {"connection_id":111553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242241792001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782196278000,"timestamp_ms":1782196278000,"timestamp_seconds":1782196278,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32d12f0"} 
[2026-06-23 12:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 12:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242241792001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242241792001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242241792001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":111553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:02:49] local.INFO: GPS data processed {"connection_id":111553,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:02:49] local.INFO: Acknowledgment sent {"connection_id":111553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:03:02] local.INFO: TCP Data received {"connection_id":111554,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:03:02] local.INFO: Processing buffer {"connection_id":111554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:03:02] local.INFO: Packet analysis {"connection_id":111554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:02] local.INFO: Extracted packet for processing {"connection_id":111554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 12:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:03:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":111554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:03:02] local.INFO: GPS data processed {"connection_id":111554,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:03:02] local.INFO: Acknowledgment sent {"connection_id":111554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:03:14] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:03:14] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:03:14] local.INFO: IMEI packet received {"connection_id":110927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":110927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:03:19] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:03:19] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:03:19] local.INFO: IMEI packet received {"connection_id":110927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":110927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:03:20] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32d64f8012d196840071fed280042006123..."} 
[2026-06-23 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32d64f8012d196840071fed280042006123..."} 
[2026-06-23 12:03:20] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32d64f8012d196840071fed280042006123..."} 
[2026-06-23 12:03:20] local.INFO: Packet analysis {"connection_id":110927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:20] local.INFO: Extracted packet for processing {"connection_id":110927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242247168001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196299000,"timestamp_ms":1782196299000,"timestamp_seconds":1782196299,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32d64f8"} 
[2026-06-23 12:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:03:20] 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-06-23 12:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 12:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242247168001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242247168001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:03:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242247168001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":110927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:03:20] local.INFO: GPS data processed {"connection_id":110927,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:03:20] local.INFO: Acknowledgment sent {"connection_id":110927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:03:24] local.INFO: TCP Data received {"connection_id":110752,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:03:24] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:03:24] local.INFO: IMEI packet received {"connection_id":110752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":110752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:03:29] local.INFO: TCP Data received {"connection_id":110752,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:03:29] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:03:29] local.INFO: IMEI packet received {"connection_id":110752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":110752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:03:31] local.INFO: TCP Data received {"connection_id":110752,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:03:31] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:03:31] local.INFO: Packet analysis {"connection_id":110752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:31] local.INFO: Extracted packet for processing {"connection_id":110752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 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-06-23 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:03:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:03:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":110752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:03:31] local.INFO: GPS data processed {"connection_id":110752,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:03:31] local.INFO: Acknowledgment sent {"connection_id":110752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:03:51] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32db700012d196840071fed280042006121..."} 
[2026-06-23 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32db700012d196840071fed280042006121..."} 
[2026-06-23 12:03:51] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32db700012d196840071fed280042006121..."} 
[2026-06-23 12:03:51] local.INFO: Packet analysis {"connection_id":110927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:51] local.INFO: Extracted packet for processing {"connection_id":110927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242252544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196320000,"timestamp_ms":1782196320000,"timestamp_seconds":1782196320,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32db700"} 
[2026-06-23 12:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242252544001,"66":12363,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242252544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:03:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242252544001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":110927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:03:51] local.INFO: GPS data processed {"connection_id":110927,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:03:51] local.INFO: Acknowledgment sent {"connection_id":110927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:04:02] local.INFO: TCP Data received {"connection_id":110752,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:02] local.INFO: Processing buffer {"connection_id":110752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:02] local.INFO: Packet analysis {"connection_id":110752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:04:02] local.INFO: Extracted packet for processing {"connection_id":110752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:04:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 12:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:04:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:04:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":110752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:04:02] local.INFO: GPS data processed {"connection_id":110752,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:04:02] local.INFO: Acknowledgment sent {"connection_id":110752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:04:14] local.INFO: TCP Data received {"connection_id":111555,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:04:14] local.INFO: Processing buffer {"connection_id":111555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:04:14] local.INFO: IMEI packet received {"connection_id":111555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":111555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:04:19] local.INFO: TCP Data received {"connection_id":111555,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:04:19] local.INFO: Processing buffer {"connection_id":111555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:04:19] local.INFO: IMEI packet received {"connection_id":111555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":111555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:04:20] local.INFO: TCP Data received {"connection_id":111555,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32e0908012d196840071fed280042006123..."} 
[2026-06-23 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32e0908012d196840071fed280042006123..."} 
[2026-06-23 12:04:20] local.INFO: Processing buffer {"connection_id":111555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32e0908012d196840071fed280042006123..."} 
[2026-06-23 12:04:20] local.INFO: Packet analysis {"connection_id":111555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:04:20] local.INFO: Extracted packet for processing {"connection_id":111555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:04:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257920001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196341000,"timestamp_ms":1782196341000,"timestamp_seconds":1782196341,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32e0908"} 
[2026-06-23 12:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:04:20] 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-06-23 12:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 12:04:20] 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-06-23 12:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257920001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257920001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:04:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:04:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257920001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":111555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:04:20] local.INFO: GPS data processed {"connection_id":111555,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:04:20] local.INFO: Acknowledgment sent {"connection_id":111555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:04:29] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:04:29] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:04:29] local.INFO: IMEI packet received {"connection_id":110929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":110929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:04:34] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:04:34] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:04:34] local.INFO: IMEI packet received {"connection_id":110929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":110929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:04:36] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:36] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:36] local.INFO: Packet analysis {"connection_id":110929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:04:36] local.INFO: Extracted packet for processing {"connection_id":110929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 12:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:04:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:04:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":110929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:04:36] local.INFO: GPS data processed {"connection_id":110929,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:04:36] local.INFO: Acknowledgment sent {"connection_id":110929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:04:40] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:40] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:04:40] local.INFO: Packet analysis {"connection_id":110929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:04:40] local.INFO: Extracted packet for processing {"connection_id":110929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 12:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:04:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:04:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":110929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:04:40] local.INFO: GPS data processed {"connection_id":110929,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:04:40] local.INFO: Acknowledgment sent {"connection_id":110929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:04:51] local.INFO: TCP Data received {"connection_id":111555,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32e5b10012d196840071fed280042006122..."} 
[2026-06-23 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32e5b10012d196840071fed280042006122..."} 
[2026-06-23 12:04:51] local.INFO: Processing buffer {"connection_id":111555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32e5b10012d196840071fed280042006122..."} 
[2026-06-23 12:04:51] local.INFO: Packet analysis {"connection_id":111555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:04:51] local.INFO: Extracted packet for processing {"connection_id":111555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242263296001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196362000,"timestamp_ms":1782196362000,"timestamp_seconds":1782196362,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32e5b10"} 
[2026-06-23 12:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242263296001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242263296001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:04:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242263296001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":111555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:04:51] local.INFO: GPS data processed {"connection_id":111555,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:04:51] local.INFO: Acknowledgment sent {"connection_id":111555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:05:13] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:05:13] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:05:13] local.INFO: IMEI packet received {"connection_id":110931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":110931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:05:19] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:05:19] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:05:19] local.INFO: IMEI packet received {"connection_id":110931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":110931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:05:20] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32ead18012d196840071fed280042006121..."} 
[2026-06-23 12:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32ead18012d196840071fed280042006121..."} 
[2026-06-23 12:05:20] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32ead18012d196840071fed280042006121..."} 
[2026-06-23 12:05:20] local.INFO: Packet analysis {"connection_id":110931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:05:20] local.INFO: Extracted packet for processing {"connection_id":110931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242268672001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196383000,"timestamp_ms":1782196383000,"timestamp_seconds":1782196383,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32ead18"} 
[2026-06-23 12:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:05:20] 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-06-23 12:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242268672001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242268672001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:05:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242268672001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":110931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:05:20] local.INFO: GPS data processed {"connection_id":110931,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:05:20] local.INFO: Acknowledgment sent {"connection_id":110931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:05:24] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:05:24] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:05:24] local.INFO: IMEI packet received {"connection_id":110932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":110932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:05:29] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:05:29] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:05:29] local.INFO: IMEI packet received {"connection_id":110932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":110932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:05:31] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:05:31] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:05:31] local.INFO: Packet analysis {"connection_id":110932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:05:31] local.INFO: Extracted packet for processing {"connection_id":110932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 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-06-23 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:05:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:05:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":110932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:05:31] local.INFO: GPS data processed {"connection_id":110932,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:05:31] local.INFO: Acknowledgment sent {"connection_id":110932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:05:51] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32eff20012d196840071fed280042006121..."} 
[2026-06-23 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32eff20012d196840071fed280042006121..."} 
[2026-06-23 12:05:51] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32eff20012d196840071fed280042006121..."} 
[2026-06-23 12:05:51] local.INFO: Packet analysis {"connection_id":110931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:05:51] local.INFO: Extracted packet for processing {"connection_id":110931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32e"} 
[2026-06-23 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242274048001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196404000,"timestamp_ms":1782196404000,"timestamp_seconds":1782196404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32eff20"} 
[2026-06-23 12:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242274048001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242274048001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242274048001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":110931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:05:51] local.INFO: GPS data processed {"connection_id":110931,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:05:51] local.INFO: Acknowledgment sent {"connection_id":110931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:06:02] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:06:02] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:06:02] local.INFO: Packet analysis {"connection_id":110932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:06:02] local.INFO: Extracted packet for processing {"connection_id":110932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 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-06-23 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:06:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":110932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:06:02] local.INFO: GPS data processed {"connection_id":110932,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:06:02] local.INFO: Acknowledgment sent {"connection_id":110932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:06:13] local.INFO: TCP Data received {"connection_id":110753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:06:13] local.INFO: Processing buffer {"connection_id":110753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:06:13] local.INFO: IMEI packet received {"connection_id":110753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":110753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:06:19] local.INFO: TCP Data received {"connection_id":110753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:06:19] local.INFO: Processing buffer {"connection_id":110753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:06:19] local.INFO: IMEI packet received {"connection_id":110753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":110753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:06:20] local.INFO: TCP Data received {"connection_id":110753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32f5128012d196840071fed280042006123..."} 
[2026-06-23 12:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32f5128012d196840071fed280042006123..."} 
[2026-06-23 12:06:20] local.INFO: Processing buffer {"connection_id":110753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32f5128012d196840071fed280042006123..."} 
[2026-06-23 12:06:20] local.INFO: Packet analysis {"connection_id":110753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32f"} 
[2026-06-23 12:06:20] local.INFO: Extracted packet for processing {"connection_id":110753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32f"} 
[2026-06-23 12:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242279424001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196425000,"timestamp_ms":1782196425000,"timestamp_seconds":1782196425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32f5128"} 
[2026-06-23 12:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:06:20] 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-06-23 12:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-924151720833115800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:06:20] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,10,158,173,45,64,237,66,33,91,34,9,1,240,53,227,243,31,4,113,205,100,104,40,35,239,48,2,14,7,32],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:06:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242279424001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242279424001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242279424001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":110753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:06:20] local.INFO: GPS data processed {"connection_id":110753,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:06:20] local.INFO: Acknowledgment sent {"connection_id":110753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:06:24] local.INFO: TCP Data received {"connection_id":112496,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:06:24] local.INFO: Processing buffer {"connection_id":112496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:06:24] local.INFO: IMEI packet received {"connection_id":112496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":112496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:06:29] local.INFO: TCP Data received {"connection_id":112496,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:06:29] local.INFO: Processing buffer {"connection_id":112496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:06:29] local.INFO: IMEI packet received {"connection_id":112496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":112496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:06:31] local.INFO: TCP Data received {"connection_id":112496,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:06:31] local.INFO: Processing buffer {"connection_id":112496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:06:31] local.INFO: Packet analysis {"connection_id":112496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:06:31] local.INFO: Extracted packet for processing {"connection_id":112496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 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-06-23 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:06:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:06:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":112496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:06:31] local.INFO: GPS data processed {"connection_id":112496,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:06:31] local.INFO: Acknowledgment sent {"connection_id":112496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:06:50] local.INFO: TCP Data received {"connection_id":110753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32fa330012d196840071fed28004200611f..."} 
[2026-06-23 12:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32fa330012d196840071fed28004200611f..."} 
[2026-06-23 12:06:50] local.INFO: Processing buffer {"connection_id":110753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32fa330012d196840071fed28004200611f..."} 
[2026-06-23 12:06:50] local.INFO: Packet analysis {"connection_id":110753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32f"} 
[2026-06-23 12:06:50] local.INFO: Extracted packet for processing {"connection_id":110753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32f"} 
[2026-06-23 12:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242284800001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782196446000,"timestamp_ms":1782196446000,"timestamp_seconds":1782196446,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32fa330"} 
[2026-06-23 12:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242284800001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242284800001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:06:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242284800001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":110753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:06:50] local.INFO: GPS data processed {"connection_id":110753,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:06:50] local.INFO: Acknowledgment sent {"connection_id":110753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:07:02] local.INFO: TCP Data received {"connection_id":112496,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:07:02] local.INFO: Processing buffer {"connection_id":112496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:07:02] local.INFO: Packet analysis {"connection_id":112496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:07:02] local.INFO: Extracted packet for processing {"connection_id":112496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:07:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 12:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:07:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":112496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:07:02] local.INFO: GPS data processed {"connection_id":112496,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:07:02] local.INFO: Acknowledgment sent {"connection_id":112496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:07:19] local.INFO: TCP Data received {"connection_id":110934,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:07:19] local.INFO: Processing buffer {"connection_id":110934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:07:19] local.INFO: IMEI packet received {"connection_id":110934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":110934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:07:24] local.INFO: TCP Data received {"connection_id":110934,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:07:24] local.INFO: Processing buffer {"connection_id":110934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:07:24] local.INFO: IMEI packet received {"connection_id":110934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":110934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:07:24] local.INFO: TCP Data received {"connection_id":110935,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:07:24] local.INFO: Processing buffer {"connection_id":110935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:07:24] local.INFO: IMEI packet received {"connection_id":110935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":110935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:07:25] local.INFO: TCP Data received {"connection_id":110934,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32ff538012d196840071fed280042006123..."} 
[2026-06-23 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32ff538012d196840071fed280042006123..."} 
[2026-06-23 12:07:25] local.INFO: Processing buffer {"connection_id":110934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32ff538012d196840071fed280042006123..."} 
[2026-06-23 12:07:25] local.INFO: Packet analysis {"connection_id":110934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32f"} 
[2026-06-23 12:07:25] local.INFO: Extracted packet for processing {"connection_id":110934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32f"} 
[2026-06-23 12:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242290176001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782196467000,"timestamp_ms":1782196467000,"timestamp_seconds":1782196467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32ff538"} 
[2026-06-23 12:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:07:25] 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-06-23 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242290176001,"66":12330,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242290176001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:07:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:07:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242290176001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":110934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:07:25] local.INFO: GPS data processed {"connection_id":110934,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:07:25] local.INFO: Acknowledgment sent {"connection_id":110934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:07:29] local.INFO: TCP Data received {"connection_id":110934,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3304740012d196840071fed280042006122..."} 
[2026-06-23 12:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3304740012d196840071fed280042006122..."} 
[2026-06-23 12:07:29] local.INFO: Processing buffer {"connection_id":110934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3304740012d196840071fed280042006122..."} 
[2026-06-23 12:07:29] local.INFO: Packet analysis {"connection_id":110934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef330"} 
[2026-06-23 12:07:29] local.INFO: Extracted packet for processing {"connection_id":110934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef330"} 
[2026-06-23 12:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242295552001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782196488000,"timestamp_ms":1782196488000,"timestamp_seconds":1782196488,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3304740"} 
[2026-06-23 12:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:07:29] 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-06-23 12:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-23 12:07:29] 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-06-23 12:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242295552001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242295552001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:07:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242295552001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":110934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:07:29] local.INFO: GPS data processed {"connection_id":110934,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:07:29] local.INFO: Acknowledgment sent {"connection_id":110934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:07:29] local.INFO: TCP Data received {"connection_id":110935,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:07:29] local.INFO: Processing buffer {"connection_id":110935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:07:29] local.INFO: IMEI packet received {"connection_id":110935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":110935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:07:31] local.INFO: TCP Data received {"connection_id":110935,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:07:31] local.INFO: Processing buffer {"connection_id":110935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef32dab48012cb29b8007823df8004a00cf1f..."} 
[2026-06-23 12:07:31] local.INFO: Packet analysis {"connection_id":110935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:07:31] local.INFO: Extracted packet for processing {"connection_id":110935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef32d"} 
[2026-06-23 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242180096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196317000,"timestamp_ms":1782196317000,"timestamp_seconds":1782196317,"priority":1,"record_length":96,"hex_timestamp":"0000019ef32dab48"} 
[2026-06-23 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-06-23 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242180096001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242180096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:07:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:07:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242180096001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":110935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:07:31] local.INFO: GPS data processed {"connection_id":110935,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:07:31] local.INFO: Acknowledgment sent {"connection_id":110935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:07:42] local.INFO: TCP Data received {"connection_id":110754,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:07:42] local.INFO: Processing buffer {"connection_id":110754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:07:42] local.INFO: IMEI packet received {"connection_id":110754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":110754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:08:02] local.INFO: TCP Data received {"connection_id":110935,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:02] local.INFO: Processing buffer {"connection_id":110935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:02] local.INFO: Packet analysis {"connection_id":110935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:08:02] local.INFO: Extracted packet for processing {"connection_id":110935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:08:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:08:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":110935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:08:02] local.INFO: GPS data processed {"connection_id":110935,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:08:02] local.INFO: Acknowledgment sent {"connection_id":110935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:08:07] local.INFO: TCP Data received {"connection_id":112497,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:08:07] local.INFO: Processing buffer {"connection_id":112497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:08:07] local.INFO: IMEI packet received {"connection_id":112497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":112497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:08:14] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:14] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:14] local.INFO: IMEI packet received {"connection_id":110936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":110936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:08:14] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:14] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:14] local.INFO: IMEI packet received {"connection_id":110936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":110936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:08:19] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:19] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:08:19] local.INFO: IMEI packet received {"connection_id":110936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":110936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:08:20] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3309948012d196840071fed280042006121..."} 
[2026-06-23 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3309948012d196840071fed280042006121..."} 
[2026-06-23 12:08:20] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3309948012d196840071fed280042006121..."} 
[2026-06-23 12:08:20] local.INFO: Packet analysis {"connection_id":110936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef330"} 
[2026-06-23 12:08:20] local.INFO: Extracted packet for processing {"connection_id":110936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef330"} 
[2026-06-23 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242300928001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196509000,"timestamp_ms":1782196509000,"timestamp_seconds":1782196509,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3309948"} 
[2026-06-23 12:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:08:20] 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-06-23 12:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242300928001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242300928001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:08:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242300928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":110936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:08:20] local.INFO: GPS data processed {"connection_id":110936,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:08:20] local.INFO: Acknowledgment sent {"connection_id":110936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:08:24] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef330eb50012d196840071fed280042006122..."} 
[2026-06-23 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef330eb50012d196840071fed280042006122..."} 
[2026-06-23 12:08:24] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef330eb50012d196840071fed280042006122..."} 
[2026-06-23 12:08:24] local.INFO: Packet analysis {"connection_id":110936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef330"} 
[2026-06-23 12:08:24] local.INFO: Extracted packet for processing {"connection_id":110936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef330"} 
[2026-06-23 12:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242306304001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782196530000,"timestamp_ms":1782196530000,"timestamp_seconds":1782196530,"priority":1,"record_length":96,"hex_timestamp":"0000019ef330eb50"} 
[2026-06-23 12:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:08:24] 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-06-23 12:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242306304001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242306304001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242306304001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":110936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:08:24] local.INFO: GPS data processed {"connection_id":110936,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:08:24] local.INFO: Acknowledgment sent {"connection_id":110936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:08:29] local.INFO: TCP Data received {"connection_id":110937,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:08:29] local.INFO: Processing buffer {"connection_id":110937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:08:29] local.INFO: IMEI packet received {"connection_id":110937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":110937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:08:34] local.INFO: TCP Data received {"connection_id":110937,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:08:34] local.INFO: Processing buffer {"connection_id":110937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:08:34] local.INFO: IMEI packet received {"connection_id":110937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":110937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:08:36] local.INFO: TCP Data received {"connection_id":110937,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:36] local.INFO: Processing buffer {"connection_id":110937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:36] local.INFO: Packet analysis {"connection_id":110937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:08:36] local.INFO: Extracted packet for processing {"connection_id":110937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:08:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:08:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":110937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:08:36] local.INFO: GPS data processed {"connection_id":110937,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:08:36] local.INFO: Acknowledgment sent {"connection_id":110937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:08:40] local.INFO: TCP Data received {"connection_id":110937,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:40] local.INFO: Processing buffer {"connection_id":110937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:08:40] local.INFO: Packet analysis {"connection_id":110937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:08:40] local.INFO: Extracted packet for processing {"connection_id":110937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:08:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:08:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":110937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:08:40] local.INFO: GPS data processed {"connection_id":110937,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:08:40] local.INFO: Acknowledgment sent {"connection_id":110937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:08:55] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3313d58012d196840071fed280042006124..."} 
[2026-06-23 12:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3313d58012d196840071fed280042006124..."} 
[2026-06-23 12:08:55] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3313d58012d196840071fed280042006124..."} 
[2026-06-23 12:08:55] local.INFO: Packet analysis {"connection_id":110936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef331"} 
[2026-06-23 12:08:55] local.INFO: Extracted packet for processing {"connection_id":110936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef331"} 
[2026-06-23 12:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242311680001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782196551000,"timestamp_ms":1782196551000,"timestamp_seconds":1782196551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3313d58"} 
[2026-06-23 12:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:08:55] 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-06-23 12: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-06-23 12:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242311680001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242311680001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242311680001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":110936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:08:55] local.INFO: GPS data processed {"connection_id":110936,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:08:55] local.INFO: Acknowledgment sent {"connection_id":110936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:09:14] local.INFO: TCP Data received {"connection_id":111556,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:09:14] local.INFO: Processing buffer {"connection_id":111556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:09:14] local.INFO: IMEI packet received {"connection_id":111556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":111556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:09:17] local.INFO: TCP Data received {"connection_id":111556,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:09:17] local.INFO: Processing buffer {"connection_id":111556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:09:17] local.INFO: IMEI packet received {"connection_id":111556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":111556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:09:18] local.INFO: TCP Data received {"connection_id":111556,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3318f60012d196840071fed280042006124..."} 
[2026-06-23 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3318f60012d196840071fed280042006124..."} 
[2026-06-23 12:09:18] local.INFO: Processing buffer {"connection_id":111556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3318f60012d196840071fed280042006124..."} 
[2026-06-23 12:09:18] local.INFO: Packet analysis {"connection_id":111556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef331"} 
[2026-06-23 12:09:18] local.INFO: Extracted packet for processing {"connection_id":111556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef331"} 
[2026-06-23 12:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242317056001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782196572000,"timestamp_ms":1782196572000,"timestamp_seconds":1782196572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3318f60"} 
[2026-06-23 12:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:09:18] 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-06-23 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:09:18] 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-06-23 12:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242317056001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242317056001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242317056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":111556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:09:18] local.INFO: GPS data processed {"connection_id":111556,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:09:18] local.INFO: Acknowledgment sent {"connection_id":111556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:09:24] local.INFO: TCP Data received {"connection_id":110939,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:09:24] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:09:24] local.INFO: IMEI packet received {"connection_id":110939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":110939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:09:29] local.INFO: TCP Data received {"connection_id":110939,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:09:29] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:09:29] local.INFO: IMEI packet received {"connection_id":110939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":110939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:09:30] local.INFO: TCP Data received {"connection_id":110939,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:09:30] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:09:30] local.INFO: Packet analysis {"connection_id":110939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:09:30] local.INFO: Extracted packet for processing {"connection_id":110939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:09:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:09:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":110939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:09:30] local.INFO: GPS data processed {"connection_id":110939,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:09:30] local.INFO: Acknowledgment sent {"connection_id":110939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:09:49] local.INFO: TCP Data received {"connection_id":111556,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef331e168012d196840071fed280042006123..."} 
[2026-06-23 12:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef331e168012d196840071fed280042006123..."} 
[2026-06-23 12:09:49] local.INFO: Processing buffer {"connection_id":111556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef331e168012d196840071fed280042006123..."} 
[2026-06-23 12:09:49] local.INFO: Packet analysis {"connection_id":111556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef331"} 
[2026-06-23 12:09:49] local.INFO: Extracted packet for processing {"connection_id":111556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef331"} 
[2026-06-23 12:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242322432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782196593000,"timestamp_ms":1782196593000,"timestamp_seconds":1782196593,"priority":1,"record_length":96,"hex_timestamp":"0000019ef331e168"} 
[2026-06-23 12:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242322432001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242322432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242322432001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":111556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:09:49] local.INFO: GPS data processed {"connection_id":111556,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:09:49] local.INFO: Acknowledgment sent {"connection_id":111556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:10:02] local.INFO: TCP Data received {"connection_id":110939,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:10:02] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:10:02] local.INFO: Packet analysis {"connection_id":110939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:02] local.INFO: Extracted packet for processing {"connection_id":110939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:10:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":110939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:10:02] local.INFO: GPS data processed {"connection_id":110939,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:10:02] local.INFO: Acknowledgment sent {"connection_id":110939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:10:13] local.INFO: TCP Data received {"connection_id":112498,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:10:13] local.INFO: Processing buffer {"connection_id":112498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:10:13] local.INFO: IMEI packet received {"connection_id":112498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":112498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:10:19] local.INFO: TCP Data received {"connection_id":112498,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:10:19] local.INFO: Processing buffer {"connection_id":112498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:10:19] local.INFO: IMEI packet received {"connection_id":112498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":112498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:10:20] local.INFO: TCP Data received {"connection_id":112498,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3323370012d196840071fed280042006125..."} 
[2026-06-23 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3323370012d196840071fed280042006125..."} 
[2026-06-23 12:10:20] local.INFO: Processing buffer {"connection_id":112498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3323370012d196840071fed280042006125..."} 
[2026-06-23 12:10:20] local.INFO: Packet analysis {"connection_id":112498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:20] local.INFO: Extracted packet for processing {"connection_id":112498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242327808001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196614000,"timestamp_ms":1782196614000,"timestamp_seconds":1782196614,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3323370"} 
[2026-06-23 12:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:10:20] 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-06-23 12:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242327808001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242327808001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:10:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242327808001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":112498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:10:20] local.INFO: GPS data processed {"connection_id":112498,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:10:20] local.INFO: Acknowledgment sent {"connection_id":112498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:10:25] local.INFO: TCP Data received {"connection_id":112499,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:10:25] local.INFO: Processing buffer {"connection_id":112499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:10:25] local.INFO: IMEI packet received {"connection_id":112499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":112499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:10:29] local.INFO: TCP Data received {"connection_id":112499,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:10:29] local.INFO: Processing buffer {"connection_id":112499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:10:29] local.INFO: IMEI packet received {"connection_id":112499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":112499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:10:31] local.INFO: TCP Data received {"connection_id":112499,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:10:31] local.INFO: Processing buffer {"connection_id":112499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:10:31] local.INFO: Packet analysis {"connection_id":112499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:31] local.INFO: Extracted packet for processing {"connection_id":112499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:10:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:10:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":112499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:10:31] local.INFO: GPS data processed {"connection_id":112499,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:10:31] local.INFO: Acknowledgment sent {"connection_id":112499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:10:51] local.INFO: TCP Data received {"connection_id":112498,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3328578012d196840071fed280042006125..."} 
[2026-06-23 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3328578012d196840071fed280042006125..."} 
[2026-06-23 12:10:51] local.INFO: Processing buffer {"connection_id":112498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3328578012d196840071fed280042006125..."} 
[2026-06-23 12:10:51] local.INFO: Packet analysis {"connection_id":112498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:51] local.INFO: Extracted packet for processing {"connection_id":112498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242333184001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196635000,"timestamp_ms":1782196635000,"timestamp_seconds":1782196635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3328578"} 
[2026-06-23 12:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242333184001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242333184001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242333184001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":112498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:10:51] local.INFO: GPS data processed {"connection_id":112498,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:10:51] local.INFO: Acknowledgment sent {"connection_id":112498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:11:03] local.INFO: TCP Data received {"connection_id":112499,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:11:03] local.INFO: Processing buffer {"connection_id":112499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:11:03] local.INFO: Packet analysis {"connection_id":112499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:11:03] local.INFO: Extracted packet for processing {"connection_id":112499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:11:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:11:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:11:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":112499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:11:03] local.INFO: GPS data processed {"connection_id":112499,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:11:03] local.INFO: Acknowledgment sent {"connection_id":112499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:11:14] local.INFO: TCP Data received {"connection_id":110756,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:11:14] local.INFO: Processing buffer {"connection_id":110756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:11:14] local.INFO: IMEI packet received {"connection_id":110756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":110756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:11:19] local.INFO: TCP Data received {"connection_id":110756,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:11:19] local.INFO: Processing buffer {"connection_id":110756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:11:19] local.INFO: IMEI packet received {"connection_id":110756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":110756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:11:20] local.INFO: TCP Data received {"connection_id":110756,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef332d780012d196840071fed280042006125..."} 
[2026-06-23 12:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef332d780012d196840071fed280042006125..."} 
[2026-06-23 12:11:20] local.INFO: Processing buffer {"connection_id":110756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef332d780012d196840071fed280042006125..."} 
[2026-06-23 12:11:20] local.INFO: Packet analysis {"connection_id":110756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:11:20] local.INFO: Extracted packet for processing {"connection_id":110756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242338560001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196656000,"timestamp_ms":1782196656000,"timestamp_seconds":1782196656,"priority":1,"record_length":96,"hex_timestamp":"0000019ef332d780"} 
[2026-06-23 12:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:11:20] 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-06-23 12:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242338560001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242338560001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:11:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242338560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":110756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:11:20] local.INFO: GPS data processed {"connection_id":110756,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:11:20] local.INFO: Acknowledgment sent {"connection_id":110756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:11:24] local.INFO: TCP Data received {"connection_id":111557,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:11:24] local.INFO: Processing buffer {"connection_id":111557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:11:24] local.INFO: IMEI packet received {"connection_id":111557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":111557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:11:29] local.INFO: TCP Data received {"connection_id":111557,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:11:29] local.INFO: Processing buffer {"connection_id":111557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:11:29] local.INFO: IMEI packet received {"connection_id":111557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:11:31] local.INFO: TCP Data received {"connection_id":111557,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:11:31] local.INFO: Processing buffer {"connection_id":111557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:11:31] local.INFO: Packet analysis {"connection_id":111557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:11:31] local.INFO: Extracted packet for processing {"connection_id":111557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:11:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:11:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:11:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":111557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:11:31] local.INFO: GPS data processed {"connection_id":111557,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:11:31] local.INFO: Acknowledgment sent {"connection_id":111557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:11:51] local.INFO: TCP Data received {"connection_id":110756,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3332988012d196840071fed280042006125..."} 
[2026-06-23 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3332988012d196840071fed280042006125..."} 
[2026-06-23 12:11:51] local.INFO: Processing buffer {"connection_id":110756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3332988012d196840071fed280042006125..."} 
[2026-06-23 12:11:51] local.INFO: Packet analysis {"connection_id":110756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef333"} 
[2026-06-23 12:11:51] local.INFO: Extracted packet for processing {"connection_id":110756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef333"} 
[2026-06-23 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242343936001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196677000,"timestamp_ms":1782196677000,"timestamp_seconds":1782196677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3332988"} 
[2026-06-23 12:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242343936001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242343936001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:11:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242343936001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":110756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:11:51] local.INFO: GPS data processed {"connection_id":110756,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:11:51] local.INFO: Acknowledgment sent {"connection_id":110756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:12:09] local.INFO: TCP Data received {"connection_id":111557,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:12:09] local.INFO: Processing buffer {"connection_id":111557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:12:09] local.INFO: Packet analysis {"connection_id":111557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:12:09] local.INFO: Extracted packet for processing {"connection_id":111557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 12:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:12:09] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:12:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":111557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:12:09] local.INFO: GPS data processed {"connection_id":111557,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:12:09] local.INFO: Acknowledgment sent {"connection_id":111557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:12:13] local.INFO: TCP Data received {"connection_id":110757,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:12:13] local.INFO: Processing buffer {"connection_id":110757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:12:13] local.INFO: IMEI packet received {"connection_id":110757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":110757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:12:19] local.INFO: TCP Data received {"connection_id":110757,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:12:19] local.INFO: Processing buffer {"connection_id":110757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:12:19] local.INFO: IMEI packet received {"connection_id":110757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":110757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:12:20] local.INFO: TCP Data received {"connection_id":110757,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3337b90012d196840071fed280042006124..."} 
[2026-06-23 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3337b90012d196840071fed280042006124..."} 
[2026-06-23 12:12:20] local.INFO: Processing buffer {"connection_id":110757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3337b90012d196840071fed280042006124..."} 
[2026-06-23 12:12:20] local.INFO: Packet analysis {"connection_id":110757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef333"} 
[2026-06-23 12:12:20] local.INFO: Extracted packet for processing {"connection_id":110757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef333"} 
[2026-06-23 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242349312001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196698000,"timestamp_ms":1782196698000,"timestamp_seconds":1782196698,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3337b90"} 
[2026-06-23 12:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:12:20] 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-06-23 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242349312001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242349312001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:12:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242349312001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":110757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:12:20] local.INFO: GPS data processed {"connection_id":110757,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:12:20] local.INFO: Acknowledgment sent {"connection_id":110757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:12:24] local.INFO: TCP Data received {"connection_id":110758,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:12:24] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:12:24] local.INFO: IMEI packet received {"connection_id":110758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":110758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:12:29] local.INFO: TCP Data received {"connection_id":110758,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:12:29] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:12:29] local.INFO: IMEI packet received {"connection_id":110758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":110758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:12:31] local.INFO: TCP Data received {"connection_id":110758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:12:31] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3324310012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:12:31] local.INFO: Packet analysis {"connection_id":110758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:12:31] local.INFO: Extracted packet for processing {"connection_id":110758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef332"} 
[2026-06-23 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242257152001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196618000,"timestamp_ms":1782196618000,"timestamp_seconds":1782196618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3324310"} 
[2026-06-23 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-06-23 12:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242257152001,"66":25582,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242257152001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242257152001,"power":25582,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":110758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:12:31] local.INFO: GPS data processed {"connection_id":110758,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:12:31] local.INFO: Acknowledgment sent {"connection_id":110758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:12:51] local.INFO: TCP Data received {"connection_id":110757,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef333cd98012d196840071fed280042006124..."} 
[2026-06-23 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef333cd98012d196840071fed280042006124..."} 
[2026-06-23 12:12:51] local.INFO: Processing buffer {"connection_id":110757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef333cd98012d196840071fed280042006124..."} 
[2026-06-23 12:12:51] local.INFO: Packet analysis {"connection_id":110757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef333"} 
[2026-06-23 12:12:51] local.INFO: Extracted packet for processing {"connection_id":110757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef333"} 
[2026-06-23 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242354688001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196719000,"timestamp_ms":1782196719000,"timestamp_seconds":1782196719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef333cd98"} 
[2026-06-23 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242354688001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242354688001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242354688001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":110757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:12:51] local.INFO: GPS data processed {"connection_id":110757,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:12:51] local.INFO: Acknowledgment sent {"connection_id":110757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:13:02] local.INFO: TCP Data received {"connection_id":110758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:13:02] local.INFO: Processing buffer {"connection_id":110758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:13:02] local.INFO: Packet analysis {"connection_id":110758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:13:02] local.INFO: Extracted packet for processing {"connection_id":110758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 12:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:13: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-06-23 12: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-06-23 12:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":110758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:13:02] local.INFO: GPS data processed {"connection_id":110758,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:13:02] local.INFO: Acknowledgment sent {"connection_id":110758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:13:13] local.INFO: TCP Data received {"connection_id":112501,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:13:13] local.INFO: Processing buffer {"connection_id":112501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:13:13] local.INFO: IMEI packet received {"connection_id":112501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":112501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:13:19] local.INFO: TCP Data received {"connection_id":112501,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:13:19] local.INFO: Processing buffer {"connection_id":112501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:13:19] local.INFO: IMEI packet received {"connection_id":112501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":112501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:13:20] local.INFO: TCP Data received {"connection_id":112501,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3341fa0012d196840071fed280042006125..."} 
[2026-06-23 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3341fa0012d196840071fed280042006125..."} 
[2026-06-23 12:13:20] local.INFO: Processing buffer {"connection_id":112501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3341fa0012d196840071fed280042006125..."} 
[2026-06-23 12:13:20] local.INFO: Packet analysis {"connection_id":112501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef334"} 
[2026-06-23 12:13:20] local.INFO: Extracted packet for processing {"connection_id":112501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef334"} 
[2026-06-23 12:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242360064001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782196740000,"timestamp_ms":1782196740000,"timestamp_seconds":1782196740,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3341fa0"} 
[2026-06-23 12:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242360064001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242360064001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:13:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242360064001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":112501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:13:20] local.INFO: GPS data processed {"connection_id":112501,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:13:20] local.INFO: Acknowledgment sent {"connection_id":112501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:13:24] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:13:24] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:13:24] local.INFO: IMEI packet received {"connection_id":110942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":110942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:13:29] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:13:29] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:13:29] local.INFO: IMEI packet received {"connection_id":110942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:13:31] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:13:31] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:13:31] local.INFO: Packet analysis {"connection_id":110942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:13:31] local.INFO: Extracted packet for processing {"connection_id":110942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 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-06-23 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:13:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":110942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:13:31] local.INFO: GPS data processed {"connection_id":110942,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:13:31] local.INFO: Acknowledgment sent {"connection_id":110942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:13:39] local.INFO: TCP Data received {"connection_id":112500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:13:39] local.INFO: Processing buffer {"connection_id":112500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:13:39] local.INFO: IMEI packet received {"connection_id":112500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":112500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:13:51] local.INFO: TCP Data received {"connection_id":112501,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33471a8012d196840071fed280042006120..."} 
[2026-06-23 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33471a8012d196840071fed280042006120..."} 
[2026-06-23 12:13:51] local.INFO: Processing buffer {"connection_id":112501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33471a8012d196840071fed280042006120..."} 
[2026-06-23 12:13:51] local.INFO: Packet analysis {"connection_id":112501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef334"} 
[2026-06-23 12:13:51] local.INFO: Extracted packet for processing {"connection_id":112501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef334"} 
[2026-06-23 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242365440001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782196761000,"timestamp_ms":1782196761000,"timestamp_seconds":1782196761,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33471a8"} 
[2026-06-23 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242365440001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242365440001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:13:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242365440001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":112501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:13:51] local.INFO: GPS data processed {"connection_id":112501,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:13:51] local.INFO: Acknowledgment sent {"connection_id":112501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:14:03] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:14:03] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:14:03] local.INFO: Packet analysis {"connection_id":110942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:14:03] local.INFO: Extracted packet for processing {"connection_id":110942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:14:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 12:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:14: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-06-23 12: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-06-23 12:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":110942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:14:03] local.INFO: GPS data processed {"connection_id":110942,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:14:03] local.INFO: Acknowledgment sent {"connection_id":110942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:14:07] local.INFO: TCP Data received {"connection_id":110759,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:14:07] local.INFO: Processing buffer {"connection_id":110759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:14:07] local.INFO: IMEI packet received {"connection_id":110759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":110759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:14:19] local.INFO: TCP Data received {"connection_id":111558,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:14:19] local.INFO: Processing buffer {"connection_id":111558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:14:19] local.INFO: IMEI packet received {"connection_id":111558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":111558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:14:24] local.INFO: TCP Data received {"connection_id":111558,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:14:24] local.INFO: Processing buffer {"connection_id":111558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:14:24] local.INFO: IMEI packet received {"connection_id":111558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":111558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:14:24] local.INFO: TCP Data received {"connection_id":111559,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:14:24] local.INFO: Processing buffer {"connection_id":111559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:14:24] local.INFO: IMEI packet received {"connection_id":111559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":111559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:14:25] local.INFO: TCP Data received {"connection_id":111558,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef334c3b0012d196840071fed280042006122..."} 
[2026-06-23 12:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef334c3b0012d196840071fed280042006122..."} 
[2026-06-23 12:14:25] local.INFO: Processing buffer {"connection_id":111558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef334c3b0012d196840071fed280042006122..."} 
[2026-06-23 12:14:25] local.INFO: Packet analysis {"connection_id":111558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef334"} 
[2026-06-23 12:14:25] local.INFO: Extracted packet for processing {"connection_id":111558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef334"} 
[2026-06-23 12:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242370816001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782196782000,"timestamp_ms":1782196782000,"timestamp_seconds":1782196782,"priority":1,"record_length":96,"hex_timestamp":"0000019ef334c3b0"} 
[2026-06-23 12:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:14:25] 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-06-23 12:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242370816001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242370816001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:14:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242370816001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":111558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:14:25] local.INFO: GPS data processed {"connection_id":111558,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:14:25] local.INFO: Acknowledgment sent {"connection_id":111558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:14:29] local.INFO: TCP Data received {"connection_id":111558,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33515b8012d196840071fed280042006122..."} 
[2026-06-23 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33515b8012d196840071fed280042006122..."} 
[2026-06-23 12:14:29] local.INFO: Processing buffer {"connection_id":111558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33515b8012d196840071fed280042006122..."} 
[2026-06-23 12:14:29] local.INFO: Packet analysis {"connection_id":111558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef335"} 
[2026-06-23 12:14:29] local.INFO: Extracted packet for processing {"connection_id":111558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef335"} 
[2026-06-23 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242376192001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782196803000,"timestamp_ms":1782196803000,"timestamp_seconds":1782196803,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33515b8"} 
[2026-06-23 12:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:14:29] 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-06-23 12:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242376192001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242376192001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:14:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242376192001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":111558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:14:29] local.INFO: GPS data processed {"connection_id":111558,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:14:29] local.INFO: Acknowledgment sent {"connection_id":111558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:14:29] local.INFO: TCP Data received {"connection_id":111559,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:14:29] local.INFO: Processing buffer {"connection_id":111559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:14:29] local.INFO: IMEI packet received {"connection_id":111559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":111559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:14:31] local.INFO: TCP Data received {"connection_id":111559,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:14:31] local.INFO: Processing buffer {"connection_id":111559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:14:31] local.INFO: Packet analysis {"connection_id":111559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:14:31] local.INFO: Extracted packet for processing {"connection_id":111559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:14:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 12:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:14: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-06-23 12: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-06-23 12:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:14:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:14:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":111559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:14:31] local.INFO: GPS data processed {"connection_id":111559,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:14:31] local.INFO: Acknowledgment sent {"connection_id":111559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:15:02] local.INFO: TCP Data received {"connection_id":111559,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:15:02] local.INFO: Processing buffer {"connection_id":111559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:15:02] local.INFO: Packet analysis {"connection_id":111559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:15:02] local.INFO: Extracted packet for processing {"connection_id":111559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:15:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 12:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:15: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-06-23 12: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-06-23 12:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:15:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":111559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:15:02] local.INFO: GPS data processed {"connection_id":111559,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:15:02] local.INFO: Acknowledgment sent {"connection_id":111559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:15:14] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:14] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:14] local.INFO: IMEI packet received {"connection_id":110943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":110943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:15:14] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:14] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:14] local.INFO: IMEI packet received {"connection_id":110943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":110943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:15:19] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:19] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:15:19] local.INFO: IMEI packet received {"connection_id":110943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":110943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:15:20] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3389c10012d196840071fed280042006120..."} 
[2026-06-23 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3389c10012d196840071fed280042006120..."} 
[2026-06-23 12:15:20] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3389c10012d196840071fed280042006120..."} 
[2026-06-23 12:15:20] local.INFO: Packet analysis {"connection_id":110943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef338"} 
[2026-06-23 12:15:20] local.INFO: Extracted packet for processing {"connection_id":110943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef338"} 
[2026-06-23 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242435328001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197034000,"timestamp_ms":1782197034000,"timestamp_seconds":1782197034,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3389c10"} 
[2026-06-23 12:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242435328001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242435328001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:15:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242435328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":110943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:15:20] local.INFO: GPS data processed {"connection_id":110943,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:15:20] local.INFO: Acknowledgment sent {"connection_id":110943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:15:24] local.INFO: TCP Data received {"connection_id":112503,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:15:24] local.INFO: Processing buffer {"connection_id":112503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:15:24] local.INFO: IMEI packet received {"connection_id":112503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":112503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:15:29] local.INFO: TCP Data received {"connection_id":112503,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:15:29] local.INFO: Processing buffer {"connection_id":112503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:15:29] local.INFO: IMEI packet received {"connection_id":112503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":112503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:15:31] local.INFO: TCP Data received {"connection_id":112503,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:15:31] local.INFO: Processing buffer {"connection_id":112503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:15:31] local.INFO: Packet analysis {"connection_id":112503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:15:31] local.INFO: Extracted packet for processing {"connection_id":112503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:15:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 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-06-23 12:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:15: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-06-23 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-06-23 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-06-23 12:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:15:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:15:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":112503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:15:31] local.INFO: GPS data processed {"connection_id":112503,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:15:31] local.INFO: Acknowledgment sent {"connection_id":112503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:15:51] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef338ee18012d196840071fed280042006121..."} 
[2026-06-23 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef338ee18012d196840071fed280042006121..."} 
[2026-06-23 12:15:51] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef338ee18012d196840071fed280042006121..."} 
[2026-06-23 12:15:51] local.INFO: Packet analysis {"connection_id":110943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef338"} 
[2026-06-23 12:15:51] local.INFO: Extracted packet for processing {"connection_id":110943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef338"} 
[2026-06-23 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242440704001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197055000,"timestamp_ms":1782197055000,"timestamp_seconds":1782197055,"priority":1,"record_length":96,"hex_timestamp":"0000019ef338ee18"} 
[2026-06-23 12:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242440704001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242440704001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:15:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242440704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":110943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:15:51] local.INFO: GPS data processed {"connection_id":110943,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:15:51] local.INFO: Acknowledgment sent {"connection_id":110943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:16:02] local.INFO: TCP Data received {"connection_id":112503,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:16:02] local.INFO: Processing buffer {"connection_id":112503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:16:02] local.INFO: Packet analysis {"connection_id":112503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:16:02] local.INFO: Extracted packet for processing {"connection_id":112503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:16:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 12:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:16: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-06-23 12: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-06-23 12:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:16:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":112503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:16:02] local.INFO: GPS data processed {"connection_id":112503,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:16:02] local.INFO: Acknowledgment sent {"connection_id":112503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:16:14] local.INFO: TCP Data received {"connection_id":111560,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:16:14] local.INFO: Processing buffer {"connection_id":111560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:16:14] local.INFO: IMEI packet received {"connection_id":111560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":111560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:16:17] local.INFO: TCP Data received {"connection_id":111560,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:16:17] local.INFO: Processing buffer {"connection_id":111560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:16:17] local.INFO: IMEI packet received {"connection_id":111560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":111560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:16:18] local.INFO: TCP Data received {"connection_id":111560,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3394020012d196840071fed280042006120..."} 
[2026-06-23 12:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3394020012d196840071fed280042006120..."} 
[2026-06-23 12:16:18] local.INFO: Processing buffer {"connection_id":111560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3394020012d196840071fed280042006120..."} 
[2026-06-23 12:16:18] local.INFO: Packet analysis {"connection_id":111560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef339"} 
[2026-06-23 12:16:18] local.INFO: Extracted packet for processing {"connection_id":111560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef339"} 
[2026-06-23 12:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242446080001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782197076000,"timestamp_ms":1782197076000,"timestamp_seconds":1782197076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3394020"} 
[2026-06-23 12:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:16:18] 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-06-23 12:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242446080001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242446080001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242446080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":111560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:16:18] local.INFO: GPS data processed {"connection_id":111560,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:16:18] local.INFO: Acknowledgment sent {"connection_id":111560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:16:24] local.INFO: TCP Data received {"connection_id":112504,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:16:24] local.INFO: Processing buffer {"connection_id":112504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:16:24] local.INFO: IMEI packet received {"connection_id":112504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":112504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:16:29] local.INFO: TCP Data received {"connection_id":112504,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:16:29] local.INFO: Processing buffer {"connection_id":112504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:16:29] local.INFO: IMEI packet received {"connection_id":112504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":112504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:16:31] local.INFO: TCP Data received {"connection_id":112504,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:16:31] local.INFO: Processing buffer {"connection_id":112504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:16:31] local.INFO: Packet analysis {"connection_id":112504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:16:31] local.INFO: Extracted packet for processing {"connection_id":112504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:16:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 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-06-23 12:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:16: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-06-23 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-06-23 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-06-23 12:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:16:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":112504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:16:31] local.INFO: GPS data processed {"connection_id":112504,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:16:31] local.INFO: Acknowledgment sent {"connection_id":112504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:16:49] local.INFO: TCP Data received {"connection_id":111560,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3399228012d196840071fed280042006122..."} 
[2026-06-23 12:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3399228012d196840071fed280042006122..."} 
[2026-06-23 12:16:49] local.INFO: Processing buffer {"connection_id":111560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3399228012d196840071fed280042006122..."} 
[2026-06-23 12:16:49] local.INFO: Packet analysis {"connection_id":111560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef339"} 
[2026-06-23 12:16:49] local.INFO: Extracted packet for processing {"connection_id":111560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef339"} 
[2026-06-23 12:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242451456001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782197097000,"timestamp_ms":1782197097000,"timestamp_seconds":1782197097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3399228"} 
[2026-06-23 12:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242451456001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242451456001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242451456001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":111560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:16:49] local.INFO: GPS data processed {"connection_id":111560,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:16:49] local.INFO: Acknowledgment sent {"connection_id":111560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:17:03] local.INFO: TCP Data received {"connection_id":112504,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:17:03] local.INFO: Processing buffer {"connection_id":112504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:17:03] local.INFO: Packet analysis {"connection_id":112504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:17:03] local.INFO: Extracted packet for processing {"connection_id":112504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 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-06-23 12:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:17: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-06-23 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-06-23 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-06-23 12:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":112504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:17:03] local.INFO: GPS data processed {"connection_id":112504,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:17:03] local.INFO: Acknowledgment sent {"connection_id":112504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:17:14] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:17:14] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:17:14] local.INFO: IMEI packet received {"connection_id":110761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":110761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:17:18] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:17:18] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:17:18] local.INFO: IMEI packet received {"connection_id":110761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":110761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:17:19] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef339e430012d196840071fed280042006121..."} 
[2026-06-23 12:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef339e430012d196840071fed280042006121..."} 
[2026-06-23 12:17:19] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef339e430012d196840071fed280042006121..."} 
[2026-06-23 12:17:19] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef339"} 
[2026-06-23 12:17:19] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef339"} 
[2026-06-23 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242456832001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782197118000,"timestamp_ms":1782197118000,"timestamp_seconds":1782197118,"priority":1,"record_length":96,"hex_timestamp":"0000019ef339e430"} 
[2026-06-23 12:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:17:19] 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-06-23 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-921175308496987800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:17:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,10,158,64,45,237,66,32,238,33,156,1,240,255,227,243,31,4,113,205,248,104,40,36,239,48,2,14,7,35],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:17:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908005160026112,"timestamp_seconds":4755908005160026.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242456832001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242456832001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:17:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242456832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:17:19] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:17:19] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:17:29] local.INFO: TCP Data received {"connection_id":111562,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:17:29] local.INFO: Processing buffer {"connection_id":111562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:17:29] local.INFO: IMEI packet received {"connection_id":111562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":111562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:17:34] local.INFO: TCP Data received {"connection_id":111562,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:17:34] local.INFO: Processing buffer {"connection_id":111562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:17:34] local.INFO: IMEI packet received {"connection_id":111562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":111562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:17:36] local.INFO: TCP Data received {"connection_id":111562,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:17:36] local.INFO: Processing buffer {"connection_id":111562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef336dad8012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:17:36] local.INFO: Packet analysis {"connection_id":111562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:17:36] local.INFO: Extracted packet for processing {"connection_id":111562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef336"} 
[2026-06-23 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242334208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782196919000,"timestamp_ms":1782196919000,"timestamp_seconds":1782196919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef336dad8"} 
[2026-06-23 12:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":238,"data_length":795,"current_offset":136} 
[2026-06-23 12:17: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-06-23 12: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-06-23 12:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242334208001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242334208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242334208001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":111562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:17:36] local.INFO: GPS data processed {"connection_id":111562,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:17:36] local.INFO: Acknowledgment sent {"connection_id":111562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:17:39] local.INFO: TCP Data received {"connection_id":111562,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:17:39] local.INFO: Processing buffer {"connection_id":111562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:17:39] local.INFO: Packet analysis {"connection_id":111562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:17:39] local.INFO: Extracted packet for processing {"connection_id":111562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:17:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:17:39] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:17:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":111562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:17:39] local.INFO: GPS data processed {"connection_id":111562,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:17:39] local.INFO: Acknowledgment sent {"connection_id":111562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:17:50] local.INFO: TCP Data received {"connection_id":110761,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33a3638012d196840071fed280042006123..."} 
[2026-06-23 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33a3638012d196840071fed280042006123..."} 
[2026-06-23 12:17:50] local.INFO: Processing buffer {"connection_id":110761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33a3638012d196840071fed280042006123..."} 
[2026-06-23 12:17:50] local.INFO: Packet analysis {"connection_id":110761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33a"} 
[2026-06-23 12:17:50] local.INFO: Extracted packet for processing {"connection_id":110761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33a"} 
[2026-06-23 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242462208001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782197139000,"timestamp_ms":1782197139000,"timestamp_seconds":1782197139,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33a3638"} 
[2026-06-23 12:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:17:50] 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-06-23 12:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:17:50] 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-06-23 12:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242462208001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242462208001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:17:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242462208001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":110761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:17:50] local.INFO: GPS data processed {"connection_id":110761,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:17:50] local.INFO: Acknowledgment sent {"connection_id":110761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:18:13] local.INFO: TCP Data received {"connection_id":111563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:18:13] local.INFO: Processing buffer {"connection_id":111563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:18:13] local.INFO: IMEI packet received {"connection_id":111563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":111563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:18:19] local.INFO: TCP Data received {"connection_id":111563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:18:19] local.INFO: Processing buffer {"connection_id":111563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:18:19] local.INFO: IMEI packet received {"connection_id":111563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":111563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:18:20] local.INFO: TCP Data received {"connection_id":111563,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33a8840012d196840071fed280042006122..."} 
[2026-06-23 12:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33a8840012d196840071fed280042006122..."} 
[2026-06-23 12:18:20] local.INFO: Processing buffer {"connection_id":111563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33a8840012d196840071fed280042006122..."} 
[2026-06-23 12:18:20] local.INFO: Packet analysis {"connection_id":111563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33a"} 
[2026-06-23 12:18:20] local.INFO: Extracted packet for processing {"connection_id":111563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33a"} 
[2026-06-23 12:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242467584001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197160000,"timestamp_ms":1782197160000,"timestamp_seconds":1782197160,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33a8840"} 
[2026-06-23 12:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-920994919870555800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:18:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,10,158,228,45,64,237,66,33,146,34,1,240,53,227,243,31,4,113,205,156,104,40,32,239,47,2,14,7,36],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:18:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908009454993408,"timestamp_seconds":4755908009454993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242467584001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242467584001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:18:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242467584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":111563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:18:20] local.INFO: GPS data processed {"connection_id":111563,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:18:20] local.INFO: Acknowledgment sent {"connection_id":111563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:18:24] local.INFO: TCP Data received {"connection_id":111564,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:18:24] local.INFO: Processing buffer {"connection_id":111564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:18:24] local.INFO: IMEI packet received {"connection_id":111564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":111564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:18:29] local.INFO: TCP Data received {"connection_id":111564,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:18:29] local.INFO: Processing buffer {"connection_id":111564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:18:29] local.INFO: IMEI packet received {"connection_id":111564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":111564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:18:31] local.INFO: TCP Data received {"connection_id":111564,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:18:31] local.INFO: Processing buffer {"connection_id":111564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:18:31] local.INFO: Packet analysis {"connection_id":111564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:18:31] local.INFO: Extracted packet for processing {"connection_id":111564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:18:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:18:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:18:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":111564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:18:31] local.INFO: GPS data processed {"connection_id":111564,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:18:31] local.INFO: Acknowledgment sent {"connection_id":111564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:18:51] local.INFO: TCP Data received {"connection_id":111563,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33ada48012d196840071fed280042006122..."} 
[2026-06-23 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33ada48012d196840071fed280042006122..."} 
[2026-06-23 12:18:51] local.INFO: Processing buffer {"connection_id":111563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33ada48012d196840071fed280042006122..."} 
[2026-06-23 12:18:51] local.INFO: Packet analysis {"connection_id":111563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33a"} 
[2026-06-23 12:18:51] local.INFO: Extracted packet for processing {"connection_id":111563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33a"} 
[2026-06-23 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242472960001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197181000,"timestamp_ms":1782197181000,"timestamp_seconds":1782197181,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33ada48"} 
[2026-06-23 12:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242472960001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242472960001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:18:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242472960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":111563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:18:51] local.INFO: GPS data processed {"connection_id":111563,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:18:51] local.INFO: Acknowledgment sent {"connection_id":111563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:19:03] local.INFO: TCP Data received {"connection_id":111564,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:19:03] local.INFO: Processing buffer {"connection_id":111564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:19:03] local.INFO: Packet analysis {"connection_id":111564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:03] local.INFO: Extracted packet for processing {"connection_id":111564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":111564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:19:03] local.INFO: GPS data processed {"connection_id":111564,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:19:03] local.INFO: Acknowledgment sent {"connection_id":111564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:19:13] local.INFO: TCP Data received {"connection_id":111565,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:19:13] local.INFO: Processing buffer {"connection_id":111565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:19:13] local.INFO: IMEI packet received {"connection_id":111565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":111565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:19:19] local.INFO: TCP Data received {"connection_id":111565,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:19:19] local.INFO: Processing buffer {"connection_id":111565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:19:19] local.INFO: IMEI packet received {"connection_id":111565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":111565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:19:20] local.INFO: TCP Data received {"connection_id":111565,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b2c50012d196840071fed280042006121..."} 
[2026-06-23 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b2c50012d196840071fed280042006121..."} 
[2026-06-23 12:19:20] local.INFO: Processing buffer {"connection_id":111565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b2c50012d196840071fed280042006121..."} 
[2026-06-23 12:19:20] local.INFO: Packet analysis {"connection_id":111565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:20] local.INFO: Extracted packet for processing {"connection_id":111565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242478336001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197202000,"timestamp_ms":1782197202000,"timestamp_seconds":1782197202,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b2c50"} 
[2026-06-23 12:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-920814531244123800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:19:20] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,136,45,64,237,66,34,54,35,228,1,240,255,227,243,31,4,113,205,104,40,32,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:19:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908005160026112,"timestamp_seconds":4755908005160026.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242478336001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242478336001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:19:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:19:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242478336001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":111565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:19:20] local.INFO: GPS data processed {"connection_id":111565,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:19:20] local.INFO: Acknowledgment sent {"connection_id":111565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:19:22] local.INFO: TCP Data received {"connection_id":110762,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:19:22] local.INFO: Processing buffer {"connection_id":110762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:19:22] local.INFO: IMEI packet received {"connection_id":110762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":110762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:19:24] local.INFO: TCP Data received {"connection_id":110944,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:19:24] local.INFO: Processing buffer {"connection_id":110944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:19:24] local.INFO: IMEI packet received {"connection_id":110944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":110944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:19:29] local.INFO: TCP Data received {"connection_id":110944,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:19:29] local.INFO: Processing buffer {"connection_id":110944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:19:29] local.INFO: IMEI packet received {"connection_id":110944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":110944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:19:31] local.INFO: TCP Data received {"connection_id":110944,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:19:31] local.INFO: Processing buffer {"connection_id":110944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:19:31] local.INFO: Packet analysis {"connection_id":110944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:31] local.INFO: Extracted packet for processing {"connection_id":110944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 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-06-23 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:19:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:19:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":110944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:19:31] local.INFO: GPS data processed {"connection_id":110944,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:19:31] local.INFO: Acknowledgment sent {"connection_id":110944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:19:51] local.INFO: TCP Data received {"connection_id":111565,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b7e58012d196840071fed280042006121..."} 
[2026-06-23 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b7e58012d196840071fed280042006121..."} 
[2026-06-23 12:19:51] local.INFO: Processing buffer {"connection_id":111565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b7e58012d196840071fed280042006121..."} 
[2026-06-23 12:19:51] local.INFO: Packet analysis {"connection_id":111565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:51] local.INFO: Extracted packet for processing {"connection_id":111565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242483712001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197223000,"timestamp_ms":1782197223000,"timestamp_seconds":1782197223,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b7e58"} 
[2026-06-23 12:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-920724336930907800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:19:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:19:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,10,158,218,45,64,237,66,34,136,54,1,240,227,243,31,4,113,205,146,104,40,239,48,2,14,7,33],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:19:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242483712001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242483712001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:19:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242483712001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":111565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:19:51] local.INFO: GPS data processed {"connection_id":111565,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:19:51] local.INFO: Acknowledgment sent {"connection_id":111565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:20:02] local.INFO: TCP Data received {"connection_id":110944,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:20:02] local.INFO: Processing buffer {"connection_id":110944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:20:02] local.INFO: Packet analysis {"connection_id":110944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:20:02] local.INFO: Extracted packet for processing {"connection_id":110944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 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-06-23 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:20:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:20:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:20:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":110944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:20:02] local.INFO: GPS data processed {"connection_id":110944,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:20:02] local.INFO: Acknowledgment sent {"connection_id":110944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:20:07] local.INFO: TCP Data received {"connection_id":110945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:20:07] local.INFO: Processing buffer {"connection_id":110945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:20:07] local.INFO: IMEI packet received {"connection_id":110945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":110945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:20:19] local.INFO: TCP Data received {"connection_id":110763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:20:19] local.INFO: Processing buffer {"connection_id":110763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:20:19] local.INFO: IMEI packet received {"connection_id":110763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":110763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:20:24] local.INFO: TCP Data received {"connection_id":110763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:20:24] local.INFO: Processing buffer {"connection_id":110763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:20:24] local.INFO: IMEI packet received {"connection_id":110763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":110763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:20:24] local.INFO: TCP Data received {"connection_id":112506,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:20:24] local.INFO: Processing buffer {"connection_id":112506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:20:24] local.INFO: IMEI packet received {"connection_id":112506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":112506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:20:25] local.INFO: TCP Data received {"connection_id":110763,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33bd060012d196840071fed28004200611f..."} 
[2026-06-23 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33bd060012d196840071fed28004200611f..."} 
[2026-06-23 12:20:25] local.INFO: Processing buffer {"connection_id":110763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33bd060012d196840071fed28004200611f..."} 
[2026-06-23 12:20:25] local.INFO: Packet analysis {"connection_id":110763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:20:25] local.INFO: Extracted packet for processing {"connection_id":110763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:20: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-06-23 12:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242489088001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782197244000,"timestamp_ms":1782197244000,"timestamp_seconds":1782197244,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33bd060"} 
[2026-06-23 12:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:20:25] 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-06-23 12:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:20: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-06-23 12:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242489088001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242489088001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:20:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242489088001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":110763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:20:25] local.INFO: GPS data processed {"connection_id":110763,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:20:25] local.INFO: Acknowledgment sent {"connection_id":110763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:20:29] local.INFO: TCP Data received {"connection_id":110763,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33c2268012d196840071fed280042006120..."} 
[2026-06-23 12:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33c2268012d196840071fed280042006120..."} 
[2026-06-23 12:20:29] local.INFO: Processing buffer {"connection_id":110763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33c2268012d196840071fed280042006120..."} 
[2026-06-23 12:20:29] local.INFO: Packet analysis {"connection_id":110763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33c"} 
[2026-06-23 12:20:29] local.INFO: Extracted packet for processing {"connection_id":110763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33c"} 
[2026-06-23 12:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242494464001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782197265000,"timestamp_ms":1782197265000,"timestamp_seconds":1782197265,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33c2268"} 
[2026-06-23 12:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:20:29] 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-06-23 12:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242494464001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242494464001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242494464001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":110763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:20:29] local.INFO: GPS data processed {"connection_id":110763,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:20:29] local.INFO: Acknowledgment sent {"connection_id":110763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:20:29] local.INFO: TCP Data received {"connection_id":112506,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:20:29] local.INFO: Processing buffer {"connection_id":112506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:20:29] local.INFO: IMEI packet received {"connection_id":112506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":112506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:20:31] local.INFO: TCP Data received {"connection_id":112506,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:20:31] local.INFO: Processing buffer {"connection_id":112506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:20:31] local.INFO: Packet analysis {"connection_id":112506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:20:31] local.INFO: Extracted packet for processing {"connection_id":112506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:20:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:20:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:20:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":112506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:20:31] local.INFO: GPS data processed {"connection_id":112506,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:20:31] local.INFO: Acknowledgment sent {"connection_id":112506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:21:02] local.INFO: TCP Data received {"connection_id":112506,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:02] local.INFO: Processing buffer {"connection_id":112506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:02] local.INFO: Packet analysis {"connection_id":112506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:21:02] local.INFO: Extracted packet for processing {"connection_id":112506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:21:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:21:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":112506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:21:02] local.INFO: GPS data processed {"connection_id":112506,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:21:02] local.INFO: Acknowledgment sent {"connection_id":112506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:21:11] local.INFO: TCP Data received {"connection_id":111567,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:11] local.INFO: Processing buffer {"connection_id":111567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:11] local.INFO: IMEI packet received {"connection_id":111567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":111567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:21:14] local.INFO: TCP Data received {"connection_id":111567,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:14] local.INFO: Processing buffer {"connection_id":111567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:14] local.INFO: IMEI packet received {"connection_id":111567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":111567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:21:19] local.INFO: TCP Data received {"connection_id":111567,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:19] local.INFO: Processing buffer {"connection_id":111567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:21:19] local.INFO: IMEI packet received {"connection_id":111567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":111567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:21:19] local.INFO: TCP Data received {"connection_id":111567,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33c7470012d196840071fed28004200611f..."} 
[2026-06-23 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33c7470012d196840071fed28004200611f..."} 
[2026-06-23 12:21:19] local.INFO: Processing buffer {"connection_id":111567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33c7470012d196840071fed28004200611f..."} 
[2026-06-23 12:21:19] local.INFO: Packet analysis {"connection_id":111567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33c"} 
[2026-06-23 12:21:19] local.INFO: Extracted packet for processing {"connection_id":111567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33c"} 
[2026-06-23 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242499840001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782197286000,"timestamp_ms":1782197286000,"timestamp_seconds":1782197286,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33c7470"} 
[2026-06-23 12:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242499840001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242499840001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:21:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242499840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":111567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:21:19] local.INFO: GPS data processed {"connection_id":111567,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:21:19] local.INFO: Acknowledgment sent {"connection_id":111567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:21:29] local.INFO: TCP Data received {"connection_id":110946,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:21:29] local.INFO: Processing buffer {"connection_id":110946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:21:29] local.INFO: IMEI packet received {"connection_id":110946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":110946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:21:34] local.INFO: TCP Data received {"connection_id":110946,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:21:34] local.INFO: Processing buffer {"connection_id":110946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:21:34] local.INFO: IMEI packet received {"connection_id":110946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":110946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:21:36] local.INFO: TCP Data received {"connection_id":110946,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:36] local.INFO: Processing buffer {"connection_id":110946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:36] local.INFO: Packet analysis {"connection_id":110946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:21:36] local.INFO: Extracted packet for processing {"connection_id":110946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:21:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":110946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:21:36] local.INFO: GPS data processed {"connection_id":110946,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:21:36] local.INFO: Acknowledgment sent {"connection_id":110946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:21:40] local.INFO: TCP Data received {"connection_id":110946,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:40] local.INFO: Processing buffer {"connection_id":110946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:21:40] local.INFO: Packet analysis {"connection_id":110946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:21:40] local.INFO: Extracted packet for processing {"connection_id":110946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:21: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-06-23 12:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 12:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:21: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-06-23 12:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:21:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":110946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:21:40] local.INFO: GPS data processed {"connection_id":110946,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:21:40] local.INFO: Acknowledgment sent {"connection_id":110946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:21:50] local.INFO: TCP Data received {"connection_id":111567,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33cc678012d196840071fed280042006121..."} 
[2026-06-23 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33cc678012d196840071fed280042006121..."} 
[2026-06-23 12:21:50] local.INFO: Processing buffer {"connection_id":111567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33cc678012d196840071fed280042006121..."} 
[2026-06-23 12:21:50] local.INFO: Packet analysis {"connection_id":111567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33c"} 
[2026-06-23 12:21:50] local.INFO: Extracted packet for processing {"connection_id":111567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33c"} 
[2026-06-23 12:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242505216001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782197307000,"timestamp_ms":1782197307000,"timestamp_seconds":1782197307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33cc678"} 
[2026-06-23 12:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:21:50] 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-06-23 12:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242505216001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242505216001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:21:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242505216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":111567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:21:50] local.INFO: GPS data processed {"connection_id":111567,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:21:50] local.INFO: Acknowledgment sent {"connection_id":111567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:22:14] local.INFO: TCP Data received {"connection_id":111568,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:14] local.INFO: Processing buffer {"connection_id":111568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:14] local.INFO: IMEI packet received {"connection_id":111568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":111568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:22:14] local.INFO: TCP Data received {"connection_id":111568,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:14] local.INFO: Processing buffer {"connection_id":111568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:14] local.INFO: IMEI packet received {"connection_id":111568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":111568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:22:19] local.INFO: TCP Data received {"connection_id":111568,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:19] local.INFO: Processing buffer {"connection_id":111568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:22:19] local.INFO: IMEI packet received {"connection_id":111568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":111568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:22:20] local.INFO: TCP Data received {"connection_id":111568,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33d1880012d196840071fed280042006120..."} 
[2026-06-23 12:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33d1880012d196840071fed280042006120..."} 
[2026-06-23 12:22:20] local.INFO: Processing buffer {"connection_id":111568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33d1880012d196840071fed280042006120..."} 
[2026-06-23 12:22:20] local.INFO: Packet analysis {"connection_id":111568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33d"} 
[2026-06-23 12:22:20] local.INFO: Extracted packet for processing {"connection_id":111568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33d"} 
[2026-06-23 12:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242510592001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197328000,"timestamp_ms":1782197328000,"timestamp_seconds":1782197328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33d1880"} 
[2026-06-23 12:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242510592001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242510592001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:22:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242510592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":111568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:22:20] local.INFO: GPS data processed {"connection_id":111568,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:22:20] local.INFO: Acknowledgment sent {"connection_id":111568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:22:24] local.INFO: TCP Data received {"connection_id":111569,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:22:24] local.INFO: Processing buffer {"connection_id":111569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:22:24] local.INFO: IMEI packet received {"connection_id":111569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":111569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:22:29] local.INFO: TCP Data received {"connection_id":111569,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:22:29] local.INFO: Processing buffer {"connection_id":111569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:22:29] local.INFO: IMEI packet received {"connection_id":111569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":111569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:22:31] local.INFO: TCP Data received {"connection_id":111569,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:22:31] local.INFO: Processing buffer {"connection_id":111569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33b72a0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:22:31] local.INFO: Packet analysis {"connection_id":111569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:22:31] local.INFO: Extracted packet for processing {"connection_id":111569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33b"} 
[2026-06-23 12:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242411264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197220000,"timestamp_ms":1782197220000,"timestamp_seconds":1782197220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33b72a0"} 
[2026-06-23 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-06-23 12:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242411264001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242411264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:22:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:22:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242411264001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":111569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:22:31] local.INFO: GPS data processed {"connection_id":111569,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:22:31] local.INFO: Acknowledgment sent {"connection_id":111569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:22:51] local.INFO: TCP Data received {"connection_id":111568,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33d6a88012d196840071fed280042006123..."} 
[2026-06-23 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33d6a88012d196840071fed280042006123..."} 
[2026-06-23 12:22:51] local.INFO: Processing buffer {"connection_id":111568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33d6a88012d196840071fed280042006123..."} 
[2026-06-23 12:22:51] local.INFO: Packet analysis {"connection_id":111568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33d"} 
[2026-06-23 12:22:51] local.INFO: Extracted packet for processing {"connection_id":111568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33d"} 
[2026-06-23 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242515968001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197349000,"timestamp_ms":1782197349000,"timestamp_seconds":1782197349,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33d6a88"} 
[2026-06-23 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242515968001,"66":12113,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242515968001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242515968001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":111568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:22:51] local.INFO: GPS data processed {"connection_id":111568,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:22:51] local.INFO: Acknowledgment sent {"connection_id":111568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:23:03] local.INFO: TCP Data received {"connection_id":111569,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:23:03] local.INFO: Processing buffer {"connection_id":111569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:23:03] local.INFO: Packet analysis {"connection_id":111569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:23:03] local.INFO: Extracted packet for processing {"connection_id":111569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 12:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:23:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":111569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:23:03] local.INFO: GPS data processed {"connection_id":111569,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:23:03] local.INFO: Acknowledgment sent {"connection_id":111569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:23:14] local.INFO: TCP Data received {"connection_id":112507,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:23:14] local.INFO: Processing buffer {"connection_id":112507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:23:14] local.INFO: IMEI packet received {"connection_id":112507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":112507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:23:17] local.INFO: TCP Data received {"connection_id":112507,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:23:17] local.INFO: Processing buffer {"connection_id":112507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:23:17] local.INFO: IMEI packet received {"connection_id":112507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":112507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:23:18] local.INFO: TCP Data received {"connection_id":112507,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33dbc90012d196840071fed280042006123..."} 
[2026-06-23 12:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33dbc90012d196840071fed280042006123..."} 
[2026-06-23 12:23:18] local.INFO: Processing buffer {"connection_id":112507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33dbc90012d196840071fed280042006123..."} 
[2026-06-23 12:23:18] local.INFO: Packet analysis {"connection_id":112507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33d"} 
[2026-06-23 12:23:18] local.INFO: Extracted packet for processing {"connection_id":112507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33d"} 
[2026-06-23 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242521344001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782197370000,"timestamp_ms":1782197370000,"timestamp_seconds":1782197370,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33dbc90"} 
[2026-06-23 12:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 12:23:18] 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-06-23 12:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":112507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":112507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":112507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242521344001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242521344001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242521344001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":112507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:23:18] local.INFO: GPS data processed {"connection_id":112507,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:23:18] local.INFO: Acknowledgment sent {"connection_id":112507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:23:24] local.INFO: TCP Data received {"connection_id":110948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:23:24] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:23:24] local.INFO: IMEI packet received {"connection_id":110948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":110948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:23:29] local.INFO: TCP Data received {"connection_id":110948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:23:29] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:23:29] local.INFO: IMEI packet received {"connection_id":110948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":110948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:23:31] local.INFO: TCP Data received {"connection_id":110948,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:23:31] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:23:31] local.INFO: Packet analysis {"connection_id":110948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:23:31] local.INFO: Extracted packet for processing {"connection_id":110948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 12:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:23:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:23:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":110948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:23:31] local.INFO: GPS data processed {"connection_id":110948,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:23:31] local.INFO: Acknowledgment sent {"connection_id":110948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:23:49] local.INFO: TCP Data received {"connection_id":112507,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33e0e98012d196840071fed280042006124..."} 
[2026-06-23 12:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33e0e98012d196840071fed280042006124..."} 
[2026-06-23 12:23:49] local.INFO: Processing buffer {"connection_id":112507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33e0e98012d196840071fed280042006124..."} 
[2026-06-23 12:23:49] local.INFO: Packet analysis {"connection_id":112507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33e"} 
[2026-06-23 12:23:49] local.INFO: Extracted packet for processing {"connection_id":112507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33e"} 
[2026-06-23 12:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242526720001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782197391000,"timestamp_ms":1782197391000,"timestamp_seconds":1782197391,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33e0e98"} 
[2026-06-23 12:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-920002782425179800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:23:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:23:49] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,106,45,64,237,66,35,32,198,1,240,53,227,243,31,4,113,205,34,104,40,239,48,2,14,7,33],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:23:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908009454993408,"timestamp_seconds":4755908009454993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242526720001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242526720001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242526720001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":112507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:23:49] local.INFO: GPS data processed {"connection_id":112507,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:23:49] local.INFO: Acknowledgment sent {"connection_id":112507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:24:02] local.INFO: TCP Data received {"connection_id":110948,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:24:02] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:24:02] local.INFO: Packet analysis {"connection_id":110948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:24:02] local.INFO: Extracted packet for processing {"connection_id":110948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 12:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:24: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-06-23 12: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-06-23 12:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:24:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":110948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:24:03] local.INFO: GPS data processed {"connection_id":110948,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:24:03] local.INFO: Acknowledgment sent {"connection_id":110948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:24:13] local.INFO: TCP Data received {"connection_id":111570,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:24:13] local.INFO: Processing buffer {"connection_id":111570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:24:13] local.INFO: IMEI packet received {"connection_id":111570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":111570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:24:19] local.INFO: TCP Data received {"connection_id":111570,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:24:19] local.INFO: Processing buffer {"connection_id":111570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:24:19] local.INFO: IMEI packet received {"connection_id":111570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":111570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:24:20] local.INFO: TCP Data received {"connection_id":111570,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33e60a0012d196840071fed280042006123..."} 
[2026-06-23 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33e60a0012d196840071fed280042006123..."} 
[2026-06-23 12:24:20] local.INFO: Processing buffer {"connection_id":111570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33e60a0012d196840071fed280042006123..."} 
[2026-06-23 12:24:20] local.INFO: Packet analysis {"connection_id":111570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33e"} 
[2026-06-23 12:24:20] local.INFO: Extracted packet for processing {"connection_id":111570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33e"} 
[2026-06-23 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242532096001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197412000,"timestamp_ms":1782197412000,"timestamp_seconds":1782197412,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33e60a0"} 
[2026-06-23 12:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:24:20] 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-06-23 12:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242532096001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242532096001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:24:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242532096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":111570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:24:20] local.INFO: GPS data processed {"connection_id":111570,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:24:20] local.INFO: Acknowledgment sent {"connection_id":111570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:24:24] local.INFO: TCP Data received {"connection_id":110766,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:24:24] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:24:24] local.INFO: IMEI packet received {"connection_id":110766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":110766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:24:29] local.INFO: TCP Data received {"connection_id":110766,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:24:29] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:24:29] local.INFO: IMEI packet received {"connection_id":110766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":110766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:24:31] local.INFO: TCP Data received {"connection_id":110766,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:24:31] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:24:31] local.INFO: Packet analysis {"connection_id":110766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:24:31] local.INFO: Extracted packet for processing {"connection_id":110766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 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-06-23 12:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12: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-06-23 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-06-23 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-06-23 12:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:24:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":110766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:24:31] local.INFO: GPS data processed {"connection_id":110766,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:24:31] local.INFO: Acknowledgment sent {"connection_id":110766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:24:51] local.INFO: TCP Data received {"connection_id":111570,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33eb2a8012d196840071fed280042006121..."} 
[2026-06-23 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33eb2a8012d196840071fed280042006121..."} 
[2026-06-23 12:24:51] local.INFO: Processing buffer {"connection_id":111570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33eb2a8012d196840071fed280042006121..."} 
[2026-06-23 12:24:51] local.INFO: Packet analysis {"connection_id":111570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33e"} 
[2026-06-23 12:24:51] local.INFO: Extracted packet for processing {"connection_id":111570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33e"} 
[2026-06-23 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242537472001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197433000,"timestamp_ms":1782197433000,"timestamp_seconds":1782197433,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33eb2a8"} 
[2026-06-23 12:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-919822393798747800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:24:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:24:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,10,158,14,45,64,237,66,36,188,35,106,1,240,81,227,243,31,4,113,205,198,104,40,33,239,48,2,7,32],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:24:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908009454993408,"timestamp_seconds":4755908009454993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242537472001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242537472001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242537472001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":111570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:24:51] local.INFO: GPS data processed {"connection_id":111570,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:24:51] local.INFO: Acknowledgment sent {"connection_id":111570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:25:03] local.INFO: TCP Data received {"connection_id":110766,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:25:03] local.INFO: Processing buffer {"connection_id":110766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:25:03] local.INFO: Packet analysis {"connection_id":110766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:25:03] local.INFO: Extracted packet for processing {"connection_id":110766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 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-06-23 12:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12: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-06-23 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-06-23 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-06-23 12:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:25:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:25:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":110766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:25:03] local.INFO: GPS data processed {"connection_id":110766,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:25:03] local.INFO: Acknowledgment sent {"connection_id":110766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:25:13] local.INFO: TCP Data received {"connection_id":112509,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:25:13] local.INFO: Processing buffer {"connection_id":112509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:25:13] local.INFO: IMEI packet received {"connection_id":112509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":112509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:25:19] local.INFO: TCP Data received {"connection_id":112509,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:25:19] local.INFO: Processing buffer {"connection_id":112509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:25:19] local.INFO: IMEI packet received {"connection_id":112509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":112509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:25:19] local.INFO: TCP Data received {"connection_id":112509,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33f04b0012d196840071fed280042006122..."} 
[2026-06-23 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33f04b0012d196840071fed280042006122..."} 
[2026-06-23 12:25:19] local.INFO: Processing buffer {"connection_id":112509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33f04b0012d196840071fed280042006122..."} 
[2026-06-23 12:25:19] local.INFO: Packet analysis {"connection_id":112509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:25:19] local.INFO: Extracted packet for processing {"connection_id":112509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242542848001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782197454000,"timestamp_ms":1782197454000,"timestamp_seconds":1782197454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33f04b0"} 
[2026-06-23 12:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:25:19] 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-06-23 12:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242542848001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242542848001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:25:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242542848001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":112509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:25:20] local.INFO: GPS data processed {"connection_id":112509,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:25:20] local.INFO: Acknowledgment sent {"connection_id":112509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:25:22] local.INFO: TCP Data received {"connection_id":112508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:25:22] local.INFO: Processing buffer {"connection_id":112508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:25:22] local.INFO: IMEI packet received {"connection_id":112508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":112508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:25:24] local.INFO: TCP Data received {"connection_id":111571,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:25:24] local.INFO: Processing buffer {"connection_id":111571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:25:24] local.INFO: IMEI packet received {"connection_id":111571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":111571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:25:29] local.INFO: TCP Data received {"connection_id":111571,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:25:29] local.INFO: Processing buffer {"connection_id":111571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:25:29] local.INFO: IMEI packet received {"connection_id":111571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":111571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:25:31] local.INFO: TCP Data received {"connection_id":111571,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:25:31] local.INFO: Processing buffer {"connection_id":111571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:25:31] local.INFO: Packet analysis {"connection_id":111571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:25:31] local.INFO: Extracted packet for processing {"connection_id":111571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 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-06-23 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12: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-06-23 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-06-23 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-06-23 12:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:25:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:25:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":111571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:25:31] local.INFO: GPS data processed {"connection_id":111571,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:25:31] local.INFO: Acknowledgment sent {"connection_id":111571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:25:51] local.INFO: TCP Data received {"connection_id":112509,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33f56b8012d196840071fed280042006123..."} 
[2026-06-23 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33f56b8012d196840071fed280042006123..."} 
[2026-06-23 12:25:51] local.INFO: Processing buffer {"connection_id":112509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33f56b8012d196840071fed280042006123..."} 
[2026-06-23 12:25:51] local.INFO: Packet analysis {"connection_id":112509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:25:51] local.INFO: Extracted packet for processing {"connection_id":112509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242548224001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197475000,"timestamp_ms":1782197475000,"timestamp_seconds":1782197475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33f56b8"} 
[2026-06-23 12:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242548224001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242548224001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:25:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242548224001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":112509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:25:51] local.INFO: GPS data processed {"connection_id":112509,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:25:51] local.INFO: Acknowledgment sent {"connection_id":112509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:26:02] local.INFO: TCP Data received {"connection_id":111571,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:26:02] local.INFO: Processing buffer {"connection_id":111571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:26:02] local.INFO: Packet analysis {"connection_id":111571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:26:02] local.INFO: Extracted packet for processing {"connection_id":111571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:26:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 12:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:26: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-06-23 12: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-06-23 12:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:26:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":111571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:26:02] local.INFO: GPS data processed {"connection_id":111571,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:26:02] local.INFO: Acknowledgment sent {"connection_id":111571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:26:07] local.INFO: TCP Data received {"connection_id":110767,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:26:07] local.INFO: Processing buffer {"connection_id":110767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:26:07] local.INFO: IMEI packet received {"connection_id":110767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":110767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:26:19] local.INFO: TCP Data received {"connection_id":110950,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:26:19] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:26:19] local.INFO: IMEI packet received {"connection_id":110950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":110950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:26:24] local.INFO: TCP Data received {"connection_id":110950,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:26:24] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:26:24] local.INFO: IMEI packet received {"connection_id":110950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":110950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:26:24] local.INFO: TCP Data received {"connection_id":111572,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:26:24] local.INFO: Processing buffer {"connection_id":111572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:26:24] local.INFO: IMEI packet received {"connection_id":111572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":111572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:26:25] local.INFO: TCP Data received {"connection_id":110950,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33fa8c0012d196840071fed280042006123..."} 
[2026-06-23 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33fa8c0012d196840071fed280042006123..."} 
[2026-06-23 12:26:25] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33fa8c0012d196840071fed280042006123..."} 
[2026-06-23 12:26:25] local.INFO: Packet analysis {"connection_id":110950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:26:25] local.INFO: Extracted packet for processing {"connection_id":110950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242553600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782197496000,"timestamp_ms":1782197496000,"timestamp_seconds":1782197496,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33fa8c0"} 
[2026-06-23 12:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:26:25] 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-06-23 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-919551810859099800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507275384422606,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:26:25] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:25] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,4,45,64,237,66,34,178,33,96,1,240,227,243,31,113,205,188,104,40,35,239,48,2,14,7,32],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:26:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908009454993408,"timestamp_seconds":4755908009454993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242553600001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242553600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:26:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242553600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":110950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:26:25] local.INFO: GPS data processed {"connection_id":110950,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:26:25] local.INFO: Acknowledgment sent {"connection_id":110950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:26:26] local.INFO: TCP Data received {"connection_id":110950,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef33ffac8012d196840071fed280042006121..."} 
[2026-06-23 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef33ffac8012d196840071fed280042006121..."} 
[2026-06-23 12:26:26] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef33ffac8012d196840071fed280042006121..."} 
[2026-06-23 12:26:26] local.INFO: Packet analysis {"connection_id":110950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:26:26] local.INFO: Extracted packet for processing {"connection_id":110950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef33f"} 
[2026-06-23 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242558976001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782197517000,"timestamp_ms":1782197517000,"timestamp_seconds":1782197517,"priority":1,"record_length":96,"hex_timestamp":"0000019ef33ffac8"} 
[2026-06-23 12:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242558976001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242558976001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:26:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:26:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242558976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":110950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:26:26] local.INFO: GPS data processed {"connection_id":110950,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:26:26] local.INFO: Acknowledgment sent {"connection_id":110950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:26:29] local.INFO: TCP Data received {"connection_id":111572,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:26:29] local.INFO: Processing buffer {"connection_id":111572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:26:29] local.INFO: IMEI packet received {"connection_id":111572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":111572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:26:30] local.INFO: TCP Data received {"connection_id":111572,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:26:30] local.INFO: Processing buffer {"connection_id":111572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:26:30] local.INFO: Packet analysis {"connection_id":111572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:26:30] local.INFO: Extracted packet for processing {"connection_id":111572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 12:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:26: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-06-23 12: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-06-23 12:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:26:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":111572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:26:30] local.INFO: GPS data processed {"connection_id":111572,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:26:30] local.INFO: Acknowledgment sent {"connection_id":111572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:26:57] local.INFO: TCP Data received {"connection_id":110950,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3404cd0012d196840071fed28004200611f..."} 
[2026-06-23 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3404cd0012d196840071fed28004200611f..."} 
[2026-06-23 12:26:57] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3404cd0012d196840071fed28004200611f..."} 
[2026-06-23 12:26:57] local.INFO: Packet analysis {"connection_id":110950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:26:57] local.INFO: Extracted packet for processing {"connection_id":110950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242564352001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782197538000,"timestamp_ms":1782197538000,"timestamp_seconds":1782197538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3404cd0"} 
[2026-06-23 12:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":110950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":110950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":110950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242564352001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242564352001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242564352001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":110950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:26:57] local.INFO: GPS data processed {"connection_id":110950,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:26:57] local.INFO: Acknowledgment sent {"connection_id":110950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:27:01] local.INFO: TCP Data received {"connection_id":111572,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:27:01] local.INFO: Processing buffer {"connection_id":111572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:27:01] local.INFO: Packet analysis {"connection_id":111572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:27:01] local.INFO: Extracted packet for processing {"connection_id":111572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:27:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 12:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:27:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":111572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:27:02] local.INFO: GPS data processed {"connection_id":111572,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:27:02] local.INFO: Acknowledgment sent {"connection_id":111572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:27:13] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:27:13] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:27:13] local.INFO: IMEI packet received {"connection_id":110769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":110769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:27:19] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:27:19] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:27:19] local.INFO: IMEI packet received {"connection_id":110769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":110769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:27:20] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3409ed8012d196840071fed28004200611e..."} 
[2026-06-23 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3409ed8012d196840071fed28004200611e..."} 
[2026-06-23 12:27:20] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3409ed8012d196840071fed28004200611e..."} 
[2026-06-23 12:27:20] local.INFO: Packet analysis {"connection_id":110769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:27:20] local.INFO: Extracted packet for processing {"connection_id":110769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242569728001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197559000,"timestamp_ms":1782197559000,"timestamp_seconds":1782197559,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3409ed8"} 
[2026-06-23 12:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-919281227919451800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:20] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,250,45,64,237,66,33,168,35,86,1,240,227,243,31,4,113,205,178,104,40,239,47,2,14,7,36],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:27:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907992275124224,"timestamp_seconds":4755907992275124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242569728001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242569728001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:27:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242569728001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":110769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:27:20] local.INFO: GPS data processed {"connection_id":110769,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:27:20] local.INFO: Acknowledgment sent {"connection_id":110769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:27:24] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:27:24] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:27:24] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:27:29] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:27:29] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:27:29] local.INFO: IMEI packet received {"connection_id":110770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":110770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:27:31] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:27:31] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3400a68012cb29b8007823df8004a00cf21..."} 
[2026-06-23 12:27:31] local.INFO: Packet analysis {"connection_id":110770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:27:31] local.INFO: Extracted packet for processing {"connection_id":110770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef340"} 
[2026-06-23 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242488320001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197521000,"timestamp_ms":1782197521000,"timestamp_seconds":1782197521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3400a68"} 
[2026-06-23 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-06-23 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12: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-06-23 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-06-23 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-06-23 12:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242488320001,"66":25604,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242488320001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:27:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:27:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242488320001,"power":25604,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":110770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:27:31] local.INFO: GPS data processed {"connection_id":110770,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:27:31] local.INFO: Acknowledgment sent {"connection_id":110770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:27:50] local.INFO: TCP Data received {"connection_id":110769,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3442530012d196840071fed280042006121..."} 
[2026-06-23 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3442530012d196840071fed280042006121..."} 
[2026-06-23 12:27:50] local.INFO: Processing buffer {"connection_id":110769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3442530012d196840071fed280042006121..."} 
[2026-06-23 12:27:50] local.INFO: Packet analysis {"connection_id":110769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:27:50] local.INFO: Extracted packet for processing {"connection_id":110769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242628864001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782197790000,"timestamp_ms":1782197790000,"timestamp_seconds":1782197790,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3442530"} 
[2026-06-23 12:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:27:50] 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-06-23 12:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242628864001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242628864001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:27:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242628864001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":110769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:27:50] local.INFO: GPS data processed {"connection_id":110769,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:27:50] local.INFO: Acknowledgment sent {"connection_id":110769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:28:02] local.INFO: TCP Data received {"connection_id":110770,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:28:02] local.INFO: Processing buffer {"connection_id":110770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:28:02] local.INFO: Packet analysis {"connection_id":110770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:02] local.INFO: Extracted packet for processing {"connection_id":110770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 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-06-23 12:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:28:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":110770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:28:02] local.INFO: GPS data processed {"connection_id":110770,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:28:02] local.INFO: Acknowledgment sent {"connection_id":110770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:28:11] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:11] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:11] local.INFO: IMEI packet received {"connection_id":110771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":110771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:28:14] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:14] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:14] local.INFO: IMEI packet received {"connection_id":110771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":110771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:28:19] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:19] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:28:19] local.INFO: IMEI packet received {"connection_id":110771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":110771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:28:20] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3447738012d196840071fed280042006122..."} 
[2026-06-23 12:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3447738012d196840071fed280042006122..."} 
[2026-06-23 12:28:20] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3447738012d196840071fed280042006122..."} 
[2026-06-23 12:28:20] local.INFO: Packet analysis {"connection_id":110771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:20] local.INFO: Extracted packet for processing {"connection_id":110771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242634240001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197811000,"timestamp_ms":1782197811000,"timestamp_seconds":1782197811,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3447738"} 
[2026-06-23 12:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:28:20] 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-06-23 12:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242634240001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242634240001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:28:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242634240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":110771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:28:20] local.INFO: GPS data processed {"connection_id":110771,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:28:20] local.INFO: Acknowledgment sent {"connection_id":110771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:28:24] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:28:24] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:28:24] local.INFO: IMEI packet received {"connection_id":110772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":110772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:28:29] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:28:29] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:28:29] local.INFO: IMEI packet received {"connection_id":110772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":110772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:28:30] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:28:30] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:28:30] local.INFO: Packet analysis {"connection_id":110772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:30] local.INFO: Extracted packet for processing {"connection_id":110772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:28:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:28:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":110772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:28:30] local.INFO: GPS data processed {"connection_id":110772,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:28:30] local.INFO: Acknowledgment sent {"connection_id":110772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:28:51] local.INFO: TCP Data received {"connection_id":110771,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344c940012d196840071fed280042006122..."} 
[2026-06-23 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344c940012d196840071fed280042006122..."} 
[2026-06-23 12:28:51] local.INFO: Processing buffer {"connection_id":110771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344c940012d196840071fed280042006122..."} 
[2026-06-23 12:28:51] local.INFO: Packet analysis {"connection_id":110771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:51] local.INFO: Extracted packet for processing {"connection_id":110771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242639616001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197832000,"timestamp_ms":1782197832000,"timestamp_seconds":1782197832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344c940"} 
[2026-06-23 12:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242639616001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242639616001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:28:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242639616001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":110771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:28:51] local.INFO: GPS data processed {"connection_id":110771,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:28:51] local.INFO: Acknowledgment sent {"connection_id":110771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:29:02] local.INFO: TCP Data received {"connection_id":110772,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:29:02] local.INFO: Processing buffer {"connection_id":110772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:29:02] local.INFO: Packet analysis {"connection_id":110772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:29:02] local.INFO: Extracted packet for processing {"connection_id":110772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:29:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:29:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":110772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:29:02] local.INFO: GPS data processed {"connection_id":110772,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:29:02] local.INFO: Acknowledgment sent {"connection_id":110772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:29:14] local.INFO: TCP Data received {"connection_id":111575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:14] local.INFO: Processing buffer {"connection_id":111575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:14] local.INFO: IMEI packet received {"connection_id":111575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":111575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:29:14] local.INFO: TCP Data received {"connection_id":111575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:14] local.INFO: Processing buffer {"connection_id":111575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:14] local.INFO: IMEI packet received {"connection_id":111575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":111575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:29:19] local.INFO: TCP Data received {"connection_id":111575,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:19] local.INFO: Processing buffer {"connection_id":111575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:29:19] local.INFO: IMEI packet received {"connection_id":111575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":111575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:29:20] local.INFO: TCP Data received {"connection_id":111575,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3451b48012d196840071fed280042006121..."} 
[2026-06-23 12:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3451b48012d196840071fed280042006121..."} 
[2026-06-23 12:29:20] local.INFO: Processing buffer {"connection_id":111575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3451b48012d196840071fed280042006121..."} 
[2026-06-23 12:29:20] local.INFO: Packet analysis {"connection_id":111575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef345"} 
[2026-06-23 12:29:20] local.INFO: Extracted packet for processing {"connection_id":111575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef345"} 
[2026-06-23 12:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242644992001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197853000,"timestamp_ms":1782197853000,"timestamp_seconds":1782197853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3451b48"} 
[2026-06-23 12:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242644992001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242644992001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:29:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242644992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":111575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:29:20] local.INFO: GPS data processed {"connection_id":111575,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:29:20] local.INFO: Acknowledgment sent {"connection_id":111575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:29:24] local.INFO: TCP Data received {"connection_id":111576,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:29:24] local.INFO: Processing buffer {"connection_id":111576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:29:24] local.INFO: IMEI packet received {"connection_id":111576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":111576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:29:29] local.INFO: TCP Data received {"connection_id":111576,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:29:29] local.INFO: Processing buffer {"connection_id":111576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:29:29] local.INFO: IMEI packet received {"connection_id":111576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":111576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:29:30] local.INFO: TCP Data received {"connection_id":111576,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:29:30] local.INFO: Processing buffer {"connection_id":111576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:29:30] local.INFO: Packet analysis {"connection_id":111576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:29:30] local.INFO: Extracted packet for processing {"connection_id":111576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:29:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:29:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":111576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:29:30] local.INFO: GPS data processed {"connection_id":111576,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:29:30] local.INFO: Acknowledgment sent {"connection_id":111576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:29:51] local.INFO: TCP Data received {"connection_id":111575,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3456d50012d196840071fed280042006122..."} 
[2026-06-23 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3456d50012d196840071fed280042006122..."} 
[2026-06-23 12:29:51] local.INFO: Processing buffer {"connection_id":111575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3456d50012d196840071fed280042006122..."} 
[2026-06-23 12:29:51] local.INFO: Packet analysis {"connection_id":111575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef345"} 
[2026-06-23 12:29:51] local.INFO: Extracted packet for processing {"connection_id":111575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef345"} 
[2026-06-23 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242650368001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197874000,"timestamp_ms":1782197874000,"timestamp_seconds":1782197874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3456d50"} 
[2026-06-23 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242650368001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242650368001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:29:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242650368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":111575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:29:51] local.INFO: GPS data processed {"connection_id":111575,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:29:51] local.INFO: Acknowledgment sent {"connection_id":111575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:30:02] local.INFO: TCP Data received {"connection_id":111576,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:30:02] local.INFO: Processing buffer {"connection_id":111576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:30:02] local.INFO: Packet analysis {"connection_id":111576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:30:02] local.INFO: Extracted packet for processing {"connection_id":111576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:30:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:30:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":111576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:30:02] local.INFO: GPS data processed {"connection_id":111576,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:30:02] local.INFO: Acknowledgment sent {"connection_id":111576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:30:14] local.INFO: TCP Data received {"connection_id":110952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:14] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:14] local.INFO: IMEI packet received {"connection_id":110952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":110952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:30:17] local.INFO: TCP Data received {"connection_id":110952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:17] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:17] local.INFO: IMEI packet received {"connection_id":110952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":110952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:30:18] local.INFO: TCP Data received {"connection_id":110952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:18] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:30:18] local.INFO: IMEI packet received {"connection_id":110952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":110952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:30:19] local.INFO: TCP Data received {"connection_id":110952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef345bf58012d196840071fed280042006123..."} 
[2026-06-23 12:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef345bf58012d196840071fed280042006123..."} 
[2026-06-23 12:30:19] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef345bf58012d196840071fed280042006123..."} 
[2026-06-23 12:30:19] local.INFO: Packet analysis {"connection_id":110952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef345"} 
[2026-06-23 12:30:19] local.INFO: Extracted packet for processing {"connection_id":110952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef345"} 
[2026-06-23 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242655744001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782197895000,"timestamp_ms":1782197895000,"timestamp_seconds":1782197895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef345bf58"} 
[2026-06-23 12:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:30:19] 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-06-23 12:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242655744001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242655744001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242655744001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":110952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:30:19] local.INFO: GPS data processed {"connection_id":110952,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:30:19] local.INFO: Acknowledgment sent {"connection_id":110952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:30:24] local.INFO: TCP Data received {"connection_id":111577,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:30:24] local.INFO: Processing buffer {"connection_id":111577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:30:24] local.INFO: IMEI packet received {"connection_id":111577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":111577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:30:24] local.INFO: TCP Data received {"connection_id":110952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3461160012d196840071fed280042006122..."} 
[2026-06-23 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3461160012d196840071fed280042006122..."} 
[2026-06-23 12:30:24] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3461160012d196840071fed280042006122..."} 
[2026-06-23 12:30:24] local.INFO: Packet analysis {"connection_id":110952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef346"} 
[2026-06-23 12:30:24] local.INFO: Extracted packet for processing {"connection_id":110952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef346"} 
[2026-06-23 12:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242661120001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782197916000,"timestamp_ms":1782197916000,"timestamp_seconds":1782197916,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3461160"} 
[2026-06-23 12:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:30:24] 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-06-23 12: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-917747924594779800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:30:24] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:24] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,10,158,109,45,64,237,66,34,27,33,201,1,240,53,227,243,31,4,113,205,37,104,40,239,47,2,14,7,32],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:30:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908009454993408,"timestamp_seconds":4755908009454993.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242661120001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242661120001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242661120001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":110952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:30:24] local.INFO: GPS data processed {"connection_id":110952,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:30:24] local.INFO: Acknowledgment sent {"connection_id":110952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:30:29] local.INFO: TCP Data received {"connection_id":111577,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:30:29] local.INFO: Processing buffer {"connection_id":111577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:30:29] local.INFO: IMEI packet received {"connection_id":111577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":111577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:30:31] local.INFO: TCP Data received {"connection_id":111577,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:30:31] local.INFO: Processing buffer {"connection_id":111577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:30:31] local.INFO: Packet analysis {"connection_id":111577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:30:31] local.INFO: Extracted packet for processing {"connection_id":111577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 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-06-23 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:30:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:30:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":111577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:30:31] local.INFO: GPS data processed {"connection_id":111577,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:30:31] local.INFO: Acknowledgment sent {"connection_id":111577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:30:55] local.INFO: TCP Data received {"connection_id":110952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3466368012d196840071fed280042006121..."} 
[2026-06-23 12:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3466368012d196840071fed280042006121..."} 
[2026-06-23 12:30:55] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3466368012d196840071fed280042006121..."} 
[2026-06-23 12:30:55] local.INFO: Packet analysis {"connection_id":110952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef346"} 
[2026-06-23 12:30:55] local.INFO: Extracted packet for processing {"connection_id":110952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef346"} 
[2026-06-23 12:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242666496001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782197937000,"timestamp_ms":1782197937000,"timestamp_seconds":1782197937,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3466368"} 
[2026-06-23 12:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:30: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-06-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:30:55] 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-06-23 12: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-06-23 12:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242666496001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242666496001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242666496001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":110952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:30:55] local.INFO: GPS data processed {"connection_id":110952,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:30:55] local.INFO: Acknowledgment sent {"connection_id":110952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:31:02] local.INFO: TCP Data received {"connection_id":111577,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:31:02] local.INFO: Processing buffer {"connection_id":111577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:31:02] local.INFO: Packet analysis {"connection_id":111577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:31:02] local.INFO: Extracted packet for processing {"connection_id":111577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 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-06-23 12:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:31:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":111577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:31:02] local.INFO: GPS data processed {"connection_id":111577,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:31:02] local.INFO: Acknowledgment sent {"connection_id":111577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:31:13] local.INFO: TCP Data received {"connection_id":110954,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:31:13] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:31:13] local.INFO: IMEI packet received {"connection_id":110954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":110954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:31:19] local.INFO: TCP Data received {"connection_id":110954,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:31:19] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:31:19] local.INFO: IMEI packet received {"connection_id":110954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":110954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:31:20] local.INFO: TCP Data received {"connection_id":110954,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef346b570012d196840071fed280042006121..."} 
[2026-06-23 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef346b570012d196840071fed280042006121..."} 
[2026-06-23 12:31:20] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef346b570012d196840071fed280042006121..."} 
[2026-06-23 12:31:20] local.INFO: Packet analysis {"connection_id":110954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef346"} 
[2026-06-23 12:31:20] local.INFO: Extracted packet for processing {"connection_id":110954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef346"} 
[2026-06-23 12:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242671872001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782197958000,"timestamp_ms":1782197958000,"timestamp_seconds":1782197958,"priority":1,"record_length":96,"hex_timestamp":"0000019ef346b570"} 
[2026-06-23 12:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242671872001,"66":12330,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242671872001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:31:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242671872001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":110954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:31:20] local.INFO: GPS data processed {"connection_id":110954,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:31:20] local.INFO: Acknowledgment sent {"connection_id":110954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:31:24] local.INFO: TCP Data received {"connection_id":110955,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:31:24] local.INFO: Processing buffer {"connection_id":110955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:31:24] local.INFO: IMEI packet received {"connection_id":110955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":110955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:31:29] local.INFO: TCP Data received {"connection_id":110955,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:31:29] local.INFO: Processing buffer {"connection_id":110955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:31:29] local.INFO: IMEI packet received {"connection_id":110955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:31:30] local.INFO: TCP Data received {"connection_id":110955,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:31:30] local.INFO: Processing buffer {"connection_id":110955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:31:30] local.INFO: Packet analysis {"connection_id":110955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:31:30] local.INFO: Extracted packet for processing {"connection_id":110955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:31:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":110955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:31:30] local.INFO: GPS data processed {"connection_id":110955,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:31:30] local.INFO: Acknowledgment sent {"connection_id":110955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:31:37] local.INFO: TCP Data received {"connection_id":110953,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:31:37] local.INFO: Processing buffer {"connection_id":110953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:31:37] local.INFO: IMEI packet received {"connection_id":110953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":110953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:31:51] local.INFO: TCP Data received {"connection_id":110954,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3470778012d196840071fed280042006124..."} 
[2026-06-23 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3470778012d196840071fed280042006124..."} 
[2026-06-23 12:31:51] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3470778012d196840071fed280042006124..."} 
[2026-06-23 12:31:51] local.INFO: Packet analysis {"connection_id":110954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:31:51] local.INFO: Extracted packet for processing {"connection_id":110954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242677248001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782197979000,"timestamp_ms":1782197979000,"timestamp_seconds":1782197979,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3470778"} 
[2026-06-23 12:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-23 12:31:51] 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-06-23 12:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242677248001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242677248001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:31:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242677248001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":110954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:31:51] local.INFO: GPS data processed {"connection_id":110954,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:31:51] local.INFO: Acknowledgment sent {"connection_id":110954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:32:02] local.INFO: TCP Data received {"connection_id":110955,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:02] local.INFO: Processing buffer {"connection_id":110955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:02] local.INFO: Packet analysis {"connection_id":110955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:32:02] local.INFO: Extracted packet for processing {"connection_id":110955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:32:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:32:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":110955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:32:02] local.INFO: GPS data processed {"connection_id":110955,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:32:02] local.INFO: Acknowledgment sent {"connection_id":110955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:32:12] local.INFO: TCP Data received {"connection_id":110773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:32:12] local.INFO: Processing buffer {"connection_id":110773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:32:12] local.INFO: IMEI packet received {"connection_id":110773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":110773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:32:19] local.INFO: TCP Data received {"connection_id":110956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:32:19] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:32:19] local.INFO: IMEI packet received {"connection_id":110956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":110956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:32:23] local.INFO: TCP Data received {"connection_id":110956,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:32:23] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:32:23] local.INFO: IMEI packet received {"connection_id":110956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":110956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:32:24] local.INFO: TCP Data received {"connection_id":110956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3475980012d196840071fed280042006123..."} 
[2026-06-23 12:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3475980012d196840071fed280042006123..."} 
[2026-06-23 12:32:24] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3475980012d196840071fed280042006123..."} 
[2026-06-23 12:32:24] local.INFO: Packet analysis {"connection_id":110956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:32:24] local.INFO: Extracted packet for processing {"connection_id":110956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:32: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-06-23 12:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242682624001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198000000,"timestamp_ms":1782198000000,"timestamp_seconds":1782198000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3475980"} 
[2026-06-23 12:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:32: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-06-23 12:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:32:24] 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-06-23 12:32: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-06-23 12:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242682624001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242682624001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242682624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":110956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:32:24] local.INFO: GPS data processed {"connection_id":110956,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:32:24] local.INFO: Acknowledgment sent {"connection_id":110956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:32:24] local.INFO: TCP Data received {"connection_id":110956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef347ab88012d196840071fed280042006120..."} 
[2026-06-23 12:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef347ab88012d196840071fed280042006120..."} 
[2026-06-23 12:32:24] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef347ab88012d196840071fed280042006120..."} 
[2026-06-23 12:32:24] local.INFO: Packet analysis {"connection_id":110956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:32:24] local.INFO: Extracted packet for processing {"connection_id":110956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:32: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-06-23 12:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242688000001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198021000,"timestamp_ms":1782198021000,"timestamp_seconds":1782198021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef347ab88"} 
[2026-06-23 12:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:32:24] 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-06-23 12:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:32:24] 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-06-23 12:32: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-06-23 12:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242688000001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242688000001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242688000001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":110956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:32:24] local.INFO: GPS data processed {"connection_id":110956,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:32:24] local.INFO: Acknowledgment sent {"connection_id":110956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:32:29] local.INFO: TCP Data received {"connection_id":112511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:32:29] local.INFO: Processing buffer {"connection_id":112511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:32:29] local.INFO: IMEI packet received {"connection_id":112511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":112511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:32:34] local.INFO: TCP Data received {"connection_id":112511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:32:34] local.INFO: Processing buffer {"connection_id":112511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:32:34] local.INFO: IMEI packet received {"connection_id":112511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":112511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:32:36] local.INFO: TCP Data received {"connection_id":112511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:36] local.INFO: Processing buffer {"connection_id":112511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:36] local.INFO: Packet analysis {"connection_id":112511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:32:36] local.INFO: Extracted packet for processing {"connection_id":112511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:32:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:32:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":112511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:32:36] local.INFO: GPS data processed {"connection_id":112511,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:32:36] local.INFO: Acknowledgment sent {"connection_id":112511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:32:40] local.INFO: TCP Data received {"connection_id":112511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:40] local.INFO: Processing buffer {"connection_id":112511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef344a230012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:32:40] local.INFO: Packet analysis {"connection_id":112511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:32:40] local.INFO: Extracted packet for processing {"connection_id":112511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef344"} 
[2026-06-23 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242565376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782197822000,"timestamp_ms":1782197822000,"timestamp_seconds":1782197822,"priority":1,"record_length":96,"hex_timestamp":"0000019ef344a230"} 
[2026-06-23 12:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 12:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242565376001,"66":25495,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242565376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:32:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:32:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242565376001,"power":25495,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":112511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:32:40] local.INFO: GPS data processed {"connection_id":112511,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:32:40] local.INFO: Acknowledgment sent {"connection_id":112511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:32:55] local.INFO: TCP Data received {"connection_id":110956,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef347fd90012d196840071fed280042006120..."} 
[2026-06-23 12:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef347fd90012d196840071fed280042006120..."} 
[2026-06-23 12:32:55] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef347fd90012d196840071fed280042006120..."} 
[2026-06-23 12:32:55] local.INFO: Packet analysis {"connection_id":110956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:32:55] local.INFO: Extracted packet for processing {"connection_id":110956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef347"} 
[2026-06-23 12:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242693376001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782198042000,"timestamp_ms":1782198042000,"timestamp_seconds":1782198042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef347fd90"} 
[2026-06-23 12:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:32: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-06-23 12:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:32:55] 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-06-23 12:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242693376001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242693376001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:32:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242693376001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":110956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:32:55] local.INFO: GPS data processed {"connection_id":110956,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:32:55] local.INFO: Acknowledgment sent {"connection_id":110956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:33:14] local.INFO: TCP Data received {"connection_id":110774,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:33:14] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:33:14] local.INFO: IMEI packet received {"connection_id":110774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":110774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:33:19] local.INFO: TCP Data received {"connection_id":110774,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:33:19] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:33:19] local.INFO: IMEI packet received {"connection_id":110774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":110774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:33:19] local.INFO: TCP Data received {"connection_id":110774,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3484f98012d196840071fed280042006120..."} 
[2026-06-23 12:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3484f98012d196840071fed280042006120..."} 
[2026-06-23 12:33:19] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3484f98012d196840071fed280042006120..."} 
[2026-06-23 12:33:19] local.INFO: Packet analysis {"connection_id":110774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef348"} 
[2026-06-23 12:33:19] local.INFO: Extracted packet for processing {"connection_id":110774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef348"} 
[2026-06-23 12:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242698752001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198063000,"timestamp_ms":1782198063000,"timestamp_seconds":1782198063,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3484f98"} 
[2026-06-23 12:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:33:19] 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-06-23 12:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242698752001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242698752001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:33:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242698752001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":110774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:33:20] local.INFO: GPS data processed {"connection_id":110774,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:33:20] local.INFO: Acknowledgment sent {"connection_id":110774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:33:24] local.INFO: TCP Data received {"connection_id":112513,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:33:24] local.INFO: Processing buffer {"connection_id":112513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:33:24] local.INFO: IMEI packet received {"connection_id":112513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":112513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:33:29] local.INFO: TCP Data received {"connection_id":112513,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:33:29] local.INFO: Processing buffer {"connection_id":112513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:33:29] local.INFO: IMEI packet received {"connection_id":112513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":112513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:33:31] local.INFO: TCP Data received {"connection_id":112513,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:33:31] local.INFO: Processing buffer {"connection_id":112513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:33:31] local.INFO: Packet analysis {"connection_id":112513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:33:31] local.INFO: Extracted packet for processing {"connection_id":112513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 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-06-23 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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-06-23 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-06-23 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-06-23 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-06-23 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:33:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:33:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":112513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:33:31] local.INFO: GPS data processed {"connection_id":112513,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:33:31] local.INFO: Acknowledgment sent {"connection_id":112513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:33:51] local.INFO: TCP Data received {"connection_id":110774,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef348a1a0012d196840071fed280042006120..."} 
[2026-06-23 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef348a1a0012d196840071fed280042006120..."} 
[2026-06-23 12:33:51] local.INFO: Processing buffer {"connection_id":110774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef348a1a0012d196840071fed280042006120..."} 
[2026-06-23 12:33:51] local.INFO: Packet analysis {"connection_id":110774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef348"} 
[2026-06-23 12:33:51] local.INFO: Extracted packet for processing {"connection_id":110774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef348"} 
[2026-06-23 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242704128001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198084000,"timestamp_ms":1782198084000,"timestamp_seconds":1782198084,"priority":1,"record_length":96,"hex_timestamp":"0000019ef348a1a0"} 
[2026-06-23 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242704128001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242704128001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:33:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242704128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":110774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:33:51] local.INFO: GPS data processed {"connection_id":110774,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:33:51] local.INFO: Acknowledgment sent {"connection_id":110774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:34:03] local.INFO: TCP Data received {"connection_id":112513,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:34:03] local.INFO: Processing buffer {"connection_id":112513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:34:03] local.INFO: Packet analysis {"connection_id":112513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:34:03] local.INFO: Extracted packet for processing {"connection_id":112513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 12:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:34:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:34:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":112513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:34:03] local.INFO: GPS data processed {"connection_id":112513,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:34:03] local.INFO: Acknowledgment sent {"connection_id":112513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:34:14] local.INFO: TCP Data received {"connection_id":110958,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:34:14] local.INFO: Processing buffer {"connection_id":110958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:34:14] local.INFO: IMEI packet received {"connection_id":110958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":110958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:34:19] local.INFO: TCP Data received {"connection_id":110958,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:34:19] local.INFO: Processing buffer {"connection_id":110958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:34:19] local.INFO: IMEI packet received {"connection_id":110958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":110958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:34:20] local.INFO: TCP Data received {"connection_id":110958,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef348f3a8012d196840071fed28004200611f..."} 
[2026-06-23 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef348f3a8012d196840071fed28004200611f..."} 
[2026-06-23 12:34:20] local.INFO: Processing buffer {"connection_id":110958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef348f3a8012d196840071fed28004200611f..."} 
[2026-06-23 12:34:20] local.INFO: Packet analysis {"connection_id":110958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef348"} 
[2026-06-23 12:34:20] local.INFO: Extracted packet for processing {"connection_id":110958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef348"} 
[2026-06-23 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242709504001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782198105000,"timestamp_ms":1782198105000,"timestamp_seconds":1782198105,"priority":1,"record_length":96,"hex_timestamp":"0000019ef348f3a8"} 
[2026-06-23 12:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-916936175775835800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587345330634958,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:34:20] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:20] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,10,158,79,45,64,237,66,32,253,171,1,240,31,227,243,4,113,205,7,104,40,36,239,47,2,14,33],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:34:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907996570091520,"timestamp_seconds":4755907996570092.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242709504001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242709504001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:34:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242709504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":110958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:34:20] local.INFO: GPS data processed {"connection_id":110958,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:34:20] local.INFO: Acknowledgment sent {"connection_id":110958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:34:24] local.INFO: TCP Data received {"connection_id":110775,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:34:24] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:34:24] local.INFO: IMEI packet received {"connection_id":110775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":110775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:34:29] local.INFO: TCP Data received {"connection_id":110775,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:34:29] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:34:29] local.INFO: IMEI packet received {"connection_id":110775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:34:31] local.INFO: TCP Data received {"connection_id":110775,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:34:31] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:34:31] local.INFO: Packet analysis {"connection_id":110775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:34:31] local.INFO: Extracted packet for processing {"connection_id":110775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:34:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 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-06-23 12:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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-06-23 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-06-23 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-06-23 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-06-23 12:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:34:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:34:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:34:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":110775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:34:31] local.INFO: GPS data processed {"connection_id":110775,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:34:31] local.INFO: Acknowledgment sent {"connection_id":110775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:34:50] local.INFO: TCP Data received {"connection_id":110958,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34945b0012d196840071fed280042006121..."} 
[2026-06-23 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34945b0012d196840071fed280042006121..."} 
[2026-06-23 12:34:50] local.INFO: Processing buffer {"connection_id":110958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34945b0012d196840071fed280042006121..."} 
[2026-06-23 12:34:50] local.INFO: Packet analysis {"connection_id":110958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:34:50] local.INFO: Extracted packet for processing {"connection_id":110958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242714880001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782198126000,"timestamp_ms":1782198126000,"timestamp_seconds":1782198126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34945b0"} 
[2026-06-23 12:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-916845981462619800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:34:50] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-23 12:34:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,10,158,161,45,64,237,66,32,79,253,1,240,53,227,243,31,4,113,205,89,104,40,35,239,48,2,14,7,33],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:34:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907992275124224,"timestamp_seconds":4755907992275124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242714880001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242714880001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:34:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242714880001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":110958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:34:51] local.INFO: GPS data processed {"connection_id":110958,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:34:51] local.INFO: Acknowledgment sent {"connection_id":110958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:35:03] local.INFO: TCP Data received {"connection_id":110775,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:35:03] local.INFO: Processing buffer {"connection_id":110775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:35:03] local.INFO: Packet analysis {"connection_id":110775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:03] local.INFO: Extracted packet for processing {"connection_id":110775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 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-06-23 12:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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-06-23 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-06-23 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-06-23 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-06-23 12:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:35:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:35:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:35:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":110775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:35:03] local.INFO: GPS data processed {"connection_id":110775,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:35:03] local.INFO: Acknowledgment sent {"connection_id":110775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:35:11] local.INFO: TCP Data received {"connection_id":110776,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:11] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:11] local.INFO: IMEI packet received {"connection_id":110776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":110776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:35:14] local.INFO: TCP Data received {"connection_id":110776,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:14] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:14] local.INFO: IMEI packet received {"connection_id":110776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":110776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:35:19] local.INFO: TCP Data received {"connection_id":110776,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:19] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:35:19] local.INFO: IMEI packet received {"connection_id":110776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":110776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:35:19] local.INFO: TCP Data received {"connection_id":110776,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34997b8012d196840071fed28004200611f..."} 
[2026-06-23 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34997b8012d196840071fed28004200611f..."} 
[2026-06-23 12:35:19] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34997b8012d196840071fed28004200611f..."} 
[2026-06-23 12:35:19] local.INFO: Packet analysis {"connection_id":110776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:19] local.INFO: Extracted packet for processing {"connection_id":110776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242720256001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198147000,"timestamp_ms":1782198147000,"timestamp_seconds":1782198147,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34997b8"} 
[2026-06-23 12:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:35:19] 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-06-23 12:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242720256001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242720256001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:35:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242720256001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":110776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:35:20] local.INFO: GPS data processed {"connection_id":110776,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:35:20] local.INFO: Acknowledgment sent {"connection_id":110776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:35:24] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:35:24] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:35:24] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:35:29] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:35:29] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:35:29] local.INFO: IMEI packet received {"connection_id":110777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":110777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:35:31] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:35:31] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:35:31] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:31] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 12:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:35:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:35:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:35:31] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:35:31] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:35:51] local.INFO: TCP Data received {"connection_id":110776,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef349e9c0012d196840071fed28004200611f..."} 
[2026-06-23 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef349e9c0012d196840071fed28004200611f..."} 
[2026-06-23 12:35:51] local.INFO: Processing buffer {"connection_id":110776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef349e9c0012d196840071fed28004200611f..."} 
[2026-06-23 12:35:51] local.INFO: Packet analysis {"connection_id":110776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:51] local.INFO: Extracted packet for processing {"connection_id":110776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242725632001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198168000,"timestamp_ms":1782198168000,"timestamp_seconds":1782198168,"priority":1,"record_length":96,"hex_timestamp":"0000019ef349e9c0"} 
[2026-06-23 12:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242725632001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242725632001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:35:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242725632001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":110776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:35:51] local.INFO: GPS data processed {"connection_id":110776,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:35:51] local.INFO: Acknowledgment sent {"connection_id":110776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:36:03] local.INFO: TCP Data received {"connection_id":110777,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:03] local.INFO: Processing buffer {"connection_id":110777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:03] local.INFO: Packet analysis {"connection_id":110777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:36:03] local.INFO: Extracted packet for processing {"connection_id":110777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:36:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 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-06-23 12:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:36: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-06-23 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-06-23 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-06-23 12:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:36:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:36:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":110777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:36:03] local.INFO: GPS data processed {"connection_id":110777,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:36:03] local.INFO: Acknowledgment sent {"connection_id":110777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:36:14] local.INFO: TCP Data received {"connection_id":112515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:14] local.INFO: Processing buffer {"connection_id":112515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:14] local.INFO: IMEI packet received {"connection_id":112515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":112515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:36:14] local.INFO: TCP Data received {"connection_id":112515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:14] local.INFO: Processing buffer {"connection_id":112515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:14] local.INFO: IMEI packet received {"connection_id":112515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":112515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:36:19] local.INFO: TCP Data received {"connection_id":112515,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:19] local.INFO: Processing buffer {"connection_id":112515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:36:19] local.INFO: IMEI packet received {"connection_id":112515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":112515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:36:20] local.INFO: TCP Data received {"connection_id":112515,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34a3bc8012d196840071fed28004200611f..."} 
[2026-06-23 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34a3bc8012d196840071fed28004200611f..."} 
[2026-06-23 12:36:20] local.INFO: Processing buffer {"connection_id":112515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34a3bc8012d196840071fed28004200611f..."} 
[2026-06-23 12:36:20] local.INFO: Packet analysis {"connection_id":112515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34a"} 
[2026-06-23 12:36:20] local.INFO: Extracted packet for processing {"connection_id":112515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34a"} 
[2026-06-23 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242731008001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782198189000,"timestamp_ms":1782198189000,"timestamp_seconds":1782198189,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34a3bc8"} 
[2026-06-23 12:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242731008001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242731008001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:36:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242731008001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":112515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:36:20] local.INFO: GPS data processed {"connection_id":112515,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:36:20] local.INFO: Acknowledgment sent {"connection_id":112515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:36:29] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:36:29] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:36:29] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:36:34] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:36:34] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:36:34] local.INFO: IMEI packet received {"connection_id":110778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":110778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:36:35] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:35] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:35] local.INFO: Packet analysis {"connection_id":110778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:36:35] local.INFO: Extracted packet for processing {"connection_id":110778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:36:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 12:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:36: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-06-23 12: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-06-23 12:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":110778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:36:35] local.INFO: GPS data processed {"connection_id":110778,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:36:35] local.INFO: Acknowledgment sent {"connection_id":110778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:36:40] local.INFO: TCP Data received {"connection_id":110778,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:40] local.INFO: Processing buffer {"connection_id":110778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:36:40] local.INFO: Packet analysis {"connection_id":110778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:36:40] local.INFO: Extracted packet for processing {"connection_id":110778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 12:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:36: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-06-23 12: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-06-23 12:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:36:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":110778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:36:40] local.INFO: GPS data processed {"connection_id":110778,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:36:40] local.INFO: Acknowledgment sent {"connection_id":110778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:36:51] local.INFO: TCP Data received {"connection_id":112515,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34a8dd0012d196840071fed28004200611f..."} 
[2026-06-23 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34a8dd0012d196840071fed28004200611f..."} 
[2026-06-23 12:36:51] local.INFO: Processing buffer {"connection_id":112515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34a8dd0012d196840071fed28004200611f..."} 
[2026-06-23 12:36:51] local.INFO: Packet analysis {"connection_id":112515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34a"} 
[2026-06-23 12:36:51] local.INFO: Extracted packet for processing {"connection_id":112515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34a"} 
[2026-06-23 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242736384001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198210000,"timestamp_ms":1782198210000,"timestamp_seconds":1782198210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34a8dd0"} 
[2026-06-23 12:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242736384001,"66":12113,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242736384001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242736384001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":112515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:36:51] local.INFO: GPS data processed {"connection_id":112515,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:36:51] local.INFO: Acknowledgment sent {"connection_id":112515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:37:13] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:13] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:13] local.INFO: IMEI packet received {"connection_id":110960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":110960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:37:17] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:17] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:17] local.INFO: IMEI packet received {"connection_id":110960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":110960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:37:18] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:18] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:37:18] local.INFO: IMEI packet received {"connection_id":110960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":110960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:37:19] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34adfd8012d196840071fed28004200611c..."} 
[2026-06-23 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34adfd8012d196840071fed28004200611c..."} 
[2026-06-23 12:37:19] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34adfd8012d196840071fed28004200611c..."} 
[2026-06-23 12:37:19] local.INFO: Packet analysis {"connection_id":110960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34a"} 
[2026-06-23 12:37:19] local.INFO: Extracted packet for processing {"connection_id":110960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34a"} 
[2026-06-23 12:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242741760001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198231000,"timestamp_ms":1782198231000,"timestamp_seconds":1782198231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34adfd8"} 
[2026-06-23 12:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 12:37:19] 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-06-23 12:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242741760001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242741760001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:37:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242741760001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":110960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:37:19] local.INFO: GPS data processed {"connection_id":110960,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:37:19] local.INFO: Acknowledgment sent {"connection_id":110960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:37:24] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34b31e0012d196840071fed280042006120..."} 
[2026-06-23 12:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34b31e0012d196840071fed280042006120..."} 
[2026-06-23 12:37:24] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34b31e0012d196840071fed280042006120..."} 
[2026-06-23 12:37:24] local.INFO: Packet analysis {"connection_id":110960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34b"} 
[2026-06-23 12:37:24] local.INFO: Extracted packet for processing {"connection_id":110960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34b"} 
[2026-06-23 12:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242747136001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198252000,"timestamp_ms":1782198252000,"timestamp_seconds":1782198252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34b31e0"} 
[2026-06-23 12:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:37:24] 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-06-23 12:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:37:24] 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-06-23 12:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242747136001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242747136001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242747136001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":110960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:37:24] local.INFO: GPS data processed {"connection_id":110960,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:37:24] local.INFO: Acknowledgment sent {"connection_id":110960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:37:24] local.INFO: TCP Data received {"connection_id":111579,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:37:24] local.INFO: Processing buffer {"connection_id":111579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:37:24] local.INFO: IMEI packet received {"connection_id":111579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":111579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:37:29] local.INFO: TCP Data received {"connection_id":111579,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:37:29] local.INFO: Processing buffer {"connection_id":111579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:37:29] local.INFO: IMEI packet received {"connection_id":111579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":111579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:37:30] local.INFO: TCP Data received {"connection_id":111579,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:37:31] local.INFO: Processing buffer {"connection_id":111579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34939f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:37:31] local.INFO: Packet analysis {"connection_id":111579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:37:31] local.INFO: Extracted packet for processing {"connection_id":111579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef349"} 
[2026-06-23 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242642432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782198123000,"timestamp_ms":1782198123000,"timestamp_seconds":1782198123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34939f8"} 
[2026-06-23 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-06-23 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":151,"data_length":795,"current_offset":136} 
[2026-06-23 12:37: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-06-23 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-06-23 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-06-23 12:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242642432001,"66":25473,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242642432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:37:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:37:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242642432001,"power":25473,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":111579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:37:31] local.INFO: GPS data processed {"connection_id":111579,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:37:31] local.INFO: Acknowledgment sent {"connection_id":111579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:37:55] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34b83e8012d196840071fed280042006121..."} 
[2026-06-23 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34b83e8012d196840071fed280042006121..."} 
[2026-06-23 12:37:55] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34b83e8012d196840071fed280042006121..."} 
[2026-06-23 12:37:55] local.INFO: Packet analysis {"connection_id":110960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34b"} 
[2026-06-23 12:37:55] local.INFO: Extracted packet for processing {"connection_id":110960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34b"} 
[2026-06-23 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242752512001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782198273000,"timestamp_ms":1782198273000,"timestamp_seconds":1782198273,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34b83e8"} 
[2026-06-23 12:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:37: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-06-23 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:37:55] 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-06-23 12: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-06-23 12:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242752512001,"66":12113,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242752512001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242752512001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":110960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:37:55] local.INFO: GPS data processed {"connection_id":110960,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:37:55] local.INFO: Acknowledgment sent {"connection_id":110960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:38:02] local.INFO: TCP Data received {"connection_id":111579,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:38:02] local.INFO: Processing buffer {"connection_id":111579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:38:02] local.INFO: Packet analysis {"connection_id":111579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:38:02] local.INFO: Extracted packet for processing {"connection_id":111579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:38:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:38:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":111579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:38:02] local.INFO: GPS data processed {"connection_id":111579,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:38:02] local.INFO: Acknowledgment sent {"connection_id":111579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:38:06] local.INFO: TCP Data received {"connection_id":110961,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:38:06] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:38:06] local.INFO: IMEI packet received {"connection_id":110961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":110961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:38:13] local.INFO: TCP Data received {"connection_id":112516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:38:13] local.INFO: Processing buffer {"connection_id":112516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:38:13] local.INFO: IMEI packet received {"connection_id":112516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":112516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:38:19] local.INFO: TCP Data received {"connection_id":112516,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:38:19] local.INFO: Processing buffer {"connection_id":112516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:38:19] local.INFO: IMEI packet received {"connection_id":112516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":112516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:38:19] local.INFO: TCP Data received {"connection_id":112516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34bd5f0012d196840071fed280042006121..."} 
[2026-06-23 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34bd5f0012d196840071fed280042006121..."} 
[2026-06-23 12:38:19] local.INFO: Processing buffer {"connection_id":112516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34bd5f0012d196840071fed280042006121..."} 
[2026-06-23 12:38:19] local.INFO: Packet analysis {"connection_id":112516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34b"} 
[2026-06-23 12:38:19] local.INFO: Extracted packet for processing {"connection_id":112516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34b"} 
[2026-06-23 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242757888001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198294000,"timestamp_ms":1782198294000,"timestamp_seconds":1782198294,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34bd5f0"} 
[2026-06-23 12:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 12:38:19] 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-06-23 12:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242757888001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242757888001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:38:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242757888001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":112516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:38:20] local.INFO: GPS data processed {"connection_id":112516,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:38:20] local.INFO: Acknowledgment sent {"connection_id":112516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:38:24] local.INFO: TCP Data received {"connection_id":112517,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:38:24] local.INFO: Processing buffer {"connection_id":112517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:38:24] local.INFO: IMEI packet received {"connection_id":112517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":112517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:38:29] local.INFO: TCP Data received {"connection_id":112517,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:38:29] local.INFO: Processing buffer {"connection_id":112517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:38:29] local.INFO: IMEI packet received {"connection_id":112517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":112517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:38:30] local.INFO: TCP Data received {"connection_id":112517,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:38:30] local.INFO: Processing buffer {"connection_id":112517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:38:30] local.INFO: Packet analysis {"connection_id":112517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:38:30] local.INFO: Extracted packet for processing {"connection_id":112517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:38:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":112517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:38:30] local.INFO: GPS data processed {"connection_id":112517,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:38:30] local.INFO: Acknowledgment sent {"connection_id":112517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:38:51] local.INFO: TCP Data received {"connection_id":112516,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34c27f8012d196840071fed280042006120..."} 
[2026-06-23 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34c27f8012d196840071fed280042006120..."} 
[2026-06-23 12:38:51] local.INFO: Processing buffer {"connection_id":112516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34c27f8012d196840071fed280042006120..."} 
[2026-06-23 12:38:51] local.INFO: Packet analysis {"connection_id":112516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34c"} 
[2026-06-23 12:38:51] local.INFO: Extracted packet for processing {"connection_id":112516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34c"} 
[2026-06-23 12:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242763264001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198315000,"timestamp_ms":1782198315000,"timestamp_seconds":1782198315,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34c27f8"} 
[2026-06-23 12:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242763264001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242763264001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:38:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242763264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":112516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:38:51] local.INFO: GPS data processed {"connection_id":112516,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:38:51] local.INFO: Acknowledgment sent {"connection_id":112516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:39:02] local.INFO: TCP Data received {"connection_id":112517,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:39:02] local.INFO: Processing buffer {"connection_id":112517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:39:02] local.INFO: Packet analysis {"connection_id":112517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:39:02] local.INFO: Extracted packet for processing {"connection_id":112517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:39:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":112517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:39:02] local.INFO: GPS data processed {"connection_id":112517,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:39:02] local.INFO: Acknowledgment sent {"connection_id":112517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:39:19] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:39:19] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:39:19] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:39:23] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:39:23] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:39:23] local.INFO: IMEI packet received {"connection_id":110779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":110779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:39:24] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34c7a00012d196840071fed280042006120..."} 
[2026-06-23 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34c7a00012d196840071fed280042006120..."} 
[2026-06-23 12:39:24] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34c7a00012d196840071fed280042006120..."} 
[2026-06-23 12:39:24] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34c"} 
[2026-06-23 12:39:24] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34c"} 
[2026-06-23 12:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242768640001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198336000,"timestamp_ms":1782198336000,"timestamp_seconds":1782198336,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34c7a00"} 
[2026-06-23 12:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:39:24] 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-06-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:39:24] 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-06-23 12: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-06-23 12:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242768640001,"66":12145,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242768640001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242768640001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:39:24] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:39:24] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:39:24] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34ccc08012d196840071fed280042006120..."} 
[2026-06-23 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34ccc08012d196840071fed280042006120..."} 
[2026-06-23 12:39:24] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34ccc08012d196840071fed280042006120..."} 
[2026-06-23 12:39:24] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34c"} 
[2026-06-23 12:39:24] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34c"} 
[2026-06-23 12:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242774016001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198357000,"timestamp_ms":1782198357000,"timestamp_seconds":1782198357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34ccc08"} 
[2026-06-23 12:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:39:24] 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-06-23 12: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 12:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242774016001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242774016001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242774016001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:39:24] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:39:24] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:39:34] local.INFO: TCP Data received {"connection_id":110780,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:39:34] local.INFO: Processing buffer {"connection_id":110780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:39:34] local.INFO: IMEI packet received {"connection_id":110780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":110780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:39:39] local.INFO: TCP Data received {"connection_id":110780,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:39:39] local.INFO: Processing buffer {"connection_id":110780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:39:39] local.INFO: IMEI packet received {"connection_id":110780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":110780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:39:40] local.INFO: TCP Data received {"connection_id":110780,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:39:40] local.INFO: Processing buffer {"connection_id":110780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:39:40] local.INFO: Packet analysis {"connection_id":110780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:39:40] local.INFO: Extracted packet for processing {"connection_id":110780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:39:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:39:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":110780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:39:40] local.INFO: GPS data processed {"connection_id":110780,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:39:40] local.INFO: Acknowledgment sent {"connection_id":110780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:39:55] local.INFO: TCP Data received {"connection_id":110779,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34d1e10012d196840071fed28004200611f..."} 
[2026-06-23 12:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34d1e10012d196840071fed28004200611f..."} 
[2026-06-23 12:39:55] local.INFO: Processing buffer {"connection_id":110779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34d1e10012d196840071fed28004200611f..."} 
[2026-06-23 12:39:55] local.INFO: Packet analysis {"connection_id":110779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:39:55] local.INFO: Extracted packet for processing {"connection_id":110779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242779392001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782198378000,"timestamp_ms":1782198378000,"timestamp_seconds":1782198378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34d1e10"} 
[2026-06-23 12:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:39: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-06-23 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:39:55] 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-06-23 12: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-06-23 12:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242779392001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242779392001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:39:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242779392001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":110779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:39:56] local.INFO: GPS data processed {"connection_id":110779,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:39:56] local.INFO: Acknowledgment sent {"connection_id":110779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:40:14] local.INFO: TCP Data received {"connection_id":111581,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:40:14] local.INFO: Processing buffer {"connection_id":111581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:40:14] local.INFO: IMEI packet received {"connection_id":111581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":111581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:40:19] local.INFO: TCP Data received {"connection_id":111581,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:40:19] local.INFO: Processing buffer {"connection_id":111581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:40:19] local.INFO: IMEI packet received {"connection_id":111581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":111581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:40:20] local.INFO: TCP Data received {"connection_id":111581,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34d7018012d196840071fed280042006120..."} 
[2026-06-23 12:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34d7018012d196840071fed280042006120..."} 
[2026-06-23 12:40:20] local.INFO: Processing buffer {"connection_id":111581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34d7018012d196840071fed280042006120..."} 
[2026-06-23 12:40:20] local.INFO: Packet analysis {"connection_id":111581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:40:20] local.INFO: Extracted packet for processing {"connection_id":111581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242784768001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782198399000,"timestamp_ms":1782198399000,"timestamp_seconds":1782198399,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34d7018"} 
[2026-06-23 12:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242784768001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242784768001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:40:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242784768001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":111581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:40:20] local.INFO: GPS data processed {"connection_id":111581,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:40:20] local.INFO: Acknowledgment sent {"connection_id":111581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:40:24] local.INFO: TCP Data received {"connection_id":112519,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:40:24] local.INFO: Processing buffer {"connection_id":112519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:40:24] local.INFO: IMEI packet received {"connection_id":112519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":112519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:40:29] local.INFO: TCP Data received {"connection_id":112519,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:40:29] local.INFO: Processing buffer {"connection_id":112519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:40:29] local.INFO: IMEI packet received {"connection_id":112519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":112519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:40:30] local.INFO: TCP Data received {"connection_id":112519,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:40:30] local.INFO: Processing buffer {"connection_id":112519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:40:30] local.INFO: Packet analysis {"connection_id":112519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:40:30] local.INFO: Extracted packet for processing {"connection_id":112519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 12: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-06-23 12:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:40:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":112519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:40:31] local.INFO: GPS data processed {"connection_id":112519,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:40:31] local.INFO: Acknowledgment sent {"connection_id":112519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:40:51] local.INFO: TCP Data received {"connection_id":111581,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dc220012d196840071fed28004200611e..."} 
[2026-06-23 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dc220012d196840071fed28004200611e..."} 
[2026-06-23 12:40:51] local.INFO: Processing buffer {"connection_id":111581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dc220012d196840071fed28004200611e..."} 
[2026-06-23 12:40:51] local.INFO: Packet analysis {"connection_id":111581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:40:51] local.INFO: Extracted packet for processing {"connection_id":111581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242790144001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198420000,"timestamp_ms":1782198420000,"timestamp_seconds":1782198420,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dc220"} 
[2026-06-23 12:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242790144001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242790144001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:40:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242790144001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":111581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:40:51] local.INFO: GPS data processed {"connection_id":111581,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:40:51] local.INFO: Acknowledgment sent {"connection_id":111581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:41:02] local.INFO: TCP Data received {"connection_id":112519,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:41:02] local.INFO: Processing buffer {"connection_id":112519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:41:02] local.INFO: Packet analysis {"connection_id":112519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:41:02] local.INFO: Extracted packet for processing {"connection_id":112519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":112519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:41:02] local.INFO: GPS data processed {"connection_id":112519,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:41:02] local.INFO: Acknowledgment sent {"connection_id":112519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:41:14] local.INFO: TCP Data received {"connection_id":112521,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:41:14] local.INFO: Processing buffer {"connection_id":112521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:41:14] local.INFO: IMEI packet received {"connection_id":112521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":112521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:41:19] local.INFO: TCP Data received {"connection_id":112521,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:41:19] local.INFO: Processing buffer {"connection_id":112521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:41:19] local.INFO: IMEI packet received {"connection_id":112521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":112521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:41:20] local.INFO: TCP Data received {"connection_id":112521,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34e1428012d196840071fed28004200611f..."} 
[2026-06-23 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34e1428012d196840071fed28004200611f..."} 
[2026-06-23 12:41:20] local.INFO: Processing buffer {"connection_id":112521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34e1428012d196840071fed28004200611f..."} 
[2026-06-23 12:41:20] local.INFO: Packet analysis {"connection_id":112521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34e"} 
[2026-06-23 12:41:20] local.INFO: Extracted packet for processing {"connection_id":112521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34e"} 
[2026-06-23 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242795520001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782198441000,"timestamp_ms":1782198441000,"timestamp_seconds":1782198441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34e1428"} 
[2026-06-23 12:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242795520001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242795520001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:41:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242795520001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":112521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:41:20] local.INFO: GPS data processed {"connection_id":112521,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:41:20] local.INFO: Acknowledgment sent {"connection_id":112521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:41:24] local.INFO: TCP Data received {"connection_id":110962,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:41:24] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:41:24] local.INFO: IMEI packet received {"connection_id":110962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":110962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:41:29] local.INFO: TCP Data received {"connection_id":110962,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:41:29] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:41:29] local.INFO: IMEI packet received {"connection_id":110962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":110962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:41:31] local.INFO: TCP Data received {"connection_id":110962,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:41:31] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:41:31] local.INFO: Packet analysis {"connection_id":110962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:41:31] local.INFO: Extracted packet for processing {"connection_id":110962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:41:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 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-06-23 12:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":129,"data_length":795,"current_offset":136} 
[2026-06-23 12:41: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-06-23 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-06-23 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-06-23 12:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:41:31] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":110962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:41:31] local.INFO: GPS data processed {"connection_id":110962,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:41:31] local.INFO: Acknowledgment sent {"connection_id":110962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:41:51] local.INFO: TCP Data received {"connection_id":112521,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34e6630012d196840071fed28004200611f..."} 
[2026-06-23 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34e6630012d196840071fed28004200611f..."} 
[2026-06-23 12:41:51] local.INFO: Processing buffer {"connection_id":112521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34e6630012d196840071fed28004200611f..."} 
[2026-06-23 12:41:51] local.INFO: Packet analysis {"connection_id":112521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34e"} 
[2026-06-23 12:41:51] local.INFO: Extracted packet for processing {"connection_id":112521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34e"} 
[2026-06-23 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242800896001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198462000,"timestamp_ms":1782198462000,"timestamp_seconds":1782198462,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34e6630"} 
[2026-06-23 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242800896001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242800896001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:41:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242800896001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":112521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:41:51] local.INFO: GPS data processed {"connection_id":112521,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:41:51] local.INFO: Acknowledgment sent {"connection_id":112521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:42:04] local.INFO: TCP Data received {"connection_id":110962,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:04] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:04] local.INFO: Packet analysis {"connection_id":110962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:42:04] local.INFO: Extracted packet for processing {"connection_id":110962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:42:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12: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-06-23 12: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-06-23 12:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:42:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:42:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":110962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:42:04] local.INFO: GPS data processed {"connection_id":110962,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:42:04] local.INFO: Acknowledgment sent {"connection_id":110962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:42:14] local.INFO: TCP Data received {"connection_id":111582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:42:14] local.INFO: Processing buffer {"connection_id":111582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:42:14] local.INFO: IMEI packet received {"connection_id":111582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":111582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:42:19] local.INFO: TCP Data received {"connection_id":111582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:42:19] local.INFO: Processing buffer {"connection_id":111582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:42:19] local.INFO: IMEI packet received {"connection_id":111582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":111582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:42:19] local.INFO: TCP Data received {"connection_id":111582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34eb838012d196840071fed28004200611e..."} 
[2026-06-23 12:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34eb838012d196840071fed28004200611e..."} 
[2026-06-23 12:42:19] local.INFO: Processing buffer {"connection_id":111582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34eb838012d196840071fed28004200611e..."} 
[2026-06-23 12:42:19] local.INFO: Packet analysis {"connection_id":111582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34e"} 
[2026-06-23 12:42:19] local.INFO: Extracted packet for processing {"connection_id":111582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34e"} 
[2026-06-23 12:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242806272001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198483000,"timestamp_ms":1782198483000,"timestamp_seconds":1782198483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34eb838"} 
[2026-06-23 12:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:42:19] 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-06-23 12:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242806272001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242806272001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:42:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242806272001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":111582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:42:20] local.INFO: GPS data processed {"connection_id":111582,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:42:20] local.INFO: Acknowledgment sent {"connection_id":111582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:42:29] local.INFO: TCP Data received {"connection_id":110964,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:42:29] local.INFO: Processing buffer {"connection_id":110964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:42:29] local.INFO: IMEI packet received {"connection_id":110964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":110964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:42:34] local.INFO: TCP Data received {"connection_id":110964,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:42:34] local.INFO: Processing buffer {"connection_id":110964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:42:34] local.INFO: IMEI packet received {"connection_id":110964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":110964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:42:35] local.INFO: TCP Data received {"connection_id":110964,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:35] local.INFO: Processing buffer {"connection_id":110964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:35] local.INFO: Packet analysis {"connection_id":110964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:42:35] local.INFO: Extracted packet for processing {"connection_id":110964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":129,"data_length":795,"current_offset":136} 
[2026-06-23 12:42: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-06-23 12: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-06-23 12:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:42:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:42:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":110964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:42:35] local.INFO: GPS data processed {"connection_id":110964,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:42:35] local.INFO: Acknowledgment sent {"connection_id":110964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:42:40] local.INFO: TCP Data received {"connection_id":110964,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:40] local.INFO: Processing buffer {"connection_id":110964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34dd1c0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:42:40] local.INFO: Packet analysis {"connection_id":110964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:42:40] local.INFO: Extracted packet for processing {"connection_id":110964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34d"} 
[2026-06-23 12:42:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242719488001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782198424000,"timestamp_ms":1782198424000,"timestamp_seconds":1782198424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34dd1c0"} 
[2026-06-23 12:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 12:42: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-06-23 12: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-06-23 12:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242719488001,"66":25549,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 12:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242719488001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:42:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 12:42:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242719488001,"power":25549,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":110964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:42:40] local.INFO: GPS data processed {"connection_id":110964,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:42:40] local.INFO: Acknowledgment sent {"connection_id":110964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:42:51] local.INFO: TCP Data received {"connection_id":111582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34f0a40012d196840071fed280042006121..."} 
[2026-06-23 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34f0a40012d196840071fed280042006121..."} 
[2026-06-23 12:42:51] local.INFO: Processing buffer {"connection_id":111582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34f0a40012d196840071fed280042006121..."} 
[2026-06-23 12:42:51] local.INFO: Packet analysis {"connection_id":111582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34f"} 
[2026-06-23 12:42:51] local.INFO: Extracted packet for processing {"connection_id":111582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34f"} 
[2026-06-23 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242811648001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198504000,"timestamp_ms":1782198504000,"timestamp_seconds":1782198504,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34f0a40"} 
[2026-06-23 12:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242811648001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242811648001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242811648001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":111582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:42:51] local.INFO: GPS data processed {"connection_id":111582,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:42:51] local.INFO: Acknowledgment sent {"connection_id":111582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:43:14] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:14] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:14] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:43:14] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:14] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:14] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:43:19] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:19] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:43:19] local.INFO: IMEI packet received {"connection_id":110782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":110782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:43:19] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34f5c48012d196840071fed28004200611e..."} 
[2026-06-23 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34f5c48012d196840071fed28004200611e..."} 
[2026-06-23 12:43:19] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34f5c48012d196840071fed28004200611e..."} 
[2026-06-23 12:43:19] local.INFO: Packet analysis {"connection_id":110782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34f"} 
[2026-06-23 12:43:19] local.INFO: Extracted packet for processing {"connection_id":110782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34f"} 
[2026-06-23 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242817024001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198525000,"timestamp_ms":1782198525000,"timestamp_seconds":1782198525,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34f5c48"} 
[2026-06-23 12:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:43: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-06-23 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-915132289511515800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:43:19] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,10,158,184,45,64,237,66,30,31,20,1,240,227,243,4,113,205,112,104,40,32,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:43:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242817024001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242817024001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:43:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242817024001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":110782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:43:20] local.INFO: GPS data processed {"connection_id":110782,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:43:20] local.INFO: Acknowledgment sent {"connection_id":110782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:43:24] local.INFO: TCP Data received {"connection_id":110965,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:43:24] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:43:24] local.INFO: IMEI packet received {"connection_id":110965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":110965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:43:27] local.INFO: TCP Data received {"connection_id":110781,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:43:27] local.INFO: Processing buffer {"connection_id":110781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:43:27] local.INFO: IMEI packet received {"connection_id":110781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":110781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:43:29] local.INFO: TCP Data received {"connection_id":110965,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:43:29] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:43:29] local.INFO: IMEI packet received {"connection_id":110965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:43:31] local.INFO: TCP Data received {"connection_id":110965,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:43:31] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:43:31] local.INFO: Packet analysis {"connection_id":110965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:43:31] local.INFO: Extracted packet for processing {"connection_id":110965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 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-06-23 12:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":205,"data_length":795,"current_offset":136} 
[2026-06-23 12: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-06-23 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-06-23 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-06-23 12:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:43:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":110965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:43:31] local.INFO: GPS data processed {"connection_id":110965,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:43:31] local.INFO: Acknowledgment sent {"connection_id":110965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:43:51] local.INFO: TCP Data received {"connection_id":110782,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef34fae50012d196840071fed28004200611e..."} 
[2026-06-23 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef34fae50012d196840071fed28004200611e..."} 
[2026-06-23 12:43:51] local.INFO: Processing buffer {"connection_id":110782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef34fae50012d196840071fed28004200611e..."} 
[2026-06-23 12:43:51] local.INFO: Packet analysis {"connection_id":110782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef34f"} 
[2026-06-23 12:43:51] local.INFO: Extracted packet for processing {"connection_id":110782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef34f"} 
[2026-06-23 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242822400001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198546000,"timestamp_ms":1782198546000,"timestamp_seconds":1782198546,"priority":1,"record_length":96,"hex_timestamp":"0000019ef34fae50"} 
[2026-06-23 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:43: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-06-23 12:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242822400001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242822400001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:43:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242822400001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":110782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:43:51] local.INFO: GPS data processed {"connection_id":110782,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:43:51] local.INFO: Acknowledgment sent {"connection_id":110782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:44:02] local.INFO: TCP Data received {"connection_id":110965,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:44:02] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:44:02] local.INFO: Packet analysis {"connection_id":110965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:44:02] local.INFO: Extracted packet for processing {"connection_id":110965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:44:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:44: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-06-23 12: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-06-23 12:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:44:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:44:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":110965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:44:02] local.INFO: GPS data processed {"connection_id":110965,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:44:02] local.INFO: Acknowledgment sent {"connection_id":110965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:44:12] local.INFO: TCP Data received {"connection_id":110966,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:44:12] local.INFO: Processing buffer {"connection_id":110966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:44:12] local.INFO: IMEI packet received {"connection_id":110966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":110966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:44:13] local.INFO: TCP Data received {"connection_id":112522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:13] local.INFO: Processing buffer {"connection_id":112522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:13] local.INFO: IMEI packet received {"connection_id":112522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":112522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:44:17] local.INFO: TCP Data received {"connection_id":112522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:17] local.INFO: Processing buffer {"connection_id":112522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:17] local.INFO: IMEI packet received {"connection_id":112522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":112522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:44:18] local.INFO: TCP Data received {"connection_id":112522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:18] local.INFO: Processing buffer {"connection_id":112522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:44:18] local.INFO: IMEI packet received {"connection_id":112522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":112522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:44:19] local.INFO: TCP Data received {"connection_id":112522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35334a8012d196840071fed28004200611f..."} 
[2026-06-23 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35334a8012d196840071fed28004200611f..."} 
[2026-06-23 12:44:19] local.INFO: Processing buffer {"connection_id":112522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35334a8012d196840071fed28004200611f..."} 
[2026-06-23 12:44:19] local.INFO: Packet analysis {"connection_id":112522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef353"} 
[2026-06-23 12:44:19] local.INFO: Extracted packet for processing {"connection_id":112522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef353"} 
[2026-06-23 12:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242881536001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198777000,"timestamp_ms":1782198777000,"timestamp_seconds":1782198777,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35334a8"} 
[2026-06-23 12:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:44: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-06-23 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:44:19] 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-06-23 12: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-06-23 12:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242881536001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242881536001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:44:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242881536001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":112522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:44:19] local.INFO: GPS data processed {"connection_id":112522,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:44:19] local.INFO: Acknowledgment sent {"connection_id":112522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:44:24] local.INFO: TCP Data received {"connection_id":110783,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:44:24] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:44:24] local.INFO: IMEI packet received {"connection_id":110783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":110783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:44:24] local.INFO: TCP Data received {"connection_id":112522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35386b0012d196840071fed28004200611f..."} 
[2026-06-23 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35386b0012d196840071fed28004200611f..."} 
[2026-06-23 12:44:24] local.INFO: Processing buffer {"connection_id":112522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35386b0012d196840071fed28004200611f..."} 
[2026-06-23 12:44:24] local.INFO: Packet analysis {"connection_id":112522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef353"} 
[2026-06-23 12:44:24] local.INFO: Extracted packet for processing {"connection_id":112522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef353"} 
[2026-06-23 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242886912001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198798000,"timestamp_ms":1782198798000,"timestamp_seconds":1782198798,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35386b0"} 
[2026-06-23 12:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:44: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-06-23 12:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:44:24] 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-06-23 12:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242886912001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242886912001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242886912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":112522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:44:24] local.INFO: GPS data processed {"connection_id":112522,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:44:24] local.INFO: Acknowledgment sent {"connection_id":112522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:44:29] local.INFO: TCP Data received {"connection_id":110783,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:44:29] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:44:29] local.INFO: IMEI packet received {"connection_id":110783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":110783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:44:30] local.INFO: TCP Data received {"connection_id":110783,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:44:30] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:44:30] local.INFO: Packet analysis {"connection_id":110783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:44:30] local.INFO: Extracted packet for processing {"connection_id":110783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":110783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:44:30] local.INFO: GPS data processed {"connection_id":110783,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:44:30] local.INFO: Acknowledgment sent {"connection_id":110783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:44:55] local.INFO: TCP Data received {"connection_id":112522,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef353d8b8012d196840071fed280042006121..."} 
[2026-06-23 12:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef353d8b8012d196840071fed280042006121..."} 
[2026-06-23 12:44:55] local.INFO: Processing buffer {"connection_id":112522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef353d8b8012d196840071fed280042006121..."} 
[2026-06-23 12:44:55] local.INFO: Packet analysis {"connection_id":112522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef353"} 
[2026-06-23 12:44:55] local.INFO: Extracted packet for processing {"connection_id":112522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef353"} 
[2026-06-23 12:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242892288001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782198819000,"timestamp_ms":1782198819000,"timestamp_seconds":1782198819,"priority":1,"record_length":96,"hex_timestamp":"0000019ef353d8b8"} 
[2026-06-23 12:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:44: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-06-23 12:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242892288001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242892288001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:44:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242892288001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":112522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:44:55] local.INFO: GPS data processed {"connection_id":112522,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:44:55] local.INFO: Acknowledgment sent {"connection_id":112522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:45:02] local.INFO: TCP Data received {"connection_id":110783,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:45:02] local.INFO: Processing buffer {"connection_id":110783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:45:02] local.INFO: Packet analysis {"connection_id":110783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:45:02] local.INFO: Extracted packet for processing {"connection_id":110783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:45: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-06-23 12:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:45:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":110783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:45:02] local.INFO: GPS data processed {"connection_id":110783,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:45:02] local.INFO: Acknowledgment sent {"connection_id":110783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:45:13] local.INFO: TCP Data received {"connection_id":110785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:45:13] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:45:13] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:45:19] local.INFO: TCP Data received {"connection_id":110785,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:45:19] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:45:19] local.INFO: IMEI packet received {"connection_id":110785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":110785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:45:19] local.INFO: TCP Data received {"connection_id":110785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3542ac0012d196840071fed280042006120..."} 
[2026-06-23 12:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3542ac0012d196840071fed280042006120..."} 
[2026-06-23 12:45:19] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3542ac0012d196840071fed280042006120..."} 
[2026-06-23 12:45:19] local.INFO: Packet analysis {"connection_id":110785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef354"} 
[2026-06-23 12:45:19] local.INFO: Extracted packet for processing {"connection_id":110785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef354"} 
[2026-06-23 12:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242897664001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198840000,"timestamp_ms":1782198840000,"timestamp_seconds":1782198840,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3542ac0"} 
[2026-06-23 12:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:45: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-06-23 12:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-913779374813275800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:45:19] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:19] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,10,158,134,45,64,237,66,31,52,226,1,240,255,227,243,4,113,205,62,104,40,33,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:45:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242897664001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242897664001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:45:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242897664001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":110785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:45:20] local.INFO: GPS data processed {"connection_id":110785,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:45:20] local.INFO: Acknowledgment sent {"connection_id":110785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:45:24] local.INFO: TCP Data received {"connection_id":110967,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:45:24] local.INFO: Processing buffer {"connection_id":110967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:45:24] local.INFO: IMEI packet received {"connection_id":110967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":110967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:45:29] local.INFO: TCP Data received {"connection_id":110967,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:45:29] local.INFO: Processing buffer {"connection_id":110967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:45:29] local.INFO: IMEI packet received {"connection_id":110967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":110967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:45:30] local.INFO: TCP Data received {"connection_id":110967,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:45:30] local.INFO: Processing buffer {"connection_id":110967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:45:30] local.INFO: Packet analysis {"connection_id":110967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:45:30] local.INFO: Extracted packet for processing {"connection_id":110967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:45:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:45:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":110967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:45:30] local.INFO: GPS data processed {"connection_id":110967,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:45:30] local.INFO: Acknowledgment sent {"connection_id":110967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:45:51] local.INFO: TCP Data received {"connection_id":110785,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3547cc8012d196840071fed280042006121..."} 
[2026-06-23 12:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3547cc8012d196840071fed280042006121..."} 
[2026-06-23 12:45:51] local.INFO: Processing buffer {"connection_id":110785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3547cc8012d196840071fed280042006121..."} 
[2026-06-23 12:45:51] local.INFO: Packet analysis {"connection_id":110785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef354"} 
[2026-06-23 12:45:51] local.INFO: Extracted packet for processing {"connection_id":110785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef354"} 
[2026-06-23 12:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242903040001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198861000,"timestamp_ms":1782198861000,"timestamp_seconds":1782198861,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3547cc8"} 
[2026-06-23 12:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:45: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-06-23 12:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242903040001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242903040001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:45:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242903040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":110785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:45:51] local.INFO: GPS data processed {"connection_id":110785,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:45:51] local.INFO: Acknowledgment sent {"connection_id":110785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:46:02] local.INFO: TCP Data received {"connection_id":110967,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:02] local.INFO: Processing buffer {"connection_id":110967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:02] local.INFO: Packet analysis {"connection_id":110967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:46:02] local.INFO: Extracted packet for processing {"connection_id":110967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:46:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:46: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-06-23 12:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":110967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:46:02] local.INFO: GPS data processed {"connection_id":110967,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:46:02] local.INFO: Acknowledgment sent {"connection_id":110967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:46:19] local.INFO: TCP Data received {"connection_id":110786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:46:19] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:46:19] local.INFO: IMEI packet received {"connection_id":110786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":110786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:46:23] local.INFO: TCP Data received {"connection_id":110786,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:46:23] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:46:23] local.INFO: IMEI packet received {"connection_id":110786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":110786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:46:24] local.INFO: TCP Data received {"connection_id":110786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef354ced0012d196840071fed28004200611f..."} 
[2026-06-23 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef354ced0012d196840071fed28004200611f..."} 
[2026-06-23 12:46:24] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef354ced0012d196840071fed28004200611f..."} 
[2026-06-23 12:46:24] local.INFO: Packet analysis {"connection_id":110786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef354"} 
[2026-06-23 12:46:24] local.INFO: Extracted packet for processing {"connection_id":110786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef354"} 
[2026-06-23 12:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242908416001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198882000,"timestamp_ms":1782198882000,"timestamp_seconds":1782198882,"priority":1,"record_length":96,"hex_timestamp":"0000019ef354ced0"} 
[2026-06-23 12:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:46: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-06-23 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:46:24] 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-06-23 12: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-06-23 12:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242908416001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242908416001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242908416001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":110786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:46:24] local.INFO: GPS data processed {"connection_id":110786,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:46:24] local.INFO: Acknowledgment sent {"connection_id":110786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:46:24] local.INFO: TCP Data received {"connection_id":110786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35520d8012d196840071fed28004200611b..."} 
[2026-06-23 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35520d8012d196840071fed28004200611b..."} 
[2026-06-23 12:46:24] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35520d8012d196840071fed28004200611b..."} 
[2026-06-23 12:46:24] local.INFO: Packet analysis {"connection_id":110786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef355"} 
[2026-06-23 12:46:24] local.INFO: Extracted packet for processing {"connection_id":110786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef355"} 
[2026-06-23 12:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":27,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242913792001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782198903000,"timestamp_ms":1782198903000,"timestamp_seconds":1782198903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35520d8"} 
[2026-06-23 12:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:46: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-06-23 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:46:24] 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-06-23 12: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-06-23 12:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242913792001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242913792001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242913792001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":110786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:46:24] local.INFO: GPS data processed {"connection_id":110786,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:46:24] local.INFO: Acknowledgment sent {"connection_id":110786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:46:29] local.INFO: TCP Data received {"connection_id":111583,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:46:29] local.INFO: Processing buffer {"connection_id":111583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:46:29] local.INFO: IMEI packet received {"connection_id":111583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":111583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:46:34] local.INFO: TCP Data received {"connection_id":111583,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:46:34] local.INFO: Processing buffer {"connection_id":111583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:46:34] local.INFO: IMEI packet received {"connection_id":111583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":111583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:46:35] local.INFO: TCP Data received {"connection_id":111583,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:35] local.INFO: Processing buffer {"connection_id":111583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:35] local.INFO: Packet analysis {"connection_id":111583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:46:35] local.INFO: Extracted packet for processing {"connection_id":111583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":111583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:46:35] local.INFO: GPS data processed {"connection_id":111583,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:46:35] local.INFO: Acknowledgment sent {"connection_id":111583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:46:40] local.INFO: TCP Data received {"connection_id":111583,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:40] local.INFO: Processing buffer {"connection_id":111583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:46:40] local.INFO: Packet analysis {"connection_id":111583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:46:40] local.INFO: Extracted packet for processing {"connection_id":111583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:46:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:46: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-06-23 12:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:46:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":111583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:46:40] local.INFO: GPS data processed {"connection_id":111583,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:46:40] local.INFO: Acknowledgment sent {"connection_id":111583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:46:55] local.INFO: TCP Data received {"connection_id":110786,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35572e0012d196840071fed280042006119..."} 
[2026-06-23 12:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35572e0012d196840071fed280042006119..."} 
[2026-06-23 12:46:55] local.INFO: Processing buffer {"connection_id":110786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35572e0012d196840071fed280042006119..."} 
[2026-06-23 12:46:55] local.INFO: Packet analysis {"connection_id":110786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef355"} 
[2026-06-23 12:46:55] local.INFO: Extracted packet for processing {"connection_id":110786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef355"} 
[2026-06-23 12:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":25,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242919168001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782198924000,"timestamp_ms":1782198924000,"timestamp_seconds":1782198924,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35572e0"} 
[2026-06-23 12:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:46: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-06-23 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:46:55] 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-06-23 12: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-06-23 12:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242919168001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242919168001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242919168001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":110786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:46:55] local.INFO: GPS data processed {"connection_id":110786,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:46:55] local.INFO: Acknowledgment sent {"connection_id":110786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:47:14] local.INFO: TCP Data received {"connection_id":110969,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:47:14] local.INFO: Processing buffer {"connection_id":110969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:47:14] local.INFO: IMEI packet received {"connection_id":110969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":110969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:47:19] local.INFO: TCP Data received {"connection_id":110969,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:47:19] local.INFO: Processing buffer {"connection_id":110969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:47:19] local.INFO: IMEI packet received {"connection_id":110969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":110969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:47:20] local.INFO: TCP Data received {"connection_id":110969,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef355c4e8012d196840071fed28004200611b..."} 
[2026-06-23 12:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef355c4e8012d196840071fed28004200611b..."} 
[2026-06-23 12:47:20] local.INFO: Processing buffer {"connection_id":110969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef355c4e8012d196840071fed28004200611b..."} 
[2026-06-23 12:47:20] local.INFO: Packet analysis {"connection_id":110969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef355"} 
[2026-06-23 12:47:20] local.INFO: Extracted packet for processing {"connection_id":110969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef355"} 
[2026-06-23 12:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":27,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242924544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782198945000,"timestamp_ms":1782198945000,"timestamp_seconds":1782198945,"priority":1,"record_length":96,"hex_timestamp":"0000019ef355c4e8"} 
[2026-06-23 12:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242924544001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242924544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:47:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242924544001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":110969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:47:20] local.INFO: GPS data processed {"connection_id":110969,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:47:20] local.INFO: Acknowledgment sent {"connection_id":110969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:47:32] local.INFO: TCP Data received {"connection_id":112524,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:47:32] local.INFO: Processing buffer {"connection_id":112524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:47:32] local.INFO: IMEI packet received {"connection_id":112524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":112524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:47:32] local.INFO: TCP Data received {"connection_id":112524,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:47:32] local.INFO: Processing buffer {"connection_id":112524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:47:32] local.INFO: IMEI packet received {"connection_id":112524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":112524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:47:33] local.INFO: TCP Data received {"connection_id":112524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:47:33] local.INFO: Processing buffer {"connection_id":112524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:47:33] local.INFO: Packet analysis {"connection_id":112524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:47:33] local.INFO: Extracted packet for processing {"connection_id":112524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:47:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:47: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-06-23 12: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-06-23 12:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:47:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":112524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:47:33] local.INFO: GPS data processed {"connection_id":112524,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:47:33] local.INFO: Acknowledgment sent {"connection_id":112524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:47:35] local.INFO: TCP Data received {"connection_id":112524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:47:35] local.INFO: Processing buffer {"connection_id":112524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3526988012cb29b8007823df8004a00cf24..."} 
[2026-06-23 12:47:35] local.INFO: Packet analysis {"connection_id":112524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:47:35] local.INFO: Extracted packet for processing {"connection_id":112524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef352"} 
[2026-06-23 12:47:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242796544001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782198725000,"timestamp_ms":1782198725000,"timestamp_seconds":1782198725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3526988"} 
[2026-06-23 12:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 12:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242796544001,"66":25343,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 12:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242796544001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 12:47:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242796544001,"power":25343,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":112524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:47:35] local.INFO: GPS data processed {"connection_id":112524,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:47:35] local.INFO: Acknowledgment sent {"connection_id":112524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:47:51] local.INFO: TCP Data received {"connection_id":110969,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35616f0012d196840071fed28004200611f..."} 
[2026-06-23 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35616f0012d196840071fed28004200611f..."} 
[2026-06-23 12:47:51] local.INFO: Processing buffer {"connection_id":110969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35616f0012d196840071fed28004200611f..."} 
[2026-06-23 12:47:51] local.INFO: Packet analysis {"connection_id":110969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef356"} 
[2026-06-23 12:47:51] local.INFO: Extracted packet for processing {"connection_id":110969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef356"} 
[2026-06-23 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242929920001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782198966000,"timestamp_ms":1782198966000,"timestamp_seconds":1782198966,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35616f0"} 
[2026-06-23 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:47: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-06-23 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242929920001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242929920001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:47:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242929920001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":110969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:47:51] local.INFO: GPS data processed {"connection_id":110969,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:47:51] local.INFO: Acknowledgment sent {"connection_id":110969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:48:08] local.INFO: TCP Data received {"connection_id":112524,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:48:08] local.INFO: Processing buffer {"connection_id":112524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:48:08] local.INFO: Packet analysis {"connection_id":112524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:48:08] local.INFO: Extracted packet for processing {"connection_id":112524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":112524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:48:09] local.INFO: GPS data processed {"connection_id":112524,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:48:09] local.INFO: Acknowledgment sent {"connection_id":112524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:48:14] local.INFO: TCP Data received {"connection_id":111585,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:48:14] local.INFO: Processing buffer {"connection_id":111585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:48:14] local.INFO: IMEI packet received {"connection_id":111585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":111585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:48:19] local.INFO: TCP Data received {"connection_id":111585,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:48:19] local.INFO: Processing buffer {"connection_id":111585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:48:19] local.INFO: IMEI packet received {"connection_id":111585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":111585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:48:19] local.INFO: TCP Data received {"connection_id":111585,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35668f8012d196840071fed28004200611e..."} 
[2026-06-23 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35668f8012d196840071fed28004200611e..."} 
[2026-06-23 12:48:19] local.INFO: Processing buffer {"connection_id":111585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35668f8012d196840071fed28004200611e..."} 
[2026-06-23 12:48:19] local.INFO: Packet analysis {"connection_id":111585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef356"} 
[2026-06-23 12:48:19] local.INFO: Extracted packet for processing {"connection_id":111585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef356"} 
[2026-06-23 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242935296001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782198987000,"timestamp_ms":1782198987000,"timestamp_seconds":1782198987,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35668f8"} 
[2026-06-23 12:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:48: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-06-23 12:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:48:19] 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-06-23 12:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242935296001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242935296001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:48:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242935296001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":111585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:48:20] local.INFO: GPS data processed {"connection_id":111585,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:48:20] local.INFO: Acknowledgment sent {"connection_id":111585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:48:24] local.INFO: TCP Data received {"connection_id":110787,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:48:24] local.INFO: Processing buffer {"connection_id":110787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:48:24] local.INFO: IMEI packet received {"connection_id":110787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":110787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:48:34] local.INFO: TCP Data received {"connection_id":110787,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:48:34] local.INFO: Processing buffer {"connection_id":110787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:48:34] local.INFO: IMEI packet received {"connection_id":110787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":110787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:48:36] local.INFO: TCP Data received {"connection_id":110787,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:48:36] local.INFO: Processing buffer {"connection_id":110787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:48:36] local.INFO: Packet analysis {"connection_id":110787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:48:36] local.INFO: Extracted packet for processing {"connection_id":110787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:48:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":110787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:48:36] local.INFO: GPS data processed {"connection_id":110787,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:48:36] local.INFO: Acknowledgment sent {"connection_id":110787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:48:50] local.INFO: TCP Data received {"connection_id":111585,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef356bb00012d196840071fed28004200611e..."} 
[2026-06-23 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef356bb00012d196840071fed28004200611e..."} 
[2026-06-23 12:48:50] local.INFO: Processing buffer {"connection_id":111585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef356bb00012d196840071fed28004200611e..."} 
[2026-06-23 12:48:50] local.INFO: Packet analysis {"connection_id":111585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef356"} 
[2026-06-23 12:48:50] local.INFO: Extracted packet for processing {"connection_id":111585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef356"} 
[2026-06-23 12:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242940672001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782199008000,"timestamp_ms":1782199008000,"timestamp_seconds":1782199008,"priority":1,"record_length":96,"hex_timestamp":"0000019ef356bb00"} 
[2026-06-23 12:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:48: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-06-23 12:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242940672001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242940672001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:48:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242940672001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":111585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:48:50] local.INFO: GPS data processed {"connection_id":111585,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:48:50] local.INFO: Acknowledgment sent {"connection_id":111585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:49:07] local.INFO: TCP Data received {"connection_id":110787,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:49:07] local.INFO: Processing buffer {"connection_id":110787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:49:07] local.INFO: Packet analysis {"connection_id":110787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:07] local.INFO: Extracted packet for processing {"connection_id":110787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:49:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":110787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:49:07] local.INFO: GPS data processed {"connection_id":110787,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:49:07] local.INFO: Acknowledgment sent {"connection_id":110787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:49:14] local.INFO: TCP Data received {"connection_id":110971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:49:14] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:49:14] local.INFO: IMEI packet received {"connection_id":110971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":110971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:49:19] local.INFO: TCP Data received {"connection_id":110971,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:49:19] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:49:19] local.INFO: IMEI packet received {"connection_id":110971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":110971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:49:19] local.INFO: TCP Data received {"connection_id":110971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570d08012d196840071fed28004200611f..."} 
[2026-06-23 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570d08012d196840071fed28004200611f..."} 
[2026-06-23 12:49:19] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570d08012d196840071fed28004200611f..."} 
[2026-06-23 12:49:19] local.INFO: Packet analysis {"connection_id":110971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:19] local.INFO: Extracted packet for processing {"connection_id":110971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242946048001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199029000,"timestamp_ms":1782199029000,"timestamp_seconds":1782199029,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570d08"} 
[2026-06-23 12:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:49: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-06-23 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:49:19] 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-06-23 12:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242946048001,"66":12113,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242946048001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:49:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242946048001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":110971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:49:20] local.INFO: GPS data processed {"connection_id":110971,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:49:20] local.INFO: Acknowledgment sent {"connection_id":110971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:49:24] local.INFO: TCP Data received {"connection_id":110972,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:49:24] local.INFO: Processing buffer {"connection_id":110972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:49:24] local.INFO: IMEI packet received {"connection_id":110972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":110972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:49:29] local.INFO: TCP Data received {"connection_id":110972,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:49:29] local.INFO: Processing buffer {"connection_id":110972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:49:29] local.INFO: IMEI packet received {"connection_id":110972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":110972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:49:30] local.INFO: TCP Data received {"connection_id":110972,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:49:30] local.INFO: Processing buffer {"connection_id":110972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:49:30] local.INFO: Packet analysis {"connection_id":110972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:30] local.INFO: Extracted packet for processing {"connection_id":110972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":110972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:49:30] local.INFO: GPS data processed {"connection_id":110972,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:49:30] local.INFO: Acknowledgment sent {"connection_id":110972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:49:32] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:49:32] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:49:32] local.INFO: IMEI packet received {"connection_id":110970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":110970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:49:51] local.INFO: TCP Data received {"connection_id":110971,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3575f10012d196840071fed280042006120..."} 
[2026-06-23 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3575f10012d196840071fed280042006120..."} 
[2026-06-23 12:49:51] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3575f10012d196840071fed280042006120..."} 
[2026-06-23 12:49:51] local.INFO: Packet analysis {"connection_id":110971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:51] local.INFO: Extracted packet for processing {"connection_id":110971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242951424001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199050000,"timestamp_ms":1782199050000,"timestamp_seconds":1782199050,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3575f10"} 
[2026-06-23 12:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:49: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-06-23 12:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 12:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242951424001,"66":11993,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242951424001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:49:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242951424001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":110971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:49:51] local.INFO: GPS data processed {"connection_id":110971,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:49:51] local.INFO: Acknowledgment sent {"connection_id":110971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:50:02] local.INFO: TCP Data received {"connection_id":110972,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:50:02] local.INFO: Processing buffer {"connection_id":110972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:50:02] local.INFO: Packet analysis {"connection_id":110972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:50:02] local.INFO: Extracted packet for processing {"connection_id":110972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":110972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:50:02] local.INFO: GPS data processed {"connection_id":110972,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:50:02] local.INFO: Acknowledgment sent {"connection_id":110972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:50:07] local.INFO: TCP Data received {"connection_id":111586,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:50:07] local.INFO: Processing buffer {"connection_id":111586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:50:07] local.INFO: IMEI packet received {"connection_id":111586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":111586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:50:14] local.INFO: TCP Data received {"connection_id":112525,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:14] local.INFO: Processing buffer {"connection_id":112525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:14] local.INFO: IMEI packet received {"connection_id":112525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":112525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:50:15] local.INFO: TCP Data received {"connection_id":112525,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:15] local.INFO: Processing buffer {"connection_id":112525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:15] local.INFO: IMEI packet received {"connection_id":112525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":112525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:50:19] local.INFO: TCP Data received {"connection_id":112525,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:19] local.INFO: Processing buffer {"connection_id":112525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:50:19] local.INFO: IMEI packet received {"connection_id":112525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":112525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:50:20] local.INFO: TCP Data received {"connection_id":112525,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef357b118012d196840071fed28004200611e..."} 
[2026-06-23 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef357b118012d196840071fed28004200611e..."} 
[2026-06-23 12:50:20] local.INFO: Processing buffer {"connection_id":112525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef357b118012d196840071fed28004200611e..."} 
[2026-06-23 12:50:20] local.INFO: Packet analysis {"connection_id":112525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:50:20] local.INFO: Extracted packet for processing {"connection_id":112525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242956800001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782199071000,"timestamp_ms":1782199071000,"timestamp_seconds":1782199071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef357b118"} 
[2026-06-23 12:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 12:50:20] 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-06-23 12:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242956800001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242956800001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:50:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242956800001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":112525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:50:20] local.INFO: GPS data processed {"connection_id":112525,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:50:20] local.INFO: Acknowledgment sent {"connection_id":112525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:50:29] local.INFO: TCP Data received {"connection_id":110788,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:50:29] local.INFO: Processing buffer {"connection_id":110788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:50:29] local.INFO: IMEI packet received {"connection_id":110788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":110788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:50:34] local.INFO: TCP Data received {"connection_id":110788,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:50:34] local.INFO: Processing buffer {"connection_id":110788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:50:34] local.INFO: IMEI packet received {"connection_id":110788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":110788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:50:35] local.INFO: TCP Data received {"connection_id":110788,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:50:35] local.INFO: Processing buffer {"connection_id":110788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:50:35] local.INFO: Packet analysis {"connection_id":110788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:50:35] local.INFO: Extracted packet for processing {"connection_id":110788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":110788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:50:35] local.INFO: GPS data processed {"connection_id":110788,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:50:35] local.INFO: Acknowledgment sent {"connection_id":110788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:50:51] local.INFO: TCP Data received {"connection_id":112525,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3580320012d196840071fed280042006121..."} 
[2026-06-23 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3580320012d196840071fed280042006121..."} 
[2026-06-23 12:50:51] local.INFO: Processing buffer {"connection_id":112525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3580320012d196840071fed280042006121..."} 
[2026-06-23 12:50:51] local.INFO: Packet analysis {"connection_id":112525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:50:51] local.INFO: Extracted packet for processing {"connection_id":112525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242962176001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199092000,"timestamp_ms":1782199092000,"timestamp_seconds":1782199092,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3580320"} 
[2026-06-23 12:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:50: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-06-23 12:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242962176001,"66":12363,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242962176001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:50:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242962176001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":112525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:50:51] local.INFO: GPS data processed {"connection_id":112525,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:50:51] local.INFO: Acknowledgment sent {"connection_id":112525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:51:07] local.INFO: TCP Data received {"connection_id":110788,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:51:07] local.INFO: Processing buffer {"connection_id":110788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:51:07] local.INFO: Packet analysis {"connection_id":110788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:51:07] local.INFO: Extracted packet for processing {"connection_id":110788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:51:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:51:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":110788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:51:07] local.INFO: GPS data processed {"connection_id":110788,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:51:07] local.INFO: Acknowledgment sent {"connection_id":110788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:51:13] local.INFO: TCP Data received {"connection_id":111587,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:13] local.INFO: Processing buffer {"connection_id":111587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:13] local.INFO: IMEI packet received {"connection_id":111587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":111587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:51:17] local.INFO: TCP Data received {"connection_id":111587,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:17] local.INFO: Processing buffer {"connection_id":111587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:17] local.INFO: IMEI packet received {"connection_id":111587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":111587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:51:18] local.INFO: TCP Data received {"connection_id":111587,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:18] local.INFO: Processing buffer {"connection_id":111587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:51:18] local.INFO: IMEI packet received {"connection_id":111587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":111587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:51:19] local.INFO: TCP Data received {"connection_id":111587,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3585528012d196840071fed280042006121..."} 
[2026-06-23 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3585528012d196840071fed280042006121..."} 
[2026-06-23 12:51:19] local.INFO: Processing buffer {"connection_id":111587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3585528012d196840071fed280042006121..."} 
[2026-06-23 12:51:19] local.INFO: Packet analysis {"connection_id":111587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:51:19] local.INFO: Extracted packet for processing {"connection_id":111587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242967552001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199113000,"timestamp_ms":1782199113000,"timestamp_seconds":1782199113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3585528"} 
[2026-06-23 12:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:51: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-06-23 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 12:51:19] 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-06-23 12:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242967552001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242967552001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:51:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242967552001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":111587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:51:19] local.INFO: GPS data processed {"connection_id":111587,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:51:19] local.INFO: Acknowledgment sent {"connection_id":111587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:51:24] local.INFO: TCP Data received {"connection_id":111588,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:51:24] local.INFO: Processing buffer {"connection_id":111588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:51:24] local.INFO: IMEI packet received {"connection_id":111588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":111588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:51:29] local.INFO: TCP Data received {"connection_id":111588,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:51:29] local.INFO: Processing buffer {"connection_id":111588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:51:29] local.INFO: IMEI packet received {"connection_id":111588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":111588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:51:31] local.INFO: TCP Data received {"connection_id":111588,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:51:31] local.INFO: Processing buffer {"connection_id":111588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:51:31] local.INFO: Packet analysis {"connection_id":111588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:51:31] local.INFO: Extracted packet for processing {"connection_id":111588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:51:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 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-06-23 12:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:51:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":111588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:51:31] local.INFO: GPS data processed {"connection_id":111588,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:51:31] local.INFO: Acknowledgment sent {"connection_id":111588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:51:50] local.INFO: TCP Data received {"connection_id":111587,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef358a730012d196840071fed28004200611f..."} 
[2026-06-23 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef358a730012d196840071fed28004200611f..."} 
[2026-06-23 12:51:50] local.INFO: Processing buffer {"connection_id":111587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef358a730012d196840071fed28004200611f..."} 
[2026-06-23 12:51:50] local.INFO: Packet analysis {"connection_id":111587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:51:50] local.INFO: Extracted packet for processing {"connection_id":111587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242972928001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782199134000,"timestamp_ms":1782199134000,"timestamp_seconds":1782199134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef358a730"} 
[2026-06-23 12:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:51: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-06-23 12:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242972928001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242972928001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:51:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242972928001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":111587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:51:50] local.INFO: GPS data processed {"connection_id":111587,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:51:50] local.INFO: Acknowledgment sent {"connection_id":111587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:52:02] local.INFO: TCP Data received {"connection_id":111588,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:52:02] local.INFO: Processing buffer {"connection_id":111588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:52:02] local.INFO: Packet analysis {"connection_id":111588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:52:02] local.INFO: Extracted packet for processing {"connection_id":111588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:52:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 12:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":111588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:52:02] local.INFO: GPS data processed {"connection_id":111588,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:52:02] local.INFO: Acknowledgment sent {"connection_id":111588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:52:19] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:52:19] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:52:19] local.INFO: IMEI packet received {"connection_id":110973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":110973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:52:20] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:52:20] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:52:20] local.INFO: IMEI packet received {"connection_id":110973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":110973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:52:20] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef358f938012d196840071fed28004200611e..."} 
[2026-06-23 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef358f938012d196840071fed28004200611e..."} 
[2026-06-23 12:52:20] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef358f938012d196840071fed28004200611e..."} 
[2026-06-23 12:52:20] local.INFO: Packet analysis {"connection_id":110973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:52:20] local.INFO: Extracted packet for processing {"connection_id":110973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef358"} 
[2026-06-23 12:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242978304001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782199155000,"timestamp_ms":1782199155000,"timestamp_seconds":1782199155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef358f938"} 
[2026-06-23 12:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242978304001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242978304001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:52:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242978304001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":110973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:52:21] local.INFO: GPS data processed {"connection_id":110973,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:52:21] local.INFO: Acknowledgment sent {"connection_id":110973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:52:24] local.INFO: TCP Data received {"connection_id":110974,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:52:24] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:52:24] local.INFO: IMEI packet received {"connection_id":110974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":110974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:52:24] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3594b40012d196840071fed28004200611f..."} 
[2026-06-23 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3594b40012d196840071fed28004200611f..."} 
[2026-06-23 12:52:24] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3594b40012d196840071fed28004200611f..."} 
[2026-06-23 12:52:24] local.INFO: Packet analysis {"connection_id":110973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef359"} 
[2026-06-23 12:52:24] local.INFO: Extracted packet for processing {"connection_id":110973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef359"} 
[2026-06-23 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:52: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-06-23 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242983680001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782199176000,"timestamp_ms":1782199176000,"timestamp_seconds":1782199176,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3594b40"} 
[2026-06-23 12:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:52: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-06-23 12:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:52:24] 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-06-23 12:52: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-06-23 12:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242983680001,"66":12004,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242983680001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:52:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242983680001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":110973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:52:24] local.INFO: GPS data processed {"connection_id":110973,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:52:24] local.INFO: Acknowledgment sent {"connection_id":110973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:52:29] local.INFO: TCP Data received {"connection_id":110974,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:52:29] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:52:29] local.INFO: IMEI packet received {"connection_id":110974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":110974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:52:31] local.INFO: TCP Data received {"connection_id":110974,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:52:31] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3570150012cb29b8007823df8004a00cf25..."} 
[2026-06-23 12:52:31] local.INFO: Packet analysis {"connection_id":110974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:52:31] local.INFO: Extracted packet for processing {"connection_id":110974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef357"} 
[2026-06-23 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242873600001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782199026000,"timestamp_ms":1782199026000,"timestamp_seconds":1782199026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3570150"} 
[2026-06-23 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-06-23 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 12:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242873600001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242873600001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:52:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242873600001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":110974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:52:31] local.INFO: GPS data processed {"connection_id":110974,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:52:31] local.INFO: Acknowledgment sent {"connection_id":110974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:52:55] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3599d48012d196840071fed28004200611e..."} 
[2026-06-23 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3599d48012d196840071fed28004200611e..."} 
[2026-06-23 12:52:55] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3599d48012d196840071fed28004200611e..."} 
[2026-06-23 12:52:55] local.INFO: Packet analysis {"connection_id":110973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef359"} 
[2026-06-23 12:52:55] local.INFO: Extracted packet for processing {"connection_id":110973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef359"} 
[2026-06-23 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242989056001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782199197000,"timestamp_ms":1782199197000,"timestamp_seconds":1782199197,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3599d48"} 
[2026-06-23 12:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:52: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-06-23 12: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 12:52:55] 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-06-23 12: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-06-23 12:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242989056001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242989056001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242989056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":110973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:52:55] local.INFO: GPS data processed {"connection_id":110973,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:52:55] local.INFO: Acknowledgment sent {"connection_id":110973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:53:02] local.INFO: TCP Data received {"connection_id":110974,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:02] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:02] local.INFO: Packet analysis {"connection_id":110974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:53:02] local.INFO: Extracted packet for processing {"connection_id":110974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:53:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:53: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-06-23 12: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-06-23 12:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":110974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:53:02] local.INFO: GPS data processed {"connection_id":110974,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:53:02] local.INFO: Acknowledgment sent {"connection_id":110974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:53:14] local.INFO: TCP Data received {"connection_id":110791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:53:14] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:53:14] local.INFO: IMEI packet received {"connection_id":110791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":110791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:53:19] local.INFO: TCP Data received {"connection_id":110791,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:53:19] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:53:19] local.INFO: IMEI packet received {"connection_id":110791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":110791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:53:23] local.INFO: TCP Data received {"connection_id":110791,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef359ef50012d196840071fed28004200611c..."} 
[2026-06-23 12:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef359ef50012d196840071fed28004200611c..."} 
[2026-06-23 12:53:23] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef359ef50012d196840071fed28004200611c..."} 
[2026-06-23 12:53:23] local.INFO: Packet analysis {"connection_id":110791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef359"} 
[2026-06-23 12:53:23] local.INFO: Extracted packet for processing {"connection_id":110791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef359"} 
[2026-06-23 12:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242994432001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782199218000,"timestamp_ms":1782199218000,"timestamp_seconds":1782199218,"priority":1,"record_length":96,"hex_timestamp":"0000019ef359ef50"} 
[2026-06-23 12:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":110791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":110791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":110791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242994432001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242994432001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242994432001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":110791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:53:23] local.INFO: GPS data processed {"connection_id":110791,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:53:23] local.INFO: Acknowledgment sent {"connection_id":110791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:53:30] local.INFO: TCP Data received {"connection_id":112526,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:53:30] local.INFO: Processing buffer {"connection_id":112526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:53:30] local.INFO: IMEI packet received {"connection_id":112526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":112526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:53:34] local.INFO: TCP Data received {"connection_id":112526,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:53:34] local.INFO: Processing buffer {"connection_id":112526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:53:34] local.INFO: IMEI packet received {"connection_id":112526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":112526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:53:35] local.INFO: TCP Data received {"connection_id":112526,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:35] local.INFO: Processing buffer {"connection_id":112526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:35] local.INFO: Packet analysis {"connection_id":112526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:53:35] local.INFO: Extracted packet for processing {"connection_id":112526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:53:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:53:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:53:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":112526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:53:36] local.INFO: GPS data processed {"connection_id":112526,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:53:36] local.INFO: Acknowledgment sent {"connection_id":112526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:53:39] local.INFO: TCP Data received {"connection_id":112526,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:39] local.INFO: Processing buffer {"connection_id":112526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:53:39] local.INFO: Packet analysis {"connection_id":112526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:53:39] local.INFO: Extracted packet for processing {"connection_id":112526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:53:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:53:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:53:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":112526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:53:39] local.INFO: GPS data processed {"connection_id":112526,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:53:39] local.INFO: Acknowledgment sent {"connection_id":112526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:53:54] local.INFO: TCP Data received {"connection_id":110791,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35a4158012d196840071fed28004200611e..."} 
[2026-06-23 12:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35a4158012d196840071fed28004200611e..."} 
[2026-06-23 12:53:54] local.INFO: Processing buffer {"connection_id":110791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35a4158012d196840071fed28004200611e..."} 
[2026-06-23 12:53:54] local.INFO: Packet analysis {"connection_id":110791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35a"} 
[2026-06-23 12:53:54] local.INFO: Extracted packet for processing {"connection_id":110791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35a"} 
[2026-06-23 12:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242999808001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782199239000,"timestamp_ms":1782199239000,"timestamp_seconds":1782199239,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35a4158"} 
[2026-06-23 12:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:53: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-06-23 12: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-06-23 12:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":110791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":110791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":110791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242999808001,"66":12374,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242999808001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:53:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:53:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242999808001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":110791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:53:54] local.INFO: GPS data processed {"connection_id":110791,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:53:54] local.INFO: Acknowledgment sent {"connection_id":110791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:54:14] local.INFO: TCP Data received {"connection_id":112528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:54:14] local.INFO: Processing buffer {"connection_id":112528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:54:14] local.INFO: IMEI packet received {"connection_id":112528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":112528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:54:19] local.INFO: TCP Data received {"connection_id":112528,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:54:19] local.INFO: Processing buffer {"connection_id":112528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:54:19] local.INFO: IMEI packet received {"connection_id":112528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":112528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:54:20] local.INFO: TCP Data received {"connection_id":112528,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35a9360012d196840071fed28004200611d..."} 
[2026-06-23 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35a9360012d196840071fed28004200611d..."} 
[2026-06-23 12:54:20] local.INFO: Processing buffer {"connection_id":112528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35a9360012d196840071fed28004200611d..."} 
[2026-06-23 12:54:20] local.INFO: Packet analysis {"connection_id":112528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35a"} 
[2026-06-23 12:54:20] local.INFO: Extracted packet for processing {"connection_id":112528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35a"} 
[2026-06-23 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":29,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243005184001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782199260000,"timestamp_ms":1782199260000,"timestamp_seconds":1782199260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35a9360"} 
[2026-06-23 12:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 12:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243005184001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243005184001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:54:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243005184001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":112528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:54:20] local.INFO: GPS data processed {"connection_id":112528,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:54:20] local.INFO: Acknowledgment sent {"connection_id":112528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:54:30] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:54:30] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:54:30] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:54:31] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:54:31] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:54:31] local.INFO: IMEI packet received {"connection_id":110792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":110792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:54:32] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:54:32] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:54:32] local.INFO: Packet analysis {"connection_id":110792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:54:32] local.INFO: Extracted packet for processing {"connection_id":110792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:54:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:54: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-06-23 12: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-06-23 12:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:54:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:54:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:54:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":110792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:54:32] local.INFO: GPS data processed {"connection_id":110792,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:54:32] local.INFO: Acknowledgment sent {"connection_id":110792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:54:35] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:54:35] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:54:35] local.INFO: Packet analysis {"connection_id":110792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:54:35] local.INFO: Extracted packet for processing {"connection_id":110792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:54:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:54:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:54:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":110792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:54:35] local.INFO: GPS data processed {"connection_id":110792,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:54:35] local.INFO: Acknowledgment sent {"connection_id":110792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:54:51] local.INFO: TCP Data received {"connection_id":112528,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35ae568012d196840071fed28004200611c..."} 
[2026-06-23 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35ae568012d196840071fed28004200611c..."} 
[2026-06-23 12:54:51] local.INFO: Processing buffer {"connection_id":112528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35ae568012d196840071fed28004200611c..."} 
[2026-06-23 12:54:51] local.INFO: Packet analysis {"connection_id":112528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35a"} 
[2026-06-23 12:54:51] local.INFO: Extracted packet for processing {"connection_id":112528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35a"} 
[2026-06-23 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243010560001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199281000,"timestamp_ms":1782199281000,"timestamp_seconds":1782199281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35ae568"} 
[2026-06-23 12:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:54: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-06-23 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-911885294235739800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:54:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:54:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,10,158,65,45,64,237,66,30,239,28,1,240,53,227,243,31,4,113,205,249,104,40,48,2,14,7,33],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:54:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907983685189632,"timestamp_seconds":4755907983685190.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243010560001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243010560001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:54:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243010560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":112528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:54:51] local.INFO: GPS data processed {"connection_id":112528,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:54:51] local.INFO: Acknowledgment sent {"connection_id":112528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:55:07] local.INFO: TCP Data received {"connection_id":110792,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:07] local.INFO: Processing buffer {"connection_id":110792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:07] local.INFO: Packet analysis {"connection_id":110792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:07] local.INFO: Extracted packet for processing {"connection_id":110792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:55:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:55:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":110792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:55:07] local.INFO: GPS data processed {"connection_id":110792,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:55:07] local.INFO: Acknowledgment sent {"connection_id":110792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:55:14] local.INFO: TCP Data received {"connection_id":110976,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:55:14] local.INFO: Processing buffer {"connection_id":110976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:55:14] local.INFO: IMEI packet received {"connection_id":110976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":110976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:55:19] local.INFO: TCP Data received {"connection_id":110976,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:55:19] local.INFO: Processing buffer {"connection_id":110976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:55:19] local.INFO: IMEI packet received {"connection_id":110976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":110976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:55:19] local.INFO: TCP Data received {"connection_id":110976,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b3770012d196840071fed280042006119..."} 
[2026-06-23 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b3770012d196840071fed280042006119..."} 
[2026-06-23 12:55:19] local.INFO: Processing buffer {"connection_id":110976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b3770012d196840071fed280042006119..."} 
[2026-06-23 12:55:19] local.INFO: Packet analysis {"connection_id":110976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:19] local.INFO: Extracted packet for processing {"connection_id":110976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":25,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243015936001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199302000,"timestamp_ms":1782199302000,"timestamp_seconds":1782199302,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b3770"} 
[2026-06-23 12:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:55: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-06-23 12:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:55:19] 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-06-23 12:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243015936001,"66":12363,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243015936001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:55:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243015936001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":110976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:55:20] local.INFO: GPS data processed {"connection_id":110976,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:55:20] local.INFO: Acknowledgment sent {"connection_id":110976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:55:22] local.INFO: TCP Data received {"connection_id":110975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:55:22] local.INFO: Processing buffer {"connection_id":110975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:55:22] local.INFO: IMEI packet received {"connection_id":110975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":110975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:55:30] local.INFO: TCP Data received {"connection_id":112529,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:55:30] local.INFO: Processing buffer {"connection_id":112529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:55:30] local.INFO: IMEI packet received {"connection_id":112529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":112529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:55:34] local.INFO: TCP Data received {"connection_id":112529,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:55:34] local.INFO: Processing buffer {"connection_id":112529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:55:34] local.INFO: IMEI packet received {"connection_id":112529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":112529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:55:36] local.INFO: TCP Data received {"connection_id":112529,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:36] local.INFO: Processing buffer {"connection_id":112529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:36] local.INFO: Packet analysis {"connection_id":112529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:36] local.INFO: Extracted packet for processing {"connection_id":112529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:55:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:55:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":112529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:55:36] local.INFO: GPS data processed {"connection_id":112529,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:55:36] local.INFO: Acknowledgment sent {"connection_id":112529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:55:41] local.INFO: TCP Data received {"connection_id":112529,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:41] local.INFO: Processing buffer {"connection_id":112529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:55:41] local.INFO: Packet analysis {"connection_id":112529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:41] local.INFO: Extracted packet for processing {"connection_id":112529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:55: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-06-23 12:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:55:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":112529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:55:41] local.INFO: GPS data processed {"connection_id":112529,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:55:41] local.INFO: Acknowledgment sent {"connection_id":112529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:55:50] local.INFO: TCP Data received {"connection_id":110976,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b8978012d196840071fed28004200611f..."} 
[2026-06-23 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b8978012d196840071fed28004200611f..."} 
[2026-06-23 12:55:50] local.INFO: Processing buffer {"connection_id":110976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b8978012d196840071fed28004200611f..."} 
[2026-06-23 12:55:50] local.INFO: Packet analysis {"connection_id":110976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:50] local.INFO: Extracted packet for processing {"connection_id":110976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243021312001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782199323000,"timestamp_ms":1782199323000,"timestamp_seconds":1782199323,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b8978"} 
[2026-06-23 12:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:55: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-06-23 12:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 12:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243021312001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243021312001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:55:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243021312001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":110976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:55:50] local.INFO: GPS data processed {"connection_id":110976,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:55:50] local.INFO: Acknowledgment sent {"connection_id":110976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:56:07] local.INFO: TCP Data received {"connection_id":111590,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:56:07] local.INFO: Processing buffer {"connection_id":111590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 12:56:07] local.INFO: IMEI packet received {"connection_id":111590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 12:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":111590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:56:14] local.INFO: TCP Data received {"connection_id":111591,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:56:14] local.INFO: Processing buffer {"connection_id":111591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:56:14] local.INFO: IMEI packet received {"connection_id":111591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":111591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:56:19] local.INFO: TCP Data received {"connection_id":111591,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:56:19] local.INFO: Processing buffer {"connection_id":111591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:56:19] local.INFO: IMEI packet received {"connection_id":111591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":111591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:56:19] local.INFO: TCP Data received {"connection_id":111591,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35bdb80012d196840071fed28004200611e..."} 
[2026-06-23 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35bdb80012d196840071fed28004200611e..."} 
[2026-06-23 12:56:19] local.INFO: Processing buffer {"connection_id":111591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35bdb80012d196840071fed28004200611e..."} 
[2026-06-23 12:56:19] local.INFO: Packet analysis {"connection_id":111591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:56:19] local.INFO: Extracted packet for processing {"connection_id":111591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243026688001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199344000,"timestamp_ms":1782199344000,"timestamp_seconds":1782199344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35bdb80"} 
[2026-06-23 12:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:56: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-06-23 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:56:19] 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-06-23 12:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243026688001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243026688001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:56:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243026688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":111591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:56:20] local.INFO: GPS data processed {"connection_id":111591,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:56:20] local.INFO: Acknowledgment sent {"connection_id":111591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:56:24] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:56:24] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:56:24] local.INFO: IMEI packet received {"connection_id":110977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":110977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:56:29] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:56:29] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:56:29] local.INFO: IMEI packet received {"connection_id":110977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":110977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:56:31] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:56:31] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:56:31] local.INFO: Packet analysis {"connection_id":110977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:56:31] local.INFO: Extracted packet for processing {"connection_id":110977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:56:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:56:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":110977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:56:31] local.INFO: GPS data processed {"connection_id":110977,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:56:31] local.INFO: Acknowledgment sent {"connection_id":110977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:56:51] local.INFO: TCP Data received {"connection_id":111591,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35c2d88012d196840071fed28004200611c..."} 
[2026-06-23 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35c2d88012d196840071fed28004200611c..."} 
[2026-06-23 12:56:51] local.INFO: Processing buffer {"connection_id":111591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35c2d88012d196840071fed28004200611c..."} 
[2026-06-23 12:56:51] local.INFO: Packet analysis {"connection_id":111591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35c"} 
[2026-06-23 12:56:51] local.INFO: Extracted packet for processing {"connection_id":111591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35c"} 
[2026-06-23 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243032064001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199365000,"timestamp_ms":1782199365000,"timestamp_seconds":1782199365,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35c2d88"} 
[2026-06-23 12:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:56: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-06-23 12:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-911524516982875800,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 12:56:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 12:56:51] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,137,45,64,237,66,31,55,25,229,1,240,53,227,243,4,113,205,65,104,40,30,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 12:56:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907987980156928,"timestamp_seconds":4755907987980157.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 12:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243032064001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243032064001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:56:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243032064001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":111591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:56:51] local.INFO: GPS data processed {"connection_id":111591,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:56:51] local.INFO: Acknowledgment sent {"connection_id":111591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:57:02] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:57:02] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:57:02] local.INFO: Packet analysis {"connection_id":110977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:57:02] local.INFO: Extracted packet for processing {"connection_id":110977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:57:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:57: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-06-23 12: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-06-23 12:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":110977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:57:02] local.INFO: GPS data processed {"connection_id":110977,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:57:02] local.INFO: Acknowledgment sent {"connection_id":110977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:57:13] local.INFO: TCP Data received {"connection_id":110793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:13] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:13] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:57:14] local.INFO: TCP Data received {"connection_id":110793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:14] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:14] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:57:19] local.INFO: TCP Data received {"connection_id":110793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:19] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:57:19] local.INFO: IMEI packet received {"connection_id":110793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":110793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:57:19] local.INFO: TCP Data received {"connection_id":110793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35c7f90012d196840071fed28004200611e..."} 
[2026-06-23 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35c7f90012d196840071fed28004200611e..."} 
[2026-06-23 12:57:19] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35c7f90012d196840071fed28004200611e..."} 
[2026-06-23 12:57:19] local.INFO: Packet analysis {"connection_id":110793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35c"} 
[2026-06-23 12:57:19] local.INFO: Extracted packet for processing {"connection_id":110793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35c"} 
[2026-06-23 12:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243037440001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199386000,"timestamp_ms":1782199386000,"timestamp_seconds":1782199386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35c7f90"} 
[2026-06-23 12:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:57: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-06-23 12:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:57:19] 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-06-23 12:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243037440001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243037440001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:57:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243037440001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":110793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:57:20] local.INFO: GPS data processed {"connection_id":110793,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:57:20] local.INFO: Acknowledgment sent {"connection_id":110793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:57:24] local.INFO: TCP Data received {"connection_id":111592,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:57:24] local.INFO: Processing buffer {"connection_id":111592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:57:24] local.INFO: IMEI packet received {"connection_id":111592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":111592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:57:29] local.INFO: TCP Data received {"connection_id":111592,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:57:29] local.INFO: Processing buffer {"connection_id":111592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:57:29] local.INFO: IMEI packet received {"connection_id":111592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":111592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:57:31] local.INFO: TCP Data received {"connection_id":111592,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:57:31] local.INFO: Processing buffer {"connection_id":111592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35b9918012cb29b8007823df8004a00cf23..."} 
[2026-06-23 12:57:31] local.INFO: Packet analysis {"connection_id":111592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:57:31] local.INFO: Extracted packet for processing {"connection_id":111592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35b"} 
[2026-06-23 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456242950656001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782199327000,"timestamp_ms":1782199327000,"timestamp_seconds":1782199327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35b9918"} 
[2026-06-23 12:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 12:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456242950656001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456242950656001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:57:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:57:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456242950656001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":111592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:57:31] local.INFO: GPS data processed {"connection_id":111592,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:57:31] local.INFO: Acknowledgment sent {"connection_id":111592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:57:51] local.INFO: TCP Data received {"connection_id":110793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35cd198012d196840071fed28004200611c..."} 
[2026-06-23 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35cd198012d196840071fed28004200611c..."} 
[2026-06-23 12:57:51] local.INFO: Processing buffer {"connection_id":110793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35cd198012d196840071fed28004200611c..."} 
[2026-06-23 12:57:51] local.INFO: Packet analysis {"connection_id":110793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35c"} 
[2026-06-23 12:57:51] local.INFO: Extracted packet for processing {"connection_id":110793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35c"} 
[2026-06-23 12:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243042816001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199407000,"timestamp_ms":1782199407000,"timestamp_seconds":1782199407,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35cd198"} 
[2026-06-23 12:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:57: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-06-23 12:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243042816001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243042816001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:57:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243042816001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":110793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:57:51] local.INFO: GPS data processed {"connection_id":110793,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:57:51] local.INFO: Acknowledgment sent {"connection_id":110793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:58:04] local.INFO: TCP Data received {"connection_id":111592,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:58:04] local.INFO: Processing buffer {"connection_id":111592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:58:04] local.INFO: Packet analysis {"connection_id":111592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:58:04] local.INFO: Extracted packet for processing {"connection_id":111592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 12:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12: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":211,"data_length":795,"current_offset":136} 
[2026-06-23 12:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:58:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:58:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":111592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:58:04] local.INFO: GPS data processed {"connection_id":111592,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:58:04] local.INFO: Acknowledgment sent {"connection_id":111592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:58:13] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:13] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:13] local.INFO: IMEI packet received {"connection_id":110980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":110980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:58:17] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:17] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:17] local.INFO: IMEI packet received {"connection_id":110980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":110980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:58:18] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:18] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:58:18] local.INFO: IMEI packet received {"connection_id":110980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":110980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:58:19] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35d23a0012d196840071fed28004200611e..."} 
[2026-06-23 12:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35d23a0012d196840071fed28004200611e..."} 
[2026-06-23 12:58:19] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35d23a0012d196840071fed28004200611e..."} 
[2026-06-23 12:58:19] local.INFO: Packet analysis {"connection_id":110980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35d"} 
[2026-06-23 12:58:19] local.INFO: Extracted packet for processing {"connection_id":110980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35d"} 
[2026-06-23 12:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243048192001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199428000,"timestamp_ms":1782199428000,"timestamp_seconds":1782199428,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35d23a0"} 
[2026-06-23 12:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:58: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-06-23 12:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:58:19] 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-06-23 12:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243048192001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243048192001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:58:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243048192001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":110980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:58:19] local.INFO: GPS data processed {"connection_id":110980,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:58:19] local.INFO: Acknowledgment sent {"connection_id":110980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:58:24] local.INFO: TCP Data received {"connection_id":111593,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:58:24] local.INFO: Processing buffer {"connection_id":111593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:58:24] local.INFO: IMEI packet received {"connection_id":111593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":111593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:58:29] local.INFO: TCP Data received {"connection_id":111593,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:58:29] local.INFO: Processing buffer {"connection_id":111593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:58:29] local.INFO: IMEI packet received {"connection_id":111593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":111593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:58:31] local.INFO: TCP Data received {"connection_id":111593,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:58:31] local.INFO: Processing buffer {"connection_id":111593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:58:31] local.INFO: Packet analysis {"connection_id":111593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:58:31] local.INFO: Extracted packet for processing {"connection_id":111593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 12:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 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-06-23 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 12:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 12:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:58:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:58:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":111593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:58:31] local.INFO: GPS data processed {"connection_id":111593,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:58:31] local.INFO: Acknowledgment sent {"connection_id":111593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:58:50] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef35d75a8012d196840071fed28004200611b..."} 
[2026-06-23 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef35d75a8012d196840071fed28004200611b..."} 
[2026-06-23 12:58:50] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef35d75a8012d196840071fed28004200611b..."} 
[2026-06-23 12:58:50] local.INFO: Packet analysis {"connection_id":110980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef35d"} 
[2026-06-23 12:58:50] local.INFO: Extracted packet for processing {"connection_id":110980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef35d"} 
[2026-06-23 12:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":27,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243053568001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782199449000,"timestamp_ms":1782199449000,"timestamp_seconds":1782199449,"priority":1,"record_length":96,"hex_timestamp":"0000019ef35d75a8"} 
[2026-06-23 12:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:58: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-06-23 12:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 12:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243053568001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243053568001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:58:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243053568001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":110980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:58:50] local.INFO: GPS data processed {"connection_id":110980,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:58:50] local.INFO: Acknowledgment sent {"connection_id":110980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:59:03] local.INFO: TCP Data received {"connection_id":111593,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:03] local.INFO: Processing buffer {"connection_id":111593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:03] local.INFO: Packet analysis {"connection_id":111593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:03] local.INFO: Extracted packet for processing {"connection_id":111593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 12:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 12:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:59:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:59:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":111593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:59:03] local.INFO: GPS data processed {"connection_id":111593,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:59:03] local.INFO: Acknowledgment sent {"connection_id":111593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:59:19] local.INFO: TCP Data received {"connection_id":110982,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:59:19] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:59:19] local.INFO: IMEI packet received {"connection_id":110982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 12:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":110982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:59:19] local.INFO: TCP Data received {"connection_id":110982,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:59:19] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 12:59:19] local.INFO: IMEI packet received {"connection_id":110982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 12:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":110982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:59:20] local.INFO: TCP Data received {"connection_id":110982,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef360fc00012d196840071fed28004200611d..."} 
[2026-06-23 12:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef360fc00012d196840071fed28004200611d..."} 
[2026-06-23 12:59:20] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef360fc00012d196840071fed28004200611d..."} 
[2026-06-23 12:59:20] local.INFO: Packet analysis {"connection_id":110982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:20] local.INFO: Extracted packet for processing {"connection_id":110982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":29,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243112704001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782199680000,"timestamp_ms":1782199680000,"timestamp_seconds":1782199680,"priority":1,"record_length":96,"hex_timestamp":"0000019ef360fc00"} 
[2026-06-23 12:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243112704001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243112704001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:59:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243112704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":110982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:59:20] local.INFO: GPS data processed {"connection_id":110982,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:59:20] local.INFO: Acknowledgment sent {"connection_id":110982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:59:24] local.INFO: TCP Data received {"connection_id":110982,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3614e08012d196840071fed28004200611d..."} 
[2026-06-23 12:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3614e08012d196840071fed28004200611d..."} 
[2026-06-23 12:59:24] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3614e08012d196840071fed28004200611d..."} 
[2026-06-23 12:59:24] local.INFO: Packet analysis {"connection_id":110982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef361"} 
[2026-06-23 12:59:24] local.INFO: Extracted packet for processing {"connection_id":110982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef361"} 
[2026-06-23 12:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":29,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243118080001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782199701000,"timestamp_ms":1782199701000,"timestamp_seconds":1782199701,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3614e08"} 
[2026-06-23 12:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 12:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:59:24] 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-06-23 12:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243118080001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243118080001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243118080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":110982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:59:24] local.INFO: GPS data processed {"connection_id":110982,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:59:24] local.INFO: Acknowledgment sent {"connection_id":110982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:59:29] local.INFO: TCP Data received {"connection_id":112531,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:59:29] local.INFO: Processing buffer {"connection_id":112531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:59:29] local.INFO: IMEI packet received {"connection_id":112531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 12:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":112531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 12:59:36] local.INFO: TCP Data received {"connection_id":112531,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:59:36] local.INFO: Processing buffer {"connection_id":112531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 12:59:36] local.INFO: IMEI packet received {"connection_id":112531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 12:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":112531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 12:59:38] local.INFO: TCP Data received {"connection_id":112531,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:38] local.INFO: Processing buffer {"connection_id":112531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:38] local.INFO: Packet analysis {"connection_id":112531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:38] local.INFO: Extracted packet for processing {"connection_id":112531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:38] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 12:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 12:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 12:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 12:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:59:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:59:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":112531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:59:38] local.INFO: GPS data processed {"connection_id":112531,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:59:38] local.INFO: Acknowledgment sent {"connection_id":112531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:59:39] local.INFO: TCP Data received {"connection_id":112531,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:39] local.INFO: Processing buffer {"connection_id":112531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 12:59:39] local.INFO: Packet analysis {"connection_id":112531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:39] local.INFO: Extracted packet for processing {"connection_id":112531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 12:59:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 12:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 12:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 12:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 12:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 12:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 12:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 12:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 12:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 12:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 12:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 12:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 12:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 12:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":112531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:59:39] local.INFO: GPS data processed {"connection_id":112531,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:59:39] local.INFO: Acknowledgment sent {"connection_id":112531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 12:59:55] local.INFO: TCP Data received {"connection_id":110982,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef361a010012d196840071fed28004200611c..."} 
[2026-06-23 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef361a010012d196840071fed28004200611c..."} 
[2026-06-23 12:59:55] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef361a010012d196840071fed28004200611c..."} 
[2026-06-23 12:59:55] local.INFO: Packet analysis {"connection_id":110982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef361"} 
[2026-06-23 12:59:55] local.INFO: Extracted packet for processing {"connection_id":110982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef361"} 
[2026-06-23 12:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 12: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-06-23 12:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243123456001,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 12:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 12:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782199722000,"timestamp_ms":1782199722000,"timestamp_seconds":1782199722,"priority":1,"record_length":96,"hex_timestamp":"0000019ef361a010"} 
[2026-06-23 12:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 12:59: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-06-23 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 12:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 12: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-06-23 12:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 12:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 12:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 12:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 12:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 12:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 12:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 12:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243123456001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 12:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 12:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 12:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243123456001,"description":"Unknown IO ID 0"} 
[2026-06-23 12:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 12:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 12:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 12:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 12:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243123456001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 12:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":110982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 12:59:55] local.INFO: GPS data processed {"connection_id":110982,"processed":1,"errors":0,"total":1} 
[2026-06-23 12:59:55] local.INFO: Acknowledgment sent {"connection_id":110982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:00:14] local.INFO: TCP Data received {"connection_id":111595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:00:14] local.INFO: Processing buffer {"connection_id":111595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:00:14] local.INFO: IMEI packet received {"connection_id":111595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":111595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:00:19] local.INFO: TCP Data received {"connection_id":111595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:00:19] local.INFO: Processing buffer {"connection_id":111595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:00:19] local.INFO: IMEI packet received {"connection_id":111595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":111595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:00:19] local.INFO: TCP Data received {"connection_id":111595,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef361f218012d196840071fed280042006120..."} 
[2026-06-23 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef361f218012d196840071fed280042006120..."} 
[2026-06-23 13:00:19] local.INFO: Processing buffer {"connection_id":111595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef361f218012d196840071fed280042006120..."} 
[2026-06-23 13:00:19] local.INFO: Packet analysis {"connection_id":111595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef361"} 
[2026-06-23 13:00:19] local.INFO: Extracted packet for processing {"connection_id":111595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef361"} 
[2026-06-23 13:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243128832001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199743000,"timestamp_ms":1782199743000,"timestamp_seconds":1782199743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef361f218"} 
[2026-06-23 13:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:00: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-06-23 13:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:00:19] 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-06-23 13: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-06-23 13:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243128832001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243128832001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:00:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243128832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":111595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:00:20] local.INFO: GPS data processed {"connection_id":111595,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:00:20] local.INFO: Acknowledgment sent {"connection_id":111595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:00:27] local.INFO: TCP Data received {"connection_id":112532,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:00:27] local.INFO: Processing buffer {"connection_id":112532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:00:27] local.INFO: IMEI packet received {"connection_id":112532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":112532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:00:29] local.INFO: TCP Data received {"connection_id":112532,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:00:29] local.INFO: Processing buffer {"connection_id":112532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:00:29] local.INFO: IMEI packet received {"connection_id":112532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":112532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:00:30] local.INFO: TCP Data received {"connection_id":112532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:00:30] local.INFO: Processing buffer {"connection_id":112532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:00:30] local.INFO: Packet analysis {"connection_id":112532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:00:30] local.INFO: Extracted packet for processing {"connection_id":112532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 13:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 13:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":112532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:00:30] local.INFO: GPS data processed {"connection_id":112532,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:00:30] local.INFO: Acknowledgment sent {"connection_id":112532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:00:36] local.INFO: TCP Data received {"connection_id":112532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:00:36] local.INFO: Processing buffer {"connection_id":112532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:00:36] local.INFO: Packet analysis {"connection_id":112532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:00:36] local.INFO: Extracted packet for processing {"connection_id":112532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 13:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 13:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:00:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:00:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":112532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:00:36] local.INFO: GPS data processed {"connection_id":112532,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:00:36] local.INFO: Acknowledgment sent {"connection_id":112532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:00:51] local.INFO: TCP Data received {"connection_id":111595,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3624420012d196840071fed28004200611f..."} 
[2026-06-23 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3624420012d196840071fed28004200611f..."} 
[2026-06-23 13:00:51] local.INFO: Processing buffer {"connection_id":111595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3624420012d196840071fed28004200611f..."} 
[2026-06-23 13:00:51] local.INFO: Packet analysis {"connection_id":111595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef362"} 
[2026-06-23 13:00:51] local.INFO: Extracted packet for processing {"connection_id":111595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef362"} 
[2026-06-23 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243134208001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199764000,"timestamp_ms":1782199764000,"timestamp_seconds":1782199764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3624420"} 
[2026-06-23 13:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:00: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-06-23 13:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 13:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243134208001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243134208001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:00:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243134208001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":111595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:00:51] local.INFO: GPS data processed {"connection_id":111595,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:00:51] local.INFO: Acknowledgment sent {"connection_id":111595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:01:08] local.INFO: TCP Data received {"connection_id":112532,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:01:08] local.INFO: Processing buffer {"connection_id":112532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:01:08] local.INFO: Packet analysis {"connection_id":112532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:01:08] local.INFO: Extracted packet for processing {"connection_id":112532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:01:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 13:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 13:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":112532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:01:08] local.INFO: GPS data processed {"connection_id":112532,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:01:08] local.INFO: Acknowledgment sent {"connection_id":112532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:01:14] local.INFO: TCP Data received {"connection_id":111596,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:01:14] local.INFO: Processing buffer {"connection_id":111596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:01:14] local.INFO: IMEI packet received {"connection_id":111596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":111596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:01:19] local.INFO: TCP Data received {"connection_id":111596,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:01:19] local.INFO: Processing buffer {"connection_id":111596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:01:19] local.INFO: IMEI packet received {"connection_id":111596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":111596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:01:19] local.INFO: TCP Data received {"connection_id":111596,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3629628012d196840071fed280042006120..."} 
[2026-06-23 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3629628012d196840071fed280042006120..."} 
[2026-06-23 13:01:19] local.INFO: Processing buffer {"connection_id":111596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3629628012d196840071fed280042006120..."} 
[2026-06-23 13:01:19] local.INFO: Packet analysis {"connection_id":111596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef362"} 
[2026-06-23 13:01:19] local.INFO: Extracted packet for processing {"connection_id":111596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef362"} 
[2026-06-23 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243139584001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199785000,"timestamp_ms":1782199785000,"timestamp_seconds":1782199785,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3629628"} 
[2026-06-23 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:01: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-06-23 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243139584001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243139584001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:01:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243139584001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":111596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:01:20] local.INFO: GPS data processed {"connection_id":111596,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:01:20] local.INFO: Acknowledgment sent {"connection_id":111596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:01:24] local.INFO: TCP Data received {"connection_id":110794,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:01:24] local.INFO: Processing buffer {"connection_id":110794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:01:24] local.INFO: IMEI packet received {"connection_id":110794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":110794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:01:30] local.INFO: TCP Data received {"connection_id":110794,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:01:30] local.INFO: Processing buffer {"connection_id":110794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:01:30] local.INFO: IMEI packet received {"connection_id":110794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":110794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:01:32] local.INFO: TCP Data received {"connection_id":110794,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:01:32] local.INFO: Processing buffer {"connection_id":110794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:01:32] local.INFO: Packet analysis {"connection_id":110794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:01:32] local.INFO: Extracted packet for processing {"connection_id":110794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 13:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 13:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:01:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:01:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:01:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":110794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:01:32] local.INFO: GPS data processed {"connection_id":110794,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:01:32] local.INFO: Acknowledgment sent {"connection_id":110794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:01:34] local.INFO: TCP Data received {"connection_id":110983,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:01:34] local.INFO: Processing buffer {"connection_id":110983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:01:34] local.INFO: IMEI packet received {"connection_id":110983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":110983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:01:51] local.INFO: TCP Data received {"connection_id":111596,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef362e830012d196840071fed280042006120..."} 
[2026-06-23 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef362e830012d196840071fed280042006120..."} 
[2026-06-23 13:01:51] local.INFO: Processing buffer {"connection_id":111596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef362e830012d196840071fed280042006120..."} 
[2026-06-23 13:01:51] local.INFO: Packet analysis {"connection_id":111596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef362"} 
[2026-06-23 13:01:51] local.INFO: Extracted packet for processing {"connection_id":111596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef362"} 
[2026-06-23 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243144960001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199806000,"timestamp_ms":1782199806000,"timestamp_seconds":1782199806,"priority":1,"record_length":96,"hex_timestamp":"0000019ef362e830"} 
[2026-06-23 13:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:01: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-06-23 13:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243144960001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243144960001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243144960001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":111596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:01:51] local.INFO: GPS data processed {"connection_id":111596,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:01:51] local.INFO: Acknowledgment sent {"connection_id":111596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:02:03] local.INFO: TCP Data received {"connection_id":110794,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:02:03] local.INFO: Processing buffer {"connection_id":110794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:02:03] local.INFO: Packet analysis {"connection_id":110794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:02:03] local.INFO: Extracted packet for processing {"connection_id":110794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 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-06-23 13:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 13:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 13:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:02:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":110794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:02:03] local.INFO: GPS data processed {"connection_id":110794,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:02:03] local.INFO: Acknowledgment sent {"connection_id":110794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:02:05] local.INFO: TCP Data received {"connection_id":112533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:02:05] local.INFO: Processing buffer {"connection_id":112533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:02:05] local.INFO: IMEI packet received {"connection_id":112533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":112533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:02:14] local.INFO: TCP Data received {"connection_id":110795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:02:14] local.INFO: Processing buffer {"connection_id":110795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:02:14] local.INFO: IMEI packet received {"connection_id":110795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":110795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:02:19] local.INFO: TCP Data received {"connection_id":110795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:02:19] local.INFO: Processing buffer {"connection_id":110795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:02:19] local.INFO: IMEI packet received {"connection_id":110795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":110795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:02:19] local.INFO: TCP Data received {"connection_id":110795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3633a38012d196840071fed280042006121..."} 
[2026-06-23 13:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3633a38012d196840071fed280042006121..."} 
[2026-06-23 13:02:19] local.INFO: Processing buffer {"connection_id":110795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3633a38012d196840071fed280042006121..."} 
[2026-06-23 13:02:19] local.INFO: Packet analysis {"connection_id":110795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef363"} 
[2026-06-23 13:02:19] local.INFO: Extracted packet for processing {"connection_id":110795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef363"} 
[2026-06-23 13:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:02: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-06-23 13:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243150336001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199827000,"timestamp_ms":1782199827000,"timestamp_seconds":1782199827,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3633a38"} 
[2026-06-23 13:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:02: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-06-23 13:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:02:19] 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-06-23 13:02: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-06-23 13:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243150336001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243150336001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:02:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243150336001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":110795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:02:20] local.INFO: GPS data processed {"connection_id":110795,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:02:20] local.INFO: Acknowledgment sent {"connection_id":110795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:02:29] local.INFO: TCP Data received {"connection_id":110984,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:02:29] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:02:29] local.INFO: IMEI packet received {"connection_id":110984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":110984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:02:34] local.INFO: TCP Data received {"connection_id":110984,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:02:34] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:02:34] local.INFO: IMEI packet received {"connection_id":110984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":110984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:02:36] local.INFO: TCP Data received {"connection_id":110984,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:02:36] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36030e0012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:02:36] local.INFO: Packet analysis {"connection_id":110984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:02:36] local.INFO: Extracted packet for processing {"connection_id":110984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef360"} 
[2026-06-23 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243027712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782199628000,"timestamp_ms":1782199628000,"timestamp_seconds":1782199628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36030e0"} 
[2026-06-23 13:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 13:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243027712001,"66":25288,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243027712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:02:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:02:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243027712001,"power":25288,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":110984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:02:36] local.INFO: GPS data processed {"connection_id":110984,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:02:36] local.INFO: Acknowledgment sent {"connection_id":110984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:02:50] local.INFO: TCP Data received {"connection_id":110795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3638c40012d196840071fed280042006120..."} 
[2026-06-23 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3638c40012d196840071fed280042006120..."} 
[2026-06-23 13:02:50] local.INFO: Processing buffer {"connection_id":110795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3638c40012d196840071fed280042006120..."} 
[2026-06-23 13:02:50] local.INFO: Packet analysis {"connection_id":110795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef363"} 
[2026-06-23 13:02:50] local.INFO: Extracted packet for processing {"connection_id":110795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef363"} 
[2026-06-23 13:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243155712001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782199848000,"timestamp_ms":1782199848000,"timestamp_seconds":1782199848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3638c40"} 
[2026-06-23 13:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13: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-06-23 13:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243155712001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243155712001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:02:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243155712001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":110795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:02:50] local.INFO: GPS data processed {"connection_id":110795,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:02:50] local.INFO: Acknowledgment sent {"connection_id":110795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:03:07] local.INFO: TCP Data received {"connection_id":110984,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:07] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:07] local.INFO: Packet analysis {"connection_id":110984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:07] local.INFO: Extracted packet for processing {"connection_id":110984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:03:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":110984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:03:07] local.INFO: GPS data processed {"connection_id":110984,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:03:07] local.INFO: Acknowledgment sent {"connection_id":110984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:03:14] local.INFO: TCP Data received {"connection_id":111598,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:03:14] local.INFO: Processing buffer {"connection_id":111598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:03:14] local.INFO: IMEI packet received {"connection_id":111598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":111598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:03:19] local.INFO: TCP Data received {"connection_id":111598,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:03:19] local.INFO: Processing buffer {"connection_id":111598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:03:19] local.INFO: IMEI packet received {"connection_id":111598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":111598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:03:19] local.INFO: TCP Data received {"connection_id":111598,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef363de48012d196840071fed280042006120..."} 
[2026-06-23 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef363de48012d196840071fed280042006120..."} 
[2026-06-23 13:03:19] local.INFO: Processing buffer {"connection_id":111598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef363de48012d196840071fed280042006120..."} 
[2026-06-23 13:03:19] local.INFO: Packet analysis {"connection_id":111598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef363"} 
[2026-06-23 13:03:19] local.INFO: Extracted packet for processing {"connection_id":111598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef363"} 
[2026-06-23 13:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243161088001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199869000,"timestamp_ms":1782199869000,"timestamp_seconds":1782199869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef363de48"} 
[2026-06-23 13:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:03: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-06-23 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:03:19] 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-06-23 13: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-06-23 13:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243161088001,"66":12211,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243161088001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:03:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243161088001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":111598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:03:20] local.INFO: GPS data processed {"connection_id":111598,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:03:20] local.INFO: Acknowledgment sent {"connection_id":111598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:03:29] local.INFO: TCP Data received {"connection_id":110797,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:03:29] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:03:29] local.INFO: IMEI packet received {"connection_id":110797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":110797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:03:34] local.INFO: TCP Data received {"connection_id":110797,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:03:34] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:03:34] local.INFO: IMEI packet received {"connection_id":110797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":110797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:03:35] local.INFO: TCP Data received {"connection_id":110797,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:35] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:35] local.INFO: Packet analysis {"connection_id":110797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:35] local.INFO: Extracted packet for processing {"connection_id":110797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:03:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:03:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":110797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:03:36] local.INFO: GPS data processed {"connection_id":110797,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:03:36] local.INFO: Acknowledgment sent {"connection_id":110797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:03:40] local.INFO: TCP Data received {"connection_id":110797,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:40] local.INFO: Processing buffer {"connection_id":110797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:03:40] local.INFO: Packet analysis {"connection_id":110797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:40] local.INFO: Extracted packet for processing {"connection_id":110797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:03:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:03:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":110797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:03:40] local.INFO: GPS data processed {"connection_id":110797,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:03:40] local.INFO: Acknowledgment sent {"connection_id":110797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:03:51] local.INFO: TCP Data received {"connection_id":111598,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3643050012d196840071fed28004200611f..."} 
[2026-06-23 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3643050012d196840071fed28004200611f..."} 
[2026-06-23 13:03:51] local.INFO: Processing buffer {"connection_id":111598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3643050012d196840071fed28004200611f..."} 
[2026-06-23 13:03:51] local.INFO: Packet analysis {"connection_id":111598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:51] local.INFO: Extracted packet for processing {"connection_id":111598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243166464001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199890000,"timestamp_ms":1782199890000,"timestamp_seconds":1782199890,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3643050"} 
[2026-06-23 13:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:03: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-06-23 13:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 13:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243166464001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243166464001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:03:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243166464001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":111598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:03:51] local.INFO: GPS data processed {"connection_id":111598,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:03:51] local.INFO: Acknowledgment sent {"connection_id":111598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:04:13] local.INFO: TCP Data received {"connection_id":112534,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:13] local.INFO: Processing buffer {"connection_id":112534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:13] local.INFO: IMEI packet received {"connection_id":112534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":112534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:04:14] local.INFO: TCP Data received {"connection_id":112534,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:14] local.INFO: Processing buffer {"connection_id":112534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:14] local.INFO: IMEI packet received {"connection_id":112534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":112534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:04:19] local.INFO: TCP Data received {"connection_id":112534,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:19] local.INFO: Processing buffer {"connection_id":112534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:04:19] local.INFO: IMEI packet received {"connection_id":112534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":112534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:04:19] local.INFO: TCP Data received {"connection_id":112534,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3648258012d196840071fed280042006120..."} 
[2026-06-23 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3648258012d196840071fed280042006120..."} 
[2026-06-23 13:04:19] local.INFO: Processing buffer {"connection_id":112534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3648258012d196840071fed280042006120..."} 
[2026-06-23 13:04:19] local.INFO: Packet analysis {"connection_id":112534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:19] local.INFO: Extracted packet for processing {"connection_id":112534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243171840001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199911000,"timestamp_ms":1782199911000,"timestamp_seconds":1782199911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3648258"} 
[2026-06-23 13:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:04: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-06-23 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 13:04:19] 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-06-23 13: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-06-23 13:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243171840001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243171840001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:04:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243171840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":112534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:04:20] local.INFO: GPS data processed {"connection_id":112534,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:04:20] local.INFO: Acknowledgment sent {"connection_id":112534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:04:29] local.INFO: TCP Data received {"connection_id":110798,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:04:29] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:04:29] local.INFO: IMEI packet received {"connection_id":110798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":110798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:04:36] local.INFO: TCP Data received {"connection_id":110798,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:04:36] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:04:36] local.INFO: IMEI packet received {"connection_id":110798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":110798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:04:37] local.INFO: TCP Data received {"connection_id":110798,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:04:37] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:04:37] local.INFO: Packet analysis {"connection_id":110798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:37] local.INFO: Extracted packet for processing {"connection_id":110798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":110798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":110798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":110798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":110798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:04:37] local.INFO: GPS data processed {"connection_id":110798,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:04:37] local.INFO: Acknowledgment sent {"connection_id":110798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:04:39] local.INFO: TCP Data received {"connection_id":110798,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:04:39] local.INFO: Processing buffer {"connection_id":110798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:04:39] local.INFO: Packet analysis {"connection_id":110798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:39] local.INFO: Extracted packet for processing {"connection_id":110798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:04:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:04:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":110798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:04:39] local.INFO: GPS data processed {"connection_id":110798,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:04:39] local.INFO: Acknowledgment sent {"connection_id":110798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:04:51] local.INFO: TCP Data received {"connection_id":112534,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364d460012d196840071fed28004200611d..."} 
[2026-06-23 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364d460012d196840071fed28004200611d..."} 
[2026-06-23 13:04:51] local.INFO: Processing buffer {"connection_id":112534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364d460012d196840071fed28004200611d..."} 
[2026-06-23 13:04:51] local.INFO: Packet analysis {"connection_id":112534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:51] local.INFO: Extracted packet for processing {"connection_id":112534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":29,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243177216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782199932000,"timestamp_ms":1782199932000,"timestamp_seconds":1782199932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364d460"} 
[2026-06-23 13:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:04: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-06-23 13:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243177216001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243177216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:04:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:04:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243177216001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":112534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:04:51] local.INFO: GPS data processed {"connection_id":112534,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:04:51] local.INFO: Acknowledgment sent {"connection_id":112534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:05:13] local.INFO: TCP Data received {"connection_id":111599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:13] local.INFO: Processing buffer {"connection_id":111599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:13] local.INFO: IMEI packet received {"connection_id":111599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":111599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:05:17] local.INFO: TCP Data received {"connection_id":111599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:17] local.INFO: Processing buffer {"connection_id":111599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:17] local.INFO: IMEI packet received {"connection_id":111599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":111599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:05:19] local.INFO: TCP Data received {"connection_id":111599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:19] local.INFO: Processing buffer {"connection_id":111599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:05:19] local.INFO: IMEI packet received {"connection_id":111599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":111599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:05:19] local.INFO: TCP Data received {"connection_id":111599,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3652668012d196840071fed28004200611e..."} 
[2026-06-23 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3652668012d196840071fed28004200611e..."} 
[2026-06-23 13:05:19] local.INFO: Processing buffer {"connection_id":111599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3652668012d196840071fed28004200611e..."} 
[2026-06-23 13:05:19] local.INFO: Packet analysis {"connection_id":111599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef365"} 
[2026-06-23 13:05:19] local.INFO: Extracted packet for processing {"connection_id":111599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef365"} 
[2026-06-23 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243182592001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782199953000,"timestamp_ms":1782199953000,"timestamp_seconds":1782199953,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3652668"} 
[2026-06-23 13:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-908999076212827800,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 13:05:19] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,10,158,130,45,64,237,66,32,48,31,222,1,240,179,227,243,4,113,205,58,104,40,33,239,2,14,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 13:05:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907983685189632,"timestamp_seconds":4755907983685190.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 13:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243182592001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243182592001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:05:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243182592001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":111599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:05:19] local.INFO: GPS data processed {"connection_id":111599,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:05:19] local.INFO: Acknowledgment sent {"connection_id":111599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:05:24] local.INFO: TCP Data received {"connection_id":110987,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:05:24] local.INFO: Processing buffer {"connection_id":110987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:05:24] local.INFO: IMEI packet received {"connection_id":110987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":110987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:05:29] local.INFO: TCP Data received {"connection_id":110987,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:05:29] local.INFO: Processing buffer {"connection_id":110987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:05:29] local.INFO: IMEI packet received {"connection_id":110987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":110987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:05:30] local.INFO: TCP Data received {"connection_id":110987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:05:30] local.INFO: Processing buffer {"connection_id":110987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:05:30] local.INFO: Packet analysis {"connection_id":110987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:05:30] local.INFO: Extracted packet for processing {"connection_id":110987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:05:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":110987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:05:30] local.INFO: GPS data processed {"connection_id":110987,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:05:30] local.INFO: Acknowledgment sent {"connection_id":110987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:05:50] local.INFO: TCP Data received {"connection_id":111599,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3657870012d196840071fed28004200611e..."} 
[2026-06-23 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3657870012d196840071fed28004200611e..."} 
[2026-06-23 13:05:50] local.INFO: Processing buffer {"connection_id":111599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3657870012d196840071fed28004200611e..."} 
[2026-06-23 13:05:50] local.INFO: Packet analysis {"connection_id":111599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef365"} 
[2026-06-23 13:05:50] local.INFO: Extracted packet for processing {"connection_id":111599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef365"} 
[2026-06-23 13:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243187968001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782199974000,"timestamp_ms":1782199974000,"timestamp_seconds":1782199974,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3657870"} 
[2026-06-23 13:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:05: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-06-23 13:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243187968001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243187968001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:05:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243187968001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":111599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:05:51] local.INFO: GPS data processed {"connection_id":111599,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:05:51] local.INFO: Acknowledgment sent {"connection_id":111599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:06:04] local.INFO: TCP Data received {"connection_id":110987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:04] local.INFO: Processing buffer {"connection_id":110987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:04] local.INFO: Packet analysis {"connection_id":110987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:06:04] local.INFO: Extracted packet for processing {"connection_id":110987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:06:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":110987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":110987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":110987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:06:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:06:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":110987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:06:04] local.INFO: GPS data processed {"connection_id":110987,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:06:04] local.INFO: Acknowledgment sent {"connection_id":110987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:06:19] local.INFO: TCP Data received {"connection_id":112535,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:06:19] local.INFO: Processing buffer {"connection_id":112535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:06:19] local.INFO: IMEI packet received {"connection_id":112535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":112535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:06:19] local.INFO: TCP Data received {"connection_id":112535,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:06:19] local.INFO: Processing buffer {"connection_id":112535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:06:19] local.INFO: IMEI packet received {"connection_id":112535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":112535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:06:20] local.INFO: TCP Data received {"connection_id":112535,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef365ca78012d196840071fed28004200611e..."} 
[2026-06-23 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef365ca78012d196840071fed28004200611e..."} 
[2026-06-23 13:06:20] local.INFO: Processing buffer {"connection_id":112535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef365ca78012d196840071fed28004200611e..."} 
[2026-06-23 13:06:20] local.INFO: Packet analysis {"connection_id":112535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef365"} 
[2026-06-23 13:06:20] local.INFO: Extracted packet for processing {"connection_id":112535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef365"} 
[2026-06-23 13:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243193344001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782199995000,"timestamp_ms":1782199995000,"timestamp_seconds":1782199995,"priority":1,"record_length":96,"hex_timestamp":"0000019ef365ca78"} 
[2026-06-23 13:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243193344001,"66":12319,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243193344001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243193344001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":112535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:06:20] local.INFO: GPS data processed {"connection_id":112535,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:06:20] local.INFO: Acknowledgment sent {"connection_id":112535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:06:24] local.INFO: TCP Data received {"connection_id":112535,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3661c80012d196840071fed28004200611e..."} 
[2026-06-23 13:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3661c80012d196840071fed28004200611e..."} 
[2026-06-23 13:06:24] local.INFO: Processing buffer {"connection_id":112535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3661c80012d196840071fed28004200611e..."} 
[2026-06-23 13:06:24] local.INFO: Packet analysis {"connection_id":112535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef366"} 
[2026-06-23 13:06:24] local.INFO: Extracted packet for processing {"connection_id":112535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef366"} 
[2026-06-23 13:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243198720001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782200016000,"timestamp_ms":1782200016000,"timestamp_seconds":1782200016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3661c80"} 
[2026-06-23 13:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:06:24] 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-06-23 13: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-06-23 13:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243198720001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243198720001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243198720001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":112535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:06:24] local.INFO: GPS data processed {"connection_id":112535,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:06:24] local.INFO: Acknowledgment sent {"connection_id":112535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:06:33] local.INFO: TCP Data received {"connection_id":112536,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:06:33] local.INFO: Processing buffer {"connection_id":112536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:06:33] local.INFO: IMEI packet received {"connection_id":112536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":112536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:06:34] local.INFO: TCP Data received {"connection_id":112536,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:06:34] local.INFO: Processing buffer {"connection_id":112536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:06:34] local.INFO: IMEI packet received {"connection_id":112536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":112536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:06:35] local.INFO: TCP Data received {"connection_id":112536,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:35] local.INFO: Processing buffer {"connection_id":112536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:35] local.INFO: Packet analysis {"connection_id":112536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:06:35] local.INFO: Extracted packet for processing {"connection_id":112536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:06:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":112536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:06:35] local.INFO: GPS data processed {"connection_id":112536,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:06:35] local.INFO: Acknowledgment sent {"connection_id":112536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:06:41] local.INFO: TCP Data received {"connection_id":112536,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:41] local.INFO: Processing buffer {"connection_id":112536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:06:41] local.INFO: Packet analysis {"connection_id":112536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:06:41] local.INFO: Extracted packet for processing {"connection_id":112536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:06:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:06:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":112536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:06:41] local.INFO: GPS data processed {"connection_id":112536,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:06:41] local.INFO: Acknowledgment sent {"connection_id":112536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:06:55] local.INFO: TCP Data received {"connection_id":112535,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3666e88012d196840071fed28004200611f..."} 
[2026-06-23 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3666e88012d196840071fed28004200611f..."} 
[2026-06-23 13:06:55] local.INFO: Processing buffer {"connection_id":112535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3666e88012d196840071fed28004200611f..."} 
[2026-06-23 13:06:55] local.INFO: Packet analysis {"connection_id":112535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef366"} 
[2026-06-23 13:06:55] local.INFO: Extracted packet for processing {"connection_id":112535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef366"} 
[2026-06-23 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243204096001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782200037000,"timestamp_ms":1782200037000,"timestamp_seconds":1782200037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3666e88"} 
[2026-06-23 13:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:06: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-06-23 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243204096001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243204096001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243204096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":112535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:06:55] local.INFO: GPS data processed {"connection_id":112535,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:06:55] local.INFO: Acknowledgment sent {"connection_id":112535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:07:14] local.INFO: TCP Data received {"connection_id":111600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:07:14] local.INFO: Processing buffer {"connection_id":111600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:07:14] local.INFO: IMEI packet received {"connection_id":111600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":111600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:07:19] local.INFO: TCP Data received {"connection_id":111600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:07:19] local.INFO: Processing buffer {"connection_id":111600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:07:19] local.INFO: IMEI packet received {"connection_id":111600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":111600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:07:19] local.INFO: TCP Data received {"connection_id":111600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef366c090012d196840071fed28004200611f..."} 
[2026-06-23 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef366c090012d196840071fed28004200611f..."} 
[2026-06-23 13:07:19] local.INFO: Processing buffer {"connection_id":111600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef366c090012d196840071fed28004200611f..."} 
[2026-06-23 13:07:19] local.INFO: Packet analysis {"connection_id":111600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef366"} 
[2026-06-23 13:07:19] local.INFO: Extracted packet for processing {"connection_id":111600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef366"} 
[2026-06-23 13:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243209472001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200058000,"timestamp_ms":1782200058000,"timestamp_seconds":1782200058,"priority":1,"record_length":96,"hex_timestamp":"0000019ef366c090"} 
[2026-06-23 13:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:07: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-06-23 13:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-908548104646747800,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:19] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":30721,"corrected_to":0} 
[2026-06-23 13:07:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 13:07:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,28,45,64,237,66,30,202,120,1,240,53,227,243,31,4,113,205,212,104,40,29,239,48,2,14,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":202,"original":30721,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 13:07:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755907992275124224,"timestamp_seconds":4755907992275124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 13:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243209472001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243209472001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:07:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243209472001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":111600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:07:20] local.INFO: GPS data processed {"connection_id":111600,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:07:20] local.INFO: Acknowledgment sent {"connection_id":111600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:07:26] local.INFO: TCP Data received {"connection_id":112538,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:07:26] local.INFO: Processing buffer {"connection_id":112538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:07:26] local.INFO: IMEI packet received {"connection_id":112538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":112538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:07:31] local.INFO: TCP Data received {"connection_id":112537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:07:31] local.INFO: Processing buffer {"connection_id":112537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:07:31] local.INFO: IMEI packet received {"connection_id":112537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":112537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:07:31] local.INFO: TCP Data received {"connection_id":112538,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:07:31] local.INFO: Processing buffer {"connection_id":112538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:07:31] local.INFO: IMEI packet received {"connection_id":112538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":112538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:07:33] local.INFO: TCP Data received {"connection_id":112538,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:07:33] local.INFO: Processing buffer {"connection_id":112538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:07:33] local.INFO: Packet analysis {"connection_id":112538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:07:33] local.INFO: Extracted packet for processing {"connection_id":112538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:07:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:07:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:07:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":112538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:07:33] local.INFO: GPS data processed {"connection_id":112538,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:07:33] local.INFO: Acknowledgment sent {"connection_id":112538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:07:34] local.INFO: TCP Data received {"connection_id":112538,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:07:34] local.INFO: Processing buffer {"connection_id":112538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef364c8a8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 13:07:34] local.INFO: Packet analysis {"connection_id":112538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:07:34] local.INFO: Extracted packet for processing {"connection_id":112538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef364"} 
[2026-06-23 13:07:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243104768001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782199929000,"timestamp_ms":1782199929000,"timestamp_seconds":1782199929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef364c8a8"} 
[2026-06-23 13:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 13:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243104768001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243104768001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:07:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243104768001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":112538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:07:34] local.INFO: GPS data processed {"connection_id":112538,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:07:34] local.INFO: Acknowledgment sent {"connection_id":112538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:07:51] local.INFO: TCP Data received {"connection_id":111600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3671298012d196840071fed280042006121..."} 
[2026-06-23 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3671298012d196840071fed280042006121..."} 
[2026-06-23 13:07:51] local.INFO: Processing buffer {"connection_id":111600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3671298012d196840071fed280042006121..."} 
[2026-06-23 13:07:51] local.INFO: Packet analysis {"connection_id":111600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef367"} 
[2026-06-23 13:07:51] local.INFO: Extracted packet for processing {"connection_id":111600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef367"} 
[2026-06-23 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243214848001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200079000,"timestamp_ms":1782200079000,"timestamp_seconds":1782200079,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3671298"} 
[2026-06-23 13:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:07: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-06-23 13:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243214848001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243214848001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:07:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243214848001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":111600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:07:51] local.INFO: GPS data processed {"connection_id":111600,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:07:51] local.INFO: Acknowledgment sent {"connection_id":111600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:08:06] local.INFO: TCP Data received {"connection_id":112538,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:06] local.INFO: Processing buffer {"connection_id":112538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:06] local.INFO: Packet analysis {"connection_id":112538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:08:06] local.INFO: Extracted packet for processing {"connection_id":112538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:08:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:08:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:08:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":112538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:08:06] local.INFO: GPS data processed {"connection_id":112538,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:08:06] local.INFO: Acknowledgment sent {"connection_id":112538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:08:12] local.INFO: TCP Data received {"connection_id":111601,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:08:12] local.INFO: Processing buffer {"connection_id":111601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:08:12] local.INFO: IMEI packet received {"connection_id":111601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":111601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:08:14] local.INFO: TCP Data received {"connection_id":110800,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:08:14] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:08:14] local.INFO: IMEI packet received {"connection_id":110800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":110800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:08:19] local.INFO: TCP Data received {"connection_id":110800,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:08:19] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:08:19] local.INFO: IMEI packet received {"connection_id":110800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":110800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:08:19] local.INFO: TCP Data received {"connection_id":110800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36764a0012d196840071fed28004200611f..."} 
[2026-06-23 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36764a0012d196840071fed28004200611f..."} 
[2026-06-23 13:08:19] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36764a0012d196840071fed28004200611f..."} 
[2026-06-23 13:08:19] local.INFO: Packet analysis {"connection_id":110800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef367"} 
[2026-06-23 13:08:19] local.INFO: Extracted packet for processing {"connection_id":110800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef367"} 
[2026-06-23 13:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243220224001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200100000,"timestamp_ms":1782200100000,"timestamp_seconds":1782200100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36764a0"} 
[2026-06-23 13:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:08: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-06-23 13:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185614,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":7277816997830721537,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-908367716020315800,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513389638602326113,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978821698,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 13:08:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,10,158,192,45,64,237,66,31,110,28,1,240,53,227,243,4,113,205,120,104,40,30,239,48,2,14,7,29],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 13:08:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755908000865058816,"timestamp_seconds":4755908000865059.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 13:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243220224001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243220224001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:08:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243220224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":110800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:08:20] local.INFO: GPS data processed {"connection_id":110800,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:08:20] local.INFO: Acknowledgment sent {"connection_id":110800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:08:29] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:08:29] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:08:29] local.INFO: IMEI packet received {"connection_id":110988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":110988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:08:34] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:08:34] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:08:34] local.INFO: IMEI packet received {"connection_id":110988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":110988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:08:35] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:35] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:35] local.INFO: Packet analysis {"connection_id":110988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:08:35] local.INFO: Extracted packet for processing {"connection_id":110988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:08:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:08:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:08:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":110988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:08:35] local.INFO: GPS data processed {"connection_id":110988,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:08:35] local.INFO: Acknowledgment sent {"connection_id":110988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:08:40] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:40] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:08:40] local.INFO: Packet analysis {"connection_id":110988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:08:40] local.INFO: Extracted packet for processing {"connection_id":110988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":110988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:08:40] local.INFO: GPS data processed {"connection_id":110988,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:08:40] local.INFO: Acknowledgment sent {"connection_id":110988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:08:51] local.INFO: TCP Data received {"connection_id":110800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef367b6a8012d196840071fed28004200611f..."} 
[2026-06-23 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef367b6a8012d196840071fed28004200611f..."} 
[2026-06-23 13:08:51] local.INFO: Processing buffer {"connection_id":110800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef367b6a8012d196840071fed28004200611f..."} 
[2026-06-23 13:08:51] local.INFO: Packet analysis {"connection_id":110800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef367"} 
[2026-06-23 13:08:51] local.INFO: Extracted packet for processing {"connection_id":110800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef367"} 
[2026-06-23 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243225600001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200121000,"timestamp_ms":1782200121000,"timestamp_seconds":1782200121,"priority":1,"record_length":96,"hex_timestamp":"0000019ef367b6a8"} 
[2026-06-23 13:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:08: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-06-23 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243225600001,"66":12363,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243225600001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:08:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243225600001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":110800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:08:51] local.INFO: GPS data processed {"connection_id":110800,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:08:51] local.INFO: Acknowledgment sent {"connection_id":110800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:09:14] local.INFO: TCP Data received {"connection_id":111602,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:09:14] local.INFO: Processing buffer {"connection_id":111602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:09:14] local.INFO: IMEI packet received {"connection_id":111602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":111602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:09:19] local.INFO: TCP Data received {"connection_id":111602,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:09:19] local.INFO: Processing buffer {"connection_id":111602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:09:19] local.INFO: IMEI packet received {"connection_id":111602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":111602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:09:19] local.INFO: TCP Data received {"connection_id":111602,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36808b0012d196840071fed280042006120..."} 
[2026-06-23 13:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36808b0012d196840071fed280042006120..."} 
[2026-06-23 13:09:19] local.INFO: Processing buffer {"connection_id":111602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36808b0012d196840071fed280042006120..."} 
[2026-06-23 13:09:19] local.INFO: Packet analysis {"connection_id":111602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:09:19] local.INFO: Extracted packet for processing {"connection_id":111602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243230976001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200142000,"timestamp_ms":1782200142000,"timestamp_seconds":1782200142,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36808b0"} 
[2026-06-23 13:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 13:09:19] 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-06-23 13: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-06-23 13:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243230976001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243230976001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:09:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243230976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":111602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:09:19] local.INFO: GPS data processed {"connection_id":111602,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:09:19] local.INFO: Acknowledgment sent {"connection_id":111602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:09:24] local.INFO: TCP Data received {"connection_id":110801,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:09:24] local.INFO: Processing buffer {"connection_id":110801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:09:24] local.INFO: IMEI packet received {"connection_id":110801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":110801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:09:29] local.INFO: TCP Data received {"connection_id":110801,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:09:29] local.INFO: Processing buffer {"connection_id":110801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:09:29] local.INFO: IMEI packet received {"connection_id":110801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":110801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:09:30] local.INFO: TCP Data received {"connection_id":110801,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:09:30] local.INFO: Processing buffer {"connection_id":110801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:09:30] local.INFO: Packet analysis {"connection_id":110801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:09:30] local.INFO: Extracted packet for processing {"connection_id":110801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":110801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:09:30] local.INFO: GPS data processed {"connection_id":110801,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:09:30] local.INFO: Acknowledgment sent {"connection_id":110801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:09:50] local.INFO: TCP Data received {"connection_id":111602,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3685ab8012d196840071fed280042006121..."} 
[2026-06-23 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3685ab8012d196840071fed280042006121..."} 
[2026-06-23 13:09:50] local.INFO: Processing buffer {"connection_id":111602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3685ab8012d196840071fed280042006121..."} 
[2026-06-23 13:09:50] local.INFO: Packet analysis {"connection_id":111602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:09:50] local.INFO: Extracted packet for processing {"connection_id":111602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243236352001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782200163000,"timestamp_ms":1782200163000,"timestamp_seconds":1782200163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3685ab8"} 
[2026-06-23 13:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243236352001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243236352001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:09:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243236352001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":111602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:09:50] local.INFO: GPS data processed {"connection_id":111602,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:09:50] local.INFO: Acknowledgment sent {"connection_id":111602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:10:02] local.INFO: TCP Data received {"connection_id":110801,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:10:02] local.INFO: Processing buffer {"connection_id":110801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:10:02] local.INFO: Packet analysis {"connection_id":110801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:10:02] local.INFO: Extracted packet for processing {"connection_id":110801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":110801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:10:02] local.INFO: GPS data processed {"connection_id":110801,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:10:02] local.INFO: Acknowledgment sent {"connection_id":110801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:10:14] local.INFO: TCP Data received {"connection_id":110990,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:10:14] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:10:14] local.INFO: IMEI packet received {"connection_id":110990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":110990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:10:19] local.INFO: TCP Data received {"connection_id":110990,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:10:19] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:10:19] local.INFO: IMEI packet received {"connection_id":110990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":110990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:10:19] local.INFO: TCP Data received {"connection_id":110990,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef368acc0012d196840071fed280042006120..."} 
[2026-06-23 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef368acc0012d196840071fed280042006120..."} 
[2026-06-23 13:10:19] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef368acc0012d196840071fed280042006120..."} 
[2026-06-23 13:10:19] local.INFO: Packet analysis {"connection_id":110990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:10:19] local.INFO: Extracted packet for processing {"connection_id":110990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":32,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243241728001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200184000,"timestamp_ms":1782200184000,"timestamp_seconds":1782200184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef368acc0"} 
[2026-06-23 13:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:10:19] 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-06-23 13:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243241728001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243241728001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:10:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243241728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":110990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:10:19] local.INFO: GPS data processed {"connection_id":110990,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:10:19] local.INFO: Acknowledgment sent {"connection_id":110990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:10:24] local.INFO: TCP Data received {"connection_id":111605,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:10:24] local.INFO: Processing buffer {"connection_id":111605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:10:24] local.INFO: IMEI packet received {"connection_id":111605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":111605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:10:29] local.INFO: TCP Data received {"connection_id":111605,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:10:29] local.INFO: Processing buffer {"connection_id":111605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:10:29] local.INFO: IMEI packet received {"connection_id":111605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":111605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:10:30] local.INFO: TCP Data received {"connection_id":111605,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:10:30] local.INFO: Processing buffer {"connection_id":111605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:10:30] local.INFO: Packet analysis {"connection_id":111605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:10:30] local.INFO: Extracted packet for processing {"connection_id":111605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:10:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":111605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:10:30] local.INFO: GPS data processed {"connection_id":111605,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:10:30] local.INFO: Acknowledgment sent {"connection_id":111605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:10:50] local.INFO: TCP Data received {"connection_id":110990,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef368fec8012d196840071fed28004200611f..."} 
[2026-06-23 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef368fec8012d196840071fed28004200611f..."} 
[2026-06-23 13:10:50] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef368fec8012d196840071fed28004200611f..."} 
[2026-06-23 13:10:50] local.INFO: Packet analysis {"connection_id":110990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:10:50] local.INFO: Extracted packet for processing {"connection_id":110990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef368"} 
[2026-06-23 13:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243247104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782200205000,"timestamp_ms":1782200205000,"timestamp_seconds":1782200205,"priority":1,"record_length":96,"hex_timestamp":"0000019ef368fec8"} 
[2026-06-23 13:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:10: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-06-23 13:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 13:10:50] 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-06-23 13:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243247104001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243247104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:10:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243247104001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":110990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:10:51] local.INFO: GPS data processed {"connection_id":110990,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:10:51] local.INFO: Acknowledgment sent {"connection_id":110990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:11:02] local.INFO: TCP Data received {"connection_id":111605,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:11:02] local.INFO: Processing buffer {"connection_id":111605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:11:02] local.INFO: Packet analysis {"connection_id":111605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:02] local.INFO: Extracted packet for processing {"connection_id":111605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":111605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:11:02] local.INFO: GPS data processed {"connection_id":111605,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:11:02] local.INFO: Acknowledgment sent {"connection_id":111605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:11:13] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:13] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:13] local.INFO: IMEI packet received {"connection_id":110802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":110802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:11:14] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:14] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:14] local.INFO: IMEI packet received {"connection_id":110802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":110802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:11:19] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:19] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:11:19] local.INFO: IMEI packet received {"connection_id":110802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":110802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:11:19] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36950d0012d196840071fed28004200611e..."} 
[2026-06-23 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36950d0012d196840071fed28004200611e..."} 
[2026-06-23 13:11:19] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36950d0012d196840071fed28004200611e..."} 
[2026-06-23 13:11:19] local.INFO: Packet analysis {"connection_id":110802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:19] local.INFO: Extracted packet for processing {"connection_id":110802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243252480001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200226000,"timestamp_ms":1782200226000,"timestamp_seconds":1782200226,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36950d0"} 
[2026-06-23 13:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:11: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-06-23 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:11:19] 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-06-23 13:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243252480001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243252480001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:11:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243252480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":110802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:11:20] local.INFO: GPS data processed {"connection_id":110802,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:11:20] local.INFO: Acknowledgment sent {"connection_id":110802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:11:24] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:11:24] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:11:24] local.INFO: IMEI packet received {"connection_id":110803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":110803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:11:29] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:11:29] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:11:29] local.INFO: IMEI packet received {"connection_id":110803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":110803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:11:30] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:11:30] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:11:30] local.INFO: Packet analysis {"connection_id":110803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:30] local.INFO: Extracted packet for processing {"connection_id":110803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":110803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:11:30] local.INFO: GPS data processed {"connection_id":110803,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:11:30] local.INFO: Acknowledgment sent {"connection_id":110803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:11:51] local.INFO: TCP Data received {"connection_id":110802,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef369a2d8012d196840071fed28004200611c..."} 
[2026-06-23 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef369a2d8012d196840071fed28004200611c..."} 
[2026-06-23 13:11:51] local.INFO: Processing buffer {"connection_id":110802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef369a2d8012d196840071fed28004200611c..."} 
[2026-06-23 13:11:51] local.INFO: Packet analysis {"connection_id":110802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:51] local.INFO: Extracted packet for processing {"connection_id":110802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":28,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243257856001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200247000,"timestamp_ms":1782200247000,"timestamp_seconds":1782200247,"priority":1,"record_length":96,"hex_timestamp":"0000019ef369a2d8"} 
[2026-06-23 13:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:11: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-06-23 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243257856001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243257856001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:11:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243257856001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":110802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:11:51] local.INFO: GPS data processed {"connection_id":110802,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:11:51] local.INFO: Acknowledgment sent {"connection_id":110802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:12:02] local.INFO: TCP Data received {"connection_id":110803,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:02] local.INFO: Processing buffer {"connection_id":110803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:02] local.INFO: Packet analysis {"connection_id":110803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:02] local.INFO: Extracted packet for processing {"connection_id":110803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 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-06-23 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 13:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":110803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:12:02] local.INFO: GPS data processed {"connection_id":110803,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:12:02] local.INFO: Acknowledgment sent {"connection_id":110803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:12:17] local.INFO: TCP Data received {"connection_id":112540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:17] local.INFO: Processing buffer {"connection_id":112540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:17] local.INFO: IMEI packet received {"connection_id":112540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":112540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:12:18] local.INFO: TCP Data received {"connection_id":112540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:18] local.INFO: Processing buffer {"connection_id":112540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:18] local.INFO: IMEI packet received {"connection_id":112540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":112540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:12:24] local.INFO: TCP Data received {"connection_id":112540,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:24] local.INFO: Processing buffer {"connection_id":112540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:12:24] local.INFO: IMEI packet received {"connection_id":112540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":112540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:12:25] local.INFO: TCP Data received {"connection_id":112540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef369f4e0012d196840071fed28004200611e..."} 
[2026-06-23 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef369f4e0012d196840071fed28004200611e..."} 
[2026-06-23 13:12:25] local.INFO: Processing buffer {"connection_id":112540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef369f4e0012d196840071fed28004200611e..."} 
[2026-06-23 13:12:25] local.INFO: Packet analysis {"connection_id":112540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:25] local.INFO: Extracted packet for processing {"connection_id":112540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243263232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782200268000,"timestamp_ms":1782200268000,"timestamp_seconds":1782200268,"priority":1,"record_length":96,"hex_timestamp":"0000019ef369f4e0"} 
[2026-06-23 13:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243263232001,"66":12363,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243263232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:12:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243263232001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":112540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:12:25] local.INFO: GPS data processed {"connection_id":112540,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:12:25] local.INFO: Acknowledgment sent {"connection_id":112540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:12:29] local.INFO: TCP Data received {"connection_id":112540,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36a46e8012d196840071fed28004200611e..."} 
[2026-06-23 13:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36a46e8012d196840071fed28004200611e..."} 
[2026-06-23 13:12:29] local.INFO: Processing buffer {"connection_id":112540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36a46e8012d196840071fed28004200611e..."} 
[2026-06-23 13:12:29] local.INFO: Packet analysis {"connection_id":112540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36a"} 
[2026-06-23 13:12:29] local.INFO: Extracted packet for processing {"connection_id":112540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36a"} 
[2026-06-23 13:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243268608001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782200289000,"timestamp_ms":1782200289000,"timestamp_seconds":1782200289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36a46e8"} 
[2026-06-23 13:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 13:12:29] 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-06-23 13: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-06-23 13:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243268608001,"66":12287,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243268608001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:12:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243268608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":112540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:12:29] local.INFO: GPS data processed {"connection_id":112540,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:12:29] local.INFO: Acknowledgment sent {"connection_id":112540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:12:29] local.INFO: TCP Data received {"connection_id":112541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:12:29] local.INFO: Processing buffer {"connection_id":112541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:12:29] local.INFO: IMEI packet received {"connection_id":112541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":112541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:12:34] local.INFO: TCP Data received {"connection_id":112541,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:12:34] local.INFO: Processing buffer {"connection_id":112541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:12:34] local.INFO: IMEI packet received {"connection_id":112541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":112541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:12:35] local.INFO: TCP Data received {"connection_id":112541,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:35] local.INFO: Processing buffer {"connection_id":112541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:35] local.INFO: Packet analysis {"connection_id":112541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:35] local.INFO: Extracted packet for processing {"connection_id":112541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:12:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:12:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":112541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:12:35] local.INFO: GPS data processed {"connection_id":112541,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:12:35] local.INFO: Acknowledgment sent {"connection_id":112541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:12:40] local.INFO: TCP Data received {"connection_id":112541,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:40] local.INFO: Processing buffer {"connection_id":112541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3696070012cb29b8007823df8004a00cf27..."} 
[2026-06-23 13:12:40] local.INFO: Packet analysis {"connection_id":112541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:40] local.INFO: Extracted packet for processing {"connection_id":112541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef369"} 
[2026-06-23 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:12: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-06-23 13:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243181824001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782200230000,"timestamp_ms":1782200230000,"timestamp_seconds":1782200230,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3696070"} 
[2026-06-23 13:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 13:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:12: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-06-23 13:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243181824001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243181824001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:12:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:12:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243181824001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":112541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:12:40] local.INFO: GPS data processed {"connection_id":112541,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:12:40] local.INFO: Acknowledgment sent {"connection_id":112541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:13:14] local.INFO: TCP Data received {"connection_id":112542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:13:14] local.INFO: Processing buffer {"connection_id":112542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:13:14] local.INFO: IMEI packet received {"connection_id":112542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":112542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:13:19] local.INFO: TCP Data received {"connection_id":112542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:13:19] local.INFO: Processing buffer {"connection_id":112542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:13:19] local.INFO: IMEI packet received {"connection_id":112542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":112542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:13:19] local.INFO: TCP Data received {"connection_id":112542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36a98f0012d196840071fed28004200611e..."} 
[2026-06-23 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36a98f0012d196840071fed28004200611e..."} 
[2026-06-23 13:13:19] local.INFO: Processing buffer {"connection_id":112542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36a98f0012d196840071fed28004200611e..."} 
[2026-06-23 13:13:19] local.INFO: Packet analysis {"connection_id":112542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36a"} 
[2026-06-23 13:13:19] local.INFO: Extracted packet for processing {"connection_id":112542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36a"} 
[2026-06-23 13:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243273984001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200310000,"timestamp_ms":1782200310000,"timestamp_seconds":1782200310,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36a98f0"} 
[2026-06-23 13:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:13: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-06-23 13:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 13:13:19] 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-06-23 13:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243273984001,"66":12298,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243273984001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:13:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243273984001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":112542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:13:19] local.INFO: GPS data processed {"connection_id":112542,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:13:19] local.INFO: Acknowledgment sent {"connection_id":112542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:13:24] local.INFO: TCP Data received {"connection_id":110992,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:13:24] local.INFO: Processing buffer {"connection_id":110992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:13:24] local.INFO: IMEI packet received {"connection_id":110992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":110992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:13:29] local.INFO: TCP Data received {"connection_id":110992,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:13:29] local.INFO: Processing buffer {"connection_id":110992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:13:29] local.INFO: IMEI packet received {"connection_id":110992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:13:30] local.INFO: TCP Data received {"connection_id":110992,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:13:30] local.INFO: Processing buffer {"connection_id":110992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:13:30] local.INFO: Packet analysis {"connection_id":110992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:13:30] local.INFO: Extracted packet for processing {"connection_id":110992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:13:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:13:30] 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-06-23 13: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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:13: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-06-23 13: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-06-23 13:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:13:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":110992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:13:30] local.INFO: GPS data processed {"connection_id":110992,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:13:30] local.INFO: Acknowledgment sent {"connection_id":110992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:13:37] local.INFO: TCP Data received {"connection_id":110804,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:13:37] local.INFO: Processing buffer {"connection_id":110804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:13:37] local.INFO: IMEI packet received {"connection_id":110804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":110804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:13:51] local.INFO: TCP Data received {"connection_id":112542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36e1f48012d196840071fed28004200611f..."} 
[2026-06-23 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36e1f48012d196840071fed28004200611f..."} 
[2026-06-23 13:13:51] local.INFO: Processing buffer {"connection_id":112542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36e1f48012d196840071fed28004200611f..."} 
[2026-06-23 13:13:51] local.INFO: Packet analysis {"connection_id":112542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36e"} 
[2026-06-23 13:13:51] local.INFO: Extracted packet for processing {"connection_id":112542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36e"} 
[2026-06-23 13:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":31,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243333120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200541000,"timestamp_ms":1782200541000,"timestamp_seconds":1782200541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36e1f48"} 
[2026-06-23 13:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:13: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-06-23 13:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243333120001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243333120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:13:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243333120001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":112542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:13:51] local.INFO: GPS data processed {"connection_id":112542,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:13:51] local.INFO: Acknowledgment sent {"connection_id":112542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:14:02] local.INFO: TCP Data received {"connection_id":110992,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:14:02] local.INFO: Processing buffer {"connection_id":110992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:14:02] local.INFO: Packet analysis {"connection_id":110992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:14:02] local.INFO: Extracted packet for processing {"connection_id":110992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:14:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 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-06-23 13:14:02] 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-06-23 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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:14: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-06-23 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-06-23 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-06-23 13:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:14:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":110992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:14:02] local.INFO: GPS data processed {"connection_id":110992,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:14:02] local.INFO: Acknowledgment sent {"connection_id":110992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:14:06] local.INFO: TCP Data received {"connection_id":112543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:14:06] local.INFO: Processing buffer {"connection_id":112543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:14:06] local.INFO: IMEI packet received {"connection_id":112543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":112543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:14:13] local.INFO: TCP Data received {"connection_id":111606,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:13] local.INFO: Processing buffer {"connection_id":111606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:13] local.INFO: IMEI packet received {"connection_id":111606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":111606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:14:14] local.INFO: TCP Data received {"connection_id":111606,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:14] local.INFO: Processing buffer {"connection_id":111606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:14] local.INFO: IMEI packet received {"connection_id":111606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":111606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:14:19] local.INFO: TCP Data received {"connection_id":111606,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:19] local.INFO: Processing buffer {"connection_id":111606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:14:19] local.INFO: IMEI packet received {"connection_id":111606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":111606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:14:20] local.INFO: TCP Data received {"connection_id":111606,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36e7150012d196840071fed28004200611e..."} 
[2026-06-23 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36e7150012d196840071fed28004200611e..."} 
[2026-06-23 13:14:20] local.INFO: Processing buffer {"connection_id":111606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36e7150012d196840071fed28004200611e..."} 
[2026-06-23 13:14:20] local.INFO: Packet analysis {"connection_id":111606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36e"} 
[2026-06-23 13:14:20] local.INFO: Extracted packet for processing {"connection_id":111606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36e"} 
[2026-06-23 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532840,"longitude_deg":75.6639808,"latitude_deg":11.953284,"altitude":66,"angle":97,"satellites":30,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-06-23 13:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243338496001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952078581923840,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870691328,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782200562000,"timestamp_ms":1782200562000,"timestamp_seconds":1782200562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36e7150"} 
[2026-06-23 13:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 13:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243338496001,"66":12341,"102":206,"83":41984,"24":0,"16":3952078581923840,"45":1830783647870691328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243338496001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:14:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952078581923840,"km_value":3952078581923.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870691328,"description":"Unknown IO ID 45"} 
[2026-06-23 13:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243338496001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870691328}} 
[2026-06-23 13:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":111606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:14:20] local.INFO: GPS data processed {"connection_id":111606,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:14:20] local.INFO: Acknowledgment sent {"connection_id":111606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:14:24] local.INFO: TCP Data received {"connection_id":112544,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:14:24] local.INFO: Processing buffer {"connection_id":112544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:14:24] local.INFO: IMEI packet received {"connection_id":112544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":112544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:14:29] local.INFO: TCP Data received {"connection_id":112544,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:14:29] local.INFO: Processing buffer {"connection_id":112544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:14:29] local.INFO: IMEI packet received {"connection_id":112544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":112544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:14:30] local.INFO: TCP Data received {"connection_id":112544,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:14:30] local.INFO: Processing buffer {"connection_id":112544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:14:30] local.INFO: Packet analysis {"connection_id":112544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:14:30] local.INFO: Extracted packet for processing {"connection_id":112544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:14:30] 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-06-23 13: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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:14: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-06-23 13: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-06-23 13:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:14:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":112544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:14:30] local.INFO: GPS data processed {"connection_id":112544,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:14:30] local.INFO: Acknowledgment sent {"connection_id":112544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:14:50] local.INFO: TCP Data received {"connection_id":111606,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36fbd58012d19a500071ff1e8003b006221..."} 
[2026-06-23 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36fbd58012d19a500071ff1e8003b006221..."} 
[2026-06-23 13:14:50] local.INFO: Processing buffer {"connection_id":111606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36fbd58012d19a500071ff1e8003b006221..."} 
[2026-06-23 13:14:50] local.INFO: Packet analysis {"connection_id":111606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36f"} 
[2026-06-23 13:14:50] local.INFO: Extracted packet for processing {"connection_id":111606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36f"} 
[2026-06-23 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119534056,"longitude_deg":75.665536,"latitude_deg":11.9534056,"altitude":59,"angle":98,"satellites":33,"speed":12,"hex_longitude":"2d19a500","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-06-23 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243364864001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952838791135232,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846898090287613952,"note":"Value kept but may cause issues"} 
[2026-06-23 13:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782200647000,"timestamp_ms":1782200647000,"timestamp_seconds":1782200647,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36fbd58"} 
[2026-06-23 13:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:14: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-06-23 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 13:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243364864001,"66":14157,"101":206,"83":41984,"24":12,"16":3952838791135232,"45":1846898090287613952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243364864001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:14:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952838791135232,"km_value":3952838791135.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846898090287613952,"description":"Unknown IO ID 45"} 
[2026-06-23 13:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243364864001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1846898090287613952}} 
[2026-06-23 13:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":111606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:14:51] local.INFO: GPS data processed {"connection_id":111606,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:14:51] local.INFO: Acknowledgment sent {"connection_id":111606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:15:02] local.INFO: TCP Data received {"connection_id":112544,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:15:02] local.INFO: Processing buffer {"connection_id":112544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:15:02] local.INFO: Packet analysis {"connection_id":112544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:15:02] local.INFO: Extracted packet for processing {"connection_id":112544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:15:02] 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-06-23 13: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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:15: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-06-23 13: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-06-23 13:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":112544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:15:02] local.INFO: GPS data processed {"connection_id":112544,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:15:02] local.INFO: Acknowledgment sent {"connection_id":112544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:15:13] local.INFO: TCP Data received {"connection_id":112545,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:13] local.INFO: Processing buffer {"connection_id":112545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:13] local.INFO: IMEI packet received {"connection_id":112545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":112545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:15:13] local.INFO: TCP Data received {"connection_id":112545,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:13] local.INFO: Processing buffer {"connection_id":112545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:13] local.INFO: IMEI packet received {"connection_id":112545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":112545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:15:19] local.INFO: TCP Data received {"connection_id":112545,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:19] local.INFO: Processing buffer {"connection_id":112545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:15:19] local.INFO: IMEI packet received {"connection_id":112545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":112545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:15:20] local.INFO: TCP Data received {"connection_id":112545,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36fc140012d19a680071ff168003a006e21..."} 
[2026-06-23 13:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36fc140012d19a680071ff168003a006e21..."} 
[2026-06-23 13:15:20] local.INFO: Processing buffer {"connection_id":112545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36fc140012d19a680071ff168003a006e21..."} 
[2026-06-23 13:15:20] local.INFO: Packet analysis {"connection_id":112545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36f"} 
[2026-06-23 13:15:20] local.INFO: Extracted packet for processing {"connection_id":112545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36f"} 
[2026-06-23 13:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756655744,"raw_latitude":119533928,"longitude_deg":75.6655744,"latitude_deg":11.9533928,"altitude":58,"angle":110,"satellites":33,"speed":17,"hex_longitude":"2d19a680","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-06-23 13:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243365632001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952855971004416,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252706174976,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782200648000,"timestamp_ms":1782200648000,"timestamp_seconds":1782200648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36fc140"} 
[2026-06-23 13:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 13:15:20] 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-06-23 13:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243365632001,"66":14157,"101":206,"83":41984,"24":17,"16":3952855971004416,"45":1847883252706174976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243365632001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:15:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952855971004416,"km_value":3952855971004.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252706174976,"description":"Unknown IO ID 45"} 
[2026-06-23 13:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243365632001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1847883252706174976}} 
[2026-06-23 13:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":112545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:15:20] local.INFO: GPS data processed {"connection_id":112545,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:15:20] local.INFO: Acknowledgment sent {"connection_id":112545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:15:24] local.INFO: TCP Data received {"connection_id":110807,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:15:24] local.INFO: Processing buffer {"connection_id":110807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:15:24] local.INFO: IMEI packet received {"connection_id":110807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":110807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:15:29] local.INFO: TCP Data received {"connection_id":110807,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:15:29] local.INFO: Processing buffer {"connection_id":110807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:15:29] local.INFO: IMEI packet received {"connection_id":110807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":110807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:15:30] local.INFO: TCP Data received {"connection_id":110807,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:15:30] local.INFO: Processing buffer {"connection_id":110807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:15:30] local.INFO: Packet analysis {"connection_id":110807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:15:30] local.INFO: Extracted packet for processing {"connection_id":110807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:15:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:15:30] 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-06-23 13: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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:15: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-06-23 13: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-06-23 13:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":110807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:15:30] local.INFO: GPS data processed {"connection_id":110807,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:15:30] local.INFO: Acknowledgment sent {"connection_id":110807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:15:51] local.INFO: TCP Data received {"connection_id":112545,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36fd0e0012d19af00071fef100039006120..."} 
[2026-06-23 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36fd0e0012d19af00071fef100039006120..."} 
[2026-06-23 13:15:51] local.INFO: Processing buffer {"connection_id":112545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36fd0e0012d19af00071fef100039006120..."} 
[2026-06-23 13:15:51] local.INFO: Packet analysis {"connection_id":112545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36f"} 
[2026-06-23 13:15:51] local.INFO: Extracted packet for processing {"connection_id":112545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36f"} 
[2026-06-23 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119533328,"longitude_deg":75.665792,"latitude_deg":11.9533328,"altitude":57,"angle":97,"satellites":32,"speed":25,"hex_longitude":"2d19af00","hex_latitude":"071fef10","is_valid_coordinates":true} 
[2026-06-23 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243365888001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3952967640154112,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465171208192,"note":"Value kept but may cause issues"} 
[2026-06-23 13:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200652000,"timestamp_ms":1782200652000,"timestamp_seconds":1782200652,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36fd0e0"} 
[2026-06-23 13:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 13:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243365888001,"66":14243,"101":206,"83":41984,"24":25,"16":3952967640154112,"45":1848305465171208192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243365888001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:15:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3952967640154112,"km_value":3952967640154.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465171208192,"description":"Unknown IO ID 45"} 
[2026-06-23 13:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243365888001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1848305465171208192}} 
[2026-06-23 13:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":112545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:15:51] local.INFO: GPS data processed {"connection_id":112545,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:15:51] local.INFO: Acknowledgment sent {"connection_id":112545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:16:02] local.INFO: TCP Data received {"connection_id":110807,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:02] local.INFO: Processing buffer {"connection_id":110807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:02] local.INFO: Packet analysis {"connection_id":110807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:16:02] local.INFO: Extracted packet for processing {"connection_id":110807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:16:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:16:02] 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-06-23 13: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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:16: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-06-23 13: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-06-23 13:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":110807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:16:02] local.INFO: GPS data processed {"connection_id":110807,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:16:02] local.INFO: Acknowledgment sent {"connection_id":110807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:16:12] local.INFO: TCP Data received {"connection_id":112546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:12] local.INFO: Processing buffer {"connection_id":112546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:12] local.INFO: IMEI packet received {"connection_id":112546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":112546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:16:13] local.INFO: TCP Data received {"connection_id":112546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:13] local.INFO: Processing buffer {"connection_id":112546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:13] local.INFO: IMEI packet received {"connection_id":112546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":112546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:16:19] local.INFO: TCP Data received {"connection_id":112546,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:19] local.INFO: Processing buffer {"connection_id":112546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:16:19] local.INFO: IMEI packet received {"connection_id":112546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":112546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:16:19] local.INFO: TCP Data received {"connection_id":112546,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3707108012d19d2c0072012c80026013f1b..."} 
[2026-06-23 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3707108012d19d2c0072012c80026013f1b..."} 
[2026-06-23 13:16:19] local.INFO: Processing buffer {"connection_id":112546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3707108012d19d2c0072012c80026013f1b..."} 
[2026-06-23 13:16:19] local.INFO: Packet analysis {"connection_id":112546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef370"} 
[2026-06-23 13:16:19] local.INFO: Extracted packet for processing {"connection_id":112546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef370"} 
[2026-06-23 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756667072,"raw_latitude":119542472,"longitude_deg":75.6667072,"latitude_deg":11.9542472,"altitude":38,"angle":319,"satellites":27,"speed":14,"hex_longitude":"2d19d2c0","hex_latitude":"072012c8","is_valid_coordinates":true} 
[2026-06-23 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243375360001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953891058122752,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380349440,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200693000,"timestamp_ms":1782200693000,"timestamp_seconds":1782200693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3707108"} 
[2026-06-23 13:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-23 13:16:19] 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-06-23 13:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243375360001,"66":13156,"101":206,"83":41984,"24":14,"16":3953891058122752,"45":1863927326380349440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243375360001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:16:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953891058122752,"km_value":3953891058122.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380349440,"description":"Unknown IO ID 45"} 
[2026-06-23 13:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243375360001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1863927326380349440}} 
[2026-06-23 13:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":112546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:16:19] local.INFO: GPS data processed {"connection_id":112546,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:16:19] local.INFO: Acknowledgment sent {"connection_id":112546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:16:29] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:16:29] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:16:29] local.INFO: IMEI packet received {"connection_id":110993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":110993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:16:34] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:16:34] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:16:34] local.INFO: IMEI packet received {"connection_id":110993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":110993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:16:35] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:35] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:35] local.INFO: Packet analysis {"connection_id":110993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:16:35] local.INFO: Extracted packet for processing {"connection_id":110993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:16: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-06-23 13:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":110993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:16:35] local.INFO: GPS data processed {"connection_id":110993,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:16:35] local.INFO: Acknowledgment sent {"connection_id":110993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:16:40] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:40] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:16:40] local.INFO: Packet analysis {"connection_id":110993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:16:40] local.INFO: Extracted packet for processing {"connection_id":110993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:16:40] 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-06-23 13:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:16: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-06-23 13:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:16:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":110993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:16:40] local.INFO: GPS data processed {"connection_id":110993,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:16:40] local.INFO: Acknowledgment sent {"connection_id":110993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:16:51] local.INFO: TCP Data received {"connection_id":112546,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef370c310012d19ce80072018f00029014920..."} 
[2026-06-23 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef370c310012d19ce80072018f00029014920..."} 
[2026-06-23 13:16:51] local.INFO: Processing buffer {"connection_id":112546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef370c310012d19ce80072018f00029014920..."} 
[2026-06-23 13:16:51] local.INFO: Packet analysis {"connection_id":112546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef370"} 
[2026-06-23 13:16:51] local.INFO: Extracted packet for processing {"connection_id":112546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef370"} 
[2026-06-23 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243377408001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860760732892841984,"note":"Value kept but may cause issues"} 
[2026-06-23 13:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200714000,"timestamp_ms":1782200714000,"timestamp_seconds":1782200714,"priority":1,"record_length":96,"hex_timestamp":"0000019ef370c310"} 
[2026-06-23 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-23 13:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243377408001,"66":13048,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1860760732892841984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243377408001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:16:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860760732892841984,"description":"Unknown IO ID 45"} 
[2026-06-23 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243377408001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860760732892841984}} 
[2026-06-23 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":112546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":370999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:16:51] local.INFO: GPS data processed {"connection_id":112546,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:16:51] local.INFO: Acknowledgment sent {"connection_id":112546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:17:13] local.INFO: TCP Data received {"connection_id":110994,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:13] local.INFO: Processing buffer {"connection_id":110994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:13] local.INFO: IMEI packet received {"connection_id":110994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":110994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:17:16] local.INFO: TCP Data received {"connection_id":110994,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:16] local.INFO: Processing buffer {"connection_id":110994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:16] local.INFO: IMEI packet received {"connection_id":110994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":110994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:17:19] local.INFO: TCP Data received {"connection_id":110994,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:19] local.INFO: Processing buffer {"connection_id":110994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:17:19] local.INFO: IMEI packet received {"connection_id":110994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":110994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:17:19] local.INFO: TCP Data received {"connection_id":110994,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3711518012d19ce80072018f00029014920..."} 
[2026-06-23 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3711518012d19ce80072018f00029014920..."} 
[2026-06-23 13:17:19] local.INFO: Processing buffer {"connection_id":110994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3711518012d19ce80072018f00029014920..."} 
[2026-06-23 13:17:19] local.INFO: Packet analysis {"connection_id":110994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef371"} 
[2026-06-23 13:17:19] local.INFO: Extracted packet for processing {"connection_id":110994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef371"} 
[2026-06-23 13:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243382784001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200735000,"timestamp_ms":1782200735000,"timestamp_seconds":1782200735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3711518"} 
[2026-06-23 13:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:17: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-06-23 13:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 13:17:19] 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-06-23 13:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243382784001,"66":12939,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243382784001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:17:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243382784001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":110994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:17:20] local.INFO: GPS data processed {"connection_id":110994,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:17:20] local.INFO: Acknowledgment sent {"connection_id":110994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:17:25] local.INFO: TCP Data received {"connection_id":110995,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:17:25] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:17:25] local.INFO: IMEI packet received {"connection_id":110995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":110995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:17:29] local.INFO: TCP Data received {"connection_id":110995,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:17:29] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:17:29] local.INFO: IMEI packet received {"connection_id":110995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":110995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:17:30] local.INFO: TCP Data received {"connection_id":110995,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:17:30] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef36df838012cb29b8007823df8004a00cf26..."} 
[2026-06-23 13:17:30] local.INFO: Packet analysis {"connection_id":110995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:17:30] local.INFO: Extracted packet for processing {"connection_id":110995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef36d"} 
[2026-06-23 13:17:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243258880001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200531000,"timestamp_ms":1782200531000,"timestamp_seconds":1782200531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef36df838"} 
[2026-06-23 13:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:17:30] 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-06-23 13:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:17: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-06-23 13:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243258880001,"66":25451,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243258880001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243258880001,"power":25451,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":110995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:17:30] local.INFO: GPS data processed {"connection_id":110995,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:17:30] local.INFO: Acknowledgment sent {"connection_id":110995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:17:51] local.INFO: TCP Data received {"connection_id":110994,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3716720012d19ce80072018f00029014920..."} 
[2026-06-23 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3716720012d19ce80072018f00029014920..."} 
[2026-06-23 13:17:51] local.INFO: Processing buffer {"connection_id":110994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3716720012d19ce80072018f00029014920..."} 
[2026-06-23 13:17:51] local.INFO: Packet analysis {"connection_id":110994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef371"} 
[2026-06-23 13:17:51] local.INFO: Extracted packet for processing {"connection_id":110994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef371"} 
[2026-06-23 13:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243388160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200756000,"timestamp_ms":1782200756000,"timestamp_seconds":1782200756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3716720"} 
[2026-06-23 13:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:17: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-06-23 13:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 13:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243388160001,"66":12917,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243388160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:17:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243388160001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":110994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:17:51] local.INFO: GPS data processed {"connection_id":110994,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:17:51] local.INFO: Acknowledgment sent {"connection_id":110994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:18:02] local.INFO: TCP Data received {"connection_id":110995,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:18:02] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:18:02] local.INFO: Packet analysis {"connection_id":110995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:18:02] local.INFO: Extracted packet for processing {"connection_id":110995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:18:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:18:02] 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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:18: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-06-23 13: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-06-23 13:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:18:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":110995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:18:02] local.INFO: GPS data processed {"connection_id":110995,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:18:02] local.INFO: Acknowledgment sent {"connection_id":110995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:18:13] local.INFO: TCP Data received {"connection_id":111609,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:18:13] local.INFO: Processing buffer {"connection_id":111609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:18:13] local.INFO: IMEI packet received {"connection_id":111609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":111609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:18:19] local.INFO: TCP Data received {"connection_id":111609,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:18:19] local.INFO: Processing buffer {"connection_id":111609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:18:19] local.INFO: IMEI packet received {"connection_id":111609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":111609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:18:19] local.INFO: TCP Data received {"connection_id":111609,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef371b928012d19ce80072018f00029014922..."} 
[2026-06-23 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef371b928012d19ce80072018f00029014922..."} 
[2026-06-23 13:18:19] local.INFO: Processing buffer {"connection_id":111609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef371b928012d19ce80072018f00029014922..."} 
[2026-06-23 13:18:19] local.INFO: Packet analysis {"connection_id":111609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef371"} 
[2026-06-23 13:18:19] local.INFO: Extracted packet for processing {"connection_id":111609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef371"} 
[2026-06-23 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":34,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243393536001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200777000,"timestamp_ms":1782200777000,"timestamp_seconds":1782200777,"priority":1,"record_length":96,"hex_timestamp":"0000019ef371b928"} 
[2026-06-23 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:18: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-06-23 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 13:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243393536001,"66":11852,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243393536001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:18:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243393536001,"power":11852,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":111609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:18:20] local.INFO: GPS data processed {"connection_id":111609,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:18:20] local.INFO: Acknowledgment sent {"connection_id":111609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:18:24] local.INFO: TCP Data received {"connection_id":112548,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:18:24] local.INFO: Processing buffer {"connection_id":112548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:18:24] local.INFO: IMEI packet received {"connection_id":112548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":112548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:18:29] local.INFO: TCP Data received {"connection_id":112548,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:18:29] local.INFO: Processing buffer {"connection_id":112548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:18:29] local.INFO: IMEI packet received {"connection_id":112548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":112548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:18:30] local.INFO: TCP Data received {"connection_id":112548,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:18:30] local.INFO: Processing buffer {"connection_id":112548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:18:30] local.INFO: Packet analysis {"connection_id":112548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:18:30] local.INFO: Extracted packet for processing {"connection_id":112548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:18:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:18:30] 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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:18: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-06-23 13: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-06-23 13:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":112548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:18:30] local.INFO: GPS data processed {"connection_id":112548,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:18:30] local.INFO: Acknowledgment sent {"connection_id":112548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:18:51] local.INFO: TCP Data received {"connection_id":111609,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3720b30012d19ce80072018f00029014922..."} 
[2026-06-23 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3720b30012d19ce80072018f00029014922..."} 
[2026-06-23 13:18:51] local.INFO: Processing buffer {"connection_id":111609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3720b30012d19ce80072018f00029014922..."} 
[2026-06-23 13:18:51] local.INFO: Packet analysis {"connection_id":111609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:18:51] local.INFO: Extracted packet for processing {"connection_id":111609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":34,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243398912001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200798000,"timestamp_ms":1782200798000,"timestamp_seconds":1782200798,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3720b30"} 
[2026-06-23 13:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:18: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-06-23 13:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 13:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243398912001,"66":12613,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243398912001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:18:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243398912001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":111609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:18:51] local.INFO: GPS data processed {"connection_id":111609,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:18:51] local.INFO: Acknowledgment sent {"connection_id":111609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:19:02] local.INFO: TCP Data received {"connection_id":112548,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:02] local.INFO: Processing buffer {"connection_id":112548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:02] local.INFO: Packet analysis {"connection_id":112548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:02] local.INFO: Extracted packet for processing {"connection_id":112548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:19:02] 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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:19: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-06-23 13: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-06-23 13:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":112548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:19:02] local.INFO: GPS data processed {"connection_id":112548,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:19:02] local.INFO: Acknowledgment sent {"connection_id":112548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:19:13] local.INFO: TCP Data received {"connection_id":111610,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:19:13] local.INFO: Processing buffer {"connection_id":111610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:19:13] local.INFO: IMEI packet received {"connection_id":111610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":111610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:19:19] local.INFO: TCP Data received {"connection_id":111610,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:19:19] local.INFO: Processing buffer {"connection_id":111610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:19:19] local.INFO: IMEI packet received {"connection_id":111610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":111610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:19:19] local.INFO: TCP Data received {"connection_id":111610,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3725d38012d19ce80072018f00029014923..."} 
[2026-06-23 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3725d38012d19ce80072018f00029014923..."} 
[2026-06-23 13:19:19] local.INFO: Processing buffer {"connection_id":111610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3725d38012d19ce80072018f00029014923..."} 
[2026-06-23 13:19:19] local.INFO: Packet analysis {"connection_id":111610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:19] local.INFO: Extracted packet for processing {"connection_id":111610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243404288001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200819000,"timestamp_ms":1782200819000,"timestamp_seconds":1782200819,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3725d38"} 
[2026-06-23 13:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:19: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-06-23 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 13:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243404288001,"66":12743,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243404288001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:19:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243404288001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":111610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:19:19] local.INFO: GPS data processed {"connection_id":111610,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:19:19] local.INFO: Acknowledgment sent {"connection_id":111610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:19:29] local.INFO: TCP Data received {"connection_id":111611,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:19:29] local.INFO: Processing buffer {"connection_id":111611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:19:29] local.INFO: IMEI packet received {"connection_id":111611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":111611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:19:34] local.INFO: TCP Data received {"connection_id":111611,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:19:34] local.INFO: Processing buffer {"connection_id":111611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:19:34] local.INFO: IMEI packet received {"connection_id":111611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":111611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:19:35] local.INFO: TCP Data received {"connection_id":110808,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:19:35] local.INFO: Processing buffer {"connection_id":110808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:19:35] local.INFO: IMEI packet received {"connection_id":110808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":110808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:19:35] local.INFO: TCP Data received {"connection_id":111611,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:35] local.INFO: Processing buffer {"connection_id":111611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:35] local.INFO: Packet analysis {"connection_id":111611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:35] local.INFO: Extracted packet for processing {"connection_id":111611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:19: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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:19: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-06-23 13: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-06-23 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":111611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:19:35] local.INFO: GPS data processed {"connection_id":111611,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:19:35] local.INFO: Acknowledgment sent {"connection_id":111611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:19:40] local.INFO: TCP Data received {"connection_id":111611,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:40] local.INFO: Processing buffer {"connection_id":111611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:19:40] local.INFO: Packet analysis {"connection_id":111611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:40] local.INFO: Extracted packet for processing {"connection_id":111611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:19:40] 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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:19: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-06-23 13: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-06-23 13:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:19:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":111611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:19:40] local.INFO: GPS data processed {"connection_id":111611,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:19:40] local.INFO: Acknowledgment sent {"connection_id":111611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:19:50] local.INFO: TCP Data received {"connection_id":111610,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef372af40012d19ce80072018f00029014924..."} 
[2026-06-23 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef372af40012d19ce80072018f00029014924..."} 
[2026-06-23 13:19:50] local.INFO: Processing buffer {"connection_id":111610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef372af40012d19ce80072018f00029014924..."} 
[2026-06-23 13:19:50] local.INFO: Packet analysis {"connection_id":111610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:50] local.INFO: Extracted packet for processing {"connection_id":111610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":36,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243409664001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782200840000,"timestamp_ms":1782200840000,"timestamp_seconds":1782200840,"priority":1,"record_length":96,"hex_timestamp":"0000019ef372af40"} 
[2026-06-23 13:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:19: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-06-23 13: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 13:19:50] 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-06-23 13: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-06-23 13:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243409664001,"66":12711,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243409664001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:19:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243409664001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":111610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:19:50] local.INFO: GPS data processed {"connection_id":111610,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:19:50] local.INFO: Acknowledgment sent {"connection_id":111610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:20:07] local.INFO: TCP Data received {"connection_id":110809,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:20:07] local.INFO: Processing buffer {"connection_id":110809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:20:07] local.INFO: IMEI packet received {"connection_id":110809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":110809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:20:19] local.INFO: TCP Data received {"connection_id":112549,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:20:19] local.INFO: Processing buffer {"connection_id":112549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:20:19] local.INFO: IMEI packet received {"connection_id":112549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":112549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:20:24] local.INFO: TCP Data received {"connection_id":112549,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:20:24] local.INFO: Processing buffer {"connection_id":112549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:20:24] local.INFO: IMEI packet received {"connection_id":112549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":112549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:20:24] local.INFO: TCP Data received {"connection_id":112549,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3730148012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3730148012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:24] local.INFO: Processing buffer {"connection_id":112549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3730148012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:24] local.INFO: Packet analysis {"connection_id":112549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:20:24] local.INFO: Extracted packet for processing {"connection_id":112549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:20: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-06-23 13:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243415040001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:24] 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-06-23 13:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782200861000,"timestamp_ms":1782200861000,"timestamp_seconds":1782200861,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3730148"} 
[2026-06-23 13:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:20: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-06-23 13:20: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-06-23 13:20: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-06-23 13:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243415040001,"66":12689,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243415040001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243415040001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":112549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:20:24] local.INFO: GPS data processed {"connection_id":112549,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:20:24] local.INFO: Acknowledgment sent {"connection_id":112549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:20:24] local.INFO: TCP Data received {"connection_id":112550,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:20:24] local.INFO: Processing buffer {"connection_id":112550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:20:24] local.INFO: IMEI packet received {"connection_id":112550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":112550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:20:25] local.INFO: TCP Data received {"connection_id":112549,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3735350012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3735350012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:25] local.INFO: Processing buffer {"connection_id":112549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3735350012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:25] local.INFO: Packet analysis {"connection_id":112549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:20:25] local.INFO: Extracted packet for processing {"connection_id":112549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:20: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-06-23 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243420416001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782200882000,"timestamp_ms":1782200882000,"timestamp_seconds":1782200882,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3735350"} 
[2026-06-23 13:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:20: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-06-23 13:20: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-06-23 13:20: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-06-23 13:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243420416001,"66":12667,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243420416001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:20:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:20:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243420416001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":112549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:20:25] local.INFO: GPS data processed {"connection_id":112549,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:20:25] local.INFO: Acknowledgment sent {"connection_id":112549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:20:29] local.INFO: TCP Data received {"connection_id":112550,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:20:29] local.INFO: Processing buffer {"connection_id":112550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:20:29] local.INFO: IMEI packet received {"connection_id":112550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":112550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:20:30] local.INFO: TCP Data received {"connection_id":112550,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:20:30] local.INFO: Processing buffer {"connection_id":112550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:20:30] local.INFO: Packet analysis {"connection_id":112550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:20:30] local.INFO: Extracted packet for processing {"connection_id":112550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:20:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:20:30] 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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:20: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-06-23 13: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-06-23 13:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:20:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":112550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:20:31] local.INFO: GPS data processed {"connection_id":112550,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:20:31] local.INFO: Acknowledgment sent {"connection_id":112550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:20:56] local.INFO: TCP Data received {"connection_id":112549,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef373a558012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef373a558012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:56] local.INFO: Processing buffer {"connection_id":112549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef373a558012d19ce80072018f00029014923..."} 
[2026-06-23 13:20:56] local.INFO: Packet analysis {"connection_id":112549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:20:56] local.INFO: Extracted packet for processing {"connection_id":112549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243425792001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:20: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-06-23 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782200903000,"timestamp_ms":1782200903000,"timestamp_seconds":1782200903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef373a558"} 
[2026-06-23 13:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 13:20: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-06-23 13: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-06-23 13:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":112549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":112549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":112549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243425792001,"66":12591,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243425792001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:20:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243425792001,"power":12591,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":112549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:20:56] local.INFO: GPS data processed {"connection_id":112549,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:20:56] local.INFO: Acknowledgment sent {"connection_id":112549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:21:02] local.INFO: TCP Data received {"connection_id":112550,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:21:02] local.INFO: Processing buffer {"connection_id":112550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:21:02] local.INFO: Packet analysis {"connection_id":112550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:21:02] local.INFO: Extracted packet for processing {"connection_id":112550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 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-06-23 13:21:02] 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-06-23 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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:21: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-06-23 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-06-23 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-06-23 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":112550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:21:02] local.INFO: GPS data processed {"connection_id":112550,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:21:02] local.INFO: Acknowledgment sent {"connection_id":112550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:21:13] local.INFO: TCP Data received {"connection_id":110811,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:21:13] local.INFO: Processing buffer {"connection_id":110811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:21:13] local.INFO: IMEI packet received {"connection_id":110811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":110811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:21:19] local.INFO: TCP Data received {"connection_id":110811,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:21:19] local.INFO: Processing buffer {"connection_id":110811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:21:19] local.INFO: IMEI packet received {"connection_id":110811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":110811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:21:19] local.INFO: TCP Data received {"connection_id":110811,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef373f760012d19ce80072018f00029014923..."} 
[2026-06-23 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef373f760012d19ce80072018f00029014923..."} 
[2026-06-23 13:21:19] local.INFO: Processing buffer {"connection_id":110811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef373f760012d19ce80072018f00029014923..."} 
[2026-06-23 13:21:19] local.INFO: Packet analysis {"connection_id":110811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:21:19] local.INFO: Extracted packet for processing {"connection_id":110811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef373"} 
[2026-06-23 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243431168001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200924000,"timestamp_ms":1782200924000,"timestamp_seconds":1782200924,"priority":1,"record_length":96,"hex_timestamp":"0000019ef373f760"} 
[2026-06-23 13:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:21: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-06-23 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 13:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243431168001,"66":12537,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243431168001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:21:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243431168001,"power":12537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":110811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:21:19] local.INFO: GPS data processed {"connection_id":110811,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:21:19] local.INFO: Acknowledgment sent {"connection_id":110811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:21:24] local.INFO: TCP Data received {"connection_id":111612,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:21:24] local.INFO: Processing buffer {"connection_id":111612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:21:24] local.INFO: IMEI packet received {"connection_id":111612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":111612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:21:29] local.INFO: TCP Data received {"connection_id":111612,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:21:29] local.INFO: Processing buffer {"connection_id":111612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:21:29] local.INFO: IMEI packet received {"connection_id":111612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":111612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:21:30] local.INFO: TCP Data received {"connection_id":111612,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:21:30] local.INFO: Processing buffer {"connection_id":111612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:21:30] local.INFO: Packet analysis {"connection_id":111612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:21:30] local.INFO: Extracted packet for processing {"connection_id":111612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:21:30] 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-06-23 13:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:21: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-06-23 13:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":111612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:21:30] local.INFO: GPS data processed {"connection_id":111612,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:21:30] local.INFO: Acknowledgment sent {"connection_id":111612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:21:50] local.INFO: TCP Data received {"connection_id":110811,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3744968012d19ce80072018f00029014923..."} 
[2026-06-23 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3744968012d19ce80072018f00029014923..."} 
[2026-06-23 13:21:50] local.INFO: Processing buffer {"connection_id":110811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3744968012d19ce80072018f00029014923..."} 
[2026-06-23 13:21:50] local.INFO: Packet analysis {"connection_id":110811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef374"} 
[2026-06-23 13:21:50] local.INFO: Extracted packet for processing {"connection_id":110811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef374"} 
[2026-06-23 13:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243436544001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782200945000,"timestamp_ms":1782200945000,"timestamp_seconds":1782200945,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3744968"} 
[2026-06-23 13:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:21: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-06-23 13:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-23 13:21:50] 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-06-23 13:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243436544001,"66":12548,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243436544001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:21:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243436544001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":110811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:21:50] local.INFO: GPS data processed {"connection_id":110811,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:21:50] local.INFO: Acknowledgment sent {"connection_id":110811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:22:02] local.INFO: TCP Data received {"connection_id":111612,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:22:02] local.INFO: Processing buffer {"connection_id":111612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:22:02] local.INFO: Packet analysis {"connection_id":111612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:22:02] local.INFO: Extracted packet for processing {"connection_id":111612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:22:02] 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-06-23 13: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:22: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-06-23 13: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-06-23 13:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:22:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":111612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:22:02] local.INFO: GPS data processed {"connection_id":111612,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:22:02] local.INFO: Acknowledgment sent {"connection_id":111612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:22:13] local.INFO: TCP Data received {"connection_id":112552,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:22:13] local.INFO: Processing buffer {"connection_id":112552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:22:13] local.INFO: IMEI packet received {"connection_id":112552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":112552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:22:19] local.INFO: TCP Data received {"connection_id":112552,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:22:19] local.INFO: Processing buffer {"connection_id":112552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:22:19] local.INFO: IMEI packet received {"connection_id":112552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":112552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:22:19] local.INFO: TCP Data received {"connection_id":112552,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3749b70012d19ce80072018f00029014920..."} 
[2026-06-23 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3749b70012d19ce80072018f00029014920..."} 
[2026-06-23 13:22:19] local.INFO: Processing buffer {"connection_id":112552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3749b70012d19ce80072018f00029014920..."} 
[2026-06-23 13:22:19] local.INFO: Packet analysis {"connection_id":112552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef374"} 
[2026-06-23 13:22:19] local.INFO: Extracted packet for processing {"connection_id":112552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef374"} 
[2026-06-23 13:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243441920001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782200966000,"timestamp_ms":1782200966000,"timestamp_seconds":1782200966,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3749b70"} 
[2026-06-23 13:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:22: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-06-23 13:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4084358456,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":24577,"corrected_to":0} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184209809613,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2147950616,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,101,83,24,241,157,16,12,158,247,45,128,41,35,10,66,165,1,240,123,227,243,32,4,113,205,175,206,36,239,49,2,14,7,120],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":247,"original":24577,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-06-23 13:22:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954723245204439040,"timestamp_seconds":2954723245204439.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 13:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243441920001,"66":11711,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243441920001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:22:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243441920001,"power":11711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":112552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:22:20] local.INFO: GPS data processed {"connection_id":112552,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:22:20] local.INFO: Acknowledgment sent {"connection_id":112552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:22:24] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:22:24] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:22:24] local.INFO: IMEI packet received {"connection_id":110812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":110812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:22:29] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:22:29] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:22:29] local.INFO: IMEI packet received {"connection_id":110812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":110812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:22:30] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:22:30] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3729000012cb29b8007823df8004a00cf25..."} 
[2026-06-23 13:22:30] local.INFO: Packet analysis {"connection_id":110812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:22:30] local.INFO: Extracted packet for processing {"connection_id":110812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef372"} 
[2026-06-23 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243335936001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782200832000,"timestamp_ms":1782200832000,"timestamp_seconds":1782200832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3729000"} 
[2026-06-23 13:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:22:30] 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-06-23 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:22: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-06-23 13:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243335936001,"66":25473,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243335936001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243335936001,"power":25473,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":110812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:22:30] local.INFO: GPS data processed {"connection_id":110812,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:22:30] local.INFO: Acknowledgment sent {"connection_id":110812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:22:51] local.INFO: TCP Data received {"connection_id":112552,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef374ed78012d19ce80072018f00029014920..."} 
[2026-06-23 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef374ed78012d19ce80072018f00029014920..."} 
[2026-06-23 13:22:51] local.INFO: Processing buffer {"connection_id":112552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef374ed78012d19ce80072018f00029014920..."} 
[2026-06-23 13:22:51] local.INFO: Packet analysis {"connection_id":112552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef374"} 
[2026-06-23 13:22:51] local.INFO: Extracted packet for processing {"connection_id":112552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef374"} 
[2026-06-23 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":32,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243447296001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782200987000,"timestamp_ms":1782200987000,"timestamp_seconds":1782200987,"priority":1,"record_length":96,"hex_timestamp":"0000019ef374ed78"} 
[2026-06-23 13:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-23 13:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243447296001,"66":12461,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243447296001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:22:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243447296001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":112552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:22:51] local.INFO: GPS data processed {"connection_id":112552,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:22:51] local.INFO: Acknowledgment sent {"connection_id":112552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:23:02] local.INFO: TCP Data received {"connection_id":110812,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:23:02] local.INFO: Processing buffer {"connection_id":110812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:23:02] local.INFO: Packet analysis {"connection_id":110812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:23:02] local.INFO: Extracted packet for processing {"connection_id":110812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:23:02] 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-06-23 13: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-06-23 13: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-06-23 13: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-06-23 13:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":110812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:23:02] local.INFO: GPS data processed {"connection_id":110812,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:23:02] local.INFO: Acknowledgment sent {"connection_id":110812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:23:12] local.INFO: TCP Data received {"connection_id":110996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:12] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:12] local.INFO: IMEI packet received {"connection_id":110996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":110996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:23:13] local.INFO: TCP Data received {"connection_id":110996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:13] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:13] local.INFO: IMEI packet received {"connection_id":110996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":110996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:23:19] local.INFO: TCP Data received {"connection_id":110996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:19] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:23:19] local.INFO: IMEI packet received {"connection_id":110996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":110996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:23:19] local.INFO: TCP Data received {"connection_id":110996,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3753f80012d19ce80072018f00029014921..."} 
[2026-06-23 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3753f80012d19ce80072018f00029014921..."} 
[2026-06-23 13:23:19] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3753f80012d19ce80072018f00029014921..."} 
[2026-06-23 13:23:19] local.INFO: Packet analysis {"connection_id":110996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef375"} 
[2026-06-23 13:23:19] local.INFO: Extracted packet for processing {"connection_id":110996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef375"} 
[2026-06-23 13:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243452672001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201008000,"timestamp_ms":1782201008000,"timestamp_seconds":1782201008,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3753f80"} 
[2026-06-23 13:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 13:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243452672001,"66":12504,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243452672001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:23:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243452672001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":110996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:23:19] local.INFO: GPS data processed {"connection_id":110996,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:23:19] local.INFO: Acknowledgment sent {"connection_id":110996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:23:24] local.INFO: TCP Data received {"connection_id":112553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:23:24] local.INFO: Processing buffer {"connection_id":112553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:23:24] local.INFO: IMEI packet received {"connection_id":112553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":112553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:23:29] local.INFO: TCP Data received {"connection_id":112553,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:23:29] local.INFO: Processing buffer {"connection_id":112553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:23:29] local.INFO: IMEI packet received {"connection_id":112553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":112553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:23:31] local.INFO: TCP Data received {"connection_id":112553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:23:31] local.INFO: Processing buffer {"connection_id":112553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:23:31] local.INFO: Packet analysis {"connection_id":112553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:23:31] local.INFO: Extracted packet for processing {"connection_id":112553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:23:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 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-06-23 13:23:31] 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-06-23 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":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:23: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-06-23 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-06-23 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-06-23 13:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:23:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:23:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":112553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:23:31] local.INFO: GPS data processed {"connection_id":112553,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:23:31] local.INFO: Acknowledgment sent {"connection_id":112553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:23:50] local.INFO: TCP Data received {"connection_id":110996,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3759188012d19ce80072018f00029014921..."} 
[2026-06-23 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3759188012d19ce80072018f00029014921..."} 
[2026-06-23 13:23:50] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3759188012d19ce80072018f00029014921..."} 
[2026-06-23 13:23:50] local.INFO: Packet analysis {"connection_id":110996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef375"} 
[2026-06-23 13:23:50] local.INFO: Extracted packet for processing {"connection_id":110996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef375"} 
[2026-06-23 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243458048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201029000,"timestamp_ms":1782201029000,"timestamp_seconds":1782201029,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3759188"} 
[2026-06-23 13:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:23: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-06-23 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 13:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243458048001,"66":12461,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243458048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:23:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243458048001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":110996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:23:51] local.INFO: GPS data processed {"connection_id":110996,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:23:51] local.INFO: Acknowledgment sent {"connection_id":110996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:24:03] local.INFO: TCP Data received {"connection_id":112553,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:24:03] local.INFO: Processing buffer {"connection_id":112553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:24:03] local.INFO: Packet analysis {"connection_id":112553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:24:03] local.INFO: Extracted packet for processing {"connection_id":112553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:24:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 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-06-23 13:24:03] 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-06-23 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":129,"data_length":795,"current_offset":136} 
[2026-06-23 13: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-06-23 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-06-23 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-06-23 13:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:24:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":112553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:24:03] local.INFO: GPS data processed {"connection_id":112553,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:24:03] local.INFO: Acknowledgment sent {"connection_id":112553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:24:13] local.INFO: TCP Data received {"connection_id":110997,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:13] local.INFO: Processing buffer {"connection_id":110997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:13] local.INFO: IMEI packet received {"connection_id":110997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":110997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:24:16] local.INFO: TCP Data received {"connection_id":110997,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:16] local.INFO: Processing buffer {"connection_id":110997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:16] local.INFO: IMEI packet received {"connection_id":110997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":110997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:24:19] local.INFO: TCP Data received {"connection_id":110997,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:19] local.INFO: Processing buffer {"connection_id":110997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:24:19] local.INFO: IMEI packet received {"connection_id":110997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":110997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:24:19] local.INFO: TCP Data received {"connection_id":110997,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef375e390012d19ce80072018f00029014923..."} 
[2026-06-23 13:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef375e390012d19ce80072018f00029014923..."} 
[2026-06-23 13:24:19] local.INFO: Processing buffer {"connection_id":110997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef375e390012d19ce80072018f00029014923..."} 
[2026-06-23 13:24:19] local.INFO: Packet analysis {"connection_id":110997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef375"} 
[2026-06-23 13:24:19] local.INFO: Extracted packet for processing {"connection_id":110997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef375"} 
[2026-06-23 13:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":35,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243463424001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201050000,"timestamp_ms":1782201050000,"timestamp_seconds":1782201050,"priority":1,"record_length":96,"hex_timestamp":"0000019ef375e390"} 
[2026-06-23 13:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 13:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243463424001,"66":12461,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243463424001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:24:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243463424001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":110997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:24:20] local.INFO: GPS data processed {"connection_id":110997,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:24:20] local.INFO: Acknowledgment sent {"connection_id":110997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:24:25] local.INFO: TCP Data received {"connection_id":110814,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:24:25] local.INFO: Processing buffer {"connection_id":110814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:24:25] local.INFO: IMEI packet received {"connection_id":110814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":110814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:24:29] local.INFO: TCP Data received {"connection_id":110814,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:24:29] local.INFO: Processing buffer {"connection_id":110814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:24:29] local.INFO: IMEI packet received {"connection_id":110814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":110814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:24:35] local.INFO: TCP Data received {"connection_id":110814,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:24:35] local.INFO: Processing buffer {"connection_id":110814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:24:35] local.INFO: Packet analysis {"connection_id":110814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:24:35] local.INFO: Extracted packet for processing {"connection_id":110814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:24:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:24: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-06-23 13:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:24:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:24:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":110814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:24:35] local.INFO: GPS data processed {"connection_id":110814,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:24:35] local.INFO: Acknowledgment sent {"connection_id":110814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:24:50] local.INFO: TCP Data received {"connection_id":110997,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3763598012d19ce80072018f00029014924..."} 
[2026-06-23 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3763598012d19ce80072018f00029014924..."} 
[2026-06-23 13:24:50] local.INFO: Processing buffer {"connection_id":110997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3763598012d19ce80072018f00029014924..."} 
[2026-06-23 13:24:50] local.INFO: Packet analysis {"connection_id":110997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef376"} 
[2026-06-23 13:24:50] local.INFO: Extracted packet for processing {"connection_id":110997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef376"} 
[2026-06-23 13:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119544048,"longitude_deg":75.6665984,"latitude_deg":11.9544048,"altitude":41,"angle":329,"satellites":36,"speed":0,"hex_longitude":"2d19ce80","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243468800001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3953985547403264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242225152,"note":"Value kept but may cause issues"} 
[2026-06-23 13:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201071000,"timestamp_ms":1782201071000,"timestamp_seconds":1782201071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3763598"} 
[2026-06-23 13:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:24: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-06-23 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 13:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243468800001,"66":12439,"101":206,"83":41984,"24":0,"16":3953985547403264,"45":1859564464242225152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243468800001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:24:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3953985547403264,"km_value":3953985547403.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242225152,"description":"Unknown IO ID 45"} 
[2026-06-23 13:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243468800001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859564464242225152}} 
[2026-06-23 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":110997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:24:51] local.INFO: GPS data processed {"connection_id":110997,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:24:51] local.INFO: Acknowledgment sent {"connection_id":110997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:25:07] local.INFO: TCP Data received {"connection_id":110814,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:25:07] local.INFO: Processing buffer {"connection_id":110814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:25:07] local.INFO: Packet analysis {"connection_id":110814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:25:07] local.INFO: Extracted packet for processing {"connection_id":110814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:25:07] 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-06-23 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:25: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-06-23 13: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-06-23 13:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":110814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":110814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":110814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:25:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:25:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:25:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":110814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:25:07] local.INFO: GPS data processed {"connection_id":110814,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:25:07] local.INFO: Acknowledgment sent {"connection_id":110814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:25:12] local.INFO: TCP Data received {"connection_id":111615,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:12] local.INFO: Processing buffer {"connection_id":111615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:12] local.INFO: IMEI packet received {"connection_id":111615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":111615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:25:13] local.INFO: TCP Data received {"connection_id":111615,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:13] local.INFO: Processing buffer {"connection_id":111615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:13] local.INFO: IMEI packet received {"connection_id":111615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":111615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:25:14] local.INFO: TCP Data received {"connection_id":111615,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:14] local.INFO: Processing buffer {"connection_id":111615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:14] local.INFO: IMEI packet received {"connection_id":111615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":111615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:25:17] local.INFO: TCP Data received {"connection_id":111615,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:17] local.INFO: Processing buffer {"connection_id":111615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:25:17] local.INFO: IMEI packet received {"connection_id":111615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":111615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:25:22] local.INFO: TCP Data received {"connection_id":112554,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:25:22] local.INFO: Processing buffer {"connection_id":112554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:25:22] local.INFO: IMEI packet received {"connection_id":112554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":112554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:25:24] local.INFO: TCP Data received {"connection_id":112555,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:25:24] local.INFO: Processing buffer {"connection_id":112555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:25:24] local.INFO: IMEI packet received {"connection_id":112555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":112555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:25:29] local.INFO: TCP Data received {"connection_id":112555,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:25:29] local.INFO: Processing buffer {"connection_id":112555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:25:29] local.INFO: IMEI packet received {"connection_id":112555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":112555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:25:31] local.INFO: TCP Data received {"connection_id":112555,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:25:31] local.INFO: Processing buffer {"connection_id":112555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:25:31] local.INFO: Packet analysis {"connection_id":112555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:25:31] local.INFO: Extracted packet for processing {"connection_id":112555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 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-06-23 13:25:31] 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-06-23 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":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:25: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-06-23 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-06-23 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-06-23 13:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:25:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:25:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":112555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:25:31] local.INFO: GPS data processed {"connection_id":112555,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:25:31] local.INFO: Acknowledgment sent {"connection_id":112555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:26:02] local.INFO: TCP Data received {"connection_id":112555,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:26:02] local.INFO: Processing buffer {"connection_id":112555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:26:02] local.INFO: Packet analysis {"connection_id":112555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:26:02] local.INFO: Extracted packet for processing {"connection_id":112555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:26:02] 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-06-23 13: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":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:26: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-06-23 13: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-06-23 13:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":112555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:26:02] local.INFO: GPS data processed {"connection_id":112555,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:26:02] local.INFO: Acknowledgment sent {"connection_id":112555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:26:06] local.INFO: TCP Data received {"connection_id":111616,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:26:06] local.INFO: Processing buffer {"connection_id":111616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:26:06] local.INFO: IMEI packet received {"connection_id":111616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":111616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:26:24] local.INFO: TCP Data received {"connection_id":110998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:26:24] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:26:24] local.INFO: IMEI packet received {"connection_id":110998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":110998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:26:29] local.INFO: TCP Data received {"connection_id":110998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:26:29] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:26:29] local.INFO: IMEI packet received {"connection_id":110998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":110998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:26:30] local.INFO: TCP Data received {"connection_id":110998,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:26:30] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:26:30] local.INFO: Packet analysis {"connection_id":110998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:26:30] local.INFO: Extracted packet for processing {"connection_id":110998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:26:30] 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-06-23 13: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-06-23 13: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-06-23 13: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-06-23 13:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":110998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:26:30] local.INFO: GPS data processed {"connection_id":110998,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:26:30] local.INFO: Acknowledgment sent {"connection_id":110998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:27:02] local.INFO: TCP Data received {"connection_id":110998,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:02] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:02] local.INFO: Packet analysis {"connection_id":110998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:27:02] local.INFO: Extracted packet for processing {"connection_id":110998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:27:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:27:02] 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-06-23 13: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-06-23 13: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-06-23 13: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-06-23 13:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":110998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:27:02] local.INFO: GPS data processed {"connection_id":110998,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:27:02] local.INFO: Acknowledgment sent {"connection_id":110998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:27:29] local.INFO: TCP Data received {"connection_id":111618,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:27:29] local.INFO: Processing buffer {"connection_id":111618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:27:29] local.INFO: IMEI packet received {"connection_id":111618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":111618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:27:34] local.INFO: TCP Data received {"connection_id":111618,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:27:34] local.INFO: Processing buffer {"connection_id":111618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:27:34] local.INFO: IMEI packet received {"connection_id":111618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":111618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:27:35] local.INFO: TCP Data received {"connection_id":111618,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:35] local.INFO: Processing buffer {"connection_id":111618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:35] local.INFO: Packet analysis {"connection_id":111618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:27:35] local.INFO: Extracted packet for processing {"connection_id":111618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:27:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:27: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-06-23 13:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":111618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:27:35] local.INFO: GPS data processed {"connection_id":111618,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:27:35] local.INFO: Acknowledgment sent {"connection_id":111618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:27:40] local.INFO: TCP Data received {"connection_id":111618,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:40] local.INFO: Processing buffer {"connection_id":111618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37727c8012cb29b8007823df8004a00cf20..."} 
[2026-06-23 13:27:40] local.INFO: Packet analysis {"connection_id":111618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:27:40] local.INFO: Extracted packet for processing {"connection_id":111618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef377"} 
[2026-06-23 13:27:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243412992001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782201133000,"timestamp_ms":1782201133000,"timestamp_seconds":1782201133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37727c8"} 
[2026-06-23 13:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:27:40] 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-06-23 13:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:27: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-06-23 13:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243412992001,"66":25462,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243412992001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:27:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:27:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243412992001,"power":25462,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":111618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:27:40] local.INFO: GPS data processed {"connection_id":111618,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:27:40] local.INFO: Acknowledgment sent {"connection_id":111618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:28:24] local.INFO: TCP Data received {"connection_id":110816,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:28:24] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:28:24] local.INFO: IMEI packet received {"connection_id":110816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":110816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:28:29] local.INFO: TCP Data received {"connection_id":110816,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:28:29] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:28:29] local.INFO: IMEI packet received {"connection_id":110816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":110816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:28:30] local.INFO: TCP Data received {"connection_id":110816,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:28:30] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:28:30] local.INFO: Packet analysis {"connection_id":110816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:28:30] local.INFO: Extracted packet for processing {"connection_id":110816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:28:30] 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-06-23 13:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13: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-06-23 13:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:28:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:28:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":110816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:28:30] local.INFO: GPS data processed {"connection_id":110816,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:28:30] local.INFO: Acknowledgment sent {"connection_id":110816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:29:02] local.INFO: TCP Data received {"connection_id":110816,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:29:02] local.INFO: Processing buffer {"connection_id":110816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:29:02] local.INFO: Packet analysis {"connection_id":110816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:29:02] local.INFO: Extracted packet for processing {"connection_id":110816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:29:02] 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-06-23 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":110816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:29:02] local.INFO: GPS data processed {"connection_id":110816,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:29:02] local.INFO: Acknowledgment sent {"connection_id":110816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:29:24] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:29:24] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:29:24] local.INFO: IMEI packet received {"connection_id":111001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":111001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:29:29] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:29:29] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:29:29] local.INFO: IMEI packet received {"connection_id":111001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":111001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:29:30] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:29:30] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:29:30] local.INFO: Packet analysis {"connection_id":111001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:29:30] local.INFO: Extracted packet for processing {"connection_id":111001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:29:30] 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-06-23 13: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-06-23 13: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-06-23 13: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-06-23 13:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:29:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":111001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:29:30] local.INFO: GPS data processed {"connection_id":111001,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:29:30] local.INFO: Acknowledgment sent {"connection_id":111001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:30:02] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:30:02] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:30:02] local.INFO: Packet analysis {"connection_id":111001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:30:02] local.INFO: Extracted packet for processing {"connection_id":111001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 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-06-23 13:30:02] 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-06-23 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":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:30: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-06-23 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-06-23 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-06-23 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":111001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:30:02] local.INFO: GPS data processed {"connection_id":111001,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:30:02] local.INFO: Acknowledgment sent {"connection_id":111001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:30:19] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:30:19] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:30:19] local.INFO: IMEI packet received {"connection_id":110818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":110818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:30:19] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37a7770012d19a0c0071fef50003500fd25..."} 
[2026-06-23 13:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37a7770012d19a0c0071fef50003500fd25..."} 
[2026-06-23 13:30:19] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37a7770012d19a0c0071fef50003500fd25..."} 
[2026-06-23 13:30:19] local.INFO: Packet analysis {"connection_id":110818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:30:19] local.INFO: Extracted packet for processing {"connection_id":110818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756654272,"raw_latitude":119533392,"longitude_deg":75.6654272,"latitude_deg":11.9533392,"altitude":53,"angle":253,"satellites":37,"speed":12,"hex_longitude":"2d19a0c0","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-06-23 13:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243545088001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955364231905280,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496824832,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201350000,"timestamp_ms":1782201350000,"timestamp_seconds":1782201350,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37a7770"} 
[2026-06-23 13:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-23 13:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243545088001,"66":13015,"101":206,"83":41984,"24":12,"16":3955364231905280,"45":1847390671496824832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-06-23 13:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243545088001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:30:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 13:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955364231905280,"km_value":3955364231905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496824832,"description":"Unknown IO ID 45"} 
[2026-06-23 13:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243545088001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1847390671496824832}} 
[2026-06-23 13:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":110818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:30:19] local.INFO: GPS data processed {"connection_id":110818,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:30:19] local.INFO: Acknowledgment sent {"connection_id":110818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:30:24] local.INFO: TCP Data received {"connection_id":111002,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:30:24] local.INFO: Processing buffer {"connection_id":111002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:30:24] local.INFO: IMEI packet received {"connection_id":111002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":111002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:30:29] local.INFO: TCP Data received {"connection_id":111002,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:30:29] local.INFO: Processing buffer {"connection_id":111002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:30:29] local.INFO: IMEI packet received {"connection_id":111002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":111002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:30:30] local.INFO: TCP Data received {"connection_id":111002,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:30:30] local.INFO: Processing buffer {"connection_id":111002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:30:30] local.INFO: Packet analysis {"connection_id":111002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:30:30] local.INFO: Extracted packet for processing {"connection_id":111002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:30:30] 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-06-23 13: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-06-23 13: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-06-23 13: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-06-23 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":111002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:30:30] local.INFO: GPS data processed {"connection_id":111002,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:30:30] local.INFO: Acknowledgment sent {"connection_id":111002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:30:51] local.INFO: TCP Data received {"connection_id":110818,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37a7f40012d199e00071fef500036011626..."} 
[2026-06-23 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37a7f40012d199e00071fef500036011626..."} 
[2026-06-23 13:30:51] local.INFO: Processing buffer {"connection_id":110818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37a7f40012d199e00071fef500036011626..."} 
[2026-06-23 13:30:51] local.INFO: Packet analysis {"connection_id":110818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:30:51] local.INFO: Extracted packet for processing {"connection_id":110818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756653568,"raw_latitude":119533392,"longitude_deg":75.6653568,"latitude_deg":11.9533392,"altitude":54,"angle":278,"satellites":38,"speed":15,"hex_longitude":"2d199e00","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-06-23 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243545600001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955394296676352,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846686984054984704,"note":"Value kept but may cause issues"} 
[2026-06-23 13:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782201352000,"timestamp_ms":1782201352000,"timestamp_seconds":1782201352,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37a7f40"} 
[2026-06-23 13:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 13:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243545600001,"66":12667,"102":206,"83":41984,"24":15,"16":3955394296676352,"45":1846686984054984704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243545600001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:30:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955394296676352,"km_value":3955394296676.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846686984054984704,"description":"Unknown IO ID 45"} 
[2026-06-23 13:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243545600001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846686984054984704}} 
[2026-06-23 13:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":110818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:30:51] local.INFO: GPS data processed {"connection_id":110818,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:30:51] local.INFO: Acknowledgment sent {"connection_id":110818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:31:07] local.INFO: TCP Data received {"connection_id":111002,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:31:07] local.INFO: Processing buffer {"connection_id":111002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:31:07] local.INFO: Packet analysis {"connection_id":111002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:31:07] local.INFO: Extracted packet for processing {"connection_id":111002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:31:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:31:07] 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-06-23 13:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:31:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:31:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:31:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":111002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:31:07] local.INFO: GPS data processed {"connection_id":111002,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:31:07] local.INFO: Acknowledgment sent {"connection_id":111002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:31:19] local.INFO: TCP Data received {"connection_id":111003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:31:19] local.INFO: Processing buffer {"connection_id":111003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:31:19] local.INFO: IMEI packet received {"connection_id":111003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":111003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:31:24] local.INFO: TCP Data received {"connection_id":111003,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:31:24] local.INFO: Processing buffer {"connection_id":111003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:31:24] local.INFO: IMEI packet received {"connection_id":111003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":111003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:31:25] local.INFO: TCP Data received {"connection_id":111003,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:31:25] local.INFO: Processing buffer {"connection_id":111003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:31:25] local.INFO: Packet analysis {"connection_id":111003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:31:25] local.INFO: Extracted packet for processing {"connection_id":111003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756649216,"raw_latitude":119533736,"longitude_deg":75.6649216,"latitude_deg":11.9533736,"altitude":60,"angle":269,"satellites":36,"speed":18,"hex_longitude":"2d198d00","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-06-23 13:31:25] 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-06-23 13:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243546112001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845912927869030400,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782201362000,"timestamp_ms":1782201362000,"timestamp_seconds":1782201362,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37aa650"} 
[2026-06-23 13:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:31: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-06-23 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 13:31: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-06-23 13: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-06-23 13:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243546112001,"66":13243,"102":206,"83":41984,"24":18,"16":3955604750073856,"45":1845912927869030400},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243546112001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:31:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845912927869030400,"description":"Unknown IO ID 45"} 
[2026-06-23 13:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243546112001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1845912927869030400}} 
[2026-06-23 13:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":111003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:31:25] local.INFO: GPS data processed {"connection_id":111003,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:31:25] local.INFO: Acknowledgment sent {"connection_id":111003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:31:29] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:31:29] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:31:29] local.INFO: IMEI packet received {"connection_id":110820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:31:29] local.INFO: TCP Data received {"connection_id":111003,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:31:29] local.INFO: Processing buffer {"connection_id":111003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:31:29] local.INFO: Packet analysis {"connection_id":111003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:31:29] local.INFO: Extracted packet for processing {"connection_id":111003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756649216,"raw_latitude":119533736,"longitude_deg":75.6649216,"latitude_deg":11.9533736,"altitude":60,"angle":269,"satellites":36,"speed":18,"hex_longitude":"2d198d00","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-06-23 13:31:29] 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-06-23 13:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243548672001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853265037312,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782201362000,"timestamp_ms":1782201362000,"timestamp_seconds":1782201362,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37aa650"} 
[2026-06-23 13:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 13:31:29] 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-06-23 13: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-06-23 13:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243548672001,"66":13243,"102":206,"83":41984,"24":18,"16":3955604750073856,"45":1841127853265037312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243548672001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:31:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853265037312,"description":"Unknown IO ID 45"} 
[2026-06-23 13:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243548672001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1841127853265037312}} 
[2026-06-23 13:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":111003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:31:29] local.INFO: GPS data processed {"connection_id":111003,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:31:29] local.INFO: Acknowledgment sent {"connection_id":111003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:31:32] local.INFO: TCP Data received {"connection_id":110819,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:31:32] local.INFO: Processing buffer {"connection_id":110819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:31:32] local.INFO: IMEI packet received {"connection_id":110819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":110819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:31:37] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:31:37] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:31:37] local.INFO: IMEI packet received {"connection_id":110820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":110820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:31:39] local.INFO: TCP Data received {"connection_id":110820,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:31:39] local.INFO: Processing buffer {"connection_id":110820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:31:39] local.INFO: Packet analysis {"connection_id":110820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:31:39] local.INFO: Extracted packet for processing {"connection_id":110820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:31:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:31:39] 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-06-23 13:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:31: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-06-23 13:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:31:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":110820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:31:39] local.INFO: GPS data processed {"connection_id":110820,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:31:39] local.INFO: Acknowledgment sent {"connection_id":110820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:32:12] local.INFO: TCP Data received {"connection_id":111004,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:32:12] local.INFO: Processing buffer {"connection_id":111004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:32:12] local.INFO: IMEI packet received {"connection_id":111004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":111004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:32:14] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:32:14] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:32:14] local.INFO: IMEI packet received {"connection_id":110821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":110821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:32:19] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:32:19] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:32:19] local.INFO: IMEI packet received {"connection_id":110821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":110821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:32:19] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:32:19] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37aa650012d198d00071ff0a8003c010d24..."} 
[2026-06-23 13:32:19] local.INFO: Packet analysis {"connection_id":110821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:32:19] local.INFO: Extracted packet for processing {"connection_id":110821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756649216,"raw_latitude":119533736,"longitude_deg":75.6649216,"latitude_deg":11.9533736,"altitude":60,"angle":269,"satellites":36,"speed":18,"hex_longitude":"2d198d00","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-06-23 13:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243548672001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853265037312,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201362000,"timestamp_ms":1782201362000,"timestamp_seconds":1782201362,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37aa650"} 
[2026-06-23 13:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 13:32:19] 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-06-23 13:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243548672001,"66":13243,"102":206,"83":41984,"24":18,"16":3955604750073856,"45":1841127853265037312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243548672001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:32:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853265037312,"description":"Unknown IO ID 45"} 
[2026-06-23 13:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243548672001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1841127853265037312}} 
[2026-06-23 13:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":110821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:32:20] local.INFO: GPS data processed {"connection_id":110821,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:32:20] local.INFO: Acknowledgment sent {"connection_id":110821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:32:24] local.INFO: TCP Data received {"connection_id":111621,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:32:24] local.INFO: Processing buffer {"connection_id":111621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:32:24] local.INFO: IMEI packet received {"connection_id":111621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":111621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:32:29] local.INFO: TCP Data received {"connection_id":111621,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:32:29] local.INFO: Processing buffer {"connection_id":111621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:32:29] local.INFO: IMEI packet received {"connection_id":111621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":111621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:32:30] local.INFO: TCP Data received {"connection_id":111621,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:32:30] local.INFO: Processing buffer {"connection_id":111621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37bbf90012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:32:30] local.INFO: Packet analysis {"connection_id":111621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:32:30] local.INFO: Extracted packet for processing {"connection_id":111621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37b"} 
[2026-06-23 13:32:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243490048001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201434000,"timestamp_ms":1782201434000,"timestamp_seconds":1782201434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37bbf90"} 
[2026-06-23 13:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:32:30] 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-06-23 13: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-06-23 13: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-06-23 13: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-06-23 13:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243490048001,"66":25212,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243490048001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:32:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243490048001,"power":25212,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":111621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:32:30] local.INFO: GPS data processed {"connection_id":111621,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:32:30] local.INFO: Acknowledgment sent {"connection_id":111621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:32:50] local.INFO: TCP Data received {"connection_id":110821,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37ab5f0012d1985c0071feff8003d00f925..."} 
[2026-06-23 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37ab5f0012d1985c0071feff8003d00f925..."} 
[2026-06-23 13:32:50] local.INFO: Processing buffer {"connection_id":110821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37ab5f0012d1985c0071feff8003d00f925..."} 
[2026-06-23 13:32:50] local.INFO: Packet analysis {"connection_id":110821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:32:50] local.INFO: Extracted packet for processing {"connection_id":110821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756647360,"raw_latitude":119533560,"longitude_deg":75.664736,"latitude_deg":11.953356,"altitude":61,"angle":249,"satellites":37,"speed":17,"hex_longitude":"2d1985c0","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243548672001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853265037312,"note":"Value kept but may cause issues"} 
[2026-06-23 13:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201366000,"timestamp_ms":1782201366000,"timestamp_seconds":1782201366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37ab5f0"} 
[2026-06-23 13:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 13:32:50] 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-06-23 13: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-06-23 13:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243548672001,"66":2525,"102":206,"83":41984,"24":17,"16":3955604750073856,"45":1841127853265037312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243548672001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:32:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853265037312,"description":"Unknown IO ID 45"} 
[2026-06-23 13:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243548672001,"power":2525,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1841127853265037312}} 
[2026-06-23 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":110821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:32:51] local.INFO: GPS data processed {"connection_id":110821,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:32:51] local.INFO: Acknowledgment sent {"connection_id":110821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:33:02] local.INFO: TCP Data received {"connection_id":111621,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:33:02] local.INFO: Processing buffer {"connection_id":111621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:33:02] local.INFO: Packet analysis {"connection_id":111621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:33:02] local.INFO: Extracted packet for processing {"connection_id":111621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:33:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:33:02] 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-06-23 13:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:33:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":111621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:33:02] local.INFO: GPS data processed {"connection_id":111621,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:33:02] local.INFO: Acknowledgment sent {"connection_id":111621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:33:14] local.INFO: TCP Data received {"connection_id":112558,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:33:14] local.INFO: Processing buffer {"connection_id":112558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:33:14] local.INFO: IMEI packet received {"connection_id":112558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":112558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:33:19] local.INFO: TCP Data received {"connection_id":112558,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:33:19] local.INFO: Processing buffer {"connection_id":112558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:33:19] local.INFO: IMEI packet received {"connection_id":112558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":112558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:33:19] local.INFO: TCP Data received {"connection_id":112558,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37ab9d8012d198440071fef30003d00ee24..."} 
[2026-06-23 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37ab9d8012d198440071fef30003d00ee24..."} 
[2026-06-23 13:33:19] local.INFO: Processing buffer {"connection_id":112558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37ab9d8012d198440071fef30003d00ee24..."} 
[2026-06-23 13:33:19] local.INFO: Packet analysis {"connection_id":112558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:33:19] local.INFO: Extracted packet for processing {"connection_id":112558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37a"} 
[2026-06-23 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533360,"longitude_deg":75.6646976,"latitude_deg":11.953336,"altitude":61,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d198440","hex_latitude":"071fef30","is_valid_coordinates":true} 
[2026-06-23 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549696001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159683840000,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201367000,"timestamp_ms":1782201367000,"timestamp_seconds":1782201367,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37ab9d8"} 
[2026-06-23 13:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:33:19] 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-06-23 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 13:33:19] 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-06-23 13:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549696001,"66":2383,"102":206,"83":41984,"24":0,"16":3955604750073856,"45":1839087159683840000},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 13:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549696001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:33:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 13:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159683840000,"description":"Unknown IO ID 45"} 
[2026-06-23 13:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549696001,"power":2383,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839087159683840000}} 
[2026-06-23 13:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":112558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:33:20] local.INFO: GPS data processed {"connection_id":112558,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:33:20] local.INFO: Acknowledgment sent {"connection_id":112558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:33:24] local.INFO: TCP Data received {"connection_id":111622,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:33:24] local.INFO: Processing buffer {"connection_id":111622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:33:24] local.INFO: IMEI packet received {"connection_id":111622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":111622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:33:29] local.INFO: TCP Data received {"connection_id":111622,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:33:29] local.INFO: Processing buffer {"connection_id":111622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:33:29] local.INFO: IMEI packet received {"connection_id":111622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":111622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:33:30] local.INFO: TCP Data received {"connection_id":111622,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:33:30] local.INFO: Processing buffer {"connection_id":111622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:33:30] local.INFO: Packet analysis {"connection_id":111622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:33:30] local.INFO: Extracted packet for processing {"connection_id":111622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:33:30] 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-06-23 13: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:33:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":111622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:33:30] local.INFO: GPS data processed {"connection_id":111622,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:33:30] local.INFO: Acknowledgment sent {"connection_id":111622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:33:50] local.INFO: TCP Data received {"connection_id":112558,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:33:50] local.INFO: Processing buffer {"connection_id":112558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:33:50] local.INFO: Packet analysis {"connection_id":112558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:33:50] local.INFO: Extracted packet for processing {"connection_id":112558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:33: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-06-23 13:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:33: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:33:50] 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-06-23 13:33: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-06-23 13:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":112558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:33:51] local.INFO: GPS data processed {"connection_id":112558,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:33:51] local.INFO: Acknowledgment sent {"connection_id":112558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:34:02] local.INFO: TCP Data received {"connection_id":111622,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:34:02] local.INFO: Processing buffer {"connection_id":111622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:34:02] local.INFO: Packet analysis {"connection_id":111622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:34:02] local.INFO: Extracted packet for processing {"connection_id":111622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:34:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:34:02] 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-06-23 13:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":111622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:34:02] local.INFO: GPS data processed {"connection_id":111622,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:34:02] local.INFO: Acknowledgment sent {"connection_id":111622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:34:14] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:34:14] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:34:14] local.INFO: IMEI packet received {"connection_id":110823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":110823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:34:19] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:34:19] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:34:19] local.INFO: IMEI packet received {"connection_id":110823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":110823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:34:19] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:34:19] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:34:19] local.INFO: Packet analysis {"connection_id":110823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:34:19] local.INFO: Extracted packet for processing {"connection_id":110823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:34:19] 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-06-23 13:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:34:19] 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-06-23 13:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:34:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":110823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:34:19] local.INFO: GPS data processed {"connection_id":110823,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:34:19] local.INFO: Acknowledgment sent {"connection_id":110823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:34:24] local.INFO: TCP Data received {"connection_id":112559,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:34:24] local.INFO: Processing buffer {"connection_id":112559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:34:24] local.INFO: IMEI packet received {"connection_id":112559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":112559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:34:29] local.INFO: TCP Data received {"connection_id":112559,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:34:29] local.INFO: Processing buffer {"connection_id":112559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:34:29] local.INFO: IMEI packet received {"connection_id":112559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":112559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:34:31] local.INFO: TCP Data received {"connection_id":112559,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:34:31] local.INFO: Processing buffer {"connection_id":112559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:34:31] local.INFO: Packet analysis {"connection_id":112559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:34:31] local.INFO: Extracted packet for processing {"connection_id":112559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:34:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 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-06-23 13:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 13:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:34:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:34:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:34:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":112559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:34:31] local.INFO: GPS data processed {"connection_id":112559,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:34:31] local.INFO: Acknowledgment sent {"connection_id":112559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:34:50] local.INFO: TCP Data received {"connection_id":110823,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:34:50] local.INFO: Processing buffer {"connection_id":110823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:34:50] local.INFO: Packet analysis {"connection_id":110823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:34:50] local.INFO: Extracted packet for processing {"connection_id":110823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:34:50] 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-06-23 13:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:34:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":110823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:34:50] local.INFO: GPS data processed {"connection_id":110823,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:34:50] local.INFO: Acknowledgment sent {"connection_id":110823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:35:02] local.INFO: TCP Data received {"connection_id":112559,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:35:02] local.INFO: Processing buffer {"connection_id":112559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:35:02] local.INFO: Packet analysis {"connection_id":112559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:35:02] local.INFO: Extracted packet for processing {"connection_id":112559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:35:02] 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-06-23 13:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":112559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:35:02] local.INFO: GPS data processed {"connection_id":112559,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:35:02] local.INFO: Acknowledgment sent {"connection_id":112559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:35:13] local.INFO: TCP Data received {"connection_id":112560,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:35:13] local.INFO: Processing buffer {"connection_id":112560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:35:13] local.INFO: IMEI packet received {"connection_id":112560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":112560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:35:19] local.INFO: TCP Data received {"connection_id":112560,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:35:19] local.INFO: Processing buffer {"connection_id":112560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:35:19] local.INFO: IMEI packet received {"connection_id":112560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":112560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:35:19] local.INFO: TCP Data received {"connection_id":112560,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:35:19] local.INFO: Processing buffer {"connection_id":112560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:35:19] local.INFO: Packet analysis {"connection_id":112560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:35:19] local.INFO: Extracted packet for processing {"connection_id":112560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:35:19] 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-06-23 13:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:35:19] 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-06-23 13:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:35:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":112560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:35:20] local.INFO: GPS data processed {"connection_id":112560,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:35:20] local.INFO: Acknowledgment sent {"connection_id":112560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:35:24] local.INFO: TCP Data received {"connection_id":112561,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:35:24] local.INFO: Processing buffer {"connection_id":112561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:35:24] local.INFO: IMEI packet received {"connection_id":112561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":112561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:35:29] local.INFO: TCP Data received {"connection_id":112561,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:35:29] local.INFO: Processing buffer {"connection_id":112561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:35:29] local.INFO: IMEI packet received {"connection_id":112561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":112561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:35:30] local.INFO: TCP Data received {"connection_id":112561,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:35:30] local.INFO: Processing buffer {"connection_id":112561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:35:30] local.INFO: Packet analysis {"connection_id":112561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:35:30] local.INFO: Extracted packet for processing {"connection_id":112561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:35:30] 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-06-23 13:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":112561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:35:30] local.INFO: GPS data processed {"connection_id":112561,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:35:30] local.INFO: Acknowledgment sent {"connection_id":112561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:35:51] local.INFO: TCP Data received {"connection_id":112560,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:35:51] local.INFO: Processing buffer {"connection_id":112560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:35:51] local.INFO: Packet analysis {"connection_id":112560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:35:51] local.INFO: Extracted packet for processing {"connection_id":112560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:35:51] 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-06-23 13:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:35:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":112560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:35:51] local.INFO: GPS data processed {"connection_id":112560,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:35:51] local.INFO: Acknowledgment sent {"connection_id":112560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:36:02] local.INFO: TCP Data received {"connection_id":112561,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:36:02] local.INFO: Processing buffer {"connection_id":112561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:36:02] local.INFO: Packet analysis {"connection_id":112561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:36:02] local.INFO: Extracted packet for processing {"connection_id":112561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:36:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:36:02] 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-06-23 13:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":112561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:36:02] local.INFO: GPS data processed {"connection_id":112561,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:36:02] local.INFO: Acknowledgment sent {"connection_id":112561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:36:19] local.INFO: TCP Data received {"connection_id":111006,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:36:19] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:36:19] local.INFO: IMEI packet received {"connection_id":111006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":111006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:36:24] local.INFO: TCP Data received {"connection_id":111006,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:36:24] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:36:24] local.INFO: IMEI packet received {"connection_id":111006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":111006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:36:24] local.INFO: TCP Data received {"connection_id":111623,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:36:24] local.INFO: Processing buffer {"connection_id":111623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:36:24] local.INFO: IMEI packet received {"connection_id":111623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":111623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:36:24] local.INFO: TCP Data received {"connection_id":111006,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:36:24] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:36:24] local.INFO: Packet analysis {"connection_id":111006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:36:24] local.INFO: Extracted packet for processing {"connection_id":111006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:36: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-06-23 13: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":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:36:24] 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-06-23 13: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-06-23 13:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:36:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":111006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:36:25] local.INFO: GPS data processed {"connection_id":111006,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:36:25] local.INFO: Acknowledgment sent {"connection_id":111006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:36:29] local.INFO: TCP Data received {"connection_id":111006,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:36:29] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef37f51a0012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:36:29] local.INFO: Packet analysis {"connection_id":111006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:36:29] local.INFO: Extracted packet for processing {"connection_id":111006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef37f"} 
[2026-06-23 13:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243549952001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218722816,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36: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-06-23 13:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782201668000,"timestamp_ms":1782201668000,"timestamp_seconds":1782201668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef37f51a0"} 
[2026-06-23 13:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 13:36:29] 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-06-23 13:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243549952001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1838664947218722816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243549952001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:36:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218722816,"description":"Unknown IO ID 45"} 
[2026-06-23 13:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243549952001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838664947218722816}} 
[2026-06-23 13:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":111006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:36:29] local.INFO: GPS data processed {"connection_id":111006,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:36:29] local.INFO: Acknowledgment sent {"connection_id":111006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:36:29] local.INFO: TCP Data received {"connection_id":111623,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:36:29] local.INFO: Processing buffer {"connection_id":111623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:36:29] local.INFO: IMEI packet received {"connection_id":111623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:36:30] local.INFO: TCP Data received {"connection_id":111623,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:36:30] local.INFO: Processing buffer {"connection_id":111623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:36:30] local.INFO: Packet analysis {"connection_id":111623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:36:30] local.INFO: Extracted packet for processing {"connection_id":111623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:36:30] 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-06-23 13:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:36:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":111623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:36:30] local.INFO: GPS data processed {"connection_id":111623,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:36:30] local.INFO: Acknowledgment sent {"connection_id":111623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:37:02] local.INFO: TCP Data received {"connection_id":111623,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:02] local.INFO: Processing buffer {"connection_id":111623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:02] local.INFO: Packet analysis {"connection_id":111623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:37:02] local.INFO: Extracted packet for processing {"connection_id":111623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:37:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:37:02] 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-06-23 13:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:37:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:37:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:37:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":111623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:37:02] local.INFO: GPS data processed {"connection_id":111623,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:37:02] local.INFO: Acknowledgment sent {"connection_id":111623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:37:14] local.INFO: TCP Data received {"connection_id":111007,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:37:14] local.INFO: Processing buffer {"connection_id":111007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:37:14] local.INFO: IMEI packet received {"connection_id":111007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":111007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:37:19] local.INFO: TCP Data received {"connection_id":111007,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:37:19] local.INFO: Processing buffer {"connection_id":111007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:37:19] local.INFO: IMEI packet received {"connection_id":111007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":111007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:37:20] local.INFO: TCP Data received {"connection_id":111007,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:37:20] local.INFO: Processing buffer {"connection_id":111007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:37:20] local.INFO: Packet analysis {"connection_id":111007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:37:20] local.INFO: Extracted packet for processing {"connection_id":111007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:37:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":111007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:37:20] local.INFO: GPS data processed {"connection_id":111007,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:37:20] local.INFO: Acknowledgment sent {"connection_id":111007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:37:28] local.INFO: TCP Data received {"connection_id":110825,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:37:28] local.INFO: Processing buffer {"connection_id":110825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:37:28] local.INFO: IMEI packet received {"connection_id":110825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":110825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:37:29] local.INFO: TCP Data received {"connection_id":112563,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:37:29] local.INFO: Processing buffer {"connection_id":112563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:37:29] local.INFO: IMEI packet received {"connection_id":112563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":112563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:37:34] local.INFO: TCP Data received {"connection_id":112563,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:37:34] local.INFO: Processing buffer {"connection_id":112563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:37:34] local.INFO: IMEI packet received {"connection_id":112563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":112563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:37:36] local.INFO: TCP Data received {"connection_id":112563,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:36] local.INFO: Processing buffer {"connection_id":112563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:36] local.INFO: Packet analysis {"connection_id":112563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:37:36] local.INFO: Extracted packet for processing {"connection_id":112563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:37:36] 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-06-23 13:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:37:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:37:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":112563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:37:36] local.INFO: GPS data processed {"connection_id":112563,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:37:36] local.INFO: Acknowledgment sent {"connection_id":112563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:37:40] local.INFO: TCP Data received {"connection_id":112563,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:40] local.INFO: Processing buffer {"connection_id":112563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3805758012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:37:40] local.INFO: Packet analysis {"connection_id":112563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:37:40] local.INFO: Extracted packet for processing {"connection_id":112563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef380"} 
[2026-06-23 13:37:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243567104001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782201735000,"timestamp_ms":1782201735000,"timestamp_seconds":1782201735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3805758"} 
[2026-06-23 13:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:37:40] 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-06-23 13: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 13:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243567104001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243567104001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:37:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:37:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243567104001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":112563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:37:40] local.INFO: GPS data processed {"connection_id":112563,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:37:40] local.INFO: Acknowledgment sent {"connection_id":112563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:37:51] local.INFO: TCP Data received {"connection_id":111007,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:37:51] local.INFO: Processing buffer {"connection_id":111007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:37:51] local.INFO: Packet analysis {"connection_id":111007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:37:51] local.INFO: Extracted packet for processing {"connection_id":111007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:37:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":111007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:37:51] local.INFO: GPS data processed {"connection_id":111007,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:37:51] local.INFO: Acknowledgment sent {"connection_id":111007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:38:06] local.INFO: TCP Data received {"connection_id":110826,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:38:06] local.INFO: Processing buffer {"connection_id":110826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:38:06] local.INFO: IMEI packet received {"connection_id":110826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":110826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:38:14] local.INFO: TCP Data received {"connection_id":111624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:38:14] local.INFO: Processing buffer {"connection_id":111624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:38:14] local.INFO: IMEI packet received {"connection_id":111624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":111624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:38:19] local.INFO: TCP Data received {"connection_id":111624,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:38:19] local.INFO: Processing buffer {"connection_id":111624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:38:19] local.INFO: IMEI packet received {"connection_id":111624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":111624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:38:19] local.INFO: TCP Data received {"connection_id":111624,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:38:19] local.INFO: Processing buffer {"connection_id":111624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:38:19] local.INFO: Packet analysis {"connection_id":111624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:38:19] local.INFO: Extracted packet for processing {"connection_id":111624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:38:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":111624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:38:19] local.INFO: GPS data processed {"connection_id":111624,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:38:19] local.INFO: Acknowledgment sent {"connection_id":111624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:38:24] local.INFO: TCP Data received {"connection_id":111008,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:38:24] local.INFO: Processing buffer {"connection_id":111008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:38:24] local.INFO: IMEI packet received {"connection_id":111008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":111008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:38:29] local.INFO: TCP Data received {"connection_id":111008,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:38:29] local.INFO: Processing buffer {"connection_id":111008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:38:29] local.INFO: IMEI packet received {"connection_id":111008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:38:30] local.INFO: TCP Data received {"connection_id":111008,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:38:30] local.INFO: Processing buffer {"connection_id":111008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:38:30] local.INFO: Packet analysis {"connection_id":111008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:38:30] local.INFO: Extracted packet for processing {"connection_id":111008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:38:30] 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-06-23 13:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":111008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:38:30] local.INFO: GPS data processed {"connection_id":111008,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:38:30] local.INFO: Acknowledgment sent {"connection_id":111008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:38:50] local.INFO: TCP Data received {"connection_id":111624,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:38:50] local.INFO: Processing buffer {"connection_id":111624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:38:50] local.INFO: Packet analysis {"connection_id":111624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:38:50] local.INFO: Extracted packet for processing {"connection_id":111624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:38:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":111624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:38:51] local.INFO: GPS data processed {"connection_id":111624,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:38:51] local.INFO: Acknowledgment sent {"connection_id":111624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:39:02] local.INFO: TCP Data received {"connection_id":111008,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:39:02] local.INFO: Processing buffer {"connection_id":111008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:39:02] local.INFO: Packet analysis {"connection_id":111008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:39:02] local.INFO: Extracted packet for processing {"connection_id":111008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:39:02] 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-06-23 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":111008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:39:02] local.INFO: GPS data processed {"connection_id":111008,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:39:02] local.INFO: Acknowledgment sent {"connection_id":111008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:39:14] local.INFO: TCP Data received {"connection_id":112564,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:39:14] local.INFO: Processing buffer {"connection_id":112564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:39:14] local.INFO: IMEI packet received {"connection_id":112564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":112564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:39:19] local.INFO: TCP Data received {"connection_id":112564,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:39:19] local.INFO: Processing buffer {"connection_id":112564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:39:19] local.INFO: IMEI packet received {"connection_id":112564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":112564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:39:19] local.INFO: TCP Data received {"connection_id":112564,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:39:19] local.INFO: Processing buffer {"connection_id":112564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:39:19] local.INFO: Packet analysis {"connection_id":112564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:39:19] local.INFO: Extracted packet for processing {"connection_id":112564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:39: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-06-23 13:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:39: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:39: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-06-23 13:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:39:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":112564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:39:19] local.INFO: GPS data processed {"connection_id":112564,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:39:19] local.INFO: Acknowledgment sent {"connection_id":112564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:39:24] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:39:24] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:39:24] local.INFO: IMEI packet received {"connection_id":111009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":111009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:39:29] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:39:29] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:39:29] local.INFO: IMEI packet received {"connection_id":111009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":111009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:39:30] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:39:30] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:39:30] local.INFO: Packet analysis {"connection_id":111009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:39:30] local.INFO: Extracted packet for processing {"connection_id":111009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:39:30] 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-06-23 13:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":111009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:39:30] local.INFO: GPS data processed {"connection_id":111009,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:39:30] local.INFO: Acknowledgment sent {"connection_id":111009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:39:50] local.INFO: TCP Data received {"connection_id":112564,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:39:50] local.INFO: Processing buffer {"connection_id":112564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:39:50] local.INFO: Packet analysis {"connection_id":112564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:39:50] local.INFO: Extracted packet for processing {"connection_id":112564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:39:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":112564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:39:51] local.INFO: GPS data processed {"connection_id":112564,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:39:51] local.INFO: Acknowledgment sent {"connection_id":112564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:40:02] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:40:02] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:40:02] local.INFO: Packet analysis {"connection_id":111009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:40:02] local.INFO: Extracted packet for processing {"connection_id":111009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:40:02] 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-06-23 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":111009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:40:02] local.INFO: GPS data processed {"connection_id":111009,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:40:02] local.INFO: Acknowledgment sent {"connection_id":111009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:40:14] local.INFO: TCP Data received {"connection_id":112565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:40:14] local.INFO: Processing buffer {"connection_id":112565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:40:14] local.INFO: IMEI packet received {"connection_id":112565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":112565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:40:19] local.INFO: TCP Data received {"connection_id":112565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:40:19] local.INFO: Processing buffer {"connection_id":112565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:40:19] local.INFO: IMEI packet received {"connection_id":112565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":112565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:40:19] local.INFO: TCP Data received {"connection_id":112565,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:40:19] local.INFO: Processing buffer {"connection_id":112565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:40:19] local.INFO: Packet analysis {"connection_id":112565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:40:19] local.INFO: Extracted packet for processing {"connection_id":112565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:40:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":112565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:40:20] local.INFO: GPS data processed {"connection_id":112565,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:40:20] local.INFO: Acknowledgment sent {"connection_id":112565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:40:24] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:40:24] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:40:24] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:40:29] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:40:29] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:40:29] local.INFO: IMEI packet received {"connection_id":110829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":110829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:40:30] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:40:30] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:40:30] local.INFO: Packet analysis {"connection_id":110829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:40:30] local.INFO: Extracted packet for processing {"connection_id":110829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:40:30] 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-06-23 13:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:40:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":110829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:40:30] local.INFO: GPS data processed {"connection_id":110829,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:40:30] local.INFO: Acknowledgment sent {"connection_id":110829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:40:51] local.INFO: TCP Data received {"connection_id":112565,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:40:51] local.INFO: Processing buffer {"connection_id":112565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:40:51] local.INFO: Packet analysis {"connection_id":112565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:40:51] local.INFO: Extracted packet for processing {"connection_id":112565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:40:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":112565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:40:51] local.INFO: GPS data processed {"connection_id":112565,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:40:51] local.INFO: Acknowledgment sent {"connection_id":112565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:41:02] local.INFO: TCP Data received {"connection_id":110829,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:41:02] local.INFO: Processing buffer {"connection_id":110829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:41:02] local.INFO: Packet analysis {"connection_id":110829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:41:02] local.INFO: Extracted packet for processing {"connection_id":110829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:41:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:41:02] 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-06-23 13:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:41:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":110829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:41:02] local.INFO: GPS data processed {"connection_id":110829,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:41:02] local.INFO: Acknowledgment sent {"connection_id":110829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:41:13] local.INFO: TCP Data received {"connection_id":111625,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:41:13] local.INFO: Processing buffer {"connection_id":111625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:41:13] local.INFO: IMEI packet received {"connection_id":111625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":111625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:41:19] local.INFO: TCP Data received {"connection_id":111625,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:41:19] local.INFO: Processing buffer {"connection_id":111625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:41:19] local.INFO: IMEI packet received {"connection_id":111625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":111625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:41:19] local.INFO: TCP Data received {"connection_id":111625,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:41:19] local.INFO: Processing buffer {"connection_id":111625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef383e968012d196ec0071fed90003e00ee24..."} 
[2026-06-23 13:41:19] local.INFO: Packet analysis {"connection_id":111625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:41:19] local.INFO: Extracted packet for processing {"connection_id":111625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef383"} 
[2026-06-23 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243627008001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782201969000,"timestamp_ms":1782201969000,"timestamp_seconds":1782201969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef383e968"} 
[2026-06-23 13:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243627008001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243627008001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:41:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243627008001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":111625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:41:19] local.INFO: GPS data processed {"connection_id":111625,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:41:19] local.INFO: Acknowledgment sent {"connection_id":111625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:41:29] local.INFO: TCP Data received {"connection_id":111012,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:41:29] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:41:29] local.INFO: IMEI packet received {"connection_id":111012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":111012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:41:34] local.INFO: TCP Data received {"connection_id":111012,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:41:34] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:41:34] local.INFO: IMEI packet received {"connection_id":111012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":111012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:41:36] local.INFO: TCP Data received {"connection_id":111012,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:41:36] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:41:36] local.INFO: Packet analysis {"connection_id":111012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:41:36] local.INFO: Extracted packet for processing {"connection_id":111012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:41:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 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-06-23 13:41:36] 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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 13:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:41:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:41:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":111012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:41:36] local.INFO: GPS data processed {"connection_id":111012,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:41:36] local.INFO: Acknowledgment sent {"connection_id":111012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:41:51] local.INFO: TCP Data received {"connection_id":111625,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:41:51] local.INFO: Processing buffer {"connection_id":111625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:41:51] local.INFO: Packet analysis {"connection_id":111625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:41:51] local.INFO: Extracted packet for processing {"connection_id":111625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:41:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":111625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:41:51] local.INFO: GPS data processed {"connection_id":111625,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:41:51] local.INFO: Acknowledgment sent {"connection_id":111625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:42:07] local.INFO: TCP Data received {"connection_id":111012,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:42:07] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:42:07] local.INFO: Packet analysis {"connection_id":111012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:42:07] local.INFO: Extracted packet for processing {"connection_id":111012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:42:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 13:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 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-06-23 13:42:07] 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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 13:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:42:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:42:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:42:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":111012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:42:07] local.INFO: GPS data processed {"connection_id":111012,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:42:07] local.INFO: Acknowledgment sent {"connection_id":111012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:42:19] local.INFO: TCP Data received {"connection_id":111627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:42:19] local.INFO: Processing buffer {"connection_id":111627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:42:19] local.INFO: IMEI packet received {"connection_id":111627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":111627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:42:24] local.INFO: TCP Data received {"connection_id":111627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:42:24] local.INFO: Processing buffer {"connection_id":111627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:42:24] local.INFO: IMEI packet received {"connection_id":111627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":111627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:42:24] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:42:24] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:42:24] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:42:24] local.INFO: TCP Data received {"connection_id":111627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:42:24] local.INFO: Processing buffer {"connection_id":111627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:42:24] local.INFO: Packet analysis {"connection_id":111627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:42:24] local.INFO: Extracted packet for processing {"connection_id":111627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:42:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":111627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:42:25] local.INFO: GPS data processed {"connection_id":111627,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:42:25] local.INFO: Acknowledgment sent {"connection_id":111627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:42:29] local.INFO: TCP Data received {"connection_id":111627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:42:29] local.INFO: Processing buffer {"connection_id":111627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:42:29] local.INFO: Packet analysis {"connection_id":111627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:42:29] local.INFO: Extracted packet for processing {"connection_id":111627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42: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-06-23 13:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:42:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:42:29] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:42:29] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:42:29] local.INFO: IMEI packet received {"connection_id":110830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":110830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":111627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:42:29] local.INFO: GPS data processed {"connection_id":111627,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:42:29] local.INFO: Acknowledgment sent {"connection_id":111627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:42:30] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:42:30] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef384ef20012cb29b8007823df8004a00cf22..."} 
[2026-06-23 13:42:30] local.INFO: Packet analysis {"connection_id":110830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:42:30] local.INFO: Extracted packet for processing {"connection_id":110830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef384"} 
[2026-06-23 13:42:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202036000,"timestamp_ms":1782202036000,"timestamp_seconds":1782202036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef384ef20"} 
[2026-06-23 13:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:42:30] 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-06-23 13: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":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243644160001,"66":25125,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243644160001,"power":25125,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":110830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:42:30] local.INFO: GPS data processed {"connection_id":110830,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:42:30] local.INFO: Acknowledgment sent {"connection_id":110830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:43:02] local.INFO: TCP Data received {"connection_id":110830,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:43:02] local.INFO: Processing buffer {"connection_id":110830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:43:02] local.INFO: Packet analysis {"connection_id":110830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:43:02] local.INFO: Extracted packet for processing {"connection_id":110830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:43:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:43:02] 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-06-23 13:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":110830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:43:02] local.INFO: GPS data processed {"connection_id":110830,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:43:02] local.INFO: Acknowledgment sent {"connection_id":110830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:43:14] local.INFO: TCP Data received {"connection_id":111013,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:43:14] local.INFO: Processing buffer {"connection_id":111013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:43:14] local.INFO: IMEI packet received {"connection_id":111013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":111013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:43:19] local.INFO: TCP Data received {"connection_id":111013,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:43:19] local.INFO: Processing buffer {"connection_id":111013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:43:19] local.INFO: IMEI packet received {"connection_id":111013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":111013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:43:19] local.INFO: TCP Data received {"connection_id":111013,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:43:19] local.INFO: Processing buffer {"connection_id":111013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:43:19] local.INFO: Packet analysis {"connection_id":111013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:43:19] local.INFO: Extracted packet for processing {"connection_id":111013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:43:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":111013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:43:20] local.INFO: GPS data processed {"connection_id":111013,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:43:20] local.INFO: Acknowledgment sent {"connection_id":111013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:43:24] local.INFO: TCP Data received {"connection_id":112567,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:43:24] local.INFO: Processing buffer {"connection_id":112567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:43:24] local.INFO: IMEI packet received {"connection_id":112567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":112567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:43:29] local.INFO: TCP Data received {"connection_id":112567,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:43:29] local.INFO: Processing buffer {"connection_id":112567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:43:29] local.INFO: IMEI packet received {"connection_id":112567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":112567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:43:30] local.INFO: TCP Data received {"connection_id":112567,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:43:30] local.INFO: Processing buffer {"connection_id":112567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:43:30] local.INFO: Packet analysis {"connection_id":112567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:43:30] local.INFO: Extracted packet for processing {"connection_id":112567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:43:30] 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-06-23 13: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":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:43:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":112567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:43:30] local.INFO: GPS data processed {"connection_id":112567,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:43:30] local.INFO: Acknowledgment sent {"connection_id":112567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:43:34] local.INFO: TCP Data received {"connection_id":112566,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:43:34] local.INFO: Processing buffer {"connection_id":112566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:43:34] local.INFO: IMEI packet received {"connection_id":112566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":112566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:43:50] local.INFO: TCP Data received {"connection_id":111013,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:43:50] local.INFO: Processing buffer {"connection_id":111013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:43:50] local.INFO: Packet analysis {"connection_id":111013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:43:50] local.INFO: Extracted packet for processing {"connection_id":111013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:43:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":111013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:43:50] local.INFO: GPS data processed {"connection_id":111013,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:43:50] local.INFO: Acknowledgment sent {"connection_id":111013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:44:01] local.INFO: TCP Data received {"connection_id":112567,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:01] local.INFO: Processing buffer {"connection_id":112567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:01] local.INFO: Packet analysis {"connection_id":112567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:44:01] local.INFO: Extracted packet for processing {"connection_id":112567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:44:01] 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-06-23 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:44:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:44:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":112567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:44:01] local.INFO: GPS data processed {"connection_id":112567,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:44:01] local.INFO: Acknowledgment sent {"connection_id":112567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:44:03] local.INFO: TCP Data received {"connection_id":111628,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:44:03] local.INFO: Processing buffer {"connection_id":111628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:44:03] local.INFO: IMEI packet received {"connection_id":111628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":111628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:44:14] local.INFO: TCP Data received {"connection_id":111014,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:44:14] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:44:14] local.INFO: IMEI packet received {"connection_id":111014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":111014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:44:19] local.INFO: TCP Data received {"connection_id":111014,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:44:19] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:44:19] local.INFO: IMEI packet received {"connection_id":111014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":111014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:44:19] local.INFO: TCP Data received {"connection_id":111014,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:44:19] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:44:19] local.INFO: Packet analysis {"connection_id":111014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:44:19] local.INFO: Extracted packet for processing {"connection_id":111014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:44:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":111014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:44:20] local.INFO: GPS data processed {"connection_id":111014,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:44:20] local.INFO: Acknowledgment sent {"connection_id":111014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:44:29] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:44:29] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:44:29] local.INFO: IMEI packet received {"connection_id":111015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":111015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:44:34] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:44:34] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:44:34] local.INFO: IMEI packet received {"connection_id":111015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":111015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:44:36] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:36] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:36] local.INFO: Packet analysis {"connection_id":111015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:44:36] local.INFO: Extracted packet for processing {"connection_id":111015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:44:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:44: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-06-23 13:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:44:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:44:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":111015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:44:36] local.INFO: GPS data processed {"connection_id":111015,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:44:36] local.INFO: Acknowledgment sent {"connection_id":111015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:44:40] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:40] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:44:40] local.INFO: Packet analysis {"connection_id":111015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:44:40] local.INFO: Extracted packet for processing {"connection_id":111015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:44:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:44:40] 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-06-23 13:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:44:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:44:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":111015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:44:40] local.INFO: GPS data processed {"connection_id":111015,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:44:40] local.INFO: Acknowledgment sent {"connection_id":111015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:44:51] local.INFO: TCP Data received {"connection_id":111014,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:44:51] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:44:51] local.INFO: Packet analysis {"connection_id":111014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:44:51] local.INFO: Extracted packet for processing {"connection_id":111014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:44:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":111014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:44:51] local.INFO: GPS data processed {"connection_id":111014,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:44:51] local.INFO: Acknowledgment sent {"connection_id":111014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:45:14] local.INFO: TCP Data received {"connection_id":110831,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:45:14] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:45:14] local.INFO: IMEI packet received {"connection_id":110831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":110831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:45:19] local.INFO: TCP Data received {"connection_id":110831,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:45:19] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:45:19] local.INFO: IMEI packet received {"connection_id":110831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":110831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:45:20] local.INFO: TCP Data received {"connection_id":110831,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:45:20] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:45:20] local.INFO: Packet analysis {"connection_id":110831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:45:20] local.INFO: Extracted packet for processing {"connection_id":110831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":110831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":110831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":110831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:45:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":110831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:45:20] local.INFO: GPS data processed {"connection_id":110831,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:45:20] local.INFO: Acknowledgment sent {"connection_id":110831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:45:24] local.INFO: TCP Data received {"connection_id":111630,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:45:24] local.INFO: Processing buffer {"connection_id":111630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:45:24] local.INFO: IMEI packet received {"connection_id":111630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":111630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:45:29] local.INFO: TCP Data received {"connection_id":111630,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:45:29] local.INFO: Processing buffer {"connection_id":111630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:45:29] local.INFO: IMEI packet received {"connection_id":111630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":111630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:45:30] local.INFO: TCP Data received {"connection_id":111630,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:45:30] local.INFO: Processing buffer {"connection_id":111630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:45:30] local.INFO: Packet analysis {"connection_id":111630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:45:30] local.INFO: Extracted packet for processing {"connection_id":111630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:45:30] 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-06-23 13: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":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:45:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:45:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":111630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:45:30] local.INFO: GPS data processed {"connection_id":111630,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:45:30] local.INFO: Acknowledgment sent {"connection_id":111630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:45:51] local.INFO: TCP Data received {"connection_id":110831,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:45:51] local.INFO: Processing buffer {"connection_id":110831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:45:51] local.INFO: Packet analysis {"connection_id":110831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:45:51] local.INFO: Extracted packet for processing {"connection_id":110831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:45:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":110831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:45:51] local.INFO: GPS data processed {"connection_id":110831,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:45:51] local.INFO: Acknowledgment sent {"connection_id":110831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:46:02] local.INFO: TCP Data received {"connection_id":111630,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:46:02] local.INFO: Processing buffer {"connection_id":111630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:46:02] local.INFO: Packet analysis {"connection_id":111630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:46:02] local.INFO: Extracted packet for processing {"connection_id":111630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:46:02] 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-06-23 13: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":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":111630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:46:02] local.INFO: GPS data processed {"connection_id":111630,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:46:02] local.INFO: Acknowledgment sent {"connection_id":111630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:46:13] local.INFO: TCP Data received {"connection_id":111017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:46:13] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:46:13] local.INFO: IMEI packet received {"connection_id":111017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":111017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:46:19] local.INFO: TCP Data received {"connection_id":111017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:46:19] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:46:19] local.INFO: IMEI packet received {"connection_id":111017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":111017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:46:19] local.INFO: TCP Data received {"connection_id":111017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:46:19] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3888130012d196ec0071fed90003e00ee23..."} 
[2026-06-23 13:46:19] local.INFO: Packet analysis {"connection_id":111017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:46:19] local.INFO: Extracted packet for processing {"connection_id":111017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef388"} 
[2026-06-23 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202270000,"timestamp_ms":1782202270000,"timestamp_seconds":1782202270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3888130"} 
[2026-06-23 13:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 13:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243704064001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:46:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243704064001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":111017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:46:19] local.INFO: GPS data processed {"connection_id":111017,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:46:19] local.INFO: Acknowledgment sent {"connection_id":111017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:46:24] local.INFO: TCP Data received {"connection_id":110833,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:46:24] local.INFO: Processing buffer {"connection_id":110833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:46:24] local.INFO: IMEI packet received {"connection_id":110833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":110833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:46:29] local.INFO: TCP Data received {"connection_id":110833,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:46:29] local.INFO: Processing buffer {"connection_id":110833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:46:29] local.INFO: IMEI packet received {"connection_id":110833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":110833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:46:30] local.INFO: TCP Data received {"connection_id":110833,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:46:30] local.INFO: Processing buffer {"connection_id":110833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:46:30] local.INFO: Packet analysis {"connection_id":110833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:46:30] local.INFO: Extracted packet for processing {"connection_id":110833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:46:30] 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-06-23 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:46:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":110833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:46:30] local.INFO: GPS data processed {"connection_id":110833,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:46:30] local.INFO: Acknowledgment sent {"connection_id":110833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:46:50] local.INFO: TCP Data received {"connection_id":111017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:46:50] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:46:50] local.INFO: Packet analysis {"connection_id":111017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:46:50] local.INFO: Extracted packet for processing {"connection_id":111017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:46:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":111017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:46:50] local.INFO: GPS data processed {"connection_id":111017,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:46:50] local.INFO: Acknowledgment sent {"connection_id":111017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:47:02] local.INFO: TCP Data received {"connection_id":110833,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:47:02] local.INFO: Processing buffer {"connection_id":110833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:47:02] local.INFO: Packet analysis {"connection_id":110833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:47:02] local.INFO: Extracted packet for processing {"connection_id":110833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:47:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:47:02] 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-06-23 13: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":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:47:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":110833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:47:02] local.INFO: GPS data processed {"connection_id":110833,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:47:02] local.INFO: Acknowledgment sent {"connection_id":110833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:47:19] local.INFO: TCP Data received {"connection_id":112569,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:47:19] local.INFO: Processing buffer {"connection_id":112569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:47:19] local.INFO: IMEI packet received {"connection_id":112569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":112569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:47:24] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:47:24] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:47:24] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:47:24] local.INFO: TCP Data received {"connection_id":112569,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:47:24] local.INFO: Processing buffer {"connection_id":112569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:47:24] local.INFO: IMEI packet received {"connection_id":112569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":112569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:47:25] local.INFO: TCP Data received {"connection_id":112569,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:47:25] local.INFO: Processing buffer {"connection_id":112569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:47:25] local.INFO: Packet analysis {"connection_id":112569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:47:25] local.INFO: Extracted packet for processing {"connection_id":112569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:47:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":112569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:47:25] local.INFO: GPS data processed {"connection_id":112569,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:47:25] local.INFO: Acknowledgment sent {"connection_id":112569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:47:29] local.INFO: TCP Data received {"connection_id":112569,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:47:29] local.INFO: Processing buffer {"connection_id":112569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:47:29] local.INFO: Packet analysis {"connection_id":112569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:47:29] local.INFO: Extracted packet for processing {"connection_id":112569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:47: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-06-23 13:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47: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-06-23 13:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:47: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-06-23 13:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:47:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:47:29] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:47:29] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:47:29] local.INFO: IMEI packet received {"connection_id":110834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":110834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":112569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:47:29] local.INFO: GPS data processed {"connection_id":112569,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:47:29] local.INFO: Acknowledgment sent {"connection_id":112569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:47:31] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:47:31] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38986e8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:47:31] local.INFO: Packet analysis {"connection_id":110834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:47:31] local.INFO: Extracted packet for processing {"connection_id":110834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef389"} 
[2026-06-23 13:47:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243721216001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782202337000,"timestamp_ms":1782202337000,"timestamp_seconds":1782202337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38986e8"} 
[2026-06-23 13:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:47:31] 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-06-23 13:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 13:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243721216001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243721216001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:47:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:47:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243721216001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":110834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:47:31] local.INFO: GPS data processed {"connection_id":110834,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:47:31] local.INFO: Acknowledgment sent {"connection_id":110834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:48:02] local.INFO: TCP Data received {"connection_id":110834,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:48:02] local.INFO: Processing buffer {"connection_id":110834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:48:02] local.INFO: Packet analysis {"connection_id":110834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:48:02] local.INFO: Extracted packet for processing {"connection_id":110834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:48:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:48:02] 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-06-23 13:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":110834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:48:02] local.INFO: GPS data processed {"connection_id":110834,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:48:02] local.INFO: Acknowledgment sent {"connection_id":110834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:48:14] local.INFO: TCP Data received {"connection_id":111631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:48:14] local.INFO: Processing buffer {"connection_id":111631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:48:14] local.INFO: IMEI packet received {"connection_id":111631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":111631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:48:19] local.INFO: TCP Data received {"connection_id":111631,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:48:19] local.INFO: Processing buffer {"connection_id":111631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:48:19] local.INFO: IMEI packet received {"connection_id":111631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":111631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:48:19] local.INFO: TCP Data received {"connection_id":111631,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:48:19] local.INFO: Processing buffer {"connection_id":111631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:48:19] local.INFO: Packet analysis {"connection_id":111631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:48:19] local.INFO: Extracted packet for processing {"connection_id":111631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:48:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":111631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:48:20] local.INFO: GPS data processed {"connection_id":111631,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:48:20] local.INFO: Acknowledgment sent {"connection_id":111631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:48:29] local.INFO: TCP Data received {"connection_id":111019,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:48:29] local.INFO: Processing buffer {"connection_id":111019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:48:29] local.INFO: IMEI packet received {"connection_id":111019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":111019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:48:34] local.INFO: TCP Data received {"connection_id":111019,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:48:34] local.INFO: Processing buffer {"connection_id":111019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:48:34] local.INFO: IMEI packet received {"connection_id":111019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":111019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:48:35] local.INFO: TCP Data received {"connection_id":111019,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:48:35] local.INFO: Processing buffer {"connection_id":111019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:48:35] local.INFO: Packet analysis {"connection_id":111019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:48:35] local.INFO: Extracted packet for processing {"connection_id":111019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:48:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:48:35] 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-06-23 13:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:48:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":111019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:48:35] local.INFO: GPS data processed {"connection_id":111019,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:48:35] local.INFO: Acknowledgment sent {"connection_id":111019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:48:51] local.INFO: TCP Data received {"connection_id":111631,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:48:51] local.INFO: Processing buffer {"connection_id":111631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:48:51] local.INFO: Packet analysis {"connection_id":111631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:48:51] local.INFO: Extracted packet for processing {"connection_id":111631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:48:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":111631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:48:51] local.INFO: GPS data processed {"connection_id":111631,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:48:51] local.INFO: Acknowledgment sent {"connection_id":111631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:49:07] local.INFO: TCP Data received {"connection_id":111019,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:49:07] local.INFO: Processing buffer {"connection_id":111019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:49:07] local.INFO: Packet analysis {"connection_id":111019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:49:07] local.INFO: Extracted packet for processing {"connection_id":111019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:49: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-06-23 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:49:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":111019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:49:07] local.INFO: GPS data processed {"connection_id":111019,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:49:07] local.INFO: Acknowledgment sent {"connection_id":111019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:49:14] local.INFO: TCP Data received {"connection_id":110835,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:49:14] local.INFO: Processing buffer {"connection_id":110835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:49:14] local.INFO: IMEI packet received {"connection_id":110835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":110835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:49:19] local.INFO: TCP Data received {"connection_id":110835,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:49:19] local.INFO: Processing buffer {"connection_id":110835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:49:19] local.INFO: IMEI packet received {"connection_id":110835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":110835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:49:19] local.INFO: TCP Data received {"connection_id":110835,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:49:19] local.INFO: Processing buffer {"connection_id":110835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:49:19] local.INFO: Packet analysis {"connection_id":110835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:49:19] local.INFO: Extracted packet for processing {"connection_id":110835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:49:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":110835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:49:20] local.INFO: GPS data processed {"connection_id":110835,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:49:20] local.INFO: Acknowledgment sent {"connection_id":110835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:49:24] local.INFO: TCP Data received {"connection_id":111021,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:49:24] local.INFO: Processing buffer {"connection_id":111021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:49:24] local.INFO: IMEI packet received {"connection_id":111021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":111021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:49:27] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:49:27] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:49:27] local.INFO: IMEI packet received {"connection_id":111020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":111020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:49:29] local.INFO: TCP Data received {"connection_id":111021,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:49:29] local.INFO: Processing buffer {"connection_id":111021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:49:29] local.INFO: IMEI packet received {"connection_id":111021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":111021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:49:30] local.INFO: TCP Data received {"connection_id":111021,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:49:30] local.INFO: Processing buffer {"connection_id":111021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:49:30] local.INFO: Packet analysis {"connection_id":111021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:49:30] local.INFO: Extracted packet for processing {"connection_id":111021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:49:30] 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-06-23 13:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":111021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:49:30] local.INFO: GPS data processed {"connection_id":111021,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:49:30] local.INFO: Acknowledgment sent {"connection_id":111021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:49:51] local.INFO: TCP Data received {"connection_id":110835,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:49:51] local.INFO: Processing buffer {"connection_id":110835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:49:51] local.INFO: Packet analysis {"connection_id":110835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:49:51] local.INFO: Extracted packet for processing {"connection_id":110835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:49:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":110835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:49:51] local.INFO: GPS data processed {"connection_id":110835,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:49:51] local.INFO: Acknowledgment sent {"connection_id":110835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:50:02] local.INFO: TCP Data received {"connection_id":111021,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:50:02] local.INFO: Processing buffer {"connection_id":111021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:50:02] local.INFO: Packet analysis {"connection_id":111021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:50:02] local.INFO: Extracted packet for processing {"connection_id":111021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:50:02] 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-06-23 13:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":111021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:50:02] local.INFO: GPS data processed {"connection_id":111021,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:50:02] local.INFO: Acknowledgment sent {"connection_id":111021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:50:11] local.INFO: TCP Data received {"connection_id":111632,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:50:11] local.INFO: Processing buffer {"connection_id":111632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:50:11] local.INFO: IMEI packet received {"connection_id":111632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":111632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:50:14] local.INFO: TCP Data received {"connection_id":112570,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:50:14] local.INFO: Processing buffer {"connection_id":112570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:50:14] local.INFO: IMEI packet received {"connection_id":112570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":112570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:50:19] local.INFO: TCP Data received {"connection_id":112570,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:50:19] local.INFO: Processing buffer {"connection_id":112570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:50:19] local.INFO: IMEI packet received {"connection_id":112570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":112570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:50:20] local.INFO: TCP Data received {"connection_id":112570,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:50:20] local.INFO: Processing buffer {"connection_id":112570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:50:20] local.INFO: Packet analysis {"connection_id":112570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:50:20] local.INFO: Extracted packet for processing {"connection_id":112570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:50:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:50:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":112570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:50:20] local.INFO: GPS data processed {"connection_id":112570,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:50:20] local.INFO: Acknowledgment sent {"connection_id":112570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:50:24] local.INFO: TCP Data received {"connection_id":112571,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:50:24] local.INFO: Processing buffer {"connection_id":112571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:50:24] local.INFO: IMEI packet received {"connection_id":112571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":112571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:50:29] local.INFO: TCP Data received {"connection_id":112571,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:50:29] local.INFO: Processing buffer {"connection_id":112571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:50:29] local.INFO: IMEI packet received {"connection_id":112571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":112571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:50:30] local.INFO: TCP Data received {"connection_id":112571,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:50:30] local.INFO: Processing buffer {"connection_id":112571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:50:30] local.INFO: Packet analysis {"connection_id":112571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:50:30] local.INFO: Extracted packet for processing {"connection_id":112571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:50:30] 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-06-23 13:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":112571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:50:30] local.INFO: GPS data processed {"connection_id":112571,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:50:30] local.INFO: Acknowledgment sent {"connection_id":112571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:50:51] local.INFO: TCP Data received {"connection_id":112570,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:50:51] local.INFO: Processing buffer {"connection_id":112570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:50:51] local.INFO: Packet analysis {"connection_id":112570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:50:51] local.INFO: Extracted packet for processing {"connection_id":112570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:50:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":112570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:50:51] local.INFO: GPS data processed {"connection_id":112570,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:50:51] local.INFO: Acknowledgment sent {"connection_id":112570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:51:02] local.INFO: TCP Data received {"connection_id":112571,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:51:02] local.INFO: Processing buffer {"connection_id":112571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:51:02] local.INFO: Packet analysis {"connection_id":112571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:51:02] local.INFO: Extracted packet for processing {"connection_id":112571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:51:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:51:02] 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-06-23 13:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:51:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":112571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:51:02] local.INFO: GPS data processed {"connection_id":112571,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:51:02] local.INFO: Acknowledgment sent {"connection_id":112571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:51:13] local.INFO: TCP Data received {"connection_id":111634,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:51:13] local.INFO: Processing buffer {"connection_id":111634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:51:13] local.INFO: IMEI packet received {"connection_id":111634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":111634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:51:19] local.INFO: TCP Data received {"connection_id":111634,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:51:19] local.INFO: Processing buffer {"connection_id":111634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:51:19] local.INFO: IMEI packet received {"connection_id":111634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":111634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:51:19] local.INFO: TCP Data received {"connection_id":111634,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:51:19] local.INFO: Processing buffer {"connection_id":111634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38d18f8012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:51:19] local.INFO: Packet analysis {"connection_id":111634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:51:19] local.INFO: Extracted packet for processing {"connection_id":111634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38d"} 
[2026-06-23 13:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202571000,"timestamp_ms":1782202571000,"timestamp_seconds":1782202571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38d18f8"} 
[2026-06-23 13:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 13:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243781120001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:51:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243781120001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":111634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:51:19] local.INFO: GPS data processed {"connection_id":111634,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:51:19] local.INFO: Acknowledgment sent {"connection_id":111634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:51:24] local.INFO: TCP Data received {"connection_id":111635,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:51:24] local.INFO: Processing buffer {"connection_id":111635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:51:24] local.INFO: IMEI packet received {"connection_id":111635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":111635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:51:29] local.INFO: TCP Data received {"connection_id":111635,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:51:29] local.INFO: Processing buffer {"connection_id":111635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:51:29] local.INFO: IMEI packet received {"connection_id":111635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":111635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:51:30] local.INFO: TCP Data received {"connection_id":111635,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:51:30] local.INFO: Processing buffer {"connection_id":111635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:51:30] local.INFO: Packet analysis {"connection_id":111635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:51:30] local.INFO: Extracted packet for processing {"connection_id":111635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:51:30] 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-06-23 13:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":111635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:51:30] local.INFO: GPS data processed {"connection_id":111635,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:51:30] local.INFO: Acknowledgment sent {"connection_id":111635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:51:50] local.INFO: TCP Data received {"connection_id":111634,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:51:50] local.INFO: Processing buffer {"connection_id":111634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:51:50] local.INFO: Packet analysis {"connection_id":111634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:51:50] local.INFO: Extracted packet for processing {"connection_id":111634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:51: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-06-23 13:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:51:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":111634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:51:50] local.INFO: GPS data processed {"connection_id":111634,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:51:50] local.INFO: Acknowledgment sent {"connection_id":111634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:52:02] local.INFO: TCP Data received {"connection_id":111635,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:02] local.INFO: Processing buffer {"connection_id":111635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:02] local.INFO: Packet analysis {"connection_id":111635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:52:02] local.INFO: Extracted packet for processing {"connection_id":111635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:52:02] 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-06-23 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:52:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":111635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:52:02] local.INFO: GPS data processed {"connection_id":111635,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:52:02] local.INFO: Acknowledgment sent {"connection_id":111635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:52:19] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:52:19] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:52:19] local.INFO: IMEI packet received {"connection_id":110836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":110836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:52:24] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:52:24] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:52:24] local.INFO: IMEI packet received {"connection_id":110836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":110836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:52:24] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:52:24] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:52:24] local.INFO: Packet analysis {"connection_id":110836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:52:24] local.INFO: Extracted packet for processing {"connection_id":110836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:52: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-06-23 13:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:52:24] 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-06-23 13:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:52: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-06-23 13:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":110836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:52:25] local.INFO: GPS data processed {"connection_id":110836,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:52:25] local.INFO: Acknowledgment sent {"connection_id":110836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:52:29] local.INFO: TCP Data received {"connection_id":110837,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:52:29] local.INFO: Processing buffer {"connection_id":110837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:52:29] local.INFO: IMEI packet received {"connection_id":110837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":110837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:52:35] local.INFO: TCP Data received {"connection_id":110837,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:52:35] local.INFO: Processing buffer {"connection_id":110837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:52:35] local.INFO: IMEI packet received {"connection_id":110837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":110837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:52:36] local.INFO: TCP Data received {"connection_id":110837,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:36] local.INFO: Processing buffer {"connection_id":110837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:36] local.INFO: Packet analysis {"connection_id":110837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:52:36] local.INFO: Extracted packet for processing {"connection_id":110837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:52: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-06-23 13: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:52:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:52:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":110837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:52:36] local.INFO: GPS data processed {"connection_id":110837,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:52:36] local.INFO: Acknowledgment sent {"connection_id":110837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:52:40] local.INFO: TCP Data received {"connection_id":110837,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:40] local.INFO: Processing buffer {"connection_id":110837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef38e1eb0012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:52:40] local.INFO: Packet analysis {"connection_id":110837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:52:40] local.INFO: Extracted packet for processing {"connection_id":110837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef38e"} 
[2026-06-23 13:52:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243798272001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782202638000,"timestamp_ms":1782202638000,"timestamp_seconds":1782202638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef38e1eb0"} 
[2026-06-23 13:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:52:40] 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-06-23 13: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243798272001,"66":25104,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243798272001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:52:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:52:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243798272001,"power":25104,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":110837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:52:40] local.INFO: GPS data processed {"connection_id":110837,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:52:40] local.INFO: Acknowledgment sent {"connection_id":110837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:52:56] local.INFO: TCP Data received {"connection_id":110836,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:52:56] local.INFO: Processing buffer {"connection_id":110836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:52:56] local.INFO: Packet analysis {"connection_id":110836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:52:56] local.INFO: Extracted packet for processing {"connection_id":110836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:52:56] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:52:56] 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-06-23 13:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":110836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":110836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:52:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":110836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:52:56] local.INFO: GPS data processed {"connection_id":110836,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:52:56] local.INFO: Acknowledgment sent {"connection_id":110836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:53:14] local.INFO: TCP Data received {"connection_id":110838,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:53:14] local.INFO: Processing buffer {"connection_id":110838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:53:14] local.INFO: IMEI packet received {"connection_id":110838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":110838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:53:19] local.INFO: TCP Data received {"connection_id":110838,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:53:19] local.INFO: Processing buffer {"connection_id":110838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:53:19] local.INFO: IMEI packet received {"connection_id":110838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":110838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:53:19] local.INFO: TCP Data received {"connection_id":110838,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:53:19] local.INFO: Processing buffer {"connection_id":110838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:53:19] local.INFO: Packet analysis {"connection_id":110838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:53:19] local.INFO: Extracted packet for processing {"connection_id":110838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:53: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-06-23 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:53:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":110838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:53:19] local.INFO: GPS data processed {"connection_id":110838,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:53:19] local.INFO: Acknowledgment sent {"connection_id":110838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:53:24] local.INFO: TCP Data received {"connection_id":111023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:53:24] local.INFO: Processing buffer {"connection_id":111023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:53:24] local.INFO: IMEI packet received {"connection_id":111023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":111023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:53:29] local.INFO: TCP Data received {"connection_id":111023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:53:29] local.INFO: Processing buffer {"connection_id":111023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:53:29] local.INFO: IMEI packet received {"connection_id":111023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":111023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:53:31] local.INFO: TCP Data received {"connection_id":111023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:53:31] local.INFO: Processing buffer {"connection_id":111023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:53:31] local.INFO: Packet analysis {"connection_id":111023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:53:31] local.INFO: Extracted packet for processing {"connection_id":111023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:53:31] 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-06-23 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:53:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":111023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:53:31] local.INFO: GPS data processed {"connection_id":111023,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:53:31] local.INFO: Acknowledgment sent {"connection_id":111023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:53:51] local.INFO: TCP Data received {"connection_id":110838,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:53:51] local.INFO: Processing buffer {"connection_id":110838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:53:51] local.INFO: Packet analysis {"connection_id":110838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:53:51] local.INFO: Extracted packet for processing {"connection_id":110838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:53:51] 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-06-23 13:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:53:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":110838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:53:51] local.INFO: GPS data processed {"connection_id":110838,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:53:51] local.INFO: Acknowledgment sent {"connection_id":110838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:54:02] local.INFO: TCP Data received {"connection_id":111023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:54:02] local.INFO: Processing buffer {"connection_id":111023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:54:02] local.INFO: Packet analysis {"connection_id":111023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:54:02] local.INFO: Extracted packet for processing {"connection_id":111023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:54:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:54:02] 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-06-23 13:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:54:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":111023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:54:02] local.INFO: GPS data processed {"connection_id":111023,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:54:02] local.INFO: Acknowledgment sent {"connection_id":111023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:54:14] local.INFO: TCP Data received {"connection_id":112572,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:54:14] local.INFO: Processing buffer {"connection_id":112572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:54:14] local.INFO: IMEI packet received {"connection_id":112572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":112572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:54:19] local.INFO: TCP Data received {"connection_id":112572,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:54:19] local.INFO: Processing buffer {"connection_id":112572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:54:19] local.INFO: IMEI packet received {"connection_id":112572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":112572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:54:19] local.INFO: TCP Data received {"connection_id":112572,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:54:19] local.INFO: Processing buffer {"connection_id":112572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:54:19] local.INFO: Packet analysis {"connection_id":112572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:54:19] local.INFO: Extracted packet for processing {"connection_id":112572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:54: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-06-23 13:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:54:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":112572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:54:19] local.INFO: GPS data processed {"connection_id":112572,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:54:19] local.INFO: Acknowledgment sent {"connection_id":112572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:54:24] local.INFO: TCP Data received {"connection_id":110840,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:54:24] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:54:24] local.INFO: IMEI packet received {"connection_id":110840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":110840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:54:29] local.INFO: TCP Data received {"connection_id":110840,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:54:29] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:54:29] local.INFO: IMEI packet received {"connection_id":110840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":110840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:54:30] local.INFO: TCP Data received {"connection_id":110840,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:54:30] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:54:30] local.INFO: Packet analysis {"connection_id":110840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:54:30] local.INFO: Extracted packet for processing {"connection_id":110840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:54:30] 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-06-23 13:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":110840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:54:30] local.INFO: GPS data processed {"connection_id":110840,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:54:30] local.INFO: Acknowledgment sent {"connection_id":110840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:54:50] local.INFO: TCP Data received {"connection_id":112572,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:54:50] local.INFO: Processing buffer {"connection_id":112572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:54:50] local.INFO: Packet analysis {"connection_id":112572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:54:50] local.INFO: Extracted packet for processing {"connection_id":112572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:54: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-06-23 13:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:54:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":112572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:54:51] local.INFO: GPS data processed {"connection_id":112572,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:54:51] local.INFO: Acknowledgment sent {"connection_id":112572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:55:01] local.INFO: TCP Data received {"connection_id":110840,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:55:01] local.INFO: Processing buffer {"connection_id":110840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:55:01] local.INFO: Packet analysis {"connection_id":110840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:55:01] local.INFO: Extracted packet for processing {"connection_id":110840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:55:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:55:01] 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-06-23 13:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:55:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":110840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:55:02] local.INFO: GPS data processed {"connection_id":110840,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:55:02] local.INFO: Acknowledgment sent {"connection_id":110840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:55:13] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:55:13] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:55:13] local.INFO: IMEI packet received {"connection_id":110841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":110841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:55:19] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:55:19] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:55:19] local.INFO: IMEI packet received {"connection_id":110841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":110841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:55:19] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:55:19] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:55:19] local.INFO: Packet analysis {"connection_id":110841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:55:19] local.INFO: Extracted packet for processing {"connection_id":110841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:55: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-06-23 13:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:55:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":110841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:55:19] local.INFO: GPS data processed {"connection_id":110841,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:55:19] local.INFO: Acknowledgment sent {"connection_id":110841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:55:24] local.INFO: TCP Data received {"connection_id":111024,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:55:24] local.INFO: Processing buffer {"connection_id":111024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:55:24] local.INFO: IMEI packet received {"connection_id":111024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":111024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:55:29] local.INFO: TCP Data received {"connection_id":111024,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:55:29] local.INFO: Processing buffer {"connection_id":111024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:55:29] local.INFO: IMEI packet received {"connection_id":111024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":111024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:55:30] local.INFO: TCP Data received {"connection_id":111024,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:55:30] local.INFO: Processing buffer {"connection_id":111024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:55:30] local.INFO: Packet analysis {"connection_id":111024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:55:30] local.INFO: Extracted packet for processing {"connection_id":111024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:55:30] 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-06-23 13:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:55:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":111024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:55:30] local.INFO: GPS data processed {"connection_id":111024,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:55:30] local.INFO: Acknowledgment sent {"connection_id":111024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:55:50] local.INFO: TCP Data received {"connection_id":111637,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:55:50] local.INFO: Processing buffer {"connection_id":111637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:55:50] local.INFO: IMEI packet received {"connection_id":111637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":111637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:55:51] local.INFO: TCP Data received {"connection_id":110841,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:55:51] local.INFO: Processing buffer {"connection_id":110841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:55:51] local.INFO: Packet analysis {"connection_id":110841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:55:51] local.INFO: Extracted packet for processing {"connection_id":110841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:55:51] 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-06-23 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:55:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":110841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:55:51] local.INFO: GPS data processed {"connection_id":110841,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:55:51] local.INFO: Acknowledgment sent {"connection_id":110841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:56:02] local.INFO: TCP Data received {"connection_id":111024,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:56:02] local.INFO: Processing buffer {"connection_id":111024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:56:02] local.INFO: Packet analysis {"connection_id":111024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:56:02] local.INFO: Extracted packet for processing {"connection_id":111024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:56:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:56:02] 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-06-23 13:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:56:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":111024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:56:02] local.INFO: GPS data processed {"connection_id":111024,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:56:02] local.INFO: Acknowledgment sent {"connection_id":111024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:56:06] local.INFO: TCP Data received {"connection_id":111638,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:56:06] local.INFO: Processing buffer {"connection_id":111638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 13:56:06] local.INFO: IMEI packet received {"connection_id":111638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 13:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":111638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:56:13] local.INFO: TCP Data received {"connection_id":112573,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:56:13] local.INFO: Processing buffer {"connection_id":112573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:56:13] local.INFO: IMEI packet received {"connection_id":112573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":112573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:56:19] local.INFO: TCP Data received {"connection_id":112573,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:56:19] local.INFO: Processing buffer {"connection_id":112573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:56:19] local.INFO: IMEI packet received {"connection_id":112573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":112573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:56:19] local.INFO: TCP Data received {"connection_id":112573,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:56:19] local.INFO: Processing buffer {"connection_id":112573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:56:19] local.INFO: Packet analysis {"connection_id":112573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:56:19] local.INFO: Extracted packet for processing {"connection_id":112573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:56: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-06-23 13:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:56:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":112573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:56:19] local.INFO: GPS data processed {"connection_id":112573,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:56:19] local.INFO: Acknowledgment sent {"connection_id":112573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:56:24] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:56:24] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:56:24] local.INFO: IMEI packet received {"connection_id":110842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":110842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:56:29] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:56:29] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:56:29] local.INFO: IMEI packet received {"connection_id":110842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":110842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:56:30] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:56:30] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:56:30] local.INFO: Packet analysis {"connection_id":110842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:56:30] local.INFO: Extracted packet for processing {"connection_id":110842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:56:30] 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-06-23 13:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":110842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:56:30] local.INFO: GPS data processed {"connection_id":110842,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:56:30] local.INFO: Acknowledgment sent {"connection_id":110842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:56:50] local.INFO: TCP Data received {"connection_id":112573,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:56:50] local.INFO: Processing buffer {"connection_id":112573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef391b0c0012d196ec0071fed90003e00ee21..."} 
[2026-06-23 13:56:50] local.INFO: Packet analysis {"connection_id":112573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:56:50] local.INFO: Extracted packet for processing {"connection_id":112573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef391"} 
[2026-06-23 13:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":33,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243858176001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782202872000,"timestamp_ms":1782202872000,"timestamp_seconds":1782202872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef391b0c0"} 
[2026-06-23 13:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:56: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-06-23 13:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 13:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243858176001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243858176001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:56:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243858176001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":112573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:56:50] local.INFO: GPS data processed {"connection_id":112573,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:56:50] local.INFO: Acknowledgment sent {"connection_id":112573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:57:02] local.INFO: TCP Data received {"connection_id":110842,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:02] local.INFO: Processing buffer {"connection_id":110842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:02] local.INFO: Packet analysis {"connection_id":110842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:57:02] local.INFO: Extracted packet for processing {"connection_id":110842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:57:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:57:02] 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-06-23 13:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":110842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:57:02] local.INFO: GPS data processed {"connection_id":110842,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:57:02] local.INFO: Acknowledgment sent {"connection_id":110842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:57:19] local.INFO: TCP Data received {"connection_id":111640,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:57:19] local.INFO: Processing buffer {"connection_id":111640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:57:19] local.INFO: IMEI packet received {"connection_id":111640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":111640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:57:24] local.INFO: TCP Data received {"connection_id":111640,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:57:24] local.INFO: Processing buffer {"connection_id":111640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:57:24] local.INFO: IMEI packet received {"connection_id":111640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":111640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:57:24] local.INFO: TCP Data received {"connection_id":111640,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:57:24] local.INFO: Processing buffer {"connection_id":111640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:57:24] local.INFO: Packet analysis {"connection_id":111640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:57:24] local.INFO: Extracted packet for processing {"connection_id":111640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 13:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:57: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-06-23 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":111640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:57:24] local.INFO: GPS data processed {"connection_id":111640,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:57:24] local.INFO: Acknowledgment sent {"connection_id":111640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:57:29] local.INFO: TCP Data received {"connection_id":112574,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:57:29] local.INFO: Processing buffer {"connection_id":112574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:57:29] local.INFO: IMEI packet received {"connection_id":112574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":112574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:57:34] local.INFO: TCP Data received {"connection_id":112574,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:57:34] local.INFO: Processing buffer {"connection_id":112574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:57:34] local.INFO: IMEI packet received {"connection_id":112574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":112574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:57:35] local.INFO: TCP Data received {"connection_id":112574,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:35] local.INFO: Processing buffer {"connection_id":112574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:35] local.INFO: Packet analysis {"connection_id":112574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:57:35] local.INFO: Extracted packet for processing {"connection_id":112574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:57:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:57:35] 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-06-23 13:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:57:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:57:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:57:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":112574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:57:35] local.INFO: GPS data processed {"connection_id":112574,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:57:35] local.INFO: Acknowledgment sent {"connection_id":112574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:57:40] local.INFO: TCP Data received {"connection_id":112574,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:40] local.INFO: Processing buffer {"connection_id":112574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef392b678012cb29b8007823df8004a00cf21..."} 
[2026-06-23 13:57:40] local.INFO: Packet analysis {"connection_id":112574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:57:40] local.INFO: Extracted packet for processing {"connection_id":112574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef392"} 
[2026-06-23 13:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243875328001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782202939000,"timestamp_ms":1782202939000,"timestamp_seconds":1782202939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef392b678"} 
[2026-06-23 13:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:57:40] 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-06-23 13:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-23 13:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243875328001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243875328001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:57:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:57:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243875328001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":112574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:57:40] local.INFO: GPS data processed {"connection_id":112574,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:57:40] local.INFO: Acknowledgment sent {"connection_id":112574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:57:55] local.INFO: TCP Data received {"connection_id":111640,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:57:55] local.INFO: Processing buffer {"connection_id":111640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:57:55] local.INFO: Packet analysis {"connection_id":111640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:57:55] local.INFO: Extracted packet for processing {"connection_id":111640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 13:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:57:55] 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-06-23 13: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:57:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":111640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:57:56] local.INFO: GPS data processed {"connection_id":111640,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:57:56] local.INFO: Acknowledgment sent {"connection_id":111640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:58:14] local.INFO: TCP Data received {"connection_id":110844,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:58:14] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:58:14] local.INFO: IMEI packet received {"connection_id":110844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":110844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:58:19] local.INFO: TCP Data received {"connection_id":110844,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:58:19] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:58:19] local.INFO: IMEI packet received {"connection_id":110844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":110844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:58:19] local.INFO: TCP Data received {"connection_id":110844,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:58:19] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:58:19] local.INFO: Packet analysis {"connection_id":110844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:58:19] local.INFO: Extracted packet for processing {"connection_id":110844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 13:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:58:19] 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-06-23 13:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:58:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":110844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:58:19] local.INFO: GPS data processed {"connection_id":110844,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:58:19] local.INFO: Acknowledgment sent {"connection_id":110844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:58:24] local.INFO: TCP Data received {"connection_id":111642,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:58:24] local.INFO: Processing buffer {"connection_id":111642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:58:24] local.INFO: IMEI packet received {"connection_id":111642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":111642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:58:29] local.INFO: TCP Data received {"connection_id":111642,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:58:29] local.INFO: Processing buffer {"connection_id":111642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:58:29] local.INFO: IMEI packet received {"connection_id":111642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":111642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:58:30] local.INFO: TCP Data received {"connection_id":111642,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:58:30] local.INFO: Processing buffer {"connection_id":111642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:58:30] local.INFO: Packet analysis {"connection_id":111642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 13:58:30] local.INFO: Extracted packet for processing {"connection_id":111642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 13:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 13:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:58:30] 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-06-23 13:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":111642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:58:30] local.INFO: GPS data processed {"connection_id":111642,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:58:30] local.INFO: Acknowledgment sent {"connection_id":111642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:58:51] local.INFO: TCP Data received {"connection_id":110844,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:58:51] local.INFO: Processing buffer {"connection_id":110844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:58:51] local.INFO: Packet analysis {"connection_id":110844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:58:51] local.INFO: Extracted packet for processing {"connection_id":110844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 13:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:58:51] 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-06-23 13:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:58:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":110844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:58:51] local.INFO: GPS data processed {"connection_id":110844,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:58:51] local.INFO: Acknowledgment sent {"connection_id":110844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:59:02] local.INFO: TCP Data received {"connection_id":111642,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:59:02] local.INFO: Processing buffer {"connection_id":111642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:59:02] local.INFO: Packet analysis {"connection_id":111642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 13:59:02] local.INFO: Extracted packet for processing {"connection_id":111642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 13:59:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 13:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:59:02] 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-06-23 13:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":111642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:59:02] local.INFO: GPS data processed {"connection_id":111642,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:59:02] local.INFO: Acknowledgment sent {"connection_id":111642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:59:14] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:59:14] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:59:14] local.INFO: IMEI packet received {"connection_id":111025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 13:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":111025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:59:19] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:59:19] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 13:59:19] local.INFO: IMEI packet received {"connection_id":111025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 13:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":111025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:59:20] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:59:20] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:59:20] local.INFO: Packet analysis {"connection_id":111025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:59:20] local.INFO: Extracted packet for processing {"connection_id":111025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 13:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:59:20] 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-06-23 13:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:59: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-06-23 13:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:59:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":111025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:59:20] local.INFO: GPS data processed {"connection_id":111025,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:59:20] local.INFO: Acknowledgment sent {"connection_id":111025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:59:24] local.INFO: TCP Data received {"connection_id":112575,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:59:24] local.INFO: Processing buffer {"connection_id":112575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:59:24] local.INFO: IMEI packet received {"connection_id":112575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 13:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":112575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 13:59:29] local.INFO: TCP Data received {"connection_id":112575,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:59:29] local.INFO: Processing buffer {"connection_id":112575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 13:59:29] local.INFO: IMEI packet received {"connection_id":112575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 13:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":112575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 13:59:30] local.INFO: TCP Data received {"connection_id":112575,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:59:30] local.INFO: Processing buffer {"connection_id":112575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 13:59:30] local.INFO: Packet analysis {"connection_id":112575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 13:59:30] local.INFO: Extracted packet for processing {"connection_id":112575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 13:59:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 13: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-06-23 13:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 13:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:59:30] 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-06-23 13:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 13:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13: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-06-23 13:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 13:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 13:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 13:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 13:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 13:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 13:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 13:59:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 13:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 13:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 13:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":112575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:59:30] local.INFO: GPS data processed {"connection_id":112575,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:59:30] local.INFO: Acknowledgment sent {"connection_id":112575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 13:59:51] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:59:51] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 13:59:51] local.INFO: Packet analysis {"connection_id":111025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:59:51] local.INFO: Extracted packet for processing {"connection_id":111025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 13:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 13:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 13:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 13:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 13:59:51] 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-06-23 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 13:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 13:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 13:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 13:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 13:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 13:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 13:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 13:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 13:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 13:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 13:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 13:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 13:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 13:59:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 13:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 13:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 13:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 13:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":111025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 13:59:51] local.INFO: GPS data processed {"connection_id":111025,"processed":1,"errors":0,"total":1} 
[2026-06-23 13:59:51] local.INFO: Acknowledgment sent {"connection_id":111025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:00:02] local.INFO: TCP Data received {"connection_id":112575,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:00:02] local.INFO: Processing buffer {"connection_id":112575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:00:02] local.INFO: Packet analysis {"connection_id":112575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:00:02] local.INFO: Extracted packet for processing {"connection_id":112575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 14:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:00:02] 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-06-23 14:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":112575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:00:02] local.INFO: GPS data processed {"connection_id":112575,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:00:02] local.INFO: Acknowledgment sent {"connection_id":112575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:00:13] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:00:13] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:00:13] local.INFO: IMEI packet received {"connection_id":110846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":110846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:00:19] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:00:19] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:00:19] local.INFO: IMEI packet received {"connection_id":110846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":110846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:00:19] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:00:19] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:00:19] local.INFO: Packet analysis {"connection_id":110846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:00:19] local.INFO: Extracted packet for processing {"connection_id":110846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 14:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:00:19] 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-06-23 14:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:00:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":110846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:00:19] local.INFO: GPS data processed {"connection_id":110846,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:00:19] local.INFO: Acknowledgment sent {"connection_id":110846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:00:24] local.INFO: TCP Data received {"connection_id":112576,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:00:24] local.INFO: Processing buffer {"connection_id":112576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:00:24] local.INFO: IMEI packet received {"connection_id":112576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":112576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:00:29] local.INFO: TCP Data received {"connection_id":112576,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:00:29] local.INFO: Processing buffer {"connection_id":112576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:00:29] local.INFO: IMEI packet received {"connection_id":112576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":112576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:00:30] local.INFO: TCP Data received {"connection_id":112576,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:00:30] local.INFO: Processing buffer {"connection_id":112576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:00:30] local.INFO: Packet analysis {"connection_id":112576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:00:30] local.INFO: Extracted packet for processing {"connection_id":112576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 14:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:00:30] 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-06-23 14:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":112576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:00:30] local.INFO: GPS data processed {"connection_id":112576,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:00:30] local.INFO: Acknowledgment sent {"connection_id":112576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:00:50] local.INFO: TCP Data received {"connection_id":110846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:00:50] local.INFO: Processing buffer {"connection_id":110846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:00:50] local.INFO: Packet analysis {"connection_id":110846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:00:50] local.INFO: Extracted packet for processing {"connection_id":110846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 14:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:00:50] 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-06-23 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:00:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":110846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:00:51] local.INFO: GPS data processed {"connection_id":110846,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:00:51] local.INFO: Acknowledgment sent {"connection_id":110846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:01:02] local.INFO: TCP Data received {"connection_id":112576,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:01:02] local.INFO: Processing buffer {"connection_id":112576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:01:02] local.INFO: Packet analysis {"connection_id":112576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:01:02] local.INFO: Extracted packet for processing {"connection_id":112576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:01:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 14:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:01:02] 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-06-23 14:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:01:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":112576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:01:02] local.INFO: GPS data processed {"connection_id":112576,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:01:02] local.INFO: Acknowledgment sent {"connection_id":112576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:01:13] local.INFO: TCP Data received {"connection_id":112577,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:01:13] local.INFO: Processing buffer {"connection_id":112577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:01:13] local.INFO: IMEI packet received {"connection_id":112577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":112577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:01:19] local.INFO: TCP Data received {"connection_id":112577,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:01:19] local.INFO: Processing buffer {"connection_id":112577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:01:19] local.INFO: IMEI packet received {"connection_id":112577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":112577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:01:19] local.INFO: TCP Data received {"connection_id":112577,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:01:19] local.INFO: Processing buffer {"connection_id":112577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:01:19] local.INFO: Packet analysis {"connection_id":112577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:01:19] local.INFO: Extracted packet for processing {"connection_id":112577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 14:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:01:19] 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-06-23 14:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:01:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":112577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:01:19] local.INFO: GPS data processed {"connection_id":112577,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:01:19] local.INFO: Acknowledgment sent {"connection_id":112577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:01:29] local.INFO: TCP Data received {"connection_id":111644,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:01:29] local.INFO: Processing buffer {"connection_id":111644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:01:29] local.INFO: IMEI packet received {"connection_id":111644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":111644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:01:30] local.INFO: TCP Data received {"connection_id":111026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:01:30] local.INFO: Processing buffer {"connection_id":111026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:01:30] local.INFO: IMEI packet received {"connection_id":111026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":111026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:01:34] local.INFO: TCP Data received {"connection_id":111644,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:01:34] local.INFO: Processing buffer {"connection_id":111644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:01:34] local.INFO: IMEI packet received {"connection_id":111644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":111644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:01:36] local.INFO: TCP Data received {"connection_id":111644,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:01:36] local.INFO: Processing buffer {"connection_id":111644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:01:36] local.INFO: Packet analysis {"connection_id":111644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:01:36] local.INFO: Extracted packet for processing {"connection_id":111644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 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-06-23 14:01: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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:01:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:01:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":111644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:01:36] local.INFO: GPS data processed {"connection_id":111644,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:01:36] local.INFO: Acknowledgment sent {"connection_id":111644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:01:51] local.INFO: TCP Data received {"connection_id":112577,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:01:51] local.INFO: Processing buffer {"connection_id":112577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3964888012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:01:51] local.INFO: Packet analysis {"connection_id":112577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:01:51] local.INFO: Extracted packet for processing {"connection_id":112577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef396"} 
[2026-06-23 14:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243935232001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782203173000,"timestamp_ms":1782203173000,"timestamp_seconds":1782203173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3964888"} 
[2026-06-23 14:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:01:51] 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-06-23 14:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243935232001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243935232001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:01:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243935232001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":112577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:01:51] local.INFO: GPS data processed {"connection_id":112577,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:01:51] local.INFO: Acknowledgment sent {"connection_id":112577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:02:08] local.INFO: TCP Data received {"connection_id":111644,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:02:08] local.INFO: Processing buffer {"connection_id":111644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:02:08] local.INFO: Packet analysis {"connection_id":111644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:02:08] local.INFO: Extracted packet for processing {"connection_id":111644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 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-06-23 14:02:08] 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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:02:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":111644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:02:08] local.INFO: GPS data processed {"connection_id":111644,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:02:08] local.INFO: Acknowledgment sent {"connection_id":111644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:02:10] local.INFO: TCP Data received {"connection_id":112578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:02:10] local.INFO: Processing buffer {"connection_id":112578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:02:10] local.INFO: IMEI packet received {"connection_id":112578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":112578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:02:19] local.INFO: TCP Data received {"connection_id":112579,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:02:19] local.INFO: Processing buffer {"connection_id":112579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:02:19] local.INFO: IMEI packet received {"connection_id":112579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":112579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:02:24] local.INFO: TCP Data received {"connection_id":112579,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:02:24] local.INFO: Processing buffer {"connection_id":112579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:02:24] local.INFO: IMEI packet received {"connection_id":112579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":112579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:02:24] local.INFO: TCP Data received {"connection_id":112579,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:02:24] local.INFO: Processing buffer {"connection_id":112579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:02:24] local.INFO: Packet analysis {"connection_id":112579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:02:24] local.INFO: Extracted packet for processing {"connection_id":112579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":112579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:02:24] local.INFO: GPS data processed {"connection_id":112579,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:02:24] local.INFO: Acknowledgment sent {"connection_id":112579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:02:24] local.INFO: TCP Data received {"connection_id":112580,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:02:24] local.INFO: Processing buffer {"connection_id":112580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:02:24] local.INFO: IMEI packet received {"connection_id":112580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":112580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:02:29] local.INFO: TCP Data received {"connection_id":112580,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:02:29] local.INFO: Processing buffer {"connection_id":112580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:02:29] local.INFO: IMEI packet received {"connection_id":112580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":112580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:02:30] local.INFO: TCP Data received {"connection_id":112580,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:02:30] local.INFO: Processing buffer {"connection_id":112580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3974e40012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:02:30] local.INFO: Packet analysis {"connection_id":112580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:02:30] local.INFO: Extracted packet for processing {"connection_id":112580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef397"} 
[2026-06-23 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456243952384001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203240000,"timestamp_ms":1782203240000,"timestamp_seconds":1782203240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3974e40"} 
[2026-06-23 14:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:02:30] 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-06-23 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456243952384001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456243952384001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456243952384001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":112580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:02:30] local.INFO: GPS data processed {"connection_id":112580,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:02:30] local.INFO: Acknowledgment sent {"connection_id":112580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:02:55] local.INFO: TCP Data received {"connection_id":112579,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:02:55] local.INFO: Processing buffer {"connection_id":112579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:02:55] local.INFO: Packet analysis {"connection_id":112579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:02:55] local.INFO: Extracted packet for processing {"connection_id":112579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:02:55] 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-06-23 14:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:02:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":112579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:02:56] local.INFO: GPS data processed {"connection_id":112579,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:02:56] local.INFO: Acknowledgment sent {"connection_id":112579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:03:02] local.INFO: TCP Data received {"connection_id":112580,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:02] local.INFO: Processing buffer {"connection_id":112580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:02] local.INFO: Packet analysis {"connection_id":112580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:03:02] local.INFO: Extracted packet for processing {"connection_id":112580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 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-06-23 14:03:02] 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-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":112580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:03:02] local.INFO: GPS data processed {"connection_id":112580,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:03:02] local.INFO: Acknowledgment sent {"connection_id":112580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:03:14] local.INFO: TCP Data received {"connection_id":110847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:03:14] local.INFO: Processing buffer {"connection_id":110847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:03:14] local.INFO: IMEI packet received {"connection_id":110847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":110847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:03:19] local.INFO: TCP Data received {"connection_id":110847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:03:19] local.INFO: Processing buffer {"connection_id":110847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:03:19] local.INFO: IMEI packet received {"connection_id":110847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":110847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:03:19] local.INFO: TCP Data received {"connection_id":110847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:03:19] local.INFO: Processing buffer {"connection_id":110847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:03:19] local.INFO: Packet analysis {"connection_id":110847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:03:19] local.INFO: Extracted packet for processing {"connection_id":110847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:03:19] 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-06-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":110847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:03:19] local.INFO: GPS data processed {"connection_id":110847,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:03:19] local.INFO: Acknowledgment sent {"connection_id":110847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:03:29] local.INFO: TCP Data received {"connection_id":111028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:03:29] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:03:29] local.INFO: IMEI packet received {"connection_id":111028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":111028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:03:34] local.INFO: TCP Data received {"connection_id":111028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:03:34] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:03:34] local.INFO: IMEI packet received {"connection_id":111028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":111028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:03:35] local.INFO: TCP Data received {"connection_id":111028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:35] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:35] local.INFO: Packet analysis {"connection_id":111028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:03:35] local.INFO: Extracted packet for processing {"connection_id":111028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:03:35] 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-06-23 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":111028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:03:35] local.INFO: GPS data processed {"connection_id":111028,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:03:35] local.INFO: Acknowledgment sent {"connection_id":111028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:03:40] local.INFO: TCP Data received {"connection_id":111028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:40] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:03:40] local.INFO: Packet analysis {"connection_id":111028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:03:40] local.INFO: Extracted packet for processing {"connection_id":111028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:03:40] 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-06-23 14:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:03:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:03:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":111028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:03:40] local.INFO: GPS data processed {"connection_id":111028,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:03:40] local.INFO: Acknowledgment sent {"connection_id":111028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:03:51] local.INFO: TCP Data received {"connection_id":110847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:03:51] local.INFO: Processing buffer {"connection_id":110847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:03:51] local.INFO: Packet analysis {"connection_id":110847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:03:51] local.INFO: Extracted packet for processing {"connection_id":110847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:03:51] 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-06-23 14:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:03:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":110847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:03:51] local.INFO: GPS data processed {"connection_id":110847,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:03:51] local.INFO: Acknowledgment sent {"connection_id":110847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:04:14] local.INFO: TCP Data received {"connection_id":111646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:04:14] local.INFO: Processing buffer {"connection_id":111646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:04:14] local.INFO: IMEI packet received {"connection_id":111646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":111646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:04:19] local.INFO: TCP Data received {"connection_id":111646,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:04:19] local.INFO: Processing buffer {"connection_id":111646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:04:19] local.INFO: IMEI packet received {"connection_id":111646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":111646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:04:19] local.INFO: TCP Data received {"connection_id":111646,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:04:19] local.INFO: Processing buffer {"connection_id":111646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:04:19] local.INFO: Packet analysis {"connection_id":111646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:04:19] local.INFO: Extracted packet for processing {"connection_id":111646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:04:19] 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-06-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:04:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":111646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:04:19] local.INFO: GPS data processed {"connection_id":111646,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:04:19] local.INFO: Acknowledgment sent {"connection_id":111646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:04:24] local.INFO: TCP Data received {"connection_id":111029,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:04:24] local.INFO: Processing buffer {"connection_id":111029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:04:24] local.INFO: IMEI packet received {"connection_id":111029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":111029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:04:41] local.INFO: TCP Data received {"connection_id":111029,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:04:41] local.INFO: Processing buffer {"connection_id":111029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:04:41] local.INFO: IMEI packet received {"connection_id":111029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":111029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:04:43] local.INFO: TCP Data received {"connection_id":111029,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:04:43] local.INFO: Processing buffer {"connection_id":111029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:04:43] local.INFO: Packet analysis {"connection_id":111029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:04:43] local.INFO: Extracted packet for processing {"connection_id":111029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:04:43] 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-06-23 14:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:04:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:04:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":111029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:04:43] local.INFO: GPS data processed {"connection_id":111029,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:04:43] local.INFO: Acknowledgment sent {"connection_id":111029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:04:50] local.INFO: TCP Data received {"connection_id":111646,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:04:50] local.INFO: Processing buffer {"connection_id":111646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:04:50] local.INFO: Packet analysis {"connection_id":111646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:04:50] local.INFO: Extracted packet for processing {"connection_id":111646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:04:50] 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-06-23 14:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:04:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":111646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:04:51] local.INFO: GPS data processed {"connection_id":111646,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:04:51] local.INFO: Acknowledgment sent {"connection_id":111646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:05:14] local.INFO: TCP Data received {"connection_id":111030,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:05:14] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:05:14] local.INFO: IMEI packet received {"connection_id":111030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":111030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:05:19] local.INFO: TCP Data received {"connection_id":111030,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:05:19] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:05:19] local.INFO: IMEI packet received {"connection_id":111030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":111030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:05:19] local.INFO: TCP Data received {"connection_id":111030,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:05:19] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:05:19] local.INFO: Packet analysis {"connection_id":111030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:05:19] local.INFO: Extracted packet for processing {"connection_id":111030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:05:19] 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-06-23 14:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:05:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":111030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:05:20] local.INFO: GPS data processed {"connection_id":111030,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:05:20] local.INFO: Acknowledgment sent {"connection_id":111030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:05:29] local.INFO: TCP Data received {"connection_id":112581,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:05:29] local.INFO: Processing buffer {"connection_id":112581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:05:29] local.INFO: IMEI packet received {"connection_id":112581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":112581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:05:34] local.INFO: TCP Data received {"connection_id":112581,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:05:34] local.INFO: Processing buffer {"connection_id":112581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:05:34] local.INFO: IMEI packet received {"connection_id":112581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":112581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:05:36] local.INFO: TCP Data received {"connection_id":112581,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:05:36] local.INFO: Processing buffer {"connection_id":112581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:05:36] local.INFO: Packet analysis {"connection_id":112581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:05:36] local.INFO: Extracted packet for processing {"connection_id":112581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:05: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-06-23 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":112581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:05:36] local.INFO: GPS data processed {"connection_id":112581,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:05:36] local.INFO: Acknowledgment sent {"connection_id":112581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:05:42] local.INFO: TCP Data received {"connection_id":112581,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:05:42] local.INFO: Processing buffer {"connection_id":112581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:05:42] local.INFO: Packet analysis {"connection_id":112581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:05:42] local.INFO: Extracted packet for processing {"connection_id":112581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:05:42] 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-06-23 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:05:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:05:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":112581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:05:42] local.INFO: GPS data processed {"connection_id":112581,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:05:42] local.INFO: Acknowledgment sent {"connection_id":112581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:05:51] local.INFO: TCP Data received {"connection_id":111030,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:05:51] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:05:51] local.INFO: Packet analysis {"connection_id":111030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:05:51] local.INFO: Extracted packet for processing {"connection_id":111030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:05:51] 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-06-23 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":111030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:05:51] local.INFO: GPS data processed {"connection_id":111030,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:05:51] local.INFO: Acknowledgment sent {"connection_id":111030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:06:13] local.INFO: TCP Data received {"connection_id":111647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:06:13] local.INFO: Processing buffer {"connection_id":111647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:06:13] local.INFO: IMEI packet received {"connection_id":111647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":111647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:06:19] local.INFO: TCP Data received {"connection_id":111647,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:06:19] local.INFO: Processing buffer {"connection_id":111647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:06:19] local.INFO: IMEI packet received {"connection_id":111647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":111647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:06:19] local.INFO: TCP Data received {"connection_id":111647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:06:19] local.INFO: Processing buffer {"connection_id":111647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:06:19] local.INFO: Packet analysis {"connection_id":111647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:06:19] local.INFO: Extracted packet for processing {"connection_id":111647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:06:19] 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-06-23 14:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:06: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-06-23 14:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:06:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":111647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:06:20] local.INFO: GPS data processed {"connection_id":111647,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:06:20] local.INFO: Acknowledgment sent {"connection_id":111647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:06:24] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:06:24] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:06:24] local.INFO: IMEI packet received {"connection_id":110851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":110851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:06:29] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:06:29] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:06:29] local.INFO: IMEI packet received {"connection_id":110851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":110851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:06:30] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:06:30] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:06:30] local.INFO: Packet analysis {"connection_id":110851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:06:30] local.INFO: Extracted packet for processing {"connection_id":110851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:06:30] 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-06-23 14:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":110851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:06:30] local.INFO: GPS data processed {"connection_id":110851,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:06:30] local.INFO: Acknowledgment sent {"connection_id":110851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:06:50] local.INFO: TCP Data received {"connection_id":111647,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:06:50] local.INFO: Processing buffer {"connection_id":111647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39ae050012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:06:50] local.INFO: Packet analysis {"connection_id":111647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:06:50] local.INFO: Extracted packet for processing {"connection_id":111647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39a"} 
[2026-06-23 14:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782203474000,"timestamp_ms":1782203474000,"timestamp_seconds":1782203474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39ae050"} 
[2026-06-23 14:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:06:50] 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-06-23 14:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 14:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244012288001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:06:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244012288001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":111647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:06:51] local.INFO: GPS data processed {"connection_id":111647,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:06:51] local.INFO: Acknowledgment sent {"connection_id":111647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:07:02] local.INFO: TCP Data received {"connection_id":110851,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:07:02] local.INFO: Processing buffer {"connection_id":110851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:07:02] local.INFO: Packet analysis {"connection_id":110851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:07:02] local.INFO: Extracted packet for processing {"connection_id":110851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:07:02] 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-06-23 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":110851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:07:02] local.INFO: GPS data processed {"connection_id":110851,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:07:02] local.INFO: Acknowledgment sent {"connection_id":110851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:07:19] local.INFO: TCP Data received {"connection_id":111031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:07:19] local.INFO: Processing buffer {"connection_id":111031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:07:19] local.INFO: IMEI packet received {"connection_id":111031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":111031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:07:24] local.INFO: TCP Data received {"connection_id":111031,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:07:24] local.INFO: Processing buffer {"connection_id":111031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:07:24] local.INFO: IMEI packet received {"connection_id":111031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":111031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:07:24] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:07:24] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:07:24] local.INFO: IMEI packet received {"connection_id":111032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":111032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:07:24] local.INFO: TCP Data received {"connection_id":111031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:07:24] local.INFO: Processing buffer {"connection_id":111031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:07:24] local.INFO: Packet analysis {"connection_id":111031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:07:24] local.INFO: Extracted packet for processing {"connection_id":111031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:07: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-06-23 14:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:07: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-06-23 14:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:07:24] 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-06-23 14:07: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-06-23 14:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:07:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":111031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:07:24] local.INFO: GPS data processed {"connection_id":111031,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:07:24] local.INFO: Acknowledgment sent {"connection_id":111031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:07:26] local.INFO: TCP Data received {"connection_id":111648,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:07:26] local.INFO: Processing buffer {"connection_id":111648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:07:26] local.INFO: IMEI packet received {"connection_id":111648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":111648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:07:29] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:07:29] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:07:29] local.INFO: IMEI packet received {"connection_id":111032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":111032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:07:30] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:07:30] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39be608012cb29b8007823df8004a00cf22..."} 
[2026-06-23 14:07:30] local.INFO: Packet analysis {"connection_id":111032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:07:30] local.INFO: Extracted packet for processing {"connection_id":111032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39b"} 
[2026-06-23 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244029440001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203541000,"timestamp_ms":1782203541000,"timestamp_seconds":1782203541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39be608"} 
[2026-06-23 14:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:07:30] 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-06-23 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 14:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244029440001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244029440001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244029440001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":111032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:07:30] local.INFO: GPS data processed {"connection_id":111032,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:07:30] local.INFO: Acknowledgment sent {"connection_id":111032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:07:56] local.INFO: TCP Data received {"connection_id":111031,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:07:56] local.INFO: Processing buffer {"connection_id":111031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:07:56] local.INFO: Packet analysis {"connection_id":111031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:07:56] local.INFO: Extracted packet for processing {"connection_id":111031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:07: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-06-23 14:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:07: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-06-23 14:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:07:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":111031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:07:56] local.INFO: GPS data processed {"connection_id":111031,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:07:56] local.INFO: Acknowledgment sent {"connection_id":111031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:08:02] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:08:02] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:08:02] local.INFO: Packet analysis {"connection_id":111032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:08:02] local.INFO: Extracted packet for processing {"connection_id":111032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:08:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:08:02] 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-06-23 14:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:08: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-06-23 14: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-06-23 14:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":111032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:08:02] local.INFO: GPS data processed {"connection_id":111032,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:08:02] local.INFO: Acknowledgment sent {"connection_id":111032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:08:09] local.INFO: TCP Data received {"connection_id":110852,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:08:09] local.INFO: Processing buffer {"connection_id":110852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:08:09] local.INFO: IMEI packet received {"connection_id":110852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":110852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:08:14] local.INFO: TCP Data received {"connection_id":111649,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:08:14] local.INFO: Processing buffer {"connection_id":111649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:08:14] local.INFO: IMEI packet received {"connection_id":111649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":111649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:08:19] local.INFO: TCP Data received {"connection_id":111649,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:08:19] local.INFO: Processing buffer {"connection_id":111649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:08:19] local.INFO: IMEI packet received {"connection_id":111649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":111649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:08:20] local.INFO: TCP Data received {"connection_id":111649,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:08:20] local.INFO: Processing buffer {"connection_id":111649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:08:20] local.INFO: Packet analysis {"connection_id":111649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:08:20] local.INFO: Extracted packet for processing {"connection_id":111649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:08: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-06-23 14:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:08:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":111649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:08:20] local.INFO: GPS data processed {"connection_id":111649,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:08:20] local.INFO: Acknowledgment sent {"connection_id":111649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:08:24] local.INFO: TCP Data received {"connection_id":112582,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:08:24] local.INFO: Processing buffer {"connection_id":112582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:08:24] local.INFO: IMEI packet received {"connection_id":112582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":112582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:08:29] local.INFO: TCP Data received {"connection_id":112582,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:08:29] local.INFO: Processing buffer {"connection_id":112582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:08:29] local.INFO: IMEI packet received {"connection_id":112582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":112582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:08:30] local.INFO: TCP Data received {"connection_id":112582,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:08:30] local.INFO: Processing buffer {"connection_id":112582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:08:30] local.INFO: Packet analysis {"connection_id":112582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:08:30] local.INFO: Extracted packet for processing {"connection_id":112582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:08:30] 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-06-23 14:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:08: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-06-23 14:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:08:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":112582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:08:30] local.INFO: GPS data processed {"connection_id":112582,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:08:30] local.INFO: Acknowledgment sent {"connection_id":112582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:08:51] local.INFO: TCP Data received {"connection_id":111649,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:08:51] local.INFO: Processing buffer {"connection_id":111649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:08:51] local.INFO: Packet analysis {"connection_id":111649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:08:51] local.INFO: Extracted packet for processing {"connection_id":111649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:08:51] 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-06-23 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:08:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":111649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:08:51] local.INFO: GPS data processed {"connection_id":111649,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:08:51] local.INFO: Acknowledgment sent {"connection_id":111649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:09:14] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:09:14] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:09:14] local.INFO: IMEI packet received {"connection_id":110854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":110854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:09:19] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:09:19] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:09:19] local.INFO: IMEI packet received {"connection_id":110854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":110854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:09:19] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:09:19] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:09:19] local.INFO: Packet analysis {"connection_id":110854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:09:19] local.INFO: Extracted packet for processing {"connection_id":110854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:09:19] 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-06-23 14: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-06-23 14:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:09:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":110854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:09:19] local.INFO: GPS data processed {"connection_id":110854,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:09:19] local.INFO: Acknowledgment sent {"connection_id":110854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:09:27] local.INFO: TCP Data received {"connection_id":112582,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:27] local.INFO: Processing buffer {"connection_id":112582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:27] local.INFO: Packet analysis {"connection_id":112582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:09:27] local.INFO: Extracted packet for processing {"connection_id":112582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:09:27] 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-06-23 14:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:09:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:09:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":112582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:09:27] local.INFO: GPS data processed {"connection_id":112582,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:09:27] local.INFO: Acknowledgment sent {"connection_id":112582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:09:34] local.INFO: TCP Data received {"connection_id":112583,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:09:34] local.INFO: Processing buffer {"connection_id":112583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:09:34] local.INFO: IMEI packet received {"connection_id":112583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":112583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:09:39] local.INFO: TCP Data received {"connection_id":112583,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:09:39] local.INFO: Processing buffer {"connection_id":112583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:09:39] local.INFO: IMEI packet received {"connection_id":112583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":112583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:09:39] local.INFO: TCP Data received {"connection_id":112583,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:39] local.INFO: Processing buffer {"connection_id":112583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:39] local.INFO: Packet analysis {"connection_id":112583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:09:39] local.INFO: Extracted packet for processing {"connection_id":112583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:09:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:09:39] 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-06-23 14:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:09:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:09:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:09:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":112583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:09:39] local.INFO: GPS data processed {"connection_id":112583,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:09:39] local.INFO: Acknowledgment sent {"connection_id":112583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:09:44] local.INFO: TCP Data received {"connection_id":112583,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:44] local.INFO: Processing buffer {"connection_id":112583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:09:44] local.INFO: Packet analysis {"connection_id":112583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:09:44] local.INFO: Extracted packet for processing {"connection_id":112583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:09:44] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:09:44] 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-06-23 14:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:09:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:09:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":112583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:09:44] local.INFO: GPS data processed {"connection_id":112583,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:09:44] local.INFO: Acknowledgment sent {"connection_id":112583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:09:50] local.INFO: TCP Data received {"connection_id":110854,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:09:50] local.INFO: Processing buffer {"connection_id":110854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:09:50] local.INFO: Packet analysis {"connection_id":110854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:09:50] local.INFO: Extracted packet for processing {"connection_id":110854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:09:50] 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-06-23 14:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:09:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":110854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:09:51] local.INFO: GPS data processed {"connection_id":110854,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:09:51] local.INFO: Acknowledgment sent {"connection_id":110854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:10:13] local.INFO: TCP Data received {"connection_id":111651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:10:13] local.INFO: Processing buffer {"connection_id":111651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:10:13] local.INFO: IMEI packet received {"connection_id":111651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":111651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:10:19] local.INFO: TCP Data received {"connection_id":111651,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:10:19] local.INFO: Processing buffer {"connection_id":111651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:10:19] local.INFO: IMEI packet received {"connection_id":111651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":111651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:10:19] local.INFO: TCP Data received {"connection_id":111651,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:10:19] local.INFO: Processing buffer {"connection_id":111651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:10:19] local.INFO: Packet analysis {"connection_id":111651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:10:19] local.INFO: Extracted packet for processing {"connection_id":111651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:10:19] 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-06-23 14:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:10:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":111651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:10:19] local.INFO: GPS data processed {"connection_id":111651,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:10:19] local.INFO: Acknowledgment sent {"connection_id":111651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:10:24] local.INFO: TCP Data received {"connection_id":111033,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:10:24] local.INFO: Processing buffer {"connection_id":111033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:10:24] local.INFO: IMEI packet received {"connection_id":111033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":111033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:10:50] local.INFO: TCP Data received {"connection_id":111651,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:10:50] local.INFO: Processing buffer {"connection_id":111651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:10:50] local.INFO: Packet analysis {"connection_id":111651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:10:50] local.INFO: Extracted packet for processing {"connection_id":111651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:10:50] 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-06-23 14:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:10:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":111651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:10:51] local.INFO: GPS data processed {"connection_id":111651,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:10:51] local.INFO: Acknowledgment sent {"connection_id":111651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:11:01] local.INFO: TCP Data received {"connection_id":111033,"ip":"117.225.209.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111033,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 14:11:01] local.INFO: Processing buffer {"connection_id":111033,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 14:11:01] local.INFO: IMEI packet received {"connection_id":111033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":111033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:11:05] local.INFO: TCP Data received {"connection_id":111033,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:05] local.INFO: Processing buffer {"connection_id":111033,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef3..."} 
[2026-06-23 14:11:05] local.INFO: IMEI packet received {"connection_id":111033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":111033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:11:06] local.INFO: TCP Data received {"connection_id":111033,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:06] local.INFO: Processing buffer {"connection_id":111033,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:06] local.INFO: Packet analysis {"connection_id":111033,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:06] local.INFO: Extracted packet for processing {"connection_id":111033,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:11:06] 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-06-23 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":111033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:11:06] local.INFO: GPS data processed {"connection_id":111033,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:11:06] local.INFO: Acknowledgment sent {"connection_id":111033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:11:06] local.INFO: Packet analysis {"connection_id":111033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:06] local.INFO: Extracted packet for processing {"connection_id":111033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:11:06] 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-06-23 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":111033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:11:06] local.INFO: GPS data processed {"connection_id":111033,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:11:06] local.INFO: Acknowledgment sent {"connection_id":111033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:11:07] local.INFO: TCP Data received {"connection_id":111033,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:07] local.INFO: Processing buffer {"connection_id":111033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:07] local.INFO: Packet analysis {"connection_id":111033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:07] local.INFO: Extracted packet for processing {"connection_id":111033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:11: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-06-23 14:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:11:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:11:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:11:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":111033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:11:07] local.INFO: GPS data processed {"connection_id":111033,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:11:07] local.INFO: Acknowledgment sent {"connection_id":111033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:11:13] local.INFO: TCP Data received {"connection_id":110855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:11:13] local.INFO: Processing buffer {"connection_id":110855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:11:13] local.INFO: IMEI packet received {"connection_id":110855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":110855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:11:19] local.INFO: TCP Data received {"connection_id":110855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:11:19] local.INFO: Processing buffer {"connection_id":110855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:11:19] local.INFO: IMEI packet received {"connection_id":110855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":110855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:11:19] local.INFO: TCP Data received {"connection_id":110855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:11:19] local.INFO: Processing buffer {"connection_id":110855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:11:19] local.INFO: Packet analysis {"connection_id":110855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:11:19] local.INFO: Extracted packet for processing {"connection_id":110855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:11:19] 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-06-23 14:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":110855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:11:19] local.INFO: GPS data processed {"connection_id":110855,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:11:19] local.INFO: Acknowledgment sent {"connection_id":110855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:11:24] local.INFO: TCP Data received {"connection_id":111653,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:11:24] local.INFO: Processing buffer {"connection_id":111653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:11:24] local.INFO: IMEI packet received {"connection_id":111653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":111653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:11:29] local.INFO: TCP Data received {"connection_id":111653,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:11:29] local.INFO: Processing buffer {"connection_id":111653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:11:29] local.INFO: IMEI packet received {"connection_id":111653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:11:32] local.INFO: TCP Data received {"connection_id":111653,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:32] local.INFO: Processing buffer {"connection_id":111653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:11:32] local.INFO: Packet analysis {"connection_id":111653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:32] local.INFO: Extracted packet for processing {"connection_id":111653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:11:32] 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-06-23 14: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":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:11: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-06-23 14: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-06-23 14:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":111653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:11:32] local.INFO: GPS data processed {"connection_id":111653,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:11:32] local.INFO: Acknowledgment sent {"connection_id":111653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:11:50] local.INFO: TCP Data received {"connection_id":110855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:11:50] local.INFO: Processing buffer {"connection_id":110855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef39f7818012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:11:50] local.INFO: Packet analysis {"connection_id":110855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:11:50] local.INFO: Extracted packet for processing {"connection_id":110855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef39f"} 
[2026-06-23 14:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244089344001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782203775000,"timestamp_ms":1782203775000,"timestamp_seconds":1782203775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef39f7818"} 
[2026-06-23 14:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:11:50] 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-06-23 14:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244089344001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244089344001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244089344001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":110855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:11:51] local.INFO: GPS data processed {"connection_id":110855,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:11:51] local.INFO: Acknowledgment sent {"connection_id":110855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:12:08] local.INFO: TCP Data received {"connection_id":111653,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:08] local.INFO: Processing buffer {"connection_id":111653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:08] local.INFO: Packet analysis {"connection_id":111653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:12:08] local.INFO: Extracted packet for processing {"connection_id":111653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:12:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:12:08] 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-06-23 14:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":111653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:12:08] local.INFO: GPS data processed {"connection_id":111653,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:12:08] local.INFO: Acknowledgment sent {"connection_id":111653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:12:19] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:12:19] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:12:19] local.INFO: IMEI packet received {"connection_id":111036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":111036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:12:24] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:12:24] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:12:24] local.INFO: IMEI packet received {"connection_id":111036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":111036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:12:24] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:12:24] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:12:24] local.INFO: Packet analysis {"connection_id":111036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:12:24] local.INFO: Extracted packet for processing {"connection_id":111036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:12: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-06-23 14:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:12:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":111036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:12:24] local.INFO: GPS data processed {"connection_id":111036,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:12:24] local.INFO: Acknowledgment sent {"connection_id":111036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:12:30] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:12:30] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:12:30] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:12:34] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:12:34] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:12:34] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:12:35] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:35] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:35] local.INFO: Packet analysis {"connection_id":111037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:12:35] local.INFO: Extracted packet for processing {"connection_id":111037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:12:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:12:35] 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-06-23 14:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":111037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:12:35] local.INFO: GPS data processed {"connection_id":111037,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:12:35] local.INFO: Acknowledgment sent {"connection_id":111037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:12:40] local.INFO: TCP Data received {"connection_id":111037,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:40] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a07dd0012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:12:40] local.INFO: Packet analysis {"connection_id":111037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:12:40] local.INFO: Extracted packet for processing {"connection_id":111037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a0"} 
[2026-06-23 14:12:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:12: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-06-23 14:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244106496001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782203842000,"timestamp_ms":1782203842000,"timestamp_seconds":1782203842,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a07dd0"} 
[2026-06-23 14:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:12:40] 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-06-23 14:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:12: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-06-23 14:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244106496001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244106496001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:12:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:12:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244106496001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":111037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:12:40] local.INFO: GPS data processed {"connection_id":111037,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:12:40] local.INFO: Acknowledgment sent {"connection_id":111037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:12:55] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:12:55] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:12:55] local.INFO: Packet analysis {"connection_id":111036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:12:55] local.INFO: Extracted packet for processing {"connection_id":111036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:12: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-06-23 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:12:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":111036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:12:56] local.INFO: GPS data processed {"connection_id":111036,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:12:56] local.INFO: Acknowledgment sent {"connection_id":111036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:13:14] local.INFO: TCP Data received {"connection_id":112584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:13:14] local.INFO: Processing buffer {"connection_id":112584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:13:14] local.INFO: IMEI packet received {"connection_id":112584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":112584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:13:19] local.INFO: TCP Data received {"connection_id":112584,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:13:19] local.INFO: Processing buffer {"connection_id":112584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:13:19] local.INFO: IMEI packet received {"connection_id":112584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":112584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:13:19] local.INFO: TCP Data received {"connection_id":112584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:13:19] local.INFO: Processing buffer {"connection_id":112584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:13:19] local.INFO: Packet analysis {"connection_id":112584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:13:19] local.INFO: Extracted packet for processing {"connection_id":112584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:13:19] 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-06-23 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":112584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:13:19] local.INFO: GPS data processed {"connection_id":112584,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:13:19] local.INFO: Acknowledgment sent {"connection_id":112584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:13:25] local.INFO: TCP Data received {"connection_id":110856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:13:25] local.INFO: Processing buffer {"connection_id":110856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:13:25] local.INFO: IMEI packet received {"connection_id":110856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":110856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:13:50] local.INFO: TCP Data received {"connection_id":112584,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:13:50] local.INFO: Processing buffer {"connection_id":112584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:13:50] local.INFO: Packet analysis {"connection_id":112584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:13:50] local.INFO: Extracted packet for processing {"connection_id":112584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:13:50] 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-06-23 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:13:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":112584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:13:51] local.INFO: GPS data processed {"connection_id":112584,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:13:51] local.INFO: Acknowledgment sent {"connection_id":112584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:13:59] local.INFO: TCP Data received {"connection_id":111654,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:13:59] local.INFO: Processing buffer {"connection_id":111654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:13:59] local.INFO: IMEI packet received {"connection_id":111654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":111654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:14:04] local.INFO: TCP Data received {"connection_id":111654,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:04] local.INFO: Processing buffer {"connection_id":111654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:04] local.INFO: IMEI packet received {"connection_id":111654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":111654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:14:06] local.INFO: TCP Data received {"connection_id":111654,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:14:06] local.INFO: Processing buffer {"connection_id":111654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:14:06] local.INFO: Packet analysis {"connection_id":111654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:14:06] local.INFO: Extracted packet for processing {"connection_id":111654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:14:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:14:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":111654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:14:06] local.INFO: GPS data processed {"connection_id":111654,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:14:06] local.INFO: Acknowledgment sent {"connection_id":111654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:14:13] local.INFO: TCP Data received {"connection_id":111655,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:14:13] local.INFO: Processing buffer {"connection_id":111655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:14:13] local.INFO: IMEI packet received {"connection_id":111655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":111655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:14:14] local.INFO: TCP Data received {"connection_id":110857,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:14:14] local.INFO: Processing buffer {"connection_id":110857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:14:14] local.INFO: IMEI packet received {"connection_id":110857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":110857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:14:19] local.INFO: TCP Data received {"connection_id":111655,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:14:19] local.INFO: Processing buffer {"connection_id":111655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:14:19] local.INFO: IMEI packet received {"connection_id":111655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":111655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:14:19] local.INFO: TCP Data received {"connection_id":111655,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:14:19] local.INFO: Processing buffer {"connection_id":111655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:14:19] local.INFO: Packet analysis {"connection_id":111655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:14:19] local.INFO: Extracted packet for processing {"connection_id":111655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:14:19] 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-06-23 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":111655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:14:19] local.INFO: GPS data processed {"connection_id":111655,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:14:19] local.INFO: Acknowledgment sent {"connection_id":111655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:14:29] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:29] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:29] local.INFO: IMEI packet received {"connection_id":111038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":111038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:14:34] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:34] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:14:34] local.INFO: IMEI packet received {"connection_id":111038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":111038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:14:36] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:14:36] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:14:36] local.INFO: Packet analysis {"connection_id":111038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:14:36] local.INFO: Extracted packet for processing {"connection_id":111038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:14:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:14:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":111038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:14:36] local.INFO: GPS data processed {"connection_id":111038,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:14:36] local.INFO: Acknowledgment sent {"connection_id":111038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:14:50] local.INFO: TCP Data received {"connection_id":111655,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:14:50] local.INFO: Processing buffer {"connection_id":111655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:14:50] local.INFO: Packet analysis {"connection_id":111655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:14:50] local.INFO: Extracted packet for processing {"connection_id":111655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:14:50] 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-06-23 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":111655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:14:50] local.INFO: GPS data processed {"connection_id":111655,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:14:50] local.INFO: Acknowledgment sent {"connection_id":111655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:15:08] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:08] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:08] local.INFO: Packet analysis {"connection_id":111038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:15:08] local.INFO: Extracted packet for processing {"connection_id":111038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:15:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:15:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":111038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:15:08] local.INFO: GPS data processed {"connection_id":111038,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:15:08] local.INFO: Acknowledgment sent {"connection_id":111038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:15:13] local.INFO: TCP Data received {"connection_id":112585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:15:13] local.INFO: Processing buffer {"connection_id":112585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:15:13] local.INFO: IMEI packet received {"connection_id":112585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":112585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:15:19] local.INFO: TCP Data received {"connection_id":112585,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:15:19] local.INFO: Processing buffer {"connection_id":112585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:15:19] local.INFO: IMEI packet received {"connection_id":112585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":112585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:15:19] local.INFO: TCP Data received {"connection_id":112585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:15:19] local.INFO: Processing buffer {"connection_id":112585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:15:19] local.INFO: Packet analysis {"connection_id":112585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:15:19] local.INFO: Extracted packet for processing {"connection_id":112585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:15:19] 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-06-23 14:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:15:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":112585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:15:20] local.INFO: GPS data processed {"connection_id":112585,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:15:20] local.INFO: Acknowledgment sent {"connection_id":112585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:15:29] local.INFO: TCP Data received {"connection_id":111656,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:15:29] local.INFO: Processing buffer {"connection_id":111656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:15:29] local.INFO: IMEI packet received {"connection_id":111656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":111656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:15:34] local.INFO: TCP Data received {"connection_id":111656,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:15:34] local.INFO: Processing buffer {"connection_id":111656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:15:34] local.INFO: IMEI packet received {"connection_id":111656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":111656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:15:37] local.INFO: TCP Data received {"connection_id":111656,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:37] local.INFO: Processing buffer {"connection_id":111656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:37] local.INFO: Packet analysis {"connection_id":111656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:15:37] local.INFO: Extracted packet for processing {"connection_id":111656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":111656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:15:37] local.INFO: GPS data processed {"connection_id":111656,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:15:37] local.INFO: Acknowledgment sent {"connection_id":111656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:15:40] local.INFO: TCP Data received {"connection_id":111656,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:40] local.INFO: Processing buffer {"connection_id":111656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:15:40] local.INFO: Packet analysis {"connection_id":111656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:15:40] local.INFO: Extracted packet for processing {"connection_id":111656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 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-06-23 14:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:15:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:15:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":111656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:15:40] local.INFO: GPS data processed {"connection_id":111656,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:15:40] local.INFO: Acknowledgment sent {"connection_id":111656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:15:51] local.INFO: TCP Data received {"connection_id":112585,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:15:51] local.INFO: Processing buffer {"connection_id":112585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:15:51] local.INFO: Packet analysis {"connection_id":112585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:15:51] local.INFO: Extracted packet for processing {"connection_id":112585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:15:51] 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-06-23 14:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":112585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:15:51] local.INFO: GPS data processed {"connection_id":112585,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:15:51] local.INFO: Acknowledgment sent {"connection_id":112585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:16:19] local.INFO: TCP Data received {"connection_id":112586,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:16:19] local.INFO: Processing buffer {"connection_id":112586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:16:19] local.INFO: IMEI packet received {"connection_id":112586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":112586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:16:24] local.INFO: TCP Data received {"connection_id":112586,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:16:24] local.INFO: Processing buffer {"connection_id":112586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:16:24] local.INFO: IMEI packet received {"connection_id":112586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":112586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:16:24] local.INFO: TCP Data received {"connection_id":112586,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:16:24] local.INFO: Processing buffer {"connection_id":112586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:16:24] local.INFO: Packet analysis {"connection_id":112586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:16:24] local.INFO: Extracted packet for processing {"connection_id":112586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:16: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-06-23 14:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:16: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-06-23 14:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:16: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-06-23 14:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":112586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:16:25] local.INFO: GPS data processed {"connection_id":112586,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:16:25] local.INFO: Acknowledgment sent {"connection_id":112586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:16:25] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:16:25] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:16:25] local.INFO: IMEI packet received {"connection_id":111040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":111040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:16:29] local.INFO: TCP Data received {"connection_id":112586,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:16:29] local.INFO: Processing buffer {"connection_id":112586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a40fe0012d196ec0071fed90003e00ee23..."} 
[2026-06-23 14:16:29] local.INFO: Packet analysis {"connection_id":112586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:16:29] local.INFO: Extracted packet for processing {"connection_id":112586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a4"} 
[2026-06-23 14:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244166400001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16: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-06-23 14:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782204076000,"timestamp_ms":1782204076000,"timestamp_seconds":1782204076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a40fe0"} 
[2026-06-23 14:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:16:29] 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-06-23 14:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244166400001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244166400001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:16:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244166400001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":112586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:16:29] local.INFO: GPS data processed {"connection_id":112586,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:16:29] local.INFO: Acknowledgment sent {"connection_id":112586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:16:36] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:16:36] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:16:36] local.INFO: IMEI packet received {"connection_id":111040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":111040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:16:39] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:16:39] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:16:39] local.INFO: Packet analysis {"connection_id":111040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:16:39] local.INFO: Extracted packet for processing {"connection_id":111040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:16:39] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:16:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:16:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":111040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:16:39] local.INFO: GPS data processed {"connection_id":111040,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:16:39] local.INFO: Acknowledgment sent {"connection_id":111040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:17:14] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:17:14] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:17:14] local.INFO: IMEI packet received {"connection_id":110861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":110861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:17:19] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:17:19] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:17:19] local.INFO: IMEI packet received {"connection_id":110861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":110861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:17:19] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:17:19] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:17:19] local.INFO: Packet analysis {"connection_id":110861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:17:19] local.INFO: Extracted packet for processing {"connection_id":110861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:17:19] 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-06-23 14:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":110861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:17:19] local.INFO: GPS data processed {"connection_id":110861,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:17:19] local.INFO: Acknowledgment sent {"connection_id":110861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:17:25] local.INFO: TCP Data received {"connection_id":110862,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:17:25] local.INFO: Processing buffer {"connection_id":110862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:17:25] local.INFO: IMEI packet received {"connection_id":110862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":110862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:17:32] local.INFO: TCP Data received {"connection_id":110862,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:17:32] local.INFO: Processing buffer {"connection_id":110862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:17:32] local.INFO: IMEI packet received {"connection_id":110862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":110862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:17:33] local.INFO: TCP Data received {"connection_id":110862,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:17:33] local.INFO: Processing buffer {"connection_id":110862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:17:33] local.INFO: Packet analysis {"connection_id":110862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:17:33] local.INFO: Extracted packet for processing {"connection_id":110862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:17:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:17:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:17:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":110862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:17:33] local.INFO: GPS data processed {"connection_id":110862,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:17:33] local.INFO: Acknowledgment sent {"connection_id":110862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:17:35] local.INFO: TCP Data received {"connection_id":110862,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:17:35] local.INFO: Processing buffer {"connection_id":110862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a51598012cb29b8007823df8004a00cf1d..."} 
[2026-06-23 14:17:35] local.INFO: Packet analysis {"connection_id":110862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:17:35] local.INFO: Extracted packet for processing {"connection_id":110862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a5"} 
[2026-06-23 14:17:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":29,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244183552001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782204143000,"timestamp_ms":1782204143000,"timestamp_seconds":1782204143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a51598"} 
[2026-06-23 14:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244183552001,"66":25321,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244183552001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:17:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:17:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244183552001,"power":25321,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":110862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:17:35] local.INFO: GPS data processed {"connection_id":110862,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:17:35] local.INFO: Acknowledgment sent {"connection_id":110862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:17:50] local.INFO: TCP Data received {"connection_id":110861,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:17:50] local.INFO: Processing buffer {"connection_id":110861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:17:50] local.INFO: Packet analysis {"connection_id":110861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:17:50] local.INFO: Extracted packet for processing {"connection_id":110861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":110861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:17:50] local.INFO: GPS data processed {"connection_id":110861,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:17:50] local.INFO: Acknowledgment sent {"connection_id":110861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:18:06] local.INFO: TCP Data received {"connection_id":110862,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:18:06] local.INFO: Processing buffer {"connection_id":110862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:18:06] local.INFO: Packet analysis {"connection_id":110862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:18:06] local.INFO: Extracted packet for processing {"connection_id":110862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:18:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:18:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":110862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:18:06] local.INFO: GPS data processed {"connection_id":110862,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:18:06] local.INFO: Acknowledgment sent {"connection_id":110862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:18:14] local.INFO: TCP Data received {"connection_id":110863,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:18:14] local.INFO: Processing buffer {"connection_id":110863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:18:14] local.INFO: IMEI packet received {"connection_id":110863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":110863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:18:19] local.INFO: TCP Data received {"connection_id":110863,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:18:19] local.INFO: Processing buffer {"connection_id":110863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:18:19] local.INFO: IMEI packet received {"connection_id":110863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":110863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:18:19] local.INFO: TCP Data received {"connection_id":110863,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:18:19] local.INFO: Processing buffer {"connection_id":110863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:18:19] local.INFO: Packet analysis {"connection_id":110863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:18:19] local.INFO: Extracted packet for processing {"connection_id":110863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:18:19] 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-06-23 14:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:18:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":110863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:18:20] local.INFO: GPS data processed {"connection_id":110863,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:18:20] local.INFO: Acknowledgment sent {"connection_id":110863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:18:34] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:18:34] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:18:34] local.INFO: IMEI packet received {"connection_id":110865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":110865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:18:39] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:18:39] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:18:39] local.INFO: IMEI packet received {"connection_id":110865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":110865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:18:41] local.INFO: TCP Data received {"connection_id":110865,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:18:41] local.INFO: Processing buffer {"connection_id":110865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:18:41] local.INFO: Packet analysis {"connection_id":110865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:18:41] local.INFO: Extracted packet for processing {"connection_id":110865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":110865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":110865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":110865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:18:41] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:18:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":110865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:18:41] local.INFO: GPS data processed {"connection_id":110865,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:18:41] local.INFO: Acknowledgment sent {"connection_id":110865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:18:51] local.INFO: TCP Data received {"connection_id":110863,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:18:51] local.INFO: Processing buffer {"connection_id":110863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:18:51] local.INFO: Packet analysis {"connection_id":110863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:18:51] local.INFO: Extracted packet for processing {"connection_id":110863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":110863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":110863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":110863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:18:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":110863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:18:51] local.INFO: GPS data processed {"connection_id":110863,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:18:51] local.INFO: Acknowledgment sent {"connection_id":110863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:19:14] local.INFO: TCP Data received {"connection_id":111657,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:19:14] local.INFO: Processing buffer {"connection_id":111657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:19:14] local.INFO: IMEI packet received {"connection_id":111657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":111657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:19:19] local.INFO: TCP Data received {"connection_id":111657,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:19:19] local.INFO: Processing buffer {"connection_id":111657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:19:19] local.INFO: IMEI packet received {"connection_id":111657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":111657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:19:19] local.INFO: TCP Data received {"connection_id":111657,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:19:19] local.INFO: Processing buffer {"connection_id":111657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:19:19] local.INFO: Packet analysis {"connection_id":111657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:19:19] local.INFO: Extracted packet for processing {"connection_id":111657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:19:19] 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-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:19:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":111657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:19:19] local.INFO: GPS data processed {"connection_id":111657,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:19:19] local.INFO: Acknowledgment sent {"connection_id":111657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:19:24] local.INFO: TCP Data received {"connection_id":111658,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:19:24] local.INFO: Processing buffer {"connection_id":111658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:19:24] local.INFO: IMEI packet received {"connection_id":111658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":111658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:19:29] local.INFO: TCP Data received {"connection_id":111658,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:19:29] local.INFO: Processing buffer {"connection_id":111658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:19:29] local.INFO: IMEI packet received {"connection_id":111658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":111658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:19:34] local.INFO: TCP Data received {"connection_id":111658,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:19:34] local.INFO: Processing buffer {"connection_id":111658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:19:34] local.INFO: Packet analysis {"connection_id":111658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:19:34] local.INFO: Extracted packet for processing {"connection_id":111658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":111658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:19:34] local.INFO: GPS data processed {"connection_id":111658,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:19:34] local.INFO: Acknowledgment sent {"connection_id":111658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:19:36] local.INFO: TCP Data received {"connection_id":111041,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:19:36] local.INFO: Processing buffer {"connection_id":111041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:19:36] local.INFO: IMEI packet received {"connection_id":111041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":111041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:19:36] local.INFO: TCP Data received {"connection_id":111658,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:19:36] local.INFO: Processing buffer {"connection_id":111658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:19:36] local.INFO: Packet analysis {"connection_id":111658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:19:36] local.INFO: Extracted packet for processing {"connection_id":111658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:19:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:19:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":111658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:19:36] local.INFO: GPS data processed {"connection_id":111658,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:19:36] local.INFO: Acknowledgment sent {"connection_id":111658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:19:50] local.INFO: TCP Data received {"connection_id":111657,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:19:50] local.INFO: Processing buffer {"connection_id":111657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:19:50] local.INFO: Packet analysis {"connection_id":111657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:19:50] local.INFO: Extracted packet for processing {"connection_id":111657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:19:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":111657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:19:51] local.INFO: GPS data processed {"connection_id":111657,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:19:51] local.INFO: Acknowledgment sent {"connection_id":111657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:20:07] local.INFO: TCP Data received {"connection_id":111042,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:20:07] local.INFO: Processing buffer {"connection_id":111042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:20:07] local.INFO: IMEI packet received {"connection_id":111042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":111042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:20:13] local.INFO: TCP Data received {"connection_id":112587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:20:13] local.INFO: Processing buffer {"connection_id":112587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:20:13] local.INFO: IMEI packet received {"connection_id":112587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":112587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:20:19] local.INFO: TCP Data received {"connection_id":112587,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:20:19] local.INFO: Processing buffer {"connection_id":112587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:20:19] local.INFO: IMEI packet received {"connection_id":112587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":112587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:20:20] local.INFO: TCP Data received {"connection_id":112587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:20:20] local.INFO: Processing buffer {"connection_id":112587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:20:20] local.INFO: Packet analysis {"connection_id":112587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:20:20] local.INFO: Extracted packet for processing {"connection_id":112587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":112587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:20:20] local.INFO: GPS data processed {"connection_id":112587,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:20:20] local.INFO: Acknowledgment sent {"connection_id":112587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:20:24] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:20:24] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:20:24] local.INFO: IMEI packet received {"connection_id":111043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":111043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:20:29] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:20:29] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:20:29] local.INFO: IMEI packet received {"connection_id":111043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":111043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:20:33] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:20:33] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:20:33] local.INFO: Packet analysis {"connection_id":111043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:20:33] local.INFO: Extracted packet for processing {"connection_id":111043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:20:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":111043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:20:33] local.INFO: GPS data processed {"connection_id":111043,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:20:33] local.INFO: Acknowledgment sent {"connection_id":111043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:20:51] local.INFO: TCP Data received {"connection_id":112587,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:20:51] local.INFO: Processing buffer {"connection_id":112587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:20:51] local.INFO: Packet analysis {"connection_id":112587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:20:51] local.INFO: Extracted packet for processing {"connection_id":112587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":112587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:20:51] local.INFO: GPS data processed {"connection_id":112587,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:20:51] local.INFO: Acknowledgment sent {"connection_id":112587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:21:05] local.INFO: TCP Data received {"connection_id":111043,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:05] local.INFO: Processing buffer {"connection_id":111043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:05] local.INFO: Packet analysis {"connection_id":111043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:21:05] local.INFO: Extracted packet for processing {"connection_id":111043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:21:05] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:21:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:21:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":111043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:21:05] local.INFO: GPS data processed {"connection_id":111043,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:21:05] local.INFO: Acknowledgment sent {"connection_id":111043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:21:19] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:21:19] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:21:19] local.INFO: IMEI packet received {"connection_id":110866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":110866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:21:24] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:21:24] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:21:24] local.INFO: IMEI packet received {"connection_id":110866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":110866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:21:24] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:21:24] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:21:24] local.INFO: Packet analysis {"connection_id":110866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:21:24] local.INFO: Extracted packet for processing {"connection_id":110866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:21: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-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":110866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:21:24] local.INFO: GPS data processed {"connection_id":110866,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:21:24] local.INFO: Acknowledgment sent {"connection_id":110866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:21:29] local.INFO: TCP Data received {"connection_id":110866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:21:29] local.INFO: Processing buffer {"connection_id":110866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a8a3c0012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:21:29] local.INFO: Packet analysis {"connection_id":110866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:21:29] local.INFO: Extracted packet for processing {"connection_id":110866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a8"} 
[2026-06-23 14:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244243456001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21: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-06-23 14:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782204376000,"timestamp_ms":1782204376000,"timestamp_seconds":1782204376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a8a3c0"} 
[2026-06-23 14:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244243456001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244243456001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:21:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244243456001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":110866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:21:29] local.INFO: GPS data processed {"connection_id":110866,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:21:29] local.INFO: Acknowledgment sent {"connection_id":110866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:21:29] local.INFO: TCP Data received {"connection_id":110867,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:21:29] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:21:29] local.INFO: IMEI packet received {"connection_id":110867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":110867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:21:34] local.INFO: TCP Data received {"connection_id":110867,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:21:34] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:21:34] local.INFO: IMEI packet received {"connection_id":110867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":110867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:21:36] local.INFO: TCP Data received {"connection_id":110867,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:36] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:36] local.INFO: Packet analysis {"connection_id":110867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:21:36] local.INFO: Extracted packet for processing {"connection_id":110867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 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-06-23 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:21:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:21:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":110867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:21:36] local.INFO: GPS data processed {"connection_id":110867,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:21:36] local.INFO: Acknowledgment sent {"connection_id":110867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:21:40] local.INFO: TCP Data received {"connection_id":110867,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:40] local.INFO: Processing buffer {"connection_id":110867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:21:40] local.INFO: Packet analysis {"connection_id":110867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:21:40] local.INFO: Extracted packet for processing {"connection_id":110867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:21: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-06-23 14:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:21: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-06-23 14:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":110867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:21:40] local.INFO: GPS data processed {"connection_id":110867,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:21:40] local.INFO: Acknowledgment sent {"connection_id":110867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:22:13] local.INFO: TCP Data received {"connection_id":111045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:22:13] local.INFO: Processing buffer {"connection_id":111045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:22:13] local.INFO: IMEI packet received {"connection_id":111045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":111045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:22:19] local.INFO: TCP Data received {"connection_id":111045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:22:19] local.INFO: Processing buffer {"connection_id":111045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:22:19] local.INFO: IMEI packet received {"connection_id":111045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":111045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:22:19] local.INFO: TCP Data received {"connection_id":111045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:22:19] local.INFO: Processing buffer {"connection_id":111045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:22:19] local.INFO: Packet analysis {"connection_id":111045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:22:19] local.INFO: Extracted packet for processing {"connection_id":111045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:22:19] 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-06-23 14:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:22:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":111045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:22:19] local.INFO: GPS data processed {"connection_id":111045,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:22:19] local.INFO: Acknowledgment sent {"connection_id":111045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:22:30] local.INFO: TCP Data received {"connection_id":111046,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:22:30] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:22:30] local.INFO: IMEI packet received {"connection_id":111046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":111046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:22:34] local.INFO: TCP Data received {"connection_id":111046,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:22:34] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:22:34] local.INFO: IMEI packet received {"connection_id":111046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":111046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:22:35] local.INFO: TCP Data received {"connection_id":111046,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:22:35] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:22:35] local.INFO: Packet analysis {"connection_id":111046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:22:35] local.INFO: Extracted packet for processing {"connection_id":111046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":111046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:22:35] local.INFO: GPS data processed {"connection_id":111046,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:22:35] local.INFO: Acknowledgment sent {"connection_id":111046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:22:39] local.INFO: TCP Data received {"connection_id":111046,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:22:39] local.INFO: Processing buffer {"connection_id":111046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3a9ad60012cb29b8007823df8004a00cf21..."} 
[2026-06-23 14:22:39] local.INFO: Packet analysis {"connection_id":111046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:22:39] local.INFO: Extracted packet for processing {"connection_id":111046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3a9"} 
[2026-06-23 14:22:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244260608001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782204444000,"timestamp_ms":1782204444000,"timestamp_seconds":1782204444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3a9ad60"} 
[2026-06-23 14:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244260608001,"66":25375,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 14:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244260608001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:22:39] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 14:22:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244260608001,"power":25375,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":111046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:22:39] local.INFO: GPS data processed {"connection_id":111046,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:22:39] local.INFO: Acknowledgment sent {"connection_id":111046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:22:50] local.INFO: TCP Data received {"connection_id":111045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:22:50] local.INFO: Processing buffer {"connection_id":111045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:22:50] local.INFO: Packet analysis {"connection_id":111045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:22:50] local.INFO: Extracted packet for processing {"connection_id":111045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:22:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":111045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:22:50] local.INFO: GPS data processed {"connection_id":111045,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:22:50] local.INFO: Acknowledgment sent {"connection_id":111045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:23:14] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:23:14] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:23:14] local.INFO: IMEI packet received {"connection_id":111047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":111047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:23:19] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:23:19] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:23:19] local.INFO: IMEI packet received {"connection_id":111047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":111047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:23:19] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:23:19] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:23:19] local.INFO: Packet analysis {"connection_id":111047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:23:19] local.INFO: Extracted packet for processing {"connection_id":111047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:23:19] 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-06-23 14:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:23:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":111047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:23:19] local.INFO: GPS data processed {"connection_id":111047,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:23:19] local.INFO: Acknowledgment sent {"connection_id":111047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:23:28] local.INFO: TCP Data received {"connection_id":110868,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:23:28] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:23:28] local.INFO: IMEI packet received {"connection_id":110868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":110868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:23:29] local.INFO: TCP Data received {"connection_id":110868,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:23:29] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:23:29] local.INFO: IMEI packet received {"connection_id":110868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":110868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:23:32] local.INFO: TCP Data received {"connection_id":110868,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:23:32] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:23:32] local.INFO: Packet analysis {"connection_id":110868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:23:32] local.INFO: Extracted packet for processing {"connection_id":110868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:23:32] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":110868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":110868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":110868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:23:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":110868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:23:32] local.INFO: GPS data processed {"connection_id":110868,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:23:32] local.INFO: Acknowledgment sent {"connection_id":110868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:23:34] local.INFO: TCP Data received {"connection_id":110868,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:23:34] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:23:34] local.INFO: Packet analysis {"connection_id":110868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:23:34] local.INFO: Extracted packet for processing {"connection_id":110868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:23:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:23:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:23:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:23:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":110868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:23:34] local.INFO: GPS data processed {"connection_id":110868,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:23:34] local.INFO: Acknowledgment sent {"connection_id":110868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:23:50] local.INFO: TCP Data received {"connection_id":111047,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:23:50] local.INFO: Processing buffer {"connection_id":111047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:23:50] local.INFO: Packet analysis {"connection_id":111047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:23:50] local.INFO: Extracted packet for processing {"connection_id":111047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:23:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":111047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:23:51] local.INFO: GPS data processed {"connection_id":111047,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:23:51] local.INFO: Acknowledgment sent {"connection_id":111047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:24:06] local.INFO: TCP Data received {"connection_id":110868,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:24:06] local.INFO: Processing buffer {"connection_id":110868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:24:06] local.INFO: Packet analysis {"connection_id":110868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:24:06] local.INFO: Extracted packet for processing {"connection_id":110868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":110868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:24:06] local.INFO: GPS data processed {"connection_id":110868,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:24:06] local.INFO: Acknowledgment sent {"connection_id":110868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:24:14] local.INFO: TCP Data received {"connection_id":112588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:24:14] local.INFO: Processing buffer {"connection_id":112588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:24:14] local.INFO: IMEI packet received {"connection_id":112588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":112588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:24:19] local.INFO: TCP Data received {"connection_id":112588,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:24:19] local.INFO: Processing buffer {"connection_id":112588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:24:19] local.INFO: IMEI packet received {"connection_id":112588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":112588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:24:19] local.INFO: TCP Data received {"connection_id":112588,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:24:19] local.INFO: Processing buffer {"connection_id":112588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:24:19] local.INFO: Packet analysis {"connection_id":112588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:24:19] local.INFO: Extracted packet for processing {"connection_id":112588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:24:19] 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-06-23 14:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:24:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":112588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:24:19] local.INFO: GPS data processed {"connection_id":112588,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:24:19] local.INFO: Acknowledgment sent {"connection_id":112588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:24:24] local.INFO: TCP Data received {"connection_id":110870,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:24:24] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:24:24] local.INFO: IMEI packet received {"connection_id":110870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":110870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:24:29] local.INFO: TCP Data received {"connection_id":110870,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:24:29] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:24:29] local.INFO: IMEI packet received {"connection_id":110870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":110870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:24:33] local.INFO: TCP Data received {"connection_id":110870,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:24:33] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:24:33] local.INFO: Packet analysis {"connection_id":110870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:24:33] local.INFO: Extracted packet for processing {"connection_id":110870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:24:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:24:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:24:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":110870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:24:33] local.INFO: GPS data processed {"connection_id":110870,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:24:33] local.INFO: Acknowledgment sent {"connection_id":110870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:24:50] local.INFO: TCP Data received {"connection_id":112588,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:24:50] local.INFO: Processing buffer {"connection_id":112588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:24:50] local.INFO: Packet analysis {"connection_id":112588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:24:50] local.INFO: Extracted packet for processing {"connection_id":112588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:24:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":112588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:24:50] local.INFO: GPS data processed {"connection_id":112588,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:24:50] local.INFO: Acknowledgment sent {"connection_id":112588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:25:05] local.INFO: TCP Data received {"connection_id":110870,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:25:05] local.INFO: Processing buffer {"connection_id":110870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:25:05] local.INFO: Packet analysis {"connection_id":110870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:25:05] local.INFO: Extracted packet for processing {"connection_id":110870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":110870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:25:05] local.INFO: GPS data processed {"connection_id":110870,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:25:05] local.INFO: Acknowledgment sent {"connection_id":110870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:25:13] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:25:13] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:25:13] local.INFO: IMEI packet received {"connection_id":111049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":111049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:25:19] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:25:19] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:25:19] local.INFO: IMEI packet received {"connection_id":111049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":111049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:25:19] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:25:19] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:25:19] local.INFO: Packet analysis {"connection_id":111049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:25:19] local.INFO: Extracted packet for processing {"connection_id":111049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:25:19] 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-06-23 14:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:25:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":111049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:25:19] local.INFO: GPS data processed {"connection_id":111049,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:25:19] local.INFO: Acknowledgment sent {"connection_id":111049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:25:24] local.INFO: TCP Data received {"connection_id":112589,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:25:24] local.INFO: Processing buffer {"connection_id":112589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:25:24] local.INFO: IMEI packet received {"connection_id":112589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":112589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:25:29] local.INFO: TCP Data received {"connection_id":112589,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:25:29] local.INFO: Processing buffer {"connection_id":112589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:25:29] local.INFO: IMEI packet received {"connection_id":112589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":112589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:25:30] local.INFO: TCP Data received {"connection_id":112589,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:25:30] local.INFO: Processing buffer {"connection_id":112589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:25:30] local.INFO: Packet analysis {"connection_id":112589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:25:30] local.INFO: Extracted packet for processing {"connection_id":112589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":112589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:25:30] local.INFO: GPS data processed {"connection_id":112589,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:25:30] local.INFO: Acknowledgment sent {"connection_id":112589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:25:37] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:25:37] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:25:37] local.INFO: IMEI packet received {"connection_id":111048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":111048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:25:51] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:25:51] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:25:51] local.INFO: Packet analysis {"connection_id":111049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:25:51] local.INFO: Extracted packet for processing {"connection_id":111049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:25:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":111049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:25:51] local.INFO: GPS data processed {"connection_id":111049,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:25:51] local.INFO: Acknowledgment sent {"connection_id":111049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:26:02] local.INFO: TCP Data received {"connection_id":112589,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:26:02] local.INFO: Processing buffer {"connection_id":112589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:26:02] local.INFO: Packet analysis {"connection_id":112589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:26:02] local.INFO: Extracted packet for processing {"connection_id":112589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":112589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:26:02] local.INFO: GPS data processed {"connection_id":112589,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:26:02] local.INFO: Acknowledgment sent {"connection_id":112589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:26:06] local.INFO: TCP Data received {"connection_id":112590,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:06] local.INFO: Processing buffer {"connection_id":112590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:06] local.INFO: IMEI packet received {"connection_id":112590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":112590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:26:12] local.INFO: TCP Data received {"connection_id":112590,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:12] local.INFO: Processing buffer {"connection_id":112590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:12] local.INFO: IMEI packet received {"connection_id":112590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 14:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":112590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:26:12] local.INFO: TCP Data received {"connection_id":112590,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:12] local.INFO: Processing buffer {"connection_id":112590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:26:12] local.INFO: IMEI packet received {"connection_id":112590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 14:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":112590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:26:19] local.INFO: TCP Data received {"connection_id":112591,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:26:19] local.INFO: Processing buffer {"connection_id":112591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:26:19] local.INFO: IMEI packet received {"connection_id":112591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":112591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:26:24] local.INFO: TCP Data received {"connection_id":112591,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:26:24] local.INFO: Processing buffer {"connection_id":112591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:26:24] local.INFO: IMEI packet received {"connection_id":112591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":112591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:26:24] local.INFO: TCP Data received {"connection_id":111662,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:26:24] local.INFO: Processing buffer {"connection_id":111662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:26:24] local.INFO: IMEI packet received {"connection_id":111662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":111662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:26:24] local.INFO: TCP Data received {"connection_id":112591,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:26:24] local.INFO: Processing buffer {"connection_id":112591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:26:24] local.INFO: Packet analysis {"connection_id":112591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:26:24] local.INFO: Extracted packet for processing {"connection_id":112591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:26: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-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:26:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":112591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:26:24] local.INFO: GPS data processed {"connection_id":112591,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:26:24] local.INFO: Acknowledgment sent {"connection_id":112591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:26:29] local.INFO: TCP Data received {"connection_id":112591,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:26:29] local.INFO: Processing buffer {"connection_id":112591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ad3b88012d196ec0071fed90003e00ee22..."} 
[2026-06-23 14:26:29] local.INFO: Packet analysis {"connection_id":112591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:26:29] local.INFO: Extracted packet for processing {"connection_id":112591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ad"} 
[2026-06-23 14:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":34,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26: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-06-23 14:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782204677000,"timestamp_ms":1782204677000,"timestamp_seconds":1782204677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ad3b88"} 
[2026-06-23 14:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244320256001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:26:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244320256001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":112591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:26:29] local.INFO: GPS data processed {"connection_id":112591,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:26:29] local.INFO: Acknowledgment sent {"connection_id":112591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:26:29] local.INFO: TCP Data received {"connection_id":111662,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:26:29] local.INFO: Processing buffer {"connection_id":111662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:26:29] local.INFO: IMEI packet received {"connection_id":111662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":111662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:26:31] local.INFO: TCP Data received {"connection_id":111662,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:26:31] local.INFO: Processing buffer {"connection_id":111662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:26:31] local.INFO: Packet analysis {"connection_id":111662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:26:31] local.INFO: Extracted packet for processing {"connection_id":111662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:26:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:26:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":111662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:26:31] local.INFO: GPS data processed {"connection_id":111662,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:26:31] local.INFO: Acknowledgment sent {"connection_id":111662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:27:03] local.INFO: TCP Data received {"connection_id":111662,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:03] local.INFO: Processing buffer {"connection_id":111662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:03] local.INFO: Packet analysis {"connection_id":111662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:27:03] local.INFO: Extracted packet for processing {"connection_id":111662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":111662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:27:03] local.INFO: GPS data processed {"connection_id":111662,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:27:03] local.INFO: Acknowledgment sent {"connection_id":111662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:27:14] local.INFO: TCP Data received {"connection_id":111050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:27:14] local.INFO: Processing buffer {"connection_id":111050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:27:14] local.INFO: IMEI packet received {"connection_id":111050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":111050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:27:19] local.INFO: TCP Data received {"connection_id":111050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:27:19] local.INFO: Processing buffer {"connection_id":111050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:27:19] local.INFO: IMEI packet received {"connection_id":111050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":111050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:27:19] local.INFO: TCP Data received {"connection_id":111050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:27:19] local.INFO: Processing buffer {"connection_id":111050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:27:19] local.INFO: Packet analysis {"connection_id":111050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:27:19] local.INFO: Extracted packet for processing {"connection_id":111050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:27:19] 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-06-23 14:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:27:19] 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-06-23 14:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:27:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":111050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:27:19] local.INFO: GPS data processed {"connection_id":111050,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:27:19] local.INFO: Acknowledgment sent {"connection_id":111050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:27:24] local.INFO: TCP Data received {"connection_id":112593,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:27:24] local.INFO: Processing buffer {"connection_id":112593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:27:24] local.INFO: IMEI packet received {"connection_id":112593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":112593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:27:29] local.INFO: TCP Data received {"connection_id":111663,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:27:29] local.INFO: Processing buffer {"connection_id":111663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:27:29] local.INFO: IMEI packet received {"connection_id":111663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":111663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:27:34] local.INFO: TCP Data received {"connection_id":111663,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:27:34] local.INFO: Processing buffer {"connection_id":111663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:27:34] local.INFO: IMEI packet received {"connection_id":111663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":111663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:27:37] local.INFO: TCP Data received {"connection_id":111663,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:37] local.INFO: Processing buffer {"connection_id":111663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:37] local.INFO: Packet analysis {"connection_id":111663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:27:37] local.INFO: Extracted packet for processing {"connection_id":111663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":111663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:27:37] local.INFO: GPS data processed {"connection_id":111663,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:27:37] local.INFO: Acknowledgment sent {"connection_id":111663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:27:41] local.INFO: TCP Data received {"connection_id":111663,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:41] local.INFO: Processing buffer {"connection_id":111663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ae4528012cb29b8007823df8004a00cf23..."} 
[2026-06-23 14:27:41] local.INFO: Packet analysis {"connection_id":111663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:27:41] local.INFO: Extracted packet for processing {"connection_id":111663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ae"} 
[2026-06-23 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244337664001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782204745000,"timestamp_ms":1782204745000,"timestamp_seconds":1782204745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ae4528"} 
[2026-06-23 14:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244337664001,"66":25397,"28":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 14:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244337664001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:27:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 14:27:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244337664001,"power":25397,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":111663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:27:41] local.INFO: GPS data processed {"connection_id":111663,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:27:41] local.INFO: Acknowledgment sent {"connection_id":111663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:27:51] local.INFO: TCP Data received {"connection_id":111050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:27:51] local.INFO: Processing buffer {"connection_id":111050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:27:51] local.INFO: Packet analysis {"connection_id":111050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:27:51] local.INFO: Extracted packet for processing {"connection_id":111050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:27:51] 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-06-23 14:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:27:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":111050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:27:51] local.INFO: GPS data processed {"connection_id":111050,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:27:51] local.INFO: Acknowledgment sent {"connection_id":111050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:28:14] local.INFO: TCP Data received {"connection_id":112594,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:28:14] local.INFO: Processing buffer {"connection_id":112594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:28:14] local.INFO: IMEI packet received {"connection_id":112594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":112594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:28:19] local.INFO: TCP Data received {"connection_id":112594,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:28:19] local.INFO: Processing buffer {"connection_id":112594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:28:19] local.INFO: IMEI packet received {"connection_id":112594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":112594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:28:19] local.INFO: TCP Data received {"connection_id":112594,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:28:19] local.INFO: Processing buffer {"connection_id":112594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:28:19] local.INFO: Packet analysis {"connection_id":112594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:28:19] local.INFO: Extracted packet for processing {"connection_id":112594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:28:19] 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-06-23 14:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:28:19] 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-06-23 14:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:28:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":112594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:28:19] local.INFO: GPS data processed {"connection_id":112594,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:28:19] local.INFO: Acknowledgment sent {"connection_id":112594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:28:24] local.INFO: TCP Data received {"connection_id":111664,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:28:24] local.INFO: Processing buffer {"connection_id":111664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:28:24] local.INFO: IMEI packet received {"connection_id":111664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":111664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:28:32] local.INFO: TCP Data received {"connection_id":111664,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:28:32] local.INFO: Processing buffer {"connection_id":111664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:28:32] local.INFO: IMEI packet received {"connection_id":111664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":111664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:28:34] local.INFO: TCP Data received {"connection_id":111664,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:28:34] local.INFO: Processing buffer {"connection_id":111664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:28:34] local.INFO: Packet analysis {"connection_id":111664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:28:34] local.INFO: Extracted packet for processing {"connection_id":111664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:28:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":111664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:28:34] local.INFO: GPS data processed {"connection_id":111664,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:28:34] local.INFO: Acknowledgment sent {"connection_id":111664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:28:50] local.INFO: TCP Data received {"connection_id":112594,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:28:50] local.INFO: Processing buffer {"connection_id":112594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:28:50] local.INFO: Packet analysis {"connection_id":112594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:28:50] local.INFO: Extracted packet for processing {"connection_id":112594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:28: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-06-23 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:28:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":112594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:28:51] local.INFO: GPS data processed {"connection_id":112594,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:28:51] local.INFO: Acknowledgment sent {"connection_id":112594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:29:06] local.INFO: TCP Data received {"connection_id":111664,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:06] local.INFO: Processing buffer {"connection_id":111664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:06] local.INFO: Packet analysis {"connection_id":111664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:29:06] local.INFO: Extracted packet for processing {"connection_id":111664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:29: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-06-23 14: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-06-23 14:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:29:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":111664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:29:06] local.INFO: GPS data processed {"connection_id":111664,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:29:06] local.INFO: Acknowledgment sent {"connection_id":111664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:29:14] local.INFO: TCP Data received {"connection_id":110871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:29:14] local.INFO: Processing buffer {"connection_id":110871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:29:14] local.INFO: IMEI packet received {"connection_id":110871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":110871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:29:19] local.INFO: TCP Data received {"connection_id":110871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:29:19] local.INFO: Processing buffer {"connection_id":110871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:29:19] local.INFO: IMEI packet received {"connection_id":110871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":110871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:29:19] local.INFO: TCP Data received {"connection_id":110871,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:29:19] local.INFO: Processing buffer {"connection_id":110871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:29:19] local.INFO: Packet analysis {"connection_id":110871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:29:19] local.INFO: Extracted packet for processing {"connection_id":110871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:29:19] 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-06-23 14:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:29:19] 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-06-23 14:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:29:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":110871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:29:19] local.INFO: GPS data processed {"connection_id":110871,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:29:19] local.INFO: Acknowledgment sent {"connection_id":110871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:29:29] local.INFO: TCP Data received {"connection_id":111051,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:29:29] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:29:29] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:29:34] local.INFO: TCP Data received {"connection_id":111051,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:29:34] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:29:34] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:29:35] local.INFO: TCP Data received {"connection_id":111051,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:35] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:35] local.INFO: Packet analysis {"connection_id":111051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:29:35] local.INFO: Extracted packet for processing {"connection_id":111051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:29: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-06-23 14:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":111051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:29:35] local.INFO: GPS data processed {"connection_id":111051,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:29:35] local.INFO: Acknowledgment sent {"connection_id":111051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:29:40] local.INFO: TCP Data received {"connection_id":111051,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:40] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:29:40] local.INFO: Packet analysis {"connection_id":111051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:29:40] local.INFO: Extracted packet for processing {"connection_id":111051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:29: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-06-23 14: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-06-23 14:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:29:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":111051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:29:40] local.INFO: GPS data processed {"connection_id":111051,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:29:40] local.INFO: Acknowledgment sent {"connection_id":111051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:29:50] local.INFO: TCP Data received {"connection_id":110871,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:29:50] local.INFO: Processing buffer {"connection_id":110871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:29:50] local.INFO: Packet analysis {"connection_id":110871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:29:50] local.INFO: Extracted packet for processing {"connection_id":110871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:29: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-06-23 14:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:29:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":110871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:29:50] local.INFO: GPS data processed {"connection_id":110871,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:29:50] local.INFO: Acknowledgment sent {"connection_id":110871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:30:13] local.INFO: TCP Data received {"connection_id":112595,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:30:13] local.INFO: Processing buffer {"connection_id":112595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:30:13] local.INFO: IMEI packet received {"connection_id":112595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":112595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:30:19] local.INFO: TCP Data received {"connection_id":112595,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:30:19] local.INFO: Processing buffer {"connection_id":112595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:30:19] local.INFO: IMEI packet received {"connection_id":112595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":112595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:30:19] local.INFO: TCP Data received {"connection_id":112595,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:30:19] local.INFO: Processing buffer {"connection_id":112595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:30:19] local.INFO: Packet analysis {"connection_id":112595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:30:19] local.INFO: Extracted packet for processing {"connection_id":112595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:30:19] 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-06-23 14:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:30:19] 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-06-23 14:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:30:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":112595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:30:19] local.INFO: GPS data processed {"connection_id":112595,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:30:19] local.INFO: Acknowledgment sent {"connection_id":112595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:30:24] local.INFO: TCP Data received {"connection_id":112596,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:30:24] local.INFO: Processing buffer {"connection_id":112596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:30:24] local.INFO: IMEI packet received {"connection_id":112596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":112596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:30:29] local.INFO: TCP Data received {"connection_id":112596,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:30:29] local.INFO: Processing buffer {"connection_id":112596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:30:29] local.INFO: IMEI packet received {"connection_id":112596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":112596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:30:30] local.INFO: TCP Data received {"connection_id":112596,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:30:30] local.INFO: Processing buffer {"connection_id":112596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:30:30] local.INFO: Packet analysis {"connection_id":112596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:30:30] local.INFO: Extracted packet for processing {"connection_id":112596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:30: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-06-23 14: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-06-23 14:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":112596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:30:30] local.INFO: GPS data processed {"connection_id":112596,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:30:30] local.INFO: Acknowledgment sent {"connection_id":112596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:30:50] local.INFO: TCP Data received {"connection_id":112595,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:30:50] local.INFO: Processing buffer {"connection_id":112595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:30:50] local.INFO: Packet analysis {"connection_id":112595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:30:50] local.INFO: Extracted packet for processing {"connection_id":112595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:30: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-06-23 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:30:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":112595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:30:50] local.INFO: GPS data processed {"connection_id":112595,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:30:50] local.INFO: Acknowledgment sent {"connection_id":112595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:31:02] local.INFO: TCP Data received {"connection_id":112596,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:31:02] local.INFO: Processing buffer {"connection_id":112596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:31:02] local.INFO: Packet analysis {"connection_id":112596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:31:02] local.INFO: Extracted packet for processing {"connection_id":112596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:31: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-06-23 14: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-06-23 14:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":112596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:31:02] local.INFO: GPS data processed {"connection_id":112596,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:31:02] local.INFO: Acknowledgment sent {"connection_id":112596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:31:13] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:31:13] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:31:13] local.INFO: IMEI packet received {"connection_id":111053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":111053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:31:19] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:31:19] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:31:19] local.INFO: IMEI packet received {"connection_id":111053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":111053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:31:19] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:31:19] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:31:19] local.INFO: Packet analysis {"connection_id":111053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:31:19] local.INFO: Extracted packet for processing {"connection_id":111053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:31:19] 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-06-23 14:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:31:19] 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-06-23 14:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:31:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":111053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:31:19] local.INFO: GPS data processed {"connection_id":111053,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:31:19] local.INFO: Acknowledgment sent {"connection_id":111053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:31:24] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:31:24] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:31:24] local.INFO: IMEI packet received {"connection_id":110874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":110874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:31:29] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:31:29] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:31:29] local.INFO: IMEI packet received {"connection_id":110874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":110874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:31:30] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:31:30] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:31:30] local.INFO: Packet analysis {"connection_id":110874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:31:30] local.INFO: Extracted packet for processing {"connection_id":110874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:31: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-06-23 14: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-06-23 14:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":110874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:31:30] local.INFO: GPS data processed {"connection_id":110874,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:31:30] local.INFO: Acknowledgment sent {"connection_id":110874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:31:51] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:31:51] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b1d350012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:31:51] local.INFO: Packet analysis {"connection_id":111053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:31:51] local.INFO: Extracted packet for processing {"connection_id":111053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b1"} 
[2026-06-23 14:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244397312001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782204978000,"timestamp_ms":1782204978000,"timestamp_seconds":1782204978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b1d350"} 
[2026-06-23 14:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:31:51] 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-06-23 14:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244397312001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244397312001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:31:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244397312001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":111053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:31:51] local.INFO: GPS data processed {"connection_id":111053,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:31:51] local.INFO: Acknowledgment sent {"connection_id":111053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:32:02] local.INFO: TCP Data received {"connection_id":110874,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:32:02] local.INFO: Processing buffer {"connection_id":110874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:32:02] local.INFO: Packet analysis {"connection_id":110874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:32:02] local.INFO: Extracted packet for processing {"connection_id":110874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 14:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:32: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-06-23 14: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-06-23 14:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":110874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:32:02] local.INFO: GPS data processed {"connection_id":110874,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:32:02] local.INFO: Acknowledgment sent {"connection_id":110874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:32:19] local.INFO: TCP Data received {"connection_id":111666,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:32:19] local.INFO: Processing buffer {"connection_id":111666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:32:19] local.INFO: IMEI packet received {"connection_id":111666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":111666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:32:24] local.INFO: TCP Data received {"connection_id":111666,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:32:24] local.INFO: Processing buffer {"connection_id":111666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:32:24] local.INFO: IMEI packet received {"connection_id":111666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":111666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:32:24] local.INFO: TCP Data received {"connection_id":112597,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:32:24] local.INFO: Processing buffer {"connection_id":112597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:32:24] local.INFO: IMEI packet received {"connection_id":112597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":112597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:32:24] local.INFO: TCP Data received {"connection_id":111666,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:32:24] local.INFO: Processing buffer {"connection_id":111666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:32:24] local.INFO: Packet analysis {"connection_id":111666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:32:24] local.INFO: Extracted packet for processing {"connection_id":111666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:32: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-06-23 14:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:32:24] 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-06-23 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:32:24] 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-06-23 14:32: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-06-23 14:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":111666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:32:24] local.INFO: GPS data processed {"connection_id":111666,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:32:24] local.INFO: Acknowledgment sent {"connection_id":111666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:32:30] local.INFO: TCP Data received {"connection_id":112597,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:32:30] local.INFO: Processing buffer {"connection_id":112597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:32:30] local.INFO: IMEI packet received {"connection_id":112597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":112597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:32:31] local.INFO: TCP Data received {"connection_id":112597,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:32:31] local.INFO: Processing buffer {"connection_id":112597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:32:31] local.INFO: Packet analysis {"connection_id":112597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:32:31] local.INFO: Extracted packet for processing {"connection_id":112597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 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-06-23 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:32:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:32:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":112597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:32:31] local.INFO: GPS data processed {"connection_id":112597,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:32:31] local.INFO: Acknowledgment sent {"connection_id":112597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:32:46] local.INFO: TCP Data received {"connection_id":111665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:32:46] local.INFO: Processing buffer {"connection_id":111665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:32:46] local.INFO: IMEI packet received {"connection_id":111665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":111665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:32:55] local.INFO: TCP Data received {"connection_id":111666,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:32:55] local.INFO: Processing buffer {"connection_id":111666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:32:55] local.INFO: Packet analysis {"connection_id":111666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:32:55] local.INFO: Extracted packet for processing {"connection_id":111666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:32:55] 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-06-23 14:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:32:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":111666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:32:55] local.INFO: GPS data processed {"connection_id":111666,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:32:55] local.INFO: Acknowledgment sent {"connection_id":111666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:33:03] local.INFO: TCP Data received {"connection_id":112597,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:33:03] local.INFO: Processing buffer {"connection_id":112597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b2dcf0012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:33:03] local.INFO: Packet analysis {"connection_id":112597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:33:03] local.INFO: Extracted packet for processing {"connection_id":112597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b2"} 
[2026-06-23 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244414720001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782205046000,"timestamp_ms":1782205046000,"timestamp_seconds":1782205046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b2dcf0"} 
[2026-06-23 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-06-23 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:33: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-06-23 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-06-23 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-06-23 14:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244414720001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244414720001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:33:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:33:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244414720001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":112597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:33:03] local.INFO: GPS data processed {"connection_id":112597,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:33:03] local.INFO: Acknowledgment sent {"connection_id":112597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:33:07] local.INFO: TCP Data received {"connection_id":111054,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:07] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:07] local.INFO: IMEI packet received {"connection_id":111054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":111054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:33:08] local.INFO: TCP Data received {"connection_id":111054,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:08] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:08] local.INFO: IMEI packet received {"connection_id":111054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 14:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":111054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:33:12] local.INFO: TCP Data received {"connection_id":111054,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:12] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:33:12] local.INFO: IMEI packet received {"connection_id":111054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 14:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":111054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:33:14] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:33:14] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:33:14] local.INFO: IMEI packet received {"connection_id":111055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":111055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:33:19] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:33:19] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:33:19] local.INFO: IMEI packet received {"connection_id":111055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":111055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:33:19] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:33:19] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:33:19] local.INFO: Packet analysis {"connection_id":111055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:33:19] local.INFO: Extracted packet for processing {"connection_id":111055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:33:19] 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-06-23 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:33:19] 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-06-23 14:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:33:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":111055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:33:19] local.INFO: GPS data processed {"connection_id":111055,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:33:19] local.INFO: Acknowledgment sent {"connection_id":111055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:33:24] local.INFO: TCP Data received {"connection_id":112598,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:33:24] local.INFO: Processing buffer {"connection_id":112598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:33:24] local.INFO: IMEI packet received {"connection_id":112598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":112598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:33:29] local.INFO: TCP Data received {"connection_id":112598,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:33:29] local.INFO: Processing buffer {"connection_id":112598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:33:29] local.INFO: IMEI packet received {"connection_id":112598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":112598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:33:30] local.INFO: TCP Data received {"connection_id":112598,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:33:30] local.INFO: Processing buffer {"connection_id":112598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:33:30] local.INFO: Packet analysis {"connection_id":112598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:33:30] local.INFO: Extracted packet for processing {"connection_id":112598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:33:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":112598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:33:30] local.INFO: GPS data processed {"connection_id":112598,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:33:30] local.INFO: Acknowledgment sent {"connection_id":112598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:33:50] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:33:50] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:33:50] local.INFO: Packet analysis {"connection_id":111055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:33:50] local.INFO: Extracted packet for processing {"connection_id":111055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:33: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-06-23 14:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:33:50] 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-06-23 14:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:33: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-06-23 14:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":111055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:33:51] local.INFO: GPS data processed {"connection_id":111055,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:33:51] local.INFO: Acknowledgment sent {"connection_id":111055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:34:02] local.INFO: TCP Data received {"connection_id":112598,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:02] local.INFO: Processing buffer {"connection_id":112598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:02] local.INFO: Packet analysis {"connection_id":112598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:34:02] local.INFO: Extracted packet for processing {"connection_id":112598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 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-06-23 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 14:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":112598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:34:02] local.INFO: GPS data processed {"connection_id":112598,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:34:02] local.INFO: Acknowledgment sent {"connection_id":112598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:34:13] local.INFO: TCP Data received {"connection_id":112600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:34:13] local.INFO: Processing buffer {"connection_id":112600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:34:13] local.INFO: IMEI packet received {"connection_id":112600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":112600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:34:19] local.INFO: TCP Data received {"connection_id":112600,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:34:19] local.INFO: Processing buffer {"connection_id":112600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:34:19] local.INFO: IMEI packet received {"connection_id":112600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":112600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:34:19] local.INFO: TCP Data received {"connection_id":112600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:34:19] local.INFO: Processing buffer {"connection_id":112600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:34:19] local.INFO: Packet analysis {"connection_id":112600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:34:19] local.INFO: Extracted packet for processing {"connection_id":112600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:34:19] 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-06-23 14:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:34:19] 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-06-23 14:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:34:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":112600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:34:19] local.INFO: GPS data processed {"connection_id":112600,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:34:19] local.INFO: Acknowledgment sent {"connection_id":112600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:34:29] local.INFO: TCP Data received {"connection_id":111668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:34:29] local.INFO: Processing buffer {"connection_id":111668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:34:29] local.INFO: IMEI packet received {"connection_id":111668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":111668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:34:34] local.INFO: TCP Data received {"connection_id":111668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:34:34] local.INFO: Processing buffer {"connection_id":111668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:34:34] local.INFO: IMEI packet received {"connection_id":111668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":111668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:34:35] local.INFO: TCP Data received {"connection_id":111668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:35] local.INFO: Processing buffer {"connection_id":111668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:35] local.INFO: Packet analysis {"connection_id":111668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:34:35] local.INFO: Extracted packet for processing {"connection_id":111668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":111668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:34:35] local.INFO: GPS data processed {"connection_id":111668,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:34:35] local.INFO: Acknowledgment sent {"connection_id":111668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:34:40] local.INFO: TCP Data received {"connection_id":111668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:40] local.INFO: Processing buffer {"connection_id":111668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:34:40] local.INFO: Packet analysis {"connection_id":111668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:34:40] local.INFO: Extracted packet for processing {"connection_id":111668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:34:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:34:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":111668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:34:40] local.INFO: GPS data processed {"connection_id":111668,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:34:40] local.INFO: Acknowledgment sent {"connection_id":111668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:34:50] local.INFO: TCP Data received {"connection_id":112600,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:34:50] local.INFO: Processing buffer {"connection_id":112600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:34:50] local.INFO: Packet analysis {"connection_id":112600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:34:50] local.INFO: Extracted packet for processing {"connection_id":112600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:34:50] 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-06-23 14:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:34:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":112600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:34:50] local.INFO: GPS data processed {"connection_id":112600,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:34:50] local.INFO: Acknowledgment sent {"connection_id":112600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:35:13] local.INFO: TCP Data received {"connection_id":112602,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:35:13] local.INFO: Processing buffer {"connection_id":112602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:35:13] local.INFO: IMEI packet received {"connection_id":112602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":112602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:35:19] local.INFO: TCP Data received {"connection_id":112602,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:35:19] local.INFO: Processing buffer {"connection_id":112602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:35:19] local.INFO: IMEI packet received {"connection_id":112602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":112602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:35:19] local.INFO: TCP Data received {"connection_id":112602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:35:19] local.INFO: Processing buffer {"connection_id":112602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:35:19] local.INFO: Packet analysis {"connection_id":112602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:35:19] local.INFO: Extracted packet for processing {"connection_id":112602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:35:19] 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-06-23 14:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:35:19] 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-06-23 14:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:35:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":112602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:35:19] local.INFO: GPS data processed {"connection_id":112602,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:35:19] local.INFO: Acknowledgment sent {"connection_id":112602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:35:24] local.INFO: TCP Data received {"connection_id":110875,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:35:24] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:35:24] local.INFO: IMEI packet received {"connection_id":110875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":110875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:35:29] local.INFO: TCP Data received {"connection_id":110875,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:35:29] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:35:29] local.INFO: IMEI packet received {"connection_id":110875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":110875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:35:30] local.INFO: TCP Data received {"connection_id":110875,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:35:30] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:35:30] local.INFO: Packet analysis {"connection_id":110875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:35:30] local.INFO: Extracted packet for processing {"connection_id":110875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":110875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:35:30] local.INFO: GPS data processed {"connection_id":110875,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:35:30] local.INFO: Acknowledgment sent {"connection_id":110875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:35:50] local.INFO: TCP Data received {"connection_id":112602,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:35:50] local.INFO: Processing buffer {"connection_id":112602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:35:50] local.INFO: Packet analysis {"connection_id":112602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:35:50] local.INFO: Extracted packet for processing {"connection_id":112602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:35:50] 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-06-23 14:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:35:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":112602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:35:50] local.INFO: GPS data processed {"connection_id":112602,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:35:50] local.INFO: Acknowledgment sent {"connection_id":112602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:36:02] local.INFO: TCP Data received {"connection_id":110875,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:02] local.INFO: Processing buffer {"connection_id":110875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:02] local.INFO: Packet analysis {"connection_id":110875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:36:02] local.INFO: Extracted packet for processing {"connection_id":110875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":110875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:36:02] local.INFO: GPS data processed {"connection_id":110875,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:36:02] local.INFO: Acknowledgment sent {"connection_id":110875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:36:19] local.INFO: TCP Data received {"connection_id":112603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:36:19] local.INFO: Processing buffer {"connection_id":112603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:36:19] local.INFO: IMEI packet received {"connection_id":112603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":112603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:36:23] local.INFO: TCP Data received {"connection_id":112603,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:36:23] local.INFO: Processing buffer {"connection_id":112603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:36:23] local.INFO: IMEI packet received {"connection_id":112603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":112603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:36:24] local.INFO: TCP Data received {"connection_id":112603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:36:24] local.INFO: Processing buffer {"connection_id":112603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:36:24] local.INFO: Packet analysis {"connection_id":112603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:36:24] local.INFO: Extracted packet for processing {"connection_id":112603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:36:24] 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-06-23 14: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:36:24] 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-06-23 14: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-06-23 14:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:36:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":112603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:36:24] local.INFO: GPS data processed {"connection_id":112603,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:36:24] local.INFO: Acknowledgment sent {"connection_id":112603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:36:29] local.INFO: TCP Data received {"connection_id":112603,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:36:29] local.INFO: Processing buffer {"connection_id":112603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b66b18012d196ec0071fed90003e00ee24..."} 
[2026-06-23 14:36:29] local.INFO: Packet analysis {"connection_id":112603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:36:29] local.INFO: Extracted packet for processing {"connection_id":112603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b6"} 
[2026-06-23 14:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":36,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244474368001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36: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-06-23 14:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782205279000,"timestamp_ms":1782205279000,"timestamp_seconds":1782205279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b66b18"} 
[2026-06-23 14:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:36:29] 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-06-23 14:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 14:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244474368001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244474368001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:36:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244474368001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":112603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:36:29] local.INFO: GPS data processed {"connection_id":112603,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:36:29] local.INFO: Acknowledgment sent {"connection_id":112603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:36:29] local.INFO: TCP Data received {"connection_id":111056,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:36:29] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:36:29] local.INFO: IMEI packet received {"connection_id":111056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:36:34] local.INFO: TCP Data received {"connection_id":111056,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:36:34] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:36:34] local.INFO: IMEI packet received {"connection_id":111056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":111056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:36:35] local.INFO: TCP Data received {"connection_id":111056,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:35] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:35] local.INFO: Packet analysis {"connection_id":111056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:36:35] local.INFO: Extracted packet for processing {"connection_id":111056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:36:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:36:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":111056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:36:35] local.INFO: GPS data processed {"connection_id":111056,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:36:35] local.INFO: Acknowledgment sent {"connection_id":111056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:36:40] local.INFO: TCP Data received {"connection_id":111056,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:40] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:36:40] local.INFO: Packet analysis {"connection_id":111056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:36:40] local.INFO: Extracted packet for processing {"connection_id":111056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":111056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:36:40] local.INFO: GPS data processed {"connection_id":111056,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:36:40] local.INFO: Acknowledgment sent {"connection_id":111056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:37:13] local.INFO: TCP Data received {"connection_id":111670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:37:13] local.INFO: Processing buffer {"connection_id":111670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:37:13] local.INFO: IMEI packet received {"connection_id":111670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":111670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:37:19] local.INFO: TCP Data received {"connection_id":111670,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:37:19] local.INFO: Processing buffer {"connection_id":111670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:37:19] local.INFO: IMEI packet received {"connection_id":111670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":111670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:37:19] local.INFO: TCP Data received {"connection_id":111670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:37:19] local.INFO: Processing buffer {"connection_id":111670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:37:19] local.INFO: Packet analysis {"connection_id":111670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:37:19] local.INFO: Extracted packet for processing {"connection_id":111670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:37:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":111670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:37:19] local.INFO: GPS data processed {"connection_id":111670,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:37:19] local.INFO: Acknowledgment sent {"connection_id":111670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:37:24] local.INFO: TCP Data received {"connection_id":111671,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:37:24] local.INFO: Processing buffer {"connection_id":111671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:37:24] local.INFO: IMEI packet received {"connection_id":111671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":111671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:37:29] local.INFO: TCP Data received {"connection_id":111671,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:37:29] local.INFO: Processing buffer {"connection_id":111671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:37:29] local.INFO: IMEI packet received {"connection_id":111671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":111671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:37:30] local.INFO: TCP Data received {"connection_id":111671,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:37:30] local.INFO: Processing buffer {"connection_id":111671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:37:30] local.INFO: Packet analysis {"connection_id":111671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:37:30] local.INFO: Extracted packet for processing {"connection_id":111671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":111671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:37:30] local.INFO: GPS data processed {"connection_id":111671,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:37:30] local.INFO: Acknowledgment sent {"connection_id":111671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:37:50] local.INFO: TCP Data received {"connection_id":111670,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:37:50] local.INFO: Processing buffer {"connection_id":111670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:37:50] local.INFO: Packet analysis {"connection_id":111670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:37:50] local.INFO: Extracted packet for processing {"connection_id":111670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:37:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":111670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:37:50] local.INFO: GPS data processed {"connection_id":111670,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:37:50] local.INFO: Acknowledgment sent {"connection_id":111670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:38:02] local.INFO: TCP Data received {"connection_id":111671,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:38:02] local.INFO: Processing buffer {"connection_id":111671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3b774b8012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:38:02] local.INFO: Packet analysis {"connection_id":111671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:38:02] local.INFO: Extracted packet for processing {"connection_id":111671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3b7"} 
[2026-06-23 14:38:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244491776001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205347000,"timestamp_ms":1782205347000,"timestamp_seconds":1782205347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3b774b8"} 
[2026-06-23 14:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 14:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244491776001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244491776001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:38:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244491776001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":111671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:38:02] local.INFO: GPS data processed {"connection_id":111671,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:38:02] local.INFO: Acknowledgment sent {"connection_id":111671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:38:13] local.INFO: TCP Data received {"connection_id":112605,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:38:13] local.INFO: Processing buffer {"connection_id":112605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:38:13] local.INFO: IMEI packet received {"connection_id":112605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":112605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:38:16] local.INFO: TCP Data received {"connection_id":112604,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:38:16] local.INFO: Processing buffer {"connection_id":112604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:38:16] local.INFO: IMEI packet received {"connection_id":112604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":112604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:38:19] local.INFO: TCP Data received {"connection_id":112605,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:38:19] local.INFO: Processing buffer {"connection_id":112605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:38:19] local.INFO: IMEI packet received {"connection_id":112605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":112605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:38:19] local.INFO: TCP Data received {"connection_id":112605,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:38:19] local.INFO: Processing buffer {"connection_id":112605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:38:19] local.INFO: Packet analysis {"connection_id":112605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:38:19] local.INFO: Extracted packet for processing {"connection_id":112605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:38:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":112605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:38:19] local.INFO: GPS data processed {"connection_id":112605,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:38:19] local.INFO: Acknowledgment sent {"connection_id":112605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:38:24] local.INFO: TCP Data received {"connection_id":111672,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:38:24] local.INFO: Processing buffer {"connection_id":111672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:38:24] local.INFO: IMEI packet received {"connection_id":111672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":111672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:38:29] local.INFO: TCP Data received {"connection_id":111672,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:38:29] local.INFO: Processing buffer {"connection_id":111672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:38:29] local.INFO: IMEI packet received {"connection_id":111672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:38:30] local.INFO: TCP Data received {"connection_id":111672,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:38:30] local.INFO: Processing buffer {"connection_id":111672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:38:30] local.INFO: Packet analysis {"connection_id":111672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:38:30] local.INFO: Extracted packet for processing {"connection_id":111672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:38: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-06-23 14:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":111672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:38:30] local.INFO: GPS data processed {"connection_id":111672,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:38:30] local.INFO: Acknowledgment sent {"connection_id":111672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:38:50] local.INFO: TCP Data received {"connection_id":112605,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:38:50] local.INFO: Processing buffer {"connection_id":112605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:38:50] local.INFO: Packet analysis {"connection_id":112605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:38:50] local.INFO: Extracted packet for processing {"connection_id":112605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:38:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":112605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:38:50] local.INFO: GPS data processed {"connection_id":112605,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:38:50] local.INFO: Acknowledgment sent {"connection_id":112605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:39:02] local.INFO: TCP Data received {"connection_id":111672,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:39:02] local.INFO: Processing buffer {"connection_id":111672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:39:02] local.INFO: Packet analysis {"connection_id":111672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:39:02] local.INFO: Extracted packet for processing {"connection_id":111672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:39:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":111672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:39:02] local.INFO: GPS data processed {"connection_id":111672,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:39:02] local.INFO: Acknowledgment sent {"connection_id":111672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:39:14] local.INFO: TCP Data received {"connection_id":110877,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:39:14] local.INFO: Processing buffer {"connection_id":110877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:39:14] local.INFO: IMEI packet received {"connection_id":110877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":110877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:39:19] local.INFO: TCP Data received {"connection_id":110877,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:39:19] local.INFO: Processing buffer {"connection_id":110877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:39:19] local.INFO: IMEI packet received {"connection_id":110877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":110877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:39:19] local.INFO: TCP Data received {"connection_id":110877,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:39:19] local.INFO: Processing buffer {"connection_id":110877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:39:19] local.INFO: Packet analysis {"connection_id":110877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:39:19] local.INFO: Extracted packet for processing {"connection_id":110877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:39: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-06-23 14:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:39: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:39: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-06-23 14:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:39:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":110877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:39:19] local.INFO: GPS data processed {"connection_id":110877,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:39:19] local.INFO: Acknowledgment sent {"connection_id":110877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:39:24] local.INFO: TCP Data received {"connection_id":112606,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:39:24] local.INFO: Processing buffer {"connection_id":112606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:39:24] local.INFO: IMEI packet received {"connection_id":112606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":112606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:39:29] local.INFO: TCP Data received {"connection_id":112606,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:39:29] local.INFO: Processing buffer {"connection_id":112606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:39:29] local.INFO: IMEI packet received {"connection_id":112606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":112606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:39:30] local.INFO: TCP Data received {"connection_id":112606,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:39:30] local.INFO: Processing buffer {"connection_id":112606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:39:30] local.INFO: Packet analysis {"connection_id":112606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:39:30] local.INFO: Extracted packet for processing {"connection_id":112606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:39: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-06-23 14: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-06-23 14:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":112606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:39:30] local.INFO: GPS data processed {"connection_id":112606,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:39:30] local.INFO: Acknowledgment sent {"connection_id":112606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:39:50] local.INFO: TCP Data received {"connection_id":110877,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:39:50] local.INFO: Processing buffer {"connection_id":110877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:39:50] local.INFO: Packet analysis {"connection_id":110877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:39:50] local.INFO: Extracted packet for processing {"connection_id":110877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:39:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:39:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":110877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:39:51] local.INFO: GPS data processed {"connection_id":110877,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:39:51] local.INFO: Acknowledgment sent {"connection_id":110877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:40:02] local.INFO: TCP Data received {"connection_id":112606,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:40:02] local.INFO: Processing buffer {"connection_id":112606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:40:02] local.INFO: Packet analysis {"connection_id":112606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:40:02] local.INFO: Extracted packet for processing {"connection_id":112606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:40: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-06-23 14: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-06-23 14:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":112606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:40:02] local.INFO: GPS data processed {"connection_id":112606,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:40:02] local.INFO: Acknowledgment sent {"connection_id":112606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:40:13] local.INFO: TCP Data received {"connection_id":111058,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:40:13] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:40:13] local.INFO: IMEI packet received {"connection_id":111058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":111058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:40:18] local.INFO: TCP Data received {"connection_id":111058,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:40:18] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:40:18] local.INFO: IMEI packet received {"connection_id":111058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":111058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:40:19] local.INFO: TCP Data received {"connection_id":111058,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:40:19] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:40:19] local.INFO: Packet analysis {"connection_id":111058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:40:19] local.INFO: Extracted packet for processing {"connection_id":111058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:40:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":111058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:40:19] local.INFO: GPS data processed {"connection_id":111058,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:40:19] local.INFO: Acknowledgment sent {"connection_id":111058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:40:29] local.INFO: TCP Data received {"connection_id":111674,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:40:29] local.INFO: Processing buffer {"connection_id":111674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:40:29] local.INFO: IMEI packet received {"connection_id":111674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":111674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:40:34] local.INFO: TCP Data received {"connection_id":111674,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:40:34] local.INFO: Processing buffer {"connection_id":111674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:40:34] local.INFO: IMEI packet received {"connection_id":111674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":111674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:40:35] local.INFO: TCP Data received {"connection_id":111674,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:40:35] local.INFO: Processing buffer {"connection_id":111674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:40:35] local.INFO: Packet analysis {"connection_id":111674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:40:35] local.INFO: Extracted packet for processing {"connection_id":111674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:40:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:40:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:40:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":111674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:40:35] local.INFO: GPS data processed {"connection_id":111674,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:40:35] local.INFO: Acknowledgment sent {"connection_id":111674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:40:50] local.INFO: TCP Data received {"connection_id":111058,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:40:50] local.INFO: Processing buffer {"connection_id":111058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:40:50] local.INFO: Packet analysis {"connection_id":111058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:40:50] local.INFO: Extracted packet for processing {"connection_id":111058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:40:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":111058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:40:50] local.INFO: GPS data processed {"connection_id":111058,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:40:50] local.INFO: Acknowledgment sent {"connection_id":111058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:41:07] local.INFO: TCP Data received {"connection_id":111674,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:41:07] local.INFO: Processing buffer {"connection_id":111674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:41:07] local.INFO: Packet analysis {"connection_id":111674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:41:07] local.INFO: Extracted packet for processing {"connection_id":111674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:41:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:41:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":111674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:41:07] local.INFO: GPS data processed {"connection_id":111674,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:41:07] local.INFO: Acknowledgment sent {"connection_id":111674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:41:13] local.INFO: TCP Data received {"connection_id":112607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:41:13] local.INFO: Processing buffer {"connection_id":112607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:41:13] local.INFO: IMEI packet received {"connection_id":112607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":112607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:41:18] local.INFO: TCP Data received {"connection_id":112607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:41:18] local.INFO: Processing buffer {"connection_id":112607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:41:18] local.INFO: IMEI packet received {"connection_id":112607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":112607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:41:19] local.INFO: TCP Data received {"connection_id":112607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:41:19] local.INFO: Processing buffer {"connection_id":112607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:41:19] local.INFO: Packet analysis {"connection_id":112607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:41:19] local.INFO: Extracted packet for processing {"connection_id":112607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:41:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":112607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:41:19] local.INFO: GPS data processed {"connection_id":112607,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:41:19] local.INFO: Acknowledgment sent {"connection_id":112607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:41:24] local.INFO: TCP Data received {"connection_id":112608,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:41:24] local.INFO: Processing buffer {"connection_id":112608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:41:24] local.INFO: IMEI packet received {"connection_id":112608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":112608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:41:29] local.INFO: TCP Data received {"connection_id":112608,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:41:29] local.INFO: Processing buffer {"connection_id":112608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:41:29] local.INFO: IMEI packet received {"connection_id":112608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":112608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:41:30] local.INFO: TCP Data received {"connection_id":112608,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:41:30] local.INFO: Processing buffer {"connection_id":112608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:41:30] local.INFO: Packet analysis {"connection_id":112608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:41:30] local.INFO: Extracted packet for processing {"connection_id":112608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:41:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:41: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-06-23 14: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-06-23 14:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:41:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":112608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:41:30] local.INFO: GPS data processed {"connection_id":112608,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:41:30] local.INFO: Acknowledgment sent {"connection_id":112608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:41:50] local.INFO: TCP Data received {"connection_id":112607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:41:50] local.INFO: Processing buffer {"connection_id":112607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bb02e0012d196ec0071fed90003e00ee26..."} 
[2026-06-23 14:41:50] local.INFO: Packet analysis {"connection_id":112607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:41:50] local.INFO: Extracted packet for processing {"connection_id":112607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bb"} 
[2026-06-23 14:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244551424001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205580000,"timestamp_ms":1782205580000,"timestamp_seconds":1782205580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bb02e0"} 
[2026-06-23 14:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244551424001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244551424001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:41:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244551424001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":112607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:41:50] local.INFO: GPS data processed {"connection_id":112607,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:41:50] local.INFO: Acknowledgment sent {"connection_id":112607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:42:01] local.INFO: TCP Data received {"connection_id":112608,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:42:01] local.INFO: Processing buffer {"connection_id":112608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:42:01] local.INFO: Packet analysis {"connection_id":112608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:42:01] local.INFO: Extracted packet for processing {"connection_id":112608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:42:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:42:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:42:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:42:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":112608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:42:01] local.INFO: GPS data processed {"connection_id":112608,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:42:01] local.INFO: Acknowledgment sent {"connection_id":112608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:42:19] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:42:19] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:42:19] local.INFO: IMEI packet received {"connection_id":111060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":111060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:42:24] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:42:24] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:42:24] local.INFO: IMEI packet received {"connection_id":111060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":111060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:42:24] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:42:24] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:42:24] local.INFO: IMEI packet received {"connection_id":111061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":111061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:42:24] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:42:24] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:42:24] local.INFO: Packet analysis {"connection_id":111060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:42:24] local.INFO: Extracted packet for processing {"connection_id":111060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:42:24] 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-06-23 14:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:42:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":111060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:42:24] local.INFO: GPS data processed {"connection_id":111060,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:42:24] local.INFO: Acknowledgment sent {"connection_id":111060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:42:29] local.INFO: TCP Data received {"connection_id":111060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:42:29] local.INFO: Processing buffer {"connection_id":111060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:42:29] local.INFO: Packet analysis {"connection_id":111060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:42:29] local.INFO: Extracted packet for processing {"connection_id":111060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42: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-06-23 14:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:42:29] 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-06-23 14:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:42:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":111060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:42:29] local.INFO: GPS data processed {"connection_id":111060,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:42:29] local.INFO: Acknowledgment sent {"connection_id":111060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:42:32] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:42:32] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:42:32] local.INFO: IMEI packet received {"connection_id":111061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":111061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:42:34] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:42:34] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:42:34] local.INFO: Packet analysis {"connection_id":111061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:42:34] local.INFO: Extracted packet for processing {"connection_id":111061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:42:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:42:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":111061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:42:34] local.INFO: GPS data processed {"connection_id":111061,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:42:34] local.INFO: Acknowledgment sent {"connection_id":111061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:43:05] local.INFO: TCP Data received {"connection_id":111061,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:43:05] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bc0c80012cb29b8007823df8004a00cf24..."} 
[2026-06-23 14:43:05] local.INFO: Packet analysis {"connection_id":111061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:43:05] local.INFO: Extracted packet for processing {"connection_id":111061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bc"} 
[2026-06-23 14:43:05] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244568832001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782205648000,"timestamp_ms":1782205648000,"timestamp_seconds":1782205648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bc0c80"} 
[2026-06-23 14:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244568832001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244568832001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:43:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:43:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244568832001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":111061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:43:05] local.INFO: GPS data processed {"connection_id":111061,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:43:05] local.INFO: Acknowledgment sent {"connection_id":111061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:43:14] local.INFO: TCP Data received {"connection_id":111677,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:43:14] local.INFO: Processing buffer {"connection_id":111677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:43:14] local.INFO: IMEI packet received {"connection_id":111677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":111677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:43:19] local.INFO: TCP Data received {"connection_id":111677,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:43:19] local.INFO: Processing buffer {"connection_id":111677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:43:19] local.INFO: IMEI packet received {"connection_id":111677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":111677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:43:19] local.INFO: TCP Data received {"connection_id":111677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:43:19] local.INFO: Processing buffer {"connection_id":111677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:43:19] local.INFO: Packet analysis {"connection_id":111677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:43:19] local.INFO: Extracted packet for processing {"connection_id":111677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:43:19] 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-06-23 14:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:43:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":111677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:43:19] local.INFO: GPS data processed {"connection_id":111677,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:43:19] local.INFO: Acknowledgment sent {"connection_id":111677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:43:29] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:43:29] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:43:29] local.INFO: IMEI packet received {"connection_id":110878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:43:34] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:43:34] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:43:34] local.INFO: IMEI packet received {"connection_id":110878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":110878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:43:35] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:43:35] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:43:35] local.INFO: Packet analysis {"connection_id":110878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:43:35] local.INFO: Extracted packet for processing {"connection_id":110878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:43: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-06-23 14:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":110878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:43:35] local.INFO: GPS data processed {"connection_id":110878,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:43:35] local.INFO: Acknowledgment sent {"connection_id":110878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:43:40] local.INFO: TCP Data received {"connection_id":110878,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:43:40] local.INFO: Processing buffer {"connection_id":110878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:43:40] local.INFO: Packet analysis {"connection_id":110878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:43:40] local.INFO: Extracted packet for processing {"connection_id":110878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:43: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-06-23 14: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-06-23 14:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:43:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:43:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":110878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:43:40] local.INFO: GPS data processed {"connection_id":110878,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:43:40] local.INFO: Acknowledgment sent {"connection_id":110878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:43:50] local.INFO: TCP Data received {"connection_id":111677,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:43:50] local.INFO: Processing buffer {"connection_id":111677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:43:50] local.INFO: Packet analysis {"connection_id":111677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:43:50] local.INFO: Extracted packet for processing {"connection_id":111677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:43:50] 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-06-23 14:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:43:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":111677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:43:51] local.INFO: GPS data processed {"connection_id":111677,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:43:51] local.INFO: Acknowledgment sent {"connection_id":111677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:44:06] local.INFO: TCP Data received {"connection_id":110879,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:44:06] local.INFO: Processing buffer {"connection_id":110879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:44:06] local.INFO: IMEI packet received {"connection_id":110879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":110879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:44:13] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:44:13] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:44:13] local.INFO: IMEI packet received {"connection_id":110880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":110880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:44:18] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:44:18] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:44:18] local.INFO: IMEI packet received {"connection_id":110880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":110880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:44:19] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:44:19] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:44:19] local.INFO: Packet analysis {"connection_id":110880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:44:19] local.INFO: Extracted packet for processing {"connection_id":110880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:44:19] 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-06-23 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:44:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":110880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:44:19] local.INFO: GPS data processed {"connection_id":110880,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:44:19] local.INFO: Acknowledgment sent {"connection_id":110880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:44:24] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:44:24] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:44:24] local.INFO: IMEI packet received {"connection_id":110881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":110881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:44:32] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:44:32] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:44:32] local.INFO: IMEI packet received {"connection_id":110881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":110881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:44:33] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:44:33] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:44:33] local.INFO: Packet analysis {"connection_id":110881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:44:33] local.INFO: Extracted packet for processing {"connection_id":110881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:44: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-06-23 14: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-06-23 14:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":110881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:44:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:44:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:44:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":110881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:44:33] local.INFO: GPS data processed {"connection_id":110881,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:44:33] local.INFO: Acknowledgment sent {"connection_id":110881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:44:50] local.INFO: TCP Data received {"connection_id":110880,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:44:50] local.INFO: Processing buffer {"connection_id":110880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:44:50] local.INFO: Packet analysis {"connection_id":110880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:44:50] local.INFO: Extracted packet for processing {"connection_id":110880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:44:50] 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-06-23 14:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:44:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":110880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:44:50] local.INFO: GPS data processed {"connection_id":110880,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:44:50] local.INFO: Acknowledgment sent {"connection_id":110880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:45:05] local.INFO: TCP Data received {"connection_id":110881,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:05] local.INFO: Processing buffer {"connection_id":110881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:05] local.INFO: Packet analysis {"connection_id":110881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:45:05] local.INFO: Extracted packet for processing {"connection_id":110881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:45: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-06-23 14: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-06-23 14:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":110881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":110881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:45:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":110881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:45:05] local.INFO: GPS data processed {"connection_id":110881,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:45:05] local.INFO: Acknowledgment sent {"connection_id":110881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:45:13] local.INFO: TCP Data received {"connection_id":112609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:45:13] local.INFO: Processing buffer {"connection_id":112609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:45:13] local.INFO: IMEI packet received {"connection_id":112609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":112609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:45:18] local.INFO: TCP Data received {"connection_id":112609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:45:18] local.INFO: Processing buffer {"connection_id":112609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:45:18] local.INFO: IMEI packet received {"connection_id":112609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":112609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:45:19] local.INFO: TCP Data received {"connection_id":112609,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:45:19] local.INFO: Processing buffer {"connection_id":112609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:45:19] local.INFO: Packet analysis {"connection_id":112609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:45:19] local.INFO: Extracted packet for processing {"connection_id":112609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:45:19] 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-06-23 14:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:45:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":112609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:45:19] local.INFO: GPS data processed {"connection_id":112609,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:45:19] local.INFO: Acknowledgment sent {"connection_id":112609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:45:29] local.INFO: TCP Data received {"connection_id":111679,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:45:29] local.INFO: Processing buffer {"connection_id":111679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:45:29] local.INFO: IMEI packet received {"connection_id":111679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":111679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:45:34] local.INFO: TCP Data received {"connection_id":111679,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:45:34] local.INFO: Processing buffer {"connection_id":111679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:45:34] local.INFO: IMEI packet received {"connection_id":111679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":111679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:45:35] local.INFO: TCP Data received {"connection_id":111679,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:35] local.INFO: Processing buffer {"connection_id":111679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:35] local.INFO: Packet analysis {"connection_id":111679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:45:35] local.INFO: Extracted packet for processing {"connection_id":111679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:45: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-06-23 14:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:45:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:45:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":111679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:45:35] local.INFO: GPS data processed {"connection_id":111679,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:45:35] local.INFO: Acknowledgment sent {"connection_id":111679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:45:40] local.INFO: TCP Data received {"connection_id":111679,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:40] local.INFO: Processing buffer {"connection_id":111679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:45:40] local.INFO: Packet analysis {"connection_id":111679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:45:40] local.INFO: Extracted packet for processing {"connection_id":111679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:45: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-06-23 14:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":111679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:45:40] local.INFO: GPS data processed {"connection_id":111679,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:45:40] local.INFO: Acknowledgment sent {"connection_id":111679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:45:50] local.INFO: TCP Data received {"connection_id":112609,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:45:50] local.INFO: Processing buffer {"connection_id":112609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:45:50] local.INFO: Packet analysis {"connection_id":112609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:45:50] local.INFO: Extracted packet for processing {"connection_id":112609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:45:50] 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-06-23 14:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:45:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":112609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:45:50] local.INFO: GPS data processed {"connection_id":112609,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:45:50] local.INFO: Acknowledgment sent {"connection_id":112609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:46:18] local.INFO: TCP Data received {"connection_id":112610,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:46:18] local.INFO: Processing buffer {"connection_id":112610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:46:18] local.INFO: IMEI packet received {"connection_id":112610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":112610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:46:23] local.INFO: TCP Data received {"connection_id":112610,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:46:23] local.INFO: Processing buffer {"connection_id":112610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:46:23] local.INFO: IMEI packet received {"connection_id":112610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":112610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:46:24] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:46:24] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:46:24] local.INFO: IMEI packet received {"connection_id":111062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":111062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:46:24] local.INFO: TCP Data received {"connection_id":112610,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:46:24] local.INFO: Processing buffer {"connection_id":112610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:46:24] local.INFO: Packet analysis {"connection_id":112610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:46:24] local.INFO: Extracted packet for processing {"connection_id":112610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:46:24] 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-06-23 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:46:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":112610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:46:24] local.INFO: GPS data processed {"connection_id":112610,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:46:24] local.INFO: Acknowledgment sent {"connection_id":112610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:46:29] local.INFO: TCP Data received {"connection_id":112610,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:46:29] local.INFO: Processing buffer {"connection_id":112610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3bf9aa8012d196ec0071fed90003e00ee25..."} 
[2026-06-23 14:46:29] local.INFO: Packet analysis {"connection_id":112610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:46:29] local.INFO: Extracted packet for processing {"connection_id":112610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3bf"} 
[2026-06-23 14:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":37,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:46: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-06-23 14:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244628480001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46: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-06-23 14:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782205881000,"timestamp_ms":1782205881000,"timestamp_seconds":1782205881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3bf9aa8"} 
[2026-06-23 14:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:46:29] 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-06-23 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 14:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:46: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-06-23 14:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244628480001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244628480001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:46:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244628480001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":112610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:46:29] local.INFO: GPS data processed {"connection_id":112610,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:46:29] local.INFO: Acknowledgment sent {"connection_id":112610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:46:29] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:46:29] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:46:29] local.INFO: IMEI packet received {"connection_id":111062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":111062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:46:30] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:46:30] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:46:30] local.INFO: Packet analysis {"connection_id":111062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:46:30] local.INFO: Extracted packet for processing {"connection_id":111062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:46:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:46: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-06-23 14:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:46:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":111062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:46:30] local.INFO: GPS data processed {"connection_id":111062,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:46:30] local.INFO: Acknowledgment sent {"connection_id":111062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:47:02] local.INFO: TCP Data received {"connection_id":111062,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:47:02] local.INFO: Processing buffer {"connection_id":111062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:47:02] local.INFO: Packet analysis {"connection_id":111062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:47:02] local.INFO: Extracted packet for processing {"connection_id":111062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:47: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-06-23 14: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-06-23 14:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":111062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:47:02] local.INFO: GPS data processed {"connection_id":111062,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:47:02] local.INFO: Acknowledgment sent {"connection_id":111062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:47:13] local.INFO: TCP Data received {"connection_id":110883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:47:13] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:47:13] local.INFO: IMEI packet received {"connection_id":110883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":110883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:47:19] local.INFO: TCP Data received {"connection_id":110883,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:47:19] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:47:19] local.INFO: IMEI packet received {"connection_id":110883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":110883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:47:19] local.INFO: TCP Data received {"connection_id":110883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:47:19] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:47:19] local.INFO: Packet analysis {"connection_id":110883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:47:19] local.INFO: Extracted packet for processing {"connection_id":110883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:47:19] 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-06-23 14:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:47:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":110883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:47:19] local.INFO: GPS data processed {"connection_id":110883,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:47:19] local.INFO: Acknowledgment sent {"connection_id":110883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:47:23] local.INFO: TCP Data received {"connection_id":112611,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:47:23] local.INFO: Processing buffer {"connection_id":112611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:47:23] local.INFO: IMEI packet received {"connection_id":112611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":112611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:47:31] local.INFO: TCP Data received {"connection_id":112611,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:47:31] local.INFO: Processing buffer {"connection_id":112611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:47:31] local.INFO: IMEI packet received {"connection_id":112611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":112611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:47:33] local.INFO: TCP Data received {"connection_id":112611,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:47:33] local.INFO: Processing buffer {"connection_id":112611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:47:33] local.INFO: Packet analysis {"connection_id":112611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:47:33] local.INFO: Extracted packet for processing {"connection_id":112611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:47: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-06-23 14: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-06-23 14:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:47:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:47:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":112611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:47:33] local.INFO: GPS data processed {"connection_id":112611,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:47:33] local.INFO: Acknowledgment sent {"connection_id":112611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:47:50] local.INFO: TCP Data received {"connection_id":110883,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:47:50] local.INFO: Processing buffer {"connection_id":110883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:47:50] local.INFO: Packet analysis {"connection_id":110883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:47:50] local.INFO: Extracted packet for processing {"connection_id":110883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:47:50] 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-06-23 14:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:47:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":110883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:47:51] local.INFO: GPS data processed {"connection_id":110883,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:47:51] local.INFO: Acknowledgment sent {"connection_id":110883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:48:07] local.INFO: TCP Data received {"connection_id":112611,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:48:07] local.INFO: Processing buffer {"connection_id":112611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c0a448012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:48:07] local.INFO: Packet analysis {"connection_id":112611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:48:07] local.INFO: Extracted packet for processing {"connection_id":112611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c0"} 
[2026-06-23 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244645888001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782205949000,"timestamp_ms":1782205949000,"timestamp_seconds":1782205949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c0a448"} 
[2026-06-23 14:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 14:48: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-06-23 14:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244645888001,"66":25321,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244645888001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244645888001,"power":25321,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":112611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:48:07] local.INFO: GPS data processed {"connection_id":112611,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:48:07] local.INFO: Acknowledgment sent {"connection_id":112611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:48:13] local.INFO: TCP Data received {"connection_id":110884,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:48:13] local.INFO: Processing buffer {"connection_id":110884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:48:13] local.INFO: IMEI packet received {"connection_id":110884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":110884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:48:18] local.INFO: TCP Data received {"connection_id":110884,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:48:18] local.INFO: Processing buffer {"connection_id":110884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:48:18] local.INFO: IMEI packet received {"connection_id":110884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":110884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:48:19] local.INFO: TCP Data received {"connection_id":110884,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:48:19] local.INFO: Processing buffer {"connection_id":110884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:48:19] local.INFO: Packet analysis {"connection_id":110884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:48:19] local.INFO: Extracted packet for processing {"connection_id":110884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:48:19] 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-06-23 14:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:48:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":110884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:48:19] local.INFO: GPS data processed {"connection_id":110884,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:48:19] local.INFO: Acknowledgment sent {"connection_id":110884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:48:34] local.INFO: TCP Data received {"connection_id":112612,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:48:34] local.INFO: Processing buffer {"connection_id":112612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:48:34] local.INFO: IMEI packet received {"connection_id":112612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":112612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:48:39] local.INFO: TCP Data received {"connection_id":112612,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:48:39] local.INFO: Processing buffer {"connection_id":112612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:48:39] local.INFO: IMEI packet received {"connection_id":112612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":112612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:48:40] local.INFO: TCP Data received {"connection_id":112612,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:48:40] local.INFO: Processing buffer {"connection_id":112612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:48:40] local.INFO: Packet analysis {"connection_id":112612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:48:40] local.INFO: Extracted packet for processing {"connection_id":112612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:48:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:48:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":112612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:48:40] local.INFO: GPS data processed {"connection_id":112612,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:48:40] local.INFO: Acknowledgment sent {"connection_id":112612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:48:50] local.INFO: TCP Data received {"connection_id":110884,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:48:50] local.INFO: Processing buffer {"connection_id":110884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:48:50] local.INFO: Packet analysis {"connection_id":110884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:48:50] local.INFO: Extracted packet for processing {"connection_id":110884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:48:50] 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-06-23 14:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:48:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":110884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:48:51] local.INFO: GPS data processed {"connection_id":110884,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:48:51] local.INFO: Acknowledgment sent {"connection_id":110884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:49:14] local.INFO: TCP Data received {"connection_id":111064,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:49:14] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:49:14] local.INFO: IMEI packet received {"connection_id":111064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":111064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:49:18] local.INFO: TCP Data received {"connection_id":111064,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:49:18] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:49:18] local.INFO: IMEI packet received {"connection_id":111064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":111064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:49:19] local.INFO: TCP Data received {"connection_id":111064,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:49:19] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:49:19] local.INFO: Packet analysis {"connection_id":111064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:49:19] local.INFO: Extracted packet for processing {"connection_id":111064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:49:19] 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-06-23 14:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:49:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":111064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:49:19] local.INFO: GPS data processed {"connection_id":111064,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:49:19] local.INFO: Acknowledgment sent {"connection_id":111064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:49:19] local.INFO: TCP Data received {"connection_id":111682,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:49:19] local.INFO: Processing buffer {"connection_id":111682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:49:19] local.INFO: IMEI packet received {"connection_id":111682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":111682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:49:24] local.INFO: TCP Data received {"connection_id":111683,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:49:24] local.INFO: Processing buffer {"connection_id":111683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:49:24] local.INFO: IMEI packet received {"connection_id":111683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":111683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:49:29] local.INFO: TCP Data received {"connection_id":111683,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:49:29] local.INFO: Processing buffer {"connection_id":111683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:49:29] local.INFO: IMEI packet received {"connection_id":111683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":111683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:49:30] local.INFO: TCP Data received {"connection_id":111683,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:49:30] local.INFO: Processing buffer {"connection_id":111683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:49:30] local.INFO: Packet analysis {"connection_id":111683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:49:30] local.INFO: Extracted packet for processing {"connection_id":111683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:49: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-06-23 14:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":111683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:49:30] local.INFO: GPS data processed {"connection_id":111683,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:49:30] local.INFO: Acknowledgment sent {"connection_id":111683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:49:50] local.INFO: TCP Data received {"connection_id":111064,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:49:50] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:49:50] local.INFO: Packet analysis {"connection_id":111064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:49:50] local.INFO: Extracted packet for processing {"connection_id":111064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:49:50] 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-06-23 14:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:49:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":111064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:49:50] local.INFO: GPS data processed {"connection_id":111064,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:49:50] local.INFO: Acknowledgment sent {"connection_id":111064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:50:02] local.INFO: TCP Data received {"connection_id":111683,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:50:02] local.INFO: Processing buffer {"connection_id":111683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:50:02] local.INFO: Packet analysis {"connection_id":111683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:50:02] local.INFO: Extracted packet for processing {"connection_id":111683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:50: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-06-23 14: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-06-23 14:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:50:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":111683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:50:02] local.INFO: GPS data processed {"connection_id":111683,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:50:02] local.INFO: Acknowledgment sent {"connection_id":111683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:50:13] local.INFO: TCP Data received {"connection_id":111066,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:50:13] local.INFO: Processing buffer {"connection_id":111066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:50:13] local.INFO: IMEI packet received {"connection_id":111066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":111066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:50:18] local.INFO: TCP Data received {"connection_id":111066,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:50:18] local.INFO: Processing buffer {"connection_id":111066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:50:18] local.INFO: IMEI packet received {"connection_id":111066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":111066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:50:19] local.INFO: TCP Data received {"connection_id":111066,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:50:19] local.INFO: Processing buffer {"connection_id":111066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:50:19] local.INFO: Packet analysis {"connection_id":111066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:50:19] local.INFO: Extracted packet for processing {"connection_id":111066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:50:19] 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-06-23 14:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:50:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":111066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:50:19] local.INFO: GPS data processed {"connection_id":111066,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:50:19] local.INFO: Acknowledgment sent {"connection_id":111066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:50:23] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:50:23] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:50:23] local.INFO: IMEI packet received {"connection_id":110885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":110885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:50:29] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:50:29] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:50:29] local.INFO: IMEI packet received {"connection_id":110885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":110885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:50:30] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:50:30] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:50:30] local.INFO: Packet analysis {"connection_id":110885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:50:30] local.INFO: Extracted packet for processing {"connection_id":110885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:50:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":110885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:50:30] local.INFO: GPS data processed {"connection_id":110885,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:50:30] local.INFO: Acknowledgment sent {"connection_id":110885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:50:50] local.INFO: TCP Data received {"connection_id":111066,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:50:50] local.INFO: Processing buffer {"connection_id":111066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:50:50] local.INFO: Packet analysis {"connection_id":111066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:50:50] local.INFO: Extracted packet for processing {"connection_id":111066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:50:50] 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-06-23 14:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:50:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":111066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:50:51] local.INFO: GPS data processed {"connection_id":111066,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:50:51] local.INFO: Acknowledgment sent {"connection_id":111066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:51:02] local.INFO: TCP Data received {"connection_id":110885,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:02] local.INFO: Processing buffer {"connection_id":110885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:02] local.INFO: Packet analysis {"connection_id":110885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:51:02] local.INFO: Extracted packet for processing {"connection_id":110885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:51:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:51: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-06-23 14: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-06-23 14:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:51:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:51:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":110885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:51:02] local.INFO: GPS data processed {"connection_id":110885,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:51:02] local.INFO: Acknowledgment sent {"connection_id":110885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:51:13] local.INFO: TCP Data received {"connection_id":111685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:51:13] local.INFO: Processing buffer {"connection_id":111685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:51:13] local.INFO: IMEI packet received {"connection_id":111685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":111685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:51:19] local.INFO: TCP Data received {"connection_id":111685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:51:19] local.INFO: Processing buffer {"connection_id":111685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:51:19] local.INFO: IMEI packet received {"connection_id":111685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":111685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:51:19] local.INFO: TCP Data received {"connection_id":111685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:51:19] local.INFO: Processing buffer {"connection_id":111685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:51:19] local.INFO: Packet analysis {"connection_id":111685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:51:19] local.INFO: Extracted packet for processing {"connection_id":111685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:51:19] 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-06-23 14:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:51:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":111685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:51:20] local.INFO: GPS data processed {"connection_id":111685,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:51:20] local.INFO: Acknowledgment sent {"connection_id":111685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:51:29] local.INFO: TCP Data received {"connection_id":111686,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:51:29] local.INFO: Processing buffer {"connection_id":111686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:51:29] local.INFO: IMEI packet received {"connection_id":111686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":111686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:51:34] local.INFO: TCP Data received {"connection_id":111686,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:51:34] local.INFO: Processing buffer {"connection_id":111686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:51:34] local.INFO: IMEI packet received {"connection_id":111686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":111686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:51:35] local.INFO: TCP Data received {"connection_id":111686,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:35] local.INFO: Processing buffer {"connection_id":111686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:35] local.INFO: Packet analysis {"connection_id":111686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:51:35] local.INFO: Extracted packet for processing {"connection_id":111686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:51:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:51:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:51:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:51:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":111686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:51:35] local.INFO: GPS data processed {"connection_id":111686,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:51:35] local.INFO: Acknowledgment sent {"connection_id":111686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:51:40] local.INFO: TCP Data received {"connection_id":111686,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:40] local.INFO: Processing buffer {"connection_id":111686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:51:40] local.INFO: Packet analysis {"connection_id":111686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:51:40] local.INFO: Extracted packet for processing {"connection_id":111686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":111686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:51:40] local.INFO: GPS data processed {"connection_id":111686,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:51:40] local.INFO: Acknowledgment sent {"connection_id":111686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:51:51] local.INFO: TCP Data received {"connection_id":111685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:51:51] local.INFO: Processing buffer {"connection_id":111685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c43270012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:51:51] local.INFO: Packet analysis {"connection_id":111685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:51:51] local.INFO: Extracted packet for processing {"connection_id":111685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c4"} 
[2026-06-23 14:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244705536001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782206182000,"timestamp_ms":1782206182000,"timestamp_seconds":1782206182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c43270"} 
[2026-06-23 14:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:51:51] 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-06-23 14:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244705536001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244705536001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:51:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244705536001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":111685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:51:51] local.INFO: GPS data processed {"connection_id":111685,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:51:51] local.INFO: Acknowledgment sent {"connection_id":111685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:52:18] local.INFO: TCP Data received {"connection_id":112614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:52:18] local.INFO: Processing buffer {"connection_id":112614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:52:18] local.INFO: IMEI packet received {"connection_id":112614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":112614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:52:23] local.INFO: TCP Data received {"connection_id":112614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:52:23] local.INFO: Processing buffer {"connection_id":112614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:52:23] local.INFO: IMEI packet received {"connection_id":112614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":112614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:52:24] local.INFO: TCP Data received {"connection_id":112615,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:52:24] local.INFO: Processing buffer {"connection_id":112615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:52:24] local.INFO: IMEI packet received {"connection_id":112615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":112615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:52:24] local.INFO: TCP Data received {"connection_id":112614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:52:24] local.INFO: Processing buffer {"connection_id":112614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:52:24] local.INFO: Packet analysis {"connection_id":112614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:52:24] local.INFO: Extracted packet for processing {"connection_id":112614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:52: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-06-23 14:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:52:24] 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-06-23 14:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:52: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-06-23 14:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:52:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":112614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:52:24] local.INFO: GPS data processed {"connection_id":112614,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:52:24] local.INFO: Acknowledgment sent {"connection_id":112614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:52:29] local.INFO: TCP Data received {"connection_id":112614,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:52:29] local.INFO: Processing buffer {"connection_id":112614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:52:29] local.INFO: Packet analysis {"connection_id":112614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:52:29] local.INFO: Extracted packet for processing {"connection_id":112614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52: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-06-23 14:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:52:29] 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-06-23 14:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":112614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:52:29] local.INFO: GPS data processed {"connection_id":112614,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:52:29] local.INFO: Acknowledgment sent {"connection_id":112614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:52:29] local.INFO: TCP Data received {"connection_id":112615,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:52:29] local.INFO: Processing buffer {"connection_id":112615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:52:29] local.INFO: IMEI packet received {"connection_id":112615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":112615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:52:30] local.INFO: TCP Data received {"connection_id":112615,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:52:30] local.INFO: Processing buffer {"connection_id":112615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:52:30] local.INFO: Packet analysis {"connection_id":112615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:52:30] local.INFO: Extracted packet for processing {"connection_id":112615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 14:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:52: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-06-23 14:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:52:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:52:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":112615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:52:30] local.INFO: GPS data processed {"connection_id":112615,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:52:30] local.INFO: Acknowledgment sent {"connection_id":112615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:53:02] local.INFO: TCP Data received {"connection_id":112615,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:53:02] local.INFO: Processing buffer {"connection_id":112615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c53c10012cb29b8007823df8004a00cf20..."} 
[2026-06-23 14:53:02] local.INFO: Packet analysis {"connection_id":112615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:53:02] local.INFO: Extracted packet for processing {"connection_id":112615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c5"} 
[2026-06-23 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":32,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244722944001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206250000,"timestamp_ms":1782206250000,"timestamp_seconds":1782206250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c53c10"} 
[2026-06-23 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-06-23 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 14:53: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-06-23 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-06-23 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-06-23 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244722944001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244722944001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244722944001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":112615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:53:02] local.INFO: GPS data processed {"connection_id":112615,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:53:02] local.INFO: Acknowledgment sent {"connection_id":112615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:53:13] local.INFO: TCP Data received {"connection_id":111067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:53:13] local.INFO: Processing buffer {"connection_id":111067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:53:13] local.INFO: IMEI packet received {"connection_id":111067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":111067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:53:18] local.INFO: TCP Data received {"connection_id":111067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:53:18] local.INFO: Processing buffer {"connection_id":111067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:53:18] local.INFO: IMEI packet received {"connection_id":111067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":111067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:53:19] local.INFO: TCP Data received {"connection_id":111067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:53:19] local.INFO: Processing buffer {"connection_id":111067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:53:19] local.INFO: Packet analysis {"connection_id":111067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:53:19] local.INFO: Extracted packet for processing {"connection_id":111067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:53:19] 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-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:53:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":111067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:53:19] local.INFO: GPS data processed {"connection_id":111067,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:53:19] local.INFO: Acknowledgment sent {"connection_id":111067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:53:24] local.INFO: TCP Data received {"connection_id":110887,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:53:24] local.INFO: Processing buffer {"connection_id":110887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:53:24] local.INFO: IMEI packet received {"connection_id":110887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":110887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:53:29] local.INFO: TCP Data received {"connection_id":110887,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:53:29] local.INFO: Processing buffer {"connection_id":110887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:53:29] local.INFO: IMEI packet received {"connection_id":110887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":110887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:53:30] local.INFO: TCP Data received {"connection_id":110887,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:53:30] local.INFO: Processing buffer {"connection_id":110887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:53:30] local.INFO: Packet analysis {"connection_id":110887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:53:30] local.INFO: Extracted packet for processing {"connection_id":110887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":110887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:53:30] local.INFO: GPS data processed {"connection_id":110887,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:53:30] local.INFO: Acknowledgment sent {"connection_id":110887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:53:35] local.INFO: TCP Data received {"connection_id":110887,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:53:35] local.INFO: Processing buffer {"connection_id":110887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:53:35] local.INFO: Packet analysis {"connection_id":110887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:53:35] local.INFO: Extracted packet for processing {"connection_id":110887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:53:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":110887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:53:35] local.INFO: GPS data processed {"connection_id":110887,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:53:35] local.INFO: Acknowledgment sent {"connection_id":110887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:53:50] local.INFO: TCP Data received {"connection_id":111067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:53:50] local.INFO: Processing buffer {"connection_id":111067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:53:50] local.INFO: Packet analysis {"connection_id":111067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:53:50] local.INFO: Extracted packet for processing {"connection_id":111067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:53:50] 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-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:53:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":111067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:53:51] local.INFO: GPS data processed {"connection_id":111067,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:53:51] local.INFO: Acknowledgment sent {"connection_id":111067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:54:06] local.INFO: TCP Data received {"connection_id":110887,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:54:06] local.INFO: Processing buffer {"connection_id":110887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:54:06] local.INFO: Packet analysis {"connection_id":110887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:54:06] local.INFO: Extracted packet for processing {"connection_id":110887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:54:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":110887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:54:06] local.INFO: GPS data processed {"connection_id":110887,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:54:06] local.INFO: Acknowledgment sent {"connection_id":110887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:54:13] local.INFO: TCP Data received {"connection_id":112617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:54:13] local.INFO: Processing buffer {"connection_id":112617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:54:13] local.INFO: IMEI packet received {"connection_id":112617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":112617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:54:18] local.INFO: TCP Data received {"connection_id":112617,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:54:18] local.INFO: Processing buffer {"connection_id":112617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:54:18] local.INFO: IMEI packet received {"connection_id":112617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":112617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:54:19] local.INFO: TCP Data received {"connection_id":112617,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:54:19] local.INFO: Processing buffer {"connection_id":112617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:54:19] local.INFO: Packet analysis {"connection_id":112617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:54:19] local.INFO: Extracted packet for processing {"connection_id":112617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:54:19] 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-06-23 14:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:54:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":112617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:54:19] local.INFO: GPS data processed {"connection_id":112617,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:54:19] local.INFO: Acknowledgment sent {"connection_id":112617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:54:23] local.INFO: TCP Data received {"connection_id":112618,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:54:23] local.INFO: Processing buffer {"connection_id":112618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:54:23] local.INFO: IMEI packet received {"connection_id":112618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":112618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:54:29] local.INFO: TCP Data received {"connection_id":112618,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:54:29] local.INFO: Processing buffer {"connection_id":112618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:54:29] local.INFO: IMEI packet received {"connection_id":112618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":112618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:54:30] local.INFO: TCP Data received {"connection_id":112618,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:54:30] local.INFO: Processing buffer {"connection_id":112618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:54:30] local.INFO: Packet analysis {"connection_id":112618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:54:30] local.INFO: Extracted packet for processing {"connection_id":112618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:54:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":112618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:54:30] local.INFO: GPS data processed {"connection_id":112618,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:54:30] local.INFO: Acknowledgment sent {"connection_id":112618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:54:50] local.INFO: TCP Data received {"connection_id":112617,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:54:50] local.INFO: Processing buffer {"connection_id":112617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:54:50] local.INFO: Packet analysis {"connection_id":112617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:54:50] local.INFO: Extracted packet for processing {"connection_id":112617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:54:50] 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-06-23 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:54:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":112617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:54:51] local.INFO: GPS data processed {"connection_id":112617,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:54:51] local.INFO: Acknowledgment sent {"connection_id":112617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:55:02] local.INFO: TCP Data received {"connection_id":112618,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:02] local.INFO: Processing buffer {"connection_id":112618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:02] local.INFO: Packet analysis {"connection_id":112618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:55:02] local.INFO: Extracted packet for processing {"connection_id":112618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:55:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:55:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":112618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:55:02] local.INFO: GPS data processed {"connection_id":112618,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:55:02] local.INFO: Acknowledgment sent {"connection_id":112618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:55:06] local.INFO: TCP Data received {"connection_id":111687,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:55:06] local.INFO: Processing buffer {"connection_id":111687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 14:55:06] local.INFO: IMEI packet received {"connection_id":111687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 14:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":111687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:55:14] local.INFO: TCP Data received {"connection_id":111068,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:55:14] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:55:14] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:55:18] local.INFO: TCP Data received {"connection_id":111068,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:55:18] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:55:18] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:55:19] local.INFO: TCP Data received {"connection_id":111068,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:55:19] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:55:19] local.INFO: Packet analysis {"connection_id":111068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:55:19] local.INFO: Extracted packet for processing {"connection_id":111068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:55:19] 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-06-23 14:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:55:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":111068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:55:19] local.INFO: GPS data processed {"connection_id":111068,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:55:19] local.INFO: Acknowledgment sent {"connection_id":111068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:55:29] local.INFO: TCP Data received {"connection_id":112619,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:55:29] local.INFO: Processing buffer {"connection_id":112619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:55:29] local.INFO: IMEI packet received {"connection_id":112619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":112619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:55:34] local.INFO: TCP Data received {"connection_id":112619,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:55:34] local.INFO: Processing buffer {"connection_id":112619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:55:34] local.INFO: IMEI packet received {"connection_id":112619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":112619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:55:36] local.INFO: TCP Data received {"connection_id":112619,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:36] local.INFO: Processing buffer {"connection_id":112619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:36] local.INFO: Packet analysis {"connection_id":112619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:55:36] local.INFO: Extracted packet for processing {"connection_id":112619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:55:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:55:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:55:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":112619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:55:36] local.INFO: GPS data processed {"connection_id":112619,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:55:36] local.INFO: Acknowledgment sent {"connection_id":112619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:55:39] local.INFO: TCP Data received {"connection_id":112619,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:39] local.INFO: Processing buffer {"connection_id":112619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:55:39] local.INFO: Packet analysis {"connection_id":112619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:55:39] local.INFO: Extracted packet for processing {"connection_id":112619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":112619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:55:39] local.INFO: GPS data processed {"connection_id":112619,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:55:39] local.INFO: Acknowledgment sent {"connection_id":112619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:55:50] local.INFO: TCP Data received {"connection_id":111068,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:55:50] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:55:50] local.INFO: Packet analysis {"connection_id":111068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:55:50] local.INFO: Extracted packet for processing {"connection_id":111068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:55:50] 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-06-23 14:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:55:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":111068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:55:51] local.INFO: GPS data processed {"connection_id":111068,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:55:51] local.INFO: Acknowledgment sent {"connection_id":111068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:56:13] local.INFO: TCP Data received {"connection_id":110888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:56:13] local.INFO: Processing buffer {"connection_id":110888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:56:13] local.INFO: IMEI packet received {"connection_id":110888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":110888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:56:18] local.INFO: TCP Data received {"connection_id":110888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:56:18] local.INFO: Processing buffer {"connection_id":110888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:56:18] local.INFO: IMEI packet received {"connection_id":110888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":110888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:56:19] local.INFO: TCP Data received {"connection_id":110888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:56:19] local.INFO: Processing buffer {"connection_id":110888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:56:19] local.INFO: Packet analysis {"connection_id":110888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:56:19] local.INFO: Extracted packet for processing {"connection_id":110888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:56:19] 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-06-23 14:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:56:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":110888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:56:19] local.INFO: GPS data processed {"connection_id":110888,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:56:19] local.INFO: Acknowledgment sent {"connection_id":110888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:56:24] local.INFO: TCP Data received {"connection_id":111688,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:56:24] local.INFO: Processing buffer {"connection_id":111688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:56:24] local.INFO: IMEI packet received {"connection_id":111688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":111688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:56:29] local.INFO: TCP Data received {"connection_id":111688,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:56:29] local.INFO: Processing buffer {"connection_id":111688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:56:29] local.INFO: IMEI packet received {"connection_id":111688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":111688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:56:30] local.INFO: TCP Data received {"connection_id":111688,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:56:30] local.INFO: Processing buffer {"connection_id":111688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:56:30] local.INFO: Packet analysis {"connection_id":111688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:56:30] local.INFO: Extracted packet for processing {"connection_id":111688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:56:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":111688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:56:30] local.INFO: GPS data processed {"connection_id":111688,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:56:30] local.INFO: Acknowledgment sent {"connection_id":111688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:56:50] local.INFO: TCP Data received {"connection_id":110888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:56:50] local.INFO: Processing buffer {"connection_id":110888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c8ca38012d196ec0071fed90003e00ee27..."} 
[2026-06-23 14:56:50] local.INFO: Packet analysis {"connection_id":110888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:56:50] local.INFO: Extracted packet for processing {"connection_id":110888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c8"} 
[2026-06-23 14:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244782592001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206483000,"timestamp_ms":1782206483000,"timestamp_seconds":1782206483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c8ca38"} 
[2026-06-23 14:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:56:50] 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-06-23 14:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244782592001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244782592001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:56:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244782592001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":110888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:56:50] local.INFO: GPS data processed {"connection_id":110888,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:56:50] local.INFO: Acknowledgment sent {"connection_id":110888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:57:02] local.INFO: TCP Data received {"connection_id":111688,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:57:02] local.INFO: Processing buffer {"connection_id":111688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:57:02] local.INFO: Packet analysis {"connection_id":111688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:57:02] local.INFO: Extracted packet for processing {"connection_id":111688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":111688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:57:02] local.INFO: GPS data processed {"connection_id":111688,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:57:02] local.INFO: Acknowledgment sent {"connection_id":111688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:57:18] local.INFO: TCP Data received {"connection_id":111689,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:57:18] local.INFO: Processing buffer {"connection_id":111689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:57:18] local.INFO: IMEI packet received {"connection_id":111689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":111689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:57:23] local.INFO: TCP Data received {"connection_id":111689,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:57:23] local.INFO: Processing buffer {"connection_id":111689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:57:23] local.INFO: IMEI packet received {"connection_id":111689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":111689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:57:24] local.INFO: TCP Data received {"connection_id":112621,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:57:24] local.INFO: Processing buffer {"connection_id":112621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:57:24] local.INFO: IMEI packet received {"connection_id":112621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":112621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:57:24] local.INFO: TCP Data received {"connection_id":111689,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:57:24] local.INFO: Processing buffer {"connection_id":111689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:57:24] local.INFO: Packet analysis {"connection_id":111689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:57:24] local.INFO: Extracted packet for processing {"connection_id":111689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 14:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:57:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":111689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:57:24] local.INFO: GPS data processed {"connection_id":111689,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:57:24] local.INFO: Acknowledgment sent {"connection_id":111689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:57:29] local.INFO: TCP Data received {"connection_id":111689,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:57:29] local.INFO: Processing buffer {"connection_id":111689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:57:29] local.INFO: Packet analysis {"connection_id":111689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:57:29] local.INFO: Extracted packet for processing {"connection_id":111689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57: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-06-23 14:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 14:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:57:29] 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-06-23 14:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:57:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":111689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:57:29] local.INFO: GPS data processed {"connection_id":111689,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:57:29] local.INFO: Acknowledgment sent {"connection_id":111689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:57:29] local.INFO: TCP Data received {"connection_id":112621,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:57:29] local.INFO: Processing buffer {"connection_id":112621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:57:29] local.INFO: IMEI packet received {"connection_id":112621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":112621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:57:30] local.INFO: TCP Data received {"connection_id":112621,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:57:30] local.INFO: Processing buffer {"connection_id":112621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:57:30] local.INFO: Packet analysis {"connection_id":112621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:57:30] local.INFO: Extracted packet for processing {"connection_id":112621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":112621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:57:30] local.INFO: GPS data processed {"connection_id":112621,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:57:30] local.INFO: Acknowledgment sent {"connection_id":112621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:58:02] local.INFO: TCP Data received {"connection_id":112621,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:58:02] local.INFO: Processing buffer {"connection_id":112621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3c9d3d8012cb29b8007823df8004a00cf25..."} 
[2026-06-23 14:58:02] local.INFO: Packet analysis {"connection_id":112621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:58:02] local.INFO: Extracted packet for processing {"connection_id":112621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3c9"} 
[2026-06-23 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":37,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244800000001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206551000,"timestamp_ms":1782206551000,"timestamp_seconds":1782206551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3c9d3d8"} 
[2026-06-23 14:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 14:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 14:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244800000001,"66":25158,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244800000001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244800000001,"power":25158,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":112621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:58:02] local.INFO: GPS data processed {"connection_id":112621,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:58:02] local.INFO: Acknowledgment sent {"connection_id":112621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:58:13] local.INFO: TCP Data received {"connection_id":110890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:58:13] local.INFO: Processing buffer {"connection_id":110890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:58:13] local.INFO: IMEI packet received {"connection_id":110890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":110890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:58:18] local.INFO: TCP Data received {"connection_id":110890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:58:18] local.INFO: Processing buffer {"connection_id":110890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:58:18] local.INFO: IMEI packet received {"connection_id":110890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":110890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:58:19] local.INFO: TCP Data received {"connection_id":110890,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:58:19] local.INFO: Processing buffer {"connection_id":110890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:58:19] local.INFO: Packet analysis {"connection_id":110890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:58:19] local.INFO: Extracted packet for processing {"connection_id":110890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 14:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:58:19] 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-06-23 14:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:58:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:58:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":110890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:58:19] local.INFO: GPS data processed {"connection_id":110890,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:58:19] local.INFO: Acknowledgment sent {"connection_id":110890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:58:24] local.INFO: TCP Data received {"connection_id":111070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:58:24] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:58:24] local.INFO: IMEI packet received {"connection_id":111070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":111070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:58:29] local.INFO: TCP Data received {"connection_id":111070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:58:29] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:58:29] local.INFO: IMEI packet received {"connection_id":111070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":111070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:58:30] local.INFO: TCP Data received {"connection_id":111070,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:58:30] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:58:30] local.INFO: Packet analysis {"connection_id":111070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:58:30] local.INFO: Extracted packet for processing {"connection_id":111070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 14:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:58:30] 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-06-23 14:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 14:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":111070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:58:30] local.INFO: GPS data processed {"connection_id":111070,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:58:30] local.INFO: Acknowledgment sent {"connection_id":111070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:58:50] local.INFO: TCP Data received {"connection_id":110890,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:58:50] local.INFO: Processing buffer {"connection_id":110890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:58:50] local.INFO: Packet analysis {"connection_id":110890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:58:50] local.INFO: Extracted packet for processing {"connection_id":110890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 14:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:58:50] 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-06-23 14:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:58:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":110890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:58:50] local.INFO: GPS data processed {"connection_id":110890,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:58:50] local.INFO: Acknowledgment sent {"connection_id":110890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:59:01] local.INFO: TCP Data received {"connection_id":111070,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:01] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:01] local.INFO: Packet analysis {"connection_id":111070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:59:01] local.INFO: Extracted packet for processing {"connection_id":111070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:59:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 14:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:59:01] 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-06-23 14: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 14:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:59:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":111070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:59:01] local.INFO: GPS data processed {"connection_id":111070,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:59:01] local.INFO: Acknowledgment sent {"connection_id":111070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:59:13] local.INFO: TCP Data received {"connection_id":112623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:59:13] local.INFO: Processing buffer {"connection_id":112623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:59:13] local.INFO: IMEI packet received {"connection_id":112623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 14:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":112623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:59:18] local.INFO: TCP Data received {"connection_id":112623,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:59:18] local.INFO: Processing buffer {"connection_id":112623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 14:59:18] local.INFO: IMEI packet received {"connection_id":112623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 14:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":112623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:59:19] local.INFO: TCP Data received {"connection_id":112623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:59:19] local.INFO: Processing buffer {"connection_id":112623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:59:19] local.INFO: Packet analysis {"connection_id":112623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:59:19] local.INFO: Extracted packet for processing {"connection_id":112623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 14:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:59:19] 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-06-23 14:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:59:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":112623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:59:19] local.INFO: GPS data processed {"connection_id":112623,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:59:19] local.INFO: Acknowledgment sent {"connection_id":112623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:59:28] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:59:28] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:59:28] local.INFO: IMEI packet received {"connection_id":111071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 14:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 14:59:35] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:59:35] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 14:59:35] local.INFO: IMEI packet received {"connection_id":111071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 14:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":111071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 14:59:36] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:36] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:36] local.INFO: Packet analysis {"connection_id":111071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:59:36] local.INFO: Extracted packet for processing {"connection_id":111071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 14:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:59: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-06-23 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 14:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:59:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:59:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":111071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:59:36] local.INFO: GPS data processed {"connection_id":111071,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:59:36] local.INFO: Acknowledgment sent {"connection_id":111071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:59:39] local.INFO: TCP Data received {"connection_id":111071,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:39] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 14:59:39] local.INFO: Packet analysis {"connection_id":111071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:59:39] local.INFO: Extracted packet for processing {"connection_id":111071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 14:59:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 14: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-06-23 14:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 14:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:59:39] 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-06-23 14:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 14:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14: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-06-23 14:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 14:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 14:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 14:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 14:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 14:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 14:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:59:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 14:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 14:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 14:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 14:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":111071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:59:39] local.INFO: GPS data processed {"connection_id":111071,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:59:39] local.INFO: Acknowledgment sent {"connection_id":111071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 14:59:50] local.INFO: TCP Data received {"connection_id":112623,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:59:50] local.INFO: Processing buffer {"connection_id":112623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 14:59:50] local.INFO: Packet analysis {"connection_id":112623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:59:50] local.INFO: Extracted packet for processing {"connection_id":112623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 14:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 14:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 14:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 14:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 14:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 14:59:50] 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-06-23 14:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 14:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 14:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 14:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 14:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 14:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 14:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 14:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 14:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 14:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 14:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 14:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 14:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 14:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 14:59:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 14:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 14:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 14:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 14:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 14:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":112623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 14:59:50] local.INFO: GPS data processed {"connection_id":112623,"processed":1,"errors":0,"total":1} 
[2026-06-23 14:59:50] local.INFO: Acknowledgment sent {"connection_id":112623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:00:13] local.INFO: TCP Data received {"connection_id":111073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:00:13] local.INFO: Processing buffer {"connection_id":111073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:00:13] local.INFO: IMEI packet received {"connection_id":111073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":111073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:00:18] local.INFO: TCP Data received {"connection_id":111073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:00:18] local.INFO: Processing buffer {"connection_id":111073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:00:18] local.INFO: IMEI packet received {"connection_id":111073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":111073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:00:19] local.INFO: TCP Data received {"connection_id":111073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:00:19] local.INFO: Processing buffer {"connection_id":111073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:00:19] local.INFO: Packet analysis {"connection_id":111073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:00:19] local.INFO: Extracted packet for processing {"connection_id":111073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 15:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:00:19] 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-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:00:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":111073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:00:19] local.INFO: GPS data processed {"connection_id":111073,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:00:19] local.INFO: Acknowledgment sent {"connection_id":111073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:00:24] local.INFO: TCP Data received {"connection_id":112624,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:00:24] local.INFO: Processing buffer {"connection_id":112624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:00:24] local.INFO: IMEI packet received {"connection_id":112624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":112624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:00:29] local.INFO: TCP Data received {"connection_id":112624,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:00:29] local.INFO: Processing buffer {"connection_id":112624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:00:29] local.INFO: IMEI packet received {"connection_id":112624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":112624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:00:30] local.INFO: TCP Data received {"connection_id":112624,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:00:30] local.INFO: Processing buffer {"connection_id":112624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:00:30] local.INFO: Packet analysis {"connection_id":112624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:00:30] local.INFO: Extracted packet for processing {"connection_id":112624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 15:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:00:30] 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-06-23 15:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 15:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":112624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:00:30] local.INFO: GPS data processed {"connection_id":112624,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:00:30] local.INFO: Acknowledgment sent {"connection_id":112624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:00:32] local.INFO: TCP Data received {"connection_id":111072,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:00:32] local.INFO: Processing buffer {"connection_id":111072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:00:32] local.INFO: IMEI packet received {"connection_id":111072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":111072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:00:50] local.INFO: TCP Data received {"connection_id":111073,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:00:50] local.INFO: Processing buffer {"connection_id":111073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:00:50] local.INFO: Packet analysis {"connection_id":111073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:00:50] local.INFO: Extracted packet for processing {"connection_id":111073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 15:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:00:50] 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-06-23 15:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:00:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":111073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:00:50] local.INFO: GPS data processed {"connection_id":111073,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:00:50] local.INFO: Acknowledgment sent {"connection_id":111073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:01:02] local.INFO: TCP Data received {"connection_id":112624,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:01:02] local.INFO: Processing buffer {"connection_id":112624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:01:02] local.INFO: Packet analysis {"connection_id":112624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:01:02] local.INFO: Extracted packet for processing {"connection_id":112624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 15:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:01:02] 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-06-23 15:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 15:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:01:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":112624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:01:02] local.INFO: GPS data processed {"connection_id":112624,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:01:02] local.INFO: Acknowledgment sent {"connection_id":112624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:01:12] local.INFO: TCP Data received {"connection_id":110891,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:01:12] local.INFO: Processing buffer {"connection_id":110891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:01:12] local.INFO: IMEI packet received {"connection_id":110891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":110891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:01:13] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:01:13] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:01:13] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:01:18] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:01:18] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:01:18] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:01:19] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:01:19] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:01:19] local.INFO: Packet analysis {"connection_id":111074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:01:19] local.INFO: Extracted packet for processing {"connection_id":111074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 15:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:01:19] 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-06-23 15:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:01:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":111074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:01:19] local.INFO: GPS data processed {"connection_id":111074,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:01:19] local.INFO: Acknowledgment sent {"connection_id":111074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:01:25] local.INFO: TCP Data received {"connection_id":111690,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:01:25] local.INFO: Processing buffer {"connection_id":111690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:01:25] local.INFO: IMEI packet received {"connection_id":111690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":111690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:01:29] local.INFO: TCP Data received {"connection_id":111690,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:01:29] local.INFO: Processing buffer {"connection_id":111690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:01:29] local.INFO: IMEI packet received {"connection_id":111690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":111690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:01:30] local.INFO: TCP Data received {"connection_id":111690,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:01:30] local.INFO: Processing buffer {"connection_id":111690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:01:30] local.INFO: Packet analysis {"connection_id":111690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:01:30] local.INFO: Extracted packet for processing {"connection_id":111690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 15:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:01:30] 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-06-23 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 15:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":111690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:01:30] local.INFO: GPS data processed {"connection_id":111690,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:01:30] local.INFO: Acknowledgment sent {"connection_id":111690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:01:50] local.INFO: TCP Data received {"connection_id":111074,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:01:50] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3cd6200012d196ec0071fed90003e00ee2b..."} 
[2026-06-23 15:01:50] local.INFO: Packet analysis {"connection_id":111074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:01:50] local.INFO: Extracted packet for processing {"connection_id":111074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3cd"} 
[2026-06-23 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":43,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782206784000,"timestamp_ms":1782206784000,"timestamp_seconds":1782206784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3cd6200"} 
[2026-06-23 15:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:01:50] 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-06-23 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244859648001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244859648001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":111074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:01:50] local.INFO: GPS data processed {"connection_id":111074,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:01:50] local.INFO: Acknowledgment sent {"connection_id":111074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:02:02] local.INFO: TCP Data received {"connection_id":111690,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:02:02] local.INFO: Processing buffer {"connection_id":111690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:02:02] local.INFO: Packet analysis {"connection_id":111690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:02:02] local.INFO: Extracted packet for processing {"connection_id":111690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:02:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 15:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:02:02] 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-06-23 15:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 15:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:02:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:02:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":111690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:02:02] local.INFO: GPS data processed {"connection_id":111690,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:02:02] local.INFO: Acknowledgment sent {"connection_id":111690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:02:18] local.INFO: TCP Data received {"connection_id":111075,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:02:18] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:02:18] local.INFO: IMEI packet received {"connection_id":111075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":111075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:02:23] local.INFO: TCP Data received {"connection_id":111075,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:02:23] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:02:23] local.INFO: IMEI packet received {"connection_id":111075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:02:23] local.INFO: TCP Data received {"connection_id":112626,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:02:23] local.INFO: Processing buffer {"connection_id":112626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:02:23] local.INFO: IMEI packet received {"connection_id":112626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":112626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:02:24] local.INFO: TCP Data received {"connection_id":111075,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:02:24] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:02:24] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:02:24] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:02:24] 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-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:02:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:02:24] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:02:24] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:02:29] local.INFO: TCP Data received {"connection_id":111075,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:02:29] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:02:29] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:02:29] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02: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-06-23 15:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:02:29] 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-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:02:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:02:29] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:02:29] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:02:29] local.INFO: TCP Data received {"connection_id":112626,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:02:29] local.INFO: Processing buffer {"connection_id":112626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:02:29] local.INFO: IMEI packet received {"connection_id":112626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":112626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:02:30] local.INFO: TCP Data received {"connection_id":112626,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:02:30] local.INFO: Processing buffer {"connection_id":112626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:02:30] local.INFO: Packet analysis {"connection_id":112626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:02:30] local.INFO: Extracted packet for processing {"connection_id":112626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:02:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 15:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:02:30] 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-06-23 15:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 15:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":112626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:02:30] local.INFO: GPS data processed {"connection_id":112626,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:02:30] local.INFO: Acknowledgment sent {"connection_id":112626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:03:02] local.INFO: TCP Data received {"connection_id":112626,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:03:02] local.INFO: Processing buffer {"connection_id":112626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ce6ba0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:03:02] local.INFO: Packet analysis {"connection_id":112626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:03:02] local.INFO: Extracted packet for processing {"connection_id":112626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ce"} 
[2026-06-23 15:03:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244877056001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782206852000,"timestamp_ms":1782206852000,"timestamp_seconds":1782206852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ce6ba0"} 
[2026-06-23 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-06-23 15:03:02] 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-06-23 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 15:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244877056001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244877056001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244877056001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":112626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:03:02] local.INFO: GPS data processed {"connection_id":112626,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:03:02] local.INFO: Acknowledgment sent {"connection_id":112626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:03:13] local.INFO: TCP Data received {"connection_id":112627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:03:13] local.INFO: Processing buffer {"connection_id":112627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:03:13] local.INFO: IMEI packet received {"connection_id":112627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":112627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:03:18] local.INFO: TCP Data received {"connection_id":112627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:03:18] local.INFO: Processing buffer {"connection_id":112627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:03:18] local.INFO: IMEI packet received {"connection_id":112627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":112627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:03:19] local.INFO: TCP Data received {"connection_id":112627,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:03:19] local.INFO: Processing buffer {"connection_id":112627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:03:19] local.INFO: Packet analysis {"connection_id":112627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:03:19] local.INFO: Extracted packet for processing {"connection_id":112627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:03:19] 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-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:03:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":112627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:03:19] local.INFO: GPS data processed {"connection_id":112627,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:03:19] local.INFO: Acknowledgment sent {"connection_id":112627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:03:23] local.INFO: TCP Data received {"connection_id":111076,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:03:23] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:03:23] local.INFO: IMEI packet received {"connection_id":111076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":111076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:03:28] local.INFO: TCP Data received {"connection_id":111076,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:03:28] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:03:28] local.INFO: IMEI packet received {"connection_id":111076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":111076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:03:30] local.INFO: TCP Data received {"connection_id":111076,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:03:30] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:03:30] local.INFO: Packet analysis {"connection_id":111076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:03:30] local.INFO: Extracted packet for processing {"connection_id":111076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:03:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15: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-06-23 15: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-06-23 15:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":111076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:03:30] local.INFO: GPS data processed {"connection_id":111076,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:03:30] local.INFO: Acknowledgment sent {"connection_id":111076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:03:50] local.INFO: TCP Data received {"connection_id":112627,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:03:50] local.INFO: Processing buffer {"connection_id":112627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:03:50] local.INFO: Packet analysis {"connection_id":112627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:03:50] local.INFO: Extracted packet for processing {"connection_id":112627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:03:50] 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-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:03:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":112627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:03:50] local.INFO: GPS data processed {"connection_id":112627,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:03:50] local.INFO: Acknowledgment sent {"connection_id":112627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:04:01] local.INFO: TCP Data received {"connection_id":111076,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:04:01] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:04:01] local.INFO: Packet analysis {"connection_id":111076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:04:01] local.INFO: Extracted packet for processing {"connection_id":111076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:04:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:04: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-06-23 15: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-06-23 15:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:04:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:04:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":111076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:04:01] local.INFO: GPS data processed {"connection_id":111076,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:04:01] local.INFO: Acknowledgment sent {"connection_id":111076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:04:13] local.INFO: TCP Data received {"connection_id":111077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:04:13] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:04:13] local.INFO: IMEI packet received {"connection_id":111077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":111077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:04:18] local.INFO: TCP Data received {"connection_id":111077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:04:18] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:04:18] local.INFO: IMEI packet received {"connection_id":111077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":111077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:04:19] local.INFO: TCP Data received {"connection_id":111077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:04:19] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:04:19] local.INFO: Packet analysis {"connection_id":111077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:04:19] local.INFO: Extracted packet for processing {"connection_id":111077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:04:19] 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-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:04:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":111077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:04:19] local.INFO: GPS data processed {"connection_id":111077,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:04:19] local.INFO: Acknowledgment sent {"connection_id":111077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:04:24] local.INFO: TCP Data received {"connection_id":112628,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:04:24] local.INFO: Processing buffer {"connection_id":112628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:04:24] local.INFO: IMEI packet received {"connection_id":112628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":112628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:04:29] local.INFO: TCP Data received {"connection_id":112628,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:04:29] local.INFO: Processing buffer {"connection_id":112628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:04:29] local.INFO: IMEI packet received {"connection_id":112628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":112628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:04:30] local.INFO: TCP Data received {"connection_id":112628,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:04:30] local.INFO: Processing buffer {"connection_id":112628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:04:30] local.INFO: Packet analysis {"connection_id":112628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:04:30] local.INFO: Extracted packet for processing {"connection_id":112628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:04: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-06-23 15:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:04:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":112628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:04:30] local.INFO: GPS data processed {"connection_id":112628,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:04:30] local.INFO: Acknowledgment sent {"connection_id":112628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:04:50] local.INFO: TCP Data received {"connection_id":111077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:04:50] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:04:50] local.INFO: Packet analysis {"connection_id":111077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:04:50] local.INFO: Extracted packet for processing {"connection_id":111077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:04:50] 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-06-23 15:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:04:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":111077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:04:50] local.INFO: GPS data processed {"connection_id":111077,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:04:50] local.INFO: Acknowledgment sent {"connection_id":111077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:05:02] local.INFO: TCP Data received {"connection_id":112628,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:05:02] local.INFO: Processing buffer {"connection_id":112628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:05:02] local.INFO: Packet analysis {"connection_id":112628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:05:02] local.INFO: Extracted packet for processing {"connection_id":112628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:05: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-06-23 15: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-06-23 15:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":112628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:05:02] local.INFO: GPS data processed {"connection_id":112628,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:05:02] local.INFO: Acknowledgment sent {"connection_id":112628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:05:14] local.INFO: TCP Data received {"connection_id":112629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:05:14] local.INFO: Processing buffer {"connection_id":112629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:05:14] local.INFO: IMEI packet received {"connection_id":112629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":112629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:05:18] local.INFO: TCP Data received {"connection_id":112629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:05:18] local.INFO: Processing buffer {"connection_id":112629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:05:18] local.INFO: IMEI packet received {"connection_id":112629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":112629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:05:19] local.INFO: TCP Data received {"connection_id":112629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:05:19] local.INFO: Processing buffer {"connection_id":112629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:05:19] local.INFO: Packet analysis {"connection_id":112629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:05:19] local.INFO: Extracted packet for processing {"connection_id":112629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:05:19] 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-06-23 15:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:05:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":112629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:05:19] local.INFO: GPS data processed {"connection_id":112629,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:05:19] local.INFO: Acknowledgment sent {"connection_id":112629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:05:24] local.INFO: TCP Data received {"connection_id":110893,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:05:24] local.INFO: Processing buffer {"connection_id":110893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:05:24] local.INFO: IMEI packet received {"connection_id":110893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":110893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:05:29] local.INFO: TCP Data received {"connection_id":110893,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:05:29] local.INFO: Processing buffer {"connection_id":110893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:05:29] local.INFO: IMEI packet received {"connection_id":110893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":110893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:05:30] local.INFO: TCP Data received {"connection_id":110893,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:05:30] local.INFO: Processing buffer {"connection_id":110893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:05:30] local.INFO: Packet analysis {"connection_id":110893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:05:30] local.INFO: Extracted packet for processing {"connection_id":110893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15: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-06-23 15:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:05:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":110893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:05:30] local.INFO: GPS data processed {"connection_id":110893,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:05:30] local.INFO: Acknowledgment sent {"connection_id":110893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:05:50] local.INFO: TCP Data received {"connection_id":112629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:05:50] local.INFO: Processing buffer {"connection_id":112629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:05:50] local.INFO: Packet analysis {"connection_id":112629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:05:50] local.INFO: Extracted packet for processing {"connection_id":112629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:05:50] 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-06-23 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:05:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":112629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:05:51] local.INFO: GPS data processed {"connection_id":112629,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:05:51] local.INFO: Acknowledgment sent {"connection_id":112629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:06:02] local.INFO: TCP Data received {"connection_id":110893,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:06:02] local.INFO: Processing buffer {"connection_id":110893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:06:02] local.INFO: Packet analysis {"connection_id":110893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:06:02] local.INFO: Extracted packet for processing {"connection_id":110893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15: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-06-23 15: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-06-23 15:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":110893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:06:02] local.INFO: GPS data processed {"connection_id":110893,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:06:02] local.INFO: Acknowledgment sent {"connection_id":110893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:06:13] local.INFO: TCP Data received {"connection_id":110894,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:06:13] local.INFO: Processing buffer {"connection_id":110894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:06:13] local.INFO: IMEI packet received {"connection_id":110894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":110894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:06:18] local.INFO: TCP Data received {"connection_id":110894,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:06:18] local.INFO: Processing buffer {"connection_id":110894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:06:18] local.INFO: IMEI packet received {"connection_id":110894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":110894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:06:19] local.INFO: TCP Data received {"connection_id":110894,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:06:19] local.INFO: Processing buffer {"connection_id":110894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:06:19] local.INFO: Packet analysis {"connection_id":110894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:06:19] local.INFO: Extracted packet for processing {"connection_id":110894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:06:19] 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-06-23 15:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:06: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-06-23 15:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:06:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":110894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:06:19] local.INFO: GPS data processed {"connection_id":110894,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:06:19] local.INFO: Acknowledgment sent {"connection_id":110894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:06:23] local.INFO: TCP Data received {"connection_id":112630,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:06:23] local.INFO: Processing buffer {"connection_id":112630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:06:23] local.INFO: IMEI packet received {"connection_id":112630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":112630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:06:27] local.INFO: TCP Data received {"connection_id":111692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:06:27] local.INFO: Processing buffer {"connection_id":111692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:06:27] local.INFO: IMEI packet received {"connection_id":111692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":111692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:06:29] local.INFO: TCP Data received {"connection_id":112630,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:06:29] local.INFO: Processing buffer {"connection_id":112630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:06:29] local.INFO: IMEI packet received {"connection_id":112630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":112630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:06:30] local.INFO: TCP Data received {"connection_id":112630,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:06:30] local.INFO: Processing buffer {"connection_id":112630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:06:30] local.INFO: Packet analysis {"connection_id":112630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:06:30] local.INFO: Extracted packet for processing {"connection_id":112630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15: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-06-23 15:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":112630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:06:30] local.INFO: GPS data processed {"connection_id":112630,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:06:30] local.INFO: Acknowledgment sent {"connection_id":112630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:06:50] local.INFO: TCP Data received {"connection_id":110894,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:06:50] local.INFO: Processing buffer {"connection_id":110894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d1f9c8012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:06:50] local.INFO: Packet analysis {"connection_id":110894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:06:50] local.INFO: Extracted packet for processing {"connection_id":110894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d1"} 
[2026-06-23 15:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244936704001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207085000,"timestamp_ms":1782207085000,"timestamp_seconds":1782207085,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d1f9c8"} 
[2026-06-23 15:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:06:50] 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-06-23 15:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244936704001,"66":2177,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244936704001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:06:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244936704001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":110894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:06:50] local.INFO: GPS data processed {"connection_id":110894,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:06:50] local.INFO: Acknowledgment sent {"connection_id":110894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:07:02] local.INFO: TCP Data received {"connection_id":112630,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:07:02] local.INFO: Processing buffer {"connection_id":112630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:07:02] local.INFO: Packet analysis {"connection_id":112630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:07:02] local.INFO: Extracted packet for processing {"connection_id":112630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:07:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 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-06-23 15:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15: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-06-23 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-06-23 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-06-23 15:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":112630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:07:02] local.INFO: GPS data processed {"connection_id":112630,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:07:02] local.INFO: Acknowledgment sent {"connection_id":112630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:07:07] local.INFO: TCP Data received {"connection_id":111693,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:07:07] local.INFO: Processing buffer {"connection_id":111693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:07:07] local.INFO: IMEI packet received {"connection_id":111693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":111693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:07:18] local.INFO: TCP Data received {"connection_id":110895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:07:18] local.INFO: Processing buffer {"connection_id":110895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:07:18] local.INFO: IMEI packet received {"connection_id":110895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":110895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:07:23] local.INFO: TCP Data received {"connection_id":112631,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:07:23] local.INFO: Processing buffer {"connection_id":112631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:07:23] local.INFO: IMEI packet received {"connection_id":112631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":112631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:07:23] local.INFO: TCP Data received {"connection_id":110895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:07:23] local.INFO: Processing buffer {"connection_id":110895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:07:23] local.INFO: IMEI packet received {"connection_id":110895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":110895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:07:24] local.INFO: TCP Data received {"connection_id":110895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:07:24] local.INFO: Processing buffer {"connection_id":110895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:07:24] local.INFO: Packet analysis {"connection_id":110895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:07:24] local.INFO: Extracted packet for processing {"connection_id":110895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:07: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-06-23 15:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:07: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-06-23 15:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:07:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":110895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:07:24] local.INFO: GPS data processed {"connection_id":110895,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:07:24] local.INFO: Acknowledgment sent {"connection_id":110895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:07:29] local.INFO: TCP Data received {"connection_id":110895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:07:29] local.INFO: Processing buffer {"connection_id":110895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:07:29] local.INFO: Packet analysis {"connection_id":110895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:07:29] local.INFO: Extracted packet for processing {"connection_id":110895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07: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-06-23 15:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:07:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":110895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:07:29] local.INFO: GPS data processed {"connection_id":110895,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:07:29] local.INFO: Acknowledgment sent {"connection_id":110895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:07:29] local.INFO: TCP Data received {"connection_id":112631,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:07:29] local.INFO: Processing buffer {"connection_id":112631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:07:29] local.INFO: IMEI packet received {"connection_id":112631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":112631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:07:30] local.INFO: TCP Data received {"connection_id":112631,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:07:30] local.INFO: Processing buffer {"connection_id":112631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:07:30] local.INFO: Packet analysis {"connection_id":112631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:07:30] local.INFO: Extracted packet for processing {"connection_id":112631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 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-06-23 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:07: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-06-23 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-06-23 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-06-23 15:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":112631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:07:30] local.INFO: GPS data processed {"connection_id":112631,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:07:30] local.INFO: Acknowledgment sent {"connection_id":112631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:08:02] local.INFO: TCP Data received {"connection_id":112631,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:08:02] local.INFO: Processing buffer {"connection_id":112631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d30368012cb29b8007823df8004a00cf24..."} 
[2026-06-23 15:08:02] local.INFO: Packet analysis {"connection_id":112631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:08:02] local.INFO: Extracted packet for processing {"connection_id":112631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d3"} 
[2026-06-23 15:08:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456244954112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207153000,"timestamp_ms":1782207153000,"timestamp_seconds":1782207153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d30368"} 
[2026-06-23 15:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:08: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-06-23 15: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-06-23 15:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456244954112001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456244954112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456244954112001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":112631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:08:02] local.INFO: GPS data processed {"connection_id":112631,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:08:02] local.INFO: Acknowledgment sent {"connection_id":112631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:08:13] local.INFO: TCP Data received {"connection_id":111079,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:08:13] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:08:13] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:08:18] local.INFO: TCP Data received {"connection_id":111079,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:08:18] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:08:18] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:08:19] local.INFO: TCP Data received {"connection_id":111079,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:08:19] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:08:19] local.INFO: Packet analysis {"connection_id":111079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:08:19] local.INFO: Extracted packet for processing {"connection_id":111079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:08:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":111079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:08:19] local.INFO: GPS data processed {"connection_id":111079,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:08:19] local.INFO: Acknowledgment sent {"connection_id":111079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:08:29] local.INFO: TCP Data received {"connection_id":111694,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:08:29] local.INFO: Processing buffer {"connection_id":111694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:08:29] local.INFO: IMEI packet received {"connection_id":111694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":111694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:08:30] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:30] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:30] local.INFO: IMEI packet received {"connection_id":111695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":111695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:08:31] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:31] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:31] local.INFO: IMEI packet received {"connection_id":111695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":111695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:08:34] local.INFO: TCP Data received {"connection_id":111694,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:08:34] local.INFO: Processing buffer {"connection_id":111694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:08:34] local.INFO: IMEI packet received {"connection_id":111694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":111694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:08:36] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:36] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:08:36] local.INFO: IMEI packet received {"connection_id":111695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":111695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:08:36] local.INFO: TCP Data received {"connection_id":111694,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:08:36] local.INFO: Processing buffer {"connection_id":111694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:08:36] local.INFO: Packet analysis {"connection_id":111694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:08:36] local.INFO: Extracted packet for processing {"connection_id":111694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":111694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:08:36] local.INFO: GPS data processed {"connection_id":111694,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:08:36] local.INFO: Acknowledgment sent {"connection_id":111694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:08:37] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 15:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 15:08:37] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 15:08:37] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 15:08:37] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 15:08: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-06-23 15: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-06-23 15:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08: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-06-23 15:08:37] 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-06-23 15:08:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 15:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 15:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 15:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 15:08:37] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 15:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 15:08:37] local.ERROR: GPS data processing failed {"connection_id":111695,"error":"No valid data to process"} 
[2026-06-23 15:08:37] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 15:08:39] local.INFO: TCP Data received {"connection_id":111694,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:08:39] local.INFO: Processing buffer {"connection_id":111694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:08:39] local.INFO: Packet analysis {"connection_id":111694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:08:39] local.INFO: Extracted packet for processing {"connection_id":111694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:08:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":111694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:08:39] local.INFO: GPS data processed {"connection_id":111694,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:08:39] local.INFO: Acknowledgment sent {"connection_id":111694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:08:50] local.INFO: TCP Data received {"connection_id":111079,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:08:50] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:08:50] local.INFO: Packet analysis {"connection_id":111079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:08:50] local.INFO: Extracted packet for processing {"connection_id":111079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:08:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":111079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:08:50] local.INFO: GPS data processed {"connection_id":111079,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:08:50] local.INFO: Acknowledgment sent {"connection_id":111079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:09:10] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 15:09:10] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 15:09:10] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 15:09:10] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 15:09: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-06-23 15:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09: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-06-23 15:09:10] 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-06-23 15:09:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 15:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 15:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 15:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 15:09:10] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 15:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 15:09:10] local.ERROR: GPS data processing failed {"connection_id":111695,"error":"No valid data to process"} 
[2026-06-23 15:09:10] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 15:09:14] local.INFO: TCP Data received {"connection_id":112633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:09:14] local.INFO: Processing buffer {"connection_id":112633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:09:14] local.INFO: IMEI packet received {"connection_id":112633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":112633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:09:18] local.INFO: TCP Data received {"connection_id":112633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:09:18] local.INFO: Processing buffer {"connection_id":112633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:09:18] local.INFO: IMEI packet received {"connection_id":112633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":112633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:09:19] local.INFO: TCP Data received {"connection_id":112633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:09:19] local.INFO: Processing buffer {"connection_id":112633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:09:19] local.INFO: Packet analysis {"connection_id":112633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:09:19] local.INFO: Extracted packet for processing {"connection_id":112633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:09:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":112633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:09:19] local.INFO: GPS data processed {"connection_id":112633,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:09:19] local.INFO: Acknowledgment sent {"connection_id":112633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:09:23] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:09:23] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:09:23] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:09:28] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:09:28] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:09:28] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:09:30] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:09:30] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:09:30] local.INFO: Packet analysis {"connection_id":111080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:09:30] local.INFO: Extracted packet for processing {"connection_id":111080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:09:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":111080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:09:30] local.INFO: GPS data processed {"connection_id":111080,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:09:30] local.INFO: Acknowledgment sent {"connection_id":111080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:09:43] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d91a000100000000000000000000000000..."} 
[2026-06-23 15:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d91a000100000000000000000000000000..."} 
[2026-06-23 15:09:43] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d91a000100000000000000000000000000..."} 
[2026-06-23 15:09:43] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:09:43] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:09: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-06-23 15:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:43] 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-06-23 15:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782207552000,"timestamp_ms":1782207552000,"timestamp_seconds":1782207552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d91a00"} 
[2026-06-23 15:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:09:43] 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-06-23 15:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 15:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2091,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:09:43] local.INFO: GPS data processed {"connection_id":111695,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:09:43] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:09:50] local.INFO: TCP Data received {"connection_id":112633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:09:50] local.INFO: Processing buffer {"connection_id":112633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:09:50] local.INFO: Packet analysis {"connection_id":112633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:09:50] local.INFO: Extracted packet for processing {"connection_id":112633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:09:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":112633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:09:50] local.INFO: GPS data processed {"connection_id":112633,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:09:50] local.INFO: Acknowledgment sent {"connection_id":112633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:10:02] local.INFO: TCP Data received {"connection_id":111080,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:10:02] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:10:02] local.INFO: Packet analysis {"connection_id":111080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:10:02] local.INFO: Extracted packet for processing {"connection_id":111080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:10:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":111080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:10:02] local.INFO: GPS data processed {"connection_id":111080,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:10:02] local.INFO: Acknowledgment sent {"connection_id":111080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:10:13] local.INFO: TCP Data received {"connection_id":110898,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:10:13] local.INFO: Processing buffer {"connection_id":110898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:10:13] local.INFO: IMEI packet received {"connection_id":110898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":110898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:10:14] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d96c080100000000000000000000000000..."} 
[2026-06-23 15:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d96c080100000000000000000000000000..."} 
[2026-06-23 15:10:14] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d96c080100000000000000000000000000..."} 
[2026-06-23 15:10:14] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:10:14] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:10: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-06-23 15:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:14] 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-06-23 15:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782207573000,"timestamp_ms":1782207573000,"timestamp_seconds":1782207573,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d96c08"} 
[2026-06-23 15:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 15:10:14] 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-06-23 15:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:10:14] local.INFO: GPS data processed {"connection_id":111695,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:10:14] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:10:18] local.INFO: TCP Data received {"connection_id":110898,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:10:18] local.INFO: Processing buffer {"connection_id":110898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:10:18] local.INFO: IMEI packet received {"connection_id":110898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":110898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:10:19] local.INFO: TCP Data received {"connection_id":110898,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:10:19] local.INFO: Processing buffer {"connection_id":110898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:10:19] local.INFO: Packet analysis {"connection_id":110898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:10:19] local.INFO: Extracted packet for processing {"connection_id":110898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:10:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":110898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:10:19] local.INFO: GPS data processed {"connection_id":110898,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:10:19] local.INFO: Acknowledgment sent {"connection_id":110898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:10:23] local.INFO: TCP Data received {"connection_id":110899,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:10:23] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:10:23] local.INFO: IMEI packet received {"connection_id":110899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":110899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:10:29] local.INFO: TCP Data received {"connection_id":110899,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:10:29] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:10:29] local.INFO: IMEI packet received {"connection_id":110899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":110899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:10:30] local.INFO: TCP Data received {"connection_id":110899,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:10:30] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:10:30] local.INFO: Packet analysis {"connection_id":110899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:10:30] local.INFO: Extracted packet for processing {"connection_id":110899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":110899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:10:30] local.INFO: GPS data processed {"connection_id":110899,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:10:30] local.INFO: Acknowledgment sent {"connection_id":110899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:10:46] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d9be100100000000000000000000000000..."} 
[2026-06-23 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d9be100100000000000000000000000000..."} 
[2026-06-23 15:10:46] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d9be100100000000000000000000000000..."} 
[2026-06-23 15:10:46] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:10:46] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:10: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-06-23 15:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 15:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782207594000,"timestamp_ms":1782207594000,"timestamp_seconds":1782207594,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d9be10"} 
[2026-06-23 15:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 15:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:10:46] local.INFO: GPS data processed {"connection_id":111695,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:10:46] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:10:50] local.INFO: TCP Data received {"connection_id":110898,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:10:50] local.INFO: Processing buffer {"connection_id":110898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:10:50] local.INFO: Packet analysis {"connection_id":110898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:10:50] local.INFO: Extracted packet for processing {"connection_id":110898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:10:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":110898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:10:50] local.INFO: GPS data processed {"connection_id":110898,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:10:50] local.INFO: Acknowledgment sent {"connection_id":110898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:11:02] local.INFO: TCP Data received {"connection_id":110899,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:11:02] local.INFO: Processing buffer {"connection_id":110899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:11:02] local.INFO: Packet analysis {"connection_id":110899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:11:02] local.INFO: Extracted packet for processing {"connection_id":110899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 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-06-23 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":110899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:11:02] local.INFO: GPS data processed {"connection_id":110899,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:11:02] local.INFO: Acknowledgment sent {"connection_id":110899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:11:13] local.INFO: TCP Data received {"connection_id":110900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:11:13] local.INFO: Processing buffer {"connection_id":110900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:11:13] local.INFO: IMEI packet received {"connection_id":110900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":110900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:11:18] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d9d198012d7c7c0005ec3768001f010b06..."} 
[2026-06-23 15:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d9d198012d7c7c0005ec3768001f010b06..."} 
[2026-06-23 15:11:18] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d9d198012d7c7c0005ec3768001f010b06..."} 
[2026-06-23 15:11:18] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:11:18] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d9"} 
[2026-06-23 15:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99366760,"longitude_deg":76.3132928,"latitude_deg":9.936676,"altitude":31,"angle":267,"satellites":6,"speed":35,"hex_longitude":"2d7c7c00","hex_latitude":"05ec3768","is_valid_coordinates":true} 
[2026-06-23 15:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96336863773589504,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 15:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782207599000,"timestamp_ms":1782207599000,"timestamp_seconds":1782207599,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d9d198"} 
[2026-06-23 15:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 15:11:18] 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-06-23 15:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13243,"198":206,"87":13824,"24":35,"16":96336863773589504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-06-23 15:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-23 15:11:18] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 15:11:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96336863773589504,"km_value":96336863773589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:11:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null}} 
[2026-06-23 15:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:11:18] local.INFO: GPS data processed {"connection_id":111695,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:11:18] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:11:18] local.INFO: TCP Data received {"connection_id":110900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:11:18] local.INFO: Processing buffer {"connection_id":110900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:11:18] local.INFO: IMEI packet received {"connection_id":110900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":110900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:11:19] local.INFO: TCP Data received {"connection_id":110900,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:11:19] local.INFO: Processing buffer {"connection_id":110900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:11:19] local.INFO: Packet analysis {"connection_id":110900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:11:19] local.INFO: Extracted packet for processing {"connection_id":110900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:11:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":110900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:11:19] local.INFO: GPS data processed {"connection_id":110900,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:11:19] local.INFO: Acknowledgment sent {"connection_id":110900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:11:23] local.INFO: TCP Data received {"connection_id":111696,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:11:23] local.INFO: Processing buffer {"connection_id":111696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:11:23] local.INFO: IMEI packet received {"connection_id":111696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":111696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:11:29] local.INFO: TCP Data received {"connection_id":111696,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:11:29] local.INFO: Processing buffer {"connection_id":111696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:11:29] local.INFO: IMEI packet received {"connection_id":111696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:11:30] local.INFO: TCP Data received {"connection_id":111696,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:11:30] local.INFO: Processing buffer {"connection_id":111696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:11:30] local.INFO: Packet analysis {"connection_id":111696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:11:30] local.INFO: Extracted packet for processing {"connection_id":111696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:11:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:11:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:11:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":111696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:11:30] local.INFO: GPS data processed {"connection_id":111696,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:11:30] local.INFO: Acknowledgment sent {"connection_id":111696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:11:49] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3da0848012d7c580005ec3650001e010c0a..."} 
[2026-06-23 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3da0848012d7c580005ec3650001e010c0a..."} 
[2026-06-23 15:11:49] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3da0848012d7c580005ec3650001e010c0a..."} 
[2026-06-23 15:11:49] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:11:49] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:11:49] local.INFO: GPS Element Parsed {"raw_longitude":763123712,"raw_latitude":99366480,"longitude_deg":76.3123712,"latitude_deg":9.936648,"altitude":30,"angle":268,"satellites":10,"speed":23,"hex_longitude":"2d7c5800","hex_latitude":"05ec3650","is_valid_coordinates":true} 
[2026-06-23 15:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245145344001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96337301860253696,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583253075968,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:49] 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-06-23 15:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782207613000,"timestamp_ms":1782207613000,"timestamp_seconds":1782207613,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3da0848"} 
[2026-06-23 15:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:11:49] 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-06-23 15:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 15:11:49] 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-06-23 15:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245145344001,"66":13189,"198":206,"87":13824,"24":23,"16":96337301860253696,"45":8970044583253075968},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 15:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245145344001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:11:49] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 15:11:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96337301860253696,"km_value":96337301860253.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583253075968,"description":"Unknown IO ID 45"} 
[2026-06-23 15:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245145344001,"power":13189,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8970044583253075968}} 
[2026-06-23 15:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:11:50] local.INFO: GPS data processed {"connection_id":111695,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:11:50] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:11:50] local.INFO: TCP Data received {"connection_id":110900,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:11:50] local.INFO: Processing buffer {"connection_id":110900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d69190012d196ec0071fed90003e00ee29..."} 
[2026-06-23 15:11:50] local.INFO: Packet analysis {"connection_id":110900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:11:50] local.INFO: Extracted packet for processing {"connection_id":110900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d6"} 
[2026-06-23 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":41,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245013760001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207386000,"timestamp_ms":1782207386000,"timestamp_seconds":1782207386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d69190"} 
[2026-06-23 15:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 15:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245013760001,"66":2155,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245013760001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:11:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245013760001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":110900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:11:50] local.INFO: GPS data processed {"connection_id":110900,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:11:50] local.INFO: Acknowledgment sent {"connection_id":110900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:02] local.INFO: TCP Data received {"connection_id":111696,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:02] local.INFO: Processing buffer {"connection_id":111696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:02] local.INFO: Packet analysis {"connection_id":111696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:12:02] local.INFO: Extracted packet for processing {"connection_id":111696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:12:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":111696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:02] local.INFO: GPS data processed {"connection_id":111696,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:02] local.INFO: Acknowledgment sent {"connection_id":111696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:18] local.INFO: TCP Data received {"connection_id":111081,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:12:18] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:12:18] local.INFO: IMEI packet received {"connection_id":111081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":111081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:12:21] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3da46c8012d7c344005ec3490001c010c0e..."} 
[2026-06-23 15:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3da46c8012d7c344005ec3490001c010c0e..."} 
[2026-06-23 15:12:21] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3da46c8012d7c344005ec3490001c010c0e..."} 
[2026-06-23 15:12:21] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:12:21] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:12:21] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":99366032,"longitude_deg":76.311456,"latitude_deg":9.9366032,"altitude":28,"angle":268,"satellites":14,"speed":31,"hex_longitude":"2d7c3440","hex_latitude":"05ec3490","is_valid_coordinates":true} 
[2026-06-23 15:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245148928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96337739946917888,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959911484091420672,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:21] 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-06-23 15:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782207629000,"timestamp_ms":1782207629000,"timestamp_seconds":1782207629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3da46c8"} 
[2026-06-23 15:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:21] 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-06-23 15:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245148928001,"66":13135,"198":206,"87":13824,"24":31,"16":96337739946917888,"45":8959911484091420672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 15:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245148928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:21] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 15:12:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96337739946917888,"km_value":96337739946917.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959911484091420672,"description":"Unknown IO ID 45"} 
[2026-06-23 15:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245148928001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8959911484091420672}} 
[2026-06-23 15:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:21] local.INFO: GPS data processed {"connection_id":111695,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:21] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:22] local.INFO: TCP Data received {"connection_id":112635,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:12:22] local.INFO: Processing buffer {"connection_id":112635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:12:22] local.INFO: IMEI packet received {"connection_id":112635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":112635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:12:24] local.INFO: TCP Data received {"connection_id":111081,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:12:24] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:12:24] local.INFO: IMEI packet received {"connection_id":111081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":111081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:12:25] local.INFO: TCP Data received {"connection_id":111081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:12:25] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:12:25] local.INFO: Packet analysis {"connection_id":111081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:12:25] local.INFO: Extracted packet for processing {"connection_id":111081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:12:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":111081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:25] local.INFO: GPS data processed {"connection_id":111081,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:25] local.INFO: Acknowledgment sent {"connection_id":111081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:29] local.INFO: TCP Data received {"connection_id":111081,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:12:29] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:12:29] local.INFO: Packet analysis {"connection_id":111081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:12:29] local.INFO: Extracted packet for processing {"connection_id":111081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12: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-06-23 15:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":111081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:29] local.INFO: GPS data processed {"connection_id":111081,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:29] local.INFO: Acknowledgment sent {"connection_id":111081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:29] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:12:29] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:12:29] local.INFO: IMEI packet received {"connection_id":111082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":111082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:12:34] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:12:34] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:12:34] local.INFO: IMEI packet received {"connection_id":111082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":111082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:12:36] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:36] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:36] local.INFO: Packet analysis {"connection_id":111082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:12:36] local.INFO: Extracted packet for processing {"connection_id":111082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:12:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":111082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:36] local.INFO: GPS data processed {"connection_id":111082,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:36] local.INFO: Acknowledgment sent {"connection_id":111082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:39] local.INFO: TCP Data received {"connection_id":111082,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:39] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3d79b30012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:12:39] local.INFO: Packet analysis {"connection_id":111082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:12:39] local.INFO: Extracted packet for processing {"connection_id":111082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3d7"} 
[2026-06-23 15:12:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245031168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782207454000,"timestamp_ms":1782207454000,"timestamp_seconds":1782207454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3d79b30"} 
[2026-06-23 15:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245031168001,"66":25093,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245031168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:12:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245031168001,"power":25093,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":111082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:39] local.INFO: GPS data processed {"connection_id":111082,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:39] local.INFO: Acknowledgment sent {"connection_id":111082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:12:53] local.INFO: TCP Data received {"connection_id":111695,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3da6dd8012d7c110005ec32c8001b010b0e..."} 
[2026-06-23 15:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3da6dd8012d7c110005ec32c8001b010b0e..."} 
[2026-06-23 15:12:53] local.INFO: Processing buffer {"connection_id":111695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3da6dd8012d7c110005ec32c8001b010b0e..."} 
[2026-06-23 15:12:53] local.INFO: Packet analysis {"connection_id":111695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:12:53] local.INFO: Extracted packet for processing {"connection_id":111695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:12:53] local.INFO: GPS Element Parsed {"raw_longitude":763105536,"raw_latitude":99365576,"longitude_deg":76.3105536,"latitude_deg":9.9365576,"altitude":27,"angle":267,"satellites":14,"speed":35,"hex_longitude":"2d7c1100","hex_latitude":"05ec32c8","is_valid_coordinates":true} 
[2026-06-23 15:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245153024001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96338169443647488,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753673900032,"note":"Value kept but may cause issues"} 
[2026-06-23 15:12:53] 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-06-23 15:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782207639000,"timestamp_ms":1782207639000,"timestamp_seconds":1782207639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3da6dd8"} 
[2026-06-23 15:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:12:53] 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-06-23 15:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 15:12:53] 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-06-23 15:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245153024001,"66":13319,"198":206,"87":13824,"24":35,"16":96338169443647488,"45":8949848753673900032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 15:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245153024001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:12:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 15:12:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96338169443647488,"km_value":96338169443647.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753673900032,"description":"Unknown IO ID 45"} 
[2026-06-23 15:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245153024001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8949848753673900032}} 
[2026-06-23 15:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":111695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:12:54] local.INFO: GPS data processed {"connection_id":111695,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:12:54] local.INFO: Acknowledgment sent {"connection_id":111695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:13:07] local.INFO: TCP Data received {"connection_id":111083,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:13:07] local.INFO: Processing buffer {"connection_id":111083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:13:07] local.INFO: IMEI packet received {"connection_id":111083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":111083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:13:10] local.INFO: TCP Data received {"connection_id":112636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:13:10] local.INFO: Processing buffer {"connection_id":112636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:13:10] local.INFO: IMEI packet received {"connection_id":112636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":112636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:13:13] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:13:13] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:13:13] local.INFO: IMEI packet received {"connection_id":110901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":110901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:13:15] local.INFO: TCP Data received {"connection_id":112636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:13:15] local.INFO: Processing buffer {"connection_id":112636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:13:15] local.INFO: IMEI packet received {"connection_id":112636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":112636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:13:16] local.INFO: TCP Data received {"connection_id":112636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3daac58012d7bebc005ec2eb8001a010612..."} 
[2026-06-23 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3daac58012d7bebc005ec2eb8001a010612..."} 
[2026-06-23 15:13:16] local.INFO: Processing buffer {"connection_id":112636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3daac58012d7bebc005ec2eb8001a010612..."} 
[2026-06-23 15:13:16] local.INFO: Packet analysis {"connection_id":112636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:13:16] local.INFO: Extracted packet for processing {"connection_id":112636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3da"} 
[2026-06-23 15:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763096000,"raw_latitude":99364536,"longitude_deg":76.3096,"latitude_deg":9.9364536,"altitude":26,"angle":262,"satellites":18,"speed":24,"hex_longitude":"2d7bebc0","hex_latitude":"05ec2eb8","is_valid_coordinates":true} 
[2026-06-23 15:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245155584001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96338629005148160,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939926760744732672,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] 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-06-23 15:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782207655000,"timestamp_ms":1782207655000,"timestamp_seconds":1782207655,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3daac58"} 
[2026-06-23 15:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4091091456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":693555442126684160,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3653111809,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634953,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.WARNING: Large IO value detected {"io_id":104,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:16] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,198,87,24,241,157,16,67,158,70,45,64,52,28,14,10,66,8,54,30,209,1,240,187,227,65,243,4,113,205,108,239,2,50,110,86,104],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-06-23 15:13:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945848668760506368,"timestamp_seconds":1945848668760506.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245155584001,"66":13243,"198":206,"87":13824,"24":24,"16":96338629005148160,"45":8939926760744732672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 15:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245155584001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:13:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 15:13:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96338629005148160,"km_value":96338629005148.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939926760744732672,"description":"Unknown IO ID 45"} 
[2026-06-23 15:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245155584001,"power":13243,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8939926760744732672}} 
[2026-06-23 15:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":112636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:13:16] local.INFO: GPS data processed {"connection_id":112636,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:13:16] local.INFO: Acknowledgment sent {"connection_id":112636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:13:18] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:13:18] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:13:18] local.INFO: IMEI packet received {"connection_id":110901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":110901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:13:19] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:13:19] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:13:19] local.INFO: Packet analysis {"connection_id":110901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:13:19] local.INFO: Extracted packet for processing {"connection_id":110901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:13:19] 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-06-23 15:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:13:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":110901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:13:19] local.INFO: GPS data processed {"connection_id":110901,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:13:19] local.INFO: Acknowledgment sent {"connection_id":110901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:13:24] local.INFO: TCP Data received {"connection_id":111697,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:13:24] local.INFO: Processing buffer {"connection_id":111697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:13:24] local.INFO: IMEI packet received {"connection_id":111697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":111697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:13:29] local.INFO: TCP Data received {"connection_id":111697,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:13:29] local.INFO: Processing buffer {"connection_id":111697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:13:29] local.INFO: IMEI packet received {"connection_id":111697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":111697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:13:31] local.INFO: TCP Data received {"connection_id":111697,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:13:31] local.INFO: Processing buffer {"connection_id":111697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:13:31] local.INFO: Packet analysis {"connection_id":111697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:13:31] local.INFO: Extracted packet for processing {"connection_id":111697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 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-06-23 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:13:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":111697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:13:31] local.INFO: GPS data processed {"connection_id":111697,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:13:31] local.INFO: Acknowledgment sent {"connection_id":111697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:13:47] local.INFO: TCP Data received {"connection_id":112636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc8cd0012d7a75c005eb9d08000c00fb17..."} 
[2026-06-23 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc8cd0012d7a75c005eb9d08000c00fb17..."} 
[2026-06-23 15:13:47] local.INFO: Processing buffer {"connection_id":112636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc8cd0012d7a75c005eb9d08000c00fb17..."} 
[2026-06-23 15:13:47] local.INFO: Packet analysis {"connection_id":112636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:13:47] local.INFO: Extracted packet for processing {"connection_id":112636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763000256,"raw_latitude":99327240,"longitude_deg":76.3000256,"latitude_deg":9.932724,"altitude":12,"angle":251,"satellites":23,"speed":28,"hex_longitude":"2d7a75c0","hex_latitude":"05eb9d08","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245187584001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96343563922571264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833810694515857408,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782207778000,"timestamp_ms":1782207778000,"timestamp_seconds":1782207778,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc8cd0"} 
[2026-06-23 15:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:13:47] 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-06-23 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-23 15:13:47] 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-06-23 15: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-06-23 15:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245187584001,"66":13417,"155":206,"87":13824,"24":28,"16":96343563922571264,"45":8833810694515857408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-23 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245187584001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:13:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 15:13:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96343563922571264,"km_value":96343563922571.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833810694515857408,"description":"Unknown IO ID 45"} 
[2026-06-23 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245187584001,"power":13417,"unknown_155":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8833810694515857408}} 
[2026-06-23 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":112636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:13:47] local.INFO: GPS data processed {"connection_id":112636,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:13:47] local.INFO: Acknowledgment sent {"connection_id":112636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:13:50] local.INFO: TCP Data received {"connection_id":110901,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:13:50] local.INFO: Processing buffer {"connection_id":110901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:13:50] local.INFO: Packet analysis {"connection_id":110901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:13:50] local.INFO: Extracted packet for processing {"connection_id":110901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:13:50] 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-06-23 15:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:13:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":110901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:13:50] local.INFO: GPS data processed {"connection_id":110901,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:13:50] local.INFO: Acknowledgment sent {"connection_id":110901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:14:02] local.INFO: TCP Data received {"connection_id":111697,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:14:02] local.INFO: Processing buffer {"connection_id":111697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:14:02] local.INFO: Packet analysis {"connection_id":111697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:14:02] local.INFO: Extracted packet for processing {"connection_id":111697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":111697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:14:02] local.INFO: GPS data processed {"connection_id":111697,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:14:02] local.INFO: Acknowledgment sent {"connection_id":111697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:14:14] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:14:14] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:14:14] local.INFO: IMEI packet received {"connection_id":111085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":111085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:14:18] local.INFO: TCP Data received {"connection_id":112636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dcdaf0012d7a644005eb9670001100f817..."} 
[2026-06-23 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dcdaf0012d7a644005eb9670001100f817..."} 
[2026-06-23 15:14:18] local.INFO: Processing buffer {"connection_id":112636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dcdaf0012d7a644005eb9670001100f817..."} 
[2026-06-23 15:14:18] local.INFO: Packet analysis {"connection_id":112636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:14:18] local.INFO: Extracted packet for processing {"connection_id":112636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":762995776,"raw_latitude":99325552,"longitude_deg":76.2995776,"latitude_deg":9.9325552,"altitude":17,"angle":248,"satellites":23,"speed":0,"hex_longitude":"2d7a6440","hex_latitude":"05eb9670","is_valid_coordinates":true} 
[2026-06-23 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245191168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96343808735707136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824170176562661376,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:18] 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-06-23 15:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782207798000,"timestamp_ms":1782207798000,"timestamp_seconds":1782207798,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dcdaf0"} 
[2026-06-23 15:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 15:14:18] 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-06-23 15:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":112636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245191168001,"66":13352,"161":206,"87":13824,"24":0,"16":96343808735707136,"45":8824170176562661376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-23 15:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245191168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:14:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 15:14:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96343808735707136,"km_value":96343808735707.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824170176562661376,"description":"Unknown IO ID 45"} 
[2026-06-23 15:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245191168001,"power":13352,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8824170176562661376}} 
[2026-06-23 15:14:18] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:14:18] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:14:18] local.INFO: IMEI packet received {"connection_id":111085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":111085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":112636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:14:18] local.INFO: GPS data processed {"connection_id":112636,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:14:18] local.INFO: Acknowledgment sent {"connection_id":112636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:14:19] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:14:19] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:14:19] local.INFO: Packet analysis {"connection_id":111085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:14:19] local.INFO: Extracted packet for processing {"connection_id":111085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:14:19] 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-06-23 15: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:14:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":111085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:14:19] local.INFO: GPS data processed {"connection_id":111085,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:14:19] local.INFO: Acknowledgment sent {"connection_id":111085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:14:23] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:14:23] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:14:23] local.INFO: IMEI packet received {"connection_id":110902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":110902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:14:29] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:14:29] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:14:29] local.INFO: IMEI packet received {"connection_id":110902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":110902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:14:30] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:14:30] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:14:30] local.INFO: Packet analysis {"connection_id":110902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:14:30] local.INFO: Extracted packet for processing {"connection_id":110902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:14:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":110902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:14:30] local.INFO: GPS data processed {"connection_id":110902,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:14:30] local.INFO: Acknowledgment sent {"connection_id":110902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:14:50] local.INFO: TCP Data received {"connection_id":112636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dd2cf8012d7a62c005eb9668001100ff17..."} 
[2026-06-23 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dd2cf8012d7a62c005eb9668001100ff17..."} 
[2026-06-23 15:14:50] local.INFO: Processing buffer {"connection_id":112636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dd2cf8012d7a62c005eb9668001100ff17..."} 
[2026-06-23 15:14:50] local.INFO: Packet analysis {"connection_id":112636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dd"} 
[2026-06-23 15:14:50] local.INFO: Extracted packet for processing {"connection_id":112636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dd"} 
[2026-06-23 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":99325544,"longitude_deg":76.2995392,"latitude_deg":9.9325544,"altitude":17,"angle":255,"satellites":23,"speed":5,"hex_longitude":"2d7a62c0","hex_latitude":"05eb9668","is_valid_coordinates":true} 
[2026-06-23 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245196288001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96343830210543616,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819244364469792768,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:50] 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-06-23 15:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207819000,"timestamp_ms":1782207819000,"timestamp_seconds":1782207819,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dd2cf8"} 
[2026-06-23 15:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:14:50] 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-06-23 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-23 15:14:50] 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-06-23 15:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245196288001,"66":13580,"161":206,"87":13824,"24":5,"16":96343830210543616,"45":8819244364469792768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245196288001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96343830210543616,"km_value":96343830210543.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819244364469792768,"description":"Unknown IO ID 45"} 
[2026-06-23 15:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245196288001,"power":13580,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8819244364469792768}} 
[2026-06-23 15:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":112636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:14:50] local.INFO: GPS data processed {"connection_id":112636,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:14:50] local.INFO: Acknowledgment sent {"connection_id":112636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:14:50] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:14:50] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:14:50] local.INFO: Packet analysis {"connection_id":111085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:14:50] local.INFO: Extracted packet for processing {"connection_id":111085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:14:50] 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-06-23 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":111085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:14:50] local.INFO: GPS data processed {"connection_id":111085,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:14:50] local.INFO: Acknowledgment sent {"connection_id":111085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:15:02] local.INFO: TCP Data received {"connection_id":110902,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:15:02] local.INFO: Processing buffer {"connection_id":110902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:15:02] local.INFO: Packet analysis {"connection_id":110902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:15:02] local.INFO: Extracted packet for processing {"connection_id":110902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:15:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 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-06-23 15:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":110902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:15:02] local.INFO: GPS data processed {"connection_id":110902,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:15:02] local.INFO: Acknowledgment sent {"connection_id":110902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:15:10] local.INFO: TCP Data received {"connection_id":110903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:15:10] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:15:10] local.INFO: IMEI packet received {"connection_id":110903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":110903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:15:13] local.INFO: TCP Data received {"connection_id":112639,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:15:13] local.INFO: Processing buffer {"connection_id":112639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:15:13] local.INFO: IMEI packet received {"connection_id":112639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":112639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:15:15] local.INFO: TCP Data received {"connection_id":110903,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:15:15] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:15:15] local.INFO: IMEI packet received {"connection_id":110903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":110903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:15:16] local.INFO: TCP Data received {"connection_id":110903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dd4850012d7a564005eb93e80011011317..."} 
[2026-06-23 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dd4850012d7a564005eb93e80011011317..."} 
[2026-06-23 15:15:16] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dd4850012d7a564005eb93e80011011317..."} 
[2026-06-23 15:15:16] local.INFO: Packet analysis {"connection_id":110903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dd"} 
[2026-06-23 15:15:16] local.INFO: Extracted packet for processing {"connection_id":110903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dd"} 
[2026-06-23 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99324904,"longitude_deg":76.2992192,"latitude_deg":9.9324904,"altitude":17,"angle":275,"satellites":23,"speed":20,"hex_longitude":"2d7a5640","hex_latitude":"05eb93e8","is_valid_coordinates":true} 
[2026-06-23 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245201664001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96343984829366272,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822152004724736,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] 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-06-23 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782207826000,"timestamp_ms":1782207826000,"timestamp_seconds":1782207826,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dd4850"} 
[2026-06-23 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:15:16] 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-06-23 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751601221,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4091272456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6216753092654792704,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3693559809,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3071803408,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858251163,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033568462,"corrected_to":0} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728637,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956684800,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":123,"raw_value":1981590346788765718,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241455804698199,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755562649944305,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:16] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,161,87,24,241,157,16,72,158,218,45,64,150,17,23,10,66,140,192,12,155,71,86,1,240,116,227,243,235,4,113,205,34,219,128,22,239,52,2,5,20,39,123,51,54],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1033568462,"validated":0}]} 
[2026-06-23 15:15:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225259572894433280,"timestamp_seconds":1225259572894433.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245201664001,"66":13526,"161":206,"87":13824,"24":20,"16":96343984829366272,"45":8818822152004724736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-23 15:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245201664001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:15:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 15:15:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96343984829366272,"km_value":96343984829366.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822152004724736,"description":"Unknown IO ID 45"} 
[2026-06-23 15:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245201664001,"power":13526,"unknown_161":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8818822152004724736}} 
[2026-06-23 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":110903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:15:16] local.INFO: GPS data processed {"connection_id":110903,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:15:16] local.INFO: Acknowledgment sent {"connection_id":110903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:15:18] local.INFO: TCP Data received {"connection_id":112639,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:15:18] local.INFO: Processing buffer {"connection_id":112639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:15:18] local.INFO: IMEI packet received {"connection_id":112639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":112639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:15:19] local.INFO: TCP Data received {"connection_id":112639,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:15:19] local.INFO: Processing buffer {"connection_id":112639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:15:19] local.INFO: Packet analysis {"connection_id":112639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:15:19] local.INFO: Extracted packet for processing {"connection_id":112639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:15:19] 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-06-23 15:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:15:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":112639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:15:19] local.INFO: GPS data processed {"connection_id":112639,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:15:19] local.INFO: Acknowledgment sent {"connection_id":112639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:15:23] local.INFO: TCP Data received {"connection_id":112640,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:15:23] local.INFO: Processing buffer {"connection_id":112640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:15:23] local.INFO: IMEI packet received {"connection_id":112640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":112640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:15:29] local.INFO: TCP Data received {"connection_id":112640,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:15:29] local.INFO: Processing buffer {"connection_id":112640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:15:29] local.INFO: IMEI packet received {"connection_id":112640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":112640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:15:30] local.INFO: TCP Data received {"connection_id":112640,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:15:30] local.INFO: Processing buffer {"connection_id":112640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:15:30] local.INFO: Packet analysis {"connection_id":112640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:15:30] local.INFO: Extracted packet for processing {"connection_id":112640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":112640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:15:30] local.INFO: GPS data processed {"connection_id":112640,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:15:30] local.INFO: Acknowledgment sent {"connection_id":112640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:15:47] local.INFO: TCP Data received {"connection_id":110903,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dd5020012d7a528005eb95080011012f17..."} 
[2026-06-23 15:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dd5020012d7a528005eb95080011012f17..."} 
[2026-06-23 15:15:47] local.INFO: Processing buffer {"connection_id":110903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dd5020012d7a528005eb95080011012f17..."} 
[2026-06-23 15:15:47] local.INFO: Packet analysis {"connection_id":110903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dd"} 
[2026-06-23 15:15:47] local.INFO: Extracted packet for processing {"connection_id":110903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dd"} 
[2026-06-23 15:15:47] local.INFO: GPS Element Parsed {"raw_longitude":762991232,"raw_latitude":99325192,"longitude_deg":76.2991232,"latitude_deg":9.9325192,"altitude":17,"angle":303,"satellites":23,"speed":16,"hex_longitude":"2d7a5280","hex_latitude":"05eb9508","is_valid_coordinates":true} 
[2026-06-23 15:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245203456001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96344032074006528,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795677696,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:47] 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-06-23 15:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782207828000,"timestamp_ms":1782207828000,"timestamp_seconds":1782207828,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dd5020"} 
[2026-06-23 15:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:15:47] 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-06-23 15:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-06-23 15:15:47] 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-06-23 15:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245203456001,"66":13374,"161":206,"87":13824,"24":16,"16":96344032074006528,"45":8815303714795677696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-23 15:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245203456001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:15:47] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 15:15:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96344032074006528,"km_value":96344032074006.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795677696,"description":"Unknown IO ID 45"} 
[2026-06-23 15:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245203456001,"power":13374,"unknown_161":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8815303714795677696}} 
[2026-06-23 15:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":110903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:15:47] local.INFO: GPS data processed {"connection_id":110903,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:15:47] local.INFO: Acknowledgment sent {"connection_id":110903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:15:50] local.INFO: TCP Data received {"connection_id":112639,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:15:50] local.INFO: Processing buffer {"connection_id":112639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:15:50] local.INFO: Packet analysis {"connection_id":112639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:15:50] local.INFO: Extracted packet for processing {"connection_id":112639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:15:50] 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-06-23 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:15:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":112639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:15:50] local.INFO: GPS data processed {"connection_id":112639,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:15:50] local.INFO: Acknowledgment sent {"connection_id":112639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:02] local.INFO: TCP Data received {"connection_id":112640,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:02] local.INFO: Processing buffer {"connection_id":112640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:02] local.INFO: Packet analysis {"connection_id":112640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:16:02] local.INFO: Extracted packet for processing {"connection_id":112640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":112640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:02] local.INFO: GPS data processed {"connection_id":112640,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:02] local.INFO: Acknowledgment sent {"connection_id":112640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:13] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:16:13] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:16:13] local.INFO: IMEI packet received {"connection_id":110904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":110904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:16:15] local.INFO: TCP Data received {"connection_id":111086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:16:15] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:16:15] local.INFO: IMEI packet received {"connection_id":111086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":111086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:16:18] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:16:18] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:16:18] local.INFO: IMEI packet received {"connection_id":110904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":110904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:16:19] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:16:19] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:16:19] local.INFO: Packet analysis {"connection_id":110904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:16:19] local.INFO: Extracted packet for processing {"connection_id":110904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:19] 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-06-23 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":110904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:19] local.INFO: GPS data processed {"connection_id":110904,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:19] local.INFO: Acknowledgment sent {"connection_id":110904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:20] local.INFO: TCP Data received {"connection_id":111086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:16:20] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:16:20] local.INFO: IMEI packet received {"connection_id":111086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":111086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:16:21] local.INFO: TCP Data received {"connection_id":111086,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3decb08012d7a23c005ebf0c80009015218..."} 
[2026-06-23 15:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3decb08012d7a23c005ebf0c80009015218..."} 
[2026-06-23 15:16:21] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3decb08012d7a23c005ebf0c80009015218..."} 
[2026-06-23 15:16:21] local.INFO: Packet analysis {"connection_id":111086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3de"} 
[2026-06-23 15:16:21] local.INFO: Extracted packet for processing {"connection_id":111086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3de"} 
[2026-06-23 15:16:21] local.INFO: GPS Element Parsed {"raw_longitude":762979264,"raw_latitude":99348680,"longitude_deg":76.2979264,"latitude_deg":9.934868,"altitude":9,"angle":338,"satellites":24,"speed":12,"hex_longitude":"2d7a23c0","hex_latitude":"05ebf0c8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245226496001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96345324859162624,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815825707008,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:21] 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-06-23 15:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782207925000,"timestamp_ms":1782207925000,"timestamp_seconds":1782207925,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3decb08"} 
[2026-06-23 15:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:21] 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-06-23 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245226496001,"66":13352,"163":206,"87":13824,"24":12,"16":96345324859162624,"45":8802918815825707008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245226496001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:16:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96345324859162624,"km_value":96345324859162.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815825707008,"description":"Unknown IO ID 45"} 
[2026-06-23 15:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245226496001,"power":13352,"unknown_163":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8802918815825707008}} 
[2026-06-23 15:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":111086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:21] local.INFO: GPS data processed {"connection_id":111086,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:21] local.INFO: Acknowledgment sent {"connection_id":111086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:24] local.INFO: TCP Data received {"connection_id":111086,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3df1d10012d7a230005ebf270000a015118..."} 
[2026-06-23 15:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3df1d10012d7a230005ebf270000a015118..."} 
[2026-06-23 15:16:24] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3df1d10012d7a230005ebf270000a015118..."} 
[2026-06-23 15:16:24] local.INFO: Packet analysis {"connection_id":111086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:16:24] local.INFO: Extracted packet for processing {"connection_id":111086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:16:24] local.INFO: GPS Element Parsed {"raw_longitude":762979072,"raw_latitude":99349104,"longitude_deg":76.2979072,"latitude_deg":9.9349104,"altitude":10,"angle":337,"satellites":24,"speed":3,"hex_longitude":"2d7a2300","hex_latitude":"05ebf270","is_valid_coordinates":true} 
[2026-06-23 15:16: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-06-23 15:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245228800001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96345354923933696,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801089228477876224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:24] 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-06-23 15:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782207946000,"timestamp_ms":1782207946000,"timestamp_seconds":1782207946,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3df1d10"} 
[2026-06-23 15:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:24] 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-06-23 15:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:24] 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-06-23 15:16: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-06-23 15:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245228800001,"66":13319,"163":206,"87":13824,"24":3,"16":96345354923933696,"45":8801089228477876224},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245228800001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:16:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96345354923933696,"km_value":96345354923933.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801089228477876224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245228800001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8801089228477876224}} 
[2026-06-23 15:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":111086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:24] local.INFO: GPS data processed {"connection_id":111086,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:24] local.INFO: Acknowledgment sent {"connection_id":111086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:29] local.INFO: TCP Data received {"connection_id":111699,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:16:29] local.INFO: Processing buffer {"connection_id":111699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:16:29] local.INFO: IMEI packet received {"connection_id":111699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":111699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:16:34] local.INFO: TCP Data received {"connection_id":111699,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:16:34] local.INFO: Processing buffer {"connection_id":111699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:16:34] local.INFO: IMEI packet received {"connection_id":111699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":111699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:16:35] local.INFO: TCP Data received {"connection_id":111699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:35] local.INFO: Processing buffer {"connection_id":111699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:35] local.INFO: Packet analysis {"connection_id":111699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:16:35] local.INFO: Extracted packet for processing {"connection_id":111699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":111699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:35] local.INFO: GPS data processed {"connection_id":111699,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:35] local.INFO: Acknowledgment sent {"connection_id":111699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:40] local.INFO: TCP Data received {"connection_id":111699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:40] local.INFO: Processing buffer {"connection_id":111699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:16:40] local.INFO: Packet analysis {"connection_id":111699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:16:40] local.INFO: Extracted packet for processing {"connection_id":111699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":111699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:40] local.INFO: GPS data processed {"connection_id":111699,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:40] local.INFO: Acknowledgment sent {"connection_id":111699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:50] local.INFO: TCP Data received {"connection_id":110904,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:16:50] local.INFO: Processing buffer {"connection_id":110904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3db2958012d196ec0071fed90003e00ee26..."} 
[2026-06-23 15:16:50] local.INFO: Packet analysis {"connection_id":110904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:16:50] local.INFO: Extracted packet for processing {"connection_id":110904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3db"} 
[2026-06-23 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":38,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207687000,"timestamp_ms":1782207687000,"timestamp_seconds":1782207687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3db2958"} 
[2026-06-23 15:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:50] 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-06-23 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245090816001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245090816001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":110904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:50] local.INFO: GPS data processed {"connection_id":110904,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:50] local.INFO: Acknowledgment sent {"connection_id":110904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:16:55] local.INFO: TCP Data received {"connection_id":111086,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3df6f18012d7a158005ec1398000d015218..."} 
[2026-06-23 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3df6f18012d7a158005ec1398000d015218..."} 
[2026-06-23 15:16:55] local.INFO: Processing buffer {"connection_id":111086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3df6f18012d7a158005ec1398000d015218..."} 
[2026-06-23 15:16:55] local.INFO: Packet analysis {"connection_id":111086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:16:55] local.INFO: Extracted packet for processing {"connection_id":111086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:16:55] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":99357592,"longitude_deg":76.2975616,"latitude_deg":9.9357592,"altitude":13,"angle":338,"satellites":24,"speed":17,"hex_longitude":"2d7a1580","hex_latitude":"05ec1398","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245234176001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96345801600532480,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800878122245451776,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] 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-06-23 15:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782207967000,"timestamp_ms":1782207967000,"timestamp_seconds":1782207967,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3df6f18"} 
[2026-06-23 15:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:16:55] 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-06-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4091429456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2049,"corrected_to":0} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3731191809,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-3388958668035123712,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956533248,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221613526,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.WARNING: Large IO value detected {"io_id":222,"raw_value":1400620778947575813,"note":"Value kept but may cause issues"} 
[2026-06-23 15:16:55] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,87,24,241,157,16,73,158,203,45,192,240,9,10,66,167,64,228,23,109,1,116,227,243,235,4,113,205,5,85,49,22,239,52,2,86,12,181,222],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":2049,"validated":0},{"io_id":205,"original":765657294,"validated":0}]} 
[2026-06-23 15:16:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720946578877251584,"timestamp_seconds":720946578877251.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245234176001,"66":13417,"163":206,"87":13824,"24":17,"16":96345801600532480,"45":8800878122245451776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245234176001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:16:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:16:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96345801600532480,"km_value":96345801600532.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800878122245451776,"description":"Unknown IO ID 45"} 
[2026-06-23 15:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245234176001,"power":13417,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8800878122245451776}} 
[2026-06-23 15:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":111086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:16:55] local.INFO: GPS data processed {"connection_id":111086,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:16:55] local.INFO: Acknowledgment sent {"connection_id":111086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:17:10] local.INFO: TCP Data received {"connection_id":112641,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:17:10] local.INFO: Processing buffer {"connection_id":112641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:17:10] local.INFO: IMEI packet received {"connection_id":112641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":112641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:17:15] local.INFO: TCP Data received {"connection_id":112641,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:17:15] local.INFO: Processing buffer {"connection_id":112641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:17:15] local.INFO: IMEI packet received {"connection_id":112641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":112641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:17:17] local.INFO: TCP Data received {"connection_id":112641,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfa9b0012d7a130005ec19b8000d016218..."} 
[2026-06-23 15:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfa9b0012d7a130005ec19b8000d016218..."} 
[2026-06-23 15:17:17] local.INFO: Processing buffer {"connection_id":112641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfa9b0012d7a130005ec19b8000d016218..."} 
[2026-06-23 15:17:17] local.INFO: Packet analysis {"connection_id":112641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:17] local.INFO: Extracted packet for processing {"connection_id":112641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:17] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99359160,"longitude_deg":76.2974976,"latitude_deg":9.935916,"altitude":13,"angle":354,"satellites":24,"speed":3,"hex_longitude":"2d7a1300","hex_latitude":"05ec19b8","is_valid_coordinates":true} 
[2026-06-23 15:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245239552001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96345887499878400,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078210062030848,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:17] 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-06-23 15:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782207982000,"timestamp_ms":1782207982000,"timestamp_seconds":1782207982,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfa9b0"} 
[2026-06-23 15:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-23 15:17:17] 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-06-23 15:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245239552001,"66":13450,"156":206,"87":13824,"24":3,"16":96345887499878400,"45":8797078210062030848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 15:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245239552001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:17:17] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 15:17:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96345887499878400,"km_value":96345887499878.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078210062030848,"description":"Unknown IO ID 45"} 
[2026-06-23 15:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245239552001,"power":13450,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8797078210062030848}} 
[2026-06-23 15:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":112641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:17:17] local.INFO: GPS data processed {"connection_id":112641,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:17:17] local.INFO: Acknowledgment sent {"connection_id":112641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:17:18] local.INFO: TCP Data received {"connection_id":111700,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:17:18] local.INFO: Processing buffer {"connection_id":111700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:17:18] local.INFO: IMEI packet received {"connection_id":111700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":111700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:17:23] local.INFO: TCP Data received {"connection_id":111700,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:17:23] local.INFO: Processing buffer {"connection_id":111700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:17:23] local.INFO: IMEI packet received {"connection_id":111700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":111700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:17:24] local.INFO: TCP Data received {"connection_id":110905,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:17:24] local.INFO: Processing buffer {"connection_id":110905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:17:24] local.INFO: IMEI packet received {"connection_id":110905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":110905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:17:24] local.INFO: TCP Data received {"connection_id":111700,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:17:24] local.INFO: Processing buffer {"connection_id":111700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:17:24] local.INFO: Packet analysis {"connection_id":111700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:24] local.INFO: Extracted packet for processing {"connection_id":111700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:17:24] 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-06-23 15:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:17:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":111700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:17:24] local.INFO: GPS data processed {"connection_id":111700,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:17:24] local.INFO: Acknowledgment sent {"connection_id":111700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:17:29] local.INFO: TCP Data received {"connection_id":111700,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:17:29] local.INFO: Processing buffer {"connection_id":111700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:17:29] local.INFO: Packet analysis {"connection_id":111700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:29] local.INFO: Extracted packet for processing {"connection_id":111700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17: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-06-23 15:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:17:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":111700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:17:29] local.INFO: GPS data processed {"connection_id":111700,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:17:29] local.INFO: Acknowledgment sent {"connection_id":111700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:17:29] local.INFO: TCP Data received {"connection_id":110905,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:17:29] local.INFO: Processing buffer {"connection_id":110905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:17:29] local.INFO: IMEI packet received {"connection_id":110905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":110905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:17:30] local.INFO: TCP Data received {"connection_id":110905,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:17:30] local.INFO: Processing buffer {"connection_id":110905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:17:30] local.INFO: Packet analysis {"connection_id":110905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:17:30] local.INFO: Extracted packet for processing {"connection_id":110905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:17:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 15:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":110905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:17:30] local.INFO: GPS data processed {"connection_id":110905,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:17:30] local.INFO: Acknowledgment sent {"connection_id":110905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:17:48] local.INFO: TCP Data received {"connection_id":112641,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfb180012d7a128005ec1b08000d015117..."} 
[2026-06-23 15:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfb180012d7a128005ec1b08000d015117..."} 
[2026-06-23 15:17:48] local.INFO: Processing buffer {"connection_id":112641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfb180012d7a128005ec1b08000d015117..."} 
[2026-06-23 15:17:48] local.INFO: Packet analysis {"connection_id":112641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:48] local.INFO: Extracted packet for processing {"connection_id":112641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:17:48] local.INFO: GPS Element Parsed {"raw_longitude":762974848,"raw_latitude":99359496,"longitude_deg":76.2974848,"latitude_deg":9.9359496,"altitude":13,"angle":337,"satellites":23,"speed":9,"hex_longitude":"2d7a1280","hex_latitude":"05ec1b08","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245243392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96345904679747584,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522620655616,"note":"Value kept but may cause issues"} 
[2026-06-23 15:17:48] 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-06-23 15:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782207984000,"timestamp_ms":1782207984000,"timestamp_seconds":1782207984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfb180"} 
[2026-06-23 15:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:17:48] 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-06-23 15: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-23 15:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245243392001,"66":13015,"156":206,"87":13824,"24":9,"16":96345904679747584,"45":8796374522620655616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 15:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245243392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:17:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 15:17:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96345904679747584,"km_value":96345904679747.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522620655616,"description":"Unknown IO ID 45"} 
[2026-06-23 15:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245243392001,"power":13015,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8796374522620655616}} 
[2026-06-23 15:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":112641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:17:48] local.INFO: GPS data processed {"connection_id":112641,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:17:48] local.INFO: Acknowledgment sent {"connection_id":112641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:18:02] local.INFO: TCP Data received {"connection_id":110905,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:18:02] local.INFO: Processing buffer {"connection_id":110905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dc32f8012cb29b8007823df8004a00cf23..."} 
[2026-06-23 15:18:02] local.INFO: Packet analysis {"connection_id":110905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:18:02] local.INFO: Extracted packet for processing {"connection_id":110905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3dc"} 
[2026-06-23 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":35,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245108224001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782207755000,"timestamp_ms":1782207755000,"timestamp_seconds":1782207755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dc32f8"} 
[2026-06-23 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-06-23 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 15:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245108224001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245108224001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245108224001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":110905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:18:02] local.INFO: GPS data processed {"connection_id":110905,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:18:02] local.INFO: Acknowledgment sent {"connection_id":110905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:18:06] local.INFO: TCP Data received {"connection_id":111088,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:06] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:06] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:18:10] local.INFO: TCP Data received {"connection_id":111088,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:10] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:10] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:18:13] local.INFO: TCP Data received {"connection_id":110906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:18:13] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:18:13] local.INFO: IMEI packet received {"connection_id":110906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":110906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:18:14] local.INFO: TCP Data received {"connection_id":111088,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:14] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:18:14] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:18:15] local.INFO: TCP Data received {"connection_id":111088,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfffa0012d7a0b4005ec2bf8000f015319..."} 
[2026-06-23 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfffa0012d7a0b4005ec2bf8000f015319..."} 
[2026-06-23 15:18:15] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfffa0012d7a0b4005ec2bf8000f015319..."} 
[2026-06-23 15:18:15] local.INFO: Packet analysis {"connection_id":111088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:18:15] local.INFO: Extracted packet for processing {"connection_id":111088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:18:15] local.INFO: GPS Element Parsed {"raw_longitude":762972992,"raw_latitude":99363832,"longitude_deg":76.2972992,"latitude_deg":9.9363832,"altitude":15,"angle":339,"satellites":25,"speed":0,"hex_longitude":"2d7a0b40","hex_latitude":"05ec2bf8","is_valid_coordinates":true} 
[2026-06-23 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245243904001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96346136607981568,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796233785132386304,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:15] 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-06-23 15:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782208004000,"timestamp_ms":1782208004000,"timestamp_seconds":1782208004,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfffa0"} 
[2026-06-23 15:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:18:15] 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-06-23 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:18:15] 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-06-23 15:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245243904001,"66":13319,"156":206,"87":13824,"24":0,"16":96346136607981568,"45":8796233785132386304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 15:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245243904001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:18:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 15:18:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96346136607981568,"km_value":96346136607981.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796233785132386304,"description":"Unknown IO ID 45"} 
[2026-06-23 15:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245243904001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796233785132386304}} 
[2026-06-23 15:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":111088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:18:15] local.INFO: GPS data processed {"connection_id":111088,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:18:15] local.INFO: Acknowledgment sent {"connection_id":111088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:18:18] local.INFO: TCP Data received {"connection_id":110906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:18:18] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:18:18] local.INFO: IMEI packet received {"connection_id":110906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":110906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:18:19] local.INFO: TCP Data received {"connection_id":110906,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:18:19] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:18:19] local.INFO: Packet analysis {"connection_id":110906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:18:19] local.INFO: Extracted packet for processing {"connection_id":110906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:18:19] 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-06-23 15:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:18:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":110906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:18:19] local.INFO: GPS data processed {"connection_id":110906,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:18:19] local.INFO: Acknowledgment sent {"connection_id":110906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:18:24] local.INFO: TCP Data received {"connection_id":112643,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:18:24] local.INFO: Processing buffer {"connection_id":112643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:18:24] local.INFO: IMEI packet received {"connection_id":112643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":112643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:18:29] local.INFO: TCP Data received {"connection_id":112643,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:18:29] local.INFO: Processing buffer {"connection_id":112643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:18:29] local.INFO: IMEI packet received {"connection_id":112643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":112643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:18:30] local.INFO: TCP Data received {"connection_id":112643,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:18:30] local.INFO: Processing buffer {"connection_id":112643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:18:30] local.INFO: Packet analysis {"connection_id":112643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:18:30] local.INFO: Extracted packet for processing {"connection_id":112643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:18:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 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-06-23 15:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":112643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:18:30] local.INFO: GPS data processed {"connection_id":112643,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:18:30] local.INFO: Acknowledgment sent {"connection_id":112643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:18:37] local.INFO: TCP Data received {"connection_id":112642,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:18:37] local.INFO: Processing buffer {"connection_id":112642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:18:37] local.INFO: IMEI packet received {"connection_id":112642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":112642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:18:46] local.INFO: TCP Data received {"connection_id":111088,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e03650012d7a0a0005ec32e00010016319..."} 
[2026-06-23 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e03650012d7a0a0005ec32e00010016319..."} 
[2026-06-23 15:18:46] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e03650012d7a0a0005ec32e00010016319..."} 
[2026-06-23 15:18:46] local.INFO: Packet analysis {"connection_id":111088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:18:46] local.INFO: Extracted packet for processing {"connection_id":111088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":762972672,"raw_latitude":99365600,"longitude_deg":76.2972672,"latitude_deg":9.93656,"altitude":16,"angle":355,"satellites":25,"speed":8,"hex_longitude":"2d7a0a00","hex_latitude":"05ec32e0","is_valid_coordinates":true} 
[2026-06-23 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245249024001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96346226802294784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794193091552344064,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] 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-06-23 15:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782208018000,"timestamp_ms":1782208018000,"timestamp_seconds":1782208018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e03650"} 
[2026-06-23 15:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4091455456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":73,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3743223809,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-2812497920025881088,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-23 15:18:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":134294906,"corrected_to":0} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3221613552,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":590162,"corrected_to":0} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957637120,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.WARNING: Large IO value detected {"io_id":222,"raw_value":7874545243292450821,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,87,24,241,157,16,74,158,177,45,128,27,13,23,10,66,169,25,111,1,240,105,227,73,243,235,4,113,205,3,203,35,200,239,52,163,2,86,5,160,222],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0},{"io_id":203,"original":134294906,"validated":0},{"io_id":200,"original":590162,"validated":0}]} 
[2026-06-23 15:18:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081236752384917504,"timestamp_seconds":1081236752384917.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111088,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245249024001,"66":13254,"156":206,"87":13824,"24":8,"16":96346226802294784,"45":8794193091552344064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 15:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245249024001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:18:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 15:18:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96346226802294784,"km_value":96346226802294.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794193091552344064,"description":"Unknown IO ID 45"} 
[2026-06-23 15:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245249024001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8794193091552344064}} 
[2026-06-23 15:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":111088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:18:46] local.INFO: GPS data processed {"connection_id":111088,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:18:46] local.INFO: Acknowledgment sent {"connection_id":111088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:18:50] local.INFO: TCP Data received {"connection_id":110906,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:18:50] local.INFO: Processing buffer {"connection_id":110906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:18:50] local.INFO: Packet analysis {"connection_id":110906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:18:50] local.INFO: Extracted packet for processing {"connection_id":110906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:18:50] 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-06-23 15:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:18:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":110906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:18:50] local.INFO: GPS data processed {"connection_id":110906,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:18:50] local.INFO: Acknowledgment sent {"connection_id":110906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:19:02] local.INFO: TCP Data received {"connection_id":112643,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:02] local.INFO: Processing buffer {"connection_id":112643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:02] local.INFO: Packet analysis {"connection_id":112643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:19:02] local.INFO: Extracted packet for processing {"connection_id":112643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 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-06-23 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":112643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:19:02] local.INFO: GPS data processed {"connection_id":112643,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:19:02] local.INFO: Acknowledgment sent {"connection_id":112643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:19:07] local.INFO: TCP Data received {"connection_id":111089,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:19:07] local.INFO: Processing buffer {"connection_id":111089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:19:07] local.INFO: IMEI packet received {"connection_id":111089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":111089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:19:07] local.INFO: TCP Data received {"connection_id":111701,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:19:07] local.INFO: Processing buffer {"connection_id":111701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:19:07] local.INFO: IMEI packet received {"connection_id":111701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":111701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:19:10] local.INFO: TCP Data received {"connection_id":111701,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:19:10] local.INFO: Processing buffer {"connection_id":111701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:19:10] local.INFO: IMEI packet received {"connection_id":111701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":111701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:19:10] local.INFO: TCP Data received {"connection_id":111701,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111701,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 15:19:10] local.INFO: Processing buffer {"connection_id":111701,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 15:19:10] local.INFO: IMEI packet received {"connection_id":111701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":111701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:19:18] local.INFO: TCP Data received {"connection_id":110907,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:18] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:18] local.INFO: IMEI packet received {"connection_id":110907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":110907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:19:23] local.INFO: TCP Data received {"connection_id":110907,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:23] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:23] local.INFO: IMEI packet received {"connection_id":110907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":110907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:19:24] local.INFO: TCP Data received {"connection_id":110907,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:19:24] local.INFO: Processing buffer {"connection_id":110907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:19:24] local.INFO: Packet analysis {"connection_id":110907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:19:24] local.INFO: Extracted packet for processing {"connection_id":110907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:19:24] 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-06-23 15:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:19:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":110907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:19:24] local.INFO: GPS data processed {"connection_id":110907,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:19:24] local.INFO: Acknowledgment sent {"connection_id":110907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:19:29] local.INFO: TCP Data received {"connection_id":110908,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:19:29] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:19:29] local.INFO: IMEI packet received {"connection_id":110908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":110908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:19:34] local.INFO: TCP Data received {"connection_id":110908,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:19:34] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:19:34] local.INFO: IMEI packet received {"connection_id":110908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":110908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:19:35] local.INFO: TCP Data received {"connection_id":110908,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:35] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:35] local.INFO: Packet analysis {"connection_id":110908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:19:35] local.INFO: Extracted packet for processing {"connection_id":110908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":110908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:19:35] local.INFO: GPS data processed {"connection_id":110908,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:19:35] local.INFO: Acknowledgment sent {"connection_id":110908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:19:40] local.INFO: TCP Data received {"connection_id":110908,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:40] local.INFO: Processing buffer {"connection_id":110908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:19:40] local.INFO: Packet analysis {"connection_id":110908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:19:40] local.INFO: Extracted packet for processing {"connection_id":110908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":110908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:19:40] local.INFO: GPS data processed {"connection_id":110908,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:19:40] local.INFO: Acknowledgment sent {"connection_id":110908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:19:53] local.INFO: TCP Data received {"connection_id":111702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:53] local.INFO: Processing buffer {"connection_id":111702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:19:53] local.INFO: IMEI packet received {"connection_id":111702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":111702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:20:24] local.INFO: TCP Data received {"connection_id":111703,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:20:24] local.INFO: Processing buffer {"connection_id":111703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:20:24] local.INFO: IMEI packet received {"connection_id":111703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":111703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:20:24] local.INFO: TCP Data received {"connection_id":111704,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:20:24] local.INFO: Processing buffer {"connection_id":111704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:20:24] local.INFO: IMEI packet received {"connection_id":111704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":111704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:20:28] local.INFO: TCP Data received {"connection_id":111704,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:20:28] local.INFO: Processing buffer {"connection_id":111704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:20:28] local.INFO: IMEI packet received {"connection_id":111704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":111704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:20:29] local.INFO: TCP Data received {"connection_id":111703,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:20:29] local.INFO: Processing buffer {"connection_id":111703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:20:29] local.INFO: IMEI packet received {"connection_id":111703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":111703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:20:29] local.INFO: TCP Data received {"connection_id":111704,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:20:29] local.INFO: Processing buffer {"connection_id":111704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:20:29] local.INFO: Packet analysis {"connection_id":111704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:20:29] local.INFO: Extracted packet for processing {"connection_id":111704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20: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-06-23 15:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:20:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":111704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:20:29] local.INFO: GPS data processed {"connection_id":111704,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:20:29] local.INFO: Acknowledgment sent {"connection_id":111704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:20:30] local.INFO: TCP Data received {"connection_id":111703,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:20:30] local.INFO: Processing buffer {"connection_id":111703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:20:30] local.INFO: Packet analysis {"connection_id":111703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:20:30] local.INFO: Extracted packet for processing {"connection_id":111703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:20:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":111703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:20:30] local.INFO: GPS data processed {"connection_id":111703,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:20:30] local.INFO: Acknowledgment sent {"connection_id":111703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:20:35] local.INFO: TCP Data received {"connection_id":111703,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:20:35] local.INFO: Processing buffer {"connection_id":111703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:20:35] local.INFO: Packet analysis {"connection_id":111703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:20:35] local.INFO: Extracted packet for processing {"connection_id":111703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":111703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:20:35] local.INFO: GPS data processed {"connection_id":111703,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:20:35] local.INFO: Acknowledgment sent {"connection_id":111703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:21:06] local.INFO: TCP Data received {"connection_id":111703,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:21:06] local.INFO: Processing buffer {"connection_id":111703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:21:06] local.INFO: Packet analysis {"connection_id":111703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:21:06] local.INFO: Extracted packet for processing {"connection_id":111703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":111703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:21:06] local.INFO: GPS data processed {"connection_id":111703,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:21:06] local.INFO: Acknowledgment sent {"connection_id":111703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:21:13] local.INFO: TCP Data received {"connection_id":111705,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:21:13] local.INFO: Processing buffer {"connection_id":111705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:21:13] local.INFO: IMEI packet received {"connection_id":111705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":111705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:21:18] local.INFO: TCP Data received {"connection_id":111705,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:21:18] local.INFO: Processing buffer {"connection_id":111705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:21:18] local.INFO: IMEI packet received {"connection_id":111705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":111705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:21:19] local.INFO: TCP Data received {"connection_id":111705,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:21:19] local.INFO: Processing buffer {"connection_id":111705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:21:19] local.INFO: Packet analysis {"connection_id":111705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:21:19] local.INFO: Extracted packet for processing {"connection_id":111705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:21:19] 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-06-23 15:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:21:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":111705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:21:19] local.INFO: GPS data processed {"connection_id":111705,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:21:19] local.INFO: Acknowledgment sent {"connection_id":111705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:21:24] local.INFO: TCP Data received {"connection_id":110910,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:21:24] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:21:24] local.INFO: IMEI packet received {"connection_id":110910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":110910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:21:29] local.INFO: TCP Data received {"connection_id":110910,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:21:29] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:21:29] local.INFO: IMEI packet received {"connection_id":110910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":110910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:21:31] local.INFO: TCP Data received {"connection_id":110910,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:21:31] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:21:31] local.INFO: Packet analysis {"connection_id":110910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:21:31] local.INFO: Extracted packet for processing {"connection_id":110910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 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-06-23 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:21:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:21:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":110910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:21:31] local.INFO: GPS data processed {"connection_id":110910,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:21:31] local.INFO: Acknowledgment sent {"connection_id":110910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:21:50] local.INFO: TCP Data received {"connection_id":111705,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:21:50] local.INFO: Processing buffer {"connection_id":111705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3dfc120012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:21:50] local.INFO: Packet analysis {"connection_id":111705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:21:50] local.INFO: Extracted packet for processing {"connection_id":111705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3df"} 
[2026-06-23 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245167872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782207988000,"timestamp_ms":1782207988000,"timestamp_seconds":1782207988,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3dfc120"} 
[2026-06-23 15:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:21:50] 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-06-23 15:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245167872001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245167872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:21:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245167872001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":111705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:21:50] local.INFO: GPS data processed {"connection_id":111705,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:21:50] local.INFO: Acknowledgment sent {"connection_id":111705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:22:03] local.INFO: TCP Data received {"connection_id":110910,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:22:03] local.INFO: Processing buffer {"connection_id":110910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:22:03] local.INFO: Packet analysis {"connection_id":110910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:22:03] local.INFO: Extracted packet for processing {"connection_id":110910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 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-06-23 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":110910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":110910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":110910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:22:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":110910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:22:03] local.INFO: GPS data processed {"connection_id":110910,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:22:03] local.INFO: Acknowledgment sent {"connection_id":110910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:22:18] local.INFO: TCP Data received {"connection_id":112645,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:22:18] local.INFO: Processing buffer {"connection_id":112645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:22:18] local.INFO: IMEI packet received {"connection_id":112645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":112645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:22:23] local.INFO: TCP Data received {"connection_id":112645,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:22:23] local.INFO: Processing buffer {"connection_id":112645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:22:23] local.INFO: IMEI packet received {"connection_id":112645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":112645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:22:24] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:22:24] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:22:24] local.INFO: IMEI packet received {"connection_id":110911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":110911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:22:24] local.INFO: TCP Data received {"connection_id":112645,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:22:24] local.INFO: Processing buffer {"connection_id":112645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:22:24] local.INFO: Packet analysis {"connection_id":112645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:22:24] local.INFO: Extracted packet for processing {"connection_id":112645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:22:24] 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-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:22:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":112645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:22:24] local.INFO: GPS data processed {"connection_id":112645,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:22:24] local.INFO: Acknowledgment sent {"connection_id":112645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:22:29] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:22:29] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:22:29] local.INFO: IMEI packet received {"connection_id":110911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":110911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:22:30] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:22:30] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:22:30] local.INFO: Packet analysis {"connection_id":110911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:22:30] local.INFO: Extracted packet for processing {"connection_id":110911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:22:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":110911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:22:30] local.INFO: GPS data processed {"connection_id":110911,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:22:30] local.INFO: Acknowledgment sent {"connection_id":110911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:22:55] local.INFO: TCP Data received {"connection_id":112645,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:22:55] local.INFO: Processing buffer {"connection_id":112645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:22:55] local.INFO: Packet analysis {"connection_id":112645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:22:55] local.INFO: Extracted packet for processing {"connection_id":112645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:22:55] 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-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":112645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":112645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":112645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:22:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":112645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:22:55] local.INFO: GPS data processed {"connection_id":112645,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:22:55] local.INFO: Acknowledgment sent {"connection_id":112645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:23:02] local.INFO: TCP Data received {"connection_id":110911,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:23:02] local.INFO: Processing buffer {"connection_id":110911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e0cac0012cb29b8007823df8004a00cf26..."} 
[2026-06-23 15:23:02] local.INFO: Packet analysis {"connection_id":110911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:23:02] local.INFO: Extracted packet for processing {"connection_id":110911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e0"} 
[2026-06-23 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208056000,"timestamp_ms":1782208056000,"timestamp_seconds":1782208056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e0cac0"} 
[2026-06-23 15:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245185280001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245185280001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":110911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:23:02] local.INFO: GPS data processed {"connection_id":110911,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:23:02] local.INFO: Acknowledgment sent {"connection_id":110911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:23:13] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:23:13] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:23:13] local.INFO: IMEI packet received {"connection_id":111095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":111095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:23:18] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:23:18] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:23:18] local.INFO: IMEI packet received {"connection_id":111095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":111095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:23:19] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:23:19] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:23:19] local.INFO: Packet analysis {"connection_id":111095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:23:19] local.INFO: Extracted packet for processing {"connection_id":111095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:23:19] 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-06-23 15:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:23:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":111095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:23:19] local.INFO: GPS data processed {"connection_id":111095,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:23:19] local.INFO: Acknowledgment sent {"connection_id":111095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:23:23] local.INFO: TCP Data received {"connection_id":111707,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:23:23] local.INFO: Processing buffer {"connection_id":111707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:23:23] local.INFO: IMEI packet received {"connection_id":111707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":111707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:23:29] local.INFO: TCP Data received {"connection_id":111707,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:23:29] local.INFO: Processing buffer {"connection_id":111707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:23:29] local.INFO: IMEI packet received {"connection_id":111707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":111707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:23:30] local.INFO: TCP Data received {"connection_id":111707,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:23:30] local.INFO: Processing buffer {"connection_id":111707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:23:30] local.INFO: Packet analysis {"connection_id":111707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:23:30] local.INFO: Extracted packet for processing {"connection_id":111707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:23:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 15:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:23: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-06-23 15: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-06-23 15:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":111707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:23:30] local.INFO: GPS data processed {"connection_id":111707,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:23:30] local.INFO: Acknowledgment sent {"connection_id":111707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:23:50] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:23:50] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:23:50] local.INFO: Packet analysis {"connection_id":111095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:23:50] local.INFO: Extracted packet for processing {"connection_id":111095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:23:50] 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-06-23 15:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:23:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":111095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:23:50] local.INFO: GPS data processed {"connection_id":111095,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:23:50] local.INFO: Acknowledgment sent {"connection_id":111095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:24:02] local.INFO: TCP Data received {"connection_id":111707,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:24:02] local.INFO: Processing buffer {"connection_id":111707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:24:02] local.INFO: Packet analysis {"connection_id":111707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:02] local.INFO: Extracted packet for processing {"connection_id":111707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 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-06-23 15:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:24: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-06-23 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-06-23 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-06-23 15:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":111707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:24:02] local.INFO: GPS data processed {"connection_id":111707,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:24:02] local.INFO: Acknowledgment sent {"connection_id":111707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:24:13] local.INFO: TCP Data received {"connection_id":111709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:24:13] local.INFO: Processing buffer {"connection_id":111709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:24:13] local.INFO: IMEI packet received {"connection_id":111709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":111709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:24:15] local.INFO: TCP Data received {"connection_id":111710,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:24:15] local.INFO: Processing buffer {"connection_id":111710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:24:15] local.INFO: IMEI packet received {"connection_id":111710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":111710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:24:18] local.INFO: TCP Data received {"connection_id":111709,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:24:18] local.INFO: Processing buffer {"connection_id":111709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:24:18] local.INFO: IMEI packet received {"connection_id":111709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":111709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:24:19] local.INFO: TCP Data received {"connection_id":111709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:24:19] local.INFO: Processing buffer {"connection_id":111709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:24:19] local.INFO: Packet analysis {"connection_id":111709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:24:19] local.INFO: Extracted packet for processing {"connection_id":111709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:24:19] 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-06-23 15:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:24:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":111709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:24:19] local.INFO: GPS data processed {"connection_id":111709,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:24:19] local.INFO: Acknowledgment sent {"connection_id":111709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:24:20] local.INFO: TCP Data received {"connection_id":111710,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:24:20] local.INFO: Processing buffer {"connection_id":111710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:24:20] local.INFO: IMEI packet received {"connection_id":111710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":111710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:24:20] local.INFO: TCP Data received {"connection_id":111710,"ip":"42.106.6.28","data_length":93,"data_hex":"00000000000000518e010000019ef3e579f8012d79edc005ecae50000100fe1d..."} 
[2026-06-23 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111710,"packet_length":93,"packet_hex":"00000000000000518e010000019ef3e579f8012d79edc005ecae50000100fe1d..."} 
[2026-06-23 15:24:20] local.INFO: Processing buffer {"connection_id":111710,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ef3e579f8012d79edc005ecae50000100fe1d..."} 
[2026-06-23 15:24:20] local.INFO: Packet analysis {"connection_id":111710,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ef3e5"} 
[2026-06-23 15:24:20] local.INFO: Extracted packet for processing {"connection_id":111710,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ef3e5"} 
[2026-06-23 15:24:20] local.INFO: GPS Element Parsed {"raw_longitude":762965440,"raw_latitude":99397200,"longitude_deg":76.296544,"latitude_deg":9.93972,"altitude":1,"angle":254,"satellites":29,"speed":1,"hex_longitude":"2d79edc0","hex_latitude":"05ecae50","is_valid_coordinates":true} 
[2026-06-23 15:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-23 15:24: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-06-23 15:24: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-06-23 15:24:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:24:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 15:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111710,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-23 15:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111710,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 15:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111710,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 15:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 15:24:20] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 15:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":111710,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 15:24:20] local.ERROR: GPS data processing failed {"connection_id":111710,"error":"No valid data to process"} 
[2026-06-23 15:24:20] local.INFO: Acknowledgment sent {"connection_id":111710,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 15:24:21] local.INFO: TCP Data received {"connection_id":111710,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e58998012d79ecc005ecad900001010c1d..."} 
[2026-06-23 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e58998012d79ecc005ecad900001010c1d..."} 
[2026-06-23 15:24:21] local.INFO: Processing buffer {"connection_id":111710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e58998012d79ecc005ecad900001010c1d..."} 
[2026-06-23 15:24:21] local.INFO: Packet analysis {"connection_id":111710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:21] local.INFO: Extracted packet for processing {"connection_id":111710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:21] local.INFO: GPS Element Parsed {"raw_longitude":762965184,"raw_latitude":99397008,"longitude_deg":76.2965184,"latitude_deg":9.9397008,"altitude":1,"angle":268,"satellites":29,"speed":2,"hex_longitude":"2d79ecc0","hex_latitude":"05ecad90","is_valid_coordinates":true} 
[2026-06-23 15:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245340928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96348245436923904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785889579747921920,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782208367000,"timestamp_ms":1782208367000,"timestamp_seconds":1782208367,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e58998"} 
[2026-06-23 15:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 15:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245340928001,"66":13091,"157":206,"87":13824,"24":2,"16":96348245436923904,"45":8785889579747921920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245340928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:24:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:24:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96348245436923904,"km_value":96348245436923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785889579747921920,"description":"Unknown IO ID 45"} 
[2026-06-23 15:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245340928001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8785889579747921920}} 
[2026-06-23 15:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":111710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:24:21] local.INFO: GPS data processed {"connection_id":111710,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:24:21] local.INFO: Acknowledgment sent {"connection_id":111710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:24:23] local.INFO: TCP Data received {"connection_id":111096,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:24:23] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:24:23] local.INFO: IMEI packet received {"connection_id":111096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":111096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:24:30] local.INFO: TCP Data received {"connection_id":111096,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:24:30] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:24:30] local.INFO: IMEI packet received {"connection_id":111096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":111096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:24:31] local.INFO: TCP Data received {"connection_id":111096,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:24:31] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:24:31] local.INFO: Packet analysis {"connection_id":111096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:31] local.INFO: Extracted packet for processing {"connection_id":111096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 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-06-23 15:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:24:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":111096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:24:31] local.INFO: GPS data processed {"connection_id":111096,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:24:31] local.INFO: Acknowledgment sent {"connection_id":111096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:24:32] local.INFO: TCP Data received {"connection_id":111708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:24:32] local.INFO: Processing buffer {"connection_id":111708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:24:32] local.INFO: IMEI packet received {"connection_id":111708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":111708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:24:50] local.INFO: TCP Data received {"connection_id":111709,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:24:50] local.INFO: Processing buffer {"connection_id":111709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:24:50] local.INFO: Packet analysis {"connection_id":111709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:24:50] local.INFO: Extracted packet for processing {"connection_id":111709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:24:50] 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-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:24:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":111709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:24:50] local.INFO: GPS data processed {"connection_id":111709,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:24:50] local.INFO: Acknowledgment sent {"connection_id":111709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:24:52] local.INFO: TCP Data received {"connection_id":111710,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e5d7b8012d79ebc005ecacc00001010b1a..."} 
[2026-06-23 15:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e5d7b8012d79ebc005ecacc00001010b1a..."} 
[2026-06-23 15:24:52] local.INFO: Processing buffer {"connection_id":111710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e5d7b8012d79ebc005ecacc00001010b1a..."} 
[2026-06-23 15:24:52] local.INFO: Packet analysis {"connection_id":111710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:52] local.INFO: Extracted packet for processing {"connection_id":111710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:24:52] local.INFO: GPS Element Parsed {"raw_longitude":762964928,"raw_latitude":99396800,"longitude_deg":76.2964928,"latitude_deg":9.93968,"altitude":1,"angle":267,"satellites":26,"speed":0,"hex_longitude":"2d79ebc0","hex_latitude":"05ecacc0","is_valid_coordinates":true} 
[2026-06-23 15:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245341952001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96348262616793088,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785608104771162112,"note":"Value kept but may cause issues"} 
[2026-06-23 15:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782208387000,"timestamp_ms":1782208387000,"timestamp_seconds":1782208387,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e5d7b8"} 
[2026-06-23 15:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 15:24:52] 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-06-23 15:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245341952001,"66":13059,"157":206,"87":13824,"24":0,"16":96348262616793088,"45":8785608104771162112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245341952001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96348262616793088,"km_value":96348262616793.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785608104771162112,"description":"Unknown IO ID 45"} 
[2026-06-23 15:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245341952001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8785608104771162112}} 
[2026-06-23 15:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":111710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:24:52] local.INFO: GPS data processed {"connection_id":111710,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:24:52] local.INFO: Acknowledgment sent {"connection_id":111710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:04] local.INFO: TCP Data received {"connection_id":111096,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:04] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:04] local.INFO: Packet analysis {"connection_id":111096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:25:04] local.INFO: Extracted packet for processing {"connection_id":111096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 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-06-23 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:25: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-06-23 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-06-23 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-06-23 15:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":111096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:04] local.INFO: GPS data processed {"connection_id":111096,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:04] local.INFO: Acknowledgment sent {"connection_id":111096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:06] local.INFO: TCP Data received {"connection_id":112647,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:25:06] local.INFO: Processing buffer {"connection_id":112647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:25:06] local.INFO: IMEI packet received {"connection_id":112647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":112647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:25:10] local.INFO: TCP Data received {"connection_id":112646,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:25:10] local.INFO: Processing buffer {"connection_id":112646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:25:10] local.INFO: IMEI packet received {"connection_id":112646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":112646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:25:14] local.INFO: TCP Data received {"connection_id":112648,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:25:14] local.INFO: Processing buffer {"connection_id":112648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:25:14] local.INFO: IMEI packet received {"connection_id":112648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":112648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:25:15] local.INFO: TCP Data received {"connection_id":112646,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:25:15] local.INFO: Processing buffer {"connection_id":112646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:25:15] local.INFO: IMEI packet received {"connection_id":112646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":112646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:25:16] local.INFO: TCP Data received {"connection_id":112646,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e76df8012d79f30005ec7f90000200961f..."} 
[2026-06-23 15:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e76df8012d79f30005ec7f90000200961f..."} 
[2026-06-23 15:25:16] local.INFO: Processing buffer {"connection_id":112646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e76df8012d79f30005ec7f90000200961f..."} 
[2026-06-23 15:25:16] local.INFO: Packet analysis {"connection_id":112646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e7"} 
[2026-06-23 15:25:16] local.INFO: Extracted packet for processing {"connection_id":112646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e7"} 
[2026-06-23 15:25:16] local.INFO: GPS Element Parsed {"raw_longitude":762966784,"raw_latitude":99385232,"longitude_deg":76.2966784,"latitude_deg":9.9385232,"altitude":2,"angle":150,"satellites":31,"speed":26,"hex_longitude":"2d79f300","hex_latitude":"05ec7f90","is_valid_coordinates":true} 
[2026-06-23 15:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245370112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96348945516593152,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783637779933382656,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208491000,"timestamp_ms":1782208491000,"timestamp_seconds":1782208491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e76df8"} 
[2026-06-23 15:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:16] 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-06-23 15:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-23 15:25:16] 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-06-23 15:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245370112001,"66":13080,"157":206,"87":13824,"24":26,"16":96348945516593152,"45":8783637779933382656},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245370112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:25:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96348945516593152,"km_value":96348945516593.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783637779933382656,"description":"Unknown IO ID 45"} 
[2026-06-23 15:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245370112001,"power":13080,"unknown_157":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8783637779933382656}} 
[2026-06-23 15:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":112646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:16] local.INFO: GPS data processed {"connection_id":112646,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:16] local.INFO: Acknowledgment sent {"connection_id":112646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:18] local.INFO: TCP Data received {"connection_id":112648,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:25:18] local.INFO: Processing buffer {"connection_id":112648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:25:18] local.INFO: IMEI packet received {"connection_id":112648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":112648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:25:19] local.INFO: TCP Data received {"connection_id":112648,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:25:19] local.INFO: Processing buffer {"connection_id":112648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:25:19] local.INFO: Packet analysis {"connection_id":112648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:25:19] local.INFO: Extracted packet for processing {"connection_id":112648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:19] 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-06-23 15:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":112648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:19] local.INFO: GPS data processed {"connection_id":112648,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:19] local.INFO: Acknowledgment sent {"connection_id":112648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:20] local.INFO: TCP Data received {"connection_id":112646,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e78180012d79f78005ec7818000100831f..."} 
[2026-06-23 15:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e78180012d79f78005ec7818000100831f..."} 
[2026-06-23 15:25:20] local.INFO: Processing buffer {"connection_id":112646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e78180012d79f78005ec7818000100831f..."} 
[2026-06-23 15:25:20] local.INFO: Packet analysis {"connection_id":112646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e7"} 
[2026-06-23 15:25:20] local.INFO: Extracted packet for processing {"connection_id":112646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e7"} 
[2026-06-23 15:25:20] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":99383320,"longitude_deg":76.2967936,"latitude_deg":9.938332,"altitude":1,"angle":131,"satellites":31,"speed":8,"hex_longitude":"2d79f780","hex_latitude":"05ec7818","is_valid_coordinates":true} 
[2026-06-23 15:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245373696001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349052890775552,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787367323372589056,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782208496000,"timestamp_ms":1782208496000,"timestamp_seconds":1782208496,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e78180"} 
[2026-06-23 15:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:20] 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-06-23 15:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-23 15:25:20] 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-06-23 15:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245373696001,"66":12765,"157":206,"87":13824,"24":8,"16":96349052890775552,"45":8787367323372589056},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245373696001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:25:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349052890775552,"km_value":96349052890775.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787367323372589056,"description":"Unknown IO ID 45"} 
[2026-06-23 15:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245373696001,"power":12765,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8787367323372589056}} 
[2026-06-23 15:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":112646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:20] local.INFO: GPS data processed {"connection_id":112646,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:20] local.INFO: Acknowledgment sent {"connection_id":112646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:29] local.INFO: TCP Data received {"connection_id":112649,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:25:29] local.INFO: Processing buffer {"connection_id":112649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:25:29] local.INFO: IMEI packet received {"connection_id":112649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":112649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:25:33] local.INFO: TCP Data received {"connection_id":112649,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:25:33] local.INFO: Processing buffer {"connection_id":112649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:25:33] local.INFO: IMEI packet received {"connection_id":112649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":112649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:25:35] local.INFO: TCP Data received {"connection_id":112649,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:35] local.INFO: Processing buffer {"connection_id":112649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:35] local.INFO: Packet analysis {"connection_id":112649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:25:35] local.INFO: Extracted packet for processing {"connection_id":112649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:25:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 15:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:25: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-06-23 15:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":112649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:35] local.INFO: GPS data processed {"connection_id":112649,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:35] local.INFO: Acknowledgment sent {"connection_id":112649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:40] local.INFO: TCP Data received {"connection_id":112649,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:40] local.INFO: Processing buffer {"connection_id":112649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:25:40] local.INFO: Packet analysis {"connection_id":112649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:25:40] local.INFO: Extracted packet for processing {"connection_id":112649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:25:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 15:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:25: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-06-23 15: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-06-23 15:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:25:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":112649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:40] local.INFO: GPS data processed {"connection_id":112649,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:40] local.INFO: Acknowledgment sent {"connection_id":112649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:50] local.INFO: TCP Data received {"connection_id":112648,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:25:50] local.INFO: Processing buffer {"connection_id":112648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:25:50] local.INFO: Packet analysis {"connection_id":112648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:25:50] local.INFO: Extracted packet for processing {"connection_id":112648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:50] 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-06-23 15:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":112648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:51] local.INFO: GPS data processed {"connection_id":112648,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:51] local.INFO: Acknowledgment sent {"connection_id":112648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:25:51] local.INFO: TCP Data received {"connection_id":112646,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e80650012d7a170005ec82e0000200f71f..."} 
[2026-06-23 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e80650012d7a170005ec82e0000200f71f..."} 
[2026-06-23 15:25:51] local.INFO: Processing buffer {"connection_id":112646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e80650012d7a170005ec82e0000200f71f..."} 
[2026-06-23 15:25:51] local.INFO: Packet analysis {"connection_id":112646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:25:51] local.INFO: Extracted packet for processing {"connection_id":112646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":762976000,"raw_latitude":99386080,"longitude_deg":76.2976,"latitude_deg":9.938608,"altitude":2,"angle":247,"satellites":31,"speed":11,"hex_longitude":"2d7a1700","hex_latitude":"05ec82e0","is_valid_coordinates":true} 
[2026-06-23 15:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245383168001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349637006327808,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798063372487907328,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782208530000,"timestamp_ms":1782208530000,"timestamp_seconds":1782208530,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e80650"} 
[2026-06-23 15:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4092061456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":45057,"corrected_to":0} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3891191809,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9072501432153858048,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221613699,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967985664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-2078409933197705211,"note":"Value kept but may cause issues"} 
[2026-06-23 15:25:51] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,77,158,250,45,133,4,31,10,66,246,192,30,242,1,240,7,227,243,236,113,205,8,234,28,120,32,239,52,2,86,5,9,51,231],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":246,"original":45057,"validated":0},{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-23 15:25:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288484496482435072,"timestamp_seconds":288484496482435.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245383168001,"66":13319,"157":206,"87":13824,"24":11,"16":96349637006327808,"45":8798063372487907328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245383168001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:25:51] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:25:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349637006327808,"km_value":96349637006327.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798063372487907328,"description":"Unknown IO ID 45"} 
[2026-06-23 15:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245383168001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8798063372487907328}} 
[2026-06-23 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":112646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:25:51] local.INFO: GPS data processed {"connection_id":112646,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:25:51] local.INFO: Acknowledgment sent {"connection_id":112646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:26:10] local.INFO: TCP Data received {"connection_id":112650,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:26:10] local.INFO: Processing buffer {"connection_id":112650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:26:10] local.INFO: IMEI packet received {"connection_id":112650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":112650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:26:13] local.INFO: TCP Data received {"connection_id":111711,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:26:13] local.INFO: Processing buffer {"connection_id":111711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:26:13] local.INFO: IMEI packet received {"connection_id":111711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":111711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:26:15] local.INFO: TCP Data received {"connection_id":112650,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:26:15] local.INFO: Processing buffer {"connection_id":112650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:26:15] local.INFO: IMEI packet received {"connection_id":112650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":112650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:26:16] local.INFO: TCP Data received {"connection_id":112650,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:26:16] local.INFO: Processing buffer {"connection_id":112650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:26:16] local.INFO: Packet analysis {"connection_id":112650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:26:16] local.INFO: Extracted packet for processing {"connection_id":112650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:26:16] 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-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245383680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797500422534389760,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:26:16] 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-06-23 15:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4092062456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":45057,"corrected_to":0} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3891447809,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-9031969035509424128,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968038912,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-1796934956487000059,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,77,158,254,45,132,4,31,10,66,250,133,246,192,1,240,7,227,243,236,113,205,9,238,28,88,32,239,52,2,86,5,3,62,231],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":246,"original":45057,"validated":0},{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-23 15:26:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144386900592623616,"timestamp_seconds":144386900592623.62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245383680001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8797500422534389760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245383680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:26:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:26:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797500422534389760,"description":"Unknown IO ID 45"} 
[2026-06-23 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245383680001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797500422534389760}} 
[2026-06-23 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":112650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:26:16] local.INFO: GPS data processed {"connection_id":112650,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:26:16] local.INFO: Acknowledgment sent {"connection_id":112650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:26:18] local.INFO: TCP Data received {"connection_id":111711,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:26:18] local.INFO: Processing buffer {"connection_id":111711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:26:18] local.INFO: IMEI packet received {"connection_id":111711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":111711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:26:19] local.INFO: TCP Data received {"connection_id":111711,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:26:19] local.INFO: Processing buffer {"connection_id":111711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:26:19] local.INFO: Packet analysis {"connection_id":111711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:26:19] local.INFO: Extracted packet for processing {"connection_id":111711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:26:19] 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-06-23 15:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:26:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:26:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":111711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:26:19] local.INFO: GPS data processed {"connection_id":111711,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:26:19] local.INFO: Acknowledgment sent {"connection_id":111711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:26:24] local.INFO: TCP Data received {"connection_id":111097,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:26:24] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:26:24] local.INFO: IMEI packet received {"connection_id":111097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":111097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:26:29] local.INFO: TCP Data received {"connection_id":111097,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:26:29] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:26:29] local.INFO: IMEI packet received {"connection_id":111097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":111097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:26:30] local.INFO: TCP Data received {"connection_id":111097,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:26:30] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:26:30] local.INFO: Packet analysis {"connection_id":111097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:26:30] local.INFO: Extracted packet for processing {"connection_id":111097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 15:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:26: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-06-23 15:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":111097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:26:30] local.INFO: GPS data processed {"connection_id":111097,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:26:30] local.INFO: Acknowledgment sent {"connection_id":111097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:26:47] local.INFO: TCP Data received {"connection_id":112650,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:26:47] local.INFO: Processing buffer {"connection_id":112650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:26:47] local.INFO: Packet analysis {"connection_id":112650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:26:47] local.INFO: Extracted packet for processing {"connection_id":112650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:26:47] 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-06-23 15:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:26:47] 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-06-23 15:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:26:47] 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-06-23 15:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:26:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:26:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":112650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:26:47] local.INFO: GPS data processed {"connection_id":112650,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:26:47] local.INFO: Acknowledgment sent {"connection_id":112650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:26:50] local.INFO: TCP Data received {"connection_id":111711,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:26:50] local.INFO: Processing buffer {"connection_id":111711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e458e8012d196ec0071fed90003e00ee23..."} 
[2026-06-23 15:26:50] local.INFO: Packet analysis {"connection_id":111711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:26:50] local.INFO: Extracted packet for processing {"connection_id":111711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e4"} 
[2026-06-23 15:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":35,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208289000,"timestamp_ms":1782208289000,"timestamp_seconds":1782208289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e458e8"} 
[2026-06-23 15:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:26:50] 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-06-23 15:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245244928001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:26:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245244928001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":111711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:26:50] local.INFO: GPS data processed {"connection_id":111711,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:26:50] local.INFO: Acknowledgment sent {"connection_id":111711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:27:02] local.INFO: TCP Data received {"connection_id":111097,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:27:02] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:27:02] local.INFO: Packet analysis {"connection_id":111097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:27:02] local.INFO: Extracted packet for processing {"connection_id":111097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 15:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:27: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-06-23 15:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":111097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:27:02] local.INFO: GPS data processed {"connection_id":111097,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:27:02] local.INFO: Acknowledgment sent {"connection_id":111097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:27:10] local.INFO: TCP Data received {"connection_id":112652,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:27:10] local.INFO: Processing buffer {"connection_id":112652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:27:10] local.INFO: IMEI packet received {"connection_id":112652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":112652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:27:15] local.INFO: TCP Data received {"connection_id":112652,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:27:15] local.INFO: Processing buffer {"connection_id":112652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:27:15] local.INFO: IMEI packet received {"connection_id":112652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":112652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:27:16] local.INFO: TCP Data received {"connection_id":112652,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:27:16] local.INFO: Processing buffer {"connection_id":112652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:27:16] local.INFO: Packet analysis {"connection_id":112652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:16] local.INFO: Extracted packet for processing {"connection_id":112652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:16] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:27:16] 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-06-23 15:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:27:16] 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-06-23 15:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:27:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:27:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":112652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:27:16] local.INFO: GPS data processed {"connection_id":112652,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:27:16] local.INFO: Acknowledgment sent {"connection_id":112652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:27:18] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:27:18] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:27:18] local.INFO: IMEI packet received {"connection_id":111098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":111098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:27:23] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:27:23] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:27:23] local.INFO: IMEI packet received {"connection_id":111098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":111098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:27:24] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:27:24] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:27:24] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:27:24] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:27:24] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:27:24] local.INFO: Packet analysis {"connection_id":111098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:24] local.INFO: Extracted packet for processing {"connection_id":111098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:27:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":111098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:27:24] local.INFO: GPS data processed {"connection_id":111098,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:27:24] local.INFO: Acknowledgment sent {"connection_id":111098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:27:29] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:27:29] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:27:29] local.INFO: Packet analysis {"connection_id":111098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:29] local.INFO: Extracted packet for processing {"connection_id":111098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27: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-06-23 15:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:27:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":111098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:27:29] local.INFO: GPS data processed {"connection_id":111098,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:27:29] local.INFO: Acknowledgment sent {"connection_id":111098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:27:29] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:27:29] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:27:29] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:27:30] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:27:30] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:27:30] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:27:30] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 15:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:27: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-06-23 15:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:27:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:27:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:27:30] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:27:30] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:27:47] local.INFO: TCP Data received {"connection_id":112652,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:27:47] local.INFO: Processing buffer {"connection_id":112652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:27:47] local.INFO: Packet analysis {"connection_id":112652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:47] local.INFO: Extracted packet for processing {"connection_id":112652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:27:47] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:27:47] 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-06-23 15:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:27:47] 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-06-23 15:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:27:47] 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-06-23 15:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:27:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:27:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":112652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:27:47] local.INFO: GPS data processed {"connection_id":112652,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:27:47] local.INFO: Acknowledgment sent {"connection_id":112652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:28:02] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:28:02] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e56288012cb29b8007823df8004a00cf27..."} 
[2026-06-23 15:28:02] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:28:02] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e5"} 
[2026-06-23 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245262336001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208357000,"timestamp_ms":1782208357000,"timestamp_seconds":1782208357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e56288"} 
[2026-06-23 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-06-23 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:28: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-06-23 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-06-23 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-06-23 15:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245262336001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245262336001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:28:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245262336001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:28:02] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:28:02] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:28:10] local.INFO: TCP Data received {"connection_id":110913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:28:10] local.INFO: Processing buffer {"connection_id":110913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:28:10] local.INFO: IMEI packet received {"connection_id":110913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":110913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:28:13] local.INFO: TCP Data received {"connection_id":111713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:28:13] local.INFO: Processing buffer {"connection_id":111713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:28:13] local.INFO: IMEI packet received {"connection_id":111713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":111713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:28:15] local.INFO: TCP Data received {"connection_id":110913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:28:15] local.INFO: Processing buffer {"connection_id":110913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:28:15] local.INFO: IMEI packet received {"connection_id":110913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":110913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:28:16] local.INFO: TCP Data received {"connection_id":110913,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:28:16] local.INFO: Processing buffer {"connection_id":110913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:28:16] local.INFO: Packet analysis {"connection_id":110913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:16] local.INFO: Extracted packet for processing {"connection_id":110913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:28:16] 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-06-23 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:28:16] 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-06-23 15:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:28:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:28:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":110913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:28:16] local.INFO: GPS data processed {"connection_id":110913,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:28:16] local.INFO: Acknowledgment sent {"connection_id":110913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:28:18] local.INFO: TCP Data received {"connection_id":111713,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:28:18] local.INFO: Processing buffer {"connection_id":111713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:28:18] local.INFO: IMEI packet received {"connection_id":111713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":111713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:28:19] local.INFO: TCP Data received {"connection_id":111713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:28:19] local.INFO: Processing buffer {"connection_id":111713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:28:19] local.INFO: Packet analysis {"connection_id":111713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:19] local.INFO: Extracted packet for processing {"connection_id":111713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:28:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":111713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:28:19] local.INFO: GPS data processed {"connection_id":111713,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:28:19] local.INFO: Acknowledgment sent {"connection_id":111713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:28:23] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:28:23] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:28:23] local.INFO: IMEI packet received {"connection_id":111100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":111100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:28:29] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:28:29] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:28:29] local.INFO: IMEI packet received {"connection_id":111100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":111100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:28:30] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:28:30] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:28:30] local.INFO: Packet analysis {"connection_id":111100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:28:30] local.INFO: Extracted packet for processing {"connection_id":111100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:28: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-06-23 15:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:28:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:28:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":111100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:28:30] local.INFO: GPS data processed {"connection_id":111100,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:28:30] local.INFO: Acknowledgment sent {"connection_id":111100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:28:47] local.INFO: TCP Data received {"connection_id":110913,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:28:47] local.INFO: Processing buffer {"connection_id":110913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:28:47] local.INFO: Packet analysis {"connection_id":110913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:47] local.INFO: Extracted packet for processing {"connection_id":110913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:28:47] 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-06-23 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:28:47] 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-06-23 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:28:47] 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-06-23 15:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:28:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:28:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":110913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:28:47] local.INFO: GPS data processed {"connection_id":110913,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:28:47] local.INFO: Acknowledgment sent {"connection_id":110913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:28:50] local.INFO: TCP Data received {"connection_id":111713,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:28:50] local.INFO: Processing buffer {"connection_id":111713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:28:50] local.INFO: Packet analysis {"connection_id":111713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:50] local.INFO: Extracted packet for processing {"connection_id":111713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:28:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":111713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:28:50] local.INFO: GPS data processed {"connection_id":111713,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:28:50] local.INFO: Acknowledgment sent {"connection_id":111713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:02] local.INFO: TCP Data received {"connection_id":111100,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:02] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:02] local.INFO: Packet analysis {"connection_id":111100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:29:02] local.INFO: Extracted packet for processing {"connection_id":111100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:29:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:29: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-06-23 15: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-06-23 15:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":111100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:02] local.INFO: GPS data processed {"connection_id":111100,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:02] local.INFO: Acknowledgment sent {"connection_id":111100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:10] local.INFO: TCP Data received {"connection_id":112653,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:29:10] local.INFO: Processing buffer {"connection_id":112653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:29:10] local.INFO: IMEI packet received {"connection_id":112653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":112653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:29:13] local.INFO: TCP Data received {"connection_id":110915,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:29:13] local.INFO: Processing buffer {"connection_id":110915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:29:13] local.INFO: IMEI packet received {"connection_id":110915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":110915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:29:15] local.INFO: TCP Data received {"connection_id":112653,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:29:15] local.INFO: Processing buffer {"connection_id":112653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:29:15] local.INFO: IMEI packet received {"connection_id":112653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":112653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:29:16] local.INFO: TCP Data received {"connection_id":112653,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:29:16] local.INFO: Processing buffer {"connection_id":112653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:29:16] local.INFO: Packet analysis {"connection_id":112653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:16] local.INFO: Extracted packet for processing {"connection_id":112653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:16] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:29:16] 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-06-23 15:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:16] 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-06-23 15:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:29:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":112653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:16] local.INFO: GPS data processed {"connection_id":112653,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:16] local.INFO: Acknowledgment sent {"connection_id":112653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:18] local.INFO: TCP Data received {"connection_id":110915,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:29:18] local.INFO: Processing buffer {"connection_id":110915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:29:18] local.INFO: IMEI packet received {"connection_id":110915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":110915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:29:19] local.INFO: TCP Data received {"connection_id":110915,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:29:19] local.INFO: Processing buffer {"connection_id":110915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:29:19] local.INFO: Packet analysis {"connection_id":110915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:19] local.INFO: Extracted packet for processing {"connection_id":110915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":110915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":110915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":110915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:29:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":110915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:19] local.INFO: GPS data processed {"connection_id":110915,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:19] local.INFO: Acknowledgment sent {"connection_id":110915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:29] local.INFO: TCP Data received {"connection_id":111714,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:29:29] local.INFO: Processing buffer {"connection_id":111714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:29:29] local.INFO: IMEI packet received {"connection_id":111714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":111714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:29:34] local.INFO: TCP Data received {"connection_id":111714,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:29:34] local.INFO: Processing buffer {"connection_id":111714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:29:34] local.INFO: IMEI packet received {"connection_id":111714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":111714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:29:35] local.INFO: TCP Data received {"connection_id":111714,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:35] local.INFO: Processing buffer {"connection_id":111714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:35] local.INFO: Packet analysis {"connection_id":111714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:29:35] local.INFO: Extracted packet for processing {"connection_id":111714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:29: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-06-23 15: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-06-23 15:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:29:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":111714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:35] local.INFO: GPS data processed {"connection_id":111714,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:35] local.INFO: Acknowledgment sent {"connection_id":111714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:40] local.INFO: TCP Data received {"connection_id":111714,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:40] local.INFO: Processing buffer {"connection_id":111714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:29:40] local.INFO: Packet analysis {"connection_id":111714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:29:40] local.INFO: Extracted packet for processing {"connection_id":111714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:29: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-06-23 15: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-06-23 15:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":111714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:40] local.INFO: GPS data processed {"connection_id":111714,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:40] local.INFO: Acknowledgment sent {"connection_id":111714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:47] local.INFO: TCP Data received {"connection_id":112653,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:29:47] local.INFO: Processing buffer {"connection_id":112653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:29:47] local.INFO: Packet analysis {"connection_id":112653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:47] local.INFO: Extracted packet for processing {"connection_id":112653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:47] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:29:47] 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-06-23 15:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:47] 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-06-23 15:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:29:47] 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-06-23 15:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:29:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":112653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:47] local.INFO: GPS data processed {"connection_id":112653,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:47] local.INFO: Acknowledgment sent {"connection_id":112653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:29:50] local.INFO: TCP Data received {"connection_id":110915,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:29:50] local.INFO: Processing buffer {"connection_id":110915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:29:50] local.INFO: Packet analysis {"connection_id":110915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:50] local.INFO: Extracted packet for processing {"connection_id":110915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":110915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":110915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":110915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:29:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":110915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:29:50] local.INFO: GPS data processed {"connection_id":110915,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:29:50] local.INFO: Acknowledgment sent {"connection_id":110915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:30:13] local.INFO: TCP Data received {"connection_id":112655,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:30:13] local.INFO: Processing buffer {"connection_id":112655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:30:13] local.INFO: IMEI packet received {"connection_id":112655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":112655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:30:15] local.INFO: TCP Data received {"connection_id":112654,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:30:15] local.INFO: Processing buffer {"connection_id":112654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:30:15] local.INFO: IMEI packet received {"connection_id":112654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":112654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:30:18] local.INFO: TCP Data received {"connection_id":112655,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:30:18] local.INFO: Processing buffer {"connection_id":112655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:30:18] local.INFO: IMEI packet received {"connection_id":112655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":112655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:30:19] local.INFO: TCP Data received {"connection_id":112655,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:30:19] local.INFO: Processing buffer {"connection_id":112655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:30:19] local.INFO: Packet analysis {"connection_id":112655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:19] local.INFO: Extracted packet for processing {"connection_id":112655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:30:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":112655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:30:19] local.INFO: GPS data processed {"connection_id":112655,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:30:19] local.INFO: Acknowledgment sent {"connection_id":112655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:30:20] local.INFO: TCP Data received {"connection_id":112654,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:30:20] local.INFO: Processing buffer {"connection_id":112654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:30:20] local.INFO: IMEI packet received {"connection_id":112654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":112654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:30:21] local.INFO: TCP Data received {"connection_id":112654,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:30:21] local.INFO: Processing buffer {"connection_id":112654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:30:21] local.INFO: Packet analysis {"connection_id":112654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:21] local.INFO: Extracted packet for processing {"connection_id":112654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:30:21] 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-06-23 15:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:30:21] 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-06-23 15:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:30:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:30:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":112654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:30:21] local.INFO: GPS data processed {"connection_id":112654,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:30:21] local.INFO: Acknowledgment sent {"connection_id":112654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:30:24] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:30:24] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:30:24] local.INFO: IMEI packet received {"connection_id":111102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":111102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:30:26] local.INFO: TCP Data received {"connection_id":112654,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:30:26] local.INFO: Processing buffer {"connection_id":112654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e821a8012d7a114005ec80c0000400fd1e..."} 
[2026-06-23 15:30:26] local.INFO: Packet analysis {"connection_id":112654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:26] local.INFO: Extracted packet for processing {"connection_id":112654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385536,"longitude_deg":76.2974528,"latitude_deg":9.9385536,"altitude":4,"angle":253,"satellites":30,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec80c0","is_valid_coordinates":true} 
[2026-06-23 15:30:26] 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-06-23 15:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782208537000,"timestamp_ms":1782208537000,"timestamp_seconds":1782208537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e821a8"} 
[2026-06-23 15:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:30:26] 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-06-23 15:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":13015,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":13015,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":112654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:30:26] local.INFO: GPS data processed {"connection_id":112654,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:30:26] local.INFO: Acknowledgment sent {"connection_id":112654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:30:29] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:30:29] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:30:29] local.INFO: IMEI packet received {"connection_id":111102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":111102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:30:30] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:30:30] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:30:30] local.INFO: Packet analysis {"connection_id":111102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:30:30] local.INFO: Extracted packet for processing {"connection_id":111102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:30: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-06-23 15:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:30:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":111102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:30:30] local.INFO: GPS data processed {"connection_id":111102,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:30:30] local.INFO: Acknowledgment sent {"connection_id":111102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:30:32] local.INFO: TCP Data received {"connection_id":111101,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:30:32] local.INFO: Processing buffer {"connection_id":111101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:30:32] local.INFO: IMEI packet received {"connection_id":111101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":111101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:30:50] local.INFO: TCP Data received {"connection_id":112655,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:30:50] local.INFO: Processing buffer {"connection_id":112655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:30:50] local.INFO: Packet analysis {"connection_id":112655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:50] local.INFO: Extracted packet for processing {"connection_id":112655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:30:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":112655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:30:50] local.INFO: GPS data processed {"connection_id":112655,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:30:50] local.INFO: Acknowledgment sent {"connection_id":112655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:02] local.INFO: TCP Data received {"connection_id":111102,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:31:02] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:31:02] local.INFO: Packet analysis {"connection_id":111102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:31:02] local.INFO: Extracted packet for processing {"connection_id":111102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:31: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-06-23 15: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-06-23 15:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:31:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":111102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:31:02] local.INFO: GPS data processed {"connection_id":111102,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:31:02] local.INFO: Acknowledgment sent {"connection_id":111102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:10] local.INFO: TCP Data received {"connection_id":110916,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:31:10] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:31:10] local.INFO: IMEI packet received {"connection_id":110916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":110916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:31:12] local.INFO: TCP Data received {"connection_id":111715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:31:12] local.INFO: Processing buffer {"connection_id":111715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:31:12] local.INFO: IMEI packet received {"connection_id":111715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":111715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:31:15] local.INFO: TCP Data received {"connection_id":110916,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:31:15] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:31:15] local.INFO: IMEI packet received {"connection_id":110916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":110916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:31:16] local.INFO: TCP Data received {"connection_id":110916,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:31:16] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:31:16] local.INFO: Packet analysis {"connection_id":110916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:31:16] local.INFO: Extracted packet for processing {"connection_id":110916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:31:16] 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-06-23 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":110916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:31:16] local.INFO: GPS data processed {"connection_id":110916,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:31:16] local.INFO: Acknowledgment sent {"connection_id":110916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:18] local.INFO: TCP Data received {"connection_id":110917,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:31:18] local.INFO: Processing buffer {"connection_id":110917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:31:18] local.INFO: IMEI packet received {"connection_id":110917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":110917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:31:23] local.INFO: TCP Data received {"connection_id":110917,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:31:23] local.INFO: Processing buffer {"connection_id":110917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:31:23] local.INFO: IMEI packet received {"connection_id":110917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":110917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:31:23] local.INFO: TCP Data received {"connection_id":112656,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:31:23] local.INFO: Processing buffer {"connection_id":112656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:31:23] local.INFO: IMEI packet received {"connection_id":112656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":112656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:31:24] local.INFO: TCP Data received {"connection_id":110917,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:31:24] local.INFO: Processing buffer {"connection_id":110917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:31:24] local.INFO: Packet analysis {"connection_id":110917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:31:24] local.INFO: Extracted packet for processing {"connection_id":110917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":110917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":110917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":110917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:31:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":110917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:31:24] local.INFO: GPS data processed {"connection_id":110917,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:31:24] local.INFO: Acknowledgment sent {"connection_id":110917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:29] local.INFO: TCP Data received {"connection_id":110917,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:31:29] local.INFO: Processing buffer {"connection_id":110917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e8f0b0012d196ec0071fed90003e00ee28..."} 
[2026-06-23 15:31:29] local.INFO: Packet analysis {"connection_id":110917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:31:29] local.INFO: Extracted packet for processing {"connection_id":110917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e8"} 
[2026-06-23 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":40,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245321984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31: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-06-23 15:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782208590000,"timestamp_ms":1782208590000,"timestamp_seconds":1782208590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e8f0b0"} 
[2026-06-23 15:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 15:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245321984001,"66":2144,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245321984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:31:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245321984001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":110917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:31:29] local.INFO: GPS data processed {"connection_id":110917,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:31:29] local.INFO: Acknowledgment sent {"connection_id":110917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:29] local.INFO: TCP Data received {"connection_id":112656,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:31:29] local.INFO: Processing buffer {"connection_id":112656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:31:29] local.INFO: IMEI packet received {"connection_id":112656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":112656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:31:30] local.INFO: TCP Data received {"connection_id":112656,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:31:30] local.INFO: Processing buffer {"connection_id":112656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:31:30] local.INFO: Packet analysis {"connection_id":112656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:31:30] local.INFO: Extracted packet for processing {"connection_id":112656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:31: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-06-23 15:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:31:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":112656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:31:30] local.INFO: GPS data processed {"connection_id":112656,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:31:30] local.INFO: Acknowledgment sent {"connection_id":112656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:43] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:43] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:43] local.INFO: IMEI packet received {"connection_id":111716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":111716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:31:45] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:45] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:45] local.INFO: IMEI packet received {"connection_id":111716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":111716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:31:47] local.INFO: TCP Data received {"connection_id":110916,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:31:47] local.INFO: Processing buffer {"connection_id":110916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:31:47] local.INFO: Packet analysis {"connection_id":110916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:31:47] local.INFO: Extracted packet for processing {"connection_id":110916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:31:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:31:47] 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-06-23 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:31:47] 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-06-23 15: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-06-23 15:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:31:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:31:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":110916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:31:47] local.INFO: GPS data processed {"connection_id":110916,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:31:47] local.INFO: Acknowledgment sent {"connection_id":110916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:31:48] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:48] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:31:48] local.INFO: IMEI packet received {"connection_id":111716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":111716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:31:50] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 15:31:50] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-23 15:31:50] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 15:31:50] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 15:31: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-06-23 15:31: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-06-23 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:31:50] 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-06-23 15:31:50] 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-06-23 15:31:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 15:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 15:31:50] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 15:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 15:31:50] local.ERROR: GPS data processing failed {"connection_id":111716,"error":"No valid data to process"} 
[2026-06-23 15:31:50] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 15:32:02] local.INFO: TCP Data received {"connection_id":112656,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:32:02] local.INFO: Processing buffer {"connection_id":112656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:32:02] local.INFO: Packet analysis {"connection_id":112656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:32:02] local.INFO: Extracted packet for processing {"connection_id":112656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 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-06-23 15:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:32: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-06-23 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-06-23 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-06-23 15:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:32:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":112656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:32:02] local.INFO: GPS data processed {"connection_id":112656,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:32:02] local.INFO: Acknowledgment sent {"connection_id":112656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:32:10] local.INFO: TCP Data received {"connection_id":111717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:32:10] local.INFO: Processing buffer {"connection_id":111717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:32:10] local.INFO: IMEI packet received {"connection_id":111717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":111717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:32:13] local.INFO: TCP Data received {"connection_id":112658,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:32:13] local.INFO: Processing buffer {"connection_id":112658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:32:13] local.INFO: IMEI packet received {"connection_id":112658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":112658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:32:15] local.INFO: TCP Data received {"connection_id":111717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:32:15] local.INFO: Processing buffer {"connection_id":111717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:32:15] local.INFO: IMEI packet received {"connection_id":111717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":111717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:32:16] local.INFO: TCP Data received {"connection_id":111717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:32:16] local.INFO: Processing buffer {"connection_id":111717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:32:16] local.INFO: Packet analysis {"connection_id":111717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:32:16] local.INFO: Extracted packet for processing {"connection_id":111717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:32:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:32:16] 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-06-23 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:32:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:32:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":111717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:32:16] local.INFO: GPS data processed {"connection_id":111717,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:32:16] local.INFO: Acknowledgment sent {"connection_id":111717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:32:18] local.INFO: TCP Data received {"connection_id":112658,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:32:18] local.INFO: Processing buffer {"connection_id":112658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:32:18] local.INFO: IMEI packet received {"connection_id":112658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":112658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:32:19] local.INFO: TCP Data received {"connection_id":112658,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:32:19] local.INFO: Processing buffer {"connection_id":112658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:32:19] local.INFO: Packet analysis {"connection_id":112658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:32:19] local.INFO: Extracted packet for processing {"connection_id":112658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:32:19] 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-06-23 15:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:32:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":112658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:32:19] local.INFO: GPS data processed {"connection_id":112658,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:32:19] local.INFO: Acknowledgment sent {"connection_id":112658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:32:21] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 15:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 15:32:21] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-23 15:32:21] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 15:32:21] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 15:32: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-06-23 15:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:21] 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-06-23 15:32:21] 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-06-23 15:32:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 15:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 15:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-23 15:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 15:32:21] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 15:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 15:32:21] local.ERROR: GPS data processing failed {"connection_id":111716,"error":"No valid data to process"} 
[2026-06-23 15:32:21] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 15:32:23] local.INFO: TCP Data received {"connection_id":110918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:32:23] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:32:23] local.INFO: IMEI packet received {"connection_id":110918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":110918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:32:29] local.INFO: TCP Data received {"connection_id":110918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:32:29] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:32:29] local.INFO: IMEI packet received {"connection_id":110918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":110918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:32:30] local.INFO: TCP Data received {"connection_id":110918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:32:30] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:32:30] local.INFO: Packet analysis {"connection_id":110918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:32:30] local.INFO: Extracted packet for processing {"connection_id":110918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:32: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-06-23 15:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:32:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":110918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:32:30] local.INFO: GPS data processed {"connection_id":110918,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:32:30] local.INFO: Acknowledgment sent {"connection_id":110918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:32:47] local.INFO: TCP Data received {"connection_id":111717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:32:47] local.INFO: Processing buffer {"connection_id":111717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:32:47] local.INFO: Packet analysis {"connection_id":111717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:32:47] local.INFO: Extracted packet for processing {"connection_id":111717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:32:47] 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-06-23 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:32:47] 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-06-23 15:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:32:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:32:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":111717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:32:47] local.INFO: GPS data processed {"connection_id":111717,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:32:47] local.INFO: Acknowledgment sent {"connection_id":111717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:32:50] local.INFO: TCP Data received {"connection_id":112658,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:32:50] local.INFO: Processing buffer {"connection_id":112658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:32:50] local.INFO: Packet analysis {"connection_id":112658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:32:50] local.INFO: Extracted packet for processing {"connection_id":112658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:32:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":112658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:32:50] local.INFO: GPS data processed {"connection_id":112658,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:32:50] local.INFO: Acknowledgment sent {"connection_id":112658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:32:54] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee5b680100000000000000000000000000..."} 
[2026-06-23 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee5b680100000000000000000000000000..."} 
[2026-06-23 15:32:54] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee5b680100000000000000000000000000..."} 
[2026-06-23 15:32:54] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:32:54] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:32: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-06-23 15: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-06-23 15:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:32: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-06-23 15:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782208945000,"timestamp_ms":1782208945000,"timestamp_seconds":1782208945,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee5b68"} 
[2026-06-23 15:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:32:54] 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-06-23 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 15:32: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-06-23 15: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-06-23 15:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:32:54] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:32:54] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:02] local.INFO: TCP Data received {"connection_id":110918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:33:02] local.INFO: Processing buffer {"connection_id":110918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3e9fa50012cb29b8007823df8004a00cf28..."} 
[2026-06-23 15:33:02] local.INFO: Packet analysis {"connection_id":110918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:33:02] local.INFO: Extracted packet for processing {"connection_id":110918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3e9"} 
[2026-06-23 15:33:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245339392001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208658000,"timestamp_ms":1782208658000,"timestamp_seconds":1782208658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3e9fa50"} 
[2026-06-23 15:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:33: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-06-23 15: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-06-23 15:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245339392001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245339392001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:33:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245339392001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":110918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:33:02] local.INFO: GPS data processed {"connection_id":110918,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:33:02] local.INFO: Acknowledgment sent {"connection_id":110918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:10] local.INFO: TCP Data received {"connection_id":112660,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:33:10] local.INFO: Processing buffer {"connection_id":112660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:33:10] local.INFO: IMEI packet received {"connection_id":112660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":112660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:33:14] local.INFO: TCP Data received {"connection_id":112661,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:33:14] local.INFO: Processing buffer {"connection_id":112661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:33:14] local.INFO: IMEI packet received {"connection_id":112661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":112661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:33:15] local.INFO: TCP Data received {"connection_id":112660,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:33:15] local.INFO: Processing buffer {"connection_id":112660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:33:15] local.INFO: IMEI packet received {"connection_id":112660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":112660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:33:16] local.INFO: TCP Data received {"connection_id":112660,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:33:16] local.INFO: Processing buffer {"connection_id":112660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:33:16] local.INFO: Packet analysis {"connection_id":112660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:33:16] local.INFO: Extracted packet for processing {"connection_id":112660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:33:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:33:16] 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-06-23 15:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":112660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:33:16] local.INFO: GPS data processed {"connection_id":112660,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:33:16] local.INFO: Acknowledgment sent {"connection_id":112660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:18] local.INFO: TCP Data received {"connection_id":112661,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:33:18] local.INFO: Processing buffer {"connection_id":112661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:33:18] local.INFO: IMEI packet received {"connection_id":112661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":112661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:33:19] local.INFO: TCP Data received {"connection_id":112661,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:33:19] local.INFO: Processing buffer {"connection_id":112661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:33:19] local.INFO: Packet analysis {"connection_id":112661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:33:19] local.INFO: Extracted packet for processing {"connection_id":112661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:33:19] 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-06-23 15:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:33:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":112661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:33:19] local.INFO: GPS data processed {"connection_id":112661,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:33:19] local.INFO: Acknowledgment sent {"connection_id":112661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:23] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:33:23] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:33:23] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:33:29] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:33:29] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:33:29] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:33:30] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:33:30] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:33:30] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:33:30] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 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-06-23 15:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:33:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:33:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:33:30] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:33:30] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:39] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3eead700100000000000000000000000000..."} 
[2026-06-23 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3eead700100000000000000000000000000..."} 
[2026-06-23 15:33:39] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3eead700100000000000000000000000000..."} 
[2026-06-23 15:33:39] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:33:39] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:33: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-06-23 15: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-06-23 15:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 15:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782208966000,"timestamp_ms":1782208966000,"timestamp_seconds":1782208966,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3eead70"} 
[2026-06-23 15:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 15:33:39] 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-06-23 15: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-06-23 15:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:33:39] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:33:39] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:47] local.INFO: TCP Data received {"connection_id":112660,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:33:47] local.INFO: Processing buffer {"connection_id":112660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:33:47] local.INFO: Packet analysis {"connection_id":112660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:33:47] local.INFO: Extracted packet for processing {"connection_id":112660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:33:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:33:47] 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-06-23 15:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:33:47] 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-06-23 15:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:33:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:33:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":112660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:33:47] local.INFO: GPS data processed {"connection_id":112660,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:33:47] local.INFO: Acknowledgment sent {"connection_id":112660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:33:50] local.INFO: TCP Data received {"connection_id":112661,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:33:50] local.INFO: Processing buffer {"connection_id":112661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:33:50] local.INFO: Packet analysis {"connection_id":112661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:33:50] local.INFO: Extracted packet for processing {"connection_id":112661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:33: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-06-23 15:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:33: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-06-23 15:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:33:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":112661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:33:50] local.INFO: GPS data processed {"connection_id":112661,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:33:50] local.INFO: Acknowledgment sent {"connection_id":112661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:02] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:34:02] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:34:02] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:34:02] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:34:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:34:02] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:34:02] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:04] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3eeff780100000000000000000000000000..."} 
[2026-06-23 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3eeff780100000000000000000000000000..."} 
[2026-06-23 15:34:04] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3eeff780100000000000000000000000000..."} 
[2026-06-23 15:34:04] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:34:04] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:34: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-06-23 15: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-06-23 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34: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-06-23 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782208987000,"timestamp_ms":1782208987000,"timestamp_seconds":1782208987,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3eeff78"} 
[2026-06-23 15:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 15:34: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-06-23 15: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-06-23 15:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:34:04] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:34:04] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:10] local.INFO: TCP Data received {"connection_id":110919,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:34:10] local.INFO: Processing buffer {"connection_id":110919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:34:10] local.INFO: IMEI packet received {"connection_id":110919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":110919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:34:13] local.INFO: TCP Data received {"connection_id":112662,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:34:13] local.INFO: Processing buffer {"connection_id":112662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:34:13] local.INFO: IMEI packet received {"connection_id":112662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":112662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:34:15] local.INFO: TCP Data received {"connection_id":110919,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:34:15] local.INFO: Processing buffer {"connection_id":110919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:34:15] local.INFO: IMEI packet received {"connection_id":110919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":110919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:34:16] local.INFO: TCP Data received {"connection_id":110919,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:34:16] local.INFO: Processing buffer {"connection_id":110919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:34:16] local.INFO: Packet analysis {"connection_id":110919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:34:16] local.INFO: Extracted packet for processing {"connection_id":110919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:16] 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-06-23 15:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":110919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:34:16] local.INFO: GPS data processed {"connection_id":110919,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:34:16] local.INFO: Acknowledgment sent {"connection_id":110919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:18] local.INFO: TCP Data received {"connection_id":112662,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:34:18] local.INFO: Processing buffer {"connection_id":112662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:34:18] local.INFO: IMEI packet received {"connection_id":112662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":112662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:34:19] local.INFO: TCP Data received {"connection_id":112662,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:34:19] local.INFO: Processing buffer {"connection_id":112662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:34:19] local.INFO: Packet analysis {"connection_id":112662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:34:19] local.INFO: Extracted packet for processing {"connection_id":112662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:19] 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-06-23 15:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:34:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":112662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:34:19] local.INFO: GPS data processed {"connection_id":112662,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:34:19] local.INFO: Acknowledgment sent {"connection_id":112662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:24] local.INFO: TCP Data received {"connection_id":110920,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:34:24] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:34:24] local.INFO: IMEI packet received {"connection_id":110920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":110920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:34:29] local.INFO: TCP Data received {"connection_id":110920,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:34:29] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:34:29] local.INFO: IMEI packet received {"connection_id":110920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:34:30] local.INFO: TCP Data received {"connection_id":110920,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:34:30] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:34:30] local.INFO: Packet analysis {"connection_id":110920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:34:30] local.INFO: Extracted packet for processing {"connection_id":110920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":110920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:34:30] local.INFO: GPS data processed {"connection_id":110920,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:34:30] local.INFO: Acknowledgment sent {"connection_id":110920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:34] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ef51800100000000000000000000000000..."} 
[2026-06-23 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ef51800100000000000000000000000000..."} 
[2026-06-23 15:34:34] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ef51800100000000000000000000000000..."} 
[2026-06-23 15:34:34] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ef"} 
[2026-06-23 15:34:34] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ef"} 
[2026-06-23 15:34: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-06-23 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:34] 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-06-23 15:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782209008000,"timestamp_ms":1782209008000,"timestamp_seconds":1782209008,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ef5180"} 
[2026-06-23 15:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:34] 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-06-23 15:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:34:34] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:34:34] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:48] local.INFO: TCP Data received {"connection_id":110919,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:34:48] local.INFO: Processing buffer {"connection_id":110919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:34:48] local.INFO: Packet analysis {"connection_id":110919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:34:48] local.INFO: Extracted packet for processing {"connection_id":110919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:34:48] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:48] 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-06-23 15:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:48] 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-06-23 15:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":110919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:34:48] local.INFO: GPS data processed {"connection_id":110919,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:34:48] local.INFO: Acknowledgment sent {"connection_id":110919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:34:50] local.INFO: TCP Data received {"connection_id":112662,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:34:50] local.INFO: Processing buffer {"connection_id":112662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:34:50] local.INFO: Packet analysis {"connection_id":112662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:34:50] local.INFO: Extracted packet for processing {"connection_id":112662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:34:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":112662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:34:50] local.INFO: GPS data processed {"connection_id":112662,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:34:50] local.INFO: Acknowledgment sent {"connection_id":112662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:02] local.INFO: TCP Data received {"connection_id":110920,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:35:02] local.INFO: Processing buffer {"connection_id":110920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:35:02] local.INFO: Packet analysis {"connection_id":110920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:35:02] local.INFO: Extracted packet for processing {"connection_id":110920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:35:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:35:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:35:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:35:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":110920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:35:02] local.INFO: GPS data processed {"connection_id":110920,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:35:02] local.INFO: Acknowledgment sent {"connection_id":110920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:05] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3efa3880100000000000000000000000000..."} 
[2026-06-23 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3efa3880100000000000000000000000000..."} 
[2026-06-23 15:35:05] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3efa3880100000000000000000000000000..."} 
[2026-06-23 15:35:05] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ef"} 
[2026-06-23 15:35:05] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ef"} 
[2026-06-23 15:35: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-06-23 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:05] 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-06-23 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782209029000,"timestamp_ms":1782209029000,"timestamp_seconds":1782209029,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3efa388"} 
[2026-06-23 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:05] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 15:35:05] 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-06-23 15:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:35:05] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:35:05] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:10] local.INFO: TCP Data received {"connection_id":111105,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:35:10] local.INFO: Processing buffer {"connection_id":111105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:35:10] local.INFO: IMEI packet received {"connection_id":111105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":111105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:35:13] local.INFO: TCP Data received {"connection_id":112663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:35:13] local.INFO: Processing buffer {"connection_id":112663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:35:13] local.INFO: IMEI packet received {"connection_id":112663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":112663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:35:15] local.INFO: TCP Data received {"connection_id":111105,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:35:15] local.INFO: Processing buffer {"connection_id":111105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:35:15] local.INFO: IMEI packet received {"connection_id":111105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":111105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:35:16] local.INFO: TCP Data received {"connection_id":111105,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:35:16] local.INFO: Processing buffer {"connection_id":111105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ecbd58012d7a0f8005ec8050000500fd22..."} 
[2026-06-23 15:35:16] local.INFO: Packet analysis {"connection_id":111105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:35:16] local.INFO: Extracted packet for processing {"connection_id":111105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ec"} 
[2026-06-23 15:35:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245385472001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418164224,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782208839000,"timestamp_ms":1782208839000,"timestamp_seconds":1782208839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ecbd58"} 
[2026-06-23 15:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:16] 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-06-23 15:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 15:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245385472001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795881941418164224},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245385472001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:35:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:35:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418164224,"description":"Unknown IO ID 45"} 
[2026-06-23 15:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245385472001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418164224}} 
[2026-06-23 15:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":111105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:35:16] local.INFO: GPS data processed {"connection_id":111105,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:35:16] local.INFO: Acknowledgment sent {"connection_id":111105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:18] local.INFO: TCP Data received {"connection_id":112663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:35:18] local.INFO: Processing buffer {"connection_id":112663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:35:18] local.INFO: IMEI packet received {"connection_id":112663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 15:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":112663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:35:19] local.INFO: TCP Data received {"connection_id":112663,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:35:19] local.INFO: Processing buffer {"connection_id":112663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ed8878012d196ec0071fed90003e00ee27..."} 
[2026-06-23 15:35:19] local.INFO: Packet analysis {"connection_id":112663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:35:19] local.INFO: Extracted packet for processing {"connection_id":112663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ed"} 
[2026-06-23 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119532944,"longitude_deg":75.6641472,"latitude_deg":11.9532944,"altitude":62,"angle":238,"satellites":39,"speed":0,"hex_longitude":"2d196ec0","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-06-23 15:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245399040001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3955604750073856,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235219337216,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782208891000,"timestamp_ms":1782208891000,"timestamp_seconds":1782208891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ed8878"} 
[2026-06-23 15:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-23 15:35:19] 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-06-23 15:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 15:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 15:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 15:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245399040001,"66":2166,"103":206,"83":41984,"24":0,"16":3955604750073856,"45":1832613235219337216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 15:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 15:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 15:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245399040001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:35:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 15:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 15:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3955604750073856,"km_value":3955604750073.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235219337216,"description":"Unknown IO ID 45"} 
[2026-06-23 15:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245399040001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832613235219337216}} 
[2026-06-23 15:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":112663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:35:19] local.INFO: GPS data processed {"connection_id":112663,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:35:19] local.INFO: Acknowledgment sent {"connection_id":112663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:23] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:35:23] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:35:23] local.INFO: IMEI packet received {"connection_id":110921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":110921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:35:29] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:35:29] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:35:29] local.INFO: IMEI packet received {"connection_id":110921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":110921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:35:30] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:35:30] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:35:30] local.INFO: Packet analysis {"connection_id":110921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:35:30] local.INFO: Extracted packet for processing {"connection_id":110921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":110921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:35:30] local.INFO: GPS data processed {"connection_id":110921,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:35:30] local.INFO: Acknowledgment sent {"connection_id":110921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:37] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3eff5900100000000000000000000000000..."} 
[2026-06-23 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3eff5900100000000000000000000000000..."} 
[2026-06-23 15:35:37] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3eff5900100000000000000000000000000..."} 
[2026-06-23 15:35:37] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ef"} 
[2026-06-23 15:35:37] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ef"} 
[2026-06-23 15:35: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-06-23 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:37] 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-06-23 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782209050000,"timestamp_ms":1782209050000,"timestamp_seconds":1782209050,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3eff590"} 
[2026-06-23 15:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 15:35: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-06-23 15:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:35:37] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:35:37] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:35:47] local.INFO: TCP Data received {"connection_id":111105,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f14968012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f14968012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:35:47] local.INFO: Processing buffer {"connection_id":111105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f14968012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:35:47] local.INFO: Packet analysis {"connection_id":111105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:35:47] local.INFO: Extracted packet for processing {"connection_id":111105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:35:47] 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-06-23 15:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245462784001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209137000,"timestamp_ms":1782209137000,"timestamp_seconds":1782209137,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f14968"} 
[2026-06-23 15:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:35:47] 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-06-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 15:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245462784001,"66":12385,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245462784001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:35:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:35:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245462784001,"power":12385,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":111105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:35:47] local.INFO: GPS data processed {"connection_id":111105,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:35:47] local.INFO: Acknowledgment sent {"connection_id":111105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:02] local.INFO: TCP Data received {"connection_id":110921,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:02] local.INFO: Processing buffer {"connection_id":110921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:02] local.INFO: Packet analysis {"connection_id":110921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:36:02] local.INFO: Extracted packet for processing {"connection_id":110921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 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-06-23 15:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":110921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:36:02] local.INFO: GPS data processed {"connection_id":110921,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:36:02] local.INFO: Acknowledgment sent {"connection_id":110921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:09] local.INFO: TCP Data received {"connection_id":111716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f047980100000000000000000000000000..."} 
[2026-06-23 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f047980100000000000000000000000000..."} 
[2026-06-23 15:36:09] local.INFO: Processing buffer {"connection_id":111716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f047980100000000000000000000000000..."} 
[2026-06-23 15:36:09] local.INFO: Packet analysis {"connection_id":111716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f0"} 
[2026-06-23 15:36:09] local.INFO: Extracted packet for processing {"connection_id":111716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f0"} 
[2026-06-23 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:09] 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-06-23 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782209071000,"timestamp_ms":1782209071000,"timestamp_seconds":1782209071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f04798"} 
[2026-06-23 15:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:36:09] 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-06-23 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":111716,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:36:09] local.INFO: GPS data processed {"connection_id":111716,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:36:09] local.INFO: Acknowledgment sent {"connection_id":111716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:15] local.INFO: TCP Data received {"connection_id":112664,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:36:15] local.INFO: Processing buffer {"connection_id":112664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:36:15] local.INFO: IMEI packet received {"connection_id":112664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":112664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:36:20] local.INFO: TCP Data received {"connection_id":112664,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:36:20] local.INFO: Processing buffer {"connection_id":112664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:36:20] local.INFO: IMEI packet received {"connection_id":112664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":112664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:36:21] local.INFO: TCP Data received {"connection_id":112664,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f14968012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f14968012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:36:21] local.INFO: Processing buffer {"connection_id":112664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f14968012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:36:21] local.INFO: Packet analysis {"connection_id":112664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:36:21] local.INFO: Extracted packet for processing {"connection_id":112664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245539072001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782209137000,"timestamp_ms":1782209137000,"timestamp_seconds":1782209137,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f14968"} 
[2026-06-23 15:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:36:21] 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-06-23 15:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245539072001,"66":12385,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245539072001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:36:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:36:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245539072001,"power":12385,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":112664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:36:21] local.INFO: GPS data processed {"connection_id":112664,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:36:21] local.INFO: Acknowledgment sent {"connection_id":112664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:29] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:36:29] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:36:29] local.INFO: IMEI packet received {"connection_id":110922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":110922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:36:29] local.INFO: TCP Data received {"connection_id":111719,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:36:29] local.INFO: Processing buffer {"connection_id":111719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:36:29] local.INFO: IMEI packet received {"connection_id":111719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:36:33] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:36:33] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:36:33] local.INFO: IMEI packet received {"connection_id":110922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":110922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:36:34] local.INFO: TCP Data received {"connection_id":111719,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:36:34] local.INFO: Processing buffer {"connection_id":111719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:36:34] local.INFO: IMEI packet received {"connection_id":111719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":111719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:36:34] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f099a00100000000000000000000000000..."} 
[2026-06-23 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f099a00100000000000000000000000000..."} 
[2026-06-23 15:36:34] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f099a00100000000000000000000000000..."} 
[2026-06-23 15:36:34] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f0"} 
[2026-06-23 15:36:34] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f0"} 
[2026-06-23 15:36: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-06-23 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:34] 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-06-23 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782209092000,"timestamp_ms":1782209092000,"timestamp_seconds":1782209092,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f099a0"} 
[2026-06-23 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:36:34] 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-06-23 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:34] 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-06-23 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:36:34] local.INFO: GPS data processed {"connection_id":110922,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:36:34] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:35] local.INFO: TCP Data received {"connection_id":111719,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:35] local.INFO: Processing buffer {"connection_id":111719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:35] local.INFO: Packet analysis {"connection_id":111719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:36:35] local.INFO: Extracted packet for processing {"connection_id":111719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":111719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:36:35] local.INFO: GPS data processed {"connection_id":111719,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:36:35] local.INFO: Acknowledgment sent {"connection_id":111719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:40] local.INFO: TCP Data received {"connection_id":111719,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:40] local.INFO: Processing buffer {"connection_id":111719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:36:40] local.INFO: Packet analysis {"connection_id":111719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:36:40] local.INFO: Extracted packet for processing {"connection_id":111719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:36:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:36:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":111719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:36:40] local.INFO: GPS data processed {"connection_id":111719,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:36:40] local.INFO: Acknowledgment sent {"connection_id":111719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:36:42] local.INFO: TCP Data received {"connection_id":111106,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:36:42] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:36:42] local.INFO: IMEI packet received {"connection_id":111106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":111106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:36:52] local.INFO: TCP Data received {"connection_id":112664,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f15520012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f15520012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:36:52] local.INFO: Processing buffer {"connection_id":112664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f15520012d7a0f8005ec8050000500fd25..."} 
[2026-06-23 15:36:52] local.INFO: Packet analysis {"connection_id":112664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:36:52] local.INFO: Extracted packet for processing {"connection_id":112664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245539072001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782209140000,"timestamp_ms":1782209140000,"timestamp_seconds":1782209140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f15520"} 
[2026-06-23 15:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:36:52] 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-06-23 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 15:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245539072001,"66":3199,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245539072001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245539072001,"power":3199,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":112664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:36:52] local.INFO: GPS data processed {"connection_id":112664,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:36:52] local.INFO: Acknowledgment sent {"connection_id":112664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:37:06] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f0eba80100000000000000000000000000..."} 
[2026-06-23 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f0eba80100000000000000000000000000..."} 
[2026-06-23 15:37:06] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f0eba80100000000000000000000000000..."} 
[2026-06-23 15:37:06] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f0"} 
[2026-06-23 15:37:06] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f0"} 
[2026-06-23 15:37: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-06-23 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876325727862784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37: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-06-23 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782209113000,"timestamp_ms":1782209113000,"timestamp_seconds":1782209113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f0eba8"} 
[2026-06-23 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:37:06] 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-06-23 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-23 15:37:06] 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-06-23 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 15:37:06] local.INFO: GPS data processed {"connection_id":110922,"processed":0,"errors":0,"total":1} 
[2026-06-23 15:37:06] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:37:06] local.INFO: TCP Data received {"connection_id":112665,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:37:06] local.INFO: Processing buffer {"connection_id":112665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:37:06] local.INFO: IMEI packet received {"connection_id":112665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":112665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:37:10] local.INFO: TCP Data received {"connection_id":111720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:37:10] local.INFO: Processing buffer {"connection_id":111720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:37:10] local.INFO: IMEI packet received {"connection_id":111720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":111720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:37:15] local.INFO: TCP Data received {"connection_id":111720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:37:15] local.INFO: Processing buffer {"connection_id":111720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:37:15] local.INFO: IMEI packet received {"connection_id":111720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":111720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:37:16] local.INFO: TCP Data received {"connection_id":111720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:37:16] local.INFO: Processing buffer {"connection_id":111720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:37:16] local.INFO: Packet analysis {"connection_id":111720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:37:16] local.INFO: Extracted packet for processing {"connection_id":111720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:37:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:37:16] 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-06-23 15:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245539840001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":12,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-06-23 15:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1401,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245539840001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245539840001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:37:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:37:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245539840001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":111720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:37:16] local.INFO: GPS data processed {"connection_id":111720,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:37:16] local.INFO: Acknowledgment sent {"connection_id":111720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:37:24] local.INFO: TCP Data received {"connection_id":112666,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:37:24] local.INFO: Processing buffer {"connection_id":112666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:37:24] local.INFO: IMEI packet received {"connection_id":112666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":112666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:37:28] local.INFO: TCP Data received {"connection_id":112666,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:37:28] local.INFO: Processing buffer {"connection_id":112666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:37:28] local.INFO: IMEI packet received {"connection_id":112666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":112666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:37:30] local.INFO: TCP Data received {"connection_id":112666,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:37:30] local.INFO: Processing buffer {"connection_id":112666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:37:30] local.INFO: Packet analysis {"connection_id":112666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:37:30] local.INFO: Extracted packet for processing {"connection_id":112666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:37:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":112666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:37:30] local.INFO: GPS data processed {"connection_id":112666,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:37:30] local.INFO: Acknowledgment sent {"connection_id":112666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:37:34] local.INFO: TCP Data received {"connection_id":112666,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:37:34] local.INFO: Processing buffer {"connection_id":112666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:37:34] local.INFO: Packet analysis {"connection_id":112666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:37:34] local.INFO: Extracted packet for processing {"connection_id":112666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 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-06-23 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 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-06-23 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:37:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":112666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:37:34] local.INFO: GPS data processed {"connection_id":112666,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:37:34] local.INFO: Acknowledgment sent {"connection_id":112666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:37:38] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f30aa0012d0b218007035c50000f002a07..."} 
[2026-06-23 15:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f30aa0012d0b218007035c50000f002a07..."} 
[2026-06-23 15:37:38] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f30aa0012d0b218007035c50000f002a07..."} 
[2026-06-23 15:37:38] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:37:38] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:37:38] local.INFO: GPS Element Parsed {"raw_longitude":755704192,"raw_latitude":117660752,"longitude_deg":75.5704192,"latitude_deg":11.7660752,"altitude":15,"angle":42,"satellites":7,"speed":1,"hex_longitude":"2d0b2180","hex_latitude":"07035c50","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245567744001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876450281914368,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801992607513956352,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:38] 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-06-23 15:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782209252000,"timestamp_ms":1782209252000,"timestamp_seconds":1782209252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f30aa0"} 
[2026-06-23 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-06-23 15:37:38] 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-06-23 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 15:37: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-06-23 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-06-23 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-06-23 15:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245567744001,"66":14548,"17":206,"94":11008,"24":1,"16":21876450281914368,"45":801992607513956352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245567744001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:37:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876450281914368,"km_value":21876450281914.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":801992607513956352,"description":"Unknown IO ID 45"} 
[2026-06-23 15:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245567744001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":801992607513956352}} 
[2026-06-23 15:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:37:38] local.INFO: GPS data processed {"connection_id":110922,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:37:38] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:37:47] local.INFO: TCP Data received {"connection_id":111720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:37:47] local.INFO: Processing buffer {"connection_id":111720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:37:47] local.INFO: Packet analysis {"connection_id":111720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:37:47] local.INFO: Extracted packet for processing {"connection_id":111720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:37: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-06-23 15:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:37:47] 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-06-23 15:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:37:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:37:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":111720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:37:47] local.INFO: GPS data processed {"connection_id":111720,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:37:47] local.INFO: Acknowledgment sent {"connection_id":111720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:38:06] local.INFO: TCP Data received {"connection_id":112666,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:38:06] local.INFO: Processing buffer {"connection_id":112666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3ee9218012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:38:06] local.INFO: Packet analysis {"connection_id":112666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:38:06] local.INFO: Extracted packet for processing {"connection_id":112666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3ee"} 
[2026-06-23 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245416448001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782208959000,"timestamp_ms":1782208959000,"timestamp_seconds":1782208959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3ee9218"} 
[2026-06-23 15:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 15:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245416448001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245416448001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:38:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:38:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245416448001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":112666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:38:06] local.INFO: GPS data processed {"connection_id":112666,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:38:06] local.INFO: Acknowledgment sent {"connection_id":112666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:38:10] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:38:10] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:38:10] local.INFO: IMEI packet received {"connection_id":110924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":110924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:38:15] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:38:15] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:38:15] local.INFO: IMEI packet received {"connection_id":110924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":110924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:38:16] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:38:16] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:38:16] local.INFO: Packet analysis {"connection_id":110924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:38:16] local.INFO: Extracted packet for processing {"connection_id":110924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:38:16] 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-06-23 15:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":110924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:38:16] local.INFO: GPS data processed {"connection_id":110924,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:38:16] local.INFO: Acknowledgment sent {"connection_id":110924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:38:16] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f30e88012d0b220007035c20000f005307..."} 
[2026-06-23 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f30e88012d0b220007035c20000f005307..."} 
[2026-06-23 15:38:16] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f30e88012d0b220007035c20000f005307..."} 
[2026-06-23 15:38:16] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:38:16] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":117660704,"longitude_deg":75.570432,"latitude_deg":11.7660704,"altitude":15,"angle":83,"satellites":7,"speed":2,"hex_longitude":"2d0b2200","hex_latitude":"07035c20","is_valid_coordinates":true} 
[2026-06-23 15:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245568512001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21876458871848960,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802062976258166784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:16] 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-06-23 15:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209253000,"timestamp_ms":1782209253000,"timestamp_seconds":1782209253,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f30e88"} 
[2026-06-23 15:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:38:16] 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-06-23 15:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 15:38:16] 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-06-23 15:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245568512001,"66":14548,"17":206,"94":11008,"24":2,"16":21876458871848960,"45":802062976258166784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245568512001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21876458871848960,"km_value":21876458871848.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":802062976258166784,"description":"Unknown IO ID 45"} 
[2026-06-23 15:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245568512001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":802062976258166784}} 
[2026-06-23 15:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:38:16] local.INFO: GPS data processed {"connection_id":110922,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:38:16] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:38:24] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:38:24] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:38:24] local.INFO: IMEI packet received {"connection_id":111107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":111107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:38:29] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:38:29] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:38:29] local.INFO: IMEI packet received {"connection_id":111107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:38:30] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:38:30] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:38:30] local.INFO: Packet analysis {"connection_id":111107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:38:30] local.INFO: Extracted packet for processing {"connection_id":111107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":111107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:38:30] local.INFO: GPS data processed {"connection_id":111107,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:38:30] local.INFO: Acknowledgment sent {"connection_id":111107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:38:47] local.INFO: TCP Data received {"connection_id":110924,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:38:47] local.INFO: Processing buffer {"connection_id":110924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:38:47] local.INFO: Packet analysis {"connection_id":110924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:38:47] local.INFO: Extracted packet for processing {"connection_id":110924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:38: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-06-23 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:38:47] 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-06-23 15: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-06-23 15:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:38:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:38:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":110924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:38:47] local.INFO: GPS data processed {"connection_id":110924,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:38:47] local.INFO: Acknowledgment sent {"connection_id":110924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:38:48] local.INFO: TCP Data received {"connection_id":110922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f3c620012d0b6bc007034860000700a006..."} 
[2026-06-23 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f3c620012d0b6bc007034860000700a006..."} 
[2026-06-23 15:38:48] local.INFO: Processing buffer {"connection_id":110922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f3c620012d0b6bc007034860000700a006..."} 
[2026-06-23 15:38:48] local.INFO: Packet analysis {"connection_id":110922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:38:48] local.INFO: Extracted packet for processing {"connection_id":110922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:38:48] local.INFO: GPS Element Parsed {"raw_longitude":755723200,"raw_latitude":117655648,"longitude_deg":75.57232,"latitude_deg":11.7655648,"altitude":7,"angle":160,"satellites":6,"speed":11,"hex_longitude":"2d0b6bc0","hex_latitude":"07034860","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245580288001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877416649555968,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822892124533501952,"note":"Value kept but may cause issues"} 
[2026-06-23 15:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782209300000,"timestamp_ms":1782209300000,"timestamp_seconds":1782209300,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f3c620"} 
[2026-06-23 15:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:38:48] 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-06-23 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 15:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245580288001,"66":14396,"17":206,"94":11008,"24":11,"16":21877416649555968,"45":822892124533501952},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245580288001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:38:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877416649555968,"km_value":21877416649555.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":822892124533501952,"description":"Unknown IO ID 45"} 
[2026-06-23 15:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245580288001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":822892124533501952}} 
[2026-06-23 15:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":110922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:38:48] local.INFO: GPS data processed {"connection_id":110922,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:38:48] local.INFO: Acknowledgment sent {"connection_id":110922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:39:02] local.INFO: TCP Data received {"connection_id":111107,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:39:02] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:39:02] local.INFO: Packet analysis {"connection_id":111107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:39:02] local.INFO: Extracted packet for processing {"connection_id":111107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:39:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":111107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:39:02] local.INFO: GPS data processed {"connection_id":111107,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:39:02] local.INFO: Acknowledgment sent {"connection_id":111107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:39:10] local.INFO: TCP Data received {"connection_id":111721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:39:10] local.INFO: Processing buffer {"connection_id":111721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:39:10] local.INFO: IMEI packet received {"connection_id":111721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":111721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:39:15] local.INFO: TCP Data received {"connection_id":111721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:39:15] local.INFO: Processing buffer {"connection_id":111721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:39:15] local.INFO: IMEI packet received {"connection_id":111721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":111721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:39:16] local.INFO: TCP Data received {"connection_id":111721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:39:16] local.INFO: Processing buffer {"connection_id":111721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:39:16] local.INFO: Packet analysis {"connection_id":111721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:39:16] local.INFO: Extracted packet for processing {"connection_id":111721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:39:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:39:16] 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-06-23 15:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:39:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:39:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":111721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:39:16] local.INFO: GPS data processed {"connection_id":111721,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:39:16] local.INFO: Acknowledgment sent {"connection_id":111721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:39:23] local.INFO: TCP Data received {"connection_id":112667,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:39:23] local.INFO: Processing buffer {"connection_id":112667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:39:23] local.INFO: IMEI packet received {"connection_id":112667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":112667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:39:23] local.INFO: TCP Data received {"connection_id":112668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:39:23] local.INFO: Processing buffer {"connection_id":112668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:39:23] local.INFO: IMEI packet received {"connection_id":112668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":112668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:39:29] local.INFO: TCP Data received {"connection_id":112668,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:39:29] local.INFO: Processing buffer {"connection_id":112668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:39:29] local.INFO: IMEI packet received {"connection_id":112668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":112668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:39:30] local.INFO: TCP Data received {"connection_id":112668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:39:30] local.INFO: Processing buffer {"connection_id":112668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:39:30] local.INFO: Packet analysis {"connection_id":112668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:39:30] local.INFO: Extracted packet for processing {"connection_id":112668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":112668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:39:30] local.INFO: GPS data processed {"connection_id":112668,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:39:30] local.INFO: Acknowledgment sent {"connection_id":112668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:39:36] local.INFO: TCP Data received {"connection_id":112667,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112667,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:39:36] local.INFO: Processing buffer {"connection_id":112667,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:39:36] local.INFO: IMEI packet received {"connection_id":112667,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":112667,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:39:41] local.INFO: TCP Data received {"connection_id":112667,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f3cdf0012d0b6b8007034708000700ae06..."} 
[2026-06-23 15:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f3cdf0012d0b6b8007034708000700ae06..."} 
[2026-06-23 15:39:41] local.INFO: Processing buffer {"connection_id":112667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f3cdf0012d0b6b8007034708000700ae06..."} 
[2026-06-23 15:39:41] local.INFO: Packet analysis {"connection_id":112667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:39:41] local.INFO: Extracted packet for processing {"connection_id":112667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:39:41] local.INFO: GPS Element Parsed {"raw_longitude":755723136,"raw_latitude":117655304,"longitude_deg":75.5723136,"latitude_deg":11.7655304,"altitude":7,"angle":174,"satellites":6,"speed":8,"hex_longitude":"2d0b6b80","hex_latitude":"07034708","is_valid_coordinates":true} 
[2026-06-23 15:39: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-06-23 15:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245580800001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877433829425152,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822962493277626368,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782209302000,"timestamp_ms":1782209302000,"timestamp_seconds":1782209302,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f3cdf0"} 
[2026-06-23 15:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:39:41] 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-06-23 15:39: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":60,"data_length":795,"current_offset":136} 
[2026-06-23 15:39:41] 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-06-23 15:39: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-06-23 15:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112667,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245580800001,"66":14559,"17":206,"94":11008,"24":8,"16":21877433829425152,"45":822962493277626368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245580800001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877433829425152,"km_value":21877433829425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":822962493277626368,"description":"Unknown IO ID 45"} 
[2026-06-23 15:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245580800001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":822962493277626368}} 
[2026-06-23 15:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":112667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:39:41] local.INFO: GPS data processed {"connection_id":112667,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:39:41] local.INFO: Acknowledgment sent {"connection_id":112667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:39:43] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:39:43] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 15:39:43] local.INFO: IMEI packet received {"connection_id":111109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 15:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":111109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:39:47] local.INFO: TCP Data received {"connection_id":111721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:39:47] local.INFO: Processing buffer {"connection_id":111721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:39:47] local.INFO: Packet analysis {"connection_id":111721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:39:47] local.INFO: Extracted packet for processing {"connection_id":111721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:39: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-06-23 15:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:39:47] 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-06-23 15:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:39:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:39:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":111721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:39:47] local.INFO: GPS data processed {"connection_id":111721,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:39:47] local.INFO: Acknowledgment sent {"connection_id":111721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:02] local.INFO: TCP Data received {"connection_id":112668,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:40:02] local.INFO: Processing buffer {"connection_id":112668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:40:02] local.INFO: Packet analysis {"connection_id":112668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:40:02] local.INFO: Extracted packet for processing {"connection_id":112668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:40:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":112668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:02] local.INFO: GPS data processed {"connection_id":112668,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:02] local.INFO: Acknowledgment sent {"connection_id":112668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:10] local.INFO: TCP Data received {"connection_id":111110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:40:10] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:40:10] local.INFO: IMEI packet received {"connection_id":111110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":111110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:40:15] local.INFO: TCP Data received {"connection_id":111110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:40:15] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:40:15] local.INFO: IMEI packet received {"connection_id":111110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":111110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:40:16] local.INFO: TCP Data received {"connection_id":111110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:40:16] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f18fb8012d7a0f8005ec8050000500fd23..."} 
[2026-06-23 15:40:16] local.INFO: Packet analysis {"connection_id":111110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:40:16] local.INFO: Extracted packet for processing {"connection_id":111110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f1"} 
[2026-06-23 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209155000,"timestamp_ms":1782209155000,"timestamp_seconds":1782209155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f18fb8"} 
[2026-06-23 15:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:16] 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-06-23 15:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":2253,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:40:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":2253,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":111110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:16] local.INFO: GPS data processed {"connection_id":111110,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:16] local.INFO: Acknowledgment sent {"connection_id":111110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:28] local.INFO: TCP Data received {"connection_id":111111,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:40:28] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:40:28] local.INFO: IMEI packet received {"connection_id":111111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":111111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:40:34] local.INFO: TCP Data received {"connection_id":111111,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:40:34] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:40:34] local.INFO: IMEI packet received {"connection_id":111111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":111111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:40:41] local.INFO: TCP Data received {"connection_id":111111,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:40:41] local.INFO: Processing buffer {"connection_id":111111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:40:41] local.INFO: Packet analysis {"connection_id":111111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:40:41] local.INFO: Extracted packet for processing {"connection_id":111111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:40:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":111111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:41] local.INFO: GPS data processed {"connection_id":111111,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:41] local.INFO: Acknowledgment sent {"connection_id":111111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:47] local.INFO: TCP Data received {"connection_id":111110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:40:47] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:40:47] local.INFO: Packet analysis {"connection_id":111110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:47] local.INFO: Extracted packet for processing {"connection_id":111110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:47] 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-06-23 15:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:40:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":111110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:47] local.INFO: GPS data processed {"connection_id":111110,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:47] local.INFO: Acknowledgment sent {"connection_id":111110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:50] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:40:50] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:40:50] local.INFO: IMEI packet received {"connection_id":111723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":111723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:40:52] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:40:52] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:40:52] local.INFO: IMEI packet received {"connection_id":111723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":111723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:40:53] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f519f8012d0b8780070352b0000700450c..."} 
[2026-06-23 15:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f519f8012d0b8780070352b0000700450c..."} 
[2026-06-23 15:40:53] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:40:53] local.INFO: IMEI packet received {"connection_id":111723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":111723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:40:55] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f51de0012d0b8940070352480007005c0c..."} 
[2026-06-23 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f51de0012d0b8940070352480007005c0c..."} 
[2026-06-23 15:40:55] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ef3..."} 
[2026-06-23 15:40:55] local.INFO: IMEI packet received {"connection_id":111723,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":111723,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:40:56] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f56430012d0ba04007035188000900510c..."} 
[2026-06-23 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f56430012d0ba04007035188000900510c..."} 
[2026-06-23 15:40:56] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019ef3f519f8012d0b8780070352b0000700450c..."} 
[2026-06-23 15:40:56] local.INFO: Packet analysis {"connection_id":111723,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:56] local.INFO: Extracted packet for processing {"connection_id":111723,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":755730304,"raw_latitude":117658288,"longitude_deg":75.5730304,"latitude_deg":11.7658288,"altitude":7,"angle":69,"satellites":12,"speed":12,"hex_longitude":"2d0b8780","hex_latitude":"070352b0","is_valid_coordinates":true} 
[2026-06-23 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245602816001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877957815435264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830421580161097728,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40: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-06-23 15:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782209387000,"timestamp_ms":1782209387000,"timestamp_seconds":1782209387,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f519f8"} 
[2026-06-23 15:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:56] 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-06-23 15:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245602816001,"66":14515,"17":206,"94":11008,"24":12,"16":21877957815435264,"45":830421580161097728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245602816001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877957815435264,"km_value":21877957815435.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":830421580161097728,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245602816001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830421580161097728}} 
[2026-06-23 15:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":111723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:56] local.INFO: GPS data processed {"connection_id":111723,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:56] local.INFO: Acknowledgment sent {"connection_id":111723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:56] local.INFO: Packet analysis {"connection_id":111723,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:56] local.INFO: Extracted packet for processing {"connection_id":111723,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":755730752,"raw_latitude":117658184,"longitude_deg":75.5730752,"latitude_deg":11.7658184,"altitude":7,"angle":92,"satellites":12,"speed":14,"hex_longitude":"2d0b8940","hex_latitude":"07035248","is_valid_coordinates":true} 
[2026-06-23 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245603072001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21877979290271744,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830773423882022912,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40: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-06-23 15:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782209388000,"timestamp_ms":1782209388000,"timestamp_seconds":1782209388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f51de0"} 
[2026-06-23 15:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:56] 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-06-23 15:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245603072001,"66":14515,"17":206,"94":11008,"24":14,"16":21877979290271744,"45":830773423882022912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245603072001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21877979290271744,"km_value":21877979290271.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":830773423882022912,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245603072001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":830773423882022912}} 
[2026-06-23 15:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":111723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:56] local.INFO: GPS data processed {"connection_id":111723,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:56] local.INFO: Acknowledgment sent {"connection_id":111723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:56] local.INFO: Packet analysis {"connection_id":111723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:56] local.INFO: Extracted packet for processing {"connection_id":111723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":755736640,"raw_latitude":117657992,"longitude_deg":75.573664,"latitude_deg":11.7657992,"altitude":9,"angle":81,"satellites":12,"speed":10,"hex_longitude":"2d0ba040","hex_latitude":"07035188","is_valid_coordinates":true} 
[2026-06-23 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245603328001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21878271348047872,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831266005091239936,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40: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-06-23 15:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782209406000,"timestamp_ms":1782209406000,"timestamp_seconds":1782209406,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f56430"} 
[2026-06-23 15:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:56] 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-06-23 15:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245603328001,"66":14537,"17":206,"94":11008,"24":10,"16":21878271348047872,"45":831266005091239936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245603328001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21878271348047872,"km_value":21878271348047.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":831266005091239936,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245603328001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":831266005091239936}} 
[2026-06-23 15:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":111723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371611,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:56] local.INFO: GPS data processed {"connection_id":111723,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:56] local.INFO: Acknowledgment sent {"connection_id":111723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:57] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f57f88012d0ba600070352a0000900620c..."} 
[2026-06-23 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f57f88012d0ba600070352a0000900620c..."} 
[2026-06-23 15:40:57] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f57f88012d0ba600070352a0000900620c..."} 
[2026-06-23 15:40:57] local.INFO: Packet analysis {"connection_id":111723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:57] local.INFO: Extracted packet for processing {"connection_id":111723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":755738112,"raw_latitude":117658272,"longitude_deg":75.5738112,"latitude_deg":11.7658272,"altitude":9,"angle":98,"satellites":12,"speed":6,"hex_longitude":"2d0ba600","hex_latitude":"070352a0","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245607936001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21878344362491904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837739929555535872,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40: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-06-23 15:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782209413000,"timestamp_ms":1782209413000,"timestamp_seconds":1782209413,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f57f88"} 
[2026-06-23 15:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:57] 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-06-23 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 15:40:57] 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-06-23 15: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-06-23 15:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245607936001,"66":14450,"17":206,"94":11008,"24":6,"16":21878344362491904,"45":837739929555535872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245607936001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21878344362491904,"km_value":21878344362491.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":837739929555535872,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245607936001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":837739929555535872}} 
[2026-06-23 15:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":111723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:57] local.INFO: GPS data processed {"connection_id":111723,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:57] local.INFO: Acknowledgment sent {"connection_id":111723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:40:57] local.INFO: TCP Data received {"connection_id":111723,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f59ae0012d0baa4007035318000a00570c..."} 
[2026-06-23 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f59ae0012d0baa4007035318000a00570c..."} 
[2026-06-23 15:40:57] local.INFO: Processing buffer {"connection_id":111723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f59ae0012d0baa4007035318000a00570c..."} 
[2026-06-23 15:40:57] local.INFO: Packet analysis {"connection_id":111723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:57] local.INFO: Extracted packet for processing {"connection_id":111723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":755739200,"raw_latitude":117658392,"longitude_deg":75.57392,"latitude_deg":11.7658392,"altitude":10,"angle":87,"satellites":12,"speed":6,"hex_longitude":"2d0baa40","hex_latitude":"07035318","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245609728001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21878395902099456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":839358410671693824,"note":"Value kept but may cause issues"} 
[2026-06-23 15:40: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-06-23 15:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782209420000,"timestamp_ms":1782209420000,"timestamp_seconds":1782209420,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f59ae0"} 
[2026-06-23 15:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:40:57] 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-06-23 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 15:40: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-06-23 15: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-06-23 15:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111723,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245609728001,"66":14450,"17":206,"94":11008,"24":6,"16":21878395902099456,"45":839358410671693824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 15:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245609728001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21878395902099456,"km_value":21878395902099.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":839358410671693824,"description":"Unknown IO ID 45"} 
[2026-06-23 15:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245609728001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":839358410671693824}} 
[2026-06-23 15:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":111723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:40:58] local.INFO: GPS data processed {"connection_id":111723,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:40:58] local.INFO: Acknowledgment sent {"connection_id":111723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:41:15] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:41:15] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:41:15] local.INFO: IMEI packet received {"connection_id":110925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":110925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:41:19] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:19] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:19] local.INFO: IMEI packet received {"connection_id":111112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":111112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:41:20] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:41:20] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:41:20] local.INFO: IMEI packet received {"connection_id":110925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":110925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:41:20] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:20] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:20] local.INFO: IMEI packet received {"connection_id":111112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":111112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:41:21] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:41:21] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:41:21] local.INFO: Packet analysis {"connection_id":110925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:41:21] local.INFO: Extracted packet for processing {"connection_id":110925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:41:21] 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-06-23 15:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:41:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:41:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":110925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:41:21] local.INFO: GPS data processed {"connection_id":110925,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:41:21] local.INFO: Acknowledgment sent {"connection_id":110925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:41:22] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:22] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:22] local.INFO: IMEI packet received {"connection_id":111112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":111112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:41:23] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:23] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:41:23] local.INFO: IMEI packet received {"connection_id":111112,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":111112,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:41:23] local.INFO: TCP Data received {"connection_id":111724,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:41:23] local.INFO: Processing buffer {"connection_id":111724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:41:23] local.INFO: IMEI packet received {"connection_id":111724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":111724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:41:26] local.INFO: TCP Data received {"connection_id":110925,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:41:26] local.INFO: Processing buffer {"connection_id":110925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:41:26] local.INFO: Packet analysis {"connection_id":110925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:41:26] local.INFO: Extracted packet for processing {"connection_id":110925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:41:26] 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-06-23 15:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:41:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:41:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":110925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:41:26] local.INFO: GPS data processed {"connection_id":110925,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:41:26] local.INFO: Acknowledgment sent {"connection_id":110925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:41:29] local.INFO: TCP Data received {"connection_id":111724,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:41:29] local.INFO: Processing buffer {"connection_id":111724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:41:29] local.INFO: IMEI packet received {"connection_id":111724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":111724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:41:30] local.INFO: TCP Data received {"connection_id":111724,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:41:30] local.INFO: Processing buffer {"connection_id":111724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:41:30] local.INFO: Packet analysis {"connection_id":111724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:41:30] local.INFO: Extracted packet for processing {"connection_id":111724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:41:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":111724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:41:30] local.INFO: GPS data processed {"connection_id":111724,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:41:30] local.INFO: Acknowledgment sent {"connection_id":111724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:42:02] local.INFO: TCP Data received {"connection_id":111724,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:02] local.INFO: Processing buffer {"connection_id":111724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:02] local.INFO: Packet analysis {"connection_id":111724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:42:02] local.INFO: Extracted packet for processing {"connection_id":111724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":111724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:42:02] local.INFO: GPS data processed {"connection_id":111724,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:42:02] local.INFO: Acknowledgment sent {"connection_id":111724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:42:10] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:42:10] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:42:10] local.INFO: IMEI packet received {"connection_id":111113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":111113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:42:15] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:42:15] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:42:15] local.INFO: IMEI packet received {"connection_id":111113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":111113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:42:16] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:42:16] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:42:16] local.INFO: Packet analysis {"connection_id":111113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:42:16] local.INFO: Extracted packet for processing {"connection_id":111113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:42:16] 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-06-23 15:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:42:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:42:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":111113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:42:16] local.INFO: GPS data processed {"connection_id":111113,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:42:16] local.INFO: Acknowledgment sent {"connection_id":111113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:42:29] local.INFO: TCP Data received {"connection_id":110926,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:42:29] local.INFO: Processing buffer {"connection_id":110926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:42:29] local.INFO: IMEI packet received {"connection_id":110926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":110926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:42:32] local.INFO: TCP Data received {"connection_id":112670,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:42:32] local.INFO: Processing buffer {"connection_id":112670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:42:32] local.INFO: IMEI packet received {"connection_id":112670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":112670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:42:34] local.INFO: TCP Data received {"connection_id":110926,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:42:34] local.INFO: Processing buffer {"connection_id":110926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:42:34] local.INFO: IMEI packet received {"connection_id":110926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":110926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:42:36] local.INFO: TCP Data received {"connection_id":110926,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:36] local.INFO: Processing buffer {"connection_id":110926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:36] local.INFO: Packet analysis {"connection_id":110926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:42:36] local.INFO: Extracted packet for processing {"connection_id":110926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:42:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:42:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":110926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:42:36] local.INFO: GPS data processed {"connection_id":110926,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:42:36] local.INFO: Acknowledgment sent {"connection_id":110926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:42:40] local.INFO: TCP Data received {"connection_id":110926,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:40] local.INFO: Processing buffer {"connection_id":110926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f329e0012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 15:42:40] local.INFO: Packet analysis {"connection_id":110926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:42:40] local.INFO: Extracted packet for processing {"connection_id":110926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f3"} 
[2026-06-23 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245493504001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782209260000,"timestamp_ms":1782209260000,"timestamp_seconds":1782209260,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f329e0"} 
[2026-06-23 15:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":110926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":110926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":110926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245493504001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245493504001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245493504001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":110926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:42:40] local.INFO: GPS data processed {"connection_id":110926,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:42:40] local.INFO: Acknowledgment sent {"connection_id":110926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:42:47] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:42:47] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:42:47] local.INFO: Packet analysis {"connection_id":111113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:42:47] local.INFO: Extracted packet for processing {"connection_id":111113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:42:47] 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-06-23 15:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:42:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:42:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":111113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:42:47] local.INFO: GPS data processed {"connection_id":111113,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:42:47] local.INFO: Acknowledgment sent {"connection_id":111113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:43:07] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:43:07] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:43:07] local.INFO: IMEI packet received {"connection_id":111115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":111115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:43:10] local.INFO: TCP Data received {"connection_id":112671,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:43:10] local.INFO: Processing buffer {"connection_id":112671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:43:10] local.INFO: IMEI packet received {"connection_id":112671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":112671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:43:15] local.INFO: TCP Data received {"connection_id":112671,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:43:15] local.INFO: Processing buffer {"connection_id":112671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:43:15] local.INFO: IMEI packet received {"connection_id":112671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":112671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:43:16] local.INFO: TCP Data received {"connection_id":112671,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:43:16] local.INFO: Processing buffer {"connection_id":112671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:43:16] local.INFO: Packet analysis {"connection_id":112671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:43:16] local.INFO: Extracted packet for processing {"connection_id":112671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:43:16] 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-06-23 15:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:43:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:43:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":112671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:43:16] local.INFO: GPS data processed {"connection_id":112671,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:43:16] local.INFO: Acknowledgment sent {"connection_id":112671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:43:24] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:43:24] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:43:24] local.INFO: IMEI packet received {"connection_id":111116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":111116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:43:28] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:43:28] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:43:28] local.INFO: IMEI packet received {"connection_id":111116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":111116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:43:30] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:43:30] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:43:30] local.INFO: Packet analysis {"connection_id":111116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:43:30] local.INFO: Extracted packet for processing {"connection_id":111116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:43:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:43:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":111116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:43:30] local.INFO: GPS data processed {"connection_id":111116,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:43:30] local.INFO: Acknowledgment sent {"connection_id":111116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:43:47] local.INFO: TCP Data received {"connection_id":112671,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:43:47] local.INFO: Processing buffer {"connection_id":112671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:43:47] local.INFO: Packet analysis {"connection_id":112671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:43:47] local.INFO: Extracted packet for processing {"connection_id":112671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:43:47] 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-06-23 15:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:43:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:43:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":112671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:43:47] local.INFO: GPS data processed {"connection_id":112671,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:43:47] local.INFO: Acknowledgment sent {"connection_id":112671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:44:01] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:44:01] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:44:01] local.INFO: Packet analysis {"connection_id":111116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:44:01] local.INFO: Extracted packet for processing {"connection_id":111116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:44:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:44:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:44:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":111116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:44:01] local.INFO: GPS data processed {"connection_id":111116,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:44:01] local.INFO: Acknowledgment sent {"connection_id":111116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:44:10] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:44:10] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:44:10] local.INFO: IMEI packet received {"connection_id":110927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":110927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:44:15] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:44:15] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:44:15] local.INFO: IMEI packet received {"connection_id":110927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":110927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:44:16] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:44:16] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:44:16] local.INFO: Packet analysis {"connection_id":110927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:44:16] local.INFO: Extracted packet for processing {"connection_id":110927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:44:16] 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-06-23 15:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:44:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:44:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":110927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:44:16] local.INFO: GPS data processed {"connection_id":110927,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:44:16] local.INFO: Acknowledgment sent {"connection_id":110927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:44:23] local.INFO: TCP Data received {"connection_id":112673,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:44:23] local.INFO: Processing buffer {"connection_id":112673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:44:23] local.INFO: IMEI packet received {"connection_id":112673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":112673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:44:29] local.INFO: TCP Data received {"connection_id":112673,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:44:29] local.INFO: Processing buffer {"connection_id":112673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:44:29] local.INFO: IMEI packet received {"connection_id":112673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":112673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:44:30] local.INFO: TCP Data received {"connection_id":112673,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:44:30] local.INFO: Processing buffer {"connection_id":112673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:44:30] local.INFO: Packet analysis {"connection_id":112673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:44:30] local.INFO: Extracted packet for processing {"connection_id":112673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":112673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:44:30] local.INFO: GPS data processed {"connection_id":112673,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:44:30] local.INFO: Acknowledgment sent {"connection_id":112673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:44:47] local.INFO: TCP Data received {"connection_id":110927,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:44:47] local.INFO: Processing buffer {"connection_id":110927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:44:47] local.INFO: Packet analysis {"connection_id":110927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:44:47] local.INFO: Extracted packet for processing {"connection_id":110927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:44:47] 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-06-23 15:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:44:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:44:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":110927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:44:47] local.INFO: GPS data processed {"connection_id":110927,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:44:47] local.INFO: Acknowledgment sent {"connection_id":110927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:45:02] local.INFO: TCP Data received {"connection_id":112673,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:45:02] local.INFO: Processing buffer {"connection_id":112673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:45:02] local.INFO: Packet analysis {"connection_id":112673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:45:02] local.INFO: Extracted packet for processing {"connection_id":112673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":112673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:45:02] local.INFO: GPS data processed {"connection_id":112673,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:45:02] local.INFO: Acknowledgment sent {"connection_id":112673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:45:10] local.INFO: TCP Data received {"connection_id":111726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:45:10] local.INFO: Processing buffer {"connection_id":111726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:45:10] local.INFO: IMEI packet received {"connection_id":111726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":111726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:45:15] local.INFO: TCP Data received {"connection_id":111726,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:45:15] local.INFO: Processing buffer {"connection_id":111726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:45:15] local.INFO: IMEI packet received {"connection_id":111726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":111726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:45:16] local.INFO: TCP Data received {"connection_id":111726,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:45:16] local.INFO: Processing buffer {"connection_id":111726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f5ece8012d7a0f8005ec8050000500fd28..."} 
[2026-06-23 15:45:16] local.INFO: Packet analysis {"connection_id":111726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:45:16] local.INFO: Extracted packet for processing {"connection_id":111726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f5"} 
[2026-06-23 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245543680001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782209441000,"timestamp_ms":1782209441000,"timestamp_seconds":1782209441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f5ece8"} 
[2026-06-23 15:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 15:45:16] 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-06-23 15:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245543680001,"66":12461,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245543680001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:45:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:45:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245543680001,"power":12461,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":111726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:45:16] local.INFO: GPS data processed {"connection_id":111726,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:45:16] local.INFO: Acknowledgment sent {"connection_id":111726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:45:23] local.INFO: TCP Data received {"connection_id":111119,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:45:23] local.INFO: Processing buffer {"connection_id":111119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:45:23] local.INFO: IMEI packet received {"connection_id":111119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:45:29] local.INFO: TCP Data received {"connection_id":111119,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:45:29] local.INFO: Processing buffer {"connection_id":111119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:45:29] local.INFO: IMEI packet received {"connection_id":111119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":111119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:45:30] local.INFO: TCP Data received {"connection_id":111119,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:45:30] local.INFO: Processing buffer {"connection_id":111119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:45:30] local.INFO: Packet analysis {"connection_id":111119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:45:30] local.INFO: Extracted packet for processing {"connection_id":111119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:45:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:45:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:45:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":111119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:45:30] local.INFO: GPS data processed {"connection_id":111119,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:45:30] local.INFO: Acknowledgment sent {"connection_id":111119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:45:47] local.INFO: TCP Data received {"connection_id":111726,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fa84b0012d7a0f8005ec8050000500fd26..."} 
[2026-06-23 15:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fa84b0012d7a0f8005ec8050000500fd26..."} 
[2026-06-23 15:45:47] local.INFO: Processing buffer {"connection_id":111726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fa84b0012d7a0f8005ec8050000500fd26..."} 
[2026-06-23 15:45:47] local.INFO: Packet analysis {"connection_id":111726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fa"} 
[2026-06-23 15:45:47] local.INFO: Extracted packet for processing {"connection_id":111726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fa"} 
[2026-06-23 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385424,"longitude_deg":76.297408,"latitude_deg":9.9385424,"altitude":5,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec8050","is_valid_coordinates":true} 
[2026-06-23 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245616896001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96349714315739136,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208891904,"note":"Value kept but may cause issues"} 
[2026-06-23 15:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782209742000,"timestamp_ms":1782209742000,"timestamp_seconds":1782209742,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fa84b0"} 
[2026-06-23 15:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 15:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245616896001,"66":12439,"157":206,"87":13824,"24":0,"16":96349714315739136,"45":8795389360208891904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245616896001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:45:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:45:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96349714315739136,"km_value":96349714315739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208891904,"description":"Unknown IO ID 45"} 
[2026-06-23 15:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245616896001,"power":12439,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208891904}} 
[2026-06-23 15:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":111726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:45:47] local.INFO: GPS data processed {"connection_id":111726,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:45:47] local.INFO: Acknowledgment sent {"connection_id":111726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:46:02] local.INFO: TCP Data received {"connection_id":111119,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:46:02] local.INFO: Processing buffer {"connection_id":111119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:46:02] local.INFO: Packet analysis {"connection_id":111119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:46:02] local.INFO: Extracted packet for processing {"connection_id":111119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 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-06-23 15:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:46:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:46:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:46:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":111119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:46:02] local.INFO: GPS data processed {"connection_id":111119,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:46:02] local.INFO: Acknowledgment sent {"connection_id":111119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:46:28] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:46:28] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:46:28] local.INFO: IMEI packet received {"connection_id":110929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":110929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:46:29] local.INFO: TCP Data received {"connection_id":111727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:46:29] local.INFO: Processing buffer {"connection_id":111727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:46:29] local.INFO: IMEI packet received {"connection_id":111727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":111727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:46:30] local.INFO: TCP Data received {"connection_id":111727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fa3690012d0c0cc007039b080017001810..."} 
[2026-06-23 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fa3690012d0c0cc007039b080017001810..."} 
[2026-06-23 15:46:30] local.INFO: Processing buffer {"connection_id":111727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fa3690012d0c0cc007039b080017001810..."} 
[2026-06-23 15:46:30] local.INFO: Packet analysis {"connection_id":111727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fa"} 
[2026-06-23 15:46:30] local.INFO: Extracted packet for processing {"connection_id":111727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fa"} 
[2026-06-23 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":755764416,"raw_latitude":117676808,"longitude_deg":75.5764416,"latitude_deg":11.7676808,"altitude":23,"angle":24,"satellites":16,"speed":1,"hex_longitude":"2d0c0cc0","hex_latitude":"07039b08","is_valid_coordinates":true} 
[2026-06-23 15:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245683712001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21882489005932544,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865957795973715968,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:30] 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-06-23 15:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209722000,"timestamp_ms":1782209722000,"timestamp_seconds":1782209722,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fa3690"} 
[2026-06-23 15:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 15:46: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-06-23 15:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245683712001,"66":14537,"37":206,"94":11008,"24":1,"16":21882489005932544,"45":865957795973715968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 15:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245683712001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:46:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 15:46:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21882489005932544,"km_value":21882489005932.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":865957795973715968,"description":"Unknown IO ID 45"} 
[2026-06-23 15:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245683712001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":865957795973715968}} 
[2026-06-23 15:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":111727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:46:30] local.INFO: GPS data processed {"connection_id":111727,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:46:30] local.INFO: Acknowledgment sent {"connection_id":111727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:46:34] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:46:34] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:46:34] local.INFO: IMEI packet received {"connection_id":110929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":110929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:46:36] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:46:36] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:46:36] local.INFO: Packet analysis {"connection_id":110929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:46:36] local.INFO: Extracted packet for processing {"connection_id":110929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 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-06-23 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":110929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":110929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:46:37] local.INFO: GPS data processed {"connection_id":110929,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:46:37] local.INFO: Acknowledgment sent {"connection_id":110929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:47:08] local.INFO: TCP Data received {"connection_id":110929,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:47:08] local.INFO: Processing buffer {"connection_id":110929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:47:08] local.INFO: Packet analysis {"connection_id":110929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:47:08] local.INFO: Extracted packet for processing {"connection_id":110929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":110929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":110929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":110929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:47:08] local.INFO: GPS data processed {"connection_id":110929,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:47:08] local.INFO: Acknowledgment sent {"connection_id":110929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:47:23] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:47:23] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:47:23] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:47:29] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:47:29] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:47:29] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:47:30] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:47:30] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:47:30] local.INFO: Packet analysis {"connection_id":111120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:47:30] local.INFO: Extracted packet for processing {"connection_id":111120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:47:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:47:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:47:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":111120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:47:30] local.INFO: GPS data processed {"connection_id":111120,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:47:30] local.INFO: Acknowledgment sent {"connection_id":111120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:47:34] local.INFO: TCP Data received {"connection_id":111727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fb9a08012d0b8d800703c0680026015510..."} 
[2026-06-23 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fb9a08012d0b8d800703c0680026015510..."} 
[2026-06-23 15:47:34] local.INFO: Processing buffer {"connection_id":111727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fb9a08012d0b8d800703c0680026015510..."} 
[2026-06-23 15:47:34] local.INFO: Packet analysis {"connection_id":111727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fb"} 
[2026-06-23 15:47:34] local.INFO: Extracted packet for processing {"connection_id":111727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fb"} 
[2026-06-23 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755731840,"raw_latitude":117686376,"longitude_deg":75.573184,"latitude_deg":11.7686376,"altitude":38,"angle":341,"satellites":16,"speed":10,"hex_longitude":"2d0b8d80","hex_latitude":"0703c068","is_valid_coordinates":true} 
[2026-06-23 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245711872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21884473280823296,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832532642493591552,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:34] 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-06-23 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782209813000,"timestamp_ms":1782209813000,"timestamp_seconds":1782209813,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fb9a08"} 
[2026-06-23 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:47: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-06-23 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 15:47:34] 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-06-23 15:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111727,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245711872001,"66":14004,"37":206,"94":11008,"24":10,"16":21884473280823296,"45":832532642493591552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-23 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245711872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21884473280823296,"km_value":21884473280823.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":832532642493591552,"description":"Unknown IO ID 45"} 
[2026-06-23 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245711872001,"power":14004,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":832532642493591552}} 
[2026-06-23 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":111727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:47:34] local.INFO: GPS data processed {"connection_id":111727,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:47:34] local.INFO: Acknowledgment sent {"connection_id":111727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:47:39] local.INFO: TCP Data received {"connection_id":111728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111728,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:47:39] local.INFO: Processing buffer {"connection_id":111728,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:47:39] local.INFO: IMEI packet received {"connection_id":111728,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":111728,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:47:43] local.INFO: TCP Data received {"connection_id":111728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111728,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:47:43] local.INFO: Processing buffer {"connection_id":111728,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:47:43] local.INFO: IMEI packet received {"connection_id":111728,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":111728,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:47:44] local.INFO: TCP Data received {"connection_id":111728,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc3a30012d0b6ec00703ee080027013f10..."} 
[2026-06-23 15:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc3a30012d0b6ec00703ee080027013f10..."} 
[2026-06-23 15:47:44] local.INFO: Processing buffer {"connection_id":111728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc3a30012d0b6ec00703ee080027013f10..."} 
[2026-06-23 15:47:44] local.INFO: Packet analysis {"connection_id":111728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:47:44] local.INFO: Extracted packet for processing {"connection_id":111728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:47:44] local.INFO: GPS Element Parsed {"raw_longitude":755723968,"raw_latitude":117698056,"longitude_deg":75.5723968,"latitude_deg":11.7698056,"altitude":39,"angle":319,"satellites":16,"speed":11,"hex_longitude":"2d0b6ec0","hex_latitude":"0703ee08","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245722368001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21885366634020864,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824158761939460096,"note":"Value kept but may cause issues"} 
[2026-06-23 15:47:44] 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-06-23 15:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782209854000,"timestamp_ms":1782209854000,"timestamp_seconds":1782209854,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc3a30"} 
[2026-06-23 15:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 15:47:44] 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-06-23 15: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-06-23 15:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111728,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111728,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245722368001,"66":14537,"96":206,"94":10240,"24":11,"16":21885366634020864,"45":824158761939460096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245722368001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21885366634020864,"km_value":21885366634020.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":824158761939460096,"description":"Unknown IO ID 45"} 
[2026-06-23 15:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245722368001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":824158761939460096}} 
[2026-06-23 15:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":111728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:47:44] local.INFO: GPS data processed {"connection_id":111728,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:47:44] local.INFO: Acknowledgment sent {"connection_id":111728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:48:02] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:48:02] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3f7c1a8012cb29b8007823df8004a00cf2b..."} 
[2026-06-23 15:48:02] local.INFO: Packet analysis {"connection_id":111120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:48:02] local.INFO: Extracted packet for processing {"connection_id":111120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3f7"} 
[2026-06-23 15:48:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245570560001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782209561000,"timestamp_ms":1782209561000,"timestamp_seconds":1782209561,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3f7c1a8"} 
[2026-06-23 15:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245570560001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245570560001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245570560001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":111120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:48:02] local.INFO: GPS data processed {"connection_id":111120,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:48:02] local.INFO: Acknowledgment sent {"connection_id":111120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:48:22] local.INFO: TCP Data received {"connection_id":110930,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:48:22] local.INFO: Processing buffer {"connection_id":110930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:48:22] local.INFO: IMEI packet received {"connection_id":110930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":110930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:48:28] local.INFO: TCP Data received {"connection_id":111121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:28] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:28] local.INFO: IMEI packet received {"connection_id":111121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":111121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:48:28] local.INFO: TCP Data received {"connection_id":111121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:28] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:28] local.INFO: IMEI packet received {"connection_id":111121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":111121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:48:29] local.INFO: TCP Data received {"connection_id":111729,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:48:29] local.INFO: Processing buffer {"connection_id":111729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:48:29] local.INFO: IMEI packet received {"connection_id":111729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":111729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:48:34] local.INFO: TCP Data received {"connection_id":111121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:34] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:48:34] local.INFO: IMEI packet received {"connection_id":111121,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":111121,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:48:34] local.INFO: TCP Data received {"connection_id":111729,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:48:34] local.INFO: Processing buffer {"connection_id":111729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:48:34] local.INFO: IMEI packet received {"connection_id":111729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":111729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:48:34] local.INFO: TCP Data received {"connection_id":111121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc3e18012d0b6e000703eeb00027014e10..."} 
[2026-06-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc3e18012d0b6e000703eeb00027014e10..."} 
[2026-06-23 15:48:34] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc3e18012d0b6e000703eeb00027014e10..."} 
[2026-06-23 15:48:34] local.INFO: Packet analysis {"connection_id":111121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:34] local.INFO: Extracted packet for processing {"connection_id":111121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":755723776,"raw_latitude":117698224,"longitude_deg":75.5723776,"latitude_deg":11.7698224,"altitude":39,"angle":334,"satellites":16,"speed":9,"hex_longitude":"2d0b6e00","hex_latitude":"0703eeb0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245722624001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21885379518922752,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823806918218614784,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:34] 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-06-23 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782209855000,"timestamp_ms":1782209855000,"timestamp_seconds":1782209855,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc3e18"} 
[2026-06-23 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-06-23 15: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-06-23 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 15:48:34] 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-06-23 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-06-23 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-06-23 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245722624001,"66":14537,"96":206,"94":10240,"24":9,"16":21885379518922752,"45":823806918218614784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245722624001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21885379518922752,"km_value":21885379518922.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":823806918218614784,"description":"Unknown IO ID 45"} 
[2026-06-23 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245722624001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":823806918218614784}} 
[2026-06-23 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":111121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:48:34] local.INFO: GPS data processed {"connection_id":111121,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:48:34] local.INFO: Acknowledgment sent {"connection_id":111121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:48:35] local.INFO: TCP Data received {"connection_id":111729,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:48:35] local.INFO: Processing buffer {"connection_id":111729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:48:35] local.INFO: Packet analysis {"connection_id":111729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:35] local.INFO: Extracted packet for processing {"connection_id":111729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:48: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-06-23 15: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-06-23 15:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":111729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:48:35] local.INFO: GPS data processed {"connection_id":111729,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:48:35] local.INFO: Acknowledgment sent {"connection_id":111729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:48:36] local.INFO: TCP Data received {"connection_id":111121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc4200012d0b6d800703ef600026015c10..."} 
[2026-06-23 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc4200012d0b6d800703ef600026015c10..."} 
[2026-06-23 15:48:36] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc4200012d0b6d800703ef600026015c10..."} 
[2026-06-23 15:48:36] local.INFO: Packet analysis {"connection_id":111121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:36] local.INFO: Extracted packet for processing {"connection_id":111121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":755723648,"raw_latitude":117698400,"longitude_deg":75.5723648,"latitude_deg":11.76984,"altitude":38,"angle":348,"satellites":16,"speed":9,"hex_longitude":"2d0b6d80","hex_latitude":"0703ef60","is_valid_coordinates":true} 
[2026-06-23 15:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245722880001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21885388108857344,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823595811986124800,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:36] 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-06-23 15:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782209856000,"timestamp_ms":1782209856000,"timestamp_seconds":1782209856,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc4200"} 
[2026-06-23 15:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 15:48:36] 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-06-23 15:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245722880001,"66":14265,"96":206,"94":10240,"24":9,"16":21885388108857344,"45":823595811986124800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245722880001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:48:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:48:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21885388108857344,"km_value":21885388108857.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":823595811986124800,"description":"Unknown IO ID 45"} 
[2026-06-23 15:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245722880001,"power":14265,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":823595811986124800}} 
[2026-06-23 15:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":111121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:48:36] local.INFO: GPS data processed {"connection_id":111121,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:48:36] local.INFO: Acknowledgment sent {"connection_id":111121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:48:40] local.INFO: TCP Data received {"connection_id":111729,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:48:40] local.INFO: Processing buffer {"connection_id":111729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:48:40] local.INFO: Packet analysis {"connection_id":111729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:40] local.INFO: Extracted packet for processing {"connection_id":111729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:48: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-06-23 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":111729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:48:40] local.INFO: GPS data processed {"connection_id":111729,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:48:40] local.INFO: Acknowledgment sent {"connection_id":111729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:49:06] local.INFO: TCP Data received {"connection_id":111730,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:49:06] local.INFO: Processing buffer {"connection_id":111730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:49:06] local.INFO: IMEI packet received {"connection_id":111730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":111730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:49:07] local.INFO: TCP Data received {"connection_id":111121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fd8638012d0b6440070439300026003513..."} 
[2026-06-23 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fd8638012d0b6440070439300026003513..."} 
[2026-06-23 15:49:07] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fd8638012d0b6440070439300026003513..."} 
[2026-06-23 15:49:07] local.INFO: Packet analysis {"connection_id":111121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fd"} 
[2026-06-23 15:49:07] local.INFO: Extracted packet for processing {"connection_id":111121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fd"} 
[2026-06-23 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":755721280,"raw_latitude":117717296,"longitude_deg":75.572128,"latitude_deg":11.7717296,"altitude":38,"angle":53,"satellites":19,"speed":6,"hex_longitude":"2d0b6440","hex_latitude":"07043930","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245743872001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886345886564352,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820710693479665664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:07] 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-06-23 15:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782209939000,"timestamp_ms":1782209939000,"timestamp_seconds":1782209939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fd8638"} 
[2026-06-23 15:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:49: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-06-23 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-23 15:49: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-06-23 15: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-06-23 15:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111121,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245743872001,"66":13678,"96":206,"94":10240,"24":6,"16":21886345886564352,"45":820710693479665664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245743872001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:49:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:49:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886345886564352,"km_value":21886345886564.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":820710693479665664,"description":"Unknown IO ID 45"} 
[2026-06-23 15:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245743872001,"power":13678,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":820710693479665664}} 
[2026-06-23 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":111121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:49:07] local.INFO: GPS data processed {"connection_id":111121,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:49:07] local.INFO: Acknowledgment sent {"connection_id":111121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:49:23] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:49:23] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:49:23] local.INFO: IMEI packet received {"connection_id":110932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":110932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:49:24] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:49:24] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:49:24] local.INFO: IMEI packet received {"connection_id":110931,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":110931,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:49:24] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:49:24] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:49:24] local.INFO: IMEI packet received {"connection_id":110931,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":110931,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:49:25] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fd8e08012d0b658007043a300025004413..."} 
[2026-06-23 15:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fd8e08012d0b658007043a300025004413..."} 
[2026-06-23 15:49:25] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fd8e08012d0b658007043a300025004413..."} 
[2026-06-23 15:49:25] local.INFO: Packet analysis {"connection_id":110931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fd"} 
[2026-06-23 15:49:25] local.INFO: Extracted packet for processing {"connection_id":110931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fd"} 
[2026-06-23 15:49:25] local.INFO: GPS Element Parsed {"raw_longitude":755721600,"raw_latitude":117717552,"longitude_deg":75.57216,"latitude_deg":11.7717552,"altitude":37,"angle":68,"satellites":19,"speed":7,"hex_longitude":"2d0b6580","hex_latitude":"07043a30","is_valid_coordinates":true} 
[2026-06-23 15:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245744384001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886363066433536,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820851430968078336,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:25] 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-06-23 15:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782209941000,"timestamp_ms":1782209941000,"timestamp_seconds":1782209941,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fd8e08"} 
[2026-06-23 15:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-23 15:49:25] 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-06-23 15:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245744384001,"66":14211,"96":206,"94":10240,"24":7,"16":21886363066433536,"45":820851430968078336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245744384001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:49:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:49:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886363066433536,"km_value":21886363066433.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":820851430968078336,"description":"Unknown IO ID 45"} 
[2026-06-23 15:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245744384001,"power":14211,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":820851430968078336}} 
[2026-06-23 15:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":110931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:49:25] local.INFO: GPS data processed {"connection_id":110931,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:49:25] local.INFO: Acknowledgment sent {"connection_id":110931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:49:28] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:49:28] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:49:28] local.INFO: IMEI packet received {"connection_id":110932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":110932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:49:29] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fd99c0012d0b684007043c300024003713..."} 
[2026-06-23 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fd99c0012d0b684007043c300024003713..."} 
[2026-06-23 15:49:29] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fd99c0012d0b684007043c300024003713..."} 
[2026-06-23 15:49:29] local.INFO: Packet analysis {"connection_id":110931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fd"} 
[2026-06-23 15:49:29] local.INFO: Extracted packet for processing {"connection_id":110931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fd"} 
[2026-06-23 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755722304,"raw_latitude":117718064,"longitude_deg":75.5722304,"latitude_deg":11.7718064,"altitude":36,"angle":55,"satellites":19,"speed":12,"hex_longitude":"2d0b6840","hex_latitude":"07043c30","is_valid_coordinates":true} 
[2026-06-23 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245744896001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21886406016106496,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821203274689032192,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:29] 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-06-23 15:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782209944000,"timestamp_ms":1782209944000,"timestamp_seconds":1782209944,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fd99c0"} 
[2026-06-23 15:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 15:49:29] 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-06-23 15:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245744896001,"66":14559,"96":206,"94":10240,"24":12,"16":21886406016106496,"45":821203274689032192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245744896001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:49:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:49:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21886406016106496,"km_value":21886406016106.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":821203274689032192,"description":"Unknown IO ID 45"} 
[2026-06-23 15:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245744896001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":821203274689032192}} 
[2026-06-23 15:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":110931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:49:29] local.INFO: GPS data processed {"connection_id":110931,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:49:29] local.INFO: Acknowledgment sent {"connection_id":110931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:49:30] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:49:30] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:49:30] local.INFO: Packet analysis {"connection_id":110932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:49:30] local.INFO: Extracted packet for processing {"connection_id":110932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15: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-06-23 15: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-06-23 15:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":110932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:49:30] local.INFO: GPS data processed {"connection_id":110932,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:49:30] local.INFO: Acknowledgment sent {"connection_id":110932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:50:00] local.INFO: TCP Data received {"connection_id":110931,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fe1aa8012d0b9b80070452900020002813..."} 
[2026-06-23 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fe1aa8012d0b9b80070452900020002813..."} 
[2026-06-23 15:50:00] local.INFO: Processing buffer {"connection_id":110931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fe1aa8012d0b9b80070452900020002813..."} 
[2026-06-23 15:50:00] local.INFO: Packet analysis {"connection_id":110931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fe"} 
[2026-06-23 15:50:00] local.INFO: Extracted packet for processing {"connection_id":110931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fe"} 
[2026-06-23 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":755735424,"raw_latitude":117723792,"longitude_deg":75.5735424,"latitude_deg":11.7723792,"altitude":32,"angle":40,"satellites":19,"speed":11,"hex_longitude":"2d0b9b80","hex_latitude":"07045290","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245753856001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21887191995121664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836191817200414720,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:00] 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-06-23 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782209977000,"timestamp_ms":1782209977000,"timestamp_seconds":1782209977,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fe1aa8"} 
[2026-06-23 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-06-23 15:50:00] 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-06-23 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 15:50:00] 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-06-23 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-06-23 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-06-23 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110931,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245753856001,"66":14559,"96":206,"94":10240,"24":11,"16":21887191995121664,"45":836191817200414720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245753856001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:50:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:50:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21887191995121664,"km_value":21887191995121.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":836191817200414720,"description":"Unknown IO ID 45"} 
[2026-06-23 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245753856001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":836191817200414720}} 
[2026-06-23 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":110931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:50:00] local.INFO: GPS data processed {"connection_id":110931,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:50:00] local.INFO: Acknowledgment sent {"connection_id":110931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:50:01] local.INFO: TCP Data received {"connection_id":110932,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:50:01] local.INFO: Processing buffer {"connection_id":110932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:50:01] local.INFO: Packet analysis {"connection_id":110932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:50:01] local.INFO: Extracted packet for processing {"connection_id":110932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:50: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-06-23 15:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:50:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:50:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":110932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:50:01] local.INFO: GPS data processed {"connection_id":110932,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:50:01] local.INFO: Acknowledgment sent {"connection_id":110932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:50:23] local.INFO: TCP Data received {"connection_id":111732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:23] local.INFO: Processing buffer {"connection_id":111732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:23] local.INFO: IMEI packet received {"connection_id":111732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":111732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:50:23] local.INFO: TCP Data received {"connection_id":111732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:23] local.INFO: Processing buffer {"connection_id":111732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:23] local.INFO: IMEI packet received {"connection_id":111732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":111732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:50:23] local.INFO: TCP Data received {"connection_id":111733,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:50:23] local.INFO: Processing buffer {"connection_id":111733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:50:23] local.INFO: IMEI packet received {"connection_id":111733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":111733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:50:28] local.INFO: TCP Data received {"connection_id":111732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:28] local.INFO: Processing buffer {"connection_id":111732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:50:28] local.INFO: IMEI packet received {"connection_id":111732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":111732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:50:28] local.INFO: TCP Data received {"connection_id":111733,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:50:28] local.INFO: Processing buffer {"connection_id":111733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:50:28] local.INFO: IMEI packet received {"connection_id":111733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":111733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:50:28] local.INFO: TCP Data received {"connection_id":111732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fe1e90012d0b9c8007045360001f003b13..."} 
[2026-06-23 15:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fe1e90012d0b9c8007045360001f003b13..."} 
[2026-06-23 15:50:28] local.INFO: Processing buffer {"connection_id":111732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fe1e90012d0b9c8007045360001f003b13..."} 
[2026-06-23 15:50:28] local.INFO: Packet analysis {"connection_id":111732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fe"} 
[2026-06-23 15:50:28] local.INFO: Extracted packet for processing {"connection_id":111732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fe"} 
[2026-06-23 15:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755735680,"raw_latitude":117724000,"longitude_deg":75.573568,"latitude_deg":11.7724,"altitude":31,"angle":59,"satellites":19,"speed":14,"hex_longitude":"2d0b9c80","hex_latitude":"07045360","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245754112001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21887209174990848,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836402923433005056,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:28] 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-06-23 15:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782209978000,"timestamp_ms":1782209978000,"timestamp_seconds":1782209978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fe1e90"} 
[2026-06-23 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-06-23 15:50: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-06-23 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":223,"data_length":795,"current_offset":136} 
[2026-06-23 15:50:28] 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-06-23 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-06-23 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-06-23 15:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245754112001,"66":14330,"96":206,"94":10240,"24":14,"16":21887209174990848,"45":836402923433005056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245754112001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:50:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:50:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21887209174990848,"km_value":21887209174990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":836402923433005056,"description":"Unknown IO ID 45"} 
[2026-06-23 15:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245754112001,"power":14330,"unknown_96":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":836402923433005056}} 
[2026-06-23 15:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":111732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371651,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:50:29] local.INFO: GPS data processed {"connection_id":111732,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:50:29] local.INFO: Acknowledgment sent {"connection_id":111732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:50:30] local.INFO: TCP Data received {"connection_id":111733,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:50:30] local.INFO: Processing buffer {"connection_id":111733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:50:30] local.INFO: Packet analysis {"connection_id":111733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:50:30] local.INFO: Extracted packet for processing {"connection_id":111733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 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-06-23 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15: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-06-23 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-06-23 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-06-23 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:50:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:50:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":111733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:50:30] local.INFO: GPS data processed {"connection_id":111733,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:50:30] local.INFO: Acknowledgment sent {"connection_id":111733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:51:00] local.INFO: TCP Data received {"connection_id":111732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fe2660012d0b9fc0070454700020004c13..."} 
[2026-06-23 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fe2660012d0b9fc0070454700020004c13..."} 
[2026-06-23 15:51:00] local.INFO: Processing buffer {"connection_id":111732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fe2660012d0b9fc0070454700020004c13..."} 
[2026-06-23 15:51:00] local.INFO: Packet analysis {"connection_id":111732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fe"} 
[2026-06-23 15:51:00] local.INFO: Extracted packet for processing {"connection_id":111732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fe"} 
[2026-06-23 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755736512,"raw_latitude":117724272,"longitude_deg":75.5736512,"latitude_deg":11.7724272,"altitude":32,"angle":76,"satellites":19,"speed":19,"hex_longitude":"2d0b9fc0","hex_latitude":"07045470","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245754368001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21887252124663808,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":836684398409768960,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:00] 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-06-23 15:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782209980000,"timestamp_ms":1782209980000,"timestamp_seconds":1782209980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fe2660"} 
[2026-06-23 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-06-23 15:51:00] 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-06-23 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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-23 15:51: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-06-23 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-06-23 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-06-23 15:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245754368001,"66":13798,"96":206,"94":10240,"24":19,"16":21887252124663808,"45":836684398409768960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 15:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245754368001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:51:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 15:51:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21887252124663808,"km_value":21887252124663.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":836684398409768960,"description":"Unknown IO ID 45"} 
[2026-06-23 15:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245754368001,"power":13798,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":836684398409768960}} 
[2026-06-23 15:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":111732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:51:00] local.INFO: GPS data processed {"connection_id":111732,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:51:00] local.INFO: Acknowledgment sent {"connection_id":111732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:51:01] local.INFO: TCP Data received {"connection_id":111733,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:51:01] local.INFO: Processing buffer {"connection_id":111733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:51:01] local.INFO: Packet analysis {"connection_id":111733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:51:01] local.INFO: Extracted packet for processing {"connection_id":111733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15: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-06-23 15: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-06-23 15:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:51:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":111733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:51:01] local.INFO: GPS data processed {"connection_id":111733,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:51:01] local.INFO: Acknowledgment sent {"connection_id":111733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:51:23] local.INFO: TCP Data received {"connection_id":111735,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:51:23] local.INFO: Processing buffer {"connection_id":111735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:51:23] local.INFO: IMEI packet received {"connection_id":111735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":111735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:51:24] local.INFO: TCP Data received {"connection_id":111123,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:51:24] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:51:24] local.INFO: IMEI packet received {"connection_id":111123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":111123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:51:25] local.INFO: TCP Data received {"connection_id":111123,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:51:25] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 15:51:25] local.INFO: IMEI packet received {"connection_id":111123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":111123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:51:29] local.INFO: TCP Data received {"connection_id":111735,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:51:29] local.INFO: Processing buffer {"connection_id":111735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:51:29] local.INFO: IMEI packet received {"connection_id":111735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":111735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:51:30] local.INFO: TCP Data received {"connection_id":111735,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:51:30] local.INFO: Processing buffer {"connection_id":111735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:51:30] local.INFO: Packet analysis {"connection_id":111735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:51:30] local.INFO: Extracted packet for processing {"connection_id":111735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:51:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15: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-06-23 15:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":111735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:51:30] local.INFO: GPS data processed {"connection_id":111735,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:51:30] local.INFO: Acknowledgment sent {"connection_id":111735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:52:03] local.INFO: TCP Data received {"connection_id":111735,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:03] local.INFO: Processing buffer {"connection_id":111735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:03] local.INFO: Packet analysis {"connection_id":111735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:52:03] local.INFO: Extracted packet for processing {"connection_id":111735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:52: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-06-23 15:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:52:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:52:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":111735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:52:03] local.INFO: GPS data processed {"connection_id":111735,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:52:03] local.INFO: Acknowledgment sent {"connection_id":111735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:52:29] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:52:29] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:52:29] local.INFO: IMEI packet received {"connection_id":111124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":111124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:52:34] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:52:34] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:52:34] local.INFO: IMEI packet received {"connection_id":111124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":111124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:52:35] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:35] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:35] local.INFO: Packet analysis {"connection_id":111124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:52:35] local.INFO: Extracted packet for processing {"connection_id":111124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:52:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:52: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-06-23 15:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":111124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:52:35] local.INFO: GPS data processed {"connection_id":111124,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:52:35] local.INFO: Acknowledgment sent {"connection_id":111124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:52:40] local.INFO: TCP Data received {"connection_id":111124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:40] local.INFO: Processing buffer {"connection_id":111124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef3fc5970012cb29b8007823df8004a00cf29..."} 
[2026-06-23 15:52:40] local.INFO: Packet analysis {"connection_id":111124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:52:40] local.INFO: Extracted packet for processing {"connection_id":111124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef3fc"} 
[2026-06-23 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245647616001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782209862000,"timestamp_ms":1782209862000,"timestamp_seconds":1782209862,"priority":1,"record_length":96,"hex_timestamp":"0000019ef3fc5970"} 
[2026-06-23 15:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 15:52: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-06-23 15: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-06-23 15:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245647616001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245647616001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:52:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:52:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245647616001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":111124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:52:40] local.INFO: GPS data processed {"connection_id":111124,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:52:40] local.INFO: Acknowledgment sent {"connection_id":111124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:53:27] local.INFO: TCP Data received {"connection_id":112677,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:53:27] local.INFO: Processing buffer {"connection_id":112677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:53:27] local.INFO: IMEI packet received {"connection_id":112677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":112677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:53:28] local.INFO: TCP Data received {"connection_id":112677,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:53:28] local.INFO: Processing buffer {"connection_id":112677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:53:28] local.INFO: IMEI packet received {"connection_id":112677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":112677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:53:30] local.INFO: TCP Data received {"connection_id":112677,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:53:30] local.INFO: Processing buffer {"connection_id":112677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:53:30] local.INFO: Packet analysis {"connection_id":112677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:53:30] local.INFO: Extracted packet for processing {"connection_id":112677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 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-06-23 15:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:53:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:53:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":112677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:53:30] local.INFO: GPS data processed {"connection_id":112677,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:53:30] local.INFO: Acknowledgment sent {"connection_id":112677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:53:34] local.INFO: TCP Data received {"connection_id":112677,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:53:34] local.INFO: Processing buffer {"connection_id":112677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:53:34] local.INFO: Packet analysis {"connection_id":112677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:53:34] local.INFO: Extracted packet for processing {"connection_id":112677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 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-06-23 15:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":112677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:53:34] local.INFO: GPS data processed {"connection_id":112677,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:53:34] local.INFO: Acknowledgment sent {"connection_id":112677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:54:06] local.INFO: TCP Data received {"connection_id":112677,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:54:06] local.INFO: Processing buffer {"connection_id":112677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:54:06] local.INFO: Packet analysis {"connection_id":112677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:54:06] local.INFO: Extracted packet for processing {"connection_id":112677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":112677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:54:06] local.INFO: GPS data processed {"connection_id":112677,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:54:06] local.INFO: Acknowledgment sent {"connection_id":112677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:54:20] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:54:20] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:54:20] local.INFO: IMEI packet received {"connection_id":111127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":111127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:54:23] local.INFO: TCP Data received {"connection_id":112678,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:54:23] local.INFO: Processing buffer {"connection_id":112678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:54:23] local.INFO: IMEI packet received {"connection_id":112678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":112678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:54:24] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:54:24] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:54:24] local.INFO: IMEI packet received {"connection_id":111127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":111127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:54:25] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40039a0012d79f98005ec6cf0000000ab27..."} 
[2026-06-23 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40039a0012d79f98005ec6cf0000000ab27..."} 
[2026-06-23 15:54:25] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40039a0012d79f98005ec6cf0000000ab27..."} 
[2026-06-23 15:54:25] local.INFO: Packet analysis {"connection_id":111127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:54:25] local.INFO: Extracted packet for processing {"connection_id":111127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99380464,"longitude_deg":76.2968448,"latitude_deg":9.9380464,"altitude":0,"angle":171,"satellites":39,"speed":2,"hex_longitude":"2d79f980","hex_latitude":"05ec6cf0","is_valid_coordinates":true} 
[2026-06-23 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245787648001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350173877239808,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788633960766949376,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782210116000,"timestamp_ms":1782210116000,"timestamp_seconds":1782210116,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40039a0"} 
[2026-06-23 15:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:54:25] 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-06-23 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 15:54:25] 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-06-23 15:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245787648001,"66":13059,"157":206,"87":13824,"24":2,"16":96350173877239808,"45":8788633960766949376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245787648001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:54:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350173877239808,"km_value":96350173877239.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788633960766949376,"description":"Unknown IO ID 45"} 
[2026-06-23 15:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245787648001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788633960766949376}} 
[2026-06-23 15:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":111127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:54:25] local.INFO: GPS data processed {"connection_id":111127,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:54:25] local.INFO: Acknowledgment sent {"connection_id":111127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:54:29] local.INFO: TCP Data received {"connection_id":112678,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:54:29] local.INFO: Processing buffer {"connection_id":112678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:54:29] local.INFO: IMEI packet received {"connection_id":112678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":112678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:54:30] local.INFO: TCP Data received {"connection_id":112678,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:54:30] local.INFO: Processing buffer {"connection_id":112678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:54:30] local.INFO: Packet analysis {"connection_id":112678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:54:30] local.INFO: Extracted packet for processing {"connection_id":112678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:54:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":112678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:54:30] local.INFO: GPS data processed {"connection_id":112678,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:54:30] local.INFO: Acknowledgment sent {"connection_id":112678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:54:37] local.INFO: TCP Data received {"connection_id":111736,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:54:37] local.INFO: Processing buffer {"connection_id":111736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:54:37] local.INFO: IMEI packet received {"connection_id":111736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":111736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:55:02] local.INFO: TCP Data received {"connection_id":112678,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:02] local.INFO: Processing buffer {"connection_id":112678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:02] local.INFO: Packet analysis {"connection_id":112678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:55:02] local.INFO: Extracted packet for processing {"connection_id":112678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":112678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:55:02] local.INFO: GPS data processed {"connection_id":112678,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:55:02] local.INFO: Acknowledgment sent {"connection_id":112678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:55:11] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:55:11] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:55:11] local.INFO: IMEI packet received {"connection_id":110936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":110936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:55:12] local.INFO: TCP Data received {"connection_id":110935,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:55:12] local.INFO: Processing buffer {"connection_id":110935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 15:55:12] local.INFO: IMEI packet received {"connection_id":110935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":110935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:55:15] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:55:15] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:55:15] local.INFO: IMEI packet received {"connection_id":110936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":110936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:55:16] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4029b00012d79ff8005ec5bd0000000a524..."} 
[2026-06-23 15:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4029b00012d79ff8005ec5bd0000000a524..."} 
[2026-06-23 15:55:16] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4029b00012d79ff8005ec5bd0000000a524..."} 
[2026-06-23 15:55:16] local.INFO: Packet analysis {"connection_id":110936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef402"} 
[2026-06-23 15:55:16] local.INFO: Extracted packet for processing {"connection_id":110936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef402"} 
[2026-06-23 15:55:16] local.INFO: GPS Element Parsed {"raw_longitude":762969984,"raw_latitude":99376080,"longitude_deg":76.2969984,"latitude_deg":9.937608,"altitude":0,"angle":165,"satellites":36,"speed":4,"hex_longitude":"2d79ff80","hex_latitude":"05ec5bd0","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245827328001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350418690375680,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790604285602562048,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782210272000,"timestamp_ms":1782210272000,"timestamp_seconds":1782210272,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4029b00"} 
[2026-06-23 15:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:55:16] 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-06-23 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-23 15:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245827328001,"66":13059,"157":206,"87":13824,"24":4,"16":96350418690375680,"45":8790604285602562048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245827328001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:55:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:55:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350418690375680,"km_value":96350418690375.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790604285602562048,"description":"Unknown IO ID 45"} 
[2026-06-23 15:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245827328001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8790604285602562048}} 
[2026-06-23 15:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":110936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:55:16] local.INFO: GPS data processed {"connection_id":110936,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:55:16] local.INFO: Acknowledgment sent {"connection_id":110936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:55:28] local.INFO: TCP Data received {"connection_id":111737,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:55:28] local.INFO: Processing buffer {"connection_id":111737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:55:28] local.INFO: IMEI packet received {"connection_id":111737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":111737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:55:34] local.INFO: TCP Data received {"connection_id":111737,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:55:34] local.INFO: Processing buffer {"connection_id":111737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:55:34] local.INFO: IMEI packet received {"connection_id":111737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":111737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:55:36] local.INFO: TCP Data received {"connection_id":111737,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:36] local.INFO: Processing buffer {"connection_id":111737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:36] local.INFO: Packet analysis {"connection_id":111737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:55:36] local.INFO: Extracted packet for processing {"connection_id":111737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:55:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:55:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":111737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:55:36] local.INFO: GPS data processed {"connection_id":111737,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:55:36] local.INFO: Acknowledgment sent {"connection_id":111737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:55:39] local.INFO: TCP Data received {"connection_id":111737,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:39] local.INFO: Processing buffer {"connection_id":111737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:55:39] local.INFO: Packet analysis {"connection_id":111737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:55:39] local.INFO: Extracted packet for processing {"connection_id":111737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:55:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":111737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:55:39] local.INFO: GPS data processed {"connection_id":111737,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:55:39] local.INFO: Acknowledgment sent {"connection_id":111737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:55:47] local.INFO: TCP Data received {"connection_id":110936,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef402a6b8012d79ffc005ec5b500000009724..."} 
[2026-06-23 15:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef402a6b8012d79ffc005ec5b500000009724..."} 
[2026-06-23 15:55:47] local.INFO: Processing buffer {"connection_id":110936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef402a6b8012d79ffc005ec5b500000009724..."} 
[2026-06-23 15:55:47] local.INFO: Packet analysis {"connection_id":110936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef402"} 
[2026-06-23 15:55:47] local.INFO: Extracted packet for processing {"connection_id":110936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef402"} 
[2026-06-23 15:55:47] local.INFO: GPS Element Parsed {"raw_longitude":762970048,"raw_latitude":99375952,"longitude_deg":76.2970048,"latitude_deg":9.9375952,"altitude":0,"angle":151,"satellites":36,"speed":0,"hex_longitude":"2d79ffc0","hex_latitude":"05ec5b50","is_valid_coordinates":true} 
[2026-06-23 15:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245829632001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350427280310272,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790885760579129344,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782210275000,"timestamp_ms":1782210275000,"timestamp_seconds":1782210275,"priority":1,"record_length":96,"hex_timestamp":"0000019ef402a6b8"} 
[2026-06-23 15:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:55:47] 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-06-23 15:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899325,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818498,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4093710456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2550214009,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3221613674,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070397,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3966394368,"note":"Value kept but may cause issues"} 
[2026-06-23 15:55:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,157,87,24,241,16,78,158,119,45,128,94,36,10,66,37,192,96,39,215,1,240,248,227,244,236,4,113,205,250,48,38,239,51,2,86,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-23 15:55:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":181574037667840,"timestamp_seconds":181574037667.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245829632001,"66":13200,"157":206,"87":13824,"24":0,"16":96350427280310272,"45":8790885760579129344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245829632001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:55:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:55:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350427280310272,"km_value":96350427280310.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790885760579129344,"description":"Unknown IO ID 45"} 
[2026-06-23 15:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245829632001,"power":13200,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8790885760579129344}} 
[2026-06-23 15:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":110936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:55:47] local.INFO: GPS data processed {"connection_id":110936,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:55:47] local.INFO: Acknowledgment sent {"connection_id":110936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:56:10] local.INFO: TCP Data received {"connection_id":111739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:56:10] local.INFO: Processing buffer {"connection_id":111739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:56:10] local.INFO: IMEI packet received {"connection_id":111739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":111739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:56:15] local.INFO: TCP Data received {"connection_id":111739,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:56:15] local.INFO: Processing buffer {"connection_id":111739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:56:15] local.INFO: IMEI packet received {"connection_id":111739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":111739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:56:16] local.INFO: TCP Data received {"connection_id":111739,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef402dd68012d7a00c005ec5930000000a325..."} 
[2026-06-23 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef402dd68012d7a00c005ec5930000000a325..."} 
[2026-06-23 15:56:16] local.INFO: Processing buffer {"connection_id":111739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef402dd68012d7a00c005ec5930000000a325..."} 
[2026-06-23 15:56:16] local.INFO: Packet analysis {"connection_id":111739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef402"} 
[2026-06-23 15:56:16] local.INFO: Extracted packet for processing {"connection_id":111739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef402"} 
[2026-06-23 15:56:16] local.INFO: GPS Element Parsed {"raw_longitude":762970304,"raw_latitude":99375408,"longitude_deg":76.2970304,"latitude_deg":9.9375408,"altitude":0,"angle":163,"satellites":37,"speed":4,"hex_longitude":"2d7a00c0","hex_latitude":"05ec5930","is_valid_coordinates":true} 
[2026-06-23 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245830400001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350453050114048,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129323274240,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782210289000,"timestamp_ms":1782210289000,"timestamp_seconds":1782210289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef402dd68"} 
[2026-06-23 15:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:56:16] 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-06-23 15:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-23 15:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245830400001,"66":12917,"157":206,"87":13824,"24":4,"16":96350453050114048,"45":8790956129323274240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245830400001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350453050114048,"km_value":96350453050114.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129323274240,"description":"Unknown IO ID 45"} 
[2026-06-23 15:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245830400001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8790956129323274240}} 
[2026-06-23 15:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":111739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:56:16] local.INFO: GPS data processed {"connection_id":111739,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:56:16] local.INFO: Acknowledgment sent {"connection_id":111739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:56:24] local.INFO: TCP Data received {"connection_id":111129,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:56:24] local.INFO: Processing buffer {"connection_id":111129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:56:24] local.INFO: IMEI packet received {"connection_id":111129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":111129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:56:29] local.INFO: TCP Data received {"connection_id":111129,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:56:29] local.INFO: Processing buffer {"connection_id":111129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:56:29] local.INFO: IMEI packet received {"connection_id":111129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":111129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:56:29] local.INFO: TCP Data received {"connection_id":111130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:56:29] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:56:29] local.INFO: IMEI packet received {"connection_id":111130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":111130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:56:30] local.INFO: TCP Data received {"connection_id":111130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4042588012d0a83800705a9200020013415..."} 
[2026-06-23 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4042588012d0a83800705a9200020013415..."} 
[2026-06-23 15:56:30] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4042588012d0a83800705a9200020013415..."} 
[2026-06-23 15:56:30] local.INFO: Packet analysis {"connection_id":111130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:56:30] local.INFO: Extracted packet for processing {"connection_id":111130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:56:30] local.INFO: GPS Element Parsed {"raw_longitude":755663744,"raw_latitude":117811488,"longitude_deg":75.5663744,"latitude_deg":11.7811488,"altitude":32,"angle":308,"satellites":21,"speed":10,"hex_longitude":"2d0a8380","hex_latitude":"0705a920","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245855232001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21895373907820544,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757941773697329152,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56: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-06-23 15:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210373000,"timestamp_ms":1782210373000,"timestamp_seconds":1782210373,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4042588"} 
[2026-06-23 15:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:56: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-06-23 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 15:56: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-06-23 15: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-06-23 15:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245855232001,"66":14396,"153":206,"94":10240,"24":10,"16":21895373907820544,"45":757941773697329152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245855232001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21895373907820544,"km_value":21895373907820.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":757941773697329152,"description":"Unknown IO ID 45"} 
[2026-06-23 15:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245855232001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757941773697329152}} 
[2026-06-23 15:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":111130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:56:30] local.INFO: GPS data processed {"connection_id":111130,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:56:30] local.INFO: Acknowledgment sent {"connection_id":111130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:56:30] local.INFO: TCP Data received {"connection_id":111129,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:56:30] local.INFO: Processing buffer {"connection_id":111129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:56:30] local.INFO: Packet analysis {"connection_id":111129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:56:30] local.INFO: Extracted packet for processing {"connection_id":111129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:56:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":111129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:56:30] local.INFO: GPS data processed {"connection_id":111129,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:56:30] local.INFO: Acknowledgment sent {"connection_id":111129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:56:48] local.INFO: TCP Data received {"connection_id":111739,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4030090012d7a01c005ec5550000000b525..."} 
[2026-06-23 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4030090012d7a01c005ec5550000000b525..."} 
[2026-06-23 15:56:48] local.INFO: Processing buffer {"connection_id":111739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4030090012d7a01c005ec5550000000b525..."} 
[2026-06-23 15:56:48] local.INFO: Packet analysis {"connection_id":111739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:56:48] local.INFO: Extracted packet for processing {"connection_id":111739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:56:48] local.INFO: GPS Element Parsed {"raw_longitude":762970560,"raw_latitude":99374416,"longitude_deg":76.297056,"latitude_deg":9.9374416,"altitude":0,"angle":181,"satellites":37,"speed":2,"hex_longitude":"2d7a01c0","hex_latitude":"05ec5550","is_valid_coordinates":true} 
[2026-06-23 15:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245833984001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350508884688896,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791237604299845632,"note":"Value kept but may cause issues"} 
[2026-06-23 15:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782210298000,"timestamp_ms":1782210298000,"timestamp_seconds":1782210298,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4030090"} 
[2026-06-23 15:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 15:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245833984001,"66":12809,"157":206,"87":13824,"24":2,"16":96350508884688896,"45":8791237604299845632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245833984001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:56:48] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:56:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350508884688896,"km_value":96350508884688.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791237604299845632,"description":"Unknown IO ID 45"} 
[2026-06-23 15:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245833984001,"power":12809,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8791237604299845632}} 
[2026-06-23 15:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":111739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:56:48] local.INFO: GPS data processed {"connection_id":111739,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:56:48] local.INFO: Acknowledgment sent {"connection_id":111739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:01] local.INFO: TCP Data received {"connection_id":111130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4042970012d0a83000705aa08001f014a15..."} 
[2026-06-23 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4042970012d0a83000705aa08001f014a15..."} 
[2026-06-23 15:57:01] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4042970012d0a83000705aa08001f014a15..."} 
[2026-06-23 15:57:01] local.INFO: Packet analysis {"connection_id":111130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:57:01] local.INFO: Extracted packet for processing {"connection_id":111130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811720,"longitude_deg":75.5663616,"latitude_deg":11.781172,"altitude":31,"angle":330,"satellites":21,"speed":13,"hex_longitude":"2d0a8300","hex_latitude":"0705aa08","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245855488001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21895386792722432,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757589929976471552,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:01] 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-06-23 15:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782210374000,"timestamp_ms":1782210374000,"timestamp_seconds":1782210374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4042970"} 
[2026-06-23 15:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:57:01] 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-06-23 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 15:57:01] 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-06-23 15: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-06-23 15:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245855488001,"66":14450,"153":206,"94":10240,"24":13,"16":21895386792722432,"45":757589929976471552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 15:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245855488001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 15:57:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21895386792722432,"km_value":21895386792722.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":757589929976471552,"description":"Unknown IO ID 45"} 
[2026-06-23 15:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245855488001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757589929976471552}} 
[2026-06-23 15:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":111130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:01] local.INFO: GPS data processed {"connection_id":111130,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:01] local.INFO: Acknowledgment sent {"connection_id":111130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:02] local.INFO: TCP Data received {"connection_id":111129,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:57:02] local.INFO: Processing buffer {"connection_id":111129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:57:02] local.INFO: Packet analysis {"connection_id":111129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:57:02] local.INFO: Extracted packet for processing {"connection_id":111129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 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-06-23 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:57:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":111129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:02] local.INFO: GPS data processed {"connection_id":111129,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:02] local.INFO: Acknowledgment sent {"connection_id":111129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:15] local.INFO: TCP Data received {"connection_id":111741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:57:15] local.INFO: Processing buffer {"connection_id":111741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:57:15] local.INFO: IMEI packet received {"connection_id":111741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":111741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:57:18] local.INFO: TCP Data received {"connection_id":111741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:57:18] local.INFO: Processing buffer {"connection_id":111741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:57:18] local.INFO: IMEI packet received {"connection_id":111741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":111741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:57:19] local.INFO: TCP Data received {"connection_id":111741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40323b8012d7a01c005ec5458000000a426..."} 
[2026-06-23 15:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40323b8012d7a01c005ec5458000000a426..."} 
[2026-06-23 15:57:19] local.INFO: Processing buffer {"connection_id":111741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40323b8012d7a01c005ec5458000000a426..."} 
[2026-06-23 15:57:19] local.INFO: Packet analysis {"connection_id":111741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:57:19] local.INFO: Extracted packet for processing {"connection_id":111741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:57:19] local.INFO: GPS Element Parsed {"raw_longitude":762970560,"raw_latitude":99374168,"longitude_deg":76.297056,"latitude_deg":9.9374168,"altitude":0,"angle":164,"satellites":38,"speed":3,"hex_longitude":"2d7a01c0","hex_latitude":"05ec5458","is_valid_coordinates":true} 
[2026-06-23 15:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245836288001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350517474623488,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791519079276302336,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782210307000,"timestamp_ms":1782210307000,"timestamp_seconds":1782210307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40323b8"} 
[2026-06-23 15:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:57:19] 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-06-23 15:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4093761456,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3489738105,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":244,"raw_value":121773116857383680,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3221613664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1412115977692206297,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576235087792648617,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,157,87,24,241,16,78,158,221,45,192,89,37,10,66,166,91,36,155,128,1,240,3,227,244,236,4,113,205,253,48,39,239,51,2,86,5,50,54,18],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-23 15:57:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":199170518548480,"timestamp_seconds":199170518548.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 15:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245836288001,"66":12917,"157":206,"87":13824,"24":3,"16":96350517474623488,"45":8791519079276302336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245836288001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:57:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350517474623488,"km_value":96350517474623.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791519079276302336,"description":"Unknown IO ID 45"} 
[2026-06-23 15:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245836288001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8791519079276302336}} 
[2026-06-23 15:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":111741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:19] local.INFO: GPS data processed {"connection_id":111741,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:19] local.INFO: Acknowledgment sent {"connection_id":111741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:20] local.INFO: TCP Data received {"connection_id":111741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40371d8012d7a044005ec4cc8000000a11f..."} 
[2026-06-23 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40371d8012d7a044005ec4cc8000000a11f..."} 
[2026-06-23 15:57:20] local.INFO: Processing buffer {"connection_id":111741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40371d8012d7a044005ec4cc8000000a11f..."} 
[2026-06-23 15:57:20] local.INFO: Packet analysis {"connection_id":111741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:57:20] local.INFO: Extracted packet for processing {"connection_id":111741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":99372232,"longitude_deg":76.29712,"latitude_deg":9.9372232,"altitude":0,"angle":161,"satellites":31,"speed":1,"hex_longitude":"2d7a0440","hex_latitude":"05ec4cc8","is_valid_coordinates":true} 
[2026-06-23 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245838592001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350620553838592,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791519079276238848,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782210327000,"timestamp_ms":1782210327000,"timestamp_seconds":1782210327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40371d8"} 
[2026-06-23 15:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:57:20] 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-06-23 15:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 15:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245838592001,"66":12961,"157":206,"87":13824,"24":1,"16":96350620553838592,"45":8791519079276238848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245838592001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:20] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:57:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350620553838592,"km_value":96350620553838.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791519079276238848,"description":"Unknown IO ID 45"} 
[2026-06-23 15:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245838592001,"power":12961,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8791519079276238848}} 
[2026-06-23 15:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":111741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:20] local.INFO: GPS data processed {"connection_id":111741,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:20] local.INFO: Acknowledgment sent {"connection_id":111741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:23] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:23] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:23] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:57:24] local.INFO: TCP Data received {"connection_id":111131,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:57:24] local.INFO: Processing buffer {"connection_id":111131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:57:24] local.INFO: IMEI packet received {"connection_id":111131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":111131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:57:24] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:24] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:24] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:57:25] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:25] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:25] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:57:28] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:28] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:57:28] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:57:29] local.INFO: TCP Data received {"connection_id":111131,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:57:29] local.INFO: Processing buffer {"connection_id":111131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:57:29] local.INFO: IMEI packet received {"connection_id":111131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":111131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:57:29] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4045c38012d0a78400705c000001e015715..."} 
[2026-06-23 15:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4045c38012d0a78400705c000001e015715..."} 
[2026-06-23 15:57:29] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4045c38012d0a78400705c000001e015715..."} 
[2026-06-23 15:57:29] local.INFO: Packet analysis {"connection_id":111132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:57:29] local.INFO: Extracted packet for processing {"connection_id":111132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:57:29] local.INFO: GPS Element Parsed {"raw_longitude":755660864,"raw_latitude":117817344,"longitude_deg":75.5660864,"latitude_deg":11.7817344,"altitude":30,"angle":343,"satellites":21,"speed":23,"hex_longitude":"2d0a7840","hex_latitude":"0705c000","is_valid_coordinates":true} 
[2026-06-23 15:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245855744001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21895691735400448,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488175616,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:29] 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-06-23 15:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782210387000,"timestamp_ms":1782210387000,"timestamp_seconds":1782210387,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4045c38"} 
[2026-06-23 15:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:57: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-06-23 15:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 15:57: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-06-23 15:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245855744001,"66":14537,"153":206,"94":10240,"24":23,"16":21895691735400448,"45":757449192488175616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 15:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245855744001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:29] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 15:57:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21895691735400448,"km_value":21895691735400.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488175616,"description":"Unknown IO ID 45"} 
[2026-06-23 15:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245855744001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":757449192488175616}} 
[2026-06-23 15:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":111132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:29] local.INFO: GPS data processed {"connection_id":111132,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:29] local.INFO: Acknowledgment sent {"connection_id":111132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:30] local.INFO: TCP Data received {"connection_id":111131,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:57:30] local.INFO: Processing buffer {"connection_id":111131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:57:30] local.INFO: Packet analysis {"connection_id":111131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:57:30] local.INFO: Extracted packet for processing {"connection_id":111131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 15:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":111131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:30] local.INFO: GPS data processed {"connection_id":111131,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:30] local.INFO: Acknowledgment sent {"connection_id":111131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:57:51] local.INFO: TCP Data received {"connection_id":111741,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40379a8012d7a044005ec4c78000000951f..."} 
[2026-06-23 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40379a8012d7a044005ec4c78000000951f..."} 
[2026-06-23 15:57:51] local.INFO: Processing buffer {"connection_id":111741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40379a8012d7a044005ec4c78000000951f..."} 
[2026-06-23 15:57:51] local.INFO: Packet analysis {"connection_id":111741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:57:51] local.INFO: Extracted packet for processing {"connection_id":111741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef403"} 
[2026-06-23 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":99372152,"longitude_deg":76.29712,"latitude_deg":9.9372152,"altitude":0,"angle":149,"satellites":31,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05ec4c78","is_valid_coordinates":true} 
[2026-06-23 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245843712001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96350624848805888,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766717519872,"note":"Value kept but may cause issues"} 
[2026-06-23 15:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782210329000,"timestamp_ms":1782210329000,"timestamp_seconds":1782210329,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40379a8"} 
[2026-06-23 15:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 15:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245843712001,"66":12798,"157":206,"87":13824,"24":0,"16":96350624848805888,"45":8792222766717519872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245843712001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:57:51] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 15:57:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96350624848805888,"km_value":96350624848805.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766717519872,"description":"Unknown IO ID 45"} 
[2026-06-23 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245843712001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792222766717519872}} 
[2026-06-23 15:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":111741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:57:51] local.INFO: GPS data processed {"connection_id":111741,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:57:51] local.INFO: Acknowledgment sent {"connection_id":111741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:58:00] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4046bd8012d0a76c00705c688001d016315..."} 
[2026-06-23 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4046bd8012d0a76c00705c688001d016315..."} 
[2026-06-23 15:58:00] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4046bd8012d0a76c00705c688001d016315..."} 
[2026-06-23 15:58:00] local.INFO: Packet analysis {"connection_id":111132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:58:00] local.INFO: Extracted packet for processing {"connection_id":111132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef404"} 
[2026-06-23 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":755660480,"raw_latitude":117819016,"longitude_deg":75.566048,"latitude_deg":11.7819016,"altitude":29,"angle":355,"satellites":21,"speed":10,"hex_longitude":"2d0a76c0","hex_latitude":"0705c688","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245859072001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21895773339779072,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754423336489975808,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:00] 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-06-23 15:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782210391000,"timestamp_ms":1782210391000,"timestamp_seconds":1782210391,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4046bd8"} 
[2026-06-23 15:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 15:58:00] 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-06-23 15: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-06-23 15:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 15:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 15:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 15:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245859072001,"66":14439,"153":206,"94":10240,"24":10,"16":21895773339779072,"45":754423336489975808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-23 15:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 15:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 15:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245859072001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:58:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 15:58:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 15:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21895773339779072,"km_value":21895773339779.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":754423336489975808,"description":"Unknown IO ID 45"} 
[2026-06-23 15:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245859072001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":754423336489975808}} 
[2026-06-23 15:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":111132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:58:01] local.INFO: GPS data processed {"connection_id":111132,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:58:01] local.INFO: Acknowledgment sent {"connection_id":111132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:58:02] local.INFO: TCP Data received {"connection_id":111131,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:58:02] local.INFO: Processing buffer {"connection_id":111131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef400f138012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 15:58:02] local.INFO: Packet analysis {"connection_id":111131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:58:02] local.INFO: Extracted packet for processing {"connection_id":111131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef400"} 
[2026-06-23 15:58:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245724672001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210163000,"timestamp_ms":1782210163000,"timestamp_seconds":1782210163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef400f138"} 
[2026-06-23 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-06-23 15:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 15:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245724672001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245724672001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245724672001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":111131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:58:02] local.INFO: GPS data processed {"connection_id":111131,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:58:02] local.INFO: Acknowledgment sent {"connection_id":111131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:58:10] local.INFO: TCP Data received {"connection_id":110938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:10] local.INFO: Processing buffer {"connection_id":110938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:10] local.INFO: IMEI packet received {"connection_id":110938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":110938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:58:13] local.INFO: TCP Data received {"connection_id":110938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:13] local.INFO: Processing buffer {"connection_id":110938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:13] local.INFO: IMEI packet received {"connection_id":110938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":110938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:58:15] local.INFO: TCP Data received {"connection_id":110938,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:15] local.INFO: Processing buffer {"connection_id":110938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:58:15] local.INFO: IMEI packet received {"connection_id":110938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":110938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:58:23] local.INFO: TCP Data received {"connection_id":110939,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:23] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:23] local.INFO: IMEI packet received {"connection_id":110939,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 15:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":110939,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:58:23] local.INFO: TCP Data received {"connection_id":111133,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:58:23] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:58:23] local.INFO: IMEI packet received {"connection_id":111133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":111133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:58:24] local.INFO: TCP Data received {"connection_id":110939,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:24] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:24] local.INFO: IMEI packet received {"connection_id":110939,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":110939,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:58:26] local.INFO: TCP Data received {"connection_id":110938,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef405a070012d7a58c005eb94d00007006c24..."} 
[2026-06-23 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef405a070012d7a58c005eb94d00007006c24..."} 
[2026-06-23 15:58:26] local.INFO: Processing buffer {"connection_id":110938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef405a070012d7a58c005eb94d00007006c24..."} 
[2026-06-23 15:58:26] local.INFO: Packet analysis {"connection_id":110938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:58:26] local.INFO: Extracted packet for processing {"connection_id":110938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762992832,"raw_latitude":99325136,"longitude_deg":76.2992832,"latitude_deg":9.9325136,"altitude":7,"angle":108,"satellites":36,"speed":17,"hex_longitude":"2d7a58c0","hex_latitude":"05eb94d0","is_valid_coordinates":true} 
[2026-06-23 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245879808001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96353158879510528,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307500544,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:26] 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-06-23 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782210470000,"timestamp_ms":1782210470000,"timestamp_seconds":1782210470,"priority":1,"record_length":96,"hex_timestamp":"0000019ef405a070"} 
[2026-06-23 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:58:26] 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-06-23 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 15:58:26] 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-06-23 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245879808001,"66":13254,"163":206,"87":13824,"24":17,"16":96353158879510528,"45":8815162977307500544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245879808001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:58:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96353158879510528,"km_value":96353158879510.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307500544,"description":"Unknown IO ID 45"} 
[2026-06-23 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245879808001,"power":13254,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8815162977307500544}} 
[2026-06-23 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":110938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:58:26] local.INFO: GPS data processed {"connection_id":110938,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:58:26] local.INFO: Acknowledgment sent {"connection_id":110938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:58:27] local.INFO: TCP Data received {"connection_id":110939,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:27] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:27] local.INFO: IMEI packet received {"connection_id":110939,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":110939,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:58:28] local.INFO: TCP Data received {"connection_id":110939,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110939,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:28] local.INFO: Processing buffer {"connection_id":110939,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 15:58:28] local.INFO: IMEI packet received {"connection_id":110939,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 15:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":110939,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:58:29] local.INFO: TCP Data received {"connection_id":110938,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef405a458012d7a5ac005eb94a00007005f24..."} 
[2026-06-23 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef405a458012d7a5ac005eb94a00007005f24..."} 
[2026-06-23 15:58:29] local.INFO: Processing buffer {"connection_id":110938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef405a458012d7a5ac005eb94a00007005f24..."} 
[2026-06-23 15:58:29] local.INFO: Packet analysis {"connection_id":110938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:58:29] local.INFO: Extracted packet for processing {"connection_id":110938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762993344,"raw_latitude":99325088,"longitude_deg":76.2993344,"latitude_deg":9.9325088,"altitude":7,"angle":95,"satellites":36,"speed":18,"hex_longitude":"2d7a5ac0","hex_latitude":"05eb94a0","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245880320001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96353184649314304,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816007402237513728,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:29] 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-06-23 15:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782210471000,"timestamp_ms":1782210471000,"timestamp_seconds":1782210471,"priority":1,"record_length":96,"hex_timestamp":"0000019ef405a458"} 
[2026-06-23 15:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:58: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-06-23 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 15:58: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-06-23 15: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-06-23 15:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245880320001,"66":13243,"163":206,"87":13824,"24":18,"16":96353184649314304,"45":8816007402237513728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245880320001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:58:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:58:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96353184649314304,"km_value":96353184649314.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816007402237513728,"description":"Unknown IO ID 45"} 
[2026-06-23 15:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245880320001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8816007402237513728}} 
[2026-06-23 15:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":110938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:58:29] local.INFO: GPS data processed {"connection_id":110938,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:58:29] local.INFO: Acknowledgment sent {"connection_id":110938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:58:29] local.INFO: TCP Data received {"connection_id":111133,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:58:29] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:58:29] local.INFO: IMEI packet received {"connection_id":111133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":111133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:58:30] local.INFO: TCP Data received {"connection_id":111133,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:58:30] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:58:30] local.INFO: Packet analysis {"connection_id":111133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:58:30] local.INFO: Extracted packet for processing {"connection_id":111133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 15:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":111133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:58:30] local.INFO: GPS data processed {"connection_id":111133,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:58:30] local.INFO: Acknowledgment sent {"connection_id":111133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:59:02] local.INFO: TCP Data received {"connection_id":111133,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:02] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:02] local.INFO: Packet analysis {"connection_id":111133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:02] local.INFO: Extracted packet for processing {"connection_id":111133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 15:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15: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-06-23 15:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":111133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:59:02] local.INFO: GPS data processed {"connection_id":111133,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:59:02] local.INFO: Acknowledgment sent {"connection_id":111133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:59:09] local.INFO: TCP Data received {"connection_id":112679,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:09] local.INFO: Processing buffer {"connection_id":112679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:09] local.INFO: IMEI packet received {"connection_id":112679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":112679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:59:10] local.INFO: TCP Data received {"connection_id":112679,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:10] local.INFO: Processing buffer {"connection_id":112679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:10] local.INFO: IMEI packet received {"connection_id":112679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":112679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:59:15] local.INFO: TCP Data received {"connection_id":112679,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:15] local.INFO: Processing buffer {"connection_id":112679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 15:59:15] local.INFO: IMEI packet received {"connection_id":112679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 15:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":112679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:59:16] local.INFO: TCP Data received {"connection_id":112679,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef405a840012d7a5cc005eb95080007005124..."} 
[2026-06-23 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef405a840012d7a5cc005eb95080007005124..."} 
[2026-06-23 15:59:16] local.INFO: Processing buffer {"connection_id":112679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef405a840012d7a5cc005eb95080007005124..."} 
[2026-06-23 15:59:16] local.INFO: Packet analysis {"connection_id":112679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:16] local.INFO: Extracted packet for processing {"connection_id":112679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:16] local.INFO: GPS Element Parsed {"raw_longitude":762993856,"raw_latitude":99325192,"longitude_deg":76.2993856,"latitude_deg":9.9325192,"altitude":7,"angle":81,"satellites":36,"speed":20,"hex_longitude":"2d7a5cc0","hex_latitude":"05eb9508","is_valid_coordinates":true} 
[2026-06-23 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245880576001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96353210419118080,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816570352190922752,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:16] 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-06-23 15:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782210472000,"timestamp_ms":1782210472000,"timestamp_seconds":1782210472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef405a840"} 
[2026-06-23 15:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:59:16] 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-06-23 15:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 15:59:16] 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-06-23 15:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245880576001,"66":13243,"163":206,"87":13824,"24":20,"16":96353210419118080,"45":8816570352190922752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245880576001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:59:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:59:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96353210419118080,"km_value":96353210419118.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816570352190922752,"description":"Unknown IO ID 45"} 
[2026-06-23 15:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245880576001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8816570352190922752}} 
[2026-06-23 15:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":112679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:59:16] local.INFO: GPS data processed {"connection_id":112679,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:59:16] local.INFO: Acknowledgment sent {"connection_id":112679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:59:23] local.INFO: TCP Data received {"connection_id":111743,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:59:23] local.INFO: Processing buffer {"connection_id":111743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:59:23] local.INFO: IMEI packet received {"connection_id":111743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 15:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 15:59:28] local.INFO: TCP Data received {"connection_id":111743,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:59:28] local.INFO: Processing buffer {"connection_id":111743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 15:59:28] local.INFO: IMEI packet received {"connection_id":111743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 15:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 15:59:30] local.INFO: TCP Data received {"connection_id":111743,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:30] local.INFO: Processing buffer {"connection_id":111743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:30] local.INFO: Packet analysis {"connection_id":111743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:30] local.INFO: Extracted packet for processing {"connection_id":111743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 15:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 15:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 15:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 15:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 15:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:59:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:59:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":111743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:59:30] local.INFO: GPS data processed {"connection_id":111743,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:59:30] local.INFO: Acknowledgment sent {"connection_id":111743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:59:34] local.INFO: TCP Data received {"connection_id":111743,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:34] local.INFO: Processing buffer {"connection_id":111743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 15:59:34] local.INFO: Packet analysis {"connection_id":111743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:34] local.INFO: Extracted packet for processing {"connection_id":111743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 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-06-23 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 15:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 15:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 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-06-23 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 15:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:59:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 15:59:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":111743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:59:34] local.INFO: GPS data processed {"connection_id":111743,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:59:34] local.INFO: Acknowledgment sent {"connection_id":111743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 15:59:49] local.INFO: TCP Data received {"connection_id":112679,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef405b7e0012d7a664005eb98d00007004523..."} 
[2026-06-23 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef405b7e0012d7a664005eb98d00007004523..."} 
[2026-06-23 15:59:49] local.INFO: Processing buffer {"connection_id":112679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef405b7e0012d7a664005eb98d00007004523..."} 
[2026-06-23 15:59:49] local.INFO: Packet analysis {"connection_id":112679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:49] local.INFO: Extracted packet for processing {"connection_id":112679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 15:59:49] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":99326160,"longitude_deg":76.2996288,"latitude_deg":9.932616,"altitude":7,"angle":69,"satellites":35,"speed":29,"hex_longitude":"2d7a6640","hex_latitude":"05eb98d0","is_valid_coordinates":true} 
[2026-06-23 15: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-06-23 15:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245880832001,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96353334973169664,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817133302144370688,"note":"Value kept but may cause issues"} 
[2026-06-23 15:59:49] 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-06-23 15:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782210476000,"timestamp_ms":1782210476000,"timestamp_seconds":1782210476,"priority":1,"record_length":96,"hex_timestamp":"0000019ef405b7e0"} 
[2026-06-23 15:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 15:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 15:59:49] 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-06-23 15: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-06-23 15:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 15:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 15:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 15:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 15:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 15:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 15:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 15:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245880832001,"66":13178,"163":206,"87":13824,"24":29,"16":96353334973169664,"45":8817133302144370688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-23 15:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 15:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245880832001,"description":"Unknown IO ID 0"} 
[2026-06-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 15:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96353334973169664,"km_value":96353334973169.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 15:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817133302144370688,"description":"Unknown IO ID 45"} 
[2026-06-23 15:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245880832001,"power":13178,"unknown_163":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8817133302144370688}} 
[2026-06-23 15:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":112679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 15:59:49] local.INFO: GPS data processed {"connection_id":112679,"processed":1,"errors":0,"total":1} 
[2026-06-23 15:59:49] local.INFO: Acknowledgment sent {"connection_id":112679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:00:06] local.INFO: TCP Data received {"connection_id":111743,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:00:06] local.INFO: Processing buffer {"connection_id":111743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:00:06] local.INFO: Packet analysis {"connection_id":111743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:00:06] local.INFO: Extracted packet for processing {"connection_id":111743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:00:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":111743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:00:06] local.INFO: GPS data processed {"connection_id":111743,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:00:06] local.INFO: Acknowledgment sent {"connection_id":111743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:00:11] local.INFO: TCP Data received {"connection_id":110941,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:00:11] local.INFO: Processing buffer {"connection_id":110941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:00:11] local.INFO: IMEI packet received {"connection_id":110941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":110941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:00:14] local.INFO: TCP Data received {"connection_id":110941,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:00:14] local.INFO: Processing buffer {"connection_id":110941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:00:14] local.INFO: IMEI packet received {"connection_id":110941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":110941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:00:15] local.INFO: TCP Data received {"connection_id":110941,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef405e6c0012d7a880005eba5d00006004721..."} 
[2026-06-23 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef405e6c0012d7a880005eba5d00006004721..."} 
[2026-06-23 16:00:15] local.INFO: Processing buffer {"connection_id":110941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef405e6c0012d7a880005eba5d00006004721..."} 
[2026-06-23 16:00:15] local.INFO: Packet analysis {"connection_id":110941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:00:15] local.INFO: Extracted packet for processing {"connection_id":110941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:00:15] local.INFO: GPS Element Parsed {"raw_longitude":763004928,"raw_latitude":99329488,"longitude_deg":76.3004928,"latitude_deg":9.9329488,"altitude":6,"angle":71,"satellites":33,"speed":29,"hex_longitude":"2d7a8800","hex_latitude":"05eba5d0","is_valid_coordinates":true} 
[2026-06-23 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245881856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96353777354801152,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314423369728,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:15] 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-06-23 16:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782210488000,"timestamp_ms":1782210488000,"timestamp_seconds":1782210488,"priority":1,"record_length":96,"hex_timestamp":"0000019ef405e6c0"} 
[2026-06-23 16:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:00:15] 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-06-23 16:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 16:00:15] 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-06-23 16:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245881856001,"66":13243,"161":206,"87":13824,"24":29,"16":96353777354801152,"45":8819807314423369728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-23 16:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245881856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:00:15] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 16:00:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96353777354801152,"km_value":96353777354801.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314423369728,"description":"Unknown IO ID 45"} 
[2026-06-23 16:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245881856001,"power":13243,"unknown_161":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8819807314423369728}} 
[2026-06-23 16:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":110941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:00:15] local.INFO: GPS data processed {"connection_id":110941,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:00:15] local.INFO: Acknowledgment sent {"connection_id":110941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:00:24] local.INFO: TCP Data received {"connection_id":112681,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:00:24] local.INFO: Processing buffer {"connection_id":112681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:00:24] local.INFO: IMEI packet received {"connection_id":112681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":112681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:00:29] local.INFO: TCP Data received {"connection_id":112681,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:00:29] local.INFO: Processing buffer {"connection_id":112681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:00:29] local.INFO: IMEI packet received {"connection_id":112681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":112681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:00:30] local.INFO: TCP Data received {"connection_id":112681,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:00:30] local.INFO: Processing buffer {"connection_id":112681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:00:30] local.INFO: Packet analysis {"connection_id":112681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:00:30] local.INFO: Extracted packet for processing {"connection_id":112681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 16:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:00:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":112681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:00:30] local.INFO: GPS data processed {"connection_id":112681,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:00:30] local.INFO: Acknowledgment sent {"connection_id":112681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:00:32] local.INFO: TCP Data received {"connection_id":110940,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:00:32] local.INFO: Processing buffer {"connection_id":110940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:00:32] local.INFO: IMEI packet received {"connection_id":110940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":110940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:00:47] local.INFO: TCP Data received {"connection_id":110941,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef407cb20012d7bfe4005ec3368001200542b..."} 
[2026-06-23 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef407cb20012d7bfe4005ec3368001200542b..."} 
[2026-06-23 16:00:47] local.INFO: Processing buffer {"connection_id":110941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef407cb20012d7bfe4005ec3368001200542b..."} 
[2026-06-23 16:00:47] local.INFO: Packet analysis {"connection_id":110941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef407"} 
[2026-06-23 16:00:47] local.INFO: Extracted packet for processing {"connection_id":110941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef407"} 
[2026-06-23 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763100736,"raw_latitude":99365736,"longitude_deg":76.3100736,"latitude_deg":9.9365736,"altitude":18,"angle":84,"satellites":43,"speed":30,"hex_longitude":"2d7bfe40","hex_latitude":"05ec3368","is_valid_coordinates":true} 
[2026-06-23 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245913856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96358703682289664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924445637025298432,"note":"Value kept but may cause issues"} 
[2026-06-23 16:00:47] 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-06-23 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782210612000,"timestamp_ms":1782210612000,"timestamp_seconds":1782210612,"priority":1,"record_length":96,"hex_timestamp":"0000019ef407cb20"} 
[2026-06-23 16:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:00:47] 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-06-23 16:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 16:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245913856001,"66":13037,"198":206,"87":13824,"24":30,"16":96358703682289664,"45":8924445637025298432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245913856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:00:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:00:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96358703682289664,"km_value":96358703682289.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924445637025298432,"description":"Unknown IO ID 45"} 
[2026-06-23 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245913856001,"power":13037,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8924445637025298432}} 
[2026-06-23 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":110941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:00:47] local.INFO: GPS data processed {"connection_id":110941,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:00:47] local.INFO: Acknowledgment sent {"connection_id":110941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:01:02] local.INFO: TCP Data received {"connection_id":112681,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:01:02] local.INFO: Processing buffer {"connection_id":112681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:01:02] local.INFO: Packet analysis {"connection_id":112681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:01:02] local.INFO: Extracted packet for processing {"connection_id":112681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 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-06-23 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":112681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:01:02] local.INFO: GPS data processed {"connection_id":112681,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:01:02] local.INFO: Acknowledgment sent {"connection_id":112681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:01:07] local.INFO: TCP Data received {"connection_id":111745,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:01:07] local.INFO: Processing buffer {"connection_id":111745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:01:07] local.INFO: IMEI packet received {"connection_id":111745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":111745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:01:10] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:10] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:10] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:01:11] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:11] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:11] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:01:15] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:15] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:01:15] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:01:17] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef407fa00012d7c230005ec3578001200582d..."} 
[2026-06-23 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef407fa00012d7c230005ec3578001200582d..."} 
[2026-06-23 16:01:17] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef407fa00012d7c230005ec3578001200582d..."} 
[2026-06-23 16:01:17] local.INFO: Packet analysis {"connection_id":111135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef407"} 
[2026-06-23 16:01:17] local.INFO: Extracted packet for processing {"connection_id":111135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef407"} 
[2026-06-23 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":763110144,"raw_latitude":99366264,"longitude_deg":76.3110144,"latitude_deg":9.9366264,"altitude":18,"angle":88,"satellites":45,"speed":34,"hex_longitude":"2d7c2300","hex_latitude":"05ec3578","is_valid_coordinates":true} 
[2026-06-23 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245916672001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96359150358888448,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934649104931448832,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01: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-06-23 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782210624000,"timestamp_ms":1782210624000,"timestamp_seconds":1782210624,"priority":1,"record_length":96,"hex_timestamp":"0000019ef407fa00"} 
[2026-06-23 16:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 16:01:17] 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-06-23 16:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245916672001,"66":13080,"198":206,"87":13824,"24":34,"16":96359150358888448,"45":8934649104931448832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245916672001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:01:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:01:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96359150358888448,"km_value":96359150358888.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934649104931448832,"description":"Unknown IO ID 45"} 
[2026-06-23 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245916672001,"power":13080,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8934649104931448832}} 
[2026-06-23 16:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":111135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:01:17] local.INFO: GPS data processed {"connection_id":111135,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:01:17] local.INFO: Acknowledgment sent {"connection_id":111135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:01:24] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:01:24] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:01:24] local.INFO: IMEI packet received {"connection_id":110942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":110942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:01:28] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:01:28] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:01:28] local.INFO: IMEI packet received {"connection_id":110942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":110942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:01:30] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:01:30] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:01:30] local.INFO: Packet analysis {"connection_id":110942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:01:30] local.INFO: Extracted packet for processing {"connection_id":110942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:01:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 16:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:01:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":110942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:01:30] local.INFO: GPS data processed {"connection_id":110942,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:01:30] local.INFO: Acknowledgment sent {"connection_id":110942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:01:48] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40824f8012d7c46c005ec3630001200582e..."} 
[2026-06-23 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40824f8012d7c46c005ec3630001200582e..."} 
[2026-06-23 16:01:48] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40824f8012d7c46c005ec3630001200582e..."} 
[2026-06-23 16:01:48] local.INFO: Packet analysis {"connection_id":111135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef408"} 
[2026-06-23 16:01:48] local.INFO: Extracted packet for processing {"connection_id":111135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef408"} 
[2026-06-23 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":763119296,"raw_latitude":99366448,"longitude_deg":76.3119296,"latitude_deg":9.9366448,"altitude":18,"angle":88,"satellites":46,"speed":34,"hex_longitude":"2d7c46c0","hex_latitude":"05ec3630","is_valid_coordinates":true} 
[2026-06-23 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245919744001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96359588445552640,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944993310325700608,"note":"Value kept but may cause issues"} 
[2026-06-23 16:01:48] 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-06-23 16:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782210635000,"timestamp_ms":1782210635000,"timestamp_seconds":1782210635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40824f8"} 
[2026-06-23 16:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:01:48] 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-06-23 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-23 16:01:48] 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-06-23 16:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245919744001,"66":12504,"198":206,"87":13824,"24":34,"16":96359588445552640,"45":8944993310325700608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245919744001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:01:48] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:01:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96359588445552640,"km_value":96359588445552.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944993310325700608,"description":"Unknown IO ID 45"} 
[2026-06-23 16:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245919744001,"power":12504,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8944993310325700608}} 
[2026-06-23 16:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":111135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:01:49] local.INFO: GPS data processed {"connection_id":111135,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:01:49] local.INFO: Acknowledgment sent {"connection_id":111135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:02:01] local.INFO: TCP Data received {"connection_id":110942,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:02:01] local.INFO: Processing buffer {"connection_id":110942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:02:01] local.INFO: Packet analysis {"connection_id":110942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:02:01] local.INFO: Extracted packet for processing {"connection_id":110942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 16:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:02:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:02:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":110942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:02:01] local.INFO: GPS data processed {"connection_id":110942,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:02:01] local.INFO: Acknowledgment sent {"connection_id":110942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:02:10] local.INFO: TCP Data received {"connection_id":111747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:10] local.INFO: Processing buffer {"connection_id":111747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:10] local.INFO: IMEI packet received {"connection_id":111747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":111747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:02:11] local.INFO: TCP Data received {"connection_id":111747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:11] local.INFO: Processing buffer {"connection_id":111747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:11] local.INFO: IMEI packet received {"connection_id":111747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":111747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:02:15] local.INFO: TCP Data received {"connection_id":111747,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:15] local.INFO: Processing buffer {"connection_id":111747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:02:15] local.INFO: IMEI packet received {"connection_id":111747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":111747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:02:16] local.INFO: TCP Data received {"connection_id":111747,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4095d78012d7d1b4005ec42a8000b01382a..."} 
[2026-06-23 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4095d78012d7d1b4005ec42a8000b01382a..."} 
[2026-06-23 16:02:16] local.INFO: Processing buffer {"connection_id":111747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4095d78012d7d1b4005ec42a8000b01382a..."} 
[2026-06-23 16:02:16] local.INFO: Packet analysis {"connection_id":111747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef409"} 
[2026-06-23 16:02:16] local.INFO: Extracted packet for processing {"connection_id":111747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef409"} 
[2026-06-23 16:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99369640,"longitude_deg":76.3173696,"latitude_deg":9.936964,"altitude":11,"angle":312,"satellites":42,"speed":10,"hex_longitude":"2d7d1b40","hex_latitude":"05ec42a8","is_valid_coordinates":true} 
[2026-06-23 16:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245942784001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96362238440374272,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210783291392,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:16] 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-06-23 16:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782210715000,"timestamp_ms":1782210715000,"timestamp_seconds":1782210715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4095d78"} 
[2026-06-23 16:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:02:16] 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-06-23 16:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 16:02:16] 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-06-23 16:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245942784001,"66":12678,"110":206,"87":13824,"24":10,"16":96362238440374272,"45":9015010210783291392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 16:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245942784001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:02:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 16:02:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96362238440374272,"km_value":96362238440374.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210783291392,"description":"Unknown IO ID 45"} 
[2026-06-23 16:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245942784001,"power":12678,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015010210783291392}} 
[2026-06-23 16:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":111747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:02:17] local.INFO: GPS data processed {"connection_id":111747,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:02:17] local.INFO: Acknowledgment sent {"connection_id":111747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:02:23] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:02:23] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:02:23] local.INFO: IMEI packet received {"connection_id":111137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:02:29] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:02:29] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:02:29] local.INFO: IMEI packet received {"connection_id":111137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":111137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:02:30] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:02:30] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:02:30] local.INFO: Packet analysis {"connection_id":111137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:02:30] local.INFO: Extracted packet for processing {"connection_id":111137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 16:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":111137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:02:30] local.INFO: GPS data processed {"connection_id":111137,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:02:30] local.INFO: Acknowledgment sent {"connection_id":111137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:02:48] local.INFO: TCP Data received {"connection_id":111747,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4096160012d7d1a0005ec42f8000b011d2b..."} 
[2026-06-23 16:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4096160012d7d1a0005ec42f8000b011d2b..."} 
[2026-06-23 16:02:48] local.INFO: Processing buffer {"connection_id":111747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4096160012d7d1a0005ec42f8000b011d2b..."} 
[2026-06-23 16:02:48] local.INFO: Packet analysis {"connection_id":111747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef409"} 
[2026-06-23 16:02:48] local.INFO: Extracted packet for processing {"connection_id":111747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef409"} 
[2026-06-23 16:02:48] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369720,"longitude_deg":76.3173376,"latitude_deg":9.936972,"altitude":11,"angle":285,"satellites":43,"speed":11,"hex_longitude":"2d7d1a00","hex_latitude":"05ec42f8","is_valid_coordinates":true} 
[2026-06-23 16:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245943040001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96362255620243456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473294985216,"note":"Value kept but may cause issues"} 
[2026-06-23 16:02:48] 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-06-23 16:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782210716000,"timestamp_ms":1782210716000,"timestamp_seconds":1782210716,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4096160"} 
[2026-06-23 16:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:02:48] 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-06-23 16:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 16:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245943040001,"66":12678,"110":206,"87":13824,"24":11,"16":96362255620243456,"45":9014869473294985216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 16:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245943040001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:02:48] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 16:02:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96362255620243456,"km_value":96362255620243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473294985216,"description":"Unknown IO ID 45"} 
[2026-06-23 16:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245943040001,"power":12678,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9014869473294985216}} 
[2026-06-23 16:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":111747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:02:48] local.INFO: GPS data processed {"connection_id":111747,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:02:48] local.INFO: Acknowledgment sent {"connection_id":111747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:03:02] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:03:02] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4058518012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:03:02] local.INFO: Packet analysis {"connection_id":111137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:03:02] local.INFO: Extracted packet for processing {"connection_id":111137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef405"} 
[2026-06-23 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245801728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210463000,"timestamp_ms":1782210463000,"timestamp_seconds":1782210463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4058518"} 
[2026-06-23 16:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245801728001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245801728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245801728001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":111137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:03:02] local.INFO: GPS data processed {"connection_id":111137,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:03:02] local.INFO: Acknowledgment sent {"connection_id":111137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:03:15] local.INFO: TCP Data received {"connection_id":111748,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:03:15] local.INFO: Processing buffer {"connection_id":111748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:03:15] local.INFO: IMEI packet received {"connection_id":111748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":111748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:03:18] local.INFO: TCP Data received {"connection_id":111748,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:03:18] local.INFO: Processing buffer {"connection_id":111748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:03:18] local.INFO: IMEI packet received {"connection_id":111748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":111748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:03:20] local.INFO: TCP Data received {"connection_id":111748,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4096548012d7d18c005ec4308000b010b2a..."} 
[2026-06-23 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4096548012d7d18c005ec4308000b010b2a..."} 
[2026-06-23 16:03:20] local.INFO: Processing buffer {"connection_id":111748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4096548012d7d18c005ec4308000b010b2a..."} 
[2026-06-23 16:03:20] local.INFO: Packet analysis {"connection_id":111748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef409"} 
[2026-06-23 16:03:20] local.INFO: Extracted packet for processing {"connection_id":111748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef409"} 
[2026-06-23 16:03:20] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":99369736,"longitude_deg":76.3173056,"latitude_deg":9.9369736,"altitude":11,"angle":267,"satellites":42,"speed":14,"hex_longitude":"2d7d18c0","hex_latitude":"05ec4308","is_valid_coordinates":true} 
[2026-06-23 16:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245943296001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96362268505145344,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629574117376,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:20] 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-06-23 16:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782210717000,"timestamp_ms":1782210717000,"timestamp_seconds":1782210717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4096548"} 
[2026-06-23 16:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:03:20] 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-06-23 16:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 16:03:20] 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-06-23 16:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245943296001,"66":12939,"110":206,"87":13824,"24":14,"16":96362268505145344,"45":9014517629574117376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-23 16:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245943296001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:03:20] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 16:03:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96362268505145344,"km_value":96362268505145.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629574117376,"description":"Unknown IO ID 45"} 
[2026-06-23 16:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245943296001,"power":12939,"unknown_110":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9014517629574117376}} 
[2026-06-23 16:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":111748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:03:20] local.INFO: GPS data processed {"connection_id":111748,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:03:20] local.INFO: Acknowledgment sent {"connection_id":111748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:03:23] local.INFO: TCP Data received {"connection_id":112685,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:03:23] local.INFO: Processing buffer {"connection_id":112685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:03:23] local.INFO: IMEI packet received {"connection_id":112685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":112685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:03:28] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:03:28] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:03:28] local.INFO: IMEI packet received {"connection_id":110943,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":110943,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:03:29] local.INFO: TCP Data received {"connection_id":112685,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:03:29] local.INFO: Processing buffer {"connection_id":112685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:03:29] local.INFO: IMEI packet received {"connection_id":112685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":112685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:03:29] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a76b8012d09eec007057c90001a00fe19..."} 
[2026-06-23 16:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a76b8012d09eec007057c90001a00fe19..."} 
[2026-06-23 16:03:29] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a76b8012d09eec007057c90001a00fe19..."} 
[2026-06-23 16:03:29] local.INFO: Packet analysis {"connection_id":110943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:03:29] local.INFO: Extracted packet for processing {"connection_id":110943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:03:29] local.INFO: GPS Element Parsed {"raw_longitude":755625664,"raw_latitude":117800080,"longitude_deg":75.5625664,"latitude_deg":11.780008,"altitude":26,"angle":254,"satellites":25,"speed":17,"hex_longitude":"2d09eec0","hex_latitude":"07057c90","is_valid_coordinates":true} 
[2026-06-23 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245960704001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21900016767467520,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":717690852024848384,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:29] 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-06-23 16:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782210787000,"timestamp_ms":1782210787000,"timestamp_seconds":1782210787,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a76b8"} 
[2026-06-23 16:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:03:29] 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-06-23 16:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:03:29] 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-06-23 16:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245960704001,"66":14450,"165":206,"94":10240,"24":17,"16":21900016767467520,"45":717690852024848384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-23 16:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245960704001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:03:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:03:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21900016767467520,"km_value":21900016767467.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":717690852024848384,"description":"Unknown IO ID 45"} 
[2026-06-23 16:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245960704001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":717690852024848384}} 
[2026-06-23 16:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":110943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:03:29] local.INFO: GPS data processed {"connection_id":110943,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:03:29] local.INFO: Acknowledgment sent {"connection_id":110943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:03:30] local.INFO: TCP Data received {"connection_id":112685,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:03:30] local.INFO: Processing buffer {"connection_id":112685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:03:30] local.INFO: Packet analysis {"connection_id":112685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:03:30] local.INFO: Extracted packet for processing {"connection_id":112685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16: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-06-23 16:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":112685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:03:30] local.INFO: GPS data processed {"connection_id":112685,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:03:30] local.INFO: Acknowledgment sent {"connection_id":112685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:03:51] local.INFO: TCP Data received {"connection_id":111748,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b0740012d7be5c005ec2f380006009e28..."} 
[2026-06-23 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b0740012d7be5c005ec2f380006009e28..."} 
[2026-06-23 16:03:51] local.INFO: Processing buffer {"connection_id":111748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b0740012d7be5c005ec2f380006009e28..."} 
[2026-06-23 16:03:51] local.INFO: Packet analysis {"connection_id":111748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:03:51] local.INFO: Extracted packet for processing {"connection_id":111748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":763094464,"raw_latitude":99364664,"longitude_deg":76.3094464,"latitude_deg":9.9364664,"altitude":6,"angle":158,"satellites":40,"speed":10,"hex_longitude":"2d7be5c0","hex_latitude":"05ec2f38","is_valid_coordinates":true} 
[2026-06-23 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245970688001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96366086731071488,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230513471488,"note":"Value kept but may cause issues"} 
[2026-06-23 16:03:51] 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-06-23 16:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782210824000,"timestamp_ms":1782210824000,"timestamp_seconds":1782210824,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b0740"} 
[2026-06-23 16:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:03:51] 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-06-23 16:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245970688001,"66":12765,"198":206,"87":13824,"24":10,"16":96366086731071488,"45":8927612230513471488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245970688001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:03:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:03:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96366086731071488,"km_value":96366086731071.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230513471488,"description":"Unknown IO ID 45"} 
[2026-06-23 16:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245970688001,"power":12765,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8927612230513471488}} 
[2026-06-23 16:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":111748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:03:51] local.INFO: GPS data processed {"connection_id":111748,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:03:51] local.INFO: Acknowledgment sent {"connection_id":111748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:04:00] local.INFO: TCP Data received {"connection_id":110943,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b3620012d09c400070567e80015009319..."} 
[2026-06-23 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b3620012d09c400070567e80015009319..."} 
[2026-06-23 16:04:00] local.INFO: Processing buffer {"connection_id":110943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b3620012d09c400070567e80015009319..."} 
[2026-06-23 16:04:00] local.INFO: Packet analysis {"connection_id":110943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:00] local.INFO: Extracted packet for processing {"connection_id":110943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:00] local.INFO: GPS Element Parsed {"raw_longitude":755614720,"raw_latitude":117794792,"longitude_deg":75.561472,"latitude_deg":11.7794792,"altitude":21,"angle":147,"satellites":25,"speed":10,"hex_longitude":"2d09c400","hex_latitude":"070567e8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245973760001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21900910120665088,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703476365699622912,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:00] 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-06-23 16:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782210836000,"timestamp_ms":1782210836000,"timestamp_seconds":1782210836,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b3620"} 
[2026-06-23 16:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:04:00] 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-06-23 16: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":179,"data_length":795,"current_offset":136} 
[2026-06-23 16:04:00] 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-06-23 16: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-06-23 16:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245973760001,"66":14428,"177":206,"94":10240,"24":10,"16":21900910120665088,"45":703476365699622912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 16:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245973760001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:04:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 16:04:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21900910120665088,"km_value":21900910120665.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":703476365699622912,"description":"Unknown IO ID 45"} 
[2026-06-23 16:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245973760001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":703476365699622912}} 
[2026-06-23 16:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":110943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:04:00] local.INFO: GPS data processed {"connection_id":110943,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:04:00] local.INFO: Acknowledgment sent {"connection_id":110943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:04:02] local.INFO: TCP Data received {"connection_id":112685,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:04:02] local.INFO: Processing buffer {"connection_id":112685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:04:02] local.INFO: Packet analysis {"connection_id":112685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:04:02] local.INFO: Extracted packet for processing {"connection_id":112685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:04: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-06-23 16:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":112685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:04:02] local.INFO: GPS data processed {"connection_id":112685,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:04:02] local.INFO: Acknowledgment sent {"connection_id":112685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:04:10] local.INFO: TCP Data received {"connection_id":112686,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:04:10] local.INFO: Processing buffer {"connection_id":112686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:04:10] local.INFO: IMEI packet received {"connection_id":112686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":112686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:04:14] local.INFO: TCP Data received {"connection_id":112686,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:04:14] local.INFO: Processing buffer {"connection_id":112686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:04:14] local.INFO: IMEI packet received {"connection_id":112686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":112686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:04:15] local.INFO: TCP Data received {"connection_id":112686,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b0b28012d7be68005ec2e500005008929..."} 
[2026-06-23 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b0b28012d7be68005ec2e500005008929..."} 
[2026-06-23 16:04:15] local.INFO: Processing buffer {"connection_id":112686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b0b28012d7be68005ec2e500005008929..."} 
[2026-06-23 16:04:15] local.INFO: Packet analysis {"connection_id":112686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:15] local.INFO: Extracted packet for processing {"connection_id":112686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:15] local.INFO: GPS Element Parsed {"raw_longitude":763094656,"raw_latitude":99364432,"longitude_deg":76.3094656,"latitude_deg":9.9364432,"altitude":5,"angle":137,"satellites":41,"speed":11,"hex_longitude":"2d7be680","hex_latitude":"05ec2e50","is_valid_coordinates":true} 
[2026-06-23 16:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245970944001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96366099615973376,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752968001763328,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:15] 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-06-23 16:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782210825000,"timestamp_ms":1782210825000,"timestamp_seconds":1782210825,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b0b28"} 
[2026-06-23 16:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:04:15] 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-06-23 16:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:04:15] 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-06-23 16:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245970944001,"66":13048,"198":206,"87":13824,"24":11,"16":96366099615973376,"45":8927752968001763328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245970944001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:04:15] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:04:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96366099615973376,"km_value":96366099615973.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752968001763328,"description":"Unknown IO ID 45"} 
[2026-06-23 16:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245970944001,"power":13048,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927752968001763328}} 
[2026-06-23 16:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":112686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:04:15] local.INFO: GPS data processed {"connection_id":112686,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:04:15] local.INFO: Acknowledgment sent {"connection_id":112686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:04:23] local.INFO: TCP Data received {"connection_id":111139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:04:23] local.INFO: Processing buffer {"connection_id":111139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:04:23] local.INFO: IMEI packet received {"connection_id":111139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":111139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:04:24] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:04:24] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:04:24] local.INFO: IMEI packet received {"connection_id":111138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":111138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:04:29] local.INFO: TCP Data received {"connection_id":111139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:04:29] local.INFO: Processing buffer {"connection_id":111139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:04:29] local.INFO: IMEI packet received {"connection_id":111139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":111139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:04:29] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:04:29] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:04:29] local.INFO: IMEI packet received {"connection_id":111138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":111138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:04:29] local.INFO: TCP Data received {"connection_id":111139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b3a08012d09c440070566d00015009f19..."} 
[2026-06-23 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b3a08012d09c440070566d00015009f19..."} 
[2026-06-23 16:04:29] local.INFO: Processing buffer {"connection_id":111139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b3a08012d09c440070566d00015009f19..."} 
[2026-06-23 16:04:29] local.INFO: Packet analysis {"connection_id":111139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:29] local.INFO: Extracted packet for processing {"connection_id":111139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":755614784,"raw_latitude":117794512,"longitude_deg":75.5614784,"latitude_deg":11.7794512,"altitude":21,"angle":159,"satellites":25,"speed":11,"hex_longitude":"2d09c440","hex_latitude":"070566d0","is_valid_coordinates":true} 
[2026-06-23 16:04: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-06-23 16:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245974016001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21900923005566976,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703687471932106752,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:29] 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-06-23 16:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782210837000,"timestamp_ms":1782210837000,"timestamp_seconds":1782210837,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b3a08"} 
[2026-06-23 16:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:04:29] 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-06-23 16:04: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-06-23 16:04: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-06-23 16:04: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-06-23 16:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245974016001,"66":14428,"177":206,"94":10240,"24":11,"16":21900923005566976,"45":703687471932106752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 16:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245974016001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:04:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 16:04:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21900923005566976,"km_value":21900923005566.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":703687471932106752,"description":"Unknown IO ID 45"} 
[2026-06-23 16:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245974016001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":703687471932106752}} 
[2026-06-23 16:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":111139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:04:29] local.INFO: GPS data processed {"connection_id":111139,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:04:29] local.INFO: Acknowledgment sent {"connection_id":111139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:04:30] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:04:30] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:04:30] local.INFO: Packet analysis {"connection_id":111138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:04:30] local.INFO: Extracted packet for processing {"connection_id":111138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:04: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-06-23 16:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:04:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":111138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:04:30] local.INFO: GPS data processed {"connection_id":111138,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:04:30] local.INFO: Acknowledgment sent {"connection_id":111138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:04:46] local.INFO: TCP Data received {"connection_id":112686,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b1ac8012d7be98005ec2a900005009a2b..."} 
[2026-06-23 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b1ac8012d7be98005ec2a900005009a2b..."} 
[2026-06-23 16:04:46] local.INFO: Processing buffer {"connection_id":112686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b1ac8012d7be98005ec2a900005009a2b..."} 
[2026-06-23 16:04:46] local.INFO: Packet analysis {"connection_id":112686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:46] local.INFO: Extracted packet for processing {"connection_id":112686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763095424,"raw_latitude":99363472,"longitude_deg":76.3095424,"latitude_deg":9.9363472,"altitude":5,"angle":154,"satellites":43,"speed":7,"hex_longitude":"2d7be980","hex_latitude":"05ec2a90","is_valid_coordinates":true} 
[2026-06-23 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245971200001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96366155450548224,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074234236928,"note":"Value kept but may cause issues"} 
[2026-06-23 16:04:46] 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-06-23 16:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782210829000,"timestamp_ms":1782210829000,"timestamp_seconds":1782210829,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b1ac8"} 
[2026-06-23 16:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:04:46] 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-06-23 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 16:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245971200001,"66":12993,"198":206,"87":13824,"24":7,"16":96366155450548224,"45":8927964074234236928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245971200001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96366155450548224,"km_value":96366155450548.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074234236928,"description":"Unknown IO ID 45"} 
[2026-06-23 16:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245971200001,"power":12993,"unknown_198":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8927964074234236928}} 
[2026-06-23 16:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":112686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:04:46] local.INFO: GPS data processed {"connection_id":112686,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:04:46] local.INFO: Acknowledgment sent {"connection_id":112686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:05:00] local.INFO: TCP Data received {"connection_id":111139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b3df0012d09c480070565a0001500ad19..."} 
[2026-06-23 16:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b3df0012d09c480070565a0001500ad19..."} 
[2026-06-23 16:05:00] local.INFO: Processing buffer {"connection_id":111139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b3df0012d09c480070565a0001500ad19..."} 
[2026-06-23 16:05:00] local.INFO: Packet analysis {"connection_id":111139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:05:00] local.INFO: Extracted packet for processing {"connection_id":111139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:05:00] local.INFO: GPS Element Parsed {"raw_longitude":755614848,"raw_latitude":117794208,"longitude_deg":75.5614848,"latitude_deg":11.7794208,"altitude":21,"angle":173,"satellites":25,"speed":12,"hex_longitude":"2d09c480","hex_latitude":"070565a0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245974272001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21900935890468864,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703757840676212736,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:00] 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-06-23 16:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782210838000,"timestamp_ms":1782210838000,"timestamp_seconds":1782210838,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b3df0"} 
[2026-06-23 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-06-23 16:05:00] 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-06-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 16:05: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-06-23 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-06-23 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-06-23 16:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245974272001,"66":14341,"177":206,"94":10240,"24":12,"16":21900935890468864,"45":703757840676212736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-23 16:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245974272001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:05:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 16:05:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21900935890468864,"km_value":21900935890468.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":703757840676212736,"description":"Unknown IO ID 45"} 
[2026-06-23 16:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245974272001,"power":14341,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":703757840676212736}} 
[2026-06-23 16:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":111139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:05:00] local.INFO: GPS data processed {"connection_id":111139,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:05:00] local.INFO: Acknowledgment sent {"connection_id":111139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:05:02] local.INFO: TCP Data received {"connection_id":111138,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:05:02] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:05:02] local.INFO: Packet analysis {"connection_id":111138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:05:02] local.INFO: Extracted packet for processing {"connection_id":111138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 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-06-23 16:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:05: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-06-23 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-06-23 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-06-23 16:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":111138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:05:02] local.INFO: GPS data processed {"connection_id":111138,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:05:02] local.INFO: Acknowledgment sent {"connection_id":111138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:05:08] local.INFO: TCP Data received {"connection_id":111749,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:08] local.INFO: Processing buffer {"connection_id":111749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:08] local.INFO: IMEI packet received {"connection_id":111749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":111749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:05:10] local.INFO: TCP Data received {"connection_id":111749,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:10] local.INFO: Processing buffer {"connection_id":111749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:10] local.INFO: IMEI packet received {"connection_id":111749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":111749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:05:22] local.INFO: TCP Data received {"connection_id":111749,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:22] local.INFO: Processing buffer {"connection_id":111749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:05:22] local.INFO: IMEI packet received {"connection_id":111749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":111749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:05:23] local.INFO: TCP Data received {"connection_id":112690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:23] local.INFO: Processing buffer {"connection_id":112690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:23] local.INFO: IMEI packet received {"connection_id":112690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":112690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:05:23] local.INFO: TCP Data received {"connection_id":112689,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:05:23] local.INFO: Processing buffer {"connection_id":112689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:05:23] local.INFO: IMEI packet received {"connection_id":112689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":112689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:05:24] local.INFO: TCP Data received {"connection_id":112690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:24] local.INFO: Processing buffer {"connection_id":112690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:24] local.INFO: IMEI packet received {"connection_id":112690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":112690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:05:24] local.INFO: TCP Data received {"connection_id":111749,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40b49a8012d7bee8005ec1df8000500a629..."} 
[2026-06-23 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40b49a8012d7bee8005ec1df8000500a629..."} 
[2026-06-23 16:05:24] local.INFO: Processing buffer {"connection_id":111749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40b49a8012d7bee8005ec1df8000500a629..."} 
[2026-06-23 16:05:24] local.INFO: Packet analysis {"connection_id":111749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:05:24] local.INFO: Extracted packet for processing {"connection_id":111749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40b"} 
[2026-06-23 16:05:24] local.INFO: GPS Element Parsed {"raw_longitude":763096704,"raw_latitude":99360248,"longitude_deg":76.3096704,"latitude_deg":9.9360248,"altitude":5,"angle":166,"satellites":41,"speed":20,"hex_longitude":"2d7bee80","hex_latitude":"05ec1df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245972224001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96366327249240064,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928808499164123136,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:24] 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-06-23 16:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782210841000,"timestamp_ms":1782210841000,"timestamp_seconds":1782210841,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40b49a8"} 
[2026-06-23 16:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:05: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-06-23 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-23 16:05:24] 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-06-23 16: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-06-23 16:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245972224001,"66":13015,"198":206,"87":13824,"24":20,"16":96366327249240064,"45":8928808499164123136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-23 16:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245972224001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:05:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 16:05:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96366327249240064,"km_value":96366327249240.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928808499164123136,"description":"Unknown IO ID 45"} 
[2026-06-23 16:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245972224001,"power":13015,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8928808499164123136}} 
[2026-06-23 16:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":111749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:05:24] local.INFO: GPS data processed {"connection_id":111749,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:05:24] local.INFO: Acknowledgment sent {"connection_id":111749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:05:24] local.INFO: TCP Data received {"connection_id":112690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:24] local.INFO: Processing buffer {"connection_id":112690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:24] local.INFO: IMEI packet received {"connection_id":112690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":112690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:05:29] local.INFO: TCP Data received {"connection_id":112689,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:05:29] local.INFO: Processing buffer {"connection_id":112689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:05:29] local.INFO: IMEI packet received {"connection_id":112689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":112689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:05:30] local.INFO: TCP Data received {"connection_id":112689,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:05:30] local.INFO: Processing buffer {"connection_id":112689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:05:30] local.INFO: Packet analysis {"connection_id":112689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:05:30] local.INFO: Extracted packet for processing {"connection_id":112689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16: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-06-23 16:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:05:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":112689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:05:30] local.INFO: GPS data processed {"connection_id":112689,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:05:30] local.INFO: Acknowledgment sent {"connection_id":112689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:05:31] local.INFO: TCP Data received {"connection_id":112690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112690,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:31] local.INFO: Processing buffer {"connection_id":112690,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:05:31] local.INFO: IMEI packet received {"connection_id":112690,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":112690,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:05:55] local.INFO: TCP Data received {"connection_id":111749,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40ce7b8012d7c330005eb12a00007009429..."} 
[2026-06-23 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40ce7b8012d7c330005eb12a00007009429..."} 
[2026-06-23 16:05:55] local.INFO: Processing buffer {"connection_id":111749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40ce7b8012d7c330005eb12a00007009429..."} 
[2026-06-23 16:05:55] local.INFO: Packet analysis {"connection_id":111749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40c"} 
[2026-06-23 16:05:55] local.INFO: Extracted packet for processing {"connection_id":111749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40c"} 
[2026-06-23 16:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763114240,"raw_latitude":99291808,"longitude_deg":76.311424,"latitude_deg":9.9291808,"altitude":7,"angle":148,"satellites":41,"speed":22,"hex_longitude":"2d7c3300","hex_latitude":"05eb12a0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246001408001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96369784697913344,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853748641792,"note":"Value kept but may cause issues"} 
[2026-06-23 16:05:55] 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-06-23 16:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782210947000,"timestamp_ms":1782210947000,"timestamp_seconds":1782210947,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40ce7b8"} 
[2026-06-23 16:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":254,"data_length":795,"current_offset":136} 
[2026-06-23 16:05:55] 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-06-23 16: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-06-23 16:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246001408001,"66":12982,"10":206,"87":13824,"24":22,"16":96369784697913344,"45":8948722853748641792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246001408001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:05:55] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:05:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96369784697913344,"km_value":96369784697913.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853748641792,"description":"Unknown IO ID 45"} 
[2026-06-23 16:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246001408001,"power":12982,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8948722853748641792}} 
[2026-06-23 16:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":111749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:05:55] local.INFO: GPS data processed {"connection_id":111749,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:05:55] local.INFO: Acknowledgment sent {"connection_id":111749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:06:02] local.INFO: TCP Data received {"connection_id":112689,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:06:02] local.INFO: Processing buffer {"connection_id":112689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:06:02] local.INFO: Packet analysis {"connection_id":112689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:06:02] local.INFO: Extracted packet for processing {"connection_id":112689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16: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-06-23 16: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-06-23 16:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":112689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:06:02] local.INFO: GPS data processed {"connection_id":112689,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:06:02] local.INFO: Acknowledgment sent {"connection_id":112689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:06:13] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:13] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:13] local.INFO: IMEI packet received {"connection_id":111750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":111750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:06:13] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:13] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:13] local.INFO: IMEI packet received {"connection_id":111750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":111750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:06:15] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:15] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:06:15] local.INFO: IMEI packet received {"connection_id":111750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":111750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:06:16] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40cfb40012d7c39c005eb09d80008009429..."} 
[2026-06-23 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40cfb40012d7c39c005eb09d80008009429..."} 
[2026-06-23 16:06:16] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40cfb40012d7c39c005eb09d80008009429..."} 
[2026-06-23 16:06:16] local.INFO: Packet analysis {"connection_id":111750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40c"} 
[2026-06-23 16:06:16] local.INFO: Extracted packet for processing {"connection_id":111750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40c"} 
[2026-06-23 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763115968,"raw_latitude":99289560,"longitude_deg":76.3115968,"latitude_deg":9.928956,"altitude":8,"angle":148,"satellites":41,"speed":22,"hex_longitude":"2d7c39c0","hex_latitude":"05eb09d8","is_valid_coordinates":true} 
[2026-06-23 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246003200001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96369922136866816,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950693178584686592,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:16] 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-06-23 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782210952000,"timestamp_ms":1782210952000,"timestamp_seconds":1782210952,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40cfb40"} 
[2026-06-23 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:06:16] 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-06-23 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 16:06:16] 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-06-23 16:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246003200001,"66":12906,"10":206,"87":13824,"24":22,"16":96369922136866816,"45":8950693178584686592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246003200001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:06:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:06:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96369922136866816,"km_value":96369922136866.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950693178584686592,"description":"Unknown IO ID 45"} 
[2026-06-23 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246003200001,"power":12906,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8950693178584686592}} 
[2026-06-23 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":111750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:06:16] local.INFO: GPS data processed {"connection_id":111750,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:06:16] local.INFO: Acknowledgment sent {"connection_id":111750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:06:17] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d0310012d7c3bc005eb0588000900a72a..."} 
[2026-06-23 16:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d0310012d7c3bc005eb0588000900a72a..."} 
[2026-06-23 16:06:17] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d0310012d7c3bc005eb0588000900a72a..."} 
[2026-06-23 16:06:17] local.INFO: Packet analysis {"connection_id":111750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:06:17] local.INFO: Extracted packet for processing {"connection_id":111750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:06:17] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":99288456,"longitude_deg":76.311648,"latitude_deg":9.9288456,"altitude":9,"angle":167,"satellites":42,"speed":24,"hex_longitude":"2d7c3bc0","hex_latitude":"05eb0588","is_valid_coordinates":true} 
[2026-06-23 16:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246003712001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96369977971441664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951396866026231808,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:17] 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-06-23 16:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782210954000,"timestamp_ms":1782210954000,"timestamp_seconds":1782210954,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d0310"} 
[2026-06-23 16:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 16:06:17] 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-06-23 16:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246003712001,"66":12798,"10":206,"87":13824,"24":24,"16":96369977971441664,"45":8951396866026231808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246003712001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:06:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:06:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96369977971441664,"km_value":96369977971441.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951396866026231808,"description":"Unknown IO ID 45"} 
[2026-06-23 16:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246003712001,"power":12798,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8951396866026231808}} 
[2026-06-23 16:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":111750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:06:17] local.INFO: GPS data processed {"connection_id":111750,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:06:17] local.INFO: Acknowledgment sent {"connection_id":111750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:06:21] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d1698012d7c3cc005eaf7c8000a00b329..."} 
[2026-06-23 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d1698012d7c3cc005eaf7c8000a00b329..."} 
[2026-06-23 16:06:21] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d1698012d7c3cc005eaf7c8000a00b329..."} 
[2026-06-23 16:06:21] local.INFO: Packet analysis {"connection_id":111750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:06:21] local.INFO: Extracted packet for processing {"connection_id":111750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":99284936,"longitude_deg":76.3116736,"latitude_deg":9.9284936,"altitude":10,"angle":179,"satellites":41,"speed":29,"hex_longitude":"2d7c3cc0","hex_latitude":"05eaf7c8","is_valid_coordinates":true} 
[2026-06-23 16:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246004224001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96370149770133504,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815979370496,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:21] 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-06-23 16:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782210959000,"timestamp_ms":1782210959000,"timestamp_seconds":1782210959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d1698"} 
[2026-06-23 16:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:06:21] 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-06-23 16:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 16:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246004224001,"66":12863,"10":206,"87":13824,"24":29,"16":96370149770133504,"45":8951959815979370496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246004224001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:06:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:06:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96370149770133504,"km_value":96370149770133.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815979370496,"description":"Unknown IO ID 45"} 
[2026-06-23 16:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246004224001,"power":12863,"unknown_10":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8951959815979370496}} 
[2026-06-23 16:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":111750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:06:21] local.INFO: GPS data processed {"connection_id":111750,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:06:21] local.INFO: Acknowledgment sent {"connection_id":111750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:06:23] local.INFO: TCP Data received {"connection_id":110945,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:06:23] local.INFO: Processing buffer {"connection_id":110945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:06:23] local.INFO: IMEI packet received {"connection_id":110945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":110945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:06:29] local.INFO: TCP Data received {"connection_id":110945,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:06:29] local.INFO: Processing buffer {"connection_id":110945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:06:29] local.INFO: IMEI packet received {"connection_id":110945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":110945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:06:30] local.INFO: TCP Data received {"connection_id":110945,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:06:30] local.INFO: Processing buffer {"connection_id":110945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:06:30] local.INFO: Packet analysis {"connection_id":110945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:06:30] local.INFO: Extracted packet for processing {"connection_id":110945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16: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-06-23 16:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":110945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:06:30] local.INFO: GPS data processed {"connection_id":110945,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:06:30] local.INFO: Acknowledgment sent {"connection_id":110945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:06:37] local.INFO: TCP Data received {"connection_id":111140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:06:37] local.INFO: Processing buffer {"connection_id":111140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:06:37] local.INFO: IMEI packet received {"connection_id":111140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":111140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:06:52] local.INFO: TCP Data received {"connection_id":111750,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d4578012d7c3d8005ead390000600ae27..."} 
[2026-06-23 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d4578012d7c3d8005ead390000600ae27..."} 
[2026-06-23 16:06:52] local.INFO: Processing buffer {"connection_id":111750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d4578012d7c3d8005ead390000600ae27..."} 
[2026-06-23 16:06:52] local.INFO: Packet analysis {"connection_id":111750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:06:52] local.INFO: Extracted packet for processing {"connection_id":111750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763116928,"raw_latitude":99275664,"longitude_deg":76.3116928,"latitude_deg":9.9275664,"altitude":6,"angle":174,"satellites":39,"speed":21,"hex_longitude":"2d7c3d80","hex_latitude":"05ead390","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246005504001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96370600741699584,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952241290955180032,"note":"Value kept but may cause issues"} 
[2026-06-23 16:06:52] 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-06-23 16:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782210971000,"timestamp_ms":1782210971000,"timestamp_seconds":1782210971,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d4578"} 
[2026-06-23 16:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 16:06:52] 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-06-23 16: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-06-23 16:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246005504001,"66":12743,"10":206,"87":13824,"24":21,"16":96370600741699584,"45":8952241290955180032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246005504001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96370600741699584,"km_value":96370600741699.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952241290955180032,"description":"Unknown IO ID 45"} 
[2026-06-23 16:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246005504001,"power":12743,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8952241290955180032}} 
[2026-06-23 16:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":111750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:06:52] local.INFO: GPS data processed {"connection_id":111750,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:06:52] local.INFO: Acknowledgment sent {"connection_id":111750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:07:02] local.INFO: TCP Data received {"connection_id":110945,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:07:02] local.INFO: Processing buffer {"connection_id":110945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:07:02] local.INFO: Packet analysis {"connection_id":110945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:07:02] local.INFO: Extracted packet for processing {"connection_id":110945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16: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-06-23 16: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-06-23 16:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":110945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:07:02] local.INFO: GPS data processed {"connection_id":110945,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:07:02] local.INFO: Acknowledgment sent {"connection_id":110945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:07:06] local.INFO: TCP Data received {"connection_id":110947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:07:06] local.INFO: Processing buffer {"connection_id":110947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:07:06] local.INFO: IMEI packet received {"connection_id":110947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":110947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:07:10] local.INFO: TCP Data received {"connection_id":110948,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:07:10] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:07:10] local.INFO: IMEI packet received {"connection_id":110948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":110948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:07:15] local.INFO: TCP Data received {"connection_id":110948,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:07:15] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:07:15] local.INFO: IMEI packet received {"connection_id":110948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":110948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:07:17] local.INFO: TCP Data received {"connection_id":110948,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d5518012d7c3dc005eacf38000500ba24..."} 
[2026-06-23 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d5518012d7c3dc005eacf38000500ba24..."} 
[2026-06-23 16:07:17] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d5518012d7c3dc005eacf38000500ba24..."} 
[2026-06-23 16:07:17] local.INFO: Packet analysis {"connection_id":110948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:07:17] local.INFO: Extracted packet for processing {"connection_id":110948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":763116992,"raw_latitude":99274552,"longitude_deg":76.3116992,"latitude_deg":9.9274552,"altitude":5,"angle":186,"satellites":36,"speed":8,"hex_longitude":"2d7c3dc0","hex_latitude":"05eacf38","is_valid_coordinates":true} 
[2026-06-23 16:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246008576001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96370656576274432,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952452397185339392,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:17] 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-06-23 16:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782210975000,"timestamp_ms":1782210975000,"timestamp_seconds":1782210975,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d5518"} 
[2026-06-23 16:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 16:07:17] 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-06-23 16:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":110948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":110948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":110948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246008576001,"66":12504,"10":206,"87":13824,"24":8,"16":96370656576274432,"45":8952452397185339392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246008576001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:07:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:07:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96370656576274432,"km_value":96370656576274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952452397185339392,"description":"Unknown IO ID 45"} 
[2026-06-23 16:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246008576001,"power":12504,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952452397185339392}} 
[2026-06-23 16:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":110948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:07:17] local.INFO: GPS data processed {"connection_id":110948,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:07:17] local.INFO: Acknowledgment sent {"connection_id":110948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:07:23] local.INFO: TCP Data received {"connection_id":110950,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:07:23] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:07:23] local.INFO: IMEI packet received {"connection_id":110950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":110950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:07:29] local.INFO: TCP Data received {"connection_id":110950,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:07:29] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:07:29] local.INFO: IMEI packet received {"connection_id":110950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":110950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:07:30] local.INFO: TCP Data received {"connection_id":110950,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:07:30] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:07:30] local.INFO: Packet analysis {"connection_id":110950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:07:30] local.INFO: Extracted packet for processing {"connection_id":110950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:07: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-06-23 16:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:07:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":110950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:07:30] local.INFO: GPS data processed {"connection_id":110950,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:07:30] local.INFO: Acknowledgment sent {"connection_id":110950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:07:48] local.INFO: TCP Data received {"connection_id":110948,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d8fb0012d7c3e0005eac8700001008929..."} 
[2026-06-23 16:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d8fb0012d7c3e0005eac8700001008929..."} 
[2026-06-23 16:07:48] local.INFO: Processing buffer {"connection_id":110948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d8fb0012d7c3e0005eac8700001008929..."} 
[2026-06-23 16:07:48] local.INFO: Packet analysis {"connection_id":110948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:07:48] local.INFO: Extracted packet for processing {"connection_id":110948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:07:48] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99272816,"longitude_deg":76.3117056,"latitude_deg":9.9272816,"altitude":1,"angle":137,"satellites":41,"speed":5,"hex_longitude":"2d7c3e00","hex_latitude":"05eac870","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246009600001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96370746770587648,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765929232384,"note":"Value kept but may cause issues"} 
[2026-06-23 16:07:48] 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-06-23 16:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782210990000,"timestamp_ms":1782210990000,"timestamp_seconds":1782210990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d8fb0"} 
[2026-06-23 16:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:07:48] 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-06-23 16:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 16:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246009600001,"66":12765,"10":206,"87":13824,"24":5,"16":96370746770587648,"45":8952522765929232384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246009600001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:07:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:07:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96370746770587648,"km_value":96370746770587.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765929232384,"description":"Unknown IO ID 45"} 
[2026-06-23 16:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246009600001,"power":12765,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8952522765929232384}} 
[2026-06-23 16:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":110948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:07:48] local.INFO: GPS data processed {"connection_id":110948,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:07:48] local.INFO: Acknowledgment sent {"connection_id":110948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:08:01] local.INFO: TCP Data received {"connection_id":110950,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:08:01] local.INFO: Processing buffer {"connection_id":110950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40a1ce0012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:08:01] local.INFO: Packet analysis {"connection_id":110950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:08:01] local.INFO: Extracted packet for processing {"connection_id":110950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40a"} 
[2026-06-23 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245878528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782210764000,"timestamp_ms":1782210764000,"timestamp_seconds":1782210764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40a1ce0"} 
[2026-06-23 16:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:08: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-06-23 16:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245878528001,"66":25375,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245878528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:08:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:08:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245878528001,"power":25375,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":110950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:08:01] local.INFO: GPS data processed {"connection_id":110950,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:08:01] local.INFO: Acknowledgment sent {"connection_id":110950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:08:10] local.INFO: TCP Data received {"connection_id":110951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:10] local.INFO: Processing buffer {"connection_id":110951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:10] local.INFO: IMEI packet received {"connection_id":110951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":110951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:08:12] local.INFO: TCP Data received {"connection_id":110951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:12] local.INFO: Processing buffer {"connection_id":110951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:12] local.INFO: IMEI packet received {"connection_id":110951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":110951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:08:15] local.INFO: TCP Data received {"connection_id":110951,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:15] local.INFO: Processing buffer {"connection_id":110951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:08:15] local.INFO: IMEI packet received {"connection_id":110951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":110951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:08:16] local.INFO: TCP Data received {"connection_id":110951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d9398012d7c3ec005eac8100001007929..."} 
[2026-06-23 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d9398012d7c3ec005eac8100001007929..."} 
[2026-06-23 16:08:16] local.INFO: Processing buffer {"connection_id":110951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d9398012d7c3ec005eac8100001007929..."} 
[2026-06-23 16:08:16] local.INFO: Packet analysis {"connection_id":110951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:08:16] local.INFO: Extracted packet for processing {"connection_id":110951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:08:16] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99272720,"longitude_deg":76.3117248,"latitude_deg":9.927272,"altitude":1,"angle":121,"satellites":41,"speed":5,"hex_longitude":"2d7c3ec0","hex_latitude":"05eac810","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246013440001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96370755360522240,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134672965632,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:16] 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-06-23 16:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782210991000,"timestamp_ms":1782210991000,"timestamp_seconds":1782210991,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d9398"} 
[2026-06-23 16:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:08:16] 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-06-23 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:08:16] 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-06-23 16: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-06-23 16:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246013440001,"66":12722,"10":206,"87":13824,"24":5,"16":96370755360522240,"45":8952593134672965632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246013440001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:08:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:08:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96370755360522240,"km_value":96370755360522.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134672965632,"description":"Unknown IO ID 45"} 
[2026-06-23 16:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246013440001,"power":12722,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8952593134672965632}} 
[2026-06-23 16:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":110951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:08:16] local.INFO: GPS data processed {"connection_id":110951,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:08:16] local.INFO: Acknowledgment sent {"connection_id":110951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:08:29] local.INFO: TCP Data received {"connection_id":110952,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:08:29] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:08:29] local.INFO: IMEI packet received {"connection_id":110952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":110952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:08:34] local.INFO: TCP Data received {"connection_id":110952,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:08:34] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:08:34] local.INFO: IMEI packet received {"connection_id":110952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":110952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:08:35] local.INFO: TCP Data received {"connection_id":110952,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:08:35] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:08:35] local.INFO: Packet analysis {"connection_id":110952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:08:35] local.INFO: Extracted packet for processing {"connection_id":110952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":110952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:08:35] local.INFO: GPS data processed {"connection_id":110952,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:08:35] local.INFO: Acknowledgment sent {"connection_id":110952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:08:39] local.INFO: TCP Data received {"connection_id":110952,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:08:39] local.INFO: Processing buffer {"connection_id":110952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:08:39] local.INFO: Packet analysis {"connection_id":110952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:08:39] local.INFO: Extracted packet for processing {"connection_id":110952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:08:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:08:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":110952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:08:39] local.INFO: GPS data processed {"connection_id":110952,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:08:39] local.INFO: Acknowledgment sent {"connection_id":110952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:08:47] local.INFO: TCP Data received {"connection_id":110951,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40d9780012d7c3f0005eac7e00001005f29..."} 
[2026-06-23 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40d9780012d7c3f0005eac7e00001005f29..."} 
[2026-06-23 16:08:47] local.INFO: Processing buffer {"connection_id":110951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40d9780012d7c3f0005eac7e00001005f29..."} 
[2026-06-23 16:08:47] local.INFO: Packet analysis {"connection_id":110951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:08:47] local.INFO: Extracted packet for processing {"connection_id":110951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40d"} 
[2026-06-23 16:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763117312,"raw_latitude":99272672,"longitude_deg":76.3117312,"latitude_deg":9.9272672,"altitude":1,"angle":95,"satellites":41,"speed":5,"hex_longitude":"2d7c3f00","hex_latitude":"05eac7e0","is_valid_coordinates":true} 
[2026-06-23 16:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246013696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96370759655489536,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240905474048,"note":"Value kept but may cause issues"} 
[2026-06-23 16:08:47] 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-06-23 16:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782210992000,"timestamp_ms":1782210992000,"timestamp_seconds":1782210992,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40d9780"} 
[2026-06-23 16:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:08:47] 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-06-23 16:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 16:08:47] 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-06-23 16:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":110951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":110951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":110951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246013696001,"66":12722,"10":206,"87":13824,"24":5,"16":96370759655489536,"45":8952804240905474048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-06-23 16:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246013696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:08:47] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 16:08:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96370759655489536,"km_value":96370759655489.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240905474048,"description":"Unknown IO ID 45"} 
[2026-06-23 16:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246013696001,"power":12722,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8952804240905474048}} 
[2026-06-23 16:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":110951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:08:47] local.INFO: GPS data processed {"connection_id":110951,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:08:47] local.INFO: Acknowledgment sent {"connection_id":110951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:09:10] local.INFO: TCP Data received {"connection_id":111141,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:09:10] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:09:10] local.INFO: IMEI packet received {"connection_id":111141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":111141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:09:15] local.INFO: TCP Data received {"connection_id":111141,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:09:15] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:09:15] local.INFO: IMEI packet received {"connection_id":111141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":111141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:09:16] local.INFO: TCP Data received {"connection_id":111141,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40f9b20012d7ce34005eaed58000d006929..."} 
[2026-06-23 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40f9b20012d7ce34005eaed58000d006929..."} 
[2026-06-23 16:09:16] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40f9b20012d7ce34005eaed58000d006929..."} 
[2026-06-23 16:09:16] local.INFO: Packet analysis {"connection_id":111141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40f"} 
[2026-06-23 16:09:16] local.INFO: Extracted packet for processing {"connection_id":111141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40f"} 
[2026-06-23 16:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763159360,"raw_latitude":99282264,"longitude_deg":76.315936,"latitude_deg":9.9282264,"altitude":13,"angle":105,"satellites":41,"speed":9,"hex_longitude":"2d7ce340","hex_latitude":"05eaed58","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246044672001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96372859894497280,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996784706018959360,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:16] 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-06-23 16:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782211124000,"timestamp_ms":1782211124000,"timestamp_seconds":1782211124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40f9b20"} 
[2026-06-23 16:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:09:16] 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-06-23 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 16:09:16] 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-06-23 16: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-06-23 16:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246044672001,"66":12961,"8":206,"87":13824,"24":9,"16":96372859894497280,"45":8996784706018959360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 16:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246044672001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:09:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 16:09:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96372859894497280,"km_value":96372859894497.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996784706018959360,"description":"Unknown IO ID 45"} 
[2026-06-23 16:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246044672001,"power":12961,"unknown_8":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8996784706018959360}} 
[2026-06-23 16:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":111141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:09:16] local.INFO: GPS data processed {"connection_id":111141,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:09:16] local.INFO: Acknowledgment sent {"connection_id":111141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:09:23] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:09:23] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:09:23] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:09:29] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:09:29] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:09:29] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:09:30] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:09:30] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:09:30] local.INFO: Packet analysis {"connection_id":111143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:09:30] local.INFO: Extracted packet for processing {"connection_id":111143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:09:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":111143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:09:30] local.INFO: GPS data processed {"connection_id":111143,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:09:30] local.INFO: Acknowledgment sent {"connection_id":111143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:09:47] local.INFO: TCP Data received {"connection_id":111141,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40fa2f0012d7ce50005eaed28000c005728..."} 
[2026-06-23 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40fa2f0012d7ce50005eaed28000c005728..."} 
[2026-06-23 16:09:47] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40fa2f0012d7ce50005eaed28000c005728..."} 
[2026-06-23 16:09:47] local.INFO: Packet analysis {"connection_id":111141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40f"} 
[2026-06-23 16:09:47] local.INFO: Extracted packet for processing {"connection_id":111141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40f"} 
[2026-06-23 16:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":99282216,"longitude_deg":76.3159808,"latitude_deg":9.9282216,"altitude":12,"angle":87,"satellites":40,"speed":8,"hex_longitude":"2d7ce500","hex_latitude":"05eaed28","is_valid_coordinates":true} 
[2026-06-23 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246047744001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96372881369333760,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999106874576820224,"note":"Value kept but may cause issues"} 
[2026-06-23 16:09:47] 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-06-23 16:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782211126000,"timestamp_ms":1782211126000,"timestamp_seconds":1782211126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40fa2f0"} 
[2026-06-23 16:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:09:47] 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-06-23 16:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 16:09:47] 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-06-23 16:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246047744001,"66":12765,"8":206,"87":13824,"24":8,"16":96372881369333760,"45":8999106874576820224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 16:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246047744001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:09:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 16:09:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96372881369333760,"km_value":96372881369333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999106874576820224,"description":"Unknown IO ID 45"} 
[2026-06-23 16:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246047744001,"power":12765,"unknown_8":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8999106874576820224}} 
[2026-06-23 16:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":111141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:09:48] local.INFO: GPS data processed {"connection_id":111141,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:09:48] local.INFO: Acknowledgment sent {"connection_id":111141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:10:02] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:10:02] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:10:02] local.INFO: Packet analysis {"connection_id":111143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:10:02] local.INFO: Extracted packet for processing {"connection_id":111143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":111143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:10:02] local.INFO: GPS data processed {"connection_id":111143,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:10:02] local.INFO: Acknowledgment sent {"connection_id":111143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:10:10] local.INFO: TCP Data received {"connection_id":112693,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:10:10] local.INFO: Processing buffer {"connection_id":112693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:10:10] local.INFO: IMEI packet received {"connection_id":112693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":112693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:10:15] local.INFO: TCP Data received {"connection_id":112693,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:10:15] local.INFO: Processing buffer {"connection_id":112693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:10:15] local.INFO: IMEI packet received {"connection_id":112693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":112693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:10:16] local.INFO: TCP Data received {"connection_id":112693,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40fca00012d7cf04005eaeee8000b004a28..."} 
[2026-06-23 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40fca00012d7cf04005eaeee8000b004a28..."} 
[2026-06-23 16:10:16] local.INFO: Processing buffer {"connection_id":112693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40fca00012d7cf04005eaeee8000b004a28..."} 
[2026-06-23 16:10:16] local.INFO: Packet analysis {"connection_id":112693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40f"} 
[2026-06-23 16:10:16] local.INFO: Extracted packet for processing {"connection_id":112693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40f"} 
[2026-06-23 16:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763162688,"raw_latitude":99282664,"longitude_deg":76.3162688,"latitude_deg":9.9282664,"altitude":11,"angle":74,"satellites":40,"speed":11,"hex_longitude":"2d7cf040","hex_latitude":"05eaeee8","is_valid_coordinates":true} 
[2026-06-23 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246048256001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96373023103254528,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455786051584,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:16] 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-06-23 16:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782211136000,"timestamp_ms":1782211136000,"timestamp_seconds":1782211136,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40fca00"} 
[2026-06-23 16:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:10:16] 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-06-23 16:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:10:16] 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-06-23 16:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246048256001,"66":12809,"8":206,"87":13824,"24":11,"16":96373023103254528,"45":8999599455786051584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-23 16:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246048256001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:10:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 16:10:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96373023103254528,"km_value":96373023103254.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455786051584,"description":"Unknown IO ID 45"} 
[2026-06-23 16:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246048256001,"power":12809,"unknown_8":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8999599455786051584}} 
[2026-06-23 16:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":112693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:10:16] local.INFO: GPS data processed {"connection_id":112693,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:10:16] local.INFO: Acknowledgment sent {"connection_id":112693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:10:23] local.INFO: TCP Data received {"connection_id":110954,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:10:23] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:10:23] local.INFO: IMEI packet received {"connection_id":110954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":110954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:10:29] local.INFO: TCP Data received {"connection_id":110953,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:10:29] local.INFO: Processing buffer {"connection_id":110953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:10:29] local.INFO: IMEI packet received {"connection_id":110953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":110953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:10:29] local.INFO: TCP Data received {"connection_id":110954,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:10:29] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:10:29] local.INFO: IMEI packet received {"connection_id":110954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":110954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:10:29] local.INFO: TCP Data received {"connection_id":110953,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4106e10012d0bf5800704bfb0002600561c..."} 
[2026-06-23 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4106e10012d0bf5800704bfb0002600561c..."} 
[2026-06-23 16:10:29] local.INFO: Processing buffer {"connection_id":110953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4106e10012d0bf5800704bfb0002600561c..."} 
[2026-06-23 16:10:29] local.INFO: Packet analysis {"connection_id":110953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef410"} 
[2026-06-23 16:10:29] local.INFO: Extracted packet for processing {"connection_id":110953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef410"} 
[2026-06-23 16:10:29] local.INFO: GPS Element Parsed {"raw_longitude":755758464,"raw_latitude":117751728,"longitude_deg":75.5758464,"latitude_deg":11.7751728,"altitude":38,"angle":86,"satellites":28,"speed":39,"hex_longitude":"2d0bf580","hex_latitude":"0704bfb0","is_valid_coordinates":true} 
[2026-06-23 16:10: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-06-23 16:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246059520001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21910500782637056,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853009947066173440,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:29] 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-06-23 16:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782211178000,"timestamp_ms":1782211178000,"timestamp_seconds":1782211178,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4106e10"} 
[2026-06-23 16:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:10:29] 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-06-23 16:10: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":55,"data_length":795,"current_offset":136} 
[2026-06-23 16:10:29] 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-06-23 16:10: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-06-23 16:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":110953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":110953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":110953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246059520001,"66":14613,"96":206,"94":10240,"24":39,"16":21910500782637056,"45":853009947066173440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 16:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246059520001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:10:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:10:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21910500782637056,"km_value":21910500782637.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":853009947066173440,"description":"Unknown IO ID 45"} 
[2026-06-23 16:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246059520001,"power":14613,"unknown_96":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":853009947066173440}} 
[2026-06-23 16:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":110953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:10:29] local.INFO: GPS data processed {"connection_id":110953,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:10:29] local.INFO: Acknowledgment sent {"connection_id":110953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:10:30] local.INFO: TCP Data received {"connection_id":110954,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:10:30] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:10:30] local.INFO: Packet analysis {"connection_id":110954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:10:30] local.INFO: Extracted packet for processing {"connection_id":110954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":110954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:10:30] local.INFO: GPS data processed {"connection_id":110954,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:10:30] local.INFO: Acknowledgment sent {"connection_id":110954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:10:47] local.INFO: TCP Data received {"connection_id":112693,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41121c0012d7d238005eafd480010009f2b..."} 
[2026-06-23 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41121c0012d7d238005eafd480010009f2b..."} 
[2026-06-23 16:10:47] local.INFO: Processing buffer {"connection_id":112693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41121c0012d7d238005eafd480010009f2b..."} 
[2026-06-23 16:10:47] local.INFO: Packet analysis {"connection_id":112693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:10:47] local.INFO: Extracted packet for processing {"connection_id":112693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":99286344,"longitude_deg":76.3175808,"latitude_deg":9.9286344,"altitude":16,"angle":159,"satellites":43,"speed":7,"hex_longitude":"2d7d2380","hex_latitude":"05eafd48","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96373706003054592,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121273087385600,"note":"Value kept but may cause issues"} 
[2026-06-23 16:10:47] 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-06-23 16:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782211224000,"timestamp_ms":1782211224000,"timestamp_seconds":1782211224,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41121c0"} 
[2026-06-23 16:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:10: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-06-23 16: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-06-23 16:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246073088001,"66":12667,"158":206,"87":13824,"24":7,"16":96373706003054592,"45":9017121273087385600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:10:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:10:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96373706003054592,"km_value":96373706003054.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121273087385600,"description":"Unknown IO ID 45"} 
[2026-06-23 16:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246073088001,"power":12667,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9017121273087385600}} 
[2026-06-23 16:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":112693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:10:47] local.INFO: GPS data processed {"connection_id":112693,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:10:47] local.INFO: Acknowledgment sent {"connection_id":112693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:00] local.INFO: TCP Data received {"connection_id":110953,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4109138012d0c18800704c4b8002700511c..."} 
[2026-06-23 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4109138012d0c18800704c4b8002700511c..."} 
[2026-06-23 16:11:00] local.INFO: Processing buffer {"connection_id":110953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4109138012d0c18800704c4b8002700511c..."} 
[2026-06-23 16:11:00] local.INFO: Packet analysis {"connection_id":110953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef410"} 
[2026-06-23 16:11:00] local.INFO: Extracted packet for processing {"connection_id":110953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef410"} 
[2026-06-23 16:11:00] local.INFO: GPS Element Parsed {"raw_longitude":755767424,"raw_latitude":117753016,"longitude_deg":75.5767424,"latitude_deg":11.7753016,"altitude":39,"angle":81,"satellites":28,"speed":36,"hex_longitude":"2d0c1880","hex_latitude":"0704c4b8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246061568001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21910934574333952,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861735671344115712,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:00] 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-06-23 16:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782211187000,"timestamp_ms":1782211187000,"timestamp_seconds":1782211187,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4109138"} 
[2026-06-23 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-06-23 16:11:00] 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-06-23 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-06-23 16:11:00] 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-06-23 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-06-23 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-06-23 16:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":110953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":110953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":110953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246061568001,"66":14559,"96":206,"94":10240,"24":36,"16":21910934574333952,"45":861735671344115712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 16:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246061568001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:11:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21910934574333952,"km_value":21910934574333.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":861735671344115712,"description":"Unknown IO ID 45"} 
[2026-06-23 16:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246061568001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":861735671344115712}} 
[2026-06-23 16:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":110953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371741,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:00] local.INFO: GPS data processed {"connection_id":110953,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:00] local.INFO: Acknowledgment sent {"connection_id":110953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:02] local.INFO: TCP Data received {"connection_id":110954,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:02] local.INFO: Processing buffer {"connection_id":110954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:02] local.INFO: Packet analysis {"connection_id":110954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:11:02] local.INFO: Extracted packet for processing {"connection_id":110954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 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-06-23 16:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":110954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:02] local.INFO: GPS data processed {"connection_id":110954,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:02] local.INFO: Acknowledgment sent {"connection_id":110954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:15] local.INFO: TCP Data received {"connection_id":111145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:11:15] local.INFO: Processing buffer {"connection_id":111145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:11:15] local.INFO: IMEI packet received {"connection_id":111145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":111145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:11:20] local.INFO: TCP Data received {"connection_id":111145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:11:20] local.INFO: Processing buffer {"connection_id":111145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:11:20] local.INFO: IMEI packet received {"connection_id":111145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":111145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:11:22] local.INFO: TCP Data received {"connection_id":111145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41125a8012d7d238005eafc78001000af2b..."} 
[2026-06-23 16:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41125a8012d7d238005eafc78001000af2b..."} 
[2026-06-23 16:11:22] local.INFO: Processing buffer {"connection_id":111145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41125a8012d7d238005eafc78001000af2b..."} 
[2026-06-23 16:11:22] local.INFO: Packet analysis {"connection_id":111145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:11:22] local.INFO: Extracted packet for processing {"connection_id":111145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":99286136,"longitude_deg":76.3175808,"latitude_deg":9.9286136,"altitude":16,"angle":175,"satellites":43,"speed":8,"hex_longitude":"2d7d2380","hex_latitude":"05eafc78","is_valid_coordinates":true} 
[2026-06-23 16:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246073344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96373714592989184,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641831524352,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:22] 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-06-23 16:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782211225000,"timestamp_ms":1782211225000,"timestamp_seconds":1782211225,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41125a8"} 
[2026-06-23 16:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:11: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-06-23 16:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246073344001,"66":12982,"158":206,"87":13824,"24":8,"16":96373714592989184,"45":9017191641831524352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246073344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:11:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96373714592989184,"km_value":96373714592989.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641831524352,"description":"Unknown IO ID 45"} 
[2026-06-23 16:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246073344001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9017191641831524352}} 
[2026-06-23 16:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":111145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:22] local.INFO: GPS data processed {"connection_id":111145,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:22] local.INFO: Acknowledgment sent {"connection_id":111145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:24] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:11:24] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:11:24] local.INFO: IMEI packet received {"connection_id":111146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":111146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:11:26] local.INFO: TCP Data received {"connection_id":111145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4116810012d7d214005eae2d0000c00bb2b..."} 
[2026-06-23 16:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4116810012d7d214005eae2d0000c00bb2b..."} 
[2026-06-23 16:11:26] local.INFO: Processing buffer {"connection_id":111145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4116810012d7d214005eae2d0000c00bb2b..."} 
[2026-06-23 16:11:26] local.INFO: Packet analysis {"connection_id":111145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:11:26] local.INFO: Extracted packet for processing {"connection_id":111145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99279568,"longitude_deg":76.3175232,"latitude_deg":9.9279568,"altitude":12,"angle":187,"satellites":43,"speed":12,"hex_longitude":"2d7d2140","hex_latitude":"05eae2d0","is_valid_coordinates":true} 
[2026-06-23 16:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246073600001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96374036715536384,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641831471104,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:26] 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-06-23 16:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782211242000,"timestamp_ms":1782211242000,"timestamp_seconds":1782211242,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4116810"} 
[2026-06-23 16:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 16:11:26] 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-06-23 16:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246073600001,"66":12841,"158":206,"87":13824,"24":12,"16":96374036715536384,"45":9017191641831471104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246073600001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:11:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96374036715536384,"km_value":96374036715536.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641831471104,"description":"Unknown IO ID 45"} 
[2026-06-23 16:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246073600001,"power":12841,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9017191641831471104}} 
[2026-06-23 16:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":111145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:26] local.INFO: GPS data processed {"connection_id":111145,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:26] local.INFO: Acknowledgment sent {"connection_id":111145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:29] local.INFO: TCP Data received {"connection_id":111754,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:11:29] local.INFO: Processing buffer {"connection_id":111754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:11:29] local.INFO: IMEI packet received {"connection_id":111754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:11:29] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:11:29] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:11:29] local.INFO: IMEI packet received {"connection_id":111146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:11:29] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef410b460012d0c3dc00704cad8002400531c..."} 
[2026-06-23 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef410b460012d0c3dc00704cad8002400531c..."} 
[2026-06-23 16:11:29] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef410b460012d0c3dc00704cad8002400531c..."} 
[2026-06-23 16:11:29] local.INFO: Packet analysis {"connection_id":111146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef410"} 
[2026-06-23 16:11:29] local.INFO: Extracted packet for processing {"connection_id":111146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef410"} 
[2026-06-23 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":755776960,"raw_latitude":117754584,"longitude_deg":75.577696,"latitude_deg":11.7754584,"altitude":36,"angle":83,"satellites":28,"speed":42,"hex_longitude":"2d0c3dc0","hex_latitude":"0704cad8","is_valid_coordinates":true} 
[2026-06-23 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246063872001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21911394135834624,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871587295529318400,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:29] 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-06-23 16:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782211196000,"timestamp_ms":1782211196000,"timestamp_seconds":1782211196,"priority":1,"record_length":96,"hex_timestamp":"0000019ef410b460"} 
[2026-06-23 16:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:11:29] 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-06-23 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 16:11: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-06-23 16:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246063872001,"66":14580,"96":206,"94":10240,"24":42,"16":21911394135834624,"45":871587295529318400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-23 16:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246063872001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:11:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21911394135834624,"km_value":21911394135834.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":871587295529318400,"description":"Unknown IO ID 45"} 
[2026-06-23 16:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246063872001,"power":14580,"unknown_96":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":871587295529318400}} 
[2026-06-23 16:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":111146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371745,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:29] local.INFO: GPS data processed {"connection_id":111146,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:29] local.INFO: Acknowledgment sent {"connection_id":111146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:34] local.INFO: TCP Data received {"connection_id":111754,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:11:34] local.INFO: Processing buffer {"connection_id":111754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:11:34] local.INFO: IMEI packet received {"connection_id":111754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":111754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:11:35] local.INFO: TCP Data received {"connection_id":111754,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:35] local.INFO: Processing buffer {"connection_id":111754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:35] local.INFO: Packet analysis {"connection_id":111754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:11:35] local.INFO: Extracted packet for processing {"connection_id":111754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":111754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:35] local.INFO: GPS data processed {"connection_id":111754,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:35] local.INFO: Acknowledgment sent {"connection_id":111754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:11:40] local.INFO: TCP Data received {"connection_id":111754,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:40] local.INFO: Processing buffer {"connection_id":111754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:11:40] local.INFO: Packet analysis {"connection_id":111754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:11:40] local.INFO: Extracted packet for processing {"connection_id":111754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:11:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:11:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":111754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:11:40] local.INFO: GPS data processed {"connection_id":111754,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:11:40] local.INFO: Acknowledgment sent {"connection_id":111754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:12:00] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef411d188012d0c684007051080001f01551c..."} 
[2026-06-23 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef411d188012d0c684007051080001f01551c..."} 
[2026-06-23 16:12:00] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef411d188012d0c684007051080001f01551c..."} 
[2026-06-23 16:12:00] local.INFO: Packet analysis {"connection_id":111146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:12:00] local.INFO: Extracted packet for processing {"connection_id":111146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117772416,"longitude_deg":75.578784,"latitude_deg":11.7772416,"altitude":31,"angle":341,"satellites":28,"speed":5,"hex_longitude":"2d0c6840","hex_latitude":"07051080","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246082816001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21913305396281344,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894246031159130112,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:00] 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-06-23 16:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782211269000,"timestamp_ms":1782211269000,"timestamp_seconds":1782211269,"priority":1,"record_length":96,"hex_timestamp":"0000019ef411d188"} 
[2026-06-23 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-06-23 16:12:00] 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-06-23 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 16:12:00] 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-06-23 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-06-23 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-06-23 16:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246082816001,"66":14461,"95":206,"94":10240,"24":5,"16":21913305396281344,"45":894246031159130112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 16:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246082816001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:12:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:12:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21913305396281344,"km_value":21913305396281.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":894246031159130112,"description":"Unknown IO ID 45"} 
[2026-06-23 16:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246082816001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":894246031159130112}} 
[2026-06-23 16:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":111146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:12:00] local.INFO: GPS data processed {"connection_id":111146,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:12:00] local.INFO: Acknowledgment sent {"connection_id":111146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:12:10] local.INFO: TCP Data received {"connection_id":112694,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:12:10] local.INFO: Processing buffer {"connection_id":112694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:12:10] local.INFO: IMEI packet received {"connection_id":112694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":112694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:12:16] local.INFO: TCP Data received {"connection_id":112694,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:12:16] local.INFO: Processing buffer {"connection_id":112694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:12:16] local.INFO: IMEI packet received {"connection_id":112694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":112694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:12:17] local.INFO: TCP Data received {"connection_id":112694,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef411ba18012d7d204005eacde0000a00a92c..."} 
[2026-06-23 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef411ba18012d7d204005eacde0000a00a92c..."} 
[2026-06-23 16:12:17] local.INFO: Processing buffer {"connection_id":112694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef411ba18012d7d204005eacde0000a00a92c..."} 
[2026-06-23 16:12:17] local.INFO: Packet analysis {"connection_id":112694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:12:17] local.INFO: Extracted packet for processing {"connection_id":112694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763174976,"raw_latitude":99274208,"longitude_deg":76.3174976,"latitude_deg":9.9274208,"altitude":10,"angle":169,"satellites":44,"speed":8,"hex_longitude":"2d7d2040","hex_latitude":"05eacde0","is_valid_coordinates":true} 
[2026-06-23 16:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246077952001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96374298708541440,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323132190720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:17] 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-06-23 16:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782211263000,"timestamp_ms":1782211263000,"timestamp_seconds":1782211263,"priority":1,"record_length":96,"hex_timestamp":"0000019ef411ba18"} 
[2026-06-23 16:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 16:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246077952001,"66":13319,"158":206,"87":13824,"24":8,"16":96374298708541440,"45":9016558323132190720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246077952001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:12:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:12:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96374298708541440,"km_value":96374298708541.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323132190720,"description":"Unknown IO ID 45"} 
[2026-06-23 16:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246077952001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9016558323132190720}} 
[2026-06-23 16:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":112694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:12:17] local.INFO: GPS data processed {"connection_id":112694,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:12:17] local.INFO: Acknowledgment sent {"connection_id":112694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:12:18] local.INFO: TCP Data received {"connection_id":112694,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef411c5d0012d7d208005eaca68000b00bb2b..."} 
[2026-06-23 16:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef411c5d0012d7d208005eaca68000b00bb2b..."} 
[2026-06-23 16:12:18] local.INFO: Processing buffer {"connection_id":112694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef411c5d0012d7d208005eaca68000b00bb2b..."} 
[2026-06-23 16:12:18] local.INFO: Packet analysis {"connection_id":112694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:12:18] local.INFO: Extracted packet for processing {"connection_id":112694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef411"} 
[2026-06-23 16:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99273320,"longitude_deg":76.317504,"latitude_deg":9.927332,"altitude":11,"angle":187,"satellites":43,"speed":14,"hex_longitude":"2d7d2080","hex_latitude":"05eaca68","is_valid_coordinates":true} 
[2026-06-23 16:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246083328001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96374341658214400,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016276848154107904,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] 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-06-23 16:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782211266000,"timestamp_ms":1782211266000,"timestamp_seconds":1782211266,"priority":1,"record_length":96,"hex_timestamp":"0000019ef411c5d0"} 
[2026-06-23 16:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4094760456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-139611532608787456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4026609021,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147871486,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802128,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.WARNING: Large IO value detected {"io_id":17,"raw_value":461620256689815557,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,158,87,24,241,157,16,99,104,45,64,226,12,43,10,66,37,128,252,33,1,240,123,227,244,234,4,113,205,7,25,34,72,239,50,2,86,5,15,248,17],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-06-23 16:12:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720761946823458816,"timestamp_seconds":720761946823458.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 16:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":112694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":112694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":112694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246083328001,"66":13080,"158":206,"87":13824,"24":14,"16":96374341658214400,"45":9016276848154107904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246083328001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:12:18] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:12:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96374341658214400,"km_value":96374341658214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016276848154107904,"description":"Unknown IO ID 45"} 
[2026-06-23 16:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246083328001,"power":13080,"unknown_158":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9016276848154107904}} 
[2026-06-23 16:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":112694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:12:18] local.INFO: GPS data processed {"connection_id":112694,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:12:18] local.INFO: Acknowledgment sent {"connection_id":112694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:12:24] local.INFO: TCP Data received {"connection_id":110956,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:12:24] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:12:24] local.INFO: IMEI packet received {"connection_id":110956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":110956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:12:25] local.INFO: TCP Data received {"connection_id":111147,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:12:25] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:12:25] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:12:26] local.INFO: TCP Data received {"connection_id":111147,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:12:26] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:12:26] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:12:27] local.INFO: TCP Data received {"connection_id":111147,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4121fa8012d0c6780070511c8002001551c..."} 
[2026-06-23 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4121fa8012d0c6780070511c8002001551c..."} 
[2026-06-23 16:12:27] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4121fa8012d0c6780070511c8002001551c..."} 
[2026-06-23 16:12:27] local.INFO: Packet analysis {"connection_id":111147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:12:27] local.INFO: Extracted packet for processing {"connection_id":111147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:12:27] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":117772744,"longitude_deg":75.5787648,"latitude_deg":11.7772744,"altitude":32,"angle":341,"satellites":28,"speed":0,"hex_longitude":"2d0c6780","hex_latitude":"070511c8","is_valid_coordinates":true} 
[2026-06-23 16:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246084864001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21913322576150528,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924926959616,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:27] 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-06-23 16:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782211289000,"timestamp_ms":1782211289000,"timestamp_seconds":1782211289,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4121fa8"} 
[2026-06-23 16:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:12:27] 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-06-23 16:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 16:12:27] 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-06-23 16:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111147,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246084864001,"66":14580,"95":206,"94":10240,"24":0,"16":21913322576150528,"45":894034924926959616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-23 16:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246084864001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:12:27] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:12:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21913322576150528,"km_value":21913322576150.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924926959616,"description":"Unknown IO ID 45"} 
[2026-06-23 16:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246084864001,"power":14580,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":894034924926959616}} 
[2026-06-23 16:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":111147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:12:27] local.INFO: GPS data processed {"connection_id":111147,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:12:27] local.INFO: Acknowledgment sent {"connection_id":111147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:12:29] local.INFO: TCP Data received {"connection_id":110956,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:12:29] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:12:29] local.INFO: IMEI packet received {"connection_id":110956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":110956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:12:30] local.INFO: TCP Data received {"connection_id":110956,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:12:30] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:12:30] local.INFO: Packet analysis {"connection_id":110956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:12:30] local.INFO: Extracted packet for processing {"connection_id":110956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:12:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":110956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:12:30] local.INFO: GPS data processed {"connection_id":110956,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:12:30] local.INFO: Acknowledgment sent {"connection_id":110956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:12:32] local.INFO: TCP Data received {"connection_id":110955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:12:32] local.INFO: Processing buffer {"connection_id":110955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:12:32] local.INFO: IMEI packet received {"connection_id":110955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":110955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:12:49] local.INFO: TCP Data received {"connection_id":112694,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41213f0012d7d1e8005eaa668000700b72b..."} 
[2026-06-23 16:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41213f0012d7d1e8005eaa668000700b72b..."} 
[2026-06-23 16:12:49] local.INFO: Processing buffer {"connection_id":112694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41213f0012d7d1e8005eaa668000700b72b..."} 
[2026-06-23 16:12:49] local.INFO: Packet analysis {"connection_id":112694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:12:49] local.INFO: Extracted packet for processing {"connection_id":112694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:12:49] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99264104,"longitude_deg":76.3174528,"latitude_deg":9.9264104,"altitude":7,"angle":183,"satellites":43,"speed":18,"hex_longitude":"2d7d1e80","hex_latitude":"05eaa668","is_valid_coordinates":true} 
[2026-06-23 16:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246084096001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96374788334813184,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216898058240,"note":"Value kept but may cause issues"} 
[2026-06-23 16:12:49] 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-06-23 16:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782211286000,"timestamp_ms":1782211286000,"timestamp_seconds":1782211286,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41213f0"} 
[2026-06-23 16:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-23 16:12:49] 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-06-23 16:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246084096001,"66":13254,"158":206,"87":13824,"24":18,"16":96374788334813184,"45":9016347216898058240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246084096001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:12:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:12:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96374788334813184,"km_value":96374788334813.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216898058240,"description":"Unknown IO ID 45"} 
[2026-06-23 16:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246084096001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9016347216898058240}} 
[2026-06-23 16:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":112694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:12:49] local.INFO: GPS data processed {"connection_id":112694,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:12:49] local.INFO: Acknowledgment sent {"connection_id":112694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:13:02] local.INFO: TCP Data received {"connection_id":110956,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:13:02] local.INFO: Processing buffer {"connection_id":110956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef40eb4a8012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:13:02] local.INFO: Packet analysis {"connection_id":110956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:13:02] local.INFO: Extracted packet for processing {"connection_id":110956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef40e"} 
[2026-06-23 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456245955584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211065000,"timestamp_ms":1782211065000,"timestamp_seconds":1782211065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef40eb4a8"} 
[2026-06-23 16:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456245955584001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456245955584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:13:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:13:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456245955584001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":110956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:13:02] local.INFO: GPS data processed {"connection_id":110956,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:13:02] local.INFO: Acknowledgment sent {"connection_id":110956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:13:07] local.INFO: TCP Data received {"connection_id":111755,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:13:07] local.INFO: Processing buffer {"connection_id":111755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:13:07] local.INFO: IMEI packet received {"connection_id":111755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":111755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:13:09] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:09] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:09] local.INFO: IMEI packet received {"connection_id":112695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":112695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:13:10] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:10] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:10] local.INFO: IMEI packet received {"connection_id":112695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":112695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:13:11] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:11] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:11] local.INFO: IMEI packet received {"connection_id":112695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":112695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:13:12] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:12] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:13:12] local.INFO: IMEI packet received {"connection_id":112695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":112695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:13:14] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4126210012d7d1bc005ea8630000900b72c..."} 
[2026-06-23 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4126210012d7d1bc005ea8630000900b72c..."} 
[2026-06-23 16:13:14] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4126210012d7d1bc005ea8630000900b72c..."} 
[2026-06-23 16:13:14] local.INFO: Packet analysis {"connection_id":112695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:13:14] local.INFO: Extracted packet for processing {"connection_id":112695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99255856,"longitude_deg":76.3173824,"latitude_deg":9.9255856,"altitude":9,"angle":183,"satellites":44,"speed":0,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea8630","is_valid_coordinates":true} 
[2026-06-23 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246089216001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96375196356706304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266942277632,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:14] 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-06-23 16:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782211306000,"timestamp_ms":1782211306000,"timestamp_seconds":1782211306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4126210"} 
[2026-06-23 16:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-23 16:13:14] 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-06-23 16:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":112695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":112695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":112695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246089216001,"66":12885,"158":206,"87":13824,"24":0,"16":96375196356706304,"45":9015784266942277632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246089216001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:13:14] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:13:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96375196356706304,"km_value":96375196356706.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266942277632,"description":"Unknown IO ID 45"} 
[2026-06-23 16:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246089216001,"power":12885,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9015784266942277632}} 
[2026-06-23 16:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":112695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:13:14] local.INFO: GPS data processed {"connection_id":112695,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:13:14] local.INFO: Acknowledgment sent {"connection_id":112695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:13:16] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41294d8012d7d1c0005ea8448000a00aa2b..."} 
[2026-06-23 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41294d8012d7d1c0005ea8448000a00aa2b..."} 
[2026-06-23 16:13:16] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41294d8012d7d1c0005ea8448000a00aa2b..."} 
[2026-06-23 16:13:16] local.INFO: Packet analysis {"connection_id":112695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:13:16] local.INFO: Extracted packet for processing {"connection_id":112695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99255368,"longitude_deg":76.3173888,"latitude_deg":9.9255368,"altitude":10,"angle":170,"satellites":43,"speed":2,"hex_longitude":"2d7d1c00","hex_latitude":"05ea8448","is_valid_coordinates":true} 
[2026-06-23 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246094336001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96375222126510080,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210754211840,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:16] 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-06-23 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782211319000,"timestamp_ms":1782211319000,"timestamp_seconds":1782211319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41294d8"} 
[2026-06-23 16:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:13: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-06-23 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 16:13:16] 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-06-23 16:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246094336001,"66":12526,"158":206,"87":13824,"24":2,"16":96375222126510080,"45":9015010210754211840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246094336001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:13:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:13:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96375222126510080,"km_value":96375222126510.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210754211840,"description":"Unknown IO ID 45"} 
[2026-06-23 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246094336001,"power":12526,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9015010210754211840}} 
[2026-06-23 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":112695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:13:16] local.INFO: GPS data processed {"connection_id":112695,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:13:16] local.INFO: Acknowledgment sent {"connection_id":112695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:13:24] local.INFO: TCP Data received {"connection_id":110957,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:24] local.INFO: Processing buffer {"connection_id":110957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:24] local.INFO: IMEI packet received {"connection_id":110957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":110957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:13:24] local.INFO: TCP Data received {"connection_id":110957,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:24] local.INFO: Processing buffer {"connection_id":110957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:24] local.INFO: IMEI packet received {"connection_id":110957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":110957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:13:29] local.INFO: TCP Data received {"connection_id":110957,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:29] local.INFO: Processing buffer {"connection_id":110957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:13:29] local.INFO: IMEI packet received {"connection_id":110957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":110957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:13:30] local.INFO: TCP Data received {"connection_id":110957,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:13:30] local.INFO: Processing buffer {"connection_id":110957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:13:30] local.INFO: Packet analysis {"connection_id":110957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:13:30] local.INFO: Extracted packet for processing {"connection_id":110957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:13: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-06-23 16:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:13:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":110957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:13:30] local.INFO: GPS data processed {"connection_id":110957,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:13:30] local.INFO: Acknowledgment sent {"connection_id":110957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:13:48] local.INFO: TCP Data received {"connection_id":112695,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef412d740012d7d1cc005ea7d50000a00b92b..."} 
[2026-06-23 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef412d740012d7d1cc005ea7d50000a00b92b..."} 
[2026-06-23 16:13:48] local.INFO: Processing buffer {"connection_id":112695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef412d740012d7d1cc005ea7d50000a00b92b..."} 
[2026-06-23 16:13:48] local.INFO: Packet analysis {"connection_id":112695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:13:48] local.INFO: Extracted packet for processing {"connection_id":112695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef412"} 
[2026-06-23 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99253584,"longitude_deg":76.317408,"latitude_deg":9.9253584,"altitude":10,"angle":185,"satellites":43,"speed":10,"hex_longitude":"2d7d1cc0","hex_latitude":"05ea7d50","is_valid_coordinates":true} 
[2026-06-23 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246097664001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96375312320823296,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579498264576,"note":"Value kept but may cause issues"} 
[2026-06-23 16:13:48] 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-06-23 16:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782211336000,"timestamp_ms":1782211336000,"timestamp_seconds":1782211336,"priority":1,"record_length":96,"hex_timestamp":"0000019ef412d740"} 
[2026-06-23 16:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 16:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246097664001,"66":13059,"158":206,"87":13824,"24":10,"16":96375312320823296,"45":9015080579498264576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-23 16:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246097664001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:13:48] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 16:13:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96375312320823296,"km_value":96375312320823.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579498264576,"description":"Unknown IO ID 45"} 
[2026-06-23 16:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246097664001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015080579498264576}} 
[2026-06-23 16:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":112695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:13:48] local.INFO: GPS data processed {"connection_id":112695,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:13:48] local.INFO: Acknowledgment sent {"connection_id":112695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:14:02] local.INFO: TCP Data received {"connection_id":110957,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:14:02] local.INFO: Processing buffer {"connection_id":110957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:14:02] local.INFO: Packet analysis {"connection_id":110957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:14:02] local.INFO: Extracted packet for processing {"connection_id":110957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:14:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":110957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:14:02] local.INFO: GPS data processed {"connection_id":110957,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:14:02] local.INFO: Acknowledgment sent {"connection_id":110957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:14:11] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:11] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:11] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:14:11] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:11] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:11] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:14:14] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:14] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:14:14] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:14:15] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4144670012d7d0ec005e9bfb8000800fc2b..."} 
[2026-06-23 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4144670012d7d0ec005e9bfb8000800fc2b..."} 
[2026-06-23 16:14:15] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4144670012d7d0ec005e9bfb8000800fc2b..."} 
[2026-06-23 16:14:15] local.INFO: Packet analysis {"connection_id":111148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef414"} 
[2026-06-23 16:14:15] local.INFO: Extracted packet for processing {"connection_id":111148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef414"} 
[2026-06-23 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763170496,"raw_latitude":99205048,"longitude_deg":76.3170496,"latitude_deg":9.9205048,"altitude":8,"angle":252,"satellites":43,"speed":9,"hex_longitude":"2d7d0ec0","hex_latitude":"05e9bfb8","is_valid_coordinates":true} 
[2026-06-23 16:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246125568001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96377696027672576,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011773248509077504,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782211430000,"timestamp_ms":1782211430000,"timestamp_seconds":1782211430,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4144670"} 
[2026-06-23 16:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-23 16:14:15] 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-06-23 16:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246125568001,"66":12863,"126":206,"87":13824,"24":9,"16":96377696027672576,"45":9011773248509077504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-23 16:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246125568001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:14:15] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 16:14:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96377696027672576,"km_value":96377696027672.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011773248509077504,"description":"Unknown IO ID 45"} 
[2026-06-23 16:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246125568001,"power":12863,"unknown_126":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9011773248509077504}} 
[2026-06-23 16:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":111148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:14:15] local.INFO: GPS data processed {"connection_id":111148,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:14:15] local.INFO: Acknowledgment sent {"connection_id":111148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:14:23] local.INFO: TCP Data received {"connection_id":111756,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:14:23] local.INFO: Processing buffer {"connection_id":111756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:14:23] local.INFO: IMEI packet received {"connection_id":111756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":111756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:14:29] local.INFO: TCP Data received {"connection_id":111756,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:14:29] local.INFO: Processing buffer {"connection_id":111756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:14:29] local.INFO: IMEI packet received {"connection_id":111756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":111756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:14:30] local.INFO: TCP Data received {"connection_id":111756,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:14:30] local.INFO: Processing buffer {"connection_id":111756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:14:30] local.INFO: Packet analysis {"connection_id":111756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:14:30] local.INFO: Extracted packet for processing {"connection_id":111756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:14: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-06-23 16: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-06-23 16:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:14:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":111756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:14:30] local.INFO: GPS data processed {"connection_id":111756,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:14:30] local.INFO: Acknowledgment sent {"connection_id":111756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:14:47] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef414fa20012d7cbf0005e9be400007011f28..."} 
[2026-06-23 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef414fa20012d7cbf0005e9be400007011f28..."} 
[2026-06-23 16:14:47] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef414fa20012d7cbf0005e9be400007011f28..."} 
[2026-06-23 16:14:47] local.INFO: Packet analysis {"connection_id":111148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef414"} 
[2026-06-23 16:14:47] local.INFO: Extracted packet for processing {"connection_id":111148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef414"} 
[2026-06-23 16:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763150080,"raw_latitude":99204672,"longitude_deg":76.315008,"latitude_deg":9.9204672,"altitude":7,"angle":287,"satellites":40,"speed":17,"hex_longitude":"2d7cbf00","hex_latitude":"05e9be40","is_valid_coordinates":true} 
[2026-06-23 16:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246136576001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96378756884594688,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991436681441615872,"note":"Value kept but may cause issues"} 
[2026-06-23 16:14:47] 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-06-23 16:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782211476000,"timestamp_ms":1782211476000,"timestamp_seconds":1782211476,"priority":1,"record_length":96,"hex_timestamp":"0000019ef414fa20"} 
[2026-06-23 16:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:14:47] 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-06-23 16:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:14:47] 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-06-23 16:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246136576001,"66":12939,"192":206,"87":13824,"24":17,"16":96378756884594688,"45":8991436681441615872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246136576001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:14:47] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:14:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96378756884594688,"km_value":96378756884594.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991436681441615872,"description":"Unknown IO ID 45"} 
[2026-06-23 16:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246136576001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8991436681441615872}} 
[2026-06-23 16:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":111148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:14:47] local.INFO: GPS data processed {"connection_id":111148,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:14:47] local.INFO: Acknowledgment sent {"connection_id":111148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:15:02] local.INFO: TCP Data received {"connection_id":111756,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:15:02] local.INFO: Processing buffer {"connection_id":111756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:15:02] local.INFO: Packet analysis {"connection_id":111756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:15:02] local.INFO: Extracted packet for processing {"connection_id":111756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:15: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-06-23 16: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-06-23 16:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":111756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:15:02] local.INFO: GPS data processed {"connection_id":111756,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:15:02] local.INFO: Acknowledgment sent {"connection_id":111756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:15:10] local.INFO: TCP Data received {"connection_id":111757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:15:10] local.INFO: Processing buffer {"connection_id":111757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:15:10] local.INFO: IMEI packet received {"connection_id":111757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":111757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:15:15] local.INFO: TCP Data received {"connection_id":111757,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:15:15] local.INFO: Processing buffer {"connection_id":111757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:15:15] local.INFO: IMEI packet received {"connection_id":111757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":111757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:15:16] local.INFO: TCP Data received {"connection_id":111757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41505d8012d7cb98005e9bfa00007011127..."} 
[2026-06-23 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41505d8012d7cb98005e9bfa00007011127..."} 
[2026-06-23 16:15:16] local.INFO: Processing buffer {"connection_id":111757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41505d8012d7cb98005e9bfa00007011127..."} 
[2026-06-23 16:15:16] local.INFO: Packet analysis {"connection_id":111757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef415"} 
[2026-06-23 16:15:16] local.INFO: Extracted packet for processing {"connection_id":111757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef415"} 
[2026-06-23 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763148672,"raw_latitude":99205024,"longitude_deg":76.3148672,"latitude_deg":9.9205024,"altitude":7,"angle":273,"satellites":39,"speed":20,"hex_longitude":"2d7cb980","hex_latitude":"05e9bfa0","is_valid_coordinates":true} 
[2026-06-23 16:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246137856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96378825604071424,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988903406651195392,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:16] 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-06-23 16:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782211479000,"timestamp_ms":1782211479000,"timestamp_seconds":1782211479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41505d8"} 
[2026-06-23 16:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:15:16] 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-06-23 16:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246137856001,"66":12667,"192":206,"87":13824,"24":20,"16":96378825604071424,"45":8988903406651195392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246137856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:15:16] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:15:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96378825604071424,"km_value":96378825604071.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988903406651195392,"description":"Unknown IO ID 45"} 
[2026-06-23 16:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246137856001,"power":12667,"unknown_192":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8988903406651195392}} 
[2026-06-23 16:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":111757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:15:16] local.INFO: GPS data processed {"connection_id":111757,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:15:16] local.INFO: Acknowledgment sent {"connection_id":111757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:15:29] local.INFO: TCP Data received {"connection_id":111758,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:15:29] local.INFO: Processing buffer {"connection_id":111758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:15:29] local.INFO: IMEI packet received {"connection_id":111758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":111758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:15:30] local.INFO: TCP Data received {"connection_id":111758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:15:30] local.INFO: Processing buffer {"connection_id":111758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:15:30] local.INFO: Packet analysis {"connection_id":111758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:15:30] local.INFO: Extracted packet for processing {"connection_id":111758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:15:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:15: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-06-23 16: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-06-23 16:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:15:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":111758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:15:30] local.INFO: GPS data processed {"connection_id":111758,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:15:30] local.INFO: Acknowledgment sent {"connection_id":111758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:15:47] local.INFO: TCP Data received {"connection_id":111757,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41509c0012d7cb74005e9bf700006010628..."} 
[2026-06-23 16:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41509c0012d7cb74005e9bf700006010628..."} 
[2026-06-23 16:15:47] local.INFO: Processing buffer {"connection_id":111757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41509c0012d7cb74005e9bf700006010628..."} 
[2026-06-23 16:15:47] local.INFO: Packet analysis {"connection_id":111757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef415"} 
[2026-06-23 16:15:47] local.INFO: Extracted packet for processing {"connection_id":111757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef415"} 
[2026-06-23 16:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763148096,"raw_latitude":99204976,"longitude_deg":76.3148096,"latitude_deg":9.9204976,"altitude":6,"angle":262,"satellites":40,"speed":20,"hex_longitude":"2d7cb740","hex_latitude":"05e9bf70","is_valid_coordinates":true} 
[2026-06-23 16:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246138624001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96378851373875200,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987355294279376896,"note":"Value kept but may cause issues"} 
[2026-06-23 16:15:47] 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-06-23 16:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782211480000,"timestamp_ms":1782211480000,"timestamp_seconds":1782211480,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41509c0"} 
[2026-06-23 16:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:15:47] 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-06-23 16:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:15: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-06-23 16:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246138624001,"66":12667,"192":206,"87":13824,"24":20,"16":96378851373875200,"45":8987355294279376896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246138624001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:15:47] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:15:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96378851373875200,"km_value":96378851373875.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987355294279376896,"description":"Unknown IO ID 45"} 
[2026-06-23 16:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246138624001,"power":12667,"unknown_192":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8987355294279376896}} 
[2026-06-23 16:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":111757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:15:47] local.INFO: GPS data processed {"connection_id":111757,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:15:47] local.INFO: Acknowledgment sent {"connection_id":111757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:02] local.INFO: TCP Data received {"connection_id":111758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:02] local.INFO: Processing buffer {"connection_id":111758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:02] local.INFO: Packet analysis {"connection_id":111758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:16:02] local.INFO: Extracted packet for processing {"connection_id":111758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:16: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-06-23 16:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":111758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:02] local.INFO: GPS data processed {"connection_id":111758,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:02] local.INFO: Acknowledgment sent {"connection_id":111758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:10] local.INFO: TCP Data received {"connection_id":111149,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:16:10] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:16:10] local.INFO: IMEI packet received {"connection_id":111149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":111149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:16:16] local.INFO: TCP Data received {"connection_id":111149,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:16:16] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:16:16] local.INFO: IMEI packet received {"connection_id":111149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":111149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:16:17] local.INFO: TCP Data received {"connection_id":111149,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41534b8012d7ca0c005e9bc18000600f427..."} 
[2026-06-23 16:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41534b8012d7ca0c005e9bc18000600f427..."} 
[2026-06-23 16:16:17] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41534b8012d7ca0c005e9bc18000600f427..."} 
[2026-06-23 16:16:17] local.INFO: Packet analysis {"connection_id":111149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef415"} 
[2026-06-23 16:16:17] local.INFO: Extracted packet for processing {"connection_id":111149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef415"} 
[2026-06-23 16:16:17] local.INFO: GPS Element Parsed {"raw_longitude":763142336,"raw_latitude":99204120,"longitude_deg":76.3142336,"latitude_deg":9.920412,"altitude":6,"angle":244,"satellites":39,"speed":15,"hex_longitude":"2d7ca0c0","hex_latitude":"05e9bc18","is_valid_coordinates":true} 
[2026-06-23 16:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246138880001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96379134841716736,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986721975581765632,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:17] 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-06-23 16:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782211491000,"timestamp_ms":1782211491000,"timestamp_seconds":1782211491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41534b8"} 
[2026-06-23 16:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246138880001,"66":12917,"192":206,"87":13824,"24":15,"16":96379134841716736,"45":8986721975581765632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246138880001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:16:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96379134841716736,"km_value":96379134841716.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986721975581765632,"description":"Unknown IO ID 45"} 
[2026-06-23 16:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246138880001,"power":12917,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8986721975581765632}} 
[2026-06-23 16:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":111149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:17] local.INFO: GPS data processed {"connection_id":111149,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:17] local.INFO: Acknowledgment sent {"connection_id":111149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:24] local.INFO: TCP Data received {"connection_id":111759,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:16:24] local.INFO: Processing buffer {"connection_id":111759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:16:24] local.INFO: IMEI packet received {"connection_id":111759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":111759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:16:29] local.INFO: TCP Data received {"connection_id":111759,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:16:29] local.INFO: Processing buffer {"connection_id":111759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:16:29] local.INFO: IMEI packet received {"connection_id":111759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":111759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:16:31] local.INFO: TCP Data received {"connection_id":111759,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:31] local.INFO: Processing buffer {"connection_id":111759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:31] local.INFO: Packet analysis {"connection_id":111759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:16:31] local.INFO: Extracted packet for processing {"connection_id":111759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:16:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":111759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:31] local.INFO: GPS data processed {"connection_id":111759,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:31] local.INFO: Acknowledgment sent {"connection_id":111759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:35] local.INFO: TCP Data received {"connection_id":111759,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:35] local.INFO: Processing buffer {"connection_id":111759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:16:35] local.INFO: Packet analysis {"connection_id":111759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:16:35] local.INFO: Extracted packet for processing {"connection_id":111759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":111759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:35] local.INFO: GPS data processed {"connection_id":111759,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:35] local.INFO: Acknowledgment sent {"connection_id":111759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:44] local.INFO: TCP Data received {"connection_id":110959,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:16:44] local.INFO: Processing buffer {"connection_id":110959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:16:44] local.INFO: IMEI packet received {"connection_id":110959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":110959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:16:45] local.INFO: TCP Data received {"connection_id":110959,"ip":"117.224.94.80","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110959,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 16:16:45] local.INFO: Processing buffer {"connection_id":110959,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 16:16:45] local.INFO: IMEI packet received {"connection_id":110959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":110959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:16:48] local.INFO: TCP Data received {"connection_id":110959,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:16:48] local.INFO: Processing buffer {"connection_id":110959,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-23 16:16:48] local.INFO: IMEI packet received {"connection_id":110959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":110959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:16:49] local.INFO: TCP Data received {"connection_id":111149,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4168890012d7c788005e99418000000f126..."} 
[2026-06-23 16:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4168890012d7c788005e99418000000f126..."} 
[2026-06-23 16:16:49] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4168890012d7c788005e99418000000f126..."} 
[2026-06-23 16:16:49] local.INFO: Packet analysis {"connection_id":111149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:16:49] local.INFO: Extracted packet for processing {"connection_id":111149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763132032,"raw_latitude":99193880,"longitude_deg":76.3132032,"latitude_deg":9.919388,"altitude":0,"angle":241,"satellites":38,"speed":2,"hex_longitude":"2d7c7880","hex_latitude":"05e99418","is_valid_coordinates":true} 
[2026-06-23 16:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246162944001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96380053964718080,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969270527022907392,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:49] 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-06-23 16:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782211578000,"timestamp_ms":1782211578000,"timestamp_seconds":1782211578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4168890"} 
[2026-06-23 16:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 16:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246162944001,"66":12156,"192":206,"87":13824,"24":2,"16":96380053964718080,"45":8969270527022907392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246162944001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:16:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96380053964718080,"km_value":96380053964718.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969270527022907392,"description":"Unknown IO ID 45"} 
[2026-06-23 16:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246162944001,"power":12156,"unknown_192":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8969270527022907392}} 
[2026-06-23 16:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":111149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:49] local.INFO: GPS data processed {"connection_id":111149,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:49] local.INFO: Acknowledgment sent {"connection_id":111149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:50] local.INFO: TCP Data received {"connection_id":110959,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41680c0012d0c2c0007062748001c01601b..."} 
[2026-06-23 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41680c0012d0c2c0007062748001c01601b..."} 
[2026-06-23 16:16:50] local.INFO: Processing buffer {"connection_id":110959,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a0000019ef4..."} 
[2026-06-23 16:16:50] local.INFO: IMEI packet received {"connection_id":110959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":110959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:16:53] local.INFO: TCP Data received {"connection_id":110959,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef416da98012d0c2c8007062820001c00311b..."} 
[2026-06-23 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef416da98012d0c2c8007062820001c00311b..."} 
[2026-06-23 16:16:53] local.INFO: Processing buffer {"connection_id":110959,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef41680c0012d0c2c0007062748001c01601b..."} 
[2026-06-23 16:16:53] local.INFO: Packet analysis {"connection_id":110959,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:16:53] local.INFO: Extracted packet for processing {"connection_id":110959,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":755772416,"raw_latitude":117843784,"longitude_deg":75.5772416,"latitude_deg":11.7843784,"altitude":28,"angle":352,"satellites":27,"speed":0,"hex_longitude":"2d0c2c00","hex_latitude":"07062748","is_valid_coordinates":true} 
[2026-06-23 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246158336001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21917883831418880,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877287163830110208,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,178,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782211576000,"timestamp_ms":1782211576000,"timestamp_seconds":1782211576,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41680c0"} 
[2026-06-23 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 16:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246158336001,"66":14439,"122":206,"178":8192,"24":0,"16":21917883831418880,"45":877287163830110208},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,178,24,16,45]} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246158336001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":178,"value":8192,"description":"Unknown IO ID 178"} 
[2026-06-23 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21917883831418880,"km_value":21917883831418.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":877287163830110208,"description":"Unknown IO ID 45"} 
[2026-06-23 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246158336001,"power":14439,"unknown_122":206,"unknown_178":8192,"ignition":0,"odometer":null,"unknown_45":877287163830110208}} 
[2026-06-23 16:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":110959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:53] local.INFO: GPS data processed {"connection_id":110959,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:53] local.INFO: Acknowledgment sent {"connection_id":110959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:16:53] local.INFO: Packet analysis {"connection_id":110959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:16:53] local.INFO: Extracted packet for processing {"connection_id":110959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":755772544,"raw_latitude":117844000,"longitude_deg":75.5772544,"latitude_deg":11.7844,"altitude":28,"angle":49,"satellites":27,"speed":2,"hex_longitude":"2d0c2c80","hex_latitude":"07062820","is_valid_coordinates":true} 
[2026-06-23 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246163456001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21917896716320768,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877076057598412800,"note":"Value kept but may cause issues"} 
[2026-06-23 16:16:53] 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-06-23 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782211599000,"timestamp_ms":1782211599000,"timestamp_seconds":1782211599,"priority":1,"record_length":96,"hex_timestamp":"0000019ef416da98"} 
[2026-06-23 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:16:53] 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-06-23 16:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246163456001,"66":14450,"115":206,"28":32256,"24":2,"16":21917896716320768,"45":877076057598412800},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246163456001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21917896716320768,"km_value":21917896716320.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":877076057598412800,"description":"Unknown IO ID 45"} 
[2026-06-23 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246163456001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":877076057598412800}} 
[2026-06-23 16:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":110959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:16:53] local.INFO: GPS data processed {"connection_id":110959,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:16:53] local.INFO: Acknowledgment sent {"connection_id":110959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:17:06] local.INFO: TCP Data received {"connection_id":111759,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:17:06] local.INFO: Processing buffer {"connection_id":111759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:17:06] local.INFO: Packet analysis {"connection_id":111759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:17:06] local.INFO: Extracted packet for processing {"connection_id":111759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:17: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-06-23 16: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-06-23 16:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:17:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":111759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:17:06] local.INFO: GPS data processed {"connection_id":111759,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:17:06] local.INFO: Acknowledgment sent {"connection_id":111759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:17:16] local.INFO: TCP Data received {"connection_id":112698,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:17:16] local.INFO: Processing buffer {"connection_id":112698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:17:16] local.INFO: IMEI packet received {"connection_id":112698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":112698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:17:20] local.INFO: TCP Data received {"connection_id":112698,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:17:20] local.INFO: Processing buffer {"connection_id":112698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:17:20] local.INFO: IMEI packet received {"connection_id":112698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":112698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:17:23] local.INFO: TCP Data received {"connection_id":112700,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:17:23] local.INFO: Processing buffer {"connection_id":112700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:17:23] local.INFO: IMEI packet received {"connection_id":112700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":112700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:17:24] local.INFO: TCP Data received {"connection_id":112699,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:17:24] local.INFO: Processing buffer {"connection_id":112699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:17:24] local.INFO: IMEI packet received {"connection_id":112699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":112699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:17:24] local.INFO: TCP Data received {"connection_id":112698,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef416a000012d7c758005e99308000000fc25..."} 
[2026-06-23 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef416a000012d7c758005e99308000000fc25..."} 
[2026-06-23 16:17:24] local.INFO: Processing buffer {"connection_id":112698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef416a000012d7c758005e99308000000fc25..."} 
[2026-06-23 16:17:24] local.INFO: Packet analysis {"connection_id":112698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:24] local.INFO: Extracted packet for processing {"connection_id":112698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763131264,"raw_latitude":99193608,"longitude_deg":76.3131264,"latitude_deg":9.9193608,"altitude":0,"angle":252,"satellites":37,"speed":5,"hex_longitude":"2d7c7580","hex_latitude":"05e99308","is_valid_coordinates":true} 
[2026-06-23 16:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246163968001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96380092619423744,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969059420790331392,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:24] 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-06-23 16:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782211584000,"timestamp_ms":1782211584000,"timestamp_seconds":1782211584,"priority":1,"record_length":96,"hex_timestamp":"0000019ef416a000"} 
[2026-06-23 16:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 16:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":112698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":112698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":112698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246163968001,"66":13048,"192":206,"87":13824,"24":5,"16":96380092619423744,"45":8969059420790331392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246163968001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96380092619423744,"km_value":96380092619423.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969059420790331392,"description":"Unknown IO ID 45"} 
[2026-06-23 16:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246163968001,"power":13048,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8969059420790331392}} 
[2026-06-23 16:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":112698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:17:24] local.INFO: GPS data processed {"connection_id":112698,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:17:24] local.INFO: Acknowledgment sent {"connection_id":112698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:17:28] local.INFO: TCP Data received {"connection_id":112698,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef416ee20012d7c570005e985f0000000f725..."} 
[2026-06-23 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef416ee20012d7c570005e985f0000000f725..."} 
[2026-06-23 16:17:28] local.INFO: Processing buffer {"connection_id":112698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef416ee20012d7c570005e985f0000000f725..."} 
[2026-06-23 16:17:28] local.INFO: Packet analysis {"connection_id":112698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:28] local.INFO: Extracted packet for processing {"connection_id":112698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763123456,"raw_latitude":99190256,"longitude_deg":76.3123456,"latitude_deg":9.9190256,"altitude":0,"angle":247,"satellites":37,"speed":17,"hex_longitude":"2d7c5700","hex_latitude":"05e985f0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246165504001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96380500641316864,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968214995860129792,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:28] 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-06-23 16:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782211604000,"timestamp_ms":1782211604000,"timestamp_seconds":1782211604,"priority":1,"record_length":96,"hex_timestamp":"0000019ef416ee20"} 
[2026-06-23 16:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 16:17:28] 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-06-23 16: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-06-23 16:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246165504001,"66":12993,"192":206,"87":13824,"24":17,"16":96380500641316864,"45":8968214995860129792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246165504001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:17:28] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:17:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96380500641316864,"km_value":96380500641316.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968214995860129792,"description":"Unknown IO ID 45"} 
[2026-06-23 16:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246165504001,"power":12993,"unknown_192":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8968214995860129792}} 
[2026-06-23 16:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":112698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:17:28] local.INFO: GPS data processed {"connection_id":112698,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:17:28] local.INFO: Acknowledgment sent {"connection_id":112698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:17:29] local.INFO: TCP Data received {"connection_id":112700,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:17:29] local.INFO: Processing buffer {"connection_id":112700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:17:29] local.INFO: IMEI packet received {"connection_id":112700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":112700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:17:29] local.INFO: TCP Data received {"connection_id":112699,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:17:29] local.INFO: Processing buffer {"connection_id":112699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:17:29] local.INFO: IMEI packet received {"connection_id":112699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":112699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:17:30] local.INFO: TCP Data received {"connection_id":112700,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef416e268012d0c2d8007062898001c003c1b..."} 
[2026-06-23 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef416e268012d0c2d8007062898001c003c1b..."} 
[2026-06-23 16:17:30] local.INFO: Processing buffer {"connection_id":112700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef416e268012d0c2d8007062898001c003c1b..."} 
[2026-06-23 16:17:30] local.INFO: Packet analysis {"connection_id":112700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:30] local.INFO: Extracted packet for processing {"connection_id":112700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":755772800,"raw_latitude":117844120,"longitude_deg":75.57728,"latitude_deg":11.784412,"altitude":28,"angle":60,"satellites":27,"speed":5,"hex_longitude":"2d0c2d80","hex_latitude":"07062898","is_valid_coordinates":true} 
[2026-06-23 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246169344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21917909601222656,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877216795086823424,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:30] 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-06-23 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211601000,"timestamp_ms":1782211601000,"timestamp_seconds":1782211601,"priority":1,"record_length":96,"hex_timestamp":"0000019ef416e268"} 
[2026-06-23 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 16:17:30] 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-06-23 16:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246169344001,"66":14515,"115":206,"28":32256,"24":5,"16":21917909601222656,"45":877216795086823424},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246169344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21917909601222656,"km_value":21917909601222.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":877216795086823424,"description":"Unknown IO ID 45"} 
[2026-06-23 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246169344001,"power":14515,"unknown_115":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":877216795086823424}} 
[2026-06-23 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":112700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:17:30] local.INFO: GPS data processed {"connection_id":112700,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:17:30] local.INFO: Acknowledgment sent {"connection_id":112700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:17:30] local.INFO: TCP Data received {"connection_id":112699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:17:30] local.INFO: Processing buffer {"connection_id":112699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:17:30] local.INFO: Packet analysis {"connection_id":112699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:17:30] local.INFO: Extracted packet for processing {"connection_id":112699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:17: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-06-23 16:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":112699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:17:30] local.INFO: GPS data processed {"connection_id":112699,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:17:30] local.INFO: Acknowledgment sent {"connection_id":112699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:17:31] local.INFO: TCP Data received {"connection_id":112700,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef416ea38012d0c2f0007062920001c004b1b..."} 
[2026-06-23 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef416ea38012d0c2f0007062920001c004b1b..."} 
[2026-06-23 16:17:31] local.INFO: Processing buffer {"connection_id":112700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef416ea38012d0c2f0007062920001c004b1b..."} 
[2026-06-23 16:17:31] local.INFO: Packet analysis {"connection_id":112700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:31] local.INFO: Extracted packet for processing {"connection_id":112700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef416"} 
[2026-06-23 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":755773184,"raw_latitude":117844256,"longitude_deg":75.5773184,"latitude_deg":11.7844256,"altitude":28,"angle":75,"satellites":27,"speed":10,"hex_longitude":"2d0c2f00","hex_latitude":"07062920","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246169856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21917926781091840,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877498270063564800,"note":"Value kept but may cause issues"} 
[2026-06-23 16:17: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-06-23 16:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782211603000,"timestamp_ms":1782211603000,"timestamp_seconds":1782211603,"priority":1,"record_length":96,"hex_timestamp":"0000019ef416ea38"} 
[2026-06-23 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-06-23 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 16:17: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-06-23 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-06-23 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-06-23 16:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246169856001,"66":14309,"115":206,"28":32256,"24":10,"16":21917926781091840,"45":877498270063564800},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246169856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:17:31] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21917926781091840,"km_value":21917926781091.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":877498270063564800,"description":"Unknown IO ID 45"} 
[2026-06-23 16:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246169856001,"power":14309,"unknown_115":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":877498270063564800}} 
[2026-06-23 16:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":112700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:17:31] local.INFO: GPS data processed {"connection_id":112700,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:17:31] local.INFO: Acknowledgment sent {"connection_id":112700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:02] local.INFO: TCP Data received {"connection_id":112699,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:18:02] local.INFO: Processing buffer {"connection_id":112699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4134c70012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:18:02] local.INFO: Packet analysis {"connection_id":112699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:18:02] local.INFO: Extracted packet for processing {"connection_id":112699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef413"} 
[2026-06-23 16:18:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246032640001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211366000,"timestamp_ms":1782211366000,"timestamp_seconds":1782211366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4134c70"} 
[2026-06-23 16:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:18: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-06-23 16: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-06-23 16:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246032640001,"66":25397,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246032640001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246032640001,"power":25397,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":112699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:02] local.INFO: GPS data processed {"connection_id":112699,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:02] local.INFO: Acknowledgment sent {"connection_id":112699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:04] local.INFO: TCP Data received {"connection_id":112700,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4170978012d0c3b4007062da0001d003d1c..."} 
[2026-06-23 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4170978012d0c3b4007062da0001d003d1c..."} 
[2026-06-23 16:18:04] local.INFO: Processing buffer {"connection_id":112700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4170978012d0c3b4007062da0001d003d1c..."} 
[2026-06-23 16:18:04] local.INFO: Packet analysis {"connection_id":112700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:04] local.INFO: Extracted packet for processing {"connection_id":112700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":755776320,"raw_latitude":117845408,"longitude_deg":75.577632,"latitude_deg":11.7845408,"altitude":29,"angle":61,"satellites":28,"speed":16,"hex_longitude":"2d0c3b40","hex_latitude":"07062da0","is_valid_coordinates":true} 
[2026-06-23 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246170368001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21918085694881792,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877920482528665600,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:04] 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-06-23 16:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782211611000,"timestamp_ms":1782211611000,"timestamp_seconds":1782211611,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4170978"} 
[2026-06-23 16:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 16:18:04] 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-06-23 16:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112700,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246170368001,"66":14407,"115":206,"28":32256,"24":16,"16":21918085694881792,"45":877920482528665600},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246170368001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21918085694881792,"km_value":21918085694881.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":877920482528665600,"description":"Unknown IO ID 45"} 
[2026-06-23 16:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246170368001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":877920482528665600}} 
[2026-06-23 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":112700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:04] local.INFO: GPS data processed {"connection_id":112700,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:04] local.INFO: Acknowledgment sent {"connection_id":112700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:10] local.INFO: TCP Data received {"connection_id":111762,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:18:10] local.INFO: Processing buffer {"connection_id":111762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:18:10] local.INFO: IMEI packet received {"connection_id":111762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":111762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:18:15] local.INFO: TCP Data received {"connection_id":111762,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:18:15] local.INFO: Processing buffer {"connection_id":111762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:18:15] local.INFO: IMEI packet received {"connection_id":111762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":111762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:18:16] local.INFO: TCP Data received {"connection_id":111762,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4173c40012d7c360005e978a0000100f725..."} 
[2026-06-23 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4173c40012d7c360005e978a0000100f725..."} 
[2026-06-23 16:18:16] local.INFO: Processing buffer {"connection_id":111762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4173c40012d7c360005e978a0000100f725..."} 
[2026-06-23 16:18:16] local.INFO: Packet analysis {"connection_id":111762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:16] local.INFO: Extracted packet for processing {"connection_id":111762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":763115008,"raw_latitude":99186848,"longitude_deg":76.3115008,"latitude_deg":9.9186848,"altitude":1,"angle":247,"satellites":37,"speed":13,"hex_longitude":"2d7c3600","hex_latitude":"05e978a0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246170624001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96380938727981056,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959630009069596672,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:16] 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-06-23 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782211624000,"timestamp_ms":1782211624000,"timestamp_seconds":1782211624,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4173c40"} 
[2026-06-23 16:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:16] 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-06-23 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-23 16:18:16] 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-06-23 16: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-06-23 16:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246170624001,"66":13102,"192":206,"87":13824,"24":13,"16":96380938727981056,"45":8959630009069596672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-23 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246170624001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:16] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 16:18:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96380938727981056,"km_value":96380938727981.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959630009069596672,"description":"Unknown IO ID 45"} 
[2026-06-23 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246170624001,"power":13102,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8959630009069596672}} 
[2026-06-23 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":111762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:16] local.INFO: GPS data processed {"connection_id":111762,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:16] local.INFO: Acknowledgment sent {"connection_id":111762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:23] local.INFO: TCP Data received {"connection_id":111764,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111764,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:23] local.INFO: Processing buffer {"connection_id":111764,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:23] local.INFO: IMEI packet received {"connection_id":111764,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":111764,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:18:23] local.INFO: TCP Data received {"connection_id":111763,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:23] local.INFO: Processing buffer {"connection_id":111763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:23] local.INFO: IMEI packet received {"connection_id":111763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":111763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:18:25] local.INFO: TCP Data received {"connection_id":111763,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:25] local.INFO: Processing buffer {"connection_id":111763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:25] local.INFO: IMEI packet received {"connection_id":111763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":111763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:18:26] local.INFO: TCP Data received {"connection_id":111764,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111764,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:26] local.INFO: Processing buffer {"connection_id":111764,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:26] local.INFO: IMEI packet received {"connection_id":111764,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":111764,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:18:27] local.INFO: TCP Data received {"connection_id":111761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:18:27] local.INFO: Processing buffer {"connection_id":111761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:18:27] local.INFO: IMEI packet received {"connection_id":111761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":111761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:18:28] local.INFO: TCP Data received {"connection_id":111764,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111764,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:28] local.INFO: Processing buffer {"connection_id":111764,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:18:28] local.INFO: IMEI packet received {"connection_id":111764,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":111764,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:18:29] local.INFO: TCP Data received {"connection_id":111763,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:29] local.INFO: Processing buffer {"connection_id":111763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:18:29] local.INFO: IMEI packet received {"connection_id":111763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":111763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:18:29] local.INFO: TCP Data received {"connection_id":111764,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417d0b0012d0c5c8007063478001b008f1d..."} 
[2026-06-23 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417d0b0012d0c5c8007063478001b008f1d..."} 
[2026-06-23 16:18:29] local.INFO: Processing buffer {"connection_id":111764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417d0b0012d0c5c8007063478001b008f1d..."} 
[2026-06-23 16:18:29] local.INFO: Packet analysis {"connection_id":111764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:29] local.INFO: Extracted packet for processing {"connection_id":111764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":755784832,"raw_latitude":117847160,"longitude_deg":75.5784832,"latitude_deg":11.784716,"altitude":27,"angle":143,"satellites":29,"speed":16,"hex_longitude":"2d0c5c80","hex_latitude":"07063478","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246183424001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21918833019191296,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900389025792,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:29] 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-06-23 16:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782211662000,"timestamp_ms":1782211662000,"timestamp_seconds":1782211662,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417d0b0"} 
[2026-06-23 16:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 16:18:29] 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-06-23 16: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-06-23 16:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246183424001,"66":14537,"115":206,"28":32256,"24":16,"16":21918833019191296,"45":888686900389025792},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246183424001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:29] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21918833019191296,"km_value":21918833019191.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900389025792,"description":"Unknown IO ID 45"} 
[2026-06-23 16:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246183424001,"power":14537,"unknown_115":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":888686900389025792}} 
[2026-06-23 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":111764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:29] local.INFO: GPS data processed {"connection_id":111764,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:29] local.INFO: Acknowledgment sent {"connection_id":111764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:30] local.INFO: TCP Data received {"connection_id":111763,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:18:30] local.INFO: Processing buffer {"connection_id":111763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:18:30] local.INFO: Packet analysis {"connection_id":111763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:30] local.INFO: Extracted packet for processing {"connection_id":111763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:18: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-06-23 16: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-06-23 16:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:18:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":111763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:30] local.INFO: GPS data processed {"connection_id":111763,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:30] local.INFO: Acknowledgment sent {"connection_id":111763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:35] local.INFO: TCP Data received {"connection_id":111764,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4181ed0012d0c7200070619f8001900891c..."} 
[2026-06-23 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4181ed0012d0c7200070619f8001900891c..."} 
[2026-06-23 16:18:35] local.INFO: Processing buffer {"connection_id":111764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4181ed0012d0c7200070619f8001900891c..."} 
[2026-06-23 16:18:35] local.INFO: Packet analysis {"connection_id":111764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:18:35] local.INFO: Extracted packet for processing {"connection_id":111764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":755790336,"raw_latitude":117840376,"longitude_deg":75.5790336,"latitude_deg":11.7840376,"altitude":25,"angle":137,"satellites":28,"speed":13,"hex_longitude":"2d0c7200","hex_latitude":"070619f8","is_valid_coordinates":true} 
[2026-06-23 16:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246185472001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21919253925986304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890727593969743872,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:35] 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-06-23 16:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782211682000,"timestamp_ms":1782211682000,"timestamp_seconds":1782211682,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4181ed0"} 
[2026-06-23 16:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 16:18:35] 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-06-23 16:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246185472001,"66":14450,"115":206,"28":32256,"24":13,"16":21919253925986304,"45":890727593969743872},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246185472001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21919253925986304,"km_value":21919253925986.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":890727593969743872,"description":"Unknown IO ID 45"} 
[2026-06-23 16:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246185472001,"power":14450,"unknown_115":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":890727593969743872}} 
[2026-06-23 16:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":111764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:35] local.INFO: GPS data processed {"connection_id":111764,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:35] local.INFO: Acknowledgment sent {"connection_id":111764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:18:53] local.INFO: TCP Data received {"connection_id":111762,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4177ea8012d7c130005e96bf0000d00f729..."} 
[2026-06-23 16:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4177ea8012d7c130005e96bf0000d00f729..."} 
[2026-06-23 16:18:53] local.INFO: Processing buffer {"connection_id":111762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4177ea8012d7c130005e96bf0000d00f729..."} 
[2026-06-23 16:18:53] local.INFO: Packet analysis {"connection_id":111762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:53] local.INFO: Extracted packet for processing {"connection_id":111762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763106048,"raw_latitude":99183600,"longitude_deg":76.3106048,"latitude_deg":9.91836,"altitude":13,"angle":247,"satellites":41,"speed":23,"hex_longitude":"2d7c1300","hex_latitude":"05e96bf0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246175744001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96381393994514432,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950341334837272576,"note":"Value kept but may cause issues"} 
[2026-06-23 16:18:53] 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-06-23 16:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782211641000,"timestamp_ms":1782211641000,"timestamp_seconds":1782211641,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4177ea8"} 
[2026-06-23 16:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:18:53] 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-06-23 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 16:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246175744001,"66":12461,"9":206,"87":13824,"24":23,"16":96381393994514432,"45":8950341334837272576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-23 16:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246175744001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:18:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-23 16:18:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96381393994514432,"km_value":96381393994514.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950341334837272576,"description":"Unknown IO ID 45"} 
[2026-06-23 16:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246175744001,"power":12461,"unknown_9":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8950341334837272576}} 
[2026-06-23 16:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":111762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:18:53] local.INFO: GPS data processed {"connection_id":111762,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:18:53] local.INFO: Acknowledgment sent {"connection_id":111762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:02] local.INFO: TCP Data received {"connection_id":111763,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:19:02] local.INFO: Processing buffer {"connection_id":111763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:19:02] local.INFO: Packet analysis {"connection_id":111763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:19:02] local.INFO: Extracted packet for processing {"connection_id":111763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:19: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-06-23 16: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-06-23 16:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":111763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:02] local.INFO: GPS data processed {"connection_id":111763,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:02] local.INFO: Acknowledgment sent {"connection_id":111763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:07] local.INFO: TCP Data received {"connection_id":112701,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:19:07] local.INFO: Processing buffer {"connection_id":112701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:19:07] local.INFO: IMEI packet received {"connection_id":112701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":112701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:19:08] local.INFO: TCP Data received {"connection_id":111764,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4185d50012d0c848007060860001800771d..."} 
[2026-06-23 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4185d50012d0c848007060860001800771d..."} 
[2026-06-23 16:19:08] local.INFO: Processing buffer {"connection_id":111764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4185d50012d0c848007060860001800771d..."} 
[2026-06-23 16:19:08] local.INFO: Packet analysis {"connection_id":111764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:08] local.INFO: Extracted packet for processing {"connection_id":111764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:08] local.INFO: GPS Element Parsed {"raw_longitude":755795072,"raw_latitude":117835872,"longitude_deg":75.5795072,"latitude_deg":11.7835872,"altitude":24,"angle":119,"satellites":29,"speed":10,"hex_longitude":"2d0c8480","hex_latitude":"07060860","is_valid_coordinates":true} 
[2026-06-23 16:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246190592001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21919567458598912,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896779305967286272,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19: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-06-23 16:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782211698000,"timestamp_ms":1782211698000,"timestamp_seconds":1782211698,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4185d50"} 
[2026-06-23 16:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19: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-06-23 16:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 16:19: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-06-23 16:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111764,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246190592001,"66":14407,"115":206,"28":32256,"24":10,"16":21919567458598912,"45":896779305967286272},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246190592001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21919567458598912,"km_value":21919567458598.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":896779305967286272,"description":"Unknown IO ID 45"} 
[2026-06-23 16:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246190592001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":896779305967286272}} 
[2026-06-23 16:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":111764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:08] local.INFO: GPS data processed {"connection_id":111764,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:08] local.INFO: Acknowledgment sent {"connection_id":111764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:18] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:19:18] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:19:18] local.INFO: IMEI packet received {"connection_id":111150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":111150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:19:20] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:19:20] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:19:20] local.INFO: IMEI packet received {"connection_id":111150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":111150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:19:21] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef418b728012d7b8d4005e93dc00000010626..."} 
[2026-06-23 16:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef418b728012d7b8d4005e93dc00000010626..."} 
[2026-06-23 16:19:21] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef418b728012d7b8d4005e93dc00000010626..."} 
[2026-06-23 16:19:21] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:21] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":763071808,"raw_latitude":99171776,"longitude_deg":76.3071808,"latitude_deg":9.9171776,"altitude":0,"angle":262,"satellites":38,"speed":7,"hex_longitude":"2d7b8d40","hex_latitude":"05e93dc0","is_valid_coordinates":true} 
[2026-06-23 16:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246198784001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96383154931105792,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903335013722738688,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:21] 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-06-23 16:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782211721000,"timestamp_ms":1782211721000,"timestamp_seconds":1782211721,"priority":1,"record_length":96,"hex_timestamp":"0000019ef418b728"} 
[2026-06-23 16:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 16:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246198784001,"66":12939,"156":206,"87":13824,"24":7,"16":96383154931105792,"45":8903335013722738688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 16:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246198784001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:21] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 16:19:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96383154931105792,"km_value":96383154931105.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903335013722738688,"description":"Unknown IO ID 45"} 
[2026-06-23 16:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246198784001,"power":12939,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8903335013722738688}} 
[2026-06-23 16:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:21] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:21] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:22] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef418fd78012d7b818005e93c08000000fb26..."} 
[2026-06-23 16:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef418fd78012d7b818005e93c08000000fb26..."} 
[2026-06-23 16:19:22] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef418fd78012d7b818005e93c08000000fb26..."} 
[2026-06-23 16:19:22] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:22] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763068800,"raw_latitude":99171336,"longitude_deg":76.30688,"latitude_deg":9.9171336,"altitude":0,"angle":251,"satellites":38,"speed":9,"hex_longitude":"2d7b8180","hex_latitude":"05e93c08","is_valid_coordinates":true} 
[2026-06-23 16:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246200576001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96383305254961152,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902842432513490944,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:22] 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-06-23 16:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782211739000,"timestamp_ms":1782211739000,"timestamp_seconds":1782211739,"priority":1,"record_length":96,"hex_timestamp":"0000019ef418fd78"} 
[2026-06-23 16:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246200576001,"66":12982,"156":206,"87":13824,"24":9,"16":96383305254961152,"45":8902842432513490944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 16:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246200576001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:22] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 16:19:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96383305254961152,"km_value":96383305254961.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902842432513490944,"description":"Unknown IO ID 45"} 
[2026-06-23 16:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246200576001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8902842432513490944}} 
[2026-06-23 16:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:22] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:22] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:24] local.INFO: TCP Data received {"connection_id":112702,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:19:24] local.INFO: Processing buffer {"connection_id":112702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:19:24] local.INFO: IMEI packet received {"connection_id":112702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":112702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:19:26] local.INFO: TCP Data received {"connection_id":112703,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:26] local.INFO: Processing buffer {"connection_id":112703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:26] local.INFO: IMEI packet received {"connection_id":112703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":112703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:19:28] local.INFO: TCP Data received {"connection_id":112702,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:19:28] local.INFO: Processing buffer {"connection_id":112702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:19:28] local.INFO: IMEI packet received {"connection_id":112702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":112702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:19:28] local.INFO: TCP Data received {"connection_id":112703,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:28] local.INFO: Processing buffer {"connection_id":112703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:28] local.INFO: IMEI packet received {"connection_id":112703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":112703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:19:30] local.INFO: TCP Data received {"connection_id":112702,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:19:30] local.INFO: Processing buffer {"connection_id":112702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:19:30] local.INFO: Packet analysis {"connection_id":112702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:19:30] local.INFO: Extracted packet for processing {"connection_id":112702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:19: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-06-23 16:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":112702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:30] local.INFO: GPS data processed {"connection_id":112702,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:30] local.INFO: Acknowledgment sent {"connection_id":112702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:32] local.INFO: TCP Data received {"connection_id":112703,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:32] local.INFO: Processing buffer {"connection_id":112703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:19:32] local.INFO: IMEI packet received {"connection_id":112703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":112703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:19:34] local.INFO: TCP Data received {"connection_id":112703,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41874c0012d0c89c007060530001900831d..."} 
[2026-06-23 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41874c0012d0c89c007060530001900831d..."} 
[2026-06-23 16:19:34] local.INFO: Processing buffer {"connection_id":112703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41874c0012d0c89c007060530001900831d..."} 
[2026-06-23 16:19:34] local.INFO: Packet analysis {"connection_id":112703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:34] local.INFO: Extracted packet for processing {"connection_id":112703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:34] local.INFO: GPS Element Parsed {"raw_longitude":755796416,"raw_latitude":117835056,"longitude_deg":75.5796416,"latitude_deg":11.7835056,"altitude":25,"angle":131,"satellites":29,"speed":9,"hex_longitude":"2d0c89c0","hex_latitude":"07060530","is_valid_coordinates":true} 
[2026-06-23 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246194688001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21919644768010240,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901986593035280384,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:34] 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-06-23 16:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782211704000,"timestamp_ms":1782211704000,"timestamp_seconds":1782211704,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41874c0"} 
[2026-06-23 16:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19: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-06-23 16:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:19:34] 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-06-23 16:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246194688001,"66":14515,"115":206,"28":32256,"24":9,"16":21919644768010240,"45":901986593035280384},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246194688001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:34] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21919644768010240,"km_value":21919644768010.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":901986593035280384,"description":"Unknown IO ID 45"} 
[2026-06-23 16:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246194688001,"power":14515,"unknown_115":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":901986593035280384}} 
[2026-06-23 16:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":112703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:34] local.INFO: GPS data processed {"connection_id":112703,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:34] local.INFO: Acknowledgment sent {"connection_id":112703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:40] local.INFO: TCP Data received {"connection_id":112703,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4189bd0012d0c94400705faf0001e00931d..."} 
[2026-06-23 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4189bd0012d0c94400705faf0001e00931d..."} 
[2026-06-23 16:19:40] local.INFO: Processing buffer {"connection_id":112703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4189bd0012d0c94400705faf0001e00931d..."} 
[2026-06-23 16:19:40] local.INFO: Packet analysis {"connection_id":112703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:40] local.INFO: Extracted packet for processing {"connection_id":112703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef418"} 
[2026-06-23 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":755799104,"raw_latitude":117832432,"longitude_deg":75.5799104,"latitude_deg":11.7832432,"altitude":30,"angle":147,"satellites":29,"speed":12,"hex_longitude":"2d0c9440","hex_latitude":"0705faf0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246196224001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21919825156636672,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903464336662802432,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19: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-06-23 16:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782211714000,"timestamp_ms":1782211714000,"timestamp_seconds":1782211714,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4189bd0"} 
[2026-06-23 16:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 16:19:40] 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-06-23 16: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-06-23 16:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246196224001,"66":14515,"115":206,"28":32256,"24":12,"16":21919825156636672,"45":903464336662802432},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-06-23 16:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246196224001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:40] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 16:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21919825156636672,"km_value":21919825156636.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":903464336662802432,"description":"Unknown IO ID 45"} 
[2026-06-23 16:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246196224001,"power":14515,"unknown_115":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":903464336662802432}} 
[2026-06-23 16:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":112703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:40] local.INFO: GPS data processed {"connection_id":112703,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:40] local.INFO: Acknowledgment sent {"connection_id":112703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:19:53] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4190930012d7b7dc005e93a30000000ef26..."} 
[2026-06-23 16:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4190930012d7b7dc005e93a30000000ef26..."} 
[2026-06-23 16:19:53] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4190930012d7b7dc005e93a30000000ef26..."} 
[2026-06-23 16:19:53] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:19:53] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763067840,"raw_latitude":99170864,"longitude_deg":76.306784,"latitude_deg":9.9170864,"altitude":0,"angle":239,"satellites":38,"speed":16,"hex_longitude":"2d7b7dc0","hex_latitude":"05e93a30","is_valid_coordinates":true} 
[2026-06-23 16:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246205184001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96383352499601408,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899535101537028096,"note":"Value kept but may cause issues"} 
[2026-06-23 16:19:53] 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-06-23 16:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782211742000,"timestamp_ms":1782211742000,"timestamp_seconds":1782211742,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4190930"} 
[2026-06-23 16:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:19:53] 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-06-23 16:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 16:19:53] 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-06-23 16:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246205184001,"66":12939,"156":206,"87":13824,"24":16,"16":96383352499601408,"45":8899535101537028096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 16:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246205184001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:19:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 16:19:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96383352499601408,"km_value":96383352499601.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899535101537028096,"description":"Unknown IO ID 45"} 
[2026-06-23 16:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246205184001,"power":12939,"unknown_156":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8899535101537028096}} 
[2026-06-23 16:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:19:53] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:19:53] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:20:01] local.INFO: TCP Data received {"connection_id":112702,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:20:01] local.INFO: Processing buffer {"connection_id":112702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:20:01] local.INFO: Packet analysis {"connection_id":112702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:20:01] local.INFO: Extracted packet for processing {"connection_id":112702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:20: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-06-23 16: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-06-23 16:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:20:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:20:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":112702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:20:01] local.INFO: GPS data processed {"connection_id":112702,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:20:01] local.INFO: Acknowledgment sent {"connection_id":112702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:20:10] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:20:10] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:20:10] local.INFO: IMEI packet received {"connection_id":110960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":110960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:20:15] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:20:15] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:20:15] local.INFO: IMEI packet received {"connection_id":110960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":110960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:20:16] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4191cb8012d7b758005e936e8000000fc25..."} 
[2026-06-23 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4191cb8012d7b758005e936e8000000fc25..."} 
[2026-06-23 16:20:16] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4191cb8012d7b758005e936e8000000fc25..."} 
[2026-06-23 16:20:16] local.INFO: Packet analysis {"connection_id":110960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:20:16] local.INFO: Extracted packet for processing {"connection_id":110960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:20:16] local.INFO: GPS Element Parsed {"raw_longitude":763065728,"raw_latitude":99170024,"longitude_deg":76.3065728,"latitude_deg":9.9170024,"altitude":0,"angle":252,"satellites":37,"speed":18,"hex_longitude":"2d7b7580","hex_latitude":"05e936e8","is_valid_coordinates":true} 
[2026-06-23 16:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246205952001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96383464168751104,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898479570374242304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:16] 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-06-23 16:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782211747000,"timestamp_ms":1782211747000,"timestamp_seconds":1782211747,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4191cb8"} 
[2026-06-23 16:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:20:16] 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-06-23 16:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246205952001,"66":12689,"156":206,"87":13824,"24":18,"16":96383464168751104,"45":8898479570374242304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-23 16:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246205952001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:20:16] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 16:20:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96383464168751104,"km_value":96383464168751.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898479570374242304,"description":"Unknown IO ID 45"} 
[2026-06-23 16:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246205952001,"power":12689,"unknown_156":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8898479570374242304}} 
[2026-06-23 16:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":110960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:20:16] local.INFO: GPS data processed {"connection_id":110960,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:20:16] local.INFO: Acknowledgment sent {"connection_id":110960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:20:20] local.INFO: TCP Data received {"connection_id":110961,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:20] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:20] local.INFO: IMEI packet received {"connection_id":110961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":110961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:20:24] local.INFO: TCP Data received {"connection_id":111151,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:20:24] local.INFO: Processing buffer {"connection_id":111151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:20:24] local.INFO: IMEI packet received {"connection_id":111151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":111151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:20:24] local.INFO: TCP Data received {"connection_id":110961,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:24] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:24] local.INFO: IMEI packet received {"connection_id":110961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":110961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:20:29] local.INFO: TCP Data received {"connection_id":110961,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:29] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:20:29] local.INFO: IMEI packet received {"connection_id":110961,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":110961,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:20:29] local.INFO: TCP Data received {"connection_id":111151,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:20:29] local.INFO: Processing buffer {"connection_id":111151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:20:29] local.INFO: IMEI packet received {"connection_id":111151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":111151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:20:30] local.INFO: TCP Data received {"connection_id":110961,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef419ff48012d0cebc00705d098001500101d..."} 
[2026-06-23 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef419ff48012d0cebc00705d098001500101d..."} 
[2026-06-23 16:20:30] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef419ff48012d0cebc00705d098001500101d..."} 
[2026-06-23 16:20:30] local.INFO: Packet analysis {"connection_id":110961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:20:30] local.INFO: Extracted packet for processing {"connection_id":110961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":755821504,"raw_latitude":117821592,"longitude_deg":75.5821504,"latitude_deg":11.7821592,"altitude":21,"angle":16,"satellites":29,"speed":20,"hex_longitude":"2d0cebc0","hex_latitude":"0705d098","is_valid_coordinates":true} 
[2026-06-23 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246221824001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21921603273097216,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930978515632691200,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:30] 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-06-23 16:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211805000,"timestamp_ms":1782211805000,"timestamp_seconds":1782211805,"priority":1,"record_length":96,"hex_timestamp":"0000019ef419ff48"} 
[2026-06-23 16:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:20:30] 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-06-23 16:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246221824001,"66":14407,"220":206,"28":32256,"24":20,"16":21921603273097216,"45":930978515632691200},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246221824001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21921603273097216,"km_value":21921603273097.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":930978515632691200,"description":"Unknown IO ID 45"} 
[2026-06-23 16:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246221824001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":930978515632691200}} 
[2026-06-23 16:20:30] local.INFO: TCP Data received {"connection_id":111151,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:20:30] local.INFO: Processing buffer {"connection_id":111151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:20:30] local.INFO: Packet analysis {"connection_id":111151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:20:30] local.INFO: Extracted packet for processing {"connection_id":111151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:20: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-06-23 16:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":111151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:20:30] local.INFO: GPS data processed {"connection_id":111151,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:20:30] local.INFO: Acknowledgment sent {"connection_id":111151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":110961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:20:30] local.INFO: GPS data processed {"connection_id":110961,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:20:30] local.INFO: Acknowledgment sent {"connection_id":110961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:20:34] local.INFO: TCP Data received {"connection_id":110961,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41a0330012d0cecc00705d2700015001c1d..."} 
[2026-06-23 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41a0330012d0cecc00705d2700015001c1d..."} 
[2026-06-23 16:20:34] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41a0330012d0cecc00705d2700015001c1d..."} 
[2026-06-23 16:20:34] local.INFO: Packet analysis {"connection_id":110961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:20:34] local.INFO: Extracted packet for processing {"connection_id":110961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":755821760,"raw_latitude":117822064,"longitude_deg":75.582176,"latitude_deg":11.7822064,"altitude":21,"angle":28,"satellites":29,"speed":20,"hex_longitude":"2d0cecc0","hex_latitude":"0705d270","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246222080001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21921629042900992,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376999936,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:34] 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-06-23 16:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782211806000,"timestamp_ms":1782211806000,"timestamp_seconds":1782211806,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41a0330"} 
[2026-06-23 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-06-23 16:20: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-06-23 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:20:34] 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-06-23 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-06-23 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-06-23 16:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":110961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":110961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":110961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246222080001,"66":13787,"220":206,"28":32256,"24":20,"16":21921629042900992,"45":931048884376999936},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-06-23 16:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246222080001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21921629042900992,"km_value":21921629042900.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376999936,"description":"Unknown IO ID 45"} 
[2026-06-23 16:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246222080001,"power":13787,"unknown_220":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":931048884376999936}} 
[2026-06-23 16:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":110961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:20:34] local.INFO: GPS data processed {"connection_id":110961,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:20:34] local.INFO: Acknowledgment sent {"connection_id":110961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:20:48] local.INFO: TCP Data received {"connection_id":110960,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4194b98012d7b5dc005e931580000010725..."} 
[2026-06-23 16:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4194b98012d7b5dc005e931580000010725..."} 
[2026-06-23 16:20:48] local.INFO: Processing buffer {"connection_id":110960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4194b98012d7b5dc005e931580000010725..."} 
[2026-06-23 16:20:48] local.INFO: Packet analysis {"connection_id":110960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:20:48] local.INFO: Extracted packet for processing {"connection_id":110960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:20:48] local.INFO: GPS Element Parsed {"raw_longitude":763059648,"raw_latitude":99168600,"longitude_deg":76.3059648,"latitude_deg":9.91686,"altitude":0,"angle":263,"satellites":37,"speed":21,"hex_longitude":"2d7b5dc0","hex_latitude":"05e93158","is_valid_coordinates":true} 
[2026-06-23 16:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246207232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96383764816461824,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896157401816164352,"note":"Value kept but may cause issues"} 
[2026-06-23 16:20:48] 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-06-23 16:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782211759000,"timestamp_ms":1782211759000,"timestamp_seconds":1782211759,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4194b98"} 
[2026-06-23 16:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 16:20: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-06-23 16:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246207232001,"66":12798,"201":206,"87":13824,"24":21,"16":96383764816461824,"45":8896157401816164352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 16:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246207232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:20:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 16:20:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96383764816461824,"km_value":96383764816461.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896157401816164352,"description":"Unknown IO ID 45"} 
[2026-06-23 16:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246207232001,"power":12798,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8896157401816164352}} 
[2026-06-23 16:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":110960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:20:48] local.INFO: GPS data processed {"connection_id":110960,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:20:48] local.INFO: Acknowledgment sent {"connection_id":110960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:02] local.INFO: TCP Data received {"connection_id":111151,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:21:02] local.INFO: Processing buffer {"connection_id":111151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:21:02] local.INFO: Packet analysis {"connection_id":111151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:21:02] local.INFO: Extracted packet for processing {"connection_id":111151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 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-06-23 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:21: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-06-23 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-06-23 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-06-23 16:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":111151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:02] local.INFO: GPS data processed {"connection_id":111151,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:02] local.INFO: Acknowledgment sent {"connection_id":111151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:06] local.INFO: TCP Data received {"connection_id":110961,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41ab6e0012d0d3b400705c318001c00801d..."} 
[2026-06-23 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41ab6e0012d0d3b400705c318001c00801d..."} 
[2026-06-23 16:21:06] local.INFO: Processing buffer {"connection_id":110961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41ab6e0012d0d3b400705c318001c00801d..."} 
[2026-06-23 16:21:06] local.INFO: Packet analysis {"connection_id":110961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:21:06] local.INFO: Extracted packet for processing {"connection_id":110961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:21:06] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117818136,"longitude_deg":75.5841856,"latitude_deg":11.7818136,"altitude":28,"angle":128,"satellites":29,"speed":7,"hex_longitude":"2d0d3b40","hex_latitude":"0705c318","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246233856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21922857403547648,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038792118272,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:06] 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-06-23 16:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782211852000,"timestamp_ms":1782211852000,"timestamp_seconds":1782211852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41ab6e0"} 
[2026-06-23 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-06-23 16:21: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-06-23 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-23 16:21: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-06-23 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-06-23 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-06-23 16:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":110961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":110961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":110961,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246233856001,"66":14439,"220":206,"28":32256,"24":7,"16":21922857403547648,"45":953215038792118272},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-06-23 16:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246233856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21922857403547648,"km_value":21922857403547.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038792118272,"description":"Unknown IO ID 45"} 
[2026-06-23 16:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246233856001,"power":14439,"unknown_220":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953215038792118272}} 
[2026-06-23 16:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":110961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:06] local.INFO: GPS data processed {"connection_id":110961,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:06] local.INFO: Acknowledgment sent {"connection_id":110961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:10] local.INFO: TCP Data received {"connection_id":110962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:21:10] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:21:10] local.INFO: IMEI packet received {"connection_id":110962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":110962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:21:15] local.INFO: TCP Data received {"connection_id":110962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:21:15] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:21:15] local.INFO: IMEI packet received {"connection_id":110962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":110962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:21:18] local.INFO: TCP Data received {"connection_id":110962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4198630012d7b4a8005e92ec0000000c323..."} 
[2026-06-23 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4198630012d7b4a8005e92ec0000000c323..."} 
[2026-06-23 16:21:18] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4198630012d7b4a8005e92ec0000000c323..."} 
[2026-06-23 16:21:18] local.INFO: Packet analysis {"connection_id":110962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:21:18] local.INFO: Extracted packet for processing {"connection_id":110962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef419"} 
[2026-06-23 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":99167936,"longitude_deg":76.305472,"latitude_deg":9.9167936,"altitude":0,"angle":195,"satellites":35,"speed":6,"hex_longitude":"2d7b4a80","hex_latitude":"05e92ec0","is_valid_coordinates":true} 
[2026-06-23 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246210304001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96384005334630400,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889472371118921728,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:18] 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-06-23 16:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782211774000,"timestamp_ms":1782211774000,"timestamp_seconds":1782211774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4198630"} 
[2026-06-23 16:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 16:21:18] 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-06-23 16:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":110962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":110962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":110962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246210304001,"66":12939,"201":206,"87":13824,"24":6,"16":96384005334630400,"45":8889472371118921728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 16:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246210304001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:18] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 16:21:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96384005334630400,"km_value":96384005334630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889472371118921728,"description":"Unknown IO ID 45"} 
[2026-06-23 16:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246210304001,"power":12939,"unknown_201":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8889472371118921728}} 
[2026-06-23 16:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":110962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:18] local.INFO: GPS data processed {"connection_id":110962,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:18] local.INFO: Acknowledgment sent {"connection_id":110962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:23] local.INFO: TCP Data received {"connection_id":112706,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:21:23] local.INFO: Processing buffer {"connection_id":112706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:21:23] local.INFO: IMEI packet received {"connection_id":112706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":112706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:21:24] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:21:24] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:21:24] local.INFO: IMEI packet received {"connection_id":111152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":111152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:21:25] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:21:25] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:21:25] local.INFO: IMEI packet received {"connection_id":111152,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":111152,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:21:27] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41ac298012d0d3cc00705c188001c00921b..."} 
[2026-06-23 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41ac298012d0d3cc00705c188001c00921b..."} 
[2026-06-23 16:21:27] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41ac298012d0d3cc00705c188001c00921b..."} 
[2026-06-23 16:21:27] local.INFO: Packet analysis {"connection_id":111152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:21:27] local.INFO: Extracted packet for processing {"connection_id":111152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:21:27] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117817736,"longitude_deg":75.584224,"latitude_deg":11.7817736,"altitude":28,"angle":146,"satellites":27,"speed":8,"hex_longitude":"2d0d3cc0","hex_latitude":"0705c188","is_valid_coordinates":true} 
[2026-06-23 16:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246234112001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21922887468318720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145024612352,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:27] 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-06-23 16:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782211855000,"timestamp_ms":1782211855000,"timestamp_seconds":1782211855,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41ac298"} 
[2026-06-23 16:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246234112001,"66":14298,"220":206,"28":32256,"24":8,"16":21922887468318720,"45":953426145024612352},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-06-23 16:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246234112001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:27] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 16:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21922887468318720,"km_value":21922887468318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145024612352,"description":"Unknown IO ID 45"} 
[2026-06-23 16:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246234112001,"power":14298,"unknown_220":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":953426145024612352}} 
[2026-06-23 16:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":111152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:27] local.INFO: GPS data processed {"connection_id":111152,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:27] local.INFO: Acknowledgment sent {"connection_id":111152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:28] local.INFO: TCP Data received {"connection_id":112706,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:21:28] local.INFO: Processing buffer {"connection_id":112706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:21:28] local.INFO: IMEI packet received {"connection_id":112706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":112706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:21:30] local.INFO: TCP Data received {"connection_id":112706,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:21:30] local.INFO: Processing buffer {"connection_id":112706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:21:30] local.INFO: Packet analysis {"connection_id":112706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:21:30] local.INFO: Extracted packet for processing {"connection_id":112706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:21: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-06-23 16: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-06-23 16:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":112706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:30] local.INFO: GPS data processed {"connection_id":112706,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:30] local.INFO: Acknowledgment sent {"connection_id":112706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:55] local.INFO: TCP Data received {"connection_id":110962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41b4b50012d7b5b0005e81478000000aa27..."} 
[2026-06-23 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41b4b50012d7b5b0005e81478000000aa27..."} 
[2026-06-23 16:21:55] local.INFO: Processing buffer {"connection_id":110962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41b4b50012d7b5b0005e81478000000aa27..."} 
[2026-06-23 16:21:55] local.INFO: Packet analysis {"connection_id":110962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41b"} 
[2026-06-23 16:21:55] local.INFO: Extracted packet for processing {"connection_id":110962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41b"} 
[2026-06-23 16:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763058944,"raw_latitude":99095672,"longitude_deg":76.3058944,"latitude_deg":9.9095672,"altitude":0,"angle":170,"satellites":39,"speed":7,"hex_longitude":"2d7b5b00","hex_latitude":"05e81478","is_valid_coordinates":true} 
[2026-06-23 16:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246242304001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96387544387682304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888627946170171392,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:55] 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-06-23 16:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782211890000,"timestamp_ms":1782211890000,"timestamp_seconds":1782211890,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41b4b50"} 
[2026-06-23 16:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 16:21:55] 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-06-23 16:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":110962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":110962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":110962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246242304001,"66":12504,"201":206,"87":13824,"24":7,"16":96387544387682304,"45":8888627946170171392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 16:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246242304001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:55] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 16:21:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96387544387682304,"km_value":96387544387682.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888627946170171392,"description":"Unknown IO ID 45"} 
[2026-06-23 16:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246242304001,"power":12504,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8888627946170171392}} 
[2026-06-23 16:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":110962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:55] local.INFO: GPS data processed {"connection_id":110962,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:55] local.INFO: Acknowledgment sent {"connection_id":110962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:21:58] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.224.94.80","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41ac680012d0d3d000705c0b8001c00a41c..."} 
[2026-06-23 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41ac680012d0d3d000705c0b8001c00a41c..."} 
[2026-06-23 16:21:58] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41ac680012d0d3d000705c0b8001c00a41c..."} 
[2026-06-23 16:21:58] local.INFO: Packet analysis {"connection_id":111152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:21:58] local.INFO: Extracted packet for processing {"connection_id":111152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41a"} 
[2026-06-23 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817528,"longitude_deg":75.5842304,"latitude_deg":11.7817528,"altitude":28,"angle":164,"satellites":28,"speed":8,"hex_longitude":"2d0d3d00","hex_latitude":"0705c0b8","is_valid_coordinates":true} 
[2026-06-23 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246234880001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21922896058253312,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953848357489575936,"note":"Value kept but may cause issues"} 
[2026-06-23 16:21:58] 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-06-23 16:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782211856000,"timestamp_ms":1782211856000,"timestamp_seconds":1782211856,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41ac680"} 
[2026-06-23 16:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-23 16:21: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-06-23 16:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111152,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.80","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246234880001,"66":14407,"220":206,"28":32256,"24":8,"16":21922896058253312,"45":953848357489575936},"client_ip":"117.224.94.80","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-06-23 16:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246234880001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:21:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-06-23 16:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 16:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21922896058253312,"km_value":21922896058253.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":953848357489575936,"description":"Unknown IO ID 45"} 
[2026-06-23 16:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246234880001,"power":14407,"unknown_220":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":953848357489575936}} 
[2026-06-23 16:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":111152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:21:58] local.INFO: GPS data processed {"connection_id":111152,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:21:58] local.INFO: Acknowledgment sent {"connection_id":111152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:22:01] local.INFO: TCP Data received {"connection_id":112706,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:22:01] local.INFO: Processing buffer {"connection_id":112706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:22:01] local.INFO: Packet analysis {"connection_id":112706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:22:01] local.INFO: Extracted packet for processing {"connection_id":112706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 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-06-23 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:22: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-06-23 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-06-23 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-06-23 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:22:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:22:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":112706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:22:01] local.INFO: GPS data processed {"connection_id":112706,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:22:01] local.INFO: Acknowledgment sent {"connection_id":112706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:22:21] local.INFO: TCP Data received {"connection_id":110963,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:21] local.INFO: Processing buffer {"connection_id":110963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:21] local.INFO: IMEI packet received {"connection_id":110963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":110963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:22:22] local.INFO: TCP Data received {"connection_id":110963,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:22] local.INFO: Processing buffer {"connection_id":110963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:22] local.INFO: IMEI packet received {"connection_id":110963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":110963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:22:23] local.INFO: TCP Data received {"connection_id":110963,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:23] local.INFO: Processing buffer {"connection_id":110963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:23] local.INFO: IMEI packet received {"connection_id":110963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":110963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:22:23] local.INFO: TCP Data received {"connection_id":111765,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:22:23] local.INFO: Processing buffer {"connection_id":111765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:22:23] local.INFO: IMEI packet received {"connection_id":111765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":111765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:22:24] local.INFO: TCP Data received {"connection_id":110963,"ip":"117.224.94.80","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110963,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:24] local.INFO: Processing buffer {"connection_id":110963,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:22:24] local.INFO: IMEI packet received {"connection_id":110963,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":110963,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:22:29] local.INFO: TCP Data received {"connection_id":111765,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:22:29] local.INFO: Processing buffer {"connection_id":111765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:22:29] local.INFO: IMEI packet received {"connection_id":111765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":111765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:22:30] local.INFO: TCP Data received {"connection_id":111765,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:22:30] local.INFO: Processing buffer {"connection_id":111765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:22:30] local.INFO: Packet analysis {"connection_id":111765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:22:30] local.INFO: Extracted packet for processing {"connection_id":111765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:22: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-06-23 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:22:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":111765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:22:30] local.INFO: GPS data processed {"connection_id":111765,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:22:30] local.INFO: Acknowledgment sent {"connection_id":111765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:22:45] local.INFO: TCP Data received {"connection_id":111154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:22:45] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:22:45] local.INFO: IMEI packet received {"connection_id":111154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":111154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:22:50] local.INFO: TCP Data received {"connection_id":111154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:22:50] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:22:50] local.INFO: IMEI packet received {"connection_id":111154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":111154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:22:52] local.INFO: TCP Data received {"connection_id":111154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41b6a90012d7b5bc005e80698000000b526..."} 
[2026-06-23 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41b6a90012d7b5bc005e80698000000b526..."} 
[2026-06-23 16:22:52] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41b6a90012d7b5bc005e80698000000b526..."} 
[2026-06-23 16:22:52] local.INFO: Packet analysis {"connection_id":111154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41b"} 
[2026-06-23 16:22:52] local.INFO: Extracted packet for processing {"connection_id":111154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41b"} 
[2026-06-23 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763059136,"raw_latitude":99092120,"longitude_deg":76.3059136,"latitude_deg":9.909212,"altitude":0,"angle":181,"satellites":38,"speed":25,"hex_longitude":"2d7b5bc0","hex_latitude":"05e80698","is_valid_coordinates":true} 
[2026-06-23 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246243840001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96387716186374144,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888698314914297856,"note":"Value kept but may cause issues"} 
[2026-06-23 16:22:52] 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-06-23 16:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782211898000,"timestamp_ms":1782211898000,"timestamp_seconds":1782211898,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41b6a90"} 
[2026-06-23 16:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:22:52] 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-06-23 16:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 16:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246243840001,"66":13048,"201":206,"87":13824,"24":25,"16":96387716186374144,"45":8888698314914297856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 16:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246243840001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96387716186374144,"km_value":96387716186374.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888698314914297856,"description":"Unknown IO ID 45"} 
[2026-06-23 16:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246243840001,"power":13048,"unknown_201":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8888698314914297856}} 
[2026-06-23 16:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":111154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:22:52] local.INFO: GPS data processed {"connection_id":111154,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:22:52] local.INFO: Acknowledgment sent {"connection_id":111154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:23:02] local.INFO: TCP Data received {"connection_id":111765,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:23:02] local.INFO: Processing buffer {"connection_id":111765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef417e820012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:23:02] local.INFO: Packet analysis {"connection_id":111765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:23:02] local.INFO: Extracted packet for processing {"connection_id":111765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef417"} 
[2026-06-23 16:23:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246109696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211668000,"timestamp_ms":1782211668000,"timestamp_seconds":1782211668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef417e820"} 
[2026-06-23 16:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 16:23: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-06-23 16: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-06-23 16:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246109696001,"66":25343,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246109696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:23:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246109696001,"power":25343,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":111765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:23:02] local.INFO: GPS data processed {"connection_id":111765,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:23:02] local.INFO: Acknowledgment sent {"connection_id":111765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:23:20] local.INFO: TCP Data received {"connection_id":110965,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:23:20] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:23:20] local.INFO: IMEI packet received {"connection_id":110965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":110965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:23:25] local.INFO: TCP Data received {"connection_id":110965,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:23:25] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:23:25] local.INFO: IMEI packet received {"connection_id":110965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":110965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:23:26] local.INFO: TCP Data received {"connection_id":110965,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41b9588012d7b5a0005e7e3b0000000af27..."} 
[2026-06-23 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41b9588012d7b5a0005e7e3b0000000af27..."} 
[2026-06-23 16:23:26] local.INFO: Processing buffer {"connection_id":110965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41b9588012d7b5a0005e7e3b0000000af27..."} 
[2026-06-23 16:23:26] local.INFO: Packet analysis {"connection_id":110965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41b"} 
[2026-06-23 16:23:26] local.INFO: Extracted packet for processing {"connection_id":110965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41b"} 
[2026-06-23 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":99083184,"longitude_deg":76.3058688,"latitude_deg":9.9083184,"altitude":0,"angle":175,"satellites":39,"speed":27,"hex_longitude":"2d7b5a00","hex_latitude":"05e7e3b0","is_valid_coordinates":true} 
[2026-06-23 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246245888001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96388149978071040,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421145921536,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:26] 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-06-23 16:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782211909000,"timestamp_ms":1782211909000,"timestamp_seconds":1782211909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41b9588"} 
[2026-06-23 16:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 16:23:26] 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-06-23 16:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":110965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":110965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":110965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246245888001,"66":12906,"201":206,"87":13824,"24":27,"16":96388149978071040,"45":8888909421145921536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-23 16:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246245888001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:23:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 16:23:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96388149978071040,"km_value":96388149978071.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421145921536,"description":"Unknown IO ID 45"} 
[2026-06-23 16:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246245888001,"power":12906,"unknown_201":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8888909421145921536}} 
[2026-06-23 16:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":110965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:23:26] local.INFO: GPS data processed {"connection_id":110965,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:23:26] local.INFO: Acknowledgment sent {"connection_id":110965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:23:27] local.INFO: TCP Data received {"connection_id":111155,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:27] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:27] local.INFO: IMEI packet received {"connection_id":111155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":111155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:23:28] local.INFO: TCP Data received {"connection_id":111155,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:28] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:28] local.INFO: IMEI packet received {"connection_id":111155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":111155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:23:34] local.INFO: TCP Data received {"connection_id":111155,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:34] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:23:34] local.INFO: IMEI packet received {"connection_id":111155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":111155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:23:35] local.INFO: TCP Data received {"connection_id":111155,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:23:35] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:23:35] local.INFO: Packet analysis {"connection_id":111155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:23:35] local.INFO: Extracted packet for processing {"connection_id":111155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:23:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:23: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-06-23 16:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:23:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:23:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":111155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:23:35] local.INFO: GPS data processed {"connection_id":111155,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:23:35] local.INFO: Acknowledgment sent {"connection_id":111155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:24:07] local.INFO: TCP Data received {"connection_id":111155,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:24:07] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:24:07] local.INFO: Packet analysis {"connection_id":111155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:24:07] local.INFO: Extracted packet for processing {"connection_id":111155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:24:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:24:07] 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-06-23 16:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":111155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:24:07] local.INFO: GPS data processed {"connection_id":111155,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:24:07] local.INFO: Acknowledgment sent {"connection_id":111155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:24:11] local.INFO: TCP Data received {"connection_id":111766,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:11] local.INFO: Processing buffer {"connection_id":111766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:11] local.INFO: IMEI packet received {"connection_id":111766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":111766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:24:12] local.INFO: TCP Data received {"connection_id":111766,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:12] local.INFO: Processing buffer {"connection_id":111766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:12] local.INFO: IMEI packet received {"connection_id":111766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":111766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:24:15] local.INFO: TCP Data received {"connection_id":111766,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:15] local.INFO: Processing buffer {"connection_id":111766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:24:15] local.INFO: IMEI packet received {"connection_id":111766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":111766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:24:16] local.INFO: TCP Data received {"connection_id":111766,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41d1070012d7b73c005e75340000200ac27..."} 
[2026-06-23 16:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41d1070012d7b73c005e75340000200ac27..."} 
[2026-06-23 16:24:16] local.INFO: Processing buffer {"connection_id":111766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41d1070012d7b73c005e75340000200ac27..."} 
[2026-06-23 16:24:16] local.INFO: Packet analysis {"connection_id":111766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:24:16] local.INFO: Extracted packet for processing {"connection_id":111766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763065280,"raw_latitude":99046208,"longitude_deg":76.306528,"latitude_deg":9.9046208,"altitude":2,"angle":172,"satellites":39,"speed":29,"hex_longitude":"2d7b73c0","hex_latitude":"05e75340","is_valid_coordinates":true} 
[2026-06-23 16:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246268928001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96389988224073728,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894187076949063680,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:16] 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-06-23 16:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212006000,"timestamp_ms":1782212006000,"timestamp_seconds":1782212006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41d1070"} 
[2026-06-23 16:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:24:16] 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-06-23 16:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246268928001,"66":13015,"96":206,"87":13824,"24":29,"16":96389988224073728,"45":8894187076949063680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 16:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246268928001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:24:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:24:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96389988224073728,"km_value":96389988224073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894187076949063680,"description":"Unknown IO ID 45"} 
[2026-06-23 16:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246268928001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8894187076949063680}} 
[2026-06-23 16:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":111766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:24:16] local.INFO: GPS data processed {"connection_id":111766,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:24:16] local.INFO: Acknowledgment sent {"connection_id":111766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:24:21] local.INFO: TCP Data received {"connection_id":111766,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41d3f50012d7b764005e73598000300a126..."} 
[2026-06-23 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41d3f50012d7b764005e73598000300a126..."} 
[2026-06-23 16:24:21] local.INFO: Processing buffer {"connection_id":111766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41d3f50012d7b764005e73598000300a126..."} 
[2026-06-23 16:24:21] local.INFO: Packet analysis {"connection_id":111766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:24:21] local.INFO: Extracted packet for processing {"connection_id":111766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":99038616,"longitude_deg":76.306592,"latitude_deg":9.9038616,"altitude":3,"angle":161,"satellites":38,"speed":8,"hex_longitude":"2d7b7640","hex_latitude":"05e73598","is_valid_coordinates":true} 
[2026-06-23 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246273536001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96390361886228480,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895664820575223808,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:21] 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-06-23 16:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782212018000,"timestamp_ms":1782212018000,"timestamp_seconds":1782212018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41d3f50"} 
[2026-06-23 16:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 16:24:21] 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-06-23 16:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246273536001,"66":12526,"96":206,"87":13824,"24":8,"16":96390361886228480,"45":8895664820575223808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 16:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246273536001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:24:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:24:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96390361886228480,"km_value":96390361886228.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895664820575223808,"description":"Unknown IO ID 45"} 
[2026-06-23 16:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246273536001,"power":12526,"unknown_96":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8895664820575223808}} 
[2026-06-23 16:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":111766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:24:21] local.INFO: GPS data processed {"connection_id":111766,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:24:21] local.INFO: Acknowledgment sent {"connection_id":111766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:24:23] local.INFO: TCP Data received {"connection_id":110966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:24:23] local.INFO: Processing buffer {"connection_id":110966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:24:23] local.INFO: IMEI packet received {"connection_id":110966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":110966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:24:29] local.INFO: TCP Data received {"connection_id":110966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:24:29] local.INFO: Processing buffer {"connection_id":110966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:24:29] local.INFO: IMEI packet received {"connection_id":110966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":110966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:24:30] local.INFO: TCP Data received {"connection_id":110966,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:24:30] local.INFO: Processing buffer {"connection_id":110966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:24:30] local.INFO: Packet analysis {"connection_id":110966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:24:30] local.INFO: Extracted packet for processing {"connection_id":110966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:24:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:24:30] 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-06-23 16:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":110966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:24:30] local.INFO: GPS data processed {"connection_id":110966,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:24:30] local.INFO: Acknowledgment sent {"connection_id":110966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:24:38] local.INFO: TCP Data received {"connection_id":112708,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:24:38] local.INFO: Processing buffer {"connection_id":112708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:24:38] local.INFO: IMEI packet received {"connection_id":112708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":112708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:24:52] local.INFO: TCP Data received {"connection_id":111766,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41d8d70012d7b7c4005e722b8000400a328..."} 
[2026-06-23 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41d8d70012d7b7c4005e722b8000400a328..."} 
[2026-06-23 16:24:52] local.INFO: Processing buffer {"connection_id":111766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41d8d70012d7b7c4005e722b8000400a328..."} 
[2026-06-23 16:24:52] local.INFO: Packet analysis {"connection_id":111766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:24:52] local.INFO: Extracted packet for processing {"connection_id":111766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":99033784,"longitude_deg":76.3067456,"latitude_deg":9.9033784,"altitude":4,"angle":163,"satellites":40,"speed":23,"hex_longitude":"2d7b7c40","hex_latitude":"05e722b8","is_valid_coordinates":true} 
[2026-06-23 16:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246276608001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96390610994331648,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015056896,"note":"Value kept but may cause issues"} 
[2026-06-23 16:24:52] 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-06-23 16:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782212038000,"timestamp_ms":1782212038000,"timestamp_seconds":1782212038,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41d8d70"} 
[2026-06-23 16:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 16:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246276608001,"66":12515,"96":206,"87":13824,"24":23,"16":96390610994331648,"45":8896368508015056896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 16:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246276608001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96390610994331648,"km_value":96390610994331.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015056896,"description":"Unknown IO ID 45"} 
[2026-06-23 16:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246276608001,"power":12515,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8896368508015056896}} 
[2026-06-23 16:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":111766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:24:53] local.INFO: GPS data processed {"connection_id":111766,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:24:53] local.INFO: Acknowledgment sent {"connection_id":111766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:25:02] local.INFO: TCP Data received {"connection_id":110966,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:25:02] local.INFO: Processing buffer {"connection_id":110966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:25:02] local.INFO: Packet analysis {"connection_id":110966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:25:02] local.INFO: Extracted packet for processing {"connection_id":110966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:25:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:25:02] 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-06-23 16:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":110966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:25:02] local.INFO: GPS data processed {"connection_id":110966,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:25:02] local.INFO: Acknowledgment sent {"connection_id":110966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:25:06] local.INFO: TCP Data received {"connection_id":110967,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:25:06] local.INFO: Processing buffer {"connection_id":110967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:25:06] local.INFO: IMEI packet received {"connection_id":110967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":110967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:25:10] local.INFO: TCP Data received {"connection_id":111156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:25:10] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:25:10] local.INFO: IMEI packet received {"connection_id":111156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":111156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:25:15] local.INFO: TCP Data received {"connection_id":111156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:25:15] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:25:15] local.INFO: IMEI packet received {"connection_id":111156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":111156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:25:16] local.INFO: TCP Data received {"connection_id":111156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41da0f8012d7b7f8005e718480005009727..."} 
[2026-06-23 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41da0f8012d7b7f8005e718480005009727..."} 
[2026-06-23 16:25:16] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41da0f8012d7b7f8005e718480005009727..."} 
[2026-06-23 16:25:16] local.INFO: Packet analysis {"connection_id":111156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:25:16] local.INFO: Extracted packet for processing {"connection_id":111156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":99031112,"longitude_deg":76.3068288,"latitude_deg":9.9031112,"altitude":5,"angle":151,"satellites":39,"speed":19,"hex_longitude":"2d7b7f80","hex_latitude":"05e71848","is_valid_coordinates":true} 
[2026-06-23 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246281728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96390744138317824,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357874083840,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:16] 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-06-23 16:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212043000,"timestamp_ms":1782212043000,"timestamp_seconds":1782212043,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41da0f8"} 
[2026-06-23 16:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-23 16:25:16] 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-06-23 16:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246281728001,"66":12950,"96":206,"87":13824,"24":19,"16":96390744138317824,"45":8898057357874083840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 16:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246281728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:25:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:25:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96390744138317824,"km_value":96390744138317.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357874083840,"description":"Unknown IO ID 45"} 
[2026-06-23 16:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246281728001,"power":12950,"unknown_96":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8898057357874083840}} 
[2026-06-23 16:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":111156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:25:16] local.INFO: GPS data processed {"connection_id":111156,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:25:16] local.INFO: Acknowledgment sent {"connection_id":111156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:25:23] local.INFO: TCP Data received {"connection_id":112710,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:25:23] local.INFO: Processing buffer {"connection_id":112710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:25:23] local.INFO: IMEI packet received {"connection_id":112710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":112710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:25:29] local.INFO: TCP Data received {"connection_id":112710,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:25:29] local.INFO: Processing buffer {"connection_id":112710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:25:29] local.INFO: IMEI packet received {"connection_id":112710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":112710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:25:30] local.INFO: TCP Data received {"connection_id":112710,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:25:30] local.INFO: Processing buffer {"connection_id":112710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:25:30] local.INFO: Packet analysis {"connection_id":112710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:25:30] local.INFO: Extracted packet for processing {"connection_id":112710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:25:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:25:30] 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-06-23 16:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:25:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:25:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":112710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:25:30] local.INFO: GPS data processed {"connection_id":112710,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:25:30] local.INFO: Acknowledgment sent {"connection_id":112710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:25:47] local.INFO: TCP Data received {"connection_id":111156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41da8c8012d7b820005e714d00006008a27..."} 
[2026-06-23 16:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41da8c8012d7b820005e714d00006008a27..."} 
[2026-06-23 16:25:47] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41da8c8012d7b820005e714d00006008a27..."} 
[2026-06-23 16:25:47] local.INFO: Packet analysis {"connection_id":111156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:25:47] local.INFO: Extracted packet for processing {"connection_id":111156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41d"} 
[2026-06-23 16:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763068928,"raw_latitude":99030224,"longitude_deg":76.3068928,"latitude_deg":9.9030224,"altitude":6,"angle":138,"satellites":39,"speed":21,"hex_longitude":"2d7b8200","hex_latitude":"05e714d0","is_valid_coordinates":true} 
[2026-06-23 16:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246283008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96390795677925376,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898972151547709440,"note":"Value kept but may cause issues"} 
[2026-06-23 16:25:47] 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-06-23 16:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212045000,"timestamp_ms":1782212045000,"timestamp_seconds":1782212045,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41da8c8"} 
[2026-06-23 16:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:25: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-06-23 16:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 16:25:47] 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-06-23 16:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246283008001,"66":13015,"96":206,"87":13824,"24":21,"16":96390795677925376,"45":8898972151547709440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-23 16:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246283008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:25:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:25:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96390795677925376,"km_value":96390795677925.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898972151547709440,"description":"Unknown IO ID 45"} 
[2026-06-23 16:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246283008001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8898972151547709440}} 
[2026-06-23 16:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":111156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:25:47] local.INFO: GPS data processed {"connection_id":111156,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:25:47] local.INFO: Acknowledgment sent {"connection_id":111156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:26:02] local.INFO: TCP Data received {"connection_id":112710,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:26:02] local.INFO: Processing buffer {"connection_id":112710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:26:02] local.INFO: Packet analysis {"connection_id":112710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:26:02] local.INFO: Extracted packet for processing {"connection_id":112710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:26:02] 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-06-23 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":112710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:26:02] local.INFO: GPS data processed {"connection_id":112710,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:26:02] local.INFO: Acknowledgment sent {"connection_id":112710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:26:10] local.INFO: TCP Data received {"connection_id":111158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:10] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:10] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:26:14] local.INFO: TCP Data received {"connection_id":111158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:14] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:14] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:26:15] local.INFO: TCP Data received {"connection_id":111158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:15] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:26:15] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:26:16] local.INFO: TCP Data received {"connection_id":111158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41f23b0012d7bc64005e636600003009626..."} 
[2026-06-23 16:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41f23b0012d7bc64005e636600003009626..."} 
[2026-06-23 16:26:16] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41f23b0012d7bc64005e636600003009626..."} 
[2026-06-23 16:26:16] local.INFO: Packet analysis {"connection_id":111158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:26:16] local.INFO: Extracted packet for processing {"connection_id":111158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:26:16] local.INFO: GPS Element Parsed {"raw_longitude":763086400,"raw_latitude":98973280,"longitude_deg":76.30864,"latitude_deg":9.897328,"altitude":3,"angle":150,"satellites":38,"speed":20,"hex_longitude":"2d7bc640","hex_latitude":"05e63660","is_valid_coordinates":true} 
[2026-06-23 16:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246307328001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96393750615425024,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818693718016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:16] 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-06-23 16:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212142000,"timestamp_ms":1782212142000,"timestamp_seconds":1782212142,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41f23b0"} 
[2026-06-23 16:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:26: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-06-23 16:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 16:26:16] 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-06-23 16:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246307328001,"66":12287,"95":206,"87":13824,"24":20,"16":96393750615425024,"45":8918182818693718016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-23 16:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246307328001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:26:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:26:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96393750615425024,"km_value":96393750615425.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818693718016,"description":"Unknown IO ID 45"} 
[2026-06-23 16:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246307328001,"power":12287,"unknown_95":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8918182818693718016}} 
[2026-06-23 16:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":111158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:26:16] local.INFO: GPS data processed {"connection_id":111158,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:26:16] local.INFO: Acknowledgment sent {"connection_id":111158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:26:23] local.INFO: TCP Data received {"connection_id":111768,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:26:23] local.INFO: Processing buffer {"connection_id":111768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:26:23] local.INFO: IMEI packet received {"connection_id":111768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":111768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:26:29] local.INFO: TCP Data received {"connection_id":111768,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:26:29] local.INFO: Processing buffer {"connection_id":111768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:26:29] local.INFO: IMEI packet received {"connection_id":111768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":111768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:26:30] local.INFO: TCP Data received {"connection_id":111768,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:26:30] local.INFO: Processing buffer {"connection_id":111768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:26:30] local.INFO: Packet analysis {"connection_id":111768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:26:30] local.INFO: Extracted packet for processing {"connection_id":111768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 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-06-23 16:26:30] 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-06-23 16:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:26:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":111768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:26:30] local.INFO: GPS data processed {"connection_id":111768,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:26:30] local.INFO: Acknowledgment sent {"connection_id":111768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:26:47] local.INFO: TCP Data received {"connection_id":111158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41f6230012d7bcd0005e62758000500a327..."} 
[2026-06-23 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41f6230012d7bcd0005e62758000500a327..."} 
[2026-06-23 16:26:47] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41f6230012d7bcd0005e62758000500a327..."} 
[2026-06-23 16:26:47] local.INFO: Packet analysis {"connection_id":111158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:26:47] local.INFO: Extracted packet for processing {"connection_id":111158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763088128,"raw_latitude":98969432,"longitude_deg":76.3088128,"latitude_deg":9.8969432,"altitude":5,"angle":163,"satellites":39,"speed":12,"hex_longitude":"2d7bcd00","hex_latitude":"05e62758","is_valid_coordinates":true} 
[2026-06-23 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246308352001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96393956773855232,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918886506135183360,"note":"Value kept but may cause issues"} 
[2026-06-23 16:26:47] 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-06-23 16:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212158000,"timestamp_ms":1782212158000,"timestamp_seconds":1782212158,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41f6230"} 
[2026-06-23 16:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:26: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-06-23 16:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:26:47] 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-06-23 16:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246308352001,"66":12515,"95":206,"87":13824,"24":12,"16":96393956773855232,"45":8918886506135183360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-23 16:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246308352001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:26:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:26:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96393956773855232,"km_value":96393956773855.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918886506135183360,"description":"Unknown IO ID 45"} 
[2026-06-23 16:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246308352001,"power":12515,"unknown_95":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8918886506135183360}} 
[2026-06-23 16:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":111158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:26:47] local.INFO: GPS data processed {"connection_id":111158,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:26:47] local.INFO: Acknowledgment sent {"connection_id":111158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:27:02] local.INFO: TCP Data received {"connection_id":111768,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:02] local.INFO: Processing buffer {"connection_id":111768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:02] local.INFO: Packet analysis {"connection_id":111768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:27:02] local.INFO: Extracted packet for processing {"connection_id":111768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:27:02] 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-06-23 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:27:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":111768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:27:02] local.INFO: GPS data processed {"connection_id":111768,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:27:02] local.INFO: Acknowledgment sent {"connection_id":111768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:27:10] local.INFO: TCP Data received {"connection_id":111771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:10] local.INFO: Processing buffer {"connection_id":111771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:10] local.INFO: IMEI packet received {"connection_id":111771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":111771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:27:12] local.INFO: TCP Data received {"connection_id":111771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:12] local.INFO: Processing buffer {"connection_id":111771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:12] local.INFO: IMEI packet received {"connection_id":111771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":111771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:27:14] local.INFO: TCP Data received {"connection_id":111771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:14] local.INFO: Processing buffer {"connection_id":111771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:14] local.INFO: IMEI packet received {"connection_id":111771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":111771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:27:15] local.INFO: TCP Data received {"connection_id":111771,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:15] local.INFO: Processing buffer {"connection_id":111771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:27:15] local.INFO: IMEI packet received {"connection_id":111771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":111771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:27:16] local.INFO: TCP Data received {"connection_id":111771,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41f98e0012d7bd78005e605f8000700a126..."} 
[2026-06-23 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41f98e0012d7bd78005e605f8000700a126..."} 
[2026-06-23 16:27:16] local.INFO: Processing buffer {"connection_id":111771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41f98e0012d7bd78005e605f8000700a126..."} 
[2026-06-23 16:27:16] local.INFO: Packet analysis {"connection_id":111771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:27:16] local.INFO: Extracted packet for processing {"connection_id":111771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763090816,"raw_latitude":98960888,"longitude_deg":76.3090816,"latitude_deg":9.8960888,"altitude":7,"angle":161,"satellites":38,"speed":32,"hex_longitude":"2d7bd780","hex_latitude":"05e605f8","is_valid_coordinates":true} 
[2026-06-23 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246312448001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96394390565552128,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920786462226995200,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:16] 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-06-23 16:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212172000,"timestamp_ms":1782212172000,"timestamp_seconds":1782212172,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41f98e0"} 
[2026-06-23 16:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:27: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-06-23 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-23 16:27:16] 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-06-23 16:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246312448001,"66":12765,"95":206,"87":13824,"24":32,"16":96394390565552128,"45":8920786462226995200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-23 16:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246312448001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:27:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:27:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96394390565552128,"km_value":96394390565552.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920786462226995200,"description":"Unknown IO ID 45"} 
[2026-06-23 16:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246312448001,"power":12765,"unknown_95":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8920786462226995200}} 
[2026-06-23 16:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":111771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:27:16] local.INFO: GPS data processed {"connection_id":111771,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:27:16] local.INFO: Acknowledgment sent {"connection_id":111771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:27:28] local.INFO: TCP Data received {"connection_id":111772,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:27:28] local.INFO: Processing buffer {"connection_id":111772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:27:28] local.INFO: IMEI packet received {"connection_id":111772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:27:28] local.INFO: TCP Data received {"connection_id":111773,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:27:28] local.INFO: Processing buffer {"connection_id":111773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:27:28] local.INFO: IMEI packet received {"connection_id":111773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:27:32] local.INFO: TCP Data received {"connection_id":111773,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111773,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:27:32] local.INFO: Processing buffer {"connection_id":111773,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:27:32] local.INFO: IMEI packet received {"connection_id":111773,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":111773,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:27:32] local.INFO: TCP Data received {"connection_id":111773,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4201db0012d0d5f8007061dd0001c00e61f..."} 
[2026-06-23 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4201db0012d0d5f8007061dd0001c00e61f..."} 
[2026-06-23 16:27:32] local.INFO: Processing buffer {"connection_id":111773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4201db0012d0d5f8007061dd0001c00e61f..."} 
[2026-06-23 16:27:32] local.INFO: Packet analysis {"connection_id":111773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef420"} 
[2026-06-23 16:27:32] local.INFO: Extracted packet for processing {"connection_id":111773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef420"} 
[2026-06-23 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":755851136,"raw_latitude":117841360,"longitude_deg":75.5851136,"latitude_deg":11.784136,"altitude":28,"angle":230,"satellites":31,"speed":5,"hex_longitude":"2d0d5f80","hex_latitude":"07061dd0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246324224001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21927289809797120,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051825401427968,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:32] 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-06-23 16:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782212206000,"timestamp_ms":1782212206000,"timestamp_seconds":1782212206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4201db0"} 
[2026-06-23 16:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:27:32] 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-06-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:27:32] 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-06-23 16: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-06-23 16:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:27:32] 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-06-23 16:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246324224001,"66":14407,"165":206,"94":11008,"24":5,"16":21927289809797120,"45":964051825401427968},"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-06-23 16:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246324224001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:27:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:27:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21927289809797120,"km_value":21927289809797.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051825401427968,"description":"Unknown IO ID 45"} 
[2026-06-23 16:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246324224001,"power":14407,"unknown_165":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":964051825401427968}} 
[2026-06-23 16:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":111773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:27:33] local.INFO: GPS data processed {"connection_id":111773,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:27:33] local.INFO: Acknowledgment sent {"connection_id":111773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:27:34] local.INFO: TCP Data received {"connection_id":111772,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:27:34] local.INFO: Processing buffer {"connection_id":111772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:27:34] local.INFO: IMEI packet received {"connection_id":111772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":111772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:27:35] local.INFO: TCP Data received {"connection_id":111772,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:35] local.INFO: Processing buffer {"connection_id":111772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:35] local.INFO: Packet analysis {"connection_id":111772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:27:35] local.INFO: Extracted packet for processing {"connection_id":111772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:27:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:27: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-06-23 16:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":111772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:27:35] local.INFO: GPS data processed {"connection_id":111772,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:27:35] local.INFO: Acknowledgment sent {"connection_id":111772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:27:39] local.INFO: TCP Data received {"connection_id":111772,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:39] local.INFO: Processing buffer {"connection_id":111772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41c7fe8012cb29b8007823df8004a00cf2a..."} 
[2026-06-23 16:27:39] local.INFO: Packet analysis {"connection_id":111772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:27:39] local.INFO: Extracted packet for processing {"connection_id":111772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41c"} 
[2026-06-23 16:27:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246187008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782211969000,"timestamp_ms":1782211969000,"timestamp_seconds":1782211969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41c7fe8"} 
[2026-06-23 16:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:27: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-06-23 16:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246187008001,"66":25299,"87":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,27,24,16,44]} 
[2026-06-23 16:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246187008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:27:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 16:27:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246187008001,"power":25299,"unknown_87":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":111772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:27:39] local.INFO: GPS data processed {"connection_id":111772,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:27:39] local.INFO: Acknowledgment sent {"connection_id":111772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:27:47] local.INFO: TCP Data received {"connection_id":111771,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef41fb438012d7bdf4005e5f0580008009429..."} 
[2026-06-23 16:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef41fb438012d7bdf4005e5f0580008009429..."} 
[2026-06-23 16:27:47] local.INFO: Processing buffer {"connection_id":111771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef41fb438012d7bdf4005e5f0580008009429..."} 
[2026-06-23 16:27:47] local.INFO: Packet analysis {"connection_id":111771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:27:47] local.INFO: Extracted packet for processing {"connection_id":111771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef41f"} 
[2026-06-23 16:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763092800,"raw_latitude":98955352,"longitude_deg":76.30928,"latitude_deg":9.8955352,"altitude":8,"angle":148,"satellites":41,"speed":26,"hex_longitude":"2d7bdf40","hex_latitude":"05e5f058","is_valid_coordinates":true} 
[2026-06-23 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246316032001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96394674033393664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923741949480269824,"note":"Value kept but may cause issues"} 
[2026-06-23 16:27:47] 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-06-23 16:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212179000,"timestamp_ms":1782212179000,"timestamp_seconds":1782212179,"priority":1,"record_length":96,"hex_timestamp":"0000019ef41fb438"} 
[2026-06-23 16:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:27: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-06-23 16:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:27: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-06-23 16:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246316032001,"66":12950,"95":206,"87":13824,"24":26,"16":96394674033393664,"45":8923741949480269824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-23 16:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246316032001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:27:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:27:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96394674033393664,"km_value":96394674033393.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923741949480269824,"description":"Unknown IO ID 45"} 
[2026-06-23 16:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246316032001,"power":12950,"unknown_95":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8923741949480269824}} 
[2026-06-23 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":111771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:27:47] local.INFO: GPS data processed {"connection_id":111771,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:27:47] local.INFO: Acknowledgment sent {"connection_id":111771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:28:04] local.INFO: TCP Data received {"connection_id":111773,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4212750012d0d62400705d4c0001e00871f..."} 
[2026-06-23 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4212750012d0d62400705d4c0001e00871f..."} 
[2026-06-23 16:28:04] local.INFO: Processing buffer {"connection_id":111773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4212750012d0d62400705d4c0001e00871f..."} 
[2026-06-23 16:28:04] local.INFO: Packet analysis {"connection_id":111773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:04] local.INFO: Extracted packet for processing {"connection_id":111773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":755851840,"raw_latitude":117822656,"longitude_deg":75.585184,"latitude_deg":11.7822656,"altitude":30,"angle":135,"satellites":31,"speed":13,"hex_longitude":"2d0d6240","hex_latitude":"0705d4c0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246340608001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21928238997569536,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962925925490300928,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:04] 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-06-23 16:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782212274000,"timestamp_ms":1782212274000,"timestamp_seconds":1782212274,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4212750"} 
[2026-06-23 16:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:28: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-06-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:28: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-06-23 16: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-06-23 16:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111773,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:28:04] 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-06-23 16:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246340608001,"66":14407,"167":206,"94":11008,"24":13,"16":21928238997569536,"45":962925925490300928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 16:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246340608001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:28:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 16:28:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21928238997569536,"km_value":21928238997569.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":962925925490300928,"description":"Unknown IO ID 45"} 
[2026-06-23 16:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246340608001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":962925925490300928}} 
[2026-06-23 16:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":111773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:28:04] local.INFO: GPS data processed {"connection_id":111773,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:28:04] local.INFO: Acknowledgment sent {"connection_id":111773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:28:15] local.INFO: TCP Data received {"connection_id":111774,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:28:15] local.INFO: Processing buffer {"connection_id":111774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:28:15] local.INFO: IMEI packet received {"connection_id":111774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":111774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:28:16] local.INFO: TCP Data received {"connection_id":111774,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:28:16] local.INFO: Processing buffer {"connection_id":111774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:28:16] local.INFO: IMEI packet received {"connection_id":111774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":111774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:28:17] local.INFO: TCP Data received {"connection_id":111774,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4210fe0012d7c40c005e525200008009c2a..."} 
[2026-06-23 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4210fe0012d7c40c005e525200008009c2a..."} 
[2026-06-23 16:28:17] local.INFO: Processing buffer {"connection_id":111774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4210fe0012d7c40c005e525200008009c2a..."} 
[2026-06-23 16:28:17] local.INFO: Packet analysis {"connection_id":111774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:17] local.INFO: Extracted packet for processing {"connection_id":111774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":763117760,"raw_latitude":98903328,"longitude_deg":76.311776,"latitude_deg":9.8903328,"altitude":8,"angle":156,"satellites":42,"speed":6,"hex_longitude":"2d7c40c0","hex_latitude":"05e52520","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246335232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96397538776580096,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951256128440918016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:17] 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-06-23 16:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782212268000,"timestamp_ms":1782212268000,"timestamp_seconds":1782212268,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4210fe0"} 
[2026-06-23 16:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 16:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246335232001,"66":12885,"39":206,"87":13824,"24":6,"16":96397538776580096,"45":8951256128440918016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 16:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246335232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:28:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 16:28:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96397538776580096,"km_value":96397538776580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951256128440918016,"description":"Unknown IO ID 45"} 
[2026-06-23 16:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246335232001,"power":12885,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8951256128440918016}} 
[2026-06-23 16:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":111774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:28:17] local.INFO: GPS data processed {"connection_id":111774,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:28:17] local.INFO: Acknowledgment sent {"connection_id":111774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:28:21] local.INFO: TCP Data received {"connection_id":111774,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4211b98012d7c418005e523400008009029..."} 
[2026-06-23 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4211b98012d7c418005e523400008009029..."} 
[2026-06-23 16:28:21] local.INFO: Processing buffer {"connection_id":111774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4211b98012d7c418005e523400008009029..."} 
[2026-06-23 16:28:21] local.INFO: Packet analysis {"connection_id":111774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:21] local.INFO: Extracted packet for processing {"connection_id":111774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:21] local.INFO: GPS Element Parsed {"raw_longitude":763117952,"raw_latitude":98902848,"longitude_deg":76.3117952,"latitude_deg":9.8902848,"altitude":8,"angle":144,"satellites":41,"speed":7,"hex_longitude":"2d7c4180","hex_latitude":"05e52340","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246340608001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96397564546383872,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953367190764331008,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:21] 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-06-23 16:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782212271000,"timestamp_ms":1782212271000,"timestamp_seconds":1782212271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4211b98"} 
[2026-06-23 16:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 16:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246340608001,"66":12982,"39":206,"87":13824,"24":7,"16":96397564546383872,"45":8953367190764331008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 16:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246340608001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:28:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 16:28:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96397564546383872,"km_value":96397564546383.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953367190764331008,"description":"Unknown IO ID 45"} 
[2026-06-23 16:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246340608001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8953367190764331008}} 
[2026-06-23 16:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":111774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:28:21] local.INFO: GPS data processed {"connection_id":111774,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:28:21] local.INFO: Acknowledgment sent {"connection_id":111774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:28:23] local.INFO: TCP Data received {"connection_id":111775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:23] local.INFO: Processing buffer {"connection_id":111775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:23] local.INFO: IMEI packet received {"connection_id":111775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":111775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:28:24] local.INFO: TCP Data received {"connection_id":111775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:24] local.INFO: Processing buffer {"connection_id":111775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:24] local.INFO: IMEI packet received {"connection_id":111775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":111775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:28:24] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:28:24] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:28:24] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:28:25] local.INFO: TCP Data received {"connection_id":111775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:25] local.INFO: Processing buffer {"connection_id":111775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:25] local.INFO: IMEI packet received {"connection_id":111775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":111775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:28:28] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:28:28] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:28:28] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:28:28] local.INFO: TCP Data received {"connection_id":111775,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111775,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:28] local.INFO: Processing buffer {"connection_id":111775,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:28:28] local.INFO: IMEI packet received {"connection_id":111775,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":111775,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:28:29] local.INFO: TCP Data received {"connection_id":111775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4212b38012d0d63400705d3d8001d00781f..."} 
[2026-06-23 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4212b38012d0d63400705d3d8001d00781f..."} 
[2026-06-23 16:28:29] local.INFO: Processing buffer {"connection_id":111775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4212b38012d0d63400705d3d8001d00781f..."} 
[2026-06-23 16:28:29] local.INFO: Packet analysis {"connection_id":111775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:29] local.INFO: Extracted packet for processing {"connection_id":111775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":755852096,"raw_latitude":117822424,"longitude_deg":75.5852096,"latitude_deg":11.7822424,"altitude":29,"angle":120,"satellites":31,"speed":13,"hex_longitude":"2d0d6340","hex_latitude":"0705d3d8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246342144001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21928256177438720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403669117485056,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:29] 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-06-23 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782212275000,"timestamp_ms":1782212275000,"timestamp_seconds":1782212275,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4212b38"} 
[2026-06-23 16:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:28:29] 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-06-23 16: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-06-23 16:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:28: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-06-23 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246342144001,"66":14407,"167":206,"94":11008,"24":13,"16":21928256177438720,"45":964403669117485056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246342144001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21928256177438720,"km_value":21928256177438.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403669117485056,"description":"Unknown IO ID 45"} 
[2026-06-23 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246342144001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":964403669117485056}} 
[2026-06-23 16:28:29] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:28:29] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:28:29] local.INFO: Packet analysis {"connection_id":111159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:29] local.INFO: Extracted packet for processing {"connection_id":111159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:28:29] 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-06-23 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":111159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:28:29] local.INFO: GPS data processed {"connection_id":111159,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:28:29] local.INFO: Acknowledgment sent {"connection_id":111159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":111775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:28:29] local.INFO: GPS data processed {"connection_id":111775,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:28:29] local.INFO: Acknowledgment sent {"connection_id":111775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:28:52] local.INFO: TCP Data received {"connection_id":111774,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4213ad8012d7c43c005e51f30000900ca29..."} 
[2026-06-23 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4213ad8012d7c43c005e51f30000900ca29..."} 
[2026-06-23 16:28:52] local.INFO: Processing buffer {"connection_id":111774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4213ad8012d7c43c005e51f30000900ca29..."} 
[2026-06-23 16:28:52] local.INFO: Packet analysis {"connection_id":111774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:52] local.INFO: Extracted packet for processing {"connection_id":111774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763118528,"raw_latitude":98901808,"longitude_deg":76.3118528,"latitude_deg":9.8901808,"altitude":9,"angle":202,"satellites":41,"speed":8,"hex_longitude":"2d7c43c0","hex_latitude":"05e51f30","is_valid_coordinates":true} 
[2026-06-23 16:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341376001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96397628970893312,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953578296996741120,"note":"Value kept but may cause issues"} 
[2026-06-23 16:28:52] 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-06-23 16:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782212279000,"timestamp_ms":1782212279000,"timestamp_seconds":1782212279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4213ad8"} 
[2026-06-23 16:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:28: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-06-23 16:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 16:28:52] 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-06-23 16:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341376001,"66":13189,"39":206,"87":13824,"24":8,"16":96397628970893312,"45":8953578296996741120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 16:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341376001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96397628970893312,"km_value":96397628970893.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953578296996741120,"description":"Unknown IO ID 45"} 
[2026-06-23 16:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341376001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953578296996741120}} 
[2026-06-23 16:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":111774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:28:52] local.INFO: GPS data processed {"connection_id":111774,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:28:52] local.INFO: Acknowledgment sent {"connection_id":111774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:00] local.INFO: TCP Data received {"connection_id":111775,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef421c390012d0daa800705d0280017005b1f..."} 
[2026-06-23 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef421c390012d0daa800705d0280017005b1f..."} 
[2026-06-23 16:29:00] local.INFO: Processing buffer {"connection_id":111775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef421c390012d0daa800705d0280017005b1f..."} 
[2026-06-23 16:29:00] local.INFO: Packet analysis {"connection_id":111775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:00] local.INFO: Extracted packet for processing {"connection_id":111775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:00] local.INFO: GPS Element Parsed {"raw_longitude":755870336,"raw_latitude":117821480,"longitude_deg":75.5870336,"latitude_deg":11.782148,"altitude":23,"angle":91,"satellites":31,"speed":24,"hex_longitude":"2d0daa80","hex_latitude":"0705d028","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246352128001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21929192480309248,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984106917486950400,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:00] 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-06-23 16:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782212314000,"timestamp_ms":1782212314000,"timestamp_seconds":1782212314,"priority":1,"record_length":96,"hex_timestamp":"0000019ef421c390"} 
[2026-06-23 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-06-23 16:29: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-06-23 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:00] 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-06-23 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-06-23 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-06-23 16:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111775,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:29:00] 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-06-23 16:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246352128001,"66":14407,"167":206,"94":11008,"24":24,"16":21929192480309248,"45":984106917486950400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 16:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246352128001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 16:29:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21929192480309248,"km_value":21929192480309.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":984106917486950400,"description":"Unknown IO ID 45"} 
[2026-06-23 16:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246352128001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":984106917486950400}} 
[2026-06-23 16:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":111775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:01] local.INFO: GPS data processed {"connection_id":111775,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:01] local.INFO: Acknowledgment sent {"connection_id":111775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:01] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:29:01] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:29:01] local.INFO: Packet analysis {"connection_id":111159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:01] local.INFO: Extracted packet for processing {"connection_id":111159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:29:01] 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-06-23 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:29:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":111159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:01] local.INFO: GPS data processed {"connection_id":111159,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:01] local.INFO: Acknowledgment sent {"connection_id":111159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:15] local.INFO: TCP Data received {"connection_id":112711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:15] local.INFO: Processing buffer {"connection_id":112711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:15] local.INFO: IMEI packet received {"connection_id":112711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":112711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:29:16] local.INFO: TCP Data received {"connection_id":112711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:16] local.INFO: Processing buffer {"connection_id":112711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:16] local.INFO: IMEI packet received {"connection_id":112711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":112711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:29:20] local.INFO: TCP Data received {"connection_id":112711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:20] local.INFO: Processing buffer {"connection_id":112711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:29:20] local.INFO: IMEI packet received {"connection_id":112711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":112711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:29:21] local.INFO: TCP Data received {"connection_id":112711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42142a8012d7c42c005e51d78000900d529..."} 
[2026-06-23 16:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42142a8012d7c42c005e51d78000900d529..."} 
[2026-06-23 16:29:21] local.INFO: Processing buffer {"connection_id":112711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42142a8012d7c42c005e51d78000900d529..."} 
[2026-06-23 16:29:21] local.INFO: Packet analysis {"connection_id":112711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:21] local.INFO: Extracted packet for processing {"connection_id":112711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763118272,"raw_latitude":98901368,"longitude_deg":76.3118272,"latitude_deg":9.8901368,"altitude":9,"angle":213,"satellites":41,"speed":11,"hex_longitude":"2d7c42c0","hex_latitude":"05e51d78","is_valid_coordinates":true} 
[2026-06-23 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246343424001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96397650445729792,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211615694073856,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:21] 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-06-23 16:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782212281000,"timestamp_ms":1782212281000,"timestamp_seconds":1782212281,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42142a8"} 
[2026-06-23 16:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:21] 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-06-23 16:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246343424001,"66":12472,"39":206,"87":13824,"24":11,"16":96397650445729792,"45":8954211615694073856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 16:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246343424001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:21] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 16:29:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96397650445729792,"km_value":96397650445729.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211615694073856,"description":"Unknown IO ID 45"} 
[2026-06-23 16:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246343424001,"power":12472,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8954211615694073856}} 
[2026-06-23 16:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":112711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:21] local.INFO: GPS data processed {"connection_id":112711,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:21] local.INFO: Acknowledgment sent {"connection_id":112711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:23] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:23] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:23] local.INFO: IMEI packet received {"connection_id":110970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":110970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:29:23] local.INFO: TCP Data received {"connection_id":110971,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:29:23] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:29:23] local.INFO: IMEI packet received {"connection_id":110971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":110971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:29:25] local.INFO: TCP Data received {"connection_id":112711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4217958012d7c2fc005e4fe88000800d427..."} 
[2026-06-23 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4217958012d7c2fc005e4fe88000800d427..."} 
[2026-06-23 16:29:25] local.INFO: Processing buffer {"connection_id":112711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4217958012d7c2fc005e4fe88000800d427..."} 
[2026-06-23 16:29:25] local.INFO: Packet analysis {"connection_id":112711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:25] local.INFO: Extracted packet for processing {"connection_id":112711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763113408,"raw_latitude":98893448,"longitude_deg":76.3113408,"latitude_deg":9.8893448,"altitude":8,"angle":212,"satellites":39,"speed":37,"hex_longitude":"2d7c2fc0","hex_latitude":"05e4fe88","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246343936001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96398101417295872,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140717250560,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:25] 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-06-23 16:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782212295000,"timestamp_ms":1782212295000,"timestamp_seconds":1782212295,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4217958"} 
[2026-06-23 16:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:25] 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-06-23 16: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-06-23 16:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246343936001,"66":13091,"39":206,"87":13824,"24":37,"16":96398101417295872,"45":8953930140717250560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-23 16:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246343936001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 16:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-23 16:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96398101417295872,"km_value":96398101417295.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140717250560,"description":"Unknown IO ID 45"} 
[2026-06-23 16:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246343936001,"power":13091,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8953930140717250560}} 
[2026-06-23 16:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":112711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:25] local.INFO: GPS data processed {"connection_id":112711,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:25] local.INFO: Acknowledgment sent {"connection_id":112711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:28] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:28] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:28] local.INFO: IMEI packet received {"connection_id":110970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":110970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:29:29] local.INFO: TCP Data received {"connection_id":110971,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:29:29] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:29:29] local.INFO: IMEI packet received {"connection_id":110971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":110971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:29:29] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:29] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:29:29] local.INFO: IMEI packet received {"connection_id":110970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":110970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:29:30] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef421ee88012d0dcfc00705cf18001900641f..."} 
[2026-06-23 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef421ee88012d0dcfc00705cf18001900641f..."} 
[2026-06-23 16:29:30] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef421ee88012d0dcfc00705cf18001900641f..."} 
[2026-06-23 16:29:30] local.INFO: Packet analysis {"connection_id":110970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:30] local.INFO: Extracted packet for processing {"connection_id":110970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117821208,"longitude_deg":75.5879872,"latitude_deg":11.7821208,"altitude":25,"angle":100,"satellites":31,"speed":39,"hex_longitude":"2d0dcfc0","hex_latitude":"0705cf18","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246352384001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21929647746842624,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984740236184528896,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:30] 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-06-23 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212325000,"timestamp_ms":1782212325000,"timestamp_seconds":1782212325,"priority":1,"record_length":96,"hex_timestamp":"0000019ef421ee88"} 
[2026-06-23 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:29: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-06-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:30] 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-06-23 16: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-06-23 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:29: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-06-23 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246352384001,"66":14461,"167":206,"94":11008,"24":39,"16":21929647746842624,"45":984740236184528896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246352384001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21929647746842624,"km_value":21929647746842.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":984740236184528896,"description":"Unknown IO ID 45"} 
[2026-06-23 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246352384001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":984740236184528896}} 
[2026-06-23 16:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":110970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:30] local.INFO: GPS data processed {"connection_id":110970,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:30] local.INFO: Acknowledgment sent {"connection_id":110970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:30] local.INFO: TCP Data received {"connection_id":110971,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:29:30] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:29:30] local.INFO: Packet analysis {"connection_id":110971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:30] local.INFO: Extracted packet for processing {"connection_id":110971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:29:30] 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-06-23 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":110971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:30] local.INFO: GPS data processed {"connection_id":110971,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:30] local.INFO: Acknowledgment sent {"connection_id":110971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:29:31] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4220dc8012d0de8400705ccd0001a005820..."} 
[2026-06-23 16:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4220dc8012d0de8400705ccd0001a005820..."} 
[2026-06-23 16:29:31] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4220dc8012d0de8400705ccd0001a005820..."} 
[2026-06-23 16:29:31] local.INFO: Packet analysis {"connection_id":110970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef422"} 
[2026-06-23 16:29:31] local.INFO: Extracted packet for processing {"connection_id":110970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef422"} 
[2026-06-23 16:29:31] local.INFO: GPS Element Parsed {"raw_longitude":755886144,"raw_latitude":117820624,"longitude_deg":75.5886144,"latitude_deg":11.7820624,"altitude":26,"angle":88,"satellites":32,"speed":34,"hex_longitude":"2d0de840","hex_latitude":"0705ccd0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246355200001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21929948394553344,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995225179066931200,"note":"Value kept but may cause issues"} 
[2026-06-23 16:29:31] 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-06-23 16:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782212333000,"timestamp_ms":1782212333000,"timestamp_seconds":1782212333,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4220dc8"} 
[2026-06-23 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-06-23 16:29: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-06-23 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 16:29:31] 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-06-23 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-06-23 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-06-23 16:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":110970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":110970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":110970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:29: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-06-23 16:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246355200001,"66":14515,"167":206,"94":11008,"24":34,"16":21929948394553344,"45":995225179066931200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-23 16:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246355200001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:29:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 16:29:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21929948394553344,"km_value":21929948394553.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":995225179066931200,"description":"Unknown IO ID 45"} 
[2026-06-23 16:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246355200001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":995225179066931200}} 
[2026-06-23 16:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":110970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371845,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:29:31] local.INFO: GPS data processed {"connection_id":110970,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:29:31] local.INFO: Acknowledgment sent {"connection_id":110970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:02] local.INFO: TCP Data received {"connection_id":110971,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:30:02] local.INFO: Processing buffer {"connection_id":110971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:30:02] local.INFO: Packet analysis {"connection_id":110971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:30:02] local.INFO: Extracted packet for processing {"connection_id":110971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:30:02] 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-06-23 16:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":110971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:02] local.INFO: GPS data processed {"connection_id":110971,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:02] local.INFO: Acknowledgment sent {"connection_id":110971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:02] local.INFO: TCP Data received {"connection_id":110970,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef422fc10012d0e65800705e578001c001a1e..."} 
[2026-06-23 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef422fc10012d0e65800705e578001c001a1e..."} 
[2026-06-23 16:30:02] local.INFO: Processing buffer {"connection_id":110970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef422fc10012d0e65800705e578001c001a1e..."} 
[2026-06-23 16:30:02] local.INFO: Packet analysis {"connection_id":110970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef422"} 
[2026-06-23 16:30:02] local.INFO: Extracted packet for processing {"connection_id":110970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef422"} 
[2026-06-23 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":755918208,"raw_latitude":117826936,"longitude_deg":75.5918208,"latitude_deg":11.7826936,"altitude":28,"angle":26,"satellites":30,"speed":16,"hex_longitude":"2d0e6580","hex_latitude":"0705e578","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246370560001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21931679266373632,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037024213109071872,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30: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-06-23 16:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212394000,"timestamp_ms":1782212394000,"timestamp_seconds":1782212394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef422fc10"} 
[2026-06-23 16:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:02] 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-06-23 16: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-06-23 16:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:30: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-06-23 16:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246370560001,"66":14494,"165":206,"94":11008,"24":16,"16":21931679266373632,"45":1037024213109071872},"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-06-23 16:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246370560001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21931679266373632,"km_value":21931679266373.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037024213109071872,"description":"Unknown IO ID 45"} 
[2026-06-23 16:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246370560001,"power":14494,"unknown_165":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":1037024213109071872}} 
[2026-06-23 16:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":110970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:02] local.INFO: GPS data processed {"connection_id":110970,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:02] local.INFO: Acknowledgment sent {"connection_id":110970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:10] local.INFO: TCP Data received {"connection_id":112713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:30:10] local.INFO: Processing buffer {"connection_id":112713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:30:10] local.INFO: IMEI packet received {"connection_id":112713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":112713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:30:15] local.INFO: TCP Data received {"connection_id":112713,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:30:15] local.INFO: Processing buffer {"connection_id":112713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:30:15] local.INFO: IMEI packet received {"connection_id":112713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":112713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:30:16] local.INFO: TCP Data received {"connection_id":112713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef422e4a0012d7b540005e3af60000800d62c..."} 
[2026-06-23 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef422e4a0012d7b540005e3af60000800d62c..."} 
[2026-06-23 16:30:16] local.INFO: Processing buffer {"connection_id":112713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef422e4a0012d7b540005e3af60000800d62c..."} 
[2026-06-23 16:30:16] local.INFO: Packet analysis {"connection_id":112713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef422"} 
[2026-06-23 16:30:16] local.INFO: Extracted packet for processing {"connection_id":112713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef422"} 
[2026-06-23 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763057152,"raw_latitude":98807648,"longitude_deg":76.3057152,"latitude_deg":9.8807648,"altitude":8,"angle":214,"satellites":44,"speed":46,"hex_longitude":"2d7b5400","hex_latitude":"05e3af60","is_valid_coordinates":true} 
[2026-06-23 16:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246369280001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96403053514588160,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120795518976,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212388000,"timestamp_ms":1782212388000,"timestamp_seconds":1782212388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef422e4a0"} 
[2026-06-23 16:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:30: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-06-23 16:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:16] 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-06-23 16:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246369280001,"66":12863,"95":206,"85":15104,"24":46,"16":96403053514588160,"45":8892287120795518976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246369280001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96403053514588160,"km_value":96403053514588.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120795518976,"description":"Unknown IO ID 45"} 
[2026-06-23 16:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246369280001,"power":12863,"unknown_95":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8892287120795518976}} 
[2026-06-23 16:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":112713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:16] local.INFO: GPS data processed {"connection_id":112713,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:16] local.INFO: Acknowledgment sent {"connection_id":112713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:23] local.INFO: TCP Data received {"connection_id":112714,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:30:23] local.INFO: Processing buffer {"connection_id":112714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:30:23] local.INFO: IMEI packet received {"connection_id":112714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":112714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:30:27] local.INFO: TCP Data received {"connection_id":112712,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:30:27] local.INFO: Processing buffer {"connection_id":112712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:30:27] local.INFO: IMEI packet received {"connection_id":112712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":112712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:30:29] local.INFO: TCP Data received {"connection_id":112715,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:30:29] local.INFO: Processing buffer {"connection_id":112715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:30:29] local.INFO: IMEI packet received {"connection_id":112715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":112715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:30:29] local.INFO: TCP Data received {"connection_id":112714,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:30:29] local.INFO: Processing buffer {"connection_id":112714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:30:29] local.INFO: IMEI packet received {"connection_id":112714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":112714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:30:29] local.INFO: TCP Data received {"connection_id":112715,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:30:29] local.INFO: Processing buffer {"connection_id":112715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:30:29] local.INFO: IMEI packet received {"connection_id":112715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":112715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:30:30] local.INFO: TCP Data received {"connection_id":112715,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42303e0012d0e66c00705e848001d000b1f..."} 
[2026-06-23 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42303e0012d0e66c00705e848001d000b1f..."} 
[2026-06-23 16:30:30] local.INFO: Processing buffer {"connection_id":112715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42303e0012d0e66c00705e848001d000b1f..."} 
[2026-06-23 16:30:30] local.INFO: Packet analysis {"connection_id":112715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:30:30] local.INFO: Extracted packet for processing {"connection_id":112715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":755918528,"raw_latitude":117827656,"longitude_deg":75.5918528,"latitude_deg":11.7827656,"altitude":29,"angle":11,"satellites":31,"speed":14,"hex_longitude":"2d0e66c0","hex_latitude":"0705e848","is_valid_coordinates":true} 
[2026-06-23 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246372864001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21931713626112000,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037376056830818304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:30] 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-06-23 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212396000,"timestamp_ms":1782212396000,"timestamp_seconds":1782212396,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42303e0"} 
[2026-06-23 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:30: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-06-23 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:30] 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-06-23 16:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:30: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-06-23 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246372864001,"66":13787,"165":206,"94":11008,"24":14,"16":21931713626112000,"45":1037376056830818304},"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-06-23 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246372864001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21931713626112000,"km_value":21931713626112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037376056830818304,"description":"Unknown IO ID 45"} 
[2026-06-23 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246372864001,"power":13787,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1037376056830818304}} 
[2026-06-23 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":112715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371849,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:30] local.INFO: GPS data processed {"connection_id":112715,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:30] local.INFO: Acknowledgment sent {"connection_id":112715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:30] local.INFO: TCP Data received {"connection_id":112714,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:30:30] local.INFO: Processing buffer {"connection_id":112714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:30:30] local.INFO: Packet analysis {"connection_id":112714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:30:30] local.INFO: Extracted packet for processing {"connection_id":112714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:30:30] 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-06-23 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":112714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:30] local.INFO: GPS data processed {"connection_id":112714,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:30] local.INFO: Acknowledgment sent {"connection_id":112714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:34] local.INFO: TCP Data received {"connection_id":112715,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4230bb0012d0e66c00705eb80001e01671f..."} 
[2026-06-23 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4230bb0012d0e66c00705eb80001e01671f..."} 
[2026-06-23 16:30:34] local.INFO: Processing buffer {"connection_id":112715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4230bb0012d0e66c00705eb80001e01671f..."} 
[2026-06-23 16:30:34] local.INFO: Packet analysis {"connection_id":112715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:30:34] local.INFO: Extracted packet for processing {"connection_id":112715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755918528,"raw_latitude":117828480,"longitude_deg":75.5918528,"latitude_deg":11.782848,"altitude":30,"angle":359,"satellites":31,"speed":17,"hex_longitude":"2d0e66c0","hex_latitude":"0705eb80","is_valid_coordinates":true} 
[2026-06-23 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246373376001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21931756575784960,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037727900551890944,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:34] 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-06-23 16:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782212398000,"timestamp_ms":1782212398000,"timestamp_seconds":1782212398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4230bb0"} 
[2026-06-23 16:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:34] 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-06-23 16:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:30:34] 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-06-23 16:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246373376001,"66":14374,"165":206,"94":11008,"24":17,"16":21931756575784960,"45":1037727900551890944},"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-06-23 16:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246373376001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:30:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21931756575784960,"km_value":21931756575784.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037727900551890944,"description":"Unknown IO ID 45"} 
[2026-06-23 16:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246373376001,"power":14374,"unknown_165":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":1037727900551890944}} 
[2026-06-23 16:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":112715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:34] local.INFO: GPS data processed {"connection_id":112715,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:34] local.INFO: Acknowledgment sent {"connection_id":112715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:30:47] local.INFO: TCP Data received {"connection_id":112713,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42303e0012d7b3f0005e39118000800d62d..."} 
[2026-06-23 16:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42303e0012d7b3f0005e39118000800d62d..."} 
[2026-06-23 16:30:47] local.INFO: Processing buffer {"connection_id":112713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42303e0012d7b3f0005e39118000800d62d..."} 
[2026-06-23 16:30:47] local.INFO: Packet analysis {"connection_id":112713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:30:47] local.INFO: Extracted packet for processing {"connection_id":112713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98799896,"longitude_deg":76.3051776,"latitude_deg":9.8799896,"altitude":8,"angle":214,"satellites":45,"speed":46,"hex_longitude":"2d7b3f00","hex_latitude":"05e39118","is_valid_coordinates":true} 
[2026-06-23 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246371328001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96403508781121536,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886727990003589120,"note":"Value kept but may cause issues"} 
[2026-06-23 16:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212396000,"timestamp_ms":1782212396000,"timestamp_seconds":1782212396,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42303e0"} 
[2026-06-23 16:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:30: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-06-23 16:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 16:30:47] 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-06-23 16:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246371328001,"66":12809,"95":206,"85":15104,"24":46,"16":96403508781121536,"45":8886727990003589120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246371328001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96403508781121536,"km_value":96403508781121.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886727990003589120,"description":"Unknown IO ID 45"} 
[2026-06-23 16:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246371328001,"power":12809,"unknown_95":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8886727990003589120}} 
[2026-06-23 16:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":112713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:30:47] local.INFO: GPS data processed {"connection_id":112713,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:30:47] local.INFO: Acknowledgment sent {"connection_id":112713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:02] local.INFO: TCP Data received {"connection_id":112714,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:02] local.INFO: Processing buffer {"connection_id":112714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:02] local.INFO: Packet analysis {"connection_id":112714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:31:02] local.INFO: Extracted packet for processing {"connection_id":112714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:31:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 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-06-23 16:31:02] 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-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:31:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":112714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:02] local.INFO: GPS data processed {"connection_id":112714,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:02] local.INFO: Acknowledgment sent {"connection_id":112714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:05] local.INFO: TCP Data received {"connection_id":112715,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef423e670012d0e658007063c280026012d20..."} 
[2026-06-23 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef423e670012d0e658007063c280026012d20..."} 
[2026-06-23 16:31:05] local.INFO: Processing buffer {"connection_id":112715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef423e670012d0e658007063c280026012d20..."} 
[2026-06-23 16:31:05] local.INFO: Packet analysis {"connection_id":112715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:05] local.INFO: Extracted packet for processing {"connection_id":112715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":755918208,"raw_latitude":117849128,"longitude_deg":75.5918208,"latitude_deg":11.7849128,"altitude":38,"angle":301,"satellites":32,"speed":14,"hex_longitude":"2d0e6580","hex_latitude":"07063c28","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246387968001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21932881857216512,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037727900557330432,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:05] 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-06-23 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782212454000,"timestamp_ms":1782212454000,"timestamp_seconds":1782212454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef423e670"} 
[2026-06-23 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31: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-06-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:05] 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-06-23 16: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-06-23 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:31:05] 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-06-23 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246387968001,"66":14428,"165":206,"94":11008,"24":14,"16":21932881857216512,"45":1037727900557330432},"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-06-23 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246387968001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:31:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21932881857216512,"km_value":21932881857216.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037727900557330432,"description":"Unknown IO ID 45"} 
[2026-06-23 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246387968001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1037727900557330432}} 
[2026-06-23 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":112715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:05] local.INFO: GPS data processed {"connection_id":112715,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:05] local.INFO: Acknowledgment sent {"connection_id":112715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:05] local.INFO: TCP Data received {"connection_id":110972,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:31:05] local.INFO: Processing buffer {"connection_id":110972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:31:05] local.INFO: IMEI packet received {"connection_id":110972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":110972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:31:10] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:31:10] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:31:10] local.INFO: IMEI packet received {"connection_id":110973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":110973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:31:15] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:31:15] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:31:15] local.INFO: IMEI packet received {"connection_id":110973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":110973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:31:17] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef423d2e8012d7b074005e32978000b014417..."} 
[2026-06-23 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef423d2e8012d7b074005e32978000b014417..."} 
[2026-06-23 16:31:17] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef423d2e8012d7b074005e32978000b014417..."} 
[2026-06-23 16:31:17] local.INFO: Packet analysis {"connection_id":110973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:17] local.INFO: Extracted packet for processing {"connection_id":110973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763037504,"raw_latitude":98773368,"longitude_deg":76.3037504,"latitude_deg":9.8773368,"altitude":11,"angle":324,"satellites":23,"speed":8,"hex_longitude":"2d7b0740","hex_latitude":"05e32978","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246386688001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96405076444184576,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276358144,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782212449000,"timestamp_ms":1782212449000,"timestamp_seconds":1782212449,"priority":1,"record_length":96,"hex_timestamp":"0000019ef423d2e8"} 
[2026-06-23 16:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":110973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":110973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":110973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246386688001,"66":12939,"95":206,"85":15104,"24":8,"16":96405076444184576,"45":8865195154276358144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246386688001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96405076444184576,"km_value":96405076444184.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276358144,"description":"Unknown IO ID 45"} 
[2026-06-23 16:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246386688001,"power":12939,"unknown_95":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865195154276358144}} 
[2026-06-23 16:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":110973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:17] local.INFO: GPS data processed {"connection_id":110973,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:17] local.INFO: Acknowledgment sent {"connection_id":110973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:22] local.INFO: TCP Data received {"connection_id":110974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:22] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:22] local.INFO: IMEI packet received {"connection_id":110974,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":110974,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:31:23] local.INFO: TCP Data received {"connection_id":110974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:23] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:23] local.INFO: IMEI packet received {"connection_id":110974,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":110974,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:31:24] local.INFO: TCP Data received {"connection_id":110974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:24] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:24] local.INFO: IMEI packet received {"connection_id":110974,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":110974,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:31:24] local.INFO: TCP Data received {"connection_id":110974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:24] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:31:24] local.INFO: IMEI packet received {"connection_id":110974,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":110974,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:31:25] local.INFO: TCP Data received {"connection_id":110974,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef423f228012d0e610007063e180026011e20..."} 
[2026-06-23 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef423f228012d0e610007063e180026011e20..."} 
[2026-06-23 16:31:25] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef423f228012d0e610007063e180026011e20..."} 
[2026-06-23 16:31:25] local.INFO: Packet analysis {"connection_id":110974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:25] local.INFO: Extracted packet for processing {"connection_id":110974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:25] local.INFO: GPS Element Parsed {"raw_longitude":755917056,"raw_latitude":117849624,"longitude_deg":75.5917056,"latitude_deg":11.7849624,"altitude":38,"angle":286,"satellites":32,"speed":20,"hex_longitude":"2d0e6100","hex_latitude":"07063e18","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246388224001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21932941986758656,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037376056836499456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:25] 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-06-23 16:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782212457000,"timestamp_ms":1782212457000,"timestamp_seconds":1782212457,"priority":1,"record_length":96,"hex_timestamp":"0000019ef423f228"} 
[2026-06-23 16:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31:25] 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-06-23 16: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":92,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:25] 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-06-23 16: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-06-23 16:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":110974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":110974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":110974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16: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-06-23 16:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246388224001,"66":14450,"165":206,"94":11008,"24":20,"16":21932941986758656,"45":1037376056836499456},"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-06-23 16:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246388224001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:25] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:31:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21932941986758656,"km_value":21932941986758.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037376056836499456,"description":"Unknown IO ID 45"} 
[2026-06-23 16:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246388224001,"power":14450,"unknown_165":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":1037376056836499456}} 
[2026-06-23 16:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":110974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:25] local.INFO: GPS data processed {"connection_id":110974,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:25] local.INFO: Acknowledgment sent {"connection_id":110974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:29] local.INFO: TCP Data received {"connection_id":111776,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:31:29] local.INFO: Processing buffer {"connection_id":111776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:31:29] local.INFO: IMEI packet received {"connection_id":111776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":111776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:31:34] local.INFO: TCP Data received {"connection_id":111776,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:31:34] local.INFO: Processing buffer {"connection_id":111776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:31:34] local.INFO: IMEI packet received {"connection_id":111776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":111776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:31:35] local.INFO: TCP Data received {"connection_id":111776,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:35] local.INFO: Processing buffer {"connection_id":111776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:35] local.INFO: Packet analysis {"connection_id":111776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:31:35] local.INFO: Extracted packet for processing {"connection_id":111776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31: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-06-23 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":111776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:35] local.INFO: GPS data processed {"connection_id":111776,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:35] local.INFO: Acknowledgment sent {"connection_id":111776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:39] local.INFO: TCP Data received {"connection_id":111776,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:39] local.INFO: Processing buffer {"connection_id":111776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:31:39] local.INFO: Packet analysis {"connection_id":111776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:31:39] local.INFO: Extracted packet for processing {"connection_id":111776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:31:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31: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-06-23 16:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:31:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":111776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:39] local.INFO: GPS data processed {"connection_id":111776,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:39] local.INFO: Acknowledgment sent {"connection_id":111776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:49] local.INFO: TCP Data received {"connection_id":110973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef423d6d0012d7b070005e32c30000b015817..."} 
[2026-06-23 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef423d6d0012d7b070005e32c30000b015817..."} 
[2026-06-23 16:31:49] local.INFO: Processing buffer {"connection_id":110973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef423d6d0012d7b070005e32c30000b015817..."} 
[2026-06-23 16:31:49] local.INFO: Packet analysis {"connection_id":110973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:49] local.INFO: Extracted packet for processing {"connection_id":110973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98774064,"longitude_deg":76.303744,"latitude_deg":9.8774064,"altitude":11,"angle":344,"satellites":23,"speed":14,"hex_longitude":"2d7b0700","hex_latitude":"05e32c30","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246386944001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96405110803922944,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785532270592,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782212450000,"timestamp_ms":1782212450000,"timestamp_seconds":1782212450,"priority":1,"record_length":96,"hex_timestamp":"0000019ef423d6d0"} 
[2026-06-23 16:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":110973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":110973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":110973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246386944001,"66":12939,"95":206,"85":15104,"24":14,"16":96405110803922944,"45":8865124785532270592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246386944001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:31:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96405110803922944,"km_value":96405110803922.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785532270592,"description":"Unknown IO ID 45"} 
[2026-06-23 16:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246386944001,"power":12939,"unknown_95":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8865124785532270592}} 
[2026-06-23 16:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":110973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:49] local.INFO: GPS data processed {"connection_id":110973,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:49] local.INFO: Acknowledgment sent {"connection_id":110973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:31:57] local.INFO: TCP Data received {"connection_id":110974,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef423fde0012d0e5b0007063f400025011220..."} 
[2026-06-23 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef423fde0012d0e5b0007063f400025011220..."} 
[2026-06-23 16:31:57] local.INFO: Processing buffer {"connection_id":110974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef423fde0012d0e5b0007063f400025011220..."} 
[2026-06-23 16:31:57] local.INFO: Packet analysis {"connection_id":110974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:57] local.INFO: Extracted packet for processing {"connection_id":110974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":755915520,"raw_latitude":117849920,"longitude_deg":75.591552,"latitude_deg":11.784992,"altitude":37,"angle":274,"satellites":32,"speed":14,"hex_longitude":"2d0e5b00","hex_latitude":"07063f40","is_valid_coordinates":true} 
[2026-06-23 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246388992001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21933015001202688,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036109419441428480,"note":"Value kept but may cause issues"} 
[2026-06-23 16:31:57] 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-06-23 16:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782212460000,"timestamp_ms":1782212460000,"timestamp_seconds":1782212460,"priority":1,"record_length":96,"hex_timestamp":"0000019ef423fde0"} 
[2026-06-23 16:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:31:57] 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-06-23 16:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 16:31: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-06-23 16:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":110974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":110974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":110974,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:31: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-06-23 16:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246388992001,"66":14461,"165":206,"94":11008,"24":14,"16":21933015001202688,"45":1036109419441428480},"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-06-23 16:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246388992001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:31:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:31:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21933015001202688,"km_value":21933015001202.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036109419441428480,"description":"Unknown IO ID 45"} 
[2026-06-23 16:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246388992001,"power":14461,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1036109419441428480}} 
[2026-06-23 16:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":110974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:31:57] local.INFO: GPS data processed {"connection_id":110974,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:31:57] local.INFO: Acknowledgment sent {"connection_id":110974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:32:10] local.INFO: TCP Data received {"connection_id":111161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:10] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:10] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:32:12] local.INFO: TCP Data received {"connection_id":111161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:12] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:12] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:32:15] local.INFO: TCP Data received {"connection_id":111161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:15] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:32:15] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:32:16] local.INFO: TCP Data received {"connection_id":111161,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef423fde0012d7b04c005e34408000a014918..."} 
[2026-06-23 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef423fde0012d7b04c005e34408000a014918..."} 
[2026-06-23 16:32:16] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef423fde0012d7b04c005e34408000a014918..."} 
[2026-06-23 16:32:16] local.INFO: Packet analysis {"connection_id":111161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:32:16] local.INFO: Extracted packet for processing {"connection_id":111161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef423"} 
[2026-06-23 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98780168,"longitude_deg":76.3036864,"latitude_deg":9.8780168,"altitude":10,"angle":329,"satellites":24,"speed":12,"hex_longitude":"2d7b04c0","hex_latitude":"05e34408","is_valid_coordinates":true} 
[2026-06-23 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246387200001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96405411451633664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416788271104,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212460000,"timestamp_ms":1782212460000,"timestamp_seconds":1782212460,"priority":1,"record_length":96,"hex_timestamp":"0000019ef423fde0"} 
[2026-06-23 16:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:32:16] 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-06-23 16:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246387200001,"66":12461,"95":206,"85":15104,"24":12,"16":96405411451633664,"45":8865054416788271104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246387200001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:32:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96405411451633664,"km_value":96405411451633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416788271104,"description":"Unknown IO ID 45"} 
[2026-06-23 16:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246387200001,"power":12461,"unknown_95":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8865054416788271104}} 
[2026-06-23 16:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":111161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:32:16] local.INFO: GPS data processed {"connection_id":111161,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:32:16] local.INFO: Acknowledgment sent {"connection_id":111161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:32:21] local.INFO: TCP Data received {"connection_id":112718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:21] local.INFO: Processing buffer {"connection_id":112718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:21] local.INFO: IMEI packet received {"connection_id":112718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":112718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:32:22] local.INFO: TCP Data received {"connection_id":112718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:22] local.INFO: Processing buffer {"connection_id":112718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:22] local.INFO: IMEI packet received {"connection_id":112718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":112718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:32:23] local.INFO: TCP Data received {"connection_id":112718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:23] local.INFO: Processing buffer {"connection_id":112718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:23] local.INFO: IMEI packet received {"connection_id":112718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":112718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:32:24] local.INFO: TCP Data received {"connection_id":112717,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:32:24] local.INFO: Processing buffer {"connection_id":112717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:32:24] local.INFO: IMEI packet received {"connection_id":112717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":112717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:32:24] local.INFO: TCP Data received {"connection_id":112718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112718,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:24] local.INFO: Processing buffer {"connection_id":112718,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:32:24] local.INFO: IMEI packet received {"connection_id":112718,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":112718,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:32:29] local.INFO: TCP Data received {"connection_id":112717,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:32:29] local.INFO: Processing buffer {"connection_id":112717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:32:29] local.INFO: IMEI packet received {"connection_id":112717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":112717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:32:30] local.INFO: TCP Data received {"connection_id":112717,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:32:30] local.INFO: Processing buffer {"connection_id":112717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:32:30] local.INFO: Packet analysis {"connection_id":112717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:32:30] local.INFO: Extracted packet for processing {"connection_id":112717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:32:30] 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-06-23 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:32:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":112717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:32:30] local.INFO: GPS data processed {"connection_id":112717,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:32:30] local.INFO: Acknowledgment sent {"connection_id":112717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:32:47] local.INFO: TCP Data received {"connection_id":111161,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42405b0012d7b040005e345e80009015516..."} 
[2026-06-23 16:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42405b0012d7b040005e345e80009015516..."} 
[2026-06-23 16:32:47] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42405b0012d7b040005e345e80009015516..."} 
[2026-06-23 16:32:47] local.INFO: Packet analysis {"connection_id":111161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef424"} 
[2026-06-23 16:32:47] local.INFO: Extracted packet for processing {"connection_id":111161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef424"} 
[2026-06-23 16:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98780648,"longitude_deg":76.3036672,"latitude_deg":9.8780648,"altitude":9,"angle":341,"satellites":22,"speed":7,"hex_longitude":"2d7b0400","hex_latitude":"05e345e8","is_valid_coordinates":true} 
[2026-06-23 16:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246389760001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96405437221437440,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098092234752,"note":"Value kept but may cause issues"} 
[2026-06-23 16:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212462000,"timestamp_ms":1782212462000,"timestamp_seconds":1782212462,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42405b0"} 
[2026-06-23 16:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 16:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246389760001,"66":12885,"95":206,"85":15104,"24":7,"16":96405437221437440,"45":8864421098092234752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246389760001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:32:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96405437221437440,"km_value":96405437221437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098092234752,"description":"Unknown IO ID 45"} 
[2026-06-23 16:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246389760001,"power":12885,"unknown_95":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8864421098092234752}} 
[2026-06-23 16:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":111161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:32:48] local.INFO: GPS data processed {"connection_id":111161,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:32:48] local.INFO: Acknowledgment sent {"connection_id":111161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:33:02] local.INFO: TCP Data received {"connection_id":112717,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:33:02] local.INFO: Processing buffer {"connection_id":112717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42117b0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:33:02] local.INFO: Packet analysis {"connection_id":112717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:33:02] local.INFO: Extracted packet for processing {"connection_id":112717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef421"} 
[2026-06-23 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246264064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212270000,"timestamp_ms":1782212270000,"timestamp_seconds":1782212270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42117b0"} 
[2026-06-23 16:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:33:02] 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-06-23 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246264064001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246264064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:33:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:33:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246264064001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":112717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:33:02] local.INFO: GPS data processed {"connection_id":112717,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:33:02] local.INFO: Acknowledgment sent {"connection_id":112717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:33:10] local.INFO: TCP Data received {"connection_id":112719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:33:10] local.INFO: Processing buffer {"connection_id":112719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:33:10] local.INFO: IMEI packet received {"connection_id":112719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":112719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:33:15] local.INFO: TCP Data received {"connection_id":112719,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:33:15] local.INFO: Processing buffer {"connection_id":112719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:33:15] local.INFO: IMEI packet received {"connection_id":112719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":112719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:33:16] local.INFO: TCP Data received {"connection_id":112719,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4240998012d7b038005e346c00009016219..."} 
[2026-06-23 16:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4240998012d7b038005e346c00009016219..."} 
[2026-06-23 16:33:16] local.INFO: Processing buffer {"connection_id":112719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4240998012d7b038005e346c00009016219..."} 
[2026-06-23 16:33:16] local.INFO: Packet analysis {"connection_id":112719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef424"} 
[2026-06-23 16:33:16] local.INFO: Extracted packet for processing {"connection_id":112719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef424"} 
[2026-06-23 16:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98780864,"longitude_deg":76.3036544,"latitude_deg":9.8780864,"altitude":9,"angle":354,"satellites":25,"speed":5,"hex_longitude":"2d7b0380","hex_latitude":"05e346c0","is_valid_coordinates":true} 
[2026-06-23 16:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246390272001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96405450106339328,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991859824640,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212463000,"timestamp_ms":1782212463000,"timestamp_seconds":1782212463,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4240998"} 
[2026-06-23 16:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 16:33:16] 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-06-23 16:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246390272001,"66":12722,"95":206,"85":15104,"24":5,"16":96405450106339328,"45":8864209991859824640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246390272001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:33:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96405450106339328,"km_value":96405450106339.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991859824640,"description":"Unknown IO ID 45"} 
[2026-06-23 16:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246390272001,"power":12722,"unknown_95":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8864209991859824640}} 
[2026-06-23 16:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":112719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:33:16] local.INFO: GPS data processed {"connection_id":112719,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:33:16] local.INFO: Acknowledgment sent {"connection_id":112719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:33:24] local.INFO: TCP Data received {"connection_id":111777,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:33:24] local.INFO: Processing buffer {"connection_id":111777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:33:24] local.INFO: IMEI packet received {"connection_id":111777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":111777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:33:29] local.INFO: TCP Data received {"connection_id":111777,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:33:29] local.INFO: Processing buffer {"connection_id":111777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:33:29] local.INFO: IMEI packet received {"connection_id":111777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":111777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:33:30] local.INFO: TCP Data received {"connection_id":111777,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:33:30] local.INFO: Processing buffer {"connection_id":111777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:33:30] local.INFO: Packet analysis {"connection_id":111777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:33:30] local.INFO: Extracted packet for processing {"connection_id":111777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:33:30] 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-06-23 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:33:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:33:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":111777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:33:30] local.INFO: GPS data processed {"connection_id":111777,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:33:30] local.INFO: Acknowledgment sent {"connection_id":111777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:33:49] local.INFO: TCP Data received {"connection_id":112719,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4244430012d7b000005e355c8000b015723..."} 
[2026-06-23 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4244430012d7b000005e355c8000b015723..."} 
[2026-06-23 16:33:49] local.INFO: Processing buffer {"connection_id":112719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4244430012d7b000005e355c8000b015723..."} 
[2026-06-23 16:33:49] local.INFO: Packet analysis {"connection_id":112719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef424"} 
[2026-06-23 16:33:49] local.INFO: Extracted packet for processing {"connection_id":112719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef424"} 
[2026-06-23 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":763035648,"raw_latitude":98784712,"longitude_deg":76.3035648,"latitude_deg":9.8784712,"altitude":11,"angle":343,"satellites":35,"speed":25,"hex_longitude":"2d7b0000","hex_latitude":"05e355c8","is_valid_coordinates":true} 
[2026-06-23 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246390528001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96405647674834944,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254371524608,"note":"Value kept but may cause issues"} 
[2026-06-23 16:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782212478000,"timestamp_ms":1782212478000,"timestamp_seconds":1782212478,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4244430"} 
[2026-06-23 16:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 16:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246390528001,"66":12798,"95":206,"85":15104,"24":25,"16":96405647674834944,"45":8864069254371524608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246390528001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:33:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:33:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96405647674834944,"km_value":96405647674834.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254371524608,"description":"Unknown IO ID 45"} 
[2026-06-23 16:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246390528001,"power":12798,"unknown_95":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8864069254371524608}} 
[2026-06-23 16:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":112719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:33:49] local.INFO: GPS data processed {"connection_id":112719,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:33:49] local.INFO: Acknowledgment sent {"connection_id":112719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:34:02] local.INFO: TCP Data received {"connection_id":111777,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:02] local.INFO: Processing buffer {"connection_id":111777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:02] local.INFO: Packet analysis {"connection_id":111777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:34:02] local.INFO: Extracted packet for processing {"connection_id":111777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:34:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:34:02] 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-06-23 16:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:34:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":111777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:34:02] local.INFO: GPS data processed {"connection_id":111777,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:34:02] local.INFO: Acknowledgment sent {"connection_id":111777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:34:12] local.INFO: TCP Data received {"connection_id":112720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:12] local.INFO: Processing buffer {"connection_id":112720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:12] local.INFO: IMEI packet received {"connection_id":112720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":112720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:34:15] local.INFO: TCP Data received {"connection_id":112720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:15] local.INFO: Processing buffer {"connection_id":112720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:15] local.INFO: IMEI packet received {"connection_id":112720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":112720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:34:16] local.INFO: TCP Data received {"connection_id":112720,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:16] local.INFO: Processing buffer {"connection_id":112720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:34:16] local.INFO: IMEI packet received {"connection_id":112720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":112720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:34:17] local.INFO: TCP Data received {"connection_id":112720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42676b0012d7acc4005e410000007014c2b..."} 
[2026-06-23 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42676b0012d7acc4005e410000007014c2b..."} 
[2026-06-23 16:34:17] local.INFO: Processing buffer {"connection_id":112720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42676b0012d7acc4005e410000007014c2b..."} 
[2026-06-23 16:34:17] local.INFO: Packet analysis {"connection_id":112720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:34:17] local.INFO: Extracted packet for processing {"connection_id":112720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763022400,"raw_latitude":98832384,"longitude_deg":76.30224,"latitude_deg":9.8832384,"altitude":7,"angle":332,"satellites":43,"speed":16,"hex_longitude":"2d7acc40","hex_latitude":"05e41000","is_valid_coordinates":true} 
[2026-06-23 16:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246429696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96408061446455296,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339154944,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782212622000,"timestamp_ms":1782212622000,"timestamp_seconds":1782212622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42676b0"} 
[2026-06-23 16:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:34:17] 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-06-23 16:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:34:17] 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-06-23 16:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246429696001,"66":12439,"97":206,"85":15104,"24":16,"16":96408061446455296,"45":8849502924339154944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246429696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96408061446455296,"km_value":96408061446455.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339154944,"description":"Unknown IO ID 45"} 
[2026-06-23 16:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246429696001,"power":12439,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8849502924339154944}} 
[2026-06-23 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":112720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:34:17] local.INFO: GPS data processed {"connection_id":112720,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:34:17] local.INFO: Acknowledgment sent {"connection_id":112720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:34:21] local.INFO: TCP Data received {"connection_id":112720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42695f0012d7ac90005e411c80006010629..."} 
[2026-06-23 16:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42695f0012d7ac90005e411c80006010629..."} 
[2026-06-23 16:34:21] local.INFO: Processing buffer {"connection_id":112720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42695f0012d7ac90005e411c80006010629..."} 
[2026-06-23 16:34:21] local.INFO: Packet analysis {"connection_id":112720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:34:21] local.INFO: Extracted packet for processing {"connection_id":112720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":763021568,"raw_latitude":98832840,"longitude_deg":76.3021568,"latitude_deg":9.883284,"altitude":6,"angle":262,"satellites":41,"speed":5,"hex_longitude":"2d7ac900","hex_latitude":"05e411c8","is_valid_coordinates":true} 
[2026-06-23 16:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246431232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96408117281030144,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921449984,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782212630000,"timestamp_ms":1782212630000,"timestamp_seconds":1782212630,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42695f0"} 
[2026-06-23 16:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 16:34:21] 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-06-23 16:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246431232001,"66":12906,"97":206,"85":15104,"24":5,"16":96408117281030144,"45":8848517761921449984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246431232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:34:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96408117281030144,"km_value":96408117281030.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921449984,"description":"Unknown IO ID 45"} 
[2026-06-23 16:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246431232001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848517761921449984}} 
[2026-06-23 16:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":112720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:34:21] local.INFO: GPS data processed {"connection_id":112720,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:34:21] local.INFO: Acknowledgment sent {"connection_id":112720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:34:29] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:34:29] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:34:29] local.INFO: IMEI packet received {"connection_id":110977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":110977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:34:34] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:34:34] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:34:34] local.INFO: IMEI packet received {"connection_id":110977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":110977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:34:35] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:35] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:35] local.INFO: Packet analysis {"connection_id":110977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:34:35] local.INFO: Extracted packet for processing {"connection_id":110977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:34: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-06-23 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":110977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:34:35] local.INFO: GPS data processed {"connection_id":110977,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:34:35] local.INFO: Acknowledgment sent {"connection_id":110977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:34:39] local.INFO: TCP Data received {"connection_id":110977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:39] local.INFO: Processing buffer {"connection_id":110977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:34:39] local.INFO: Packet analysis {"connection_id":110977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:34:39] local.INFO: Extracted packet for processing {"connection_id":110977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:34:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:34: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-06-23 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":110977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:34:39] local.INFO: GPS data processed {"connection_id":110977,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:34:39] local.INFO: Acknowledgment sent {"connection_id":110977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:34:53] local.INFO: TCP Data received {"connection_id":112720,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef426e7f8012d7aadc005e40d080008010e26..."} 
[2026-06-23 16:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef426e7f8012d7aadc005e40d080008010e26..."} 
[2026-06-23 16:34:53] local.INFO: Processing buffer {"connection_id":112720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef426e7f8012d7aadc005e40d080008010e26..."} 
[2026-06-23 16:34:53] local.INFO: Packet analysis {"connection_id":112720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:34:53] local.INFO: Extracted packet for processing {"connection_id":112720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":763014592,"raw_latitude":98831624,"longitude_deg":76.3014592,"latitude_deg":9.8831624,"altitude":8,"angle":270,"satellites":38,"speed":9,"hex_longitude":"2d7aadc0","hex_latitude":"05e40d08","is_valid_coordinates":true} 
[2026-06-23 16:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246433280001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96408452288479232,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847602968247257088,"note":"Value kept but may cause issues"} 
[2026-06-23 16:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782212651000,"timestamp_ms":1782212651000,"timestamp_seconds":1782212651,"priority":1,"record_length":96,"hex_timestamp":"0000019ef426e7f8"} 
[2026-06-23 16:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 16:34:53] 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-06-23 16:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246433280001,"66":13037,"97":206,"85":15104,"24":9,"16":96408452288479232,"45":8847602968247257088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246433280001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:34:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96408452288479232,"km_value":96408452288479.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847602968247257088,"description":"Unknown IO ID 45"} 
[2026-06-23 16:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246433280001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8847602968247257088}} 
[2026-06-23 16:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":112720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:34:53] local.INFO: GPS data processed {"connection_id":112720,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:34:53] local.INFO: Acknowledgment sent {"connection_id":112720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:35:07] local.INFO: TCP Data received {"connection_id":111164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:07] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:07] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:35:09] local.INFO: TCP Data received {"connection_id":111164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:09] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:09] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:35:10] local.INFO: TCP Data received {"connection_id":111164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:10] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:10] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:35:15] local.INFO: TCP Data received {"connection_id":111164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:15] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:35:15] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:35:16] local.INFO: TCP Data received {"connection_id":111164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef426f798012d7aa78005e40c180008010225..."} 
[2026-06-23 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef426f798012d7aa78005e40c180008010225..."} 
[2026-06-23 16:35:16] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef426f798012d7aa78005e40c180008010225..."} 
[2026-06-23 16:35:16] local.INFO: Packet analysis {"connection_id":111164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:35:16] local.INFO: Extracted packet for processing {"connection_id":111164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef426"} 
[2026-06-23 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763012992,"raw_latitude":98831384,"longitude_deg":76.3012992,"latitude_deg":9.8831384,"altitude":8,"angle":258,"satellites":37,"speed":19,"hex_longitude":"2d7aa780","hex_latitude":"05e40c18","is_valid_coordinates":true} 
[2026-06-23 16:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246438656001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96408529597890560,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839932775131580416,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212655000,"timestamp_ms":1782212655000,"timestamp_seconds":1782212655,"priority":1,"record_length":96,"hex_timestamp":"0000019ef426f798"} 
[2026-06-23 16:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 16:35:16] 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-06-23 16:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246438656001,"66":12765,"97":206,"85":15104,"24":19,"16":96408529597890560,"45":8839932775131580416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246438656001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96408529597890560,"km_value":96408529597890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839932775131580416,"description":"Unknown IO ID 45"} 
[2026-06-23 16:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246438656001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8839932775131580416}} 
[2026-06-23 16:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":111164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:35:16] local.INFO: GPS data processed {"connection_id":111164,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:35:16] local.INFO: Acknowledgment sent {"connection_id":111164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:35:24] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:35:24] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:35:24] local.INFO: IMEI packet received {"connection_id":111165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":111165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:35:29] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:35:29] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:35:29] local.INFO: IMEI packet received {"connection_id":111165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":111165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:35:30] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:35:30] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:35:30] local.INFO: Packet analysis {"connection_id":111165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:35:30] local.INFO: Extracted packet for processing {"connection_id":111165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:35:30] 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-06-23 16:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:35:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":111165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:35:30] local.INFO: GPS data processed {"connection_id":111165,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:35:30] local.INFO: Acknowledgment sent {"connection_id":111165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:35:47] local.INFO: TCP Data received {"connection_id":111164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4283bd0012d7acc8005e41128000600852d..."} 
[2026-06-23 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4283bd0012d7acc8005e41128000600852d..."} 
[2026-06-23 16:35:47] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4283bd0012d7acc8005e41128000600852d..."} 
[2026-06-23 16:35:47] local.INFO: Packet analysis {"connection_id":111164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:35:47] local.INFO: Extracted packet for processing {"connection_id":111164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98832680,"longitude_deg":76.3022464,"latitude_deg":9.883268,"altitude":6,"angle":133,"satellites":45,"speed":10,"hex_longitude":"2d7acc80","hex_latitude":"05e41128","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246460416001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96409268332265472,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200688640,"note":"Value kept but may cause issues"} 
[2026-06-23 16:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212738000,"timestamp_ms":1782212738000,"timestamp_seconds":1782212738,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4283bd0"} 
[2026-06-23 16:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 16:35:47] 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-06-23 16: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-06-23 16:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246460416001,"66":12743,"97":206,"85":15104,"24":10,"16":96409268332265472,"45":8848165918200688640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246460416001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96409268332265472,"km_value":96409268332265.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200688640,"description":"Unknown IO ID 45"} 
[2026-06-23 16:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246460416001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848165918200688640}} 
[2026-06-23 16:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":111164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:35:47] local.INFO: GPS data processed {"connection_id":111164,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:35:47] local.INFO: Acknowledgment sent {"connection_id":111164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:36:02] local.INFO: TCP Data received {"connection_id":111165,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:36:02] local.INFO: Processing buffer {"connection_id":111165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:36:02] local.INFO: Packet analysis {"connection_id":111165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:36:02] local.INFO: Extracted packet for processing {"connection_id":111165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:36:02] 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-06-23 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:36:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:36:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":111165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:36:02] local.INFO: GPS data processed {"connection_id":111165,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:36:02] local.INFO: Acknowledgment sent {"connection_id":111165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:36:10] local.INFO: TCP Data received {"connection_id":111167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:36:10] local.INFO: Processing buffer {"connection_id":111167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:36:10] local.INFO: IMEI packet received {"connection_id":111167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":111167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:36:13] local.INFO: TCP Data received {"connection_id":111167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:36:13] local.INFO: Processing buffer {"connection_id":111167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:36:13] local.INFO: IMEI packet received {"connection_id":111167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":111167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:36:14] local.INFO: TCP Data received {"connection_id":111167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4283fb8012d7acd0005e41060000600922c..."} 
[2026-06-23 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4283fb8012d7acd0005e41060000600922c..."} 
[2026-06-23 16:36:14] local.INFO: Processing buffer {"connection_id":111167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4283fb8012d7acd0005e41060000600922c..."} 
[2026-06-23 16:36:14] local.INFO: Packet analysis {"connection_id":111167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:36:14] local.INFO: Extracted packet for processing {"connection_id":111167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:36:14] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832480,"longitude_deg":76.3022592,"latitude_deg":9.883248,"altitude":6,"angle":146,"satellites":44,"speed":12,"hex_longitude":"2d7acd00","hex_latitude":"05e41060","is_valid_coordinates":true} 
[2026-06-23 16:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246460928001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96409281217167360,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665703424,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782212739000,"timestamp_ms":1782212739000,"timestamp_seconds":1782212739,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4283fb8"} 
[2026-06-23 16:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:36:14] 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-06-23 16:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 16:36:14] 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-06-23 16:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":111167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":111167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":111167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246460928001,"66":12961,"97":206,"85":15104,"24":12,"16":96409281217167360,"45":8848588130665703424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246460928001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96409281217167360,"km_value":96409281217167.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665703424,"description":"Unknown IO ID 45"} 
[2026-06-23 16:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246460928001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8848588130665703424}} 
[2026-06-23 16:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":111167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:36:14] local.INFO: GPS data processed {"connection_id":111167,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:36:14] local.INFO: Acknowledgment sent {"connection_id":111167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:36:23] local.INFO: TCP Data received {"connection_id":111166,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:36:23] local.INFO: Processing buffer {"connection_id":111166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:36:23] local.INFO: IMEI packet received {"connection_id":111166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":111166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:36:24] local.INFO: TCP Data received {"connection_id":112723,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:36:24] local.INFO: Processing buffer {"connection_id":112723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:36:24] local.INFO: IMEI packet received {"connection_id":112723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":112723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:36:29] local.INFO: TCP Data received {"connection_id":112723,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:36:29] local.INFO: Processing buffer {"connection_id":112723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:36:29] local.INFO: IMEI packet received {"connection_id":112723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":112723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:36:30] local.INFO: TCP Data received {"connection_id":112723,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:36:30] local.INFO: Processing buffer {"connection_id":112723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:36:30] local.INFO: Packet analysis {"connection_id":112723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:36:30] local.INFO: Extracted packet for processing {"connection_id":112723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:36:30] 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-06-23 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:36:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":112723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:36:30] local.INFO: GPS data processed {"connection_id":112723,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:36:30] local.INFO: Acknowledgment sent {"connection_id":112723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:36:46] local.INFO: TCP Data received {"connection_id":111167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4284788012d7ace4005e40d90000700a129..."} 
[2026-06-23 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4284788012d7ace4005e40d90000700a129..."} 
[2026-06-23 16:36:46] local.INFO: Processing buffer {"connection_id":111167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4284788012d7ace4005e40d90000700a129..."} 
[2026-06-23 16:36:46] local.INFO: Packet analysis {"connection_id":111167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:36:46] local.INFO: Extracted packet for processing {"connection_id":111167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98831760,"longitude_deg":76.3022912,"latitude_deg":9.883176,"altitude":7,"angle":161,"satellites":41,"speed":19,"hex_longitude":"2d7ace40","hex_latitude":"05e40d90","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246461184001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96409319871873024,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868154007552,"note":"Value kept but may cause issues"} 
[2026-06-23 16:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782212741000,"timestamp_ms":1782212741000,"timestamp_seconds":1782212741,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4284788"} 
[2026-06-23 16:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:36: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-06-23 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 16:36:46] 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-06-23 16: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-06-23 16:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246461184001,"66":11895,"97":206,"85":15104,"24":19,"16":96409319871873024,"45":8848728868154007552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246461184001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96409319871873024,"km_value":96409319871873.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868154007552,"description":"Unknown IO ID 45"} 
[2026-06-23 16:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246461184001,"power":11895,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8848728868154007552}} 
[2026-06-23 16:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":111167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:36:46] local.INFO: GPS data processed {"connection_id":111167,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:36:46] local.INFO: Acknowledgment sent {"connection_id":111167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:37:02] local.INFO: TCP Data received {"connection_id":112723,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:37:02] local.INFO: Processing buffer {"connection_id":112723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:37:02] local.INFO: Packet analysis {"connection_id":112723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:37:02] local.INFO: Extracted packet for processing {"connection_id":112723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:37:02] 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-06-23 16:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:37:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":112723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:37:02] local.INFO: GPS data processed {"connection_id":112723,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:37:02] local.INFO: Acknowledgment sent {"connection_id":112723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:37:06] local.INFO: TCP Data received {"connection_id":111778,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:37:06] local.INFO: Processing buffer {"connection_id":111778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:37:06] local.INFO: IMEI packet received {"connection_id":111778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":111778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:37:11] local.INFO: TCP Data received {"connection_id":112724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:11] local.INFO: Processing buffer {"connection_id":112724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:11] local.INFO: IMEI packet received {"connection_id":112724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":112724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:37:11] local.INFO: TCP Data received {"connection_id":112724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:11] local.INFO: Processing buffer {"connection_id":112724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:11] local.INFO: IMEI packet received {"connection_id":112724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":112724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:37:15] local.INFO: TCP Data received {"connection_id":112724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:15] local.INFO: Processing buffer {"connection_id":112724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:37:15] local.INFO: IMEI packet received {"connection_id":112724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":112724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:37:16] local.INFO: TCP Data received {"connection_id":112724,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4287668012d7ad64005e3e8a0000a00a72b..."} 
[2026-06-23 16:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4287668012d7ad64005e3e8a0000a00a72b..."} 
[2026-06-23 16:37:16] local.INFO: Processing buffer {"connection_id":112724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4287668012d7ad64005e3e8a0000a00a72b..."} 
[2026-06-23 16:37:16] local.INFO: Packet analysis {"connection_id":112724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:37:16] local.INFO: Extracted packet for processing {"connection_id":112724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763024960,"raw_latitude":98822304,"longitude_deg":76.302496,"latitude_deg":9.8822304,"altitude":10,"angle":167,"satellites":43,"speed":38,"hex_longitude":"2d7ad640","hex_latitude":"05e3e8a0","is_valid_coordinates":true} 
[2026-06-23 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246461696001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96409788023308288,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874711552,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212753000,"timestamp_ms":1782212753000,"timestamp_seconds":1782212753,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4287668"} 
[2026-06-23 16:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:37:16] 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-06-23 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 16:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246461696001,"66":12765,"97":206,"85":15104,"24":38,"16":96409788023308288,"45":8849080711874711552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246461696001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96409788023308288,"km_value":96409788023308.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874711552,"description":"Unknown IO ID 45"} 
[2026-06-23 16:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246461696001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8849080711874711552}} 
[2026-06-23 16:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":112724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:37:16] local.INFO: GPS data processed {"connection_id":112724,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:37:16] local.INFO: Acknowledgment sent {"connection_id":112724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:37:23] local.INFO: TCP Data received {"connection_id":111169,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:37:23] local.INFO: Processing buffer {"connection_id":111169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:37:23] local.INFO: IMEI packet received {"connection_id":111169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":111169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:37:28] local.INFO: TCP Data received {"connection_id":111168,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:37:28] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:37:28] local.INFO: IMEI packet received {"connection_id":111168,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":111168,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:37:29] local.INFO: TCP Data received {"connection_id":111169,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:37:29] local.INFO: Processing buffer {"connection_id":111169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:37:29] local.INFO: IMEI packet received {"connection_id":111169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":111169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:37:29] local.INFO: TCP Data received {"connection_id":111168,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4295510012d0e3bc00706e2d8002501661f..."} 
[2026-06-23 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4295510012d0e3bc00706e2d8002501661f..."} 
[2026-06-23 16:37:29] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4295510012d0e3bc00706e2d8002501661f..."} 
[2026-06-23 16:37:29] local.INFO: Packet analysis {"connection_id":111168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef429"} 
[2026-06-23 16:37:29] local.INFO: Extracted packet for processing {"connection_id":111168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef429"} 
[2026-06-23 16:37:29] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117891800,"longitude_deg":75.590752,"latitude_deg":11.78918,"altitude":37,"angle":358,"satellites":31,"speed":13,"hex_longitude":"2d0e3bc0","hex_latitude":"0706e2d8","is_valid_coordinates":true} 
[2026-06-23 16:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246478080001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21936708673077248,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025694845313490944,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:29] 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-06-23 16:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782212810000,"timestamp_ms":1782212810000,"timestamp_seconds":1782212810,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4295510"} 
[2026-06-23 16:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:37: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-06-23 16:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:37:29] 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-06-23 16:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:37: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-06-23 16:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246478080001,"66":14537,"219":206,"94":10240,"24":13,"16":21936708673077248,"45":1025694845313490944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 16:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246478080001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:37:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 16:37:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21936708673077248,"km_value":21936708673077.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025694845313490944,"description":"Unknown IO ID 45"} 
[2026-06-23 16:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246478080001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025694845313490944}} 
[2026-06-23 16:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":111168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:37:29] local.INFO: GPS data processed {"connection_id":111168,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:37:29] local.INFO: Acknowledgment sent {"connection_id":111168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:37:30] local.INFO: TCP Data received {"connection_id":111169,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:37:30] local.INFO: Processing buffer {"connection_id":111169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:37:30] local.INFO: Packet analysis {"connection_id":111169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:37:30] local.INFO: Extracted packet for processing {"connection_id":111169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:37:30] 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-06-23 16:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:37:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":111169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:37:30] local.INFO: GPS data processed {"connection_id":111169,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:37:30] local.INFO: Acknowledgment sent {"connection_id":111169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:37:47] local.INFO: TCP Data received {"connection_id":112724,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4289990012d7ae04005e3c520000700a32c..."} 
[2026-06-23 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4289990012d7ae04005e3c520000700a32c..."} 
[2026-06-23 16:37:47] local.INFO: Processing buffer {"connection_id":112724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4289990012d7ae04005e3c520000700a32c..."} 
[2026-06-23 16:37:47] local.INFO: Packet analysis {"connection_id":112724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:37:47] local.INFO: Extracted packet for processing {"connection_id":112724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763027520,"raw_latitude":98813216,"longitude_deg":76.302752,"latitude_deg":9.8813216,"altitude":7,"angle":163,"satellites":44,"speed":38,"hex_longitude":"2d7ae040","hex_latitude":"05e3c520","is_valid_coordinates":true} 
[2026-06-23 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246464768001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96410243289841664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851332511685976064,"note":"Value kept but may cause issues"} 
[2026-06-23 16:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212762000,"timestamp_ms":1782212762000,"timestamp_seconds":1782212762,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4289990"} 
[2026-06-23 16:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:37: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-06-23 16:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246464768001,"66":12939,"97":206,"85":15104,"24":38,"16":96410243289841664,"45":8851332511685976064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246464768001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96410243289841664,"km_value":96410243289841.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851332511685976064,"description":"Unknown IO ID 45"} 
[2026-06-23 16:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246464768001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8851332511685976064}} 
[2026-06-23 16:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":112724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:37:47] local.INFO: GPS data processed {"connection_id":112724,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:37:47] local.INFO: Acknowledgment sent {"connection_id":112724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:00] local.INFO: TCP Data received {"connection_id":111168,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4299f48012d0e3c400706f4000027000a1f..."} 
[2026-06-23 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4299f48012d0e3c400706f4000027000a1f..."} 
[2026-06-23 16:38:00] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4299f48012d0e3c400706f4000027000a1f..."} 
[2026-06-23 16:38:00] local.INFO: Packet analysis {"connection_id":111168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef429"} 
[2026-06-23 16:38:00] local.INFO: Extracted packet for processing {"connection_id":111168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef429"} 
[2026-06-23 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":755907648,"raw_latitude":117896192,"longitude_deg":75.5907648,"latitude_deg":11.7896192,"altitude":39,"angle":10,"satellites":31,"speed":13,"hex_longitude":"2d0e3c40","hex_latitude":"0706f400","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246479360001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21936923421442048,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476569753600,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:00] 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-06-23 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782212829000,"timestamp_ms":1782212829000,"timestamp_seconds":1782212829,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4299f48"} 
[2026-06-23 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-06-23 16:38: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-06-23 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 16:38:00] 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-06-23 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-06-23 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-06-23 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111168,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:38:00] 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-06-23 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246479360001,"66":14515,"219":206,"94":10240,"24":13,"16":21936923421442048,"45":1025624476569753600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246479360001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 16:38:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21936923421442048,"km_value":21936923421442.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476569753600,"description":"Unknown IO ID 45"} 
[2026-06-23 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246479360001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025624476569753600}} 
[2026-06-23 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":111168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:00] local.INFO: GPS data processed {"connection_id":111168,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:00] local.INFO: Acknowledgment sent {"connection_id":111168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:02] local.INFO: TCP Data received {"connection_id":111169,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:38:02] local.INFO: Processing buffer {"connection_id":111169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:38:02] local.INFO: Packet analysis {"connection_id":111169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:38:02] local.INFO: Extracted packet for processing {"connection_id":111169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:38:02] 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-06-23 16:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":111169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:02] local.INFO: GPS data processed {"connection_id":111169,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:02] local.INFO: Acknowledgment sent {"connection_id":111169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:10] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:38:10] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:38:10] local.INFO: IMEI packet received {"connection_id":110980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":110980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:38:15] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:38:15] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:38:15] local.INFO: IMEI packet received {"connection_id":110980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":110980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:38:17] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef428c0a0012d7aeb4005e3a1d00006009f2d..."} 
[2026-06-23 16:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef428c0a0012d7aeb4005e3a1d00006009f2d..."} 
[2026-06-23 16:38:17] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef428c0a0012d7aeb4005e3a1d00006009f2d..."} 
[2026-06-23 16:38:17] local.INFO: Packet analysis {"connection_id":110980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:38:17] local.INFO: Extracted packet for processing {"connection_id":110980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98804176,"longitude_deg":76.3030336,"latitude_deg":9.8804176,"altitude":6,"angle":159,"satellites":45,"speed":37,"hex_longitude":"2d7aeb40","hex_latitude":"05e3a1d0","is_valid_coordinates":true} 
[2026-06-23 16:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246467072001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96410702851342336,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854147261450756096,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782212772000,"timestamp_ms":1782212772000,"timestamp_seconds":1782212772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef428c0a0"} 
[2026-06-23 16:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:38:17] 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-06-23 16:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 16:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":110980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":110980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":110980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246467072001,"66":12613,"97":206,"85":15104,"24":37,"16":96410702851342336,"45":8854147261450756096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246467072001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96410702851342336,"km_value":96410702851342.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854147261450756096,"description":"Unknown IO ID 45"} 
[2026-06-23 16:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246467072001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8854147261450756096}} 
[2026-06-23 16:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":110980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:17] local.INFO: GPS data processed {"connection_id":110980,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:17] local.INFO: Acknowledgment sent {"connection_id":110980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:20] local.INFO: TCP Data received {"connection_id":111170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:20] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:20] local.INFO: IMEI packet received {"connection_id":111170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":111170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:38:23] local.INFO: TCP Data received {"connection_id":111779,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:38:23] local.INFO: Processing buffer {"connection_id":111779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:38:23] local.INFO: IMEI packet received {"connection_id":111779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":111779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:38:24] local.INFO: TCP Data received {"connection_id":111170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:24] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:24] local.INFO: IMEI packet received {"connection_id":111170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":111170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:38:27] local.INFO: TCP Data received {"connection_id":111170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:27] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:38:27] local.INFO: IMEI packet received {"connection_id":111170,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":111170,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:38:27] local.INFO: TCP Data received {"connection_id":111170,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef429b2d0012d0e3cc00706fa18002601671f..."} 
[2026-06-23 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef429b2d0012d0e3cc00706fa18002601671f..."} 
[2026-06-23 16:38:27] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef429b2d0012d0e3cc00706fa18002601671f..."} 
[2026-06-23 16:38:27] local.INFO: Packet analysis {"connection_id":111170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef429"} 
[2026-06-23 16:38:27] local.INFO: Extracted packet for processing {"connection_id":111170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef429"} 
[2026-06-23 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117897752,"longitude_deg":75.5907776,"latitude_deg":11.7897752,"altitude":38,"angle":359,"satellites":31,"speed":9,"hex_longitude":"2d0e3cc0","hex_latitude":"0706fa18","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246484224001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21937000730853376,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025765214059233280,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:27] 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-06-23 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782212834000,"timestamp_ms":1782212834000,"timestamp_seconds":1782212834,"priority":1,"record_length":96,"hex_timestamp":"0000019ef429b2d0"} 
[2026-06-23 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 16:38: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-06-23 16: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-06-23 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:38: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-06-23 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246484224001,"66":14450,"219":206,"94":10240,"24":9,"16":21937000730853376,"45":1025765214059233280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246484224001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 16:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21937000730853376,"km_value":21937000730853.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025765214059233280,"description":"Unknown IO ID 45"} 
[2026-06-23 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246484224001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1025765214059233280}} 
[2026-06-23 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":111170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:27] local.INFO: GPS data processed {"connection_id":111170,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:27] local.INFO: Acknowledgment sent {"connection_id":111170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:29] local.INFO: TCP Data received {"connection_id":111779,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:38:29] local.INFO: Processing buffer {"connection_id":111779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:38:29] local.INFO: IMEI packet received {"connection_id":111779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:38:30] local.INFO: TCP Data received {"connection_id":111779,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:38:30] local.INFO: Processing buffer {"connection_id":111779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef425af78012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:38:30] local.INFO: Packet analysis {"connection_id":111779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:38:30] local.INFO: Extracted packet for processing {"connection_id":111779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef425"} 
[2026-06-23 16:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246341120001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212571000,"timestamp_ms":1782212571000,"timestamp_seconds":1782212571,"priority":1,"record_length":96,"hex_timestamp":"0000019ef425af78"} 
[2026-06-23 16:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:38:30] 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-06-23 16:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246341120001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246341120001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246341120001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":111779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:30] local.INFO: GPS data processed {"connection_id":111779,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:30] local.INFO: Acknowledgment sent {"connection_id":111779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:48] local.INFO: TCP Data received {"connection_id":110980,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef428ff20012d7af58005e38340000900ac2a..."} 
[2026-06-23 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef428ff20012d7af58005e38340000900ac2a..."} 
[2026-06-23 16:38:48] local.INFO: Processing buffer {"connection_id":110980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef428ff20012d7af58005e38340000900ac2a..."} 
[2026-06-23 16:38:48] local.INFO: Packet analysis {"connection_id":110980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:38:48] local.INFO: Extracted packet for processing {"connection_id":110980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef428"} 
[2026-06-23 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98796352,"longitude_deg":76.303296,"latitude_deg":9.8796352,"altitude":9,"angle":172,"satellites":42,"speed":5,"hex_longitude":"2d7af580","hex_latitude":"05e38340","is_valid_coordinates":true} 
[2026-06-23 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246469632001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96411106578268160,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243486192259072,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782212788000,"timestamp_ms":1782212788000,"timestamp_seconds":1782212788,"priority":1,"record_length":96,"hex_timestamp":"0000019ef428ff20"} 
[2026-06-23 16:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 16:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246469632001,"66":12385,"97":206,"85":15104,"24":5,"16":96411106578268160,"45":8857243486192259072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246469632001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:38:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96411106578268160,"km_value":96411106578268.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243486192259072,"description":"Unknown IO ID 45"} 
[2026-06-23 16:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246469632001,"power":12385,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8857243486192259072}} 
[2026-06-23 16:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":110980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:48] local.INFO: GPS data processed {"connection_id":110980,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:48] local.INFO: Acknowledgment sent {"connection_id":110980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:38:59] local.INFO: TCP Data received {"connection_id":111170,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42b2200012d0da9000706f040002d011720..."} 
[2026-06-23 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42b2200012d0da9000706f040002d011720..."} 
[2026-06-23 16:38:59] local.INFO: Processing buffer {"connection_id":111170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42b2200012d0da9000706f040002d011720..."} 
[2026-06-23 16:38:59] local.INFO: Packet analysis {"connection_id":111170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:38:59] local.INFO: Extracted packet for processing {"connection_id":111170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":755869952,"raw_latitude":117895232,"longitude_deg":75.5869952,"latitude_deg":11.7895232,"altitude":45,"angle":279,"satellites":32,"speed":24,"hex_longitude":"2d0da900","hex_latitude":"0706f040","is_valid_coordinates":true} 
[2026-06-23 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246506240001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21938963530907648,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993043748016674816,"note":"Value kept but may cause issues"} 
[2026-06-23 16:38:59] 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-06-23 16:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782212928000,"timestamp_ms":1782212928000,"timestamp_seconds":1782212928,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42b2200"} 
[2026-06-23 16:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:38: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-06-23 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:38: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-06-23 16:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111170,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:38: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-06-23 16:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246506240001,"66":14396,"219":206,"94":10240,"24":24,"16":21938963530907648,"45":993043748016674816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-23 16:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246506240001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:38:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-23 16:38:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21938963530907648,"km_value":21938963530907.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":993043748016674816,"description":"Unknown IO ID 45"} 
[2026-06-23 16:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246506240001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":993043748016674816}} 
[2026-06-23 16:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":111170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371892,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:38:59] local.INFO: GPS data processed {"connection_id":111170,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:38:59] local.INFO: Acknowledgment sent {"connection_id":111170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:39:01] local.INFO: TCP Data received {"connection_id":111779,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:39:01] local.INFO: Processing buffer {"connection_id":111779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:39:01] local.INFO: Packet analysis {"connection_id":111779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:39:01] local.INFO: Extracted packet for processing {"connection_id":111779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:39:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:39:01] 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-06-23 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:39:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:39:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":111779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:39:01] local.INFO: GPS data processed {"connection_id":111779,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:39:01] local.INFO: Acknowledgment sent {"connection_id":111779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:39:10] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:10] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:10] local.INFO: IMEI packet received {"connection_id":111171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":111171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:39:20] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:20] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:20] local.INFO: IMEI packet received {"connection_id":111171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":111171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:39:20] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:20] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:39:20] local.INFO: IMEI packet received {"connection_id":111171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":111171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:39:21] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42b2200012d7b250005e29bc8000c00ad27..."} 
[2026-06-23 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42b2200012d7b250005e29bc8000c00ad27..."} 
[2026-06-23 16:39:21] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42b2200012d7b250005e29bc8000c00ad27..."} 
[2026-06-23 16:39:21] local.INFO: Packet analysis {"connection_id":111171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:39:21] local.INFO: Extracted packet for processing {"connection_id":111171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763045120,"raw_latitude":98737096,"longitude_deg":76.304512,"latitude_deg":9.8737096,"altitude":12,"angle":173,"satellites":39,"speed":13,"hex_longitude":"2d7b2500","hex_latitude":"05e29bc8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246504192001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96414074400669696,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592228352,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782212928000,"timestamp_ms":1782212928000,"timestamp_seconds":1782212928,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42b2200"} 
[2026-06-23 16:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:39:21] 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-06-23 16: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-06-23 16:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246504192001,"66":12863,"96":206,"85":15104,"24":13,"16":96414074400669696,"45":8873357928592228352},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 16:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246504192001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:39:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96414074400669696,"km_value":96414074400669.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592228352,"description":"Unknown IO ID 45"} 
[2026-06-23 16:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246504192001,"power":12863,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8873357928592228352}} 
[2026-06-23 16:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":111171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:39:21] local.INFO: GPS data processed {"connection_id":111171,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:39:21] local.INFO: Acknowledgment sent {"connection_id":111171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:39:21] local.INFO: TCP Data received {"connection_id":110983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:21] local.INFO: Processing buffer {"connection_id":110983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:21] local.INFO: IMEI packet received {"connection_id":110983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":110983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:39:22] local.INFO: TCP Data received {"connection_id":110983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:22] local.INFO: Processing buffer {"connection_id":110983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:22] local.INFO: IMEI packet received {"connection_id":110983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":110983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:39:22] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42b3970012d7b260005e291a8000b00ba23..."} 
[2026-06-23 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42b3970012d7b260005e291a8000b00ba23..."} 
[2026-06-23 16:39:22] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42b3970012d7b260005e291a8000b00ba23..."} 
[2026-06-23 16:39:22] local.INFO: Packet analysis {"connection_id":111171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:39:22] local.INFO: Extracted packet for processing {"connection_id":111171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":98734504,"longitude_deg":76.3045376,"latitude_deg":9.8734504,"altitude":11,"angle":186,"satellites":35,"speed":13,"hex_longitude":"2d7b2600","hex_latitude":"05e291a8","is_valid_coordinates":true} 
[2026-06-23 16:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246509568001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96414203249688576,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873498666080126976,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782212934000,"timestamp_ms":1782212934000,"timestamp_seconds":1782212934,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42b3970"} 
[2026-06-23 16:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 16:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246509568001,"66":12156,"96":206,"85":15104,"24":13,"16":96414203249688576,"45":8873498666080126976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 16:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246509568001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:39:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:39:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96414203249688576,"km_value":96414203249688.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873498666080126976,"description":"Unknown IO ID 45"} 
[2026-06-23 16:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246509568001,"power":12156,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8873498666080126976}} 
[2026-06-23 16:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":111171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:39:22] local.INFO: GPS data processed {"connection_id":111171,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:39:22] local.INFO: Acknowledgment sent {"connection_id":111171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:39:23] local.INFO: TCP Data received {"connection_id":110983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:23] local.INFO: Processing buffer {"connection_id":110983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:23] local.INFO: IMEI packet received {"connection_id":110983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":110983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:39:24] local.INFO: TCP Data received {"connection_id":110982,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:39:24] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:39:24] local.INFO: IMEI packet received {"connection_id":110982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":110982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:39:26] local.INFO: TCP Data received {"connection_id":110983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:26] local.INFO: Processing buffer {"connection_id":110983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:39:26] local.INFO: IMEI packet received {"connection_id":110983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":110983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:39:29] local.INFO: TCP Data received {"connection_id":110982,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:39:29] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:39:29] local.INFO: IMEI packet received {"connection_id":110982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":110982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:39:30] local.INFO: TCP Data received {"connection_id":110982,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:39:30] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:39:30] local.INFO: Packet analysis {"connection_id":110982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:39:30] local.INFO: Extracted packet for processing {"connection_id":110982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:39:30] 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-06-23 16:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:39: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-06-23 16: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-06-23 16:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:39:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":110982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:39:30] local.INFO: GPS data processed {"connection_id":110982,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:39:30] local.INFO: Acknowledgment sent {"connection_id":110982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:39:55] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42b3d58012d7b258005e29080000b00cc23..."} 
[2026-06-23 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42b3d58012d7b258005e29080000b00cc23..."} 
[2026-06-23 16:39:55] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42b3d58012d7b258005e29080000b00cc23..."} 
[2026-06-23 16:39:55] local.INFO: Packet analysis {"connection_id":111171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:39:55] local.INFO: Extracted packet for processing {"connection_id":111171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98734208,"longitude_deg":76.3045248,"latitude_deg":9.8734208,"altitude":11,"angle":204,"satellites":35,"speed":10,"hex_longitude":"2d7b2580","hex_latitude":"05e29080","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246511104001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96414216134590464,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141056174080,"note":"Value kept but may cause issues"} 
[2026-06-23 16:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782212935000,"timestamp_ms":1782212935000,"timestamp_seconds":1782212935,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42b3d58"} 
[2026-06-23 16:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 16:39:55] 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-06-23 16: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-06-23 16:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246511104001,"66":12363,"96":206,"85":15104,"24":10,"16":96414216134590464,"45":8873780141056174080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 16:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246511104001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:39:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96414216134590464,"km_value":96414216134590.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141056174080,"description":"Unknown IO ID 45"} 
[2026-06-23 16:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246511104001,"power":12363,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8873780141056174080}} 
[2026-06-23 16:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":111171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:39:55] local.INFO: GPS data processed {"connection_id":111171,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:39:55] local.INFO: Acknowledgment sent {"connection_id":111171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:40:01] local.INFO: TCP Data received {"connection_id":110982,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:40:01] local.INFO: Processing buffer {"connection_id":110982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:40:01] local.INFO: Packet analysis {"connection_id":110982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:40:01] local.INFO: Extracted packet for processing {"connection_id":110982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:40: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-06-23 16:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:40:01] 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-06-23 16:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:40: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-06-23 16:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:40:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:40:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":110982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:40:01] local.INFO: GPS data processed {"connection_id":110982,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:40:01] local.INFO: Acknowledgment sent {"connection_id":110982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:40:10] local.INFO: TCP Data received {"connection_id":110984,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:40:10] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:40:10] local.INFO: IMEI packet received {"connection_id":110984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":110984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:40:15] local.INFO: TCP Data received {"connection_id":110984,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:40:15] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:40:15] local.INFO: IMEI packet received {"connection_id":110984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":110984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:40:16] local.INFO: TCP Data received {"connection_id":110984,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42bf4f0012d7b108005e2fd80000701671a..."} 
[2026-06-23 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42bf4f0012d7b108005e2fd80000701671a..."} 
[2026-06-23 16:40:16] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42bf4f0012d7b108005e2fd80000701671a..."} 
[2026-06-23 16:40:16] local.INFO: Packet analysis {"connection_id":110984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:40:16] local.INFO: Extracted packet for processing {"connection_id":110984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42b"} 
[2026-06-23 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98762112,"longitude_deg":76.3039872,"latitude_deg":9.8762112,"altitude":7,"angle":359,"satellites":26,"speed":7,"hex_longitude":"2d7b1080","hex_latitude":"05e2fd80","is_valid_coordinates":true} 
[2026-06-23 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246521856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96415667833536512,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060319725568,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782212982000,"timestamp_ms":1782212982000,"timestamp_seconds":1782212982,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42bf4f0"} 
[2026-06-23 16:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 16:40:16] 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-06-23 16:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246521856001,"66":12678,"96":206,"85":15104,"24":7,"16":96415667833536512,"45":8867658060319725568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 16:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246521856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:40:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96415667833536512,"km_value":96415667833536.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060319725568,"description":"Unknown IO ID 45"} 
[2026-06-23 16:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246521856001,"power":12678,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8867658060319725568}} 
[2026-06-23 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":110984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:40:16] local.INFO: GPS data processed {"connection_id":110984,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:40:16] local.INFO: Acknowledgment sent {"connection_id":110984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:40:23] local.INFO: TCP Data received {"connection_id":110986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:40:23] local.INFO: Processing buffer {"connection_id":110986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:40:23] local.INFO: IMEI packet received {"connection_id":110986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":110986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:40:29] local.INFO: TCP Data received {"connection_id":110986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:40:29] local.INFO: Processing buffer {"connection_id":110986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:40:29] local.INFO: IMEI packet received {"connection_id":110986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":110986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:40:30] local.INFO: TCP Data received {"connection_id":110986,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:40:30] local.INFO: Processing buffer {"connection_id":110986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:40:30] local.INFO: Packet analysis {"connection_id":110986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:40:30] local.INFO: Extracted packet for processing {"connection_id":110986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:40:30] 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-06-23 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:40: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-06-23 16:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:40:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":110986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:40:30] local.INFO: GPS data processed {"connection_id":110986,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:40:30] local.INFO: Acknowledgment sent {"connection_id":110986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:40:47] local.INFO: TCP Data received {"connection_id":110984,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42c27b8012d7b0b4005e314500005015a19..."} 
[2026-06-23 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42c27b8012d7b0b4005e314500005015a19..."} 
[2026-06-23 16:40:47] local.INFO: Processing buffer {"connection_id":110984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42c27b8012d7b0b4005e314500005015a19..."} 
[2026-06-23 16:40:47] local.INFO: Packet analysis {"connection_id":110984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:40:47] local.INFO: Extracted packet for processing {"connection_id":110984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98767952,"longitude_deg":76.3038528,"latitude_deg":9.8767952,"altitude":5,"angle":346,"satellites":25,"speed":20,"hex_longitude":"2d7b0b40","hex_latitude":"05e31450","is_valid_coordinates":true} 
[2026-06-23 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246523392001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96415959891312640,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429063962624,"note":"Value kept but may cause issues"} 
[2026-06-23 16:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782212995000,"timestamp_ms":1782212995000,"timestamp_seconds":1782212995,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42c27b8"} 
[2026-06-23 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 16:40: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-06-23 16:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246523392001,"66":12798,"96":206,"85":15104,"24":20,"16":96415959891312640,"45":8867728429063962624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 16:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246523392001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:40:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 16:40:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96415959891312640,"km_value":96415959891312.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429063962624,"description":"Unknown IO ID 45"} 
[2026-06-23 16:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246523392001,"power":12798,"unknown_96":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8867728429063962624}} 
[2026-06-23 16:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":110984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:40:48] local.INFO: GPS data processed {"connection_id":110984,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:40:48] local.INFO: Acknowledgment sent {"connection_id":110984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:41:01] local.INFO: TCP Data received {"connection_id":110986,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:41:01] local.INFO: Processing buffer {"connection_id":110986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:41:01] local.INFO: Packet analysis {"connection_id":110986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:41:01] local.INFO: Extracted packet for processing {"connection_id":110986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:41:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:41:01] 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-06-23 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":110986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:41:02] local.INFO: GPS data processed {"connection_id":110986,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:41:02] local.INFO: Acknowledgment sent {"connection_id":110986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:41:11] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:11] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:11] local.INFO: IMEI packet received {"connection_id":112725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":112725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:41:12] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:12] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:12] local.INFO: IMEI packet received {"connection_id":112725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":112725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:41:15] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:15] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:15] local.INFO: IMEI packet received {"connection_id":112725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":112725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:41:20] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:20] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:41:20] local.INFO: IMEI packet received {"connection_id":112725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":112725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:41:21] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42c2f88012d7b0a4005e317280005014d1a..."} 
[2026-06-23 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42c2f88012d7b0a4005e317280005014d1a..."} 
[2026-06-23 16:41:21] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42c2f88012d7b0a4005e317280005014d1a..."} 
[2026-06-23 16:41:21] local.INFO: Packet analysis {"connection_id":112725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:41:21] local.INFO: Extracted packet for processing {"connection_id":112725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98768680,"longitude_deg":76.3038272,"latitude_deg":9.876868,"altitude":5,"angle":333,"satellites":26,"speed":13,"hex_longitude":"2d7b0a40","hex_latitude":"05e31728","is_valid_coordinates":true} 
[2026-06-23 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246526720001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96415998546018304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685437726720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782212997000,"timestamp_ms":1782212997000,"timestamp_seconds":1782212997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42c2f88"} 
[2026-06-23 16:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 16:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246526720001,"66":12667,"97":206,"85":15104,"24":13,"16":96415998546018304,"45":8866250685437726720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246526720001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:41:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96415998546018304,"km_value":96415998546018.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685437726720,"description":"Unknown IO ID 45"} 
[2026-06-23 16:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246526720001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8866250685437726720}} 
[2026-06-23 16:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":112725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:41:21] local.INFO: GPS data processed {"connection_id":112725,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:41:21] local.INFO: Acknowledgment sent {"connection_id":112725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:41:22] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42c52b0012d7b088005e31980000501671c..."} 
[2026-06-23 16:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42c52b0012d7b088005e31980000501671c..."} 
[2026-06-23 16:41:22] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42c52b0012d7b088005e31980000501671c..."} 
[2026-06-23 16:41:22] local.INFO: Packet analysis {"connection_id":112725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:41:22] local.INFO: Extracted packet for processing {"connection_id":112725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":98769280,"longitude_deg":76.3037824,"latitude_deg":9.876928,"altitude":5,"angle":359,"satellites":28,"speed":6,"hex_longitude":"2d7b0880","hex_latitude":"05e31980","is_valid_coordinates":true} 
[2026-06-23 16:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246527232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96416041495691264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210461202432,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782213006000,"timestamp_ms":1782213006000,"timestamp_seconds":1782213006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42c52b0"} 
[2026-06-23 16:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246527232001,"66":12667,"97":206,"85":15104,"24":6,"16":96416041495691264,"45":8865969210461202432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246527232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:41:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96416041495691264,"km_value":96416041495691.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210461202432,"description":"Unknown IO ID 45"} 
[2026-06-23 16:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246527232001,"power":12667,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865969210461202432}} 
[2026-06-23 16:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":112725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:41:22] local.INFO: GPS data processed {"connection_id":112725,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:41:22] local.INFO: Acknowledgment sent {"connection_id":112725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:41:23] local.INFO: TCP Data received {"connection_id":111782,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:41:23] local.INFO: Processing buffer {"connection_id":111782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:41:23] local.INFO: IMEI packet received {"connection_id":111782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":111782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:41:29] local.INFO: TCP Data received {"connection_id":111782,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:41:29] local.INFO: Processing buffer {"connection_id":111782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:41:29] local.INFO: IMEI packet received {"connection_id":111782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":111782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:41:30] local.INFO: TCP Data received {"connection_id":111782,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:41:30] local.INFO: Processing buffer {"connection_id":111782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:41:30] local.INFO: Packet analysis {"connection_id":111782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:41:30] local.INFO: Extracted packet for processing {"connection_id":111782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:41:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:41:30] 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-06-23 16:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:41: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-06-23 16:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:41:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:41:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":111782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:41:30] local.INFO: GPS data processed {"connection_id":111782,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:41:30] local.INFO: Acknowledgment sent {"connection_id":111782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:41:53] local.INFO: TCP Data received {"connection_id":112725,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42c9518012d7b05c005e33e10000300011b..."} 
[2026-06-23 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42c9518012d7b05c005e33e10000300011b..."} 
[2026-06-23 16:41:53] local.INFO: Processing buffer {"connection_id":112725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42c9518012d7b05c005e33e10000300011b..."} 
[2026-06-23 16:41:53] local.INFO: Packet analysis {"connection_id":112725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:41:53] local.INFO: Extracted packet for processing {"connection_id":112725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42c"} 
[2026-06-23 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98778640,"longitude_deg":76.303712,"latitude_deg":9.877864,"altitude":3,"angle":1,"satellites":27,"speed":17,"hex_longitude":"2d7b05c0","hex_latitude":"05e33e10","is_valid_coordinates":true} 
[2026-06-23 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246529536001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96416501057191936,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629252112384,"note":"Value kept but may cause issues"} 
[2026-06-23 16:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782213023000,"timestamp_ms":1782213023000,"timestamp_seconds":1782213023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42c9518"} 
[2026-06-23 16:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 16:41:53] 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-06-23 16:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246529536001,"66":12863,"97":206,"85":15104,"24":17,"16":96416501057191936,"45":8865476629252112384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246529536001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96416501057191936,"km_value":96416501057191.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629252112384,"description":"Unknown IO ID 45"} 
[2026-06-23 16:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246529536001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8865476629252112384}} 
[2026-06-23 16:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":112725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:41:53] local.INFO: GPS data processed {"connection_id":112725,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:41:53] local.INFO: Acknowledgment sent {"connection_id":112725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:42:02] local.INFO: TCP Data received {"connection_id":111782,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:02] local.INFO: Processing buffer {"connection_id":111782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:02] local.INFO: Packet analysis {"connection_id":111782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:42:02] local.INFO: Extracted packet for processing {"connection_id":111782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 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-06-23 16:42:02] 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-06-23 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:42: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-06-23 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-06-23 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-06-23 16:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":111782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:42:02] local.INFO: GPS data processed {"connection_id":111782,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:42:02] local.INFO: Acknowledgment sent {"connection_id":111782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:42:21] local.INFO: TCP Data received {"connection_id":110987,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:42:21] local.INFO: Processing buffer {"connection_id":110987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:42:21] local.INFO: IMEI packet received {"connection_id":110987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":110987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:42:29] local.INFO: TCP Data received {"connection_id":111783,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:42:29] local.INFO: Processing buffer {"connection_id":111783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:42:29] local.INFO: IMEI packet received {"connection_id":111783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":111783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:42:33] local.INFO: TCP Data received {"connection_id":111783,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:42:33] local.INFO: Processing buffer {"connection_id":111783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:42:33] local.INFO: IMEI packet received {"connection_id":111783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":111783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:42:35] local.INFO: TCP Data received {"connection_id":111783,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:35] local.INFO: Processing buffer {"connection_id":111783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:35] local.INFO: Packet analysis {"connection_id":111783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:42:35] local.INFO: Extracted packet for processing {"connection_id":111783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:42: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-06-23 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:42:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:42:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":111783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:42:35] local.INFO: GPS data processed {"connection_id":111783,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:42:35] local.INFO: Acknowledgment sent {"connection_id":111783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:42:39] local.INFO: TCP Data received {"connection_id":111783,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:39] local.INFO: Processing buffer {"connection_id":111783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:42:39] local.INFO: Packet analysis {"connection_id":111783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:42:39] local.INFO: Extracted packet for processing {"connection_id":111783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:42:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:42: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-06-23 16:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:42:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:42:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:42:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":111783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:42:39] local.INFO: GPS data processed {"connection_id":111783,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:42:39] local.INFO: Acknowledgment sent {"connection_id":111783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:43:06] local.INFO: TCP Data received {"connection_id":111784,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:43:06] local.INFO: Processing buffer {"connection_id":111784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:43:06] local.INFO: IMEI packet received {"connection_id":111784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":111784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:43:24] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:43:24] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:43:24] local.INFO: IMEI packet received {"connection_id":110988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":110988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:43:29] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:43:29] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:43:29] local.INFO: IMEI packet received {"connection_id":110988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":110988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:43:30] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:43:30] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42a4740012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:43:30] local.INFO: Packet analysis {"connection_id":110988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:43:30] local.INFO: Extracted packet for processing {"connection_id":110988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42a"} 
[2026-06-23 16:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246418176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782212872000,"timestamp_ms":1782212872000,"timestamp_seconds":1782212872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42a4740"} 
[2026-06-23 16:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:43:30] 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-06-23 16:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16: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-06-23 16:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246418176001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246418176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:43:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:43:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246418176001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":110988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:43:30] local.INFO: GPS data processed {"connection_id":110988,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:43:30] local.INFO: Acknowledgment sent {"connection_id":110988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:44:02] local.INFO: TCP Data received {"connection_id":110988,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:44:02] local.INFO: Processing buffer {"connection_id":110988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:44:02] local.INFO: Packet analysis {"connection_id":110988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:44:02] local.INFO: Extracted packet for processing {"connection_id":110988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:44:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:44:02] 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-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":110988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:44:02] local.INFO: GPS data processed {"connection_id":110988,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:44:02] local.INFO: Acknowledgment sent {"connection_id":110988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:44:23] local.INFO: TCP Data received {"connection_id":110989,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:44:23] local.INFO: Processing buffer {"connection_id":110989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:44:23] local.INFO: IMEI packet received {"connection_id":110989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":110989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:44:27] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:27] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:27] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:44:27] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:27] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:27] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:44:28] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:28] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:28] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:44:29] local.INFO: TCP Data received {"connection_id":110989,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:44:29] local.INFO: Processing buffer {"connection_id":110989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:44:29] local.INFO: IMEI packet received {"connection_id":110989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":110989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:44:30] local.INFO: TCP Data received {"connection_id":110989,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:44:30] local.INFO: Processing buffer {"connection_id":110989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:44:30] local.INFO: Packet analysis {"connection_id":110989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:44:30] local.INFO: Extracted packet for processing {"connection_id":110989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:44:30] 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-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:44:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":110989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:44:30] local.INFO: GPS data processed {"connection_id":110989,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:44:30] local.INFO: Acknowledgment sent {"connection_id":110989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:44:32] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:32] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:44:32] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:44:33] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42fec90012d0bb38007072b08001900b11e..."} 
[2026-06-23 16:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42fec90012d0bb38007072b08001900b11e..."} 
[2026-06-23 16:44:33] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42fec90012d0bb38007072b08001900b11e..."} 
[2026-06-23 16:44:33] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42f"} 
[2026-06-23 16:44:33] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42f"} 
[2026-06-23 16:44:33] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117910280,"longitude_deg":75.5741568,"latitude_deg":11.791028,"altitude":25,"angle":177,"satellites":30,"speed":36,"hex_longitude":"2d0bb380","hex_latitude":"07072b08","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246588416001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21946750306615296,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954178883584,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:33] 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-06-23 16:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782213242000,"timestamp_ms":1782213242000,"timestamp_seconds":1782213242,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42fec90"} 
[2026-06-23 16:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:44: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-06-23 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 16:44:33] 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-06-23 16: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-06-23 16:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:44: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-06-23 16:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246588416001,"66":14157,"221":206,"94":10240,"24":36,"16":21946750306615296,"45":843087954178883584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-23 16:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246588416001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:44:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 16:44:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21946750306615296,"km_value":21946750306615.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954178883584,"description":"Unknown IO ID 45"} 
[2026-06-23 16:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246588416001,"power":14157,"unknown_221":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":843087954178883584}} 
[2026-06-23 16:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371913,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:44:33] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:44:33] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:44:34] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4300018012d0bb54007071bd8001900c11e..."} 
[2026-06-23 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4300018012d0bb54007071bd8001900c11e..."} 
[2026-06-23 16:44:34] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4300018012d0bb54007071bd8001900c11e..."} 
[2026-06-23 16:44:34] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:44:34] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:44:34] local.INFO: GPS Element Parsed {"raw_longitude":755742016,"raw_latitude":117906392,"longitude_deg":75.5742016,"latitude_deg":11.7906392,"altitude":25,"angle":193,"satellites":30,"speed":23,"hex_longitude":"2d0bb540","hex_latitude":"07071bd8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246589952001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21946939285176320,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322921801728,"note":"Value kept but may cause issues"} 
[2026-06-23 16:44:34] 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-06-23 16:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782213247000,"timestamp_ms":1782213247000,"timestamp_seconds":1782213247,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4300018"} 
[2026-06-23 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-06-23 16:44: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-06-23 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 16:44:34] 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-06-23 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-06-23 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-06-23 16:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:44:34] 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-06-23 16:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246589952001,"66":13722,"163":206,"94":10240,"24":23,"16":21946939285176320,"45":843158322921801728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 16:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246589952001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21946939285176320,"km_value":21946939285176.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322921801728,"description":"Unknown IO ID 45"} 
[2026-06-23 16:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246589952001,"power":13722,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843158322921801728}} 
[2026-06-23 16:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371914,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:44:34] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:44:34] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:45:01] local.INFO: TCP Data received {"connection_id":110989,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:45:01] local.INFO: Processing buffer {"connection_id":110989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:45:01] local.INFO: Packet analysis {"connection_id":110989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:45:01] local.INFO: Extracted packet for processing {"connection_id":110989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:45:01] 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-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:45:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:45:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":110989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:45:02] local.INFO: GPS data processed {"connection_id":110989,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:45:02] local.INFO: Acknowledgment sent {"connection_id":110989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:45:05] local.INFO: TCP Data received {"connection_id":111176,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43007e8012d0bb30007071890001900d51e..."} 
[2026-06-23 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43007e8012d0bb30007071890001900d51e..."} 
[2026-06-23 16:45:05] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43007e8012d0bb30007071890001900d51e..."} 
[2026-06-23 16:45:05] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:45:05] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:45:05] local.INFO: GPS Element Parsed {"raw_longitude":755741440,"raw_latitude":117905552,"longitude_deg":75.574144,"latitude_deg":11.7905552,"altitude":25,"angle":213,"satellites":30,"speed":19,"hex_longitude":"2d0bb300","hex_latitude":"07071890","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246591232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21946990824783872,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843650904130050048,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:05] 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-06-23 16:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782213249000,"timestamp_ms":1782213249000,"timestamp_seconds":1782213249,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43007e8"} 
[2026-06-23 16:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:45: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-06-23 16: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":154,"data_length":795,"current_offset":136} 
[2026-06-23 16:45: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-06-23 16: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-06-23 16:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:45:05] 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-06-23 16:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246591232001,"66":14439,"163":206,"94":10240,"24":19,"16":21946990824783872,"45":843650904130050048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 16:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246591232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:45:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 16:45:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21946990824783872,"km_value":21946990824783.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":843650904130050048,"description":"Unknown IO ID 45"} 
[2026-06-23 16:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246591232001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":843650904130050048}} 
[2026-06-23 16:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:45:05] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:45:05] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:45:22] local.INFO: TCP Data received {"connection_id":111786,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:22] local.INFO: Processing buffer {"connection_id":111786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:22] local.INFO: IMEI packet received {"connection_id":111786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":111786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:45:23] local.INFO: TCP Data received {"connection_id":111786,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:23] local.INFO: Processing buffer {"connection_id":111786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:23] local.INFO: IMEI packet received {"connection_id":111786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:45:23] local.INFO: TCP Data received {"connection_id":111787,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:45:23] local.INFO: Processing buffer {"connection_id":111787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:45:23] local.INFO: IMEI packet received {"connection_id":111787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:45:27] local.INFO: TCP Data received {"connection_id":111786,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:27] local.INFO: Processing buffer {"connection_id":111786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:45:27] local.INFO: IMEI packet received {"connection_id":111786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":111786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:45:28] local.INFO: TCP Data received {"connection_id":111786,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef430dad8012d0b1f800706a9e8000f00d01e..."} 
[2026-06-23 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef430dad8012d0b1f800706a9e8000f00d01e..."} 
[2026-06-23 16:45:28] local.INFO: Processing buffer {"connection_id":111786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef430dad8012d0b1f800706a9e8000f00d01e..."} 
[2026-06-23 16:45:28] local.INFO: Packet analysis {"connection_id":111786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:45:28] local.INFO: Extracted packet for processing {"connection_id":111786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:45:28] local.INFO: GPS Element Parsed {"raw_longitude":755703680,"raw_latitude":117877224,"longitude_deg":75.570368,"latitude_deg":11.7877224,"altitude":15,"angle":208,"satellites":30,"speed":37,"hex_longitude":"2d0b1f80","hex_latitude":"0706a9e8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246603008001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21949490495750144,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805862888501223424,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45: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-06-23 16:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782213303000,"timestamp_ms":1782213303000,"timestamp_seconds":1782213303,"priority":1,"record_length":96,"hex_timestamp":"0000019ef430dad8"} 
[2026-06-23 16:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:45:28] 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-06-23 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 16:45:28] 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-06-23 16: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-06-23 16:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:45: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-06-23 16:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246603008001,"66":14396,"163":206,"94":10240,"24":37,"16":21949490495750144,"45":805862888501223424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 16:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246603008001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:45:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 16:45:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21949490495750144,"km_value":21949490495750.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":805862888501223424,"description":"Unknown IO ID 45"} 
[2026-06-23 16:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246603008001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":805862888501223424}} 
[2026-06-23 16:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":111786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:45:28] local.INFO: GPS data processed {"connection_id":111786,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:45:28] local.INFO: Acknowledgment sent {"connection_id":111786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:45:28] local.INFO: TCP Data received {"connection_id":111787,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:45:28] local.INFO: Processing buffer {"connection_id":111787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:45:28] local.INFO: IMEI packet received {"connection_id":111787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":111787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:45:29] local.INFO: TCP Data received {"connection_id":111787,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:45:29] local.INFO: Processing buffer {"connection_id":111787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:45:29] local.INFO: Packet analysis {"connection_id":111787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:45:29] local.INFO: Extracted packet for processing {"connection_id":111787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:45:29] 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-06-23 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:45:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:45:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":111787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:45:30] local.INFO: GPS data processed {"connection_id":111787,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:45:30] local.INFO: Acknowledgment sent {"connection_id":111787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:46:00] local.INFO: TCP Data received {"connection_id":111786,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef430f630012d0b128007069610000e00df1e..."} 
[2026-06-23 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef430f630012d0b128007069610000e00df1e..."} 
[2026-06-23 16:46:00] local.INFO: Processing buffer {"connection_id":111786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef430f630012d0b128007069610000e00df1e..."} 
[2026-06-23 16:46:00] local.INFO: Packet analysis {"connection_id":111786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:46:00] local.INFO: Extracted packet for processing {"connection_id":111786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef430"} 
[2026-06-23 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":117872144,"longitude_deg":75.5700352,"latitude_deg":11.7872144,"altitude":14,"angle":223,"satellites":30,"speed":37,"hex_longitude":"2d0b1280","hex_latitude":"07069610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246605568001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21949782553526272,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026360162304,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:00] 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-06-23 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782213310000,"timestamp_ms":1782213310000,"timestamp_seconds":1782213310,"priority":1,"record_length":96,"hex_timestamp":"0000019ef430f630"} 
[2026-06-23 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-06-23 16:46: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-06-23 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 16:46: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-06-23 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-06-23 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-06-23 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111786,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:46:00] 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-06-23 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246605568001,"66":14407,"163":206,"94":10240,"24":37,"16":21949782553526272,"45":801500026360162304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246605568001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:46:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 16:46:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21949782553526272,"km_value":21949782553526.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026360162304,"description":"Unknown IO ID 45"} 
[2026-06-23 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246605568001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":801500026360162304}} 
[2026-06-23 16:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":111786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371919,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:46:00] local.INFO: GPS data processed {"connection_id":111786,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:46:00] local.INFO: Acknowledgment sent {"connection_id":111786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:46:01] local.INFO: TCP Data received {"connection_id":111787,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:01] local.INFO: Processing buffer {"connection_id":111787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:01] local.INFO: Packet analysis {"connection_id":111787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:46:01] local.INFO: Extracted packet for processing {"connection_id":111787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:46:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:46:01] 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-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:46:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:46:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":111787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:46:01] local.INFO: GPS data processed {"connection_id":111787,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:46:01] local.INFO: Acknowledgment sent {"connection_id":111787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:46:23] local.INFO: TCP Data received {"connection_id":112729,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:46:23] local.INFO: Processing buffer {"connection_id":112729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:46:23] local.INFO: IMEI packet received {"connection_id":112729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":112729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:46:28] local.INFO: TCP Data received {"connection_id":112729,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:46:28] local.INFO: Processing buffer {"connection_id":112729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:46:28] local.INFO: IMEI packet received {"connection_id":112729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":112729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:46:28] local.INFO: TCP Data received {"connection_id":112729,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4312128012d0afc4007067c70000c00c91e..."} 
[2026-06-23 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4312128012d0afc4007067c70000c00c91e..."} 
[2026-06-23 16:46:28] local.INFO: Processing buffer {"connection_id":112729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4312128012d0afc4007067c70000c00c91e..."} 
[2026-06-23 16:46:28] local.INFO: Packet analysis {"connection_id":112729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef431"} 
[2026-06-23 16:46:28] local.INFO: Extracted packet for processing {"connection_id":112729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef431"} 
[2026-06-23 16:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755694656,"raw_latitude":117865584,"longitude_deg":75.5694656,"latitude_deg":11.7865584,"altitude":12,"angle":201,"satellites":30,"speed":25,"hex_longitude":"2d0afc40","hex_latitude":"07067c70","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246607360001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21950203460321280,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851661623296,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46: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-06-23 16:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782213321000,"timestamp_ms":1782213321000,"timestamp_seconds":1782213321,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4312128"} 
[2026-06-23 16:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:46:28] 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-06-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:46: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-06-23 16: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-06-23 16:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:46: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-06-23 16:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246607360001,"66":14309,"163":206,"94":10240,"24":25,"16":21950203460321280,"45":797840851661623296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 16:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246607360001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:46:28] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 16:46:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21950203460321280,"km_value":21950203460321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851661623296,"description":"Unknown IO ID 45"} 
[2026-06-23 16:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246607360001,"power":14309,"unknown_163":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":797840851661623296}} 
[2026-06-23 16:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":112729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:46:28] local.INFO: GPS data processed {"connection_id":112729,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:46:28] local.INFO: Acknowledgment sent {"connection_id":112729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:46:29] local.INFO: TCP Data received {"connection_id":110990,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:46:29] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:46:29] local.INFO: IMEI packet received {"connection_id":110990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":110990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:46:34] local.INFO: TCP Data received {"connection_id":110990,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:46:34] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:46:34] local.INFO: IMEI packet received {"connection_id":110990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":110990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:46:35] local.INFO: TCP Data received {"connection_id":110990,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:35] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:35] local.INFO: Packet analysis {"connection_id":110990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:46:35] local.INFO: Extracted packet for processing {"connection_id":110990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:46: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-06-23 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":110990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:46:35] local.INFO: GPS data processed {"connection_id":110990,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:46:35] local.INFO: Acknowledgment sent {"connection_id":110990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:46:39] local.INFO: TCP Data received {"connection_id":110990,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:39] local.INFO: Processing buffer {"connection_id":110990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:46:39] local.INFO: Packet analysis {"connection_id":110990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:46:39] local.INFO: Extracted packet for processing {"connection_id":110990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:46: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-06-23 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:46:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:46:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:46:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":110990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:46:39] local.INFO: GPS data processed {"connection_id":110990,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:46:39] local.INFO: Acknowledgment sent {"connection_id":110990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:46:59] local.INFO: TCP Data received {"connection_id":112729,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43130c8012d0afa4007067798000d00e61e..."} 
[2026-06-23 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43130c8012d0afa4007067798000d00e61e..."} 
[2026-06-23 16:46:59] local.INFO: Processing buffer {"connection_id":112729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43130c8012d0afa4007067798000d00e61e..."} 
[2026-06-23 16:46:59] local.INFO: Packet analysis {"connection_id":112729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef431"} 
[2026-06-23 16:46:59] local.INFO: Extracted packet for processing {"connection_id":112729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef431"} 
[2026-06-23 16:46:59] local.INFO: GPS Element Parsed {"raw_longitude":755694144,"raw_latitude":117864344,"longitude_deg":75.5694144,"latitude_deg":11.7864344,"altitude":13,"angle":230,"satellites":30,"speed":8,"hex_longitude":"2d0afa40","hex_latitude":"07067798","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246610176001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21950267884830720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791578033428131840,"note":"Value kept but may cause issues"} 
[2026-06-23 16:46: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-06-23 16:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782213325000,"timestamp_ms":1782213325000,"timestamp_seconds":1782213325,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43130c8"} 
[2026-06-23 16:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:46: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-06-23 16: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 16:46: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-06-23 16: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-06-23 16:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:46: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-06-23 16:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246610176001,"66":14450,"163":206,"94":10240,"24":8,"16":21950267884830720,"45":791578033428131840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-23 16:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246610176001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:46:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-23 16:46:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21950267884830720,"km_value":21950267884830.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":791578033428131840,"description":"Unknown IO ID 45"} 
[2026-06-23 16:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246610176001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":791578033428131840}} 
[2026-06-23 16:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":112729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371924,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:47:00] local.INFO: GPS data processed {"connection_id":112729,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:47:00] local.INFO: Acknowledgment sent {"connection_id":112729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:47:24] local.INFO: TCP Data received {"connection_id":111789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:24] local.INFO: Processing buffer {"connection_id":111789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:24] local.INFO: IMEI packet received {"connection_id":111789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":111789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:47:24] local.INFO: TCP Data received {"connection_id":112730,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:47:24] local.INFO: Processing buffer {"connection_id":112730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:47:24] local.INFO: IMEI packet received {"connection_id":112730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":112730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:47:24] local.INFO: TCP Data received {"connection_id":111789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:24] local.INFO: Processing buffer {"connection_id":111789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:24] local.INFO: IMEI packet received {"connection_id":111789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":111789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:47:29] local.INFO: TCP Data received {"connection_id":111789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:29] local.INFO: Processing buffer {"connection_id":111789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:47:29] local.INFO: IMEI packet received {"connection_id":111789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":111789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:47:29] local.INFO: TCP Data received {"connection_id":112730,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:47:29] local.INFO: Processing buffer {"connection_id":112730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:47:29] local.INFO: IMEI packet received {"connection_id":112730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":112730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:47:29] local.INFO: TCP Data received {"connection_id":111789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4328888012d0b244007061898000e007f1e..."} 
[2026-06-23 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4328888012d0b244007061898000e007f1e..."} 
[2026-06-23 16:47:29] local.INFO: Processing buffer {"connection_id":111789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4328888012d0b244007061898000e007f1e..."} 
[2026-06-23 16:47:29] local.INFO: Packet analysis {"connection_id":111789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:47:29] local.INFO: Extracted packet for processing {"connection_id":111789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:47:29] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117840024,"longitude_deg":75.5704896,"latitude_deg":11.7840024,"altitude":14,"angle":127,"satellites":30,"speed":22,"hex_longitude":"2d0b2440","hex_latitude":"07061898","is_valid_coordinates":true} 
[2026-06-23 16:47: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-06-23 16:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246632192001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21951710993842176,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799740807746830336,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:29] 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-06-23 16:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782213413000,"timestamp_ms":1782213413000,"timestamp_seconds":1782213413,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4328888"} 
[2026-06-23 16:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:47: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":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:47:29] 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-06-23 16:47: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-06-23 16:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:47: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-06-23 16:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246632192001,"66":14439,"165":206,"94":10240,"24":22,"16":21951710993842176,"45":799740807746830336},"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-06-23 16:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246632192001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:47:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:47:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21951710993842176,"km_value":21951710993842.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":799740807746830336,"description":"Unknown IO ID 45"} 
[2026-06-23 16:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246632192001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":799740807746830336}} 
[2026-06-23 16:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":111789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:47:29] local.INFO: GPS data processed {"connection_id":111789,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:47:29] local.INFO: Acknowledgment sent {"connection_id":111789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:47:30] local.INFO: TCP Data received {"connection_id":112730,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:47:30] local.INFO: Processing buffer {"connection_id":112730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:47:30] local.INFO: Packet analysis {"connection_id":112730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:47:30] local.INFO: Extracted packet for processing {"connection_id":112730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:47:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:47:30] 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-06-23 16:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:47:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:47:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":112730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:47:30] local.INFO: GPS data processed {"connection_id":112730,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:47:30] local.INFO: Acknowledgment sent {"connection_id":112730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:47:45] local.INFO: TCP Data received {"connection_id":111788,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:47:45] local.INFO: Processing buffer {"connection_id":111788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:47:45] local.INFO: IMEI packet received {"connection_id":111788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":111788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:47:46] local.INFO: TCP Data received {"connection_id":111788,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42e13e8012d7ad5c005e3d0c0000b01552c..."} 
[2026-06-23 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42e13e8012d7ad5c005e3d0c0000b01552c..."} 
[2026-06-23 16:47:46] local.INFO: Processing buffer {"connection_id":111788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42e13e8012d7ad5c005e3d0c0000b01552c..."} 
[2026-06-23 16:47:46] local.INFO: Packet analysis {"connection_id":111788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:47:46] local.INFO: Extracted packet for processing {"connection_id":111788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763024832,"raw_latitude":98816192,"longitude_deg":76.3024832,"latitude_deg":9.8816192,"altitude":11,"angle":341,"satellites":44,"speed":7,"hex_longitude":"2d7ad5c0","hex_latitude":"05e3d0c0","is_valid_coordinates":true} 
[2026-06-23 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246558720001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418472447180800,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142940200960,"note":"Value kept but may cause issues"} 
[2026-06-23 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782213121000,"timestamp_ms":1782213121000,"timestamp_seconds":1782213121,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42e13e8"} 
[2026-06-23 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:47:46] 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-06-23 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 16:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246558720001,"66":13091,"97":206,"85":15104,"24":7,"16":96418472447180800,"45":8851262142940200960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246558720001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:47:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418472447180800,"km_value":96418472447180.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142940200960,"description":"Unknown IO ID 45"} 
[2026-06-23 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246558720001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8851262142940200960}} 
[2026-06-23 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":111788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:47:46] local.INFO: GPS data processed {"connection_id":111788,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:47:46] local.INFO: Acknowledgment sent {"connection_id":111788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:48:00] local.INFO: TCP Data received {"connection_id":111789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef432bf38012d0b44c0070605780010007e1e..."} 
[2026-06-23 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef432bf38012d0b44c0070605780010007e1e..."} 
[2026-06-23 16:48:00] local.INFO: Processing buffer {"connection_id":111789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef432bf38012d0b44c0070605780010007e1e..."} 
[2026-06-23 16:48:00] local.INFO: Packet analysis {"connection_id":111789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:48:00] local.INFO: Extracted packet for processing {"connection_id":111789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755713216,"raw_latitude":117835128,"longitude_deg":75.5713216,"latitude_deg":11.7835128,"altitude":16,"angle":126,"satellites":30,"speed":27,"hex_longitude":"2d0b44c0","hex_latitude":"07060578","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246633728001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21952170555342848,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802837032490014720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:00] 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-06-23 16:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782213427000,"timestamp_ms":1782213427000,"timestamp_seconds":1782213427,"priority":1,"record_length":96,"hex_timestamp":"0000019ef432bf38"} 
[2026-06-23 16:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:48: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-06-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:48:00] 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-06-23 16: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-06-23 16:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:48:00] 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-06-23 16:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246633728001,"66":14515,"165":206,"94":10240,"24":27,"16":21952170555342848,"45":802837032490014720},"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-06-23 16:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246633728001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:48:00] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:48:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21952170555342848,"km_value":21952170555342.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":802837032490014720,"description":"Unknown IO ID 45"} 
[2026-06-23 16:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246633728001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":802837032490014720}} 
[2026-06-23 16:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":111789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:48:00] local.INFO: GPS data processed {"connection_id":111789,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:48:00] local.INFO: Acknowledgment sent {"connection_id":111789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:48:02] local.INFO: TCP Data received {"connection_id":112730,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:48:02] local.INFO: Processing buffer {"connection_id":112730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:48:02] local.INFO: Packet analysis {"connection_id":112730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:48:02] local.INFO: Extracted packet for processing {"connection_id":112730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:48:02] 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-06-23 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:48:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:48:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:48:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":112730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:48:02] local.INFO: GPS data processed {"connection_id":112730,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:48:02] local.INFO: Acknowledgment sent {"connection_id":112730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:48:10] local.INFO: TCP Data received {"connection_id":111790,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:48:10] local.INFO: Processing buffer {"connection_id":111790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:48:10] local.INFO: IMEI packet received {"connection_id":111790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":111790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:48:15] local.INFO: TCP Data received {"connection_id":111790,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:48:15] local.INFO: Processing buffer {"connection_id":111790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:48:15] local.INFO: IMEI packet received {"connection_id":111790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":111790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:48:16] local.INFO: TCP Data received {"connection_id":111790,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4336b18012d7ad48005e3d5980001003731..."} 
[2026-06-23 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4336b18012d7ad48005e3d5980001003731..."} 
[2026-06-23 16:48:16] local.INFO: Processing buffer {"connection_id":111790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4336b18012d7ad48005e3d5980001003731..."} 
[2026-06-23 16:48:16] local.INFO: Packet analysis {"connection_id":111790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:48:16] local.INFO: Extracted packet for processing {"connection_id":111790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763024512,"raw_latitude":98817432,"longitude_deg":76.3024512,"latitude_deg":9.8817432,"altitude":1,"angle":55,"satellites":49,"speed":4,"hex_longitude":"2d7ad480","hex_latitude":"05e3d598","is_valid_coordinates":true} 
[2026-06-23 16:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246648320001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418541166657536,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850769561731289088,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782213471000,"timestamp_ms":1782213471000,"timestamp_seconds":1782213471,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4336b18"} 
[2026-06-23 16:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 16:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246648320001,"66":11852,"95":206,"85":15104,"24":4,"16":96418541166657536,"45":8850769561731289088},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246648320001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:48:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418541166657536,"km_value":96418541166657.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850769561731289088,"description":"Unknown IO ID 45"} 
[2026-06-23 16:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246648320001,"power":11852,"unknown_95":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8850769561731289088}} 
[2026-06-23 16:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":111790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:48:16] local.INFO: GPS data processed {"connection_id":111790,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:48:16] local.INFO: Acknowledgment sent {"connection_id":111790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:48:23] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:48:23] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:48:23] local.INFO: IMEI packet received {"connection_id":111179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":111179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:48:23] local.INFO: TCP Data received {"connection_id":110991,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:48:23] local.INFO: Processing buffer {"connection_id":110991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:48:23] local.INFO: IMEI packet received {"connection_id":110991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":110991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:48:29] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:48:29] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:48:29] local.INFO: IMEI packet received {"connection_id":111179,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":111179,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:48:29] local.INFO: TCP Data received {"connection_id":110991,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:48:29] local.INFO: Processing buffer {"connection_id":110991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:48:29] local.INFO: IMEI packet received {"connection_id":110991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":110991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:48:29] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef432d6a8012d0b4d000705ff48001000681e..."} 
[2026-06-23 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef432d6a8012d0b4d000705ff48001000681e..."} 
[2026-06-23 16:48:29] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef432d6a8012d0b4d000705ff48001000681e..."} 
[2026-06-23 16:48:29] local.INFO: Packet analysis {"connection_id":111179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:48:29] local.INFO: Extracted packet for processing {"connection_id":111179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755715328,"raw_latitude":117833544,"longitude_deg":75.5715328,"latitude_deg":11.7833544,"altitude":16,"angle":104,"satellites":30,"speed":8,"hex_longitude":"2d0b4d00","hex_latitude":"0705ff48","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246637312001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21952299404361728,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811984969231857664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:29] 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-06-23 16:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782213433000,"timestamp_ms":1782213433000,"timestamp_seconds":1782213433,"priority":1,"record_length":96,"hex_timestamp":"0000019ef432d6a8"} 
[2026-06-23 16:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:48: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-06-23 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 16:48:29] 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-06-23 16: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-06-23 16:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:48: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-06-23 16:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246637312001,"66":14407,"165":206,"94":10240,"24":8,"16":21952299404361728,"45":811984969231857664},"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-06-23 16:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246637312001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21952299404361728,"km_value":21952299404361.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":811984969231857664,"description":"Unknown IO ID 45"} 
[2026-06-23 16:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246637312001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":811984969231857664}} 
[2026-06-23 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":111179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:48:29] local.INFO: GPS data processed {"connection_id":111179,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:48:29] local.INFO: Acknowledgment sent {"connection_id":111179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:48:30] local.INFO: TCP Data received {"connection_id":110991,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:48:30] local.INFO: Processing buffer {"connection_id":110991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef42edf08012cb29b8007823df8004a00cf2c..."} 
[2026-06-23 16:48:30] local.INFO: Packet analysis {"connection_id":110991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:48:30] local.INFO: Extracted packet for processing {"connection_id":110991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef42e"} 
[2026-06-23 16:48:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":44,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246495232001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213173000,"timestamp_ms":1782213173000,"timestamp_seconds":1782213173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef42edf08"} 
[2026-06-23 16:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:48:30] 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-06-23 16: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 16:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246495232001,"66":25299,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246495232001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:48:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246495232001,"power":25299,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":110991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:48:30] local.INFO: GPS data processed {"connection_id":110991,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:48:30] local.INFO: Acknowledgment sent {"connection_id":110991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:48:39] local.INFO: TCP Data received {"connection_id":111178,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:48:39] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:48:39] local.INFO: IMEI packet received {"connection_id":111178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":111178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:48:47] local.INFO: TCP Data received {"connection_id":111790,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4336f00012d7ad4c005e3d5e0000100472f..."} 
[2026-06-23 16:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4336f00012d7ad4c005e3d5e0000100472f..."} 
[2026-06-23 16:48:47] local.INFO: Processing buffer {"connection_id":111790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4336f00012d7ad4c005e3d5e0000100472f..."} 
[2026-06-23 16:48:47] local.INFO: Packet analysis {"connection_id":111790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:48:47] local.INFO: Extracted packet for processing {"connection_id":111790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763024576,"raw_latitude":98817504,"longitude_deg":76.3024576,"latitude_deg":9.8817504,"altitude":1,"angle":71,"satellites":47,"speed":5,"hex_longitude":"2d7ad4c0","hex_latitude":"05e3d5e0","is_valid_coordinates":true} 
[2026-06-23 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246648576001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418545461624832,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850839930475485184,"note":"Value kept but may cause issues"} 
[2026-06-23 16:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782213472000,"timestamp_ms":1782213472000,"timestamp_seconds":1782213472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4336f00"} 
[2026-06-23 16:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:48:47] 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-06-23 16:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 16:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246648576001,"66":11852,"95":206,"85":15104,"24":5,"16":96418545461624832,"45":8850839930475485184},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246648576001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:48:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418545461624832,"km_value":96418545461624.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850839930475485184,"description":"Unknown IO ID 45"} 
[2026-06-23 16:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246648576001,"power":11852,"unknown_95":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8850839930475485184}} 
[2026-06-23 16:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":111790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:48:47] local.INFO: GPS data processed {"connection_id":111790,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:48:47] local.INFO: Acknowledgment sent {"connection_id":111790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:49:00] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef432f9d0012d0b4fc007060250001000191e..."} 
[2026-06-23 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef432f9d0012d0b4fc007060250001000191e..."} 
[2026-06-23 16:49:00] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef432f9d0012d0b4fc007060250001000191e..."} 
[2026-06-23 16:49:00] local.INFO: Packet analysis {"connection_id":111179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:49:00] local.INFO: Extracted packet for processing {"connection_id":111179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef432"} 
[2026-06-23 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755716032,"raw_latitude":117834320,"longitude_deg":75.5716032,"latitude_deg":11.783432,"altitude":16,"angle":25,"satellites":30,"speed":9,"hex_longitude":"2d0b4fc0","hex_latitude":"07060250","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246638848001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21952355238936576,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814307137789315072,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:00] 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-06-23 16:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782213442000,"timestamp_ms":1782213442000,"timestamp_seconds":1782213442,"priority":1,"record_length":96,"hex_timestamp":"0000019ef432f9d0"} 
[2026-06-23 16:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:49: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-06-23 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 16:49:00] 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-06-23 16: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-06-23 16:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111179,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:49:00] 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-06-23 16:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246638848001,"66":14428,"165":206,"94":10240,"24":9,"16":21952355238936576,"45":814307137789315072},"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-06-23 16:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246638848001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:49:00] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:49:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21952355238936576,"km_value":21952355238936.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":814307137789315072,"description":"Unknown IO ID 45"} 
[2026-06-23 16:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246638848001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":814307137789315072}} 
[2026-06-23 16:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":111179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371934,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:49:00] local.INFO: GPS data processed {"connection_id":111179,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:49:00] local.INFO: Acknowledgment sent {"connection_id":111179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:49:02] local.INFO: TCP Data received {"connection_id":110991,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:49:02] local.INFO: Processing buffer {"connection_id":110991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:49:02] local.INFO: Packet analysis {"connection_id":110991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:02] local.INFO: Extracted packet for processing {"connection_id":110991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 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-06-23 16:49:02] 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-06-23 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":110991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":110991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":110991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:49:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:49:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":110991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:49:02] local.INFO: GPS data processed {"connection_id":110991,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:49:02] local.INFO: Acknowledgment sent {"connection_id":110991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:49:06] local.INFO: TCP Data received {"connection_id":112731,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:49:06] local.INFO: Processing buffer {"connection_id":112731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:49:06] local.INFO: IMEI packet received {"connection_id":112731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":112731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:49:10] local.INFO: TCP Data received {"connection_id":111791,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:49:10] local.INFO: Processing buffer {"connection_id":111791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:49:10] local.INFO: IMEI packet received {"connection_id":111791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":111791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:49:15] local.INFO: TCP Data received {"connection_id":111791,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:49:15] local.INFO: Processing buffer {"connection_id":111791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:49:15] local.INFO: IMEI packet received {"connection_id":111791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":111791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:49:16] local.INFO: TCP Data received {"connection_id":111791,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012d7ad58005e3d6480001006731..."} 
[2026-06-23 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012d7ad58005e3d6480001006731..."} 
[2026-06-23 16:49:16] local.INFO: Processing buffer {"connection_id":111791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012d7ad58005e3d6480001006731..."} 
[2026-06-23 16:49:16] local.INFO: Packet analysis {"connection_id":111791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:16] local.INFO: Extracted packet for processing {"connection_id":111791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763024768,"raw_latitude":98817608,"longitude_deg":76.3024768,"latitude_deg":9.8817608,"altitude":1,"angle":103,"satellites":49,"speed":2,"hex_longitude":"2d7ad580","hex_latitude":"05e3d648","is_valid_coordinates":true} 
[2026-06-23 16:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246648832001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418554051559424,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850910299219681280,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 16:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 16:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246648832001,"66":11656,"95":206,"85":15104,"24":2,"16":96418554051559424,"45":8850910299219681280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246648832001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:49:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418554051559424,"km_value":96418554051559.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850910299219681280,"description":"Unknown IO ID 45"} 
[2026-06-23 16:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246648832001,"power":11656,"unknown_95":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8850910299219681280}} 
[2026-06-23 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":111791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:49:16] local.INFO: GPS data processed {"connection_id":111791,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:49:16] local.INFO: Acknowledgment sent {"connection_id":111791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:49:23] local.INFO: TCP Data received {"connection_id":112732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:49:23] local.INFO: Processing buffer {"connection_id":112732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:49:23] local.INFO: IMEI packet received {"connection_id":112732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":112732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:49:23] local.INFO: TCP Data received {"connection_id":111180,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:49:23] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:49:23] local.INFO: IMEI packet received {"connection_id":111180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":111180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:49:28] local.INFO: TCP Data received {"connection_id":112732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112732,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:49:28] local.INFO: Processing buffer {"connection_id":112732,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:49:28] local.INFO: IMEI packet received {"connection_id":112732,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":112732,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:49:29] local.INFO: TCP Data received {"connection_id":111180,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:49:29] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:49:29] local.INFO: IMEI packet received {"connection_id":111180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":111180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:49:29] local.INFO: TCP Data received {"connection_id":112732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43347f0012d0b53c007060b500011001c1e..."} 
[2026-06-23 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43347f0012d0b53c007060b500011001c1e..."} 
[2026-06-23 16:49:29] local.INFO: Processing buffer {"connection_id":112732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43347f0012d0b53c007060b500011001c1e..."} 
[2026-06-23 16:49:29] local.INFO: Packet analysis {"connection_id":112732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:29] local.INFO: Extracted packet for processing {"connection_id":112732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755717056,"raw_latitude":117836624,"longitude_deg":75.5717056,"latitude_deg":11.7836624,"altitude":17,"angle":28,"satellites":30,"speed":0,"hex_longitude":"2d0b53c0","hex_latitude":"07060b50","is_valid_coordinates":true} 
[2026-06-23 16:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246641152001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21952484087955456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815081193975468032,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:29] 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-06-23 16:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782213462000,"timestamp_ms":1782213462000,"timestamp_seconds":1782213462,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43347f0"} 
[2026-06-23 16:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:49: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-06-23 16:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 16:49: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-06-23 16:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:49: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-06-23 16:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246641152001,"66":14548,"165":206,"94":10240,"24":0,"16":21952484087955456,"45":815081193975468032},"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-06-23 16:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246641152001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:49:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:49:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21952484087955456,"km_value":21952484087955.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":815081193975468032,"description":"Unknown IO ID 45"} 
[2026-06-23 16:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246641152001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815081193975468032}} 
[2026-06-23 16:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":112732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:49:29] local.INFO: GPS data processed {"connection_id":112732,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:49:29] local.INFO: Acknowledgment sent {"connection_id":112732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:49:30] local.INFO: TCP Data received {"connection_id":111180,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:49:30] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:49:30] local.INFO: Packet analysis {"connection_id":111180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:30] local.INFO: Extracted packet for processing {"connection_id":111180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 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-06-23 16:49:30] 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-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:49:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":111180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:49:30] local.INFO: GPS data processed {"connection_id":111180,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:49:30] local.INFO: Acknowledgment sent {"connection_id":111180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:49:48] local.INFO: TCP Data received {"connection_id":111791,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4337ab8012d7ad5c005e3d6400001007532..."} 
[2026-06-23 16:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4337ab8012d7ad5c005e3d6400001007532..."} 
[2026-06-23 16:49:48] local.INFO: Processing buffer {"connection_id":111791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4337ab8012d7ad5c005e3d6400001007532..."} 
[2026-06-23 16:49:48] local.INFO: Packet analysis {"connection_id":111791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:48] local.INFO: Extracted packet for processing {"connection_id":111791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:49:48] local.INFO: GPS Element Parsed {"raw_longitude":763024832,"raw_latitude":98817600,"longitude_deg":76.3024832,"latitude_deg":9.88176,"altitude":1,"angle":117,"satellites":50,"speed":1,"hex_longitude":"2d7ad5c0","hex_latitude":"05e3d640","is_valid_coordinates":true} 
[2026-06-23 16:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418558346526720,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851121405452240896,"note":"Value kept but may cause issues"} 
[2026-06-23 16:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782213475000,"timestamp_ms":1782213475000,"timestamp_seconds":1782213475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4337ab8"} 
[2026-06-23 16:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-23 16:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":11765,"95":206,"85":15104,"24":1,"16":96418558346526720,"45":8851121405452240896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:49:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:49:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418558346526720,"km_value":96418558346526.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851121405452240896,"description":"Unknown IO ID 45"} 
[2026-06-23 16:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":11765,"unknown_95":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8851121405452240896}} 
[2026-06-23 16:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":111791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:49:48] local.INFO: GPS data processed {"connection_id":111791,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:49:48] local.INFO: Acknowledgment sent {"connection_id":111791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:02] local.INFO: TCP Data received {"connection_id":111180,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:02] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:02] local.INFO: Packet analysis {"connection_id":111180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:02] local.INFO: Extracted packet for processing {"connection_id":111180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 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-06-23 16:50:02] 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-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:50:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":111180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:02] local.INFO: GPS data processed {"connection_id":111180,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:02] local.INFO: Acknowledgment sent {"connection_id":111180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:13] local.INFO: TCP Data received {"connection_id":112733,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:50:13] local.INFO: Processing buffer {"connection_id":112733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:50:13] local.INFO: IMEI packet received {"connection_id":112733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":112733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:50:15] local.INFO: TCP Data received {"connection_id":112733,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:50:15] local.INFO: Processing buffer {"connection_id":112733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:50:15] local.INFO: IMEI packet received {"connection_id":112733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":112733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:50:16] local.INFO: TCP Data received {"connection_id":112733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:16] local.INFO: Processing buffer {"connection_id":112733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:16] local.INFO: Packet analysis {"connection_id":112733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:16] local.INFO: Extracted packet for processing {"connection_id":112733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763024896,"raw_latitude":98817632,"longitude_deg":76.3024896,"latitude_deg":9.8817632,"altitude":2,"angle":121,"satellites":50,"speed":0,"hex_longitude":"2d7ad600","hex_latitude":"05e3d660","is_valid_coordinates":true} 
[2026-06-23 16:50:16] 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-06-23 16:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649600001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418562641494016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851191774196416512,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782213479000,"timestamp_ms":1782213479000,"timestamp_seconds":1782213479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4338a58"} 
[2026-06-23 16:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:16] 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-06-23 16:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649600001,"66":11776,"95":206,"85":15104,"24":0,"16":96418562641494016,"45":8851191774196416512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649600001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:16] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418562641494016,"km_value":96418562641494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851191774196416512,"description":"Unknown IO ID 45"} 
[2026-06-23 16:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649600001,"power":11776,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851191774196416512}} 
[2026-06-23 16:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":112733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:16] local.INFO: GPS data processed {"connection_id":112733,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:16] local.INFO: Acknowledgment sent {"connection_id":112733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:21] local.INFO: TCP Data received {"connection_id":112732,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4338288012d0b538007060b78001000d41e..."} 
[2026-06-23 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4338288012d0b538007060b78001000d41e..."} 
[2026-06-23 16:50:21] local.INFO: Processing buffer {"connection_id":112732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4338288012d0b538007060b78001000d41e..."} 
[2026-06-23 16:50:21] local.INFO: Packet analysis {"connection_id":112732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:21] local.INFO: Extracted packet for processing {"connection_id":112732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":755716992,"raw_latitude":117836664,"longitude_deg":75.5716992,"latitude_deg":11.7836664,"altitude":16,"angle":212,"satellites":30,"speed":1,"hex_longitude":"2d0b5380","hex_latitude":"07060b78","is_valid_coordinates":true} 
[2026-06-23 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246646272001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21952488382922752,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882900480,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] 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-06-23 16:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782213477000,"timestamp_ms":1782213477000,"timestamp_seconds":1782213477,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4338288"} 
[2026-06-23 16:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:50:21] 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-06-23 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:21] 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-06-23 16:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112732,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:50:21] 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-06-23 16:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246646272001,"66":14396,"165":206,"94":10240,"24":1,"16":21952488382922752,"45":816207093882900480},"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-06-23 16:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246646272001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21952488382922752,"km_value":21952488382922.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882900480,"description":"Unknown IO ID 45"} 
[2026-06-23 16:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246646272001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816207093882900480}} 
[2026-06-23 16:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":112732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:21] local.INFO: GPS data processed {"connection_id":112732,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:21] local.INFO: Acknowledgment sent {"connection_id":112732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:21] local.INFO: TCP Data received {"connection_id":112733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:21] local.INFO: Processing buffer {"connection_id":112733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:21] local.INFO: Packet analysis {"connection_id":112733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:21] local.INFO: Extracted packet for processing {"connection_id":112733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":763024896,"raw_latitude":98817632,"longitude_deg":76.3024896,"latitude_deg":9.8817632,"altitude":2,"angle":121,"satellites":50,"speed":0,"hex_longitude":"2d7ad600","hex_latitude":"05e3d660","is_valid_coordinates":true} 
[2026-06-23 16:50:21] 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-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246650624001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418562641494016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142940602368,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782213479000,"timestamp_ms":1782213479000,"timestamp_seconds":1782213479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4338a58"} 
[2026-06-23 16:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4097008456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3583508481,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-06-23 16:50:21] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2351235072,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,95,85,24,241,157,16,140,158,122,45,192,214,1,50,10,66,118,128,49,111,240,76,227,244,4,113,205,103,212,80,48,239,46,2,86],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-06-23 16:50:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144248443731181807,"timestamp_seconds":144248443731181.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 16:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246650624001,"66":11776,"95":206,"85":15104,"24":0,"16":96418562641494016,"45":8851262142940602368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246650624001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418562641494016,"km_value":96418562641494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142940602368,"description":"Unknown IO ID 45"} 
[2026-06-23 16:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246650624001,"power":11776,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851262142940602368}} 
[2026-06-23 16:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":112733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:21] local.INFO: GPS data processed {"connection_id":112733,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:21] local.INFO: Acknowledgment sent {"connection_id":112733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:23] local.INFO: TCP Data received {"connection_id":111792,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:23] local.INFO: Processing buffer {"connection_id":111792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:23] local.INFO: IMEI packet received {"connection_id":111792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":111792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:50:24] local.INFO: TCP Data received {"connection_id":111792,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:24] local.INFO: Processing buffer {"connection_id":111792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:24] local.INFO: IMEI packet received {"connection_id":111792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":111792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:50:29] local.INFO: TCP Data received {"connection_id":111792,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111792,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:29] local.INFO: Processing buffer {"connection_id":111792,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:50:29] local.INFO: IMEI packet received {"connection_id":111792,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":111792,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:50:29] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:50:29] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:50:29] local.INFO: IMEI packet received {"connection_id":110993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":110993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:50:29] local.INFO: TCP Data received {"connection_id":111792,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43595c8012d0c094007059818001a006d1e..."} 
[2026-06-23 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43595c8012d0c094007059818001a006d1e..."} 
[2026-06-23 16:50:29] local.INFO: Processing buffer {"connection_id":111792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43595c8012d0c094007059818001a006d1e..."} 
[2026-06-23 16:50:29] local.INFO: Packet analysis {"connection_id":111792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef435"} 
[2026-06-23 16:50:29] local.INFO: Extracted packet for processing {"connection_id":111792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef435"} 
[2026-06-23 16:50:29] local.INFO: GPS Element Parsed {"raw_longitude":755763520,"raw_latitude":117807128,"longitude_deg":75.576352,"latitude_deg":11.7807128,"altitude":26,"angle":109,"satellites":30,"speed":34,"hex_longitude":"2d0c0940","hex_latitude":"07059818","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246680576001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21955318766370816,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857513546708447232,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:29] 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-06-23 16:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782213613000,"timestamp_ms":1782213613000,"timestamp_seconds":1782213613,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43595c8"} 
[2026-06-23 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-06-23 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-06-23 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":38,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:29] 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-06-23 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-06-23 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-06-23 16:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:50: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-06-23 16:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246680576001,"66":14439,"164":206,"94":10240,"24":34,"16":21955318766370816,"45":857513546708447232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-23 16:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246680576001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 16:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21955318766370816,"km_value":21955318766370.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":857513546708447232,"description":"Unknown IO ID 45"} 
[2026-06-23 16:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246680576001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":857513546708447232}} 
[2026-06-23 16:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":111792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:29] local.INFO: GPS data processed {"connection_id":111792,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:29] local.INFO: Acknowledgment sent {"connection_id":111792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:34] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:50:34] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:50:34] local.INFO: IMEI packet received {"connection_id":110993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":110993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:50:35] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:35] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:35] local.INFO: Packet analysis {"connection_id":110993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:35] local.INFO: Extracted packet for processing {"connection_id":110993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 16:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:50: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-06-23 16:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":110993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":110993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:35] local.INFO: GPS data processed {"connection_id":110993,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:35] local.INFO: Acknowledgment sent {"connection_id":110993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:39] local.INFO: TCP Data received {"connection_id":110993,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:39] local.INFO: Processing buffer {"connection_id":110993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:50:39] local.INFO: Packet analysis {"connection_id":110993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:39] local.INFO: Extracted packet for processing {"connection_id":110993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 16:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:50: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-06-23 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":110993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":110993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":110993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:39] local.INFO: GPS data processed {"connection_id":110993,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:39] local.INFO: Acknowledgment sent {"connection_id":110993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:50:52] local.INFO: TCP Data received {"connection_id":112733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:52] local.INFO: Processing buffer {"connection_id":112733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:50:52] local.INFO: Packet analysis {"connection_id":112733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:52] local.INFO: Extracted packet for processing {"connection_id":112733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763024896,"raw_latitude":98817632,"longitude_deg":76.3024896,"latitude_deg":9.8817632,"altitude":2,"angle":121,"satellites":50,"speed":0,"hex_longitude":"2d7ad600","hex_latitude":"05e3d660","is_valid_coordinates":true} 
[2026-06-23 16:50:52] 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-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246650624001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418562641494016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142940602368,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782213479000,"timestamp_ms":1782213479000,"timestamp_seconds":1782213479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4338a58"} 
[2026-06-23 16:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4097008456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3583508481,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-06-23 16:50:52] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2351235072,"note":"Value kept but may cause issues"} 
[2026-06-23 16:50:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,95,85,24,241,157,16,140,158,122,45,192,214,1,50,10,66,118,128,49,111,240,76,227,244,4,113,205,103,212,80,48,239,46,2,86],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-06-23 16:50:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144248443731181807,"timestamp_seconds":144248443731181.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 16:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112733,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246650624001,"66":11776,"95":206,"85":15104,"24":0,"16":96418562641494016,"45":8851262142940602368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246650624001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:50:52] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418562641494016,"km_value":96418562641494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142940602368,"description":"Unknown IO ID 45"} 
[2026-06-23 16:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246650624001,"power":11776,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851262142940602368}} 
[2026-06-23 16:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":112733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:50:52] local.INFO: GPS data processed {"connection_id":112733,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:50:52] local.INFO: Acknowledgment sent {"connection_id":112733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:51:15] local.INFO: TCP Data received {"connection_id":110995,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:51:15] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:51:15] local.INFO: IMEI packet received {"connection_id":110995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":110995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:51:20] local.INFO: TCP Data received {"connection_id":110995,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:51:20] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:51:20] local.INFO: IMEI packet received {"connection_id":110995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":110995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:51:21] local.INFO: TCP Data received {"connection_id":110995,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:51:21] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4338a58012d7ad60005e3d6600002007932..."} 
[2026-06-23 16:51:21] local.INFO: Packet analysis {"connection_id":110995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:51:21] local.INFO: Extracted packet for processing {"connection_id":110995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763024896,"raw_latitude":98817632,"longitude_deg":76.3024896,"latitude_deg":9.8817632,"altitude":2,"angle":121,"satellites":50,"speed":0,"hex_longitude":"2d7ad600","hex_latitude":"05e3d660","is_valid_coordinates":true} 
[2026-06-23 16:51:21] 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-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246650624001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418562641494016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142940602368,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782213479000,"timestamp_ms":1782213479000,"timestamp_seconds":1782213479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4338a58"} 
[2026-06-23 16:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4097008456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3583508481,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-06-23 16:51:21] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2351235072,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,95,85,24,241,157,16,140,158,122,45,192,214,1,50,10,66,118,128,49,111,240,76,227,244,4,113,205,103,212,80,48,239,46,2,86],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-06-23 16:51:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144248443731181807,"timestamp_seconds":144248443731181.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 16:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":110995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":110995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":110995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246650624001,"66":11776,"95":206,"85":15104,"24":0,"16":96418562641494016,"45":8851262142940602368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-23 16:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246650624001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:51:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 16:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418562641494016,"km_value":96418562641494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142940602368,"description":"Unknown IO ID 45"} 
[2026-06-23 16:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246650624001,"power":11776,"unknown_95":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851262142940602368}} 
[2026-06-23 16:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":110995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:51:21] local.INFO: GPS data processed {"connection_id":110995,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:51:21] local.INFO: Acknowledgment sent {"connection_id":110995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:51:24] local.INFO: TCP Data received {"connection_id":110996,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:51:24] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:51:24] local.INFO: IMEI packet received {"connection_id":110996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":110996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:51:28] local.INFO: TCP Data received {"connection_id":110996,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:51:28] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:51:28] local.INFO: IMEI packet received {"connection_id":110996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":110996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:51:29] local.INFO: TCP Data received {"connection_id":110996,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:51:29] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:51:29] local.INFO: Packet analysis {"connection_id":110996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:51:29] local.INFO: Extracted packet for processing {"connection_id":110996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:51:29] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 16:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:51:30] 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-06-23 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":110996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":110996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":110996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:51:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":110996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:51:30] local.INFO: GPS data processed {"connection_id":110996,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:51:30] local.INFO: Acknowledgment sent {"connection_id":110996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:51:53] local.INFO: TCP Data received {"connection_id":110995,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef436d618012d7ad68005e3d6980002007930..."} 
[2026-06-23 16:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef436d618012d7ad68005e3d6980002007930..."} 
[2026-06-23 16:51:53] local.INFO: Processing buffer {"connection_id":110995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef436d618012d7ad68005e3d6980002007930..."} 
[2026-06-23 16:51:53] local.INFO: Packet analysis {"connection_id":110995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef436"} 
[2026-06-23 16:51:53] local.INFO: Extracted packet for processing {"connection_id":110995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef436"} 
[2026-06-23 16:51:53] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98817688,"longitude_deg":76.3025024,"latitude_deg":9.8817688,"altitude":2,"angle":121,"satellites":48,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3d698","is_valid_coordinates":true} 
[2026-06-23 16:51:53] 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-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246650624001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418562641494016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142940602368,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782213695000,"timestamp_ms":1782213695000,"timestamp_seconds":1782213695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef436d618"} 
[2026-06-23 16:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 16:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4097009456,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3588227073,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147869653,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2351366144,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:53] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,95,85,24,241,157,16,140,158,138,45,214,2,50,10,66,122,192,1,118,128,240,136,227,244,4,113,205,5,107,212,152,49,239,46,86],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-06-23 16:51:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144248443731181808,"timestamp_seconds":144248443731181.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 16:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":110995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":110995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":110995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246650624001,"66":12863,"97":206,"85":15104,"24":0,"16":96418562641494016,"45":8851262142940602368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246650624001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418562641494016,"km_value":96418562641494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142940602368,"description":"Unknown IO ID 45"} 
[2026-06-23 16:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246650624001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851262142940602368}} 
[2026-06-23 16:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":110995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:51:53] local.INFO: GPS data processed {"connection_id":110995,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:51:53] local.INFO: Acknowledgment sent {"connection_id":110995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:51:56] local.INFO: TCP Data received {"connection_id":111792,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef435bcd8012d0c2c4007058b60001c00701e..."} 
[2026-06-23 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef435bcd8012d0c2c4007058b60001c00701e..."} 
[2026-06-23 16:51:56] local.INFO: Processing buffer {"connection_id":111792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef435bcd8012d0c2c4007058b60001c00701e..."} 
[2026-06-23 16:51:56] local.INFO: Packet analysis {"connection_id":111792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef435"} 
[2026-06-23 16:51:56] local.INFO: Extracted packet for processing {"connection_id":111792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef435"} 
[2026-06-23 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":755772480,"raw_latitude":117803872,"longitude_deg":75.577248,"latitude_deg":11.7803872,"altitude":28,"angle":112,"satellites":30,"speed":35,"hex_longitude":"2d0c2c40","hex_latitude":"07058b60","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246684928001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21955769737936896,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867294802148333568,"note":"Value kept but may cause issues"} 
[2026-06-23 16:51:56] 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-06-23 16:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782213623000,"timestamp_ms":1782213623000,"timestamp_seconds":1782213623,"priority":1,"record_length":96,"hex_timestamp":"0000019ef435bcd8"} 
[2026-06-23 16:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:51:56] 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-06-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:51:56] 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-06-23 16: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-06-23 16:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111792,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:51: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-06-23 16:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246684928001,"66":14396,"164":206,"94":10240,"24":35,"16":21955769737936896,"45":867294802148333568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-23 16:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246684928001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:51:56] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 16:51:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-23 16:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21955769737936896,"km_value":21955769737936.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":867294802148333568,"description":"Unknown IO ID 45"} 
[2026-06-23 16:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246684928001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":867294802148333568}} 
[2026-06-23 16:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":111792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:51:56] local.INFO: GPS data processed {"connection_id":111792,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:51:56] local.INFO: Acknowledgment sent {"connection_id":111792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:52:00] local.INFO: TCP Data received {"connection_id":111793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111793,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:00] local.INFO: Processing buffer {"connection_id":111793,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:00] local.INFO: IMEI packet received {"connection_id":111793,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":111793,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:52:01] local.INFO: TCP Data received {"connection_id":110996,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:52:01] local.INFO: Processing buffer {"connection_id":110996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:52:01] local.INFO: Packet analysis {"connection_id":110996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:52:01] local.INFO: Extracted packet for processing {"connection_id":110996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:52:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 16:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:52:01] 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-06-23 16:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":110996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":110996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":110996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:52:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:52:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":110996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:52:01] local.INFO: GPS data processed {"connection_id":110996,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:52:01] local.INFO: Acknowledgment sent {"connection_id":110996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:52:03] local.INFO: TCP Data received {"connection_id":111793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111793,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:03] local.INFO: Processing buffer {"connection_id":111793,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:03] local.INFO: IMEI packet received {"connection_id":111793,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":111793,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:52:10] local.INFO: TCP Data received {"connection_id":110998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:52:10] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:52:10] local.INFO: IMEI packet received {"connection_id":110998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":110998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:52:15] local.INFO: TCP Data received {"connection_id":110998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:52:15] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:52:15] local.INFO: IMEI packet received {"connection_id":110998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":110998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:52:16] local.INFO: TCP Data received {"connection_id":110998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef436d618012d7ad68005e3d6980002007930..."} 
[2026-06-23 16:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef436d618012d7ad68005e3d6980002007930..."} 
[2026-06-23 16:52:16] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef436d618012d7ad68005e3d6980002007930..."} 
[2026-06-23 16:52:16] local.INFO: Packet analysis {"connection_id":110998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef436"} 
[2026-06-23 16:52:16] local.INFO: Extracted packet for processing {"connection_id":110998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef436"} 
[2026-06-23 16:52:16] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98817688,"longitude_deg":76.3025024,"latitude_deg":9.8817688,"altitude":2,"angle":121,"satellites":48,"speed":0,"hex_longitude":"2d7ad680","hex_latitude":"05e3d698","is_valid_coordinates":true} 
[2026-06-23 16:52:16] 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-06-23 16:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246705920001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418562641494016,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428972032,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782213695000,"timestamp_ms":1782213695000,"timestamp_seconds":1782213695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef436d618"} 
[2026-06-23 16:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:52:16] 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-06-23 16:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 16:52:16] 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-06-23 16: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-06-23 16:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":110998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":110998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":110998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246705920001,"66":12863,"97":206,"85":15104,"24":0,"16":96418562641494016,"45":8851402880428972032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246705920001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418562641494016,"km_value":96418562641494.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428972032,"description":"Unknown IO ID 45"} 
[2026-06-23 16:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246705920001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8851402880428972032}} 
[2026-06-23 16:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":110998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:52:16] local.INFO: GPS data processed {"connection_id":110998,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:52:16] local.INFO: Acknowledgment sent {"connection_id":110998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:52:23] local.INFO: TCP Data received {"connection_id":112734,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:52:23] local.INFO: Processing buffer {"connection_id":112734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:52:23] local.INFO: IMEI packet received {"connection_id":112734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":112734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:52:29] local.INFO: TCP Data received {"connection_id":112734,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:52:29] local.INFO: Processing buffer {"connection_id":112734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:52:29] local.INFO: IMEI packet received {"connection_id":112734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":112734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:52:30] local.INFO: TCP Data received {"connection_id":112734,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:52:30] local.INFO: Processing buffer {"connection_id":112734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:52:30] local.INFO: Packet analysis {"connection_id":112734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:52:30] local.INFO: Extracted packet for processing {"connection_id":112734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:52:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 16:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:52:30] 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-06-23 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:52:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:52:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":112734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:52:30] local.INFO: GPS data processed {"connection_id":112734,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:52:30] local.INFO: Acknowledgment sent {"connection_id":112734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:52:31] local.INFO: TCP Data received {"connection_id":111794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:31] local.INFO: Processing buffer {"connection_id":111794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:31] local.INFO: IMEI packet received {"connection_id":111794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":111794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:52:37] local.INFO: TCP Data received {"connection_id":111794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111794,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:37] local.INFO: Processing buffer {"connection_id":111794,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:52:37] local.INFO: IMEI packet received {"connection_id":111794,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":111794,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:52:47] local.INFO: TCP Data received {"connection_id":110998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4371880012d7ad78005e3d9500006005032..."} 
[2026-06-23 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4371880012d7ad78005e3d9500006005032..."} 
[2026-06-23 16:52:47] local.INFO: Processing buffer {"connection_id":110998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4371880012d7ad78005e3d9500006005032..."} 
[2026-06-23 16:52:47] local.INFO: Packet analysis {"connection_id":110998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef437"} 
[2026-06-23 16:52:47] local.INFO: Extracted packet for processing {"connection_id":110998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef437"} 
[2026-06-23 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98818384,"longitude_deg":76.302528,"latitude_deg":9.8818384,"altitude":6,"angle":80,"satellites":50,"speed":5,"hex_longitude":"2d7ad780","hex_latitude":"05e3d950","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246705920001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96418601296199680,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880428972032,"note":"Value kept but may cause issues"} 
[2026-06-23 16:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782213712000,"timestamp_ms":1782213712000,"timestamp_seconds":1782213712,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4371880"} 
[2026-06-23 16:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 16:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":110998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":110998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":110998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246705920001,"66":11721,"97":206,"85":15104,"24":5,"16":96418601296199680,"45":8851402880428972032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246705920001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96418601296199680,"km_value":96418601296199.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880428972032,"description":"Unknown IO ID 45"} 
[2026-06-23 16:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246705920001,"power":11721,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8851402880428972032}} 
[2026-06-23 16:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":110998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:52:48] local.INFO: GPS data processed {"connection_id":110998,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:52:48] local.INFO: Acknowledgment sent {"connection_id":110998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:53:02] local.INFO: TCP Data received {"connection_id":112734,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:53:02] local.INFO: Processing buffer {"connection_id":112734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43376d0012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 16:53:02] local.INFO: Packet analysis {"connection_id":112734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:53:02] local.INFO: Extracted packet for processing {"connection_id":112734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef433"} 
[2026-06-23 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246572288001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213474000,"timestamp_ms":1782213474000,"timestamp_seconds":1782213474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43376d0"} 
[2026-06-23 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-06-23 16:53:02] 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-06-23 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-23 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246572288001,"66":25321,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246572288001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246572288001,"power":25321,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":112734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:53:02] local.INFO: GPS data processed {"connection_id":112734,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:53:02] local.INFO: Acknowledgment sent {"connection_id":112734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:53:20] local.INFO: TCP Data received {"connection_id":111795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:53:20] local.INFO: Processing buffer {"connection_id":111795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:53:20] local.INFO: IMEI packet received {"connection_id":111795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":111795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:53:25] local.INFO: TCP Data received {"connection_id":111795,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:53:25] local.INFO: Processing buffer {"connection_id":111795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:53:25] local.INFO: IMEI packet received {"connection_id":111795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":111795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:53:26] local.INFO: TCP Data received {"connection_id":111795,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef437e3a0012d7a8d0005e44aa0000701342f..."} 
[2026-06-23 16:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef437e3a0012d7a8d0005e44aa0000701342f..."} 
[2026-06-23 16:53:26] local.INFO: Processing buffer {"connection_id":111795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef437e3a0012d7a8d0005e44aa0000701342f..."} 
[2026-06-23 16:53:26] local.INFO: Packet analysis {"connection_id":111795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef437"} 
[2026-06-23 16:53:26] local.INFO: Extracted packet for processing {"connection_id":111795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef437"} 
[2026-06-23 16:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763006208,"raw_latitude":98847392,"longitude_deg":76.3006208,"latitude_deg":9.8847392,"altitude":7,"angle":308,"satellites":47,"speed":42,"hex_longitude":"2d7a8d00","hex_latitude":"05e44aa0","is_valid_coordinates":true} 
[2026-06-23 16:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246721024001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96420388002594816,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839017981459707904,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782213764000,"timestamp_ms":1782213764000,"timestamp_seconds":1782213764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef437e3a0"} 
[2026-06-23 16:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-23 16:53:26] 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-06-23 16:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246721024001,"66":13515,"97":206,"85":15104,"24":42,"16":96420388002594816,"45":8839017981459707904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246721024001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:53:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96420388002594816,"km_value":96420388002594.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839017981459707904,"description":"Unknown IO ID 45"} 
[2026-06-23 16:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246721024001,"power":13515,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8839017981459707904}} 
[2026-06-23 16:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":111795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:53:26] local.INFO: GPS data processed {"connection_id":111795,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:53:26] local.INFO: Acknowledgment sent {"connection_id":111795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:53:29] local.INFO: TCP Data received {"connection_id":111796,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:53:29] local.INFO: Processing buffer {"connection_id":111796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:53:29] local.INFO: IMEI packet received {"connection_id":111796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":111796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:53:32] local.INFO: TCP Data received {"connection_id":111795,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43806c8012d7a70c005e46030000701342e..."} 
[2026-06-23 16:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43806c8012d7a70c005e46030000701342e..."} 
[2026-06-23 16:53:32] local.INFO: Processing buffer {"connection_id":111795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43806c8012d7a70c005e46030000701342e..."} 
[2026-06-23 16:53:32] local.INFO: Packet analysis {"connection_id":111795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:53:32] local.INFO: Extracted packet for processing {"connection_id":111795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:53:32] local.INFO: GPS Element Parsed {"raw_longitude":762998976,"raw_latitude":98852912,"longitude_deg":76.2998976,"latitude_deg":9.8852912,"altitude":7,"angle":308,"satellites":46,"speed":32,"hex_longitude":"2d7a70c0","hex_latitude":"05e46030","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246723584001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96420826089259008,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830714469648343040,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782213773000,"timestamp_ms":1782213773000,"timestamp_seconds":1782213773,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43806c8"} 
[2026-06-23 16:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-23 16:53: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-06-23 16: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-06-23 16:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246723584001,"66":12689,"97":206,"85":15104,"24":32,"16":96420826089259008,"45":8830714469648343040},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 16:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246723584001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:53:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 16:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 16:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96420826089259008,"km_value":96420826089259.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830714469648343040,"description":"Unknown IO ID 45"} 
[2026-06-23 16:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246723584001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8830714469648343040}} 
[2026-06-23 16:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":111795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:53:32] local.INFO: GPS data processed {"connection_id":111795,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:53:32] local.INFO: Acknowledgment sent {"connection_id":111795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:53:33] local.INFO: TCP Data received {"connection_id":111796,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:53:33] local.INFO: Processing buffer {"connection_id":111796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:53:33] local.INFO: IMEI packet received {"connection_id":111796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":111796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:53:34] local.INFO: TCP Data received {"connection_id":111796,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:53:34] local.INFO: Processing buffer {"connection_id":111796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:53:34] local.INFO: Packet analysis {"connection_id":111796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:53:34] local.INFO: Extracted packet for processing {"connection_id":111796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:53: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-06-23 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":111796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:53:34] local.INFO: GPS data processed {"connection_id":111796,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:53:34] local.INFO: Acknowledgment sent {"connection_id":111796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:53:35] local.INFO: TCP Data received {"connection_id":111796,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:53:35] local.INFO: Processing buffer {"connection_id":111796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:53:35] local.INFO: Packet analysis {"connection_id":111796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:53:35] local.INFO: Extracted packet for processing {"connection_id":111796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:53:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:53: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-06-23 16:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:53:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:53:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":111796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:53:35] local.INFO: GPS data processed {"connection_id":111796,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:53:35] local.INFO: Acknowledgment sent {"connection_id":111796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:07] local.INFO: TCP Data received {"connection_id":111796,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:54:07] local.INFO: Processing buffer {"connection_id":111796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:54:07] local.INFO: Packet analysis {"connection_id":111796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:07] local.INFO: Extracted packet for processing {"connection_id":111796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54:07] 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-06-23 16:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:54:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":111796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:07] local.INFO: GPS data processed {"connection_id":111796,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:07] local.INFO: Acknowledgment sent {"connection_id":111796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:10] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:54:10] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:54:10] local.INFO: IMEI packet received {"connection_id":110999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":110999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:54:11] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 16:54:11] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 16:54:11] local.INFO: IMEI packet received {"connection_id":110999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":110999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:54:12] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef438ce00012d7a20c005e46928000d00ff30..."} 
[2026-06-23 16:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef438ce00012d7a20c005e46928000d00ff30..."} 
[2026-06-23 16:54:12] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 16:54:12] local.INFO: IMEI packet received {"connection_id":110999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":110999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:54:13] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef438d9b8012d7a1ec005e46868000d00f430..."} 
[2026-06-23 16:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef438d9b8012d7a1ec005e46868000d00f430..."} 
[2026-06-23 16:54:13] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ef4..."} 
[2026-06-23 16:54:13] local.INFO: IMEI packet received {"connection_id":110999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":110999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:54:15] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef438dda0012d7a1dc005e46830000d010330..."} 
[2026-06-23 16:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef438dda0012d7a1dc005e46830000d010330..."} 
[2026-06-23 16:54:15] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019ef438ce00012d7a20c005e46928000d00ff30..."} 
[2026-06-23 16:54:15] local.INFO: Packet analysis {"connection_id":110999,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:15] local.INFO: Extracted packet for processing {"connection_id":110999,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":762978496,"raw_latitude":98855208,"longitude_deg":76.2978496,"latitude_deg":9.8855208,"altitude":13,"angle":255,"satellites":48,"speed":6,"hex_longitude":"2d7a20c0","hex_latitude":"05e46928","is_valid_coordinates":true} 
[2026-06-23 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246738432001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96421951370690560,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384630657024,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782213824000,"timestamp_ms":1782213824000,"timestamp_seconds":1782213824,"priority":1,"record_length":96,"hex_timestamp":"0000019ef438ce00"} 
[2026-06-23 16:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54: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-06-23 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 16:54:15] 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-06-23 16:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246738432001,"66":12602,"157":206,"87":12288,"24":6,"16":96421951370690560,"45":8800737384630657024},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246738432001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96421951370690560,"km_value":96421951370690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384630657024,"description":"Unknown IO ID 45"} 
[2026-06-23 16:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246738432001,"power":12602,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8800737384630657024}} 
[2026-06-23 16:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":110999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:15] local.INFO: GPS data processed {"connection_id":110999,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:15] local.INFO: Acknowledgment sent {"connection_id":110999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:15] local.INFO: Packet analysis {"connection_id":110999,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:15] local.INFO: Extracted packet for processing {"connection_id":110999,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":762977984,"raw_latitude":98855016,"longitude_deg":76.2977984,"latitude_deg":9.8855016,"altitude":13,"angle":244,"satellites":48,"speed":8,"hex_longitude":"2d7a1ec0","hex_latitude":"05e46868","is_valid_coordinates":true} 
[2026-06-23 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246738944001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96421977140494336,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800244803421415424,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782213827000,"timestamp_ms":1782213827000,"timestamp_seconds":1782213827,"priority":1,"record_length":96,"hex_timestamp":"0000019ef438d9b8"} 
[2026-06-23 16:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54: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-06-23 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-23 16:54:15] 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-06-23 16:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246738944001,"66":13243,"157":206,"87":12288,"24":8,"16":96421977140494336,"45":8800244803421415424},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246738944001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96421977140494336,"km_value":96421977140494.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800244803421415424,"description":"Unknown IO ID 45"} 
[2026-06-23 16:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246738944001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8800244803421415424}} 
[2026-06-23 16:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":110999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:15] local.INFO: GPS data processed {"connection_id":110999,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:15] local.INFO: Acknowledgment sent {"connection_id":110999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:15] local.INFO: Packet analysis {"connection_id":110999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:15] local.INFO: Extracted packet for processing {"connection_id":110999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:15] local.INFO: GPS Element Parsed {"raw_longitude":762977728,"raw_latitude":98854960,"longitude_deg":76.2977728,"latitude_deg":9.885496,"altitude":13,"angle":259,"satellites":48,"speed":6,"hex_longitude":"2d7a1dc0","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-06-23 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246739712001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96421990025396224,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799681853467944960,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782213828000,"timestamp_ms":1782213828000,"timestamp_seconds":1782213828,"priority":1,"record_length":96,"hex_timestamp":"0000019ef438dda0"} 
[2026-06-23 16:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54: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-06-23 16:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 16:54: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-06-23 16:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":110999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246739712001,"66":12917,"157":206,"87":12288,"24":6,"16":96421990025396224,"45":8799681853467944960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246739712001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96421990025396224,"km_value":96421990025396.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799681853467944960,"description":"Unknown IO ID 45"} 
[2026-06-23 16:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246739712001,"power":12917,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8799681853467944960}} 
[2026-06-23 16:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":110999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:15] local.INFO: GPS data processed {"connection_id":110999,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:15] local.INFO: Acknowledgment sent {"connection_id":110999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:22] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4391c20012d7a028005e46538000b011132..."} 
[2026-06-23 16:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4391c20012d7a028005e46538000b011132..."} 
[2026-06-23 16:54:22] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4391c20012d7a028005e46538000b011132..."} 
[2026-06-23 16:54:22] local.INFO: Packet analysis {"connection_id":110999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:54:22] local.INFO: Extracted packet for processing {"connection_id":110999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:54:22] local.INFO: GPS Element Parsed {"raw_longitude":762970752,"raw_latitude":98854200,"longitude_deg":76.2970752,"latitude_deg":9.88542,"altitude":11,"angle":273,"satellites":50,"speed":20,"hex_longitude":"2d7a0280","hex_latitude":"05e46538","is_valid_coordinates":true} 
[2026-06-23 16:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246739968001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96422329327812608,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799400378491219968,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782213844000,"timestamp_ms":1782213844000,"timestamp_seconds":1782213844,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4391c20"} 
[2026-06-23 16:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54: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-06-23 16:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 16:54:22] 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-06-23 16:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":110999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246739968001,"66":13102,"157":206,"87":12288,"24":20,"16":96422329327812608,"45":8799400378491219968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246739968001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:54:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96422329327812608,"km_value":96422329327812.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799400378491219968,"description":"Unknown IO ID 45"} 
[2026-06-23 16:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246739968001,"power":13102,"unknown_157":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8799400378491219968}} 
[2026-06-23 16:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":110999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:22] local.INFO: GPS data processed {"connection_id":110999,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:22] local.INFO: Acknowledgment sent {"connection_id":110999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:23] local.INFO: TCP Data received {"connection_id":111798,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:54:23] local.INFO: Processing buffer {"connection_id":111798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:54:23] local.INFO: IMEI packet received {"connection_id":111798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":111798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:54:29] local.INFO: TCP Data received {"connection_id":111798,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:54:29] local.INFO: Processing buffer {"connection_id":111798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:54:29] local.INFO: IMEI packet received {"connection_id":111798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":111798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:54:30] local.INFO: TCP Data received {"connection_id":111798,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:54:30] local.INFO: Processing buffer {"connection_id":111798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:54:30] local.INFO: Packet analysis {"connection_id":111798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:30] local.INFO: Extracted packet for processing {"connection_id":111798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54:30] 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-06-23 16:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":111798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:30] local.INFO: GPS data processed {"connection_id":111798,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:30] local.INFO: Acknowledgment sent {"connection_id":111798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:54:36] local.INFO: TCP Data received {"connection_id":111797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:54:36] local.INFO: Processing buffer {"connection_id":111797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:54:36] local.INFO: IMEI packet received {"connection_id":111797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":111797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:54:52] local.INFO: TCP Data received {"connection_id":110999,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4392bc0012d79fd4005e465a8000900f631..."} 
[2026-06-23 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":110999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4392bc0012d79fd4005e465a8000900f631..."} 
[2026-06-23 16:54:52] local.INFO: Processing buffer {"connection_id":110999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4392bc0012d79fd4005e465a8000900f631..."} 
[2026-06-23 16:54:52] local.INFO: Packet analysis {"connection_id":110999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:54:52] local.INFO: Extracted packet for processing {"connection_id":110999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:54:52] local.INFO: GPS Element Parsed {"raw_longitude":762969408,"raw_latitude":98854312,"longitude_deg":76.2969408,"latitude_deg":9.8854312,"altitude":9,"angle":246,"satellites":49,"speed":9,"hex_longitude":"2d79fd40","hex_latitude":"05e465a8","is_valid_coordinates":true} 
[2026-06-23 16:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246744064001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96422389457354752,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791730185375660032,"note":"Value kept but may cause issues"} 
[2026-06-23 16:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782213848000,"timestamp_ms":1782213848000,"timestamp_seconds":1782213848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4392bc0"} 
[2026-06-23 16:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:54: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-06-23 16:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 16:54:52] 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-06-23 16:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":110999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":110999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246744064001,"66":12765,"157":206,"87":12288,"24":9,"16":96422389457354752,"45":8791730185375660032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246744064001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:54:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:54:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96422389457354752,"km_value":96422389457354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791730185375660032,"description":"Unknown IO ID 45"} 
[2026-06-23 16:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246744064001,"power":12765,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8791730185375660032}} 
[2026-06-23 16:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":110999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:54:53] local.INFO: GPS data processed {"connection_id":110999,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:54:53] local.INFO: Acknowledgment sent {"connection_id":110999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:55:02] local.INFO: TCP Data received {"connection_id":111798,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:55:02] local.INFO: Processing buffer {"connection_id":111798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:55:02] local.INFO: Packet analysis {"connection_id":111798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:55:02] local.INFO: Extracted packet for processing {"connection_id":111798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:55:02] 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-06-23 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:55: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-06-23 16: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-06-23 16:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":111798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:55:02] local.INFO: GPS data processed {"connection_id":111798,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:55:02] local.INFO: Acknowledgment sent {"connection_id":111798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:55:06] local.INFO: TCP Data received {"connection_id":111000,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:55:06] local.INFO: Processing buffer {"connection_id":111000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 16:55:06] local.INFO: IMEI packet received {"connection_id":111000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":111000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:55:10] local.INFO: TCP Data received {"connection_id":111799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:55:10] local.INFO: Processing buffer {"connection_id":111799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:55:10] local.INFO: IMEI packet received {"connection_id":111799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":111799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:55:15] local.INFO: TCP Data received {"connection_id":111799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:55:15] local.INFO: Processing buffer {"connection_id":111799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:55:15] local.INFO: IMEI packet received {"connection_id":111799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":111799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:55:16] local.INFO: TCP Data received {"connection_id":111799,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4392fa8012d79fcc005e46550000900e332..."} 
[2026-06-23 16:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4392fa8012d79fcc005e46550000900e332..."} 
[2026-06-23 16:55:16] local.INFO: Processing buffer {"connection_id":111799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4392fa8012d79fcc005e46550000900e332..."} 
[2026-06-23 16:55:16] local.INFO: Packet analysis {"connection_id":111799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:55:16] local.INFO: Extracted packet for processing {"connection_id":111799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:55:16] local.INFO: GPS Element Parsed {"raw_longitude":762969280,"raw_latitude":98854224,"longitude_deg":76.296928,"latitude_deg":9.8854224,"altitude":9,"angle":227,"satellites":50,"speed":6,"hex_longitude":"2d79fcc0","hex_latitude":"05e46550","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246745088001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96422398047289344,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790252441747957760,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782213849000,"timestamp_ms":1782213849000,"timestamp_seconds":1782213849,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4392fa8"} 
[2026-06-23 16:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:55: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-06-23 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 16:55:16] 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-06-23 16: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-06-23 16:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246745088001,"66":13048,"157":206,"87":12288,"24":6,"16":96422398047289344,"45":8790252441747957760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246745088001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:55:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:55:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96422398047289344,"km_value":96422398047289.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790252441747957760,"description":"Unknown IO ID 45"} 
[2026-06-23 16:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246745088001,"power":13048,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8790252441747957760}} 
[2026-06-23 16:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":111799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:55:16] local.INFO: GPS data processed {"connection_id":111799,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:55:16] local.INFO: Acknowledgment sent {"connection_id":111799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:55:23] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:55:23] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:55:23] local.INFO: IMEI packet received {"connection_id":111001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":111001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:55:29] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:55:29] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:55:29] local.INFO: IMEI packet received {"connection_id":111001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":111001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:55:30] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:55:30] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:55:30] local.INFO: Packet analysis {"connection_id":111001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:55:30] local.INFO: Extracted packet for processing {"connection_id":111001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:55:30] 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-06-23 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:55:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:55:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":111001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:55:30] local.INFO: GPS data processed {"connection_id":111001,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:55:30] local.INFO: Acknowledgment sent {"connection_id":111001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:55:49] local.INFO: TCP Data received {"connection_id":111799,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4393390012d79fc8005e464d0000900c833..."} 
[2026-06-23 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4393390012d79fc8005e464d0000900c833..."} 
[2026-06-23 16:55:49] local.INFO: Processing buffer {"connection_id":111799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4393390012d79fc8005e464d0000900c833..."} 
[2026-06-23 16:55:49] local.INFO: Packet analysis {"connection_id":111799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:55:49] local.INFO: Extracted packet for processing {"connection_id":111799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:55:49] local.INFO: GPS Element Parsed {"raw_longitude":762969216,"raw_latitude":98854096,"longitude_deg":76.2969216,"latitude_deg":9.8854096,"altitude":9,"angle":200,"satellites":51,"speed":6,"hex_longitude":"2d79fc80","hex_latitude":"05e464d0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246745344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96422406637223936,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790111704259579904,"note":"Value kept but may cause issues"} 
[2026-06-23 16:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782213850000,"timestamp_ms":1782213850000,"timestamp_seconds":1782213850,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4393390"} 
[2026-06-23 16:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 16:55:49] 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-06-23 16: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-06-23 16:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246745344001,"66":13048,"157":206,"87":12288,"24":6,"16":96422406637223936,"45":8790111704259579904},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246745344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:55:49] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:55:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96422406637223936,"km_value":96422406637223.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790111704259579904,"description":"Unknown IO ID 45"} 
[2026-06-23 16:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246745344001,"power":13048,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8790111704259579904}} 
[2026-06-23 16:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":111799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:55:49] local.INFO: GPS data processed {"connection_id":111799,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:55:49] local.INFO: Acknowledgment sent {"connection_id":111799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:56:02] local.INFO: TCP Data received {"connection_id":111001,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:02] local.INFO: Processing buffer {"connection_id":111001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:02] local.INFO: Packet analysis {"connection_id":111001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:56:02] local.INFO: Extracted packet for processing {"connection_id":111001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:56:02] 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-06-23 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:56: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-06-23 16:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":111001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:56:02] local.INFO: GPS data processed {"connection_id":111001,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:56:02] local.INFO: Acknowledgment sent {"connection_id":111001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:56:10] local.INFO: TCP Data received {"connection_id":111184,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:56:10] local.INFO: Processing buffer {"connection_id":111184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:56:10] local.INFO: IMEI packet received {"connection_id":111184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 16:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":111184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:56:15] local.INFO: TCP Data received {"connection_id":111184,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:56:15] local.INFO: Processing buffer {"connection_id":111184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 16:56:15] local.INFO: IMEI packet received {"connection_id":111184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 16:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":111184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:56:16] local.INFO: TCP Data received {"connection_id":111184,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4393778012d79fc4005e46438000900b532..."} 
[2026-06-23 16:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4393778012d79fc4005e46438000900b532..."} 
[2026-06-23 16:56:16] local.INFO: Processing buffer {"connection_id":111184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4393778012d79fc4005e46438000900b532..."} 
[2026-06-23 16:56:16] local.INFO: Packet analysis {"connection_id":111184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:56:16] local.INFO: Extracted packet for processing {"connection_id":111184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:56:16] local.INFO: GPS Element Parsed {"raw_longitude":762969152,"raw_latitude":98853944,"longitude_deg":76.2969152,"latitude_deg":9.8853944,"altitude":9,"angle":181,"satellites":50,"speed":7,"hex_longitude":"2d79fc40","hex_latitude":"05e46438","is_valid_coordinates":true} 
[2026-06-23 16:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246745600001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96422415227158528,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790041335515369472,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782213851000,"timestamp_ms":1782213851000,"timestamp_seconds":1782213851,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4393778"} 
[2026-06-23 16:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:56: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-06-23 16:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 16:56:16] 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-06-23 16:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246745600001,"66":13135,"157":206,"87":12288,"24":7,"16":96422415227158528,"45":8790041335515369472},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246745600001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:56:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:56:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96422415227158528,"km_value":96422415227158.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790041335515369472,"description":"Unknown IO ID 45"} 
[2026-06-23 16:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246745600001,"power":13135,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8790041335515369472}} 
[2026-06-23 16:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":111184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:56:16] local.INFO: GPS data processed {"connection_id":111184,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:56:16] local.INFO: Acknowledgment sent {"connection_id":111184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:56:29] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:56:29] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:56:29] local.INFO: IMEI packet received {"connection_id":111185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":111185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:56:34] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:56:34] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:56:34] local.INFO: IMEI packet received {"connection_id":111185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":111185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:56:35] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:35] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:35] local.INFO: Packet analysis {"connection_id":111185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:56:35] local.INFO: Extracted packet for processing {"connection_id":111185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:56: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-06-23 16:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:56:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":111185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:56:35] local.INFO: GPS data processed {"connection_id":111185,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:56:35] local.INFO: Acknowledgment sent {"connection_id":111185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:56:39] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:39] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:56:39] local.INFO: Packet analysis {"connection_id":111185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:56:39] local.INFO: Extracted packet for processing {"connection_id":111185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:56:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:56: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-06-23 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:56:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:56:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:56:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":111185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:56:39] local.INFO: GPS data processed {"connection_id":111185,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:56:39] local.INFO: Acknowledgment sent {"connection_id":111185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:56:47] local.INFO: TCP Data received {"connection_id":111184,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43979e0012d79fe0005e46428000e005b32..."} 
[2026-06-23 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43979e0012d79fe0005e46428000e005b32..."} 
[2026-06-23 16:56:47] local.INFO: Processing buffer {"connection_id":111184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43979e0012d79fe0005e46428000e005b32..."} 
[2026-06-23 16:56:47] local.INFO: Packet analysis {"connection_id":111184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:56:47] local.INFO: Extracted packet for processing {"connection_id":111184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef439"} 
[2026-06-23 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":762969600,"raw_latitude":98853928,"longitude_deg":76.29696,"latitude_deg":9.8853928,"altitude":14,"angle":91,"satellites":50,"speed":6,"hex_longitude":"2d79fe00","hex_latitude":"05e46428","is_valid_coordinates":true} 
[2026-06-23 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246745856001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96422462471798784,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789970966771152896,"note":"Value kept but may cause issues"} 
[2026-06-23 16:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782213868000,"timestamp_ms":1782213868000,"timestamp_seconds":1782213868,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43979e0"} 
[2026-06-23 16:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:56: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-06-23 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 16:56:47] 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-06-23 16:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 16:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 16:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 16:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246745856001,"66":13319,"157":206,"87":12288,"24":6,"16":96422462471798784,"45":8789970966771152896},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-23 16:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 16:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246745856001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-23 16:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96422462471798784,"km_value":96422462471798.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789970966771152896,"description":"Unknown IO ID 45"} 
[2026-06-23 16:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246745856001,"power":13319,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8789970966771152896}} 
[2026-06-23 16:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":111184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:56:47] local.INFO: GPS data processed {"connection_id":111184,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:56:47] local.INFO: Acknowledgment sent {"connection_id":111184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:57:24] local.INFO: TCP Data received {"connection_id":112735,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:57:24] local.INFO: Processing buffer {"connection_id":112735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:57:24] local.INFO: IMEI packet received {"connection_id":112735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":112735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:57:29] local.INFO: TCP Data received {"connection_id":112735,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:57:29] local.INFO: Processing buffer {"connection_id":112735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:57:29] local.INFO: IMEI packet received {"connection_id":112735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":112735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:57:30] local.INFO: TCP Data received {"connection_id":112735,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:57:30] local.INFO: Processing buffer {"connection_id":112735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:57:30] local.INFO: Packet analysis {"connection_id":112735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:57:30] local.INFO: Extracted packet for processing {"connection_id":112735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:57:30] 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-06-23 16:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:57:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":112735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:57:30] local.INFO: GPS data processed {"connection_id":112735,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:57:30] local.INFO: Acknowledgment sent {"connection_id":112735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:57:38] local.INFO: TCP Data received {"connection_id":112736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112736,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:57:38] local.INFO: Processing buffer {"connection_id":112736,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:57:38] local.INFO: IMEI packet received {"connection_id":112736,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":112736,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:57:39] local.INFO: TCP Data received {"connection_id":112736,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43a77c8012d0c1e800703aeb8001700e61f..."} 
[2026-06-23 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43a77c8012d0c1e800703aeb8001700e61f..."} 
[2026-06-23 16:57:39] local.INFO: Processing buffer {"connection_id":112736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43a77c8012d0c1e800703aeb8001700e61f..."} 
[2026-06-23 16:57:39] local.INFO: Packet analysis {"connection_id":112736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43a"} 
[2026-06-23 16:57:39] local.INFO: Extracted packet for processing {"connection_id":112736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43a"} 
[2026-06-23 16:57:39] local.INFO: GPS Element Parsed {"raw_longitude":755768960,"raw_latitude":117681848,"longitude_deg":75.576896,"latitude_deg":11.7681848,"altitude":23,"angle":230,"satellites":31,"speed":29,"hex_longitude":"2d0c1e80","hex_latitude":"0703aeb8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246764544001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21963195736391680,"note":"Value kept but may cause issues"} 
[2026-06-23 16:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878131588720308224,"note":"Value kept but may cause issues"} 
[2026-06-23 16:57: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-06-23 16:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782213933000,"timestamp_ms":1782213933000,"timestamp_seconds":1782213933,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43a77c8"} 
[2026-06-23 16:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:57:39] 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-06-23 16: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":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:57:39] 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-06-23 16: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-06-23 16:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112736,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:57:39] 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-06-23 16:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246764544001,"66":14450,"16":21963195736391680,"94":11008,"24":29,"45":878131588720308224},"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-06-23 16:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246764544001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21963195736391680,"km_value":21963195736391.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:57:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":878131588720308224,"description":"Unknown IO ID 45"} 
[2026-06-23 16:57:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456246764544001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":29,"unknown_45":878131588720308224}} 
[2026-06-23 16:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":112736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371978,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:57:39] local.INFO: GPS data processed {"connection_id":112736,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:57:39] local.INFO: Acknowledgment sent {"connection_id":112736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:58:02] local.INFO: TCP Data received {"connection_id":112735,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:58:02] local.INFO: Processing buffer {"connection_id":112735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:58:02] local.INFO: Packet analysis {"connection_id":112735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:58:02] local.INFO: Extracted packet for processing {"connection_id":112735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:58:02] 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-06-23 16:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:58: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-06-23 16: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-06-23 16:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":112735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:58:02] local.INFO: GPS data processed {"connection_id":112735,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:58:02] local.INFO: Acknowledgment sent {"connection_id":112735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:58:23] local.INFO: TCP Data received {"connection_id":112737,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:58:23] local.INFO: Processing buffer {"connection_id":112737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:58:23] local.INFO: IMEI packet received {"connection_id":112737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":112737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:58:24] local.INFO: TCP Data received {"connection_id":111004,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:58:24] local.INFO: Processing buffer {"connection_id":111004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:58:24] local.INFO: IMEI packet received {"connection_id":111004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":111004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:58:28] local.INFO: TCP Data received {"connection_id":111004,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:58:28] local.INFO: Processing buffer {"connection_id":111004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:58:28] local.INFO: IMEI packet received {"connection_id":111004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":111004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:58:29] local.INFO: TCP Data received {"connection_id":112737,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:58:29] local.INFO: Processing buffer {"connection_id":112737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:58:29] local.INFO: IMEI packet received {"connection_id":112737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":112737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:58:29] local.INFO: TCP Data received {"connection_id":111004,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43c8720012d0c21400702c2f0001000bd20..."} 
[2026-06-23 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43c8720012d0c21400702c2f0001000bd20..."} 
[2026-06-23 16:58:29] local.INFO: Processing buffer {"connection_id":111004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43c8720012d0c21400702c2f0001000bd20..."} 
[2026-06-23 16:58:29] local.INFO: Packet analysis {"connection_id":111004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:58:29] local.INFO: Extracted packet for processing {"connection_id":111004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:58:29] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117621488,"longitude_deg":75.5769664,"latitude_deg":11.7621488,"altitude":16,"angle":189,"satellites":32,"speed":0,"hex_longitude":"2d0c2140","hex_latitude":"0702c2f0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246799360001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21966262343041024,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873698357821280256,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:29] 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-06-23 16:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782214068000,"timestamp_ms":1782214068000,"timestamp_seconds":1782214068,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43c8720"} 
[2026-06-23 16:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16: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-06-23 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 16:58: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-06-23 16: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-06-23 16:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:58: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-06-23 16:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246799360001,"66":14461,"37":206,"94":11008,"24":0,"16":21966262343041024,"45":873698357821280256},"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-06-23 16:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246799360001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:58:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 16:58:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21966262343041024,"km_value":21966262343041.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":873698357821280256,"description":"Unknown IO ID 45"} 
[2026-06-23 16:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246799360001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":873698357821280256}} 
[2026-06-23 16:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":111004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:58:29] local.INFO: GPS data processed {"connection_id":111004,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:58:29] local.INFO: Acknowledgment sent {"connection_id":111004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:58:30] local.INFO: TCP Data received {"connection_id":112737,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:58:30] local.INFO: Processing buffer {"connection_id":112737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4380ab0012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 16:58:30] local.INFO: Packet analysis {"connection_id":112737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:58:30] local.INFO: Extracted packet for processing {"connection_id":112737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef438"} 
[2026-06-23 16:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 16:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246649344001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782213774000,"timestamp_ms":1782213774000,"timestamp_seconds":1782213774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4380ab0"} 
[2026-06-23 16:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:58:30] 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-06-23 16:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 16:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 16:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246649344001,"66":25343,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246649344001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:58:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246649344001,"power":25343,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":112737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:58:30] local.INFO: GPS data processed {"connection_id":112737,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:58:30] local.INFO: Acknowledgment sent {"connection_id":112737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:59:00] local.INFO: TCP Data received {"connection_id":111004,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43c8ef0012d0c21400702c280001000b220..."} 
[2026-06-23 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43c8ef0012d0c21400702c280001000b220..."} 
[2026-06-23 16:59:00] local.INFO: Processing buffer {"connection_id":111004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43c8ef0012d0c21400702c280001000b220..."} 
[2026-06-23 16:59:00] local.INFO: Packet analysis {"connection_id":111004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:00] local.INFO: Extracted packet for processing {"connection_id":111004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:00] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117621376,"longitude_deg":75.5769664,"latitude_deg":11.7621376,"altitude":16,"angle":178,"satellites":32,"speed":0,"hex_longitude":"2d0c2140","hex_latitude":"0702c280","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246801408001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21966266638008320,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050201541865472,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:00] 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-06-23 16:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782214070000,"timestamp_ms":1782214070000,"timestamp_seconds":1782214070,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43c8ef0"} 
[2026-06-23 16:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:59: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-06-23 16: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":125,"data_length":795,"current_offset":136} 
[2026-06-23 16:59: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-06-23 16: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-06-23 16:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:59:00] 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-06-23 16:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246801408001,"66":14439,"37":206,"94":11008,"24":0,"16":21966266638008320,"45":874050201541865472},"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-06-23 16:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246801408001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:59:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 16:59:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21966266638008320,"km_value":21966266638008.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050201541865472,"description":"Unknown IO ID 45"} 
[2026-06-23 16:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246801408001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874050201541865472}} 
[2026-06-23 16:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":111004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:59:01] local.INFO: GPS data processed {"connection_id":111004,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:59:01] local.INFO: Acknowledgment sent {"connection_id":111004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:59:01] local.INFO: TCP Data received {"connection_id":112737,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:01] local.INFO: Processing buffer {"connection_id":112737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:01] local.INFO: Packet analysis {"connection_id":112737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:01] local.INFO: Extracted packet for processing {"connection_id":112737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 16:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:59:01] 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-06-23 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:59:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:59:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":112737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:59:01] local.INFO: GPS data processed {"connection_id":112737,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:59:01] local.INFO: Acknowledgment sent {"connection_id":112737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:59:23] local.INFO: TCP Data received {"connection_id":111803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:23] local.INFO: Processing buffer {"connection_id":111803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:23] local.INFO: IMEI packet received {"connection_id":111803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 16:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:59:24] local.INFO: TCP Data received {"connection_id":111803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:24] local.INFO: Processing buffer {"connection_id":111803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:24] local.INFO: IMEI packet received {"connection_id":111803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":111803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:59:28] local.INFO: TCP Data received {"connection_id":111803,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:28] local.INFO: Processing buffer {"connection_id":111803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 16:59:28] local.INFO: IMEI packet received {"connection_id":111803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 16:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:59:28] local.INFO: TCP Data received {"connection_id":111803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43c96c0012d0c21800702c1a0001000a320..."} 
[2026-06-23 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43c96c0012d0c21800702c1a0001000a320..."} 
[2026-06-23 16:59:28] local.INFO: Processing buffer {"connection_id":111803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43c96c0012d0c21800702c1a0001000a320..."} 
[2026-06-23 16:59:28] local.INFO: Packet analysis {"connection_id":111803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:28] local.INFO: Extracted packet for processing {"connection_id":111803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755769728,"raw_latitude":117621152,"longitude_deg":75.5769728,"latitude_deg":11.7621152,"altitude":16,"angle":163,"satellites":32,"speed":3,"hex_longitude":"2d0c2180","hex_latitude":"0702c1a0","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246801920001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21966279522910208,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050201541836800,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59: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-06-23 16:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782214072000,"timestamp_ms":1782214072000,"timestamp_seconds":1782214072,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43c96c0"} 
[2026-06-23 16:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 16:59: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-06-23 16: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-06-23 16:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 16:59: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-06-23 16:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 16:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 16:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246801920001,"66":14428,"37":206,"94":11008,"24":3,"16":21966279522910208,"45":874050201541836800},"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-06-23 16:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 16:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 16:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246801920001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:59:28] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 16:59:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 16:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21966279522910208,"km_value":21966279522910.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050201541836800,"description":"Unknown IO ID 45"} 
[2026-06-23 16:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246801920001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":874050201541836800}} 
[2026-06-23 16:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":111803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371984,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:59:28] local.INFO: GPS data processed {"connection_id":111803,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:59:28] local.INFO: Acknowledgment sent {"connection_id":111803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:59:28] local.INFO: TCP Data received {"connection_id":111804,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:59:28] local.INFO: Processing buffer {"connection_id":111804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:59:28] local.INFO: IMEI packet received {"connection_id":111804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 16:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 16:59:33] local.INFO: TCP Data received {"connection_id":111804,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:59:33] local.INFO: Processing buffer {"connection_id":111804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 16:59:33] local.INFO: IMEI packet received {"connection_id":111804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 16:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":111804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 16:59:34] local.INFO: TCP Data received {"connection_id":111804,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:34] local.INFO: Processing buffer {"connection_id":111804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:34] local.INFO: Packet analysis {"connection_id":111804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:34] local.INFO: Extracted packet for processing {"connection_id":111804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 16:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 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-06-23 16:59: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-06-23 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 16:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:59:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:59:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":111804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:59:34] local.INFO: GPS data processed {"connection_id":111804,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:59:34] local.INFO: Acknowledgment sent {"connection_id":111804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 16:59:39] local.INFO: TCP Data received {"connection_id":111804,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:39] local.INFO: Processing buffer {"connection_id":111804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 16:59:39] local.INFO: Packet analysis {"connection_id":111804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:39] local.INFO: Extracted packet for processing {"connection_id":111804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 16:59:39] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 16: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-06-23 16:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 16:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 16:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 16:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 16:59: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-06-23 16:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 16:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 16: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-06-23 16:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 16:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 16:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 16:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 16:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 16:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 16:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 16:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 16:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 16:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 16:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 16:59:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 16:59:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 16:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 16:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 16:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 16:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":111804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 16:59:39] local.INFO: GPS data processed {"connection_id":111804,"processed":1,"errors":0,"total":1} 
[2026-06-23 16:59:39] local.INFO: Acknowledgment sent {"connection_id":111804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:00:00] local.INFO: TCP Data received {"connection_id":111803,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43e4c40012d0c26000702ab380013012421..."} 
[2026-06-23 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43e4c40012d0c26000702ab380013012421..."} 
[2026-06-23 17:00:00] local.INFO: Processing buffer {"connection_id":111803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43e4c40012d0c26000702ab380013012421..."} 
[2026-06-23 17:00:00] local.INFO: Packet analysis {"connection_id":111803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43e"} 
[2026-06-23 17:00:00] local.INFO: Extracted packet for processing {"connection_id":111803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43e"} 
[2026-06-23 17:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755770880,"raw_latitude":117615416,"longitude_deg":75.577088,"latitude_deg":11.7615416,"altitude":19,"angle":292,"satellites":33,"speed":4,"hex_longitude":"2d0c2600","hex_latitude":"0702ab38","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246830080001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21966644595130368,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788888958976,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:00] 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-06-23 17:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782214184000,"timestamp_ms":1782214184000,"timestamp_seconds":1782214184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43e4c40"} 
[2026-06-23 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-06-23 17:00: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-06-23 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 17:00:00] 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-06-23 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-06-23 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-06-23 17:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:00:00] 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-06-23 17:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246830080001,"66":14396,"37":206,"94":11008,"24":4,"16":21966644595130368,"45":875879788888958976},"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-06-23 17:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246830080001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:00:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 17:00:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21966644595130368,"km_value":21966644595130.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788888958976,"description":"Unknown IO ID 45"} 
[2026-06-23 17:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246830080001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":875879788888958976}} 
[2026-06-23 17:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":111803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371987,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:00:00] local.INFO: GPS data processed {"connection_id":111803,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:00:00] local.INFO: Acknowledgment sent {"connection_id":111803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:00:23] local.INFO: TCP Data received {"connection_id":111805,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:00:23] local.INFO: Processing buffer {"connection_id":111805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:00:23] local.INFO: IMEI packet received {"connection_id":111805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 17:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":111805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:00:24] local.INFO: TCP Data received {"connection_id":112739,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:00:24] local.INFO: Processing buffer {"connection_id":112739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:00:24] local.INFO: IMEI packet received {"connection_id":112739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":112739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:00:28] local.INFO: TCP Data received {"connection_id":111805,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:00:28] local.INFO: Processing buffer {"connection_id":111805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:00:28] local.INFO: IMEI packet received {"connection_id":111805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":111805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:00:29] local.INFO: TCP Data received {"connection_id":112739,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:00:29] local.INFO: Processing buffer {"connection_id":112739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:00:29] local.INFO: IMEI packet received {"connection_id":112739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":112739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:00:29] local.INFO: TCP Data received {"connection_id":111805,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43e6f68012d0c1e000702aec80014011721..."} 
[2026-06-23 17:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43e6f68012d0c1e000702aec80014011721..."} 
[2026-06-23 17:00:29] local.INFO: Processing buffer {"connection_id":111805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43e6f68012d0c1e000702aec80014011721..."} 
[2026-06-23 17:00:29] local.INFO: Packet analysis {"connection_id":111805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43e"} 
[2026-06-23 17:00:29] local.INFO: Extracted packet for processing {"connection_id":111805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43e"} 
[2026-06-23 17:00:29] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117616328,"longitude_deg":75.5768832,"latitude_deg":11.7616328,"altitude":20,"angle":279,"satellites":33,"speed":11,"hex_longitude":"2d0c1e00","hex_latitude":"0702aec8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246831104001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21966751969312768,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875387207679686656,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:29] 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-06-23 17:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782214193000,"timestamp_ms":1782214193000,"timestamp_seconds":1782214193,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43e6f68"} 
[2026-06-23 17:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 17:00:29] 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-06-23 17: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-06-23 17:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:00: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-06-23 17:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246831104001,"66":14515,"37":206,"94":11008,"24":11,"16":21966751969312768,"45":875387207679686656},"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-06-23 17:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246831104001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:00:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 17:00:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21966751969312768,"km_value":21966751969312.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":875387207679686656,"description":"Unknown IO ID 45"} 
[2026-06-23 17:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246831104001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":875387207679686656}} 
[2026-06-23 17:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":111805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371988,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:00:29] local.INFO: GPS data processed {"connection_id":111805,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:00:29] local.INFO: Acknowledgment sent {"connection_id":111805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:00:30] local.INFO: TCP Data received {"connection_id":112739,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:00:30] local.INFO: Processing buffer {"connection_id":112739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:00:30] local.INFO: Packet analysis {"connection_id":112739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:00:30] local.INFO: Extracted packet for processing {"connection_id":112739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 17:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:00:30] 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-06-23 17:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:00:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":112739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:00:30] local.INFO: GPS data processed {"connection_id":112739,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:00:30] local.INFO: Acknowledgment sent {"connection_id":112739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:00:31] local.INFO: TCP Data received {"connection_id":112738,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:00:31] local.INFO: Processing buffer {"connection_id":112738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:00:31] local.INFO: IMEI packet received {"connection_id":112738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":112738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:01:00] local.INFO: TCP Data received {"connection_id":111805,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43e7b20012d0c1a000702af000014010a21..."} 
[2026-06-23 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43e7b20012d0c1a000702af000014010a21..."} 
[2026-06-23 17:01:00] local.INFO: Processing buffer {"connection_id":111805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43e7b20012d0c1a000702af000014010a21..."} 
[2026-06-23 17:01:00] local.INFO: Packet analysis {"connection_id":111805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43e"} 
[2026-06-23 17:01:00] local.INFO: Extracted packet for processing {"connection_id":111805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43e"} 
[2026-06-23 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755767808,"raw_latitude":117616384,"longitude_deg":75.5767808,"latitude_deg":11.7616384,"altitude":20,"angle":266,"satellites":33,"speed":11,"hex_longitude":"2d0c1a00","hex_latitude":"0702af00","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246833408001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21966799213953024,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407866234880,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:00] 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-06-23 17:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782214196000,"timestamp_ms":1782214196000,"timestamp_seconds":1782214196,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43e7b20"} 
[2026-06-23 17:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:01: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-06-23 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 17:01:00] 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-06-23 17: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-06-23 17:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:01:00] 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-06-23 17:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246833408001,"66":14407,"37":206,"94":11008,"24":11,"16":21966799213953024,"45":873135407866234880},"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-06-23 17:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246833408001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:01:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 17:01:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21966799213953024,"km_value":21966799213953.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407866234880,"description":"Unknown IO ID 45"} 
[2026-06-23 17:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246833408001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":873135407866234880}} 
[2026-06-23 17:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":111805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:01:00] local.INFO: GPS data processed {"connection_id":111805,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:01:00] local.INFO: Acknowledgment sent {"connection_id":111805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:01:02] local.INFO: TCP Data received {"connection_id":112739,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:01:02] local.INFO: Processing buffer {"connection_id":112739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:01:02] local.INFO: Packet analysis {"connection_id":112739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:01:02] local.INFO: Extracted packet for processing {"connection_id":112739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 17:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:01:02] 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-06-23 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":112739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:01:02] local.INFO: GPS data processed {"connection_id":112739,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:01:02] local.INFO: Acknowledgment sent {"connection_id":112739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:01:06] local.INFO: TCP Data received {"connection_id":112740,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:01:06] local.INFO: Processing buffer {"connection_id":112740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:01:06] local.INFO: IMEI packet received {"connection_id":112740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":112740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:01:23] local.INFO: TCP Data received {"connection_id":111806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:23] local.INFO: Processing buffer {"connection_id":111806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:23] local.INFO: IMEI packet received {"connection_id":111806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 17:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":111806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:01:23] local.INFO: TCP Data received {"connection_id":111005,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:01:23] local.INFO: Processing buffer {"connection_id":111005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:01:23] local.INFO: IMEI packet received {"connection_id":111005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":111005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:01:26] local.INFO: TCP Data received {"connection_id":111806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:26] local.INFO: Processing buffer {"connection_id":111806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:26] local.INFO: IMEI packet received {"connection_id":111806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":111806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:01:29] local.INFO: TCP Data received {"connection_id":111005,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:01:29] local.INFO: Processing buffer {"connection_id":111005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:01:29] local.INFO: IMEI packet received {"connection_id":111005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":111005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:01:29] local.INFO: TCP Data received {"connection_id":111806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:29] local.INFO: Processing buffer {"connection_id":111806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:01:29] local.INFO: IMEI packet received {"connection_id":111806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":111806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:01:30] local.INFO: TCP Data received {"connection_id":111806,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43f6d50012d0bf3000702a1380013011621..."} 
[2026-06-23 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43f6d50012d0bf3000702a1380013011621..."} 
[2026-06-23 17:01:30] local.INFO: Processing buffer {"connection_id":111806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43f6d50012d0bf3000702a1380013011621..."} 
[2026-06-23 17:01:30] local.INFO: Packet analysis {"connection_id":111806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43f"} 
[2026-06-23 17:01:30] local.INFO: Extracted packet for processing {"connection_id":111806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43f"} 
[2026-06-23 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":755757824,"raw_latitude":117612856,"longitude_deg":75.5757824,"latitude_deg":11.7612856,"altitude":19,"angle":278,"satellites":33,"speed":9,"hex_longitude":"2d0bf300","hex_latitude":"0702a138","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246849792001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21967323199963136,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861313458843498496,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:30] 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-06-23 17:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214258000,"timestamp_ms":1782214258000,"timestamp_seconds":1782214258,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43f6d50"} 
[2026-06-23 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-06-23 17:01: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-06-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 17:01: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-06-23 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-06-23 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-06-23 17:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:01: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-06-23 17:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246849792001,"66":14396,"37":206,"94":11008,"24":9,"16":21967323199963136,"45":861313458843498496},"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-06-23 17:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246849792001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21967323199963136,"km_value":21967323199963.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":861313458843498496,"description":"Unknown IO ID 45"} 
[2026-06-23 17:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246849792001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":861313458843498496}} 
[2026-06-23 17:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":111806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:01:30] local.INFO: GPS data processed {"connection_id":111806,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:01:30] local.INFO: Acknowledgment sent {"connection_id":111806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:01:30] local.INFO: TCP Data received {"connection_id":111005,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:01:30] local.INFO: Processing buffer {"connection_id":111005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:01:30] local.INFO: Packet analysis {"connection_id":111005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:01:30] local.INFO: Extracted packet for processing {"connection_id":111005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 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-06-23 17:01:30] 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-06-23 17:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":111005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:01:30] local.INFO: GPS data processed {"connection_id":111005,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:01:30] local.INFO: Acknowledgment sent {"connection_id":111005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:02:01] local.INFO: TCP Data received {"connection_id":111806,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43f7cf0012d0bef400702a1d80013012121..."} 
[2026-06-23 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43f7cf0012d0bef400702a1d80013012121..."} 
[2026-06-23 17:02:01] local.INFO: Processing buffer {"connection_id":111806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43f7cf0012d0bef400702a1d80013012121..."} 
[2026-06-23 17:02:01] local.INFO: Packet analysis {"connection_id":111806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43f"} 
[2026-06-23 17:02:01] local.INFO: Extracted packet for processing {"connection_id":111806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43f"} 
[2026-06-23 17:02:01] local.INFO: GPS Element Parsed {"raw_longitude":755756864,"raw_latitude":117613016,"longitude_deg":75.5756864,"latitude_deg":11.7613016,"altitude":19,"angle":289,"satellites":33,"speed":11,"hex_longitude":"2d0bef40","hex_latitude":"0702a1d8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246850048001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21967370444603392,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861031983866787840,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:01] 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-06-23 17:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214262000,"timestamp_ms":1782214262000,"timestamp_seconds":1782214262,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43f7cf0"} 
[2026-06-23 17:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:02: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-06-23 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 17:02:01] 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-06-23 17: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-06-23 17:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:02: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-06-23 17:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246850048001,"66":14450,"37":206,"94":11008,"24":11,"16":21967370444603392,"45":861031983866787840},"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-06-23 17:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246850048001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:02:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 17:02:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21967370444603392,"km_value":21967370444603.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":861031983866787840,"description":"Unknown IO ID 45"} 
[2026-06-23 17:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246850048001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":861031983866787840}} 
[2026-06-23 17:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":111806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:02:01] local.INFO: GPS data processed {"connection_id":111806,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:02:01] local.INFO: Acknowledgment sent {"connection_id":111806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:02:06] local.INFO: TCP Data received {"connection_id":111005,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:02:06] local.INFO: Processing buffer {"connection_id":111005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:02:06] local.INFO: Packet analysis {"connection_id":111005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:02:06] local.INFO: Extracted packet for processing {"connection_id":111005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:02: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-06-23 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:02:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:02:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":111005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:02:06] local.INFO: GPS data processed {"connection_id":111005,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:02:06] local.INFO: Acknowledgment sent {"connection_id":111005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:02:23] local.INFO: TCP Data received {"connection_id":111188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:23] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:23] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 17:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:02:23] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:02:23] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:02:23] local.INFO: IMEI packet received {"connection_id":111187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:02:26] local.INFO: TCP Data received {"connection_id":111188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:26] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:26] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:02:28] local.INFO: TCP Data received {"connection_id":111188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:28] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:02:28] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:02:29] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:02:29] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:02:29] local.INFO: IMEI packet received {"connection_id":111187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":111187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:02:29] local.INFO: TCP Data received {"connection_id":111188,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43fb788012d0bdc000702a6400010011621..."} 
[2026-06-23 17:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43fb788012d0bdc000702a6400010011621..."} 
[2026-06-23 17:02:29] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43fb788012d0bdc000702a6400010011621..."} 
[2026-06-23 17:02:29] local.INFO: Packet analysis {"connection_id":111188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43f"} 
[2026-06-23 17:02:29] local.INFO: Extracted packet for processing {"connection_id":111188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43f"} 
[2026-06-23 17:02:29] local.INFO: GPS Element Parsed {"raw_longitude":755751936,"raw_latitude":117614144,"longitude_deg":75.5751936,"latitude_deg":11.7614144,"altitude":16,"angle":278,"satellites":33,"speed":12,"hex_longitude":"2d0bdc00","hex_latitude":"0702a640","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246851072001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21967610962771968,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859976452704163840,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:29] 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-06-23 17:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782214277000,"timestamp_ms":1782214277000,"timestamp_seconds":1782214277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43fb788"} 
[2026-06-23 17:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 17:02: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-06-23 17: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-06-23 17:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:02: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-06-23 17:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246851072001,"66":14450,"37":206,"94":11008,"24":12,"16":21967610962771968,"45":859976452704163840},"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-06-23 17:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246851072001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:02:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 17:02:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21967610962771968,"km_value":21967610962771.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":859976452704163840,"description":"Unknown IO ID 45"} 
[2026-06-23 17:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246851072001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":859976452704163840}} 
[2026-06-23 17:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:02:29] local.INFO: GPS data processed {"connection_id":111188,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:02:29] local.INFO: Acknowledgment sent {"connection_id":111188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:02:30] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:02:30] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:02:30] local.INFO: Packet analysis {"connection_id":111187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:02:30] local.INFO: Extracted packet for processing {"connection_id":111187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:02:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 17:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:02:30] 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-06-23 17:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:02:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:02:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":111187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:02:30] local.INFO: GPS data processed {"connection_id":111187,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:02:30] local.INFO: Acknowledgment sent {"connection_id":111187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:03:01] local.INFO: TCP Data received {"connection_id":111188,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019ef440e838012d0b85c00702ae20000d00f221..."} 
[2026-06-23 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef440e838012d0b85c00702ae20000d00f221..."} 
[2026-06-23 17:03:01] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef440e838012d0b85c00702ae20000d00f221..."} 
[2026-06-23 17:03:01] local.INFO: Packet analysis {"connection_id":111188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef440"} 
[2026-06-23 17:03:01] local.INFO: Extracted packet for processing {"connection_id":111188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef440"} 
[2026-06-23 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755729856,"raw_latitude":117616160,"longitude_deg":75.5729856,"latitude_deg":11.761616,"altitude":13,"angle":242,"satellites":33,"speed":1,"hex_longitude":"2d0b85c0","hex_latitude":"0702ae20","is_valid_coordinates":true} 
[2026-06-23 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246872064001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21968731949236224,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832040061266432000,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03: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-06-23 17:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214355000,"timestamp_ms":1782214355000,"timestamp_seconds":1782214355,"priority":1,"record_length":96,"hex_timestamp":"0000019ef440e838"} 
[2026-06-23 17:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:03: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-06-23 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 17:03:01] 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-06-23 17:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-23 17:03: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-06-23 17:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-23 17:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-23 17:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246872064001,"66":14309,"17":206,"94":11008,"24":1,"16":21968731949236224,"45":832040061266432000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-23 17:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-23 17:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246872064001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-23 17:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21968731949236224,"km_value":21968731949236.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":832040061266432000,"description":"Unknown IO ID 45"} 
[2026-06-23 17:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246872064001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":832040061266432000}} 
[2026-06-23 17:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":111188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:03:01] local.INFO: GPS data processed {"connection_id":111188,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:03:01] local.INFO: Acknowledgment sent {"connection_id":111188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:03:02] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:03:02] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:03:02] local.INFO: Packet analysis {"connection_id":111187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:03:02] local.INFO: Extracted packet for processing {"connection_id":111187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 17:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:03:02] 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-06-23 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:03:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:03:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":111187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":371999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:03:02] local.INFO: GPS data processed {"connection_id":111187,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:03:02] local.INFO: Acknowledgment sent {"connection_id":111187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:03:23] local.INFO: TCP Data received {"connection_id":111807,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:03:23] local.INFO: Processing buffer {"connection_id":111807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:03:23] local.INFO: IMEI packet received {"connection_id":111807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":111807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:03:25] local.INFO: TCP Data received {"connection_id":112742,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:25] local.INFO: Processing buffer {"connection_id":112742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:25] local.INFO: IMEI packet received {"connection_id":112742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-23 17:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":112742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:03:28] local.INFO: TCP Data received {"connection_id":112742,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:28] local.INFO: Processing buffer {"connection_id":112742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:28] local.INFO: IMEI packet received {"connection_id":112742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":112742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:03:28] local.INFO: TCP Data received {"connection_id":112742,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:28] local.INFO: Processing buffer {"connection_id":112742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:28] local.INFO: IMEI packet received {"connection_id":112742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":112742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:03:29] local.INFO: TCP Data received {"connection_id":111807,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:03:29] local.INFO: Processing buffer {"connection_id":111807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:03:29] local.INFO: IMEI packet received {"connection_id":111807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":111807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:03:29] local.INFO: TCP Data received {"connection_id":112742,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112742,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:29] local.INFO: Processing buffer {"connection_id":112742,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-23 17:03:29] local.INFO: IMEI packet received {"connection_id":112742,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-23 17:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":112742,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:03:30] local.INFO: TCP Data received {"connection_id":111807,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:03:30] local.INFO: Processing buffer {"connection_id":111807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef43ca278012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:03:30] local.INFO: Packet analysis {"connection_id":111807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:03:30] local.INFO: Extracted packet for processing {"connection_id":111807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef43c"} 
[2026-06-23 17:03:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246726144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214075000,"timestamp_ms":1782214075000,"timestamp_seconds":1782214075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef43ca278"} 
[2026-06-23 17:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:03:30] 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-06-23 17:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 17:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246726144001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246726144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:03:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246726144001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":111807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:03:30] local.INFO: GPS data processed {"connection_id":111807,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:03:30] local.INFO: Acknowledgment sent {"connection_id":111807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:04:01] local.INFO: TCP Data received {"connection_id":111807,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:04:01] local.INFO: Processing buffer {"connection_id":111807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:04:01] local.INFO: Packet analysis {"connection_id":111807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:04:01] local.INFO: Extracted packet for processing {"connection_id":111807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 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-06-23 17:04:01] 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-06-23 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:04:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:04:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":111807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:04:01] local.INFO: GPS data processed {"connection_id":111807,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:04:01] local.INFO: Acknowledgment sent {"connection_id":111807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:04:24] local.INFO: TCP Data received {"connection_id":111808,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:04:24] local.INFO: Processing buffer {"connection_id":111808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:04:24] local.INFO: IMEI packet received {"connection_id":111808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":111808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:04:29] local.INFO: TCP Data received {"connection_id":111808,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:04:29] local.INFO: Processing buffer {"connection_id":111808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:04:29] local.INFO: IMEI packet received {"connection_id":111808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":111808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:04:30] local.INFO: TCP Data received {"connection_id":111808,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:04:30] local.INFO: Processing buffer {"connection_id":111808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:04:30] local.INFO: Packet analysis {"connection_id":111808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:04:30] local.INFO: Extracted packet for processing {"connection_id":111808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:04:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:04:30] 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-06-23 17:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:04:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:04:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":111808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:04:30] local.INFO: GPS data processed {"connection_id":111808,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:04:30] local.INFO: Acknowledgment sent {"connection_id":111808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:05:02] local.INFO: TCP Data received {"connection_id":111808,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:05:02] local.INFO: Processing buffer {"connection_id":111808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:05:02] local.INFO: Packet analysis {"connection_id":111808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:05:02] local.INFO: Extracted packet for processing {"connection_id":111808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 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-06-23 17:05:02] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":111808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:05:02] local.INFO: GPS data processed {"connection_id":111808,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:05:02] local.INFO: Acknowledgment sent {"connection_id":111808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:05:24] local.INFO: TCP Data received {"connection_id":112745,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:05:24] local.INFO: Processing buffer {"connection_id":112745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:05:24] local.INFO: IMEI packet received {"connection_id":112745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":112745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:05:29] local.INFO: TCP Data received {"connection_id":112745,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:05:29] local.INFO: Processing buffer {"connection_id":112745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:05:29] local.INFO: IMEI packet received {"connection_id":112745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":112745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:05:30] local.INFO: TCP Data received {"connection_id":112745,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:05:30] local.INFO: Processing buffer {"connection_id":112745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:05:30] local.INFO: Packet analysis {"connection_id":112745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:05:30] local.INFO: Extracted packet for processing {"connection_id":112745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:05:30] 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-06-23 17:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:05:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":112745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:05:30] local.INFO: GPS data processed {"connection_id":112745,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:05:30] local.INFO: Acknowledgment sent {"connection_id":112745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:06:02] local.INFO: TCP Data received {"connection_id":112745,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:06:02] local.INFO: Processing buffer {"connection_id":112745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:06:02] local.INFO: Packet analysis {"connection_id":112745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:06:02] local.INFO: Extracted packet for processing {"connection_id":112745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 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-06-23 17:06:02] 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-06-23 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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:06:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:06:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":112745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:06:02] local.INFO: GPS data processed {"connection_id":112745,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:06:02] local.INFO: Acknowledgment sent {"connection_id":112745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:06:23] local.INFO: TCP Data received {"connection_id":111006,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:06:23] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:06:23] local.INFO: IMEI packet received {"connection_id":111006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":111006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:06:29] local.INFO: TCP Data received {"connection_id":111006,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:06:29] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:06:29] local.INFO: IMEI packet received {"connection_id":111006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":111006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:06:30] local.INFO: TCP Data received {"connection_id":111006,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:06:30] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:06:30] local.INFO: Packet analysis {"connection_id":111006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:06:30] local.INFO: Extracted packet for processing {"connection_id":111006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:06:30] 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-06-23 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:06:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":111006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:06:30] local.INFO: GPS data processed {"connection_id":111006,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:06:30] local.INFO: Acknowledgment sent {"connection_id":111006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:06:32] local.INFO: TCP Data received {"connection_id":112746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:06:32] local.INFO: Processing buffer {"connection_id":112746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:06:32] local.INFO: IMEI packet received {"connection_id":112746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":112746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:07:02] local.INFO: TCP Data received {"connection_id":111006,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:07:02] local.INFO: Processing buffer {"connection_id":111006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:07:02] local.INFO: Packet analysis {"connection_id":111006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:07:02] local.INFO: Extracted packet for processing {"connection_id":111006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:07:02] 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-06-23 17: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":111006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:07:02] local.INFO: GPS data processed {"connection_id":111006,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:07:02] local.INFO: Acknowledgment sent {"connection_id":111006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:07:06] local.INFO: TCP Data received {"connection_id":111007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:07:06] local.INFO: Processing buffer {"connection_id":111007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:07:06] local.INFO: IMEI packet received {"connection_id":111007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":111007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:07:23] local.INFO: TCP Data received {"connection_id":111809,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:07:23] local.INFO: Processing buffer {"connection_id":111809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:07:23] local.INFO: IMEI packet received {"connection_id":111809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":111809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:07:29] local.INFO: TCP Data received {"connection_id":111809,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:07:29] local.INFO: Processing buffer {"connection_id":111809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:07:29] local.INFO: IMEI packet received {"connection_id":111809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":111809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:07:30] local.INFO: TCP Data received {"connection_id":111809,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:07:30] local.INFO: Processing buffer {"connection_id":111809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:07:30] local.INFO: Packet analysis {"connection_id":111809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:07:30] local.INFO: Extracted packet for processing {"connection_id":111809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:07:30] 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-06-23 17:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:07:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:07:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":111809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:07:30] local.INFO: GPS data processed {"connection_id":111809,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:07:30] local.INFO: Acknowledgment sent {"connection_id":111809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:08:02] local.INFO: TCP Data received {"connection_id":111809,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:08:02] local.INFO: Processing buffer {"connection_id":111809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:08:02] local.INFO: Packet analysis {"connection_id":111809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:08:02] local.INFO: Extracted packet for processing {"connection_id":111809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:08:02] 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-06-23 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:08:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":111809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:08:02] local.INFO: GPS data processed {"connection_id":111809,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:08:02] local.INFO: Acknowledgment sent {"connection_id":111809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:08:29] local.INFO: TCP Data received {"connection_id":112748,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:08:29] local.INFO: Processing buffer {"connection_id":112748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:08:29] local.INFO: IMEI packet received {"connection_id":112748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":112748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:08:34] local.INFO: TCP Data received {"connection_id":112748,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:08:34] local.INFO: Processing buffer {"connection_id":112748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:08:34] local.INFO: IMEI packet received {"connection_id":112748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":112748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:08:35] local.INFO: TCP Data received {"connection_id":112748,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:08:35] local.INFO: Processing buffer {"connection_id":112748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4413a40012cb29b8007823df8004a00cf2f..."} 
[2026-06-23 17:08:35] local.INFO: Packet analysis {"connection_id":112748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:08:35] local.INFO: Extracted packet for processing {"connection_id":112748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef441"} 
[2026-06-23 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":47,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246803200001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782214376000,"timestamp_ms":1782214376000,"timestamp_seconds":1782214376,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4413a40"} 
[2026-06-23 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:08: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-06-23 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246803200001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246803200001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246803200001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":112748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:08:35] local.INFO: GPS data processed {"connection_id":112748,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:08:35] local.INFO: Acknowledgment sent {"connection_id":112748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:08:36] local.INFO: TCP Data received {"connection_id":112748,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:08:36] local.INFO: Processing buffer {"connection_id":112748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:08:36] local.INFO: Packet analysis {"connection_id":112748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:08:36] local.INFO: Extracted packet for processing {"connection_id":112748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:08:36] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:08:36] 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-06-23 17: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:08:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:08:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":112748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:08:36] local.INFO: GPS data processed {"connection_id":112748,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:08:36] local.INFO: Acknowledgment sent {"connection_id":112748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:09:07] local.INFO: TCP Data received {"connection_id":112748,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:09:07] local.INFO: Processing buffer {"connection_id":112748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:09:07] local.INFO: Packet analysis {"connection_id":112748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:09:07] local.INFO: Extracted packet for processing {"connection_id":112748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:09:07] 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-06-23 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:09:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:09:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:09:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":112748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:09:07] local.INFO: GPS data processed {"connection_id":112748,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:09:07] local.INFO: Acknowledgment sent {"connection_id":112748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:09:23] local.INFO: TCP Data received {"connection_id":112749,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:09:23] local.INFO: Processing buffer {"connection_id":112749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:09:23] local.INFO: IMEI packet received {"connection_id":112749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":112749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:09:28] local.INFO: TCP Data received {"connection_id":112749,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:09:28] local.INFO: Processing buffer {"connection_id":112749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:09:28] local.INFO: IMEI packet received {"connection_id":112749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":112749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:09:29] local.INFO: TCP Data received {"connection_id":112749,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:09:29] local.INFO: Processing buffer {"connection_id":112749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:09:29] local.INFO: Packet analysis {"connection_id":112749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:09:29] local.INFO: Extracted packet for processing {"connection_id":112749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:09:29] 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-06-23 17:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:09:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:09:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":112749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:09:29] local.INFO: GPS data processed {"connection_id":112749,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:09:29] local.INFO: Acknowledgment sent {"connection_id":112749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:10:01] local.INFO: TCP Data received {"connection_id":112749,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:10:01] local.INFO: Processing buffer {"connection_id":112749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:10:01] local.INFO: Packet analysis {"connection_id":112749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:10:01] local.INFO: Extracted packet for processing {"connection_id":112749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:10:01] 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-06-23 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":112749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:10:01] local.INFO: GPS data processed {"connection_id":112749,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:10:01] local.INFO: Acknowledgment sent {"connection_id":112749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:10:23] local.INFO: TCP Data received {"connection_id":112750,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:10:23] local.INFO: Processing buffer {"connection_id":112750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:10:23] local.INFO: IMEI packet received {"connection_id":112750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":112750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:10:29] local.INFO: TCP Data received {"connection_id":112750,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:10:29] local.INFO: Processing buffer {"connection_id":112750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:10:29] local.INFO: IMEI packet received {"connection_id":112750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":112750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:10:30] local.INFO: TCP Data received {"connection_id":112750,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:10:30] local.INFO: Processing buffer {"connection_id":112750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:10:30] local.INFO: Packet analysis {"connection_id":112750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:10:30] local.INFO: Extracted packet for processing {"connection_id":112750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:10:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:10:30] 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-06-23 17:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:10:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:10:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":112750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:10:30] local.INFO: GPS data processed {"connection_id":112750,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:10:30] local.INFO: Acknowledgment sent {"connection_id":112750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:11:02] local.INFO: TCP Data received {"connection_id":112750,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:02] local.INFO: Processing buffer {"connection_id":112750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:02] local.INFO: Packet analysis {"connection_id":112750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:11:02] local.INFO: Extracted packet for processing {"connection_id":112750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:11:02] 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-06-23 17: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":112750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:11:02] local.INFO: GPS data processed {"connection_id":112750,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:11:02] local.INFO: Acknowledgment sent {"connection_id":112750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:11:29] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:11:29] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:11:29] local.INFO: IMEI packet received {"connection_id":111009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:11:34] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:11:34] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:11:34] local.INFO: IMEI packet received {"connection_id":111009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":111009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:11:35] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:35] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:35] local.INFO: Packet analysis {"connection_id":111009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:11:35] local.INFO: Extracted packet for processing {"connection_id":111009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:11: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-06-23 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:11:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:11:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":111009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:11:35] local.INFO: GPS data processed {"connection_id":111009,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:11:35] local.INFO: Acknowledgment sent {"connection_id":111009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:11:45] local.INFO: TCP Data received {"connection_id":111009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:45] local.INFO: Processing buffer {"connection_id":111009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:11:45] local.INFO: Packet analysis {"connection_id":111009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:11:45] local.INFO: Extracted packet for processing {"connection_id":111009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:11:45] 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-06-23 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":111009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":111009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:11:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:11:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":111009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:11:45] local.INFO: GPS data processed {"connection_id":111009,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:11:45] local.INFO: Acknowledgment sent {"connection_id":111009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:12:24] local.INFO: TCP Data received {"connection_id":111811,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:12:24] local.INFO: Processing buffer {"connection_id":111811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:12:24] local.INFO: IMEI packet received {"connection_id":111811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":111811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:12:26] local.INFO: TCP Data received {"connection_id":111810,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:12:26] local.INFO: Processing buffer {"connection_id":111810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:12:26] local.INFO: IMEI packet received {"connection_id":111810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":111810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:12:29] local.INFO: TCP Data received {"connection_id":111811,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:12:29] local.INFO: Processing buffer {"connection_id":111811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:12:29] local.INFO: IMEI packet received {"connection_id":111811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":111811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:12:30] local.INFO: TCP Data received {"connection_id":111811,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:12:30] local.INFO: Processing buffer {"connection_id":111811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef445d208012cb29b8007823df8004a00cf2d..."} 
[2026-06-23 17:12:30] local.INFO: Packet analysis {"connection_id":111811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:12:30] local.INFO: Extracted packet for processing {"connection_id":111811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef445"} 
[2026-06-23 17:12:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":45,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246880256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214677000,"timestamp_ms":1782214677000,"timestamp_seconds":1782214677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef445d208"} 
[2026-06-23 17:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:12:30] 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-06-23 17:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246880256001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246880256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:12:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:12:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246880256001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":111811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:12:30] local.INFO: GPS data processed {"connection_id":111811,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:12:30] local.INFO: Acknowledgment sent {"connection_id":111811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:13:03] local.INFO: TCP Data received {"connection_id":111811,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44977a0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44977a0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:13:03] local.INFO: Processing buffer {"connection_id":111811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44977a0012cb29b8007823df8004a00cf2e..."} 
[2026-06-23 17:13:03] local.INFO: Packet analysis {"connection_id":111811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef449"} 
[2026-06-23 17:13:03] local.INFO: Extracted packet for processing {"connection_id":111811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef449"} 
[2026-06-23 17:13:03] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125976056,"longitude_deg":74.990272,"latitude_deg":12.5976056,"altitude":74,"angle":207,"satellites":46,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823df8","is_valid_coordinates":true} 
[2026-06-23 17:13:03] 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-06-23 17:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456246957312001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782214916000,"timestamp_ms":1782214916000,"timestamp_seconds":1782214916,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44977a0"} 
[2026-06-23 17:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:13:03] 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-06-23 17: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456246957312001,"66":25375,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456246957312001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:13:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:13:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456246957312001,"power":25375,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":111811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:13:03] local.INFO: GPS data processed {"connection_id":111811,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:13:03] local.INFO: Acknowledgment sent {"connection_id":111811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:13:06] local.INFO: TCP Data received {"connection_id":111812,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:13:06] local.INFO: Processing buffer {"connection_id":111812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:13:06] local.INFO: IMEI packet received {"connection_id":111812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":111812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:13:23] local.INFO: TCP Data received {"connection_id":111010,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:23] local.INFO: Processing buffer {"connection_id":111010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:23] local.INFO: IMEI packet received {"connection_id":111010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":111010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:13:25] local.INFO: TCP Data received {"connection_id":111010,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:25] local.INFO: Processing buffer {"connection_id":111010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:25] local.INFO: IMEI packet received {"connection_id":111010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":111010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:13:27] local.INFO: TCP Data received {"connection_id":111010,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:27] local.INFO: Processing buffer {"connection_id":111010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:13:27] local.INFO: IMEI packet received {"connection_id":111010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":111010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:13:29] local.INFO: TCP Data received {"connection_id":111010,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef449d948012cb29bc007823c70004a00d52c..."} 
[2026-06-23 17:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef449d948012cb29bc007823c70004a00d52c..."} 
[2026-06-23 17:13:29] local.INFO: Processing buffer {"connection_id":111010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef449d948012cb29bc007823c70004a00d52c..."} 
[2026-06-23 17:13:29] local.INFO: Packet analysis {"connection_id":111010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef449"} 
[2026-06-23 17:13:29] local.INFO: Extracted packet for processing {"connection_id":111010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef449"} 
[2026-06-23 17:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975664,"longitude_deg":74.9902784,"latitude_deg":12.5975664,"altitude":74,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823c70","is_valid_coordinates":true} 
[2026-06-23 17:13: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-06-23 17:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247018496001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830001664,"note":"Value kept but may cause issues"} 
[2026-06-23 17:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782214941000,"timestamp_ms":1782214941000,"timestamp_seconds":1782214941,"priority":1,"record_length":96,"hex_timestamp":"0000019ef449d948"} 
[2026-06-23 17:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:13:29] 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-06-23 17:13: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:13: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-06-23 17:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247018496001,"66":27745,"86":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576722943830001664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,27,24,16,44]} 
[2026-06-23 17:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247018496001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:13:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-06-23 17:13:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830001664,"description":"Unknown IO ID 44"} 
[2026-06-23 17:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247018496001,"power":27745,"unknown_86":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576722943830001664}} 
[2026-06-23 17:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":111010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:13:29] local.INFO: GPS data processed {"connection_id":111010,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:13:29] local.INFO: Acknowledgment sent {"connection_id":111010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:14:01] local.INFO: TCP Data received {"connection_id":111010,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a2b50012cb29bc007823c70004a00d52e..."} 
[2026-06-23 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a2b50012cb29bc007823c70004a00d52e..."} 
[2026-06-23 17:14:01] local.INFO: Processing buffer {"connection_id":111010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a2b50012cb29bc007823c70004a00d52e..."} 
[2026-06-23 17:14:01] local.INFO: Packet analysis {"connection_id":111010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:14:01] local.INFO: Extracted packet for processing {"connection_id":111010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975664,"longitude_deg":74.9902784,"latitude_deg":12.5975664,"altitude":74,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823c70","is_valid_coordinates":true} 
[2026-06-23 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247024896001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289791696011264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085924352,"note":"Value kept but may cause issues"} 
[2026-06-23 17:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214962000,"timestamp_ms":1782214962000,"timestamp_seconds":1782214962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a2b50"} 
[2026-06-23 17:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:14:01] 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-06-23 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 17:14:01] 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-06-23 17:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247024896001,"66":27800,"126":206,"27":54016,"24":0,"16":321289791696011264,"44":-5576652575085924352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247024896001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:14:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:14:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289791696011264,"km_value":321289791696011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085924352,"description":"Unknown IO ID 44"} 
[2026-06-23 17:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247024896001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575085924352}} 
[2026-06-23 17:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":111010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:14:01] local.INFO: GPS data processed {"connection_id":111010,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:14:01] local.INFO: Acknowledgment sent {"connection_id":111010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:14:23] local.INFO: TCP Data received {"connection_id":111813,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:14:23] local.INFO: Processing buffer {"connection_id":111813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:14:23] local.INFO: IMEI packet received {"connection_id":111813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":111813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:14:28] local.INFO: TCP Data received {"connection_id":111813,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:14:28] local.INFO: Processing buffer {"connection_id":111813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:14:28] local.INFO: IMEI packet received {"connection_id":111813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":111813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:14:30] local.INFO: TCP Data received {"connection_id":111813,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a3ed8012cb29c8007823ca8004e00202e..."} 
[2026-06-23 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a3ed8012cb29c8007823ca8004e00202e..."} 
[2026-06-23 17:14:30] local.INFO: Processing buffer {"connection_id":111813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a3ed8012cb29c8007823ca8004e00202e..."} 
[2026-06-23 17:14:30] local.INFO: Packet analysis {"connection_id":111813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:14:30] local.INFO: Extracted packet for processing {"connection_id":111813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902976,"raw_latitude":125975720,"longitude_deg":74.9902976,"latitude_deg":12.597572,"altitude":78,"angle":32,"satellites":46,"speed":4,"hex_longitude":"2cb29c80","hex_latitude":"07823ca8","is_valid_coordinates":true} 
[2026-06-23 17:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247030272001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289800285945856,"note":"Value kept but may cause issues"} 
[2026-06-23 17:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085924352,"note":"Value kept but may cause issues"} 
[2026-06-23 17:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214967000,"timestamp_ms":1782214967000,"timestamp_seconds":1782214967,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a3ed8"} 
[2026-06-23 17:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:14:30] 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-06-23 17:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 17:14:30] 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-06-23 17:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247030272001,"66":27821,"126":206,"27":54016,"24":4,"16":321289800285945856,"44":-5576652575085924352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247030272001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:14:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289800285945856,"km_value":321289800285945.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085924352,"description":"Unknown IO ID 44"} 
[2026-06-23 17:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247030272001,"power":27821,"unknown_126":206,"unknown_27":54016,"ignition":4,"odometer":null,"unknown_44":-5576652575085924352}} 
[2026-06-23 17:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":111813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:14:30] local.INFO: GPS data processed {"connection_id":111813,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:14:30] local.INFO: Acknowledgment sent {"connection_id":111813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:15:02] local.INFO: TCP Data received {"connection_id":111813,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a46a8012cb29d4007823d90004e00352f..."} 
[2026-06-23 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a46a8012cb29d4007823d90004e00352f..."} 
[2026-06-23 17:15:02] local.INFO: Processing buffer {"connection_id":111813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a46a8012cb29d4007823d90004e00352f..."} 
[2026-06-23 17:15:02] local.INFO: Packet analysis {"connection_id":111813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:15:02] local.INFO: Extracted packet for processing {"connection_id":111813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:15:02] local.INFO: GPS Element Parsed {"raw_longitude":749903168,"raw_latitude":125975952,"longitude_deg":74.9903168,"latitude_deg":12.5975952,"altitude":78,"angle":53,"satellites":47,"speed":6,"hex_longitude":"2cb29d40","hex_latitude":"07823d90","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247031552001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289813170847744,"note":"Value kept but may cause issues"} 
[2026-06-23 17:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576441468853377024,"note":"Value kept but may cause issues"} 
[2026-06-23 17:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214969000,"timestamp_ms":1782214969000,"timestamp_seconds":1782214969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a46a8"} 
[2026-06-23 17:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:15: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-06-23 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:15:02] 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-06-23 17: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-06-23 17:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247031552001,"66":27821,"126":206,"27":54016,"24":6,"16":321289813170847744,"44":-5576441468853377024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247031552001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289813170847744,"km_value":321289813170847.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576441468853377024,"description":"Unknown IO ID 44"} 
[2026-06-23 17:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247031552001,"power":27821,"unknown_126":206,"unknown_27":54016,"ignition":6,"odometer":null,"unknown_44":-5576441468853377024}} 
[2026-06-23 17:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":111813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:15:02] local.INFO: GPS data processed {"connection_id":111813,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:15:02] local.INFO: Acknowledgment sent {"connection_id":111813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:15:23] local.INFO: TCP Data received {"connection_id":112751,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:15:23] local.INFO: Processing buffer {"connection_id":112751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:15:23] local.INFO: IMEI packet received {"connection_id":112751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":112751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:15:29] local.INFO: TCP Data received {"connection_id":112751,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:15:29] local.INFO: Processing buffer {"connection_id":112751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:15:29] local.INFO: IMEI packet received {"connection_id":112751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":112751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:15:30] local.INFO: TCP Data received {"connection_id":112751,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a4a90012cb29e0007823de0004e00482e..."} 
[2026-06-23 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a4a90012cb29e0007823de0004e00482e..."} 
[2026-06-23 17:15:30] local.INFO: Processing buffer {"connection_id":112751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a4a90012cb29e0007823de0004e00482e..."} 
[2026-06-23 17:15:30] local.INFO: Packet analysis {"connection_id":112751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:15:30] local.INFO: Extracted packet for processing {"connection_id":112751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":749903360,"raw_latitude":125976032,"longitude_deg":74.990336,"latitude_deg":12.5976032,"altitude":78,"angle":72,"satellites":46,"speed":7,"hex_longitude":"2cb29e00","hex_latitude":"07823de0","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247032064001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289821760782336,"note":"Value kept but may cause issues"} 
[2026-06-23 17:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576230362620784640,"note":"Value kept but may cause issues"} 
[2026-06-23 17:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782214970000,"timestamp_ms":1782214970000,"timestamp_seconds":1782214970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a4a90"} 
[2026-06-23 17:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:15:30] 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-06-23 17:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247032064001,"66":27626,"126":206,"27":54016,"24":7,"16":321289821760782336,"44":-5576230362620784640},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247032064001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:15:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:15:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289821760782336,"km_value":321289821760782.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576230362620784640,"description":"Unknown IO ID 44"} 
[2026-06-23 17:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247032064001,"power":27626,"unknown_126":206,"unknown_27":54016,"ignition":7,"odometer":null,"unknown_44":-5576230362620784640}} 
[2026-06-23 17:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":112751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:15:30] local.INFO: GPS data processed {"connection_id":112751,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:15:30] local.INFO: Acknowledgment sent {"connection_id":112751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:15:51] local.INFO: TCP Data received {"connection_id":111814,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:15:51] local.INFO: Processing buffer {"connection_id":111814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:15:51] local.INFO: IMEI packet received {"connection_id":111814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":111814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:15:54] local.INFO: TCP Data received {"connection_id":111814,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:15:54] local.INFO: Processing buffer {"connection_id":111814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:15:54] local.INFO: IMEI packet received {"connection_id":111814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":111814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:16:02] local.INFO: TCP Data received {"connection_id":112751,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a4e78012cb29e8007823dd0004e00612e..."} 
[2026-06-23 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a4e78012cb29e8007823dd0004e00612e..."} 
[2026-06-23 17:16:02] local.INFO: Processing buffer {"connection_id":112751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a4e78012cb29e8007823dd0004e00612e..."} 
[2026-06-23 17:16:02] local.INFO: Packet analysis {"connection_id":112751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:16:02] local.INFO: Extracted packet for processing {"connection_id":112751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:16:02] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125976016,"longitude_deg":74.9903488,"latitude_deg":12.5976016,"altitude":78,"angle":97,"satellites":46,"speed":8,"hex_longitude":"2cb29e80","hex_latitude":"07823dd0","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247032320001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289830350716928,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576019256388231168,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782214971000,"timestamp_ms":1782214971000,"timestamp_seconds":1782214971,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a4e78"} 
[2026-06-23 17:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:16:02] 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-06-23 17: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 17:16:02] 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-06-23 17: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-06-23 17:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247032320001,"66":27626,"126":206,"27":54016,"24":8,"16":321289830350716928,"44":-5576019256388231168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247032320001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289830350716928,"km_value":321289830350716.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576019256388231168,"description":"Unknown IO ID 44"} 
[2026-06-23 17:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247032320001,"power":27626,"unknown_126":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5576019256388231168}} 
[2026-06-23 17:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":112751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:16:02] local.INFO: GPS data processed {"connection_id":112751,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:16:02] local.INFO: Acknowledgment sent {"connection_id":112751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:16:20] local.INFO: TCP Data received {"connection_id":111196,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:16:20] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:16:20] local.INFO: IMEI packet received {"connection_id":111196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":111196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:16:25] local.INFO: TCP Data received {"connection_id":111196,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:16:25] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:16:25] local.INFO: IMEI packet received {"connection_id":111196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":111196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:16:27] local.INFO: TCP Data received {"connection_id":111196,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44c9480012d7ae1c005e3c3c8000500a62d..."} 
[2026-06-23 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44c9480012d7ae1c005e3c3c8000500a62d..."} 
[2026-06-23 17:16:27] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44c9480012d7ae1c005e3c3c8000500a62d..."} 
[2026-06-23 17:16:27] local.INFO: Packet analysis {"connection_id":111196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44c"} 
[2026-06-23 17:16:27] local.INFO: Extracted packet for processing {"connection_id":111196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44c"} 
[2026-06-23 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":98812872,"longitude_deg":76.3027904,"latitude_deg":9.8812872,"altitude":5,"angle":166,"satellites":45,"speed":34,"hex_longitude":"2d7ae1c0","hex_latitude":"05e3c3c8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247067392001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96426542690729984,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851965830383456256,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782215120000,"timestamp_ms":1782215120000,"timestamp_seconds":1782215120,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44c9480"} 
[2026-06-23 17:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":91,"data_length":795,"current_offset":136} 
[2026-06-23 17:16: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-06-23 17: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-06-23 17:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247067392001,"66":13363,"97":206,"85":15104,"24":34,"16":96426542690729984,"45":8851965830383456256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 17:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247067392001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:16:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 17:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96426542690729984,"km_value":96426542690729.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851965830383456256,"description":"Unknown IO ID 45"} 
[2026-06-23 17:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247067392001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8851965830383456256}} 
[2026-06-23 17:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":111196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:16:27] local.INFO: GPS data processed {"connection_id":111196,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:16:27] local.INFO: Acknowledgment sent {"connection_id":111196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:16:28] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:16:28] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:16:28] local.INFO: IMEI packet received {"connection_id":111197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":111197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:16:34] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:16:34] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:16:34] local.INFO: IMEI packet received {"connection_id":111197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":111197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:16:35] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a5260012cb29f8007823d80004e00702f..."} 
[2026-06-23 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a5260012cb29f8007823d80004e00702f..."} 
[2026-06-23 17:16:35] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a5260012cb29f8007823d80004e00702f..."} 
[2026-06-23 17:16:35] local.INFO: Packet analysis {"connection_id":111197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:16:35] local.INFO: Extracted packet for processing {"connection_id":111197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125975936,"longitude_deg":74.9903744,"latitude_deg":12.5975936,"altitude":78,"angle":112,"satellites":47,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"07823d80","is_valid_coordinates":true} 
[2026-06-23 17:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247032576001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289843235618816,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878518899879936,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782214972000,"timestamp_ms":1782214972000,"timestamp_seconds":1782214972,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a5260"} 
[2026-06-23 17:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:16: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-06-23 17:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 17:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247032576001,"66":27930,"126":206,"27":54016,"24":10,"16":321289843235618816,"44":-5575878518899879936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247032576001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:16:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:16:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289843235618816,"km_value":321289843235618.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878518899879936,"description":"Unknown IO ID 44"} 
[2026-06-23 17:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247032576001,"power":27930,"unknown_126":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5575878518899879936}} 
[2026-06-23 17:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":111197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:16:35] local.INFO: GPS data processed {"connection_id":111197,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:16:35] local.INFO: Acknowledgment sent {"connection_id":111197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:16:40] local.INFO: TCP Data received {"connection_id":111197,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a5648012cb2a08007823ce8004e00832f..."} 
[2026-06-23 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a5648012cb2a08007823ce8004e00832f..."} 
[2026-06-23 17:16:40] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a5648012cb2a08007823ce8004e00832f..."} 
[2026-06-23 17:16:40] local.INFO: Packet analysis {"connection_id":111197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:16:40] local.INFO: Extracted packet for processing {"connection_id":111197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125975784,"longitude_deg":74.9904,"latitude_deg":12.5975784,"altitude":78,"angle":131,"satellites":47,"speed":11,"hex_longitude":"2cb2a080","hex_latitude":"07823ce8","is_valid_coordinates":true} 
[2026-06-23 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247032832001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289856120520704,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043923189760,"note":"Value kept but may cause issues"} 
[2026-06-23 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782214973000,"timestamp_ms":1782214973000,"timestamp_seconds":1782214973,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a5648"} 
[2026-06-23 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:16:40] 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-06-23 17:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 17:16:40] 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-06-23 17:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247032832001,"66":27930,"126":206,"27":54016,"24":11,"16":321289856120520704,"44":-5575597043923189760},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247032832001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289856120520704,"km_value":321289856120520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043923189760,"description":"Unknown IO ID 44"} 
[2026-06-23 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247032832001,"power":27930,"unknown_126":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5575597043923189760}} 
[2026-06-23 17:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":111197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:16:40] local.INFO: GPS data processed {"connection_id":111197,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:16:40] local.INFO: Acknowledgment sent {"connection_id":111197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:17:11] local.INFO: TCP Data received {"connection_id":111012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:11] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:11] local.INFO: IMEI packet received {"connection_id":111012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":111012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:17:15] local.INFO: TCP Data received {"connection_id":111012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:15] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:15] local.INFO: IMEI packet received {"connection_id":111012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":111012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:17:20] local.INFO: TCP Data received {"connection_id":111012,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:20] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:17:20] local.INFO: IMEI packet received {"connection_id":111012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":111012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:17:21] local.INFO: TCP Data received {"connection_id":111012,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44cc748012d7aec0005e3a278000700a02e..."} 
[2026-06-23 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44cc748012d7aec0005e3a278000700a02e..."} 
[2026-06-23 17:17:21] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44cc748012d7aec0005e3a278000700a02e..."} 
[2026-06-23 17:17:21] local.INFO: Packet analysis {"connection_id":111012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44c"} 
[2026-06-23 17:17:21] local.INFO: Extracted packet for processing {"connection_id":111012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44c"} 
[2026-06-23 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763030528,"raw_latitude":98804344,"longitude_deg":76.3030528,"latitude_deg":9.8804344,"altitude":7,"angle":160,"satellites":46,"speed":26,"hex_longitude":"2d7aec00","hex_latitude":"05e3a278","is_valid_coordinates":true} 
[2026-06-23 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247070720001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96426976482426880,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473915734016,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782215133000,"timestamp_ms":1782215133000,"timestamp_seconds":1782215133,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44cc748"} 
[2026-06-23 17:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-23 17:17:21] 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-06-23 17:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247070720001,"66":13363,"97":206,"85":15104,"24":26,"16":96426976482426880,"45":8854569473915734016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 17:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247070720001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 17:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96426976482426880,"km_value":96426976482426.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473915734016,"description":"Unknown IO ID 45"} 
[2026-06-23 17:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247070720001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8854569473915734016}} 
[2026-06-23 17:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":111012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:17:21] local.INFO: GPS data processed {"connection_id":111012,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:17:21] local.INFO: Acknowledgment sent {"connection_id":111012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:17:23] local.INFO: TCP Data received {"connection_id":111815,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:17:23] local.INFO: Processing buffer {"connection_id":111815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:17:23] local.INFO: IMEI packet received {"connection_id":111815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":111815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:17:26] local.INFO: TCP Data received {"connection_id":111012,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44d1180012d7af70005e38098000500a631..."} 
[2026-06-23 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44d1180012d7af70005e38098000500a631..."} 
[2026-06-23 17:17:26] local.INFO: Processing buffer {"connection_id":111012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44d1180012d7af70005e38098000500a631..."} 
[2026-06-23 17:17:26] local.INFO: Packet analysis {"connection_id":111012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44d"} 
[2026-06-23 17:17:26] local.INFO: Extracted packet for processing {"connection_id":111012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44d"} 
[2026-06-23 17:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763033344,"raw_latitude":98795672,"longitude_deg":76.3033344,"latitude_deg":9.8795672,"altitude":5,"angle":166,"satellites":49,"speed":11,"hex_longitude":"2d7af700","hex_latitude":"05e38098","is_valid_coordinates":true} 
[2026-06-23 17:17: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-06-23 17:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247074048001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96427418864058368,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857454592424835072,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782215152000,"timestamp_ms":1782215152000,"timestamp_seconds":1782215152,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44d1180"} 
[2026-06-23 17:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:17: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":51,"data_length":795,"current_offset":136} 
[2026-06-23 17:17:26] 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-06-23 17:17: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-06-23 17:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247074048001,"66":13276,"97":206,"85":15104,"24":11,"16":96427418864058368,"45":8857454592424835072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 17:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247074048001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:17:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 17:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96427418864058368,"km_value":96427418864058.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857454592424835072,"description":"Unknown IO ID 45"} 
[2026-06-23 17:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247074048001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8857454592424835072}} 
[2026-06-23 17:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":111012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:17:26] local.INFO: GPS data processed {"connection_id":111012,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:17:26] local.INFO: Acknowledgment sent {"connection_id":111012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:17:33] local.INFO: TCP Data received {"connection_id":111815,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:17:33] local.INFO: Processing buffer {"connection_id":111815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:17:33] local.INFO: IMEI packet received {"connection_id":111815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":111815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:17:35] local.INFO: TCP Data received {"connection_id":111815,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a5e18012cb2a20007823b10004e00952f..."} 
[2026-06-23 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a5e18012cb2a20007823b10004e00952f..."} 
[2026-06-23 17:17:35] local.INFO: Processing buffer {"connection_id":111815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a5e18012cb2a20007823b10004e00952f..."} 
[2026-06-23 17:17:35] local.INFO: Packet analysis {"connection_id":111815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:17:35] local.INFO: Extracted packet for processing {"connection_id":111815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:17:35] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975312,"longitude_deg":74.9904384,"latitude_deg":12.5975312,"altitude":78,"angle":149,"satellites":47,"speed":10,"hex_longitude":"2cb2a200","hex_latitude":"07823b10","is_valid_coordinates":true} 
[2026-06-23 17:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247033088001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289886185291776,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946518016,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782214975000,"timestamp_ms":1782214975000,"timestamp_seconds":1782214975,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a5e18"} 
[2026-06-23 17:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:17: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-06-23 17:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 17:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247033088001,"66":27539,"126":206,"27":54016,"24":10,"16":321289886185291776,"44":-5575315568946518016},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247033088001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:17:35] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:17:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289886185291776,"km_value":321289886185291.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946518016,"description":"Unknown IO ID 44"} 
[2026-06-23 17:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247033088001,"power":27539,"unknown_126":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5575315568946518016}} 
[2026-06-23 17:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":111815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:17:35] local.INFO: GPS data processed {"connection_id":111815,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:17:35] local.INFO: Acknowledgment sent {"connection_id":111815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:17:36] local.INFO: TCP Data received {"connection_id":111815,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a69d0012cb2a34007823860004d00a730..."} 
[2026-06-23 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a69d0012cb2a34007823860004d00a730..."} 
[2026-06-23 17:17:36] local.INFO: Processing buffer {"connection_id":111815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a69d0012cb2a34007823860004d00a730..."} 
[2026-06-23 17:17:36] local.INFO: Packet analysis {"connection_id":111815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:17:36] local.INFO: Extracted packet for processing {"connection_id":111815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125974624,"longitude_deg":74.9904704,"latitude_deg":12.5974624,"altitude":77,"angle":167,"satellites":48,"speed":9,"hex_longitude":"2cb2a340","hex_latitude":"07823860","is_valid_coordinates":true} 
[2026-06-23 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247033600001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289924839997440,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481572864,"note":"Value kept but may cause issues"} 
[2026-06-23 17:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782214978000,"timestamp_ms":1782214978000,"timestamp_seconds":1782214978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a69d0"} 
[2026-06-23 17:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:17: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-06-23 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 17:17:36] 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-06-23 17:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247033600001,"66":27626,"126":206,"27":54016,"24":9,"16":321289924839997440,"44":-5574893356481572864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247033600001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:17:36] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:17:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289924839997440,"km_value":321289924839997.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481572864,"description":"Unknown IO ID 44"} 
[2026-06-23 17:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247033600001,"power":27626,"unknown_126":206,"unknown_27":54016,"ignition":9,"odometer":null,"unknown_44":-5574893356481572864}} 
[2026-06-23 17:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":111815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:17:36] local.INFO: GPS data processed {"connection_id":111815,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:17:36] local.INFO: Acknowledgment sent {"connection_id":111815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:18:07] local.INFO: TCP Data received {"connection_id":112752,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:07] local.INFO: Processing buffer {"connection_id":112752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:07] local.INFO: IMEI packet received {"connection_id":112752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":112752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:18:08] local.INFO: TCP Data received {"connection_id":111815,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a7588012cb2a380078235c8004d00b430..."} 
[2026-06-23 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a7588012cb2a380078235c8004d00b430..."} 
[2026-06-23 17:18:08] local.INFO: Processing buffer {"connection_id":111815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a7588012cb2a380078235c8004d00b430..."} 
[2026-06-23 17:18:08] local.INFO: Packet analysis {"connection_id":111815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:18:08] local.INFO: Extracted packet for processing {"connection_id":111815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125973960,"longitude_deg":74.9904768,"latitude_deg":12.597396,"altitude":77,"angle":180,"satellites":48,"speed":8,"hex_longitude":"2cb2a380","hex_latitude":"078235c8","is_valid_coordinates":true} 
[2026-06-23 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247034368001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289954904768512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512760860672,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782214981000,"timestamp_ms":1782214981000,"timestamp_seconds":1782214981,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a7588"} 
[2026-06-23 17:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:18:08] 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-06-23 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 17:18:08] 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-06-23 17:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247034368001,"66":27745,"126":206,"27":54016,"24":8,"16":321289954904768512,"44":-5574541512760860672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247034368001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289954904768512,"km_value":321289954904768.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512760860672,"description":"Unknown IO ID 44"} 
[2026-06-23 17:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247034368001,"power":27745,"unknown_126":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5574541512760860672}} 
[2026-06-23 17:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":111815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:18:08] local.INFO: GPS data processed {"connection_id":111815,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:18:08] local.INFO: Acknowledgment sent {"connection_id":111815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:18:10] local.INFO: TCP Data received {"connection_id":112752,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:10] local.INFO: Processing buffer {"connection_id":112752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:10] local.INFO: IMEI packet received {"connection_id":112752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":112752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:18:14] local.INFO: TCP Data received {"connection_id":112752,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:14] local.INFO: Processing buffer {"connection_id":112752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:18:14] local.INFO: IMEI packet received {"connection_id":112752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":112752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:18:15] local.INFO: TCP Data received {"connection_id":112752,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44ec318012d7b144005e31010000000cc21..."} 
[2026-06-23 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44ec318012d7b144005e31010000000cc21..."} 
[2026-06-23 17:18:15] local.INFO: Processing buffer {"connection_id":112752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44ec318012d7b144005e31010000000cc21..."} 
[2026-06-23 17:18:15] local.INFO: Packet analysis {"connection_id":112752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44e"} 
[2026-06-23 17:18:15] local.INFO: Extracted packet for processing {"connection_id":112752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44e"} 
[2026-06-23 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98766864,"longitude_deg":76.3040832,"latitude_deg":9.8766864,"altitude":0,"angle":204,"satellites":33,"speed":2,"hex_longitude":"2d7b1440","hex_latitude":"05e31010","is_valid_coordinates":true} 
[2026-06-23 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247107072001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96428900627775488,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960227858432,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782215263000,"timestamp_ms":1782215263000,"timestamp_seconds":1782215263,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44ec318"} 
[2026-06-23 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:18:15] 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-06-23 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 17:18:15] 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-06-23 17:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247107072001,"66":13015,"97":206,"85":15104,"24":2,"16":96428900627775488,"45":8868783960227858432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247107072001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 17:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96428900627775488,"km_value":96428900627775.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960227858432,"description":"Unknown IO ID 45"} 
[2026-06-23 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247107072001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8868783960227858432}} 
[2026-06-23 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":112752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:18:15] local.INFO: GPS data processed {"connection_id":112752,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:18:15] local.INFO: Acknowledgment sent {"connection_id":112752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:18:21] local.INFO: TCP Data received {"connection_id":111013,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:18:21] local.INFO: Processing buffer {"connection_id":111013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:18:21] local.INFO: IMEI packet received {"connection_id":111013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":111013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:18:24] local.INFO: TCP Data received {"connection_id":111014,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:18:24] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:18:24] local.INFO: IMEI packet received {"connection_id":111014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":111014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:18:29] local.INFO: TCP Data received {"connection_id":111014,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:18:29] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:18:29] local.INFO: IMEI packet received {"connection_id":111014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":111014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:18:29] local.INFO: TCP Data received {"connection_id":111014,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a7970012cb2a380078234e8004d00b530..."} 
[2026-06-23 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a7970012cb2a380078234e8004d00b530..."} 
[2026-06-23 17:18:29] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a7970012cb2a380078234e8004d00b530..."} 
[2026-06-23 17:18:29] local.INFO: Packet analysis {"connection_id":111014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:18:29] local.INFO: Extracted packet for processing {"connection_id":111014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:18:29] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125973736,"longitude_deg":74.9904768,"latitude_deg":12.5973736,"altitude":77,"angle":181,"satellites":48,"speed":8,"hex_longitude":"2cb2a380","hex_latitude":"078234e8","is_valid_coordinates":true} 
[2026-06-23 17:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247035136001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144016852992,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782214982000,"timestamp_ms":1782214982000,"timestamp_seconds":1782214982,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a7970"} 
[2026-06-23 17:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:18:29] 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-06-23 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 17:18:29] 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-06-23 17: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-06-23 17:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247035136001,"66":27887,"126":206,"27":54016,"24":8,"16":321289967789670400,"44":-5574471144016852992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247035136001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:18:29] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:18:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144016852992,"description":"Unknown IO ID 44"} 
[2026-06-23 17:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247035136001,"power":27887,"unknown_126":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5574471144016852992}} 
[2026-06-23 17:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":111014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:18:30] local.INFO: GPS data processed {"connection_id":111014,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:18:30] local.INFO: Acknowledgment sent {"connection_id":111014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:18:46] local.INFO: TCP Data received {"connection_id":112752,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f8a50012d7b170005e300a00000009b1c..."} 
[2026-06-23 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f8a50012d7b170005e300a00000009b1c..."} 
[2026-06-23 17:18:46] local.INFO: Processing buffer {"connection_id":112752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f8a50012d7b170005e300a00000009b1c..."} 
[2026-06-23 17:18:46] local.INFO: Packet analysis {"connection_id":112752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:18:46] local.INFO: Extracted packet for processing {"connection_id":112752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98762912,"longitude_deg":76.3041536,"latitude_deg":9.8762912,"altitude":0,"angle":155,"satellites":28,"speed":3,"hex_longitude":"2d7b1700","hex_latitude":"05e300a0","is_valid_coordinates":true} 
[2026-06-23 17:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247119872001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429119671107584,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647668637696,"note":"Value kept but may cause issues"} 
[2026-06-23 17:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782215314000,"timestamp_ms":1782215314000,"timestamp_seconds":1782215314,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f8a50"} 
[2026-06-23 17:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 17:18: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-06-23 17:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247119872001,"66":12722,"97":206,"85":15104,"24":3,"16":96429119671107584,"45":8869487647668637696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 17:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247119872001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 17:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429119671107584,"km_value":96429119671107.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647668637696,"description":"Unknown IO ID 45"} 
[2026-06-23 17:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247119872001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8869487647668637696}} 
[2026-06-23 17:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":112752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:18:46] local.INFO: GPS data processed {"connection_id":112752,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:18:46] local.INFO: Acknowledgment sent {"connection_id":112752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:19:01] local.INFO: TCP Data received {"connection_id":111014,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44a8910012cb2a340078231f8004d00c32f..."} 
[2026-06-23 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44a8910012cb2a340078231f8004d00c32f..."} 
[2026-06-23 17:19:01] local.INFO: Processing buffer {"connection_id":111014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44a8910012cb2a340078231f8004d00c32f..."} 
[2026-06-23 17:19:01] local.INFO: Packet analysis {"connection_id":111014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:19:01] local.INFO: Extracted packet for processing {"connection_id":111014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44a"} 
[2026-06-23 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125972984,"longitude_deg":74.9904704,"latitude_deg":12.5972984,"altitude":77,"angle":195,"satellites":47,"speed":0,"hex_longitude":"2cb2a340","hex_latitude":"078231f8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247035392001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144016910336,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782214986000,"timestamp_ms":1782214986000,"timestamp_seconds":1782214986,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44a8910"} 
[2026-06-23 17:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:19:01] 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-06-23 17: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 17:19:01] 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-06-23 17: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-06-23 17:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247035392001,"66":26963,"126":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574471144016910336},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247035392001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:19:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:19:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144016910336,"description":"Unknown IO ID 44"} 
[2026-06-23 17:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247035392001,"power":26963,"unknown_126":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574471144016910336}} 
[2026-06-23 17:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":111014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:19:01] local.INFO: GPS data processed {"connection_id":111014,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:19:01] local.INFO: Acknowledgment sent {"connection_id":111014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:19:06] local.INFO: TCP Data received {"connection_id":111816,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:19:06] local.INFO: Processing buffer {"connection_id":111816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:19:06] local.INFO: IMEI packet received {"connection_id":111816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":111816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:19:10] local.INFO: TCP Data received {"connection_id":112753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:19:10] local.INFO: Processing buffer {"connection_id":112753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:19:10] local.INFO: IMEI packet received {"connection_id":112753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":112753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:19:16] local.INFO: TCP Data received {"connection_id":112753,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:19:16] local.INFO: Processing buffer {"connection_id":112753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:19:16] local.INFO: IMEI packet received {"connection_id":112753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":112753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:19:17] local.INFO: TCP Data received {"connection_id":112753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f8e38012d7b170005e300b0000000ad1c..."} 
[2026-06-23 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f8e38012d7b170005e300b0000000ad1c..."} 
[2026-06-23 17:19:17] local.INFO: Processing buffer {"connection_id":112753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f8e38012d7b170005e300b0000000ad1c..."} 
[2026-06-23 17:19:17] local.INFO: Packet analysis {"connection_id":112753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:19:17] local.INFO: Extracted packet for processing {"connection_id":112753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98762928,"longitude_deg":76.3041536,"latitude_deg":9.8762928,"altitude":0,"angle":173,"satellites":28,"speed":1,"hex_longitude":"2d7b1700","hex_latitude":"05e300b0","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247120384001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429119671107584,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016412786688,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782215315000,"timestamp_ms":1782215315000,"timestamp_seconds":1782215315,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f8e38"} 
[2026-06-23 17:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:19: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-06-23 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 17:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247120384001,"66":12939,"97":206,"85":15104,"24":1,"16":96429119671107584,"45":8869558016412786688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-23 17:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247120384001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:19:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-23 17:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429119671107584,"km_value":96429119671107.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016412786688,"description":"Unknown IO ID 45"} 
[2026-06-23 17:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247120384001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8869558016412786688}} 
[2026-06-23 17:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":112753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:19:17] local.INFO: GPS data processed {"connection_id":112753,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:19:17] local.INFO: Acknowledgment sent {"connection_id":112753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:19:23] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:19:23] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:19:23] local.INFO: IMEI packet received {"connection_id":111015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":111015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:19:29] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:19:29] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:19:29] local.INFO: IMEI packet received {"connection_id":111015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":111015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:19:30] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:19:30] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:19:30] local.INFO: Packet analysis {"connection_id":111015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:19:30] local.INFO: Extracted packet for processing {"connection_id":111015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:19:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 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-06-23 17:19:30] 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-06-23 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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":111015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:19:30] local.INFO: GPS data processed {"connection_id":111015,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:19:30] local.INFO: Acknowledgment sent {"connection_id":111015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:19:49] local.INFO: TCP Data received {"connection_id":112753,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45074b0012d7b1c0005e2e618000000d223..."} 
[2026-06-23 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45074b0012d7b1c0005e2e618000000d223..."} 
[2026-06-23 17:19:49] local.INFO: Processing buffer {"connection_id":112753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45074b0012d7b1c0005e2e618000000d223..."} 
[2026-06-23 17:19:49] local.INFO: Packet analysis {"connection_id":112753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef450"} 
[2026-06-23 17:19:49] local.INFO: Extracted packet for processing {"connection_id":112753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef450"} 
[2026-06-23 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763042816,"raw_latitude":98756120,"longitude_deg":76.3042816,"latitude_deg":9.875612,"altitude":0,"angle":210,"satellites":35,"speed":0,"hex_longitude":"2d7b1c00","hex_latitude":"05e2e618","is_valid_coordinates":true} 
[2026-06-23 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247135488001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429484743327744,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870965391294605312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782215374000,"timestamp_ms":1782215374000,"timestamp_seconds":1782215374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45074b0"} 
[2026-06-23 17:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 17:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":112753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":112753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":112753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247135488001,"66":12613,"96":206,"85":15104,"24":0,"16":96429484743327744,"45":8870965391294605312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247135488001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:19:49] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429484743327744,"km_value":96429484743327.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870965391294605312,"description":"Unknown IO ID 45"} 
[2026-06-23 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247135488001,"power":12613,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870965391294605312}} 
[2026-06-23 17:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":112753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:19:49] local.INFO: GPS data processed {"connection_id":112753,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:19:49] local.INFO: Acknowledgment sent {"connection_id":112753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:20:01] local.INFO: TCP Data received {"connection_id":111015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:01] local.INFO: Processing buffer {"connection_id":111015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:01] local.INFO: Packet analysis {"connection_id":111015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:20:01] local.INFO: Extracted packet for processing {"connection_id":111015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:20:01] 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-06-23 17: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:20:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:20:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":111015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:20:01] local.INFO: GPS data processed {"connection_id":111015,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:20:01] local.INFO: Acknowledgment sent {"connection_id":111015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:20:10] local.INFO: TCP Data received {"connection_id":111199,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:10] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:10] local.INFO: IMEI packet received {"connection_id":111199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":111199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:20:10] local.INFO: TCP Data received {"connection_id":111199,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:10] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:10] local.INFO: IMEI packet received {"connection_id":111199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":111199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:20:13] local.INFO: TCP Data received {"connection_id":111199,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:13] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:20:13] local.INFO: IMEI packet received {"connection_id":111199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":111199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:20:15] local.INFO: TCP Data received {"connection_id":111199,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4507898012d7b1bc005e2e608000000e523..."} 
[2026-06-23 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4507898012d7b1bc005e2e608000000e523..."} 
[2026-06-23 17:20:15] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4507898012d7b1bc005e2e608000000e523..."} 
[2026-06-23 17:20:15] local.INFO: Packet analysis {"connection_id":111199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef450"} 
[2026-06-23 17:20:15] local.INFO: Extracted packet for processing {"connection_id":111199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef450"} 
[2026-06-23 17:20:15] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98756104,"longitude_deg":76.3042752,"latitude_deg":9.8756104,"altitude":0,"angle":229,"satellites":35,"speed":0,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2e608","is_valid_coordinates":true} 
[2026-06-23 17:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247135744001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429484743327744,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870965391294601216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782215375000,"timestamp_ms":1782215375000,"timestamp_seconds":1782215375,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4507898"} 
[2026-06-23 17:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 17:20:15] 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-06-23 17:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247135744001,"66":12439,"96":206,"85":15104,"24":0,"16":96429484743327744,"45":8870965391294601216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247135744001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:20:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:20:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429484743327744,"km_value":96429484743327.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870965391294601216,"description":"Unknown IO ID 45"} 
[2026-06-23 17:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247135744001,"power":12439,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8870965391294601216}} 
[2026-06-23 17:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":111199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:20:15] local.INFO: GPS data processed {"connection_id":111199,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:20:15] local.INFO: Acknowledgment sent {"connection_id":111199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:20:29] local.INFO: TCP Data received {"connection_id":111016,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:20:29] local.INFO: Processing buffer {"connection_id":111016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:20:29] local.INFO: IMEI packet received {"connection_id":111016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":111016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:20:34] local.INFO: TCP Data received {"connection_id":111016,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:20:34] local.INFO: Processing buffer {"connection_id":111016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:20:34] local.INFO: IMEI packet received {"connection_id":111016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":111016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:20:35] local.INFO: TCP Data received {"connection_id":111016,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:35] local.INFO: Processing buffer {"connection_id":111016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:35] local.INFO: Packet analysis {"connection_id":111016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:20:35] local.INFO: Extracted packet for processing {"connection_id":111016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:20: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-06-23 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:20:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:20:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":111016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:20:35] local.INFO: GPS data processed {"connection_id":111016,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:20:35] local.INFO: Acknowledgment sent {"connection_id":111016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:20:41] local.INFO: TCP Data received {"connection_id":111016,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:41] local.INFO: Processing buffer {"connection_id":111016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:20:41] local.INFO: Packet analysis {"connection_id":111016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:20:41] local.INFO: Extracted packet for processing {"connection_id":111016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:20:41] 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-06-23 17: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:20:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:20:41] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":111016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:20:41] local.INFO: GPS data processed {"connection_id":111016,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:20:41] local.INFO: Acknowledgment sent {"connection_id":111016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:20:46] local.INFO: TCP Data received {"connection_id":111199,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4509008012d7b1bc005e2e4c0000000ae24..."} 
[2026-06-23 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4509008012d7b1bc005e2e4c0000000ae24..."} 
[2026-06-23 17:20:46] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4509008012d7b1bc005e2e4c0000000ae24..."} 
[2026-06-23 17:20:46] local.INFO: Packet analysis {"connection_id":111199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef450"} 
[2026-06-23 17:20:46] local.INFO: Extracted packet for processing {"connection_id":111199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef450"} 
[2026-06-23 17:20:46] local.INFO: GPS Element Parsed {"raw_longitude":763042752,"raw_latitude":98755776,"longitude_deg":76.3042752,"latitude_deg":9.8755776,"altitude":0,"angle":174,"satellites":36,"speed":2,"hex_longitude":"2d7b1bc0","hex_latitude":"05e2e4c0","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247136000001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429501923196928,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022550419456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782215381000,"timestamp_ms":1782215381000,"timestamp_seconds":1782215381,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4509008"} 
[2026-06-23 17:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:20: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-06-23 17:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:20:46] 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-06-23 17: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-06-23 17:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247136000001,"66":12624,"96":206,"85":15104,"24":2,"16":96429501923196928,"45":8870895022550419456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247136000001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:20:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429501923196928,"km_value":96429501923196.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022550419456,"description":"Unknown IO ID 45"} 
[2026-06-23 17:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247136000001,"power":12624,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8870895022550419456}} 
[2026-06-23 17:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":111199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:20:47] local.INFO: GPS data processed {"connection_id":111199,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:20:47] local.INFO: Acknowledgment sent {"connection_id":111199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:21:10] local.INFO: TCP Data received {"connection_id":111818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:10] local.INFO: Processing buffer {"connection_id":111818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:10] local.INFO: IMEI packet received {"connection_id":111818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":111818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:21:12] local.INFO: TCP Data received {"connection_id":111818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:12] local.INFO: Processing buffer {"connection_id":111818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:12] local.INFO: IMEI packet received {"connection_id":111818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":111818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:21:15] local.INFO: TCP Data received {"connection_id":111818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:15] local.INFO: Processing buffer {"connection_id":111818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:21:15] local.INFO: IMEI packet received {"connection_id":111818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":111818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:21:16] local.INFO: TCP Data received {"connection_id":111818,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4518620012d7b1d8005e2d408000000b725..."} 
[2026-06-23 17:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4518620012d7b1d8005e2d408000000b725..."} 
[2026-06-23 17:21:16] local.INFO: Processing buffer {"connection_id":111818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4518620012d7b1d8005e2d408000000b725..."} 
[2026-06-23 17:21:16] local.INFO: Packet analysis {"connection_id":111818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef451"} 
[2026-06-23 17:21:16] local.INFO: Extracted packet for processing {"connection_id":111818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef451"} 
[2026-06-23 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":763043200,"raw_latitude":98751496,"longitude_deg":76.30432,"latitude_deg":9.8751496,"altitude":0,"angle":183,"satellites":37,"speed":3,"hex_longitude":"2d7b1d80","hex_latitude":"05e2d408","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247153152001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429746736332800,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871317235014356992,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215444000,"timestamp_ms":1782215444000,"timestamp_seconds":1782215444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4518620"} 
[2026-06-23 17:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:21:16] 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-06-23 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 17:21:16] 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-06-23 17: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-06-23 17:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247153152001,"66":12602,"96":206,"85":15104,"24":3,"16":96429746736332800,"45":8871317235014356992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247153152001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:21:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429746736332800,"km_value":96429746736332.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871317235014356992,"description":"Unknown IO ID 45"} 
[2026-06-23 17:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247153152001,"power":12602,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8871317235014356992}} 
[2026-06-23 17:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":111818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:21:16] local.INFO: GPS data processed {"connection_id":111818,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:21:16] local.INFO: Acknowledgment sent {"connection_id":111818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:21:24] local.INFO: TCP Data received {"connection_id":111819,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:21:24] local.INFO: Processing buffer {"connection_id":111819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:21:24] local.INFO: IMEI packet received {"connection_id":111819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":111819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:21:29] local.INFO: TCP Data received {"connection_id":111819,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:21:29] local.INFO: Processing buffer {"connection_id":111819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:21:29] local.INFO: IMEI packet received {"connection_id":111819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":111819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:21:30] local.INFO: TCP Data received {"connection_id":111819,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:21:30] local.INFO: Processing buffer {"connection_id":111819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:21:30] local.INFO: Packet analysis {"connection_id":111819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:21:30] local.INFO: Extracted packet for processing {"connection_id":111819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:21:30] 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-06-23 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:21:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":111819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:21:30] local.INFO: GPS data processed {"connection_id":111819,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:21:30] local.INFO: Acknowledgment sent {"connection_id":111819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:21:47] local.INFO: TCP Data received {"connection_id":111818,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4523db8012d7b1f0005e2ca480000009e26..."} 
[2026-06-23 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4523db8012d7b1f0005e2ca480000009e26..."} 
[2026-06-23 17:21:47] local.INFO: Processing buffer {"connection_id":111818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4523db8012d7b1f0005e2ca480000009e26..."} 
[2026-06-23 17:21:47] local.INFO: Packet analysis {"connection_id":111818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:21:47] local.INFO: Extracted packet for processing {"connection_id":111818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98749000,"longitude_deg":76.3043584,"latitude_deg":9.8749,"altitude":0,"angle":158,"satellites":38,"speed":3,"hex_longitude":"2d7b1f00","hex_latitude":"05e2ca48","is_valid_coordinates":true} 
[2026-06-23 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247165184001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429888470253568,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871739447478761472,"note":"Value kept but may cause issues"} 
[2026-06-23 17:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782215491000,"timestamp_ms":1782215491000,"timestamp_seconds":1782215491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4523db8"} 
[2026-06-23 17:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:21:47] 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-06-23 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 17:21:47] 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-06-23 17:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247165184001,"66":12906,"96":206,"85":15104,"24":3,"16":96429888470253568,"45":8871739447478761472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247165184001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:21:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429888470253568,"km_value":96429888470253.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871739447478761472,"description":"Unknown IO ID 45"} 
[2026-06-23 17:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247165184001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8871739447478761472}} 
[2026-06-23 17:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":111818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:21:47] local.INFO: GPS data processed {"connection_id":111818,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:21:47] local.INFO: Acknowledgment sent {"connection_id":111818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:22:01] local.INFO: TCP Data received {"connection_id":111819,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:22:01] local.INFO: Processing buffer {"connection_id":111819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:22:01] local.INFO: Packet analysis {"connection_id":111819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:22:01] local.INFO: Extracted packet for processing {"connection_id":111819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:22:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:22:01] 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-06-23 17: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:22:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:22:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":111819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:22:01] local.INFO: GPS data processed {"connection_id":111819,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:22:01] local.INFO: Acknowledgment sent {"connection_id":111819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:22:10] local.INFO: TCP Data received {"connection_id":112754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:22:10] local.INFO: Processing buffer {"connection_id":112754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:22:10] local.INFO: IMEI packet received {"connection_id":112754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":112754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:22:15] local.INFO: TCP Data received {"connection_id":112754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:22:15] local.INFO: Processing buffer {"connection_id":112754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:22:15] local.INFO: IMEI packet received {"connection_id":112754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":112754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:22:16] local.INFO: TCP Data received {"connection_id":112754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4524588012d7b1ec005e2c980000000b525..."} 
[2026-06-23 17:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4524588012d7b1ec005e2c980000000b525..."} 
[2026-06-23 17:22:16] local.INFO: Processing buffer {"connection_id":112754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4524588012d7b1ec005e2c980000000b525..."} 
[2026-06-23 17:22:16] local.INFO: Packet analysis {"connection_id":112754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:22:16] local.INFO: Extracted packet for processing {"connection_id":112754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":763043520,"raw_latitude":98748800,"longitude_deg":76.304352,"latitude_deg":9.87488,"altitude":0,"angle":181,"satellites":37,"speed":4,"hex_longitude":"2d7b1ec0","hex_latitude":"05e2c980","is_valid_coordinates":true} 
[2026-06-23 17:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247165696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429897060188160,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871809816222910464,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215493000,"timestamp_ms":1782215493000,"timestamp_seconds":1782215493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4524588"} 
[2026-06-23 17:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 17:22:16] 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-06-23 17:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247165696001,"66":12809,"96":206,"85":15104,"24":4,"16":96429897060188160,"45":8871809816222910464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247165696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:22:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429897060188160,"km_value":96429897060188.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871809816222910464,"description":"Unknown IO ID 45"} 
[2026-06-23 17:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247165696001,"power":12809,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8871809816222910464}} 
[2026-06-23 17:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":112754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:22:16] local.INFO: GPS data processed {"connection_id":112754,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:22:16] local.INFO: Acknowledgment sent {"connection_id":112754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:22:23] local.INFO: TCP Data received {"connection_id":111017,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:22:23] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:22:23] local.INFO: IMEI packet received {"connection_id":111017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":111017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:22:28] local.INFO: TCP Data received {"connection_id":111017,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:22:28] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:22:28] local.INFO: IMEI packet received {"connection_id":111017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":111017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:22:29] local.INFO: TCP Data received {"connection_id":111017,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:22:29] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:22:29] local.INFO: Packet analysis {"connection_id":111017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:22:29] local.INFO: Extracted packet for processing {"connection_id":111017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:22:29] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:22:29] 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-06-23 17:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:22:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:22:29] local.INFO: GPS data processed {"connection_id":111017,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:22:29] local.INFO: Acknowledgment sent {"connection_id":111017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:22:47] local.INFO: TCP Data received {"connection_id":112754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4525140012d7b1ec005e2c830000000aa24..."} 
[2026-06-23 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4525140012d7b1ec005e2c830000000aa24..."} 
[2026-06-23 17:22:47] local.INFO: Processing buffer {"connection_id":112754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4525140012d7b1ec005e2c830000000aa24..."} 
[2026-06-23 17:22:47] local.INFO: Packet analysis {"connection_id":112754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:22:47] local.INFO: Extracted packet for processing {"connection_id":112754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763043520,"raw_latitude":98748464,"longitude_deg":76.304352,"latitude_deg":9.8748464,"altitude":0,"angle":170,"satellites":36,"speed":5,"hex_longitude":"2d7b1ec0","hex_latitude":"05e2c830","is_valid_coordinates":true} 
[2026-06-23 17:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247166208001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429918535024640,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871739447478681600,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782215496000,"timestamp_ms":1782215496000,"timestamp_seconds":1782215496,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4525140"} 
[2026-06-23 17:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:22:47] 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-06-23 17:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4098999456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":47104,"corrected_to":0} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":244,"raw_value":5890910627798129984,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3412590592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221611216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":49,"raw_value":5764833637493165653,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2523201536,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2102582891656451298,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 17:22:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,96,85,24,241,157,16,150,158,61,45,202,38,10,66,53,192,30,1,240,101,227,244,226,4,113,205,3,239,29,64,34,49,2,86,5,59],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":202,"original":47104,"validated":0},{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-06-23 17:22:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":199170518679552,"timestamp_seconds":199170518679.552,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247166208001,"66":12863,"96":206,"85":15104,"24":5,"16":96429918535024640,"45":8871739447478681600},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247166208001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:22:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429918535024640,"km_value":96429918535024.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871739447478681600,"description":"Unknown IO ID 45"} 
[2026-06-23 17:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247166208001,"power":12863,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8871739447478681600}} 
[2026-06-23 17:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":112754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:22:47] local.INFO: GPS data processed {"connection_id":112754,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:22:47] local.INFO: Acknowledgment sent {"connection_id":112754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:23:01] local.INFO: TCP Data received {"connection_id":111017,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:23:01] local.INFO: Processing buffer {"connection_id":111017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:23:01] local.INFO: Packet analysis {"connection_id":111017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:23:01] local.INFO: Extracted packet for processing {"connection_id":111017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:23: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-06-23 17:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:23:01] 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-06-23 17:23: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:23: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-06-23 17:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:23:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":111017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:23:01] local.INFO: GPS data processed {"connection_id":111017,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:23:01] local.INFO: Acknowledgment sent {"connection_id":111017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:23:15] local.INFO: TCP Data received {"connection_id":111821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:23:15] local.INFO: Processing buffer {"connection_id":111821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:23:15] local.INFO: IMEI packet received {"connection_id":111821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":111821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:23:18] local.INFO: TCP Data received {"connection_id":111821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:23:18] local.INFO: Processing buffer {"connection_id":111821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:23:18] local.INFO: IMEI packet received {"connection_id":111821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":111821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:23:19] local.INFO: TCP Data received {"connection_id":111821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4529f60012d7b208005e2c2f8000000af20..."} 
[2026-06-23 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4529f60012d7b208005e2c2f8000000af20..."} 
[2026-06-23 17:23:19] local.INFO: Processing buffer {"connection_id":111821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4529f60012d7b208005e2c2f8000000af20..."} 
[2026-06-23 17:23:19] local.INFO: Packet analysis {"connection_id":111821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:23:19] local.INFO: Extracted packet for processing {"connection_id":111821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98747128,"longitude_deg":76.3043968,"latitude_deg":9.8747128,"altitude":0,"angle":175,"satellites":32,"speed":2,"hex_longitude":"2d7b2080","hex_latitude":"05e2c2f8","is_valid_coordinates":true} 
[2026-06-23 17:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247166976001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429987254501376,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871739447478595584,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782215516000,"timestamp_ms":1782215516000,"timestamp_seconds":1782215516,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4529f60"} 
[2026-06-23 17:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:23:19] 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-06-23 17:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 17:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247166976001,"66":12298,"96":206,"85":15104,"24":2,"16":96429987254501376,"45":8871739447478595584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247166976001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:23:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429987254501376,"km_value":96429987254501.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871739447478595584,"description":"Unknown IO ID 45"} 
[2026-06-23 17:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247166976001,"power":12298,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8871739447478595584}} 
[2026-06-23 17:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":111821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:23:19] local.INFO: GPS data processed {"connection_id":111821,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:23:19] local.INFO: Acknowledgment sent {"connection_id":111821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:23:21] local.INFO: TCP Data received {"connection_id":111821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef452a730012d7b208005e2c258000000ba22..."} 
[2026-06-23 17:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef452a730012d7b208005e2c258000000ba22..."} 
[2026-06-23 17:23:21] local.INFO: Processing buffer {"connection_id":111821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef452a730012d7b208005e2c258000000ba22..."} 
[2026-06-23 17:23:21] local.INFO: Packet analysis {"connection_id":111821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:23:21] local.INFO: Extracted packet for processing {"connection_id":111821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98746968,"longitude_deg":76.3043968,"latitude_deg":9.8746968,"altitude":0,"angle":186,"satellites":34,"speed":2,"hex_longitude":"2d7b2080","hex_latitude":"05e2c258","is_valid_coordinates":true} 
[2026-06-23 17:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247172096001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96429995844435968,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028687497216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782215518000,"timestamp_ms":1782215518000,"timestamp_seconds":1782215518,"priority":1,"record_length":96,"hex_timestamp":"0000019ef452a730"} 
[2026-06-23 17:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436567147008,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185942,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":150,"raw_value":8358680908399640577,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-841628219207746787,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":192,"raw_value":424130288222732465,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":12288,"corrected_to":0} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3586836511483494606,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3401056256,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221611211,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2524250112,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3804981248,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.WARNING: Large IO value detected {"io_id":34,"raw_value":562949954076676,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:21] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,96,85,24,241,157,16,150,158,81,45,192,200,36,10,66,69,201,37,61,1,240,106,227,244,226,4,113,205,30,40,239,49,2,86,5,34],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":200,"original":12288,"validated":0},{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-06-23 17:23:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":192551973945344,"timestamp_seconds":192551973945.344,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247172096001,"66":12504,"96":206,"85":15104,"24":2,"16":96429995844435968,"45":8872232028687497216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247172096001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96429995844435968,"km_value":96429995844435.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028687497216,"description":"Unknown IO ID 45"} 
[2026-06-23 17:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247172096001,"power":12504,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8872232028687497216}} 
[2026-06-23 17:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":111821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:23:21] local.INFO: GPS data processed {"connection_id":111821,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:23:21] local.INFO: Acknowledgment sent {"connection_id":111821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:23:23] local.INFO: TCP Data received {"connection_id":111018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:23:23] local.INFO: Processing buffer {"connection_id":111018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:23:23] local.INFO: IMEI packet received {"connection_id":111018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":111018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:23:29] local.INFO: TCP Data received {"connection_id":111018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:23:29] local.INFO: Processing buffer {"connection_id":111018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:23:29] local.INFO: IMEI packet received {"connection_id":111018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":111018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:23:30] local.INFO: TCP Data received {"connection_id":111018,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:23:30] local.INFO: Processing buffer {"connection_id":111018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef44f20d8012cb29bc007822610004d00c330..."} 
[2026-06-23 17:23:30] local.INFO: Packet analysis {"connection_id":111018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:23:30] local.INFO: Extracted packet for processing {"connection_id":111018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef44f"} 
[2026-06-23 17:23:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247036416001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512761280512,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215287000,"timestamp_ms":1782215287000,"timestamp_seconds":1782215287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef44f20d8"} 
[2026-06-23 17:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:23:30] 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-06-23 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 17:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247036416001,"66":24864,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5574541512761280512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247036416001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:23:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512761280512,"description":"Unknown IO ID 44"} 
[2026-06-23 17:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247036416001,"power":24864,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574541512761280512}} 
[2026-06-23 17:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":111018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:23:30] local.INFO: GPS data processed {"connection_id":111018,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:23:30] local.INFO: Acknowledgment sent {"connection_id":111018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:23:52] local.INFO: TCP Data received {"connection_id":111821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef452b2e8012d7b208005e2c140000000ac23..."} 
[2026-06-23 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef452b2e8012d7b208005e2c140000000ac23..."} 
[2026-06-23 17:23:52] local.INFO: Processing buffer {"connection_id":111821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef452b2e8012d7b208005e2c140000000ac23..."} 
[2026-06-23 17:23:52] local.INFO: Packet analysis {"connection_id":111821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:23:52] local.INFO: Extracted packet for processing {"connection_id":111821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef452"} 
[2026-06-23 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98746688,"longitude_deg":76.3043968,"latitude_deg":9.8746688,"altitude":0,"angle":172,"satellites":35,"speed":3,"hex_longitude":"2d7b2080","hex_latitude":"05e2c140","is_valid_coordinates":true} 
[2026-06-23 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247172608001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430008729337856,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028687456256,"note":"Value kept but may cause issues"} 
[2026-06-23 17:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782215521000,"timestamp_ms":1782215521000,"timestamp_seconds":1782215521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef452b2e8"} 
[2026-06-23 17:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:23:52] 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-06-23 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 17:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247172608001,"66":12874,"96":206,"85":15104,"24":3,"16":96430008729337856,"45":8872232028687456256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247172608001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:23:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430008729337856,"km_value":96430008729337.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028687456256,"description":"Unknown IO ID 45"} 
[2026-06-23 17:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247172608001,"power":12874,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8872232028687456256}} 
[2026-06-23 17:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":111821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:23:52] local.INFO: GPS data processed {"connection_id":111821,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:23:52] local.INFO: Acknowledgment sent {"connection_id":111821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:24:01] local.INFO: TCP Data received {"connection_id":111018,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:24:01] local.INFO: Processing buffer {"connection_id":111018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:24:01] local.INFO: Packet analysis {"connection_id":111018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:24:01] local.INFO: Extracted packet for processing {"connection_id":111018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:24: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-06-23 17:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:24:01] 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-06-23 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:24: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-06-23 17:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:24:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:24:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":111018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:24:01] local.INFO: GPS data processed {"connection_id":111018,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:24:01] local.INFO: Acknowledgment sent {"connection_id":111018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:24:06] local.INFO: TCP Data received {"connection_id":111822,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:06] local.INFO: Processing buffer {"connection_id":111822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:06] local.INFO: IMEI packet received {"connection_id":111822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":111822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:24:10] local.INFO: TCP Data received {"connection_id":111822,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:10] local.INFO: Processing buffer {"connection_id":111822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:10] local.INFO: IMEI packet received {"connection_id":111822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":111822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:24:15] local.INFO: TCP Data received {"connection_id":111822,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:15] local.INFO: Processing buffer {"connection_id":111822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:24:15] local.INFO: IMEI packet received {"connection_id":111822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":111822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:24:16] local.INFO: TCP Data received {"connection_id":111822,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4543d70012d7b258005e2b210000000a627..."} 
[2026-06-23 17:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4543d70012d7b258005e2b210000000a627..."} 
[2026-06-23 17:24:16] local.INFO: Processing buffer {"connection_id":111822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4543d70012d7b258005e2b210000000a627..."} 
[2026-06-23 17:24:16] local.INFO: Packet analysis {"connection_id":111822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:24:16] local.INFO: Extracted packet for processing {"connection_id":111822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98742800,"longitude_deg":76.3045248,"latitude_deg":9.87428,"altitude":0,"angle":166,"satellites":39,"speed":3,"hex_longitude":"2d7b2580","hex_latitude":"05e2b210","is_valid_coordinates":true} 
[2026-06-23 17:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247198464001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430240657571840,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403569995776,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215622000,"timestamp_ms":1782215622000,"timestamp_seconds":1782215622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4543d70"} 
[2026-06-23 17:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-23 17:24:16] 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-06-23 17:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247198464001,"66":12765,"96":206,"85":15104,"24":3,"16":96430240657571840,"45":8873639403569995776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247198464001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:24:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430240657571840,"km_value":96430240657571.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403569995776,"description":"Unknown IO ID 45"} 
[2026-06-23 17:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247198464001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8873639403569995776}} 
[2026-06-23 17:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":111822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:24:16] local.INFO: GPS data processed {"connection_id":111822,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:24:16] local.INFO: Acknowledgment sent {"connection_id":111822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:24:20] local.INFO: TCP Data received {"connection_id":111822,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4546480012d7b268005e2ad38000000b925..."} 
[2026-06-23 17:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4546480012d7b268005e2ad38000000b925..."} 
[2026-06-23 17:24:20] local.INFO: Processing buffer {"connection_id":111822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4546480012d7b268005e2ad38000000b925..."} 
[2026-06-23 17:24:20] local.INFO: Packet analysis {"connection_id":111822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:24:20] local.INFO: Extracted packet for processing {"connection_id":111822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98741560,"longitude_deg":76.3045504,"latitude_deg":9.874156,"altitude":0,"angle":185,"satellites":37,"speed":4,"hex_longitude":"2d7b2680","hex_latitude":"05e2ad38","is_valid_coordinates":true} 
[2026-06-23 17:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247199232001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430305082081280,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403569942528,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782215632000,"timestamp_ms":1782215632000,"timestamp_seconds":1782215632,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4546480"} 
[2026-06-23 17:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247199232001,"66":12917,"96":206,"85":15104,"24":4,"16":96430305082081280,"45":8873639403569942528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247199232001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:24:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430305082081280,"km_value":96430305082081.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403569942528,"description":"Unknown IO ID 45"} 
[2026-06-23 17:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247199232001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8873639403569942528}} 
[2026-06-23 17:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":111822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:24:20] local.INFO: GPS data processed {"connection_id":111822,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:24:20] local.INFO: Acknowledgment sent {"connection_id":111822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:24:23] local.INFO: TCP Data received {"connection_id":112755,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:24:23] local.INFO: Processing buffer {"connection_id":112755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:24:23] local.INFO: IMEI packet received {"connection_id":112755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":112755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:24:26] local.INFO: TCP Data received {"connection_id":111019,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:24:26] local.INFO: Processing buffer {"connection_id":111019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:24:26] local.INFO: IMEI packet received {"connection_id":111019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":111019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:24:29] local.INFO: TCP Data received {"connection_id":112755,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:24:29] local.INFO: Processing buffer {"connection_id":112755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:24:29] local.INFO: IMEI packet received {"connection_id":112755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":112755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:24:30] local.INFO: TCP Data received {"connection_id":112755,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:24:30] local.INFO: Processing buffer {"connection_id":112755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:24:30] local.INFO: Packet analysis {"connection_id":112755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:24:30] local.INFO: Extracted packet for processing {"connection_id":112755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:24:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:24:30] 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-06-23 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":112755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:24:30] local.INFO: GPS data processed {"connection_id":112755,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:24:30] local.INFO: Acknowledgment sent {"connection_id":112755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:24:51] local.INFO: TCP Data received {"connection_id":111822,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4547038012d7b26c005e2ac80000000aa27..."} 
[2026-06-23 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4547038012d7b26c005e2ac80000000aa27..."} 
[2026-06-23 17:24:51] local.INFO: Processing buffer {"connection_id":111822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4547038012d7b26c005e2ac80000000aa27..."} 
[2026-06-23 17:24:51] local.INFO: Packet analysis {"connection_id":111822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:24:51] local.INFO: Extracted packet for processing {"connection_id":111822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98741376,"longitude_deg":76.3045568,"latitude_deg":9.8741376,"altitude":0,"angle":170,"satellites":39,"speed":2,"hex_longitude":"2d7b26c0","hex_latitude":"05e2ac80","is_valid_coordinates":true} 
[2026-06-23 17:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247201792001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430317966983168,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878546335744,"note":"Value kept but may cause issues"} 
[2026-06-23 17:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782215635000,"timestamp_ms":1782215635000,"timestamp_seconds":1782215635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4547038"} 
[2026-06-23 17:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 17:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247201792001,"66":12950,"96":206,"85":15104,"24":2,"16":96430317966983168,"45":8873920878546335744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247201792001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:24:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430317966983168,"km_value":96430317966983.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878546335744,"description":"Unknown IO ID 45"} 
[2026-06-23 17:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247201792001,"power":12950,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8873920878546335744}} 
[2026-06-23 17:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":111822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:24:51] local.INFO: GPS data processed {"connection_id":111822,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:24:51] local.INFO: Acknowledgment sent {"connection_id":111822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:25:01] local.INFO: TCP Data received {"connection_id":112755,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:01] local.INFO: Processing buffer {"connection_id":112755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:01] local.INFO: Packet analysis {"connection_id":112755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:25:01] local.INFO: Extracted packet for processing {"connection_id":112755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:25:01] 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-06-23 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:25:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:25:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:25:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":112755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:25:01] local.INFO: GPS data processed {"connection_id":112755,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:25:01] local.INFO: Acknowledgment sent {"connection_id":112755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:25:06] local.INFO: TCP Data received {"connection_id":111823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:25:06] local.INFO: Processing buffer {"connection_id":111823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:25:06] local.INFO: IMEI packet received {"connection_id":111823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":111823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:25:09] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:09] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:09] local.INFO: IMEI packet received {"connection_id":111020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":111020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:25:10] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:10] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:10] local.INFO: IMEI packet received {"connection_id":111020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":111020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:25:11] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:11] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:11] local.INFO: IMEI packet received {"connection_id":111020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":111020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:25:14] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:14] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:25:14] local.INFO: IMEI packet received {"connection_id":111020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":111020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:25:15] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4549748012d7b27c005e2a828000000b528..."} 
[2026-06-23 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4549748012d7b27c005e2a828000000b528..."} 
[2026-06-23 17:25:15] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4549748012d7b27c005e2a828000000b528..."} 
[2026-06-23 17:25:15] local.INFO: Packet analysis {"connection_id":111020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:25:15] local.INFO: Extracted packet for processing {"connection_id":111020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763045824,"raw_latitude":98740264,"longitude_deg":76.3045824,"latitude_deg":9.8740264,"altitude":0,"angle":181,"satellites":40,"speed":4,"hex_longitude":"2d7b27c0","hex_latitude":"05e2a828","is_valid_coordinates":true} 
[2026-06-23 17:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247202560001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430373801558016,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247290466304,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782215645000,"timestamp_ms":1782215645000,"timestamp_seconds":1782215645,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4549748"} 
[2026-06-23 17:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:25:15] 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-06-23 17:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 17:25:15] 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-06-23 17:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247202560001,"66":12917,"96":206,"85":15104,"24":4,"16":96430373801558016,"45":8873991247290466304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247202560001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:25:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430373801558016,"km_value":96430373801558.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247290466304,"description":"Unknown IO ID 45"} 
[2026-06-23 17:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247202560001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8873991247290466304}} 
[2026-06-23 17:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":111020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:25:15] local.INFO: GPS data processed {"connection_id":111020,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:25:15] local.INFO: Acknowledgment sent {"connection_id":111020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:25:16] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef454e950012d7b27c005e2a2b0000000bb26..."} 
[2026-06-23 17:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef454e950012d7b27c005e2a2b0000000bb26..."} 
[2026-06-23 17:25:16] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef454e950012d7b27c005e2a2b0000000bb26..."} 
[2026-06-23 17:25:16] local.INFO: Packet analysis {"connection_id":111020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:25:16] local.INFO: Extracted packet for processing {"connection_id":111020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef454"} 
[2026-06-23 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763045824,"raw_latitude":98738864,"longitude_deg":76.3045824,"latitude_deg":9.8738864,"altitude":0,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d7b27c0","hex_latitude":"05e2a2b0","is_valid_coordinates":true} 
[2026-06-23 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247205120001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430446816002048,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874272722266892288,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215666000,"timestamp_ms":1782215666000,"timestamp_seconds":1782215666,"priority":1,"record_length":96,"hex_timestamp":"0000019ef454e950"} 
[2026-06-23 17:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 17:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247205120001,"66":12906,"96":206,"85":15104,"24":0,"16":96430446816002048,"45":8874272722266892288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247205120001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:25:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430446816002048,"km_value":96430446816002.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874272722266892288,"description":"Unknown IO ID 45"} 
[2026-06-23 17:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247205120001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874272722266892288}} 
[2026-06-23 17:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":111020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:25:16] local.INFO: GPS data processed {"connection_id":111020,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:25:16] local.INFO: Acknowledgment sent {"connection_id":111020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:25:29] local.INFO: TCP Data received {"connection_id":112756,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:25:29] local.INFO: Processing buffer {"connection_id":112756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:25:29] local.INFO: IMEI packet received {"connection_id":112756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":112756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:25:34] local.INFO: TCP Data received {"connection_id":112756,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:25:34] local.INFO: Processing buffer {"connection_id":112756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:25:34] local.INFO: IMEI packet received {"connection_id":112756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":112756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:25:35] local.INFO: TCP Data received {"connection_id":112756,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:35] local.INFO: Processing buffer {"connection_id":112756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:35] local.INFO: Packet analysis {"connection_id":112756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:25:35] local.INFO: Extracted packet for processing {"connection_id":112756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:25:35] 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-06-23 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":112756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:25:35] local.INFO: GPS data processed {"connection_id":112756,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:25:35] local.INFO: Acknowledgment sent {"connection_id":112756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:25:40] local.INFO: TCP Data received {"connection_id":112756,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:40] local.INFO: Processing buffer {"connection_id":112756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:25:40] local.INFO: Packet analysis {"connection_id":112756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:25:40] local.INFO: Extracted packet for processing {"connection_id":112756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 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-06-23 17:25:40] 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-06-23 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:25:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:25:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":112756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:25:40] local.INFO: GPS data processed {"connection_id":112756,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:25:40] local.INFO: Acknowledgment sent {"connection_id":112756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:25:47] local.INFO: TCP Data received {"connection_id":111020,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef455c410012d7b27c005e29638000000db24..."} 
[2026-06-23 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef455c410012d7b27c005e29638000000db24..."} 
[2026-06-23 17:25:47] local.INFO: Processing buffer {"connection_id":111020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef455c410012d7b27c005e29638000000db24..."} 
[2026-06-23 17:25:47] local.INFO: Packet analysis {"connection_id":111020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef455"} 
[2026-06-23 17:25:47] local.INFO: Extracted packet for processing {"connection_id":111020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef455"} 
[2026-06-23 17:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763045824,"raw_latitude":98735672,"longitude_deg":76.3045824,"latitude_deg":9.8735672,"altitude":0,"angle":219,"satellites":36,"speed":0,"hex_longitude":"2d7b27c0","hex_latitude":"05e29638","is_valid_coordinates":true} 
[2026-06-23 17:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247223552001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430614319726592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874272722265763840,"note":"Value kept but may cause issues"} 
[2026-06-23 17:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782215722000,"timestamp_ms":1782215722000,"timestamp_seconds":1782215722,"priority":1,"record_length":96,"hex_timestamp":"0000019ef455c410"} 
[2026-06-23 17:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:25:47] 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-06-23 17:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247223552001,"66":12504,"96":206,"85":15104,"24":0,"16":96430614319726592,"45":8874272722265763840},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247223552001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:25:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430614319726592,"km_value":96430614319726.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874272722265763840,"description":"Unknown IO ID 45"} 
[2026-06-23 17:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247223552001,"power":12504,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874272722265763840}} 
[2026-06-23 17:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":111020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:25:47] local.INFO: GPS data processed {"connection_id":111020,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:25:47] local.INFO: Acknowledgment sent {"connection_id":111020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:26:10] local.INFO: TCP Data received {"connection_id":111022,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:26:10] local.INFO: Processing buffer {"connection_id":111022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:26:10] local.INFO: IMEI packet received {"connection_id":111022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":111022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:26:15] local.INFO: TCP Data received {"connection_id":111022,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:26:15] local.INFO: Processing buffer {"connection_id":111022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:26:15] local.INFO: IMEI packet received {"connection_id":111022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":111022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:26:16] local.INFO: TCP Data received {"connection_id":111022,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef455cbe0012d7b27c005e295f8000000c720..."} 
[2026-06-23 17:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef455cbe0012d7b27c005e295f8000000c720..."} 
[2026-06-23 17:26:16] local.INFO: Processing buffer {"connection_id":111022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef455cbe0012d7b27c005e295f8000000c720..."} 
[2026-06-23 17:26:16] local.INFO: Packet analysis {"connection_id":111022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef455"} 
[2026-06-23 17:26:16] local.INFO: Extracted packet for processing {"connection_id":111022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef455"} 
[2026-06-23 17:26:16] local.INFO: GPS Element Parsed {"raw_longitude":763045824,"raw_latitude":98735608,"longitude_deg":76.3045824,"latitude_deg":9.8735608,"altitude":0,"angle":199,"satellites":32,"speed":0,"hex_longitude":"2d7b27c0","hex_latitude":"05e295f8","is_valid_coordinates":true} 
[2026-06-23 17:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247224832001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430622909661184,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874272722265716736,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215724000,"timestamp_ms":1782215724000,"timestamp_seconds":1782215724,"priority":1,"record_length":96,"hex_timestamp":"0000019ef455cbe0"} 
[2026-06-23 17:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 17:26:16] 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-06-23 17:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247224832001,"66":12472,"96":206,"85":15104,"24":0,"16":96430622909661184,"45":8874272722265716736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247224832001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:26:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:26:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430622909661184,"km_value":96430622909661.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874272722265716736,"description":"Unknown IO ID 45"} 
[2026-06-23 17:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247224832001,"power":12472,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874272722265716736}} 
[2026-06-23 17:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":111022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:26:16] local.INFO: GPS data processed {"connection_id":111022,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:26:16] local.INFO: Acknowledgment sent {"connection_id":111022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:26:24] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:26:24] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:26:24] local.INFO: IMEI packet received {"connection_id":111201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":111201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:26:29] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:26:29] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:26:29] local.INFO: IMEI packet received {"connection_id":111201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":111201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:26:30] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:26:30] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:26:30] local.INFO: Packet analysis {"connection_id":111201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:26:30] local.INFO: Extracted packet for processing {"connection_id":111201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 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-06-23 17:26:30] 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-06-23 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":111201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:26:30] local.INFO: GPS data processed {"connection_id":111201,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:26:30] local.INFO: Acknowledgment sent {"connection_id":111201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:26:48] local.INFO: TCP Data received {"connection_id":111022,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4561a00012d7b278005e28ff8000000b823..."} 
[2026-06-23 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4561a00012d7b278005e28ff8000000b823..."} 
[2026-06-23 17:26:48] local.INFO: Processing buffer {"connection_id":111022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4561a00012d7b278005e28ff8000000b823..."} 
[2026-06-23 17:26:48] local.INFO: Packet analysis {"connection_id":111022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:26:48] local.INFO: Extracted packet for processing {"connection_id":111022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:26:48] local.INFO: GPS Element Parsed {"raw_longitude":763045760,"raw_latitude":98734072,"longitude_deg":76.304576,"latitude_deg":9.8734072,"altitude":0,"angle":184,"satellites":35,"speed":1,"hex_longitude":"2d7b2780","hex_latitude":"05e28ff8","is_valid_coordinates":true} 
[2026-06-23 17:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247225344001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430708809007104,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874272722265700352,"note":"Value kept but may cause issues"} 
[2026-06-23 17:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782215744000,"timestamp_ms":1782215744000,"timestamp_seconds":1782215744,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4561a00"} 
[2026-06-23 17:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-23 17:26:48] 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-06-23 17:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247225344001,"66":12765,"96":206,"85":15104,"24":1,"16":96430708809007104,"45":8874272722265700352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247225344001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:26:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:26:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430708809007104,"km_value":96430708809007.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874272722265700352,"description":"Unknown IO ID 45"} 
[2026-06-23 17:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247225344001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8874272722265700352}} 
[2026-06-23 17:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":111022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:26:48] local.INFO: GPS data processed {"connection_id":111022,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:26:48] local.INFO: Acknowledgment sent {"connection_id":111022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:27:01] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:01] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:01] local.INFO: Packet analysis {"connection_id":111201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:27:01] local.INFO: Extracted packet for processing {"connection_id":111201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:27:01] 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-06-23 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:27:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:27:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":111201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:27:01] local.INFO: GPS data processed {"connection_id":111201,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:27:01] local.INFO: Acknowledgment sent {"connection_id":111201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:27:09] local.INFO: TCP Data received {"connection_id":111202,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:09] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:09] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:27:10] local.INFO: TCP Data received {"connection_id":111202,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:10] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:10] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:27:14] local.INFO: TCP Data received {"connection_id":111202,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:14] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:27:14] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:27:15] local.INFO: TCP Data received {"connection_id":111202,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4565c68012d7b284005e28d90000000a821..."} 
[2026-06-23 17:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4565c68012d7b284005e28d90000000a821..."} 
[2026-06-23 17:27:15] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4565c68012d7b284005e28d90000000a821..."} 
[2026-06-23 17:27:15] local.INFO: Packet analysis {"connection_id":111202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:27:15] local.INFO: Extracted packet for processing {"connection_id":111202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763045952,"raw_latitude":98733456,"longitude_deg":76.3045952,"latitude_deg":9.8733456,"altitude":0,"angle":168,"satellites":33,"speed":5,"hex_longitude":"2d7b2840","hex_latitude":"05e28d90","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247230464001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430747463712768,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874202353521129472,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782215761000,"timestamp_ms":1782215761000,"timestamp_seconds":1782215761,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4565c68"} 
[2026-06-23 17:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:27: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-06-23 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:27:15] 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-06-23 17: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-06-23 17:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247230464001,"66":12765,"96":206,"85":15104,"24":5,"16":96430747463712768,"45":8874202353521129472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247230464001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:27:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430747463712768,"km_value":96430747463712.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874202353521129472,"description":"Unknown IO ID 45"} 
[2026-06-23 17:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247230464001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8874202353521129472}} 
[2026-06-23 17:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":111202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:27:15] local.INFO: GPS data processed {"connection_id":111202,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:27:15] local.INFO: Acknowledgment sent {"connection_id":111202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:27:33] local.INFO: TCP Data received {"connection_id":112758,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:27:33] local.INFO: Processing buffer {"connection_id":112758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:27:33] local.INFO: IMEI packet received {"connection_id":112758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":112758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:27:33] local.INFO: TCP Data received {"connection_id":112758,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:27:33] local.INFO: Processing buffer {"connection_id":112758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:27:33] local.INFO: IMEI packet received {"connection_id":112758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":112758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:27:35] local.INFO: TCP Data received {"connection_id":112758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:35] local.INFO: Processing buffer {"connection_id":112758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:35] local.INFO: Packet analysis {"connection_id":112758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:27:35] local.INFO: Extracted packet for processing {"connection_id":112758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 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-06-23 17:27:35] 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-06-23 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":112758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:27:35] local.INFO: GPS data processed {"connection_id":112758,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:27:35] local.INFO: Acknowledgment sent {"connection_id":112758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:27:36] local.INFO: TCP Data received {"connection_id":112758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:36] local.INFO: Processing buffer {"connection_id":112758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:27:36] local.INFO: Packet analysis {"connection_id":112758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:27:36] local.INFO: Extracted packet for processing {"connection_id":112758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:27:36] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:27: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-06-23 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:27:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":112758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:27:36] local.INFO: GPS data processed {"connection_id":112758,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:27:36] local.INFO: Acknowledgment sent {"connection_id":112758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:27:47] local.INFO: TCP Data received {"connection_id":111202,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef456aa88012d7b2a4005e28728000000a323..."} 
[2026-06-23 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef456aa88012d7b2a4005e28728000000a323..."} 
[2026-06-23 17:27:47] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef456aa88012d7b2a4005e28728000000a323..."} 
[2026-06-23 17:27:47] local.INFO: Packet analysis {"connection_id":111202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:27:47] local.INFO: Extracted packet for processing {"connection_id":111202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98731816,"longitude_deg":76.3046464,"latitude_deg":9.8731816,"altitude":0,"angle":163,"satellites":35,"speed":0,"hex_longitude":"2d7b2a40","hex_latitude":"05e28728","is_valid_coordinates":true} 
[2026-06-23 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247234816001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430837658025984,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874413459753504768,"note":"Value kept but may cause issues"} 
[2026-06-23 17:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782215781000,"timestamp_ms":1782215781000,"timestamp_seconds":1782215781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef456aa88"} 
[2026-06-23 17:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:27: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-06-23 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:27: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-06-23 17:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247234816001,"66":12765,"96":206,"85":15104,"24":0,"16":96430837658025984,"45":8874413459753504768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247234816001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:27:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430837658025984,"km_value":96430837658025.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874413459753504768,"description":"Unknown IO ID 45"} 
[2026-06-23 17:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247234816001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874413459753504768}} 
[2026-06-23 17:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":111202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:27:47] local.INFO: GPS data processed {"connection_id":111202,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:27:47] local.INFO: Acknowledgment sent {"connection_id":111202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:28:09] local.INFO: TCP Data received {"connection_id":112758,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:28:09] local.INFO: Processing buffer {"connection_id":112758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:28:09] local.INFO: Packet analysis {"connection_id":112758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:28:09] local.INFO: Extracted packet for processing {"connection_id":112758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:28:09] 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-06-23 17: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":112758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":112758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":112758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:28:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":112758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:28:09] local.INFO: GPS data processed {"connection_id":112758,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:28:09] local.INFO: Acknowledgment sent {"connection_id":112758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:28:10] local.INFO: TCP Data received {"connection_id":112759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:10] local.INFO: Processing buffer {"connection_id":112759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:10] local.INFO: IMEI packet received {"connection_id":112759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":112759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:28:13] local.INFO: TCP Data received {"connection_id":112759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:13] local.INFO: Processing buffer {"connection_id":112759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:13] local.INFO: IMEI packet received {"connection_id":112759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":112759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:28:15] local.INFO: TCP Data received {"connection_id":112759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:15] local.INFO: Processing buffer {"connection_id":112759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:28:15] local.INFO: IMEI packet received {"connection_id":112759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":112759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:28:16] local.INFO: TCP Data received {"connection_id":112759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef456ba28012d7b2a4005e28638000000ae25..."} 
[2026-06-23 17:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef456ba28012d7b2a4005e28638000000ae25..."} 
[2026-06-23 17:28:16] local.INFO: Processing buffer {"connection_id":112759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef456ba28012d7b2a4005e28638000000ae25..."} 
[2026-06-23 17:28:16] local.INFO: Packet analysis {"connection_id":112759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:28:16] local.INFO: Extracted packet for processing {"connection_id":112759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98731576,"longitude_deg":76.3046464,"latitude_deg":9.8731576,"altitude":0,"angle":174,"satellites":37,"speed":3,"hex_longitude":"2d7b2a40","hex_latitude":"05e28638","is_valid_coordinates":true} 
[2026-06-23 17:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247239936001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430850542927872,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409706506240,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215785000,"timestamp_ms":1782215785000,"timestamp_seconds":1782215785,"priority":1,"record_length":96,"hex_timestamp":"0000019ef456ba28"} 
[2026-06-23 17:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:28: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-06-23 17:28:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:28:16] 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-06-23 17:28:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247239936001,"66":12917,"96":206,"85":15104,"24":3,"16":96430850542927872,"45":8874976409706506240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247239936001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430850542927872,"km_value":96430850542927.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409706506240,"description":"Unknown IO ID 45"} 
[2026-06-23 17:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247239936001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8874976409706506240}} 
[2026-06-23 17:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":112759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:28:16] local.INFO: GPS data processed {"connection_id":112759,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:28:16] local.INFO: Acknowledgment sent {"connection_id":112759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:28:20] local.INFO: TCP Data received {"connection_id":112759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef456ecf0012d7b2a4005e280f8000000bc24..."} 
[2026-06-23 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef456ecf0012d7b2a4005e280f8000000bc24..."} 
[2026-06-23 17:28:20] local.INFO: Processing buffer {"connection_id":112759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef456ecf0012d7b2a4005e280f8000000bc24..."} 
[2026-06-23 17:28:20] local.INFO: Packet analysis {"connection_id":112759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:28:20] local.INFO: Extracted packet for processing {"connection_id":112759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef456"} 
[2026-06-23 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763046464,"raw_latitude":98730232,"longitude_deg":76.3046464,"latitude_deg":9.8730232,"altitude":0,"angle":188,"satellites":36,"speed":4,"hex_longitude":"2d7b2a40","hex_latitude":"05e280f8","is_valid_coordinates":true} 
[2026-06-23 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247240960001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96430914967437312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874976409706444800,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782215798000,"timestamp_ms":1782215798000,"timestamp_seconds":1782215798,"priority":1,"record_length":96,"hex_timestamp":"0000019ef456ecf0"} 
[2026-06-23 17:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247240960001,"66":12917,"96":206,"85":15104,"24":4,"16":96430914967437312,"45":8874976409706444800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247240960001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:28:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96430914967437312,"km_value":96430914967437.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874976409706444800,"description":"Unknown IO ID 45"} 
[2026-06-23 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247240960001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8874976409706444800}} 
[2026-06-23 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":112759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:28:20] local.INFO: GPS data processed {"connection_id":112759,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:28:20] local.INFO: Acknowledgment sent {"connection_id":112759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:28:23] local.INFO: TCP Data received {"connection_id":111824,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:28:23] local.INFO: Processing buffer {"connection_id":111824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:28:23] local.INFO: IMEI packet received {"connection_id":111824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":111824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:28:29] local.INFO: TCP Data received {"connection_id":111824,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:28:29] local.INFO: Processing buffer {"connection_id":111824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:28:29] local.INFO: IMEI packet received {"connection_id":111824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":111824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:28:31] local.INFO: TCP Data received {"connection_id":111824,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:28:31] local.INFO: Processing buffer {"connection_id":111824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef453b8a0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:28:31] local.INFO: Packet analysis {"connection_id":111824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:28:31] local.INFO: Extracted packet for processing {"connection_id":111824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef453"} 
[2026-06-23 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247113472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782215588000,"timestamp_ms":1782215588000,"timestamp_seconds":1782215588,"priority":1,"record_length":96,"hex_timestamp":"0000019ef453b8a0"} 
[2026-06-23 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-06-23 17:28:31] 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-06-23 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-23 17:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247113472001,"66":25734,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247113472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:28:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247113472001,"power":25734,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":111824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:28:31] local.INFO: GPS data processed {"connection_id":111824,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:28:31] local.INFO: Acknowledgment sent {"connection_id":111824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:28:52] local.INFO: TCP Data received {"connection_id":112759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef458aa40012d7b304005e25f70000200b228..."} 
[2026-06-23 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef458aa40012d7b304005e25f70000200b228..."} 
[2026-06-23 17:28:52] local.INFO: Processing buffer {"connection_id":112759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef458aa40012d7b304005e25f70000200b228..."} 
[2026-06-23 17:28:52] local.INFO: Packet analysis {"connection_id":112759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:28:52] local.INFO: Extracted packet for processing {"connection_id":112759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:28:52] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98721648,"longitude_deg":76.3048,"latitude_deg":9.8721648,"altitude":2,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d7b3040","hex_latitude":"05e25f70","is_valid_coordinates":true} 
[2026-06-23 17:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247273216001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431378823905280,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259564171264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782215912000,"timestamp_ms":1782215912000,"timestamp_seconds":1782215912,"priority":1,"record_length":96,"hex_timestamp":"0000019ef458aa40"} 
[2026-06-23 17:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:28: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-06-23 17:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:28:52] 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-06-23 17:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247273216001,"66":13015,"96":206,"85":15104,"24":0,"16":96431378823905280,"45":8876665259564171264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247273216001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:28:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431378823905280,"km_value":96431378823905.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259564171264,"description":"Unknown IO ID 45"} 
[2026-06-23 17:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247273216001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8876665259564171264}} 
[2026-06-23 17:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":112759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:28:52] local.INFO: GPS data processed {"connection_id":112759,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:28:52] local.INFO: Acknowledgment sent {"connection_id":112759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:29:02] local.INFO: TCP Data received {"connection_id":111824,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:02] local.INFO: Processing buffer {"connection_id":111824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:02] local.INFO: Packet analysis {"connection_id":111824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:02] local.INFO: Extracted packet for processing {"connection_id":111824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 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-06-23 17:29:02] 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-06-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":111824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:29:02] local.INFO: GPS data processed {"connection_id":111824,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:29:02] local.INFO: Acknowledgment sent {"connection_id":111824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:29:10] local.INFO: TCP Data received {"connection_id":112761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:29:10] local.INFO: Processing buffer {"connection_id":112761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:29:10] local.INFO: IMEI packet received {"connection_id":112761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":112761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:29:15] local.INFO: TCP Data received {"connection_id":112761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:29:15] local.INFO: Processing buffer {"connection_id":112761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:29:15] local.INFO: IMEI packet received {"connection_id":112761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":112761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:29:16] local.INFO: TCP Data received {"connection_id":112761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef458ae28012d7b308005e25f380002009b27..."} 
[2026-06-23 17:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef458ae28012d7b308005e25f380002009b27..."} 
[2026-06-23 17:29:16] local.INFO: Processing buffer {"connection_id":112761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef458ae28012d7b308005e25f380002009b27..."} 
[2026-06-23 17:29:16] local.INFO: Packet analysis {"connection_id":112761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:16] local.INFO: Extracted packet for processing {"connection_id":112761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:16] local.INFO: GPS Element Parsed {"raw_longitude":763048064,"raw_latitude":98721592,"longitude_deg":76.3048064,"latitude_deg":9.8721592,"altitude":2,"angle":155,"satellites":39,"speed":0,"hex_longitude":"2d7b3080","hex_latitude":"05e25f38","is_valid_coordinates":true} 
[2026-06-23 17:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247273472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431383118872576,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259564167168,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215913000,"timestamp_ms":1782215913000,"timestamp_seconds":1782215913,"priority":1,"record_length":96,"hex_timestamp":"0000019ef458ae28"} 
[2026-06-23 17:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:29: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-06-23 17:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247273472001,"66":12765,"96":206,"85":15104,"24":0,"16":96431383118872576,"45":8876665259564167168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247273472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:29:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:29:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431383118872576,"km_value":96431383118872.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259564167168,"description":"Unknown IO ID 45"} 
[2026-06-23 17:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247273472001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8876665259564167168}} 
[2026-06-23 17:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":112761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:29:16] local.INFO: GPS data processed {"connection_id":112761,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:29:16] local.INFO: Acknowledgment sent {"connection_id":112761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:29:29] local.INFO: TCP Data received {"connection_id":111203,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:29:29] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:29:29] local.INFO: IMEI packet received {"connection_id":111203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":111203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:29:34] local.INFO: TCP Data received {"connection_id":111203,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:29:34] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:29:34] local.INFO: IMEI packet received {"connection_id":111203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":111203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:29:36] local.INFO: TCP Data received {"connection_id":111203,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:36] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:36] local.INFO: Packet analysis {"connection_id":111203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:36] local.INFO: Extracted packet for processing {"connection_id":111203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:36] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:29: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-06-23 17:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:29:36] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":111203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:29:36] local.INFO: GPS data processed {"connection_id":111203,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:29:36] local.INFO: Acknowledgment sent {"connection_id":111203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:29:39] local.INFO: TCP Data received {"connection_id":111203,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:39] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:29:39] local.INFO: Packet analysis {"connection_id":111203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:39] local.INFO: Extracted packet for processing {"connection_id":111203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:29:39] 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-06-23 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":111203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:29:39] local.INFO: GPS data processed {"connection_id":111203,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:29:39] local.INFO: Acknowledgment sent {"connection_id":111203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:29:47] local.INFO: TCP Data received {"connection_id":112761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef458bdc8012d7b310005e25db0000300a62a..."} 
[2026-06-23 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef458bdc8012d7b310005e25db0000300a62a..."} 
[2026-06-23 17:29:47] local.INFO: Processing buffer {"connection_id":112761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef458bdc8012d7b310005e25db0000300a62a..."} 
[2026-06-23 17:29:47] local.INFO: Packet analysis {"connection_id":112761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:47] local.INFO: Extracted packet for processing {"connection_id":112761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763048192,"raw_latitude":98721200,"longitude_deg":76.3048192,"latitude_deg":9.87212,"altitude":3,"angle":166,"satellites":42,"speed":3,"hex_longitude":"2d7b3100","hex_latitude":"05e25db0","is_valid_coordinates":true} 
[2026-06-23 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247273728001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431404593709056,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628308330496,"note":"Value kept but may cause issues"} 
[2026-06-23 17:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782215917000,"timestamp_ms":1782215917000,"timestamp_seconds":1782215917,"priority":1,"record_length":96,"hex_timestamp":"0000019ef458bdc8"} 
[2026-06-23 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:29: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-06-23 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:29: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-06-23 17:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247273728001,"66":12515,"96":206,"85":15104,"24":3,"16":96431404593709056,"45":8876735628308330496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247273728001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:29:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431404593709056,"km_value":96431404593709.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628308330496,"description":"Unknown IO ID 45"} 
[2026-06-23 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247273728001,"power":12515,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8876735628308330496}} 
[2026-06-23 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":112761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:29:47] local.INFO: GPS data processed {"connection_id":112761,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:29:47] local.INFO: Acknowledgment sent {"connection_id":112761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:30:10] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:30:10] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:30:10] local.INFO: IMEI packet received {"connection_id":111025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":111025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:30:15] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:30:15] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:30:15] local.INFO: IMEI packet received {"connection_id":111025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":111025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:30:16] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef459ded8012d7b318005e24f90000200ae25..."} 
[2026-06-23 17:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef459ded8012d7b318005e24f90000200ae25..."} 
[2026-06-23 17:30:16] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef459ded8012d7b318005e24f90000200ae25..."} 
[2026-06-23 17:30:16] local.INFO: Packet analysis {"connection_id":111025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef459"} 
[2026-06-23 17:30:16] local.INFO: Extracted packet for processing {"connection_id":111025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef459"} 
[2026-06-23 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":763048320,"raw_latitude":98717584,"longitude_deg":76.304832,"latitude_deg":9.8717584,"altitude":2,"angle":174,"satellites":37,"speed":5,"hex_longitude":"2d7b3180","hex_latitude":"05e24f90","is_valid_coordinates":true} 
[2026-06-23 17:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247293440001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431602162204672,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877017103284054016,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782215991000,"timestamp_ms":1782215991000,"timestamp_seconds":1782215991,"priority":1,"record_length":96,"hex_timestamp":"0000019ef459ded8"} 
[2026-06-23 17:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 17:30:16] 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-06-23 17:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247293440001,"66":12961,"96":206,"85":15104,"24":5,"16":96431602162204672,"45":8877017103284054016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247293440001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:30:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431602162204672,"km_value":96431602162204.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877017103284054016,"description":"Unknown IO ID 45"} 
[2026-06-23 17:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247293440001,"power":12961,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877017103284054016}} 
[2026-06-23 17:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":111025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:30:16] local.INFO: GPS data processed {"connection_id":111025,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:30:16] local.INFO: Acknowledgment sent {"connection_id":111025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:30:26] local.INFO: TCP Data received {"connection_id":111825,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:30:26] local.INFO: Processing buffer {"connection_id":111825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:30:26] local.INFO: IMEI packet received {"connection_id":111825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":111825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:30:26] local.INFO: TCP Data received {"connection_id":111024,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:30:26] local.INFO: Processing buffer {"connection_id":111024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:30:26] local.INFO: IMEI packet received {"connection_id":111024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":111024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:30:28] local.INFO: TCP Data received {"connection_id":111825,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:30:28] local.INFO: Processing buffer {"connection_id":111825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:30:28] local.INFO: IMEI packet received {"connection_id":111825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":111825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:30:29] local.INFO: TCP Data received {"connection_id":111825,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:30:29] local.INFO: Processing buffer {"connection_id":111825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:30:29] local.INFO: Packet analysis {"connection_id":111825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:30:29] local.INFO: Extracted packet for processing {"connection_id":111825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:30:29] 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-06-23 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:30:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":111825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:30:29] local.INFO: GPS data processed {"connection_id":111825,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:30:29] local.INFO: Acknowledgment sent {"connection_id":111825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:30:34] local.INFO: TCP Data received {"connection_id":111825,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:30:34] local.INFO: Processing buffer {"connection_id":111825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:30:34] local.INFO: Packet analysis {"connection_id":111825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:30:34] local.INFO: Extracted packet for processing {"connection_id":111825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:30:34] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 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-06-23 17:30:34] 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-06-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:30:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":111825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:30:34] local.INFO: GPS data processed {"connection_id":111825,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:30:34] local.INFO: Acknowledgment sent {"connection_id":111825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:30:47] local.INFO: TCP Data received {"connection_id":111025,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef459e6a8012d7b31c005e24df8000200a027..."} 
[2026-06-23 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef459e6a8012d7b31c005e24df8000200a027..."} 
[2026-06-23 17:30:47] local.INFO: Processing buffer {"connection_id":111025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef459e6a8012d7b31c005e24df8000200a027..."} 
[2026-06-23 17:30:47] local.INFO: Packet analysis {"connection_id":111025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef459"} 
[2026-06-23 17:30:47] local.INFO: Extracted packet for processing {"connection_id":111025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef459"} 
[2026-06-23 17:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763048384,"raw_latitude":98717176,"longitude_deg":76.3048384,"latitude_deg":9.8717176,"altitude":2,"angle":160,"satellites":39,"speed":9,"hex_longitude":"2d7b31c0","hex_latitude":"05e24df8","is_valid_coordinates":true} 
[2026-06-23 17:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247293696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431619342073856,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877017103284015104,"note":"Value kept but may cause issues"} 
[2026-06-23 17:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782215993000,"timestamp_ms":1782215993000,"timestamp_seconds":1782215993,"priority":1,"record_length":96,"hex_timestamp":"0000019ef459e6a8"} 
[2026-06-23 17:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 17:30:47] 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-06-23 17:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247293696001,"66":12906,"96":206,"85":15104,"24":9,"16":96431619342073856,"45":8877017103284015104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247293696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:30:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431619342073856,"km_value":96431619342073.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877017103284015104,"description":"Unknown IO ID 45"} 
[2026-06-23 17:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247293696001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8877017103284015104}} 
[2026-06-23 17:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":111025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:30:47] local.INFO: GPS data processed {"connection_id":111025,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:30:47] local.INFO: Acknowledgment sent {"connection_id":111025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:31:07] local.INFO: TCP Data received {"connection_id":111825,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:31:07] local.INFO: Processing buffer {"connection_id":111825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:31:07] local.INFO: Packet analysis {"connection_id":111825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:31:07] local.INFO: Extracted packet for processing {"connection_id":111825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:31:07] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:31: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-06-23 17:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:31:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":111825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:31:07] local.INFO: GPS data processed {"connection_id":111825,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:31:07] local.INFO: Acknowledgment sent {"connection_id":111825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:31:11] local.INFO: TCP Data received {"connection_id":111026,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:31:11] local.INFO: Processing buffer {"connection_id":111026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:31:11] local.INFO: IMEI packet received {"connection_id":111026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":111026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:31:12] local.INFO: TCP Data received {"connection_id":111826,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:12] local.INFO: Processing buffer {"connection_id":111826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:12] local.INFO: IMEI packet received {"connection_id":111826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":111826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:31:15] local.INFO: TCP Data received {"connection_id":111826,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:15] local.INFO: Processing buffer {"connection_id":111826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:15] local.INFO: IMEI packet received {"connection_id":111826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":111826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:31:20] local.INFO: TCP Data received {"connection_id":111826,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:20] local.INFO: Processing buffer {"connection_id":111826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:31:20] local.INFO: IMEI packet received {"connection_id":111826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":111826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:31:21] local.INFO: TCP Data received {"connection_id":111826,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef459f648012d7b32c005e24aa0000100b129..."} 
[2026-06-23 17:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef459f648012d7b32c005e24aa0000100b129..."} 
[2026-06-23 17:31:21] local.INFO: Processing buffer {"connection_id":111826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef459f648012d7b32c005e24aa0000100b129..."} 
[2026-06-23 17:31:21] local.INFO: Packet analysis {"connection_id":111826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef459"} 
[2026-06-23 17:31:21] local.INFO: Extracted packet for processing {"connection_id":111826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef459"} 
[2026-06-23 17:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763048640,"raw_latitude":98716320,"longitude_deg":76.304864,"latitude_deg":9.871632,"altitude":1,"angle":177,"satellites":41,"speed":7,"hex_longitude":"2d7b32c0","hex_latitude":"05e24aa0","is_valid_coordinates":true} 
[2026-06-23 17:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247294208001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431662291746816,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877087472028088320,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782215997000,"timestamp_ms":1782215997000,"timestamp_seconds":1782215997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef459f648"} 
[2026-06-23 17:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 17:31:21] 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-06-23 17:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247294208001,"66":12885,"96":206,"85":15104,"24":7,"16":96431662291746816,"45":8877087472028088320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247294208001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:31:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431662291746816,"km_value":96431662291746.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877087472028088320,"description":"Unknown IO ID 45"} 
[2026-06-23 17:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247294208001,"power":12885,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8877087472028088320}} 
[2026-06-23 17:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":111826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:31:21] local.INFO: GPS data processed {"connection_id":111826,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:31:21] local.INFO: Acknowledgment sent {"connection_id":111826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:31:22] local.INFO: TCP Data received {"connection_id":111826,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45a3c98012d7b344005e24028000000a527..."} 
[2026-06-23 17:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45a3c98012d7b344005e24028000000a527..."} 
[2026-06-23 17:31:22] local.INFO: Processing buffer {"connection_id":111826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45a3c98012d7b344005e24028000000a527..."} 
[2026-06-23 17:31:22] local.INFO: Packet analysis {"connection_id":111826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45a"} 
[2026-06-23 17:31:22] local.INFO: Extracted packet for processing {"connection_id":111826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45a"} 
[2026-06-23 17:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98713640,"longitude_deg":76.3049024,"latitude_deg":9.871364,"altitude":0,"angle":165,"satellites":39,"speed":3,"hex_longitude":"2d7b3440","hex_latitude":"05e24028","is_valid_coordinates":true} 
[2026-06-23 17:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247295232001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431799730700288,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877368947004579840,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782216015000,"timestamp_ms":1782216015000,"timestamp_seconds":1782216015,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45a3c98"} 
[2026-06-23 17:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 17:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247295232001,"66":12765,"96":206,"85":15104,"24":3,"16":96431799730700288,"45":8877368947004579840},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247295232001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:31:22] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431799730700288,"km_value":96431799730700.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877368947004579840,"description":"Unknown IO ID 45"} 
[2026-06-23 17:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247295232001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8877368947004579840}} 
[2026-06-23 17:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":111826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:31:22] local.INFO: GPS data processed {"connection_id":111826,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:31:22] local.INFO: Acknowledgment sent {"connection_id":111826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:31:23] local.INFO: TCP Data received {"connection_id":112762,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:31:23] local.INFO: Processing buffer {"connection_id":112762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:31:23] local.INFO: IMEI packet received {"connection_id":112762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":112762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:31:29] local.INFO: TCP Data received {"connection_id":112762,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:31:29] local.INFO: Processing buffer {"connection_id":112762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:31:29] local.INFO: IMEI packet received {"connection_id":112762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":112762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:31:30] local.INFO: TCP Data received {"connection_id":112762,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:31:30] local.INFO: Processing buffer {"connection_id":112762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:31:30] local.INFO: Packet analysis {"connection_id":112762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:31:30] local.INFO: Extracted packet for processing {"connection_id":112762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:31:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:31:30] 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-06-23 17:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":112762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:31:30] local.INFO: GPS data processed {"connection_id":112762,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:31:30] local.INFO: Acknowledgment sent {"connection_id":112762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:31:53] local.INFO: TCP Data received {"connection_id":111826,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45a4850012d7b348005e23f600000009925..."} 
[2026-06-23 17:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45a4850012d7b348005e23f600000009925..."} 
[2026-06-23 17:31:53] local.INFO: Processing buffer {"connection_id":111826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45a4850012d7b348005e23f600000009925..."} 
[2026-06-23 17:31:53] local.INFO: Packet analysis {"connection_id":111826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45a"} 
[2026-06-23 17:31:53] local.INFO: Extracted packet for processing {"connection_id":111826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45a"} 
[2026-06-23 17:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763049088,"raw_latitude":98713440,"longitude_deg":76.3049088,"latitude_deg":9.871344,"altitude":0,"angle":153,"satellites":37,"speed":2,"hex_longitude":"2d7b3480","hex_latitude":"05e23f60","is_valid_coordinates":true} 
[2026-06-23 17:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247299840001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431808320634880,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159468959744,"note":"Value kept but may cause issues"} 
[2026-06-23 17:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782216018000,"timestamp_ms":1782216018000,"timestamp_seconds":1782216018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45a4850"} 
[2026-06-23 17:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:31:53] 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-06-23 17:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247299840001,"66":12798,"96":206,"85":15104,"24":2,"16":96431808320634880,"45":8877791159468959744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247299840001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:31:53] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431808320634880,"km_value":96431808320634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159468959744,"description":"Unknown IO ID 45"} 
[2026-06-23 17:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247299840001,"power":12798,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8877791159468959744}} 
[2026-06-23 17:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":111826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:31:53] local.INFO: GPS data processed {"connection_id":111826,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:31:53] local.INFO: Acknowledgment sent {"connection_id":111826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:32:01] local.INFO: TCP Data received {"connection_id":112762,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:32:01] local.INFO: Processing buffer {"connection_id":112762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:32:01] local.INFO: Packet analysis {"connection_id":112762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:32:01] local.INFO: Extracted packet for processing {"connection_id":112762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:32:01] 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-06-23 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:32:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:32:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":112762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:32:01] local.INFO: GPS data processed {"connection_id":112762,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:32:01] local.INFO: Acknowledgment sent {"connection_id":112762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:32:10] local.INFO: TCP Data received {"connection_id":111828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:32:10] local.INFO: Processing buffer {"connection_id":111828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:32:10] local.INFO: IMEI packet received {"connection_id":111828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":111828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:32:15] local.INFO: TCP Data received {"connection_id":111828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:32:15] local.INFO: Processing buffer {"connection_id":111828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:32:15] local.INFO: IMEI packet received {"connection_id":111828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":111828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:32:16] local.INFO: TCP Data received {"connection_id":111828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45a5020012d7b348005e23f00000000a524..."} 
[2026-06-23 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45a5020012d7b348005e23f00000000a524..."} 
[2026-06-23 17:32:16] local.INFO: Processing buffer {"connection_id":111828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45a5020012d7b348005e23f00000000a524..."} 
[2026-06-23 17:32:16] local.INFO: Packet analysis {"connection_id":111828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45a"} 
[2026-06-23 17:32:16] local.INFO: Extracted packet for processing {"connection_id":111828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45a"} 
[2026-06-23 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763049088,"raw_latitude":98713344,"longitude_deg":76.3049088,"latitude_deg":9.8713344,"altitude":0,"angle":165,"satellites":36,"speed":1,"hex_longitude":"2d7b3480","hex_latitude":"05e23f00","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247300608001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96431812615602176,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877861528213086208,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216020000,"timestamp_ms":1782216020000,"timestamp_seconds":1782216020,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45a5020"} 
[2026-06-23 17:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 17:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247300608001,"66":12917,"96":206,"85":15104,"24":1,"16":96431812615602176,"45":8877861528213086208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247300608001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:32:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96431812615602176,"km_value":96431812615602.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877861528213086208,"description":"Unknown IO ID 45"} 
[2026-06-23 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247300608001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8877861528213086208}} 
[2026-06-23 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":111828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:32:16] local.INFO: GPS data processed {"connection_id":111828,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:32:16] local.INFO: Acknowledgment sent {"connection_id":111828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:32:23] local.INFO: TCP Data received {"connection_id":111027,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:32:23] local.INFO: Processing buffer {"connection_id":111027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:32:23] local.INFO: IMEI packet received {"connection_id":111027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":111027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:32:29] local.INFO: TCP Data received {"connection_id":111027,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:32:29] local.INFO: Processing buffer {"connection_id":111027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:32:29] local.INFO: IMEI packet received {"connection_id":111027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":111027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:32:30] local.INFO: TCP Data received {"connection_id":111027,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:32:30] local.INFO: Processing buffer {"connection_id":111027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:32:30] local.INFO: Packet analysis {"connection_id":111027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:32:30] local.INFO: Extracted packet for processing {"connection_id":111027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:32:30] 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-06-23 17:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:32:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":111027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:32:30] local.INFO: GPS data processed {"connection_id":111027,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:32:30] local.INFO: Acknowledgment sent {"connection_id":111027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:32:47] local.INFO: TCP Data received {"connection_id":111828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45c28c8012d7b350005e22bb8000000ba2d..."} 
[2026-06-23 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45c28c8012d7b350005e22bb8000000ba2d..."} 
[2026-06-23 17:32:47] local.INFO: Processing buffer {"connection_id":111828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45c28c8012d7b350005e22bb8000000ba2d..."} 
[2026-06-23 17:32:47] local.INFO: Packet analysis {"connection_id":111828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:32:47] local.INFO: Extracted packet for processing {"connection_id":111828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98708408,"longitude_deg":76.3049216,"latitude_deg":9.8708408,"altitude":0,"angle":186,"satellites":45,"speed":4,"hex_longitude":"2d7b3500","hex_latitude":"05e22bb8","is_valid_coordinates":true} 
[2026-06-23 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247330816001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432070313639936,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877931896956104704,"note":"Value kept but may cause issues"} 
[2026-06-23 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782216141000,"timestamp_ms":1782216141000,"timestamp_seconds":1782216141,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45c28c8"} 
[2026-06-23 17:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247330816001,"66":13015,"96":206,"85":15104,"24":4,"16":96432070313639936,"45":8877931896956104704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247330816001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:32:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432070313639936,"km_value":96432070313639.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877931896956104704,"description":"Unknown IO ID 45"} 
[2026-06-23 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247330816001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8877931896956104704}} 
[2026-06-23 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":111828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:32:47] local.INFO: GPS data processed {"connection_id":111828,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:32:47] local.INFO: Acknowledgment sent {"connection_id":111828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:33:02] local.INFO: TCP Data received {"connection_id":111027,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:33:02] local.INFO: Processing buffer {"connection_id":111027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:33:02] local.INFO: Packet analysis {"connection_id":111027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:33:02] local.INFO: Extracted packet for processing {"connection_id":111027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 17:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:33:02] 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-06-23 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:33:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:33:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":111027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:33:02] local.INFO: GPS data processed {"connection_id":111027,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:33:02] local.INFO: Acknowledgment sent {"connection_id":111027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:33:10] local.INFO: TCP Data received {"connection_id":112764,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:33:10] local.INFO: Processing buffer {"connection_id":112764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:33:10] local.INFO: IMEI packet received {"connection_id":112764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":112764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:33:12] local.INFO: TCP Data received {"connection_id":112764,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:33:12] local.INFO: Processing buffer {"connection_id":112764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:33:12] local.INFO: IMEI packet received {"connection_id":112764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":112764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:33:13] local.INFO: TCP Data received {"connection_id":112764,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45c3480012d7b350005e229f8000000ac2c..."} 
[2026-06-23 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45c3480012d7b350005e229f8000000ac2c..."} 
[2026-06-23 17:33:13] local.INFO: Processing buffer {"connection_id":112764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45c3480012d7b350005e229f8000000ac2c..."} 
[2026-06-23 17:33:13] local.INFO: Packet analysis {"connection_id":112764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:33:13] local.INFO: Extracted packet for processing {"connection_id":112764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763049216,"raw_latitude":98707960,"longitude_deg":76.3049216,"latitude_deg":9.870796,"altitude":0,"angle":172,"satellites":44,"speed":6,"hex_longitude":"2d7b3500","hex_latitude":"05e229f8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247332096001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432096083443712,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002265700153344,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782216144000,"timestamp_ms":1782216144000,"timestamp_seconds":1782216144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45c3480"} 
[2026-06-23 17:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:33:13] 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-06-23 17: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-06-23 17:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247332096001,"66":13015,"96":206,"85":15104,"24":6,"16":96432096083443712,"45":8878002265700153344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247332096001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:33:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432096083443712,"km_value":96432096083443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002265700153344,"description":"Unknown IO ID 45"} 
[2026-06-23 17:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247332096001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8878002265700153344}} 
[2026-06-23 17:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":112764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:33:13] local.INFO: GPS data processed {"connection_id":112764,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:33:13] local.INFO: Acknowledgment sent {"connection_id":112764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:33:23] local.INFO: TCP Data received {"connection_id":112765,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:33:23] local.INFO: Processing buffer {"connection_id":112765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:33:23] local.INFO: IMEI packet received {"connection_id":112765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":112765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:33:29] local.INFO: TCP Data received {"connection_id":112765,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:33:29] local.INFO: Processing buffer {"connection_id":112765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:33:29] local.INFO: IMEI packet received {"connection_id":112765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":112765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:33:30] local.INFO: TCP Data received {"connection_id":112765,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:33:30] local.INFO: Processing buffer {"connection_id":112765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4585068012cb29bc007822610004d00c331..."} 
[2026-06-23 17:33:30] local.INFO: Packet analysis {"connection_id":112765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:33:30] local.INFO: Extracted packet for processing {"connection_id":112765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef458"} 
[2026-06-23 17:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247190528001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782215889000,"timestamp_ms":1782215889000,"timestamp_seconds":1782215889,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4585068"} 
[2026-06-23 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-06-23 17:33:30] 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-06-23 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 17:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247190528001,"66":25625,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247190528001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:33:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247190528001,"power":25625,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":112765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:33:30] local.INFO: GPS data processed {"connection_id":112765,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:33:30] local.INFO: Acknowledgment sent {"connection_id":112765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:33:44] local.INFO: TCP Data received {"connection_id":112764,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45c82a0012d7b368005e21e38000000b22f..."} 
[2026-06-23 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45c82a0012d7b368005e21e38000000b22f..."} 
[2026-06-23 17:33:44] local.INFO: Processing buffer {"connection_id":112764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45c82a0012d7b368005e21e38000000b22f..."} 
[2026-06-23 17:33:44] local.INFO: Packet analysis {"connection_id":112764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:33:44] local.INFO: Extracted packet for processing {"connection_id":112764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98704952,"longitude_deg":76.30496,"latitude_deg":9.8704952,"altitude":0,"angle":178,"satellites":47,"speed":2,"hex_longitude":"2d7b3680","hex_latitude":"05e21e38","is_valid_coordinates":true} 
[2026-06-23 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247332864001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432246407299072,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878002265700038656,"note":"Value kept but may cause issues"} 
[2026-06-23 17:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782216164000,"timestamp_ms":1782216164000,"timestamp_seconds":1782216164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45c82a0"} 
[2026-06-23 17:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:33:44] 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-06-23 17:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":112764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":112764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":112764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247332864001,"66":12461,"96":206,"85":15104,"24":2,"16":96432246407299072,"45":8878002265700038656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247332864001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:33:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432246407299072,"km_value":96432246407299.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878002265700038656,"description":"Unknown IO ID 45"} 
[2026-06-23 17:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247332864001,"power":12461,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8878002265700038656}} 
[2026-06-23 17:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":112764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:33:44] local.INFO: GPS data processed {"connection_id":112764,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:33:44] local.INFO: Acknowledgment sent {"connection_id":112764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:34:01] local.INFO: TCP Data received {"connection_id":112765,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:34:01] local.INFO: Processing buffer {"connection_id":112765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:34:01] local.INFO: Packet analysis {"connection_id":112765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:01] local.INFO: Extracted packet for processing {"connection_id":112765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:34:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:34:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":112765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:34:01] local.INFO: GPS data processed {"connection_id":112765,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:34:01] local.INFO: Acknowledgment sent {"connection_id":112765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:34:10] local.INFO: TCP Data received {"connection_id":112766,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:34:10] local.INFO: Processing buffer {"connection_id":112766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:34:10] local.INFO: IMEI packet received {"connection_id":112766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":112766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:34:15] local.INFO: TCP Data received {"connection_id":112766,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:34:15] local.INFO: Processing buffer {"connection_id":112766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:34:15] local.INFO: IMEI packet received {"connection_id":112766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":112766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:34:16] local.INFO: TCP Data received {"connection_id":112766,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45cd4a8012d7b368005e219b0000100ac2f..."} 
[2026-06-23 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45cd4a8012d7b368005e219b0000100ac2f..."} 
[2026-06-23 17:34:16] local.INFO: Processing buffer {"connection_id":112766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45cd4a8012d7b368005e219b0000100ac2f..."} 
[2026-06-23 17:34:16] local.INFO: Packet analysis {"connection_id":112766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:16] local.INFO: Extracted packet for processing {"connection_id":112766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98703792,"longitude_deg":76.30496,"latitude_deg":9.8703792,"altitude":1,"angle":172,"satellites":47,"speed":2,"hex_longitude":"2d7b3680","hex_latitude":"05e219b0","is_valid_coordinates":true} 
[2026-06-23 17:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247337984001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432306536841216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478164334592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216185000,"timestamp_ms":1782216185000,"timestamp_seconds":1782216185,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45cd4a8"} 
[2026-06-23 17:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247337984001,"66":12939,"96":206,"85":15104,"24":2,"16":96432306536841216,"45":8878424478164334592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247337984001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:34:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432306536841216,"km_value":96432306536841.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478164334592,"description":"Unknown IO ID 45"} 
[2026-06-23 17:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247337984001,"power":12939,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8878424478164334592}} 
[2026-06-23 17:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":112766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:34:16] local.INFO: GPS data processed {"connection_id":112766,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:34:16] local.INFO: Acknowledgment sent {"connection_id":112766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:34:23] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:34:23] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:34:23] local.INFO: IMEI packet received {"connection_id":111204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":111204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:34:29] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:34:29] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:34:29] local.INFO: IMEI packet received {"connection_id":111204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":111204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:34:30] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:34:30] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:34:30] local.INFO: Packet analysis {"connection_id":111204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:30] local.INFO: Extracted packet for processing {"connection_id":111204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:34:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":111204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:34:30] local.INFO: GPS data processed {"connection_id":111204,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:34:30] local.INFO: Acknowledgment sent {"connection_id":111204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:34:47] local.INFO: TCP Data received {"connection_id":112766,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45cec18012d7b368005e217c0000100b72f..."} 
[2026-06-23 17:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45cec18012d7b368005e217c0000100b72f..."} 
[2026-06-23 17:34:47] local.INFO: Processing buffer {"connection_id":112766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45cec18012d7b368005e217c0000100b72f..."} 
[2026-06-23 17:34:47] local.INFO: Packet analysis {"connection_id":112766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:47] local.INFO: Extracted packet for processing {"connection_id":112766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98703296,"longitude_deg":76.30496,"latitude_deg":9.8703296,"altitude":1,"angle":183,"satellites":47,"speed":4,"hex_longitude":"2d7b3680","hex_latitude":"05e217c0","is_valid_coordinates":true} 
[2026-06-23 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247343360001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432332306644992,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478164037632,"note":"Value kept but may cause issues"} 
[2026-06-23 17:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782216191000,"timestamp_ms":1782216191000,"timestamp_seconds":1782216191,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45cec18"} 
[2026-06-23 17:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 17:34:47] 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-06-23 17:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247343360001,"66":12917,"96":206,"85":15104,"24":4,"16":96432332306644992,"45":8878424478164037632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247343360001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:34:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432332306644992,"km_value":96432332306644.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478164037632,"description":"Unknown IO ID 45"} 
[2026-06-23 17:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247343360001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8878424478164037632}} 
[2026-06-23 17:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":112766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:34:47] local.INFO: GPS data processed {"connection_id":112766,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:34:47] local.INFO: Acknowledgment sent {"connection_id":112766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:35:01] local.INFO: TCP Data received {"connection_id":111204,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:35:01] local.INFO: Processing buffer {"connection_id":111204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:35:01] local.INFO: Packet analysis {"connection_id":111204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:35:01] local.INFO: Extracted packet for processing {"connection_id":111204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:35:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:35:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":111204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:35:01] local.INFO: GPS data processed {"connection_id":111204,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:35:01] local.INFO: Acknowledgment sent {"connection_id":111204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:35:10] local.INFO: TCP Data received {"connection_id":111028,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:35:10] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:35:10] local.INFO: IMEI packet received {"connection_id":111028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":111028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:35:15] local.INFO: TCP Data received {"connection_id":111028,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:35:15] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:35:15] local.INFO: IMEI packet received {"connection_id":111028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":111028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:35:16] local.INFO: TCP Data received {"connection_id":111028,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45d26b0012d7b37c005e21088000100a82e..."} 
[2026-06-23 17:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45d26b0012d7b37c005e21088000100a82e..."} 
[2026-06-23 17:35:16] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45d26b0012d7b37c005e21088000100a82e..."} 
[2026-06-23 17:35:16] local.INFO: Packet analysis {"connection_id":111028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45d"} 
[2026-06-23 17:35:16] local.INFO: Extracted packet for processing {"connection_id":111028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45d"} 
[2026-06-23 17:35:16] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":98701448,"longitude_deg":76.304992,"latitude_deg":9.8701448,"altitude":1,"angle":168,"satellites":46,"speed":5,"hex_longitude":"2d7b37c0","hex_latitude":"05e21088","is_valid_coordinates":true} 
[2026-06-23 17:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344896001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432426795925504,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478163910656,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216206000,"timestamp_ms":1782216206000,"timestamp_seconds":1782216206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45d26b0"} 
[2026-06-23 17:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 17:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344896001,"66":13048,"96":206,"85":15104,"24":5,"16":96432426795925504,"45":8878424478163910656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344896001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:35:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432426795925504,"km_value":96432426795925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478163910656,"description":"Unknown IO ID 45"} 
[2026-06-23 17:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344896001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8878424478163910656}} 
[2026-06-23 17:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":111028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:35:16] local.INFO: GPS data processed {"connection_id":111028,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:35:16] local.INFO: Acknowledgment sent {"connection_id":111028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:35:24] local.INFO: TCP Data received {"connection_id":111830,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:35:24] local.INFO: Processing buffer {"connection_id":111830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:35:24] local.INFO: IMEI packet received {"connection_id":111830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":111830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:35:29] local.INFO: TCP Data received {"connection_id":111830,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:35:29] local.INFO: Processing buffer {"connection_id":111830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:35:29] local.INFO: IMEI packet received {"connection_id":111830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":111830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:35:30] local.INFO: TCP Data received {"connection_id":111830,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:35:30] local.INFO: Processing buffer {"connection_id":111830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:35:30] local.INFO: Packet analysis {"connection_id":111830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:35:30] local.INFO: Extracted packet for processing {"connection_id":111830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":111830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:35:30] local.INFO: GPS data processed {"connection_id":111830,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:35:30] local.INFO: Acknowledgment sent {"connection_id":111830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:35:48] local.INFO: TCP Data received {"connection_id":111028,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45d2a98012d7b37c005e21010000100b42e..."} 
[2026-06-23 17:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45d2a98012d7b37c005e21010000100b42e..."} 
[2026-06-23 17:35:48] local.INFO: Processing buffer {"connection_id":111028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45d2a98012d7b37c005e21010000100b42e..."} 
[2026-06-23 17:35:48] local.INFO: Packet analysis {"connection_id":111028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45d"} 
[2026-06-23 17:35:48] local.INFO: Extracted packet for processing {"connection_id":111028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45d"} 
[2026-06-23 17:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":98701328,"longitude_deg":76.304992,"latitude_deg":9.8701328,"altitude":1,"angle":180,"satellites":46,"speed":4,"hex_longitude":"2d7b37c0","hex_latitude":"05e21010","is_valid_coordinates":true} 
[2026-06-23 17:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247348736001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432431090892800,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776321884325888,"note":"Value kept but may cause issues"} 
[2026-06-23 17:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782216207000,"timestamp_ms":1782216207000,"timestamp_seconds":1782216207,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45d2a98"} 
[2026-06-23 17:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 17:35:48] 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-06-23 17:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247348736001,"66":12765,"96":206,"85":15104,"24":4,"16":96432431090892800,"45":8878776321884325888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247348736001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:35:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:35:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432431090892800,"km_value":96432431090892.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776321884325888,"description":"Unknown IO ID 45"} 
[2026-06-23 17:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247348736001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8878776321884325888}} 
[2026-06-23 17:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":111028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:35:48] local.INFO: GPS data processed {"connection_id":111028,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:35:48] local.INFO: Acknowledgment sent {"connection_id":111028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:36:01] local.INFO: TCP Data received {"connection_id":111830,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:36:01] local.INFO: Processing buffer {"connection_id":111830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:36:01] local.INFO: Packet analysis {"connection_id":111830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:36:01] local.INFO: Extracted packet for processing {"connection_id":111830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:36:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:36:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":111830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:36:01] local.INFO: GPS data processed {"connection_id":111830,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:36:01] local.INFO: Acknowledgment sent {"connection_id":111830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:36:09] local.INFO: TCP Data received {"connection_id":112767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:09] local.INFO: Processing buffer {"connection_id":112767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:09] local.INFO: IMEI packet received {"connection_id":112767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":112767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:36:10] local.INFO: TCP Data received {"connection_id":112767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:10] local.INFO: Processing buffer {"connection_id":112767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:10] local.INFO: IMEI packet received {"connection_id":112767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":112767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:36:11] local.INFO: TCP Data received {"connection_id":112767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:11] local.INFO: Processing buffer {"connection_id":112767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:11] local.INFO: IMEI packet received {"connection_id":112767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":112767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:36:15] local.INFO: TCP Data received {"connection_id":112767,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:15] local.INFO: Processing buffer {"connection_id":112767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:36:15] local.INFO: IMEI packet received {"connection_id":112767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":112767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:36:16] local.INFO: TCP Data received {"connection_id":112767,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45d78b8012d7b394005e1fd60000300ae29..."} 
[2026-06-23 17:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45d78b8012d7b394005e1fd60000300ae29..."} 
[2026-06-23 17:36:16] local.INFO: Processing buffer {"connection_id":112767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45d78b8012d7b394005e1fd60000300ae29..."} 
[2026-06-23 17:36:16] local.INFO: Packet analysis {"connection_id":112767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45d"} 
[2026-06-23 17:36:16] local.INFO: Extracted packet for processing {"connection_id":112767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45d"} 
[2026-06-23 17:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763050304,"raw_latitude":98696544,"longitude_deg":76.3050304,"latitude_deg":9.8696544,"altitude":3,"angle":174,"satellites":41,"speed":8,"hex_longitude":"2d7b3940","hex_latitude":"05e1fd60","is_valid_coordinates":true} 
[2026-06-23 17:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247348992001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96432667314094080,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776321884295168,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216227000,"timestamp_ms":1782216227000,"timestamp_seconds":1782216227,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45d78b8"} 
[2026-06-23 17:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:36:16] 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-06-23 17:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:36:16] 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-06-23 17:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247348992001,"66":13015,"96":206,"85":15104,"24":8,"16":96432667314094080,"45":8878776321884295168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247348992001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:36:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96432667314094080,"km_value":96432667314094.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776321884295168,"description":"Unknown IO ID 45"} 
[2026-06-23 17:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247348992001,"power":13015,"unknown_96":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8878776321884295168}} 
[2026-06-23 17:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":112767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:36:16] local.INFO: GPS data processed {"connection_id":112767,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:36:16] local.INFO: Acknowledgment sent {"connection_id":112767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:36:23] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:36:23] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:36:23] local.INFO: IMEI packet received {"connection_id":111206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":111206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:36:29] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:36:29] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:36:29] local.INFO: IMEI packet received {"connection_id":111206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:36:30] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:36:30] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:36:30] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:36:30] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:36:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:36:30] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:36:30] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:36:41] local.INFO: TCP Data received {"connection_id":111029,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:36:41] local.INFO: Processing buffer {"connection_id":111029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:36:41] local.INFO: IMEI packet received {"connection_id":111029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":111029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:36:47] local.INFO: TCP Data received {"connection_id":112767,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45fda18012d7b3f4005e1da70000500da24..."} 
[2026-06-23 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45fda18012d7b3f4005e1da70000500da24..."} 
[2026-06-23 17:36:47] local.INFO: Processing buffer {"connection_id":112767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45fda18012d7b3f4005e1da70000500da24..."} 
[2026-06-23 17:36:47] local.INFO: Packet analysis {"connection_id":112767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45f"} 
[2026-06-23 17:36:47] local.INFO: Extracted packet for processing {"connection_id":112767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45f"} 
[2026-06-23 17:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98687600,"longitude_deg":76.305184,"latitude_deg":9.86876,"altitude":5,"angle":218,"satellites":36,"speed":1,"hex_longitude":"2d7b3f40","hex_latitude":"05e1da70","is_valid_coordinates":true} 
[2026-06-23 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247393792001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433161235333120,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752950296576,"note":"Value kept but may cause issues"} 
[2026-06-23 17:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782216383000,"timestamp_ms":1782216383000,"timestamp_seconds":1782216383,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45fda18"} 
[2026-06-23 17:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:36:47] 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-06-23 17:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:36:47] 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-06-23 17:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247393792001,"66":12841,"96":206,"85":15104,"24":1,"16":96433161235333120,"45":8880957752950296576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247393792001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:36:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433161235333120,"km_value":96433161235333.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752950296576,"description":"Unknown IO ID 45"} 
[2026-06-23 17:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247393792001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8880957752950296576}} 
[2026-06-23 17:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":112767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:36:47] local.INFO: GPS data processed {"connection_id":112767,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:36:47] local.INFO: Acknowledgment sent {"connection_id":112767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:37:01] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:37:01] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:37:01] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:37:01] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:37:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:37:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:37:01] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:37:01] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:37:06] local.INFO: TCP Data received {"connection_id":111831,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:37:06] local.INFO: Processing buffer {"connection_id":111831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:37:06] local.INFO: IMEI packet received {"connection_id":111831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":111831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:37:10] local.INFO: TCP Data received {"connection_id":111832,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:10] local.INFO: Processing buffer {"connection_id":111832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:10] local.INFO: IMEI packet received {"connection_id":111832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":111832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:37:12] local.INFO: TCP Data received {"connection_id":111832,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:12] local.INFO: Processing buffer {"connection_id":111832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:12] local.INFO: IMEI packet received {"connection_id":111832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":111832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:37:15] local.INFO: TCP Data received {"connection_id":111832,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:15] local.INFO: Processing buffer {"connection_id":111832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:37:15] local.INFO: IMEI packet received {"connection_id":111832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":111832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:37:16] local.INFO: TCP Data received {"connection_id":111832,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45fe5d0012d7b3f4005e1d9b0000500c624..."} 
[2026-06-23 17:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45fe5d0012d7b3f4005e1d9b0000500c624..."} 
[2026-06-23 17:37:16] local.INFO: Processing buffer {"connection_id":111832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45fe5d0012d7b3f4005e1d9b0000500c624..."} 
[2026-06-23 17:37:16] local.INFO: Packet analysis {"connection_id":111832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45f"} 
[2026-06-23 17:37:16] local.INFO: Extracted packet for processing {"connection_id":111832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45f"} 
[2026-06-23 17:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98687408,"longitude_deg":76.305184,"latitude_deg":9.8687408,"altitude":5,"angle":198,"satellites":36,"speed":2,"hex_longitude":"2d7b3f40","hex_latitude":"05e1d9b0","is_valid_coordinates":true} 
[2026-06-23 17:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247394048001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433174120235008,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384206110720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216386000,"timestamp_ms":1782216386000,"timestamp_seconds":1782216386,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45fe5d0"} 
[2026-06-23 17:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:37:16] 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-06-23 17:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 17:37:16] 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-06-23 17:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247394048001,"66":12645,"96":206,"85":15104,"24":2,"16":96433174120235008,"45":8880887384206110720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247394048001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:37:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433174120235008,"km_value":96433174120235.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384206110720,"description":"Unknown IO ID 45"} 
[2026-06-23 17:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247394048001,"power":12645,"unknown_96":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8880887384206110720}} 
[2026-06-23 17:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":111832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:37:16] local.INFO: GPS data processed {"connection_id":111832,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:37:16] local.INFO: Acknowledgment sent {"connection_id":111832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:37:23] local.INFO: TCP Data received {"connection_id":111030,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:37:23] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:37:23] local.INFO: IMEI packet received {"connection_id":111030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":111030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:37:29] local.INFO: TCP Data received {"connection_id":111030,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:37:29] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:37:29] local.INFO: IMEI packet received {"connection_id":111030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":111030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:37:30] local.INFO: TCP Data received {"connection_id":111030,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:37:30] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:37:30] local.INFO: Packet analysis {"connection_id":111030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:37:30] local.INFO: Extracted packet for processing {"connection_id":111030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:37:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:37:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":111030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:37:30] local.INFO: GPS data processed {"connection_id":111030,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:37:30] local.INFO: Acknowledgment sent {"connection_id":111030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:37:47] local.INFO: TCP Data received {"connection_id":111832,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ff188012d7b3f4005e1d940000500db23..."} 
[2026-06-23 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ff188012d7b3f4005e1d940000500db23..."} 
[2026-06-23 17:37:47] local.INFO: Processing buffer {"connection_id":111832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ff188012d7b3f4005e1d940000500db23..."} 
[2026-06-23 17:37:47] local.INFO: Packet analysis {"connection_id":111832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45f"} 
[2026-06-23 17:37:47] local.INFO: Extracted packet for processing {"connection_id":111832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45f"} 
[2026-06-23 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98687296,"longitude_deg":76.305184,"latitude_deg":9.8687296,"altitude":5,"angle":219,"satellites":35,"speed":1,"hex_longitude":"2d7b3f40","hex_latitude":"05e1d940","is_valid_coordinates":true} 
[2026-06-23 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247394816001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433178415202304,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384206061568,"note":"Value kept but may cause issues"} 
[2026-06-23 17:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782216389000,"timestamp_ms":1782216389000,"timestamp_seconds":1782216389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ff188"} 
[2026-06-23 17:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:37:47] 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-06-23 17:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 17:37:47] 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-06-23 17:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247394816001,"66":12906,"96":206,"85":15104,"24":1,"16":96433178415202304,"45":8880887384206061568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247394816001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:37:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433178415202304,"km_value":96433178415202.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384206061568,"description":"Unknown IO ID 45"} 
[2026-06-23 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247394816001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8880887384206061568}} 
[2026-06-23 17:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":111832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:37:47] local.INFO: GPS data processed {"connection_id":111832,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:37:47] local.INFO: Acknowledgment sent {"connection_id":111832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:38:01] local.INFO: TCP Data received {"connection_id":111030,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:38:01] local.INFO: Processing buffer {"connection_id":111030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:38:01] local.INFO: Packet analysis {"connection_id":111030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:38:01] local.INFO: Extracted packet for processing {"connection_id":111030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:38:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:38: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-06-23 17:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:38: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:38: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-06-23 17:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:38:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:38:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:38:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":111030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:38:01] local.INFO: GPS data processed {"connection_id":111030,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:38:01] local.INFO: Acknowledgment sent {"connection_id":111030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:38:11] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:11] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:11] local.INFO: IMEI packet received {"connection_id":111833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":111833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:38:13] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:13] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:13] local.INFO: IMEI packet received {"connection_id":111833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":111833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:38:15] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:15] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:15] local.INFO: IMEI packet received {"connection_id":111833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":111833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:38:18] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:18] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:38:18] local.INFO: IMEI packet received {"connection_id":111833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":111833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:38:19] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4604390012d7b3f4005e1d8e8000500d91f..."} 
[2026-06-23 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4604390012d7b3f4005e1d8e8000500d91f..."} 
[2026-06-23 17:38:19] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4604390012d7b3f4005e1d8e8000500d91f..."} 
[2026-06-23 17:38:19] local.INFO: Packet analysis {"connection_id":111833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef460"} 
[2026-06-23 17:38:19] local.INFO: Extracted packet for processing {"connection_id":111833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef460"} 
[2026-06-23 17:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98687208,"longitude_deg":76.305184,"latitude_deg":9.8687208,"altitude":5,"angle":217,"satellites":31,"speed":0,"hex_longitude":"2d7b3f40","hex_latitude":"05e1d8e8","is_valid_coordinates":true} 
[2026-06-23 17:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247395584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433182710169600,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384206032896,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782216410000,"timestamp_ms":1782216410000,"timestamp_seconds":1782216410,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4604390"} 
[2026-06-23 17:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 17:38:19] 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-06-23 17:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247395584001,"66":12841,"96":206,"85":15104,"24":0,"16":96433182710169600,"45":8880887384206032896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247395584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:38:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433182710169600,"km_value":96433182710169.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384206032896,"description":"Unknown IO ID 45"} 
[2026-06-23 17:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247395584001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880887384206032896}} 
[2026-06-23 17:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":111833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:38:19] local.INFO: GPS data processed {"connection_id":111833,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:38:19] local.INFO: Acknowledgment sent {"connection_id":111833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:38:20] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4609598012d7b3f4005e1d8e8000500d923..."} 
[2026-06-23 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4609598012d7b3f4005e1d8e8000500d923..."} 
[2026-06-23 17:38:20] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4609598012d7b3f4005e1d8e8000500d923..."} 
[2026-06-23 17:38:20] local.INFO: Packet analysis {"connection_id":111833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef460"} 
[2026-06-23 17:38:20] local.INFO: Extracted packet for processing {"connection_id":111833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef460"} 
[2026-06-23 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98687208,"longitude_deg":76.305184,"latitude_deg":9.8687208,"altitude":5,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2d7b3f40","hex_latitude":"05e1d8e8","is_valid_coordinates":true} 
[2026-06-23 17:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247400960001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433182710169600,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384206010368,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782216431000,"timestamp_ms":1782216431000,"timestamp_seconds":1782216431,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4609598"} 
[2026-06-23 17:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 17:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247400960001,"66":12613,"96":206,"85":15104,"24":0,"16":96433182710169600,"45":8880887384206010368},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-23 17:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247400960001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:38:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 17:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433182710169600,"km_value":96433182710169.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384206010368,"description":"Unknown IO ID 45"} 
[2026-06-23 17:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247400960001,"power":12613,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8880887384206010368}} 
[2026-06-23 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":111833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:38:20] local.INFO: GPS data processed {"connection_id":111833,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:38:20] local.INFO: Acknowledgment sent {"connection_id":111833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:38:23] local.INFO: TCP Data received {"connection_id":111208,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:38:23] local.INFO: Processing buffer {"connection_id":111208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:38:23] local.INFO: IMEI packet received {"connection_id":111208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":111208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:38:29] local.INFO: TCP Data received {"connection_id":111208,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:38:29] local.INFO: Processing buffer {"connection_id":111208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:38:29] local.INFO: IMEI packet received {"connection_id":111208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:38:30] local.INFO: TCP Data received {"connection_id":111208,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:38:30] local.INFO: Processing buffer {"connection_id":111208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef45ce830012cb29bc007822610004d00c331..."} 
[2026-06-23 17:38:30] local.INFO: Packet analysis {"connection_id":111208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:38:30] local.INFO: Extracted packet for processing {"connection_id":111208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef45c"} 
[2026-06-23 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247267584001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216190000,"timestamp_ms":1782216190000,"timestamp_seconds":1782216190,"priority":1,"record_length":96,"hex_timestamp":"0000019ef45ce830"} 
[2026-06-23 17:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-23 17:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247267584001,"66":25549,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247267584001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:38:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247267584001,"power":25549,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":111208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:38:30] local.INFO: GPS data processed {"connection_id":111208,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:38:30] local.INFO: Acknowledgment sent {"connection_id":111208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:38:51] local.INFO: TCP Data received {"connection_id":111833,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef461f528012d7b420005e1b2a0000300a028..."} 
[2026-06-23 17:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef461f528012d7b420005e1b2a0000300a028..."} 
[2026-06-23 17:38:51] local.INFO: Processing buffer {"connection_id":111833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef461f528012d7b420005e1b2a0000300a028..."} 
[2026-06-23 17:38:51] local.INFO: Packet analysis {"connection_id":111833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:38:51] local.INFO: Extracted packet for processing {"connection_id":111833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:38:51] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98677408,"longitude_deg":76.3052544,"latitude_deg":9.8677408,"altitude":3,"angle":160,"satellites":40,"speed":6,"hex_longitude":"2d7b4200","hex_latitude":"05e1b2a0","is_valid_coordinates":true} 
[2026-06-23 17:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247428352001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433693811277824,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881450334157086720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782216521000,"timestamp_ms":1782216521000,"timestamp_seconds":1782216521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef461f528"} 
[2026-06-23 17:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247428352001,"66":12504,"169":206,"85":15104,"24":6,"16":96433693811277824,"45":8881450334157086720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247428352001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:38:51] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433693811277824,"km_value":96433693811277.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881450334157086720,"description":"Unknown IO ID 45"} 
[2026-06-23 17:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247428352001,"power":12504,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8881450334157086720}} 
[2026-06-23 17:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":111833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:38:51] local.INFO: GPS data processed {"connection_id":111833,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:38:51] local.INFO: Acknowledgment sent {"connection_id":111833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:39:01] local.INFO: TCP Data received {"connection_id":111208,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:39:01] local.INFO: Processing buffer {"connection_id":111208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:39:01] local.INFO: Packet analysis {"connection_id":111208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:39:01] local.INFO: Extracted packet for processing {"connection_id":111208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:39:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:39:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":111208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:39:01] local.INFO: GPS data processed {"connection_id":111208,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:39:01] local.INFO: Acknowledgment sent {"connection_id":111208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:39:07] local.INFO: TCP Data received {"connection_id":111834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:07] local.INFO: Processing buffer {"connection_id":111834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:07] local.INFO: IMEI packet received {"connection_id":111834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":111834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:39:10] local.INFO: TCP Data received {"connection_id":111834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:10] local.INFO: Processing buffer {"connection_id":111834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:10] local.INFO: IMEI packet received {"connection_id":111834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":111834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:39:15] local.INFO: TCP Data received {"connection_id":111834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:15] local.INFO: Processing buffer {"connection_id":111834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:39:15] local.INFO: IMEI packet received {"connection_id":111834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":111834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:39:16] local.INFO: TCP Data received {"connection_id":111834,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef461fcf8012d7b428005e1b1080003009028..."} 
[2026-06-23 17:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef461fcf8012d7b428005e1b1080003009028..."} 
[2026-06-23 17:39:16] local.INFO: Processing buffer {"connection_id":111834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef461fcf8012d7b428005e1b1080003009028..."} 
[2026-06-23 17:39:16] local.INFO: Packet analysis {"connection_id":111834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:39:16] local.INFO: Extracted packet for processing {"connection_id":111834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763052672,"raw_latitude":98677000,"longitude_deg":76.3052672,"latitude_deg":9.8677,"altitude":3,"angle":144,"satellites":40,"speed":7,"hex_longitude":"2d7b4280","hex_latitude":"05e1b108","is_valid_coordinates":true} 
[2026-06-23 17:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247429376001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433715286114304,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440389455872,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216523000,"timestamp_ms":1782216523000,"timestamp_seconds":1782216523,"priority":1,"record_length":96,"hex_timestamp":"0000019ef461fcf8"} 
[2026-06-23 17:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:39:16] 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-06-23 17:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 17:39:16] 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-06-23 17:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247429376001,"66":12689,"169":206,"85":15104,"24":7,"16":96433715286114304,"45":8881661440389455872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247429376001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:39:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433715286114304,"km_value":96433715286114.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440389455872,"description":"Unknown IO ID 45"} 
[2026-06-23 17:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247429376001,"power":12689,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8881661440389455872}} 
[2026-06-23 17:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":111834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:39:16] local.INFO: GPS data processed {"connection_id":111834,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:39:16] local.INFO: Acknowledgment sent {"connection_id":111834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:39:21] local.INFO: TCP Data received {"connection_id":111834,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46208b0012d7b430005e1b0880004007c2a..."} 
[2026-06-23 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46208b0012d7b430005e1b0880004007c2a..."} 
[2026-06-23 17:39:21] local.INFO: Processing buffer {"connection_id":111834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46208b0012d7b430005e1b0880004007c2a..."} 
[2026-06-23 17:39:21] local.INFO: Packet analysis {"connection_id":111834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef462"} 
[2026-06-23 17:39:21] local.INFO: Extracted packet for processing {"connection_id":111834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef462"} 
[2026-06-23 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763052800,"raw_latitude":98676872,"longitude_deg":76.30528,"latitude_deg":9.8676872,"altitude":4,"angle":124,"satellites":42,"speed":0,"hex_longitude":"2d7b4300","hex_latitude":"05e1b088","is_valid_coordinates":true} 
[2026-06-23 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247429888001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433723876048896,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881802177877706752,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782216526000,"timestamp_ms":1782216526000,"timestamp_seconds":1782216526,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46208b0"} 
[2026-06-23 17:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 17:39:21] 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-06-23 17:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247429888001,"66":12624,"169":206,"85":15104,"24":0,"16":96433723876048896,"45":8881802177877706752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247429888001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:39:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433723876048896,"km_value":96433723876048.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881802177877706752,"description":"Unknown IO ID 45"} 
[2026-06-23 17:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247429888001,"power":12624,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8881802177877706752}} 
[2026-06-23 17:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":111834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:39:21] local.INFO: GPS data processed {"connection_id":111834,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:39:21] local.INFO: Acknowledgment sent {"connection_id":111834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:39:24] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:39:24] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:39:24] local.INFO: IMEI packet received {"connection_id":111032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":111032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:39:29] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:39:29] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:39:29] local.INFO: IMEI packet received {"connection_id":111032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":111032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:39:30] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:39:30] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:39:30] local.INFO: Packet analysis {"connection_id":111032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:39:30] local.INFO: Extracted packet for processing {"connection_id":111032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:39:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":111032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:39:30] local.INFO: GPS data processed {"connection_id":111032,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:39:30] local.INFO: Acknowledgment sent {"connection_id":111032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:39:52] local.INFO: TCP Data received {"connection_id":111834,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46233a8012d7b448005e1b0000003006e2c..."} 
[2026-06-23 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46233a8012d7b448005e1b0000003006e2c..."} 
[2026-06-23 17:39:52] local.INFO: Processing buffer {"connection_id":111834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46233a8012d7b448005e1b0000003006e2c..."} 
[2026-06-23 17:39:52] local.INFO: Packet analysis {"connection_id":111834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef462"} 
[2026-06-23 17:39:52] local.INFO: Extracted packet for processing {"connection_id":111834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef462"} 
[2026-06-23 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98676736,"longitude_deg":76.3053184,"latitude_deg":9.8676736,"altitude":3,"angle":110,"satellites":44,"speed":2,"hex_longitude":"2d7b4480","hex_latitude":"05e1b000","is_valid_coordinates":true} 
[2026-06-23 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247430656001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433745350885376,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881942915366029312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782216537000,"timestamp_ms":1782216537000,"timestamp_seconds":1782216537,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46233a8"} 
[2026-06-23 17:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 17:39:52] 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-06-23 17:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247430656001,"66":12765,"169":206,"85":15104,"24":2,"16":96433745350885376,"45":8881942915366029312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247430656001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433745350885376,"km_value":96433745350885.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881942915366029312,"description":"Unknown IO ID 45"} 
[2026-06-23 17:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247430656001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8881942915366029312}} 
[2026-06-23 17:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":111834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:39:52] local.INFO: GPS data processed {"connection_id":111834,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:39:52] local.INFO: Acknowledgment sent {"connection_id":111834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:40:02] local.INFO: TCP Data received {"connection_id":111032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:40:02] local.INFO: Processing buffer {"connection_id":111032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:40:02] local.INFO: Packet analysis {"connection_id":111032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:40:02] local.INFO: Extracted packet for processing {"connection_id":111032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:40: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-06-23 17:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":111032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:40:02] local.INFO: GPS data processed {"connection_id":111032,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:40:02] local.INFO: Acknowledgment sent {"connection_id":111032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:40:10] local.INFO: TCP Data received {"connection_id":112769,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:40:10] local.INFO: Processing buffer {"connection_id":112769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:40:10] local.INFO: IMEI packet received {"connection_id":112769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":112769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:40:15] local.INFO: TCP Data received {"connection_id":112769,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:40:15] local.INFO: Processing buffer {"connection_id":112769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:40:15] local.INFO: IMEI packet received {"connection_id":112769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":112769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:40:16] local.INFO: TCP Data received {"connection_id":112769,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4623f60012d7b45c005e1afe0000300632d..."} 
[2026-06-23 17:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4623f60012d7b45c005e1afe0000300632d..."} 
[2026-06-23 17:40:16] local.INFO: Processing buffer {"connection_id":112769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4623f60012d7b45c005e1afe0000300632d..."} 
[2026-06-23 17:40:16] local.INFO: Packet analysis {"connection_id":112769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef462"} 
[2026-06-23 17:40:16] local.INFO: Extracted packet for processing {"connection_id":112769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef462"} 
[2026-06-23 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98676704,"longitude_deg":76.3053504,"latitude_deg":9.8676704,"altitude":3,"angle":99,"satellites":45,"speed":3,"hex_longitude":"2d7b45c0","hex_latitude":"05e1afe0","is_valid_coordinates":true} 
[2026-06-23 17:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247433472001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96433758235787264,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127831060480,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216540000,"timestamp_ms":1782216540000,"timestamp_seconds":1782216540,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4623f60"} 
[2026-06-23 17:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:40:16] 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-06-23 17:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247433472001,"66":12841,"169":206,"85":15104,"24":3,"16":96433758235787264,"45":8882365127831060480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247433472001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:40:16] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96433758235787264,"km_value":96433758235787.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127831060480,"description":"Unknown IO ID 45"} 
[2026-06-23 17:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247433472001,"power":12841,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8882365127831060480}} 
[2026-06-23 17:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":112769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:40:16] local.INFO: GPS data processed {"connection_id":112769,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:40:16] local.INFO: Acknowledgment sent {"connection_id":112769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:40:23] local.INFO: TCP Data received {"connection_id":111209,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:40:23] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:40:23] local.INFO: IMEI packet received {"connection_id":111209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":111209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:40:29] local.INFO: TCP Data received {"connection_id":111209,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:40:29] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:40:29] local.INFO: IMEI packet received {"connection_id":111209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":111209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:40:30] local.INFO: TCP Data received {"connection_id":111209,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:40:30] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:40:30] local.INFO: Packet analysis {"connection_id":111209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:40:30] local.INFO: Extracted packet for processing {"connection_id":111209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":111209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:40:30] local.INFO: GPS data processed {"connection_id":111209,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:40:30] local.INFO: Acknowledgment sent {"connection_id":111209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:40:47] local.INFO: TCP Data received {"connection_id":112769,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4638398012d7bd60005e1dde8000600552d..."} 
[2026-06-23 17:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4638398012d7bd60005e1dde8000600552d..."} 
[2026-06-23 17:40:47] local.INFO: Processing buffer {"connection_id":112769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4638398012d7bd60005e1dde8000600552d..."} 
[2026-06-23 17:40:47] local.INFO: Packet analysis {"connection_id":112769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef463"} 
[2026-06-23 17:40:47] local.INFO: Extracted packet for processing {"connection_id":112769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef463"} 
[2026-06-23 17:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763090432,"raw_latitude":98688488,"longitude_deg":76.3090432,"latitude_deg":9.8688488,"altitude":6,"angle":85,"satellites":45,"speed":12,"hex_longitude":"2d7bd600","hex_latitude":"05e1dde8","is_valid_coordinates":true} 
[2026-06-23 17:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247454720001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96435673791201280,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922264205782767616,"note":"Value kept but may cause issues"} 
[2026-06-23 17:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782216623000,"timestamp_ms":1782216623000,"timestamp_seconds":1782216623,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4638398"} 
[2026-06-23 17:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 17:40:47] 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-06-23 17:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247454720001,"66":12809,"169":206,"85":15104,"24":12,"16":96435673791201280,"45":8922264205782767616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247454720001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:40:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96435673791201280,"km_value":96435673791201.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922264205782767616,"description":"Unknown IO ID 45"} 
[2026-06-23 17:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247454720001,"power":12809,"unknown_169":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8922264205782767616}} 
[2026-06-23 17:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":112769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:40:47] local.INFO: GPS data processed {"connection_id":112769,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:40:47] local.INFO: Acknowledgment sent {"connection_id":112769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:41:02] local.INFO: TCP Data received {"connection_id":111209,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:41:02] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:41:02] local.INFO: Packet analysis {"connection_id":111209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:41:02] local.INFO: Extracted packet for processing {"connection_id":111209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:41:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 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-06-23 17:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:41: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-06-23 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-06-23 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-06-23 17:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:41:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":111209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:41:02] local.INFO: GPS data processed {"connection_id":111209,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:41:02] local.INFO: Acknowledgment sent {"connection_id":111209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:41:11] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:11] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:11] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:41:11] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:11] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:11] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:41:12] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:12] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:41:12] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:41:13] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4638f50012d7bdb0005e1dd88000500612e..."} 
[2026-06-23 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4638f50012d7bdb0005e1dd88000500612e..."} 
[2026-06-23 17:41:13] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4638f50012d7bdb0005e1dd88000500612e..."} 
[2026-06-23 17:41:13] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef463"} 
[2026-06-23 17:41:13] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef463"} 
[2026-06-23 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763091712,"raw_latitude":98688392,"longitude_deg":76.3091712,"latitude_deg":9.8688392,"altitude":5,"angle":97,"satellites":46,"speed":21,"hex_longitude":"2d7bdb00","hex_latitude":"05e1dd88","is_valid_coordinates":true} 
[2026-06-23 17:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247455488001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96435738215710720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923319736945469440,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782216626000,"timestamp_ms":1782216626000,"timestamp_seconds":1782216626,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4638f50"} 
[2026-06-23 17:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:41:13] 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-06-23 17:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1945555039191827456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4100118456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2182407435816251603,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":244,"raw_value":7119065116023946048,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3250585603,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2597781504,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5332488078785302101,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,169,85,24,241,157,16,155,158,119,45,64,221,5,46,10,66,104,219,33,128,1,240,161,227,244,225,4,113,205,25,231,144,32,43,239,49,2,86,50,59,178],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-23 17:41:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432439215990243328,"timestamp_seconds":432439215990243.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247455488001,"66":12863,"169":206,"85":15104,"24":21,"16":96435738215710720,"45":8923319736945469440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-23 17:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247455488001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:41:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-23 17:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96435738215710720,"km_value":96435738215710.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923319736945469440,"description":"Unknown IO ID 45"} 
[2026-06-23 17:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247455488001,"power":12863,"unknown_169":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8923319736945469440}} 
[2026-06-23 17:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:41:13] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:41:13] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:41:23] local.INFO: TCP Data received {"connection_id":111835,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:41:23] local.INFO: Processing buffer {"connection_id":111835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:41:23] local.INFO: IMEI packet received {"connection_id":111835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":111835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:41:29] local.INFO: TCP Data received {"connection_id":111835,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:41:29] local.INFO: Processing buffer {"connection_id":111835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:41:29] local.INFO: IMEI packet received {"connection_id":111835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":111835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:41:30] local.INFO: TCP Data received {"connection_id":111835,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:41:30] local.INFO: Processing buffer {"connection_id":111835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:41:30] local.INFO: Packet analysis {"connection_id":111835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:41:30] local.INFO: Extracted packet for processing {"connection_id":111835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:41:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":111835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:41:30] local.INFO: GPS data processed {"connection_id":111835,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:41:30] local.INFO: Acknowledgment sent {"connection_id":111835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:41:45] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef464a0c0012d7c64c005e215880005004529..."} 
[2026-06-23 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef464a0c0012d7c64c005e215880005004529..."} 
[2026-06-23 17:41:45] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef464a0c0012d7c64c005e215880005004529..."} 
[2026-06-23 17:41:45] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:41:45] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763126976,"raw_latitude":98702728,"longitude_deg":76.3126976,"latitude_deg":9.8702728,"altitude":5,"angle":69,"satellites":41,"speed":28,"hex_longitude":"2d7c64c0","hex_latitude":"05e21588","is_valid_coordinates":true} 
[2026-06-23 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247473920001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96437769735241728,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962726233688553472,"note":"Value kept but may cause issues"} 
[2026-06-23 17:41:45] 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-06-23 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782216696000,"timestamp_ms":1782216696000,"timestamp_seconds":1782216696,"priority":1,"record_length":96,"hex_timestamp":"0000019ef464a0c0"} 
[2026-06-23 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:41:45] 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-06-23 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 17:41:45] 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-06-23 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247473920001,"66":12743,"43":206,"85":15104,"24":28,"16":96437769735241728,"45":8962726233688553472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247473920001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:41:45] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96437769735241728,"km_value":96437769735241.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962726233688553472,"description":"Unknown IO ID 45"} 
[2026-06-23 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247473920001,"power":12743,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8962726233688553472}} 
[2026-06-23 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:41:45] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:41:45] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:42:02] local.INFO: TCP Data received {"connection_id":111835,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:42:02] local.INFO: Processing buffer {"connection_id":111835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:42:02] local.INFO: Packet analysis {"connection_id":111835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:42:02] local.INFO: Extracted packet for processing {"connection_id":111835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:42: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-06-23 17: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-06-23 17:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":111835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:42:02] local.INFO: GPS data processed {"connection_id":111835,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:42:02] local.INFO: Acknowledgment sent {"connection_id":111835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:42:10] local.INFO: TCP Data received {"connection_id":111035,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:10] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:10] local.INFO: IMEI packet received {"connection_id":111035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":111035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:42:13] local.INFO: TCP Data received {"connection_id":111035,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:13] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:13] local.INFO: IMEI packet received {"connection_id":111035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":111035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:42:15] local.INFO: TCP Data received {"connection_id":111035,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:15] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:42:15] local.INFO: IMEI packet received {"connection_id":111035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":111035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:42:16] local.INFO: TCP Data received {"connection_id":111035,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef464a890012d7c6c0005e215a00006005828..."} 
[2026-06-23 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef464a890012d7c6c0005e215a00006005828..."} 
[2026-06-23 17:42:16] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef464a890012d7c6c0005e215a00006005828..."} 
[2026-06-23 17:42:16] local.INFO: Packet analysis {"connection_id":111035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:42:16] local.INFO: Extracted packet for processing {"connection_id":111035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":763128832,"raw_latitude":98702752,"longitude_deg":76.3128832,"latitude_deg":9.8702752,"altitude":6,"angle":88,"satellites":40,"speed":34,"hex_longitude":"2d7c6c00","hex_latitude":"05e215a0","is_valid_coordinates":true} 
[2026-06-23 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247474176001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96437855634587648,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963500289874561024,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:16] 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-06-23 17:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216698000,"timestamp_ms":1782216698000,"timestamp_seconds":1782216698,"priority":1,"record_length":96,"hex_timestamp":"0000019ef464a890"} 
[2026-06-23 17:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:42:16] 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-06-23 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 17:42:16] 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-06-23 17:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247474176001,"66":12765,"43":206,"85":15104,"24":34,"16":96437855634587648,"45":8963500289874561024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247474176001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:42:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96437855634587648,"km_value":96437855634587.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963500289874561024,"description":"Unknown IO ID 45"} 
[2026-06-23 17:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247474176001,"power":12765,"unknown_43":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8963500289874561024}} 
[2026-06-23 17:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":111035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:42:16] local.INFO: GPS data processed {"connection_id":111035,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:42:16] local.INFO: Acknowledgment sent {"connection_id":111035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:42:20] local.INFO: TCP Data received {"connection_id":111035,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef464b448012d7c778005e213980006006629..."} 
[2026-06-23 17:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef464b448012d7c778005e213980006006629..."} 
[2026-06-23 17:42:20] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef464b448012d7c778005e213980006006629..."} 
[2026-06-23 17:42:20] local.INFO: Packet analysis {"connection_id":111035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:42:20] local.INFO: Extracted packet for processing {"connection_id":111035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":763131776,"raw_latitude":98702232,"longitude_deg":76.3131776,"latitude_deg":9.8702232,"altitude":6,"angle":102,"satellites":41,"speed":39,"hex_longitude":"2d7c7780","hex_latitude":"05e21398","is_valid_coordinates":true} 
[2026-06-23 17:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247474688001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96438001663475712,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965540983455719424,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:20] 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-06-23 17:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782216701000,"timestamp_ms":1782216701000,"timestamp_seconds":1782216701,"priority":1,"record_length":96,"hex_timestamp":"0000019ef464b448"} 
[2026-06-23 17:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247474688001,"66":12765,"43":206,"85":15104,"24":39,"16":96438001663475712,"45":8965540983455719424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247474688001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:42:20] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96438001663475712,"km_value":96438001663475.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965540983455719424,"description":"Unknown IO ID 45"} 
[2026-06-23 17:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247474688001,"power":12765,"unknown_43":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8965540983455719424}} 
[2026-06-23 17:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":111035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:42:21] local.INFO: GPS data processed {"connection_id":111035,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:42:21] local.INFO: Acknowledgment sent {"connection_id":111035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:42:23] local.INFO: TCP Data received {"connection_id":112770,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:42:23] local.INFO: Processing buffer {"connection_id":112770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:42:23] local.INFO: IMEI packet received {"connection_id":112770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":112770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:42:29] local.INFO: TCP Data received {"connection_id":112770,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:42:29] local.INFO: Processing buffer {"connection_id":112770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:42:29] local.INFO: IMEI packet received {"connection_id":112770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":112770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:42:30] local.INFO: TCP Data received {"connection_id":112770,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:42:30] local.INFO: Processing buffer {"connection_id":112770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:42:30] local.INFO: Packet analysis {"connection_id":112770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:42:30] local.INFO: Extracted packet for processing {"connection_id":112770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:42:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":112770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:42:30] local.INFO: GPS data processed {"connection_id":112770,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:42:30] local.INFO: Acknowledgment sent {"connection_id":112770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:42:31] local.INFO: TCP Data received {"connection_id":111034,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:42:31] local.INFO: Processing buffer {"connection_id":111034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:42:31] local.INFO: IMEI packet received {"connection_id":111034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":111034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:42:52] local.INFO: TCP Data received {"connection_id":111035,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef464d388012d7c9a4005e20ca00007006324..."} 
[2026-06-23 17:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef464d388012d7c9a4005e20ca00007006324..."} 
[2026-06-23 17:42:52] local.INFO: Processing buffer {"connection_id":111035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef464d388012d7c9a4005e20ca00007006324..."} 
[2026-06-23 17:42:52] local.INFO: Packet analysis {"connection_id":111035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:42:52] local.INFO: Extracted packet for processing {"connection_id":111035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":763140672,"raw_latitude":98700448,"longitude_deg":76.3140672,"latitude_deg":9.8700448,"altitude":7,"angle":99,"satellites":36,"speed":43,"hex_longitude":"2d7c9a40","hex_latitude":"05e20ca0","is_valid_coordinates":true} 
[2026-06-23 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247475456001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96438435455172608,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968777945687758848,"note":"Value kept but may cause issues"} 
[2026-06-23 17:42:52] 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-06-23 17:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782216709000,"timestamp_ms":1782216709000,"timestamp_seconds":1782216709,"priority":1,"record_length":96,"hex_timestamp":"0000019ef464d388"} 
[2026-06-23 17:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:42:52] 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-06-23 17:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247475456001,"66":12635,"43":206,"85":15104,"24":43,"16":96438435455172608,"45":8968777945687758848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247475456001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96438435455172608,"km_value":96438435455172.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968777945687758848,"description":"Unknown IO ID 45"} 
[2026-06-23 17:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247475456001,"power":12635,"unknown_43":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8968777945687758848}} 
[2026-06-23 17:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":111035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:42:52] local.INFO: GPS data processed {"connection_id":111035,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:42:52] local.INFO: Acknowledgment sent {"connection_id":111035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:43:01] local.INFO: TCP Data received {"connection_id":112770,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:01] local.INFO: Processing buffer {"connection_id":112770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:01] local.INFO: Packet analysis {"connection_id":112770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:43:01] local.INFO: Extracted packet for processing {"connection_id":112770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:43:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:43:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":112770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:43:01] local.INFO: GPS data processed {"connection_id":112770,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:43:01] local.INFO: Acknowledgment sent {"connection_id":112770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:43:06] local.INFO: TCP Data received {"connection_id":111211,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:43:06] local.INFO: Processing buffer {"connection_id":111211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:43:06] local.INFO: IMEI packet received {"connection_id":111211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":111211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:43:11] local.INFO: TCP Data received {"connection_id":111836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:11] local.INFO: Processing buffer {"connection_id":111836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:11] local.INFO: IMEI packet received {"connection_id":111836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":111836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:43:12] local.INFO: TCP Data received {"connection_id":111836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:12] local.INFO: Processing buffer {"connection_id":111836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:12] local.INFO: IMEI packet received {"connection_id":111836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":111836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:43:15] local.INFO: TCP Data received {"connection_id":111836,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:15] local.INFO: Processing buffer {"connection_id":111836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:43:15] local.INFO: IMEI packet received {"connection_id":111836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":111836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:43:16] local.INFO: TCP Data received {"connection_id":111836,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef464fe80012d7cbd8005e208100007005929..."} 
[2026-06-23 17:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef464fe80012d7cbd8005e208100007005929..."} 
[2026-06-23 17:43:16] local.INFO: Processing buffer {"connection_id":111836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef464fe80012d7cbd8005e208100007005929..."} 
[2026-06-23 17:43:16] local.INFO: Packet analysis {"connection_id":111836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:43:16] local.INFO: Extracted packet for processing {"connection_id":111836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef464"} 
[2026-06-23 17:43:16] local.INFO: GPS Element Parsed {"raw_longitude":763149696,"raw_latitude":98699280,"longitude_deg":76.3149696,"latitude_deg":9.869928,"altitude":7,"angle":89,"satellites":41,"speed":20,"hex_longitude":"2d7cbd80","hex_latitude":"05e20810","is_valid_coordinates":true} 
[2026-06-23 17:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247477504001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96438873541836800,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978559201127997440,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:16] 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-06-23 17:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216720000,"timestamp_ms":1782216720000,"timestamp_seconds":1782216720,"priority":1,"record_length":96,"hex_timestamp":"0000019ef464fe80"} 
[2026-06-23 17:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:43:16] 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-06-23 17:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 17:43:16] 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-06-23 17:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247477504001,"66":12950,"43":206,"85":15104,"24":20,"16":96438873541836800,"45":8978559201127997440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247477504001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:43:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96438873541836800,"km_value":96438873541836.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978559201127997440,"description":"Unknown IO ID 45"} 
[2026-06-23 17:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247477504001,"power":12950,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8978559201127997440}} 
[2026-06-23 17:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":111836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:43:16] local.INFO: GPS data processed {"connection_id":111836,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:43:16] local.INFO: Acknowledgment sent {"connection_id":111836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:43:29] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:43:29] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:43:29] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:43:34] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:43:34] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:43:34] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:43:35] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:35] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:35] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:43:35] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:43:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:43:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:43:35] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:43:35] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:43:39] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:39] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4617ff8012cb29bc007822610004d00c331..."} 
[2026-06-23 17:43:39] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:43:39] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef461"} 
[2026-06-23 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247344640001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782216491000,"timestamp_ms":1782216491000,"timestamp_seconds":1782216491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4617ff8"} 
[2026-06-23 17:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 17:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247344640001,"66":25495,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247344640001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247344640001,"power":25495,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:43:39] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:43:39] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:43:48] local.INFO: TCP Data received {"connection_id":111836,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4652978012d7cdc8005e207e00006004a2d..."} 
[2026-06-23 17:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4652978012d7cdc8005e207e00006004a2d..."} 
[2026-06-23 17:43:48] local.INFO: Processing buffer {"connection_id":111836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4652978012d7cdc8005e207e00006004a2d..."} 
[2026-06-23 17:43:48] local.INFO: Packet analysis {"connection_id":111836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef465"} 
[2026-06-23 17:43:48] local.INFO: Extracted packet for processing {"connection_id":111836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef465"} 
[2026-06-23 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763157632,"raw_latitude":98699232,"longitude_deg":76.3157632,"latitude_deg":9.8699232,"altitude":6,"angle":74,"satellites":45,"speed":32,"hex_longitude":"2d7cdc80","hex_latitude":"05e207e0","is_valid_coordinates":true} 
[2026-06-23 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247480320001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96439251498958848,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988481194056749056,"note":"Value kept but may cause issues"} 
[2026-06-23 17:43:48] 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-06-23 17:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782216731000,"timestamp_ms":1782216731000,"timestamp_seconds":1782216731,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4652978"} 
[2026-06-23 17:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-23 17:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247480320001,"66":12906,"43":206,"85":15104,"24":32,"16":96439251498958848,"45":8988481194056749056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247480320001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:43:48] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96439251498958848,"km_value":96439251498958.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988481194056749056,"description":"Unknown IO ID 45"} 
[2026-06-23 17:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247480320001,"power":12906,"unknown_43":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8988481194056749056}} 
[2026-06-23 17:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":111836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:43:48] local.INFO: GPS data processed {"connection_id":111836,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:43:48] local.INFO: Acknowledgment sent {"connection_id":111836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:44:10] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:44:10] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:44:10] local.INFO: IMEI packet received {"connection_id":111036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":111036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:44:15] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:44:15] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:44:15] local.INFO: IMEI packet received {"connection_id":111036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":111036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:44:16] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46548b8012d7cf64005e20eb8000700582d..."} 
[2026-06-23 17:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46548b8012d7cf64005e20eb8000700582d..."} 
[2026-06-23 17:44:16] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46548b8012d7cf64005e20eb8000700582d..."} 
[2026-06-23 17:44:16] local.INFO: Packet analysis {"connection_id":111036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef465"} 
[2026-06-23 17:44:16] local.INFO: Extracted packet for processing {"connection_id":111036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef465"} 
[2026-06-23 17:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763164224,"raw_latitude":98700984,"longitude_deg":76.3164224,"latitude_deg":9.8700984,"altitude":7,"angle":88,"satellites":45,"speed":31,"hex_longitude":"2d7cf640","hex_latitude":"05e20eb8","is_valid_coordinates":true} 
[2026-06-23 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247483136001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96439577916473344,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997206918334767104,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:16] 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-06-23 17:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216739000,"timestamp_ms":1782216739000,"timestamp_seconds":1782216739,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46548b8"} 
[2026-06-23 17:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:44:16] 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-06-23 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 17:44:16] 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-06-23 17:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247483136001,"66":12645,"43":206,"85":15104,"24":31,"16":96439577916473344,"45":8997206918334767104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247483136001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:44:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96439577916473344,"km_value":96439577916473.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997206918334767104,"description":"Unknown IO ID 45"} 
[2026-06-23 17:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247483136001,"power":12645,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8997206918334767104}} 
[2026-06-23 17:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":111036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:44:16] local.INFO: GPS data processed {"connection_id":111036,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:44:16] local.INFO: Acknowledgment sent {"connection_id":111036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:44:23] local.INFO: TCP Data received {"connection_id":111838,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:44:23] local.INFO: Processing buffer {"connection_id":111838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:44:23] local.INFO: IMEI packet received {"connection_id":111838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":111838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:44:29] local.INFO: TCP Data received {"connection_id":111838,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:44:29] local.INFO: Processing buffer {"connection_id":111838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:44:29] local.INFO: IMEI packet received {"connection_id":111838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":111838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:44:30] local.INFO: TCP Data received {"connection_id":111838,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:44:30] local.INFO: Processing buffer {"connection_id":111838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:44:30] local.INFO: Packet analysis {"connection_id":111838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:44:30] local.INFO: Extracted packet for processing {"connection_id":111838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17: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-06-23 17: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-06-23 17:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:44:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":111838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:44:30] local.INFO: GPS data processed {"connection_id":111838,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:44:30] local.INFO: Acknowledgment sent {"connection_id":111838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:44:48] local.INFO: TCP Data received {"connection_id":111036,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46596d8012d7d180005e20c30000c005e30..."} 
[2026-06-23 17:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46596d8012d7d180005e20c30000c005e30..."} 
[2026-06-23 17:44:48] local.INFO: Processing buffer {"connection_id":111036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46596d8012d7d180005e20c30000c005e30..."} 
[2026-06-23 17:44:48] local.INFO: Packet analysis {"connection_id":111036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef465"} 
[2026-06-23 17:44:48] local.INFO: Extracted packet for processing {"connection_id":111036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef465"} 
[2026-06-23 17:44:48] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":98700336,"longitude_deg":76.3172864,"latitude_deg":9.8700336,"altitude":12,"angle":94,"satellites":48,"speed":20,"hex_longitude":"2d7d1800","hex_latitude":"05e20c30","is_valid_coordinates":true} 
[2026-06-23 17:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247485184001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96439994528301056,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454898985515008,"note":"Value kept but may cause issues"} 
[2026-06-23 17:44:48] 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-06-23 17:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782216759000,"timestamp_ms":1782216759000,"timestamp_seconds":1782216759,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46596d8"} 
[2026-06-23 17:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 17:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247485184001,"66":13059,"43":206,"85":15104,"24":20,"16":96439994528301056,"45":9004454898985515008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-23 17:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247485184001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:44:48] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-23 17:44:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96439994528301056,"km_value":96439994528301.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454898985515008,"description":"Unknown IO ID 45"} 
[2026-06-23 17:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247485184001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9004454898985515008}} 
[2026-06-23 17:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":111036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:44:48] local.INFO: GPS data processed {"connection_id":111036,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:44:48] local.INFO: Acknowledgment sent {"connection_id":111036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:45:01] local.INFO: TCP Data received {"connection_id":111838,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:45:01] local.INFO: Processing buffer {"connection_id":111838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:45:01] local.INFO: Packet analysis {"connection_id":111838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:45:01] local.INFO: Extracted packet for processing {"connection_id":111838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:45:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:45:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":111838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:45:01] local.INFO: GPS data processed {"connection_id":111838,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:45:01] local.INFO: Acknowledgment sent {"connection_id":111838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:45:10] local.INFO: TCP Data received {"connection_id":111213,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:45:10] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:45:10] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:45:15] local.INFO: TCP Data received {"connection_id":111213,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:45:15] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:45:15] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:45:16] local.INFO: TCP Data received {"connection_id":111213,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef467c188012d7e284005e20e580006006d29..."} 
[2026-06-23 17:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef467c188012d7e284005e20e580006006d29..."} 
[2026-06-23 17:45:16] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef467c188012d7e284005e20e580006006d29..."} 
[2026-06-23 17:45:16] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef467"} 
[2026-06-23 17:45:16] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef467"} 
[2026-06-23 17:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763242560,"raw_latitude":98700888,"longitude_deg":76.324256,"latitude_deg":9.8700888,"altitude":6,"angle":109,"satellites":41,"speed":19,"hex_longitude":"2d7e2840","hex_latitude":"05e20e58","is_valid_coordinates":true} 
[2026-06-23 17:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247521280001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96442975235604480,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080593880186136576,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216901000,"timestamp_ms":1782216901000,"timestamp_seconds":1782216901,"priority":1,"record_length":96,"hex_timestamp":"0000019ef467c188"} 
[2026-06-23 17:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:45:16] 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-06-23 17:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4100354456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505071205613568,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":244,"raw_value":7367554743901456000,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6341332162427814144,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6395955009603043304,"corrected_to":0} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182212529750272,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980554186981323179,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2709061632,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2160892192099377616,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195039232,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84861825703076358,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3941049894445312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:16] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,61,85,24,241,157,16,161,158,99,45,128,20,3,44,10,66,17,18,47,191,1,240,133,227,244,226,4,113,205,6,137,239,2,48,86,5,9,33,59,78,69,216,8],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":-6395955009603043304,"validated":0}]} 
[2026-06-23 17:45:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216287320302288896,"timestamp_seconds":216287320302288.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247521280001,"66":12939,"61":206,"85":15104,"24":19,"16":96442975235604480,"45":9080593880186136576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 17:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247521280001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96442975235604480,"km_value":96442975235604.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080593880186136576,"description":"Unknown IO ID 45"} 
[2026-06-23 17:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247521280001,"power":12939,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9080593880186136576}} 
[2026-06-23 17:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:45:16] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:45:16] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:45:23] local.INFO: TCP Data received {"connection_id":111839,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:45:23] local.INFO: Processing buffer {"connection_id":111839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:45:23] local.INFO: IMEI packet received {"connection_id":111839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:45:29] local.INFO: TCP Data received {"connection_id":111839,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:45:29] local.INFO: Processing buffer {"connection_id":111839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:45:29] local.INFO: IMEI packet received {"connection_id":111839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":111839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:45:30] local.INFO: TCP Data received {"connection_id":111839,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:45:30] local.INFO: Processing buffer {"connection_id":111839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:45:30] local.INFO: Packet analysis {"connection_id":111839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:45:30] local.INFO: Extracted packet for processing {"connection_id":111839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:45:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 17: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-06-23 17:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:45:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":111839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:45:30] local.INFO: GPS data processed {"connection_id":111839,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:45:30] local.INFO: Acknowledgment sent {"connection_id":111839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:45:47] local.INFO: TCP Data received {"connection_id":111213,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef467c958012d7e2bc005e20c480006008527..."} 
[2026-06-23 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef467c958012d7e2bc005e20c480006008527..."} 
[2026-06-23 17:45:47] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef467c958012d7e2bc005e20c480006008527..."} 
[2026-06-23 17:45:47] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef467"} 
[2026-06-23 17:45:47] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef467"} 
[2026-06-23 17:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":98700360,"longitude_deg":76.3243456,"latitude_deg":9.870036,"altitude":6,"angle":133,"satellites":39,"speed":19,"hex_longitude":"2d7e2bc0","hex_latitude":"05e20c48","is_valid_coordinates":true} 
[2026-06-23 17:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247526656001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96443026775212032,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090586241858951168,"note":"Value kept but may cause issues"} 
[2026-06-23 17:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782216903000,"timestamp_ms":1782216903000,"timestamp_seconds":1782216903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef467c958"} 
[2026-06-23 17:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:45:47] 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-06-23 17:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 17:45:47] 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-06-23 17:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247526656001,"66":12906,"61":206,"85":15104,"24":19,"16":96443026775212032,"45":9090586241858951168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 17:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247526656001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96443026775212032,"km_value":96443026775212.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090586241858951168,"description":"Unknown IO ID 45"} 
[2026-06-23 17:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247526656001,"power":12906,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9090586241858951168}} 
[2026-06-23 17:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:45:47] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:45:47] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:46:01] local.INFO: TCP Data received {"connection_id":111839,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:01] local.INFO: Processing buffer {"connection_id":111839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:01] local.INFO: Packet analysis {"connection_id":111839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:46:01] local.INFO: Extracted packet for processing {"connection_id":111839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:46:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:46:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":111839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:46:01] local.INFO: GPS data processed {"connection_id":111839,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:46:01] local.INFO: Acknowledgment sent {"connection_id":111839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:46:13] local.INFO: TCP Data received {"connection_id":111037,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:13] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:13] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:46:15] local.INFO: TCP Data received {"connection_id":111037,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:15] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:15] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:46:19] local.INFO: TCP Data received {"connection_id":111037,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:19] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:46:19] local.INFO: IMEI packet received {"connection_id":111037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":111037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:46:19] local.INFO: TCP Data received {"connection_id":111037,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4688ca8012d7e1d8005e14a90000400ac2a..."} 
[2026-06-23 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4688ca8012d7e1d8005e14a90000400ac2a..."} 
[2026-06-23 17:46:19] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4688ca8012d7e1d8005e14a90000400ac2a..."} 
[2026-06-23 17:46:19] local.INFO: Packet analysis {"connection_id":111037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef468"} 
[2026-06-23 17:46:19] local.INFO: Extracted packet for processing {"connection_id":111037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef468"} 
[2026-06-23 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763239808,"raw_latitude":98650768,"longitude_deg":76.3239808,"latitude_deg":9.8650768,"altitude":4,"angle":172,"satellites":42,"speed":39,"hex_longitude":"2d7e1d80","hex_latitude":"05e14a90","is_valid_coordinates":true} 
[2026-06-23 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247537664001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96445492086439936,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086293748453654528,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782216953000,"timestamp_ms":1782216953000,"timestamp_seconds":1782216953,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4688ca8"} 
[2026-06-23 17:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 17:46:19] 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-06-23 17:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247537664001,"66":12689,"61":206,"85":15104,"24":39,"16":96445492086439936,"45":9086293748453654528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-23 17:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247537664001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:46:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-23 17:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96445492086439936,"km_value":96445492086439.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086293748453654528,"description":"Unknown IO ID 45"} 
[2026-06-23 17:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247537664001,"power":12689,"unknown_61":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9086293748453654528}} 
[2026-06-23 17:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":111037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:46:19] local.INFO: GPS data processed {"connection_id":111037,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:46:19] local.INFO: Acknowledgment sent {"connection_id":111037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:46:29] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:46:29] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:46:29] local.INFO: IMEI packet received {"connection_id":111038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":111038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:46:34] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:46:34] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:46:34] local.INFO: IMEI packet received {"connection_id":111038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":111038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:46:35] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:35] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:35] local.INFO: Packet analysis {"connection_id":111038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:46:35] local.INFO: Extracted packet for processing {"connection_id":111038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:46: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-06-23 17:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:46:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":111038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:46:35] local.INFO: GPS data processed {"connection_id":111038,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:46:35] local.INFO: Acknowledgment sent {"connection_id":111038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:46:39] local.INFO: TCP Data received {"connection_id":111038,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:39] local.INFO: Processing buffer {"connection_id":111038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:46:39] local.INFO: Packet analysis {"connection_id":111038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:46:39] local.INFO: Extracted packet for processing {"connection_id":111038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:46:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:46:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":111038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:46:39] local.INFO: GPS data processed {"connection_id":111038,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:46:39] local.INFO: Acknowledgment sent {"connection_id":111038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:46:51] local.INFO: TCP Data received {"connection_id":111037,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef468afd0012d7e224005e127b0000500b128..."} 
[2026-06-23 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef468afd0012d7e224005e127b0000500b128..."} 
[2026-06-23 17:46:51] local.INFO: Processing buffer {"connection_id":111037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef468afd0012d7e224005e127b0000500b128..."} 
[2026-06-23 17:46:51] local.INFO: Packet analysis {"connection_id":111037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef468"} 
[2026-06-23 17:46:51] local.INFO: Extracted packet for processing {"connection_id":111037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef468"} 
[2026-06-23 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763241024,"raw_latitude":98641840,"longitude_deg":76.3241024,"latitude_deg":9.864184,"altitude":5,"angle":177,"satellites":40,"speed":39,"hex_longitude":"2d7e2240","hex_latitude":"05e127b0","is_valid_coordinates":true} 
[2026-06-23 17:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247539968001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96445930173104128,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087560385846480896,"note":"Value kept but may cause issues"} 
[2026-06-23 17:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782216962000,"timestamp_ms":1782216962000,"timestamp_seconds":1782216962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef468afd0"} 
[2026-06-23 17:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 17:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247539968001,"66":13178,"60":206,"85":15104,"24":39,"16":96445930173104128,"45":9087560385846480896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 17:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247539968001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:46:51] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 17:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96445930173104128,"km_value":96445930173104.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087560385846480896,"description":"Unknown IO ID 45"} 
[2026-06-23 17:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247539968001,"power":13178,"unknown_60":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9087560385846480896}} 
[2026-06-23 17:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":111037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:46:51] local.INFO: GPS data processed {"connection_id":111037,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:46:51] local.INFO: Acknowledgment sent {"connection_id":111037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:47:10] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:47:10] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:47:10] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:47:15] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:47:15] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:47:15] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:47:16] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef468b7a0012d7e20c005e12030000600c327..."} 
[2026-06-23 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef468b7a0012d7e20c005e12030000600c327..."} 
[2026-06-23 17:47:16] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef468b7a0012d7e20c005e12030000600c327..."} 
[2026-06-23 17:47:16] local.INFO: Packet analysis {"connection_id":111214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef468"} 
[2026-06-23 17:47:16] local.INFO: Extracted packet for processing {"connection_id":111214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef468"} 
[2026-06-23 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763240640,"raw_latitude":98639920,"longitude_deg":76.324064,"latitude_deg":9.863992,"altitude":6,"angle":195,"satellites":39,"speed":37,"hex_longitude":"2d7e20c0","hex_latitude":"05e12030","is_valid_coordinates":true} 
[2026-06-23 17:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247542272001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96446024662384640,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088897391983570944,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782216964000,"timestamp_ms":1782216964000,"timestamp_seconds":1782216964,"priority":1,"record_length":96,"hex_timestamp":"0000019ef468b7a0"} 
[2026-06-23 17:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:47:16] 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-06-23 17:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-23 17:47:16] 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-06-23 17:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247542272001,"66":12982,"60":206,"85":15104,"24":37,"16":96446024662384640,"45":9088897391983570944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 17:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247542272001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:47:16] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 17:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96446024662384640,"km_value":96446024662384.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088897391983570944,"description":"Unknown IO ID 45"} 
[2026-06-23 17:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247542272001,"power":12982,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9088897391983570944}} 
[2026-06-23 17:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":111214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:47:16] local.INFO: GPS data processed {"connection_id":111214,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:47:16] local.INFO: Acknowledgment sent {"connection_id":111214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:47:24] local.INFO: TCP Data received {"connection_id":111840,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:47:24] local.INFO: Processing buffer {"connection_id":111840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:47:24] local.INFO: IMEI packet received {"connection_id":111840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":111840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:47:29] local.INFO: TCP Data received {"connection_id":111840,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:47:29] local.INFO: Processing buffer {"connection_id":111840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:47:29] local.INFO: IMEI packet received {"connection_id":111840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":111840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:47:30] local.INFO: TCP Data received {"connection_id":111840,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:47:30] local.INFO: Processing buffer {"connection_id":111840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:47:30] local.INFO: Packet analysis {"connection_id":111840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:47:30] local.INFO: Extracted packet for processing {"connection_id":111840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:47:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:47: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-06-23 17: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-06-23 17:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:47:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":111840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:47:30] local.INFO: GPS data processed {"connection_id":111840,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:47:30] local.INFO: Acknowledgment sent {"connection_id":111840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:47:40] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:40] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:40] local.INFO: IMEI packet received {"connection_id":112773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":112773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:47:41] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:41] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:41] local.INFO: IMEI packet received {"connection_id":112773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":112773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:47:45] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:45] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:47:45] local.INFO: IMEI packet received {"connection_id":112773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":112773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:47:45] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-23 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-23 17:47:45] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-23 17:47:45] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 17:47:45] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 17:47: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-06-23 17:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 17:47:45] 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-06-23 17:47:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 17:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 17:47:45] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 17:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 17:47:45] local.ERROR: GPS data processing failed {"connection_id":112773,"error":"No valid data to process"} 
[2026-06-23 17:47:45] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 17:47:47] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef469f020012d7e3fc005e06918000100b02a..."} 
[2026-06-23 17:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef469f020012d7e3fc005e06918000100b02a..."} 
[2026-06-23 17:47:47] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef469f020012d7e3fc005e06918000100b02a..."} 
[2026-06-23 17:47:47] local.INFO: Packet analysis {"connection_id":111214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef469"} 
[2026-06-23 17:47:47] local.INFO: Extracted packet for processing {"connection_id":111214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef469"} 
[2026-06-23 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763248576,"raw_latitude":98593048,"longitude_deg":76.3248576,"latitude_deg":9.8593048,"altitude":1,"angle":176,"satellites":42,"speed":30,"hex_longitude":"2d7e3fc0","hex_latitude":"05e06918","is_valid_coordinates":true} 
[2026-06-23 17:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247561216001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96448562988056576,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528902150144,"note":"Value kept but may cause issues"} 
[2026-06-23 17:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217044000,"timestamp_ms":1782217044000,"timestamp_seconds":1782217044,"priority":1,"record_length":96,"hex_timestamp":"0000019ef469f020"} 
[2026-06-23 17:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:47:47] 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-06-23 17:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 17:47:47] 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-06-23 17:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247561216001,"66":12885,"60":206,"85":15104,"24":30,"16":96448562988056576,"45":9095793528902150144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 17:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247561216001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:47:47] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 17:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96448562988056576,"km_value":96448562988056.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528902150144,"description":"Unknown IO ID 45"} 
[2026-06-23 17:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247561216001,"power":12885,"unknown_60":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9095793528902150144}} 
[2026-06-23 17:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":111214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:47:47] local.INFO: GPS data processed {"connection_id":111214,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:47:47] local.INFO: Acknowledgment sent {"connection_id":111214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:48:01] local.INFO: TCP Data received {"connection_id":111840,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:48:01] local.INFO: Processing buffer {"connection_id":111840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:48:01] local.INFO: Packet analysis {"connection_id":111840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:48:01] local.INFO: Extracted packet for processing {"connection_id":111840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 17:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:48:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:48:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":111840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:48:01] local.INFO: GPS data processed {"connection_id":111840,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:48:01] local.INFO: Acknowledgment sent {"connection_id":111840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:48:08] local.INFO: TCP Data received {"connection_id":112775,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:08] local.INFO: Processing buffer {"connection_id":112775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:08] local.INFO: IMEI packet received {"connection_id":112775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":112775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:48:10] local.INFO: TCP Data received {"connection_id":112775,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:10] local.INFO: Processing buffer {"connection_id":112775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:10] local.INFO: IMEI packet received {"connection_id":112775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":112775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:48:14] local.INFO: TCP Data received {"connection_id":112775,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:14] local.INFO: Processing buffer {"connection_id":112775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:48:14] local.INFO: IMEI packet received {"connection_id":112775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":112775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:48:15] local.INFO: TCP Data received {"connection_id":112775,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46a1730012d7e42c005e04670000000a92a..."} 
[2026-06-23 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46a1730012d7e42c005e04670000000a92a..."} 
[2026-06-23 17:48:15] local.INFO: Processing buffer {"connection_id":112775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46a1730012d7e42c005e04670000000a92a..."} 
[2026-06-23 17:48:15] local.INFO: Packet analysis {"connection_id":112775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:48:15] local.INFO: Extracted packet for processing {"connection_id":112775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763249344,"raw_latitude":98584176,"longitude_deg":76.3249344,"latitude_deg":9.8584176,"altitude":0,"angle":169,"satellites":42,"speed":38,"hex_longitude":"2d7e42c0","hex_latitude":"05e04670","is_valid_coordinates":true} 
[2026-06-23 17:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247563264001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96448996779753472,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903784044544,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782217054000,"timestamp_ms":1782217054000,"timestamp_seconds":1782217054,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46a1730"} 
[2026-06-23 17:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:48:15] 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-06-23 17:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 17:48:15] 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-06-23 17:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247563264001,"66":13059,"60":206,"85":15104,"24":38,"16":96448996779753472,"45":9097200903784044544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 17:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247563264001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:48:15] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 17:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96448996779753472,"km_value":96448996779753.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903784044544,"description":"Unknown IO ID 45"} 
[2026-06-23 17:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247563264001,"power":13059,"unknown_60":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9097200903784044544}} 
[2026-06-23 17:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":112775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:48:15] local.INFO: GPS data processed {"connection_id":112775,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:48:15] local.INFO: Acknowledgment sent {"connection_id":112775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:48:16] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-23 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-23 17:48:16] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-23 17:48:16] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 17:48:16] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 17:48: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-06-23 17:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 17:48:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 17:48:16] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 17:48:16] local.ERROR: GPS data processing failed {"connection_id":112773,"error":"No valid data to process"} 
[2026-06-23 17:48:16] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 17:48:24] local.INFO: TCP Data received {"connection_id":111039,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:48:24] local.INFO: Processing buffer {"connection_id":111039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:48:24] local.INFO: IMEI packet received {"connection_id":111039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":111039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:48:26] local.INFO: TCP Data received {"connection_id":112774,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:48:26] local.INFO: Processing buffer {"connection_id":112774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:48:26] local.INFO: IMEI packet received {"connection_id":112774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":112774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:48:29] local.INFO: TCP Data received {"connection_id":111039,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:48:29] local.INFO: Processing buffer {"connection_id":111039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:48:29] local.INFO: IMEI packet received {"connection_id":111039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":111039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:48:29] local.INFO: TCP Data received {"connection_id":111039,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:48:29] local.INFO: Processing buffer {"connection_id":111039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46617c0012cb29bc007822610004d00c330..."} 
[2026-06-23 17:48:29] local.INFO: Packet analysis {"connection_id":111039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:48:29] local.INFO: Extracted packet for processing {"connection_id":111039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef466"} 
[2026-06-23 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":48,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247421696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782216792000,"timestamp_ms":1782216792000,"timestamp_seconds":1782216792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46617c0"} 
[2026-06-23 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-06-23 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 17:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247421696001,"66":25451,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247421696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:48:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:48:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247421696001,"power":25451,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":111039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:48:29] local.INFO: GPS data processed {"connection_id":111039,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:48:29] local.INFO: Acknowledgment sent {"connection_id":111039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:48:46] local.INFO: TCP Data received {"connection_id":112775,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46a26d0012d7e480005e036f80001009d29..."} 
[2026-06-23 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46a26d0012d7e480005e036f80001009d29..."} 
[2026-06-23 17:48:46] local.INFO: Processing buffer {"connection_id":112775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46a26d0012d7e480005e036f80001009d29..."} 
[2026-06-23 17:48:46] local.INFO: Packet analysis {"connection_id":112775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:48:46] local.INFO: Extracted packet for processing {"connection_id":112775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763250688,"raw_latitude":98580216,"longitude_deg":76.3250688,"latitude_deg":9.8580216,"altitude":1,"angle":157,"satellites":41,"speed":42,"hex_longitude":"2d7e4800","hex_latitude":"05e036f8","is_valid_coordinates":true} 
[2026-06-23 17:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247565824001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96449198643216384,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098045328711905280,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782217058000,"timestamp_ms":1782217058000,"timestamp_seconds":1782217058,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46a26d0"} 
[2026-06-23 17:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:48:46] 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-06-23 17:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157358939559,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4100543456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2886729729,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221610670,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465511,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2795831296,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770361856,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,60,85,24,241,157,16,167,158,240,45,192,105,1,42,10,66,208,130,43,146,128,227,166,244,224,4,113,205,6,111,47,160,41,239,49,2,86,5,34],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-06-23 17:48:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":185997856210944,"timestamp_seconds":185997856210.944,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247565824001,"66":13037,"60":206,"85":15104,"24":42,"16":96449198643216384,"45":9098045328711905280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-23 17:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247565824001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:48:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 17:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96449198643216384,"km_value":96449198643216.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098045328711905280,"description":"Unknown IO ID 45"} 
[2026-06-23 17:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247565824001,"power":13037,"unknown_60":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9098045328711905280}} 
[2026-06-23 17:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":112775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:48:46] local.INFO: GPS data processed {"connection_id":112775,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:48:46] local.INFO: Acknowledgment sent {"connection_id":112775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:48:47] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-06-23 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-06-23 17:48:47] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-06-23 17:48:47] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 17:48:47] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 17:48: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-06-23 17:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:48:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 17:48:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:48:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 17:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 17:48:47] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 17:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 17:48:47] local.ERROR: GPS data processing failed {"connection_id":112773,"error":"No valid data to process"} 
[2026-06-23 17:48:47] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 17:49:01] local.INFO: TCP Data received {"connection_id":111039,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:49:01] local.INFO: Processing buffer {"connection_id":111039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:49:01] local.INFO: Packet analysis {"connection_id":111039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:49:01] local.INFO: Extracted packet for processing {"connection_id":111039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:49: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-06-23 17: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-06-23 17:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:49:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:49:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":111039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:49:01] local.INFO: GPS data processed {"connection_id":111039,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:49:01] local.INFO: Acknowledgment sent {"connection_id":111039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:49:09] local.INFO: TCP Data received {"connection_id":111216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:49:09] local.INFO: Processing buffer {"connection_id":111216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:49:09] local.INFO: IMEI packet received {"connection_id":111216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":111216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:49:10] local.INFO: TCP Data received {"connection_id":111217,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:49:10] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:49:10] local.INFO: IMEI packet received {"connection_id":111217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":111217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:49:15] local.INFO: TCP Data received {"connection_id":111217,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:49:15] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:49:15] local.INFO: IMEI packet received {"connection_id":111217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":111217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:49:16] local.INFO: TCP Data received {"connection_id":111217,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46a49f8012d7e554005e01398000100a12b..."} 
[2026-06-23 17:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46a49f8012d7e554005e01398000100a12b..."} 
[2026-06-23 17:49:16] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46a49f8012d7e554005e01398000100a12b..."} 
[2026-06-23 17:49:16] local.INFO: Packet analysis {"connection_id":111217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:49:16] local.INFO: Extracted packet for processing {"connection_id":111217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763254080,"raw_latitude":98571160,"longitude_deg":76.325408,"latitude_deg":9.857116,"altitude":1,"angle":161,"satellites":43,"speed":43,"hex_longitude":"2d7e5540","hex_latitude":"05e01398","is_valid_coordinates":true} 
[2026-06-23 17:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247566848001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96449666794651648,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099523072338622464,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:16] 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-06-23 17:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217067000,"timestamp_ms":1782217067000,"timestamp_seconds":1782217067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46a49f8"} 
[2026-06-23 17:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:49:16] 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-06-23 17:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 17:49:16] 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-06-23 17:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247566848001,"66":11917,"207":206,"85":15104,"24":43,"16":96449666794651648,"45":9099523072338622464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 17:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247566848001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:49:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 17:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96449666794651648,"km_value":96449666794651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099523072338622464,"description":"Unknown IO ID 45"} 
[2026-06-23 17:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247566848001,"power":11917,"unknown_207":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9099523072338622464}} 
[2026-06-23 17:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":111217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:49:16] local.INFO: GPS data processed {"connection_id":111217,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:49:16] local.INFO: Acknowledgment sent {"connection_id":111217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:49:19] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-06-23 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-06-23 17:49:19] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-06-23 17:49:19] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 17:49:19] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-23 17:49: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-06-23 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 17:49:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 17:49:19] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 17:49:19] local.ERROR: GPS data processing failed {"connection_id":112773,"error":"No valid data to process"} 
[2026-06-23 17:49:19] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 17:49:23] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:49:23] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:49:23] local.INFO: IMEI packet received {"connection_id":111040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":111040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:49:29] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:49:29] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:49:29] local.INFO: IMEI packet received {"connection_id":111040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":111040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:49:30] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:49:30] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:49:30] local.INFO: Packet analysis {"connection_id":111040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:49:30] local.INFO: Extracted packet for processing {"connection_id":111040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17: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":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:49: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-06-23 17: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-06-23 17:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:49:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":111040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:49:30] local.INFO: GPS data processed {"connection_id":111040,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:49:30] local.INFO: Acknowledgment sent {"connection_id":111040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:49:47] local.INFO: TCP Data received {"connection_id":111217,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46bc0f8012d7ecd8005dee5d8000500a728..."} 
[2026-06-23 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46bc0f8012d7ecd8005dee5d8000500a728..."} 
[2026-06-23 17:49:47] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46bc0f8012d7ecd8005dee5d8000500a728..."} 
[2026-06-23 17:49:47] local.INFO: Packet analysis {"connection_id":111217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:49:47] local.INFO: Extracted packet for processing {"connection_id":111217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763284864,"raw_latitude":98493912,"longitude_deg":76.3284864,"latitude_deg":9.8493912,"altitude":5,"angle":167,"satellites":40,"speed":33,"hex_longitude":"2d7ecd80","hex_latitude":"05dee5d8","is_valid_coordinates":true} 
[2026-06-23 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247592960001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96453738423648256,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136255556777879552,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:47] 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-06-23 17:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217163000,"timestamp_ms":1782217163000,"timestamp_seconds":1782217163,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46bc0f8"} 
[2026-06-23 17:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:49:47] 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-06-23 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 17:49:47] 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-06-23 17:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247592960001,"66":12939,"206":206,"85":15104,"24":33,"16":96453738423648256,"45":9136255556777879552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-23 17:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247592960001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:49:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 17:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96453738423648256,"km_value":96453738423648.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136255556777879552,"description":"Unknown IO ID 45"} 
[2026-06-23 17:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247592960001,"power":12939,"unknown_206":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9136255556777879552}} 
[2026-06-23 17:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":111217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:49:47] local.INFO: GPS data processed {"connection_id":111217,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:49:47] local.INFO: Acknowledgment sent {"connection_id":111217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:49:50] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46b76c00100000000000000000000000000..."} 
[2026-06-23 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46b76c00100000000000000000000000000..."} 
[2026-06-23 17:49:50] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46b76c00100000000000000000000000000..."} 
[2026-06-23 17:49:50] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:49:50] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:49: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-06-23 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:49:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 17:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782217144000,"timestamp_ms":1782217144000,"timestamp_seconds":1782217144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46b76c0"} 
[2026-06-23 17:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:49:50] 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-06-23 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-23 17:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 17:49:50] local.INFO: GPS data processed {"connection_id":112773,"processed":0,"errors":0,"total":1} 
[2026-06-23 17:49:50] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:01] local.INFO: TCP Data received {"connection_id":111040,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:01] local.INFO: Processing buffer {"connection_id":111040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:01] local.INFO: Packet analysis {"connection_id":111040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:50:01] local.INFO: Extracted packet for processing {"connection_id":111040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:50: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-06-23 17:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:50:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:50:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":111040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:50:01] local.INFO: GPS data processed {"connection_id":111040,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:50:01] local.INFO: Acknowledgment sent {"connection_id":111040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:10] local.INFO: TCP Data received {"connection_id":112776,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:50:10] local.INFO: Processing buffer {"connection_id":112776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:50:10] local.INFO: IMEI packet received {"connection_id":112776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":112776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:50:15] local.INFO: TCP Data received {"connection_id":112776,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:50:15] local.INFO: Processing buffer {"connection_id":112776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:50:15] local.INFO: IMEI packet received {"connection_id":112776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":112776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:50:16] local.INFO: TCP Data received {"connection_id":112776,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46be038012d7ed10005decc18000500b328..."} 
[2026-06-23 17:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46be038012d7ed10005decc18000500b328..."} 
[2026-06-23 17:50:16] local.INFO: Processing buffer {"connection_id":112776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46be038012d7ed10005decc18000500b328..."} 
[2026-06-23 17:50:16] local.INFO: Packet analysis {"connection_id":112776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:50:16] local.INFO: Extracted packet for processing {"connection_id":112776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":98487320,"longitude_deg":76.328576,"latitude_deg":9.848732,"altitude":5,"angle":179,"satellites":40,"speed":23,"hex_longitude":"2d7ed100","hex_latitude":"05decc18","is_valid_coordinates":true} 
[2026-06-23 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247593728001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96454060546195456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137099981707401216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:16] 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-06-23 17:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217171000,"timestamp_ms":1782217171000,"timestamp_seconds":1782217171,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46be038"} 
[2026-06-23 17:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:16] 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-06-23 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 17:50:16] 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-06-23 17:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247593728001,"66":13015,"206":206,"85":15104,"24":23,"16":96454060546195456,"45":9137099981707401216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-23 17:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247593728001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96454060546195456,"km_value":96454060546195.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137099981707401216,"description":"Unknown IO ID 45"} 
[2026-06-23 17:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247593728001,"power":13015,"unknown_206":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9137099981707401216}} 
[2026-06-23 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":112776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:50:16] local.INFO: GPS data processed {"connection_id":112776,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:50:16] local.INFO: Acknowledgment sent {"connection_id":112776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:21] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46bc8c80100000000000000000000000000..."} 
[2026-06-23 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46bc8c80100000000000000000000000000..."} 
[2026-06-23 17:50:21] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46bc8c80100000000000000000000000000..."} 
[2026-06-23 17:50:21] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:50:21] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46b"} 
[2026-06-23 17:50: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-06-23 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:21] 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-06-23 17:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782217165000,"timestamp_ms":1782217165000,"timestamp_seconds":1782217165,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46bc8c8"} 
[2026-06-23 17:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:21] 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-06-23 17:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 17:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 17:50:21] local.INFO: GPS data processed {"connection_id":112773,"processed":0,"errors":0,"total":1} 
[2026-06-23 17:50:21] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:28] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:50:28] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:50:28] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:50:33] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:50:33] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:50:33] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:50:34] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:34] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:34] local.INFO: Packet analysis {"connection_id":111219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:50:34] local.INFO: Extracted packet for processing {"connection_id":111219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:50:34] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:50: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-06-23 17: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-06-23 17:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:50:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:50:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":111219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:50:34] local.INFO: GPS data processed {"connection_id":111219,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:50:34] local.INFO: Acknowledgment sent {"connection_id":111219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:39] local.INFO: TCP Data received {"connection_id":111219,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:39] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:50:39] local.INFO: Packet analysis {"connection_id":111219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:50:39] local.INFO: Extracted packet for processing {"connection_id":111219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:50:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:50: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-06-23 17:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":111219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:50:39] local.INFO: GPS data processed {"connection_id":111219,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:50:39] local.INFO: Acknowledgment sent {"connection_id":111219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:48] local.INFO: TCP Data received {"connection_id":112776,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46c0f18012d7ed30005deae30000300a72c..."} 
[2026-06-23 17:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46c0f18012d7ed30005deae30000300a72c..."} 
[2026-06-23 17:50:48] local.INFO: Processing buffer {"connection_id":112776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46c0f18012d7ed30005deae30000300a72c..."} 
[2026-06-23 17:50:48] local.INFO: Packet analysis {"connection_id":112776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:50:48] local.INFO: Extracted packet for processing {"connection_id":112776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763286272,"raw_latitude":98479664,"longitude_deg":76.3286272,"latitude_deg":9.8479664,"altitude":3,"angle":167,"satellites":44,"speed":27,"hex_longitude":"2d7ed300","hex_latitude":"05deae30","is_valid_coordinates":true} 
[2026-06-23 17:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247595776001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96454434208350208,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085144124200960,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:48] 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-06-23 17:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782217183000,"timestamp_ms":1782217183000,"timestamp_seconds":1782217183,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46c0f18"} 
[2026-06-23 17:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:48] 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-06-23 17:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:50:48] 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-06-23 17:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":112776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":112776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":112776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247595776001,"66":12809,"206":206,"85":15104,"24":27,"16":96454434208350208,"45":9138085144124200960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-23 17:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247595776001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:50:48] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 17:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96454434208350208,"km_value":96454434208350.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085144124200960,"description":"Unknown IO ID 45"} 
[2026-06-23 17:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247595776001,"power":12809,"unknown_206":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9138085144124200960}} 
[2026-06-23 17:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":112776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:50:48] local.INFO: GPS data processed {"connection_id":112776,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:50:48] local.INFO: Acknowledgment sent {"connection_id":112776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:50:52] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46c1ad00100000000000000000000000000..."} 
[2026-06-23 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46c1ad00100000000000000000000000000..."} 
[2026-06-23 17:50:52] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46c1ad00100000000000000000000000000..."} 
[2026-06-23 17:50:52] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:50:52] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-23 17:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3854741738094592,"note":"Value kept but may cause issues"} 
[2026-06-23 17:50:52] 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-06-23 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782217186000,"timestamp_ms":1782217186000,"timestamp_seconds":1782217186,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46c1ad0"} 
[2026-06-23 17:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:50:52] 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-06-23 17:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 17:50:52] 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-06-23 17:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 17:50:52] local.INFO: GPS data processed {"connection_id":112773,"processed":0,"errors":0,"total":1} 
[2026-06-23 17:50:52] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:51:10] local.INFO: TCP Data received {"connection_id":111842,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:51:10] local.INFO: Processing buffer {"connection_id":111842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:51:10] local.INFO: IMEI packet received {"connection_id":111842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":111842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:51:15] local.INFO: TCP Data received {"connection_id":111842,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:51:15] local.INFO: Processing buffer {"connection_id":111842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:51:15] local.INFO: IMEI packet received {"connection_id":111842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":111842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:51:16] local.INFO: TCP Data received {"connection_id":111842,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46c41e0012d7edd8005de8a380001009e2b..."} 
[2026-06-23 17:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46c41e0012d7edd8005de8a380001009e2b..."} 
[2026-06-23 17:51:16] local.INFO: Processing buffer {"connection_id":111842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46c41e0012d7edd8005de8a380001009e2b..."} 
[2026-06-23 17:51:16] local.INFO: Packet analysis {"connection_id":111842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:51:16] local.INFO: Extracted packet for processing {"connection_id":111842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763288960,"raw_latitude":98470456,"longitude_deg":76.328896,"latitude_deg":9.8470456,"altitude":1,"angle":158,"satellites":43,"speed":32,"hex_longitude":"2d7edd80","hex_latitude":"05de8a38","is_valid_coordinates":true} 
[2026-06-23 17:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247598848001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96454898064818176,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138648094075662336,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] 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-06-23 17:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217196000,"timestamp_ms":1782217196000,"timestamp_seconds":1782217196,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46c41e0"} 
[2026-06-23 17:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:51:16] 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-06-23 17:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2089670227267683328,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4100672456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2364284251219651028,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":244,"raw_value":7731493092695383424,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4185391109,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465510,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2877423616,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121609545076309,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,206,85,24,241,157,16,172,158,224,45,204,5,40,10,66,192,128,229,181,1,240,227,244,222,4,113,205,29,114,176,41,239,49,207,2,86,50,59],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2798584014,"validated":0}]} 
[2026-06-23 17:51:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216356589535952896,"timestamp_seconds":216356589535952.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 17:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247598848001,"66":12765,"206":206,"85":15104,"24":32,"16":96454898064818176,"45":9138648094075662336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-23 17:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247598848001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:51:16] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 17:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96454898064818176,"km_value":96454898064818.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138648094075662336,"description":"Unknown IO ID 45"} 
[2026-06-23 17:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247598848001,"power":12765,"unknown_206":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9138648094075662336}} 
[2026-06-23 17:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":111842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:51:16] local.INFO: GPS data processed {"connection_id":111842,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:51:16] local.INFO: Acknowledgment sent {"connection_id":111842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:51:22] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46d66d8012d18c340072149a00045016307..."} 
[2026-06-23 17:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46d66d8012d18c340072149a00045016307..."} 
[2026-06-23 17:51:22] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46d66d8012d18c340072149a00045016307..."} 
[2026-06-23 17:51:22] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46d"} 
[2026-06-23 17:51:22] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46d"} 
[2026-06-23 17:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119622048,"longitude_deg":75.6597568,"latitude_deg":11.9622048,"altitude":69,"angle":355,"satellites":7,"speed":32,"hex_longitude":"2d18c340","hex_latitude":"072149a0","is_valid_coordinates":true} 
[2026-06-23 17:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247620864001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856287926321152,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712546816,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782217271000,"timestamp_ms":1782217271000,"timestamp_seconds":1782217271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46d66d8"} 
[2026-06-23 17:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-23 17:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247620864001,"66":14189,"103":206,"83":41984,"24":32,"16":3856287926321152,"45":1784621751712546816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 17:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247620864001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:51:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 17:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856287926321152,"km_value":3856287926321.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712546816,"description":"Unknown IO ID 45"} 
[2026-06-23 17:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247620864001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784621751712546816}} 
[2026-06-23 17:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:51:23] local.INFO: GPS data processed {"connection_id":112773,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:51:23] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:51:24] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:51:24] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:51:24] local.INFO: IMEI packet received {"connection_id":111220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":111220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:51:29] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:51:29] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:51:29] local.INFO: IMEI packet received {"connection_id":111220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":111220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:51:30] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:51:30] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:51:30] local.INFO: Packet analysis {"connection_id":111220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:51:30] local.INFO: Extracted packet for processing {"connection_id":111220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:51:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17: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-06-23 17:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:51:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":111220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:51:30] local.INFO: GPS data processed {"connection_id":111220,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:51:30] local.INFO: Acknowledgment sent {"connection_id":111220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:51:47] local.INFO: TCP Data received {"connection_id":111842,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46c68f0012d7eeb8005de68700000009e2a..."} 
[2026-06-23 17:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46c68f0012d7eeb8005de68700000009e2a..."} 
[2026-06-23 17:51:47] local.INFO: Processing buffer {"connection_id":111842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46c68f0012d7eeb8005de68700000009e2a..."} 
[2026-06-23 17:51:47] local.INFO: Packet analysis {"connection_id":111842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:51:47] local.INFO: Extracted packet for processing {"connection_id":111842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46c"} 
[2026-06-23 17:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763292544,"raw_latitude":98461808,"longitude_deg":76.3292544,"latitude_deg":9.8461808,"altitude":0,"angle":158,"satellites":42,"speed":36,"hex_longitude":"2d7eeb80","hex_latitude":"05de6870","is_valid_coordinates":true} 
[2026-06-23 17:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247602176001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96455353331351552,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141603581328766976,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:47] 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-06-23 17:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217206000,"timestamp_ms":1782217206000,"timestamp_seconds":1782217206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46c68f0"} 
[2026-06-23 17:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:51:47] 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-06-23 17:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 17:51: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-06-23 17:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247602176001,"66":13102,"206":206,"85":15104,"24":36,"16":96455353331351552,"45":9141603581328766976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-23 17:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247602176001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:51:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 17:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96455353331351552,"km_value":96455353331351.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141603581328766976,"description":"Unknown IO ID 45"} 
[2026-06-23 17:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247602176001,"power":13102,"unknown_206":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9141603581328766976}} 
[2026-06-23 17:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":111842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:51:47] local.INFO: GPS data processed {"connection_id":111842,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:51:47] local.INFO: Acknowledgment sent {"connection_id":111842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:51:53] local.INFO: TCP Data received {"connection_id":112773,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46d7a60012d18c140072158c80045015207..."} 
[2026-06-23 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46d7a60012d18c140072158c80045015207..."} 
[2026-06-23 17:51:53] local.INFO: Processing buffer {"connection_id":112773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46d7a60012d18c140072158c80045015207..."} 
[2026-06-23 17:51:53] local.INFO: Packet analysis {"connection_id":112773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46d"} 
[2026-06-23 17:51:53] local.INFO: Extracted packet for processing {"connection_id":112773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46d"} 
[2026-06-23 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119625928,"longitude_deg":75.6597056,"latitude_deg":11.9625928,"altitude":69,"angle":338,"satellites":7,"speed":33,"hex_longitude":"2d18c140","hex_latitude":"072158c8","is_valid_coordinates":true} 
[2026-06-23 17:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247621376001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856476904882176,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736270336,"note":"Value kept but may cause issues"} 
[2026-06-23 17:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782217276000,"timestamp_ms":1782217276000,"timestamp_seconds":1782217276,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46d7a60"} 
[2026-06-23 17:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 17:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247621376001,"66":14189,"103":206,"83":41984,"24":33,"16":3856476904882176,"45":1784340276736270336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 17:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247621376001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:51:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 17:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856476904882176,"km_value":3856476904882.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736270336,"description":"Unknown IO ID 45"} 
[2026-06-23 17:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247621376001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784340276736270336}} 
[2026-06-23 17:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":112773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:51:53] local.INFO: GPS data processed {"connection_id":112773,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:51:53] local.INFO: Acknowledgment sent {"connection_id":112773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:52:01] local.INFO: TCP Data received {"connection_id":111220,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:52:01] local.INFO: Processing buffer {"connection_id":111220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:52:01] local.INFO: Packet analysis {"connection_id":111220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:52:01] local.INFO: Extracted packet for processing {"connection_id":111220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:52:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:52: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-06-23 17:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:52:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:52:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":111220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:52:01] local.INFO: GPS data processed {"connection_id":111220,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:52:01] local.INFO: Acknowledgment sent {"connection_id":111220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:52:20] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:20] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:20] local.INFO: IMEI packet received {"connection_id":112777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":112777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:52:21] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:21] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:21] local.INFO: IMEI packet received {"connection_id":112777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":112777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:52:22] local.INFO: TCP Data received {"connection_id":111042,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:52:22] local.INFO: Processing buffer {"connection_id":111042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:52:22] local.INFO: IMEI packet received {"connection_id":111042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":111042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:52:24] local.INFO: TCP Data received {"connection_id":112778,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:52:24] local.INFO: Processing buffer {"connection_id":112778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:52:24] local.INFO: IMEI packet received {"connection_id":112778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":112778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:52:25] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:25] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:52:25] local.INFO: IMEI packet received {"connection_id":112777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":112777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:52:26] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46d8230012d18bdc007215db00045014207..."} 
[2026-06-23 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46d8230012d18bdc007215db00045014207..."} 
[2026-06-23 17:52:26] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46d8230012d18bdc007215db00045014207..."} 
[2026-06-23 17:52:26] local.INFO: Packet analysis {"connection_id":112777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46d"} 
[2026-06-23 17:52:26] local.INFO: Extracted packet for processing {"connection_id":112777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46d"} 
[2026-06-23 17:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119627184,"longitude_deg":75.659616,"latitude_deg":11.9627184,"altitude":69,"angle":322,"satellites":7,"speed":31,"hex_longitude":"2d18bdc0","hex_latitude":"07215db0","is_valid_coordinates":true} 
[2026-06-23 17:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247622656001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3856554214293504,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783842304,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782217278000,"timestamp_ms":1782217278000,"timestamp_seconds":1782217278,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46d8230"} 
[2026-06-23 17:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":512,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 17:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247622656001,"66":13961,"103":206,"83":41984,"24":31,"16":3856554214293504,"45":1783777326783842304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-06-23 17:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247622656001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:52:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-23 17:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3856554214293504,"km_value":3856554214293.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783842304,"description":"Unknown IO ID 45"} 
[2026-06-23 17:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247622656001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1783777326783842304}} 
[2026-06-23 17:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":112777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:52:26] local.INFO: GPS data processed {"connection_id":112777,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:52:26] local.INFO: Acknowledgment sent {"connection_id":112777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:52:29] local.INFO: TCP Data received {"connection_id":112778,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:52:29] local.INFO: Processing buffer {"connection_id":112778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:52:29] local.INFO: IMEI packet received {"connection_id":112778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":112778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:52:29] local.INFO: TCP Data received {"connection_id":112778,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:52:29] local.INFO: Processing buffer {"connection_id":112778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:52:29] local.INFO: Packet analysis {"connection_id":112778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:52:29] local.INFO: Extracted packet for processing {"connection_id":112778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:52:29] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:52:29] 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-06-23 17:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:52:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":112778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:52:29] local.INFO: GPS data processed {"connection_id":112778,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:52:29] local.INFO: Acknowledgment sent {"connection_id":112778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:52:36] local.INFO: TCP Data received {"connection_id":111042,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111042,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:52:36] local.INFO: Processing buffer {"connection_id":111042,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:52:36] local.INFO: IMEI packet received {"connection_id":111042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":111042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:52:37] local.INFO: TCP Data received {"connection_id":111042,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:52:37] local.INFO: Processing buffer {"connection_id":111042,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:52:37] local.INFO: IMEI packet received {"connection_id":111042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":111042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:52:57] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46ed608012d181e400721a7a80045014e0d..."} 
[2026-06-23 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46ed608012d181e400721a7a80045014e0d..."} 
[2026-06-23 17:52:57] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46ed608012d181e400721a7a80045014e0d..."} 
[2026-06-23 17:52:57] local.INFO: Packet analysis {"connection_id":112777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:52:57] local.INFO: Extracted packet for processing {"connection_id":112777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646120,"longitude_deg":75.6555328,"latitude_deg":11.964612,"altitude":69,"angle":334,"satellites":13,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721a7a8","is_valid_coordinates":true} 
[2026-06-23 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247644160001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858787597287424,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840962048,"note":"Value kept but may cause issues"} 
[2026-06-23 17:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782217365000,"timestamp_ms":1782217365000,"timestamp_seconds":1782217365,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46ed608"} 
[2026-06-23 17:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-23 17:52:57] 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-06-23 17:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247644160001,"66":14189,"105":206,"83":41984,"24":2,"16":3858787597287424,"45":1737826536840962048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247644160001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858787597287424,"km_value":3858787597287.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840962048,"description":"Unknown IO ID 45"} 
[2026-06-23 17:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247644160001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737826536840962048}} 
[2026-06-23 17:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":112777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:52:57] local.INFO: GPS data processed {"connection_id":112777,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:52:57] local.INFO: Acknowledgment sent {"connection_id":112777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:53:01] local.INFO: TCP Data received {"connection_id":112778,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:53:01] local.INFO: Processing buffer {"connection_id":112778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46aaf88012cb29bc007822610004d00c331..."} 
[2026-06-23 17:53:01] local.INFO: Packet analysis {"connection_id":112778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:53:01] local.INFO: Extracted packet for processing {"connection_id":112778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46a"} 
[2026-06-23 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":49,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247498752001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217093000,"timestamp_ms":1782217093000,"timestamp_seconds":1782217093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46aaf88"} 
[2026-06-23 17:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-23 17:53: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-06-23 17:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247498752001,"66":25473,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247498752001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:53:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247498752001,"power":25473,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":112778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:53:01] local.INFO: GPS data processed {"connection_id":112778,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:53:01] local.INFO: Acknowledgment sent {"connection_id":112778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:53:28] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46ed9f0012d181e400721a818004601640d..."} 
[2026-06-23 17:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46ed9f0012d181e400721a818004601640d..."} 
[2026-06-23 17:53:28] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46ed9f0012d181e400721a818004601640d..."} 
[2026-06-23 17:53:28] local.INFO: Packet analysis {"connection_id":112777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:28] local.INFO: Extracted packet for processing {"connection_id":112777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646232,"longitude_deg":75.6555328,"latitude_deg":11.9646232,"altitude":70,"angle":356,"satellites":13,"speed":4,"hex_longitude":"2d181e40","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247645440001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858791892254720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585174528,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782217366000,"timestamp_ms":1782217366000,"timestamp_seconds":1782217366,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46ed9f0"} 
[2026-06-23 17:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 17:53:28] 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-06-23 17: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-06-23 17:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247645440001,"66":14189,"105":206,"83":41984,"24":4,"16":3858791892254720,"45":1737896905585174528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247645440001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:53:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858791892254720,"km_value":3858791892254.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585174528,"description":"Unknown IO ID 45"} 
[2026-06-23 17:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247645440001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737896905585174528}} 
[2026-06-23 17:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":112777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:53:28] local.INFO: GPS data processed {"connection_id":112777,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:53:28] local.INFO: Acknowledgment sent {"connection_id":112777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:53:32] local.INFO: TCP Data received {"connection_id":111844,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:53:32] local.INFO: Processing buffer {"connection_id":111844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:53:32] local.INFO: IMEI packet received {"connection_id":111844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":111844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:53:33] local.INFO: TCP Data received {"connection_id":111844,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:53:33] local.INFO: Processing buffer {"connection_id":111844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:53:33] local.INFO: IMEI packet received {"connection_id":111844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":111844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:53:34] local.INFO: TCP Data received {"connection_id":111844,"ip":"117.225.209.96","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef4..."} 
[2026-06-23 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111844,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef4..."} 
[2026-06-23 17:53:34] local.INFO: Processing buffer {"connection_id":111844,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef4..."} 
[2026-06-23 17:53:34] local.INFO: IMEI packet received {"connection_id":111844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":111844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:53:47] local.INFO: TCP Data received {"connection_id":111844,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46eed78012cb297c007822238004d00c632..."} 
[2026-06-23 17:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46eed78012cb297c007822238004d00c632..."} 
[2026-06-23 17:53:47] local.INFO: Processing buffer {"connection_id":111844,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef46e87e8012cb29bc007822610004d00c333..."} 
[2026-06-23 17:53:47] local.INFO: Packet analysis {"connection_id":111844,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:47] local.INFO: Extracted packet for processing {"connection_id":111844,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:47] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125969936,"longitude_deg":74.9902784,"latitude_deg":12.5969936,"altitude":77,"angle":195,"satellites":51,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07822610","is_valid_coordinates":true} 
[2026-06-23 17:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247575808001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217345000,"timestamp_ms":1782217345000,"timestamp_seconds":1782217345,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46e87e8"} 
[2026-06-23 17:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 17:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-23 17:53: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-06-23 17:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247575808001,"66":25375,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247575808001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247575808001,"power":25375,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":111844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:53:47] local.INFO: GPS data processed {"connection_id":111844,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:53:47] local.INFO: Acknowledgment sent {"connection_id":111844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:53:47] local.INFO: Packet analysis {"connection_id":111844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:47] local.INFO: Extracted packet for processing {"connection_id":111844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:47] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968952,"longitude_deg":74.990176,"latitude_deg":12.5968952,"altitude":77,"angle":198,"satellites":50,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07822238","is_valid_coordinates":true} 
[2026-06-23 17:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247640320001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575087390720,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217371000,"timestamp_ms":1782217371000,"timestamp_seconds":1782217371,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46eed78"} 
[2026-06-23 17:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:53: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-06-23 17:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 17:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247640320001,"66":27821,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5576652575087390720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247640320001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575087390720,"description":"Unknown IO ID 44"} 
[2026-06-23 17:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247640320001,"power":27821,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5576652575087390720}} 
[2026-06-23 17:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":111844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:53:47] local.INFO: GPS data processed {"connection_id":111844,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:53:47] local.INFO: Acknowledgment sent {"connection_id":111844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:53:59] local.INFO: TCP Data received {"connection_id":112777,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46eddd8012d181e400721a8a00046001c0d..."} 
[2026-06-23 17:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46eddd8012d181e400721a8a00046001c0d..."} 
[2026-06-23 17:53:59] local.INFO: Processing buffer {"connection_id":112777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46eddd8012d181e400721a8a00046001c0d..."} 
[2026-06-23 17:53:59] local.INFO: Packet analysis {"connection_id":112777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:59] local.INFO: Extracted packet for processing {"connection_id":112777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46e"} 
[2026-06-23 17:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646368,"longitude_deg":75.6555328,"latitude_deg":11.9646368,"altitude":70,"angle":28,"satellites":13,"speed":5,"hex_longitude":"2d181e40","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247645696001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858800482189312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585203200,"note":"Value kept but may cause issues"} 
[2026-06-23 17:53: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-06-23 17:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782217367000,"timestamp_ms":1782217367000,"timestamp_seconds":1782217367,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46eddd8"} 
[2026-06-23 17:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 17:53:59] 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-06-23 17: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-06-23 17:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247645696001,"66":14211,"105":206,"83":41984,"24":5,"16":3858800482189312,"45":1737896905585203200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247645696001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:53:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858800482189312,"km_value":3858800482189.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585203200,"description":"Unknown IO ID 45"} 
[2026-06-23 17:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247645696001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737896905585203200}} 
[2026-06-23 17:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":112777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:54:00] local.INFO: GPS data processed {"connection_id":112777,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:54:00] local.INFO: Acknowledgment sent {"connection_id":112777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:54:19] local.INFO: TCP Data received {"connection_id":111222,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:54:19] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:54:19] local.INFO: IMEI packet received {"connection_id":111222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":111222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:54:23] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:23] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:23] local.INFO: IMEI packet received {"connection_id":111223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":111223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:54:24] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:24] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:24] local.INFO: IMEI packet received {"connection_id":111223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":111223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:54:25] local.INFO: TCP Data received {"connection_id":111222,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:54:25] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:54:25] local.INFO: IMEI packet received {"connection_id":111222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":111222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:54:25] local.INFO: TCP Data received {"connection_id":111222,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f10a0012d1824800721b2b80048000f0d..."} 
[2026-06-23 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f10a0012d1824800721b2b80048000f0d..."} 
[2026-06-23 17:54:25] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f10a0012d1824800721b2b80048000f0d..."} 
[2026-06-23 17:54:25] local.INFO: Packet analysis {"connection_id":111222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:54:25] local.INFO: Extracted packet for processing {"connection_id":111222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119648952,"longitude_deg":75.6556928,"latitude_deg":11.9648952,"altitude":72,"angle":15,"satellites":13,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-06-23 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247645952001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858946511077376,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585238016,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217380000,"timestamp_ms":1782217380000,"timestamp_seconds":1782217380,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f10a0"} 
[2026-06-23 17:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 17:54:25] 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-06-23 17:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247645952001,"66":14243,"105":206,"83":41984,"24":6,"16":3858946511077376,"45":1737896905585238016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247645952001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:54:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858946511077376,"km_value":3858946511077.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585238016,"description":"Unknown IO ID 45"} 
[2026-06-23 17:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247645952001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737896905585238016}} 
[2026-06-23 17:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":111222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:54:26] local.INFO: GPS data processed {"connection_id":111222,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:54:26] local.INFO: Acknowledgment sent {"connection_id":111222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:54:29] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:29] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:54:29] local.INFO: IMEI packet received {"connection_id":111223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":111223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:54:30] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f3f80012cb297c007822238004d00c630..."} 
[2026-06-23 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f3f80012cb297c007822238004d00c630..."} 
[2026-06-23 17:54:30] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f3f80012cb297c007822238004d00c630..."} 
[2026-06-23 17:54:30] local.INFO: Packet analysis {"connection_id":111223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:54:30] local.INFO: Extracted packet for processing {"connection_id":111223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749901760,"raw_latitude":125968952,"longitude_deg":74.990176,"latitude_deg":12.5968952,"altitude":77,"angle":198,"satellites":48,"speed":0,"hex_longitude":"2cb297c0","hex_latitude":"07822238","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247646976001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321289967789670400,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577778474994485248,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217392000,"timestamp_ms":1782217392000,"timestamp_seconds":1782217392,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f3f80"} 
[2026-06-23 17:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:54: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-06-23 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247646976001,"66":27821,"28":206,"27":54016,"24":0,"16":321289967789670400,"44":-5577778474994485248},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,27,24,16,44]} 
[2026-06-23 17:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247646976001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-23 17:54:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321289967789670400,"km_value":321289967789670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577778474994485248,"description":"Unknown IO ID 44"} 
[2026-06-23 17:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247646976001,"power":27821,"unknown_28":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5577778474994485248}} 
[2026-06-23 17:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":111223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:54:30] local.INFO: GPS data processed {"connection_id":111223,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:54:30] local.INFO: Acknowledgment sent {"connection_id":111223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:54:48] local.INFO: TCP Data received {"connection_id":111044,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:54:48] local.INFO: Processing buffer {"connection_id":111044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:54:48] local.INFO: IMEI packet received {"connection_id":111044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":111044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:54:57] local.INFO: TCP Data received {"connection_id":111222,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f1870012d1825000721b4380049001f0d..."} 
[2026-06-23 17:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f1870012d1825000721b4380049001f0d..."} 
[2026-06-23 17:54:57] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f1870012d1825000721b4380049001f0d..."} 
[2026-06-23 17:54:57] local.INFO: Packet analysis {"connection_id":111222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:54:57] local.INFO: Extracted packet for processing {"connection_id":111222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119649336,"longitude_deg":75.6557056,"latitude_deg":11.9649336,"altitude":73,"angle":31,"satellites":13,"speed":8,"hex_longitude":"2d182500","hex_latitude":"0721b438","is_valid_coordinates":true} 
[2026-06-23 17:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247649280001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3858967985913856,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190341120,"note":"Value kept but may cause issues"} 
[2026-06-23 17:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782217382000,"timestamp_ms":1782217382000,"timestamp_seconds":1782217382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f1870"} 
[2026-06-23 17:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-23 17:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247649280001,"66":14004,"105":206,"83":41984,"24":8,"16":3858967985913856,"45":1739656124190341120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247649280001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:54:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3858967985913856,"km_value":3858967985913.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190341120,"description":"Unknown IO ID 45"} 
[2026-06-23 17:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247649280001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739656124190341120}} 
[2026-06-23 17:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":111222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:54:57] local.INFO: GPS data processed {"connection_id":111222,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:54:57] local.INFO: Acknowledgment sent {"connection_id":111222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:55:02] local.INFO: TCP Data received {"connection_id":111223,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4703980012cb2f2400781cc100043007232..."} 
[2026-06-23 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4703980012cb2f2400781cc100043007232..."} 
[2026-06-23 17:55:02] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4703980012cb2f2400781cc100043007232..."} 
[2026-06-23 17:55:02] local.INFO: Packet analysis {"connection_id":111223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:55:02] local.INFO: Extracted packet for processing {"connection_id":111223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":749924928,"raw_latitude":125946896,"longitude_deg":74.9924928,"latitude_deg":12.5946896,"altitude":67,"angle":114,"satellites":50,"speed":44,"hex_longitude":"2cb2f240","hex_latitude":"0781cc10","is_valid_coordinates":true} 
[2026-06-23 17:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247666688001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321291647121883136,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5560256657698445312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782217456000,"timestamp_ms":1782217456000,"timestamp_seconds":1782217456,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4703980"} 
[2026-06-23 17:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:55:02] 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-06-23 17:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 17:55:02] 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-06-23 17:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247666688001,"66":27767,"126":206,"27":54016,"24":44,"16":321291647121883136,"44":-5560256657698445312},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247666688001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321291647121883136,"km_value":321291647121883.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5560256657698445312,"description":"Unknown IO ID 44"} 
[2026-06-23 17:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247666688001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5560256657698445312}} 
[2026-06-23 17:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":111223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:55:02] local.INFO: GPS data processed {"connection_id":111223,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:55:02] local.INFO: Acknowledgment sent {"connection_id":111223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:55:11] local.INFO: TCP Data received {"connection_id":112780,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:55:11] local.INFO: Processing buffer {"connection_id":112780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 17:55:11] local.INFO: IMEI packet received {"connection_id":112780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 17:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":112780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:55:19] local.INFO: TCP Data received {"connection_id":112781,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:55:19] local.INFO: Processing buffer {"connection_id":112781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:55:19] local.INFO: IMEI packet received {"connection_id":112781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":112781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:55:23] local.INFO: TCP Data received {"connection_id":112782,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:23] local.INFO: Processing buffer {"connection_id":112782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:23] local.INFO: IMEI packet received {"connection_id":112782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":112782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:55:25] local.INFO: TCP Data received {"connection_id":112781,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:55:25] local.INFO: Processing buffer {"connection_id":112781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:55:25] local.INFO: IMEI packet received {"connection_id":112781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":112781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:55:26] local.INFO: TCP Data received {"connection_id":112781,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f5308012d1827400721b6a0004900320e..."} 
[2026-06-23 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f5308012d1827400721b6a0004900320e..."} 
[2026-06-23 17:55:26] local.INFO: Processing buffer {"connection_id":112781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f5308012d1827400721b6a0004900320e..."} 
[2026-06-23 17:55:26] local.INFO: Packet analysis {"connection_id":112781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:55:26] local.INFO: Extracted packet for processing {"connection_id":112781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119649952,"longitude_deg":75.6557632,"latitude_deg":11.9649952,"altitude":73,"angle":50,"satellites":14,"speed":6,"hex_longitude":"2d182740","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-06-23 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247649792001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859010935586816,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678794752,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782217397000,"timestamp_ms":1782217397000,"timestamp_seconds":1782217397,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f5308"} 
[2026-06-23 17:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 17:55:26] 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-06-23 17:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247649792001,"66":14004,"105":206,"83":41984,"24":6,"16":3859010935586816,"45":1739796861678794752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247649792001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:55:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859010935586816,"km_value":3859010935586.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678794752,"description":"Unknown IO ID 45"} 
[2026-06-23 17:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247649792001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739796861678794752}} 
[2026-06-23 17:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":112781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:55:26] local.INFO: GPS data processed {"connection_id":112781,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:55:26] local.INFO: Acknowledgment sent {"connection_id":112781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:55:27] local.INFO: TCP Data received {"connection_id":112782,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:27] local.INFO: Processing buffer {"connection_id":112782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:27] local.INFO: IMEI packet received {"connection_id":112782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":112782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:55:28] local.INFO: TCP Data received {"connection_id":112782,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:28] local.INFO: Processing buffer {"connection_id":112782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:55:28] local.INFO: IMEI packet received {"connection_id":112782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":112782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:55:29] local.INFO: TCP Data received {"connection_id":112782,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4703980012cb2f2400781cc100043007232..."} 
[2026-06-23 17:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4703980012cb2f2400781cc100043007232..."} 
[2026-06-23 17:55:29] local.INFO: Processing buffer {"connection_id":112782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4703980012cb2f2400781cc100043007232..."} 
[2026-06-23 17:55:29] local.INFO: Packet analysis {"connection_id":112782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:55:29] local.INFO: Extracted packet for processing {"connection_id":112782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:55:29] local.INFO: GPS Element Parsed {"raw_longitude":749924928,"raw_latitude":125946896,"longitude_deg":74.9924928,"latitude_deg":12.5946896,"altitude":67,"angle":114,"satellites":50,"speed":44,"hex_longitude":"2cb2f240","hex_latitude":"0781cc10","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247668736001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321291647121883136,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5552304989607817216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782217456000,"timestamp_ms":1782217456000,"timestamp_seconds":1782217456,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4703980"} 
[2026-06-23 17:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:55:29] 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-06-23 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 17:55:29] 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-06-23 17: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-06-23 17:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247668736001,"66":27767,"126":206,"27":54016,"24":44,"16":321291647121883136,"44":-5552304989607817216},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247668736001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:55:29] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:55:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321291647121883136,"km_value":321291647121883.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5552304989607817216,"description":"Unknown IO ID 44"} 
[2026-06-23 17:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247668736001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5552304989607817216}} 
[2026-06-23 17:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":112782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:55:29] local.INFO: GPS data processed {"connection_id":112782,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:55:29] local.INFO: Acknowledgment sent {"connection_id":112782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:55:34] local.INFO: TCP Data received {"connection_id":112782,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4704150012cb2fa800781c9880042006433..."} 
[2026-06-23 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4704150012cb2fa800781c9880042006433..."} 
[2026-06-23 17:55:34] local.INFO: Processing buffer {"connection_id":112782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4704150012cb2fa800781c9880042006433..."} 
[2026-06-23 17:55:34] local.INFO: Packet analysis {"connection_id":112782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:55:34] local.INFO: Extracted packet for processing {"connection_id":112782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:55:34] local.INFO: GPS Element Parsed {"raw_longitude":749927040,"raw_latitude":125946248,"longitude_deg":74.992704,"latitude_deg":12.5946248,"altitude":66,"angle":100,"satellites":51,"speed":43,"hex_longitude":"2cb2fa80","hex_latitude":"0781c988","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247668736001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321291754496065536,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5552304989607817216,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782217458000,"timestamp_ms":1782217458000,"timestamp_seconds":1782217458,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4704150"} 
[2026-06-23 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-06-23 17:55: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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 17:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247668736001,"66":27876,"126":206,"27":54016,"24":43,"16":321291754496065536,"44":-5552304989607817216},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247668736001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:55:34] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:55:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321291754496065536,"km_value":321291754496065.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5552304989607817216,"description":"Unknown IO ID 44"} 
[2026-06-23 17:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247668736001,"power":27876,"unknown_126":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5552304989607817216}} 
[2026-06-23 17:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":112782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:55:34] local.INFO: GPS data processed {"connection_id":112782,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:55:34] local.INFO: Acknowledgment sent {"connection_id":112782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:55:57] local.INFO: TCP Data received {"connection_id":112781,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f56f0012d1827c00721b7000049003e0e..."} 
[2026-06-23 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f56f0012d1827c00721b7000049003e0e..."} 
[2026-06-23 17:55:57] local.INFO: Processing buffer {"connection_id":112781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f56f0012d1827c00721b7000049003e0e..."} 
[2026-06-23 17:55:57] local.INFO: Packet analysis {"connection_id":112781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:55:57] local.INFO: Extracted packet for processing {"connection_id":112781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119650048,"longitude_deg":75.655776,"latitude_deg":11.9650048,"altitude":73,"angle":62,"satellites":14,"speed":7,"hex_longitude":"2d1827c0","hex_latitude":"0721b700","is_valid_coordinates":true} 
[2026-06-23 17:55: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-06-23 17:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247653632001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859019525521408,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376551424,"note":"Value kept but may cause issues"} 
[2026-06-23 17:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782217398000,"timestamp_ms":1782217398000,"timestamp_seconds":1782217398,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f56f0"} 
[2026-06-23 17:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:55:57] 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-06-23 17:55: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":180,"data_length":795,"current_offset":136} 
[2026-06-23 17:55:57] 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-06-23 17:55: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-06-23 17:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247653632001,"66":14004,"105":206,"83":41984,"24":7,"16":3859019525521408,"45":1740430180376551424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247653632001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:55:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859019525521408,"km_value":3859019525521.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376551424,"description":"Unknown IO ID 45"} 
[2026-06-23 17:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247653632001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740430180376551424}} 
[2026-06-23 17:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":112781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:55:57] local.INFO: GPS data processed {"connection_id":112781,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:55:57] local.INFO: Acknowledgment sent {"connection_id":112781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:56:06] local.INFO: TCP Data received {"connection_id":112782,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4706478012cb320800781c4e80044006831..."} 
[2026-06-23 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4706478012cb320800781c4e80044006831..."} 
[2026-06-23 17:56:06] local.INFO: Processing buffer {"connection_id":112782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4706478012cb320800781c4e80044006831..."} 
[2026-06-23 17:56:06] local.INFO: Packet analysis {"connection_id":112782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:56:06] local.INFO: Extracted packet for processing {"connection_id":112782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":749936768,"raw_latitude":125945064,"longitude_deg":74.9936768,"latitude_deg":12.5945064,"altitude":68,"angle":104,"satellites":49,"speed":39,"hex_longitude":"2cb32080","hex_latitude":"0781c4e8","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247669248001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321292218352533504,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549982821050120192,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782217467000,"timestamp_ms":1782217467000,"timestamp_seconds":1782217467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4706478"} 
[2026-06-23 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:56: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-06-23 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 17:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247669248001,"66":27800,"126":206,"27":54016,"24":39,"16":321292218352533504,"44":-5549982821050120192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247669248001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321292218352533504,"km_value":321292218352533.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549982821050120192,"description":"Unknown IO ID 44"} 
[2026-06-23 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247669248001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-5549982821050120192}} 
[2026-06-23 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":112782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:56:06] local.INFO: GPS data processed {"connection_id":112782,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:56:06] local.INFO: Acknowledgment sent {"connection_id":112782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:56:19] local.INFO: TCP Data received {"connection_id":111224,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:56:19] local.INFO: Processing buffer {"connection_id":111224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:56:19] local.INFO: IMEI packet received {"connection_id":111224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":111224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:56:25] local.INFO: TCP Data received {"connection_id":111224,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:56:25] local.INFO: Processing buffer {"connection_id":111224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:56:25] local.INFO: IMEI packet received {"connection_id":111224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":111224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:56:25] local.INFO: TCP Data received {"connection_id":111224,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f5ad8012d1828800721b770004900240e..."} 
[2026-06-23 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f5ad8012d1828800721b770004900240e..."} 
[2026-06-23 17:56:25] local.INFO: Processing buffer {"connection_id":111224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f5ad8012d1828800721b770004900240e..."} 
[2026-06-23 17:56:25] local.INFO: Packet analysis {"connection_id":111224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:56:25] local.INFO: Extracted packet for processing {"connection_id":111224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119650160,"longitude_deg":75.6557952,"latitude_deg":11.965016,"altitude":73,"angle":36,"satellites":14,"speed":5,"hex_longitude":"2d182880","hex_latitude":"0721b770","is_valid_coordinates":true} 
[2026-06-23 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247653888001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859028115456000,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917864931328,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217399000,"timestamp_ms":1782217399000,"timestamp_seconds":1782217399,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f5ad8"} 
[2026-06-23 17:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:56:25] 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-06-23 17:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 17:56:25] 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-06-23 17:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247653888001,"66":13972,"105":206,"83":41984,"24":5,"16":3859028115456000,"45":1740570917864931328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247653888001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:56:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:56:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859028115456000,"km_value":3859028115456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917864931328,"description":"Unknown IO ID 45"} 
[2026-06-23 17:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247653888001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740570917864931328}} 
[2026-06-23 17:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":111224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:56:25] local.INFO: GPS data processed {"connection_id":111224,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:56:25] local.INFO: Acknowledgment sent {"connection_id":111224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:56:28] local.INFO: TCP Data received {"connection_id":111845,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:56:28] local.INFO: Processing buffer {"connection_id":111845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:56:28] local.INFO: IMEI packet received {"connection_id":111845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":111845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:56:31] local.INFO: TCP Data received {"connection_id":111845,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:56:31] local.INFO: Processing buffer {"connection_id":111845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:56:31] local.INFO: IMEI packet received {"connection_id":111845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":111845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:56:32] local.INFO: TCP Data received {"connection_id":111845,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4708f70012cb344800781b8600046006e31..."} 
[2026-06-23 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4708f70012cb344800781b8600046006e31..."} 
[2026-06-23 17:56:32] local.INFO: Processing buffer {"connection_id":111845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4708f70012cb344800781b8600046006e31..."} 
[2026-06-23 17:56:32] local.INFO: Packet analysis {"connection_id":111845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:56:32] local.INFO: Extracted packet for processing {"connection_id":111845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":749945984,"raw_latitude":125941856,"longitude_deg":74.9945984,"latitude_deg":12.5941856,"altitude":70,"angle":110,"satellites":49,"speed":30,"hex_longitude":"2cb34480","hex_latitude":"0781b860","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247671552001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321292682209001472,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5539286771935418368,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782217478000,"timestamp_ms":1782217478000,"timestamp_seconds":1782217478,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4708f70"} 
[2026-06-23 17:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:56:32] 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-06-23 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 17:56:32] 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-06-23 17: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-06-23 17:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247671552001,"66":27800,"126":206,"27":54016,"24":30,"16":321292682209001472,"44":-5539286771935418368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247671552001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:56:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:56:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321292682209001472,"km_value":321292682209001.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:56:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5539286771935418368,"description":"Unknown IO ID 44"} 
[2026-06-23 17:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247671552001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5539286771935418368}} 
[2026-06-23 17:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":111845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:56:32] local.INFO: GPS data processed {"connection_id":111845,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:56:32] local.INFO: Acknowledgment sent {"connection_id":111845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:56:33] local.INFO: TCP Data received {"connection_id":111845,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef470b680012cb35d000781ae200049007a31..."} 
[2026-06-23 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef470b680012cb35d000781ae200049007a31..."} 
[2026-06-23 17:56:33] local.INFO: Processing buffer {"connection_id":111845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef470b680012cb35d000781ae200049007a31..."} 
[2026-06-23 17:56:33] local.INFO: Packet analysis {"connection_id":111845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:56:33] local.INFO: Extracted packet for processing {"connection_id":111845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef470"} 
[2026-06-23 17:56:33] local.INFO: GPS Element Parsed {"raw_longitude":749952256,"raw_latitude":125939232,"longitude_deg":74.9952256,"latitude_deg":12.5939232,"altitude":73,"angle":122,"satellites":49,"speed":23,"hex_longitude":"2cb35d00","hex_latitude":"0781ae20","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247674368001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321293004331548672,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529153672774656000,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782217488000,"timestamp_ms":1782217488000,"timestamp_seconds":1782217488,"priority":1,"record_length":96,"hex_timestamp":"0000019ef470b680"} 
[2026-06-23 17:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:56:33] 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-06-23 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 17:56:33] 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-06-23 17: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-06-23 17:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247674368001,"66":27800,"126":206,"27":54016,"24":23,"16":321293004331548672,"44":-5529153672774656000},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247674368001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:56:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:56:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321293004331548672,"km_value":321293004331548.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:56:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529153672774656000,"description":"Unknown IO ID 44"} 
[2026-06-23 17:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247674368001,"power":27800,"unknown_126":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5529153672774656000}} 
[2026-06-23 17:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":111845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:56:33] local.INFO: GPS data processed {"connection_id":111845,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:56:33] local.INFO: Acknowledgment sent {"connection_id":111845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:56:56] local.INFO: TCP Data received {"connection_id":111224,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f5ec0012d1828800721b7d00049000e0e..."} 
[2026-06-23 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f5ec0012d1828800721b7d00049000e0e..."} 
[2026-06-23 17:56:56] local.INFO: Processing buffer {"connection_id":111224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f5ec0012d1828800721b7d00049000e0e..."} 
[2026-06-23 17:56:56] local.INFO: Packet analysis {"connection_id":111224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:56:56] local.INFO: Extracted packet for processing {"connection_id":111224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119650256,"longitude_deg":75.6557952,"latitude_deg":11.9650256,"altitude":73,"angle":14,"satellites":14,"speed":4,"hex_longitude":"2d182880","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247654144001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859032410423296,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097492992,"note":"Value kept but may cause issues"} 
[2026-06-23 17:56: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-06-23 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782217400000,"timestamp_ms":1782217400000,"timestamp_seconds":1782217400,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f5ec0"} 
[2026-06-23 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-06-23 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 17:56:56] 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-06-23 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-06-23 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-06-23 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247654144001,"66":13972,"105":206,"83":41984,"24":4,"16":3859032410423296,"45":1740782024097492992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247654144001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:56:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859032410423296,"km_value":3859032410423.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097492992,"description":"Unknown IO ID 45"} 
[2026-06-23 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247654144001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1740782024097492992}} 
[2026-06-23 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":111224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:56:56] local.INFO: GPS data processed {"connection_id":111224,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:56:56] local.INFO: Acknowledgment sent {"connection_id":111224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:57:06] local.INFO: TCP Data received {"connection_id":111845,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47100b8012cb37940078196c8004f008132..."} 
[2026-06-23 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47100b8012cb37940078196c8004f008132..."} 
[2026-06-23 17:57:06] local.INFO: Processing buffer {"connection_id":111845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47100b8012cb37940078196c8004f008132..."} 
[2026-06-23 17:57:06] local.INFO: Packet analysis {"connection_id":111845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef471"} 
[2026-06-23 17:57:06] local.INFO: Extracted packet for processing {"connection_id":111845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef471"} 
[2026-06-23 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":749959488,"raw_latitude":125933256,"longitude_deg":74.9959488,"latitude_deg":12.5933256,"altitude":79,"angle":129,"satellites":50,"speed":19,"hex_longitude":"2cb37940","hex_latitude":"078196c8","is_valid_coordinates":true} 
[2026-06-23 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247676928001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321293451008147456,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5522257535845916672,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782217507000,"timestamp_ms":1782217507000,"timestamp_seconds":1782217507,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47100b8"} 
[2026-06-23 17:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:57: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-06-23 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 17:57:06] 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-06-23 17:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247676928001,"66":27865,"126":206,"27":54016,"24":19,"16":321293451008147456,"44":-5522257535845916672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247676928001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:57:06] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:57:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321293451008147456,"km_value":321293451008147.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5522257535845916672,"description":"Unknown IO ID 44"} 
[2026-06-23 17:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247676928001,"power":27865,"unknown_126":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5522257535845916672}} 
[2026-06-23 17:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":111845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:57:06] local.INFO: GPS data processed {"connection_id":111845,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:57:06] local.INFO: Acknowledgment sent {"connection_id":111845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:57:20] local.INFO: TCP Data received {"connection_id":111847,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:20] local.INFO: Processing buffer {"connection_id":111847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:20] local.INFO: IMEI packet received {"connection_id":111847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":111847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:57:23] local.INFO: TCP Data received {"connection_id":111847,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:23] local.INFO: Processing buffer {"connection_id":111847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:23] local.INFO: IMEI packet received {"connection_id":111847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":111847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:57:25] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:57:25] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:57:25] local.INFO: IMEI packet received {"connection_id":111048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":111048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:57:29] local.INFO: TCP Data received {"connection_id":111847,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:29] local.INFO: Processing buffer {"connection_id":111847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:57:29] local.INFO: IMEI packet received {"connection_id":111847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":111847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:57:30] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:57:30] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:57:30] local.INFO: IMEI packet received {"connection_id":111048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":111048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:57:30] local.INFO: TCP Data received {"connection_id":111847,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4722998012cb45ec00780f7500041006c31..."} 
[2026-06-23 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4722998012cb45ec00780f7500041006c31..."} 
[2026-06-23 17:57:30] local.INFO: Processing buffer {"connection_id":111847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4722998012cb45ec00780f7500041006c31..."} 
[2026-06-23 17:57:30] local.INFO: Packet analysis {"connection_id":111847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:57:30] local.INFO: Extracted packet for processing {"connection_id":111847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":750018240,"raw_latitude":125892432,"longitude_deg":75.001824,"latitude_deg":12.5892432,"altitude":65,"angle":108,"satellites":49,"speed":11,"hex_longitude":"2cb45ec0","hex_latitude":"0780f750","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247697920001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321297015831003136,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5459558984795185152,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217583000,"timestamp_ms":1782217583000,"timestamp_seconds":1782217583,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4722998"} 
[2026-06-23 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-06-23 17:57:30] 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-06-23 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 17:57: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-06-23 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-06-23 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-06-23 17:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247697920001,"66":27908,"126":206,"27":54016,"24":11,"16":321297015831003136,"44":-5459558984795185152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247697920001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321297015831003136,"km_value":321297015831003.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5459558984795185152,"description":"Unknown IO ID 44"} 
[2026-06-23 17:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247697920001,"power":27908,"unknown_126":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5459558984795185152}} 
[2026-06-23 17:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":111847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:57:30] local.INFO: GPS data processed {"connection_id":111847,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:57:30] local.INFO: Acknowledgment sent {"connection_id":111847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:57:30] local.INFO: TCP Data received {"connection_id":111846,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:57:30] local.INFO: Processing buffer {"connection_id":111846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:57:30] local.INFO: IMEI packet received {"connection_id":111846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":111846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:57:30] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46f6690012d1828c00721b8100049001a0e..."} 
[2026-06-23 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46f6690012d1828c00721b8100049001a0e..."} 
[2026-06-23 17:57:30] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46f6690012d1828c00721b8100049001a0e..."} 
[2026-06-23 17:57:30] local.INFO: Packet analysis {"connection_id":111048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:57:30] local.INFO: Extracted packet for processing {"connection_id":111048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119650320,"longitude_deg":75.6558016,"latitude_deg":11.965032,"altitude":73,"angle":26,"satellites":14,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247654400001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859041000357888,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097517568,"note":"Value kept but may cause issues"} 
[2026-06-23 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-06-23 17:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217402000,"timestamp_ms":1782217402000,"timestamp_seconds":1782217402,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46f6690"} 
[2026-06-23 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-06-23 17:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":148,"data_length":795,"current_offset":136} 
[2026-06-23 17:57: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-06-23 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-06-23 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-06-23 17:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247654400001,"66":13276,"105":206,"83":41984,"24":0,"16":3859041000357888,"45":1740782024097517568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247654400001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859041000357888,"km_value":3859041000357.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097517568,"description":"Unknown IO ID 45"} 
[2026-06-23 17:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247654400001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740782024097517568}} 
[2026-06-23 17:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":111048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:57:30] local.INFO: GPS data processed {"connection_id":111048,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:57:30] local.INFO: Acknowledgment sent {"connection_id":111048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:57:31] local.INFO: TCP Data received {"connection_id":111846,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef472c5d8012d821fc005da8e08000200822a..."} 
[2026-06-23 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef472c5d8012d821fc005da8e08000200822a..."} 
[2026-06-23 17:57:31] local.INFO: Processing buffer {"connection_id":111846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef472c5d8012d821fc005da8e08000200822a..."} 
[2026-06-23 17:57:31] local.INFO: Packet analysis {"connection_id":111846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:57:31] local.INFO: Extracted packet for processing {"connection_id":111846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763502528,"raw_latitude":98209288,"longitude_deg":76.3502528,"latitude_deg":9.8209288,"altitude":2,"angle":130,"satellites":42,"speed":19,"hex_longitude":"2d821fc0","hex_latitude":"05da8e08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247711232001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96474315611963392,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070742205591769088,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:31] 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-06-23 17:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782217623000,"timestamp_ms":1782217623000,"timestamp_seconds":1782217623,"priority":1,"record_length":96,"hex_timestamp":"0000019ef472c5d8"} 
[2026-06-23 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-06-23 17:57: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-06-23 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:57: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-06-23 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-06-23 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-06-23 17:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247711232001,"66":13015,"71":206,"85":15104,"24":19,"16":96474315611963392,"45":-9070742205591769088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 17:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247711232001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:57:31] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 17:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96474315611963392,"km_value":96474315611963.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070742205591769088,"description":"Unknown IO ID 45"} 
[2026-06-23 17:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247711232001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9070742205591769088}} 
[2026-06-23 17:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":111846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:57:31] local.INFO: GPS data processed {"connection_id":111846,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:57:31] local.INFO: Acknowledgment sent {"connection_id":111846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:57:34] local.INFO: TCP Data received {"connection_id":111847,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4723550012cb462000780f6a00041005c32..."} 
[2026-06-23 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4723550012cb462000780f6a00041005c32..."} 
[2026-06-23 17:57:34] local.INFO: Processing buffer {"connection_id":111847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4723550012cb462000780f6a00041005c32..."} 
[2026-06-23 17:57:34] local.INFO: Packet analysis {"connection_id":111847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:57:34] local.INFO: Extracted packet for processing {"connection_id":111847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":750019072,"raw_latitude":125892256,"longitude_deg":75.0019072,"latitude_deg":12.5892256,"altitude":65,"angle":92,"satellites":50,"speed":10,"hex_longitude":"2cb46200","hex_latitude":"0780f6a0","is_valid_coordinates":true} 
[2026-06-23 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247701248001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321297054485708800,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449707360610725888,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782217586000,"timestamp_ms":1782217586000,"timestamp_seconds":1782217586,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4723550"} 
[2026-06-23 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:57: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-06-23 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 17:57:34] 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-06-23 17:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247701248001,"66":27843,"126":206,"27":54016,"24":10,"16":321297054485708800,"44":-5449707360610725888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247701248001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:57:34] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:57:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321297054485708800,"km_value":321297054485708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449707360610725888,"description":"Unknown IO ID 44"} 
[2026-06-23 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247701248001,"power":27843,"unknown_126":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5449707360610725888}} 
[2026-06-23 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":111847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:57:34] local.INFO: GPS data processed {"connection_id":111847,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:57:34] local.INFO: Acknowledgment sent {"connection_id":111847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:57:35] local.INFO: TCP Data received {"connection_id":111048,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef46fb898012d1828c00721b8280049001a0f..."} 
[2026-06-23 17:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef46fb898012d1828c00721b8280049001a0f..."} 
[2026-06-23 17:57:35] local.INFO: Processing buffer {"connection_id":111048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef46fb898012d1828c00721b8280049001a0f..."} 
[2026-06-23 17:57:35] local.INFO: Packet analysis {"connection_id":111048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:57:35] local.INFO: Extracted packet for processing {"connection_id":111048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef46f"} 
[2026-06-23 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119650344,"longitude_deg":75.6558016,"latitude_deg":11.9650344,"altitude":73,"angle":26,"satellites":15,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247654912001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859041000357888,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392841711616,"note":"Value kept but may cause issues"} 
[2026-06-23 17:57: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-06-23 17:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782217423000,"timestamp_ms":1782217423000,"timestamp_seconds":1782217423,"priority":1,"record_length":96,"hex_timestamp":"0000019ef46fb898"} 
[2026-06-23 17:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-23 17:57:35] 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-06-23 17: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-06-23 17:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247654912001,"66":13254,"105":206,"83":41984,"24":0,"16":3859041000357888,"45":1740852392841711616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247654912001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:57:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859041000357888,"km_value":3859041000357.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392841711616,"description":"Unknown IO ID 45"} 
[2026-06-23 17:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247654912001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392841711616}} 
[2026-06-23 17:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":111048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:57:35] local.INFO: GPS data processed {"connection_id":111048,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:57:35] local.INFO: Acknowledgment sent {"connection_id":111048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:58:05] local.INFO: TCP Data received {"connection_id":111847,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4725490012cb467400780f6a00042007132..."} 
[2026-06-23 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4725490012cb467400780f6a00042007132..."} 
[2026-06-23 17:58:05] local.INFO: Processing buffer {"connection_id":111847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4725490012cb467400780f6a00042007132..."} 
[2026-06-23 17:58:05] local.INFO: Packet analysis {"connection_id":111847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:05] local.INFO: Extracted packet for processing {"connection_id":111847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":750020416,"raw_latitude":125892256,"longitude_deg":75.0020416,"latitude_deg":12.5892256,"altitude":66,"angle":113,"satellites":50,"speed":11,"hex_longitude":"2cb46740","hex_latitude":"0780f6a0","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247702016001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321297123205185536,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448792566936461312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782217594000,"timestamp_ms":1782217594000,"timestamp_seconds":1782217594,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4725490"} 
[2026-06-23 17:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:58: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-06-23 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 17:58:05] 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-06-23 17: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-06-23 17:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247702016001,"66":27821,"126":206,"27":54016,"24":11,"16":321297123205185536,"44":-5448792566936461312},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247702016001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:58:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:58:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321297123205185536,"km_value":321297123205185.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448792566936461312,"description":"Unknown IO ID 44"} 
[2026-06-23 17:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247702016001,"power":27821,"unknown_126":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5448792566936461312}} 
[2026-06-23 17:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":111847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:58:05] local.INFO: GPS data processed {"connection_id":111847,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:58:05] local.INFO: Acknowledgment sent {"connection_id":111847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:58:10] local.INFO: TCP Data received {"connection_id":111225,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:10] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:10] local.INFO: IMEI packet received {"connection_id":111225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":111225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:58:11] local.INFO: TCP Data received {"connection_id":111225,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:11] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:11] local.INFO: IMEI packet received {"connection_id":111225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":111225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:58:15] local.INFO: TCP Data received {"connection_id":111225,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:15] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:58:15] local.INFO: IMEI packet received {"connection_id":111225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":111225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:58:16] local.INFO: TCP Data received {"connection_id":111225,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef472c9c0012d8220c005da8c780002008f2b..."} 
[2026-06-23 17:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef472c9c0012d8220c005da8c780002008f2b..."} 
[2026-06-23 17:58:16] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef472c9c0012d8220c005da8c780002008f2b..."} 
[2026-06-23 17:58:16] local.INFO: Packet analysis {"connection_id":111225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:16] local.INFO: Extracted packet for processing {"connection_id":111225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763502784,"raw_latitude":98208888,"longitude_deg":76.3502784,"latitude_deg":9.8208888,"altitude":2,"angle":143,"satellites":43,"speed":21,"hex_longitude":"2d8220c0","hex_latitude":"05da8c78","is_valid_coordinates":true} 
[2026-06-23 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247711488001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96474341381767168,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070319993126778880,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:16] 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-06-23 17:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217624000,"timestamp_ms":1782217624000,"timestamp_seconds":1782217624,"priority":1,"record_length":96,"hex_timestamp":"0000019ef472c9c0"} 
[2026-06-23 17:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:58:16] 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-06-23 17:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247711488001,"66":13015,"71":206,"85":15104,"24":21,"16":96474341381767168,"45":-9070319993126778880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 17:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247711488001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:58:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 17:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96474341381767168,"km_value":96474341381767.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070319993126778880,"description":"Unknown IO ID 45"} 
[2026-06-23 17:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247711488001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9070319993126778880}} 
[2026-06-23 17:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":111225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:58:16] local.INFO: GPS data processed {"connection_id":111225,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:58:16] local.INFO: Acknowledgment sent {"connection_id":111225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:58:20] local.INFO: TCP Data received {"connection_id":111226,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:58:20] local.INFO: Processing buffer {"connection_id":111226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:58:20] local.INFO: IMEI packet received {"connection_id":111226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":111226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:58:23] local.INFO: TCP Data received {"connection_id":111849,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:23] local.INFO: Processing buffer {"connection_id":111849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:23] local.INFO: IMEI packet received {"connection_id":111849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":111849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:58:23] local.INFO: TCP Data received {"connection_id":111849,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:23] local.INFO: Processing buffer {"connection_id":111849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:23] local.INFO: IMEI packet received {"connection_id":111849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":111849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:58:25] local.INFO: TCP Data received {"connection_id":111226,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:58:25] local.INFO: Processing buffer {"connection_id":111226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:58:25] local.INFO: IMEI packet received {"connection_id":111226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":111226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:58:25] local.INFO: TCP Data received {"connection_id":111226,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4733b08012d1828c00721b8280049001a1f..."} 
[2026-06-23 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4733b08012d1828c00721b8280049001a1f..."} 
[2026-06-23 17:58:25] local.INFO: Processing buffer {"connection_id":111226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4733b08012d1828c00721b8280049001a1f..."} 
[2026-06-23 17:58:25] local.INFO: Packet analysis {"connection_id":111226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:58:25] local.INFO: Extracted packet for processing {"connection_id":111226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:58:25] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119650344,"longitude_deg":75.6558016,"latitude_deg":11.9650344,"altitude":73,"angle":26,"satellites":31,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-23 17:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247714048001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859041000357888,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392841717760,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217653000,"timestamp_ms":1782217653000,"timestamp_seconds":1782217653,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4733b08"} 
[2026-06-23 17:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:58:25] 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-06-23 17:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 17:58:25] 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-06-23 17:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247714048001,"66":12841,"105":206,"83":41984,"24":0,"16":3859041000357888,"45":1740852392841717760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247714048001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:58:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859041000357888,"km_value":3859041000357.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392841717760,"description":"Unknown IO ID 45"} 
[2026-06-23 17:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247714048001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392841717760}} 
[2026-06-23 17:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":111226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:58:26] local.INFO: GPS data processed {"connection_id":111226,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:58:26] local.INFO: Acknowledgment sent {"connection_id":111226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:58:29] local.INFO: TCP Data received {"connection_id":111849,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:29] local.INFO: Processing buffer {"connection_id":111849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:58:29] local.INFO: IMEI packet received {"connection_id":111849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":111849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:58:30] local.INFO: TCP Data received {"connection_id":111849,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4725878012cb468400780f6000042008530..."} 
[2026-06-23 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4725878012cb468400780f6000042008530..."} 
[2026-06-23 17:58:30] local.INFO: Processing buffer {"connection_id":111849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4725878012cb468400780f6000042008530..."} 
[2026-06-23 17:58:30] local.INFO: Packet analysis {"connection_id":111849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:30] local.INFO: Extracted packet for processing {"connection_id":111849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":750020672,"raw_latitude":125892096,"longitude_deg":75.0020672,"latitude_deg":12.5892096,"altitude":66,"angle":133,"satellites":48,"speed":11,"hex_longitude":"2cb46840","hex_latitude":"0780f600","is_valid_coordinates":true} 
[2026-06-23 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-06-23 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247704064001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321297136090087424,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447314823308730368,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217595000,"timestamp_ms":1782217595000,"timestamp_seconds":1782217595,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4725878"} 
[2026-06-23 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-06-23 17:58:30] 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-06-23 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247704064001,"66":27821,"126":206,"27":54016,"24":11,"16":321297136090087424,"44":-5447314823308730368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247704064001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:58:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:58:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321297136090087424,"km_value":321297136090087.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447314823308730368,"description":"Unknown IO ID 44"} 
[2026-06-23 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247704064001,"power":27821,"unknown_126":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5447314823308730368}} 
[2026-06-23 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":111849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:58:30] local.INFO: GPS data processed {"connection_id":111849,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:58:30] local.INFO: Acknowledgment sent {"connection_id":111849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:58:47] local.INFO: TCP Data received {"connection_id":111225,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef472d190012d82230005da87f00002009e2c..."} 
[2026-06-23 17:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef472d190012d82230005da87f00002009e2c..."} 
[2026-06-23 17:58:47] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef472d190012d82230005da87f00002009e2c..."} 
[2026-06-23 17:58:47] local.INFO: Packet analysis {"connection_id":111225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:47] local.INFO: Extracted packet for processing {"connection_id":111225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763503360,"raw_latitude":98207728,"longitude_deg":76.350336,"latitude_deg":9.8207728,"altitude":2,"angle":158,"satellites":44,"speed":27,"hex_longitude":"2d822300","hex_latitude":"05da87f0","is_valid_coordinates":true} 
[2026-06-23 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247711744001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96474401511309312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070038518150170624,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:47] 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-06-23 17:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217626000,"timestamp_ms":1782217626000,"timestamp_seconds":1782217626,"priority":1,"record_length":96,"hex_timestamp":"0000019ef472d190"} 
[2026-06-23 17:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:58: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-06-23 17:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-23 17:58:47] 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-06-23 17:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247711744001,"66":12917,"71":206,"85":15104,"24":27,"16":96474401511309312,"45":-9070038518150170624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 17:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247711744001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:58:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 17:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96474401511309312,"km_value":96474401511309.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070038518150170624,"description":"Unknown IO ID 45"} 
[2026-06-23 17:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247711744001,"power":12917,"unknown_71":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9070038518150170624}} 
[2026-06-23 17:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":111225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:58:47] local.INFO: GPS data processed {"connection_id":111225,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:58:47] local.INFO: Acknowledgment sent {"connection_id":111225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:58:56] local.INFO: TCP Data received {"connection_id":111226,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4738d10012d1828c00721b8280049001a1f..."} 
[2026-06-23 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4738d10012d1828c00721b8280049001a1f..."} 
[2026-06-23 17:58:56] local.INFO: Processing buffer {"connection_id":111226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4738d10012d1828c00721b8280049001a1f..."} 
[2026-06-23 17:58:56] local.INFO: Packet analysis {"connection_id":111226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:58:56] local.INFO: Extracted packet for processing {"connection_id":111226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119650344,"longitude_deg":75.6558016,"latitude_deg":11.9650344,"altitude":73,"angle":26,"satellites":31,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-23 17:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247719168001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859041000357888,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392841717760,"note":"Value kept but may cause issues"} 
[2026-06-23 17:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782217674000,"timestamp_ms":1782217674000,"timestamp_seconds":1782217674,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4738d10"} 
[2026-06-23 17:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:58:56] 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-06-23 17:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 17:58:56] 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-06-23 17:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247719168001,"66":13972,"105":206,"83":41984,"24":0,"16":3859041000357888,"45":1740852392841717760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247719168001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:58:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859041000357888,"km_value":3859041000357.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392841717760,"description":"Unknown IO ID 45"} 
[2026-06-23 17:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247719168001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392841717760}} 
[2026-06-23 17:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":111226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:58:56] local.INFO: GPS data processed {"connection_id":111226,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:58:56] local.INFO: Acknowledgment sent {"connection_id":111226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:59:01] local.INFO: TCP Data received {"connection_id":111849,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4725c60012cb468c00780f5100042009c32..."} 
[2026-06-23 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4725c60012cb468c00780f5100042009c32..."} 
[2026-06-23 17:59:01] local.INFO: Processing buffer {"connection_id":111849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4725c60012cb468c00780f5100042009c32..."} 
[2026-06-23 17:59:01] local.INFO: Packet analysis {"connection_id":111849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:59:01] local.INFO: Extracted packet for processing {"connection_id":111849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":750020800,"raw_latitude":125891856,"longitude_deg":75.00208,"latitude_deg":12.5891856,"altitude":66,"angle":156,"satellites":50,"speed":12,"hex_longitude":"2cb468c0","hex_latitude":"0780f510","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247704320001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321297148974989312,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447033348332060672,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217596000,"timestamp_ms":1782217596000,"timestamp_seconds":1782217596,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4725c60"} 
[2026-06-23 17:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:59:01] 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-06-23 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 17:59:01] 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-06-23 17: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-06-23 17:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247704320001,"66":27767,"126":206,"27":54016,"24":12,"16":321297148974989312,"44":-5447033348332060672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,27,24,16,44]} 
[2026-06-23 17:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247704320001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:59:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-23 17:59:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321297148974989312,"km_value":321297148974989.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447033348332060672,"description":"Unknown IO ID 44"} 
[2026-06-23 17:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247704320001,"power":27767,"unknown_126":206,"unknown_27":54016,"ignition":12,"odometer":null,"unknown_44":-5447033348332060672}} 
[2026-06-23 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":111849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:59:01] local.INFO: GPS data processed {"connection_id":111849,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:59:01] local.INFO: Acknowledgment sent {"connection_id":111849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:59:21] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:21] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:21] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 17:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:59:23] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:23] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:23] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:59:28] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:28] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 17:59:28] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 17:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:59:29] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef473e6e8012cb440c007803560005500bd31..."} 
[2026-06-23 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef473e6e8012cb440c007803560005500bd31..."} 
[2026-06-23 17:59:29] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef473e6e8012cb440c007803560005500bd31..."} 
[2026-06-23 17:59:29] local.INFO: Packet analysis {"connection_id":111227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:29] local.INFO: Extracted packet for processing {"connection_id":111227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":750010560,"raw_latitude":125842784,"longitude_deg":75.001056,"latitude_deg":12.5842784,"altitude":85,"angle":189,"satellites":49,"speed":35,"hex_longitude":"2cb440c0","hex_latitude":"07803560","is_valid_coordinates":true} 
[2026-06-23 17: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-06-23 17:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247727360001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321299605696282624,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5456251653829677056,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 17:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782217697000,"timestamp_ms":1782217697000,"timestamp_seconds":1782217697,"priority":1,"record_length":96,"hex_timestamp":"0000019ef473e6e8"} 
[2026-06-23 17:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:59:29] 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-06-23 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 17:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17: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-06-23 17:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 17:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 17:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 17:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247727360001,"66":27908,"125":206,"27":54016,"24":35,"16":321299605696282624,"44":-5456251653829677056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 17:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 17:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 17:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247727360001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:59:29] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 17:59:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 17:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321299605696282624,"km_value":321299605696282.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5456251653829677056,"description":"Unknown IO ID 44"} 
[2026-06-23 17:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247727360001,"power":27908,"unknown_125":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5456251653829677056}} 
[2026-06-23 17:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":111227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:59:29] local.INFO: GPS data processed {"connection_id":111227,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:59:29] local.INFO: Acknowledgment sent {"connection_id":111227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:59:29] local.INFO: TCP Data received {"connection_id":112786,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:59:29] local.INFO: Processing buffer {"connection_id":112786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:59:29] local.INFO: IMEI packet received {"connection_id":112786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":112786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:59:34] local.INFO: TCP Data received {"connection_id":112786,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:59:34] local.INFO: Processing buffer {"connection_id":112786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 17:59:34] local.INFO: IMEI packet received {"connection_id":112786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 17:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":112786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:59:35] local.INFO: TCP Data received {"connection_id":112786,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef473c7a8012d1827000721b9b8005000f51f..."} 
[2026-06-23 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef473c7a8012d1827000721b9b8005000f51f..."} 
[2026-06-23 17:59:35] local.INFO: Processing buffer {"connection_id":112786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef473c7a8012d1827000721b9b8005000f51f..."} 
[2026-06-23 17:59:35] local.INFO: Packet analysis {"connection_id":112786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:35] local.INFO: Extracted packet for processing {"connection_id":112786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650744,"longitude_deg":75.6557568,"latitude_deg":11.9650744,"altitude":80,"angle":245,"satellites":31,"speed":5,"hex_longitude":"2d182700","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-06-23 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247724544001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859071065128960,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392841717760,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59: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-06-23 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782217689000,"timestamp_ms":1782217689000,"timestamp_seconds":1782217689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef473c7a8"} 
[2026-06-23 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:59:35] 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-06-23 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 17:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247724544001,"66":14102,"105":206,"83":41984,"24":5,"16":3859071065128960,"45":1740852392841717760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247724544001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859071065128960,"km_value":3859071065128.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392841717760,"description":"Unknown IO ID 45"} 
[2026-06-23 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247724544001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740852392841717760}} 
[2026-06-23 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":112786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:59:35] local.INFO: GPS data processed {"connection_id":112786,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:59:35] local.INFO: Acknowledgment sent {"connection_id":112786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:59:40] local.INFO: TCP Data received {"connection_id":112785,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112785,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:59:40] local.INFO: Processing buffer {"connection_id":112785,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 17:59:40] local.INFO: IMEI packet received {"connection_id":112785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":112785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 17:59:40] local.INFO: TCP Data received {"connection_id":112785,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112785,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:59:40] local.INFO: Processing buffer {"connection_id":112785,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 17:59:40] local.INFO: IMEI packet received {"connection_id":112785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":112785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:59:41] local.INFO: TCP Data received {"connection_id":112785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef472fc88012d822ec005da66b80003009d2b..."} 
[2026-06-23 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef472fc88012d822ec005da66b80003009d2b..."} 
[2026-06-23 17:59:41] local.INFO: Processing buffer {"connection_id":112785,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ef4..."} 
[2026-06-23 17:59:41] local.INFO: IMEI packet received {"connection_id":112785,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 17:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":112785,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 17:59:42] local.INFO: TCP Data received {"connection_id":112785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47313f8012d82360005da4fc0000300a92c..."} 
[2026-06-23 17:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47313f8012d82360005da4fc0000300a92c..."} 
[2026-06-23 17:59:42] local.INFO: Processing buffer {"connection_id":112785,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef472fc88012d822ec005da66b80003009d2b..."} 
[2026-06-23 17:59:42] local.INFO: Packet analysis {"connection_id":112785,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:59:42] local.INFO: Extracted packet for processing {"connection_id":112785,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef472"} 
[2026-06-23 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763506368,"raw_latitude":98199224,"longitude_deg":76.3506368,"latitude_deg":9.8199224,"altitude":3,"angle":157,"satellites":43,"speed":38,"hex_longitude":"2d822ec0","hex_latitude":"05da66b8","is_valid_coordinates":true} 
[2026-06-23 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247712256001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96474839597973504,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069405199452868608,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] 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-06-23 17:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782217637000,"timestamp_ms":1782217637000,"timestamp_seconds":1782217637,"priority":1,"record_length":96,"hex_timestamp":"0000019ef472fc88"} 
[2026-06-23 17:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-23 17:59:42] 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-06-23 17:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247712256001,"66":12961,"71":206,"85":15104,"24":38,"16":96474839597973504,"45":-9069405199452868608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247712256001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96474839597973504,"km_value":96474839597973.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069405199452868608,"description":"Unknown IO ID 45"} 
[2026-06-23 17:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247712256001,"power":12961,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9069405199452868608}} 
[2026-06-23 17:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":112785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:59:42] local.INFO: GPS data processed {"connection_id":112785,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:59:42] local.INFO: Acknowledgment sent {"connection_id":112785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:59:42] local.INFO: Packet analysis {"connection_id":112785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:42] local.INFO: Extracted packet for processing {"connection_id":112785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763508224,"raw_latitude":98193344,"longitude_deg":76.3508224,"latitude_deg":9.8193344,"altitude":3,"angle":169,"satellites":44,"speed":39,"hex_longitude":"2d823600","hex_latitude":"05da4fc0","is_valid_coordinates":true} 
[2026-06-23 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247715072001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96475135950716928,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066097868478695424,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] 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-06-23 17:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782217643000,"timestamp_ms":1782217643000,"timestamp_seconds":1782217643,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47313f8"} 
[2026-06-23 17:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 17:59:42] 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-06-23 17:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247715072001,"66":12939,"71":206,"85":15104,"24":39,"16":96475135950716928,"45":-9066097868478695424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247715072001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96475135950716928,"km_value":96475135950716.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066097868478695424,"description":"Unknown IO ID 45"} 
[2026-06-23 17:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247715072001,"power":12939,"unknown_71":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9066097868478695424}} 
[2026-06-23 17:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":112785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:59:42] local.INFO: GPS data processed {"connection_id":112785,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:59:42] local.INFO: Acknowledgment sent {"connection_id":112785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 17:59:42] local.INFO: TCP Data received {"connection_id":112785,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4733720012d823bc005da2bb8000400ab2c..."} 
[2026-06-23 17:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4733720012d823bc005da2bb8000400ab2c..."} 
[2026-06-23 17:59:42] local.INFO: Processing buffer {"connection_id":112785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4733720012d823bc005da2bb8000400ab2c..."} 
[2026-06-23 17:59:42] local.INFO: Packet analysis {"connection_id":112785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:42] local.INFO: Extracted packet for processing {"connection_id":112785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":763509696,"raw_latitude":98184120,"longitude_deg":76.3509696,"latitude_deg":9.818412,"altitude":4,"angle":171,"satellites":44,"speed":41,"hex_longitude":"2d823bc0","hex_latitude":"05da2bb8","is_valid_coordinates":true} 
[2026-06-23 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247716608001,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96475591217250304,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064057174899048448,"note":"Value kept but may cause issues"} 
[2026-06-23 17:59:42] 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-06-23 17:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782217652000,"timestamp_ms":1782217652000,"timestamp_seconds":1782217652,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4733720"} 
[2026-06-23 17:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 17:59: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-06-23 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 17:59:42] 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-06-23 17:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 17:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 17:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 17:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":112785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 17:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":112785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":112785,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 17:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247716608001,"66":12798,"71":206,"85":15104,"24":41,"16":96475591217250304,"45":-9064057174899048448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-23 17:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247716608001,"description":"Unknown IO ID 0"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 17:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96475591217250304,"km_value":96475591217250.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 17:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064057174899048448,"description":"Unknown IO ID 45"} 
[2026-06-23 17:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247716608001,"power":12798,"unknown_71":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9064057174899048448}} 
[2026-06-23 17:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":112785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 17:59:42] local.INFO: GPS data processed {"connection_id":112785,"processed":1,"errors":0,"total":1} 
[2026-06-23 17:59:42] local.INFO: Acknowledgment sent {"connection_id":112785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:04] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4740df8012cb4378007800fc0005300c52f..."} 
[2026-06-23 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4740df8012cb4378007800fc0005300c52f..."} 
[2026-06-23 18:00:04] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4740df8012cb4378007800fc0005300c52f..."} 
[2026-06-23 18:00:04] local.INFO: Packet analysis {"connection_id":111227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:00:04] local.INFO: Extracted packet for processing {"connection_id":111227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750008192,"raw_latitude":125833152,"longitude_deg":75.0008192,"latitude_deg":12.5833152,"altitude":83,"angle":197,"satellites":47,"speed":42,"hex_longitude":"2cb43780","hex_latitude":"07800fc0","is_valid_coordinates":true} 
[2026-06-23 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247730432001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321300082437652480,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5458151609924755456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782217707000,"timestamp_ms":1782217707000,"timestamp_seconds":1782217707,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4740df8"} 
[2026-06-23 18:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:04] 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-06-23 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247730432001,"66":27800,"125":206,"27":54016,"24":42,"16":321300082437652480,"44":-5458151609924755456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247730432001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:04] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 18:00:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321300082437652480,"km_value":321300082437652.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5458151609924755456,"description":"Unknown IO ID 44"} 
[2026-06-23 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247730432001,"power":27800,"unknown_125":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5458151609924755456}} 
[2026-06-23 18:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":111227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:04] local.INFO: GPS data processed {"connection_id":111227,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:04] local.INFO: Acknowledgment sent {"connection_id":111227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:10] local.INFO: TCP Data received {"connection_id":112788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:10] local.INFO: Processing buffer {"connection_id":112788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:10] local.INFO: IMEI packet received {"connection_id":112788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":112788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:00:13] local.INFO: TCP Data received {"connection_id":112788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:13] local.INFO: Processing buffer {"connection_id":112788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:13] local.INFO: IMEI packet received {"connection_id":112788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":112788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:00:15] local.INFO: TCP Data received {"connection_id":112788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:15] local.INFO: Processing buffer {"connection_id":112788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:00:15] local.INFO: IMEI packet received {"connection_id":112788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":112788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:00:16] local.INFO: TCP Data received {"connection_id":112788,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4752b20012d8287c005d8c6c8000a00af29..."} 
[2026-06-23 18:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4752b20012d8287c005d8c6c8000a00af29..."} 
[2026-06-23 18:00:16] local.INFO: Processing buffer {"connection_id":112788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4752b20012d8287c005d8c6c8000a00af29..."} 
[2026-06-23 18:00:16] local.INFO: Packet analysis {"connection_id":112788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:00:16] local.INFO: Extracted packet for processing {"connection_id":112788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763529152,"raw_latitude":98092744,"longitude_deg":76.3529152,"latitude_deg":9.8092744,"altitude":10,"angle":175,"satellites":41,"speed":39,"hex_longitude":"2d8287c0","hex_latitude":"05d8c6c8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247749120001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96480156767485952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750283018043392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:16] 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-06-23 18:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217780000,"timestamp_ms":1782217780000,"timestamp_seconds":1782217780,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4752b20"} 
[2026-06-23 18:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 18:00:16] 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-06-23 18: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-06-23 18:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247749120001,"66":13135,"49":206,"85":15104,"24":39,"16":96480156767485952,"45":-9041750283018043392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-23 18:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247749120001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 18:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96480156767485952,"km_value":96480156767485.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750283018043392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247749120001,"power":13135,"unknown_49":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9041750283018043392}} 
[2026-06-23 18:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":112788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:16] local.INFO: GPS data processed {"connection_id":112788,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:16] local.INFO: Acknowledgment sent {"connection_id":112788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:19] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:00:19] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:00:19] local.INFO: IMEI packet received {"connection_id":111049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":111049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:00:23] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:23] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:23] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:00:24] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:00:24] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:00:24] local.INFO: IMEI packet received {"connection_id":111049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":111049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:00:24] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:24] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:24] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:00:25] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef473cb90012d1826400721b950005000de1f..."} 
[2026-06-23 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef473cb90012d1826400721b950005000de1f..."} 
[2026-06-23 18:00:25] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef473cb90012d1826400721b950005000de1f..."} 
[2026-06-23 18:00:25] local.INFO: Packet analysis {"connection_id":111049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:00:25] local.INFO: Extracted packet for processing {"connection_id":111049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119650640,"longitude_deg":75.6557376,"latitude_deg":11.965064,"altitude":80,"angle":222,"satellites":31,"speed":8,"hex_longitude":"2d182640","hex_latitude":"0721b950","is_valid_coordinates":true} 
[2026-06-23 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247728384001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859079655063552,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632576512,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217690000,"timestamp_ms":1782217690000,"timestamp_seconds":1782217690,"priority":1,"record_length":96,"hex_timestamp":"0000019ef473cb90"} 
[2026-06-23 18:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 18:00:25] 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-06-23 18:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247728384001,"66":14113,"105":206,"83":41984,"24":8,"16":3859079655063552,"45":1740359811632576512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247728384001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859079655063552,"km_value":3859079655063.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632576512,"description":"Unknown IO ID 45"} 
[2026-06-23 18:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247728384001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1740359811632576512}} 
[2026-06-23 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":111049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:25] local.INFO: GPS data processed {"connection_id":111049,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:25] local.INFO: Acknowledgment sent {"connection_id":111049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:27] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:27] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:00:27] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:00:28] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4742d38012cb42e40077fecb0005100be31..."} 
[2026-06-23 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4742d38012cb42e40077fecb0005100be31..."} 
[2026-06-23 18:00:28] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4742d38012cb42e40077fecb0005100be31..."} 
[2026-06-23 18:00:28] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:00:28] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":750005824,"raw_latitude":125824176,"longitude_deg":75.0005824,"latitude_deg":12.5824176,"altitude":81,"angle":190,"satellites":49,"speed":48,"hex_longitude":"2cb42e40","hex_latitude":"077fecb0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247732992001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321300533409218560,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5460755253461794816,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782217715000,"timestamp_ms":1782217715000,"timestamp_seconds":1782217715,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4742d38"} 
[2026-06-23 18:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:28] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:00:28] 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-06-23 18: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-06-23 18:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247732992001,"66":27767,"125":206,"27":54016,"24":48,"16":321300533409218560,"44":-5460755253461794816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 18:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247732992001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:28] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 18:00:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321300533409218560,"km_value":321300533409218.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5460755253461794816,"description":"Unknown IO ID 44"} 
[2026-06-23 18:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247732992001,"power":27767,"unknown_125":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5460755253461794816}} 
[2026-06-23 18:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:28] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:28] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:30] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4744c78012cb42a80077fc598004f00b732..."} 
[2026-06-23 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4744c78012cb42a80077fc598004f00b732..."} 
[2026-06-23 18:00:30] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4744c78012cb42a80077fc598004f00b732..."} 
[2026-06-23 18:00:30] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:00:30] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750004864,"raw_latitude":125814168,"longitude_deg":75.0004864,"latitude_deg":12.5814168,"altitude":79,"angle":183,"satellites":50,"speed":48,"hex_longitude":"2cb42a80","hex_latitude":"077fc598","is_valid_coordinates":true} 
[2026-06-23 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247735040001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321301023035490304,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463358896998666240,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217723000,"timestamp_ms":1782217723000,"timestamp_seconds":1782217723,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4744c78"} 
[2026-06-23 18:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:30] 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-06-23 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 18:00: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-06-23 18: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-06-23 18:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247735040001,"66":27800,"125":206,"27":54016,"24":48,"16":321301023035490304,"44":-5463358896998666240},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 18:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247735040001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:30] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 18:00:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321301023035490304,"km_value":321301023035490.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463358896998666240,"description":"Unknown IO ID 44"} 
[2026-06-23 18:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247735040001,"power":27800,"unknown_125":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5463358896998666240}} 
[2026-06-23 18:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:30] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:30] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:41] local.INFO: TCP Data received {"connection_id":112787,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:00:41] local.INFO: Processing buffer {"connection_id":112787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:00:41] local.INFO: IMEI packet received {"connection_id":112787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":112787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:00:47] local.INFO: TCP Data received {"connection_id":112788,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4755230012d8287c005d8a2c8000800b329..."} 
[2026-06-23 18:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4755230012d8287c005d8a2c8000800b329..."} 
[2026-06-23 18:00:47] local.INFO: Processing buffer {"connection_id":112788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4755230012d8287c005d8a2c8000800b329..."} 
[2026-06-23 18:00:47] local.INFO: Packet analysis {"connection_id":112788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:00:47] local.INFO: Extracted packet for processing {"connection_id":112788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763529152,"raw_latitude":98083528,"longitude_deg":76.3529152,"latitude_deg":9.8083528,"altitude":8,"angle":179,"satellites":41,"speed":32,"hex_longitude":"2d8287c0","hex_latitude":"05d8a2c8","is_valid_coordinates":true} 
[2026-06-23 18:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247751680001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96480603444084736,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041046595578705920,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:47] 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-06-23 18:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217790000,"timestamp_ms":1782217790000,"timestamp_seconds":1782217790,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4755230"} 
[2026-06-23 18:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-23 18:00:47] 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-06-23 18:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247751680001,"66":12841,"49":206,"85":15104,"24":32,"16":96480603444084736,"45":-9041046595578705920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-23 18:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247751680001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 18:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96480603444084736,"km_value":96480603444084.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041046595578705920,"description":"Unknown IO ID 45"} 
[2026-06-23 18:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247751680001,"power":12841,"unknown_49":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9041046595578705920}} 
[2026-06-23 18:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":112788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:47] local.INFO: GPS data processed {"connection_id":112788,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:47] local.INFO: Acknowledgment sent {"connection_id":112788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:00:56] local.INFO: TCP Data received {"connection_id":111049,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef473d360012d1825800721b768005000cb1f..."} 
[2026-06-23 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef473d360012d1825800721b768005000cb1f..."} 
[2026-06-23 18:00:56] local.INFO: Processing buffer {"connection_id":111049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef473d360012d1825800721b768005000cb1f..."} 
[2026-06-23 18:00:56] local.INFO: Packet analysis {"connection_id":111049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:00:56] local.INFO: Extracted packet for processing {"connection_id":111049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650152,"longitude_deg":75.6557184,"latitude_deg":11.9650152,"altitude":80,"angle":203,"satellites":31,"speed":14,"hex_longitude":"2d182580","hex_latitude":"0721b768","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247728640001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859105424867328,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705400016896,"note":"Value kept but may cause issues"} 
[2026-06-23 18:00: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-06-23 18:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782217692000,"timestamp_ms":1782217692000,"timestamp_seconds":1782217692,"priority":1,"record_length":96,"hex_timestamp":"0000019ef473d360"} 
[2026-06-23 18:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 18:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247728640001,"66":14189,"105":206,"83":41984,"24":14,"16":3859105424867328,"45":1740148705400016896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247728640001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:00:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859105424867328,"km_value":3859105424867.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705400016896,"description":"Unknown IO ID 45"} 
[2026-06-23 18:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247728640001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1740148705400016896}} 
[2026-06-23 18:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":111049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:00:56] local.INFO: GPS data processed {"connection_id":111049,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:00:56] local.INFO: Acknowledgment sent {"connection_id":111049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:01:06] local.INFO: TCP Data received {"connection_id":111228,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4746bb8012cb42780077fa278004e00bc32..."} 
[2026-06-23 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4746bb8012cb42780077fa278004e00bc32..."} 
[2026-06-23 18:01:06] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4746bb8012cb42780077fa278004e00bc32..."} 
[2026-06-23 18:01:06] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:01:06] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:01:06] local.INFO: GPS Element Parsed {"raw_longitude":750004096,"raw_latitude":125805176,"longitude_deg":75.0004096,"latitude_deg":12.5805176,"altitude":78,"angle":188,"satellites":50,"speed":43,"hex_longitude":"2cb42780","hex_latitude":"077fa278","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247737088001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321301461122154496,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5464414428163893248,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782217731000,"timestamp_ms":1782217731000,"timestamp_seconds":1782217731,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4746bb8"} 
[2026-06-23 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-06-23 18:01: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-06-23 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:01:06] 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-06-23 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-06-23 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-06-23 18:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247737088001,"66":26984,"125":206,"27":54016,"24":43,"16":321301461122154496,"44":-5464414428163893248},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,27,24,16,44]} 
[2026-06-23 18:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247737088001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:01:06] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-23 18:01:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321301461122154496,"km_value":321301461122154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5464414428163893248,"description":"Unknown IO ID 44"} 
[2026-06-23 18:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247737088001,"power":26984,"unknown_125":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-5464414428163893248}} 
[2026-06-23 18:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:01:06] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:01:06] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:01:11] local.INFO: TCP Data received {"connection_id":111050,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:01:11] local.INFO: Processing buffer {"connection_id":111050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:01:11] local.INFO: IMEI packet received {"connection_id":111050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":111050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:01:14] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:14] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:14] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:01:15] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:15] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:15] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:01:19] local.INFO: TCP Data received {"connection_id":111850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:01:19] local.INFO: Processing buffer {"connection_id":111850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:01:19] local.INFO: IMEI packet received {"connection_id":111850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":111850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:01:20] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:20] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:01:20] local.INFO: IMEI packet received {"connection_id":111051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":111051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:01:21] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4756d88012d828a0005d88a70000800a12a..."} 
[2026-06-23 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4756d88012d828a0005d88a70000800a12a..."} 
[2026-06-23 18:01:21] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4756d88012d828a0005d88a70000800a12a..."} 
[2026-06-23 18:01:21] local.INFO: Packet analysis {"connection_id":111051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:01:21] local.INFO: Extracted packet for processing {"connection_id":111051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763529728,"raw_latitude":98077296,"longitude_deg":76.3529728,"latitude_deg":9.8077296,"altitude":8,"angle":161,"satellites":42,"speed":41,"hex_longitude":"2d828a00","hex_latitude":"05d88a70","is_valid_coordinates":true} 
[2026-06-23 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247754240001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96480908386762752,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041046595581065216,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:21] 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-06-23 18:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782217797000,"timestamp_ms":1782217797000,"timestamp_seconds":1782217797,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4756d88"} 
[2026-06-23 18:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 18:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247754240001,"66":13037,"49":206,"85":15104,"24":41,"16":96480908386762752,"45":-9041046595581065216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-23 18:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247754240001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:01:21] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 18:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96480908386762752,"km_value":96480908386762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041046595581065216,"description":"Unknown IO ID 45"} 
[2026-06-23 18:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247754240001,"power":13037,"unknown_49":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9041046595581065216}} 
[2026-06-23 18:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":111051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:01:21] local.INFO: GPS data processed {"connection_id":111051,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:01:21] local.INFO: Acknowledgment sent {"connection_id":111051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:01:23] local.INFO: TCP Data received {"connection_id":112789,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:23] local.INFO: Processing buffer {"connection_id":112789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:23] local.INFO: IMEI packet received {"connection_id":112789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":112789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:01:24] local.INFO: TCP Data received {"connection_id":112789,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:24] local.INFO: Processing buffer {"connection_id":112789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:24] local.INFO: IMEI packet received {"connection_id":112789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":112789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:01:25] local.INFO: TCP Data received {"connection_id":111850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:01:25] local.INFO: Processing buffer {"connection_id":111850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:01:25] local.INFO: IMEI packet received {"connection_id":111850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":111850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:01:25] local.INFO: TCP Data received {"connection_id":111850,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef473fa70012d181e800721a8d8005000b11e..."} 
[2026-06-23 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef473fa70012d181e800721a8d8005000b11e..."} 
[2026-06-23 18:01:25] local.INFO: Processing buffer {"connection_id":111850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef473fa70012d181e800721a8d8005000b11e..."} 
[2026-06-23 18:01:25] local.INFO: Packet analysis {"connection_id":111850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:01:25] local.INFO: Extracted packet for processing {"connection_id":111850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646424,"longitude_deg":75.6555392,"latitude_deg":11.9646424,"altitude":80,"angle":177,"satellites":30,"speed":11,"hex_longitude":"2d181e80","hex_latitude":"0721a8d8","is_valid_coordinates":true} 
[2026-06-23 18:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247729152001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859302993362944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167358976,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217702000,"timestamp_ms":1782217702000,"timestamp_seconds":1782217702,"priority":1,"record_length":96,"hex_timestamp":"0000019ef473fa70"} 
[2026-06-23 18:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 18:01:25] 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-06-23 18:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247729152001,"66":14189,"105":206,"83":41984,"24":11,"16":3859302993362944,"45":1739937599167358976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247729152001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:01:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859302993362944,"km_value":3859302993362.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167358976,"description":"Unknown IO ID 45"} 
[2026-06-23 18:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247729152001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1739937599167358976}} 
[2026-06-23 18:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":111850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:01:25] local.INFO: GPS data processed {"connection_id":111850,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:01:25] local.INFO: Acknowledgment sent {"connection_id":111850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:01:28] local.INFO: TCP Data received {"connection_id":112789,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:28] local.INFO: Processing buffer {"connection_id":112789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:01:28] local.INFO: IMEI packet received {"connection_id":112789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":112789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:01:29] local.INFO: TCP Data received {"connection_id":112789,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef475bf90012cb3a500077e9868004300de2e..."} 
[2026-06-23 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef475bf90012cb3a500077e9868004300de2e..."} 
[2026-06-23 18:01:29] local.INFO: Processing buffer {"connection_id":112789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef475bf90012cb3a500077e9868004300de2e..."} 
[2026-06-23 18:01:29] local.INFO: Packet analysis {"connection_id":112789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:01:29] local.INFO: Extracted packet for processing {"connection_id":112789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749970688,"raw_latitude":125737064,"longitude_deg":74.9970688,"latitude_deg":12.5737064,"altitude":67,"angle":222,"satellites":46,"speed":26,"hex_longitude":"2cb3a500","hex_latitude":"077e9868","is_valid_coordinates":true} 
[2026-06-23 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247756288001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321305262168211456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5495024831899228160,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782217818000,"timestamp_ms":1782217818000,"timestamp_seconds":1782217818,"priority":1,"record_length":96,"hex_timestamp":"0000019ef475bf90"} 
[2026-06-23 18:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:01:29] 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-06-23 18:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247756288001,"66":27800,"176":206,"27":54016,"24":26,"16":321305262168211456,"44":-5495024831899228160},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247756288001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:01:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:01:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321305262168211456,"km_value":321305262168211.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5495024831899228160,"description":"Unknown IO ID 44"} 
[2026-06-23 18:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247756288001,"power":27800,"unknown_176":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5495024831899228160}} 
[2026-06-23 18:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":112789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:01:29] local.INFO: GPS data processed {"connection_id":112789,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:01:29] local.INFO: Acknowledgment sent {"connection_id":112789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:01:52] local.INFO: TCP Data received {"connection_id":111051,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4758cc8012d82984005d86a70000800a12a..."} 
[2026-06-23 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4758cc8012d82984005d86a70000800a12a..."} 
[2026-06-23 18:01:52] local.INFO: Processing buffer {"connection_id":111051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4758cc8012d82984005d86a70000800a12a..."} 
[2026-06-23 18:01:52] local.INFO: Packet analysis {"connection_id":111051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:01:52] local.INFO: Extracted packet for processing {"connection_id":111051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763533376,"raw_latitude":98069104,"longitude_deg":76.3533376,"latitude_deg":9.8069104,"altitude":8,"angle":161,"satellites":42,"speed":41,"hex_longitude":"2d829840","hex_latitude":"05d86a70","is_valid_coordinates":true} 
[2026-06-23 18:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247756032001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96481346473426944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040413276885061632,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:52] 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-06-23 18:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782217805000,"timestamp_ms":1782217805000,"timestamp_seconds":1782217805,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4758cc8"} 
[2026-06-23 18:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:01: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-06-23 18:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 18:01:52] 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-06-23 18:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247756032001,"66":13124,"49":206,"85":15104,"24":41,"16":96481346473426944,"45":-9040413276885061632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-23 18:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247756032001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:01:52] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 18:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96481346473426944,"km_value":96481346473426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040413276885061632,"description":"Unknown IO ID 45"} 
[2026-06-23 18:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247756032001,"power":13124,"unknown_49":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9040413276885061632}} 
[2026-06-23 18:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":111051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:01:52] local.INFO: GPS data processed {"connection_id":111051,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:01:52] local.INFO: Acknowledgment sent {"connection_id":111051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:01:56] local.INFO: TCP Data received {"connection_id":111850,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef473fe58012d181ec00721a7d8005000951e..."} 
[2026-06-23 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef473fe58012d181ec00721a7d8005000951e..."} 
[2026-06-23 18:01:56] local.INFO: Processing buffer {"connection_id":111850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef473fe58012d181ec00721a7d8005000951e..."} 
[2026-06-23 18:01:56] local.INFO: Packet analysis {"connection_id":111850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:01:56] local.INFO: Extracted packet for processing {"connection_id":111850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef473"} 
[2026-06-23 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646168,"longitude_deg":75.6555456,"latitude_deg":11.9646168,"altitude":80,"angle":149,"satellites":30,"speed":9,"hex_longitude":"2d181ec0","hex_latitude":"0721a7d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247731712001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859315878264832,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329430016,"note":"Value kept but may cause issues"} 
[2026-06-23 18:01: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-06-23 18:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782217703000,"timestamp_ms":1782217703000,"timestamp_seconds":1782217703,"priority":1,"record_length":96,"hex_timestamp":"0000019ef473fe58"} 
[2026-06-23 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-06-23 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 18:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247731712001,"66":14189,"105":206,"83":41984,"24":9,"16":3859315878264832,"45":1737967274329430016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247731712001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:01:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:01:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859315878264832,"km_value":3859315878264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329430016,"description":"Unknown IO ID 45"} 
[2026-06-23 18:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247731712001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329430016}} 
[2026-06-23 18:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":111850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:01:56] local.INFO: GPS data processed {"connection_id":111850,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:01:56] local.INFO: Acknowledgment sent {"connection_id":111850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:01] local.INFO: TCP Data received {"connection_id":112789,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef475ea88012cb38b80077e7cc0004000e12f..."} 
[2026-06-23 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef475ea88012cb38b80077e7cc0004000e12f..."} 
[2026-06-23 18:02:01] local.INFO: Processing buffer {"connection_id":112789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef475ea88012cb38b80077e7cc0004000e12f..."} 
[2026-06-23 18:02:01] local.INFO: Packet analysis {"connection_id":112789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:02:01] local.INFO: Extracted packet for processing {"connection_id":112789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":749964160,"raw_latitude":125729984,"longitude_deg":74.996416,"latitude_deg":12.5729984,"altitude":64,"angle":225,"satellites":47,"speed":40,"hex_longitude":"2cb38b80","hex_latitude":"077e7cc0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247761408001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321305721729712128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5501991337574504448,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217829000,"timestamp_ms":1782217829000,"timestamp_seconds":1782217829,"priority":1,"record_length":96,"hex_timestamp":"0000019ef475ea88"} 
[2026-06-23 18:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02:01] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:02:01] 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-06-23 18: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-06-23 18:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247761408001,"66":27908,"176":206,"27":54016,"24":40,"16":321305721729712128,"44":-5501991337574504448},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247761408001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:01] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:02:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321305721729712128,"km_value":321305721729712.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5501991337574504448,"description":"Unknown IO ID 44"} 
[2026-06-23 18:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247761408001,"power":27908,"unknown_176":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5501991337574504448}} 
[2026-06-23 18:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":112789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:01] local.INFO: GPS data processed {"connection_id":112789,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:01] local.INFO: Acknowledgment sent {"connection_id":112789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:10] local.INFO: TCP Data received {"connection_id":112790,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:02:10] local.INFO: Processing buffer {"connection_id":112790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:02:10] local.INFO: IMEI packet received {"connection_id":112790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":112790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:02:16] local.INFO: TCP Data received {"connection_id":112790,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:02:16] local.INFO: Processing buffer {"connection_id":112790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:02:16] local.INFO: IMEI packet received {"connection_id":112790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":112790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:02:16] local.INFO: TCP Data received {"connection_id":112790,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef475a438012d829cc005d85410000900ad2b..."} 
[2026-06-23 18:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef475a438012d829cc005d85410000900ad2b..."} 
[2026-06-23 18:02:16] local.INFO: Processing buffer {"connection_id":112790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef475a438012d829cc005d85410000900ad2b..."} 
[2026-06-23 18:02:16] local.INFO: Packet analysis {"connection_id":112790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:02:16] local.INFO: Extracted packet for processing {"connection_id":112790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763534528,"raw_latitude":98063376,"longitude_deg":76.3534528,"latitude_deg":9.8063376,"altitude":9,"angle":173,"satellites":43,"speed":35,"hex_longitude":"2d829cc0","hex_latitude":"05d85410","is_valid_coordinates":true} 
[2026-06-23 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247758080001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96481629941268480,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036402258469031936,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:16] 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-06-23 18:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217811000,"timestamp_ms":1782217811000,"timestamp_seconds":1782217811,"priority":1,"record_length":96,"hex_timestamp":"0000019ef475a438"} 
[2026-06-23 18:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-23 18:02:16] 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-06-23 18:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247758080001,"66":12874,"49":206,"85":15104,"24":35,"16":96481629941268480,"45":-9036402258469031936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-23 18:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247758080001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:16] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 18:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96481629941268480,"km_value":96481629941268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036402258469031936,"description":"Unknown IO ID 45"} 
[2026-06-23 18:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247758080001,"power":12874,"unknown_49":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9036402258469031936}} 
[2026-06-23 18:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":112790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:16] local.INFO: GPS data processed {"connection_id":112790,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:16] local.INFO: Acknowledgment sent {"connection_id":112790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:19] local.INFO: TCP Data received {"connection_id":111851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:02:19] local.INFO: Processing buffer {"connection_id":111851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:02:19] local.INFO: IMEI packet received {"connection_id":111851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":111851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:02:23] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:23] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:23] local.INFO: IMEI packet received {"connection_id":111230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:02:24] local.INFO: TCP Data received {"connection_id":111851,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:02:24] local.INFO: Processing buffer {"connection_id":111851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:02:24] local.INFO: IMEI packet received {"connection_id":111851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":111851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:02:24] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:24] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:24] local.INFO: IMEI packet received {"connection_id":111230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":111230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:02:25] local.INFO: TCP Data received {"connection_id":111851,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4740240012d181f400721a730005000881f..."} 
[2026-06-23 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4740240012d181f400721a730005000881f..."} 
[2026-06-23 18:02:25] local.INFO: Processing buffer {"connection_id":111851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4740240012d181f400721a730005000881f..."} 
[2026-06-23 18:02:25] local.INFO: Packet analysis {"connection_id":111851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:02:25] local.INFO: Extracted packet for processing {"connection_id":111851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef474"} 
[2026-06-23 18:02:25] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646000,"longitude_deg":75.6555584,"latitude_deg":11.9646,"altitude":80,"angle":136,"satellites":31,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721a730","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247731968001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859328763166720,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073542144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217704000,"timestamp_ms":1782217704000,"timestamp_seconds":1782217704,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4740240"} 
[2026-06-23 18:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 18:02:25] 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-06-23 18: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-06-23 18:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247731968001,"66":14211,"105":206,"83":41984,"24":8,"16":3859328763166720,"45":1738037643073542144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247731968001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859328763166720,"km_value":3859328763166.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073542144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247731968001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073542144}} 
[2026-06-23 18:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":111851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:25] local.INFO: GPS data processed {"connection_id":111851,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:25] local.INFO: Acknowledgment sent {"connection_id":111851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:27] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:27] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:27] local.INFO: IMEI packet received {"connection_id":111230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":111230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:02:28] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:28] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:02:28] local.INFO: IMEI packet received {"connection_id":111230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":111230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:02:29] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef476c930012cb336c0077e08500033007530..."} 
[2026-06-23 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef476c930012cb336c0077e08500033007530..."} 
[2026-06-23 18:02:29] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef476c930012cb336c0077e08500033007530..."} 
[2026-06-23 18:02:29] local.INFO: Packet analysis {"connection_id":111230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:02:29] local.INFO: Extracted packet for processing {"connection_id":111230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749942464,"raw_latitude":125700176,"longitude_deg":74.9942464,"latitude_deg":12.5700176,"altitude":51,"angle":117,"satellites":48,"speed":29,"hex_longitude":"2cb336c0","hex_latitude":"077e0850","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247778048001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321307929342902272,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5535416491068190720,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782217886000,"timestamp_ms":1782217886000,"timestamp_seconds":1782217886,"priority":1,"record_length":96,"hex_timestamp":"0000019ef476c930"} 
[2026-06-23 18:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02:29] 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-06-23 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 18:02:29] 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-06-23 18: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-06-23 18:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247778048001,"66":27865,"176":206,"27":54016,"24":29,"16":321307929342902272,"44":-5535416491068190720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247778048001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:02:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321307929342902272,"km_value":321307929342902.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5535416491068190720,"description":"Unknown IO ID 44"} 
[2026-06-23 18:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247778048001,"power":27865,"unknown_176":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-5535416491068190720}} 
[2026-06-23 18:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:29] local.INFO: GPS data processed {"connection_id":111230,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:29] local.INFO: Acknowledgment sent {"connection_id":111230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:34] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef476cd18012cb33940077e06b80032008131..."} 
[2026-06-23 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef476cd18012cb33940077e06b80032008131..."} 
[2026-06-23 18:02:34] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef476cd18012cb33940077e06b80032008131..."} 
[2026-06-23 18:02:34] local.INFO: Packet analysis {"connection_id":111230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:02:34] local.INFO: Extracted packet for processing {"connection_id":111230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":749943104,"raw_latitude":125699768,"longitude_deg":74.9943104,"latitude_deg":12.5699768,"altitude":50,"angle":129,"satellites":49,"speed":30,"hex_longitude":"2cb33940","hex_latitude":"077e06b8","is_valid_coordinates":true} 
[2026-06-23 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247778816001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321307963702640640,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533023953766297600,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782217887000,"timestamp_ms":1782217887000,"timestamp_seconds":1782217887,"priority":1,"record_length":96,"hex_timestamp":"0000019ef476cd18"} 
[2026-06-23 18:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02: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-06-23 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:02:34] 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-06-23 18:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247778816001,"66":27865,"176":206,"27":54016,"24":30,"16":321307963702640640,"44":-5533023953766297600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247778816001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:02:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321307963702640640,"km_value":321307963702640.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533023953766297600,"description":"Unknown IO ID 44"} 
[2026-06-23 18:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247778816001,"power":27865,"unknown_176":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5533023953766297600}} 
[2026-06-23 18:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":111230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:34] local.INFO: GPS data processed {"connection_id":111230,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:34] local.INFO: Acknowledgment sent {"connection_id":111230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:47] local.INFO: TCP Data received {"connection_id":112790,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef475f258012d829f8005d83ea8000a00af2c..."} 
[2026-06-23 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef475f258012d829f8005d83ea8000a00af2c..."} 
[2026-06-23 18:02:47] local.INFO: Processing buffer {"connection_id":112790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef475f258012d829f8005d83ea8000a00af2c..."} 
[2026-06-23 18:02:47] local.INFO: Packet analysis {"connection_id":112790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:02:47] local.INFO: Extracted packet for processing {"connection_id":112790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef475"} 
[2026-06-23 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":98057896,"longitude_deg":76.3535232,"latitude_deg":9.8057896,"altitude":10,"angle":175,"satellites":44,"speed":0,"hex_longitude":"2d829f80","hex_latitude":"05d83ea8","is_valid_coordinates":true} 
[2026-06-23 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247759616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96481904819175424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035135621075300352,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:47] 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-06-23 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217831000,"timestamp_ms":1782217831000,"timestamp_seconds":1782217831,"priority":1,"record_length":96,"hex_timestamp":"0000019ef475f258"} 
[2026-06-23 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-23 18:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247759616001,"66":12961,"47":206,"85":15104,"24":0,"16":96481904819175424,"45":-9035135621075300352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-23 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247759616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:47] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-23 18:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96481904819175424,"km_value":96481904819175.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035135621075300352,"description":"Unknown IO ID 45"} 
[2026-06-23 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247759616001,"power":12961,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9035135621075300352}} 
[2026-06-23 18:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":112790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:47] local.INFO: GPS data processed {"connection_id":112790,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:47] local.INFO: Acknowledgment sent {"connection_id":112790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:02:56] local.INFO: TCP Data received {"connection_id":111851,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4775da0012d182dc007219b380050007b22..."} 
[2026-06-23 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4775da0012d182dc007219b380050007b22..."} 
[2026-06-23 18:02:56] local.INFO: Processing buffer {"connection_id":111851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4775da0012d182dc007219b380050007b22..."} 
[2026-06-23 18:02:56] local.INFO: Packet analysis {"connection_id":111851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:02:56] local.INFO: Extracted packet for processing {"connection_id":111851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642936,"longitude_deg":75.6559296,"latitude_deg":11.9642936,"altitude":80,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d182dc0","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247783424001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859569281335296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723374592,"note":"Value kept but may cause issues"} 
[2026-06-23 18:02: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-06-23 18:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782217924000,"timestamp_ms":1782217924000,"timestamp_seconds":1782217924,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4775da0"} 
[2026-06-23 18:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":101,"data_length":795,"current_offset":136} 
[2026-06-23 18:02: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-06-23 18: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-06-23 18:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247783424001,"66":12591,"105":206,"83":41984,"24":0,"16":3859569281335296,"45":1742259767723374592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247783424001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:02:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859569281335296,"km_value":3859569281335.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723374592,"description":"Unknown IO ID 45"} 
[2026-06-23 18:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247783424001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742259767723374592}} 
[2026-06-23 18:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":111851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:02:56] local.INFO: GPS data processed {"connection_id":111851,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:02:56] local.INFO: Acknowledgment sent {"connection_id":111851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:03:05] local.INFO: TCP Data received {"connection_id":111230,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4779838012cb35e40077d5b50000e009a2c..."} 
[2026-06-23 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4779838012cb35e40077d5b50000e009a2c..."} 
[2026-06-23 18:03:05] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4779838012cb35e40077d5b50000e009a2c..."} 
[2026-06-23 18:03:05] local.INFO: Packet analysis {"connection_id":111230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:05] local.INFO: Extracted packet for processing {"connection_id":111230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:05] local.INFO: GPS Element Parsed {"raw_longitude":749952576,"raw_latitude":125655888,"longitude_deg":74.9952576,"latitude_deg":12.5655888,"altitude":14,"angle":154,"satellites":44,"speed":44,"hex_longitude":"2cb35e40","hex_latitude":"077d5b50","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247790080001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321310287279947776,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5523946385776406528,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782217939000,"timestamp_ms":1782217939000,"timestamp_seconds":1782217939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4779838"} 
[2026-06-23 18:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:03: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-06-23 18: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 18:03:05] 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-06-23 18: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-06-23 18:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247790080001,"66":27908,"176":206,"27":54016,"24":44,"16":321310287279947776,"44":-5523946385776406528},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247790080001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:03:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:03:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321310287279947776,"km_value":321310287279947.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5523946385776406528,"description":"Unknown IO ID 44"} 
[2026-06-23 18:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247790080001,"power":27908,"unknown_176":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5523946385776406528}} 
[2026-06-23 18:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":111230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:03:05] local.INFO: GPS data processed {"connection_id":111230,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:03:05] local.INFO: Acknowledgment sent {"connection_id":111230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:03:10] local.INFO: TCP Data received {"connection_id":112791,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:10] local.INFO: Processing buffer {"connection_id":112791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:10] local.INFO: IMEI packet received {"connection_id":112791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":112791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:03:11] local.INFO: TCP Data received {"connection_id":112791,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:11] local.INFO: Processing buffer {"connection_id":112791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:11] local.INFO: IMEI packet received {"connection_id":112791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":112791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:03:15] local.INFO: TCP Data received {"connection_id":112791,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:15] local.INFO: Processing buffer {"connection_id":112791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:03:15] local.INFO: IMEI packet received {"connection_id":112791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":112791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:03:16] local.INFO: TCP Data received {"connection_id":112791,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4764460012d829f8005d83ea8000a00af29..."} 
[2026-06-23 18:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4764460012d829f8005d83ea8000a00af29..."} 
[2026-06-23 18:03:16] local.INFO: Processing buffer {"connection_id":112791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4764460012d829f8005d83ea8000a00af29..."} 
[2026-06-23 18:03:16] local.INFO: Packet analysis {"connection_id":112791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:03:16] local.INFO: Extracted packet for processing {"connection_id":112791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":98057896,"longitude_deg":76.3535232,"latitude_deg":9.8057896,"altitude":10,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d829f80","hex_latitude":"05d83ea8","is_valid_coordinates":true} 
[2026-06-23 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247764736001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96481904819175424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564890748928,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:16] 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-06-23 18:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782217852000,"timestamp_ms":1782217852000,"timestamp_seconds":1782217852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4764460"} 
[2026-06-23 18:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:03:16] 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-06-23 18:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247764736001,"66":12982,"47":206,"85":15104,"24":0,"16":96481904819175424,"45":-9034361564890748928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-23 18:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247764736001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:03:16] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-23 18:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96481904819175424,"km_value":96481904819175.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564890748928,"description":"Unknown IO ID 45"} 
[2026-06-23 18:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247764736001,"power":12982,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034361564890748928}} 
[2026-06-23 18:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":112791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:03:16] local.INFO: GPS data processed {"connection_id":112791,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:03:16] local.INFO: Acknowledgment sent {"connection_id":112791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:03:19] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:03:19] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:03:19] local.INFO: IMEI packet received {"connection_id":111053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":111053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:03:23] local.INFO: TCP Data received {"connection_id":111054,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:03:23] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:03:23] local.INFO: IMEI packet received {"connection_id":111054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":111054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:03:24] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:03:24] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:03:24] local.INFO: IMEI packet received {"connection_id":111053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":111053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:03:25] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef477abc0012d182dc007219b380050007b22..."} 
[2026-06-23 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef477abc0012d182dc007219b380050007b22..."} 
[2026-06-23 18:03:25] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef477abc0012d182dc007219b380050007b22..."} 
[2026-06-23 18:03:25] local.INFO: Packet analysis {"connection_id":111053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:25] local.INFO: Extracted packet for processing {"connection_id":111053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642936,"longitude_deg":75.6559296,"latitude_deg":11.9642936,"altitude":80,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d182dc0","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-06-23 18:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247788544001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859569281335296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723374592,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217944000,"timestamp_ms":1782217944000,"timestamp_seconds":1782217944,"priority":1,"record_length":96,"hex_timestamp":"0000019ef477abc0"} 
[2026-06-23 18:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 18:03: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-06-23 18:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247788544001,"66":12548,"105":206,"83":41984,"24":0,"16":3859569281335296,"45":1742259767723374592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247788544001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:03:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:03:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859569281335296,"km_value":3859569281335.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723374592,"description":"Unknown IO ID 45"} 
[2026-06-23 18:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247788544001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742259767723374592}} 
[2026-06-23 18:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":111053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:03:25] local.INFO: GPS data processed {"connection_id":111053,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:03:25] local.INFO: Acknowledgment sent {"connection_id":111053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:03:29] local.INFO: TCP Data received {"connection_id":111054,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:03:29] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:03:29] local.INFO: IMEI packet received {"connection_id":111054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":111054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:03:30] local.INFO: TCP Data received {"connection_id":111054,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4779838012cb35e40077d5b50000e009a2c..."} 
[2026-06-23 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4779838012cb35e40077d5b50000e009a2c..."} 
[2026-06-23 18:03:30] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4779838012cb35e40077d5b50000e009a2c..."} 
[2026-06-23 18:03:30] local.INFO: Packet analysis {"connection_id":111054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:30] local.INFO: Extracted packet for processing {"connection_id":111054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:30] local.INFO: GPS Element Parsed {"raw_longitude":749952576,"raw_latitude":125655888,"longitude_deg":74.9952576,"latitude_deg":12.5655888,"altitude":14,"angle":154,"satellites":44,"speed":44,"hex_longitude":"2cb35e40","hex_latitude":"077d5b50","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247792384001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321310287279947776,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5521905692197564416,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782217939000,"timestamp_ms":1782217939000,"timestamp_seconds":1782217939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4779838"} 
[2026-06-23 18:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:03:30] 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-06-23 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247792384001,"66":27908,"176":206,"27":54016,"24":44,"16":321310287279947776,"44":-5521905692197564416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247792384001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:03:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:03:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321310287279947776,"km_value":321310287279947.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5521905692197564416,"description":"Unknown IO ID 44"} 
[2026-06-23 18:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247792384001,"power":27908,"unknown_176":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-5521905692197564416}} 
[2026-06-23 18:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":111054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:03:30] local.INFO: GPS data processed {"connection_id":111054,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:03:30] local.INFO: Acknowledgment sent {"connection_id":111054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:03:47] local.INFO: TCP Data received {"connection_id":112791,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4769668012d829f8005d83ea8000a00af29..."} 
[2026-06-23 18:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4769668012d829f8005d83ea8000a00af29..."} 
[2026-06-23 18:03:47] local.INFO: Processing buffer {"connection_id":112791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4769668012d829f8005d83ea8000a00af29..."} 
[2026-06-23 18:03:47] local.INFO: Packet analysis {"connection_id":112791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:03:47] local.INFO: Extracted packet for processing {"connection_id":112791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef476"} 
[2026-06-23 18:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":98057896,"longitude_deg":76.3535232,"latitude_deg":9.8057896,"altitude":10,"angle":175,"satellites":41,"speed":0,"hex_longitude":"2d829f80","hex_latitude":"05d83ea8","is_valid_coordinates":true} 
[2026-06-23 18:03: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-06-23 18:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247770112001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96481904819175424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564890748928,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782217873000,"timestamp_ms":1782217873000,"timestamp_seconds":1782217873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4769668"} 
[2026-06-23 18:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 18:03:47] 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-06-23 18:03: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-06-23 18:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247770112001,"66":12743,"48":206,"85":15104,"24":0,"16":96481904819175424,"45":-9034361564890748928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,45]} 
[2026-06-23 18:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247770112001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:03:47] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-23 18:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96481904819175424,"km_value":96481904819175.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564890748928,"description":"Unknown IO ID 45"} 
[2026-06-23 18:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247770112001,"power":12743,"unknown_48":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034361564890748928}} 
[2026-06-23 18:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":112791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:03:47] local.INFO: GPS data processed {"connection_id":112791,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:03:47] local.INFO: Acknowledgment sent {"connection_id":112791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:03:57] local.INFO: TCP Data received {"connection_id":111053,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef477f5f8012d182dc007219b380050007b22..."} 
[2026-06-23 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef477f5f8012d182dc007219b380050007b22..."} 
[2026-06-23 18:03:57] local.INFO: Processing buffer {"connection_id":111053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef477f5f8012d182dc007219b380050007b22..."} 
[2026-06-23 18:03:57] local.INFO: Packet analysis {"connection_id":111053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:57] local.INFO: Extracted packet for processing {"connection_id":111053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642936,"longitude_deg":75.6559296,"latitude_deg":11.9642936,"altitude":80,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d182dc0","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-06-23 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247793664001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859569281335296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723374592,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782217963000,"timestamp_ms":1782217963000,"timestamp_seconds":1782217963,"priority":1,"record_length":96,"hex_timestamp":"0000019ef477f5f8"} 
[2026-06-23 18:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:03:57] 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-06-23 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4101362456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3221692827,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2604138576,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3057778688,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-06-23 18:03:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,182,158,93,45,192,155,80,34,10,66,15,33,193,1,240,123,227,244,4,113,205,37,56,31,239,49,2,13,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-06-23 18:03:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764742908993339392,"timestamp_seconds":5764742908993339.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247793664001,"66":12526,"105":206,"83":41984,"24":0,"16":3859569281335296,"45":1742259767723374592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247793664001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:03:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859569281335296,"km_value":3859569281335.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723374592,"description":"Unknown IO ID 45"} 
[2026-06-23 18:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247793664001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742259767723374592}} 
[2026-06-23 18:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":111053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:03:57] local.INFO: GPS data processed {"connection_id":111053,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:03:57] local.INFO: Acknowledgment sent {"connection_id":111053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:01] local.INFO: TCP Data received {"connection_id":111054,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef477b390012cb36b40077d42a0000c00a72f..."} 
[2026-06-23 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef477b390012cb36b40077d42a0000c00a72f..."} 
[2026-06-23 18:04:01] local.INFO: Processing buffer {"connection_id":111054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef477b390012cb36b40077d42a0000c00a72f..."} 
[2026-06-23 18:04:01] local.INFO: Packet analysis {"connection_id":111054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:04:01] local.INFO: Extracted packet for processing {"connection_id":111054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef477"} 
[2026-06-23 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":749955904,"raw_latitude":125649568,"longitude_deg":74.9955904,"latitude_deg":12.5649568,"altitude":12,"angle":167,"satellites":47,"speed":35,"hex_longitude":"2cb36b40","hex_latitude":"077d42a0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247792384001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321310635172298752,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5521905692197564416,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782217946000,"timestamp_ms":1782217946000,"timestamp_seconds":1782217946,"priority":1,"record_length":96,"hex_timestamp":"0000019ef477b390"} 
[2026-06-23 18:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04:01] 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-06-23 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:01] 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-06-23 18: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-06-23 18:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247792384001,"66":27843,"176":206,"27":54016,"24":35,"16":321310635172298752,"44":-5521905692197564416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247792384001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:01] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:04:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321310635172298752,"km_value":321310635172298.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5521905692197564416,"description":"Unknown IO ID 44"} 
[2026-06-23 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247792384001,"power":27843,"unknown_176":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5521905692197564416}} 
[2026-06-23 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":111054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:01] local.INFO: GPS data processed {"connection_id":111054,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:01] local.INFO: Acknowledgment sent {"connection_id":111054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:10] local.INFO: TCP Data received {"connection_id":111852,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:04:10] local.INFO: Processing buffer {"connection_id":111852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:04:10] local.INFO: IMEI packet received {"connection_id":111852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":111852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:04:15] local.INFO: TCP Data received {"connection_id":111852,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:04:15] local.INFO: Processing buffer {"connection_id":111852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:04:15] local.INFO: IMEI packet received {"connection_id":111852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":111852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:04:16] local.INFO: TCP Data received {"connection_id":111852,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef478ec10012d82a7c005d783d8000900b12c..."} 
[2026-06-23 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef478ec10012d82a7c005d783d8000900b12c..."} 
[2026-06-23 18:04:16] local.INFO: Processing buffer {"connection_id":111852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef478ec10012d82a7c005d783d8000900b12c..."} 
[2026-06-23 18:04:16] local.INFO: Packet analysis {"connection_id":111852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:16] local.INFO: Extracted packet for processing {"connection_id":111852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":763537344,"raw_latitude":98010072,"longitude_deg":76.3537344,"latitude_deg":9.8010072,"altitude":9,"angle":177,"satellites":44,"speed":41,"hex_longitude":"2d82a7c0","hex_latitude":"05d783d8","is_valid_coordinates":true} 
[2026-06-23 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247812096001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96484228396482560,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032602346296199168,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:16] 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-06-23 18:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782218026000,"timestamp_ms":1782218026000,"timestamp_seconds":1782218026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef478ec10"} 
[2026-06-23 18:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:16] 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-06-23 18:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247812096001,"66":13091,"155":206,"85":15104,"24":41,"16":96484228396482560,"45":-9032602346296199168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 18:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247812096001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 18:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96484228396482560,"km_value":96484228396482.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032602346296199168,"description":"Unknown IO ID 45"} 
[2026-06-23 18:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247812096001,"power":13091,"unknown_155":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9032602346296199168}} 
[2026-06-23 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":111852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:16] local.INFO: GPS data processed {"connection_id":111852,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:16] local.INFO: Acknowledgment sent {"connection_id":111852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:19] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:04:19] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:04:19] local.INFO: IMEI packet received {"connection_id":111055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":111055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:04:25] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:04:25] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:04:25] local.INFO: IMEI packet received {"connection_id":111055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":111055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:04:25] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4784418012d182dc007219b380050007b22..."} 
[2026-06-23 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4784418012d182dc007219b380050007b22..."} 
[2026-06-23 18:04:25] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4784418012d182dc007219b380050007b22..."} 
[2026-06-23 18:04:25] local.INFO: Packet analysis {"connection_id":111055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:25] local.INFO: Extracted packet for processing {"connection_id":111055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642936,"longitude_deg":75.6559296,"latitude_deg":11.9642936,"altitude":80,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d182dc0","hex_latitude":"07219b38","is_valid_coordinates":true} 
[2026-06-23 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247798528001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3859569281335296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723374592,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782217983000,"timestamp_ms":1782217983000,"timestamp_seconds":1782217983,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4784418"} 
[2026-06-23 18:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04:25] 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-06-23 18:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:25] 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-06-23 18:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247798528001,"66":14004,"105":206,"83":41984,"24":0,"16":3859569281335296,"45":1742259767723374592},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-06-23 18:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247798528001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3859569281335296,"km_value":3859569281335.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723374592,"description":"Unknown IO ID 45"} 
[2026-06-23 18:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247798528001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742259767723374592}} 
[2026-06-23 18:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":111055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:25] local.INFO: GPS data processed {"connection_id":111055,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:25] local.INFO: Acknowledgment sent {"connection_id":111055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:38] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:38] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:38] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:04:42] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:42] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:42] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:04:43] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:43] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:04:43] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:04:44] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef478d4a0012cb33340077c4560000900a52c..."} 
[2026-06-23 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef478d4a0012cb33340077c4560000900a52c..."} 
[2026-06-23 18:04:44] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef478d4a0012cb33340077c4560000900a52c..."} 
[2026-06-23 18:04:44] local.INFO: Packet analysis {"connection_id":111232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:44] local.INFO: Extracted packet for processing {"connection_id":111232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:44] local.INFO: GPS Element Parsed {"raw_longitude":749941568,"raw_latitude":125584736,"longitude_deg":74.9941568,"latitude_deg":12.5584736,"altitude":9,"angle":165,"satellites":44,"speed":53,"hex_longitude":"2cb33340","hex_latitude":"077c4560","is_valid_coordinates":true} 
[2026-06-23 18:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247811328001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321313976656855040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5536683128490737664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782218020000,"timestamp_ms":1782218020000,"timestamp_seconds":1782218020,"priority":1,"record_length":96,"hex_timestamp":"0000019ef478d4a0"} 
[2026-06-23 18:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04: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-06-23 18:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247811328001,"66":27691,"176":206,"27":54016,"24":53,"16":321313976656855040,"44":-5536683128490737664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,27,24,16,44]} 
[2026-06-23 18:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247811328001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 18:04:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321313976656855040,"km_value":321313976656855.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5536683128490737664,"description":"Unknown IO ID 44"} 
[2026-06-23 18:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247811328001,"power":27691,"unknown_176":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-5536683128490737664}} 
[2026-06-23 18:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":111232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:44] local.INFO: GPS data processed {"connection_id":111232,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:44] local.INFO: Acknowledgment sent {"connection_id":111232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:47] local.INFO: TCP Data received {"connection_id":111852,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4790f38012d82aac005d75f70000800ae2e..."} 
[2026-06-23 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4790f38012d82aac005d75f70000800ae2e..."} 
[2026-06-23 18:04:47] local.INFO: Processing buffer {"connection_id":111852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4790f38012d82aac005d75f70000800ae2e..."} 
[2026-06-23 18:04:47] local.INFO: Packet analysis {"connection_id":111852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:04:47] local.INFO: Extracted packet for processing {"connection_id":111852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763538112,"raw_latitude":98000752,"longitude_deg":76.3538112,"latitude_deg":9.8000752,"altitude":8,"angle":174,"satellites":46,"speed":44,"hex_longitude":"2d82aac0","hex_latitude":"05d75f70","is_valid_coordinates":true} 
[2026-06-23 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247814656001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96484679368048640,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032039396345128960,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:47] 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-06-23 18:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782218035000,"timestamp_ms":1782218035000,"timestamp_seconds":1782218035,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4790f38"} 
[2026-06-23 18:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:47] 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-06-23 18:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247814656001,"66":12461,"155":206,"85":15104,"24":44,"16":96484679368048640,"45":-9032039396345128960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 18:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247814656001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 18:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96484679368048640,"km_value":96484679368048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032039396345128960,"description":"Unknown IO ID 45"} 
[2026-06-23 18:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247814656001,"power":12461,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9032039396345128960}} 
[2026-06-23 18:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":111852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:47] local.INFO: GPS data processed {"connection_id":111852,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:47] local.INFO: Acknowledgment sent {"connection_id":111852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:49] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef478f3e0012cb33e40077c2080000f009c2e..."} 
[2026-06-23 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef478f3e0012cb33e40077c2080000f009c2e..."} 
[2026-06-23 18:04:49] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef478f3e0012cb33e40077c2080000f009c2e..."} 
[2026-06-23 18:04:49] local.INFO: Packet analysis {"connection_id":111232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:49] local.INFO: Extracted packet for processing {"connection_id":111232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef478"} 
[2026-06-23 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":749944384,"raw_latitude":125575296,"longitude_deg":74.9944384,"latitude_deg":12.5575296,"altitude":15,"angle":156,"satellites":46,"speed":39,"hex_longitude":"2cb33e40","hex_latitude":"077c2080","is_valid_coordinates":true} 
[2026-06-23 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247813120001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321314453398224896,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5534009116214337536,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782218028000,"timestamp_ms":1782218028000,"timestamp_seconds":1782218028,"priority":1,"record_length":96,"hex_timestamp":"0000019ef478f3e0"} 
[2026-06-23 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:49] 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-06-23 18:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247813120001,"66":27876,"38":206,"27":54016,"24":39,"16":321314453398224896,"44":-5534009116214337536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-06-23 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247813120001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:49] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 18:04:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321314453398224896,"km_value":321314453398224.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5534009116214337536,"description":"Unknown IO ID 44"} 
[2026-06-23 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247813120001,"power":27876,"unknown_38":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-5534009116214337536}} 
[2026-06-23 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":111232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:49] local.INFO: GPS data processed {"connection_id":111232,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:49] local.INFO: Acknowledgment sent {"connection_id":111232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:04:57] local.INFO: TCP Data received {"connection_id":111055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4796cf8012d18c8c0072138f00047009522..."} 
[2026-06-23 18:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4796cf8012d18c8c0072138f00047009522..."} 
[2026-06-23 18:04:57] local.INFO: Processing buffer {"connection_id":111055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4796cf8012d18c8c0072138f00047009522..."} 
[2026-06-23 18:04:57] local.INFO: Packet analysis {"connection_id":111055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:04:57] local.INFO: Extracted packet for processing {"connection_id":111055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756598976,"raw_latitude":119617776,"longitude_deg":75.6598976,"latitude_deg":11.9617776,"altitude":71,"angle":149,"satellites":34,"speed":31,"hex_longitude":"2d18c8c0","hex_latitude":"072138f0","is_valid_coordinates":true} 
[2026-06-23 18:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247822592001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3862038887530496,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332921509888,"note":"Value kept but may cause issues"} 
[2026-06-23 18:04: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-06-23 18:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782218059000,"timestamp_ms":1782218059000,"timestamp_seconds":1782218059,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4796cf8"} 
[2026-06-23 18:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:04:57] 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-06-23 18:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-23 18:04:57] 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-06-23 18:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247822592001,"66":13961,"106":206,"83":41984,"24":31,"16":3862038887530496,"45":1785114332921509888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 18:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247822592001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:04:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 18:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3862038887530496,"km_value":3862038887530.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332921509888,"description":"Unknown IO ID 45"} 
[2026-06-23 18:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247822592001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1785114332921509888}} 
[2026-06-23 18:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":111055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:04:57] local.INFO: GPS data processed {"connection_id":111055,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:04:57] local.INFO: Acknowledgment sent {"connection_id":111055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:05:10] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:10] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:10] local.INFO: IMEI packet received {"connection_id":111056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":111056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:05:15] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:15] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:15] local.INFO: IMEI packet received {"connection_id":111056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":111056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:05:15] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:15] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:05:15] local.INFO: IMEI packet received {"connection_id":111056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":111056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:05:16] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4793260012d82af4005d739c8000800ab2c..."} 
[2026-06-23 18:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4793260012d82af4005d739c8000800ab2c..."} 
[2026-06-23 18:05:16] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4793260012d82af4005d739c8000800ab2c..."} 
[2026-06-23 18:05:16] local.INFO: Packet analysis {"connection_id":111056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:16] local.INFO: Extracted packet for processing {"connection_id":111056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763539264,"raw_latitude":97991112,"longitude_deg":76.3539264,"latitude_deg":9.7991112,"altitude":8,"angle":171,"satellites":44,"speed":42,"hex_longitude":"2d82af40","hex_latitude":"05d739c8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247816960001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96485151814451200,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031194971417382912,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:16] 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-06-23 18:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782218044000,"timestamp_ms":1782218044000,"timestamp_seconds":1782218044,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4793260"} 
[2026-06-23 18:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247816960001,"66":12645,"155":206,"85":15104,"24":42,"16":96485151814451200,"45":-9031194971417382912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247816960001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96485151814451200,"km_value":96485151814451.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031194971417382912,"description":"Unknown IO ID 45"} 
[2026-06-23 18:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247816960001,"power":12645,"unknown_155":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9031194971417382912}} 
[2026-06-23 18:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":111056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:05:16] local.INFO: GPS data processed {"connection_id":111056,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:05:16] local.INFO: Acknowledgment sent {"connection_id":111056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:05:16] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4796528012d82b4c005d715f0000900a82e..."} 
[2026-06-23 18:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4796528012d82b4c005d715f0000900a82e..."} 
[2026-06-23 18:05:16] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4796528012d82b4c005d715f0000900a82e..."} 
[2026-06-23 18:05:16] local.INFO: Packet analysis {"connection_id":111056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:16] local.INFO: Extracted packet for processing {"connection_id":111056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763540672,"raw_latitude":97981936,"longitude_deg":76.3540672,"latitude_deg":9.7981936,"altitude":9,"angle":168,"satellites":46,"speed":21,"hex_longitude":"2d82b4c0","hex_latitude":"05d715f0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247819264001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96485598491049984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029928334024652800,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:16] 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-06-23 18:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782218057000,"timestamp_ms":1782218057000,"timestamp_seconds":1782218057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4796528"} 
[2026-06-23 18:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 18:05:16] 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-06-23 18: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-06-23 18:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247819264001,"66":12743,"155":206,"85":15104,"24":21,"16":96485598491049984,"45":-9029928334024652800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-23 18:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247819264001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96485598491049984,"km_value":96485598491049.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029928334024652800,"description":"Unknown IO ID 45"} 
[2026-06-23 18:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247819264001,"power":12743,"unknown_155":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9029928334024652800}} 
[2026-06-23 18:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":111056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:05:16] local.INFO: GPS data processed {"connection_id":111056,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:05:16] local.INFO: Acknowledgment sent {"connection_id":111056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:05:19] local.INFO: TCP Data received {"connection_id":111057,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:05:19] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:05:19] local.INFO: IMEI packet received {"connection_id":111057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":111057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:05:24] local.INFO: TCP Data received {"connection_id":112793,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:24] local.INFO: Processing buffer {"connection_id":112793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:24] local.INFO: IMEI packet received {"connection_id":112793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":112793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:05:25] local.INFO: TCP Data received {"connection_id":111057,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:05:25] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:05:25] local.INFO: IMEI packet received {"connection_id":111057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":111057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:05:25] local.INFO: TCP Data received {"connection_id":111057,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4798850012d18d28007212718004600a822..."} 
[2026-06-23 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4798850012d18d28007212718004600a822..."} 
[2026-06-23 18:05:25] local.INFO: Processing buffer {"connection_id":111057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4798850012d18d28007212718004600a822..."} 
[2026-06-23 18:05:25] local.INFO: Packet analysis {"connection_id":111057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:25] local.INFO: Extracted packet for processing {"connection_id":111057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613208,"longitude_deg":75.6601472,"latitude_deg":11.9613208,"altitude":70,"angle":168,"satellites":34,"speed":29,"hex_longitude":"2d18d280","hex_latitude":"07212718","is_valid_coordinates":true} 
[2026-06-23 18:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247823104001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3862292290600960,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785888389107085312,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782218066000,"timestamp_ms":1782218066000,"timestamp_seconds":1782218066,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4798850"} 
[2026-06-23 18:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:05:25] 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-06-23 18:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-23 18:05:25] 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-06-23 18:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247823104001,"66":14189,"106":206,"83":41984,"24":29,"16":3862292290600960,"45":1785888389107085312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-06-23 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247823104001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:05:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-23 18:05:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3862292290600960,"km_value":3862292290600.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785888389107085312,"description":"Unknown IO ID 45"} 
[2026-06-23 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247823104001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1785888389107085312}} 
[2026-06-23 18:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":111057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:05:26] local.INFO: GPS data processed {"connection_id":111057,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:05:26] local.INFO: Acknowledgment sent {"connection_id":111057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:05:28] local.INFO: TCP Data received {"connection_id":112793,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:28] local.INFO: Processing buffer {"connection_id":112793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:28] local.INFO: IMEI packet received {"connection_id":112793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":112793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:05:29] local.INFO: TCP Data received {"connection_id":112793,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:29] local.INFO: Processing buffer {"connection_id":112793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:05:29] local.INFO: IMEI packet received {"connection_id":112793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":112793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:05:30] local.INFO: TCP Data received {"connection_id":112793,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef479ab78012cb37cc0077bd2080014009e2f..."} 
[2026-06-23 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef479ab78012cb37cc0077bd2080014009e2f..."} 
[2026-06-23 18:05:30] local.INFO: Processing buffer {"connection_id":112793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef479ab78012cb37cc0077bd2080014009e2f..."} 
[2026-06-23 18:05:30] local.INFO: Packet analysis {"connection_id":112793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:30] local.INFO: Extracted packet for processing {"connection_id":112793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749960384,"raw_latitude":125555208,"longitude_deg":74.9960384,"latitude_deg":12.5555208,"altitude":20,"angle":158,"satellites":47,"speed":23,"hex_longitude":"2cb37cc0","hex_latitude":"077bd208","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247826944001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321315827787759616,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513531811666061312,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218075000,"timestamp_ms":1782218075000,"timestamp_seconds":1782218075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef479ab78"} 
[2026-06-23 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-06-23 18:05:30] 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-06-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:05:30] 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-06-23 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-06-23 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-06-23 18:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247826944001,"66":27843,"177":206,"27":54016,"24":23,"16":321315827787759616,"44":-5513531811666061312},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,27,24,16,44]} 
[2026-06-23 18:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247826944001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:05:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 18:05:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321315827787759616,"km_value":321315827787759.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513531811666061312,"description":"Unknown IO ID 44"} 
[2026-06-23 18:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247826944001,"power":27843,"unknown_177":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5513531811666061312}} 
[2026-06-23 18:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":112793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:05:30] local.INFO: GPS data processed {"connection_id":112793,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:05:30] local.INFO: Acknowledgment sent {"connection_id":112793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:05:34] local.INFO: TCP Data received {"connection_id":112793,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef479af60012cb37d80077bcfe0001400a92f..."} 
[2026-06-23 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef479af60012cb37d80077bcfe0001400a92f..."} 
[2026-06-23 18:05:34] local.INFO: Processing buffer {"connection_id":112793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef479af60012cb37d80077bcfe0001400a92f..."} 
[2026-06-23 18:05:34] local.INFO: Packet analysis {"connection_id":112793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:34] local.INFO: Extracted packet for processing {"connection_id":112793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:05:34] local.INFO: GPS Element Parsed {"raw_longitude":749960576,"raw_latitude":125554656,"longitude_deg":74.9960576,"latitude_deg":12.5554656,"altitude":20,"angle":169,"satellites":47,"speed":22,"hex_longitude":"2cb37d80","hex_latitude":"077bcfe0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247827200001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321315857852530688,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513320705433663488,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782218076000,"timestamp_ms":1782218076000,"timestamp_seconds":1782218076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef479af60"} 
[2026-06-23 18:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:05: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-06-23 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:05:34] 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-06-23 18: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-06-23 18:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247827200001,"66":27821,"177":206,"27":54016,"24":22,"16":321315857852530688,"44":-5513320705433663488},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,27,24,16,44]} 
[2026-06-23 18:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247827200001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:05:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 18:05:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321315857852530688,"km_value":321315857852530.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:05:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513320705433663488,"description":"Unknown IO ID 44"} 
[2026-06-23 18:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247827200001,"power":27821,"unknown_177":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-5513320705433663488}} 
[2026-06-23 18:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":112793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:05:34] local.INFO: GPS data processed {"connection_id":112793,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:05:34] local.INFO: Acknowledgment sent {"connection_id":112793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:05:48] local.INFO: TCP Data received {"connection_id":111056,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47a99c0012d82d18005d687680005009d2f..."} 
[2026-06-23 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47a99c0012d82d18005d687680005009d2f..."} 
[2026-06-23 18:05:48] local.INFO: Processing buffer {"connection_id":111056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47a99c0012d82d18005d687680005009d2f..."} 
[2026-06-23 18:05:48] local.INFO: Packet analysis {"connection_id":111056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47a"} 
[2026-06-23 18:05:48] local.INFO: Extracted packet for processing {"connection_id":111056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47a"} 
[2026-06-23 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":763548032,"raw_latitude":97945448,"longitude_deg":76.3548032,"latitude_deg":9.7945448,"altitude":5,"angle":157,"satellites":47,"speed":7,"hex_longitude":"2d82d180","hex_latitude":"05d68768","is_valid_coordinates":true} 
[2026-06-23 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247842560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96487526931365888,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572315136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:05:48] 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-06-23 18:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782218136000,"timestamp_ms":1782218136000,"timestamp_seconds":1782218136,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47a99c0"} 
[2026-06-23 18:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-23 18:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247842560001,"66":12885,"156":206,"85":15104,"24":7,"16":96487526931365888,"45":-9020428553572315136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 18:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247842560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:05:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 18:05:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96487526931365888,"km_value":96487526931365.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572315136,"description":"Unknown IO ID 45"} 
[2026-06-23 18:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247842560001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9020428553572315136}} 
[2026-06-23 18:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":111056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:05:48] local.INFO: GPS data processed {"connection_id":111056,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:05:48] local.INFO: Acknowledgment sent {"connection_id":111056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:06:06] local.INFO: TCP Data received {"connection_id":112793,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef479b348012cb37cc0077bce08001400bb30..."} 
[2026-06-23 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef479b348012cb37cc0077bce08001400bb30..."} 
[2026-06-23 18:06:06] local.INFO: Processing buffer {"connection_id":112793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef479b348012cb37cc0077bce08001400bb30..."} 
[2026-06-23 18:06:06] local.INFO: Packet analysis {"connection_id":112793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:06:06] local.INFO: Extracted packet for processing {"connection_id":112793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":749960384,"raw_latitude":125554184,"longitude_deg":74.9960384,"latitude_deg":12.5554184,"altitude":20,"angle":187,"satellites":48,"speed":19,"hex_longitude":"2cb37cc0","hex_latitude":"077bce08","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247827456001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321315879327367168,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513109599201271808,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782218077000,"timestamp_ms":1782218077000,"timestamp_seconds":1782218077,"priority":1,"record_length":96,"hex_timestamp":"0000019ef479b348"} 
[2026-06-23 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:06: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-06-23 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:06:06] 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-06-23 18: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-06-23 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247827456001,"66":27821,"177":206,"27":54016,"24":19,"16":321315879327367168,"44":-5513109599201271808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,27,24,16,44]} 
[2026-06-23 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247827456001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321315879327367168,"km_value":321315879327367.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513109599201271808,"description":"Unknown IO ID 44"} 
[2026-06-23 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247827456001,"power":27821,"unknown_177":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5513109599201271808}} 
[2026-06-23 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":112793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:06:06] local.INFO: GPS data processed {"connection_id":112793,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:06:06] local.INFO: Acknowledgment sent {"connection_id":112793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:06:10] local.INFO: TCP Data received {"connection_id":111853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:06:10] local.INFO: Processing buffer {"connection_id":111853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:06:10] local.INFO: IMEI packet received {"connection_id":111853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":111853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:06:15] local.INFO: TCP Data received {"connection_id":111853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:06:15] local.INFO: Processing buffer {"connection_id":111853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:06:15] local.INFO: IMEI packet received {"connection_id":111853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":111853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:06:16] local.INFO: TCP Data received {"connection_id":111853,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47a9da8012d82d18005d686a0000500ae2f..."} 
[2026-06-23 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47a9da8012d82d18005d686a0000500ae2f..."} 
[2026-06-23 18:06:16] local.INFO: Processing buffer {"connection_id":111853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47a9da8012d82d18005d686a0000500ae2f..."} 
[2026-06-23 18:06:16] local.INFO: Packet analysis {"connection_id":111853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47a"} 
[2026-06-23 18:06:16] local.INFO: Extracted packet for processing {"connection_id":111853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47a"} 
[2026-06-23 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763548032,"raw_latitude":97945248,"longitude_deg":76.3548032,"latitude_deg":9.7945248,"altitude":5,"angle":174,"satellites":47,"speed":8,"hex_longitude":"2d82d180","hex_latitude":"05d686a0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247842816001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96487535521300480,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020287816084002816,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:16] 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-06-23 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782218137000,"timestamp_ms":1782218137000,"timestamp_seconds":1782218137,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47a9da8"} 
[2026-06-23 18:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 18:06:16] 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-06-23 18: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-06-23 18:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247842816001,"66":12885,"156":206,"85":15104,"24":8,"16":96487535521300480,"45":-9020287816084002816},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 18:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247842816001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:06:16] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 18:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96487535521300480,"km_value":96487535521300.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020287816084002816,"description":"Unknown IO ID 45"} 
[2026-06-23 18:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247842816001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020287816084002816}} 
[2026-06-23 18:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":111853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:06:16] local.INFO: GPS data processed {"connection_id":111853,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:06:16] local.INFO: Acknowledgment sent {"connection_id":111853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:06:24] local.INFO: TCP Data received {"connection_id":111854,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:06:24] local.INFO: Processing buffer {"connection_id":111854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:06:24] local.INFO: IMEI packet received {"connection_id":111854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":111854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:06:27] local.INFO: TCP Data received {"connection_id":111854,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:06:27] local.INFO: Processing buffer {"connection_id":111854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:06:27] local.INFO: IMEI packet received {"connection_id":111854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":111854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:06:28] local.INFO: TCP Data received {"connection_id":111854,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef479b730012cb37bc0077bcc60001400d131..."} 
[2026-06-23 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef479b730012cb37bc0077bcc60001400d131..."} 
[2026-06-23 18:06:28] local.INFO: Processing buffer {"connection_id":111854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef479b730012cb37bc0077bcc60001400d131..."} 
[2026-06-23 18:06:28] local.INFO: Packet analysis {"connection_id":111854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:06:28] local.INFO: Extracted packet for processing {"connection_id":111854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":749960128,"raw_latitude":125553760,"longitude_deg":74.9960128,"latitude_deg":12.555376,"altitude":20,"angle":209,"satellites":49,"speed":20,"hex_longitude":"2cb37bc0","hex_latitude":"077bcc60","is_valid_coordinates":true} 
[2026-06-23 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247827712001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321315905097170944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513320705433925632,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782218078000,"timestamp_ms":1782218078000,"timestamp_seconds":1782218078,"priority":1,"record_length":96,"hex_timestamp":"0000019ef479b730"} 
[2026-06-23 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:06:28] 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-06-23 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:06:28] 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-06-23 18:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247827712001,"66":27767,"177":206,"27":54016,"24":20,"16":321315905097170944,"44":-5513320705433925632},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,27,24,16,44]} 
[2026-06-23 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247827712001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:06:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 18:06:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321315905097170944,"km_value":321315905097170.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:06:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513320705433925632,"description":"Unknown IO ID 44"} 
[2026-06-23 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247827712001,"power":27767,"unknown_177":206,"unknown_27":54016,"ignition":20,"odometer":null,"unknown_44":-5513320705433925632}} 
[2026-06-23 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":111854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:06:28] local.INFO: GPS data processed {"connection_id":111854,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:06:28] local.INFO: Acknowledgment sent {"connection_id":111854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:06:30] local.INFO: TCP Data received {"connection_id":111854,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef479d670012cb372c0077bbda0001600c02d..."} 
[2026-06-23 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef479d670012cb372c0077bbda0001600c02d..."} 
[2026-06-23 18:06:30] local.INFO: Processing buffer {"connection_id":111854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef479d670012cb372c0077bbda0001600c02d..."} 
[2026-06-23 18:06:30] local.INFO: Packet analysis {"connection_id":111854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:06:30] local.INFO: Extracted packet for processing {"connection_id":111854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef479"} 
[2026-06-23 18:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749957824,"raw_latitude":125549984,"longitude_deg":74.9957824,"latitude_deg":12.5549984,"altitude":22,"angle":192,"satellites":45,"speed":22,"hex_longitude":"2cb372c0","hex_latitude":"077bbda0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247827968001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321316119845535744,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513602180410744832,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218086000,"timestamp_ms":1782218086000,"timestamp_seconds":1782218086,"priority":1,"record_length":96,"hex_timestamp":"0000019ef479d670"} 
[2026-06-23 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-06-23 18:06:30] 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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 18:06: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-06-23 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-06-23 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-06-23 18:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247827968001,"66":27843,"177":206,"27":54016,"24":22,"16":321316119845535744,"44":-5513602180410744832},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,27,24,16,44]} 
[2026-06-23 18:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247827968001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:06:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 18:06:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321316119845535744,"km_value":321316119845535.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513602180410744832,"description":"Unknown IO ID 44"} 
[2026-06-23 18:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247827968001,"power":27843,"unknown_177":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-5513602180410744832}} 
[2026-06-23 18:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":111854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:06:30] local.INFO: GPS data processed {"connection_id":111854,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:06:30] local.INFO: Acknowledgment sent {"connection_id":111854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:06:46] local.INFO: TCP Data received {"connection_id":112794,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:06:46] local.INFO: Processing buffer {"connection_id":112794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:06:46] local.INFO: IMEI packet received {"connection_id":112794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":112794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:06:47] local.INFO: TCP Data received {"connection_id":111853,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47b93c0012d82b58005d62d38000500e826..."} 
[2026-06-23 18:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47b93c0012d82b58005d62d38000500e826..."} 
[2026-06-23 18:06:47] local.INFO: Processing buffer {"connection_id":111853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47b93c0012d82b58005d62d38000500e826..."} 
[2026-06-23 18:06:47] local.INFO: Packet analysis {"connection_id":111853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:06:47] local.INFO: Extracted packet for processing {"connection_id":111853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763540864,"raw_latitude":97922360,"longitude_deg":76.3540864,"latitude_deg":9.792236,"altitude":5,"angle":232,"satellites":38,"speed":20,"hex_longitude":"2d82b580","hex_latitude":"05d62d38","is_valid_coordinates":true} 
[2026-06-23 18:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247858688001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96488720932274176,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027254321763336192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:06:47] 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-06-23 18:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782218200000,"timestamp_ms":1782218200000,"timestamp_seconds":1782218200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47b93c0"} 
[2026-06-23 18:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 18:06:47] 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-06-23 18:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247858688001,"66":12928,"156":206,"85":15104,"24":20,"16":96488720932274176,"45":-9027254321763336192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 18:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247858688001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:06:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 18:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96488720932274176,"km_value":96488720932274.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027254321763336192,"description":"Unknown IO ID 45"} 
[2026-06-23 18:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247858688001,"power":12928,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9027254321763336192}} 
[2026-06-23 18:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":111853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:06:47] local.INFO: GPS data processed {"connection_id":111853,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:06:47] local.INFO: Acknowledgment sent {"connection_id":111853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:07:01] local.INFO: TCP Data received {"connection_id":111854,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47ae7e0012cb36940077aeb080015008a32..."} 
[2026-06-23 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47ae7e0012cb36940077aeb080015008a32..."} 
[2026-06-23 18:07:01] local.INFO: Processing buffer {"connection_id":111854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47ae7e0012cb36940077aeb080015008a32..."} 
[2026-06-23 18:07:01] local.INFO: Packet analysis {"connection_id":111854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47a"} 
[2026-06-23 18:07:01] local.INFO: Extracted packet for processing {"connection_id":111854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47a"} 
[2026-06-23 18:07:01] local.INFO: GPS Element Parsed {"raw_longitude":749955392,"raw_latitude":125496072,"longitude_deg":74.9955392,"latitude_deg":12.5496072,"altitude":21,"angle":138,"satellites":50,"speed":27,"hex_longitude":"2cb36940","hex_latitude":"077aeb08","is_valid_coordinates":true} 
[2026-06-23 18:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247847680001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321318778430291968,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519231679959586816,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218156000,"timestamp_ms":1782218156000,"timestamp_seconds":1782218156,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47ae7e0"} 
[2026-06-23 18:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:07:01] 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-06-23 18:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:07:01] 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-06-23 18:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247847680001,"66":27713,"38":206,"27":54016,"24":27,"16":321318778430291968,"44":-5519231679959586816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-06-23 18:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247847680001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:07:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 18:07:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321318778430291968,"km_value":321318778430291.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519231679959586816,"description":"Unknown IO ID 44"} 
[2026-06-23 18:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247847680001,"power":27713,"unknown_38":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5519231679959586816}} 
[2026-06-23 18:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":111854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:07:01] local.INFO: GPS data processed {"connection_id":111854,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:07:01] local.INFO: Acknowledgment sent {"connection_id":111854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:07:06] local.INFO: TCP Data received {"connection_id":112795,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:07:06] local.INFO: Processing buffer {"connection_id":112795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:07:06] local.INFO: IMEI packet received {"connection_id":112795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":112795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:07:11] local.INFO: TCP Data received {"connection_id":112796,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:11] local.INFO: Processing buffer {"connection_id":112796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:11] local.INFO: IMEI packet received {"connection_id":112796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":112796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:07:15] local.INFO: TCP Data received {"connection_id":112796,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:15] local.INFO: Processing buffer {"connection_id":112796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:15] local.INFO: IMEI packet received {"connection_id":112796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":112796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:07:21] local.INFO: TCP Data received {"connection_id":112796,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:21] local.INFO: Processing buffer {"connection_id":112796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:07:21] local.INFO: IMEI packet received {"connection_id":112796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":112796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:07:22] local.INFO: TCP Data received {"connection_id":112796,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47b9b90012d82b24005d62a00000500dd27..."} 
[2026-06-23 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47b9b90012d82b24005d62a00000500dd27..."} 
[2026-06-23 18:07:22] local.INFO: Processing buffer {"connection_id":112796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47b9b90012d82b24005d62a00000500dd27..."} 
[2026-06-23 18:07:22] local.INFO: Packet analysis {"connection_id":112796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:07:22] local.INFO: Extracted packet for processing {"connection_id":112796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763540032,"raw_latitude":97921536,"longitude_deg":76.3540032,"latitude_deg":9.7921536,"altitude":5,"angle":221,"satellites":39,"speed":25,"hex_longitude":"2d82b240","hex_latitude":"05d62a00","is_valid_coordinates":true} 
[2026-06-23 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247859200001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96488776766849024,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028169115437811712,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:22] 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-06-23 18:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782218202000,"timestamp_ms":1782218202000,"timestamp_seconds":1782218202,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47b9b90"} 
[2026-06-23 18:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-23 18:07:22] 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-06-23 18:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247859200001,"66":12330,"156":206,"85":15104,"24":25,"16":96488776766849024,"45":-9028169115437811712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 18:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247859200001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:07:22] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 18:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96488776766849024,"km_value":96488776766849.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028169115437811712,"description":"Unknown IO ID 45"} 
[2026-06-23 18:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247859200001,"power":12330,"unknown_156":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9028169115437811712}} 
[2026-06-23 18:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":112796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:07:22] local.INFO: GPS data processed {"connection_id":112796,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:07:22] local.INFO: Acknowledgment sent {"connection_id":112796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:07:23] local.INFO: TCP Data received {"connection_id":111855,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:07:23] local.INFO: Processing buffer {"connection_id":111855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:07:23] local.INFO: IMEI packet received {"connection_id":111855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":111855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:07:27] local.INFO: TCP Data received {"connection_id":112796,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47ba360012d82af0005d62590000500cf27..."} 
[2026-06-23 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47ba360012d82af0005d62590000500cf27..."} 
[2026-06-23 18:07:27] local.INFO: Processing buffer {"connection_id":112796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47ba360012d82af0005d62590000500cf27..."} 
[2026-06-23 18:07:27] local.INFO: Packet analysis {"connection_id":112796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:07:27] local.INFO: Extracted packet for processing {"connection_id":112796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763539200,"raw_latitude":97920400,"longitude_deg":76.35392,"latitude_deg":9.79204,"altitude":5,"angle":207,"satellites":39,"speed":28,"hex_longitude":"2d82af00","hex_latitude":"05d62590","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247859712001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96488845486325760,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029083909112332288,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:27] 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-06-23 18:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782218204000,"timestamp_ms":1782218204000,"timestamp_seconds":1782218204,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47ba360"} 
[2026-06-23 18:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-06-23 18:07:27] 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-06-23 18: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-06-23 18:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247859712001,"66":12863,"156":206,"85":15104,"24":28,"16":96488845486325760,"45":-9029083909112332288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-23 18:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247859712001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:07:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 18:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96488845486325760,"km_value":96488845486325.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029083909112332288,"description":"Unknown IO ID 45"} 
[2026-06-23 18:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247859712001,"power":12863,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9029083909112332288}} 
[2026-06-23 18:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":112796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:07:27] local.INFO: GPS data processed {"connection_id":112796,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:07:27] local.INFO: Acknowledgment sent {"connection_id":112796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:07:27] local.INFO: TCP Data received {"connection_id":111855,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:07:27] local.INFO: Processing buffer {"connection_id":111855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:07:27] local.INFO: IMEI packet received {"connection_id":111855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":111855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:07:29] local.INFO: TCP Data received {"connection_id":111855,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47b0720012cb37c80077ad9800015007b2f..."} 
[2026-06-23 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47b0720012cb37c80077ad9800015007b2f..."} 
[2026-06-23 18:07:29] local.INFO: Processing buffer {"connection_id":111855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47b0720012cb37c80077ad9800015007b2f..."} 
[2026-06-23 18:07:29] local.INFO: Packet analysis {"connection_id":111855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:07:29] local.INFO: Extracted packet for processing {"connection_id":111855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:07:29] local.INFO: GPS Element Parsed {"raw_longitude":749960320,"raw_latitude":125491584,"longitude_deg":74.996032,"latitude_deg":12.5491584,"altitude":21,"angle":123,"satellites":47,"speed":36,"hex_longitude":"2cb37c80","hex_latitude":"077ad980","is_valid_coordinates":true} 
[2026-06-23 18:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247847936001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321319100552839168,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5518809467494660096,"note":"Value kept but may cause issues"} 
[2026-06-23 18:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218164000,"timestamp_ms":1782218164000,"timestamp_seconds":1782218164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47b0720"} 
[2026-06-23 18:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:07:29] 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-06-23 18:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-23 18:07:29] 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-06-23 18:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247847936001,"66":27876,"38":206,"27":54016,"24":36,"16":321319100552839168,"44":-5518809467494660096},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-06-23 18:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247847936001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:07:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 18:07:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321319100552839168,"km_value":321319100552839.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5518809467494660096,"description":"Unknown IO ID 44"} 
[2026-06-23 18:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247847936001,"power":27876,"unknown_38":206,"unknown_27":54016,"ignition":36,"odometer":null,"unknown_44":-5518809467494660096}} 
[2026-06-23 18:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":111855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:07:29] local.INFO: GPS data processed {"connection_id":111855,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:07:29] local.INFO: Acknowledgment sent {"connection_id":111855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:08:01] local.INFO: TCP Data received {"connection_id":111855,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47b3218012cb39e00077ac6f0001700752c..."} 
[2026-06-23 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47b3218012cb39e00077ac6f0001700752c..."} 
[2026-06-23 18:08:01] local.INFO: Processing buffer {"connection_id":111855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47b3218012cb39e00077ac6f0001700752c..."} 
[2026-06-23 18:08:01] local.INFO: Packet analysis {"connection_id":111855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:08:01] local.INFO: Extracted packet for processing {"connection_id":111855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":749968896,"raw_latitude":125486832,"longitude_deg":74.9968896,"latitude_deg":12.5486832,"altitude":23,"angle":117,"satellites":44,"speed":34,"hex_longitude":"2cb39e00","hex_latitude":"077ac6f0","is_valid_coordinates":true} 
[2026-06-23 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247849984001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321319564409307136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5513391074194128896,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218175000,"timestamp_ms":1782218175000,"timestamp_seconds":1782218175,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47b3218"} 
[2026-06-23 18:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:08:01] 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-06-23 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:08:01] 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-06-23 18:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247849984001,"66":27865,"38":206,"27":54016,"24":34,"16":321319564409307136,"44":-5513391074194128896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-06-23 18:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247849984001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321319564409307136,"km_value":321319564409307.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5513391074194128896,"description":"Unknown IO ID 44"} 
[2026-06-23 18:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247849984001,"power":27865,"unknown_38":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-5513391074194128896}} 
[2026-06-23 18:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":111855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:08:01] local.INFO: GPS data processed {"connection_id":111855,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:08:01] local.INFO: Acknowledgment sent {"connection_id":111855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:08:09] local.INFO: TCP Data received {"connection_id":111857,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:08:09] local.INFO: Processing buffer {"connection_id":111857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:08:09] local.INFO: IMEI packet received {"connection_id":111857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":111857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:08:10] local.INFO: TCP Data received {"connection_id":111857,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111857,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 18:08:10] local.INFO: Processing buffer {"connection_id":111857,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 18:08:10] local.INFO: IMEI packet received {"connection_id":111857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":111857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:08:15] local.INFO: TCP Data received {"connection_id":111857,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:08:15] local.INFO: Processing buffer {"connection_id":111857,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 18:08:15] local.INFO: IMEI packet received {"connection_id":111857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":111857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:08:16] local.INFO: TCP Data received {"connection_id":111857,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47c8dc0012d8276c005d5ec10000200f328..."} 
[2026-06-23 18:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47c8dc0012d8276c005d5ec10000200f328..."} 
[2026-06-23 18:08:16] local.INFO: Processing buffer {"connection_id":111857,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ef4..."} 
[2026-06-23 18:08:16] local.INFO: IMEI packet received {"connection_id":111857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":111857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:08:19] local.INFO: TCP Data received {"connection_id":111857,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47c9590012d8270c005d5ea700002010228..."} 
[2026-06-23 18:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47c9590012d8270c005d5ea700002010228..."} 
[2026-06-23 18:08:19] local.INFO: Processing buffer {"connection_id":111857,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef47c8dc0012d8276c005d5ec10000200f328..."} 
[2026-06-23 18:08:19] local.INFO: Packet analysis {"connection_id":111857,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:08:19] local.INFO: Extracted packet for processing {"connection_id":111857,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:08:19] local.INFO: GPS Element Parsed {"raw_longitude":763524800,"raw_latitude":97905680,"longitude_deg":76.35248,"latitude_deg":9.790568,"altitude":2,"angle":243,"satellites":40,"speed":26,"hex_longitude":"2d8276c0","hex_latitude":"05d5ec10","is_valid_coordinates":true} 
[2026-06-23 18:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247874816001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96490095321808896,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044283557858445312,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:19] 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-06-23 18:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782218264000,"timestamp_ms":1782218264000,"timestamp_seconds":1782218264,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47c8dc0"} 
[2026-06-23 18:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 18:08:19] 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-06-23 18:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247874816001,"66":12624,"157":206,"85":15104,"24":26,"16":96490095321808896,"45":-9044283557858445312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247874816001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96490095321808896,"km_value":96490095321808.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044283557858445312,"description":"Unknown IO ID 45"} 
[2026-06-23 18:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247874816001,"power":12624,"unknown_157":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9044283557858445312}} 
[2026-06-23 18:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":111857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:08:19] local.INFO: GPS data processed {"connection_id":111857,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:08:19] local.INFO: Acknowledgment sent {"connection_id":111857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:08:19] local.INFO: Packet analysis {"connection_id":111857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:08:19] local.INFO: Extracted packet for processing {"connection_id":111857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:08:19] local.INFO: GPS Element Parsed {"raw_longitude":763523264,"raw_latitude":97905264,"longitude_deg":76.3523264,"latitude_deg":9.7905264,"altitude":2,"angle":258,"satellites":40,"speed":33,"hex_longitude":"2d8270c0","hex_latitude":"05d5ea70","is_valid_coordinates":true} 
[2026-06-23 18:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247875584001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96490168336252928,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045831670230675456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:19] 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-06-23 18:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782218266000,"timestamp_ms":1782218266000,"timestamp_seconds":1782218266,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47c9590"} 
[2026-06-23 18:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 18:08:19] 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-06-23 18:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247875584001,"66":12961,"157":206,"85":15104,"24":33,"16":96490168336252928,"45":-9045831670230675456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 18:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247875584001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96490168336252928,"km_value":96490168336252.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045831670230675456,"description":"Unknown IO ID 45"} 
[2026-06-23 18:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247875584001,"power":12961,"unknown_157":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9045831670230675456}} 
[2026-06-23 18:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":111857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:08:19] local.INFO: GPS data processed {"connection_id":111857,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:08:19] local.INFO: Acknowledgment sent {"connection_id":111857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:08:24] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:24] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:24] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:08:25] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:25] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:25] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:08:27] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:27] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:08:27] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:08:29] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47b60f8012cb3be80077ab5b0001c00772d..."} 
[2026-06-23 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47b60f8012cb3be80077ab5b0001c00772d..."} 
[2026-06-23 18:08:29] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47b60f8012cb3be80077ab5b0001c00772d..."} 
[2026-06-23 18:08:29] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:08:29] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:08:29] local.INFO: GPS Element Parsed {"raw_longitude":749977216,"raw_latitude":125482416,"longitude_deg":74.9977216,"latitude_deg":12.5482416,"altitude":28,"angle":119,"satellites":45,"speed":28,"hex_longitude":"2cb3be80","hex_latitude":"077ab5b0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247852800001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321320015380873216,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5503961662475538432,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218187000,"timestamp_ms":1782218187000,"timestamp_seconds":1782218187,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47b60f8"} 
[2026-06-23 18:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:08:29] 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-06-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:08:29] 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-06-23 18: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-06-23 18:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247852800001,"66":27789,"38":206,"27":54016,"24":28,"16":321320015380873216,"44":-5503961662475538432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-06-23 18:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247852800001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:08:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 18:08:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321320015380873216,"km_value":321320015380873.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5503961662475538432,"description":"Unknown IO ID 44"} 
[2026-06-23 18:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247852800001,"power":27789,"unknown_38":206,"unknown_27":54016,"ignition":28,"odometer":null,"unknown_44":-5503961662475538432}} 
[2026-06-23 18:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:08:29] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:08:29] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:08:30] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47b7868012cb3cb80077aac38001f00832d..."} 
[2026-06-23 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47b7868012cb3cb80077aac38001f00832d..."} 
[2026-06-23 18:08:30] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47b7868012cb3cb80077aac38001f00832d..."} 
[2026-06-23 18:08:30] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:08:30] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47b"} 
[2026-06-23 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":749980544,"raw_latitude":125479992,"longitude_deg":74.9980544,"latitude_deg":12.5479992,"altitude":31,"angle":131,"satellites":45,"speed":25,"hex_longitude":"2cb3cb80","hex_latitude":"077aac38","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247855872001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321320212949368832,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5494813725733572608,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218193000,"timestamp_ms":1782218193000,"timestamp_seconds":1782218193,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47b7868"} 
[2026-06-23 18:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:08:30] 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-06-23 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 18:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247855872001,"66":27919,"38":206,"27":54016,"24":25,"16":321320212949368832,"44":-5494813725733572608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,27,24,16,44]} 
[2026-06-23 18:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247855872001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:08:30] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 18:08:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321320212949368832,"km_value":321320212949368.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5494813725733572608,"description":"Unknown IO ID 44"} 
[2026-06-23 18:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247855872001,"power":27919,"unknown_38":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5494813725733572608}} 
[2026-06-23 18:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:08:30] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:08:30] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:08:50] local.INFO: TCP Data received {"connection_id":111857,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d4558012d81fd0005d5d0d0000001232c..."} 
[2026-06-23 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d4558012d81fd0005d5d0d0000001232c..."} 
[2026-06-23 18:08:50] local.INFO: Processing buffer {"connection_id":111857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d4558012d81fd0005d5d0d0000001232c..."} 
[2026-06-23 18:08:50] local.INFO: Packet analysis {"connection_id":111857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:08:50] local.INFO: Extracted packet for processing {"connection_id":111857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":763493632,"raw_latitude":97898704,"longitude_deg":76.3493632,"latitude_deg":9.7898704,"altitude":0,"angle":291,"satellites":44,"speed":17,"hex_longitude":"2d81fd00","hex_latitude":"05d5d0d0","is_valid_coordinates":true} 
[2026-06-23 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247887360001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96491903503040512,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079679036181975040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:08:50] 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-06-23 18:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782218311000,"timestamp_ms":1782218311000,"timestamp_seconds":1782218311,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d4558"} 
[2026-06-23 18:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 18:08:50] 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-06-23 18:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247887360001,"66":12374,"157":206,"85":15104,"24":17,"16":96491903503040512,"45":-9079679036181975040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 18:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247887360001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:08:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 18:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96491903503040512,"km_value":96491903503040.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079679036181975040,"description":"Unknown IO ID 45"} 
[2026-06-23 18:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247887360001,"power":12374,"unknown_157":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9079679036181975040}} 
[2026-06-23 18:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":111857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:08:51] local.INFO: GPS data processed {"connection_id":111857,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:08:51] local.INFO: Acknowledgment sent {"connection_id":111857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:01] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47cb8b8012cb42c40077a25c0003500e531..."} 
[2026-06-23 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47cb8b8012cb42c40077a25c0003500e531..."} 
[2026-06-23 18:09:01] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47cb8b8012cb42c40077a25c0003500e531..."} 
[2026-06-23 18:09:01] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:09:01] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750005312,"raw_latitude":125445568,"longitude_deg":75.0005312,"latitude_deg":12.5445568,"altitude":53,"angle":229,"satellites":49,"speed":19,"hex_longitude":"2cb42c40","hex_latitude":"077a25c0","is_valid_coordinates":true} 
[2026-06-23 18:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247877888001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322330368245760,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463147790862893056,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218275000,"timestamp_ms":1782218275000,"timestamp_seconds":1782218275,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47cb8b8"} 
[2026-06-23 18:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09:01] 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-06-23 18:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:01] 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-06-23 18:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247877888001,"66":27397,"37":206,"27":54016,"24":19,"16":321322330368245760,"44":-5463147790862893056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247877888001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:09:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322330368245760,"km_value":321322330368245.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463147790862893056,"description":"Unknown IO ID 44"} 
[2026-06-23 18:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247877888001,"power":27397,"unknown_37":206,"unknown_27":54016,"ignition":19,"odometer":null,"unknown_44":-5463147790862893056}} 
[2026-06-23 18:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:01] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:01] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:10] local.INFO: TCP Data received {"connection_id":111858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:10] local.INFO: Processing buffer {"connection_id":111858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:10] local.INFO: IMEI packet received {"connection_id":111858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":111858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:09:12] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:09:12] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:09:12] local.INFO: IMEI packet received {"connection_id":111859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":111859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:09:13] local.INFO: TCP Data received {"connection_id":111858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:13] local.INFO: Processing buffer {"connection_id":111858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:13] local.INFO: IMEI packet received {"connection_id":111858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":111858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:09:15] local.INFO: TCP Data received {"connection_id":111858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:15] local.INFO: Processing buffer {"connection_id":111858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:09:15] local.INFO: IMEI packet received {"connection_id":111858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":111858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:09:16] local.INFO: TCP Data received {"connection_id":111858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d4940012d81fb4005d5d108000001102c..."} 
[2026-06-23 18:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d4940012d81fb4005d5d108000001102c..."} 
[2026-06-23 18:09:16] local.INFO: Processing buffer {"connection_id":111858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d4940012d81fb4005d5d108000001102c..."} 
[2026-06-23 18:09:16] local.INFO: Packet analysis {"connection_id":111858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:16] local.INFO: Extracted packet for processing {"connection_id":111858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:16] local.INFO: GPS Element Parsed {"raw_longitude":763493184,"raw_latitude":97898760,"longitude_deg":76.3493184,"latitude_deg":9.789876,"altitude":0,"angle":272,"satellites":44,"speed":18,"hex_longitude":"2d81fb40","hex_latitude":"05d5d108","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247887616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96491924977876992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080101248646983680,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:16] 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-06-23 18:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782218312000,"timestamp_ms":1782218312000,"timestamp_seconds":1782218312,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d4940"} 
[2026-06-23 18:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:16] 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-06-23 18: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-06-23 18:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247887616001,"66":12374,"157":206,"85":15104,"24":18,"16":96491924977876992,"45":-9080101248646983680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 18:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247887616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:16] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 18:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96491924977876992,"km_value":96491924977876.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080101248646983680,"description":"Unknown IO ID 45"} 
[2026-06-23 18:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247887616001,"power":12374,"unknown_157":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9080101248646983680}} 
[2026-06-23 18:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":111858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:16] local.INFO: GPS data processed {"connection_id":111858,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:16] local.INFO: Acknowledgment sent {"connection_id":111858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:17] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:09:17] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:09:17] local.INFO: IMEI packet received {"connection_id":111859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":111859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:09:18] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ea8012d195b0007200dd8004d00d221..."} 
[2026-06-23 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ea8012d195b0007200dd8004d00d221..."} 
[2026-06-23 18:09:18] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ea8012d195b0007200dd8004d00d221..."} 
[2026-06-23 18:09:18] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:18] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119541208,"longitude_deg":75.6636416,"latitude_deg":11.9541208,"altitude":77,"angle":210,"satellites":33,"speed":13,"hex_longitude":"2d195b00","hex_latitude":"07200dd8","is_valid_coordinates":true} 
[2026-06-23 18:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247881728001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866720401883136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827968898106476544,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782218297000,"timestamp_ms":1782218297000,"timestamp_seconds":1782218297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ea8"} 
[2026-06-23 18:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09:18] 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-06-23 18:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:18] 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-06-23 18:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247881728001,"66":13993,"102":206,"83":41984,"24":13,"16":3866720401883136,"45":1827968898106476544},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247881728001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866720401883136,"km_value":3866720401883.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827968898106476544,"description":"Unknown IO ID 45"} 
[2026-06-23 18:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247881728001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1827968898106476544}} 
[2026-06-23 18:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:18] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:18] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:21] local.INFO: TCP Data received {"connection_id":111858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d7438012d81d7c005d5cd180003010529..."} 
[2026-06-23 18:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d7438012d81d7c005d5cd180003010529..."} 
[2026-06-23 18:09:21] local.INFO: Processing buffer {"connection_id":111858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d7438012d81d7c005d5cd180003010529..."} 
[2026-06-23 18:09:21] local.INFO: Packet analysis {"connection_id":111858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:21] local.INFO: Extracted packet for processing {"connection_id":111858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763484096,"raw_latitude":97897752,"longitude_deg":76.3484096,"latitude_deg":9.7897752,"altitude":3,"angle":261,"satellites":41,"speed":34,"hex_longitude":"2d81d7c0","hex_latitude":"05d5cd18","is_valid_coordinates":true} 
[2026-06-23 18:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247887872001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96492363064541184,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080593829856212992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:21] 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-06-23 18:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782218323000,"timestamp_ms":1782218323000,"timestamp_seconds":1782218323,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d7438"} 
[2026-06-23 18:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247887872001,"66":12798,"157":206,"85":15104,"24":34,"16":96492363064541184,"45":-9080593829856212992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 18:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247887872001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 18:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96492363064541184,"km_value":96492363064541.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080593829856212992,"description":"Unknown IO ID 45"} 
[2026-06-23 18:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247887872001,"power":12798,"unknown_157":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9080593829856212992}} 
[2026-06-23 18:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":111858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:21] local.INFO: GPS data processed {"connection_id":111858,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:21] local.INFO: Acknowledgment sent {"connection_id":111858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:23] local.INFO: TCP Data received {"connection_id":111860,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:09:23] local.INFO: Processing buffer {"connection_id":111860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:09:23] local.INFO: IMEI packet received {"connection_id":111860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":111860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:09:28] local.INFO: TCP Data received {"connection_id":111860,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:09:28] local.INFO: Processing buffer {"connection_id":111860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:09:28] local.INFO: IMEI packet received {"connection_id":111860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":111860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:09:29] local.INFO: TCP Data received {"connection_id":111860,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47cfb20012cb41740077a16b8003400eb2f..."} 
[2026-06-23 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47cfb20012cb41740077a16b8003400eb2f..."} 
[2026-06-23 18:09:29] local.INFO: Processing buffer {"connection_id":111860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47cfb20012cb41740077a16b8003400eb2f..."} 
[2026-06-23 18:09:29] local.INFO: Packet analysis {"connection_id":111860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:09:29] local.INFO: Extracted packet for processing {"connection_id":111860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47c"} 
[2026-06-23 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749999936,"raw_latitude":125441720,"longitude_deg":74.9999936,"latitude_deg":12.544172,"altitude":52,"angle":235,"satellites":47,"speed":6,"hex_longitude":"2cb41740","hex_latitude":"077a16b8","is_valid_coordinates":true} 
[2026-06-23 18:09: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-06-23 18:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247878400001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5463921847049011200,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218292000,"timestamp_ms":1782218292000,"timestamp_seconds":1782218292,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47cfb20"} 
[2026-06-23 18:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09:29] 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-06-23 18:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247878400001,"66":28028,"37":206,"27":54016,"24":6,"16":321322648195825664,"44":-5463921847049011200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247878400001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:09:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5463921847049011200,"description":"Unknown IO ID 44"} 
[2026-06-23 18:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247878400001,"power":28028,"unknown_37":206,"unknown_27":54016,"ignition":6,"odometer":null,"unknown_44":-5463921847049011200}} 
[2026-06-23 18:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":111860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:29] local.INFO: GPS data processed {"connection_id":111860,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:29] local.INFO: Acknowledgment sent {"connection_id":111860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:49] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d1290012d195a4007200ce0004d00ea20..."} 
[2026-06-23 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d1290012d195a4007200ce0004d00ea20..."} 
[2026-06-23 18:09:49] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d1290012d195a4007200ce0004d00ea20..."} 
[2026-06-23 18:09:49] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:49] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119540960,"longitude_deg":75.6636224,"latitude_deg":11.954096,"altitude":77,"angle":234,"satellites":32,"speed":12,"hex_longitude":"2d195a40","hex_latitude":"07200ce0","is_valid_coordinates":true} 
[2026-06-23 18:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247884032001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866733286785024,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104431417344,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782218298000,"timestamp_ms":1782218298000,"timestamp_seconds":1782218298,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d1290"} 
[2026-06-23 18:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09:49] 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-06-23 18:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:49] 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-06-23 18:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247884032001,"66":13993,"102":206,"83":41984,"24":12,"16":3866733286785024,"45":1827054104431417344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247884032001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866733286785024,"km_value":3866733286785.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104431417344,"description":"Unknown IO ID 45"} 
[2026-06-23 18:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247884032001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1827054104431417344}} 
[2026-06-23 18:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:49] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:49] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:09:52] local.INFO: TCP Data received {"connection_id":111858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47da700012d81b94005d5c7f0000300f927..."} 
[2026-06-23 18:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47da700012d81b94005d5c7f0000300f927..."} 
[2026-06-23 18:09:52] local.INFO: Processing buffer {"connection_id":111858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47da700012d81b94005d5c7f0000300f927..."} 
[2026-06-23 18:09:52] local.INFO: Packet analysis {"connection_id":111858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:52] local.INFO: Extracted packet for processing {"connection_id":111858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97896432,"longitude_deg":76.3476288,"latitude_deg":9.7896432,"altitude":3,"angle":249,"satellites":39,"speed":8,"hex_longitude":"2d81b940","hex_latitude":"05d5c7f0","is_valid_coordinates":true} 
[2026-06-23 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247890688001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96492745316630528,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090586191529699328,"note":"Value kept but may cause issues"} 
[2026-06-23 18:09:52] 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-06-23 18:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782218336000,"timestamp_ms":1782218336000,"timestamp_seconds":1782218336,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47da700"} 
[2026-06-23 18:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:09: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-06-23 18:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 18:09:52] 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-06-23 18:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247890688001,"66":11776,"157":206,"85":15104,"24":8,"16":96492745316630528,"45":-9090586191529699328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-23 18:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247890688001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:09:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-23 18:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96492745316630528,"km_value":96492745316630.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090586191529699328,"description":"Unknown IO ID 45"} 
[2026-06-23 18:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247890688001,"power":11776,"unknown_157":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9090586191529699328}} 
[2026-06-23 18:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":111858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:09:52] local.INFO: GPS data processed {"connection_id":111858,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:09:52] local.INFO: Acknowledgment sent {"connection_id":111858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:10:00] local.INFO: TCP Data received {"connection_id":111860,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:10:00] local.INFO: Processing buffer {"connection_id":111860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:10:00] local.INFO: Packet analysis {"connection_id":111860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:00] local.INFO: Extracted packet for processing {"connection_id":111860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:10:00] 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-06-23 18: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-06-23 18:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:10:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:10:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":111860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:10:00] local.INFO: GPS data processed {"connection_id":111860,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:10:00] local.INFO: Acknowledgment sent {"connection_id":111860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:10:09] local.INFO: TCP Data received {"connection_id":111234,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:09] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:09] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:10:10] local.INFO: TCP Data received {"connection_id":111234,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:10] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:10] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:10:11] local.INFO: TCP Data received {"connection_id":111234,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:11] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:11] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:10:14] local.INFO: TCP Data received {"connection_id":111234,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:14] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:10:14] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:10:20] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d1678012d19590007200c48004d00fd21..."} 
[2026-06-23 18:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d1678012d19590007200c48004d00fd21..."} 
[2026-06-23 18:10:20] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d1678012d19590007200c48004d00fd21..."} 
[2026-06-23 18:10:20] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:20] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756635904,"raw_latitude":119540808,"longitude_deg":75.6635904,"latitude_deg":11.9540808,"altitude":77,"angle":253,"satellites":33,"speed":13,"hex_longitude":"2d195900","hex_latitude":"07200c48","is_valid_coordinates":true} 
[2026-06-23 18:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247884288001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866750466654208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998198820864,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782218299000,"timestamp_ms":1782218299000,"timestamp_seconds":1782218299,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d1678"} 
[2026-06-23 18:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:10:20] 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-06-23 18:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 18:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247884288001,"66":14004,"102":206,"83":41984,"24":13,"16":3866750466654208,"45":1826842998198820864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247884288001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:10:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866750466654208,"km_value":3866750466654.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998198820864,"description":"Unknown IO ID 45"} 
[2026-06-23 18:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247884288001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1826842998198820864}} 
[2026-06-23 18:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:10:20] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:10:20] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:10:23] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:10:23] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:10:23] local.INFO: IMEI packet received {"connection_id":111235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":111235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:10:28] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:10:28] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:10:28] local.INFO: IMEI packet received {"connection_id":111235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":111235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:10:29] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:10:29] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:10:29] local.INFO: Packet analysis {"connection_id":111235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:29] local.INFO: Extracted packet for processing {"connection_id":111235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:29] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18:10: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-06-23 18:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:10:29] 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-06-23 18:10: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-06-23 18:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:10:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:10:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":111235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:10:29] local.INFO: GPS data processed {"connection_id":111235,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:10:29] local.INFO: Acknowledgment sent {"connection_id":111235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:10:51] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d2230012d19550007200b30004d00ee21..."} 
[2026-06-23 18:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d2230012d19550007200b30004d00ee21..."} 
[2026-06-23 18:10:51] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d2230012d19550007200b30004d00ee21..."} 
[2026-06-23 18:10:51] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:51] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119540528,"longitude_deg":75.663488,"latitude_deg":11.9540528,"altitude":77,"angle":238,"satellites":33,"speed":9,"hex_longitude":"2d195500","hex_latitude":"07200b30","is_valid_coordinates":true} 
[2026-06-23 18:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247884544001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866802006261760,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826491154477893632,"note":"Value kept but may cause issues"} 
[2026-06-23 18:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782218302000,"timestamp_ms":1782218302000,"timestamp_seconds":1782218302,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d2230"} 
[2026-06-23 18:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:10:51] 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-06-23 18:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 18:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247884544001,"66":13972,"102":206,"83":41984,"24":9,"16":3866802006261760,"45":1826491154477893632},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247884544001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:10:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866802006261760,"km_value":3866802006261.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826491154477893632,"description":"Unknown IO ID 45"} 
[2026-06-23 18:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247884544001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1826491154477893632}} 
[2026-06-23 18:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:10:51] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:10:51] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:11:01] local.INFO: TCP Data received {"connection_id":111235,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:01] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:01] local.INFO: Packet analysis {"connection_id":111235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:01] local.INFO: Extracted packet for processing {"connection_id":111235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:11:01] 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-06-23 18:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:11:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:11:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":111235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:11:01] local.INFO: GPS data processed {"connection_id":111235,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:11:01] local.INFO: Acknowledgment sent {"connection_id":111235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:11:22] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d2618012d19548007200a68004c00d221..."} 
[2026-06-23 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d2618012d19548007200a68004c00d221..."} 
[2026-06-23 18:11:22] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d2618012d19548007200a68004c00d221..."} 
[2026-06-23 18:11:22] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:22] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756634752,"raw_latitude":119540328,"longitude_deg":75.6634752,"latitude_deg":11.9540328,"altitude":76,"angle":210,"satellites":33,"speed":11,"hex_longitude":"2d195480","hex_latitude":"07200a68","is_valid_coordinates":true} 
[2026-06-23 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247885312001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866810596196352,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254570979328,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782218303000,"timestamp_ms":1782218303000,"timestamp_seconds":1782218303,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d2618"} 
[2026-06-23 18:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:11:22] 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-06-23 18:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 18:11:22] 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-06-23 18:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247885312001,"66":13972,"102":206,"83":41984,"24":11,"16":3866810596196352,"45":1825365254570979328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247885312001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866810596196352,"km_value":3866810596196.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254570979328,"description":"Unknown IO ID 45"} 
[2026-06-23 18:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247885312001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1825365254570979328}} 
[2026-06-23 18:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:11:22] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:11:22] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:11:29] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:11:29] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:11:29] local.INFO: IMEI packet received {"connection_id":111236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:11:33] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:11:33] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:11:33] local.INFO: IMEI packet received {"connection_id":111236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":111236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:11:34] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:34] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:34] local.INFO: Packet analysis {"connection_id":111236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:34] local.INFO: Extracted packet for processing {"connection_id":111236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:11:34] 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-06-23 18:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:11:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:11:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":111236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:11:34] local.INFO: GPS data processed {"connection_id":111236,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:11:34] local.INFO: Acknowledgment sent {"connection_id":111236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:11:39] local.INFO: TCP Data received {"connection_id":111236,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:39] local.INFO: Processing buffer {"connection_id":111236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:11:39] local.INFO: Packet analysis {"connection_id":111236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:39] local.INFO: Extracted packet for processing {"connection_id":111236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:11:39] 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-06-23 18: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-06-23 18:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:11:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:11:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":111236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:11:39] local.INFO: GPS data processed {"connection_id":111236,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:11:39] local.INFO: Acknowledgment sent {"connection_id":111236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:11:53] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d2a00012d19540007200940004c00c320..."} 
[2026-06-23 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d2a00012d19540007200940004c00c320..."} 
[2026-06-23 18:11:53] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d2a00012d19540007200940004c00c320..."} 
[2026-06-23 18:11:53] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:53] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119540032,"longitude_deg":75.6634624,"latitude_deg":11.9540032,"altitude":76,"angle":195,"satellites":32,"speed":12,"hex_longitude":"2d195400","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-06-23 18:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247885568001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866827776065536,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517082572800,"note":"Value kept but may cause issues"} 
[2026-06-23 18:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782218304000,"timestamp_ms":1782218304000,"timestamp_seconds":1782218304,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d2a00"} 
[2026-06-23 18:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 18:11:53] 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-06-23 18:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247885568001,"66":13972,"102":206,"83":41984,"24":12,"16":3866827776065536,"45":1825224517082572800},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247885568001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866827776065536,"km_value":3866827776065.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517082572800,"description":"Unknown IO ID 45"} 
[2026-06-23 18:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247885568001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1825224517082572800}} 
[2026-06-23 18:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:11:53] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:11:53] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:12:24] local.INFO: TCP Data received {"connection_id":111237,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:12:24] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:12:24] local.INFO: IMEI packet received {"connection_id":111237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":111237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:12:24] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d7c08012d194e80071ffa70004900bf22..."} 
[2026-06-23 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d7c08012d194e80071ffa70004900bf22..."} 
[2026-06-23 18:12:24] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d7c08012d194e80071ffa70004900bf22..."} 
[2026-06-23 18:12:24] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:24] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119536240,"longitude_deg":75.6633216,"latitude_deg":11.953624,"altitude":73,"angle":191,"satellites":34,"speed":0,"hex_longitude":"2d194e80","hex_latitude":"071ffa70","is_valid_coordinates":true} 
[2026-06-23 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247885824001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867029639528448,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779594141696,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782218325000,"timestamp_ms":1782218325000,"timestamp_seconds":1782218325,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d7c08"} 
[2026-06-23 18:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:12:24] 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-06-23 18:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-23 18:12:24] 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-06-23 18:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247885824001,"66":13167,"102":206,"83":41984,"24":0,"16":3867029639528448,"45":1825083779594141696},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247885824001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867029639528448,"km_value":3867029639528.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779594141696,"description":"Unknown IO ID 45"} 
[2026-06-23 18:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247885824001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825083779594141696}} 
[2026-06-23 18:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:12:24] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:12:24] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:12:28] local.INFO: TCP Data received {"connection_id":111237,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:12:28] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:12:28] local.INFO: IMEI packet received {"connection_id":111237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":111237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:12:29] local.INFO: TCP Data received {"connection_id":111237,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:12:29] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:12:29] local.INFO: Packet analysis {"connection_id":111237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:29] local.INFO: Extracted packet for processing {"connection_id":111237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:12:29] 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-06-23 18: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-06-23 18:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:12:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:12:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":111237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:12:29] local.INFO: GPS data processed {"connection_id":111237,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:12:29] local.INFO: Acknowledgment sent {"connection_id":111237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:12:31] local.INFO: TCP Data received {"connection_id":111059,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:12:31] local.INFO: Processing buffer {"connection_id":111059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:12:31] local.INFO: IMEI packet received {"connection_id":111059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":111059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:12:34] local.INFO: TCP Data received {"connection_id":111237,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:12:34] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:12:34] local.INFO: Packet analysis {"connection_id":111237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:34] local.INFO: Extracted packet for processing {"connection_id":111237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:12:34] 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-06-23 18:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:12:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:12:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:12:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":111237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:12:34] local.INFO: GPS data processed {"connection_id":111237,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:12:34] local.INFO: Acknowledgment sent {"connection_id":111237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:12:55] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d7ff0012d194e00071ffa700049011622..."} 
[2026-06-23 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d7ff0012d194e00071ffa700049011622..."} 
[2026-06-23 18:12:55] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d7ff0012d194e00071ffa700049011622..."} 
[2026-06-23 18:12:55] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:55] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119536240,"longitude_deg":75.6633088,"latitude_deg":11.953624,"altitude":73,"angle":278,"satellites":34,"speed":6,"hex_longitude":"2d194e00","hex_latitude":"071ffa70","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247891200001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867038229463040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667221262336,"note":"Value kept but may cause issues"} 
[2026-06-23 18:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782218326000,"timestamp_ms":1782218326000,"timestamp_seconds":1782218326,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d7ff0"} 
[2026-06-23 18:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:12:55] 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-06-23 18: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-23 18:12:55] 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-06-23 18: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-06-23 18:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247891200001,"66":13167,"102":206,"83":41984,"24":6,"16":3867038229463040,"45":1823535667221262336},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247891200001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867038229463040,"km_value":3867038229463.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667221262336,"description":"Unknown IO ID 45"} 
[2026-06-23 18:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247891200001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1823535667221262336}} 
[2026-06-23 18:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:12:55] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:12:55] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:13:06] local.INFO: TCP Data received {"connection_id":111237,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:13:06] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:13:06] local.INFO: Packet analysis {"connection_id":111237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:13:06] local.INFO: Extracted packet for processing {"connection_id":111237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:13:06] 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-06-23 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":111237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:13:06] local.INFO: GPS data processed {"connection_id":111237,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:13:06] local.INFO: Acknowledgment sent {"connection_id":111237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:13:06] local.INFO: TCP Data received {"connection_id":111061,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:13:06] local.INFO: Processing buffer {"connection_id":111061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:13:06] local.INFO: IMEI packet received {"connection_id":111061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":111061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:13:23] local.INFO: TCP Data received {"connection_id":111238,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:13:23] local.INFO: Processing buffer {"connection_id":111238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:13:23] local.INFO: IMEI packet received {"connection_id":111238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":111238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:13:27] local.INFO: TCP Data received {"connection_id":111859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47dba88012d194280071ffbd00047010921..."} 
[2026-06-23 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47dba88012d194280071ffbd00047010921..."} 
[2026-06-23 18:13:27] local.INFO: Processing buffer {"connection_id":111859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47dba88012d194280071ffbd00047010921..."} 
[2026-06-23 18:13:27] local.INFO: Packet analysis {"connection_id":111859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:13:27] local.INFO: Extracted packet for processing {"connection_id":111859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756630144,"raw_latitude":119536592,"longitude_deg":75.6630144,"latitude_deg":11.9536592,"altitude":71,"angle":265,"satellites":33,"speed":14,"hex_longitude":"2d194280","hex_latitude":"071ffbd0","is_valid_coordinates":true} 
[2026-06-23 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247891456001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867175668416512,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929732907008,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782218341000,"timestamp_ms":1782218341000,"timestamp_seconds":1782218341,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47dba88"} 
[2026-06-23 18:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:13:27] 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-06-23 18:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-23 18:13:27] 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-06-23 18:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247891456001,"66":13167,"102":206,"83":41984,"24":14,"16":3867175668416512,"45":1823394929732907008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247891456001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867175668416512,"km_value":3867175668416.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929732907008,"description":"Unknown IO ID 45"} 
[2026-06-23 18:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247891456001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823394929732907008}} 
[2026-06-23 18:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":111859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:13:27] local.INFO: GPS data processed {"connection_id":111859,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:13:27] local.INFO: Acknowledgment sent {"connection_id":111859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:13:29] local.INFO: TCP Data received {"connection_id":111238,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:13:29] local.INFO: Processing buffer {"connection_id":111238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:13:29] local.INFO: IMEI packet received {"connection_id":111238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":111238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:13:30] local.INFO: TCP Data received {"connection_id":111238,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:13:30] local.INFO: Processing buffer {"connection_id":111238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef47d0ac0012cb41440077a1438003400de2f..."} 
[2026-06-23 18:13:30] local.INFO: Packet analysis {"connection_id":111238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:13:30] local.INFO: Extracted packet for processing {"connection_id":111238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef47d"} 
[2026-06-23 18:13:30] local.INFO: GPS Element Parsed {"raw_longitude":749999168,"raw_latitude":125441080,"longitude_deg":74.9999168,"latitude_deg":12.544108,"altitude":52,"angle":222,"satellites":47,"speed":0,"hex_longitude":"2cb41440","hex_latitude":"077a1438","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247882752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469832821560920064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218296000,"timestamp_ms":1782218296000,"timestamp_seconds":1782218296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef47d0ac0"} 
[2026-06-23 18:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:13:30] 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-06-23 18: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-06-23 18:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247882752001,"66":27169,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5469832821560920064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247882752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:13:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:13:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469832821560920064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247882752001,"power":27169,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5469832821560920064}} 
[2026-06-23 18:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":111238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:13:30] local.INFO: GPS data processed {"connection_id":111238,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:13:30] local.INFO: Acknowledgment sent {"connection_id":111238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:13:52] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:52] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:52] local.INFO: IMEI packet received {"connection_id":112800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":112800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:13:54] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:54] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:54] local.INFO: IMEI packet received {"connection_id":112800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":112800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:13:57] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:57] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:13:57] local.INFO: IMEI packet received {"connection_id":112800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":112800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:13:58] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef480fa90012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef480fa90012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:13:58] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef480fa90012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:13:58] local.INFO: Packet analysis {"connection_id":112800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef480"} 
[2026-06-23 18:13:58] local.INFO: Extracted packet for processing {"connection_id":112800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef480"} 
[2026-06-23 18:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247944448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13: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-06-23 18:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218554000,"timestamp_ms":1782218554000,"timestamp_seconds":1782218554,"priority":1,"record_length":96,"hex_timestamp":"0000019ef480fa90"} 
[2026-06-23 18:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:13:58] 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-06-23 18:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19141381251399680,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4101946456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503658636771328,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":9109181162292067712,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212129860,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3098740430721057024,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147950587,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182027846156544,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-4539402507398361517,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3174825984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304453227657100322,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195086592,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84751719921557499,"note":"Value kept but may cause issues"} 
[2026-06-23 18:13:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,189,158,86,45,128,251,68,38,10,66,4,37,178,1,240,85,227,244,31,113,205,14,61,35,239,50,2,13,7,164,60,69,72],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-06-23 18:13:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900193639013023744,"timestamp_seconds":4900193639013024.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247944448001,"66":12852,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247944448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:13:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247944448001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":112800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:13:58] local.INFO: GPS data processed {"connection_id":112800,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:13:58] local.INFO: Acknowledgment sent {"connection_id":112800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:14:01] local.INFO: TCP Data received {"connection_id":111238,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef481a288012cb40fc0077a0158002600de2e..."} 
[2026-06-23 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef481a288012cb40fc0077a0158002600de2e..."} 
[2026-06-23 18:14:01] local.INFO: Processing buffer {"connection_id":111238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef481a288012cb40fc0077a0158002600de2e..."} 
[2026-06-23 18:14:01] local.INFO: Packet analysis {"connection_id":111238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:01] local.INFO: Extracted packet for processing {"connection_id":111238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":749998016,"raw_latitude":125436248,"longitude_deg":74.9998016,"latitude_deg":12.5436248,"altitude":38,"angle":222,"satellites":46,"speed":0,"hex_longitude":"2cb40fc0","hex_latitude":"077a0158","is_valid_coordinates":true} 
[2026-06-23 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247883776001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5470677246491215872,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218597000,"timestamp_ms":1782218597000,"timestamp_seconds":1782218597,"priority":1,"record_length":96,"hex_timestamp":"0000019ef481a288"} 
[2026-06-23 18:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 18:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247883776001,"66":26245,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5470677246491215872},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247883776001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:14:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:14:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5470677246491215872,"description":"Unknown IO ID 44"} 
[2026-06-23 18:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247883776001,"power":26245,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5470677246491215872}} 
[2026-06-23 18:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":111238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:14:01] local.INFO: GPS data processed {"connection_id":111238,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:14:01] local.INFO: Acknowledgment sent {"connection_id":111238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:14:02] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4814c98012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4814c98012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:14:02] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4814c98012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:14:02] local.INFO: Packet analysis {"connection_id":112800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:02] local.INFO: Extracted packet for processing {"connection_id":112800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247949824001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782218575000,"timestamp_ms":1782218575000,"timestamp_seconds":1782218575,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4814c98"} 
[2026-06-23 18:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:14:02] 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-06-23 18:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-23 18:14:02] 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-06-23 18: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-06-23 18:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247949824001,"66":12841,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247949824001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247949824001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":112800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:14:02] local.INFO: GPS data processed {"connection_id":112800,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:14:02] local.INFO: Acknowledgment sent {"connection_id":112800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:14:23] local.INFO: TCP Data received {"connection_id":111862,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:14:23] local.INFO: Processing buffer {"connection_id":111862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:14:23] local.INFO: IMEI packet received {"connection_id":111862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":111862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:14:29] local.INFO: TCP Data received {"connection_id":111862,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:14:29] local.INFO: Processing buffer {"connection_id":111862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:14:29] local.INFO: IMEI packet received {"connection_id":111862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":111862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:14:30] local.INFO: TCP Data received {"connection_id":111862,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef481e8d8012cb40fc0077a0158002600de2e..."} 
[2026-06-23 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef481e8d8012cb40fc0077a0158002600de2e..."} 
[2026-06-23 18:14:30] local.INFO: Processing buffer {"connection_id":111862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef481e8d8012cb40fc0077a0158002600de2e..."} 
[2026-06-23 18:14:30] local.INFO: Packet analysis {"connection_id":111862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:30] local.INFO: Extracted packet for processing {"connection_id":111862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749998016,"raw_latitude":125436248,"longitude_deg":74.9998016,"latitude_deg":12.5436248,"altitude":38,"angle":222,"satellites":46,"speed":0,"hex_longitude":"2cb40fc0","hex_latitude":"077a0158","is_valid_coordinates":true} 
[2026-06-23 18:14: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-06-23 18:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247960832001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5471943883887650816,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218615000,"timestamp_ms":1782218615000,"timestamp_seconds":1782218615,"priority":1,"record_length":96,"hex_timestamp":"0000019ef481e8d8"} 
[2026-06-23 18:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-23 18:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247960832001,"66":26180,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5471943883887650816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247960832001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:14:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:14:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5471943883887650816,"description":"Unknown IO ID 44"} 
[2026-06-23 18:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247960832001,"power":26180,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5471943883887650816}} 
[2026-06-23 18:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":111862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:14:30] local.INFO: GPS data processed {"connection_id":111862,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:14:30] local.INFO: Acknowledgment sent {"connection_id":111862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:14:33] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4819ea0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4819ea0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:14:33] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4819ea0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:14:33] local.INFO: Packet analysis {"connection_id":112800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:33] local.INFO: Extracted packet for processing {"connection_id":112800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247955200001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:14: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-06-23 18:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782218596000,"timestamp_ms":1782218596000,"timestamp_seconds":1782218596,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4819ea0"} 
[2026-06-23 18:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:14:33] 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-06-23 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 18:14:33] 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-06-23 18: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-06-23 18:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247955200001,"66":12809,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247955200001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:14:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247955200001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":112800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:14:33] local.INFO: GPS data processed {"connection_id":112800,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:14:33] local.INFO: Acknowledgment sent {"connection_id":112800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:01] local.INFO: TCP Data received {"connection_id":111862,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4820048012cb410000779fa18002600c32c..."} 
[2026-06-23 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4820048012cb410000779fa18002600c32c..."} 
[2026-06-23 18:15:01] local.INFO: Processing buffer {"connection_id":111862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4820048012cb410000779fa18002600c32c..."} 
[2026-06-23 18:15:01] local.INFO: Packet analysis {"connection_id":111862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:01] local.INFO: Extracted packet for processing {"connection_id":111862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:01] local.INFO: GPS Element Parsed {"raw_longitude":749998080,"raw_latitude":125434392,"longitude_deg":74.999808,"latitude_deg":12.5434392,"altitude":38,"angle":195,"satellites":44,"speed":0,"hex_longitude":"2cb41000","hex_latitude":"0779fa18","is_valid_coordinates":true} 
[2026-06-23 18:15: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-06-23 18:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247965440001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322648195825664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5471943883887650816,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218621000,"timestamp_ms":1782218621000,"timestamp_seconds":1782218621,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4820048"} 
[2026-06-23 18:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15:01] 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-06-23 18:15: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:15: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-06-23 18:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247965440001,"66":27767,"37":206,"27":54016,"24":0,"16":321322648195825664,"44":-5471943883887650816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247965440001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:15:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322648195825664,"km_value":321322648195825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5471943883887650816,"description":"Unknown IO ID 44"} 
[2026-06-23 18:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247965440001,"power":27767,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5471943883887650816}} 
[2026-06-23 18:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":111862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:01] local.INFO: GPS data processed {"connection_id":111862,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:01] local.INFO: Acknowledgment sent {"connection_id":111862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:04] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef481f0a8012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef481f0a8012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:15:04] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef481f0a8012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:15:04] local.INFO: Packet analysis {"connection_id":112800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:15:04] local.INFO: Extracted packet for processing {"connection_id":112800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247960576001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18: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-06-23 18:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782218617000,"timestamp_ms":1782218617000,"timestamp_seconds":1782218617,"priority":1,"record_length":96,"hex_timestamp":"0000019ef481f0a8"} 
[2026-06-23 18:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15:04] 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-06-23 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4102009456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":244,"raw_value":9178450394841955712,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212129860,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147950587,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3174825984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304453227657100324,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:04] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,76,45,128,251,68,38,10,66,250,168,1,240,19,227,244,31,4,113,205,61,37,239,50,2,13,7,164,60],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:15:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900193634718056448,"timestamp_seconds":4900193634718056.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247960576001,"66":12798,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247960576001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247960576001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":112800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:04] local.INFO: GPS data processed {"connection_id":112800,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:04] local.INFO: Acknowledgment sent {"connection_id":112800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:15] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:15:15] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:15:15] local.INFO: IMEI packet received {"connection_id":111240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":111240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:15:20] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:15:20] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:15:20] local.INFO: IMEI packet received {"connection_id":111240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":111240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:15:21] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4818348012d82824005d34918000300b92a..."} 
[2026-06-23 18:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4818348012d82824005d34918000300b92a..."} 
[2026-06-23 18:15:21] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4818348012d82824005d34918000300b92a..."} 
[2026-06-23 18:15:21] local.INFO: Packet analysis {"connection_id":111240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:15:21] local.INFO: Extracted packet for processing {"connection_id":111240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef481"} 
[2026-06-23 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763527744,"raw_latitude":97732888,"longitude_deg":76.3527744,"latitude_deg":9.7732888,"altitude":3,"angle":185,"satellites":42,"speed":5,"hex_longitude":"2d828240","hex_latitude":"05d34918","is_valid_coordinates":true} 
[2026-06-23 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247958272001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96503667418464256,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042594708042637312,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:21] 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-06-23 18:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782218589000,"timestamp_ms":1782218589000,"timestamp_seconds":1782218589,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4818348"} 
[2026-06-23 18:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247958272001,"66":12689,"207":206,"85":15104,"24":5,"16":96503667418464256,"45":-9042594708042637312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-23 18:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247958272001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:21] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-23 18:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96503667418464256,"km_value":96503667418464.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042594708042637312,"description":"Unknown IO ID 45"} 
[2026-06-23 18:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247958272001,"power":12689,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042594708042637312}} 
[2026-06-23 18:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":111240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:21] local.INFO: GPS data processed {"connection_id":111240,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:21] local.INFO: Acknowledgment sent {"connection_id":111240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:29] local.INFO: TCP Data received {"connection_id":112802,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:29] local.INFO: Processing buffer {"connection_id":112802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:29] local.INFO: IMEI packet received {"connection_id":112802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":112802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:15:29] local.INFO: TCP Data received {"connection_id":112802,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:29] local.INFO: Processing buffer {"connection_id":112802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:29] local.INFO: IMEI packet received {"connection_id":112802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":112802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:15:31] local.INFO: TCP Data received {"connection_id":112802,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:31] local.INFO: Processing buffer {"connection_id":112802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:15:31] local.INFO: IMEI packet received {"connection_id":112802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":112802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:15:34] local.INFO: TCP Data received {"connection_id":112802,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef482eaa8012cb409000779fc50002e00f031..."} 
[2026-06-23 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef482eaa8012cb409000779fc50002e00f031..."} 
[2026-06-23 18:15:34] local.INFO: Processing buffer {"connection_id":112802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef482eaa8012cb409000779fc50002e00f031..."} 
[2026-06-23 18:15:34] local.INFO: Packet analysis {"connection_id":112802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:34] local.INFO: Extracted packet for processing {"connection_id":112802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":749996288,"raw_latitude":125434960,"longitude_deg":74.9996288,"latitude_deg":12.543496,"altitude":46,"angle":240,"satellites":49,"speed":7,"hex_longitude":"2cb40900","hex_latitude":"0779fc50","is_valid_coordinates":true} 
[2026-06-23 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247982080001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322768454909952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5473632733748232192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782218681000,"timestamp_ms":1782218681000,"timestamp_seconds":1782218681,"priority":1,"record_length":96,"hex_timestamp":"0000019ef482eaa8"} 
[2026-06-23 18:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15: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-06-23 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247982080001,"66":27365,"37":206,"27":54016,"24":7,"16":321322768454909952,"44":-5473632733748232192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247982080001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322768454909952,"km_value":321322768454909.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5473632733748232192,"description":"Unknown IO ID 44"} 
[2026-06-23 18:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247982080001,"power":27365,"unknown_37":206,"unknown_27":54016,"ignition":7,"odometer":null,"unknown_44":-5473632733748232192}} 
[2026-06-23 18:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":112802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:34] local.INFO: GPS data processed {"connection_id":112802,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:34] local.INFO: Acknowledgment sent {"connection_id":112802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:35] local.INFO: TCP Data received {"connection_id":112800,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48242b0012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48242b0012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:15:35] local.INFO: Processing buffer {"connection_id":112800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48242b0012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:15:35] local.INFO: Packet analysis {"connection_id":112800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:35] local.INFO: Extracted packet for processing {"connection_id":112800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247965952001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15: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-06-23 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782218638000,"timestamp_ms":1782218638000,"timestamp_seconds":1782218638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48242b0"} 
[2026-06-23 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:35] 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-06-23 18: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-06-23 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247965952001,"66":12743,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247965952001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247965952001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":112800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:35] local.INFO: GPS data processed {"connection_id":112800,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:35] local.INFO: Acknowledgment sent {"connection_id":112800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:37] local.INFO: TCP Data received {"connection_id":112802,"ip":"117.225.209.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ef482ee90012cb408400779fbe0002f00e431..."} 
[2026-06-23 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112802,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ef482ee90012cb408400779fbe0002f00e431..."} 
[2026-06-23 18:15:37] local.INFO: Processing buffer {"connection_id":112802,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ef482ee90012cb408400779fbe0002f00e431..."} 
[2026-06-23 18:15:37] local.INFO: Packet analysis {"connection_id":112802,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:37] local.INFO: Extracted packet for processing {"connection_id":112802,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":749996096,"raw_latitude":125434848,"longitude_deg":74.9996096,"latitude_deg":12.5434848,"altitude":47,"angle":228,"satellites":49,"speed":8,"hex_longitude":"2cb40840","hex_latitude":"0779fbe0","is_valid_coordinates":true} 
[2026-06-23 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247982336001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322777044844544,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5473843839980777472,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782218682000,"timestamp_ms":1782218682000,"timestamp_seconds":1782218682,"priority":1,"record_length":96,"hex_timestamp":"0000019ef482ee90"} 
[2026-06-23 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15: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-06-23 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247982336001,"66":27713,"37":206,"27":54016,"24":8,"16":321322777044844544,"44":-5473843839980777472},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247982336001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:15:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322777044844544,"km_value":321322777044844.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5473843839980777472,"description":"Unknown IO ID 44"} 
[2026-06-23 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247982336001,"power":27713,"unknown_37":206,"unknown_27":54016,"ignition":8,"odometer":null,"unknown_44":-5473843839980777472}} 
[2026-06-23 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":112802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:37] local.INFO: GPS data processed {"connection_id":112802,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:37] local.INFO: Acknowledgment sent {"connection_id":112802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:37] local.INFO: Packet analysis {"connection_id":112802,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:37] local.INFO: Incomplete packet, waiting for more data {"connection_id":112802,"needed":795,"available":565} 
[2026-06-23 18:15:37] local.INFO: TCP Data received {"connection_id":112802,"ip":"117.225.209.96","data_length":230,"data_hex":"2cb40c000779f9a0002901283100050000000a000400ef0100715f00f0010045..."} 
[2026-06-23 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112802,"packet_length":230,"packet_hex":"2cb40c000779f9a0002901283100050000000a000400ef0100715f00f0010045..."} 
[2026-06-23 18:15:37] local.INFO: Processing buffer {"connection_id":112802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef482f278012cb407c00779fb18002f00d031..."} 
[2026-06-23 18:15:37] local.INFO: Packet analysis {"connection_id":112802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:37] local.INFO: Extracted packet for processing {"connection_id":112802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":749995968,"raw_latitude":125434648,"longitude_deg":74.9995968,"latitude_deg":12.5434648,"altitude":47,"angle":208,"satellites":49,"speed":11,"hex_longitude":"2cb407c0","hex_latitude":"0779fb18","is_valid_coordinates":true} 
[2026-06-23 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247982592001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322789929746432,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474054946213339136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782218683000,"timestamp_ms":1782218683000,"timestamp_seconds":1782218683,"priority":1,"record_length":96,"hex_timestamp":"0000019ef482f278"} 
[2026-06-23 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15: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-06-23 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:37] 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-06-23 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":112802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":112802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":112802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247982592001,"66":27713,"36":206,"27":54016,"24":11,"16":321322789929746432,"44":-5474054946213339136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 18:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247982592001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 18:15:38] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322789929746432,"km_value":321322789929746.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474054946213339136,"description":"Unknown IO ID 44"} 
[2026-06-23 18:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247982592001,"power":27713,"unknown_36":206,"unknown_27":54016,"ignition":11,"odometer":null,"unknown_44":-5474054946213339136}} 
[2026-06-23 18:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":112802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:38] local.INFO: GPS data processed {"connection_id":112802,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:38] local.INFO: Acknowledgment sent {"connection_id":112802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:15:53] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:15:53] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:15:53] local.INFO: IMEI packet received {"connection_id":111241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":111241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:15:57] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:15:57] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:15:57] local.INFO: IMEI packet received {"connection_id":111241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":111241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:15:58] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48294b8012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48294b8012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:15:58] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48294b8012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:15:58] local.INFO: Packet analysis {"connection_id":111241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:58] local.INFO: Extracted packet for processing {"connection_id":111241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":36,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247971328001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:15: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-06-23 18:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218659000,"timestamp_ms":1782218659000,"timestamp_seconds":1782218659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48294b8"} 
[2026-06-23 18:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 18:15:58] 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-06-23 18:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247971328001,"66":12591,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247971328001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:15:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247971328001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":111241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:15:58] local.INFO: GPS data processed {"connection_id":111241,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:15:58] local.INFO: Acknowledgment sent {"connection_id":111241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:01] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4835bf0012d82974005d22ef0000a00b328..."} 
[2026-06-23 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4835bf0012d82974005d22ef0000a00b328..."} 
[2026-06-23 18:16:01] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4835bf0012d82974005d22ef0000a00b328..."} 
[2026-06-23 18:16:01] local.INFO: Packet analysis {"connection_id":111240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:01] local.INFO: Extracted packet for processing {"connection_id":111240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97660656,"longitude_deg":76.353312,"latitude_deg":9.7660656,"altitude":10,"angle":179,"satellites":40,"speed":26,"hex_longitude":"2d829740","hex_latitude":"05d22ef0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247986432001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96507197881581568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627315337216,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:01] 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-06-23 18:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218710000,"timestamp_ms":1782218710000,"timestamp_seconds":1782218710,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4835bf0"} 
[2026-06-23 18:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16:01] 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-06-23 18: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-23 18:16:01] 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-06-23 18: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-06-23 18:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247986432001,"66":12885,"221":206,"85":15104,"24":26,"16":96507197881581568,"45":-9036472627315337216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247986432001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:01] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96507197881581568,"km_value":96507197881581.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627315337216,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247986432001,"power":12885,"unknown_221":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9036472627315337216}} 
[2026-06-23 18:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":111240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:01] local.INFO: GPS data processed {"connection_id":111240,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:01] local.INFO: Acknowledgment sent {"connection_id":111240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:13] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:13] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:13] local.INFO: IMEI packet received {"connection_id":111863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":111863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:16:14] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:14] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:14] local.INFO: IMEI packet received {"connection_id":111863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":111863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:16:15] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:15] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:16:15] local.INFO: IMEI packet received {"connection_id":111863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":111863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:16:19] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4838eb8012d82978005d20ae0000800b427..."} 
[2026-06-23 18:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4838eb8012d82978005d20ae0000800b427..."} 
[2026-06-23 18:16:19] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4838eb8012d82978005d20ae0000800b427..."} 
[2026-06-23 18:16:19] local.INFO: Packet analysis {"connection_id":111863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:19] local.INFO: Extracted packet for processing {"connection_id":111863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:19] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97651424,"longitude_deg":76.3533184,"latitude_deg":9.7651424,"altitude":8,"angle":180,"satellites":39,"speed":30,"hex_longitude":"2d829780","hex_latitude":"05d20ae0","is_valid_coordinates":true} 
[2026-06-23 18:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247989760001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96507644558180352,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733550305280,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:19] 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-06-23 18:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782218723000,"timestamp_ms":1782218723000,"timestamp_seconds":1782218723,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4838eb8"} 
[2026-06-23 18:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 18:16:19] 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-06-23 18:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247989760001,"66":12885,"221":206,"85":15104,"24":30,"16":96507644558180352,"45":-9036683733550305280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247989760001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96507644558180352,"km_value":96507644558180.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733550305280,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247989760001,"power":12885,"unknown_221":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9036683733550305280}} 
[2026-06-23 18:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":111863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:19] local.INFO: GPS data processed {"connection_id":111863,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:19] local.INFO: Acknowledgment sent {"connection_id":111863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:23] local.INFO: TCP Data received {"connection_id":111864,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:16:23] local.INFO: Processing buffer {"connection_id":111864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:16:23] local.INFO: IMEI packet received {"connection_id":111864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":111864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:16:24] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":1340,"data_hex":"000000000000030f8e0a0000019ef483c568012d8298c005d1e838000700b228..."} 
[2026-06-23 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019ef483c568012d8298c005d1e838000700b228..."} 
[2026-06-23 18:16:24] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019ef483c568012d8298c005d1e838000700b228..."} 
[2026-06-23 18:16:24] local.INFO: Packet analysis {"connection_id":111863,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:24] local.INFO: Extracted packet for processing {"connection_id":111863,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":97642552,"longitude_deg":76.3533504,"latitude_deg":9.7642552,"altitude":7,"angle":178,"satellites":40,"speed":0,"hex_longitude":"2d8298c0","hex_latitude":"05d1e838","is_valid_coordinates":true} 
[2026-06-23 18:16: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-06-23 18:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247993088001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96508078349877248,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364808491008,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:24] 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-06-23 18:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782218737000,"timestamp_ms":1782218737000,"timestamp_seconds":1782218737,"priority":1,"record_length":96,"hex_timestamp":"0000019ef483c568"} 
[2026-06-23 18:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16: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-06-23 18:16: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-06-23 18:16: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-06-23 18:16: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-06-23 18:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247993088001,"66":12385,"221":206,"85":15104,"24":0,"16":96508078349877248,"45":-9036613364808491008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247993088001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96508078349877248,"km_value":96508078349877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364808491008,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247993088001,"power":12385,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036613364808491008}} 
[2026-06-23 18:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":111863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:24] local.INFO: GPS data processed {"connection_id":111863,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:24] local.INFO: Acknowledgment sent {"connection_id":111863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:24] local.INFO: Packet analysis {"connection_id":111863,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:16:24] local.INFO: Incomplete packet, waiting for more data {"connection_id":111863,"needed":795,"available":545} 
[2026-06-23 18:16:24] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":250,"data_hex":"e300100156db8c000000000000019ef482a458012d82914005d2ac68000c00b9..."} 
[2026-06-23 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":250,"packet_hex":"e300100156db8c000000000000019ef482a458012d82914005d2ac68000c00b9..."} 
[2026-06-23 18:16:24] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4841388012d82998005d1dd58000600b027..."} 
[2026-06-23 18:16:24] local.INFO: Packet analysis {"connection_id":111863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:16:24] local.INFO: Extracted packet for processing {"connection_id":111863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97639768,"longitude_deg":76.3533696,"latitude_deg":9.7639768,"altitude":6,"angle":176,"satellites":39,"speed":23,"hex_longitude":"2d829980","hex_latitude":"05d1dd58","is_valid_coordinates":true} 
[2026-06-23 18:16: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-06-23 18:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247996672001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96508220083798016,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261521089873920,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:24] 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-06-23 18:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782218757000,"timestamp_ms":1782218757000,"timestamp_seconds":1782218757,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4841388"} 
[2026-06-23 18:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16: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-06-23 18:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:16:24] 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-06-23 18:16: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-06-23 18:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":111863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247996672001,"66":12776,"221":206,"85":15104,"24":23,"16":96508220083798016,"45":-9036261521089873920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247996672001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96508220083798016,"km_value":96508220083798.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261521089873920,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247996672001,"power":12776,"unknown_221":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9036261521089873920}} 
[2026-06-23 18:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":111863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:24] local.INFO: GPS data processed {"connection_id":111863,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:24] local.INFO: Acknowledgment sent {"connection_id":111863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:27] local.INFO: TCP Data received {"connection_id":111864,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:16:27] local.INFO: Processing buffer {"connection_id":111864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:16:27] local.INFO: IMEI packet received {"connection_id":111864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":111864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:16:29] local.INFO: TCP Data received {"connection_id":111864,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef482f660012cb407800779f9f8002f00c431..."} 
[2026-06-23 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef482f660012cb407800779f9f8002f00c431..."} 
[2026-06-23 18:16:29] local.INFO: Processing buffer {"connection_id":111864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef482f660012cb407800779f9f8002f00c431..."} 
[2026-06-23 18:16:29] local.INFO: Packet analysis {"connection_id":111864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:16:29] local.INFO: Extracted packet for processing {"connection_id":111864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:16:29] local.INFO: GPS Element Parsed {"raw_longitude":749995904,"raw_latitude":125434360,"longitude_deg":74.9995904,"latitude_deg":12.543436,"altitude":47,"angle":196,"satellites":49,"speed":13,"hex_longitude":"2cb40780","hex_latitude":"0779f9f8","is_valid_coordinates":true} 
[2026-06-23 18:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247982848001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322802814648320,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474195683701745664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218684000,"timestamp_ms":1782218684000,"timestamp_seconds":1782218684,"priority":1,"record_length":96,"hex_timestamp":"0000019ef482f660"} 
[2026-06-23 18:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16:29] 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-06-23 18:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-23 18:16:29] 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-06-23 18:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247982848001,"66":26984,"36":206,"27":54016,"24":13,"16":321322802814648320,"44":-5474195683701745664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247982848001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322802814648320,"km_value":321322802814648.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474195683701745664,"description":"Unknown IO ID 44"} 
[2026-06-23 18:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247982848001,"power":26984,"unknown_36":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-5474195683701745664}} 
[2026-06-23 18:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:29] local.INFO: GPS data processed {"connection_id":111864,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:29] local.INFO: Acknowledgment sent {"connection_id":111864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:29] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef482e6c0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef482e6c0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:16:29] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef482e6c0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:16:29] local.INFO: Packet analysis {"connection_id":111241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:16:29] local.INFO: Extracted packet for processing {"connection_id":111241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef482"} 
[2026-06-23 18:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247976704001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218680000,"timestamp_ms":1782218680000,"timestamp_seconds":1782218680,"priority":1,"record_length":96,"hex_timestamp":"0000019ef482e6c0"} 
[2026-06-23 18:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 18:16: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-06-23 18:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247976704001,"66":12743,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247976704001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247976704001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:29] local.INFO: GPS data processed {"connection_id":111241,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:29] local.INFO: Acknowledgment sent {"connection_id":111241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:52] local.INFO: TCP Data received {"connection_id":112804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:16:52] local.INFO: Processing buffer {"connection_id":112804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:16:52] local.INFO: IMEI packet received {"connection_id":112804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":112804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:16:56] local.INFO: TCP Data received {"connection_id":111863,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4844268012d82980005d1b9f0000700b928..."} 
[2026-06-23 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4844268012d82980005d1b9f0000700b928..."} 
[2026-06-23 18:16:56] local.INFO: Processing buffer {"connection_id":111863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4844268012d82980005d1b9f0000700b928..."} 
[2026-06-23 18:16:56] local.INFO: Packet analysis {"connection_id":111863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:16:56] local.INFO: Extracted packet for processing {"connection_id":111863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97630704,"longitude_deg":76.3533312,"latitude_deg":9.7630704,"altitude":7,"angle":185,"satellites":40,"speed":30,"hex_longitude":"2d829800","hex_latitude":"05d1b9f0","is_valid_coordinates":true} 
[2026-06-23 18:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248001792001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96508658170462208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414858053632,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:56] 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-06-23 18:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782218769000,"timestamp_ms":1782218769000,"timestamp_seconds":1782218769,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4844268"} 
[2026-06-23 18:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16:56] 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-06-23 18:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-23 18:16:56] 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-06-23 18:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248001792001,"66":12765,"221":206,"85":15104,"24":30,"16":96508658170462208,"45":-9036050414858053632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248001792001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96508658170462208,"km_value":96508658170462.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414858053632,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248001792001,"power":12765,"unknown_221":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9036050414858053632}} 
[2026-06-23 18:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":111863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:56] local.INFO: GPS data processed {"connection_id":111863,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:56] local.INFO: Acknowledgment sent {"connection_id":111863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:16:57] local.INFO: TCP Data received {"connection_id":112804,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:16:57] local.INFO: Processing buffer {"connection_id":112804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:16:57] local.INFO: IMEI packet received {"connection_id":112804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":112804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:16:58] local.INFO: TCP Data received {"connection_id":112804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48338c8012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48338c8012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:16:58] local.INFO: Processing buffer {"connection_id":112804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48338c8012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:16:58] local.INFO: Packet analysis {"connection_id":112804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:58] local.INFO: Extracted packet for processing {"connection_id":112804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247982080001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:16: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-06-23 18:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218701000,"timestamp_ms":1782218701000,"timestamp_seconds":1782218701,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48338c8"} 
[2026-06-23 18:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 18:16:58] 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-06-23 18:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247982080001,"66":12722,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247982080001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:16:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247982080001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":112804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:16:58] local.INFO: GPS data processed {"connection_id":112804,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:16:58] local.INFO: Acknowledgment sent {"connection_id":112804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:17:00] local.INFO: TCP Data received {"connection_id":111864,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4830dd0012cb405800779ef68002f00b531..."} 
[2026-06-23 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4830dd0012cb405800779ef68002f00b531..."} 
[2026-06-23 18:17:00] local.INFO: Processing buffer {"connection_id":111864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4830dd0012cb405800779ef68002f00b531..."} 
[2026-06-23 18:17:00] local.INFO: Packet analysis {"connection_id":111864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:17:00] local.INFO: Extracted packet for processing {"connection_id":111864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":749995392,"raw_latitude":125431656,"longitude_deg":74.9995392,"latitude_deg":12.5431656,"altitude":47,"angle":181,"satellites":49,"speed":23,"hex_longitude":"2cb40580","hex_latitude":"0779ef68","is_valid_coordinates":true} 
[2026-06-23 18:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247983104001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321322935958634496,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474266052445997056,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782218690000,"timestamp_ms":1782218690000,"timestamp_seconds":1782218690,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4830dd0"} 
[2026-06-23 18:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:17:00] 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-06-23 18:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 18:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247983104001,"66":27843,"36":206,"27":54016,"24":23,"16":321322935958634496,"44":-5474266052445997056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,27,24,16,44]} 
[2026-06-23 18:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247983104001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:17:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 18:17:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321322935958634496,"km_value":321322935958634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474266052445997056,"description":"Unknown IO ID 44"} 
[2026-06-23 18:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247983104001,"power":27843,"unknown_36":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5474266052445997056}} 
[2026-06-23 18:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":111864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:17:00] local.INFO: GPS data processed {"connection_id":111864,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:17:00] local.INFO: Acknowledgment sent {"connection_id":111864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:17:09] local.INFO: TCP Data received {"connection_id":111063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:09] local.INFO: Processing buffer {"connection_id":111063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:09] local.INFO: IMEI packet received {"connection_id":111063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":111063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:17:10] local.INFO: TCP Data received {"connection_id":111063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:10] local.INFO: Processing buffer {"connection_id":111063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:10] local.INFO: IMEI packet received {"connection_id":111063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":111063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:17:15] local.INFO: TCP Data received {"connection_id":111063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:15] local.INFO: Processing buffer {"connection_id":111063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:17:15] local.INFO: IMEI packet received {"connection_id":111063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":111063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:17:16] local.INFO: TCP Data received {"connection_id":111063,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4847148012d8298c005d195b8000600af29..."} 
[2026-06-23 18:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4847148012d8298c005d195b8000600af29..."} 
[2026-06-23 18:17:16] local.INFO: Processing buffer {"connection_id":111063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4847148012d8298c005d195b8000600af29..."} 
[2026-06-23 18:17:16] local.INFO: Packet analysis {"connection_id":111063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:17:16] local.INFO: Extracted packet for processing {"connection_id":111063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":97621432,"longitude_deg":76.3533504,"latitude_deg":9.7621432,"altitude":6,"angle":175,"satellites":41,"speed":27,"hex_longitude":"2d8298c0","hex_latitude":"05d195b8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248004864001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96509109142028288,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627325440000,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:16] 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-06-23 18:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782218781000,"timestamp_ms":1782218781000,"timestamp_seconds":1782218781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4847148"} 
[2026-06-23 18:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 18:17:16] 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-06-23 18: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-06-23 18:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248004864001,"66":12472,"221":206,"85":15104,"24":27,"16":96509109142028288,"45":-9036472627325440000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248004864001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:17:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96509109142028288,"km_value":96509109142028.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627325440000,"description":"Unknown IO ID 45"} 
[2026-06-23 18:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248004864001,"power":12472,"unknown_221":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036472627325440000}} 
[2026-06-23 18:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":111063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:17:16] local.INFO: GPS data processed {"connection_id":111063,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:17:16] local.INFO: Acknowledgment sent {"connection_id":111063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:17:23] local.INFO: TCP Data received {"connection_id":111865,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:17:23] local.INFO: Processing buffer {"connection_id":111865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:17:23] local.INFO: IMEI packet received {"connection_id":111865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":111865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:17:28] local.INFO: TCP Data received {"connection_id":111865,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:17:28] local.INFO: Processing buffer {"connection_id":111865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:17:28] local.INFO: IMEI packet received {"connection_id":111865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":111865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:17:29] local.INFO: TCP Data received {"connection_id":111865,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4847530012cb46d00077933880038008830..."} 
[2026-06-23 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4847530012cb46d00077933880038008830..."} 
[2026-06-23 18:17:29] local.INFO: Processing buffer {"connection_id":111865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4847530012cb46d00077933880038008830..."} 
[2026-06-23 18:17:29] local.INFO: Packet analysis {"connection_id":111865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:17:29] local.INFO: Extracted packet for processing {"connection_id":111865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":750021888,"raw_latitude":125383560,"longitude_deg":75.0021888,"latitude_deg":12.538356,"altitude":56,"angle":136,"satellites":48,"speed":27,"hex_longitude":"2cb46d00","hex_latitude":"07793388","is_valid_coordinates":true} 
[2026-06-23 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248007168001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321325633198096384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447666667159255040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218782000,"timestamp_ms":1782218782000,"timestamp_seconds":1782218782,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4847530"} 
[2026-06-23 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:17:29] 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-06-23 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 18:17:29] 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-06-23 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248007168001,"66":27234,"224":206,"27":54016,"24":27,"16":321325633198096384,"44":-5447666667159255040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248007168001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321325633198096384,"km_value":321325633198096.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447666667159255040,"description":"Unknown IO ID 44"} 
[2026-06-23 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248007168001,"power":27234,"unknown_224":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5447666667159255040}} 
[2026-06-23 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":111865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:17:29] local.INFO: GPS data processed {"connection_id":111865,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:17:29] local.INFO: Acknowledgment sent {"connection_id":111865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:17:29] local.INFO: TCP Data received {"connection_id":112804,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4838ad0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4838ad0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:17:29] local.INFO: Processing buffer {"connection_id":112804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4838ad0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:17:29] local.INFO: Packet analysis {"connection_id":112804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:17:29] local.INFO: Extracted packet for processing {"connection_id":112804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247987456001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218722000,"timestamp_ms":1782218722000,"timestamp_seconds":1782218722,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4838ad0"} 
[2026-06-23 18:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-23 18:17: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-06-23 18:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247987456001,"66":12667,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247987456001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247987456001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":112804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:17:29] local.INFO: GPS data processed {"connection_id":112804,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:17:29] local.INFO: Acknowledgment sent {"connection_id":112804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:17:52] local.INFO: TCP Data received {"connection_id":111866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:17:52] local.INFO: Processing buffer {"connection_id":111866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:17:52] local.INFO: IMEI packet received {"connection_id":111866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":111866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:17:57] local.INFO: TCP Data received {"connection_id":111063,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4857ed0012d83358005d152b00000008d27..."} 
[2026-06-23 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4857ed0012d83358005d152b00000008d27..."} 
[2026-06-23 18:17:57] local.INFO: Processing buffer {"connection_id":111063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4857ed0012d83358005d152b00000008d27..."} 
[2026-06-23 18:17:57] local.INFO: Packet analysis {"connection_id":111063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:17:57] local.INFO: Extracted packet for processing {"connection_id":111063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763573632,"raw_latitude":97604272,"longitude_deg":76.3573632,"latitude_deg":9.7604272,"altitude":0,"angle":141,"satellites":39,"speed":11,"hex_longitude":"2d833580","hex_latitude":"05d152b0","is_valid_coordinates":true} 
[2026-06-23 18:17: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-06-23 18:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248025344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96511690417373184,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476937728,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:57] 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-06-23 18:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782218850000,"timestamp_ms":1782218850000,"timestamp_seconds":1782218850,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4857ed0"} 
[2026-06-23 18:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:17: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-06-23 18:17: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-06-23 18:17: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-06-23 18:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248025344001,"66":12765,"221":206,"85":15104,"24":11,"16":96511690417373184,"45":-8992421793476937728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-23 18:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248025344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:17:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-23 18:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96511690417373184,"km_value":96511690417373.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476937728,"description":"Unknown IO ID 45"} 
[2026-06-23 18:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248025344001,"power":12765,"unknown_221":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-8992421793476937728}} 
[2026-06-23 18:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":111063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:17:57] local.INFO: GPS data processed {"connection_id":111063,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:17:57] local.INFO: Acknowledgment sent {"connection_id":111063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:17:57] local.INFO: TCP Data received {"connection_id":111866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:17:57] local.INFO: Processing buffer {"connection_id":111866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:17:57] local.INFO: IMEI packet received {"connection_id":111866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":111866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:17:58] local.INFO: TCP Data received {"connection_id":111866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef483dcd8012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef483dcd8012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:17:58] local.INFO: Processing buffer {"connection_id":111866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef483dcd8012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:17:58] local.INFO: Packet analysis {"connection_id":111866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:17:58] local.INFO: Extracted packet for processing {"connection_id":111866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef483"} 
[2026-06-23 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":36,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247992832001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:17: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-06-23 18:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218743000,"timestamp_ms":1782218743000,"timestamp_seconds":1782218743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef483dcd8"} 
[2026-06-23 18:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:17:58] 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-06-23 18:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 18:17: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-06-23 18:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247992832001,"66":12678,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247992832001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:17:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247992832001,"power":12678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":111866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:17:58] local.INFO: GPS data processed {"connection_id":111866,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:17:58] local.INFO: Acknowledgment sent {"connection_id":111866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:18:04] local.INFO: TCP Data received {"connection_id":111865,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef484abe0012cb489c007791ac0003b008833..."} 
[2026-06-23 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef484abe0012cb489c007791ac0003b008833..."} 
[2026-06-23 18:18:04] local.INFO: Processing buffer {"connection_id":111865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef484abe0012cb489c007791ac0003b008833..."} 
[2026-06-23 18:18:04] local.INFO: Packet analysis {"connection_id":111865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:18:04] local.INFO: Extracted packet for processing {"connection_id":111865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:18:04] local.INFO: GPS Element Parsed {"raw_longitude":750029248,"raw_latitude":125377216,"longitude_deg":75.0029248,"latitude_deg":12.5377216,"altitude":59,"angle":136,"satellites":51,"speed":29,"hex_longitude":"2cb489c0","hex_latitude":"07791ac0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248008192001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321326097054564352,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5445696342322870272,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782218796000,"timestamp_ms":1782218796000,"timestamp_seconds":1782218796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef484abe0"} 
[2026-06-23 18:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:18:04] 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-06-23 18: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 18:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248008192001,"66":27865,"224":206,"27":54016,"24":29,"16":321326097054564352,"44":-5445696342322870272},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 18:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248008192001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:18:04] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 18:18:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321326097054564352,"km_value":321326097054564.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5445696342322870272,"description":"Unknown IO ID 44"} 
[2026-06-23 18:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248008192001,"power":27865,"unknown_224":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-5445696342322870272}} 
[2026-06-23 18:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":111865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:18:04] local.INFO: GPS data processed {"connection_id":111865,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:18:04] local.INFO: Acknowledgment sent {"connection_id":111865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:18:21] local.INFO: TCP Data received {"connection_id":111243,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:21] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:21] local.INFO: IMEI packet received {"connection_id":111243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":111243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:18:23] local.INFO: TCP Data received {"connection_id":111243,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:23] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:23] local.INFO: IMEI packet received {"connection_id":111243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":111243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:18:27] local.INFO: TCP Data received {"connection_id":111867,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:18:27] local.INFO: Processing buffer {"connection_id":111867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:18:27] local.INFO: IMEI packet received {"connection_id":111867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":111867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:18:28] local.INFO: TCP Data received {"connection_id":111243,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:28] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:18:28] local.INFO: IMEI packet received {"connection_id":111243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":111243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:18:29] local.INFO: TCP Data received {"connection_id":111866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4842ee0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4842ee0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:18:29] local.INFO: Processing buffer {"connection_id":111866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4842ee0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:18:29] local.INFO: Packet analysis {"connection_id":111866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:18:29] local.INFO: Extracted packet for processing {"connection_id":111866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456247998208001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218764000,"timestamp_ms":1782218764000,"timestamp_seconds":1782218764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4842ee0"} 
[2026-06-23 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:18:29] 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-06-23 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-23 18:18: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-06-23 18: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-06-23 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456247998208001,"66":12406,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456247998208001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456247998208001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":111866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:18:29] local.INFO: GPS data processed {"connection_id":111866,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:18:29] local.INFO: Acknowledgment sent {"connection_id":111866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:18:29] local.INFO: TCP Data received {"connection_id":111243,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef484bf68012cb4930007790f78003b009333..."} 
[2026-06-23 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef484bf68012cb4930007790f78003b009333..."} 
[2026-06-23 18:18:29] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef484bf68012cb4930007790f78003b009333..."} 
[2026-06-23 18:18:29] local.INFO: Packet analysis {"connection_id":111243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:18:29] local.INFO: Extracted packet for processing {"connection_id":111243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:18:29] local.INFO: GPS Element Parsed {"raw_longitude":750031616,"raw_latitude":125374328,"longitude_deg":75.0031616,"latitude_deg":12.5374328,"altitude":59,"angle":147,"satellites":51,"speed":30,"hex_longitude":"2cb49300","hex_latitude":"07790f78","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248011776001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321326277443190784,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5437603936744062976,"note":"Value kept but may cause issues"} 
[2026-06-23 18:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218801000,"timestamp_ms":1782218801000,"timestamp_seconds":1782218801,"priority":1,"record_length":96,"hex_timestamp":"0000019ef484bf68"} 
[2026-06-23 18:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:18:29] 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-06-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:18:29] 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-06-23 18: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-06-23 18:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248011776001,"66":27974,"224":206,"27":54016,"24":30,"16":321326277443190784,"44":-5437603936744062976},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 18:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248011776001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321326277443190784,"km_value":321326277443190.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5437603936744062976,"description":"Unknown IO ID 44"} 
[2026-06-23 18:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248011776001,"power":27974,"unknown_224":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5437603936744062976}} 
[2026-06-23 18:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":111243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:18:29] local.INFO: GPS data processed {"connection_id":111243,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:18:29] local.INFO: Acknowledgment sent {"connection_id":111243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:18:36] local.INFO: TCP Data received {"connection_id":112805,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:18:36] local.INFO: Processing buffer {"connection_id":112805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:18:36] local.INFO: IMEI packet received {"connection_id":112805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":112805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:18:57] local.INFO: TCP Data received {"connection_id":111244,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:18:57] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:18:57] local.INFO: IMEI packet received {"connection_id":111244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":111244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:19:00] local.INFO: TCP Data received {"connection_id":111243,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef485d0d8012cb4b200077842d8002c009f31..."} 
[2026-06-23 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef485d0d8012cb4b200077842d8002c009f31..."} 
[2026-06-23 18:19:00] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef485d0d8012cb4b200077842d8002c009f31..."} 
[2026-06-23 18:19:00] local.INFO: Packet analysis {"connection_id":111243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:19:00] local.INFO: Extracted packet for processing {"connection_id":111243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:19:00] local.INFO: GPS Element Parsed {"raw_longitude":750039552,"raw_latitude":125321944,"longitude_deg":75.0039552,"latitude_deg":12.5321944,"altitude":44,"angle":159,"satellites":49,"speed":27,"hex_longitude":"2cb4b200","hex_latitude":"077842d8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248030720001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321328974682652672,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5426485675177975808,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782218871000,"timestamp_ms":1782218871000,"timestamp_seconds":1782218871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef485d0d8"} 
[2026-06-23 18:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:19:00] 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-06-23 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 18:19:00] 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-06-23 18: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-06-23 18:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248030720001,"66":27463,"224":206,"27":54016,"24":27,"16":321328974682652672,"44":-5426485675177975808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 18:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248030720001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:19:00] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 18:19:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321328974682652672,"km_value":321328974682652.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5426485675177975808,"description":"Unknown IO ID 44"} 
[2026-06-23 18:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248030720001,"power":27463,"unknown_224":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5426485675177975808}} 
[2026-06-23 18:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":111243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:19:01] local.INFO: GPS data processed {"connection_id":111243,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:19:01] local.INFO: Acknowledgment sent {"connection_id":111243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:19:02] local.INFO: TCP Data received {"connection_id":111244,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:02] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:02] local.INFO: IMEI packet received {"connection_id":111244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":111244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:19:02] local.INFO: TCP Data received {"connection_id":111244,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48480e8012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48480e8012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:19:02] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48480e8012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:19:02] local.INFO: Packet analysis {"connection_id":111244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:19:02] local.INFO: Extracted packet for processing {"connection_id":111244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:19:02] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248003584001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782218785000,"timestamp_ms":1782218785000,"timestamp_seconds":1782218785,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48480e8"} 
[2026-06-23 18:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:19:02] 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-06-23 18:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 18:19:02] 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-06-23 18: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-06-23 18:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248003584001,"66":12645,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248003584001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248003584001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":111244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:19:02] local.INFO: GPS data processed {"connection_id":111244,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:19:02] local.INFO: Acknowledgment sent {"connection_id":111244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:19:07] local.INFO: TCP Data received {"connection_id":111244,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef484d2f0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef484d2f0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:19:07] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef484d2f0012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:19:07] local.INFO: Packet analysis {"connection_id":111244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:19:07] local.INFO: Extracted packet for processing {"connection_id":111244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef484"} 
[2026-06-23 18:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248008960001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782218806000,"timestamp_ms":1782218806000,"timestamp_seconds":1782218806,"priority":1,"record_length":96,"hex_timestamp":"0000019ef484d2f0"} 
[2026-06-23 18:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:19:07] 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-06-23 18: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":101,"data_length":795,"current_offset":136} 
[2026-06-23 18:19:07] 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-06-23 18: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-06-23 18:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248008960001,"66":12613,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248008960001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:19:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248008960001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":111244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:19:08] local.INFO: GPS data processed {"connection_id":111244,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:19:08] local.INFO: Acknowledgment sent {"connection_id":111244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:19:11] local.INFO: TCP Data received {"connection_id":111868,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:19:11] local.INFO: Processing buffer {"connection_id":111868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:19:11] local.INFO: IMEI packet received {"connection_id":111868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":111868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:19:22] local.INFO: TCP Data received {"connection_id":111064,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:22] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:22] local.INFO: IMEI packet received {"connection_id":111064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":111064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:19:23] local.INFO: TCP Data received {"connection_id":111064,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:23] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:23] local.INFO: IMEI packet received {"connection_id":111064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":111064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:19:29] local.INFO: TCP Data received {"connection_id":111064,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:29] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:19:29] local.INFO: IMEI packet received {"connection_id":111064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":111064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:19:30] local.INFO: TCP Data received {"connection_id":111064,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef485d8a8012cb4b48007783e50002c008f30..."} 
[2026-06-23 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef485d8a8012cb4b48007783e50002c008f30..."} 
[2026-06-23 18:19:30] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef485d8a8012cb4b48007783e50002c008f30..."} 
[2026-06-23 18:19:30] local.INFO: Packet analysis {"connection_id":111064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:19:30] local.INFO: Extracted packet for processing {"connection_id":111064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750040192,"raw_latitude":125320784,"longitude_deg":75.0040192,"latitude_deg":12.5320784,"altitude":44,"angle":143,"satellites":48,"speed":26,"hex_longitude":"2cb4b480","hex_latitude":"07783e50","is_valid_coordinates":true} 
[2026-06-23 18:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248030976001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321329039107162112,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5426274568945608704,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218873000,"timestamp_ms":1782218873000,"timestamp_seconds":1782218873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef485d8a8"} 
[2026-06-23 18:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:19:30] 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-06-23 18:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 18:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248030976001,"66":27800,"224":206,"27":54016,"24":26,"16":321329039107162112,"44":-5426274568945608704},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,27,24,16,44]} 
[2026-06-23 18:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248030976001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:19:30] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-23 18:19:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321329039107162112,"km_value":321329039107162.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5426274568945608704,"description":"Unknown IO ID 44"} 
[2026-06-23 18:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248030976001,"power":27800,"unknown_224":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5426274568945608704}} 
[2026-06-23 18:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":111064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:19:30] local.INFO: GPS data processed {"connection_id":111064,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:19:30] local.INFO: Acknowledgment sent {"connection_id":111064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:19:51] local.INFO: TCP Data received {"connection_id":112806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:51] local.INFO: Processing buffer {"connection_id":112806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:51] local.INFO: IMEI packet received {"connection_id":112806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":112806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:19:52] local.INFO: TCP Data received {"connection_id":112806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:52] local.INFO: Processing buffer {"connection_id":112806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:52] local.INFO: IMEI packet received {"connection_id":112806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":112806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:19:57] local.INFO: TCP Data received {"connection_id":112806,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:57] local.INFO: Processing buffer {"connection_id":112806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:19:57] local.INFO: IMEI packet received {"connection_id":112806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":112806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:19:58] local.INFO: TCP Data received {"connection_id":112806,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48524f8012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48524f8012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:19:58] local.INFO: Processing buffer {"connection_id":112806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48524f8012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:19:58] local.INFO: Packet analysis {"connection_id":112806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:19:58] local.INFO: Extracted packet for processing {"connection_id":112806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248014336001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:19: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-06-23 18:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218827000,"timestamp_ms":1782218827000,"timestamp_seconds":1782218827,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48524f8"} 
[2026-06-23 18:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:19:58] 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-06-23 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18:19: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-06-23 18:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248014336001,"66":12667,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248014336001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:19:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248014336001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":112806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:19:58] local.INFO: GPS data processed {"connection_id":112806,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:19:58] local.INFO: Acknowledgment sent {"connection_id":112806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:20:02] local.INFO: TCP Data received {"connection_id":111064,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4862ab0012cb4c34007782a200034009031..."} 
[2026-06-23 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4862ab0012cb4c34007782a200034009031..."} 
[2026-06-23 18:20:02] local.INFO: Processing buffer {"connection_id":111064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4862ab0012cb4c34007782a200034009031..."} 
[2026-06-23 18:20:02] local.INFO: Packet analysis {"connection_id":111064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:20:02] local.INFO: Extracted packet for processing {"connection_id":111064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":750043968,"raw_latitude":125315616,"longitude_deg":75.0043968,"latitude_deg":12.5315616,"altitude":52,"angle":144,"satellites":49,"speed":16,"hex_longitude":"2cb4c340","hex_latitude":"07782a20","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248031488001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321329348344807424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5425570881504129024,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782218894000,"timestamp_ms":1782218894000,"timestamp_seconds":1782218894,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4862ab0"} 
[2026-06-23 18:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:20:02] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:20:02] 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-06-23 18: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-06-23 18:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248031488001,"66":27800,"223":206,"27":54016,"24":16,"16":321329348344807424,"44":-5425570881504129024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,27,24,16,44]} 
[2026-06-23 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248031488001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321329348344807424,"km_value":321329348344807.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:20:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5425570881504129024,"description":"Unknown IO ID 44"} 
[2026-06-23 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248031488001,"power":27800,"unknown_223":206,"unknown_27":54016,"ignition":16,"odometer":null,"unknown_44":-5425570881504129024}} 
[2026-06-23 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":111064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:20:02] local.INFO: GPS data processed {"connection_id":111064,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:20:02] local.INFO: Acknowledgment sent {"connection_id":111064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:20:22] local.INFO: TCP Data received {"connection_id":111871,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:22] local.INFO: Processing buffer {"connection_id":111871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:22] local.INFO: IMEI packet received {"connection_id":111871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":111871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:20:23] local.INFO: TCP Data received {"connection_id":111871,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:23] local.INFO: Processing buffer {"connection_id":111871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:23] local.INFO: IMEI packet received {"connection_id":111871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":111871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:20:29] local.INFO: TCP Data received {"connection_id":111871,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:29] local.INFO: Processing buffer {"connection_id":111871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:20:29] local.INFO: IMEI packet received {"connection_id":111871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":111871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:20:29] local.INFO: TCP Data received {"connection_id":112806,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4857700012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4857700012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:20:29] local.INFO: Processing buffer {"connection_id":112806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4857700012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:20:29] local.INFO: Packet analysis {"connection_id":112806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:20:29] local.INFO: Extracted packet for processing {"connection_id":112806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248019712001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218848000,"timestamp_ms":1782218848000,"timestamp_seconds":1782218848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4857700"} 
[2026-06-23 18:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:20:29] 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-06-23 18:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-23 18:20: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-06-23 18:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248019712001,"66":12580,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248019712001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248019712001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":112806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:20:29] local.INFO: GPS data processed {"connection_id":112806,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:20:29] local.INFO: Acknowledgment sent {"connection_id":112806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:20:30] local.INFO: TCP Data received {"connection_id":111871,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4867100012cb4da0007780df80038009231..."} 
[2026-06-23 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4867100012cb4da0007780df80038009231..."} 
[2026-06-23 18:20:30] local.INFO: Processing buffer {"connection_id":111871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4867100012cb4da0007780df80038009231..."} 
[2026-06-23 18:20:30] local.INFO: Packet analysis {"connection_id":111871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:20:30] local.INFO: Extracted packet for processing {"connection_id":111871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750049792,"raw_latitude":125308408,"longitude_deg":75.0049792,"latitude_deg":12.5308408,"altitude":56,"angle":146,"satellites":49,"speed":25,"hex_longitude":"2cb4da00","hex_latitude":"07780df8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248036864001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321329795021406208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5421419125598969856,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782218912000,"timestamp_ms":1782218912000,"timestamp_seconds":1782218912,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4867100"} 
[2026-06-23 18:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:20:30] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:20:30] 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-06-23 18: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-06-23 18:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248036864001,"66":27821,"223":206,"27":54016,"24":25,"16":321329795021406208,"44":-5421419125598969856},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,27,24,16,44]} 
[2026-06-23 18:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248036864001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:20:30] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-23 18:20:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321329795021406208,"km_value":321329795021406.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5421419125598969856,"description":"Unknown IO ID 44"} 
[2026-06-23 18:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248036864001,"power":27821,"unknown_223":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5421419125598969856}} 
[2026-06-23 18:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":111871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:20:30] local.INFO: GPS data processed {"connection_id":111871,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:20:30] local.INFO: Acknowledgment sent {"connection_id":111871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:20:52] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:52] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:52] local.INFO: IMEI packet received {"connection_id":111245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":111245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:20:54] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:54] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:54] local.INFO: IMEI packet received {"connection_id":111245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":111245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:20:57] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:57] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:20:57] local.INFO: IMEI packet received {"connection_id":111245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":111245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:20:57] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef485c908012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef485c908012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:20:57] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef485c908012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:20:57] local.INFO: Packet analysis {"connection_id":111245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:20:57] local.INFO: Extracted packet for processing {"connection_id":111245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef485"} 
[2026-06-23 18:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:20: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-06-23 18:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248025088001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782218869000,"timestamp_ms":1782218869000,"timestamp_seconds":1782218869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef485c908"} 
[2026-06-23 18:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:20:57] 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-06-23 18:20: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":36,"data_length":795,"current_offset":136} 
[2026-06-23 18:20:57] 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-06-23 18:20: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-06-23 18:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248025088001,"66":12613,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248025088001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248025088001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":111245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:20:57] local.INFO: GPS data processed {"connection_id":111245,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:20:57] local.INFO: Acknowledgment sent {"connection_id":111245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:21:01] local.INFO: TCP Data received {"connection_id":111871,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef487b538012cb55680077746100032007831..."} 
[2026-06-23 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef487b538012cb55680077746100032007831..."} 
[2026-06-23 18:21:01] local.INFO: Processing buffer {"connection_id":111871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef487b538012cb55680077746100032007831..."} 
[2026-06-23 18:21:01] local.INFO: Packet analysis {"connection_id":111871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:21:01] local.INFO: Extracted packet for processing {"connection_id":111871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750081664,"raw_latitude":125257232,"longitude_deg":75.0081664,"latitude_deg":12.5257232,"altitude":50,"angle":120,"satellites":49,"speed":34,"hex_longitude":"2cb55680","hex_latitude":"07774610","is_valid_coordinates":true} 
[2026-06-23 18:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248062208001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321332840153219072,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5381520047664883712,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782218995000,"timestamp_ms":1782218995000,"timestamp_seconds":1782218995,"priority":1,"record_length":96,"hex_timestamp":"0000019ef487b538"} 
[2026-06-23 18:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:21:01] 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-06-23 18:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:21:01] 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-06-23 18:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248062208001,"66":27843,"88":206,"27":54016,"24":34,"16":321332840153219072,"44":-5381520047664883712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-06-23 18:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248062208001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:21:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 18:21:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321332840153219072,"km_value":321332840153219.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5381520047664883712,"description":"Unknown IO ID 44"} 
[2026-06-23 18:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248062208001,"power":27843,"unknown_88":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-5381520047664883712}} 
[2026-06-23 18:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":111871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:21:01] local.INFO: GPS data processed {"connection_id":111871,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:21:01] local.INFO: Acknowledgment sent {"connection_id":111871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:21:02] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4861b10012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4861b10012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:02] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4861b10012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:02] local.INFO: Packet analysis {"connection_id":111245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:21:02] local.INFO: Extracted packet for processing {"connection_id":111245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248030464001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782218890000,"timestamp_ms":1782218890000,"timestamp_seconds":1782218890,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4861b10"} 
[2026-06-23 18:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:21:02] 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-06-23 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18:21: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-06-23 18: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-06-23 18:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248030464001,"66":12613,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248030464001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248030464001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":111245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:21:02] local.INFO: GPS data processed {"connection_id":111245,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:21:02] local.INFO: Acknowledgment sent {"connection_id":111245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:21:23] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:21:23] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:21:23] local.INFO: IMEI packet received {"connection_id":111246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":111246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:21:27] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:21:27] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:21:27] local.INFO: IMEI packet received {"connection_id":111246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":111246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:21:28] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef487bd08012cb55c40077743a00031006a2e..."} 
[2026-06-23 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef487bd08012cb55c40077743a00031006a2e..."} 
[2026-06-23 18:21:28] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef487bd08012cb55c40077743a00031006a2e..."} 
[2026-06-23 18:21:28] local.INFO: Packet analysis {"connection_id":111246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:21:28] local.INFO: Extracted packet for processing {"connection_id":111246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:21:28] local.INFO: GPS Element Parsed {"raw_longitude":750083136,"raw_latitude":125256608,"longitude_deg":75.0083136,"latitude_deg":12.5256608,"altitude":49,"angle":106,"satellites":46,"speed":30,"hex_longitude":"2cb55c40","hex_latitude":"077743a0","is_valid_coordinates":true} 
[2026-06-23 18:21: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-06-23 18:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248062720001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321332917462630400,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5379971935293272064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782218997000,"timestamp_ms":1782218997000,"timestamp_seconds":1782218997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef487bd08"} 
[2026-06-23 18:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:21:28] 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-06-23 18:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:21: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-06-23 18:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248062720001,"66":27691,"88":206,"27":54016,"24":30,"16":321332917462630400,"44":-5379971935293272064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-06-23 18:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248062720001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:21:28] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 18:21:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321332917462630400,"km_value":321332917462630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:21:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5379971935293272064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248062720001,"power":27691,"unknown_88":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-5379971935293272064}} 
[2026-06-23 18:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":111246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:21:28] local.INFO: GPS data processed {"connection_id":111246,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:21:28] local.INFO: Acknowledgment sent {"connection_id":111246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:21:33] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4866d18012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4866d18012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:33] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4866d18012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:33] local.INFO: Packet analysis {"connection_id":111245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:21:33] local.INFO: Extracted packet for processing {"connection_id":111245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248035840001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21: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-06-23 18:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782218911000,"timestamp_ms":1782218911000,"timestamp_seconds":1782218911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4866d18"} 
[2026-06-23 18:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:21: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-06-23 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18:21: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-06-23 18: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-06-23 18:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248035840001,"66":12548,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248035840001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:21:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248035840001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":111245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:21:33] local.INFO: GPS data processed {"connection_id":111245,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:21:33] local.INFO: Acknowledgment sent {"connection_id":111245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:21:52] local.INFO: TCP Data received {"connection_id":111872,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:21:52] local.INFO: Processing buffer {"connection_id":111872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:21:52] local.INFO: IMEI packet received {"connection_id":111872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":111872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:21:57] local.INFO: TCP Data received {"connection_id":111872,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:21:57] local.INFO: Processing buffer {"connection_id":111872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:21:57] local.INFO: IMEI packet received {"connection_id":111872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":111872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:21:58] local.INFO: TCP Data received {"connection_id":111872,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef486bf20012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef486bf20012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:58] local.INFO: Processing buffer {"connection_id":111872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef486bf20012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:21:58] local.INFO: Packet analysis {"connection_id":111872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:21:58] local.INFO: Extracted packet for processing {"connection_id":111872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef486"} 
[2026-06-23 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248041216001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21: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-06-23 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218932000,"timestamp_ms":1782218932000,"timestamp_seconds":1782218932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef486bf20"} 
[2026-06-23 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:21:58] 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-06-23 18:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4102324456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2233792513,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212129860,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147950587,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3174825984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:21:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,27,45,128,251,68,39,10,66,201,119,1,240,36,227,244,31,4,113,205,210,61,38,239,49,2,13,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:21:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900193639013023744,"timestamp_seconds":4900193639013024.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248041216001,"66":12613,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248041216001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:21:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248041216001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":111872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:21:58] local.INFO: GPS data processed {"connection_id":111872,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:21:58] local.INFO: Acknowledgment sent {"connection_id":111872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:22:00] local.INFO: TCP Data received {"connection_id":111246,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef487ff70012cb580c007773e40003000602f..."} 
[2026-06-23 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef487ff70012cb580c007773e40003000602f..."} 
[2026-06-23 18:22:00] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef487ff70012cb580c007773e40003000602f..."} 
[2026-06-23 18:22:00] local.INFO: Packet analysis {"connection_id":111246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:22:00] local.INFO: Extracted packet for processing {"connection_id":111246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":750092480,"raw_latitude":125255232,"longitude_deg":75.009248,"latitude_deg":12.5255232,"altitude":48,"angle":96,"satellites":47,"speed":28,"hex_longitude":"2cb580c0","hex_latitude":"07773e40","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248063232001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321333364139229184,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5378353454177345536,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782219014000,"timestamp_ms":1782219014000,"timestamp_seconds":1782219014,"priority":1,"record_length":96,"hex_timestamp":"0000019ef487ff70"} 
[2026-06-23 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:22:00] 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-06-23 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 18:22:00] 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-06-23 18: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-06-23 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248063232001,"66":27876,"88":206,"27":54016,"24":28,"16":321333364139229184,"44":-5378353454177345536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-06-23 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248063232001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:22:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 18:22:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321333364139229184,"km_value":321333364139229.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5378353454177345536,"description":"Unknown IO ID 44"} 
[2026-06-23 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248063232001,"power":27876,"unknown_88":206,"unknown_27":54016,"ignition":28,"odometer":null,"unknown_44":-5378353454177345536}} 
[2026-06-23 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":111246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:22:00] local.INFO: GPS data processed {"connection_id":111246,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:22:00] local.INFO: Acknowledgment sent {"connection_id":111246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:22:23] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:23] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:23] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:22:26] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:26] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:26] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:22:28] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:28] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:22:28] local.INFO: IMEI packet received {"connection_id":111068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":111068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:22:29] local.INFO: TCP Data received {"connection_id":111872,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4871128012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4871128012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:22:29] local.INFO: Processing buffer {"connection_id":111872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4871128012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:22:29] local.INFO: Packet analysis {"connection_id":111872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:22:29] local.INFO: Extracted packet for processing {"connection_id":111872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248046592001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218953000,"timestamp_ms":1782218953000,"timestamp_seconds":1782218953,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4871128"} 
[2026-06-23 18:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:22:29] 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-06-23 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18:22: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-06-23 18:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248046592001,"66":12613,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248046592001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248046592001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:22:29] local.INFO: GPS data processed {"connection_id":111872,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:22:29] local.INFO: Acknowledgment sent {"connection_id":111872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:22:29] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48841d8012cb5a30007773960002f006d2d..."} 
[2026-06-23 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48841d8012cb5a30007773960002f006d2d..."} 
[2026-06-23 18:22:29] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48841d8012cb5a30007773960002f006d2d..."} 
[2026-06-23 18:22:29] local.INFO: Packet analysis {"connection_id":111068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:22:29] local.INFO: Extracted packet for processing {"connection_id":111068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":750101248,"raw_latitude":125253984,"longitude_deg":75.0101248,"latitude_deg":12.5253984,"altitude":47,"angle":109,"satellites":45,"speed":22,"hex_longitude":"2cb5a300","hex_latitude":"07773960","is_valid_coordinates":true} 
[2026-06-23 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248067584001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321333785046024192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5368079617527758848,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219031000,"timestamp_ms":1782219031000,"timestamp_seconds":1782219031,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48841d8"} 
[2026-06-23 18:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:22:29] 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-06-23 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248067584001,"66":27919,"88":206,"27":54016,"24":22,"16":321333785046024192,"44":-5368079617527758848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-06-23 18:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248067584001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321333785046024192,"km_value":321333785046024.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5368079617527758848,"description":"Unknown IO ID 44"} 
[2026-06-23 18:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248067584001,"power":27919,"unknown_88":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-5368079617527758848}} 
[2026-06-23 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:22:29] local.INFO: GPS data processed {"connection_id":111068,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:22:29] local.INFO: Acknowledgment sent {"connection_id":111068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:22:52] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:22:52] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:22:52] local.INFO: IMEI packet received {"connection_id":111069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":111069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:22:57] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:22:57] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:22:57] local.INFO: IMEI packet received {"connection_id":111069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":111069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:22:58] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4876330012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4876330012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:22:58] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4876330012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:22:58] local.INFO: Packet analysis {"connection_id":111069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:22:58] local.INFO: Extracted packet for processing {"connection_id":111069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248051968001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:22: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-06-23 18:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782218974000,"timestamp_ms":1782218974000,"timestamp_seconds":1782218974,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4876330"} 
[2026-06-23 18:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:22:58] 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-06-23 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18:22: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-06-23 18: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-06-23 18:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248051968001,"66":12591,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248051968001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:22:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248051968001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":111069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:22:58] local.INFO: GPS data processed {"connection_id":111069,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:22:58] local.INFO: Acknowledgment sent {"connection_id":111069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:23:01] local.INFO: TCP Data received {"connection_id":111068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4885178012cb5ac4007773538002f007b2d..."} 
[2026-06-23 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4885178012cb5ac4007773538002f007b2d..."} 
[2026-06-23 18:23:01] local.INFO: Processing buffer {"connection_id":111068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4885178012cb5ac4007773538002f007b2d..."} 
[2026-06-23 18:23:01] local.INFO: Packet analysis {"connection_id":111068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:23:01] local.INFO: Extracted packet for processing {"connection_id":111068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:23:01] local.INFO: GPS Element Parsed {"raw_longitude":750103616,"raw_latitude":125252920,"longitude_deg":75.0103616,"latitude_deg":12.525292,"altitude":47,"angle":123,"satellites":45,"speed":25,"hex_longitude":"2cb5ac40","hex_latitude":"07773538","is_valid_coordinates":true} 
[2026-06-23 18:23: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-06-23 18:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248071936001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321333905305108480,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5358439099575738368,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219035000,"timestamp_ms":1782219035000,"timestamp_seconds":1782219035,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4885178"} 
[2026-06-23 18:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:23:01] 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-06-23 18:23: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 18:23:01] 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-06-23 18:23: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-06-23 18:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248071936001,"66":27865,"88":206,"27":54016,"24":25,"16":321333905305108480,"44":-5358439099575738368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,27,24,16,44]} 
[2026-06-23 18:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248071936001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:23:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 18:23:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321333905305108480,"km_value":321333905305108.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5358439099575738368,"description":"Unknown IO ID 44"} 
[2026-06-23 18:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248071936001,"power":27865,"unknown_88":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-5358439099575738368}} 
[2026-06-23 18:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":111068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:23:01] local.INFO: GPS data processed {"connection_id":111068,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:23:01] local.INFO: Acknowledgment sent {"connection_id":111068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:23:28] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:23:28] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:23:28] local.INFO: IMEI packet received {"connection_id":111249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":111249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:23:29] local.INFO: TCP Data received {"connection_id":111069,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef487b538012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef487b538012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:23:29] local.INFO: Processing buffer {"connection_id":111069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef487b538012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:23:29] local.INFO: Packet analysis {"connection_id":111069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:23:29] local.INFO: Extracted packet for processing {"connection_id":111069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef487"} 
[2026-06-23 18:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248057344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782218995000,"timestamp_ms":1782218995000,"timestamp_seconds":1782218995,"priority":1,"record_length":96,"hex_timestamp":"0000019ef487b538"} 
[2026-06-23 18:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:23:29] 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-06-23 18:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 18:23: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-06-23 18:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248057344001,"66":12558,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248057344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:23:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248057344001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":111069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:23:29] local.INFO: GPS data processed {"connection_id":111069,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:23:29] local.INFO: Acknowledgment sent {"connection_id":111069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:23:31] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:23:31] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:23:31] local.INFO: IMEI packet received {"connection_id":111249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":111249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:23:31] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef489dc00012cb64400077639f8003800a12f..."} 
[2026-06-23 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef489dc00012cb64400077639f8003800a12f..."} 
[2026-06-23 18:23:31] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef489dc00012cb64400077639f8003800a12f..."} 
[2026-06-23 18:23:31] local.INFO: Packet analysis {"connection_id":111249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef489"} 
[2026-06-23 18:23:31] local.INFO: Extracted packet for processing {"connection_id":111249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef489"} 
[2026-06-23 18:23:31] local.INFO: GPS Element Parsed {"raw_longitude":750142464,"raw_latitude":125188600,"longitude_deg":75.0142464,"latitude_deg":12.51886,"altitude":56,"angle":161,"satellites":47,"speed":40,"hex_longitude":"2cb64400","hex_latitude":"077639f8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248096512001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321337629041754112,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5316428959316193280,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782219136000,"timestamp_ms":1782219136000,"timestamp_seconds":1782219136,"priority":1,"record_length":96,"hex_timestamp":"0000019ef489dc00"} 
[2026-06-23 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-06-23 18:23:31] 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-06-23 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 18:23:31] 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-06-23 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-06-23 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-06-23 18:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248096512001,"66":27789,"202":206,"27":54016,"24":40,"16":321337629041754112,"44":-5316428959316193280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-06-23 18:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248096512001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:23:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321337629041754112,"km_value":321337629041754.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5316428959316193280,"description":"Unknown IO ID 44"} 
[2026-06-23 18:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248096512001,"power":27789,"mcc":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-5316428959316193280}} 
[2026-06-23 18:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":111249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:23:31] local.INFO: GPS data processed {"connection_id":111249,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:23:31] local.INFO: Acknowledgment sent {"connection_id":111249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:23:40] local.INFO: TCP Data received {"connection_id":111248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:23:40] local.INFO: Processing buffer {"connection_id":111248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:23:40] local.INFO: IMEI packet received {"connection_id":111248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":111248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:23:41] local.INFO: TCP Data received {"connection_id":111248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48a8fb0012d80cb0005d2cc400000016629..."} 
[2026-06-23 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48a8fb0012d80cb0005d2cc400000016629..."} 
[2026-06-23 18:23:41] local.INFO: Processing buffer {"connection_id":111248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48a8fb0012d80cb0005d2cc400000016629..."} 
[2026-06-23 18:23:41] local.INFO: Packet analysis {"connection_id":111248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48a"} 
[2026-06-23 18:23:41] local.INFO: Extracted packet for processing {"connection_id":111248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48a"} 
[2026-06-23 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":763415296,"raw_latitude":97700928,"longitude_deg":76.3415296,"latitude_deg":9.7700928,"altitude":0,"angle":358,"satellites":41,"speed":36,"hex_longitude":"2d80cb00","hex_latitude":"05d2cc40","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248109056001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96523252469334016,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165951116595574784,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:41] 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-06-23 18:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782219182000,"timestamp_ms":1782219182000,"timestamp_seconds":1782219182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48a8fb0"} 
[2026-06-23 18:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:23:41] 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-06-23 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 18:23: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-06-23 18: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-06-23 18:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248109056001,"66":12809,"208":206,"85":15104,"24":36,"16":96523252469334016,"45":-9165951116595574784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-23 18:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248109056001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:23:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-23 18:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96523252469334016,"km_value":96523252469334.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165951116595574784,"description":"Unknown IO ID 45"} 
[2026-06-23 18:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248109056001,"power":12809,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9165951116595574784}} 
[2026-06-23 18:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":111248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:23:41] local.INFO: GPS data processed {"connection_id":111248,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:23:41] local.INFO: Acknowledgment sent {"connection_id":111248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:23:52] local.INFO: TCP Data received {"connection_id":111874,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:23:52] local.INFO: Processing buffer {"connection_id":111874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:23:52] local.INFO: IMEI packet received {"connection_id":111874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":111874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:23:57] local.INFO: TCP Data received {"connection_id":111874,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:23:57] local.INFO: Processing buffer {"connection_id":111874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:23:57] local.INFO: IMEI packet received {"connection_id":111874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":111874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:23:58] local.INFO: TCP Data received {"connection_id":111874,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4880740012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4880740012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:23:58] local.INFO: Processing buffer {"connection_id":111874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4880740012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:23:58] local.INFO: Packet analysis {"connection_id":111874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:23:58] local.INFO: Extracted packet for processing {"connection_id":111874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248062720001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23: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-06-23 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219016000,"timestamp_ms":1782219016000,"timestamp_seconds":1782219016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4880740"} 
[2026-06-23 18:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:23:58] 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-06-23 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4102408456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249696226209168144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2255296513,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212129860,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147950587,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3174825984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 18:23:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,189,158,99,45,128,251,68,39,10,66,17,37,191,1,240,69,227,244,31,4,113,205,27,61,239,49,2,13,7,120,51,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:23:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900193634718056448,"timestamp_seconds":4900193634718056.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248062720001,"66":12232,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248062720001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:23:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248062720001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":111874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:23:58] local.INFO: GPS data processed {"connection_id":111874,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:23:58] local.INFO: Acknowledgment sent {"connection_id":111874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:24:03] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48a0ec8012cb64c80077617c0003800a92e..."} 
[2026-06-23 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48a0ec8012cb64c80077617c0003800a92e..."} 
[2026-06-23 18:24:03] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48a0ec8012cb64c80077617c0003800a92e..."} 
[2026-06-23 18:24:03] local.INFO: Packet analysis {"connection_id":111249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48a"} 
[2026-06-23 18:24:03] local.INFO: Extracted packet for processing {"connection_id":111249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48a"} 
[2026-06-23 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":750144640,"raw_latitude":125179840,"longitude_deg":75.014464,"latitude_deg":12.517984,"altitude":56,"angle":169,"satellites":46,"speed":13,"hex_longitude":"2cb64c80","hex_latitude":"077617c0","is_valid_coordinates":true} 
[2026-06-23 18:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248098816001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321338067128418304,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5313121628342061056,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782219149000,"timestamp_ms":1782219149000,"timestamp_seconds":1782219149,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48a0ec8"} 
[2026-06-23 18:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:24:03] 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-06-23 18:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 18:24:03] 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-06-23 18:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248098816001,"66":27397,"202":206,"27":54016,"24":13,"16":321338067128418304,"44":-5313121628342061056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-06-23 18:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248098816001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:24:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321338067128418304,"km_value":321338067128418.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:24:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5313121628342061056,"description":"Unknown IO ID 44"} 
[2026-06-23 18:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248098816001,"power":27397,"mcc":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-5313121628342061056}} 
[2026-06-23 18:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":111249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:24:03] local.INFO: GPS data processed {"connection_id":111249,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:24:03] local.INFO: Acknowledgment sent {"connection_id":111249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:24:10] local.INFO: TCP Data received {"connection_id":111070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:10] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:10] local.INFO: IMEI packet received {"connection_id":111070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":111070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:24:10] local.INFO: TCP Data received {"connection_id":111070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:10] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:10] local.INFO: IMEI packet received {"connection_id":111070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":111070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:24:11] local.INFO: TCP Data received {"connection_id":111070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:11] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:11] local.INFO: IMEI packet received {"connection_id":111070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":111070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:24:12] local.INFO: TCP Data received {"connection_id":111070,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:12] local.INFO: Processing buffer {"connection_id":111070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:24:12] local.INFO: IMEI packet received {"connection_id":111070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":111070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:24:23] local.INFO: TCP Data received {"connection_id":111876,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:23] local.INFO: Processing buffer {"connection_id":111876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:23] local.INFO: IMEI packet received {"connection_id":111876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":111876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:24:24] local.INFO: TCP Data received {"connection_id":111876,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:24] local.INFO: Processing buffer {"connection_id":111876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:24] local.INFO: IMEI packet received {"connection_id":111876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":111876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:24:28] local.INFO: TCP Data received {"connection_id":111876,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:28] local.INFO: Processing buffer {"connection_id":111876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:24:28] local.INFO: IMEI packet received {"connection_id":111876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":111876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:24:29] local.INFO: TCP Data received {"connection_id":111874,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4885948012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4885948012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:24:29] local.INFO: Processing buffer {"connection_id":111874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4885948012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:24:29] local.INFO: Packet analysis {"connection_id":111874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:24:29] local.INFO: Extracted packet for processing {"connection_id":111874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":36,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248068096001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219037000,"timestamp_ms":1782219037000,"timestamp_seconds":1782219037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4885948"} 
[2026-06-23 18:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:24:29] 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-06-23 18:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 18:24:29] 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-06-23 18:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248068096001,"66":12580,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248068096001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:24:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248068096001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":111874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:24:29] local.INFO: GPS data processed {"connection_id":111874,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:24:29] local.INFO: Acknowledgment sent {"connection_id":111874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:24:30] local.INFO: TCP Data received {"connection_id":111876,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48a1a80012cb64d80077614280037009c2d..."} 
[2026-06-23 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48a1a80012cb64d80077614280037009c2d..."} 
[2026-06-23 18:24:30] local.INFO: Processing buffer {"connection_id":111876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48a1a80012cb64d80077614280037009c2d..."} 
[2026-06-23 18:24:30] local.INFO: Packet analysis {"connection_id":111876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48a"} 
[2026-06-23 18:24:30] local.INFO: Extracted packet for processing {"connection_id":111876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48a"} 
[2026-06-23 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750144896,"raw_latitude":125178920,"longitude_deg":75.0144896,"latitude_deg":12.517892,"altitude":55,"angle":156,"satellites":45,"speed":13,"hex_longitude":"2cb64d80","hex_latitude":"07761428","is_valid_coordinates":true} 
[2026-06-23 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248102144001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321338114373058560,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5310729091042263040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782219152000,"timestamp_ms":1782219152000,"timestamp_seconds":1782219152,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48a1a80"} 
[2026-06-23 18:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:24:30] 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-06-23 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 18:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248102144001,"66":27397,"202":206,"27":54016,"24":13,"16":321338114373058560,"44":-5310729091042263040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,27,24,16,44]} 
[2026-06-23 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248102144001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:24:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321338114373058560,"km_value":321338114373058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5310729091042263040,"description":"Unknown IO ID 44"} 
[2026-06-23 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248102144001,"power":27397,"mcc":206,"unknown_27":54016,"ignition":13,"odometer":null,"unknown_44":-5310729091042263040}} 
[2026-06-23 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":111876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:24:30] local.INFO: GPS data processed {"connection_id":111876,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:24:30] local.INFO: Acknowledgment sent {"connection_id":111876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:24:41] local.INFO: TCP Data received {"connection_id":111875,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:24:41] local.INFO: Processing buffer {"connection_id":111875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:24:41] local.INFO: IMEI packet received {"connection_id":111875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":111875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:24:57] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:24:57] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:24:57] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:25:01] local.INFO: TCP Data received {"connection_id":111876,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48b6e58012cb717000775ff30004400702f..."} 
[2026-06-23 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48b6e58012cb717000775ff30004400702f..."} 
[2026-06-23 18:25:01] local.INFO: Processing buffer {"connection_id":111876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48b6e58012cb717000775ff30004400702f..."} 
[2026-06-23 18:25:01] local.INFO: Packet analysis {"connection_id":111876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48b"} 
[2026-06-23 18:25:01] local.INFO: Extracted packet for processing {"connection_id":111876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48b"} 
[2026-06-23 18:25:01] local.INFO: GPS Element Parsed {"raw_longitude":750196480,"raw_latitude":125173552,"longitude_deg":75.019648,"latitude_deg":12.5173552,"altitude":68,"angle":112,"satellites":47,"speed":22,"hex_longitude":"2cb71700","hex_latitude":"0775ff30","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248121600001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321340601159122944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5262174657560780800,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219239000,"timestamp_ms":1782219239000,"timestamp_seconds":1782219239,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48b6e58"} 
[2026-06-23 18:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:25:01] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:25:01] 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-06-23 18: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-06-23 18:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248121600001,"66":27245,"201":206,"27":54016,"24":22,"16":321340601159122944,"44":-5262174657560780800},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-06-23 18:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248121600001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:25:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 18:25:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321340601159122944,"km_value":321340601159122.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:25:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5262174657560780800,"description":"Unknown IO ID 44"} 
[2026-06-23 18:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248121600001,"power":27245,"unknown_201":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-5262174657560780800}} 
[2026-06-23 18:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":111876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:25:01] local.INFO: GPS data processed {"connection_id":111876,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:25:01] local.INFO: Acknowledgment sent {"connection_id":111876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:25:02] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:02] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:02] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:25:03] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef488ab50012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef488ab50012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:25:03] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef488ab50012d193d80071ffb10004400fc26..."} 
[2026-06-23 18:25:03] local.INFO: Packet analysis {"connection_id":111250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:25:03] local.INFO: Extracted packet for processing {"connection_id":111250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248073472001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782219058000,"timestamp_ms":1782219058000,"timestamp_seconds":1782219058,"priority":1,"record_length":96,"hex_timestamp":"0000019ef488ab50"} 
[2026-06-23 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-06-23 18:25:03] 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-06-23 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-23 18:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248073472001,"66":12526,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248073472001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:25:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248073472001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":111250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:25:03] local.INFO: GPS data processed {"connection_id":111250,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:25:03] local.INFO: Acknowledgment sent {"connection_id":111250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:25:06] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef488fd58012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef488fd58012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:25:06] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef488fd58012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:25:06] local.INFO: Packet analysis {"connection_id":111250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:25:06] local.INFO: Extracted packet for processing {"connection_id":111250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef488"} 
[2026-06-23 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248078848001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25: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-06-23 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782219079000,"timestamp_ms":1782219079000,"timestamp_seconds":1782219079,"priority":1,"record_length":96,"hex_timestamp":"0000019ef488fd58"} 
[2026-06-23 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:25:06] 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-06-23 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 18:25:06] 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-06-23 18:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248078848001,"66":12558,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248078848001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248078848001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":111250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:25:06] local.INFO: GPS data processed {"connection_id":111250,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:25:06] local.INFO: Acknowledgment sent {"connection_id":111250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:25:11] local.INFO: TCP Data received {"connection_id":111071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:25:11] local.INFO: Processing buffer {"connection_id":111071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:25:11] local.INFO: IMEI packet received {"connection_id":111071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":111071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:25:21] local.INFO: TCP Data received {"connection_id":111072,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:21] local.INFO: Processing buffer {"connection_id":111072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:21] local.INFO: IMEI packet received {"connection_id":111072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":111072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:25:23] local.INFO: TCP Data received {"connection_id":111072,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:23] local.INFO: Processing buffer {"connection_id":111072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:23] local.INFO: IMEI packet received {"connection_id":111072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":111072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:25:28] local.INFO: TCP Data received {"connection_id":111072,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:28] local.INFO: Processing buffer {"connection_id":111072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:25:28] local.INFO: IMEI packet received {"connection_id":111072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":111072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:25:29] local.INFO: TCP Data received {"connection_id":111072,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48b81e0012cb71fc00775fac00044007c2d..."} 
[2026-06-23 18:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48b81e0012cb71fc00775fac00044007c2d..."} 
[2026-06-23 18:25:29] local.INFO: Processing buffer {"connection_id":111072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48b81e0012cb71fc00775fac00044007c2d..."} 
[2026-06-23 18:25:29] local.INFO: Packet analysis {"connection_id":111072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48b"} 
[2026-06-23 18:25:29] local.INFO: Extracted packet for processing {"connection_id":111072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48b"} 
[2026-06-23 18:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750198720,"raw_latitude":125172416,"longitude_deg":75.019872,"latitude_deg":12.5172416,"altitude":68,"angle":124,"satellites":45,"speed":15,"hex_longitude":"2cb71fc0","hex_latitude":"0775fac0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248125184001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321340721418207232,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5253730408259964928,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219244000,"timestamp_ms":1782219244000,"timestamp_seconds":1782219244,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48b81e0"} 
[2026-06-23 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-06-23 18:25:29] 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-06-23 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 18:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248125184001,"66":27843,"201":206,"27":54016,"24":15,"16":321340721418207232,"44":-5253730408259964928},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-06-23 18:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248125184001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:25:29] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 18:25:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321340721418207232,"km_value":321340721418207.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5253730408259964928,"description":"Unknown IO ID 44"} 
[2026-06-23 18:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248125184001,"power":27843,"unknown_201":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-5253730408259964928}} 
[2026-06-23 18:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":111072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:25:29] local.INFO: GPS data processed {"connection_id":111072,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:25:29] local.INFO: Acknowledgment sent {"connection_id":111072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:25:52] local.INFO: TCP Data received {"connection_id":112808,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:52] local.INFO: Processing buffer {"connection_id":112808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:52] local.INFO: IMEI packet received {"connection_id":112808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":112808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:25:57] local.INFO: TCP Data received {"connection_id":112808,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:57] local.INFO: Processing buffer {"connection_id":112808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:25:57] local.INFO: IMEI packet received {"connection_id":112808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":112808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:25:58] local.INFO: TCP Data received {"connection_id":112808,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4894f60012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4894f60012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:25:58] local.INFO: Processing buffer {"connection_id":112808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4894f60012d193d80071ffb10004400fc25..."} 
[2026-06-23 18:25:58] local.INFO: Packet analysis {"connection_id":112808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef489"} 
[2026-06-23 18:25:58] local.INFO: Extracted packet for processing {"connection_id":112808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef489"} 
[2026-06-23 18:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248084224001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25: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-06-23 18:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219100000,"timestamp_ms":1782219100000,"timestamp_seconds":1782219100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4894f60"} 
[2026-06-23 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-06-23 18:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4102492456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249696226209168144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13465702,"corrected_to":0} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2276800513,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212129860,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147950587,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3174825984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 18:25:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,189,158,171,45,128,251,68,38,10,66,89,36,7,1,240,200,227,244,31,4,113,205,99,61,39,239,49,2,13,120,51,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":200,"original":13465702,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:25:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900193630423089152,"timestamp_seconds":4900193630423089.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 18:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248084224001,"66":12504,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248084224001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:25:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248084224001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":112808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:25:58] local.INFO: GPS data processed {"connection_id":112808,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:25:58] local.INFO: Acknowledgment sent {"connection_id":112808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:26:01] local.INFO: TCP Data received {"connection_id":111072,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48bb890012cb73ec00775e5c80041007d2e..."} 
[2026-06-23 18:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48bb890012cb73ec00775e5c80041007d2e..."} 
[2026-06-23 18:26:01] local.INFO: Processing buffer {"connection_id":111072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48bb890012cb73ec00775e5c80041007d2e..."} 
[2026-06-23 18:26:01] local.INFO: Packet analysis {"connection_id":111072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48b"} 
[2026-06-23 18:26:01] local.INFO: Extracted packet for processing {"connection_id":111072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48b"} 
[2026-06-23 18:26:01] local.INFO: GPS Element Parsed {"raw_longitude":750206656,"raw_latitude":125167048,"longitude_deg":75.0206656,"latitude_deg":12.5167048,"altitude":65,"angle":125,"satellites":46,"speed":38,"hex_longitude":"2cb73ec0","hex_latitude":"0775e5c8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248126464001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321341180979707904,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5251267502214037504,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219258000,"timestamp_ms":1782219258000,"timestamp_seconds":1782219258,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48bb890"} 
[2026-06-23 18:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:26:01] 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-06-23 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:26:01] 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-06-23 18: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-06-23 18:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248126464001,"66":27974,"201":206,"27":54016,"24":38,"16":321341180979707904,"44":-5251267502214037504},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,27,24,16,44]} 
[2026-06-23 18:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248126464001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:26:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-23 18:26:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321341180979707904,"km_value":321341180979707.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:26:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5251267502214037504,"description":"Unknown IO ID 44"} 
[2026-06-23 18:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248126464001,"power":27974,"unknown_201":206,"unknown_27":54016,"ignition":38,"odometer":null,"unknown_44":-5251267502214037504}} 
[2026-06-23 18:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":111072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:26:01] local.INFO: GPS data processed {"connection_id":111072,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:26:01] local.INFO: Acknowledgment sent {"connection_id":111072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:26:23] local.INFO: TCP Data received {"connection_id":111877,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:26:23] local.INFO: Processing buffer {"connection_id":111877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:26:23] local.INFO: IMEI packet received {"connection_id":111877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":111877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:26:27] local.INFO: TCP Data received {"connection_id":111877,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:26:27] local.INFO: Processing buffer {"connection_id":111877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:26:27] local.INFO: IMEI packet received {"connection_id":111877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":111877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:26:28] local.INFO: TCP Data received {"connection_id":111877,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48cdd88012cb89480077536b0004100682e..."} 
[2026-06-23 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48cdd88012cb89480077536b0004100682e..."} 
[2026-06-23 18:26:28] local.INFO: Processing buffer {"connection_id":111877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48cdd88012cb89480077536b0004100682e..."} 
[2026-06-23 18:26:28] local.INFO: Packet analysis {"connection_id":111877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48c"} 
[2026-06-23 18:26:28] local.INFO: Extracted packet for processing {"connection_id":111877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48c"} 
[2026-06-23 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":750294144,"raw_latitude":125122224,"longitude_deg":75.0294144,"latitude_deg":12.5122224,"altitude":65,"angle":104,"satellites":46,"speed":49,"hex_longitude":"2cb89480","hex_latitude":"077536b0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248147200001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321345888263864320,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5157254860004882432,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782219333000,"timestamp_ms":1782219333000,"timestamp_seconds":1782219333,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48cdd88"} 
[2026-06-23 18:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:26:28] 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-06-23 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 18:26:28] 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-06-23 18: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-06-23 18:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248147200001,"66":27865,"3":206,"27":54016,"24":49,"16":321345888263864320,"44":-5157254860004882432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-06-23 18:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248147200001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:26:28] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-23 18:26:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321345888263864320,"km_value":321345888263864.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:26:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5157254860004882432,"description":"Unknown IO ID 44"} 
[2026-06-23 18:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248147200001,"power":27865,"unknown_3":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-5157254860004882432}} 
[2026-06-23 18:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":111877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:26:28] local.INFO: GPS data processed {"connection_id":111877,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:26:28] local.INFO: Acknowledgment sent {"connection_id":111877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:26:29] local.INFO: TCP Data received {"connection_id":112808,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef489a168012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef489a168012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:26:29] local.INFO: Processing buffer {"connection_id":112808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef489a168012d193d80071ffb10004400fc27..."} 
[2026-06-23 18:26:29] local.INFO: Packet analysis {"connection_id":112808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef489"} 
[2026-06-23 18:26:29] local.INFO: Extracted packet for processing {"connection_id":112808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef489"} 
[2026-06-23 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":39,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248089600001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219121000,"timestamp_ms":1782219121000,"timestamp_seconds":1782219121,"priority":1,"record_length":96,"hex_timestamp":"0000019ef489a168"} 
[2026-06-23 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-06-23 18:26:29] 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-06-23 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 18:26:29] 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-06-23 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-06-23 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-06-23 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248089600001,"66":12504,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248089600001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:26:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248089600001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":112808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:26:29] local.INFO: GPS data processed {"connection_id":112808,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:26:29] local.INFO: Acknowledgment sent {"connection_id":112808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:26:52] local.INFO: TCP Data received {"connection_id":112811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:52] local.INFO: Processing buffer {"connection_id":112811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:52] local.INFO: IMEI packet received {"connection_id":112811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":112811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:26:53] local.INFO: TCP Data received {"connection_id":112811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:53] local.INFO: Processing buffer {"connection_id":112811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:53] local.INFO: IMEI packet received {"connection_id":112811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":112811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:26:53] local.INFO: TCP Data received {"connection_id":112811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:53] local.INFO: Processing buffer {"connection_id":112811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:53] local.INFO: IMEI packet received {"connection_id":112811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":112811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:26:54] local.INFO: TCP Data received {"connection_id":112811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:54] local.INFO: Processing buffer {"connection_id":112811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:26:54] local.INFO: IMEI packet received {"connection_id":112811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":112811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:26:54] local.INFO: TCP Data received {"connection_id":112811,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48d27c0012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48d27c0012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:26:54] local.INFO: Processing buffer {"connection_id":112811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48d27c0012d193d80071ffb10004400fc24..."} 
[2026-06-23 18:26:54] local.INFO: Packet analysis {"connection_id":112811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:26:54] local.INFO: Extracted packet for processing {"connection_id":112811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:26:54] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119536400,"longitude_deg":75.6628864,"latitude_deg":11.95364,"altitude":68,"angle":252,"satellites":36,"speed":0,"hex_longitude":"2d193d80","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248148736001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867240092925952,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592617222144,"note":"Value kept but may cause issues"} 
[2026-06-23 18:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782219352000,"timestamp_ms":1782219352000,"timestamp_seconds":1782219352,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48d27c0"} 
[2026-06-23 18:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-23 18:26:54] 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-06-23 18: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-06-23 18:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":112811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":112811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":112811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248148736001,"66":14189,"102":206,"83":41984,"24":0,"16":3867240092925952,"45":1818750592617222144},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248148736001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:26:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867240092925952,"km_value":3867240092925.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592617222144,"description":"Unknown IO ID 45"} 
[2026-06-23 18:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248148736001,"power":14189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818750592617222144}} 
[2026-06-23 18:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":112811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:26:54] local.INFO: GPS data processed {"connection_id":112811,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:26:54] local.INFO: Acknowledgment sent {"connection_id":112811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:27:00] local.INFO: TCP Data received {"connection_id":111877,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48cfcc8012cb8ba8007752e08004300672e..."} 
[2026-06-23 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48cfcc8012cb8ba8007752e08004300672e..."} 
[2026-06-23 18:27:00] local.INFO: Processing buffer {"connection_id":111877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48cfcc8012cb8ba8007752e08004300672e..."} 
[2026-06-23 18:27:00] local.INFO: Packet analysis {"connection_id":111877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48c"} 
[2026-06-23 18:27:00] local.INFO: Extracted packet for processing {"connection_id":111877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48c"} 
[2026-06-23 18:27:00] local.INFO: GPS Element Parsed {"raw_longitude":750303872,"raw_latitude":125120008,"longitude_deg":75.0303872,"latitude_deg":12.5120008,"altitude":67,"angle":103,"satellites":46,"speed":48,"hex_longitude":"2cb8ba80","hex_latitude":"07752e08","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248149248001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321346365005234176,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5146347704657989632,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782219341000,"timestamp_ms":1782219341000,"timestamp_seconds":1782219341,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48cfcc8"} 
[2026-06-23 18:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:27:00] 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-06-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:27:00] 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-06-23 18: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-06-23 18:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248149248001,"66":27843,"3":206,"27":54016,"24":48,"16":321346365005234176,"44":-5146347704657989632},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-06-23 18:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248149248001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:27:00] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-23 18:27:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321346365005234176,"km_value":321346365005234.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5146347704657989632,"description":"Unknown IO ID 44"} 
[2026-06-23 18:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248149248001,"power":27843,"unknown_3":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-5146347704657989632}} 
[2026-06-23 18:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":111877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:27:00] local.INFO: GPS data processed {"connection_id":111877,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:27:00] local.INFO: Acknowledgment sent {"connection_id":111877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:27:23] local.INFO: TCP Data received {"connection_id":111074,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:27:23] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:27:23] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:27:25] local.INFO: TCP Data received {"connection_id":112811,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48dc400012d195080071ff548003b008527..."} 
[2026-06-23 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48dc400012d195080071ff548003b008527..."} 
[2026-06-23 18:27:25] local.INFO: Processing buffer {"connection_id":112811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48dc400012d195080071ff548003b008527..."} 
[2026-06-23 18:27:25] local.INFO: Packet analysis {"connection_id":112811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:27:25] local.INFO: Extracted packet for processing {"connection_id":112811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119534920,"longitude_deg":75.6633728,"latitude_deg":11.953492,"altitude":59,"angle":133,"satellites":39,"speed":14,"hex_longitude":"2d195080","hex_latitude":"071ff548","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248163328001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867540740636672,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035965374464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782219392000,"timestamp_ms":1782219392000,"timestamp_seconds":1782219392,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48dc400"} 
[2026-06-23 18:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:27:25] 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-06-23 18: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 18:27:25] 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-06-23 18: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-06-23 18:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":112811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":112811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":112811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248163328001,"66":14211,"102":206,"83":41984,"24":14,"16":3867540740636672,"45":1823606035965374464},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248163328001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:27:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867540740636672,"km_value":3867540740636.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035965374464,"description":"Unknown IO ID 45"} 
[2026-06-23 18:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248163328001,"power":14211,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1823606035965374464}} 
[2026-06-23 18:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":112811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:27:25] local.INFO: GPS data processed {"connection_id":112811,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:27:25] local.INFO: Acknowledgment sent {"connection_id":112811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:27:28] local.INFO: TCP Data received {"connection_id":111074,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:27:28] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:27:28] local.INFO: IMEI packet received {"connection_id":111074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:27:30] local.INFO: TCP Data received {"connection_id":111074,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48d1c08012cb8df0007752518004500682e..."} 
[2026-06-23 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48d1c08012cb8df0007752518004500682e..."} 
[2026-06-23 18:27:30] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48d1c08012cb8df0007752518004500682e..."} 
[2026-06-23 18:27:30] local.INFO: Packet analysis {"connection_id":111074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:27:30] local.INFO: Extracted packet for processing {"connection_id":111074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":750313216,"raw_latitude":125117720,"longitude_deg":75.0313216,"latitude_deg":12.511772,"altitude":69,"angle":104,"satellites":46,"speed":45,"hex_longitude":"2cb8df00","hex_latitude":"07752518","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248151296001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321346820271767552,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5135651655543552000,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782219349000,"timestamp_ms":1782219349000,"timestamp_seconds":1782219349,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48d1c08"} 
[2026-06-23 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-06-23 18:27:30] 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-06-23 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:27:30] 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-06-23 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-06-23 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-06-23 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248151296001,"66":27908,"3":206,"27":54016,"24":45,"16":321346820271767552,"44":-5135651655543552000},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-06-23 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248151296001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:27:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-23 18:27:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321346820271767552,"km_value":321346820271767.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5135651655543552000,"description":"Unknown IO ID 44"} 
[2026-06-23 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248151296001,"power":27908,"unknown_3":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-5135651655543552000}} 
[2026-06-23 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":111074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:27:30] local.INFO: GPS data processed {"connection_id":111074,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:27:30] local.INFO: Acknowledgment sent {"connection_id":111074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:27:52] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:27:52] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:27:52] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:27:57] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:27:57] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:27:57] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:27:58] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48dc7e8012d1951c0071ff470003b007927..."} 
[2026-06-23 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48dc7e8012d1951c0071ff470003b007927..."} 
[2026-06-23 18:27:58] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48dc7e8012d1951c0071ff470003b007927..."} 
[2026-06-23 18:27:58] local.INFO: Packet analysis {"connection_id":111252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:27:58] local.INFO: Extracted packet for processing {"connection_id":111252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119534704,"longitude_deg":75.6634048,"latitude_deg":11.9534704,"altitude":59,"angle":121,"satellites":39,"speed":15,"hex_longitude":"2d1951c0","hex_latitude":"071ff470","is_valid_coordinates":true} 
[2026-06-23 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248164352001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867562215473152,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617174345728,"note":"Value kept but may cause issues"} 
[2026-06-23 18:27: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-06-23 18:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219393000,"timestamp_ms":1782219393000,"timestamp_seconds":1782219393,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48dc7e8"} 
[2026-06-23 18:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:27:58] 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-06-23 18:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 18:27:58] 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-06-23 18:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248164352001,"66":13928,"102":206,"83":41984,"24":15,"16":3867562215473152,"45":1824098617174345728},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248164352001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:27:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867562215473152,"km_value":3867562215473.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617174345728,"description":"Unknown IO ID 45"} 
[2026-06-23 18:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248164352001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824098617174345728}} 
[2026-06-23 18:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":111252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:27:58] local.INFO: GPS data processed {"connection_id":111252,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:27:58] local.INFO: Acknowledgment sent {"connection_id":111252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:28:01] local.INFO: TCP Data received {"connection_id":111074,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48d3f30012cb904c007751af00049006a2f..."} 
[2026-06-23 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48d3f30012cb904c007751af00049006a2f..."} 
[2026-06-23 18:28:01] local.INFO: Processing buffer {"connection_id":111074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48d3f30012cb904c007751af00049006a2f..."} 
[2026-06-23 18:28:01] local.INFO: Packet analysis {"connection_id":111074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:28:01] local.INFO: Extracted packet for processing {"connection_id":111074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":750322880,"raw_latitude":125115120,"longitude_deg":75.032288,"latitude_deg":12.511512,"altitude":73,"angle":106,"satellites":47,"speed":42,"hex_longitude":"2cb904c0","hex_latitude":"07751af0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248153344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321347292718170112,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5125377818894198784,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219358000,"timestamp_ms":1782219358000,"timestamp_seconds":1782219358,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48d3f30"} 
[2026-06-23 18:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:28:01] 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-06-23 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:28:01] 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-06-23 18: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-06-23 18:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248153344001,"66":27800,"3":206,"27":54016,"24":42,"16":321347292718170112,"44":-5125377818894198784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-06-23 18:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248153344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:28:01] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-23 18:28:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321347292718170112,"km_value":321347292718170.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5125377818894198784,"description":"Unknown IO ID 44"} 
[2026-06-23 18:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248153344001,"power":27800,"unknown_3":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5125377818894198784}} 
[2026-06-23 18:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":111074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:28:01] local.INFO: GPS data processed {"connection_id":111074,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:28:01] local.INFO: Acknowledgment sent {"connection_id":111074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:28:24] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:24] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:24] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:28:29] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:29] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:29] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:28:29] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48dd788012d195780071ff1f0003a006b26..."} 
[2026-06-23 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48dd788012d195780071ff1f0003a006b26..."} 
[2026-06-23 18:28:29] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48dd788012d195780071ff1f0003a006b26..."} 
[2026-06-23 18:28:29] local.INFO: Packet analysis {"connection_id":111252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:28:29] local.INFO: Extracted packet for processing {"connection_id":111252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48d"} 
[2026-06-23 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119534064,"longitude_deg":75.663552,"latitude_deg":11.9534064,"altitude":58,"angle":107,"satellites":38,"speed":15,"hex_longitude":"2d195780","hex_latitude":"071ff1f0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248164608001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867635229917184,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460895178752,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219397000,"timestamp_ms":1782219397000,"timestamp_seconds":1782219397,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48dd788"} 
[2026-06-23 18:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:28:29] 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-06-23 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 18:28:29] 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-06-23 18: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-06-23 18:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248164608001,"66":14265,"102":206,"83":41984,"24":15,"16":3867635229917184,"45":1824450460895178752},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248164608001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867635229917184,"km_value":3867635229917.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460895178752,"description":"Unknown IO ID 45"} 
[2026-06-23 18:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248164608001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1824450460895178752}} 
[2026-06-23 18:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":111252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:28:29] local.INFO: GPS data processed {"connection_id":111252,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:28:29] local.INFO: Acknowledgment sent {"connection_id":111252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:28:31] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:31] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:28:31] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:28:32] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48e9308012cbaa1800774e1580051005e2e..."} 
[2026-06-23 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48e9308012cbaa1800774e1580051005e2e..."} 
[2026-06-23 18:28:32] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48e9308012cbaa1800774e1580051005e2e..."} 
[2026-06-23 18:28:32] local.INFO: Packet analysis {"connection_id":111254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:28:32] local.INFO: Extracted packet for processing {"connection_id":111254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":750428544,"raw_latitude":125100376,"longitude_deg":75.0428544,"latitude_deg":12.5100376,"altitude":81,"angle":94,"satellites":46,"speed":56,"hex_longitude":"2cbaa180","hex_latitude":"0774e158","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248176128001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321352377959448576,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5009902709702897664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782219445000,"timestamp_ms":1782219445000,"timestamp_seconds":1782219445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48e9308"} 
[2026-06-23 18:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:28:32] 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-06-23 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 18:28:32] 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-06-23 18: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-06-23 18:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248176128001,"66":27647,"56":206,"27":54016,"24":56,"16":321352377959448576,"44":-5009902709702897664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-06-23 18:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248176128001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:28:32] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-23 18:28:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321352377959448576,"km_value":321352377959448.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5009902709702897664,"description":"Unknown IO ID 44"} 
[2026-06-23 18:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248176128001,"power":27647,"unknown_56":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-5009902709702897664}} 
[2026-06-23 18:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":111254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:28:33] local.INFO: GPS data processed {"connection_id":111254,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:28:33] local.INFO: Acknowledgment sent {"connection_id":111254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:28:34] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48eae60012cbac8000774de800052005e2d..."} 
[2026-06-23 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48eae60012cbac8000774de800052005e2d..."} 
[2026-06-23 18:28:34] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48eae60012cbac8000774de800052005e2d..."} 
[2026-06-23 18:28:34] local.INFO: Packet analysis {"connection_id":111254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:28:34] local.INFO: Extracted packet for processing {"connection_id":111254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":750438400,"raw_latitude":125099648,"longitude_deg":75.04384,"latitude_deg":12.5099648,"altitude":82,"angle":94,"satellites":45,"speed":53,"hex_longitude":"2cbac800","hex_latitude":"0774de80","is_valid_coordinates":true} 
[2026-06-23 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248177920001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321352841815916544,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4998573341890488320,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782219452000,"timestamp_ms":1782219452000,"timestamp_seconds":1782219452,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48eae60"} 
[2026-06-23 18:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:28: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-06-23 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 18:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248177920001,"66":27800,"56":206,"27":54016,"24":53,"16":321352841815916544,"44":-4998573341890488320},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-06-23 18:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248177920001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321352841815916544,"km_value":321352841815916.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4998573341890488320,"description":"Unknown IO ID 44"} 
[2026-06-23 18:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248177920001,"power":27800,"unknown_56":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4998573341890488320}} 
[2026-06-23 18:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":111254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:28:34] local.INFO: GPS data processed {"connection_id":111254,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:28:34] local.INFO: Acknowledgment sent {"connection_id":111254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:28:52] local.INFO: TCP Data received {"connection_id":111880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:28:52] local.INFO: Processing buffer {"connection_id":111880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:28:52] local.INFO: IMEI packet received {"connection_id":111880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":111880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:28:57] local.INFO: TCP Data received {"connection_id":111880,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:28:57] local.INFO: Processing buffer {"connection_id":111880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:28:57] local.INFO: IMEI packet received {"connection_id":111880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":111880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:28:58] local.INFO: TCP Data received {"connection_id":111880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48e2990012d196480071fedc00039006427..."} 
[2026-06-23 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48e2990012d196480071fedc00039006427..."} 
[2026-06-23 18:28:58] local.INFO: Processing buffer {"connection_id":111880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48e2990012d196480071fedc00039006427..."} 
[2026-06-23 18:28:58] local.INFO: Packet analysis {"connection_id":111880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:28:58] local.INFO: Extracted packet for processing {"connection_id":111880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532992,"longitude_deg":75.6638848,"latitude_deg":11.9532992,"altitude":57,"angle":100,"satellites":39,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-06-23 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248165632001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867807028609024,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942011101184,"note":"Value kept but may cause issues"} 
[2026-06-23 18:28: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-06-23 18:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219418000,"timestamp_ms":1782219418000,"timestamp_seconds":1782219418,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48e2990"} 
[2026-06-23 18:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:28:58] 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-06-23 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 18:28:58] 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-06-23 18:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248165632001,"66":14265,"102":206,"83":41984,"24":0,"16":3867807028609024,"45":1826068942011101184},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248165632001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:28:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867807028609024,"km_value":3867807028609.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942011101184,"description":"Unknown IO ID 45"} 
[2026-06-23 18:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248165632001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942011101184}} 
[2026-06-23 18:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":111880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:28:58] local.INFO: GPS data processed {"connection_id":111880,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:28:58] local.INFO: Acknowledgment sent {"connection_id":111880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:06] local.INFO: TCP Data received {"connection_id":111254,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48ec9b8012cbaed000774dc100053005c2f..."} 
[2026-06-23 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48ec9b8012cbaed000774dc100053005c2f..."} 
[2026-06-23 18:29:06] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48ec9b8012cbaed000774dc100053005c2f..."} 
[2026-06-23 18:29:06] local.INFO: Packet analysis {"connection_id":111254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:06] local.INFO: Extracted packet for processing {"connection_id":111254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":750447872,"raw_latitude":125099024,"longitude_deg":75.0447872,"latitude_deg":12.5099024,"altitude":83,"angle":92,"satellites":47,"speed":52,"hex_longitude":"2cbaed00","hex_latitude":"0774dc10","is_valid_coordinates":true} 
[2026-06-23 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248179712001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321353292787482624,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4987736555287314432,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782219459000,"timestamp_ms":1782219459000,"timestamp_seconds":1782219459,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48ec9b8"} 
[2026-06-23 18:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29: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-06-23 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:06] 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-06-23 18:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248179712001,"66":28050,"56":206,"27":54016,"24":52,"16":321353292787482624,"44":-4987736555287314432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-06-23 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248179712001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:06] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-23 18:29:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321353292787482624,"km_value":321353292787482.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4987736555287314432,"description":"Unknown IO ID 44"} 
[2026-06-23 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248179712001,"power":28050,"unknown_56":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4987736555287314432}} 
[2026-06-23 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":111254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:06] local.INFO: GPS data processed {"connection_id":111254,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:06] local.INFO: Acknowledgment sent {"connection_id":111254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:15] local.INFO: TCP Data received {"connection_id":111881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:29:15] local.INFO: Processing buffer {"connection_id":111881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:29:15] local.INFO: IMEI packet received {"connection_id":111881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":111881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:29:17] local.INFO: TCP Data received {"connection_id":111881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48feac8012d7e660005d303680005013527..."} 
[2026-06-23 18:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48feac8012d7e660005d303680005013527..."} 
[2026-06-23 18:29:17] local.INFO: Processing buffer {"connection_id":111881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48feac8012d7e660005d303680005013527..."} 
[2026-06-23 18:29:17] local.INFO: Packet analysis {"connection_id":111881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48f"} 
[2026-06-23 18:29:17] local.INFO: Extracted packet for processing {"connection_id":111881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48f"} 
[2026-06-23 18:29:17] local.INFO: GPS Element Parsed {"raw_longitude":763258368,"raw_latitude":97715048,"longitude_deg":76.3258368,"latitude_deg":9.7715048,"altitude":5,"angle":309,"satellites":39,"speed":6,"hex_longitude":"2d7e6600","hex_latitude":"05d30368","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248199680001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96533629110321152,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108459902627657728,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782219533000,"timestamp_ms":1782219533000,"timestamp_seconds":1782219533,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48feac8"} 
[2026-06-23 18:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29: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-06-23 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":111881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":111881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":111881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248199680001,"66":12613,"116":206,"85":15104,"24":6,"16":96533629110321152,"45":9108459902627657728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 18:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248199680001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:17] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 18:29:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96533629110321152,"km_value":96533629110321.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108459902627657728,"description":"Unknown IO ID 45"} 
[2026-06-23 18:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248199680001,"power":12613,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9108459902627657728}} 
[2026-06-23 18:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":111881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:17] local.INFO: GPS data processed {"connection_id":111881,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:17] local.INFO: Acknowledgment sent {"connection_id":111881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:23] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:29:23] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:29:23] local.INFO: IMEI packet received {"connection_id":111075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":111075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:29:28] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:29:28] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:29:28] local.INFO: IMEI packet received {"connection_id":111075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":111075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:29:29] local.INFO: TCP Data received {"connection_id":111880,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48e7b98012d196480071fedc00039006421..."} 
[2026-06-23 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48e7b98012d196480071fedc00039006421..."} 
[2026-06-23 18:29:29] local.INFO: Processing buffer {"connection_id":111880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48e7b98012d196480071fedc00039006421..."} 
[2026-06-23 18:29:29] local.INFO: Packet analysis {"connection_id":111880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:29] local.INFO: Extracted packet for processing {"connection_id":111880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119532992,"longitude_deg":75.6638848,"latitude_deg":11.9532992,"altitude":57,"angle":100,"satellites":33,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-06-23 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248171008001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867807028609024,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708065280,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219439000,"timestamp_ms":1782219439000,"timestamp_seconds":1782219439,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48e7b98"} 
[2026-06-23 18:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29:29] 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-06-23 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248171008001,"66":13091,"102":206,"83":41984,"24":0,"16":3867807028609024,"45":1829728116708065280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248171008001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867807028609024,"km_value":3867807028609.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708065280,"description":"Unknown IO ID 45"} 
[2026-06-23 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248171008001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708065280}} 
[2026-06-23 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":111880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:29] local.INFO: GPS data processed {"connection_id":111880,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:29] local.INFO: Acknowledgment sent {"connection_id":111880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:30] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48ee510012cbb12800774dbc0005300582e..."} 
[2026-06-23 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48ee510012cbb12800774dbc0005300582e..."} 
[2026-06-23 18:29:30] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48ee510012cbb12800774dbc0005300582e..."} 
[2026-06-23 18:29:30] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:30] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750457472,"raw_latitude":125098944,"longitude_deg":75.0457472,"latitude_deg":12.5098944,"altitude":83,"angle":88,"satellites":46,"speed":55,"hex_longitude":"2cbb1280","hex_latitude":"0774dbc0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248181504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321353748054016000,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4977321981149179904,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782219466000,"timestamp_ms":1782219466000,"timestamp_seconds":1782219466,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48ee510"} 
[2026-06-23 18:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29:30] 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-06-23 18: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:30] 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-06-23 18: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-06-23 18:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248181504001,"66":27397,"56":206,"27":54016,"24":55,"16":321353748054016000,"44":-4977321981149179904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-06-23 18:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248181504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:30] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-23 18:29:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321353748054016000,"km_value":321353748054016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4977321981149179904,"description":"Unknown IO ID 44"} 
[2026-06-23 18:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248181504001,"power":27397,"unknown_56":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4977321981149179904}} 
[2026-06-23 18:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:30] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:30] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:34] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48f0068012cbb3a800774de40005100552e..."} 
[2026-06-23 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48f0068012cbb3a800774de40005100552e..."} 
[2026-06-23 18:29:34] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48f0068012cbb3a800774de40005100552e..."} 
[2026-06-23 18:29:34] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48f"} 
[2026-06-23 18:29:34] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48f"} 
[2026-06-23 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":750467712,"raw_latitude":125099584,"longitude_deg":75.0467712,"latitude_deg":12.5099584,"altitude":81,"angle":85,"satellites":46,"speed":60,"hex_longitude":"2cbb3a80","hex_latitude":"0774de40","is_valid_coordinates":true} 
[2026-06-23 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248183296001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321354233385320448,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4966766669522550784,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782219473000,"timestamp_ms":1782219473000,"timestamp_seconds":1782219473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48f0068"} 
[2026-06-23 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29: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-06-23 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248183296001,"66":27767,"56":206,"27":54016,"24":60,"16":321354233385320448,"44":-4966766669522550784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-06-23 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248183296001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321354233385320448,"km_value":321354233385320.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4966766669522550784,"description":"Unknown IO ID 44"} 
[2026-06-23 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248183296001,"power":27767,"unknown_56":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-4966766669522550784}} 
[2026-06-23 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:34] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:34] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:51] local.INFO: TCP Data received {"connection_id":111881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48feeb0012d7e65c005d304080006015128..."} 
[2026-06-23 18:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48feeb0012d7e65c005d304080006015128..."} 
[2026-06-23 18:29:51] local.INFO: Processing buffer {"connection_id":111881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48feeb0012d7e65c005d304080006015128..."} 
[2026-06-23 18:29:51] local.INFO: Packet analysis {"connection_id":111881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48f"} 
[2026-06-23 18:29:51] local.INFO: Extracted packet for processing {"connection_id":111881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48f"} 
[2026-06-23 18:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763258304,"raw_latitude":97715208,"longitude_deg":76.3258304,"latitude_deg":9.7715208,"altitude":6,"angle":337,"satellites":40,"speed":7,"hex_longitude":"2d7e65c0","hex_latitude":"05d30408","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248200448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96533637700255744,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107967321418459136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782219534000,"timestamp_ms":1782219534000,"timestamp_seconds":1782219534,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48feeb0"} 
[2026-06-23 18:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29:51] 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-06-23 18:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248200448001,"66":12613,"116":206,"85":15104,"24":7,"16":96533637700255744,"45":9107967321418459136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 18:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248200448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 18:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96533637700255744,"km_value":96533637700255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107967321418459136,"description":"Unknown IO ID 45"} 
[2026-06-23 18:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248200448001,"power":12613,"unknown_116":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107967321418459136}} 
[2026-06-23 18:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":111881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:51] local.INFO: GPS data processed {"connection_id":111881,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:51] local.INFO: Acknowledgment sent {"connection_id":111881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:29:52] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:52] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:52] local.INFO: IMEI packet received {"connection_id":111255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":111255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:29:53] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:53] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:53] local.INFO: IMEI packet received {"connection_id":111255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":111255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:29:57] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:57] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:29:57] local.INFO: IMEI packet received {"connection_id":111255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":111255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:29:58] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48ebe00012d196740071fee200039005426..."} 
[2026-06-23 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48ebe00012d196740071fee200039005426..."} 
[2026-06-23 18:29:58] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48ebe00012d196740071fee200039005426..."} 
[2026-06-23 18:29:58] local.INFO: Packet analysis {"connection_id":111255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:58] local.INFO: Extracted packet for processing {"connection_id":111255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533088,"longitude_deg":75.6639552,"latitude_deg":11.9533088,"altitude":57,"angle":84,"satellites":38,"speed":4,"hex_longitude":"2d196740","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-06-23 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248176384001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867837093380096,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708065280,"note":"Value kept but may cause issues"} 
[2026-06-23 18:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219456000,"timestamp_ms":1782219456000,"timestamp_seconds":1782219456,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48ebe00"} 
[2026-06-23 18:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:29:58] 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-06-23 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 18:29:58] 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-06-23 18:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248176384001,"66":13091,"102":206,"83":41984,"24":4,"16":3867837093380096,"45":1829728116708065280},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248176384001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:29:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867837093380096,"km_value":3867837093380.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708065280,"description":"Unknown IO ID 45"} 
[2026-06-23 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248176384001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1829728116708065280}} 
[2026-06-23 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":111255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:29:58] local.INFO: GPS data processed {"connection_id":111255,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:29:58] local.INFO: Acknowledgment sent {"connection_id":111255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:30:05] local.INFO: TCP Data received {"connection_id":111075,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4903cd0012cbc69800774b408005600962e..."} 
[2026-06-23 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4903cd0012cbc69800774b408005600962e..."} 
[2026-06-23 18:30:05] local.INFO: Processing buffer {"connection_id":111075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4903cd0012cbc69800774b408005600962e..."} 
[2026-06-23 18:30:05] local.INFO: Packet analysis {"connection_id":111075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:30:05] local.INFO: Extracted packet for processing {"connection_id":111075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":750545280,"raw_latitude":125088776,"longitude_deg":75.054528,"latitude_deg":12.5088776,"altitude":86,"angle":150,"satellites":46,"speed":34,"hex_longitude":"2cbc6980","hex_latitude":"0774b408","is_valid_coordinates":true} 
[2026-06-23 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248205312001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321358030136410112,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871346652419878912,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782219554000,"timestamp_ms":1782219554000,"timestamp_seconds":1782219554,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4903cd0"} 
[2026-06-23 18:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:30: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-06-23 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 18:30:05] 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-06-23 18:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248205312001,"66":27691,"55":206,"27":54016,"24":34,"16":321358030136410112,"44":-4871346652419878912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-06-23 18:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248205312001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:30:05] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-06-23 18:30:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321358030136410112,"km_value":321358030136410.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871346652419878912,"description":"Unknown IO ID 44"} 
[2026-06-23 18:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248205312001,"power":27691,"unknown_55":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4871346652419878912}} 
[2026-06-23 18:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":111075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:30:05] local.INFO: GPS data processed {"connection_id":111075,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:30:05] local.INFO: Acknowledgment sent {"connection_id":111075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:30:12] local.INFO: TCP Data received {"connection_id":111076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:12] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:12] local.INFO: IMEI packet received {"connection_id":111076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":111076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:30:13] local.INFO: TCP Data received {"connection_id":111076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:13] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:13] local.INFO: IMEI packet received {"connection_id":111076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":111076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:15] local.INFO: TCP Data received {"connection_id":111076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:15] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:15] local.INFO: IMEI packet received {"connection_id":111076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":111076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:15] local.INFO: TCP Data received {"connection_id":111076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:15] local.INFO: Processing buffer {"connection_id":111076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:30:15] local.INFO: IMEI packet received {"connection_id":111076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":111076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:23] local.INFO: TCP Data received {"connection_id":111077,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:23] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:23] local.INFO: IMEI packet received {"connection_id":111077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":111077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:30:24] local.INFO: TCP Data received {"connection_id":111077,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:24] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:24] local.INFO: IMEI packet received {"connection_id":111077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":111077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:28] local.INFO: TCP Data received {"connection_id":111077,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:28] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:30:28] local.INFO: IMEI packet received {"connection_id":111077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":111077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:29] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef48ec1e8012d196780071fee480039003227..."} 
[2026-06-23 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef48ec1e8012d196780071fee480039003227..."} 
[2026-06-23 18:30:29] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef48ec1e8012d196780071fee480039003227..."} 
[2026-06-23 18:30:29] local.INFO: Packet analysis {"connection_id":111255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:30:29] local.INFO: Extracted packet for processing {"connection_id":111255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef48e"} 
[2026-06-23 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533128,"longitude_deg":75.6639616,"latitude_deg":11.9533128,"altitude":57,"angle":50,"satellites":39,"speed":4,"hex_longitude":"2d196780","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-06-23 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248180736001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867841388347392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894044160,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219457000,"timestamp_ms":1782219457000,"timestamp_seconds":1782219457,"priority":1,"record_length":96,"hex_timestamp":"0000019ef48ec1e8"} 
[2026-06-23 18:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:30:29] 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-06-23 18:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 18:30:29] 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-06-23 18:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248180736001,"66":12841,"102":206,"83":41984,"24":4,"16":3867841388347392,"45":1830502172894044160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248180736001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:30:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867841388347392,"km_value":3867841388347.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894044160,"description":"Unknown IO ID 45"} 
[2026-06-23 18:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248180736001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830502172894044160}} 
[2026-06-23 18:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":111255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:30:29] local.INFO: GPS data processed {"connection_id":111255,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:30:29] local.INFO: Acknowledgment sent {"connection_id":111255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:30:30] local.INFO: TCP Data received {"connection_id":111077,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49044a0012cbc6c400774adc8005600a12f..."} 
[2026-06-23 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49044a0012cbc6c400774adc8005600a12f..."} 
[2026-06-23 18:30:30] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49044a0012cbc6c400774adc8005600a12f..."} 
[2026-06-23 18:30:30] local.INFO: Packet analysis {"connection_id":111077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:30:30] local.INFO: Extracted packet for processing {"connection_id":111077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750545984,"raw_latitude":125087176,"longitude_deg":75.0545984,"latitude_deg":12.5087176,"altitude":86,"angle":161,"satellites":47,"speed":35,"hex_longitude":"2cbc6c40","hex_latitude":"0774adc8","is_valid_coordinates":true} 
[2026-06-23 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248205824001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321358111740788736,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4870220752513398784,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782219556000,"timestamp_ms":1782219556000,"timestamp_seconds":1782219556,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49044a0"} 
[2026-06-23 18:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:30:30] 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-06-23 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-23 18:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248205824001,"66":26930,"55":206,"27":54016,"24":35,"16":321358111740788736,"44":-4870220752513398784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-06-23 18:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248205824001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:30:30] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-06-23 18:30:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321358111740788736,"km_value":321358111740788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4870220752513398784,"description":"Unknown IO ID 44"} 
[2026-06-23 18:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248205824001,"power":26930,"unknown_55":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4870220752513398784}} 
[2026-06-23 18:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":111077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:30:30] local.INFO: GPS data processed {"connection_id":111077,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:30:30] local.INFO: Acknowledgment sent {"connection_id":111077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:30:40] local.INFO: TCP Data received {"connection_id":112814,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:30:40] local.INFO: Processing buffer {"connection_id":112814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:30:40] local.INFO: IMEI packet received {"connection_id":112814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":112814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:30:52] local.INFO: TCP Data received {"connection_id":112815,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:52] local.INFO: Processing buffer {"connection_id":112815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:52] local.INFO: IMEI packet received {"connection_id":112815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":112815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:30:56] local.INFO: TCP Data received {"connection_id":112815,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:56] local.INFO: Processing buffer {"connection_id":112815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:56] local.INFO: IMEI packet received {"connection_id":112815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":112815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:57] local.INFO: TCP Data received {"connection_id":112815,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:57] local.INFO: Processing buffer {"connection_id":112815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:30:57] local.INFO: IMEI packet received {"connection_id":112815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":112815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:30:57] local.INFO: TCP Data received {"connection_id":112815,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49092c0012d196580071ff2500038013128..."} 
[2026-06-23 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49092c0012d196580071ff2500038013128..."} 
[2026-06-23 18:30:57] local.INFO: Processing buffer {"connection_id":112815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49092c0012d196580071ff2500038013128..."} 
[2026-06-23 18:30:57] local.INFO: Packet analysis {"connection_id":112815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:30:57] local.INFO: Extracted packet for processing {"connection_id":112815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:30: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-06-23 18:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248206080001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782219576000,"timestamp_ms":1782219576000,"timestamp_seconds":1782219576,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49092c0"} 
[2026-06-23 18:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-23 18:30:57] 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-06-23 18:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248206080001,"66":12841,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248206080001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248206080001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":112815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:30:57] local.INFO: GPS data processed {"connection_id":112815,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:30:57] local.INFO: Acknowledgment sent {"connection_id":112815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:31:01] local.INFO: TCP Data received {"connection_id":111077,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49113a8012cbc1d0007740710004a008a2a..."} 
[2026-06-23 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49113a8012cbc1d0007740710004a008a2a..."} 
[2026-06-23 18:31:01] local.INFO: Processing buffer {"connection_id":111077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49113a8012cbc1d0007740710004a008a2a..."} 
[2026-06-23 18:31:01] local.INFO: Packet analysis {"connection_id":111077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:31:01] local.INFO: Extracted packet for processing {"connection_id":111077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:31:01] local.INFO: GPS Element Parsed {"raw_longitude":750525696,"raw_latitude":125044496,"longitude_deg":75.0525696,"latitude_deg":12.5044496,"altitude":74,"angle":138,"satellites":42,"speed":31,"hex_longitude":"2cbc1d00","hex_latitude":"07740710","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248219648001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321360589936918528,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892316538196355072,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219609000,"timestamp_ms":1782219609000,"timestamp_seconds":1782219609,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49113a8"} 
[2026-06-23 18:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:31:01] 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-06-23 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 18:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248219648001,"66":27213,"215":206,"27":54016,"24":31,"16":321360589936918528,"44":-4892316538196355072},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,27,24,16,44]} 
[2026-06-23 18:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248219648001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:31:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-23 18:31:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321360589936918528,"km_value":321360589936918.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892316538196355072,"description":"Unknown IO ID 44"} 
[2026-06-23 18:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248219648001,"power":27213,"unknown_215":206,"unknown_27":54016,"ignition":31,"odometer":null,"unknown_44":-4892316538196355072}} 
[2026-06-23 18:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":111077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:31:01] local.INFO: GPS data processed {"connection_id":111077,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:31:01] local.INFO: Acknowledgment sent {"connection_id":111077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:31:06] local.INFO: TCP Data received {"connection_id":112816,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:31:06] local.INFO: Processing buffer {"connection_id":112816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:31:06] local.INFO: IMEI packet received {"connection_id":112816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":112816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:31:21] local.INFO: TCP Data received {"connection_id":112818,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:21] local.INFO: Processing buffer {"connection_id":112818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:21] local.INFO: IMEI packet received {"connection_id":112818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":112818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:31:23] local.INFO: TCP Data received {"connection_id":112818,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:23] local.INFO: Processing buffer {"connection_id":112818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:23] local.INFO: IMEI packet received {"connection_id":112818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":112818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:31:24] local.INFO: TCP Data received {"connection_id":112818,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:24] local.INFO: Processing buffer {"connection_id":112818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:24] local.INFO: IMEI packet received {"connection_id":112818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":112818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:31:28] local.INFO: TCP Data received {"connection_id":112815,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef490e4c8012d196580071ff2500038013128..."} 
[2026-06-23 18:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef490e4c8012d196580071ff2500038013128..."} 
[2026-06-23 18:31:28] local.INFO: Processing buffer {"connection_id":112815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef490e4c8012d196580071ff2500038013128..."} 
[2026-06-23 18:31:28] local.INFO: Packet analysis {"connection_id":112815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:31:28] local.INFO: Extracted packet for processing {"connection_id":112815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248211456001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782219597000,"timestamp_ms":1782219597000,"timestamp_seconds":1782219597,"priority":1,"record_length":96,"hex_timestamp":"0000019ef490e4c8"} 
[2026-06-23 18:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 18:31:28] 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-06-23 18:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248211456001,"66":12841,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248211456001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248211456001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":112815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:31:28] local.INFO: GPS data processed {"connection_id":112815,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:31:28] local.INFO: Acknowledgment sent {"connection_id":112815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:31:29] local.INFO: TCP Data received {"connection_id":112818,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:29] local.INFO: Processing buffer {"connection_id":112818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:31:29] local.INFO: IMEI packet received {"connection_id":112818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":112818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:31:30] local.INFO: TCP Data received {"connection_id":112818,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4911b78012cbc21c007740348004a00792b..."} 
[2026-06-23 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4911b78012cbc21c007740348004a00792b..."} 
[2026-06-23 18:31:30] local.INFO: Processing buffer {"connection_id":112818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4911b78012cbc21c007740348004a00792b..."} 
[2026-06-23 18:31:30] local.INFO: Packet analysis {"connection_id":112818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:31:30] local.INFO: Extracted packet for processing {"connection_id":112818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:31:30] local.INFO: GPS Element Parsed {"raw_longitude":750526912,"raw_latitude":125043528,"longitude_deg":75.0526912,"latitude_deg":12.5043528,"altitude":74,"angle":121,"satellites":43,"speed":30,"hex_longitude":"2cbc21c0","hex_latitude":"07740348","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248219904001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321360667246329856,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891753588243099648,"note":"Value kept but may cause issues"} 
[2026-06-23 18:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782219611000,"timestamp_ms":1782219611000,"timestamp_seconds":1782219611,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4911b78"} 
[2026-06-23 18:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:31:30] 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-06-23 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 18:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248219904001,"66":27800,"215":206,"27":54016,"24":30,"16":321360667246329856,"44":-4891753588243099648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,27,24,16,44]} 
[2026-06-23 18:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248219904001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:31:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-23 18:31:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321360667246329856,"km_value":321360667246329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891753588243099648,"description":"Unknown IO ID 44"} 
[2026-06-23 18:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248219904001,"power":27800,"unknown_215":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4891753588243099648}} 
[2026-06-23 18:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":112818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:31:30] local.INFO: GPS data processed {"connection_id":112818,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:31:30] local.INFO: Acknowledgment sent {"connection_id":112818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:31:57] local.INFO: TCP Data received {"connection_id":111882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:31:57] local.INFO: Processing buffer {"connection_id":111882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:31:57] local.INFO: IMEI packet received {"connection_id":111882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":111882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:32:00] local.INFO: TCP Data received {"connection_id":111882,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:00] local.INFO: Processing buffer {"connection_id":111882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:00] local.INFO: IMEI packet received {"connection_id":111882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":111882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:32:01] local.INFO: TCP Data received {"connection_id":111882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49136d0012d196580071ff2500038013127..."} 
[2026-06-23 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49136d0012d196580071ff2500038013127..."} 
[2026-06-23 18:32:01] local.INFO: Processing buffer {"connection_id":111882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49136d0012d196580071ff2500038013127..."} 
[2026-06-23 18:32:01] local.INFO: Packet analysis {"connection_id":111882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:32:01] local.INFO: Extracted packet for processing {"connection_id":111882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248216832001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219618000,"timestamp_ms":1782219618000,"timestamp_seconds":1782219618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49136d0"} 
[2026-06-23 18:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 18:32:01] 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-06-23 18: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-06-23 18:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248216832001,"66":12841,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248216832001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248216832001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":111882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:32:01] local.INFO: GPS data processed {"connection_id":111882,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:32:01] local.INFO: Acknowledgment sent {"connection_id":111882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:32:01] local.INFO: TCP Data received {"connection_id":112818,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4920da8012cbc4a80077362e0003b00f62d..."} 
[2026-06-23 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4920da8012cbc4a80077362e0003b00f62d..."} 
[2026-06-23 18:32:01] local.INFO: Processing buffer {"connection_id":112818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4920da8012cbc4a80077362e0003b00f62d..."} 
[2026-06-23 18:32:01] local.INFO: Packet analysis {"connection_id":112818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:32:01] local.INFO: Extracted packet for processing {"connection_id":112818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":750537344,"raw_latitude":125002464,"longitude_deg":75.0537344,"latitude_deg":12.5002464,"altitude":59,"angle":246,"satellites":45,"speed":29,"hex_longitude":"2cbc4a80","hex_latitude":"077362e0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248235520001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321363403140497408,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4876553939511177216,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219673000,"timestamp_ms":1782219673000,"timestamp_seconds":1782219673,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4920da8"} 
[2026-06-23 18:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:32:01] 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-06-23 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:32:01] 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-06-23 18: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-06-23 18:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248235520001,"66":27919,"104":206,"27":54016,"24":29,"16":321363403140497408,"44":-4876553939511177216},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248235520001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321363403140497408,"km_value":321363403140497.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4876553939511177216,"description":"Unknown IO ID 44"} 
[2026-06-23 18:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248235520001,"power":27919,"unknown_104":206,"unknown_27":54016,"ignition":29,"odometer":null,"unknown_44":-4876553939511177216}} 
[2026-06-23 18:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":112818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:32:01] local.INFO: GPS data processed {"connection_id":112818,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:32:01] local.INFO: Acknowledgment sent {"connection_id":112818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:32:02] local.INFO: TCP Data received {"connection_id":111882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49188d8012d196580071ff2500038013128..."} 
[2026-06-23 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49188d8012d196580071ff2500038013128..."} 
[2026-06-23 18:32:02] local.INFO: Processing buffer {"connection_id":111882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49188d8012d196580071ff2500038013128..."} 
[2026-06-23 18:32:02] local.INFO: Packet analysis {"connection_id":111882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:32:02] local.INFO: Extracted packet for processing {"connection_id":111882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248222208001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782219639000,"timestamp_ms":1782219639000,"timestamp_seconds":1782219639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49188d8"} 
[2026-06-23 18:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:32:02] 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-06-23 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-23 18:32:02] 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-06-23 18: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-06-23 18:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248222208001,"66":12819,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248222208001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248222208001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":111882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:32:02] local.INFO: GPS data processed {"connection_id":111882,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:32:02] local.INFO: Acknowledgment sent {"connection_id":111882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:32:23] local.INFO: TCP Data received {"connection_id":112820,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:32:23] local.INFO: Processing buffer {"connection_id":112820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:32:23] local.INFO: IMEI packet received {"connection_id":112820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":112820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:32:28] local.INFO: TCP Data received {"connection_id":112820,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:32:28] local.INFO: Processing buffer {"connection_id":112820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:32:28] local.INFO: IMEI packet received {"connection_id":112820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":112820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:32:29] local.INFO: TCP Data received {"connection_id":112820,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4926b68012cbc1480077330e8002f010f2c..."} 
[2026-06-23 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4926b68012cbc1480077330e8002f010f2c..."} 
[2026-06-23 18:32:29] local.INFO: Processing buffer {"connection_id":112820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4926b68012cbc1480077330e8002f010f2c..."} 
[2026-06-23 18:32:29] local.INFO: Packet analysis {"connection_id":112820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:32:29] local.INFO: Extracted packet for processing {"connection_id":112820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":750523520,"raw_latitude":124989672,"longitude_deg":75.052352,"latitude_deg":12.4989672,"altitude":47,"angle":271,"satellites":44,"speed":26,"hex_longitude":"2cbc1480","hex_latitude":"077330e8","is_valid_coordinates":true} 
[2026-06-23 18:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248242176001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321364438227615744,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893372069373204480,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219697000,"timestamp_ms":1782219697000,"timestamp_seconds":1782219697,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4926b68"} 
[2026-06-23 18:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:32:29] 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-06-23 18:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:32:29] 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-06-23 18:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248242176001,"66":27745,"104":206,"27":54016,"24":26,"16":321364438227615744,"44":-4893372069373204480},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248242176001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:32:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:32:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321364438227615744,"km_value":321364438227615.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893372069373204480,"description":"Unknown IO ID 44"} 
[2026-06-23 18:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248242176001,"power":27745,"unknown_104":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-4893372069373204480}} 
[2026-06-23 18:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":112820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:32:29] local.INFO: GPS data processed {"connection_id":112820,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:32:29] local.INFO: Acknowledgment sent {"connection_id":112820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:32:33] local.INFO: TCP Data received {"connection_id":111882,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef491dae0012d196580071ff2500038013129..."} 
[2026-06-23 18:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef491dae0012d196580071ff2500038013129..."} 
[2026-06-23 18:32:33] local.INFO: Processing buffer {"connection_id":111882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef491dae0012d196580071ff2500038013129..."} 
[2026-06-23 18:32:33] local.INFO: Packet analysis {"connection_id":111882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:32:33] local.INFO: Extracted packet for processing {"connection_id":111882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef491"} 
[2026-06-23 18:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248227584001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32: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-06-23 18:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782219660000,"timestamp_ms":1782219660000,"timestamp_seconds":1782219660,"priority":1,"record_length":96,"hex_timestamp":"0000019ef491dae0"} 
[2026-06-23 18:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4103052456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503658647060480,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":244,"raw_value":-8121503051097217664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4065329208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950578,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587272546143827,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185115136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301990321409569063,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195061504,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84751892793991154,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.WARNING: Large IO value detected {"io_id":104,"raw_value":15763909315133440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,102,83,24,241,157,16,189,158,54,45,128,242,56,39,10,66,228,40,146,1,240,41,227,244,31,4,113,205,238,101,80,239,50,2,13,7,164,217,69,152,104],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-06-23 18:32:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035560788969127936,"timestamp_seconds":4035560788969128.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248227584001,"66":12798,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248227584001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248227584001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":111882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:32:33] local.INFO: GPS data processed {"connection_id":111882,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:32:33] local.INFO: Acknowledgment sent {"connection_id":111882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:32:52] local.INFO: TCP Data received {"connection_id":111256,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:52] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:52] local.INFO: IMEI packet received {"connection_id":111256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":111256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:32:57] local.INFO: TCP Data received {"connection_id":111256,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:57] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:32:57] local.INFO: IMEI packet received {"connection_id":111256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":111256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:32:58] local.INFO: TCP Data received {"connection_id":111256,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4922ce8012d196580071ff2500038013129..."} 
[2026-06-23 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4922ce8012d196580071ff2500038013129..."} 
[2026-06-23 18:32:58] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4922ce8012d196580071ff2500038013129..."} 
[2026-06-23 18:32:58] local.INFO: Packet analysis {"connection_id":111256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:32:58] local.INFO: Extracted packet for processing {"connection_id":111256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248232960001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:32: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-06-23 18:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219681000,"timestamp_ms":1782219681000,"timestamp_seconds":1782219681,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4922ce8"} 
[2026-06-23 18:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:32:58] 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-06-23 18:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 18:32:58] 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-06-23 18:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248232960001,"66":12722,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248232960001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:32:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248232960001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":111256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:32:58] local.INFO: GPS data processed {"connection_id":111256,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:32:58] local.INFO: Acknowledgment sent {"connection_id":111256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:33:00] local.INFO: TCP Data received {"connection_id":112820,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4926f50012cbc124007733178002e01212c..."} 
[2026-06-23 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4926f50012cbc124007733178002e01212c..."} 
[2026-06-23 18:33:00] local.INFO: Processing buffer {"connection_id":112820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4926f50012cbc124007733178002e01212c..."} 
[2026-06-23 18:33:00] local.INFO: Packet analysis {"connection_id":112820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:33:00] local.INFO: Extracted packet for processing {"connection_id":112820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":750522944,"raw_latitude":124989816,"longitude_deg":75.0522944,"latitude_deg":12.4989816,"altitude":46,"angle":289,"satellites":44,"speed":27,"hex_longitude":"2cbc1240","hex_latitude":"07733178","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248242432001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321364468292386816,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4894146125559175168,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782219698000,"timestamp_ms":1782219698000,"timestamp_seconds":1782219698,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4926f50"} 
[2026-06-23 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-06-23 18:33:00] 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-06-23 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248242432001,"66":27800,"104":206,"27":54016,"24":27,"16":321364468292386816,"44":-4894146125559175168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248242432001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:33:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:33:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321364468292386816,"km_value":321364468292386.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4894146125559175168,"description":"Unknown IO ID 44"} 
[2026-06-23 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248242432001,"power":27800,"unknown_104":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-4894146125559175168}} 
[2026-06-23 18:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":112820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:33:01] local.INFO: GPS data processed {"connection_id":112820,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:33:01] local.INFO: Acknowledgment sent {"connection_id":112820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:33:23] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:33:23] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:33:23] local.INFO: IMEI packet received {"connection_id":111257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":111257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:33:28] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:33:28] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:33:28] local.INFO: IMEI packet received {"connection_id":111257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":111257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:33:28] local.INFO: TCP Data received {"connection_id":111256,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4927ef0012d196580071ff250003801312b..."} 
[2026-06-23 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4927ef0012d196580071ff250003801312b..."} 
[2026-06-23 18:33:28] local.INFO: Processing buffer {"connection_id":111256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4927ef0012d196580071ff250003801312b..."} 
[2026-06-23 18:33:28] local.INFO: Packet analysis {"connection_id":111256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:33:28] local.INFO: Extracted packet for processing {"connection_id":111256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248238336001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782219702000,"timestamp_ms":1782219702000,"timestamp_seconds":1782219702,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4927ef0"} 
[2026-06-23 18:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":178,"data_length":795,"current_offset":136} 
[2026-06-23 18:33: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-06-23 18: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-06-23 18:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248238336001,"66":12743,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248238336001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248238336001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":111256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:33:29] local.INFO: GPS data processed {"connection_id":111256,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:33:29] local.INFO: Acknowledgment sent {"connection_id":111256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:33:29] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4932ad0012cbbd6c007731538001e00b72d..."} 
[2026-06-23 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4932ad0012cbbd6c007731538001e00b72d..."} 
[2026-06-23 18:33:29] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4932ad0012cbbd6c007731538001e00b72d..."} 
[2026-06-23 18:33:29] local.INFO: Packet analysis {"connection_id":111257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:33:29] local.INFO: Extracted packet for processing {"connection_id":111257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:33:29] local.INFO: GPS Element Parsed {"raw_longitude":750507712,"raw_latitude":124982584,"longitude_deg":75.0507712,"latitude_deg":12.4982584,"altitude":30,"angle":183,"satellites":45,"speed":22,"hex_longitude":"2cbbd6c0","hex_latitude":"07731538","is_valid_coordinates":true} 
[2026-06-23 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248253696001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321365743897673728,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4910823517930446848,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219746000,"timestamp_ms":1782219746000,"timestamp_seconds":1782219746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4932ad0"} 
[2026-06-23 18:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:33:29] 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-06-23 18:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 18:33:29] 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-06-23 18:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248253696001,"66":27463,"104":206,"27":54016,"24":22,"16":321365743897673728,"44":-4910823517930446848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248253696001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:33:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:33:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321365743897673728,"km_value":321365743897673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4910823517930446848,"description":"Unknown IO ID 44"} 
[2026-06-23 18:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248253696001,"power":27463,"unknown_104":206,"unknown_27":54016,"ignition":22,"odometer":null,"unknown_44":-4910823517930446848}} 
[2026-06-23 18:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":111257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:33:29] local.INFO: GPS data processed {"connection_id":111257,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:33:29] local.INFO: Acknowledgment sent {"connection_id":111257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:33:52] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:33:52] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:33:52] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:33:57] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:33:57] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:33:57] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:33:58] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef492d0f8012d196580071ff250003801312a..."} 
[2026-06-23 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef492d0f8012d196580071ff250003801312a..."} 
[2026-06-23 18:33:58] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef492d0f8012d196580071ff250003801312a..."} 
[2026-06-23 18:33:58] local.INFO: Packet analysis {"connection_id":111258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:33:58] local.INFO: Extracted packet for processing {"connection_id":111258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248243712001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:33: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-06-23 18:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219723000,"timestamp_ms":1782219723000,"timestamp_seconds":1782219723,"priority":1,"record_length":96,"hex_timestamp":"0000019ef492d0f8"} 
[2026-06-23 18:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:33:58] 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-06-23 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-23 18:33:58] 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-06-23 18: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-06-23 18:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248243712001,"66":12689,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248243712001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:33:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248243712001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":111258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:33:58] local.INFO: GPS data processed {"connection_id":111258,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:33:58] local.INFO: Acknowledgment sent {"connection_id":111258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:34:01] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef493de80012cbc92000772f628000f00722e..."} 
[2026-06-23 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef493de80012cbc92000772f628000f00722e..."} 
[2026-06-23 18:34:01] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef493de80012cbc92000772f628000f00722e..."} 
[2026-06-23 18:34:01] local.INFO: Packet analysis {"connection_id":111257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:01] local.INFO: Extracted packet for processing {"connection_id":111257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":750555648,"raw_latitude":124974632,"longitude_deg":75.0555648,"latitude_deg":12.4974632,"altitude":15,"angle":114,"satellites":46,"speed":44,"hex_longitude":"2cbc9200","hex_latitude":"0772f628","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248266752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321368179144130560,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4858821015985838080,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219792000,"timestamp_ms":1782219792000,"timestamp_seconds":1782219792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef493de80"} 
[2026-06-23 18:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:34:01] 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-06-23 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 18:34:01] 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-06-23 18: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-06-23 18:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248266752001,"66":27930,"104":206,"27":54016,"24":44,"16":321368179144130560,"44":-4858821015985838080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248266752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:34:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:34:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321368179144130560,"km_value":321368179144130.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4858821015985838080,"description":"Unknown IO ID 44"} 
[2026-06-23 18:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248266752001,"power":27930,"unknown_104":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4858821015985838080}} 
[2026-06-23 18:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":111257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:34:01] local.INFO: GPS data processed {"connection_id":111257,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:34:01] local.INFO: Acknowledgment sent {"connection_id":111257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:34:23] local.INFO: TCP Data received {"connection_id":112822,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:23] local.INFO: Processing buffer {"connection_id":112822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:23] local.INFO: IMEI packet received {"connection_id":112822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":112822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:34:26] local.INFO: TCP Data received {"connection_id":112822,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:26] local.INFO: Processing buffer {"connection_id":112822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:26] local.INFO: IMEI packet received {"connection_id":112822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":112822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:34:28] local.INFO: TCP Data received {"connection_id":112822,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:28] local.INFO: Processing buffer {"connection_id":112822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:34:28] local.INFO: IMEI packet received {"connection_id":112822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":112822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:34:29] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4932300012d196580071ff2500038013129..."} 
[2026-06-23 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4932300012d196580071ff2500038013129..."} 
[2026-06-23 18:34:29] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4932300012d196580071ff2500038013129..."} 
[2026-06-23 18:34:29] local.INFO: Packet analysis {"connection_id":111258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:29] local.INFO: Extracted packet for processing {"connection_id":111258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248249088001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219744000,"timestamp_ms":1782219744000,"timestamp_seconds":1782219744,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4932300"} 
[2026-06-23 18:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:34:29] 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-06-23 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 18:34: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-06-23 18: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-06-23 18:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248249088001,"66":12711,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248249088001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248249088001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":111258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:34:29] local.INFO: GPS data processed {"connection_id":111258,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:34:29] local.INFO: Acknowledgment sent {"connection_id":111258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:34:29] local.INFO: TCP Data received {"connection_id":112822,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef493e650012cbc98c00772f1d8000f00812e..."} 
[2026-06-23 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef493e650012cbc98c00772f1d8000f00812e..."} 
[2026-06-23 18:34:29] local.INFO: Processing buffer {"connection_id":112822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef493e650012cbc98c00772f1d8000f00812e..."} 
[2026-06-23 18:34:29] local.INFO: Packet analysis {"connection_id":112822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:29] local.INFO: Extracted packet for processing {"connection_id":112822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:29] local.INFO: GPS Element Parsed {"raw_longitude":750557376,"raw_latitude":124973528,"longitude_deg":75.0557376,"latitude_deg":12.4973528,"altitude":15,"angle":129,"satellites":46,"speed":37,"hex_longitude":"2cbc98c0","hex_latitude":"0772f1d8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248266752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321368277928378368,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4858821015985838080,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219794000,"timestamp_ms":1782219794000,"timestamp_seconds":1782219794,"priority":1,"record_length":96,"hex_timestamp":"0000019ef493e650"} 
[2026-06-23 18:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:34:29] 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-06-23 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 18:34:29] 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-06-23 18: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-06-23 18:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248266752001,"66":27376,"104":206,"27":54016,"24":37,"16":321368277928378368,"44":-4858821015985838080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248266752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321368277928378368,"km_value":321368277928378.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4858821015985838080,"description":"Unknown IO ID 44"} 
[2026-06-23 18:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248266752001,"power":27376,"unknown_104":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4858821015985838080}} 
[2026-06-23 18:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":112822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:34:29] local.INFO: GPS data processed {"connection_id":112822,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:34:29] local.INFO: Acknowledgment sent {"connection_id":112822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:34:34] local.INFO: TCP Data received {"connection_id":112822,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef493ee20012cbc9d400772ec88000f00972d..."} 
[2026-06-23 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef493ee20012cbc9d400772ec88000f00972d..."} 
[2026-06-23 18:34:34] local.INFO: Processing buffer {"connection_id":112822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef493ee20012cbc9d400772ec88000f00972d..."} 
[2026-06-23 18:34:34] local.INFO: Packet analysis {"connection_id":112822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:34] local.INFO: Extracted packet for processing {"connection_id":112822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":750558528,"raw_latitude":124972168,"longitude_deg":75.0558528,"latitude_deg":12.4972168,"altitude":15,"angle":151,"satellites":45,"speed":34,"hex_longitude":"2cbc9d40","hex_latitude":"0772ec88","is_valid_coordinates":true} 
[2026-06-23 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248267264001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321368363827724288,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4856921059893323776,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782219796000,"timestamp_ms":1782219796000,"timestamp_seconds":1782219796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef493ee20"} 
[2026-06-23 18:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:34: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-06-23 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 18:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248267264001,"66":27974,"104":206,"27":54016,"24":34,"16":321368363827724288,"44":-4856921059893323776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-06-23 18:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248267264001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:34:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-23 18:34:34] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321368363827724288,"km_value":321368363827724.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4856921059893323776,"description":"Unknown IO ID 44"} 
[2026-06-23 18:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248267264001,"power":27974,"unknown_104":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4856921059893323776}} 
[2026-06-23 18:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":112822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:34:34] local.INFO: GPS data processed {"connection_id":112822,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:34:34] local.INFO: Acknowledgment sent {"connection_id":112822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:34:52] local.INFO: TCP Data received {"connection_id":112823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:34:52] local.INFO: Processing buffer {"connection_id":112823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:34:52] local.INFO: IMEI packet received {"connection_id":112823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":112823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:34:57] local.INFO: TCP Data received {"connection_id":112823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:34:57] local.INFO: Processing buffer {"connection_id":112823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:34:57] local.INFO: IMEI packet received {"connection_id":112823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":112823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:34:58] local.INFO: TCP Data received {"connection_id":112823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4937508012d196580071ff250003801312a..."} 
[2026-06-23 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4937508012d196580071ff250003801312a..."} 
[2026-06-23 18:34:58] local.INFO: Processing buffer {"connection_id":112823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4937508012d196580071ff250003801312a..."} 
[2026-06-23 18:34:58] local.INFO: Packet analysis {"connection_id":112823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:58] local.INFO: Extracted packet for processing {"connection_id":112823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248254464001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219765000,"timestamp_ms":1782219765000,"timestamp_seconds":1782219765,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4937508"} 
[2026-06-23 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:34:58] 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-06-23 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-23 18:34:58] 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-06-23 18:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248254464001,"66":12711,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248254464001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:34:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248254464001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":112823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:34:58] local.INFO: GPS data processed {"connection_id":112823,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:34:58] local.INFO: Acknowledgment sent {"connection_id":112823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:35:05] local.INFO: TCP Data received {"connection_id":112822,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4941918012cbcad000772ca60000f009b2d..."} 
[2026-06-23 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4941918012cbcad000772ca60000f009b2d..."} 
[2026-06-23 18:35:05] local.INFO: Processing buffer {"connection_id":112822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4941918012cbcad000772ca60000f009b2d..."} 
[2026-06-23 18:35:05] local.INFO: Packet analysis {"connection_id":112822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:35:05] local.INFO: Extracted packet for processing {"connection_id":112822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":750562560,"raw_latitude":124963424,"longitude_deg":75.056256,"latitude_deg":12.4963424,"altitude":15,"angle":155,"satellites":45,"speed":34,"hex_longitude":"2cbcad00","hex_latitude":"0772ca60","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248267776001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321368831979159552,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4855654422498473984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782219807000,"timestamp_ms":1782219807000,"timestamp_seconds":1782219807,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4941918"} 
[2026-06-23 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:35: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-06-23 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 18:35:05] 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-06-23 18: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-06-23 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248267776001,"66":27843,"105":206,"27":54016,"24":34,"16":321368831979159552,"44":-4855654422498473984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248267776001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:35:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:35:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321368831979159552,"km_value":321368831979159.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4855654422498473984,"description":"Unknown IO ID 44"} 
[2026-06-23 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248267776001,"power":27843,"unknown_105":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4855654422498473984}} 
[2026-06-23 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":112822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:35:05] local.INFO: GPS data processed {"connection_id":112822,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:35:05] local.INFO: Acknowledgment sent {"connection_id":112822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:35:20] local.INFO: TCP Data received {"connection_id":112824,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:35:20] local.INFO: Processing buffer {"connection_id":112824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:35:20] local.INFO: IMEI packet received {"connection_id":112824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":112824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:35:21] local.INFO: TCP Data received {"connection_id":112824,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4921960012d7e364005d34df80003002427..."} 
[2026-06-23 18:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4921960012d7e364005d34df80003002427..."} 
[2026-06-23 18:35:21] local.INFO: Processing buffer {"connection_id":112824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4921960012d7e364005d34df80003002427..."} 
[2026-06-23 18:35:21] local.INFO: Packet analysis {"connection_id":112824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:35:21] local.INFO: Extracted packet for processing {"connection_id":112824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734136,"longitude_deg":76.3246144,"latitude_deg":9.7734136,"altitude":3,"angle":36,"satellites":39,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 18:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248231680001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285411840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:21] 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-06-23 18:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782219676000,"timestamp_ms":1782219676000,"timestamp_seconds":1782219676,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4921960"} 
[2026-06-23 18:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:35:21] 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-06-23 18:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-23 18:35:21] 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-06-23 18:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248231680001,"66":13048,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094526891285411840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248231680001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:35:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285411840,"description":"Unknown IO ID 45"} 
[2026-06-23 18:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248231680001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285411840}} 
[2026-06-23 18:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":112824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:35:21] local.INFO: GPS data processed {"connection_id":112824,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:35:21] local.INFO: Acknowledgment sent {"connection_id":112824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:35:23] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:23] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:23] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:35:23] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:23] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:23] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:35:28] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:28] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:35:28] local.INFO: IMEI packet received {"connection_id":111079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":111079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:35:29] local.INFO: TCP Data received {"connection_id":112823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef493c710012d196580071ff250003801312a..."} 
[2026-06-23 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef493c710012d196580071ff250003801312a..."} 
[2026-06-23 18:35:29] local.INFO: Processing buffer {"connection_id":112823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef493c710012d196580071ff250003801312a..."} 
[2026-06-23 18:35:29] local.INFO: Packet analysis {"connection_id":112823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:35:29] local.INFO: Extracted packet for processing {"connection_id":112823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef493"} 
[2026-06-23 18:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248259840001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219786000,"timestamp_ms":1782219786000,"timestamp_seconds":1782219786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef493c710"} 
[2026-06-23 18:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:35:29] 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-06-23 18: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":167,"data_length":795,"current_offset":136} 
[2026-06-23 18:35: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-06-23 18: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-06-23 18:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248259840001,"66":12711,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248259840001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:35:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248259840001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":112823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:35:29] local.INFO: GPS data processed {"connection_id":112823,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:35:29] local.INFO: Acknowledgment sent {"connection_id":112823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:35:30] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4950378012cbc6fc00771d6f8001100c32d..."} 
[2026-06-23 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4950378012cbc6fc00771d6f8001100c32d..."} 
[2026-06-23 18:35:30] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4950378012cbc6fc00771d6f8001100c32d..."} 
[2026-06-23 18:35:30] local.INFO: Packet analysis {"connection_id":111079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:35:30] local.INFO: Extracted packet for processing {"connection_id":111079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750546880,"raw_latitude":124901112,"longitude_deg":75.054688,"latitude_deg":12.4901112,"altitude":17,"angle":195,"satellites":45,"speed":47,"hex_longitude":"2cbc6fc0","hex_latitude":"0771d6f8","is_valid_coordinates":true} 
[2026-06-23 18:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248285440001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321372199233519616,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4867406002793764864,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782219867000,"timestamp_ms":1782219867000,"timestamp_seconds":1782219867,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4950378"} 
[2026-06-23 18:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:35:30] 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-06-23 18:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 18:35:30] 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-06-23 18:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248285440001,"66":27865,"105":206,"27":54016,"24":47,"16":321372199233519616,"44":-4867406002793764864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248285440001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:35:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321372199233519616,"km_value":321372199233519.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4867406002793764864,"description":"Unknown IO ID 44"} 
[2026-06-23 18:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248285440001,"power":27865,"unknown_105":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4867406002793764864}} 
[2026-06-23 18:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":111079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:35:30] local.INFO: GPS data processed {"connection_id":111079,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:35:30] local.INFO: Acknowledgment sent {"connection_id":111079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:35:50] local.INFO: TCP Data received {"connection_id":111080,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:50] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:50] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:35:52] local.INFO: TCP Data received {"connection_id":112824,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4926b68012d7e364005d34df80003002428..."} 
[2026-06-23 18:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4926b68012d7e364005d34df80003002428..."} 
[2026-06-23 18:35:52] local.INFO: Processing buffer {"connection_id":112824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4926b68012d7e364005d34df80003002428..."} 
[2026-06-23 18:35:52] local.INFO: Packet analysis {"connection_id":112824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:35:52] local.INFO: Extracted packet for processing {"connection_id":112824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:35:52] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734136,"longitude_deg":76.3246144,"latitude_deg":9.7734136,"altitude":3,"angle":36,"satellites":40,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 18:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248237056001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285411840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:52] 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-06-23 18:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782219697000,"timestamp_ms":1782219697000,"timestamp_seconds":1782219697,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4926b68"} 
[2026-06-23 18:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:35:52] 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-06-23 18:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-23 18:35:52] 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-06-23 18:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248237056001,"66":12928,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094526891285411840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248237056001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:35:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285411840,"description":"Unknown IO ID 45"} 
[2026-06-23 18:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248237056001,"power":12928,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285411840}} 
[2026-06-23 18:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":112824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:35:52] local.INFO: GPS data processed {"connection_id":112824,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:35:52] local.INFO: Acknowledgment sent {"connection_id":112824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:35:52] local.INFO: TCP Data received {"connection_id":111080,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:52] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:52] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:35:57] local.INFO: TCP Data received {"connection_id":111080,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:57] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:35:57] local.INFO: IMEI packet received {"connection_id":111080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":111080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:35:58] local.INFO: TCP Data received {"connection_id":111080,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4941918012d196580071ff250003801312c..."} 
[2026-06-23 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4941918012d196580071ff250003801312c..."} 
[2026-06-23 18:35:58] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4941918012d196580071ff250003801312c..."} 
[2026-06-23 18:35:58] local.INFO: Packet analysis {"connection_id":111080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:35:58] local.INFO: Extracted packet for processing {"connection_id":111080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248265216001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:35: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-06-23 18:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219807000,"timestamp_ms":1782219807000,"timestamp_seconds":1782219807,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4941918"} 
[2026-06-23 18:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:35:58] 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-06-23 18:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-23 18:35:58] 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-06-23 18:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248265216001,"66":12689,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248265216001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:35:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248265216001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":111080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:35:58] local.INFO: GPS data processed {"connection_id":111080,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:35:58] local.INFO: Acknowledgment sent {"connection_id":111080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:01] local.INFO: TCP Data received {"connection_id":111079,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4950b48012cbc6e800771cdc8001200b32b..."} 
[2026-06-23 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4950b48012cbc6e800771cdc8001200b32b..."} 
[2026-06-23 18:36:01] local.INFO: Processing buffer {"connection_id":111079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4950b48012cbc6e800771cdc8001200b32b..."} 
[2026-06-23 18:36:01] local.INFO: Packet analysis {"connection_id":111079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:36:01] local.INFO: Extracted packet for processing {"connection_id":111079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:36:01] local.INFO: GPS Element Parsed {"raw_longitude":750546560,"raw_latitude":124898760,"longitude_deg":75.054656,"latitude_deg":12.489876,"altitude":18,"angle":179,"satellites":43,"speed":46,"hex_longitude":"2cbc6e80","hex_latitude":"0771cdc8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248285952001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321372310902669312,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868461533956999168,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782219869000,"timestamp_ms":1782219869000,"timestamp_seconds":1782219869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4950b48"} 
[2026-06-23 18:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:01] 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-06-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:36:01] 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-06-23 18: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-06-23 18:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248285952001,"66":27800,"105":206,"27":54016,"24":46,"16":321372310902669312,"44":-4868461533956999168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248285952001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:36:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321372310902669312,"km_value":321372310902669.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868461533956999168,"description":"Unknown IO ID 44"} 
[2026-06-23 18:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248285952001,"power":27800,"unknown_105":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-4868461533956999168}} 
[2026-06-23 18:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":111079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:01] local.INFO: GPS data processed {"connection_id":111079,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:01] local.INFO: Acknowledgment sent {"connection_id":111079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:10] local.INFO: TCP Data received {"connection_id":112826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:36:10] local.INFO: Processing buffer {"connection_id":112826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:36:10] local.INFO: IMEI packet received {"connection_id":112826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":112826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:36:15] local.INFO: TCP Data received {"connection_id":112826,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:36:15] local.INFO: Processing buffer {"connection_id":112826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:36:15] local.INFO: IMEI packet received {"connection_id":112826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":112826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:36:16] local.INFO: TCP Data received {"connection_id":112826,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef492bd70012d7e364005d34df80003002428..."} 
[2026-06-23 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef492bd70012d7e364005d34df80003002428..."} 
[2026-06-23 18:36:16] local.INFO: Processing buffer {"connection_id":112826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef492bd70012d7e364005d34df80003002428..."} 
[2026-06-23 18:36:16] local.INFO: Packet analysis {"connection_id":112826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:36:16] local.INFO: Extracted packet for processing {"connection_id":112826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734136,"longitude_deg":76.3246144,"latitude_deg":9.7734136,"altitude":3,"angle":36,"satellites":40,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248242432001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285411840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:16] 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-06-23 18:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782219718000,"timestamp_ms":1782219718000,"timestamp_seconds":1782219718,"priority":1,"record_length":96,"hex_timestamp":"0000019ef492bd70"} 
[2026-06-23 18:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:16] 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-06-23 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-23 18:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248242432001,"66":13102,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094526891285411840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248242432001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285411840,"description":"Unknown IO ID 45"} 
[2026-06-23 18:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248242432001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285411840}} 
[2026-06-23 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":112826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:16] local.INFO: GPS data processed {"connection_id":112826,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:16] local.INFO: Acknowledgment sent {"connection_id":112826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:25] local.INFO: TCP Data received {"connection_id":111081,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:25] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:25] local.INFO: IMEI packet received {"connection_id":111081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":111081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:36:29] local.INFO: TCP Data received {"connection_id":111080,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4946b20012d196580071ff250003801312b..."} 
[2026-06-23 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4946b20012d196580071ff250003801312b..."} 
[2026-06-23 18:36:29] local.INFO: Processing buffer {"connection_id":111080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4946b20012d196580071ff250003801312b..."} 
[2026-06-23 18:36:29] local.INFO: Packet analysis {"connection_id":111080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:36:29] local.INFO: Extracted packet for processing {"connection_id":111080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248270592001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219828000,"timestamp_ms":1782219828000,"timestamp_seconds":1782219828,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4946b20"} 
[2026-06-23 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:29] 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-06-23 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-23 18:36: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-06-23 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248270592001,"66":12613,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248270592001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248270592001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":111080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:29] local.INFO: GPS data processed {"connection_id":111080,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:29] local.INFO: Acknowledgment sent {"connection_id":111080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:29] local.INFO: TCP Data received {"connection_id":111081,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:29] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:29] local.INFO: IMEI packet received {"connection_id":111081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:36:31] local.INFO: TCP Data received {"connection_id":112825,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:36:31] local.INFO: Processing buffer {"connection_id":112825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:36:31] local.INFO: IMEI packet received {"connection_id":112825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":112825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:36:33] local.INFO: TCP Data received {"connection_id":111081,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:33] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:36:33] local.INFO: IMEI packet received {"connection_id":111081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":111081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:36:35] local.INFO: TCP Data received {"connection_id":111081,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4951700012cbc70800771c0c0001300a32b..."} 
[2026-06-23 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4951700012cbc70800771c0c0001300a32b..."} 
[2026-06-23 18:36:35] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4951700012cbc70800771c0c0001300a32b..."} 
[2026-06-23 18:36:35] local.INFO: Packet analysis {"connection_id":111081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:36:35] local.INFO: Extracted packet for processing {"connection_id":111081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:36:35] local.INFO: GPS Element Parsed {"raw_longitude":750547072,"raw_latitude":124895424,"longitude_deg":75.0547072,"latitude_deg":12.4895424,"altitude":19,"angle":163,"satellites":43,"speed":43,"hex_longitude":"2cbc7080","hex_latitude":"0771c0c0","is_valid_coordinates":true} 
[2026-06-23 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248286464001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321372478406393856,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868813377678489600,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782219872000,"timestamp_ms":1782219872000,"timestamp_seconds":1782219872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4951700"} 
[2026-06-23 18:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:35] 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-06-23 18:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248286464001,"66":27800,"105":206,"27":54016,"24":43,"16":321372478406393856,"44":-4868813377678489600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248286464001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:36:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321372478406393856,"km_value":321372478406393.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868813377678489600,"description":"Unknown IO ID 44"} 
[2026-06-23 18:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248286464001,"power":27800,"unknown_105":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4868813377678489600}} 
[2026-06-23 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":111081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:35] local.INFO: GPS data processed {"connection_id":111081,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:35] local.INFO: Acknowledgment sent {"connection_id":111081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:37] local.INFO: TCP Data received {"connection_id":111081,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4951ed0012cbc74400771b938001400932b..."} 
[2026-06-23 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4951ed0012cbc74400771b938001400932b..."} 
[2026-06-23 18:36:37] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4951ed0012cbc74400771b938001400932b..."} 
[2026-06-23 18:36:37] local.INFO: Packet analysis {"connection_id":111081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:36:37] local.INFO: Extracted packet for processing {"connection_id":111081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":750548032,"raw_latitude":124893496,"longitude_deg":75.0548032,"latitude_deg":12.4893496,"altitude":20,"angle":147,"satellites":43,"speed":40,"hex_longitude":"2cbc7440","hex_latitude":"0771b938","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248287232001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321372581485608960,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868250427725922304,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782219874000,"timestamp_ms":1782219874000,"timestamp_seconds":1782219874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4951ed0"} 
[2026-06-23 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:37] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:36:37] 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-06-23 18: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-06-23 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248287232001,"66":27876,"105":206,"27":54016,"24":40,"16":321372581485608960,"44":-4868250427725922304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248287232001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321372581485608960,"km_value":321372581485608.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868250427725922304,"description":"Unknown IO ID 44"} 
[2026-06-23 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248287232001,"power":27876,"unknown_105":206,"unknown_27":54016,"ignition":40,"odometer":null,"unknown_44":-4868250427725922304}} 
[2026-06-23 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":111081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:37] local.INFO: GPS data processed {"connection_id":111081,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:37] local.INFO: Acknowledgment sent {"connection_id":111081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:47] local.INFO: TCP Data received {"connection_id":112826,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef492f038012d7e364005d34df80003002428..."} 
[2026-06-23 18:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef492f038012d7e364005d34df80003002428..."} 
[2026-06-23 18:36:47] local.INFO: Processing buffer {"connection_id":112826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef492f038012d7e364005d34df80003002428..."} 
[2026-06-23 18:36:47] local.INFO: Packet analysis {"connection_id":112826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:36:47] local.INFO: Extracted packet for processing {"connection_id":112826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734136,"longitude_deg":76.3246144,"latitude_deg":9.7734136,"altitude":3,"angle":36,"satellites":40,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 18:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248247808001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285411840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36: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-06-23 18:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782219731000,"timestamp_ms":1782219731000,"timestamp_seconds":1782219731,"priority":1,"record_length":96,"hex_timestamp":"0000019ef492f038"} 
[2026-06-23 18:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 18:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248247808001,"66":12982,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094526891285411840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248247808001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285411840,"description":"Unknown IO ID 45"} 
[2026-06-23 18:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248247808001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285411840}} 
[2026-06-23 18:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":112826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:47] local.INFO: GPS data processed {"connection_id":112826,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:47] local.INFO: Acknowledgment sent {"connection_id":112826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:36:52] local.INFO: TCP Data received {"connection_id":111887,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:52] local.INFO: Processing buffer {"connection_id":111887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:52] local.INFO: IMEI packet received {"connection_id":111887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":111887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:36:53] local.INFO: TCP Data received {"connection_id":111887,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:53] local.INFO: Processing buffer {"connection_id":111887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:53] local.INFO: IMEI packet received {"connection_id":111887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":111887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:36:57] local.INFO: TCP Data received {"connection_id":111887,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:57] local.INFO: Processing buffer {"connection_id":111887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:36:57] local.INFO: IMEI packet received {"connection_id":111887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":111887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:36:58] local.INFO: TCP Data received {"connection_id":111887,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef494bd28012d196580071ff250003801312b..."} 
[2026-06-23 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef494bd28012d196580071ff250003801312b..."} 
[2026-06-23 18:36:58] local.INFO: Processing buffer {"connection_id":111887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef494bd28012d196580071ff250003801312b..."} 
[2026-06-23 18:36:58] local.INFO: Packet analysis {"connection_id":111887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:36:58] local.INFO: Extracted packet for processing {"connection_id":111887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef494"} 
[2026-06-23 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248275968001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:36: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-06-23 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219849000,"timestamp_ms":1782219849000,"timestamp_seconds":1782219849,"priority":1,"record_length":96,"hex_timestamp":"0000019ef494bd28"} 
[2026-06-23 18:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:36:58] 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-06-23 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-23 18: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-06-23 18:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248275968001,"66":12645,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248275968001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:36:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248275968001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":111887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:36:58] local.INFO: GPS data processed {"connection_id":111887,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:36:58] local.INFO: Acknowledgment sent {"connection_id":111887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:08] local.INFO: TCP Data received {"connection_id":111081,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49699b8012cbd0e0007717dc0003100982b..."} 
[2026-06-23 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49699b8012cbd0e0007717dc0003100982b..."} 
[2026-06-23 18:37:08] local.INFO: Processing buffer {"connection_id":111081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49699b8012cbd0e0007717dc0003100982b..."} 
[2026-06-23 18:37:08] local.INFO: Packet analysis {"connection_id":111081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:37:08] local.INFO: Extracted packet for processing {"connection_id":111081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":750587392,"raw_latitude":124878272,"longitude_deg":75.0587392,"latitude_deg":12.4878272,"altitude":49,"angle":152,"satellites":43,"speed":15,"hex_longitude":"2cbd0e00","hex_latitude":"07717dc0","is_valid_coordinates":true} 
[2026-06-23 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248310528001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321374720379322368,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825958812478865408,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782219971000,"timestamp_ms":1782219971000,"timestamp_seconds":1782219971,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49699b8"} 
[2026-06-23 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37: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-06-23 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248310528001,"66":27843,"105":206,"27":54016,"24":15,"16":321374720379322368,"44":-4825958812478865408},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248310528001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321374720379322368,"km_value":321374720379322.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825958812478865408,"description":"Unknown IO ID 44"} 
[2026-06-23 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248310528001,"power":27843,"unknown_105":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4825958812478865408}} 
[2026-06-23 18:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":111081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:08] local.INFO: GPS data processed {"connection_id":111081,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:08] local.INFO: Acknowledgment sent {"connection_id":111081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:10] local.INFO: TCP Data received {"connection_id":111888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:37:10] local.INFO: Processing buffer {"connection_id":111888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:37:10] local.INFO: IMEI packet received {"connection_id":111888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":111888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:37:11] local.INFO: TCP Data received {"connection_id":111259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:37:11] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:37:11] local.INFO: IMEI packet received {"connection_id":111259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":111259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:37:15] local.INFO: TCP Data received {"connection_id":111888,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:37:15] local.INFO: Processing buffer {"connection_id":111888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:37:15] local.INFO: IMEI packet received {"connection_id":111888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":111888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:37:16] local.INFO: TCP Data received {"connection_id":111888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef492f038012d7e364005d34df80003002428..."} 
[2026-06-23 18:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef492f038012d7e364005d34df80003002428..."} 
[2026-06-23 18:37:16] local.INFO: Processing buffer {"connection_id":111888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef492f038012d7e364005d34df80003002428..."} 
[2026-06-23 18:37:16] local.INFO: Packet analysis {"connection_id":111888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:37:16] local.INFO: Extracted packet for processing {"connection_id":111888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef492"} 
[2026-06-23 18:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734136,"longitude_deg":76.3246144,"latitude_deg":9.7734136,"altitude":3,"angle":36,"satellites":40,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-06-23 18:37:16] 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-06-23 18:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248251136001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285411840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:16] 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-06-23 18:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782219731000,"timestamp_ms":1782219731000,"timestamp_seconds":1782219731,"priority":1,"record_length":96,"hex_timestamp":"0000019ef492f038"} 
[2026-06-23 18:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37:16] 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-06-23 18:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 18:37:16] 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-06-23 18: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-06-23 18:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248251136001,"66":12982,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094526891285411840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248251136001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285411840,"description":"Unknown IO ID 45"} 
[2026-06-23 18:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248251136001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285411840}} 
[2026-06-23 18:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":111888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:16] local.INFO: GPS data processed {"connection_id":111888,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:16] local.INFO: Acknowledgment sent {"connection_id":111888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:20] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:20] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:20] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:37:23] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:23] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:23] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:37:24] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:24] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:24] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:37:27] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:27] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:37:27] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:37:28] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef496b510012cbd124007717428003300a42d..."} 
[2026-06-23 18:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef496b510012cbd124007717428003300a42d..."} 
[2026-06-23 18:37:28] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef496b510012cbd124007717428003300a42d..."} 
[2026-06-23 18:37:28] local.INFO: Packet analysis {"connection_id":111260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:37:28] local.INFO: Extracted packet for processing {"connection_id":111260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:37:28] local.INFO: GPS Element Parsed {"raw_longitude":750588480,"raw_latitude":124875816,"longitude_deg":75.058848,"latitude_deg":12.4875816,"altitude":51,"angle":164,"satellites":45,"speed":15,"hex_longitude":"2cbd1240","hex_latitude":"07717428","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248312576001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321374849228341248,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4823918118898384896,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782219978000,"timestamp_ms":1782219978000,"timestamp_seconds":1782219978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef496b510"} 
[2026-06-23 18:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37:28] 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-06-23 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248312576001,"66":27843,"105":206,"27":54016,"24":15,"16":321374849228341248,"44":-4823918118898384896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-06-23 18:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248312576001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-06-23 18:37:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321374849228341248,"km_value":321374849228341.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4823918118898384896,"description":"Unknown IO ID 44"} 
[2026-06-23 18:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248312576001,"power":27843,"unknown_105":206,"unknown_27":54016,"ignition":15,"odometer":null,"unknown_44":-4823918118898384896}} 
[2026-06-23 18:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":111260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:28] local.INFO: GPS data processed {"connection_id":111260,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:28] local.INFO: Acknowledgment sent {"connection_id":111260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:29] local.INFO: TCP Data received {"connection_id":111887,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4950f30012d196580071ff250003801312e..."} 
[2026-06-23 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4950f30012d196580071ff250003801312e..."} 
[2026-06-23 18:37:29] local.INFO: Processing buffer {"connection_id":111887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4950f30012d196580071ff250003801312e..."} 
[2026-06-23 18:37:29] local.INFO: Packet analysis {"connection_id":111887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:37:29] local.INFO: Extracted packet for processing {"connection_id":111887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":46,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248281344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219870000,"timestamp_ms":1782219870000,"timestamp_seconds":1782219870,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4950f30"} 
[2026-06-23 18:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37:29] 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-06-23 18:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 18:37: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-06-23 18:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248281344001,"66":12645,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248281344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248281344001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":111887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:29] local.INFO: GPS data processed {"connection_id":111887,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:29] local.INFO: Acknowledgment sent {"connection_id":111887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:47] local.INFO: TCP Data received {"connection_id":111888,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49526a0012d7e380005d34de8000300242a..."} 
[2026-06-23 18:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49526a0012d7e380005d34de8000300242a..."} 
[2026-06-23 18:37:47] local.INFO: Processing buffer {"connection_id":111888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49526a0012d7e380005d34de8000300242a..."} 
[2026-06-23 18:37:47] local.INFO: Packet analysis {"connection_id":111888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:37:47] local.INFO: Extracted packet for processing {"connection_id":111888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:37:47] 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-06-23 18:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248251136001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285411840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37: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-06-23 18:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782219876000,"timestamp_ms":1782219876000,"timestamp_seconds":1782219876,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49526a0"} 
[2026-06-23 18:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37:47] 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-06-23 18:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-23 18:37:47] 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-06-23 18:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248251136001,"66":12961,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094526891285411840},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248251136001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285411840,"description":"Unknown IO ID 45"} 
[2026-06-23 18:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248251136001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285411840}} 
[2026-06-23 18:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":111888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:47] local.INFO: GPS data processed {"connection_id":111888,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:47] local.INFO: Acknowledgment sent {"connection_id":111888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:52] local.INFO: TCP Data received {"connection_id":111889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:37:52] local.INFO: Processing buffer {"connection_id":111889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:37:52] local.INFO: IMEI packet received {"connection_id":111889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":111889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:37:56] local.INFO: TCP Data received {"connection_id":111889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:37:56] local.INFO: Processing buffer {"connection_id":111889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:37:56] local.INFO: IMEI packet received {"connection_id":111889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":111889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:37:57] local.INFO: TCP Data received {"connection_id":111889,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4956138012d196580071ff250003801312c..."} 
[2026-06-23 18:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4956138012d196580071ff250003801312c..."} 
[2026-06-23 18:37:57] local.INFO: Processing buffer {"connection_id":111889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4956138012d196580071ff250003801312c..."} 
[2026-06-23 18:37:57] local.INFO: Packet analysis {"connection_id":111889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:37:57] local.INFO: Extracted packet for processing {"connection_id":111889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248286720001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782219891000,"timestamp_ms":1782219891000,"timestamp_seconds":1782219891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4956138"} 
[2026-06-23 18:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-23 18:37: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-06-23 18: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-06-23 18:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248286720001,"66":12558,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248286720001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248286720001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":111889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:57] local.INFO: GPS data processed {"connection_id":111889,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:57] local.INFO: Acknowledgment sent {"connection_id":111889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:37:59] local.INFO: TCP Data received {"connection_id":111260,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49797a0012cbcd5c007714938004200e92a..."} 
[2026-06-23 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49797a0012cbcd5c007714938004200e92a..."} 
[2026-06-23 18:37:59] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49797a0012cbcd5c007714938004200e92a..."} 
[2026-06-23 18:37:59] local.INFO: Packet analysis {"connection_id":111260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:37:59] local.INFO: Extracted packet for processing {"connection_id":111260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:37:59] local.INFO: GPS Element Parsed {"raw_longitude":750572992,"raw_latitude":124864824,"longitude_deg":75.0572992,"latitude_deg":12.4864824,"altitude":66,"angle":233,"satellites":42,"speed":23,"hex_longitude":"2cbcd5c0","hex_latitude":"07714938","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321376120538660864,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4838202973969672192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782220036000,"timestamp_ms":1782220036000,"timestamp_seconds":1782220036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49797a0"} 
[2026-06-23 18:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:37:59] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":27908,"194":206,"27":54016,"24":23,"16":321376120538660864,"44":-4838202973969672192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 18:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321376120538660864,"km_value":321376120538660.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:37:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4838202973969672192,"description":"Unknown IO ID 44"} 
[2026-06-23 18:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":27908,"unknown_194":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-4838202973969672192}} 
[2026-06-23 18:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":111260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:37:59] local.INFO: GPS data processed {"connection_id":111260,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:37:59] local.INFO: Acknowledgment sent {"connection_id":111260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:38:10] local.INFO: TCP Data received {"connection_id":111082,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:38:10] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:38:10] local.INFO: IMEI packet received {"connection_id":111082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":111082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:38:15] local.INFO: TCP Data received {"connection_id":111082,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:38:15] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:38:15] local.INFO: IMEI packet received {"connection_id":111082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":111082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:38:16] local.INFO: TCP Data received {"connection_id":111082,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49526a0012d7e380005d34de8000300242a..."} 
[2026-06-23 18:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49526a0012d7e380005d34de8000300242a..."} 
[2026-06-23 18:38:16] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49526a0012d7e380005d34de8000300242a..."} 
[2026-06-23 18:38:16] local.INFO: Packet analysis {"connection_id":111082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:38:16] local.INFO: Extracted packet for processing {"connection_id":111082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:16] 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-06-23 18:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782219876000,"timestamp_ms":1782219876000,"timestamp_seconds":1782219876,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49526a0"} 
[2026-06-23 18:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:38:16] 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-06-23 18:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:38:16] 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-06-23 18:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":12961,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:38:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":111082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:38:16] local.INFO: GPS data processed {"connection_id":111082,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:38:16] local.INFO: Acknowledgment sent {"connection_id":111082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:38:24] local.INFO: TCP Data received {"connection_id":112828,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:38:24] local.INFO: Processing buffer {"connection_id":112828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:38:24] local.INFO: IMEI packet received {"connection_id":112828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":112828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:38:28] local.INFO: TCP Data received {"connection_id":112828,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:38:28] local.INFO: Processing buffer {"connection_id":112828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:38:28] local.INFO: IMEI packet received {"connection_id":112828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":112828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:38:29] local.INFO: TCP Data received {"connection_id":112828,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4979f70012cbcd200077145f0004300dd2c..."} 
[2026-06-23 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4979f70012cbcd200077145f0004300dd2c..."} 
[2026-06-23 18:38:29] local.INFO: Processing buffer {"connection_id":112828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4979f70012cbcd200077145f0004300dd2c..."} 
[2026-06-23 18:38:29] local.INFO: Packet analysis {"connection_id":112828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:38:29] local.INFO: Extracted packet for processing {"connection_id":112828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:38:29] local.INFO: GPS Element Parsed {"raw_longitude":750572032,"raw_latitude":124863984,"longitude_deg":75.0572032,"latitude_deg":12.4863984,"altitude":67,"angle":221,"satellites":44,"speed":24,"hex_longitude":"2cbcd200","hex_latitude":"077145f0","is_valid_coordinates":true} 
[2026-06-23 18:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248329216001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321376180668203008,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4839751086341801984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220038000,"timestamp_ms":1782220038000,"timestamp_seconds":1782220038,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4979f70"} 
[2026-06-23 18:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:38:29] 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-06-23 18:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248329216001,"66":27876,"194":206,"27":54016,"24":24,"16":321376180668203008,"44":-4839751086341801984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 18:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248329216001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:38:29] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 18:38:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321376180668203008,"km_value":321376180668203.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4839751086341801984,"description":"Unknown IO ID 44"} 
[2026-06-23 18:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248329216001,"power":27876,"unknown_194":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-4839751086341801984}} 
[2026-06-23 18:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":112828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:38:29] local.INFO: GPS data processed {"connection_id":112828,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:38:29] local.INFO: Acknowledgment sent {"connection_id":112828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:38:37] local.INFO: TCP Data received {"connection_id":111889,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef495b340012d196580071ff250003801312a..."} 
[2026-06-23 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef495b340012d196580071ff250003801312a..."} 
[2026-06-23 18:38:37] local.INFO: Processing buffer {"connection_id":111889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef495b340012d196580071ff250003801312a..."} 
[2026-06-23 18:38:37] local.INFO: Packet analysis {"connection_id":111889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:38:37] local.INFO: Extracted packet for processing {"connection_id":111889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef495"} 
[2026-06-23 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248292096001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38: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-06-23 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782219912000,"timestamp_ms":1782219912000,"timestamp_seconds":1782219912,"priority":1,"record_length":96,"hex_timestamp":"0000019ef495b340"} 
[2026-06-23 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:38:37] 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-06-23 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4103304456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740206674276944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2484672513,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4065329208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950578,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185115136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,189,158,15,45,128,242,56,46,10,66,43,107,1,240,69,227,244,31,4,113,205,199,101,80,42,239,49,2,13,7,120,53,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:38:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035560806148997120,"timestamp_seconds":4035560806148997.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248292096001,"66":12537,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248292096001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248292096001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":111889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:38:37] local.INFO: GPS data processed {"connection_id":111889,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:38:37] local.INFO: Acknowledgment sent {"connection_id":111889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:38:47] local.INFO: TCP Data received {"connection_id":111082,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:38:47] local.INFO: Processing buffer {"connection_id":111082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:38:47] local.INFO: Packet analysis {"connection_id":111082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:38:47] local.INFO: Extracted packet for processing {"connection_id":111082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38: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-06-23 18:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:38:47] 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-06-23 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:38:47] 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-06-23 18: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-06-23 18:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:38:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":111082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:38:47] local.INFO: GPS data processed {"connection_id":111082,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:38:47] local.INFO: Acknowledgment sent {"connection_id":111082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:38:52] local.INFO: TCP Data received {"connection_id":111261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:38:52] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:38:52] local.INFO: IMEI packet received {"connection_id":111261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":111261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:38:57] local.INFO: TCP Data received {"connection_id":111261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:38:57] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:38:57] local.INFO: IMEI packet received {"connection_id":111261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":111261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:38:58] local.INFO: TCP Data received {"connection_id":111261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4960548012d196580071ff250003801312b..."} 
[2026-06-23 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4960548012d196580071ff250003801312b..."} 
[2026-06-23 18:38:58] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4960548012d196580071ff250003801312b..."} 
[2026-06-23 18:38:58] local.INFO: Packet analysis {"connection_id":111261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:38:58] local.INFO: Extracted packet for processing {"connection_id":111261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248297472001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:38: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-06-23 18:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219933000,"timestamp_ms":1782219933000,"timestamp_seconds":1782219933,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4960548"} 
[2026-06-23 18:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:38:58] 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-06-23 18:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-23 18:38:58] 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-06-23 18:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248297472001,"66":12591,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248297472001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:38:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248297472001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":111261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:38:58] local.INFO: GPS data processed {"connection_id":111261,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:38:58] local.INFO: Acknowledgment sent {"connection_id":111261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:39:01] local.INFO: TCP Data received {"connection_id":112828,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef497a740012cbccf00077141d0004300d12c..."} 
[2026-06-23 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef497a740012cbccf00077141d0004300d12c..."} 
[2026-06-23 18:39:01] local.INFO: Processing buffer {"connection_id":112828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef497a740012cbccf00077141d0004300d12c..."} 
[2026-06-23 18:39:01] local.INFO: Packet analysis {"connection_id":112828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:01] local.INFO: Extracted packet for processing {"connection_id":112828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:01] local.INFO: GPS Element Parsed {"raw_longitude":750571264,"raw_latitude":124862928,"longitude_deg":75.0571264,"latitude_deg":12.4862928,"altitude":67,"angle":209,"satellites":44,"speed":25,"hex_longitude":"2cbccf00","hex_latitude":"077141d0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248329728001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321376240797745152,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4840806617504681984,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782220040000,"timestamp_ms":1782220040000,"timestamp_seconds":1782220040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef497a740"} 
[2026-06-23 18:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:39:01] 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-06-23 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:39:01] 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-06-23 18: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-06-23 18:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248329728001,"66":27876,"194":206,"27":54016,"24":25,"16":321376240797745152,"44":-4840806617504681984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 18:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248329728001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:39:01] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 18:39:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321376240797745152,"km_value":321376240797745.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4840806617504681984,"description":"Unknown IO ID 44"} 
[2026-06-23 18:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248329728001,"power":27876,"unknown_194":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4840806617504681984}} 
[2026-06-23 18:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":112828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:39:01] local.INFO: GPS data processed {"connection_id":112828,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:39:01] local.INFO: Acknowledgment sent {"connection_id":112828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:39:15] local.INFO: TCP Data received {"connection_id":111890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:39:15] local.INFO: Processing buffer {"connection_id":111890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:39:15] local.INFO: IMEI packet received {"connection_id":111890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":111890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:39:20] local.INFO: TCP Data received {"connection_id":111890,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:39:20] local.INFO: Processing buffer {"connection_id":111890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:39:20] local.INFO: IMEI packet received {"connection_id":111890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":111890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:39:21] local.INFO: TCP Data received {"connection_id":111890,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:39:21] local.INFO: Processing buffer {"connection_id":111890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:39:21] local.INFO: Packet analysis {"connection_id":111890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:21] local.INFO: Extracted packet for processing {"connection_id":111890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:21] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:21] 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-06-23 18:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:39:21] 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-06-23 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:39:21] 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-06-23 18: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-06-23 18:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:39:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":111890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:39:21] local.INFO: GPS data processed {"connection_id":111890,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:39:21] local.INFO: Acknowledgment sent {"connection_id":111890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:39:24] local.INFO: TCP Data received {"connection_id":111891,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:39:24] local.INFO: Processing buffer {"connection_id":111891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:39:24] local.INFO: IMEI packet received {"connection_id":111891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":111891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:39:25] local.INFO: TCP Data received {"connection_id":111890,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:39:25] local.INFO: Processing buffer {"connection_id":111890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:39:25] local.INFO: Packet analysis {"connection_id":111890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:25] local.INFO: Extracted packet for processing {"connection_id":111890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:25] 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-06-23 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:39:25] 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-06-23 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:39:25] 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-06-23 18: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-06-23 18:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:39:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":111890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:39:25] local.INFO: GPS data processed {"connection_id":111890,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:39:25] local.INFO: Acknowledgment sent {"connection_id":111890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:39:28] local.INFO: TCP Data received {"connection_id":111891,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:39:28] local.INFO: Processing buffer {"connection_id":111891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:39:28] local.INFO: IMEI packet received {"connection_id":111891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":111891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:39:29] local.INFO: TCP Data received {"connection_id":111261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4965750012d196580071ff250003801312a..."} 
[2026-06-23 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4965750012d196580071ff250003801312a..."} 
[2026-06-23 18:39:29] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4965750012d196580071ff250003801312a..."} 
[2026-06-23 18:39:29] local.INFO: Packet analysis {"connection_id":111261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:39:29] local.INFO: Extracted packet for processing {"connection_id":111261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248302848001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219954000,"timestamp_ms":1782219954000,"timestamp_seconds":1782219954,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4965750"} 
[2026-06-23 18:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:39:29] 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-06-23 18:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-23 18:39: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-06-23 18:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248302848001,"66":12526,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248302848001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:39:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248302848001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":111261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:39:29] local.INFO: GPS data processed {"connection_id":111261,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:39:29] local.INFO: Acknowledgment sent {"connection_id":111261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:39:30] local.INFO: TCP Data received {"connection_id":111891,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef497af10012cbccd4007713d20004300c52d..."} 
[2026-06-23 18:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef497af10012cbccd4007713d20004300c52d..."} 
[2026-06-23 18:39:30] local.INFO: Processing buffer {"connection_id":111891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef497af10012cbccd4007713d20004300c52d..."} 
[2026-06-23 18:39:30] local.INFO: Packet analysis {"connection_id":111891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:30] local.INFO: Extracted packet for processing {"connection_id":111891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750570816,"raw_latitude":124861728,"longitude_deg":75.0570816,"latitude_deg":12.4861728,"altitude":67,"angle":197,"satellites":45,"speed":25,"hex_longitude":"2cbccd40","hex_latitude":"07713d20","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248330240001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321376305222254592,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4841651042435084288,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782220042000,"timestamp_ms":1782220042000,"timestamp_seconds":1782220042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef497af10"} 
[2026-06-23 18:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:39:30] 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-06-23 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:39: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-06-23 18: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-06-23 18:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248330240001,"66":27800,"194":206,"27":54016,"24":25,"16":321376305222254592,"44":-4841651042435084288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 18:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248330240001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:39:30] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 18:39:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321376305222254592,"km_value":321376305222254.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4841651042435084288,"description":"Unknown IO ID 44"} 
[2026-06-23 18:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248330240001,"power":27800,"unknown_194":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4841651042435084288}} 
[2026-06-23 18:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":111891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:39:30] local.INFO: GPS data processed {"connection_id":111891,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:39:30] local.INFO: Acknowledgment sent {"connection_id":111891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:39:52] local.INFO: TCP Data received {"connection_id":111262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:39:52] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:39:52] local.INFO: IMEI packet received {"connection_id":111262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":111262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:39:57] local.INFO: TCP Data received {"connection_id":111262,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:39:57] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:39:57] local.INFO: IMEI packet received {"connection_id":111262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":111262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:39:58] local.INFO: TCP Data received {"connection_id":111262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef496a958012d196580071ff2500038013128..."} 
[2026-06-23 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef496a958012d196580071ff2500038013128..."} 
[2026-06-23 18:39:58] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef496a958012d196580071ff2500038013128..."} 
[2026-06-23 18:39:58] local.INFO: Packet analysis {"connection_id":111262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:39:58] local.INFO: Extracted packet for processing {"connection_id":111262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248308224001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782219975000,"timestamp_ms":1782219975000,"timestamp_seconds":1782219975,"priority":1,"record_length":96,"hex_timestamp":"0000019ef496a958"} 
[2026-06-23 18:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:39:58] 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-06-23 18:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 18:39:58] 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-06-23 18:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248308224001,"66":12504,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248308224001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:39:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248308224001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":111262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:39:58] local.INFO: GPS data processed {"connection_id":111262,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:39:58] local.INFO: Acknowledgment sent {"connection_id":111262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:40:02] local.INFO: TCP Data received {"connection_id":111891,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef497bac8012cbccbc0077135a8004300ba2f..."} 
[2026-06-23 18:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef497bac8012cbccbc0077135a8004300ba2f..."} 
[2026-06-23 18:40:02] local.INFO: Processing buffer {"connection_id":111891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef497bac8012cbccbc0077135a8004300ba2f..."} 
[2026-06-23 18:40:02] local.INFO: Packet analysis {"connection_id":111891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:02] local.INFO: Extracted packet for processing {"connection_id":111891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:02] local.INFO: GPS Element Parsed {"raw_longitude":750570432,"raw_latitude":124859816,"longitude_deg":75.0570432,"latitude_deg":12.4859816,"altitude":67,"angle":186,"satellites":47,"speed":25,"hex_longitude":"2cbccbc0","hex_latitude":"077135a8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248330752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321376399711535104,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842143623644635136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782220045000,"timestamp_ms":1782220045000,"timestamp_seconds":1782220045,"priority":1,"record_length":96,"hex_timestamp":"0000019ef497bac8"} 
[2026-06-23 18:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:40:02] 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-06-23 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 18:40:02] 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-06-23 18: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-06-23 18:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248330752001,"66":27908,"194":206,"27":54016,"24":25,"16":321376399711535104,"44":-4842143623644635136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16,44]} 
[2026-06-23 18:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248330752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-06-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321376399711535104,"km_value":321376399711535.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:40:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842143623644635136,"description":"Unknown IO ID 44"} 
[2026-06-23 18:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248330752001,"power":27908,"unknown_194":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4842143623644635136}} 
[2026-06-23 18:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":111891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:40:02] local.INFO: GPS data processed {"connection_id":111891,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:40:02] local.INFO: Acknowledgment sent {"connection_id":111891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:40:10] local.INFO: TCP Data received {"connection_id":111263,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:40:10] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:40:10] local.INFO: IMEI packet received {"connection_id":111263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":111263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:40:15] local.INFO: TCP Data received {"connection_id":111263,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:40:15] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:40:15] local.INFO: IMEI packet received {"connection_id":111263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":111263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:40:16] local.INFO: TCP Data received {"connection_id":111263,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:40:16] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:40:16] local.INFO: Packet analysis {"connection_id":111263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:16] local.INFO: Extracted packet for processing {"connection_id":111263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:16] 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-06-23 18:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:40:16] 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-06-23 18:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:40:16] 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-06-23 18:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:40:16] 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-06-23 18:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:40:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":111263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:40:16] local.INFO: GPS data processed {"connection_id":111263,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:40:16] local.INFO: Acknowledgment sent {"connection_id":111263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:40:23] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:40:23] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:40:23] local.INFO: IMEI packet received {"connection_id":111264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":111264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:40:27] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:40:27] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:40:27] local.INFO: IMEI packet received {"connection_id":111264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":111264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:40:29] local.INFO: TCP Data received {"connection_id":111262,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef496fb60012d196580071ff250003801312b..."} 
[2026-06-23 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef496fb60012d196580071ff250003801312b..."} 
[2026-06-23 18:40:29] local.INFO: Processing buffer {"connection_id":111262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef496fb60012d196580071ff250003801312b..."} 
[2026-06-23 18:40:29] local.INFO: Packet analysis {"connection_id":111262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:40:29] local.INFO: Extracted packet for processing {"connection_id":111262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef496"} 
[2026-06-23 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248313600001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782219996000,"timestamp_ms":1782219996000,"timestamp_seconds":1782219996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef496fb60"} 
[2026-06-23 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:40:29] 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-06-23 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 18:40:29] 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-06-23 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248313600001,"66":12526,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248313600001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248313600001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":111262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:40:29] local.INFO: GPS data processed {"connection_id":111262,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:40:29] local.INFO: Acknowledgment sent {"connection_id":111262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:40:29] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef499aec8012cbcf70007700db8006400ab32..."} 
[2026-06-23 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef499aec8012cbcf70007700db8006400ab32..."} 
[2026-06-23 18:40:29] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef499aec8012cbcf70007700db8006400ab32..."} 
[2026-06-23 18:40:29] local.INFO: Packet analysis {"connection_id":111264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef499"} 
[2026-06-23 18:40:29] local.INFO: Extracted packet for processing {"connection_id":111264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef499"} 
[2026-06-23 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":750581504,"raw_latitude":124784056,"longitude_deg":75.0581504,"latitude_deg":12.4784056,"altitude":100,"angle":171,"satellites":50,"speed":41,"hex_longitude":"2cbcf700","hex_latitude":"07700db8","is_valid_coordinates":true} 
[2026-06-23 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248361728001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321380170692820992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831588312035518464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220173000,"timestamp_ms":1782220173000,"timestamp_seconds":1782220173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef499aec8"} 
[2026-06-23 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:40:29] 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-06-23 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:40:29] 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-06-23 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248361728001,"66":27484,"195":206,"27":54016,"24":41,"16":321380170692820992,"44":-4831588312035518464},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-06-23 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248361728001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321380170692820992,"km_value":321380170692821.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831588312035518464,"description":"Unknown IO ID 44"} 
[2026-06-23 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248361728001,"power":27484,"unknown_195":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4831588312035518464}} 
[2026-06-23 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":111264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:40:29] local.INFO: GPS data processed {"connection_id":111264,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:40:29] local.INFO: Acknowledgment sent {"connection_id":111264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:40:47] local.INFO: TCP Data received {"connection_id":111263,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:40:47] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:40:47] local.INFO: Packet analysis {"connection_id":111263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:47] local.INFO: Extracted packet for processing {"connection_id":111263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40: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-06-23 18:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:40:47] 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-06-23 18:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:40:47] 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-06-23 18:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:40:47] 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-06-23 18:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:40:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":111263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:40:47] local.INFO: GPS data processed {"connection_id":111263,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:40:47] local.INFO: Acknowledgment sent {"connection_id":111263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:40:52] local.INFO: TCP Data received {"connection_id":112829,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:40:52] local.INFO: Processing buffer {"connection_id":112829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:40:52] local.INFO: IMEI packet received {"connection_id":112829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":112829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:40:57] local.INFO: TCP Data received {"connection_id":112829,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:40:57] local.INFO: Processing buffer {"connection_id":112829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:40:57] local.INFO: IMEI packet received {"connection_id":112829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":112829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:40:58] local.INFO: TCP Data received {"connection_id":112829,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4974d68012d196580071ff250003801312d..."} 
[2026-06-23 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4974d68012d196580071ff250003801312d..."} 
[2026-06-23 18:40:58] local.INFO: Processing buffer {"connection_id":112829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4974d68012d196580071ff250003801312d..."} 
[2026-06-23 18:40:58] local.INFO: Packet analysis {"connection_id":112829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:58] local.INFO: Extracted packet for processing {"connection_id":112829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248318976001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:40: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-06-23 18:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220017000,"timestamp_ms":1782220017000,"timestamp_seconds":1782220017,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4974d68"} 
[2026-06-23 18:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:40:58] 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-06-23 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-23 18:40:58] 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-06-23 18:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248318976001,"66":12558,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248318976001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:40:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248318976001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":112829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:40:58] local.INFO: GPS data processed {"connection_id":112829,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:40:58] local.INFO: Acknowledgment sent {"connection_id":112829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:00] local.INFO: TCP Data received {"connection_id":111264,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef499d1f0012cbcfd80076fe710006100ab32..."} 
[2026-06-23 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef499d1f0012cbcfd80076fe710006100ab32..."} 
[2026-06-23 18:41:00] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef499d1f0012cbcfd80076fe710006100ab32..."} 
[2026-06-23 18:41:00] local.INFO: Packet analysis {"connection_id":111264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef499"} 
[2026-06-23 18:41:00] local.INFO: Extracted packet for processing {"connection_id":111264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef499"} 
[2026-06-23 18:41:00] local.INFO: GPS Element Parsed {"raw_longitude":750583168,"raw_latitude":124774160,"longitude_deg":75.0583168,"latitude_deg":12.477416,"altitude":97,"angle":171,"satellites":50,"speed":48,"hex_longitude":"2cbcfd80","hex_latitude":"076fe710","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248364288001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321380656024125440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830392043386849280,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782220182000,"timestamp_ms":1782220182000,"timestamp_seconds":1782220182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef499d1f0"} 
[2026-06-23 18:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:00] 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-06-23 18: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 18:41:00] 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-06-23 18: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-06-23 18:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248364288001,"66":28050,"195":206,"27":54016,"24":48,"16":321380656024125440,"44":-4830392043386849280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-06-23 18:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248364288001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-23 18:41:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321380656024125440,"km_value":321380656024125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830392043386849280,"description":"Unknown IO ID 44"} 
[2026-06-23 18:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248364288001,"power":28050,"unknown_195":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4830392043386849280}} 
[2026-06-23 18:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":111264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:00] local.INFO: GPS data processed {"connection_id":111264,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:00] local.INFO: Acknowledgment sent {"connection_id":111264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:10] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:41:10] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:41:10] local.INFO: IMEI packet received {"connection_id":111085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":111085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:41:15] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:41:15] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:41:15] local.INFO: IMEI packet received {"connection_id":111085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":111085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:41:16] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:41:16] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:41:16] local.INFO: Packet analysis {"connection_id":111085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:16] local.INFO: Extracted packet for processing {"connection_id":111085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:16] 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-06-23 18:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:16] 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-06-23 18:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:41:16] 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-06-23 18:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:41:16] 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-06-23 18:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:41:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":111085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:16] local.INFO: GPS data processed {"connection_id":111085,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:16] local.INFO: Acknowledgment sent {"connection_id":111085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:23] local.INFO: TCP Data received {"connection_id":112830,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:41:23] local.INFO: Processing buffer {"connection_id":112830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:41:23] local.INFO: IMEI packet received {"connection_id":112830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":112830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:41:27] local.INFO: TCP Data received {"connection_id":112830,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:41:27] local.INFO: Processing buffer {"connection_id":112830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:41:27] local.INFO: IMEI packet received {"connection_id":112830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":112830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:41:28] local.INFO: TCP Data received {"connection_id":112830,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49a9158012cbcf440076ef850005600c82f..."} 
[2026-06-23 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49a9158012cbcf440076ef850005600c82f..."} 
[2026-06-23 18:41:28] local.INFO: Processing buffer {"connection_id":112830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49a9158012cbcf440076ef850005600c82f..."} 
[2026-06-23 18:41:28] local.INFO: Packet analysis {"connection_id":112830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49a"} 
[2026-06-23 18:41:28] local.INFO: Extracted packet for processing {"connection_id":112830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49a"} 
[2026-06-23 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":750580800,"raw_latitude":124713040,"longitude_deg":75.05808,"latitude_deg":12.471304,"altitude":86,"angle":200,"satellites":47,"speed":56,"hex_longitude":"2cbcf440","hex_latitude":"076ef850","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248377344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321383898724433920,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4826381024984672256,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782220231000,"timestamp_ms":1782220231000,"timestamp_seconds":1782220231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49a9158"} 
[2026-06-23 18:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:28] 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-06-23 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:41:28] 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-06-23 18: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-06-23 18:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248377344001,"66":28050,"74":206,"27":54016,"24":56,"16":321383898724433920,"44":-4826381024984672256},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-06-23 18:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248377344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:28] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 18:41:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321383898724433920,"km_value":321383898724433.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4826381024984672256,"description":"Unknown IO ID 44"} 
[2026-06-23 18:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248377344001,"power":28050,"unknown_74":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4826381024984672256}} 
[2026-06-23 18:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":112830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:28] local.INFO: GPS data processed {"connection_id":112830,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:28] local.INFO: Acknowledgment sent {"connection_id":112830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:29] local.INFO: TCP Data received {"connection_id":112829,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4979f70012d196580071ff250003801312c..."} 
[2026-06-23 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4979f70012d196580071ff250003801312c..."} 
[2026-06-23 18:41:29] local.INFO: Processing buffer {"connection_id":112829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4979f70012d196580071ff250003801312c..."} 
[2026-06-23 18:41:29] local.INFO: Packet analysis {"connection_id":112829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:29] local.INFO: Extracted packet for processing {"connection_id":112829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248324352001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220038000,"timestamp_ms":1782220038000,"timestamp_seconds":1782220038,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4979f70"} 
[2026-06-23 18:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:29] 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-06-23 18:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4103430456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249740206674276944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2516928513,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4065329208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950578,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185115136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,189,158,251,45,128,242,56,43,10,66,169,40,87,1,240,238,227,244,31,4,113,205,179,101,80,42,239,48,2,13,7,120,53,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:41:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035560810443964416,"timestamp_seconds":4035560810443964.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248324352001,"66":12504,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248324352001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248324352001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":112829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:29] local.INFO: GPS data processed {"connection_id":112829,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:29] local.INFO: Acknowledgment sent {"connection_id":112829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:47] local.INFO: TCP Data received {"connection_id":111085,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:41:47] local.INFO: Processing buffer {"connection_id":111085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:41:47] local.INFO: Packet analysis {"connection_id":111085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:47] local.INFO: Extracted packet for processing {"connection_id":111085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41: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-06-23 18:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:47] 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-06-23 18:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:41:47] 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-06-23 18:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:41:47] 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-06-23 18:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":111085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:47] local.INFO: GPS data processed {"connection_id":111085,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:47] local.INFO: Acknowledgment sent {"connection_id":111085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:52] local.INFO: TCP Data received {"connection_id":111087,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:41:52] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:41:52] local.INFO: IMEI packet received {"connection_id":111087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":111087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:41:57] local.INFO: TCP Data received {"connection_id":111087,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:41:57] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:41:57] local.INFO: IMEI packet received {"connection_id":111087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":111087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:41:58] local.INFO: TCP Data received {"connection_id":111087,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef497f178012d196580071ff250003801312a..."} 
[2026-06-23 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef497f178012d196580071ff250003801312a..."} 
[2026-06-23 18:41:58] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef497f178012d196580071ff250003801312a..."} 
[2026-06-23 18:41:58] local.INFO: Packet analysis {"connection_id":111087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:58] local.INFO: Extracted packet for processing {"connection_id":111087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248329728001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41: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-06-23 18:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220059000,"timestamp_ms":1782220059000,"timestamp_seconds":1782220059,"priority":1,"record_length":96,"hex_timestamp":"0000019ef497f178"} 
[2026-06-23 18:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:58] 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-06-23 18:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 18:41: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-06-23 18:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248329728001,"66":12548,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248329728001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248329728001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":111087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:58] local.INFO: GPS data processed {"connection_id":111087,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:58] local.INFO: Acknowledgment sent {"connection_id":111087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:41:59] local.INFO: TCP Data received {"connection_id":112830,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49a9158012cbcf440076ef850005600c82f..."} 
[2026-06-23 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49a9158012cbcf440076ef850005600c82f..."} 
[2026-06-23 18:41:59] local.INFO: Processing buffer {"connection_id":112830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49a9158012cbcf440076ef850005600c82f..."} 
[2026-06-23 18:41:59] local.INFO: Packet analysis {"connection_id":112830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49a"} 
[2026-06-23 18:41:59] local.INFO: Extracted packet for processing {"connection_id":112830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49a"} 
[2026-06-23 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":750580800,"raw_latitude":124713040,"longitude_deg":75.05808,"latitude_deg":12.471304,"altitude":86,"angle":200,"satellites":47,"speed":56,"hex_longitude":"2cbcf440","hex_latitude":"076ef850","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248379136001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321383898724433920,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831166099590983680,"note":"Value kept but may cause issues"} 
[2026-06-23 18:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782220231000,"timestamp_ms":1782220231000,"timestamp_seconds":1782220231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49a9158"} 
[2026-06-23 18:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:41:59] 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-06-23 18: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 18:41:59] 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-06-23 18: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-06-23 18:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248379136001,"66":28050,"74":206,"27":54016,"24":56,"16":321383898724433920,"44":-4831166099590983680},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-06-23 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248379136001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:41:59] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 18:41:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321383898724433920,"km_value":321383898724433.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831166099590983680,"description":"Unknown IO ID 44"} 
[2026-06-23 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248379136001,"power":28050,"unknown_74":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4831166099590983680}} 
[2026-06-23 18:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":112830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:41:59] local.INFO: GPS data processed {"connection_id":112830,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:41:59] local.INFO: Acknowledgment sent {"connection_id":112830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:42:10] local.INFO: TCP Data received {"connection_id":112832,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:42:10] local.INFO: Processing buffer {"connection_id":112832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:42:10] local.INFO: IMEI packet received {"connection_id":112832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":112832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:42:15] local.INFO: TCP Data received {"connection_id":112832,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:42:15] local.INFO: Processing buffer {"connection_id":112832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:42:15] local.INFO: IMEI packet received {"connection_id":112832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":112832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:42:16] local.INFO: TCP Data received {"connection_id":112832,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:42:16] local.INFO: Processing buffer {"connection_id":112832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4978be8012d7e380005d34de8000300242b..."} 
[2026-06-23 18:42:16] local.INFO: Packet analysis {"connection_id":112832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:42:16] local.INFO: Extracted packet for processing {"connection_id":112832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef497"} 
[2026-06-23 18:42:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248288256001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:16] 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-06-23 18:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220033000,"timestamp_ms":1782220033000,"timestamp_seconds":1782220033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4978be8"} 
[2026-06-23 18:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:42:16] 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-06-23 18:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-23 18:42:16] 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-06-23 18:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:42:16] 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-06-23 18:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248288256001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248288256001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:42:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248288256001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":112832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:42:16] local.INFO: GPS data processed {"connection_id":112832,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:42:16] local.INFO: Acknowledgment sent {"connection_id":112832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:42:23] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:23] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:23] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:42:24] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:24] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:24] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:42:28] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:28] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:42:28] local.INFO: IMEI packet received {"connection_id":111088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":111088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:42:29] local.INFO: TCP Data received {"connection_id":111087,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4984380012d196580071ff250003801312b..."} 
[2026-06-23 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4984380012d196580071ff250003801312b..."} 
[2026-06-23 18:42:29] local.INFO: Processing buffer {"connection_id":111087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4984380012d196580071ff250003801312b..."} 
[2026-06-23 18:42:29] local.INFO: Packet analysis {"connection_id":111087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef498"} 
[2026-06-23 18:42:29] local.INFO: Extracted packet for processing {"connection_id":111087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef498"} 
[2026-06-23 18:42:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248335104001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220080000,"timestamp_ms":1782220080000,"timestamp_seconds":1782220080,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4984380"} 
[2026-06-23 18:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:42:29] 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-06-23 18:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4103472456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2527680513,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4065329208,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950578,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185115136,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,189,158,159,45,128,242,56,44,10,66,77,251,1,240,238,227,244,31,4,113,205,87,101,80,42,239,48,2,13,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 18:42:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035560797559062528,"timestamp_seconds":4035560797559062.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 18:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248335104001,"66":12504,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248335104001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248335104001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":111087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:42:29] local.INFO: GPS data processed {"connection_id":111087,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:42:29] local.INFO: Acknowledgment sent {"connection_id":111087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:42:29] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49b7fa0012cbcf3c0076d8b30004700b230..."} 
[2026-06-23 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49b7fa0012cbcf3c0076d8b30004700b230..."} 
[2026-06-23 18:42:29] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49b7fa0012cbcf3c0076d8b30004700b230..."} 
[2026-06-23 18:42:29] local.INFO: Packet analysis {"connection_id":111088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:42:29] local.INFO: Extracted packet for processing {"connection_id":111088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:42:29] local.INFO: GPS Element Parsed {"raw_longitude":750580672,"raw_latitude":124619568,"longitude_deg":75.0580672,"latitude_deg":12.4619568,"altitude":71,"angle":178,"satellites":48,"speed":55,"hex_longitude":"2cbcf3c0","hex_latitude":"076d8b30","is_valid_coordinates":true} 
[2026-06-23 18:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248392960001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321388481454538752,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831236468356499456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220292000,"timestamp_ms":1782220292000,"timestamp_seconds":1782220292,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49b7fa0"} 
[2026-06-23 18:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:42:29] 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-06-23 18:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 18:42:29] 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-06-23 18:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248392960001,"66":28028,"75":206,"27":54016,"24":55,"16":321388481454538752,"44":-4831236468356499456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 18:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248392960001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321388481454538752,"km_value":321388481454538.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831236468356499456,"description":"Unknown IO ID 44"} 
[2026-06-23 18:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248392960001,"power":28028,"unknown_75":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4831236468356499456}} 
[2026-06-23 18:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":111088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:42:29] local.INFO: GPS data processed {"connection_id":111088,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:42:29] local.INFO: Acknowledgment sent {"connection_id":111088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:42:41] local.INFO: TCP Data received {"connection_id":112831,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:42:41] local.INFO: Processing buffer {"connection_id":112831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:42:41] local.INFO: IMEI packet received {"connection_id":112831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":112831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:42:47] local.INFO: TCP Data received {"connection_id":112832,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:42:47] local.INFO: Processing buffer {"connection_id":112832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:42:47] local.INFO: Packet analysis {"connection_id":112832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:42:47] local.INFO: Extracted packet for processing {"connection_id":112832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42: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-06-23 18:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:42:47] 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-06-23 18:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:42:47] 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-06-23 18:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:42:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":112832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:42:47] local.INFO: GPS data processed {"connection_id":112832,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:42:47] local.INFO: Acknowledgment sent {"connection_id":112832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:42:52] local.INFO: TCP Data received {"connection_id":111892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:42:52] local.INFO: Processing buffer {"connection_id":111892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:42:52] local.INFO: IMEI packet received {"connection_id":111892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":111892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:42:57] local.INFO: TCP Data received {"connection_id":111892,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:42:57] local.INFO: Processing buffer {"connection_id":111892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:42:57] local.INFO: IMEI packet received {"connection_id":111892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":111892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:42:58] local.INFO: TCP Data received {"connection_id":111892,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4989588012d196580071ff250003801312c..."} 
[2026-06-23 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4989588012d196580071ff250003801312c..."} 
[2026-06-23 18:42:58] local.INFO: Processing buffer {"connection_id":111892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4989588012d196580071ff250003801312c..."} 
[2026-06-23 18:42:58] local.INFO: Packet analysis {"connection_id":111892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef498"} 
[2026-06-23 18:42:58] local.INFO: Extracted packet for processing {"connection_id":111892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef498"} 
[2026-06-23 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248340480001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:42: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-06-23 18:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220101000,"timestamp_ms":1782220101000,"timestamp_seconds":1782220101,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4989588"} 
[2026-06-23 18:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:42:58] 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-06-23 18:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-23 18:42: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-06-23 18:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248340480001,"66":12341,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248340480001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:42:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248340480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":111892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:42:58] local.INFO: GPS data processed {"connection_id":111892,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:42:58] local.INFO: Acknowledgment sent {"connection_id":111892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:00] local.INFO: TCP Data received {"connection_id":111088,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49b9af8012cbcf700076d65c0004700ab31..."} 
[2026-06-23 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49b9af8012cbcf700076d65c0004700ab31..."} 
[2026-06-23 18:43:00] local.INFO: Processing buffer {"connection_id":111088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49b9af8012cbcf700076d65c0004700ab31..."} 
[2026-06-23 18:43:00] local.INFO: Packet analysis {"connection_id":111088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:43:00] local.INFO: Extracted packet for processing {"connection_id":111088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:43:00] local.INFO: GPS Element Parsed {"raw_longitude":750581504,"raw_latitude":124609984,"longitude_deg":75.0581504,"latitude_deg":12.4609984,"altitude":71,"angle":171,"satellites":49,"speed":53,"hex_longitude":"2cbcf700","hex_latitude":"076d65c0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248394752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321388945311006720,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831306837103267840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782220299000,"timestamp_ms":1782220299000,"timestamp_seconds":1782220299,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49b9af8"} 
[2026-06-23 18:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:43:00] 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-06-23 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 18:43:00] 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-06-23 18: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-06-23 18:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248394752001,"66":28006,"75":206,"27":54016,"24":53,"16":321388945311006720,"44":-4831306837103267840},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 18:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248394752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:43:00] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 18:43:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321388945311006720,"km_value":321388945311006.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831306837103267840,"description":"Unknown IO ID 44"} 
[2026-06-23 18:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248394752001,"power":28006,"unknown_75":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4831306837103267840}} 
[2026-06-23 18:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":111088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:43:00] local.INFO: GPS data processed {"connection_id":111088,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:43:00] local.INFO: Acknowledgment sent {"connection_id":111088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:06] local.INFO: TCP Data received {"connection_id":111265,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:43:06] local.INFO: Processing buffer {"connection_id":111265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:43:06] local.INFO: IMEI packet received {"connection_id":111265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":111265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:43:15] local.INFO: TCP Data received {"connection_id":111266,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:43:15] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:43:15] local.INFO: IMEI packet received {"connection_id":111266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":111266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:43:20] local.INFO: TCP Data received {"connection_id":111266,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:43:20] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:43:20] local.INFO: IMEI packet received {"connection_id":111266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":111266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:43:21] local.INFO: TCP Data received {"connection_id":111266,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:43:21] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:43:21] local.INFO: Packet analysis {"connection_id":111266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:43:21] local.INFO: Extracted packet for processing {"connection_id":111266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:21] 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-06-23 18:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:43:21] 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-06-23 18:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:43:21] 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-06-23 18:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:43:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":111266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:43:21] local.INFO: GPS data processed {"connection_id":111266,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:43:21] local.INFO: Acknowledgment sent {"connection_id":111266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:23] local.INFO: TCP Data received {"connection_id":111267,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:23] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:23] local.INFO: IMEI packet received {"connection_id":111267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":111267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:43:25] local.INFO: TCP Data received {"connection_id":111266,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:43:25] local.INFO: Processing buffer {"connection_id":111266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:43:25] local.INFO: Packet analysis {"connection_id":111266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:43:25] local.INFO: Extracted packet for processing {"connection_id":111266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:43: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-06-23 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:25] 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-06-23 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:43:25] 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-06-23 18:43: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-06-23 18:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:43:25] 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-06-23 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:43:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":111266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:43:25] local.INFO: GPS data processed {"connection_id":111266,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:43:25] local.INFO: Acknowledgment sent {"connection_id":111266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:28] local.INFO: TCP Data received {"connection_id":111267,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:28] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:28] local.INFO: IMEI packet received {"connection_id":111267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":111267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:43:28] local.INFO: TCP Data received {"connection_id":111267,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:28] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:43:28] local.INFO: IMEI packet received {"connection_id":111267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":111267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:43:29] local.INFO: TCP Data received {"connection_id":111892,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef498e790012d196580071ff250003801312a..."} 
[2026-06-23 18:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef498e790012d196580071ff250003801312a..."} 
[2026-06-23 18:43:29] local.INFO: Processing buffer {"connection_id":111892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef498e790012d196580071ff250003801312a..."} 
[2026-06-23 18:43:29] local.INFO: Packet analysis {"connection_id":111892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef498"} 
[2026-06-23 18:43:29] local.INFO: Extracted packet for processing {"connection_id":111892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef498"} 
[2026-06-23 18:43:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248345856001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220122000,"timestamp_ms":1782220122000,"timestamp_seconds":1782220122,"priority":1,"record_length":96,"hex_timestamp":"0000019ef498e790"} 
[2026-06-23 18:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:43:29] 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-06-23 18:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 18:43:29] 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-06-23 18:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248345856001,"66":12515,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248345856001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:43:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248345856001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":111892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:43:29] local.INFO: GPS data processed {"connection_id":111892,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:43:29] local.INFO: Acknowledgment sent {"connection_id":111892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:30] local.INFO: TCP Data received {"connection_id":111267,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49bb650012cbcfec0076d41b0004600a632..."} 
[2026-06-23 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49bb650012cbcfec0076d41b0004600a632..."} 
[2026-06-23 18:43:30] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49bb650012cbcfec0076d41b0004600a632..."} 
[2026-06-23 18:43:30] local.INFO: Packet analysis {"connection_id":111267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:43:30] local.INFO: Extracted packet for processing {"connection_id":111267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":750583488,"raw_latitude":124600752,"longitude_deg":75.0583488,"latitude_deg":12.4600752,"altitude":70,"angle":166,"satellites":50,"speed":53,"hex_longitude":"2cbcfec0","hex_latitude":"076d41b0","is_valid_coordinates":true} 
[2026-06-23 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248396544001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321389404872507392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830392043431411712,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782220306000,"timestamp_ms":1782220306000,"timestamp_seconds":1782220306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49bb650"} 
[2026-06-23 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:43:30] 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-06-23 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 18:43:30] 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-06-23 18:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248396544001,"66":27995,"75":206,"27":54016,"24":53,"16":321389404872507392,"44":-4830392043431411712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248396544001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:43:30] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 18:43:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321389404872507392,"km_value":321389404872507.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830392043431411712,"description":"Unknown IO ID 44"} 
[2026-06-23 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248396544001,"power":27995,"unknown_75":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4830392043431411712}} 
[2026-06-23 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":111267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:43:30] local.INFO: GPS data processed {"connection_id":111267,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:43:30] local.INFO: Acknowledgment sent {"connection_id":111267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:39] local.INFO: TCP Data received {"connection_id":111267,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49bd1a8012cbd07c0076d1dc0004400a532..."} 
[2026-06-23 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49bd1a8012cbd07c0076d1dc0004400a532..."} 
[2026-06-23 18:43:39] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49bd1a8012cbd07c0076d1dc0004400a532..."} 
[2026-06-23 18:43:39] local.INFO: Packet analysis {"connection_id":111267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:43:39] local.INFO: Extracted packet for processing {"connection_id":111267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49b"} 
[2026-06-23 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":750585792,"raw_latitude":124591552,"longitude_deg":75.0585792,"latitude_deg":12.4591552,"altitude":68,"angle":165,"satellites":50,"speed":54,"hex_longitude":"2cbd07c0","hex_latitude":"076d1dc0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248398336001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321389864434008064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828210612364267520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782220313000,"timestamp_ms":1782220313000,"timestamp_seconds":1782220313,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49bd1a8"} 
[2026-06-23 18:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:43: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-06-23 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-23 18:43:39] 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-06-23 18: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-06-23 18:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248398336001,"66":27974,"75":206,"27":54016,"24":54,"16":321389864434008064,"44":-4828210612364267520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-06-23 18:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248398336001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:43:39] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 18:43:39] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321389864434008064,"km_value":321389864434008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828210612364267520,"description":"Unknown IO ID 44"} 
[2026-06-23 18:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248398336001,"power":27974,"unknown_75":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4828210612364267520}} 
[2026-06-23 18:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":111267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:43:39] local.INFO: GPS data processed {"connection_id":111267,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:43:39] local.INFO: Acknowledgment sent {"connection_id":111267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:43:53] local.INFO: TCP Data received {"connection_id":112833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:43:53] local.INFO: Processing buffer {"connection_id":112833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:43:53] local.INFO: IMEI packet received {"connection_id":112833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":112833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:43:57] local.INFO: TCP Data received {"connection_id":112833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:43:57] local.INFO: Processing buffer {"connection_id":112833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:43:57] local.INFO: IMEI packet received {"connection_id":112833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":112833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:44:02] local.INFO: TCP Data received {"connection_id":112833,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:02] local.INFO: Processing buffer {"connection_id":112833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:02] local.INFO: IMEI packet received {"connection_id":112833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":112833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:44:03] local.INFO: TCP Data received {"connection_id":112833,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c6de8012d196580071ff250003801312b..."} 
[2026-06-23 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c6de8012d196580071ff250003801312b..."} 
[2026-06-23 18:44:03] local.INFO: Processing buffer {"connection_id":112833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c6de8012d196580071ff250003801312b..."} 
[2026-06-23 18:44:03] local.INFO: Packet analysis {"connection_id":112833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:03] local.INFO: Extracted packet for processing {"connection_id":112833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248404992001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782220353000,"timestamp_ms":1782220353000,"timestamp_seconds":1782220353,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c6de8"} 
[2026-06-23 18:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:44:03] 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-06-23 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 18:44:03] 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-06-23 18:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248404992001,"66":12287,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248404992001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:44:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248404992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":112833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:44:03] local.INFO: GPS data processed {"connection_id":112833,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:44:03] local.INFO: Acknowledgment sent {"connection_id":112833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:44:07] local.INFO: TCP Data received {"connection_id":112833,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49cbff0012d196580071ff250003801312a..."} 
[2026-06-23 18:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49cbff0012d196580071ff250003801312a..."} 
[2026-06-23 18:44:07] local.INFO: Processing buffer {"connection_id":112833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49cbff0012d196580071ff250003801312a..."} 
[2026-06-23 18:44:07] local.INFO: Packet analysis {"connection_id":112833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:07] local.INFO: Extracted packet for processing {"connection_id":112833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248410368001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782220374000,"timestamp_ms":1782220374000,"timestamp_seconds":1782220374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49cbff0"} 
[2026-06-23 18:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:44:07] 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-06-23 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 18:44:07] 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-06-23 18: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-06-23 18:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248410368001,"66":12461,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248410368001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:44:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248410368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":112833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:44:08] local.INFO: GPS data processed {"connection_id":112833,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:44:08] local.INFO: Acknowledgment sent {"connection_id":112833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:44:10] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:44:10] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:44:10] local.INFO: IMEI packet received {"connection_id":111090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":111090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:44:15] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:44:15] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:44:15] local.INFO: IMEI packet received {"connection_id":111090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":111090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:44:16] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:44:16] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:44:16] local.INFO: Packet analysis {"connection_id":111090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:16] local.INFO: Extracted packet for processing {"connection_id":111090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:16] 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-06-23 18:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:44:16] 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-06-23 18:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:44:16] 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-06-23 18:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:44:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":111090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:44:16] local.INFO: GPS data processed {"connection_id":111090,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:44:16] local.INFO: Acknowledgment sent {"connection_id":111090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:44:26] local.INFO: TCP Data received {"connection_id":111091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:26] local.INFO: Processing buffer {"connection_id":111091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:26] local.INFO: IMEI packet received {"connection_id":111091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":111091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:44:28] local.INFO: TCP Data received {"connection_id":111091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:28] local.INFO: Processing buffer {"connection_id":111091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:28] local.INFO: IMEI packet received {"connection_id":111091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":111091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:44:34] local.INFO: TCP Data received {"connection_id":111091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:34] local.INFO: Processing buffer {"connection_id":111091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:44:34] local.INFO: IMEI packet received {"connection_id":111091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":111091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:44:37] local.INFO: TCP Data received {"connection_id":111091,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49d0258012cbd7fc0076b9c800042008532..."} 
[2026-06-23 18:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49d0258012cbd7fc0076b9c800042008532..."} 
[2026-06-23 18:44:37] local.INFO: Processing buffer {"connection_id":111091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49d0258012cbd7fc0076b9c800042008532..."} 
[2026-06-23 18:44:37] local.INFO: Packet analysis {"connection_id":111091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:44:37] local.INFO: Extracted packet for processing {"connection_id":111091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:44:37] local.INFO: GPS Element Parsed {"raw_longitude":750616512,"raw_latitude":124492928,"longitude_deg":75.0616512,"latitude_deg":12.4492928,"altitude":66,"angle":133,"satellites":50,"speed":49,"hex_longitude":"2cbd7fc0","hex_latitude":"076b9c80","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248418048001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321394966855155712,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4799781639742298112,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782220391000,"timestamp_ms":1782220391000,"timestamp_seconds":1782220391,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49d0258"} 
[2026-06-23 18:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:44:37] 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-06-23 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 18:44:37] 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-06-23 18: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-06-23 18:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248418048001,"66":27919,"122":206,"27":54016,"24":49,"16":321394966855155712,"44":-4799781639742298112},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248418048001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321394966855155712,"km_value":321394966855155.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4799781639742298112,"description":"Unknown IO ID 44"} 
[2026-06-23 18:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248418048001,"power":27919,"unknown_122":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4799781639742298112}} 
[2026-06-23 18:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":111091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:44:37] local.INFO: GPS data processed {"connection_id":111091,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:44:37] local.INFO: Acknowledgment sent {"connection_id":111091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:44:47] local.INFO: TCP Data received {"connection_id":111090,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:44:47] local.INFO: Processing buffer {"connection_id":111090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:44:47] local.INFO: Packet analysis {"connection_id":111090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:47] local.INFO: Extracted packet for processing {"connection_id":111090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44: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-06-23 18:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:44:47] 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-06-23 18:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:44:47] 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-06-23 18:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:44:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":111090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:44:47] local.INFO: GPS data processed {"connection_id":111090,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:44:47] local.INFO: Acknowledgment sent {"connection_id":111090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:44:52] local.INFO: TCP Data received {"connection_id":111893,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:52] local.INFO: Processing buffer {"connection_id":111893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:52] local.INFO: IMEI packet received {"connection_id":111893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":111893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:44:56] local.INFO: TCP Data received {"connection_id":111893,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:56] local.INFO: Processing buffer {"connection_id":111893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:44:56] local.INFO: IMEI packet received {"connection_id":111893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":111893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:44:57] local.INFO: TCP Data received {"connection_id":111893,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49d11f8012d196580071ff250003801312c..."} 
[2026-06-23 18:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49d11f8012d196580071ff250003801312c..."} 
[2026-06-23 18:44:57] local.INFO: Processing buffer {"connection_id":111893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49d11f8012d196580071ff250003801312c..."} 
[2026-06-23 18:44:57] local.INFO: Packet analysis {"connection_id":111893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:44:57] local.INFO: Extracted packet for processing {"connection_id":111893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:44: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-06-23 18:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248415744001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782220395000,"timestamp_ms":1782220395000,"timestamp_seconds":1782220395,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49d11f8"} 
[2026-06-23 18:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:44: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-06-23 18:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248415744001,"66":12428,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248415744001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248415744001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":111893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:44:57] local.INFO: GPS data processed {"connection_id":111893,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:44:57] local.INFO: Acknowledgment sent {"connection_id":111893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:45:09] local.INFO: TCP Data received {"connection_id":111091,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49d2198012cbd9b00076b80900044008d32..."} 
[2026-06-23 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49d2198012cbd9b00076b80900044008d32..."} 
[2026-06-23 18:45:09] local.INFO: Processing buffer {"connection_id":111091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49d2198012cbd9b00076b80900044008d32..."} 
[2026-06-23 18:45:09] local.INFO: Packet analysis {"connection_id":111091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:45:09] local.INFO: Extracted packet for processing {"connection_id":111091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":750623488,"raw_latitude":124485776,"longitude_deg":75.0623488,"latitude_deg":12.4485776,"altitude":68,"angle":141,"satellites":50,"speed":49,"hex_longitude":"2cbd9b00","hex_latitude":"076b8090","is_valid_coordinates":true} 
[2026-06-23 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248420096001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321395443596525568,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4791900340396195840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782220399000,"timestamp_ms":1782220399000,"timestamp_seconds":1782220399,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49d2198"} 
[2026-06-23 18:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 18:45:09] 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-06-23 18:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248420096001,"66":27865,"122":206,"27":54016,"24":49,"16":321395443596525568,"44":-4791900340396195840},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248420096001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321395443596525568,"km_value":321395443596525.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:45:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4791900340396195840,"description":"Unknown IO ID 44"} 
[2026-06-23 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248420096001,"power":27865,"unknown_122":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4791900340396195840}} 
[2026-06-23 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":111091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:45:09] local.INFO: GPS data processed {"connection_id":111091,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:45:09] local.INFO: Acknowledgment sent {"connection_id":111091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:45:10] local.INFO: TCP Data received {"connection_id":112835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:45:10] local.INFO: Processing buffer {"connection_id":112835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:45:10] local.INFO: IMEI packet received {"connection_id":112835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":112835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:45:15] local.INFO: TCP Data received {"connection_id":112835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:45:15] local.INFO: Processing buffer {"connection_id":112835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:45:15] local.INFO: IMEI packet received {"connection_id":112835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":112835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:45:16] local.INFO: TCP Data received {"connection_id":112835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:45:16] local.INFO: Processing buffer {"connection_id":112835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:45:16] local.INFO: Packet analysis {"connection_id":112835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:45:16] local.INFO: Extracted packet for processing {"connection_id":112835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:16] 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-06-23 18:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:45:16] 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-06-23 18:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:45:16] 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-06-23 18:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:45:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":112835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:45:16] local.INFO: GPS data processed {"connection_id":112835,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:45:16] local.INFO: Acknowledgment sent {"connection_id":112835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:45:22] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:22] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:22] local.INFO: IMEI packet received {"connection_id":111092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":111092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:45:23] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:23] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:23] local.INFO: IMEI packet received {"connection_id":111092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:45:28] local.INFO: TCP Data received {"connection_id":111893,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49d6400012d196580071ff250003801312b..."} 
[2026-06-23 18:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49d6400012d196580071ff250003801312b..."} 
[2026-06-23 18:45:28] local.INFO: Processing buffer {"connection_id":111893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49d6400012d196580071ff250003801312b..."} 
[2026-06-23 18:45:28] local.INFO: Packet analysis {"connection_id":111893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:45:28] local.INFO: Extracted packet for processing {"connection_id":111893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248421120001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782220416000,"timestamp_ms":1782220416000,"timestamp_seconds":1782220416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49d6400"} 
[2026-06-23 18:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:45:28] 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-06-23 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:45:28] 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-06-23 18: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-06-23 18:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248421120001,"66":12461,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248421120001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248421120001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":111893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:45:28] local.INFO: GPS data processed {"connection_id":111893,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:45:28] local.INFO: Acknowledgment sent {"connection_id":111893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:45:29] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:29] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:45:29] local.INFO: IMEI packet received {"connection_id":111092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":111092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:45:31] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49e36f0012cbdd500076a1610004a00a632..."} 
[2026-06-23 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49e36f0012cbdd500076a1610004a00a632..."} 
[2026-06-23 18:45:31] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49e36f0012cbdd500076a1610004a00a632..."} 
[2026-06-23 18:45:31] local.INFO: Packet analysis {"connection_id":111092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:45:31] local.INFO: Extracted packet for processing {"connection_id":111092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":750638336,"raw_latitude":124392976,"longitude_deg":75.0638336,"latitude_deg":12.4392976,"altitude":74,"angle":166,"satellites":50,"speed":53,"hex_longitude":"2cbdd500","hex_latitude":"076a1610","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248438528001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321400090751139840,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4770156398468485120,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782220470000,"timestamp_ms":1782220470000,"timestamp_seconds":1782220470,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49e36f0"} 
[2026-06-23 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-06-23 18:45:31] 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-06-23 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 18:45:31] 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-06-23 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-06-23 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-06-23 18:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248438528001,"66":28006,"122":206,"27":54016,"24":53,"16":321400090751139840,"44":-4770156398468485120},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248438528001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:45:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:45:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321400090751139840,"km_value":321400090751139.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4770156398468485120,"description":"Unknown IO ID 44"} 
[2026-06-23 18:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248438528001,"power":28006,"unknown_122":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4770156398468485120}} 
[2026-06-23 18:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":111092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:45:31] local.INFO: GPS data processed {"connection_id":111092,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:45:31] local.INFO: Acknowledgment sent {"connection_id":111092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:45:47] local.INFO: TCP Data received {"connection_id":112835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:45:47] local.INFO: Processing buffer {"connection_id":112835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:45:47] local.INFO: Packet analysis {"connection_id":112835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:45:47] local.INFO: Extracted packet for processing {"connection_id":112835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45: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-06-23 18:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:45: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-06-23 18:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:45:47] 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-06-23 18:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:45:47] 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-06-23 18:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:45:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":112835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:45:47] local.INFO: GPS data processed {"connection_id":112835,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:45:47] local.INFO: Acknowledgment sent {"connection_id":112835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:45:52] local.INFO: TCP Data received {"connection_id":111268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:45:52] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:45:52] local.INFO: IMEI packet received {"connection_id":111268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":111268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:45:57] local.INFO: TCP Data received {"connection_id":111268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:45:57] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:45:57] local.INFO: IMEI packet received {"connection_id":111268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":111268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:45:58] local.INFO: TCP Data received {"connection_id":111268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49db608012d196580071ff250003801312b..."} 
[2026-06-23 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49db608012d196580071ff250003801312b..."} 
[2026-06-23 18:45:58] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49db608012d196580071ff250003801312b..."} 
[2026-06-23 18:45:58] local.INFO: Packet analysis {"connection_id":111268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:45:58] local.INFO: Extracted packet for processing {"connection_id":111268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49d"} 
[2026-06-23 18:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248426496001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:45: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-06-23 18:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220437000,"timestamp_ms":1782220437000,"timestamp_seconds":1782220437,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49db608"} 
[2026-06-23 18:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248426496001,"66":12461,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248426496001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:45:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248426496001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":111268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:45:58] local.INFO: GPS data processed {"connection_id":111268,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:45:58] local.INFO: Acknowledgment sent {"connection_id":111268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:03] local.INFO: TCP Data received {"connection_id":111092,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49e5248012cbddd800769f1d0004a00a832..."} 
[2026-06-23 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49e5248012cbddd800769f1d0004a00a832..."} 
[2026-06-23 18:46:03] local.INFO: Processing buffer {"connection_id":111092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49e5248012cbddd800769f1d0004a00a832..."} 
[2026-06-23 18:46:03] local.INFO: Packet analysis {"connection_id":111092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:03] local.INFO: Extracted packet for processing {"connection_id":111092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":750640512,"raw_latitude":124383696,"longitude_deg":75.0640512,"latitude_deg":12.4383696,"altitude":74,"angle":168,"satellites":50,"speed":54,"hex_longitude":"2cbddd80","hex_latitude":"0769f1d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248440320001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321400550312640512,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4767904598657200128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782220477000,"timestamp_ms":1782220477000,"timestamp_seconds":1782220477,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49e5248"} 
[2026-06-23 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-06-23 18:46:03] 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-06-23 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:03] 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-06-23 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-06-23 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-06-23 18:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248440320001,"66":28006,"122":206,"27":54016,"24":54,"16":321400550312640512,"44":-4767904598657200128},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248440320001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:46:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321400550312640512,"km_value":321400550312640.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4767904598657200128,"description":"Unknown IO ID 44"} 
[2026-06-23 18:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248440320001,"power":28006,"unknown_122":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4767904598657200128}} 
[2026-06-23 18:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":111092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:03] local.INFO: GPS data processed {"connection_id":111092,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:03] local.INFO: Acknowledgment sent {"connection_id":111092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:10] local.INFO: TCP Data received {"connection_id":111894,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:46:10] local.INFO: Processing buffer {"connection_id":111894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:46:10] local.INFO: IMEI packet received {"connection_id":111894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":111894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:46:15] local.INFO: TCP Data received {"connection_id":111894,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:46:15] local.INFO: Processing buffer {"connection_id":111894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:46:15] local.INFO: IMEI packet received {"connection_id":111894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":111894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:46:15] local.INFO: TCP Data received {"connection_id":111894,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:46:15] local.INFO: Processing buffer {"connection_id":111894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:46:15] local.INFO: Packet analysis {"connection_id":111894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:46:15] local.INFO: Extracted packet for processing {"connection_id":111894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:15] 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-06-23 18:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:15] 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-06-23 18:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":111894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:16] local.INFO: GPS data processed {"connection_id":111894,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:16] local.INFO: Acknowledgment sent {"connection_id":111894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:22] local.INFO: TCP Data received {"connection_id":111895,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:22] local.INFO: Processing buffer {"connection_id":111895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:22] local.INFO: IMEI packet received {"connection_id":111895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":111895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:46:25] local.INFO: TCP Data received {"connection_id":111895,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:25] local.INFO: Processing buffer {"connection_id":111895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:25] local.INFO: IMEI packet received {"connection_id":111895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":111895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:46:28] local.INFO: TCP Data received {"connection_id":111895,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:28] local.INFO: Processing buffer {"connection_id":111895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:46:28] local.INFO: IMEI packet received {"connection_id":111895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":111895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:46:29] local.INFO: TCP Data received {"connection_id":111268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49e0810012d196580071ff250003801312b..."} 
[2026-06-23 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49e0810012d196580071ff250003801312b..."} 
[2026-06-23 18:46:29] local.INFO: Processing buffer {"connection_id":111268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49e0810012d196580071ff250003801312b..."} 
[2026-06-23 18:46:29] local.INFO: Packet analysis {"connection_id":111268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:29] local.INFO: Extracted packet for processing {"connection_id":111268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:46: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-06-23 18:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248431872001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220458000,"timestamp_ms":1782220458000,"timestamp_seconds":1782220458,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49e0810"} 
[2026-06-23 18:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:46: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":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:29] 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-06-23 18:46: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-06-23 18:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248431872001,"66":12461,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248431872001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248431872001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":111268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:29] local.INFO: GPS data processed {"connection_id":111268,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:29] local.INFO: Acknowledgment sent {"connection_id":111268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:31] local.INFO: TCP Data received {"connection_id":111895,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49e6da0012cbde5800769cbf8004800a731..."} 
[2026-06-23 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49e6da0012cbde5800769cbf8004800a731..."} 
[2026-06-23 18:46:31] local.INFO: Processing buffer {"connection_id":111895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49e6da0012cbde5800769cbf8004800a731..."} 
[2026-06-23 18:46:31] local.INFO: Packet analysis {"connection_id":111895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:31] local.INFO: Extracted packet for processing {"connection_id":111895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:31] local.INFO: GPS Element Parsed {"raw_longitude":750642560,"raw_latitude":124374008,"longitude_deg":75.064256,"latitude_deg":12.4374008,"altitude":72,"angle":167,"satellites":49,"speed":57,"hex_longitude":"2cbde580","hex_latitude":"0769cbf8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248442112001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321401031348977664,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4765512061357535232,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782220484000,"timestamp_ms":1782220484000,"timestamp_seconds":1782220484,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49e6da0"} 
[2026-06-23 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-06-23 18:46:31] 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-06-23 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:31] 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-06-23 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-06-23 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-06-23 18:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248442112001,"66":27919,"122":206,"27":54016,"24":57,"16":321401031348977664,"44":-4765512061357535232},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248442112001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:46:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321401031348977664,"km_value":321401031348977.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4765512061357535232,"description":"Unknown IO ID 44"} 
[2026-06-23 18:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248442112001,"power":27919,"unknown_122":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4765512061357535232}} 
[2026-06-23 18:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":111895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:31] local.INFO: GPS data processed {"connection_id":111895,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:31] local.INFO: Acknowledgment sent {"connection_id":111895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:32] local.INFO: TCP Data received {"connection_id":111895,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49e88f8012cbdee800769a470004600a632..."} 
[2026-06-23 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49e88f8012cbdee800769a470004600a632..."} 
[2026-06-23 18:46:32] local.INFO: Processing buffer {"connection_id":111895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49e88f8012cbdee800769a470004600a632..."} 
[2026-06-23 18:46:32] local.INFO: Packet analysis {"connection_id":111895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:32] local.INFO: Extracted packet for processing {"connection_id":111895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:32] local.INFO: GPS Element Parsed {"raw_longitude":750644864,"raw_latitude":124363888,"longitude_deg":75.0644864,"latitude_deg":12.4363888,"altitude":70,"angle":166,"satellites":50,"speed":59,"hex_longitude":"2cbdee80","hex_latitude":"0769a470","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248443904001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321401533860151296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4763260261546330112,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782220491000,"timestamp_ms":1782220491000,"timestamp_seconds":1782220491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49e88f8"} 
[2026-06-23 18:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:46:32] 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-06-23 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:32] 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-06-23 18: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-06-23 18:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248443904001,"66":27876,"122":206,"27":54016,"24":59,"16":321401533860151296,"44":-4763260261546330112},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248443904001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:46:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321401533860151296,"km_value":321401533860151.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4763260261546330112,"description":"Unknown IO ID 44"} 
[2026-06-23 18:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248443904001,"power":27876,"unknown_122":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-4763260261546330112}} 
[2026-06-23 18:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":111895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:32] local.INFO: GPS data processed {"connection_id":111895,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:32] local.INFO: Acknowledgment sent {"connection_id":111895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:47] local.INFO: TCP Data received {"connection_id":111894,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:46:47] local.INFO: Processing buffer {"connection_id":111894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:46:47] local.INFO: Packet analysis {"connection_id":111894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:46:47] local.INFO: Extracted packet for processing {"connection_id":111894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46: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-06-23 18:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:47] 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-06-23 18:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:46: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-06-23 18:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":111894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:47] local.INFO: GPS data processed {"connection_id":111894,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:47] local.INFO: Acknowledgment sent {"connection_id":111894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:46:52] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:46:52] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:46:52] local.INFO: IMEI packet received {"connection_id":111094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":111094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:46:57] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:46:57] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:46:57] local.INFO: IMEI packet received {"connection_id":111094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":111094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:46:57] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49e5a18012d196580071ff250003801312b..."} 
[2026-06-23 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49e5a18012d196580071ff250003801312b..."} 
[2026-06-23 18:46:57] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49e5a18012d196580071ff250003801312b..."} 
[2026-06-23 18:46:57] local.INFO: Packet analysis {"connection_id":111094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:57] local.INFO: Extracted packet for processing {"connection_id":111094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248437248001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782220479000,"timestamp_ms":1782220479000,"timestamp_seconds":1782220479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49e5a18"} 
[2026-06-23 18:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248437248001,"66":12385,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248437248001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248437248001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":111094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:46:58] local.INFO: GPS data processed {"connection_id":111094,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:46:58] local.INFO: Acknowledgment sent {"connection_id":111094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:47:04] local.INFO: TCP Data received {"connection_id":111895,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49ea068012cbdf840076982c80046009e31..."} 
[2026-06-23 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49ea068012cbdf840076982c80046009e31..."} 
[2026-06-23 18:47:04] local.INFO: Processing buffer {"connection_id":111895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49ea068012cbdf840076982c80046009e31..."} 
[2026-06-23 18:47:04] local.INFO: Packet analysis {"connection_id":111895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:47:04] local.INFO: Extracted packet for processing {"connection_id":111895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:47:04] local.INFO: GPS Element Parsed {"raw_longitude":750647360,"raw_latitude":124355272,"longitude_deg":75.064736,"latitude_deg":12.4355272,"altitude":70,"angle":158,"satellites":49,"speed":58,"hex_longitude":"2cbdf840","hex_latitude":"076982c8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248445696001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321401967651848192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4760726986758524928,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782220497000,"timestamp_ms":1782220497000,"timestamp_seconds":1782220497,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49ea068"} 
[2026-06-23 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-06-23 18:47:04] 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-06-23 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:47:04] 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-06-23 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-06-23 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-06-23 18:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248445696001,"66":27908,"122":206,"27":54016,"24":58,"16":321401967651848192,"44":-4760726986758524928},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-06-23 18:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248445696001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:47:04] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-23 18:47:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321401967651848192,"km_value":321401967651848.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4760726986758524928,"description":"Unknown IO ID 44"} 
[2026-06-23 18:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248445696001,"power":27908,"unknown_122":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4760726986758524928}} 
[2026-06-23 18:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":111895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:47:04] local.INFO: GPS data processed {"connection_id":111895,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:47:04] local.INFO: Acknowledgment sent {"connection_id":111895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:47:10] local.INFO: TCP Data received {"connection_id":112837,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:47:10] local.INFO: Processing buffer {"connection_id":112837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:47:10] local.INFO: IMEI packet received {"connection_id":112837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":112837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:47:15] local.INFO: TCP Data received {"connection_id":112837,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:47:15] local.INFO: Processing buffer {"connection_id":112837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:47:15] local.INFO: IMEI packet received {"connection_id":112837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":112837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:47:16] local.INFO: TCP Data received {"connection_id":112837,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:47:16] local.INFO: Processing buffer {"connection_id":112837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49c23b0012d7e380005d34de8000300242b..."} 
[2026-06-23 18:47:16] local.INFO: Packet analysis {"connection_id":112837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:47:16] local.INFO: Extracted packet for processing {"connection_id":112837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49c"} 
[2026-06-23 18:47:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248328448001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:16] 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-06-23 18:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220334000,"timestamp_ms":1782220334000,"timestamp_seconds":1782220334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49c23b0"} 
[2026-06-23 18:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:47:16] 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-06-23 18:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248328448001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248328448001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:47:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248328448001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":112837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:47:16] local.INFO: GPS data processed {"connection_id":112837,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:47:16] local.INFO: Acknowledgment sent {"connection_id":112837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:47:23] local.INFO: TCP Data received {"connection_id":111269,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:47:23] local.INFO: Processing buffer {"connection_id":111269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:47:23] local.INFO: IMEI packet received {"connection_id":111269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":111269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:47:28] local.INFO: TCP Data received {"connection_id":111269,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:47:28] local.INFO: Processing buffer {"connection_id":111269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:47:28] local.INFO: IMEI packet received {"connection_id":111269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":111269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:47:28] local.INFO: TCP Data received {"connection_id":111094,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49eac20012d196580071ff250003801312d..."} 
[2026-06-23 18:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49eac20012d196580071ff250003801312d..."} 
[2026-06-23 18:47:28] local.INFO: Processing buffer {"connection_id":111094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49eac20012d196580071ff250003801312d..."} 
[2026-06-23 18:47:28] local.INFO: Packet analysis {"connection_id":111094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:47:28] local.INFO: Extracted packet for processing {"connection_id":111094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248442624001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782220500000,"timestamp_ms":1782220500000,"timestamp_seconds":1782220500,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49eac20"} 
[2026-06-23 18:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:47:28] 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-06-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248442624001,"66":12461,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248442624001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248442624001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":111094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:47:28] local.INFO: GPS data processed {"connection_id":111094,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:47:28] local.INFO: Acknowledgment sent {"connection_id":111094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:47:29] local.INFO: TCP Data received {"connection_id":111269,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49ffc10012cbf24c00768a820004f006d31..."} 
[2026-06-23 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49ffc10012cbf24c00768a820004f006d31..."} 
[2026-06-23 18:47:29] local.INFO: Processing buffer {"connection_id":111269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49ffc10012cbf24c00768a820004f006d31..."} 
[2026-06-23 18:47:29] local.INFO: Packet analysis {"connection_id":111269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:47:29] local.INFO: Extracted packet for processing {"connection_id":111269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:47:29] local.INFO: GPS Element Parsed {"raw_longitude":750724288,"raw_latitude":124299296,"longitude_deg":75.0724288,"latitude_deg":12.4299296,"altitude":79,"angle":109,"satellites":49,"speed":27,"hex_longitude":"2cbf24c0","hex_latitude":"0768a820","is_valid_coordinates":true} 
[2026-06-23 18:47: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-06-23 18:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248466432001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321406687820906496,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4683391736923195392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220586000,"timestamp_ms":1782220586000,"timestamp_seconds":1782220586,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49ffc10"} 
[2026-06-23 18:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:47:29] 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-06-23 18:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:47: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-06-23 18:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248466432001,"66":27984,"121":206,"27":54016,"24":27,"16":321406687820906496,"44":-4683391736923195392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-06-23 18:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248466432001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:47:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-23 18:47:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321406687820906496,"km_value":321406687820906.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4683391736923195392,"description":"Unknown IO ID 44"} 
[2026-06-23 18:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248466432001,"power":27984,"unknown_121":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-4683391736923195392}} 
[2026-06-23 18:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":111269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:47:29] local.INFO: GPS data processed {"connection_id":111269,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:47:29] local.INFO: Acknowledgment sent {"connection_id":111269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:47:46] local.INFO: TCP Data received {"connection_id":112837,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:47:46] local.INFO: Processing buffer {"connection_id":112837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:47:46] local.INFO: Packet analysis {"connection_id":112837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:47:46] local.INFO: Extracted packet for processing {"connection_id":112837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47: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-06-23 18:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:47:46] 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-06-23 18:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:47:46] 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-06-23 18:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:47:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:47:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":112837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:47:47] local.INFO: GPS data processed {"connection_id":112837,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:47:47] local.INFO: Acknowledgment sent {"connection_id":112837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:47:52] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:47:52] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:47:52] local.INFO: IMEI packet received {"connection_id":111095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":111095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:47:57] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:47:57] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:47:57] local.INFO: IMEI packet received {"connection_id":111095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":111095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:47:58] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49efe28012d196580071ff250003801312a..."} 
[2026-06-23 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49efe28012d196580071ff250003801312a..."} 
[2026-06-23 18:47:58] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49efe28012d196580071ff250003801312a..."} 
[2026-06-23 18:47:58] local.INFO: Packet analysis {"connection_id":111095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:47:58] local.INFO: Extracted packet for processing {"connection_id":111095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49e"} 
[2026-06-23 18:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248448000001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:47: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-06-23 18:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220521000,"timestamp_ms":1782220521000,"timestamp_seconds":1782220521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49efe28"} 
[2026-06-23 18:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248448000001,"66":12385,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248448000001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:47:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248448000001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":111095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:47:58] local.INFO: GPS data processed {"connection_id":111095,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:47:58] local.INFO: Acknowledgment sent {"connection_id":111095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:48:01] local.INFO: TCP Data received {"connection_id":111269,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a02ed8012cbf464007689920004e007831..."} 
[2026-06-23 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a02ed8012cbf464007689920004e007831..."} 
[2026-06-23 18:48:01] local.INFO: Processing buffer {"connection_id":111269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a02ed8012cbf464007689920004e007831..."} 
[2026-06-23 18:48:01] local.INFO: Packet analysis {"connection_id":111269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:01] local.INFO: Extracted packet for processing {"connection_id":111269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":750732864,"raw_latitude":124295456,"longitude_deg":75.0732864,"latitude_deg":12.4295456,"altitude":78,"angle":120,"satellites":49,"speed":30,"hex_longitude":"2cbf4640","hex_latitude":"07689920","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248470016001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321407138792472576,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4673399375250579456,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782220599000,"timestamp_ms":1782220599000,"timestamp_seconds":1782220599,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a02ed8"} 
[2026-06-23 18:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:48:01] 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-06-23 18: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-23 18:48:01] 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-06-23 18: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-06-23 18:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248470016001,"66":27930,"121":206,"27":54016,"24":30,"16":321407138792472576,"44":-4673399375250579456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-06-23 18:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248470016001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321407138792472576,"km_value":321407138792472.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4673399375250579456,"description":"Unknown IO ID 44"} 
[2026-06-23 18:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248470016001,"power":27930,"unknown_121":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4673399375250579456}} 
[2026-06-23 18:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":111269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:48:01] local.INFO: GPS data processed {"connection_id":111269,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:48:01] local.INFO: Acknowledgment sent {"connection_id":111269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:48:10] local.INFO: TCP Data received {"connection_id":111096,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:48:10] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:48:10] local.INFO: IMEI packet received {"connection_id":111096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":111096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:48:15] local.INFO: TCP Data received {"connection_id":111096,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:48:15] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:48:15] local.INFO: IMEI packet received {"connection_id":111096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":111096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:48:16] local.INFO: TCP Data received {"connection_id":111096,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:48:16] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:48:16] local.INFO: Packet analysis {"connection_id":111096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:16] local.INFO: Extracted packet for processing {"connection_id":111096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:16] 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-06-23 18:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:48:16] 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-06-23 18:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:48:16] 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-06-23 18:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:48:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":111096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:48:16] local.INFO: GPS data processed {"connection_id":111096,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:48:16] local.INFO: Acknowledgment sent {"connection_id":111096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:48:23] local.INFO: TCP Data received {"connection_id":111896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:23] local.INFO: Processing buffer {"connection_id":111896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:23] local.INFO: IMEI packet received {"connection_id":111896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":111896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:48:27] local.INFO: TCP Data received {"connection_id":111896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:27] local.INFO: Processing buffer {"connection_id":111896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:27] local.INFO: IMEI packet received {"connection_id":111896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":111896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:48:28] local.INFO: TCP Data received {"connection_id":111896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:28] local.INFO: Processing buffer {"connection_id":111896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:48:28] local.INFO: IMEI packet received {"connection_id":111896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":111896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:48:28] local.INFO: TCP Data received {"connection_id":111095,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49f5030012d196580071ff250003801312b..."} 
[2026-06-23 18:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49f5030012d196580071ff250003801312b..."} 
[2026-06-23 18:48:28] local.INFO: Processing buffer {"connection_id":111095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49f5030012d196580071ff250003801312b..."} 
[2026-06-23 18:48:28] local.INFO: Packet analysis {"connection_id":111095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:48:28] local.INFO: Extracted packet for processing {"connection_id":111095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248453376001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782220542000,"timestamp_ms":1782220542000,"timestamp_seconds":1782220542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49f5030"} 
[2026-06-23 18:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:48:28] 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-06-23 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248453376001,"66":12472,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248453376001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248453376001,"power":12472,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":111095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:48:29] local.INFO: GPS data processed {"connection_id":111095,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:48:29] local.INFO: Acknowledgment sent {"connection_id":111095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:48:30] local.INFO: TCP Data received {"connection_id":111896,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a02ed8012cbf464007689920004e007831..."} 
[2026-06-23 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a02ed8012cbf464007689920004e007831..."} 
[2026-06-23 18:48:30] local.INFO: Processing buffer {"connection_id":111896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a02ed8012cbf464007689920004e007831..."} 
[2026-06-23 18:48:30] local.INFO: Packet analysis {"connection_id":111896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:30] local.INFO: Extracted packet for processing {"connection_id":111896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750732864,"raw_latitude":124295456,"longitude_deg":75.0732864,"latitude_deg":12.4295456,"altitude":78,"angle":120,"satellites":49,"speed":30,"hex_longitude":"2cbf4640","hex_latitude":"07689920","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248473344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321407138792472576,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4663969963531755520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782220599000,"timestamp_ms":1782220599000,"timestamp_seconds":1782220599,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a02ed8"} 
[2026-06-23 18:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:48:30] 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-06-23 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 18:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248473344001,"66":27930,"121":206,"27":54016,"24":30,"16":321407138792472576,"44":-4663969963531755520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-06-23 18:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248473344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:48:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-23 18:48:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321407138792472576,"km_value":321407138792472.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4663969963531755520,"description":"Unknown IO ID 44"} 
[2026-06-23 18:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248473344001,"power":27930,"unknown_121":206,"unknown_27":54016,"ignition":30,"odometer":null,"unknown_44":-4663969963531755520}} 
[2026-06-23 18:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":111896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:48:30] local.INFO: GPS data processed {"connection_id":111896,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:48:30] local.INFO: Acknowledgment sent {"connection_id":111896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:48:31] local.INFO: TCP Data received {"connection_id":111270,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:48:31] local.INFO: Processing buffer {"connection_id":111270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:48:31] local.INFO: IMEI packet received {"connection_id":111270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":111270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:48:47] local.INFO: TCP Data received {"connection_id":111096,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:48:47] local.INFO: Processing buffer {"connection_id":111096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:48:47] local.INFO: Packet analysis {"connection_id":111096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:47] local.INFO: Extracted packet for processing {"connection_id":111096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48: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-06-23 18:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:48:47] 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-06-23 18:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:48:47] 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-06-23 18:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:48: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-06-23 18:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:48:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":111096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:48:47] local.INFO: GPS data processed {"connection_id":111096,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:48:47] local.INFO: Acknowledgment sent {"connection_id":111096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:48:52] local.INFO: TCP Data received {"connection_id":112838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:52] local.INFO: Processing buffer {"connection_id":112838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:52] local.INFO: IMEI packet received {"connection_id":112838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":112838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:48:53] local.INFO: TCP Data received {"connection_id":112838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:53] local.INFO: Processing buffer {"connection_id":112838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:53] local.INFO: IMEI packet received {"connection_id":112838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":112838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:48:57] local.INFO: TCP Data received {"connection_id":112838,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:57] local.INFO: Processing buffer {"connection_id":112838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:48:57] local.INFO: IMEI packet received {"connection_id":112838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":112838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:48:58] local.INFO: TCP Data received {"connection_id":112838,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49fa238012d196580071ff250003801312a..."} 
[2026-06-23 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49fa238012d196580071ff250003801312a..."} 
[2026-06-23 18:48:58] local.INFO: Processing buffer {"connection_id":112838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49fa238012d196580071ff250003801312a..."} 
[2026-06-23 18:48:58] local.INFO: Packet analysis {"connection_id":112838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:48:58] local.INFO: Extracted packet for processing {"connection_id":112838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119534160,"longitude_deg":75.6639104,"latitude_deg":11.953416,"altitude":56,"angle":305,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-06-23 18:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248458752001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867914402791424,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:48: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-06-23 18:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220563000,"timestamp_ms":1782220563000,"timestamp_seconds":1782220563,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49fa238"} 
[2026-06-23 18:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-23 18:48:58] 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-06-23 18:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248458752001,"66":12428,"102":206,"83":41984,"24":0,"16":3867914402791424,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248458752001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:48:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867914402791424,"km_value":3867914402791.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248458752001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":112838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:48:58] local.INFO: GPS data processed {"connection_id":112838,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:48:58] local.INFO: Acknowledgment sent {"connection_id":112838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:01] local.INFO: TCP Data received {"connection_id":111896,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a05db8012cbf64c007688470004d007e30..."} 
[2026-06-23 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a05db8012cbf64c007688470004d007e30..."} 
[2026-06-23 18:49:01] local.INFO: Processing buffer {"connection_id":111896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a05db8012cbf64c007688470004d007e30..."} 
[2026-06-23 18:49:01] local.INFO: Packet analysis {"connection_id":111896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:49:01] local.INFO: Extracted packet for processing {"connection_id":111896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":750740672,"raw_latitude":124290160,"longitude_deg":75.0740672,"latitude_deg":12.429016,"altitude":77,"angle":126,"satellites":48,"speed":33,"hex_longitude":"2cbf64c0","hex_latitude":"07688470","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248473344001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321407585469071360,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4663969963531755520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782220611000,"timestamp_ms":1782220611000,"timestamp_seconds":1782220611,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a05db8"} 
[2026-06-23 18:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:49:01] 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-06-23 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 18:49:01] 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-06-23 18: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-06-23 18:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248473344001,"66":27213,"121":206,"27":54016,"24":33,"16":321407585469071360,"44":-4663969963531755520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-06-23 18:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248473344001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:49:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-23 18:49:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321407585469071360,"km_value":321407585469071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4663969963531755520,"description":"Unknown IO ID 44"} 
[2026-06-23 18:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248473344001,"power":27213,"unknown_121":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-4663969963531755520}} 
[2026-06-23 18:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":111896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:49:01] local.INFO: GPS data processed {"connection_id":111896,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:49:01] local.INFO: Acknowledgment sent {"connection_id":111896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:06] local.INFO: TCP Data received {"connection_id":111271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:06] local.INFO: Processing buffer {"connection_id":111271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:06] local.INFO: IMEI packet received {"connection_id":111271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":111271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:49:10] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:49:10] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:49:10] local.INFO: IMEI packet received {"connection_id":111097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":111097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:49:11] local.INFO: TCP Data received {"connection_id":111271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:11] local.INFO: Processing buffer {"connection_id":111271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:11] local.INFO: IMEI packet received {"connection_id":111271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-23 18:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":111271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:49:12] local.INFO: TCP Data received {"connection_id":111271,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ef490f850012cb2a08007824288004a003b30..."} 
[2026-06-23 18:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef490f850012cb2a08007824288004a003b30..."} 
[2026-06-23 18:49:12] local.INFO: Processing buffer {"connection_id":111271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef490f850012cb2a08007824288004a003b30..."} 
[2026-06-23 18:49:12] local.INFO: Packet analysis {"connection_id":111271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:49:12] local.INFO: Extracted packet for processing {"connection_id":111271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef490"} 
[2026-06-23 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749904000,"raw_latitude":125977224,"longitude_deg":74.9904,"latitude_deg":12.5977224,"altitude":74,"angle":59,"satellites":48,"speed":0,"hex_longitude":"2cb2a080","hex_latitude":"07824288","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248141056001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":127138840212144128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575315568946149376,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782219602000,"timestamp_ms":1782219602000,"timestamp_seconds":1782219602,"priority":1,"record_length":96,"hex_timestamp":"0000019ef490f850"} 
[2026-06-23 18:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:49: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-06-23 18: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-23 18:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":111271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":111271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 18:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":111271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-23 18:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-23 18:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-23 18:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248141056001,"66":25875,"184":206,"85":36096,"24":0,"16":127138840212144128,"44":-5575315568946149376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-06-23 18:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-23 18:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-23 18:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248141056001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:49:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-23 18:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-06-23 18:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":127138840212144128,"km_value":127138840212144.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575315568946149376,"description":"Unknown IO ID 44"} 
[2026-06-23 18:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248141056001,"power":25875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575315568946149376}} 
[2026-06-23 18:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":111271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:49:12] local.INFO: GPS data processed {"connection_id":111271,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:49:12] local.INFO: Acknowledgment sent {"connection_id":111271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:15] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:49:15] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:49:15] local.INFO: IMEI packet received {"connection_id":111097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":111097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:49:16] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:49:16] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:49:16] local.INFO: Packet analysis {"connection_id":111097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:49:16] local.INFO: Extracted packet for processing {"connection_id":111097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:16] 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-06-23 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:49:16] 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-06-23 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:49:16] 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-06-23 18:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:49:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":111097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:49:16] local.INFO: GPS data processed {"connection_id":111097,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:49:16] local.INFO: Acknowledgment sent {"connection_id":111097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:24] local.INFO: TCP Data received {"connection_id":112839,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:24] local.INFO: Processing buffer {"connection_id":112839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:24] local.INFO: IMEI packet received {"connection_id":112839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":112839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:49:28] local.INFO: TCP Data received {"connection_id":112839,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:28] local.INFO: Processing buffer {"connection_id":112839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:28] local.INFO: IMEI packet received {"connection_id":112839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":112839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:49:29] local.INFO: TCP Data received {"connection_id":112838,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef49fb9a8012d196580071feec80042006c2a..."} 
[2026-06-23 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef49fb9a8012d196580071feec80042006c2a..."} 
[2026-06-23 18:49:29] local.INFO: Processing buffer {"connection_id":112838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef49fb9a8012d196580071feec80042006c2a..."} 
[2026-06-23 18:49:29] local.INFO: Packet analysis {"connection_id":112838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:49:29] local.INFO: Extracted packet for processing {"connection_id":112838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef49f"} 
[2026-06-23 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248464128001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685074944,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220569000,"timestamp_ms":1782220569000,"timestamp_seconds":1782220569,"priority":1,"record_length":96,"hex_timestamp":"0000019ef49fb9a8"} 
[2026-06-23 18:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:49:29] 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-06-23 18:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248464128001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591685074944},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248464128001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:49:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685074944,"description":"Unknown IO ID 45"} 
[2026-06-23 18:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248464128001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685074944}} 
[2026-06-23 18:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":112838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:49:29] local.INFO: GPS data processed {"connection_id":112838,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:49:29] local.INFO: Acknowledgment sent {"connection_id":112838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:33] local.INFO: TCP Data received {"connection_id":112839,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:33] local.INFO: Processing buffer {"connection_id":112839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:49:33] local.INFO: IMEI packet received {"connection_id":112839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":112839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:49:35] local.INFO: TCP Data received {"connection_id":112839,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a1d8a0012cc0550007676dc8004b008833..."} 
[2026-06-23 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a1d8a0012cc0550007676dc8004b008833..."} 
[2026-06-23 18:49:35] local.INFO: Processing buffer {"connection_id":112839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a1d8a0012cc0550007676dc8004b008833..."} 
[2026-06-23 18:49:35] local.INFO: Packet analysis {"connection_id":112839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:49:35] local.INFO: Extracted packet for processing {"connection_id":112839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:49:35] local.INFO: GPS Element Parsed {"raw_longitude":750802176,"raw_latitude":124218824,"longitude_deg":75.0802176,"latitude_deg":12.4218824,"altitude":75,"angle":136,"satellites":51,"speed":35,"hex_longitude":"2cc05500","hex_latitude":"07676dc8","is_valid_coordinates":true} 
[2026-06-23 18:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248501248001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321412151019307008,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4587760613606963200,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782220708000,"timestamp_ms":1782220708000,"timestamp_seconds":1782220708,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a1d8a0"} 
[2026-06-23 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-06-23 18:49:35] 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-06-23 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:49:35] 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-06-23 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-06-23 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-06-23 18:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248501248001,"66":27865,"39":206,"27":54016,"24":35,"16":321412151019307008,"44":-4587760613606963200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 18:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248501248001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:49:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 18:49:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321412151019307008,"km_value":321412151019307.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4587760613606963200,"description":"Unknown IO ID 44"} 
[2026-06-23 18:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248501248001,"power":27865,"unknown_39":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4587760613606963200}} 
[2026-06-23 18:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":112839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:49:35] local.INFO: GPS data processed {"connection_id":112839,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:49:35] local.INFO: Acknowledgment sent {"connection_id":112839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:47] local.INFO: TCP Data received {"connection_id":111097,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:49:47] local.INFO: Processing buffer {"connection_id":111097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:49:47] local.INFO: Packet analysis {"connection_id":111097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:49:47] local.INFO: Extracted packet for processing {"connection_id":111097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:49: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-06-23 18:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:49:47] 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-06-23 18:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:49:47] 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-06-23 18:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:49: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-06-23 18:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:49:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":111097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:49:47] local.INFO: GPS data processed {"connection_id":111097,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:49:47] local.INFO: Acknowledgment sent {"connection_id":111097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:49:56] local.INFO: TCP Data received {"connection_id":111272,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:49:56] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:49:56] local.INFO: IMEI packet received {"connection_id":111272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":111272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:49:56] local.INFO: TCP Data received {"connection_id":112840,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:56] local.INFO: Processing buffer {"connection_id":112840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:49:56] local.INFO: IMEI packet received {"connection_id":112840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":112840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:49:57] local.INFO: TCP Data received {"connection_id":111272,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:49:57] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:49:57] local.INFO: IMEI packet received {"connection_id":111272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":111272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:50:02] local.INFO: TCP Data received {"connection_id":111272,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:02] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:02] local.INFO: IMEI packet received {"connection_id":111272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":111272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:50:03] local.INFO: TCP Data received {"connection_id":111272,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a00bb0012d196580071feec80042006c29..."} 
[2026-06-23 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a00bb0012d196580071feec80042006c29..."} 
[2026-06-23 18:50:03] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a00bb0012d196580071feec80042006c29..."} 
[2026-06-23 18:50:03] local.INFO: Packet analysis {"connection_id":111272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:03] local.INFO: Extracted packet for processing {"connection_id":111272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248465664001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782220590000,"timestamp_ms":1782220590000,"timestamp_seconds":1782220590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a00bb0"} 
[2026-06-23 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-06-23 18:50:03] 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-06-23 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:03] 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-06-23 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-06-23 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-06-23 18:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248465664001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248465664001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:50:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248465664001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":111272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:03] local.INFO: GPS data processed {"connection_id":111272,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:03] local.INFO: Acknowledgment sent {"connection_id":111272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:06] local.INFO: TCP Data received {"connection_id":112839,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a1ffb0012cc071c0076753c0004a008033..."} 
[2026-06-23 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a1ffb0012cc071c0076753c0004a008033..."} 
[2026-06-23 18:50:06] local.INFO: Processing buffer {"connection_id":112839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a1ffb0012cc071c0076753c0004a008033..."} 
[2026-06-23 18:50:06] local.INFO: Packet analysis {"connection_id":112839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:50:06] local.INFO: Extracted packet for processing {"connection_id":112839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":750809536,"raw_latitude":124212160,"longitude_deg":75.0809536,"latitude_deg":12.421216,"altitude":74,"angle":128,"satellites":51,"speed":43,"hex_longitude":"2cc071c0","hex_latitude":"076753c0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248501248001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321412627760676864,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4587760613606963200,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782220718000,"timestamp_ms":1782220718000,"timestamp_seconds":1782220718,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a1ffb0"} 
[2026-06-23 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:50: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-06-23 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:06] 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-06-23 18: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-06-23 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248501248001,"66":27908,"39":206,"27":54016,"24":43,"16":321412627760676864,"44":-4587760613606963200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248501248001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 18:50:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321412627760676864,"km_value":321412627760676.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4587760613606963200,"description":"Unknown IO ID 44"} 
[2026-06-23 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248501248001,"power":27908,"unknown_39":206,"unknown_27":54016,"ignition":43,"odometer":null,"unknown_44":-4587760613606963200}} 
[2026-06-23 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":112839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:06] local.INFO: GPS data processed {"connection_id":112839,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:06] local.INFO: Acknowledgment sent {"connection_id":112839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:10] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:50:10] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:50:10] local.INFO: IMEI packet received {"connection_id":111098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":111098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:50:15] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:50:15] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:50:15] local.INFO: IMEI packet received {"connection_id":111098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":111098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:50:16] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:50:16] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:50:16] local.INFO: Packet analysis {"connection_id":111098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:16] local.INFO: Extracted packet for processing {"connection_id":111098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:16] 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-06-23 18:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:50:16] 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-06-23 18:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:16] 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-06-23 18:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":111098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:16] local.INFO: GPS data processed {"connection_id":111098,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:16] local.INFO: Acknowledgment sent {"connection_id":111098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:24] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:24] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:24] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:50:24] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:24] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:24] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:50:28] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:28] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:50:28] local.INFO: IMEI packet received {"connection_id":111099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":111099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:50:29] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a21ef0012cc08fc007673d080049007e32..."} 
[2026-06-23 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a21ef0012cc08fc007673d080049007e32..."} 
[2026-06-23 18:50:29] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a21ef0012cc08fc007673d080049007e32..."} 
[2026-06-23 18:50:29] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:50:29] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":750817216,"raw_latitude":124206344,"longitude_deg":75.0817216,"latitude_deg":12.4206344,"altitude":73,"angle":126,"satellites":50,"speed":49,"hex_longitude":"2cc08fc0","hex_latitude":"07673d08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248503808001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321413087322177536,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4579668208028237824,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220726000,"timestamp_ms":1782220726000,"timestamp_seconds":1782220726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a21ef0"} 
[2026-06-23 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-06-23 18:50:29] 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-06-23 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248503808001,"66":27626,"39":206,"27":54016,"24":49,"16":321413087322177536,"44":-4579668208028237824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248503808001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 18:50:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321413087322177536,"km_value":321413087322177.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4579668208028237824,"description":"Unknown IO ID 44"} 
[2026-06-23 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248503808001,"power":27626,"unknown_39":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4579668208028237824}} 
[2026-06-23 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:29] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:29] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:34] local.INFO: TCP Data received {"connection_id":111272,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a05db8012d196580071feec80042006c2b..."} 
[2026-06-23 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a05db8012d196580071feec80042006c2b..."} 
[2026-06-23 18:50:34] local.INFO: Processing buffer {"connection_id":111272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a05db8012d196580071feec80042006c2b..."} 
[2026-06-23 18:50:34] local.INFO: Packet analysis {"connection_id":111272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:34] local.INFO: Extracted packet for processing {"connection_id":111272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248471040001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50: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-06-23 18:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782220611000,"timestamp_ms":1782220611000,"timestamp_seconds":1782220611,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a05db8"} 
[2026-06-23 18:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18: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-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:50: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-06-23 18: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-06-23 18:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248471040001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248471040001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248471040001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":111272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:34] local.INFO: GPS data processed {"connection_id":111272,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:34] local.INFO: Acknowledgment sent {"connection_id":111272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:35] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a23e30012cc0afc0076726700049007d30..."} 
[2026-06-23 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a23e30012cc0afc0076726700049007d30..."} 
[2026-06-23 18:50:35] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a23e30012cc0afc0076726700049007d30..."} 
[2026-06-23 18:50:35] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:50:35] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:50:35] local.INFO: GPS Element Parsed {"raw_longitude":750825408,"raw_latitude":124200560,"longitude_deg":75.0825408,"latitude_deg":12.420056,"altitude":73,"angle":125,"satellites":48,"speed":49,"hex_longitude":"2cc0afc0","hex_latitude":"07672670","is_valid_coordinates":true} 
[2026-06-23 18:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248505856001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321413568358514688,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4571223958728407040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782220734000,"timestamp_ms":1782220734000,"timestamp_seconds":1782220734,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a23e30"} 
[2026-06-23 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-06-23 18:50:35] 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-06-23 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248505856001,"66":27821,"39":206,"27":54016,"24":49,"16":321413568358514688,"44":-4571223958728407040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 18:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248505856001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 18:50:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321413568358514688,"km_value":321413568358514.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4571223958728407040,"description":"Unknown IO ID 44"} 
[2026-06-23 18:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248505856001,"power":27821,"unknown_39":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4571223958728407040}} 
[2026-06-23 18:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:35] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:35] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:47] local.INFO: TCP Data received {"connection_id":111098,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:50:47] local.INFO: Processing buffer {"connection_id":111098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:50:47] local.INFO: Packet analysis {"connection_id":111098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:47] local.INFO: Extracted packet for processing {"connection_id":111098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50: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-06-23 18:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:50:47] 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-06-23 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:47] 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-06-23 18:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:50: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-06-23 18:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":111098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:47] local.INFO: GPS data processed {"connection_id":111098,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:47] local.INFO: Acknowledgment sent {"connection_id":111098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:50:52] local.INFO: TCP Data received {"connection_id":111897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:52] local.INFO: Processing buffer {"connection_id":111897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:52] local.INFO: IMEI packet received {"connection_id":111897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":111897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:50:57] local.INFO: TCP Data received {"connection_id":111897,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:57] local.INFO: Processing buffer {"connection_id":111897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:50:57] local.INFO: IMEI packet received {"connection_id":111897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":111897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:50:58] local.INFO: TCP Data received {"connection_id":111897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0afc0012d196580071feec80042006c2c..."} 
[2026-06-23 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0afc0012d196580071feec80042006c2c..."} 
[2026-06-23 18:50:58] local.INFO: Processing buffer {"connection_id":111897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0afc0012d196580071feec80042006c2c..."} 
[2026-06-23 18:50:58] local.INFO: Packet analysis {"connection_id":111897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:58] local.INFO: Extracted packet for processing {"connection_id":111897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248476416001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:50: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-06-23 18:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220632000,"timestamp_ms":1782220632000,"timestamp_seconds":1782220632,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0afc0"} 
[2026-06-23 18:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248476416001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248476416001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:50:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248476416001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":111897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:50:58] local.INFO: GPS data processed {"connection_id":111897,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:50:58] local.INFO: Acknowledgment sent {"connection_id":111897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:51:07] local.INFO: TCP Data received {"connection_id":111099,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a25d70012cc0d000076710200049007b31..."} 
[2026-06-23 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a25d70012cc0d000076710200049007b31..."} 
[2026-06-23 18:51:07] local.INFO: Processing buffer {"connection_id":111099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a25d70012cc0d000076710200049007b31..."} 
[2026-06-23 18:51:07] local.INFO: Packet analysis {"connection_id":111099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:51:07] local.INFO: Extracted packet for processing {"connection_id":111099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":750833664,"raw_latitude":124194848,"longitude_deg":75.0833664,"latitude_deg":12.4194848,"altitude":73,"angle":123,"satellites":49,"speed":47,"hex_longitude":"2cc0d000","hex_latitude":"07671020","is_valid_coordinates":true} 
[2026-06-23 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248507904001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321414045099884544,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4562216759475146752,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782220742000,"timestamp_ms":1782220742000,"timestamp_seconds":1782220742,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a25d70"} 
[2026-06-23 18:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:51:07] 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-06-23 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:51:07] 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-06-23 18:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248507904001,"66":27865,"39":206,"27":54016,"24":47,"16":321414045099884544,"44":-4562216759475146752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 18:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248507904001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321414045099884544,"km_value":321414045099884.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4562216759475146752,"description":"Unknown IO ID 44"} 
[2026-06-23 18:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248507904001,"power":27865,"unknown_39":206,"unknown_27":54016,"ignition":47,"odometer":null,"unknown_44":-4562216759475146752}} 
[2026-06-23 18:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":111099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:51:07] local.INFO: GPS data processed {"connection_id":111099,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:51:07] local.INFO: Acknowledgment sent {"connection_id":111099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:51:10] local.INFO: TCP Data received {"connection_id":112841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:51:10] local.INFO: Processing buffer {"connection_id":112841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:51:10] local.INFO: IMEI packet received {"connection_id":112841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":112841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:51:15] local.INFO: TCP Data received {"connection_id":112841,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:51:15] local.INFO: Processing buffer {"connection_id":112841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:51:15] local.INFO: IMEI packet received {"connection_id":112841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":112841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:51:16] local.INFO: TCP Data received {"connection_id":112841,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:51:16] local.INFO: Processing buffer {"connection_id":112841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:51:16] local.INFO: Packet analysis {"connection_id":112841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:51:16] local.INFO: Extracted packet for processing {"connection_id":112841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:16] 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-06-23 18:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:51:16] 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-06-23 18:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:51:16] 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-06-23 18:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:51:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":112841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:51:16] local.INFO: GPS data processed {"connection_id":112841,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:51:16] local.INFO: Acknowledgment sent {"connection_id":112841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:51:23] local.INFO: TCP Data received {"connection_id":111899,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:23] local.INFO: Processing buffer {"connection_id":111899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:23] local.INFO: IMEI packet received {"connection_id":111899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":111899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:51:25] local.INFO: TCP Data received {"connection_id":111899,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:25] local.INFO: Processing buffer {"connection_id":111899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:25] local.INFO: IMEI packet received {"connection_id":111899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":111899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:51:28] local.INFO: TCP Data received {"connection_id":111899,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:28] local.INFO: Processing buffer {"connection_id":111899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:51:28] local.INFO: IMEI packet received {"connection_id":111899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":111899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:51:29] local.INFO: TCP Data received {"connection_id":111897,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a101c8012d196580071feec80042006c2a..."} 
[2026-06-23 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a101c8012d196580071feec80042006c2a..."} 
[2026-06-23 18:51:29] local.INFO: Processing buffer {"connection_id":111897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a101c8012d196580071feec80042006c2a..."} 
[2026-06-23 18:51:29] local.INFO: Packet analysis {"connection_id":111897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:51:29] local.INFO: Extracted packet for processing {"connection_id":111897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:51: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-06-23 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248481792001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220653000,"timestamp_ms":1782220653000,"timestamp_seconds":1782220653,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a101c8"} 
[2026-06-23 18:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:51:29] 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-06-23 18:51: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":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:51:29] 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-06-23 18:51: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-06-23 18:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248481792001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248481792001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248481792001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":111897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:51:29] local.INFO: GPS data processed {"connection_id":111897,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:51:29] local.INFO: Acknowledgment sent {"connection_id":111897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:51:29] local.INFO: TCP Data received {"connection_id":111899,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a28868012cc0eec00766fe08004b007630..."} 
[2026-06-23 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a28868012cc0eec00766fe08004b007630..."} 
[2026-06-23 18:51:29] local.INFO: Processing buffer {"connection_id":111899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a28868012cc0eec00766fe08004b007630..."} 
[2026-06-23 18:51:29] local.INFO: Packet analysis {"connection_id":111899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:51:29] local.INFO: Extracted packet for processing {"connection_id":111899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:51:29] local.INFO: GPS Element Parsed {"raw_longitude":750841536,"raw_latitude":124190216,"longitude_deg":75.0841536,"latitude_deg":12.4190216,"altitude":75,"angle":118,"satellites":48,"speed":28,"hex_longitude":"2cc0eec0","hex_latitude":"0766fe08","is_valid_coordinates":true} 
[2026-06-23 18:51: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-06-23 18:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248509952001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321414478891581440,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4553139191477690368,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220753000,"timestamp_ms":1782220753000,"timestamp_seconds":1782220753,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a28868"} 
[2026-06-23 18:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:51:29] 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-06-23 18:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 18:51:29] 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-06-23 18:51: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-06-23 18:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248509952001,"66":27919,"39":206,"27":54016,"24":28,"16":321414478891581440,"44":-4553139191477690368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,27,24,16,44]} 
[2026-06-23 18:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248509952001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321414478891581440,"km_value":321414478891581.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4553139191477690368,"description":"Unknown IO ID 44"} 
[2026-06-23 18:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248509952001,"power":27919,"unknown_39":206,"unknown_27":54016,"ignition":28,"odometer":null,"unknown_44":-4553139191477690368}} 
[2026-06-23 18:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":111899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:51:29] local.INFO: GPS data processed {"connection_id":111899,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:51:29] local.INFO: Acknowledgment sent {"connection_id":111899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:51:47] local.INFO: TCP Data received {"connection_id":112841,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:51:47] local.INFO: Processing buffer {"connection_id":112841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:51:47] local.INFO: Packet analysis {"connection_id":112841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:51:47] local.INFO: Extracted packet for processing {"connection_id":112841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51: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-06-23 18:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:51:47] 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-06-23 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:51:47] 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-06-23 18:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:51:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":112841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:51:47] local.INFO: GPS data processed {"connection_id":112841,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:51:47] local.INFO: Acknowledgment sent {"connection_id":112841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:51:52] local.INFO: TCP Data received {"connection_id":112842,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:51:52] local.INFO: Processing buffer {"connection_id":112842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:51:52] local.INFO: IMEI packet received {"connection_id":112842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":112842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:51:57] local.INFO: TCP Data received {"connection_id":112842,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:51:57] local.INFO: Processing buffer {"connection_id":112842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:51:57] local.INFO: IMEI packet received {"connection_id":112842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":112842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:51:58] local.INFO: TCP Data received {"connection_id":112842,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a153d0012d196580071feec80042006c2a..."} 
[2026-06-23 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a153d0012d196580071feec80042006c2a..."} 
[2026-06-23 18:51:58] local.INFO: Processing buffer {"connection_id":112842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a153d0012d196580071feec80042006c2a..."} 
[2026-06-23 18:51:58] local.INFO: Packet analysis {"connection_id":112842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:51:58] local.INFO: Extracted packet for processing {"connection_id":112842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248487168001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:51: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-06-23 18:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220674000,"timestamp_ms":1782220674000,"timestamp_seconds":1782220674,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a153d0"} 
[2026-06-23 18:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:51:58] 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-06-23 18:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 18:51:58] 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-06-23 18:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248487168001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248487168001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:51:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248487168001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":112842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:51:58] local.INFO: GPS data processed {"connection_id":112842,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:51:58] local.INFO: Acknowledgment sent {"connection_id":112842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:52:01] local.INFO: TCP Data received {"connection_id":111899,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a45558012cc244000765bf100050008f33..."} 
[2026-06-23 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a45558012cc244000765bf100050008f33..."} 
[2026-06-23 18:52:01] local.INFO: Processing buffer {"connection_id":111899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a45558012cc244000765bf100050008f33..."} 
[2026-06-23 18:52:01] local.INFO: Packet analysis {"connection_id":111899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:52:01] local.INFO: Extracted packet for processing {"connection_id":111899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:52:01] local.INFO: GPS Element Parsed {"raw_longitude":750928896,"raw_latitude":124108560,"longitude_deg":75.0928896,"latitude_deg":12.410856,"altitude":80,"angle":143,"satellites":51,"speed":39,"hex_longitude":"2cc24400","hex_latitude":"0765bf10","is_valid_coordinates":true} 
[2026-06-23 18:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248540672001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321420427421286400,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4453637787230625792,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782220871000,"timestamp_ms":1782220871000,"timestamp_seconds":1782220871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a45558"} 
[2026-06-23 18:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:52:01] 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-06-23 18:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:52:01] 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-06-23 18:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248540672001,"66":27843,"37":206,"27":54016,"24":39,"16":321420427421286400,"44":-4453637787230625792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248540672001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:52:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:52:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321420427421286400,"km_value":321420427421286.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4453637787230625792,"description":"Unknown IO ID 44"} 
[2026-06-23 18:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248540672001,"power":27843,"unknown_37":206,"unknown_27":54016,"ignition":39,"odometer":null,"unknown_44":-4453637787230625792}} 
[2026-06-23 18:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":111899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:52:01] local.INFO: GPS data processed {"connection_id":111899,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:52:01] local.INFO: Acknowledgment sent {"connection_id":111899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:52:10] local.INFO: TCP Data received {"connection_id":111100,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:52:10] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:52:10] local.INFO: IMEI packet received {"connection_id":111100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":111100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:52:15] local.INFO: TCP Data received {"connection_id":111100,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:52:15] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:52:15] local.INFO: IMEI packet received {"connection_id":111100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":111100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:52:16] local.INFO: TCP Data received {"connection_id":111100,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:52:16] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a0bb78012d7e380005d34de8000300242c..."} 
[2026-06-23 18:52:16] local.INFO: Packet analysis {"connection_id":111100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:52:16] local.INFO: Extracted packet for processing {"connection_id":111100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a0"} 
[2026-06-23 18:52:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:16] 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-06-23 18:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220635000,"timestamp_ms":1782220635000,"timestamp_seconds":1782220635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a0bb78"} 
[2026-06-23 18:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:52:16] 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-06-23 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:52:16] 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-06-23 18: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-06-23 18:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248405504001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:52:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248405504001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":111100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:52:16] local.INFO: GPS data processed {"connection_id":111100,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:52:16] local.INFO: Acknowledgment sent {"connection_id":111100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:52:23] local.INFO: TCP Data received {"connection_id":111273,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:52:23] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:52:23] local.INFO: IMEI packet received {"connection_id":111273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":111273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:52:28] local.INFO: TCP Data received {"connection_id":111273,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:52:28] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:52:28] local.INFO: IMEI packet received {"connection_id":111273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":111273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:52:28] local.INFO: TCP Data received {"connection_id":112842,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a1a5d8012d196580071feec80042006c2b..."} 
[2026-06-23 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a1a5d8012d196580071feec80042006c2b..."} 
[2026-06-23 18:52:28] local.INFO: Processing buffer {"connection_id":112842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a1a5d8012d196580071feec80042006c2b..."} 
[2026-06-23 18:52:28] local.INFO: Packet analysis {"connection_id":112842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:52:28] local.INFO: Extracted packet for processing {"connection_id":112842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248492544001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782220695000,"timestamp_ms":1782220695000,"timestamp_seconds":1782220695,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a1a5d8"} 
[2026-06-23 18:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:52:28] 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-06-23 18: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-06-23 18:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248492544001,"66":12189,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248492544001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248492544001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":112842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:52:29] local.INFO: GPS data processed {"connection_id":112842,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:52:29] local.INFO: Acknowledgment sent {"connection_id":112842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:52:29] local.INFO: TCP Data received {"connection_id":111273,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a47c68012cc25bc00765a5280051008332..."} 
[2026-06-23 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a47c68012cc25bc00765a5280051008332..."} 
[2026-06-23 18:52:29] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a47c68012cc25bc00765a5280051008332..."} 
[2026-06-23 18:52:29] local.INFO: Packet analysis {"connection_id":111273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:52:29] local.INFO: Extracted packet for processing {"connection_id":111273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":750934976,"raw_latitude":124101928,"longitude_deg":75.0934976,"latitude_deg":12.4101928,"altitude":81,"angle":131,"satellites":50,"speed":35,"hex_longitude":"2cc25bc0","hex_latitude":"0765a528","is_valid_coordinates":true} 
[2026-06-23 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248542976001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321420861212983296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4448430500163416064,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220881000,"timestamp_ms":1782220881000,"timestamp_seconds":1782220881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a47c68"} 
[2026-06-23 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:52:29] 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-06-23 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-23 18:52:29] 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-06-23 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248542976001,"66":27876,"37":206,"27":54016,"24":35,"16":321420861212983296,"44":-4448430500163416064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248542976001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:52:29] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:52:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321420861212983296,"km_value":321420861212983.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4448430500163416064,"description":"Unknown IO ID 44"} 
[2026-06-23 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248542976001,"power":27876,"unknown_37":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4448430500163416064}} 
[2026-06-23 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":111273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:52:29] local.INFO: GPS data processed {"connection_id":111273,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:52:29] local.INFO: Acknowledgment sent {"connection_id":111273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:52:47] local.INFO: TCP Data received {"connection_id":111100,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:52:47] local.INFO: Processing buffer {"connection_id":111100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:52:47] local.INFO: Packet analysis {"connection_id":111100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:52:47] local.INFO: Extracted packet for processing {"connection_id":111100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52: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-06-23 18:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 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-06-23 18:52:47] 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-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:52:47] 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-06-23 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-06-23 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-06-23 18:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:52:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:52:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":111100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:52:47] local.INFO: GPS data processed {"connection_id":111100,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:52:47] local.INFO: Acknowledgment sent {"connection_id":111100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:52:52] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:52:52] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:52:52] local.INFO: IMEI packet received {"connection_id":111274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":111274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:52:57] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:52:57] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:52:57] local.INFO: IMEI packet received {"connection_id":111274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":111274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:52:58] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a1f7e0012d196580071feec80042006c2b..."} 
[2026-06-23 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a1f7e0012d196580071feec80042006c2b..."} 
[2026-06-23 18:52:58] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a1f7e0012d196580071feec80042006c2b..."} 
[2026-06-23 18:52:58] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:52:58] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a1"} 
[2026-06-23 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248497920001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220716000,"timestamp_ms":1782220716000,"timestamp_seconds":1782220716,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a1f7e0"} 
[2026-06-23 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:52:58] 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-06-23 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-23 18:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248497920001,"66":12504,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248497920001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:52:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248497920001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:52:58] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:52:58] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:00] local.INFO: TCP Data received {"connection_id":111273,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a47c68012cc25bc00765a5280051008332..."} 
[2026-06-23 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a47c68012cc25bc00765a5280051008332..."} 
[2026-06-23 18:53:00] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a47c68012cc25bc00765a5280051008332..."} 
[2026-06-23 18:53:00] local.INFO: Packet analysis {"connection_id":111273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:53:00] local.INFO: Extracted packet for processing {"connection_id":111273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:53:00] local.INFO: GPS Element Parsed {"raw_longitude":750934976,"raw_latitude":124101928,"longitude_deg":75.0934976,"latitude_deg":12.4101928,"altitude":81,"angle":131,"satellites":50,"speed":35,"hex_longitude":"2cc25bc0","hex_latitude":"0765a528","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248545536001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321420861212983296,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4441745469468235776,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782220881000,"timestamp_ms":1782220881000,"timestamp_seconds":1782220881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a47c68"} 
[2026-06-23 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-06-23 18:53:00] 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-06-23 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 18:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248545536001,"66":27876,"37":206,"27":54016,"24":35,"16":321420861212983296,"44":-4441745469468235776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248545536001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:53:00] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321420861212983296,"km_value":321420861212983.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4441745469468235776,"description":"Unknown IO ID 44"} 
[2026-06-23 18:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248545536001,"power":27876,"unknown_37":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-4441745469468235776}} 
[2026-06-23 18:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":111273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:00] local.INFO: GPS data processed {"connection_id":111273,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:00] local.INFO: Acknowledgment sent {"connection_id":111273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:10] local.INFO: TCP Data received {"connection_id":111901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:53:10] local.INFO: Processing buffer {"connection_id":111901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:53:10] local.INFO: IMEI packet received {"connection_id":111901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":111901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:53:15] local.INFO: TCP Data received {"connection_id":111901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:53:15] local.INFO: Processing buffer {"connection_id":111901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:53:15] local.INFO: IMEI packet received {"connection_id":111901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":111901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:53:15] local.INFO: TCP Data received {"connection_id":111901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:15] local.INFO: Processing buffer {"connection_id":111901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:15] local.INFO: Packet analysis {"connection_id":111901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:53:15] local.INFO: Extracted packet for processing {"connection_id":111901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:15] 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-06-23 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:53:15] 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-06-23 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:15] 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-06-23 18: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-06-23 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":111901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:15] local.INFO: GPS data processed {"connection_id":111901,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:15] local.INFO: Acknowledgment sent {"connection_id":111901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:20] local.INFO: TCP Data received {"connection_id":111901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:20] local.INFO: Processing buffer {"connection_id":111901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:20] local.INFO: Packet analysis {"connection_id":111901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:53:20] local.INFO: Extracted packet for processing {"connection_id":111901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:20] 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-06-23 18:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 18:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:20] 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-06-23 18:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":111901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":111901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":111901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":111901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:20] local.INFO: GPS data processed {"connection_id":111901,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:20] local.INFO: Acknowledgment sent {"connection_id":111901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:23] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:53:23] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:53:23] local.INFO: IMEI packet received {"connection_id":111275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":111275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:53:28] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:53:28] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:53:28] local.INFO: IMEI packet received {"connection_id":111275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":111275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:53:29] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a249e8012d196580071feec80042006c2a..."} 
[2026-06-23 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a249e8012d196580071feec80042006c2a..."} 
[2026-06-23 18:53:29] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a249e8012d196580071feec80042006c2a..."} 
[2026-06-23 18:53:29] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:53:29] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:53: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-06-23 18:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248503296001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220737000,"timestamp_ms":1782220737000,"timestamp_seconds":1782220737,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a249e8"} 
[2026-06-23 18:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:53:29] 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-06-23 18:53: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":216,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:29] 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-06-23 18:53: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-06-23 18:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248503296001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248503296001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248503296001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:29] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:29] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:31] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a4a378012cc2764007658dc00053008431..."} 
[2026-06-23 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a4a378012cc2764007658dc00053008431..."} 
[2026-06-23 18:53:31] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a4a378012cc2764007658dc00053008431..."} 
[2026-06-23 18:53:31] local.INFO: Packet analysis {"connection_id":111275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:53:31] local.INFO: Extracted packet for processing {"connection_id":111275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a4"} 
[2026-06-23 18:53:31] local.INFO: GPS Element Parsed {"raw_longitude":750941760,"raw_latitude":124095936,"longitude_deg":75.094176,"latitude_deg":12.4095936,"altitude":83,"angle":132,"satellites":49,"speed":34,"hex_longitude":"2cc27640","hex_latitude":"07658dc0","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248545536001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321421295004680192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4441745469468235776,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782220891000,"timestamp_ms":1782220891000,"timestamp_seconds":1782220891,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a4a378"} 
[2026-06-23 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-06-23 18:53:31] 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-06-23 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:31] 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-06-23 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-06-23 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-06-23 18:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248545536001,"66":27821,"37":206,"27":54016,"24":34,"16":321421295004680192,"44":-4441745469468235776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-06-23 18:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248545536001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:31] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-23 18:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321421295004680192,"km_value":321421295004680.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4441745469468235776,"description":"Unknown IO ID 44"} 
[2026-06-23 18:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248545536001,"power":27821,"unknown_37":206,"unknown_27":54016,"ignition":34,"odometer":null,"unknown_44":-4441745469468235776}} 
[2026-06-23 18:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":111275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:31] local.INFO: GPS data processed {"connection_id":111275,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:31] local.INFO: Acknowledgment sent {"connection_id":111275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:51] local.INFO: TCP Data received {"connection_id":111901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:51] local.INFO: Processing buffer {"connection_id":111901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:53:51] local.INFO: Packet analysis {"connection_id":111901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:53:51] local.INFO: Extracted packet for processing {"connection_id":111901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:51] 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-06-23 18:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:53:51] 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-06-23 18:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:51] 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-06-23 18:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":111901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:51] local.INFO: GPS data processed {"connection_id":111901,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:51] local.INFO: Acknowledgment sent {"connection_id":111901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:53:52] local.INFO: TCP Data received {"connection_id":111276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:53:52] local.INFO: Processing buffer {"connection_id":111276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:53:52] local.INFO: IMEI packet received {"connection_id":111276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":111276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:53:57] local.INFO: TCP Data received {"connection_id":111276,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:53:57] local.INFO: Processing buffer {"connection_id":111276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:53:57] local.INFO: IMEI packet received {"connection_id":111276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":111276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:53:58] local.INFO: TCP Data received {"connection_id":111276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a29bf0012d196580071feec80042006c2b..."} 
[2026-06-23 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a29bf0012d196580071feec80042006c2b..."} 
[2026-06-23 18:53:58] local.INFO: Processing buffer {"connection_id":111276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a29bf0012d196580071feec80042006c2b..."} 
[2026-06-23 18:53:58] local.INFO: Packet analysis {"connection_id":111276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:53:58] local.INFO: Extracted packet for processing {"connection_id":111276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248508672001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:53: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-06-23 18:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782220758000,"timestamp_ms":1782220758000,"timestamp_seconds":1782220758,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a29bf0"} 
[2026-06-23 18:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:53:58] 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-06-23 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248508672001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248508672001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:53:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248508672001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":111276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:53:58] local.INFO: GPS data processed {"connection_id":111276,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:53:58] local.INFO: Acknowledgment sent {"connection_id":111276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:54:03] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a612a8012cc2f58007640358005200be33..."} 
[2026-06-23 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a612a8012cc2f58007640358005200be33..."} 
[2026-06-23 18:54:03] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a612a8012cc2f58007640358005200be33..."} 
[2026-06-23 18:54:03] local.INFO: Packet analysis {"connection_id":111275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:54:03] local.INFO: Extracted packet for processing {"connection_id":111275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":750974336,"raw_latitude":123994968,"longitude_deg":75.0974336,"latitude_deg":12.3994968,"altitude":82,"angle":190,"satellites":51,"speed":54,"hex_longitude":"2cc2f580","hex_latitude":"07640358","is_valid_coordinates":true} 
[2026-06-23 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248570624001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321426637943996416,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4397694635638310912,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782220985000,"timestamp_ms":1782220985000,"timestamp_seconds":1782220985,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a612a8"} 
[2026-06-23 18:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:54:03] 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-06-23 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 18:54:03] 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-06-23 18:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248570624001,"66":27919,"228":206,"27":54016,"24":54,"16":321426637943996416,"44":-4397694635638310912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 18:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248570624001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:54:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 18:54:03] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321426637943996416,"km_value":321426637943996.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4397694635638310912,"description":"Unknown IO ID 44"} 
[2026-06-23 18:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248570624001,"power":27919,"unknown_228":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4397694635638310912}} 
[2026-06-23 18:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":111275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:54:03] local.INFO: GPS data processed {"connection_id":111275,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:54:03] local.INFO: Acknowledgment sent {"connection_id":111275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:54:10] local.INFO: TCP Data received {"connection_id":111903,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:54:10] local.INFO: Processing buffer {"connection_id":111903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:54:10] local.INFO: IMEI packet received {"connection_id":111903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":111903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:54:15] local.INFO: TCP Data received {"connection_id":111903,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:54:15] local.INFO: Processing buffer {"connection_id":111903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:54:15] local.INFO: IMEI packet received {"connection_id":111903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":111903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:54:16] local.INFO: TCP Data received {"connection_id":111903,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:54:16] local.INFO: Processing buffer {"connection_id":111903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:54:16] local.INFO: Packet analysis {"connection_id":111903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:54:16] local.INFO: Extracted packet for processing {"connection_id":111903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:16] 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-06-23 18:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:54:16] 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-06-23 18:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:54:16] 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-06-23 18:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:54:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":111903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:54:16] local.INFO: GPS data processed {"connection_id":111903,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:54:16] local.INFO: Acknowledgment sent {"connection_id":111903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:54:23] local.INFO: TCP Data received {"connection_id":112844,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:54:23] local.INFO: Processing buffer {"connection_id":112844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:54:23] local.INFO: IMEI packet received {"connection_id":112844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":112844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:54:28] local.INFO: TCP Data received {"connection_id":112844,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:54:28] local.INFO: Processing buffer {"connection_id":112844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:54:28] local.INFO: IMEI packet received {"connection_id":112844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":112844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:54:29] local.INFO: TCP Data received {"connection_id":111276,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a2edf8012d196580071feec80042006c2b..."} 
[2026-06-23 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a2edf8012d196580071feec80042006c2b..."} 
[2026-06-23 18:54:29] local.INFO: Processing buffer {"connection_id":111276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a2edf8012d196580071feec80042006c2b..."} 
[2026-06-23 18:54:29] local.INFO: Packet analysis {"connection_id":111276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:54:29] local.INFO: Extracted packet for processing {"connection_id":111276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a2"} 
[2026-06-23 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248514048001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220779000,"timestamp_ms":1782220779000,"timestamp_seconds":1782220779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a2edf8"} 
[2026-06-23 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:54:29] 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-06-23 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:54:29] 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-06-23 18:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248514048001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248514048001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248514048001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":111276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:54:29] local.INFO: GPS data processed {"connection_id":111276,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:54:29] local.INFO: Acknowledgment sent {"connection_id":111276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:54:29] local.INFO: TCP Data received {"connection_id":112844,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a62e00012cc2eb000763df70005200c733..."} 
[2026-06-23 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a62e00012cc2eb000763df70005200c733..."} 
[2026-06-23 18:54:29] local.INFO: Processing buffer {"connection_id":112844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a62e00012cc2eb000763df70005200c733..."} 
[2026-06-23 18:54:29] local.INFO: Packet analysis {"connection_id":112844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:54:29] local.INFO: Extracted packet for processing {"connection_id":112844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":750971648,"raw_latitude":123985776,"longitude_deg":75.0971648,"latitude_deg":12.3985776,"altitude":82,"angle":199,"satellites":51,"speed":53,"hex_longitude":"2cc2eb00","hex_latitude":"0763df70","is_valid_coordinates":true} 
[2026-06-23 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248572160001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321427101800464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398468691826354176,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782220992000,"timestamp_ms":1782220992000,"timestamp_seconds":1782220992,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a62e00"} 
[2026-06-23 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:54:29] 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-06-23 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-23 18:54:29] 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-06-23 18:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248572160001,"66":27658,"228":206,"27":54016,"24":53,"16":321427101800464384,"44":-4398468691826354176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-06-23 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248572160001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321427101800464384,"km_value":321427101800464.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398468691826354176,"description":"Unknown IO ID 44"} 
[2026-06-23 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248572160001,"power":27658,"unknown_228":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4398468691826354176}} 
[2026-06-23 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":112844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:54:29] local.INFO: GPS data processed {"connection_id":112844,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:54:29] local.INFO: Acknowledgment sent {"connection_id":112844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:54:47] local.INFO: TCP Data received {"connection_id":111903,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:54:47] local.INFO: Processing buffer {"connection_id":111903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:54:47] local.INFO: Packet analysis {"connection_id":111903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:54:47] local.INFO: Extracted packet for processing {"connection_id":111903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54: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-06-23 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:54:47] 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-06-23 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:54:47] 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-06-23 18: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-06-23 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":111903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:54:47] local.INFO: GPS data processed {"connection_id":111903,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:54:47] local.INFO: Acknowledgment sent {"connection_id":111903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:54:50] local.INFO: TCP Data received {"connection_id":112845,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:50] local.INFO: Processing buffer {"connection_id":112845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:50] local.INFO: IMEI packet received {"connection_id":112845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":112845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:54:53] local.INFO: TCP Data received {"connection_id":112845,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:53] local.INFO: Processing buffer {"connection_id":112845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:53] local.INFO: IMEI packet received {"connection_id":112845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":112845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:54:57] local.INFO: TCP Data received {"connection_id":112845,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:57] local.INFO: Processing buffer {"connection_id":112845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:54:57] local.INFO: IMEI packet received {"connection_id":112845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":112845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:54:58] local.INFO: TCP Data received {"connection_id":112845,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a67450012d196580071feec80042006c29..."} 
[2026-06-23 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a67450012d196580071feec80042006c29..."} 
[2026-06-23 18:54:58] local.INFO: Processing buffer {"connection_id":112845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a67450012d196580071feec80042006c29..."} 
[2026-06-23 18:54:58] local.INFO: Packet analysis {"connection_id":112845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:54:58] local.INFO: Extracted packet for processing {"connection_id":112845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248573184001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:54: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-06-23 18:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221010000,"timestamp_ms":1782221010000,"timestamp_seconds":1782221010,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a67450"} 
[2026-06-23 18:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:54:58] 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-06-23 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248573184001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248573184001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:54:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248573184001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":112845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:54:58] local.INFO: GPS data processed {"connection_id":112845,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:54:58] local.INFO: Acknowledgment sent {"connection_id":112845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:01] local.INFO: TCP Data received {"connection_id":112844,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a72800012cc35800076301e00050006b33..."} 
[2026-06-23 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a72800012cc35800076301e00050006b33..."} 
[2026-06-23 18:55:01] local.INFO: Processing buffer {"connection_id":112844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a72800012cc35800076301e00050006b33..."} 
[2026-06-23 18:55:01] local.INFO: Packet analysis {"connection_id":112844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:01] local.INFO: Extracted packet for processing {"connection_id":112844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750999552,"raw_latitude":123929056,"longitude_deg":75.0999552,"latitude_deg":12.3929056,"altitude":80,"angle":107,"satellites":51,"speed":52,"hex_longitude":"2cc35800","hex_latitude":"076301e0","is_valid_coordinates":true} 
[2026-06-23 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248588800001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321430958681096192,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379328393426606080,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782221056000,"timestamp_ms":1782221056000,"timestamp_seconds":1782221056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a72800"} 
[2026-06-23 18:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:55:01] 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-06-23 18:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:01] 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-06-23 18:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248588800001,"66":27745,"227":206,"27":54016,"24":52,"16":321430958681096192,"44":-4379328393426606080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-06-23 18:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248588800001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:01] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-06-23 18:55:01] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321430958681096192,"km_value":321430958681096.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379328393426606080,"description":"Unknown IO ID 44"} 
[2026-06-23 18:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248588800001,"power":27745,"unknown_227":206,"unknown_27":54016,"ignition":52,"odometer":null,"unknown_44":-4379328393426606080}} 
[2026-06-23 18:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":112844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:01] local.INFO: GPS data processed {"connection_id":112844,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:01] local.INFO: Acknowledgment sent {"connection_id":112844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:10] local.INFO: TCP Data received {"connection_id":111102,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:55:10] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:55:10] local.INFO: IMEI packet received {"connection_id":111102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":111102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:55:11] local.INFO: TCP Data received {"connection_id":111101,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:55:11] local.INFO: Processing buffer {"connection_id":111101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 18:55:11] local.INFO: IMEI packet received {"connection_id":111101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 18:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":111101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:55:15] local.INFO: TCP Data received {"connection_id":111102,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:55:15] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:55:15] local.INFO: IMEI packet received {"connection_id":111102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":111102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:55:16] local.INFO: TCP Data received {"connection_id":111102,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:55:16] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:55:16] local.INFO: Packet analysis {"connection_id":111102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:55:16] local.INFO: Extracted packet for processing {"connection_id":111102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:16] 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-06-23 18:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:55:16] 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-06-23 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:16] 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-06-23 18: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-06-23 18:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":111102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:16] local.INFO: GPS data processed {"connection_id":111102,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:16] local.INFO: Acknowledgment sent {"connection_id":111102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:28] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:28] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:28] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:55:29] local.INFO: TCP Data received {"connection_id":112845,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a6c658012d196580071feec80042006c29..."} 
[2026-06-23 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a6c658012d196580071feec80042006c29..."} 
[2026-06-23 18:55:29] local.INFO: Processing buffer {"connection_id":112845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a6c658012d196580071feec80042006c29..."} 
[2026-06-23 18:55:29] local.INFO: Packet analysis {"connection_id":112845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:55:29] local.INFO: Extracted packet for processing {"connection_id":112845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a6"} 
[2026-06-23 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248578560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221031000,"timestamp_ms":1782221031000,"timestamp_seconds":1782221031,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a6c658"} 
[2026-06-23 18:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:55:29] 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-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:29] 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-06-23 18: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-06-23 18:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248578560001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248578560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248578560001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":112845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:29] local.INFO: GPS data processed {"connection_id":112845,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:29] local.INFO: Acknowledgment sent {"connection_id":112845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:29] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:29] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:29] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:55:33] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:33] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:55:33] local.INFO: IMEI packet received {"connection_id":111103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":111103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:55:35] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a733b8012cc366800762fb60004f007933..."} 
[2026-06-23 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a733b8012cc366800762fb60004f007933..."} 
[2026-06-23 18:55:35] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a733b8012cc366800762fb60004f007933..."} 
[2026-06-23 18:55:35] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:35] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":751003264,"raw_latitude":123927392,"longitude_deg":75.1003264,"latitude_deg":12.3927392,"altitude":79,"angle":121,"satellites":51,"speed":53,"hex_longitude":"2cc36680","hex_latitude":"0762fb60","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248590336001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321431151954624512,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370743406637228032,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782221059000,"timestamp_ms":1782221059000,"timestamp_seconds":1782221059,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a733b8"} 
[2026-06-23 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-06-23 18:55:35] 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-06-23 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:35] 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-06-23 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-06-23 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-06-23 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248590336001,"66":27658,"227":206,"27":54016,"24":53,"16":321431151954624512,"44":-4370743406637228032},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-06-23 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248590336001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-06-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321431151954624512,"km_value":321431151954624.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370743406637228032,"description":"Unknown IO ID 44"} 
[2026-06-23 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248590336001,"power":27658,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4370743406637228032}} 
[2026-06-23 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:35] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:35] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:37] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a73f70012cc373000762f168004e008833..."} 
[2026-06-23 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a73f70012cc373000762f168004e008833..."} 
[2026-06-23 18:55:37] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a73f70012cc373000762f168004e008833..."} 
[2026-06-23 18:55:37] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:37] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":751006464,"raw_latitude":123924840,"longitude_deg":75.1006464,"latitude_deg":12.392484,"altitude":78,"angle":136,"satellites":51,"speed":54,"hex_longitude":"2cc37300","hex_latitude":"0762f168","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248591104001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321431349523120128,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366662019475349504,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782221062000,"timestamp_ms":1782221062000,"timestamp_seconds":1782221062,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a73f70"} 
[2026-06-23 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:55: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-06-23 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248591104001,"66":27039,"227":206,"27":54016,"24":54,"16":321431349523120128,"44":-4366662019475349504},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-06-23 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248591104001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-06-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321431349523120128,"km_value":321431349523120.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366662019475349504,"description":"Unknown IO ID 44"} 
[2026-06-23 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248591104001,"power":27039,"unknown_227":206,"unknown_27":54016,"ignition":54,"odometer":null,"unknown_44":-4366662019475349504}} 
[2026-06-23 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:37] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:37] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:47] local.INFO: TCP Data received {"connection_id":111102,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:55:47] local.INFO: Processing buffer {"connection_id":111102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:55:47] local.INFO: Packet analysis {"connection_id":111102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:55:47] local.INFO: Extracted packet for processing {"connection_id":111102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55: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-06-23 18:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:55:47] 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-06-23 18:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:47] 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-06-23 18:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":111102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:47] local.INFO: GPS data processed {"connection_id":111102,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:47] local.INFO: Acknowledgment sent {"connection_id":111102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:55:52] local.INFO: TCP Data received {"connection_id":111277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:52] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:52] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:55:53] local.INFO: TCP Data received {"connection_id":111277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:53] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:53] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:55:57] local.INFO: TCP Data received {"connection_id":111277,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:57] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:55:57] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:55:58] local.INFO: TCP Data received {"connection_id":111277,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a71860012d196580071feec80042006c2a..."} 
[2026-06-23 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a71860012d196580071feec80042006c2a..."} 
[2026-06-23 18:55:58] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a71860012d196580071feec80042006c2a..."} 
[2026-06-23 18:55:58] local.INFO: Packet analysis {"connection_id":111277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:58] local.INFO: Extracted packet for processing {"connection_id":111277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248583936001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:55: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-06-23 18:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221052000,"timestamp_ms":1782221052000,"timestamp_seconds":1782221052,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a71860"} 
[2026-06-23 18:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:55:58] 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-06-23 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:55:58] 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-06-23 18:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248583936001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248583936001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:55:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248583936001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":111277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:55:58] local.INFO: GPS data processed {"connection_id":111277,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:55:58] local.INFO: Acknowledgment sent {"connection_id":111277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:56:08] local.INFO: TCP Data received {"connection_id":111103,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a74b28012cc37cc00762e450004d009631..."} 
[2026-06-23 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a74b28012cc37cc00762e450004d009631..."} 
[2026-06-23 18:56:08] local.INFO: Processing buffer {"connection_id":111103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a74b28012cc37cc00762e450004d009631..."} 
[2026-06-23 18:56:08] local.INFO: Packet analysis {"connection_id":111103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:56:08] local.INFO: Extracted packet for processing {"connection_id":111103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:56:08] local.INFO: GPS Element Parsed {"raw_longitude":751008960,"raw_latitude":123921488,"longitude_deg":75.100896,"latitude_deg":12.3921488,"altitude":77,"angle":150,"satellites":49,"speed":55,"hex_longitude":"2cc37cc0","hex_latitude":"0762e450","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248591872001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321431551386583040,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4363143582267119616,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782221065000,"timestamp_ms":1782221065000,"timestamp_seconds":1782221065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a74b28"} 
[2026-06-23 18:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:56: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-06-23 18: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 18:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 18: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-06-23 18:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 18:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 18:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 18:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248591872001,"66":27767,"227":206,"27":54016,"24":55,"16":321431551386583040,"44":-4363143582267119616},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-06-23 18:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 18:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 18:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248591872001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:56:08] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-06-23 18:56:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-06-23 18:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321431551386583040,"km_value":321431551386583.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:56:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4363143582267119616,"description":"Unknown IO ID 44"} 
[2026-06-23 18:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248591872001,"power":27767,"unknown_227":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4363143582267119616}} 
[2026-06-23 18:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":111103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:56:08] local.INFO: GPS data processed {"connection_id":111103,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:56:08] local.INFO: Acknowledgment sent {"connection_id":111103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:56:10] local.INFO: TCP Data received {"connection_id":111905,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:56:10] local.INFO: Processing buffer {"connection_id":111905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:56:10] local.INFO: IMEI packet received {"connection_id":111905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":111905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:56:15] local.INFO: TCP Data received {"connection_id":111905,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:56:15] local.INFO: Processing buffer {"connection_id":111905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:56:15] local.INFO: IMEI packet received {"connection_id":111905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":111905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:56:16] local.INFO: TCP Data received {"connection_id":111905,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:56:16] local.INFO: Processing buffer {"connection_id":111905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:56:16] local.INFO: Packet analysis {"connection_id":111905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:56:16] local.INFO: Extracted packet for processing {"connection_id":111905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:56:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:16] 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-06-23 18:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:56:16] 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-06-23 18:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:56:16] 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-06-23 18:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:56:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":111905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:56:16] local.INFO: GPS data processed {"connection_id":111905,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:56:16] local.INFO: Acknowledgment sent {"connection_id":111905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:56:20] local.INFO: TCP Data received {"connection_id":111278,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:20] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:20] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 18:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:56:21] local.INFO: TCP Data received {"connection_id":111278,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:21] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:21] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:56:23] local.INFO: TCP Data received {"connection_id":111278,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:23] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:23] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:56:23] local.INFO: TCP Data received {"connection_id":111278,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:23] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 18:56:23] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:56:29] local.INFO: TCP Data received {"connection_id":111277,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a76a68012d196580071feec80042006c2b..."} 
[2026-06-23 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a76a68012d196580071feec80042006c2b..."} 
[2026-06-23 18:56:29] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a76a68012d196580071feec80042006c2b..."} 
[2026-06-23 18:56:29] local.INFO: Packet analysis {"connection_id":111277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:56:29] local.INFO: Extracted packet for processing {"connection_id":111277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248589312001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221073000,"timestamp_ms":1782221073000,"timestamp_seconds":1782221073,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a76a68"} 
[2026-06-23 18:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:56:29] 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-06-23 18: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 18:56:29] 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-06-23 18: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-06-23 18:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248589312001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248589312001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:56:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248589312001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":111277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:56:29] local.INFO: GPS data processed {"connection_id":111277,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:56:29] local.INFO: Acknowledgment sent {"connection_id":111277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:56:47] local.INFO: TCP Data received {"connection_id":111905,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:56:47] local.INFO: Processing buffer {"connection_id":111905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:56:47] local.INFO: Packet analysis {"connection_id":111905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:56:47] local.INFO: Extracted packet for processing {"connection_id":111905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56: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-06-23 18:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:56:47] 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-06-23 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:56:47] 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-06-23 18:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 18:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:56:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":111905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:56:47] local.INFO: GPS data processed {"connection_id":111905,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:56:47] local.INFO: Acknowledgment sent {"connection_id":111905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:56:52] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:56:52] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:56:52] local.INFO: IMEI packet received {"connection_id":111104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":111104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:56:56] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:56:56] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:56:56] local.INFO: IMEI packet received {"connection_id":111104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":111104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:56:57] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a7bc70012d196580071feec80042006c2b..."} 
[2026-06-23 18:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a7bc70012d196580071feec80042006c2b..."} 
[2026-06-23 18:56:57] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a7bc70012d196580071feec80042006c2b..."} 
[2026-06-23 18:56:57] local.INFO: Packet analysis {"connection_id":111104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:56:57] local.INFO: Extracted packet for processing {"connection_id":111104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a7"} 
[2026-06-23 18:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:56: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-06-23 18:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248594688001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782221094000,"timestamp_ms":1782221094000,"timestamp_seconds":1782221094,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a7bc70"} 
[2026-06-23 18:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:56:57] 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-06-23 18:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:56:57] 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-06-23 18:56: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-06-23 18:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248594688001,"66":12439,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248594688001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248594688001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":111104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:56:57] local.INFO: GPS data processed {"connection_id":111104,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:56:57] local.INFO: Acknowledgment sent {"connection_id":111104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:57:10] local.INFO: TCP Data received {"connection_id":111907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:57:10] local.INFO: Processing buffer {"connection_id":111907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:57:10] local.INFO: IMEI packet received {"connection_id":111907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":111907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:57:15] local.INFO: TCP Data received {"connection_id":111907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:57:15] local.INFO: Processing buffer {"connection_id":111907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:57:15] local.INFO: IMEI packet received {"connection_id":111907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":111907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:57:16] local.INFO: TCP Data received {"connection_id":111907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:57:16] local.INFO: Processing buffer {"connection_id":111907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a55340012d7e380005d34de8000300242d..."} 
[2026-06-23 18:57:16] local.INFO: Packet analysis {"connection_id":111907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:57:16] local.INFO: Extracted packet for processing {"connection_id":111907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a5"} 
[2026-06-23 18:57:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248482560001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:16] 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-06-23 18:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782220936000,"timestamp_ms":1782220936000,"timestamp_seconds":1782220936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a55340"} 
[2026-06-23 18:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:57:16] 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-06-23 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 18:57:16] 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-06-23 18: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-06-23 18:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:57:16] 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-06-23 18:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248482560001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248482560001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:57:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:57:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248482560001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":111907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:57:16] local.INFO: GPS data processed {"connection_id":111907,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:57:16] local.INFO: Acknowledgment sent {"connection_id":111907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:57:28] local.INFO: TCP Data received {"connection_id":111104,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a80e78012d196580071feec80042006c2c..."} 
[2026-06-23 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a80e78012d196580071feec80042006c2c..."} 
[2026-06-23 18:57:28] local.INFO: Processing buffer {"connection_id":111104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a80e78012d196580071feec80042006c2c..."} 
[2026-06-23 18:57:28] local.INFO: Packet analysis {"connection_id":111104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a8"} 
[2026-06-23 18:57:28] local.INFO: Extracted packet for processing {"connection_id":111104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a8"} 
[2026-06-23 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248600064001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782221115000,"timestamp_ms":1782221115000,"timestamp_seconds":1782221115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a80e78"} 
[2026-06-23 18:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 18:57:28] 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-06-23 18: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-06-23 18:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248600064001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248600064001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248600064001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":111104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:57:28] local.INFO: GPS data processed {"connection_id":111104,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:57:28] local.INFO: Acknowledgment sent {"connection_id":111104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:57:47] local.INFO: TCP Data received {"connection_id":111907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:57:47] local.INFO: Processing buffer {"connection_id":111907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:57:47] local.INFO: Packet analysis {"connection_id":111907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:57:47] local.INFO: Extracted packet for processing {"connection_id":111907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57: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-06-23 18:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 18:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:57:47] 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-06-23 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:57:47] 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-06-23 18:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:57:47] 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-06-23 18:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:57:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":111907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:57:47] local.INFO: GPS data processed {"connection_id":111907,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:57:47] local.INFO: Acknowledgment sent {"connection_id":111907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:57:52] local.INFO: TCP Data received {"connection_id":111908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:57:52] local.INFO: Processing buffer {"connection_id":111908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:57:52] local.INFO: IMEI packet received {"connection_id":111908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":111908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:57:57] local.INFO: TCP Data received {"connection_id":111908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:57:57] local.INFO: Processing buffer {"connection_id":111908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:57:57] local.INFO: IMEI packet received {"connection_id":111908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":111908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:57:58] local.INFO: TCP Data received {"connection_id":111908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a86080012d196580071feec80042006c2c..."} 
[2026-06-23 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a86080012d196580071feec80042006c2c..."} 
[2026-06-23 18:57:58] local.INFO: Processing buffer {"connection_id":111908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a86080012d196580071feec80042006c2c..."} 
[2026-06-23 18:57:58] local.INFO: Packet analysis {"connection_id":111908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a8"} 
[2026-06-23 18:57:58] local.INFO: Extracted packet for processing {"connection_id":111908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a8"} 
[2026-06-23 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248605440001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:57: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-06-23 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221136000,"timestamp_ms":1782221136000,"timestamp_seconds":1782221136,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a86080"} 
[2026-06-23 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:57:58] 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-06-23 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 18:57:58] 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-06-23 18:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248605440001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248605440001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:57:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248605440001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":111908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:57:58] local.INFO: GPS data processed {"connection_id":111908,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:57:58] local.INFO: Acknowledgment sent {"connection_id":111908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:58:10] local.INFO: TCP Data received {"connection_id":111106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:58:10] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:58:10] local.INFO: IMEI packet received {"connection_id":111106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":111106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:58:15] local.INFO: TCP Data received {"connection_id":111106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:58:15] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:58:15] local.INFO: IMEI packet received {"connection_id":111106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":111106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:58:16] local.INFO: TCP Data received {"connection_id":111106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:58:16] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:58:16] local.INFO: Packet analysis {"connection_id":111106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:58:16] local.INFO: Extracted packet for processing {"connection_id":111106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:58:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:16] 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-06-23 18:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 18:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:58:16] 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-06-23 18:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:58:16] 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-06-23 18:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:58:16] 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-06-23 18:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:58:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":111106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:58:16] local.INFO: GPS data processed {"connection_id":111106,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:58:16] local.INFO: Acknowledgment sent {"connection_id":111106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:58:29] local.INFO: TCP Data received {"connection_id":111908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a8b288012d196580071feec80042006c2c..."} 
[2026-06-23 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a8b288012d196580071feec80042006c2c..."} 
[2026-06-23 18:58:29] local.INFO: Processing buffer {"connection_id":111908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a8b288012d196580071feec80042006c2c..."} 
[2026-06-23 18:58:29] local.INFO: Packet analysis {"connection_id":111908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a8"} 
[2026-06-23 18:58:29] local.INFO: Extracted packet for processing {"connection_id":111908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a8"} 
[2026-06-23 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248610816001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221157000,"timestamp_ms":1782221157000,"timestamp_seconds":1782221157,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a8b288"} 
[2026-06-23 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:58:29] 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-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:58:29] 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-06-23 18: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-06-23 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248610816001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248610816001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:58:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248610816001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":111908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:58:29] local.INFO: GPS data processed {"connection_id":111908,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:58:29] local.INFO: Acknowledgment sent {"connection_id":111908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:58:47] local.INFO: TCP Data received {"connection_id":111106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:58:47] local.INFO: Processing buffer {"connection_id":111106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:58:47] local.INFO: Packet analysis {"connection_id":111106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:58:47] local.INFO: Extracted packet for processing {"connection_id":111106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:58: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-06-23 18:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 18:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:58:47] 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-06-23 18:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:58:47] 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-06-23 18:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:58:47] 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-06-23 18:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:58:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":111106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:58:47] local.INFO: GPS data processed {"connection_id":111106,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:58:47] local.INFO: Acknowledgment sent {"connection_id":111106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:58:57] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:58:57] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:58:57] local.INFO: IMEI packet received {"connection_id":111280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":111280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:59:02] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:02] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:02] local.INFO: IMEI packet received {"connection_id":111280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":111280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:59:03] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a90490012d196580071feec80042006c2a..."} 
[2026-06-23 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a90490012d196580071feec80042006c2a..."} 
[2026-06-23 18:59:03] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a90490012d196580071feec80042006c2a..."} 
[2026-06-23 18:59:03] local.INFO: Packet analysis {"connection_id":111280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:03] local.INFO: Extracted packet for processing {"connection_id":111280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248616192001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782221178000,"timestamp_ms":1782221178000,"timestamp_seconds":1782221178,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a90490"} 
[2026-06-23 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-06-23 18:59: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-06-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:59: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-06-23 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-06-23 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-06-23 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248616192001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248616192001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:59:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248616192001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":111280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:59:03] local.INFO: GPS data processed {"connection_id":111280,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:59:03] local.INFO: Acknowledgment sent {"connection_id":111280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:59:04] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a95698012d196580071feec80042006c2b..."} 
[2026-06-23 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a95698012d196580071feec80042006c2b..."} 
[2026-06-23 18:59:04] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a95698012d196580071feec80042006c2b..."} 
[2026-06-23 18:59:04] local.INFO: Packet analysis {"connection_id":111280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:04] local.INFO: Extracted packet for processing {"connection_id":111280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248621568001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59: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-06-23 18:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782221199000,"timestamp_ms":1782221199000,"timestamp_seconds":1782221199,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a95698"} 
[2026-06-23 18:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:59: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-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:59: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-06-23 18: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-06-23 18:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248621568001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248621568001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:59:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:59:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248621568001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":111280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:59:04] local.INFO: GPS data processed {"connection_id":111280,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:59:04] local.INFO: Acknowledgment sent {"connection_id":111280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:59:10] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:59:10] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:59:10] local.INFO: IMEI packet received {"connection_id":111281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":111281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:59:15] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:59:15] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 18:59:15] local.INFO: IMEI packet received {"connection_id":111281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 18:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":111281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:59:16] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:59:16] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:59:16] local.INFO: Packet analysis {"connection_id":111281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:16] local.INFO: Extracted packet for processing {"connection_id":111281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:16] 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-06-23 18:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 18:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:59:16] 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-06-23 18:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:59:16] 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-06-23 18:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:59:16] 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-06-23 18:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:59:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":111281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:59:16] local.INFO: GPS data processed {"connection_id":111281,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:59:16] local.INFO: Acknowledgment sent {"connection_id":111281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:59:35] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9a8a0012d196580071feec80042006c2c..."} 
[2026-06-23 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9a8a0012d196580071feec80042006c2c..."} 
[2026-06-23 18:59:35] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9a8a0012d196580071feec80042006c2c..."} 
[2026-06-23 18:59:35] local.INFO: Packet analysis {"connection_id":111280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:35] local.INFO: Extracted packet for processing {"connection_id":111280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248626944001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59: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-06-23 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782221220000,"timestamp_ms":1782221220000,"timestamp_seconds":1782221220,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9a8a0"} 
[2026-06-23 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:59: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-06-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 18:59: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-06-23 18: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-06-23 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248626944001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248626944001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:59:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248626944001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":111280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:59:35] local.INFO: GPS data processed {"connection_id":111280,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:59:35] local.INFO: Acknowledgment sent {"connection_id":111280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:59:47] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:59:47] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 18:59:47] local.INFO: Packet analysis {"connection_id":111281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:47] local.INFO: Extracted packet for processing {"connection_id":111281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 18:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59: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-06-23 18:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 18:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:59:47] 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-06-23 18:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 18:59:47] 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-06-23 18:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 18:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 18:59:47] 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-06-23 18:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 18:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 18:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 18:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 18:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 18:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 18:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 18:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":111281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:59:47] local.INFO: GPS data processed {"connection_id":111281,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:59:47] local.INFO: Acknowledgment sent {"connection_id":111281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 18:59:52] local.INFO: TCP Data received {"connection_id":112848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:52] local.INFO: Processing buffer {"connection_id":112848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:52] local.INFO: IMEI packet received {"connection_id":112848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 18:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":112848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 18:59:57] local.INFO: TCP Data received {"connection_id":112848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:57] local.INFO: Processing buffer {"connection_id":112848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 18:59:57] local.INFO: IMEI packet received {"connection_id":112848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":112848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 18:59:58] local.INFO: TCP Data received {"connection_id":112848,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9faa8012d196580071feec80042006c2a..."} 
[2026-06-23 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9faa8012d196580071feec80042006c2a..."} 
[2026-06-23 18:59:58] local.INFO: Processing buffer {"connection_id":112848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9faa8012d196580071feec80042006c2a..."} 
[2026-06-23 18:59:58] local.INFO: Packet analysis {"connection_id":112848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:58] local.INFO: Extracted packet for processing {"connection_id":112848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 18:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 18: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-06-23 18:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248632320001,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 18:59: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-06-23 18:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221241000,"timestamp_ms":1782221241000,"timestamp_seconds":1782221241,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9faa8"} 
[2026-06-23 18:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 18:59:58] 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-06-23 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 18:59:58] 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-06-23 18: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-06-23 18:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 18:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 18:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 18:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 18:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 18:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 18:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 18:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248632320001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 18:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 18:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 18:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248632320001,"description":"Unknown IO ID 0"} 
[2026-06-23 18:59:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 18:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 18:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 18:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 18:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248632320001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 18:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":112848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 18:59:58] local.INFO: GPS data processed {"connection_id":112848,"processed":1,"errors":0,"total":1} 
[2026-06-23 18:59:58] local.INFO: Acknowledgment sent {"connection_id":112848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:00:10] local.INFO: TCP Data received {"connection_id":111107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:00:10] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:00:10] local.INFO: IMEI packet received {"connection_id":111107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":111107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:00:15] local.INFO: TCP Data received {"connection_id":111107,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:00:15] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:00:15] local.INFO: IMEI packet received {"connection_id":111107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":111107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:00:16] local.INFO: TCP Data received {"connection_id":111107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:00:16] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:00:16] local.INFO: Packet analysis {"connection_id":111107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:00:16] local.INFO: Extracted packet for processing {"connection_id":111107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:16] 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-06-23 19:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 19:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:00:16] 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-06-23 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 19:00:16] 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-06-23 19: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-06-23 19:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:00:16] 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-06-23 19:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:00:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":111107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:00:16] local.INFO: GPS data processed {"connection_id":111107,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:00:16] local.INFO: Acknowledgment sent {"connection_id":111107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:00:29] local.INFO: TCP Data received {"connection_id":112848,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4aa4cb0012d196580071feec80042006c2a..."} 
[2026-06-23 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4aa4cb0012d196580071feec80042006c2a..."} 
[2026-06-23 19:00:29] local.INFO: Processing buffer {"connection_id":112848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4aa4cb0012d196580071feec80042006c2a..."} 
[2026-06-23 19:00:29] local.INFO: Packet analysis {"connection_id":112848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4aa"} 
[2026-06-23 19:00:29] local.INFO: Extracted packet for processing {"connection_id":112848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4aa"} 
[2026-06-23 19:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248637696001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221262000,"timestamp_ms":1782221262000,"timestamp_seconds":1782221262,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4aa4cb0"} 
[2026-06-23 19:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:00:29] 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-06-23 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 19:00:29] 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-06-23 19: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-06-23 19:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248637696001,"66":12439,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248637696001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:00:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248637696001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":112848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:00:29] local.INFO: GPS data processed {"connection_id":112848,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:00:29] local.INFO: Acknowledgment sent {"connection_id":112848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:00:46] local.INFO: TCP Data received {"connection_id":111910,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:00:46] local.INFO: Processing buffer {"connection_id":111910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:00:46] local.INFO: IMEI packet received {"connection_id":111910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":111910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:00:47] local.INFO: TCP Data received {"connection_id":111107,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:00:47] local.INFO: Processing buffer {"connection_id":111107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:00:47] local.INFO: Packet analysis {"connection_id":111107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:00:47] local.INFO: Extracted packet for processing {"connection_id":111107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00: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-06-23 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:00:47] 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-06-23 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 19:00:47] 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-06-23 19:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:00:47] 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-06-23 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:00:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":111107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:00:47] local.INFO: GPS data processed {"connection_id":111107,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:00:47] local.INFO: Acknowledgment sent {"connection_id":111107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:00:52] local.INFO: TCP Data received {"connection_id":111282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:00:52] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:00:52] local.INFO: IMEI packet received {"connection_id":111282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":111282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:00:57] local.INFO: TCP Data received {"connection_id":111282,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:00:57] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:00:57] local.INFO: IMEI packet received {"connection_id":111282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":111282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:00:58] local.INFO: TCP Data received {"connection_id":111282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4aa9eb8012d196580071feec80042006c2b..."} 
[2026-06-23 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4aa9eb8012d196580071feec80042006c2b..."} 
[2026-06-23 19:00:58] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4aa9eb8012d196580071feec80042006c2b..."} 
[2026-06-23 19:00:58] local.INFO: Packet analysis {"connection_id":111282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4aa"} 
[2026-06-23 19:00:58] local.INFO: Extracted packet for processing {"connection_id":111282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4aa"} 
[2026-06-23 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248643072001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:00: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-06-23 19:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221283000,"timestamp_ms":1782221283000,"timestamp_seconds":1782221283,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4aa9eb8"} 
[2026-06-23 19:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:00:58] 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-06-23 19:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 19:00:58] 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-06-23 19:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248643072001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248643072001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:00:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248643072001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":111282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:00:58] local.INFO: GPS data processed {"connection_id":111282,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:00:58] local.INFO: Acknowledgment sent {"connection_id":111282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:01:06] local.INFO: TCP Data received {"connection_id":111912,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:01:06] local.INFO: Processing buffer {"connection_id":111912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:01:06] local.INFO: IMEI packet received {"connection_id":111912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":111912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:01:10] local.INFO: TCP Data received {"connection_id":111913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:01:10] local.INFO: Processing buffer {"connection_id":111913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:01:10] local.INFO: IMEI packet received {"connection_id":111913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":111913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:01:15] local.INFO: TCP Data received {"connection_id":111913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:01:15] local.INFO: Processing buffer {"connection_id":111913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:01:15] local.INFO: IMEI packet received {"connection_id":111913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":111913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:01:15] local.INFO: TCP Data received {"connection_id":111913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:01:15] local.INFO: Processing buffer {"connection_id":111913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:01:15] local.INFO: Packet analysis {"connection_id":111913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:01:15] local.INFO: Extracted packet for processing {"connection_id":111913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:15] 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-06-23 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 19:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:01:15] 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-06-23 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 19:01:15] 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-06-23 19:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:01:15] 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-06-23 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:01:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":111913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:01:16] local.INFO: GPS data processed {"connection_id":111913,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:01:16] local.INFO: Acknowledgment sent {"connection_id":111913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:01:27] local.INFO: TCP Data received {"connection_id":112849,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:27] local.INFO: Processing buffer {"connection_id":112849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:27] local.INFO: IMEI packet received {"connection_id":112849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":112849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:01:28] local.INFO: TCP Data received {"connection_id":112849,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:28] local.INFO: Processing buffer {"connection_id":112849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:28] local.INFO: IMEI packet received {"connection_id":112849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":112849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:01:29] local.INFO: TCP Data received {"connection_id":111282,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4aaf0c0012d196580071feec80042006c2c..."} 
[2026-06-23 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4aaf0c0012d196580071feec80042006c2c..."} 
[2026-06-23 19:01:29] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4aaf0c0012d196580071feec80042006c2c..."} 
[2026-06-23 19:01:29] local.INFO: Packet analysis {"connection_id":111282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4aa"} 
[2026-06-23 19:01:29] local.INFO: Extracted packet for processing {"connection_id":111282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4aa"} 
[2026-06-23 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248648448001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221304000,"timestamp_ms":1782221304000,"timestamp_seconds":1782221304,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4aaf0c0"} 
[2026-06-23 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:01:29] 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-06-23 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 19:01:29] 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-06-23 19:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248648448001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248648448001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:01:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248648448001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":111282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:01:29] local.INFO: GPS data processed {"connection_id":111282,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:01:29] local.INFO: Acknowledgment sent {"connection_id":111282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:01:30] local.INFO: TCP Data received {"connection_id":112849,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:30] local.INFO: Processing buffer {"connection_id":112849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:01:30] local.INFO: IMEI packet received {"connection_id":112849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":112849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:01:31] local.INFO: TCP Data received {"connection_id":112849,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ac63d8012cc27780075d9e40000f00bc2e..."} 
[2026-06-23 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ac63d8012cc27780075d9e40000f00bc2e..."} 
[2026-06-23 19:01:31] local.INFO: Processing buffer {"connection_id":112849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ac63d8012cc27780075d9e40000f00bc2e..."} 
[2026-06-23 19:01:31] local.INFO: Packet analysis {"connection_id":112849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:01:31] local.INFO: Extracted packet for processing {"connection_id":112849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":750942080,"raw_latitude":123575872,"longitude_deg":75.094208,"latitude_deg":12.3575872,"altitude":15,"angle":188,"satellites":46,"speed":58,"hex_longitude":"2cc27780","hex_latitude":"075d9e40","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248676352001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321450174364778496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431612370438742016,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782221399000,"timestamp_ms":1782221399000,"timestamp_seconds":1782221399,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ac63d8"} 
[2026-06-23 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-06-23 19:01:31] 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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 19:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248676352001,"66":27713,"64":206,"2":54016,"24":58,"16":321450174364778496,"44":-4431612370438742016},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 19:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248676352001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:01:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 19:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321450174364778496,"km_value":321450174364778.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431612370438742016,"description":"Unknown IO ID 44"} 
[2026-06-23 19:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248676352001,"power":27713,"unknown_64":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4431612370438742016}} 
[2026-06-23 19:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":112849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:01:31] local.INFO: GPS data processed {"connection_id":112849,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:01:31] local.INFO: Acknowledgment sent {"connection_id":112849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:01:46] local.INFO: TCP Data received {"connection_id":111913,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:01:46] local.INFO: Processing buffer {"connection_id":111913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:01:46] local.INFO: Packet analysis {"connection_id":111913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:01:46] local.INFO: Extracted packet for processing {"connection_id":111913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:01:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01: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-06-23 19:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 19:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:01:46] 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-06-23 19:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 19:01:46] 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-06-23 19:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:01: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-06-23 19:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:01:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:01:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":111913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:01:46] local.INFO: GPS data processed {"connection_id":111913,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:01:46] local.INFO: Acknowledgment sent {"connection_id":111913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:01:50] local.INFO: TCP Data received {"connection_id":111914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:50] local.INFO: Processing buffer {"connection_id":111914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:50] local.INFO: IMEI packet received {"connection_id":111914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":111914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:01:52] local.INFO: TCP Data received {"connection_id":111914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:52] local.INFO: Processing buffer {"connection_id":111914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:52] local.INFO: IMEI packet received {"connection_id":111914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":111914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:01:57] local.INFO: TCP Data received {"connection_id":111914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:57] local.INFO: Processing buffer {"connection_id":111914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:01:57] local.INFO: IMEI packet received {"connection_id":111914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":111914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:01:58] local.INFO: TCP Data received {"connection_id":111914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ab42c8012d196580071feec80042006c2d..."} 
[2026-06-23 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ab42c8012d196580071feec80042006c2d..."} 
[2026-06-23 19:01:58] local.INFO: Processing buffer {"connection_id":111914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ab42c8012d196580071feec80042006c2d..."} 
[2026-06-23 19:01:58] local.INFO: Packet analysis {"connection_id":111914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ab"} 
[2026-06-23 19:01:58] local.INFO: Extracted packet for processing {"connection_id":111914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ab"} 
[2026-06-23 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248653824001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:01: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-06-23 19:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221325000,"timestamp_ms":1782221325000,"timestamp_seconds":1782221325,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ab42c8"} 
[2026-06-23 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-06-23 19:01:58] 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-06-23 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 19:01:58] 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-06-23 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-06-23 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-06-23 19:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248653824001,"66":12439,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248653824001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:01:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248653824001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":111914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:01:58] local.INFO: GPS data processed {"connection_id":111914,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:01:58] local.INFO: Acknowledgment sent {"connection_id":111914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:02] local.INFO: TCP Data received {"connection_id":112849,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ad32e0012cc31400075ccb10000d009b2e..."} 
[2026-06-23 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ad32e0012cc31400075ccb10000d009b2e..."} 
[2026-06-23 19:02:02] local.INFO: Processing buffer {"connection_id":112849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ad32e0012cc31400075ccb10000d009b2e..."} 
[2026-06-23 19:02:02] local.INFO: Packet analysis {"connection_id":112849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:02:02] local.INFO: Extracted packet for processing {"connection_id":112849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":750982144,"raw_latitude":123521808,"longitude_deg":75.0982144,"latitude_deg":12.3521808,"altitude":13,"angle":155,"satellites":46,"speed":57,"hex_longitude":"2cc31400","hex_latitude":"075ccb10","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248690688001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321453640403386368,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4392909561156151296,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782221452000,"timestamp_ms":1782221452000,"timestamp_seconds":1782221452,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ad32e0"} 
[2026-06-23 19:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:02:02] 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-06-23 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:02:02] 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-06-23 19: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-06-23 19:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248690688001,"66":27517,"117":206,"2":54016,"24":57,"16":321453640403386368,"44":-4392909561156151296},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-06-23 19:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248690688001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 19:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321453640403386368,"km_value":321453640403386.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4392909561156151296,"description":"Unknown IO ID 44"} 
[2026-06-23 19:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248690688001,"power":27517,"unknown_117":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-4392909561156151296}} 
[2026-06-23 19:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":112849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:02] local.INFO: GPS data processed {"connection_id":112849,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:02] local.INFO: Acknowledgment sent {"connection_id":112849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:10] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:02:10] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:02:10] local.INFO: IMEI packet received {"connection_id":111108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":111108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:02:15] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:02:15] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:02:15] local.INFO: IMEI packet received {"connection_id":111108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":111108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:02:16] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:02:16] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4a9eb08012d7e380005d34de8000300242a..."} 
[2026-06-23 19:02:16] local.INFO: Packet analysis {"connection_id":111108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:02:16] local.INFO: Extracted packet for processing {"connection_id":111108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4a9"} 
[2026-06-23 19:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248559616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:16] 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-06-23 19:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221237000,"timestamp_ms":1782221237000,"timestamp_seconds":1782221237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4a9eb08"} 
[2026-06-23 19:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:02:16] 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-06-23 19:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 19:02:16] 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-06-23 19:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:02:16] 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-06-23 19:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248559616001,"66":2231,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248559616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248559616001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":111108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:16] local.INFO: GPS data processed {"connection_id":111108,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:16] local.INFO: Acknowledgment sent {"connection_id":111108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:26] local.INFO: TCP Data received {"connection_id":112850,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:26] local.INFO: Processing buffer {"connection_id":112850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:26] local.INFO: IMEI packet received {"connection_id":112850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":112850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:02:26] local.INFO: TCP Data received {"connection_id":112850,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:26] local.INFO: Processing buffer {"connection_id":112850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:26] local.INFO: IMEI packet received {"connection_id":112850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":112850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:02:28] local.INFO: TCP Data received {"connection_id":112850,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:28] local.INFO: Processing buffer {"connection_id":112850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:02:28] local.INFO: IMEI packet received {"connection_id":112850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":112850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:02:29] local.INFO: TCP Data received {"connection_id":111914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ab94d0012d196580071feec80042006c2a..."} 
[2026-06-23 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ab94d0012d196580071feec80042006c2a..."} 
[2026-06-23 19:02:29] local.INFO: Processing buffer {"connection_id":111914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ab94d0012d196580071feec80042006c2a..."} 
[2026-06-23 19:02:29] local.INFO: Packet analysis {"connection_id":111914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ab"} 
[2026-06-23 19:02:29] local.INFO: Extracted packet for processing {"connection_id":111914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ab"} 
[2026-06-23 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248659200001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221346000,"timestamp_ms":1782221346000,"timestamp_seconds":1782221346,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ab94d0"} 
[2026-06-23 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-06-23 19:02:29] 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-06-23 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 19:02: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-06-23 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-06-23 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-06-23 19:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248659200001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248659200001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248659200001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:29] local.INFO: GPS data processed {"connection_id":111914,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:29] local.INFO: Acknowledgment sent {"connection_id":111914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:29] local.INFO: TCP Data received {"connection_id":112850,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ad4e38012cc322c0075ca830000c009f2e..."} 
[2026-06-23 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ad4e38012cc322c0075ca830000c009f2e..."} 
[2026-06-23 19:02:29] local.INFO: Processing buffer {"connection_id":112850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ad4e38012cc322c0075ca830000c009f2e..."} 
[2026-06-23 19:02:29] local.INFO: Packet analysis {"connection_id":112850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:02:29] local.INFO: Extracted packet for processing {"connection_id":112850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:02:29] local.INFO: GPS Element Parsed {"raw_longitude":750985920,"raw_latitude":123512880,"longitude_deg":75.098592,"latitude_deg":12.351288,"altitude":12,"angle":159,"satellites":46,"speed":49,"hex_longitude":"2cc322c0","hex_latitude":"075ca830","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248691712001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321454108554821632,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4389883705157808128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221459000,"timestamp_ms":1782221459000,"timestamp_seconds":1782221459,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ad4e38"} 
[2026-06-23 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-06-23 19:02:29] 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-06-23 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 19:02:29] 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-06-23 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-06-23 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-06-23 19:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248691712001,"66":27767,"117":206,"2":54016,"24":49,"16":321454108554821632,"44":-4389883705157808128},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-06-23 19:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248691712001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 19:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321454108554821632,"km_value":321454108554821.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4389883705157808128,"description":"Unknown IO ID 44"} 
[2026-06-23 19:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248691712001,"power":27767,"unknown_117":206,"power_alt":54016,"ignition":49,"odometer":null,"unknown_44":-4389883705157808128}} 
[2026-06-23 19:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":112850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:29] local.INFO: GPS data processed {"connection_id":112850,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:29] local.INFO: Acknowledgment sent {"connection_id":112850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:33] local.INFO: TCP Data received {"connection_id":112850,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ad7548012cc33040075c86f0000e009e30..."} 
[2026-06-23 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ad7548012cc33040075c86f0000e009e30..."} 
[2026-06-23 19:02:33] local.INFO: Processing buffer {"connection_id":112850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ad7548012cc33040075c86f0000e009e30..."} 
[2026-06-23 19:02:33] local.INFO: Packet analysis {"connection_id":112850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:02:33] local.INFO: Extracted packet for processing {"connection_id":112850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":750989376,"raw_latitude":123504368,"longitude_deg":75.0989376,"latitude_deg":12.3504368,"altitude":14,"angle":158,"satellites":48,"speed":28,"hex_longitude":"2cc33040","hex_latitude":"075c86f0","is_valid_coordinates":true} 
[2026-06-23 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248693504001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321454555231420416,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4385731949253611520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782221469000,"timestamp_ms":1782221469000,"timestamp_seconds":1782221469,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ad7548"} 
[2026-06-23 19:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:02:33] 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-06-23 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 19:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248693504001,"66":27800,"117":206,"2":54016,"24":28,"16":321454555231420416,"44":-4385731949253611520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-06-23 19:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248693504001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 19:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321454555231420416,"km_value":321454555231420.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4385731949253611520,"description":"Unknown IO ID 44"} 
[2026-06-23 19:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248693504001,"power":27800,"unknown_117":206,"power_alt":54016,"ignition":28,"odometer":null,"unknown_44":-4385731949253611520}} 
[2026-06-23 19:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":112850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:33] local.INFO: GPS data processed {"connection_id":112850,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:33] local.INFO: Acknowledgment sent {"connection_id":112850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:46] local.INFO: TCP Data received {"connection_id":111108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:02:46] local.INFO: Processing buffer {"connection_id":111108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:02:46] local.INFO: Packet analysis {"connection_id":111108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:02:46] local.INFO: Extracted packet for processing {"connection_id":111108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02: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-06-23 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:02:46] 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-06-23 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:02: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-06-23 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":111108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:47] local.INFO: GPS data processed {"connection_id":111108,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:47] local.INFO: Acknowledgment sent {"connection_id":111108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:02:52] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:52] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:52] local.INFO: IMEI packet received {"connection_id":111283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":111283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:02:53] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:53] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:53] local.INFO: IMEI packet received {"connection_id":111283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":111283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:02:57] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:57] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:02:57] local.INFO: IMEI packet received {"connection_id":111283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":111283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:02:58] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4abe6d8012d196580071feec80042006c2b..."} 
[2026-06-23 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4abe6d8012d196580071feec80042006c2b..."} 
[2026-06-23 19:02:58] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4abe6d8012d196580071feec80042006c2b..."} 
[2026-06-23 19:02:58] local.INFO: Packet analysis {"connection_id":111283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ab"} 
[2026-06-23 19:02:58] local.INFO: Extracted packet for processing {"connection_id":111283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ab"} 
[2026-06-23 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248664576001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:02: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-06-23 19:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221367000,"timestamp_ms":1782221367000,"timestamp_seconds":1782221367,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4abe6d8"} 
[2026-06-23 19:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:02:58] 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-06-23 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 19:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248664576001,"66":12439,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248664576001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:02:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248664576001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":111283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:02:58] local.INFO: GPS data processed {"connection_id":111283,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:02:58] local.INFO: Acknowledgment sent {"connection_id":111283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:03:05] local.INFO: TCP Data received {"connection_id":112850,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4adafe0012cc33d00075c65800011009f31..."} 
[2026-06-23 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4adafe0012cc33d00075c65800011009f31..."} 
[2026-06-23 19:03:05] local.INFO: Processing buffer {"connection_id":112850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4adafe0012cc33d00075c65800011009f31..."} 
[2026-06-23 19:03:05] local.INFO: Packet analysis {"connection_id":112850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:03:05] local.INFO: Extracted packet for processing {"connection_id":112850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:03:05] local.INFO: GPS Element Parsed {"raw_longitude":750992640,"raw_latitude":123495808,"longitude_deg":75.099264,"latitude_deg":12.3495808,"altitude":17,"angle":159,"satellites":49,"speed":20,"hex_longitude":"2cc33d00","hex_latitude":"075c6580","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248696064001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321454997613051904,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381932037070196736,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782221484000,"timestamp_ms":1782221484000,"timestamp_seconds":1782221484,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4adafe0"} 
[2026-06-23 19:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:03: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-06-23 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 19:03:05] 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-06-23 19: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-06-23 19:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248696064001,"66":27745,"117":206,"2":54016,"24":20,"16":321454997613051904,"44":-4381932037070196736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-06-23 19:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248696064001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 19:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321454997613051904,"km_value":321454997613051.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381932037070196736,"description":"Unknown IO ID 44"} 
[2026-06-23 19:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248696064001,"power":27745,"unknown_117":206,"power_alt":54016,"ignition":20,"odometer":null,"unknown_44":-4381932037070196736}} 
[2026-06-23 19:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":112850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:03:05] local.INFO: GPS data processed {"connection_id":112850,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:03:05] local.INFO: Acknowledgment sent {"connection_id":112850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:03:10] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:03:10] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:03:10] local.INFO: IMEI packet received {"connection_id":111285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":111285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:03:15] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:03:15] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:03:15] local.INFO: IMEI packet received {"connection_id":111285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":111285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:03:16] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:03:16] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:03:16] local.INFO: Packet analysis {"connection_id":111285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:03:16] local.INFO: Extracted packet for processing {"connection_id":111285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:16] 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-06-23 19:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:03:16] 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-06-23 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:03:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":111285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:03:16] local.INFO: GPS data processed {"connection_id":111285,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:03:16] local.INFO: Acknowledgment sent {"connection_id":111285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:03:23] local.INFO: TCP Data received {"connection_id":111916,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:23] local.INFO: Processing buffer {"connection_id":111916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:23] local.INFO: IMEI packet received {"connection_id":111916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":111916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:03:24] local.INFO: TCP Data received {"connection_id":111916,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:24] local.INFO: Processing buffer {"connection_id":111916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:24] local.INFO: IMEI packet received {"connection_id":111916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":111916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:03:28] local.INFO: TCP Data received {"connection_id":111916,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:28] local.INFO: Processing buffer {"connection_id":111916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:03:28] local.INFO: IMEI packet received {"connection_id":111916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":111916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:03:29] local.INFO: TCP Data received {"connection_id":111283,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ac38e0012d196580071feec80042006c2c..."} 
[2026-06-23 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ac38e0012d196580071feec80042006c2c..."} 
[2026-06-23 19:03:29] local.INFO: Processing buffer {"connection_id":111283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ac38e0012d196580071feec80042006c2c..."} 
[2026-06-23 19:03:29] local.INFO: Packet analysis {"connection_id":111283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:03:29] local.INFO: Extracted packet for processing {"connection_id":111283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248669952001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221388000,"timestamp_ms":1782221388000,"timestamp_seconds":1782221388,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ac38e0"} 
[2026-06-23 19:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:03:29] 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-06-23 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 19:03: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-06-23 19:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248669952001,"66":12439,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248669952001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248669952001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":111283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:03:29] local.INFO: GPS data processed {"connection_id":111283,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:03:29] local.INFO: Acknowledgment sent {"connection_id":111283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:03:30] local.INFO: TCP Data received {"connection_id":111916,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4adcf20012cc34580075c5568001300922f..."} 
[2026-06-23 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4adcf20012cc34580075c5568001300922f..."} 
[2026-06-23 19:03:30] local.INFO: Processing buffer {"connection_id":111916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4adcf20012cc34580075c5568001300922f..."} 
[2026-06-23 19:03:30] local.INFO: Packet analysis {"connection_id":111916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:03:30] local.INFO: Extracted packet for processing {"connection_id":111916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750994816,"raw_latitude":123491688,"longitude_deg":75.0994816,"latitude_deg":12.3491688,"altitude":19,"angle":146,"satellites":47,"speed":25,"hex_longitude":"2cc34580","hex_latitude":"075c5568","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248699904001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321455220951351296,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378343231119327232,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782221492000,"timestamp_ms":1782221492000,"timestamp_seconds":1782221492,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4adcf20"} 
[2026-06-23 19:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:03:30] 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-06-23 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:03:30] 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-06-23 19: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-06-23 19:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248699904001,"66":27767,"117":206,"2":54016,"24":25,"16":321455220951351296,"44":-4378343231119327232},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-06-23 19:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248699904001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:03:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 19:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321455220951351296,"km_value":321455220951351.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378343231119327232,"description":"Unknown IO ID 44"} 
[2026-06-23 19:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248699904001,"power":27767,"unknown_117":206,"power_alt":54016,"ignition":25,"odometer":null,"unknown_44":-4378343231119327232}} 
[2026-06-23 19:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":111916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:03:30] local.INFO: GPS data processed {"connection_id":111916,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:03:30] local.INFO: Acknowledgment sent {"connection_id":111916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:03:47] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:03:47] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:03:47] local.INFO: Packet analysis {"connection_id":111285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:03:47] local.INFO: Extracted packet for processing {"connection_id":111285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:03: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-06-23 19:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03: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-06-23 19:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:03:47] 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-06-23 19:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:03: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-06-23 19:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:03:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":111285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:03:47] local.INFO: GPS data processed {"connection_id":111285,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:03:47] local.INFO: Acknowledgment sent {"connection_id":111285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:03:52] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:03:52] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:03:52] local.INFO: IMEI packet received {"connection_id":111109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":111109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:03:56] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:03:56] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:03:56] local.INFO: IMEI packet received {"connection_id":111109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":111109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:03:57] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ac8ae8012d196580071feec80042006c2b..."} 
[2026-06-23 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ac8ae8012d196580071feec80042006c2b..."} 
[2026-06-23 19:03:57] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ac8ae8012d196580071feec80042006c2b..."} 
[2026-06-23 19:03:57] local.INFO: Packet analysis {"connection_id":111109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:03:57] local.INFO: Extracted packet for processing {"connection_id":111109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248675328001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782221409000,"timestamp_ms":1782221409000,"timestamp_seconds":1782221409,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ac8ae8"} 
[2026-06-23 19:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-23 19:03:57] 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-06-23 19:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248675328001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248675328001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:03:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248675328001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":111109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:03:57] local.INFO: GPS data processed {"connection_id":111109,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:03:57] local.INFO: Acknowledgment sent {"connection_id":111109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:02] local.INFO: TCP Data received {"connection_id":111916,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae05d0012cc35d00075c3a300017008b2f..."} 
[2026-06-23 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae05d0012cc35d00075c3a300017008b2f..."} 
[2026-06-23 19:04:02] local.INFO: Processing buffer {"connection_id":111916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae05d0012cc35d00075c3a300017008b2f..."} 
[2026-06-23 19:04:02] local.INFO: Packet analysis {"connection_id":111916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:02] local.INFO: Extracted packet for processing {"connection_id":111916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:02] local.INFO: GPS Element Parsed {"raw_longitude":751000832,"raw_latitude":123484720,"longitude_deg":75.1000832,"latitude_deg":12.348472,"altitude":23,"angle":139,"satellites":47,"speed":25,"hex_longitude":"2cc35d00","hex_latitude":"075c3a30","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248701952001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321455663332982784,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375950693818341376,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782221506000,"timestamp_ms":1782221506000,"timestamp_seconds":1782221506,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae05d0"} 
[2026-06-23 19:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:02] 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-06-23 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:02] 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-06-23 19: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-06-23 19:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248701952001,"66":27745,"117":206,"2":54016,"24":25,"16":321455663332982784,"44":-4375950693818341376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-06-23 19:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248701952001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 19:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321455663332982784,"km_value":321455663332982.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375950693818341376,"description":"Unknown IO ID 44"} 
[2026-06-23 19:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248701952001,"power":27745,"unknown_117":206,"power_alt":54016,"ignition":25,"odometer":null,"unknown_44":-4375950693818341376}} 
[2026-06-23 19:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":111916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:02] local.INFO: GPS data processed {"connection_id":111916,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:02] local.INFO: Acknowledgment sent {"connection_id":111916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:10] local.INFO: TCP Data received {"connection_id":112852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:04:10] local.INFO: Processing buffer {"connection_id":112852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:04:10] local.INFO: IMEI packet received {"connection_id":112852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":112852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:04:15] local.INFO: TCP Data received {"connection_id":112852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:04:15] local.INFO: Processing buffer {"connection_id":112852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:04:15] local.INFO: IMEI packet received {"connection_id":112852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":112852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:04:17] local.INFO: TCP Data received {"connection_id":112852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:17] local.INFO: Processing buffer {"connection_id":112852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:17] local.INFO: Packet analysis {"connection_id":112852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:17] local.INFO: Extracted packet for processing {"connection_id":112852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:17] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:17] 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-06-23 19:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":112852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":112852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":112852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":112852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:17] local.INFO: GPS data processed {"connection_id":112852,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:17] local.INFO: Acknowledgment sent {"connection_id":112852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:20] local.INFO: TCP Data received {"connection_id":112852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:20] local.INFO: Processing buffer {"connection_id":112852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:20] local.INFO: Packet analysis {"connection_id":112852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:20] local.INFO: Extracted packet for processing {"connection_id":112852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:20] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:20] 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-06-23 19:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:20] 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-06-23 19:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":112852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":112852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":112852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":112852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:20] local.INFO: GPS data processed {"connection_id":112852,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:20] local.INFO: Acknowledgment sent {"connection_id":112852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:22] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:22] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:22] local.INFO: IMEI packet received {"connection_id":111286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":111286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:04:23] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:23] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:23] local.INFO: IMEI packet received {"connection_id":111286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":111286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:04:28] local.INFO: TCP Data received {"connection_id":111109,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4acdcf0012d196580071feec80042006c2b..."} 
[2026-06-23 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4acdcf0012d196580071feec80042006c2b..."} 
[2026-06-23 19:04:28] local.INFO: Processing buffer {"connection_id":111109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4acdcf0012d196580071feec80042006c2b..."} 
[2026-06-23 19:04:28] local.INFO: Packet analysis {"connection_id":111109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:04:28] local.INFO: Extracted packet for processing {"connection_id":111109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ac"} 
[2026-06-23 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248680704001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782221430000,"timestamp_ms":1782221430000,"timestamp_seconds":1782221430,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4acdcf0"} 
[2026-06-23 19:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:28] 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-06-23 19: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-06-23 19:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248680704001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248680704001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248680704001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":111109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:28] local.INFO: GPS data processed {"connection_id":111109,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:28] local.INFO: Acknowledgment sent {"connection_id":111109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:28] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:28] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:04:28] local.INFO: IMEI packet received {"connection_id":111286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":111286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:04:30] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4af6178012cc3c580075b46f00024008a30..."} 
[2026-06-23 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4af6178012cc3c580075b46f00024008a30..."} 
[2026-06-23 19:04:30] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4af6178012cc3c580075b46f00024008a30..."} 
[2026-06-23 19:04:30] local.INFO: Packet analysis {"connection_id":111286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:04:30] local.INFO: Extracted packet for processing {"connection_id":111286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":751027584,"raw_latitude":123422448,"longitude_deg":75.1027584,"latitude_deg":12.3422448,"altitude":36,"angle":138,"satellites":48,"speed":44,"hex_longitude":"2cc3c580","hex_latitude":"075b46f0","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248727296001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321459129371590656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4342947752815783936,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782221595000,"timestamp_ms":1782221595000,"timestamp_seconds":1782221595,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4af6178"} 
[2026-06-23 19:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:30] 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-06-23 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:30] 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-06-23 19: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-06-23 19:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248727296001,"66":27767,"176":206,"2":54016,"24":44,"16":321459129371590656,"44":-4342947752815783936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-06-23 19:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248727296001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:30] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 19:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321459129371590656,"km_value":321459129371590.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4342947752815783936,"description":"Unknown IO ID 44"} 
[2026-06-23 19:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248727296001,"power":27767,"unknown_176":206,"power_alt":54016,"ignition":44,"odometer":null,"unknown_44":-4342947752815783936}} 
[2026-06-23 19:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":111286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:30] local.INFO: GPS data processed {"connection_id":111286,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:30] local.INFO: Acknowledgment sent {"connection_id":111286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:51] local.INFO: TCP Data received {"connection_id":112852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:51] local.INFO: Processing buffer {"connection_id":112852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:04:51] local.INFO: Packet analysis {"connection_id":112852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:51] local.INFO: Extracted packet for processing {"connection_id":112852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:51] 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-06-23 19:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:51] 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-06-23 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":112852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:51] local.INFO: GPS data processed {"connection_id":112852,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:51] local.INFO: Acknowledgment sent {"connection_id":112852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:04:52] local.INFO: TCP Data received {"connection_id":111917,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:04:52] local.INFO: Processing buffer {"connection_id":111917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:04:52] local.INFO: IMEI packet received {"connection_id":111917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":111917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:04:57] local.INFO: TCP Data received {"connection_id":111917,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:04:57] local.INFO: Processing buffer {"connection_id":111917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:04:57] local.INFO: IMEI packet received {"connection_id":111917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":111917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:04:58] local.INFO: TCP Data received {"connection_id":111917,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ad2ef8012d196580071feec80042006c2b..."} 
[2026-06-23 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ad2ef8012d196580071feec80042006c2b..."} 
[2026-06-23 19:04:58] local.INFO: Processing buffer {"connection_id":111917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ad2ef8012d196580071feec80042006c2b..."} 
[2026-06-23 19:04:58] local.INFO: Packet analysis {"connection_id":111917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:04:58] local.INFO: Extracted packet for processing {"connection_id":111917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248686080001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:04: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-06-23 19:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221451000,"timestamp_ms":1782221451000,"timestamp_seconds":1782221451,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ad2ef8"} 
[2026-06-23 19:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:04:58] 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-06-23 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 19:04:58] 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-06-23 19:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248686080001,"66":12232,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248686080001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:04:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248686080001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":111917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:04:58] local.INFO: GPS data processed {"connection_id":111917,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:04:58] local.INFO: Acknowledgment sent {"connection_id":111917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:12] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:05:12] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:05:12] local.INFO: IMEI packet received {"connection_id":111288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":111288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:05:15] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:05:15] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:05:15] local.INFO: IMEI packet received {"connection_id":111288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":111288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:05:15] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4af84a0012cc3e000075b2c800029008830..."} 
[2026-06-23 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4af84a0012cc3e000075b2c800029008830..."} 
[2026-06-23 19:05:15] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4af84a0012cc3e000075b2c800029008830..."} 
[2026-06-23 19:05:15] local.INFO: Packet analysis {"connection_id":111286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:05:15] local.INFO: Extracted packet for processing {"connection_id":111286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":751034368,"raw_latitude":123415680,"longitude_deg":75.1034368,"latitude_deg":12.341568,"altitude":41,"angle":136,"satellites":48,"speed":40,"hex_longitude":"2cc3e000","hex_latitude":"075b2c80","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248728320001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321459588933091328,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4339921896817102848,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221604000,"timestamp_ms":1782221604000,"timestamp_seconds":1782221604,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4af84a0"} 
[2026-06-23 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:05:15] 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-06-23 19: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-06-23 19: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-06-23 19: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-06-23 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248728320001,"66":27767,"176":206,"2":54016,"24":40,"16":321459588933091328,"44":-4339921896817102848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248728320001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321459588933091328,"km_value":321459588933091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4339921896817102848,"description":"Unknown IO ID 44"} 
[2026-06-23 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248728320001,"power":27767,"unknown_176":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-4339921896817102848}} 
[2026-06-23 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":111286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:15] local.INFO: GPS data processed {"connection_id":111286,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:15] local.INFO: Acknowledgment sent {"connection_id":111286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:15] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:05:15] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:05:15] local.INFO: Packet analysis {"connection_id":111288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:05:15] local.INFO: Extracted packet for processing {"connection_id":111288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:15] 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-06-23 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:05:15] 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-06-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":111288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:15] local.INFO: GPS data processed {"connection_id":111288,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:15] local.INFO: Acknowledgment sent {"connection_id":111288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:29] local.INFO: TCP Data received {"connection_id":111917,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ad8100012d196580071feec80042006c2b..."} 
[2026-06-23 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ad8100012d196580071feec80042006c2b..."} 
[2026-06-23 19:05:29] local.INFO: Processing buffer {"connection_id":111917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ad8100012d196580071feec80042006c2b..."} 
[2026-06-23 19:05:29] local.INFO: Packet analysis {"connection_id":111917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:05:29] local.INFO: Extracted packet for processing {"connection_id":111917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248691456001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221472000,"timestamp_ms":1782221472000,"timestamp_seconds":1782221472,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ad8100"} 
[2026-06-23 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:05:29] 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-06-23 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 19:05:29] 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-06-23 19:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248691456001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248691456001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248691456001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":111917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:29] local.INFO: GPS data processed {"connection_id":111917,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:29] local.INFO: Acknowledgment sent {"connection_id":111917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:29] local.INFO: TCP Data received {"connection_id":111918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:05:29] local.INFO: Processing buffer {"connection_id":111918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:05:29] local.INFO: IMEI packet received {"connection_id":111918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":111918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:05:30] local.INFO: TCP Data received {"connection_id":111918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:05:30] local.INFO: Processing buffer {"connection_id":111918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:05:30] local.INFO: IMEI packet received {"connection_id":111918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":111918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:05:31] local.INFO: TCP Data received {"connection_id":111918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4afabb0012cc3fb40075b1118002d008a30..."} 
[2026-06-23 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4afabb0012cc3fb40075b1118002d008a30..."} 
[2026-06-23 19:05:31] local.INFO: Processing buffer {"connection_id":111918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4afabb0012cc3fb40075b1118002d008a30..."} 
[2026-06-23 19:05:31] local.INFO: Packet analysis {"connection_id":111918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:05:31] local.INFO: Extracted packet for processing {"connection_id":111918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:05:31] local.INFO: GPS Element Parsed {"raw_longitude":751041344,"raw_latitude":123408664,"longitude_deg":75.1041344,"latitude_deg":12.3408664,"altitude":45,"angle":138,"satellites":48,"speed":37,"hex_longitude":"2cc3fb40","hex_latitude":"075b1118","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248730624001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321460061379493888,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4332462809936003072,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782221614000,"timestamp_ms":1782221614000,"timestamp_seconds":1782221614,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4afabb0"} 
[2026-06-23 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-06-23 19:05:31] 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-06-23 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 19:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248730624001,"66":27767,"176":206,"2":54016,"24":37,"16":321460061379493888,"44":-4332462809936003072},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-06-23 19:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248730624001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 19:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321460061379493888,"km_value":321460061379493.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4332462809936003072,"description":"Unknown IO ID 44"} 
[2026-06-23 19:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248730624001,"power":27767,"unknown_176":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-4332462809936003072}} 
[2026-06-23 19:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":111918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:31] local.INFO: GPS data processed {"connection_id":111918,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:31] local.INFO: Acknowledgment sent {"connection_id":111918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:34] local.INFO: TCP Data received {"connection_id":111918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4afd2c0012cc412c0075af698002f008c32..."} 
[2026-06-23 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4afd2c0012cc412c0075af698002f008c32..."} 
[2026-06-23 19:05:34] local.INFO: Processing buffer {"connection_id":111918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4afd2c0012cc412c0075af698002f008c32..."} 
[2026-06-23 19:05:34] local.INFO: Packet analysis {"connection_id":111918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:05:34] local.INFO: Extracted packet for processing {"connection_id":111918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4af"} 
[2026-06-23 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":751047360,"raw_latitude":123401880,"longitude_deg":75.104736,"latitude_deg":12.340188,"altitude":47,"angle":140,"satellites":50,"speed":34,"hex_longitude":"2cc412c0","hex_latitude":"075af698","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248733184001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321460495171190784,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4324792616822433792,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782221624000,"timestamp_ms":1782221624000,"timestamp_seconds":1782221624,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4afd2c0"} 
[2026-06-23 19:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:05: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-06-23 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 19:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248733184001,"66":27745,"176":206,"2":54016,"24":34,"16":321460495171190784,"44":-4324792616822433792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-06-23 19:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248733184001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-23 19:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321460495171190784,"km_value":321460495171190.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4324792616822433792,"description":"Unknown IO ID 44"} 
[2026-06-23 19:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248733184001,"power":27745,"unknown_176":206,"power_alt":54016,"ignition":34,"odometer":null,"unknown_44":-4324792616822433792}} 
[2026-06-23 19:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":111918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:34] local.INFO: GPS data processed {"connection_id":111918,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:34] local.INFO: Acknowledgment sent {"connection_id":111918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:46] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:05:46] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:05:46] local.INFO: Packet analysis {"connection_id":111288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:05:46] local.INFO: Extracted packet for processing {"connection_id":111288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05: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-06-23 19:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:05:46] 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-06-23 19:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":111288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:47] local.INFO: GPS data processed {"connection_id":111288,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:47] local.INFO: Acknowledgment sent {"connection_id":111288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:05:53] local.INFO: TCP Data received {"connection_id":111289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:05:53] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:05:53] local.INFO: IMEI packet received {"connection_id":111289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":111289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:05:57] local.INFO: TCP Data received {"connection_id":111289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:05:57] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:05:57] local.INFO: IMEI packet received {"connection_id":111289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":111289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:05:58] local.INFO: TCP Data received {"connection_id":111289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4add308012d196580071feec80042006c2c..."} 
[2026-06-23 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4add308012d196580071feec80042006c2c..."} 
[2026-06-23 19:05:58] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4add308012d196580071feec80042006c2c..."} 
[2026-06-23 19:05:58] local.INFO: Packet analysis {"connection_id":111289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:05:58] local.INFO: Extracted packet for processing {"connection_id":111289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ad"} 
[2026-06-23 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248696832001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:05: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-06-23 19:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221493000,"timestamp_ms":1782221493000,"timestamp_seconds":1782221493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4add308"} 
[2026-06-23 19:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:05:58] 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-06-23 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 19:05:58] 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-06-23 19:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248696832001,"66":12461,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248696832001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:05:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248696832001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":111289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:05:58] local.INFO: GPS data processed {"connection_id":111289,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:05:58] local.INFO: Acknowledgment sent {"connection_id":111289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:06:05] local.INFO: TCP Data received {"connection_id":111918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b12698012cc4b1800759aa500030009e2f..."} 
[2026-06-23 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b12698012cc4b1800759aa500030009e2f..."} 
[2026-06-23 19:06:05] local.INFO: Processing buffer {"connection_id":111918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b12698012cc4b1800759aa500030009e2f..."} 
[2026-06-23 19:06:05] local.INFO: Packet analysis {"connection_id":111918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:06:05] local.INFO: Extracted packet for processing {"connection_id":111918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":751088000,"raw_latitude":123316816,"longitude_deg":75.1088,"latitude_deg":12.3316816,"altitude":48,"angle":158,"satellites":47,"speed":58,"hex_longitude":"2cc4b180","hex_latitude":"0759aa50","is_valid_coordinates":true} 
[2026-06-23 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248756480001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321465206750314496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4275886339640281088,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782221711000,"timestamp_ms":1782221711000,"timestamp_seconds":1782221711,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b12698"} 
[2026-06-23 19:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:06: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-06-23 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248756480001,"66":27604,"212":206,"2":54016,"24":58,"16":321465206750314496,"44":-4275886339640281088},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248756480001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:06:05] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321465206750314496,"km_value":321465206750314.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4275886339640281088,"description":"Unknown IO ID 44"} 
[2026-06-23 19:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248756480001,"power":27604,"unknown_212":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4275886339640281088}} 
[2026-06-23 19:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":111918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:06:05] local.INFO: GPS data processed {"connection_id":111918,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:06:05] local.INFO: Acknowledgment sent {"connection_id":111918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:06:10] local.INFO: TCP Data received {"connection_id":111920,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:06:10] local.INFO: Processing buffer {"connection_id":111920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:06:10] local.INFO: IMEI packet received {"connection_id":111920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":111920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:06:15] local.INFO: TCP Data received {"connection_id":111920,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:06:15] local.INFO: Processing buffer {"connection_id":111920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:06:15] local.INFO: IMEI packet received {"connection_id":111920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":111920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:06:16] local.INFO: TCP Data received {"connection_id":111920,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:06:16] local.INFO: Processing buffer {"connection_id":111920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:06:16] local.INFO: Packet analysis {"connection_id":111920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:16] local.INFO: Extracted packet for processing {"connection_id":111920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:16] 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-06-23 19:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:06:16] 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-06-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:06:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":111920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:06:16] local.INFO: GPS data processed {"connection_id":111920,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:06:16] local.INFO: Acknowledgment sent {"connection_id":111920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:06:23] local.INFO: TCP Data received {"connection_id":111921,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:06:23] local.INFO: Processing buffer {"connection_id":111921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:06:23] local.INFO: IMEI packet received {"connection_id":111921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":111921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:06:24] local.INFO: TCP Data received {"connection_id":111921,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:06:24] local.INFO: Processing buffer {"connection_id":111921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:06:24] local.INFO: IMEI packet received {"connection_id":111921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":111921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:06:26] local.INFO: TCP Data received {"connection_id":111921,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b141f0012cc4c400075989a80030008e30..."} 
[2026-06-23 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b141f0012cc4c400075989a80030008e30..."} 
[2026-06-23 19:06:26] local.INFO: Processing buffer {"connection_id":111921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b141f0012cc4c400075989a80030008e30..."} 
[2026-06-23 19:06:26] local.INFO: Packet analysis {"connection_id":111921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:06:26] local.INFO: Extracted packet for processing {"connection_id":111921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":751092736,"raw_latitude":123308456,"longitude_deg":75.1092736,"latitude_deg":12.3308456,"altitude":48,"angle":142,"satellites":48,"speed":49,"hex_longitude":"2cc4c400","hex_latitude":"075989a8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248758016001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321465670606782464,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4273493802340429824,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782221718000,"timestamp_ms":1782221718000,"timestamp_seconds":1782221718,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b141f0"} 
[2026-06-23 19:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:06:26] 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-06-23 19: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 19:06:26] 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-06-23 19: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-06-23 19:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248758016001,"66":27484,"212":206,"2":54016,"24":49,"16":321465670606782464,"44":-4273493802340429824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248758016001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:06:26] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321465670606782464,"km_value":321465670606782.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4273493802340429824,"description":"Unknown IO ID 44"} 
[2026-06-23 19:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248758016001,"power":27484,"unknown_212":206,"power_alt":54016,"ignition":49,"odometer":null,"unknown_44":-4273493802340429824}} 
[2026-06-23 19:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":111921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:06:26] local.INFO: GPS data processed {"connection_id":111921,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:06:26] local.INFO: Acknowledgment sent {"connection_id":111921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:06:28] local.INFO: TCP Data received {"connection_id":111289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae2510012d196580071feec80042006c2c..."} 
[2026-06-23 19:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae2510012d196580071feec80042006c2c..."} 
[2026-06-23 19:06:28] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae2510012d196580071feec80042006c2c..."} 
[2026-06-23 19:06:28] local.INFO: Packet analysis {"connection_id":111289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:28] local.INFO: Extracted packet for processing {"connection_id":111289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248702208001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782221514000,"timestamp_ms":1782221514000,"timestamp_seconds":1782221514,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae2510"} 
[2026-06-23 19:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:06:28] 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-06-23 19:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-23 19:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248702208001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248702208001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248702208001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":111289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:06:29] local.INFO: GPS data processed {"connection_id":111289,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:06:29] local.INFO: Acknowledgment sent {"connection_id":111289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:06:31] local.INFO: TCP Data received {"connection_id":111919,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:06:31] local.INFO: Processing buffer {"connection_id":111919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:06:31] local.INFO: IMEI packet received {"connection_id":111919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":111919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:06:47] local.INFO: TCP Data received {"connection_id":111920,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:06:47] local.INFO: Processing buffer {"connection_id":111920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:06:47] local.INFO: Packet analysis {"connection_id":111920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:47] local.INFO: Extracted packet for processing {"connection_id":111920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06: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-06-23 19:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:06:47] 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-06-23 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 19:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:06:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":111920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:06:47] local.INFO: GPS data processed {"connection_id":111920,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:06:47] local.INFO: Acknowledgment sent {"connection_id":111920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:06:52] local.INFO: TCP Data received {"connection_id":112853,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:06:52] local.INFO: Processing buffer {"connection_id":112853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:06:52] local.INFO: IMEI packet received {"connection_id":112853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":112853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:06:57] local.INFO: TCP Data received {"connection_id":112853,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:06:57] local.INFO: Processing buffer {"connection_id":112853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:06:57] local.INFO: IMEI packet received {"connection_id":112853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":112853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:06:57] local.INFO: TCP Data received {"connection_id":112853,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae7718012d196580071feec80042006c2c..."} 
[2026-06-23 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae7718012d196580071feec80042006c2c..."} 
[2026-06-23 19:06:57] local.INFO: Processing buffer {"connection_id":112853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae7718012d196580071feec80042006c2c..."} 
[2026-06-23 19:06:57] local.INFO: Packet analysis {"connection_id":112853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:57] local.INFO: Extracted packet for processing {"connection_id":112853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248707584001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782221535000,"timestamp_ms":1782221535000,"timestamp_seconds":1782221535,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae7718"} 
[2026-06-23 19:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248707584001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248707584001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:06:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248707584001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":112853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:06:57] local.INFO: GPS data processed {"connection_id":112853,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:06:57] local.INFO: Acknowledgment sent {"connection_id":112853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:07:01] local.INFO: TCP Data received {"connection_id":111921,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b141f0012cc4c400075989a80030008e30..."} 
[2026-06-23 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b141f0012cc4c400075989a80030008e30..."} 
[2026-06-23 19:07:01] local.INFO: Processing buffer {"connection_id":111921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b141f0012cc4c400075989a80030008e30..."} 
[2026-06-23 19:07:01] local.INFO: Packet analysis {"connection_id":111921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:07:01] local.INFO: Extracted packet for processing {"connection_id":111921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:07:01] local.INFO: GPS Element Parsed {"raw_longitude":751092736,"raw_latitude":123308456,"longitude_deg":75.1092736,"latitude_deg":12.3308456,"altitude":48,"angle":142,"satellites":48,"speed":49,"hex_longitude":"2cc4c400","hex_latitude":"075989a8","is_valid_coordinates":true} 
[2026-06-23 19:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248759808001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321465670606782464,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4268286515273422848,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782221718000,"timestamp_ms":1782221718000,"timestamp_seconds":1782221718,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b141f0"} 
[2026-06-23 19:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:07:01] 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-06-23 19:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 19:07:01] 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-06-23 19:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248759808001,"66":27484,"212":206,"2":54016,"24":49,"16":321465670606782464,"44":-4268286515273422848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248759808001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:07:01] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321465670606782464,"km_value":321465670606782.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4268286515273422848,"description":"Unknown IO ID 44"} 
[2026-06-23 19:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248759808001,"power":27484,"unknown_212":206,"power_alt":54016,"ignition":49,"odometer":null,"unknown_44":-4268286515273422848}} 
[2026-06-23 19:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":111921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:07:01] local.INFO: GPS data processed {"connection_id":111921,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:07:01] local.INFO: Acknowledgment sent {"connection_id":111921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:07:06] local.INFO: TCP Data received {"connection_id":111110,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:07:06] local.INFO: Processing buffer {"connection_id":111110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:07:06] local.INFO: IMEI packet received {"connection_id":111110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":111110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:07:10] local.INFO: TCP Data received {"connection_id":112854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:07:10] local.INFO: Processing buffer {"connection_id":112854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:07:10] local.INFO: IMEI packet received {"connection_id":112854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":112854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:07:15] local.INFO: TCP Data received {"connection_id":112854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:07:15] local.INFO: Processing buffer {"connection_id":112854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:07:15] local.INFO: IMEI packet received {"connection_id":112854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":112854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:07:15] local.INFO: TCP Data received {"connection_id":112854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:07:15] local.INFO: Processing buffer {"connection_id":112854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ae82d0012d7e380005d34de8000300242d..."} 
[2026-06-23 19:07:15] local.INFO: Packet analysis {"connection_id":112854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:07:15] local.INFO: Extracted packet for processing {"connection_id":112854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ae"} 
[2026-06-23 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":45,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248636672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:15] 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-06-23 19:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221538000,"timestamp_ms":1782221538000,"timestamp_seconds":1782221538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ae82d0"} 
[2026-06-23 19:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:07:15] 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-06-23 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-23 19:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":112854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":112854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":112854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:07:15] 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-06-23 19:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248636672001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248636672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:07:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248636672001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":112854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:07:16] local.INFO: GPS data processed {"connection_id":112854,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:07:16] local.INFO: Acknowledgment sent {"connection_id":112854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:07:22] local.INFO: TCP Data received {"connection_id":111290,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:22] local.INFO: Processing buffer {"connection_id":111290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:22] local.INFO: IMEI packet received {"connection_id":111290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":111290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:07:23] local.INFO: TCP Data received {"connection_id":111290,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:23] local.INFO: Processing buffer {"connection_id":111290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:23] local.INFO: IMEI packet received {"connection_id":111290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":111290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:07:28] local.INFO: TCP Data received {"connection_id":112853,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b1fd70012d196580071feec80042006c2a..."} 
[2026-06-23 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b1fd70012d196580071feec80042006c2a..."} 
[2026-06-23 19:07:28] local.INFO: Processing buffer {"connection_id":112853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b1fd70012d196580071feec80042006c2a..."} 
[2026-06-23 19:07:28] local.INFO: Packet analysis {"connection_id":112853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:07:28] local.INFO: Extracted packet for processing {"connection_id":112853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b1"} 
[2026-06-23 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248766720001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782221766000,"timestamp_ms":1782221766000,"timestamp_seconds":1782221766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b1fd70"} 
[2026-06-23 19:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 19:07:28] 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-06-23 19: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-06-23 19:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248766720001,"66":12428,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248766720001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248766720001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":112853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:07:28] local.INFO: GPS data processed {"connection_id":112853,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:07:28] local.INFO: Acknowledgment sent {"connection_id":112853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:07:28] local.INFO: TCP Data received {"connection_id":111290,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:28] local.INFO: Processing buffer {"connection_id":111290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:07:28] local.INFO: IMEI packet received {"connection_id":111290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":111290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:07:30] local.INFO: TCP Data received {"connection_id":111290,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b23fd8012cc48780075837b8002100cb30..."} 
[2026-06-23 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b23fd8012cc48780075837b8002100cb30..."} 
[2026-06-23 19:07:30] local.INFO: Processing buffer {"connection_id":111290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b23fd8012cc48780075837b8002100cb30..."} 
[2026-06-23 19:07:30] local.INFO: Packet analysis {"connection_id":111290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:07:30] local.INFO: Extracted packet for processing {"connection_id":111290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":751077248,"raw_latitude":123221944,"longitude_deg":75.1077248,"latitude_deg":12.3221944,"altitude":33,"angle":203,"satellites":48,"speed":52,"hex_longitude":"2cc48780","hex_latitude":"075837b8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248774656001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321470197502312448,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4280812151756861440,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782221783000,"timestamp_ms":1782221783000,"timestamp_seconds":1782221783,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b23fd8"} 
[2026-06-23 19:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:07:30] 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-06-23 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248774656001,"66":27365,"177":206,"2":54016,"24":52,"16":321470197502312448,"44":-4280812151756861440},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-06-23 19:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248774656001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:07:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 19:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321470197502312448,"km_value":321470197502312.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4280812151756861440,"description":"Unknown IO ID 44"} 
[2026-06-23 19:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248774656001,"power":27365,"unknown_177":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4280812151756861440}} 
[2026-06-23 19:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":111290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:07:30] local.INFO: GPS data processed {"connection_id":111290,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:07:30] local.INFO: Acknowledgment sent {"connection_id":111290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:07:46] local.INFO: TCP Data received {"connection_id":112854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:07:46] local.INFO: Processing buffer {"connection_id":112854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:07:46] local.INFO: Packet analysis {"connection_id":112854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:07:46] local.INFO: Extracted packet for processing {"connection_id":112854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:07: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-06-23 19:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:07:46] 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-06-23 19: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:07:46] 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-06-23 19: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-06-23 19:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:07: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-06-23 19:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:07:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":112854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:07:46] local.INFO: GPS data processed {"connection_id":112854,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:07:46] local.INFO: Acknowledgment sent {"connection_id":112854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:07:57] local.INFO: TCP Data received {"connection_id":111922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:07:57] local.INFO: Processing buffer {"connection_id":111922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:07:57] local.INFO: IMEI packet received {"connection_id":111922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":111922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:08:01] local.INFO: TCP Data received {"connection_id":111290,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b25b30012cc47a40075816f8002300c730..."} 
[2026-06-23 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b25b30012cc47a40075816f8002300c730..."} 
[2026-06-23 19:08:01] local.INFO: Processing buffer {"connection_id":111290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b25b30012cc47a40075816f8002300c730..."} 
[2026-06-23 19:08:01] local.INFO: Packet analysis {"connection_id":111290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:01] local.INFO: Extracted packet for processing {"connection_id":111290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":751073856,"raw_latitude":123213560,"longitude_deg":75.1073856,"latitude_deg":12.321356,"altitude":35,"angle":199,"satellites":48,"speed":50,"hex_longitude":"2cc47a40","hex_latitude":"075816f8","is_valid_coordinates":true} 
[2026-06-23 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248776448001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321470635588976640,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4285315751386564608,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782221790000,"timestamp_ms":1782221790000,"timestamp_seconds":1782221790,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b25b30"} 
[2026-06-23 19:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:08:01] 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-06-23 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248776448001,"66":27517,"177":206,"2":54016,"24":50,"16":321470635588976640,"44":-4285315751386564608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-06-23 19:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248776448001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-23 19:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321470635588976640,"km_value":321470635588976.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4285315751386564608,"description":"Unknown IO ID 44"} 
[2026-06-23 19:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248776448001,"power":27517,"unknown_177":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-4285315751386564608}} 
[2026-06-23 19:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":111290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:01] local.INFO: GPS data processed {"connection_id":111290,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:01] local.INFO: Acknowledgment sent {"connection_id":111290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:08:02] local.INFO: TCP Data received {"connection_id":111922,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:02] local.INFO: Processing buffer {"connection_id":111922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:02] local.INFO: IMEI packet received {"connection_id":111922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":111922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:08:03] local.INFO: TCP Data received {"connection_id":111922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b24f78012d196580071feec80042006c29..."} 
[2026-06-23 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b24f78012d196580071feec80042006c29..."} 
[2026-06-23 19:08:03] local.INFO: Processing buffer {"connection_id":111922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b24f78012d196580071feec80042006c29..."} 
[2026-06-23 19:08:03] local.INFO: Packet analysis {"connection_id":111922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:03] local.INFO: Extracted packet for processing {"connection_id":111922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248772096001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782221787000,"timestamp_ms":1782221787000,"timestamp_seconds":1782221787,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b24f78"} 
[2026-06-23 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-06-23 19:08:03] 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-06-23 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:03] 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-06-23 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-06-23 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-06-23 19:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248772096001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248772096001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248772096001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":111922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:03] local.INFO: GPS data processed {"connection_id":111922,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:03] local.INFO: Acknowledgment sent {"connection_id":111922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:08:07] local.INFO: TCP Data received {"connection_id":111922,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b2a180012d196580071feec80042006c2a..."} 
[2026-06-23 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b2a180012d196580071feec80042006c2a..."} 
[2026-06-23 19:08:07] local.INFO: Processing buffer {"connection_id":111922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b2a180012d196580071feec80042006c2a..."} 
[2026-06-23 19:08:07] local.INFO: Packet analysis {"connection_id":111922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:07] local.INFO: Extracted packet for processing {"connection_id":111922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248777472001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782221808000,"timestamp_ms":1782221808000,"timestamp_seconds":1782221808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b2a180"} 
[2026-06-23 19:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:08:07] 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-06-23 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:07] 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-06-23 19:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248777472001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248777472001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248777472001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":111922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:07] local.INFO: GPS data processed {"connection_id":111922,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:07] local.INFO: Acknowledgment sent {"connection_id":111922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:08:10] local.INFO: TCP Data received {"connection_id":111291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:08:10] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:08:10] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:08:15] local.INFO: TCP Data received {"connection_id":111291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:08:15] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:08:15] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:08:15] local.INFO: TCP Data received {"connection_id":111291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:08:15] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:08:15] local.INFO: Packet analysis {"connection_id":111291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:08:15] local.INFO: Extracted packet for processing {"connection_id":111291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:08:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:15] 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-06-23 19:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:08:15] 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-06-23 19:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:15] 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-06-23 19:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:08:15] 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-06-23 19:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":111291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:15] local.INFO: GPS data processed {"connection_id":111291,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:15] local.INFO: Acknowledgment sent {"connection_id":111291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:08:23] local.INFO: TCP Data received {"connection_id":111923,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:23] local.INFO: Processing buffer {"connection_id":111923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:23] local.INFO: IMEI packet received {"connection_id":111923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":111923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:08:23] local.INFO: TCP Data received {"connection_id":111923,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:23] local.INFO: Processing buffer {"connection_id":111923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:23] local.INFO: IMEI packet received {"connection_id":111923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":111923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:08:28] local.INFO: TCP Data received {"connection_id":111923,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:28] local.INFO: Processing buffer {"connection_id":111923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:08:28] local.INFO: IMEI packet received {"connection_id":111923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":111923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:08:29] local.INFO: TCP Data received {"connection_id":111923,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b27688012cc46ec00757f5e8002400c530..."} 
[2026-06-23 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b27688012cc46ec00757f5e8002400c530..."} 
[2026-06-23 19:08:29] local.INFO: Processing buffer {"connection_id":111923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b27688012cc46ec00757f5e8002400c530..."} 
[2026-06-23 19:08:29] local.INFO: Packet analysis {"connection_id":111923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:29] local.INFO: Extracted packet for processing {"connection_id":111923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:29] local.INFO: GPS Element Parsed {"raw_longitude":751070912,"raw_latitude":123205096,"longitude_deg":75.1070912,"latitude_deg":12.3205096,"altitude":36,"angle":197,"satellites":48,"speed":51,"hex_longitude":"2cc46ec0","hex_latitude":"0757f5e8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248778240001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321471065085706240,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4289045294830127104,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-23 19:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221797000,"timestamp_ms":1782221797000,"timestamp_seconds":1782221797,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b27688"} 
[2026-06-23 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-06-23 19:08:29] 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-06-23 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:29] 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-06-23 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-06-23 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-06-23 19:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248778240001,"66":27365,"2":54016,"24":51,"16":321471065085706240,"44":-4289045294830127104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-06-23 19:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248778240001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321471065085706240,"km_value":321471065085706.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4289045294830127104,"description":"Unknown IO ID 44"} 
[2026-06-23 19:08:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456248778240001,"power":27365,"power_alt":54016,"ignition":51,"odometer":null,"unknown_44":-4289045294830127104}} 
[2026-06-23 19:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":111923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:29] local.INFO: GPS data processed {"connection_id":111923,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:29] local.INFO: Acknowledgment sent {"connection_id":111923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:08:46] local.INFO: TCP Data received {"connection_id":111291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:08:46] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:08:46] local.INFO: Packet analysis {"connection_id":111291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:08:46] local.INFO: Extracted packet for processing {"connection_id":111291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08: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-06-23 19:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 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-06-23 19:08:46] 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-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:46] 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-06-23 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-06-23 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-06-23 19:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 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-06-23 19:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":111291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:46] local.INFO: GPS data processed {"connection_id":111291,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:46] local.INFO: Acknowledgment sent {"connection_id":111291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:08:51] local.INFO: TCP Data received {"connection_id":111292,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:51] local.INFO: Processing buffer {"connection_id":111292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:51] local.INFO: IMEI packet received {"connection_id":111292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":111292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:08:52] local.INFO: TCP Data received {"connection_id":111292,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:52] local.INFO: Processing buffer {"connection_id":111292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:52] local.INFO: IMEI packet received {"connection_id":111292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":111292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:08:57] local.INFO: TCP Data received {"connection_id":111292,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:57] local.INFO: Processing buffer {"connection_id":111292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:08:57] local.INFO: IMEI packet received {"connection_id":111292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":111292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:08:58] local.INFO: TCP Data received {"connection_id":111292,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b2f388012d196580071feec80042006c2a..."} 
[2026-06-23 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b2f388012d196580071feec80042006c2a..."} 
[2026-06-23 19:08:58] local.INFO: Processing buffer {"connection_id":111292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b2f388012d196580071feec80042006c2a..."} 
[2026-06-23 19:08:58] local.INFO: Packet analysis {"connection_id":111292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:58] local.INFO: Extracted packet for processing {"connection_id":111292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b2"} 
[2026-06-23 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248782848001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:08: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-06-23 19:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221829000,"timestamp_ms":1782221829000,"timestamp_seconds":1782221829,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b2f388"} 
[2026-06-23 19:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:08:58] 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-06-23 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:08:58] 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-06-23 19:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248782848001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248782848001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:08:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248782848001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":111292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:08:58] local.INFO: GPS data processed {"connection_id":111292,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:08:58] local.INFO: Acknowledgment sent {"connection_id":111292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:09:01] local.INFO: TCP Data received {"connection_id":111923,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b3ca60012cc40c8007567b48001100ad31..."} 
[2026-06-23 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b3ca60012cc40c8007567b48001100ad31..."} 
[2026-06-23 19:09:01] local.INFO: Processing buffer {"connection_id":111923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b3ca60012cc40c8007567b48001100ad31..."} 
[2026-06-23 19:09:01] local.INFO: Packet analysis {"connection_id":111923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:01] local.INFO: Extracted packet for processing {"connection_id":111923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":751045760,"raw_latitude":123108168,"longitude_deg":75.104576,"latitude_deg":12.3108168,"altitude":17,"angle":173,"satellites":49,"speed":50,"hex_longitude":"2cc40c80","hex_latitude":"07567b48","is_valid_coordinates":true} 
[2026-06-23 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248800512001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321475952758489088,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4320289017269710848,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782221884000,"timestamp_ms":1782221884000,"timestamp_seconds":1782221884,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b3ca60"} 
[2026-06-23 19:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:09:01] 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-06-23 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 19:09:01] 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-06-23 19:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248800512001,"66":27484,"212":206,"2":54016,"24":50,"16":321475952758489088,"44":-4320289017269710848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248800512001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:09:01] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321475952758489088,"km_value":321475952758489.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4320289017269710848,"description":"Unknown IO ID 44"} 
[2026-06-23 19:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248800512001,"power":27484,"unknown_212":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-4320289017269710848}} 
[2026-06-23 19:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":111923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:09:01] local.INFO: GPS data processed {"connection_id":111923,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:09:01] local.INFO: Acknowledgment sent {"connection_id":111923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:09:10] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:09:10] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:09:10] local.INFO: IMEI packet received {"connection_id":111112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":111112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:09:15] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:09:15] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:09:15] local.INFO: IMEI packet received {"connection_id":111112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":111112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:09:15] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:09:15] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:09:15] local.INFO: Packet analysis {"connection_id":111112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:15] local.INFO: Extracted packet for processing {"connection_id":111112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:15] 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-06-23 19:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:09:15] 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-06-23 19:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:09:15] 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-06-23 19:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:09:15] 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-06-23 19:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:09:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:09:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":111112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:09:16] local.INFO: GPS data processed {"connection_id":111112,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:09:16] local.INFO: Acknowledgment sent {"connection_id":111112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:09:23] local.INFO: TCP Data received {"connection_id":112856,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:09:23] local.INFO: Processing buffer {"connection_id":112856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:09:23] local.INFO: IMEI packet received {"connection_id":112856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":112856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:09:28] local.INFO: TCP Data received {"connection_id":112856,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:09:28] local.INFO: Processing buffer {"connection_id":112856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:09:28] local.INFO: IMEI packet received {"connection_id":112856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":112856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:09:29] local.INFO: TCP Data received {"connection_id":111292,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b34590012d196580071feec80042006c29..."} 
[2026-06-23 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b34590012d196580071feec80042006c29..."} 
[2026-06-23 19:09:29] local.INFO: Processing buffer {"connection_id":111292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b34590012d196580071feec80042006c29..."} 
[2026-06-23 19:09:29] local.INFO: Packet analysis {"connection_id":111292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:29] local.INFO: Extracted packet for processing {"connection_id":111292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248788224001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221850000,"timestamp_ms":1782221850000,"timestamp_seconds":1782221850,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b34590"} 
[2026-06-23 19:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:09:29] 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-06-23 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 19:09:29] 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-06-23 19:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248788224001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248788224001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248788224001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":111292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:09:29] local.INFO: GPS data processed {"connection_id":111292,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:09:29] local.INFO: Acknowledgment sent {"connection_id":111292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:09:29] local.INFO: TCP Data received {"connection_id":112856,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b3e9a0012cc41140075654f8001100ab31..."} 
[2026-06-23 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b3e9a0012cc41140075654f8001100ab31..."} 
[2026-06-23 19:09:29] local.INFO: Processing buffer {"connection_id":112856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b3e9a0012cc41140075654f8001100ab31..."} 
[2026-06-23 19:09:29] local.INFO: Packet analysis {"connection_id":112856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:29] local.INFO: Extracted packet for processing {"connection_id":112856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":751046976,"raw_latitude":123098360,"longitude_deg":75.1046976,"latitude_deg":12.309836,"altitude":17,"angle":171,"satellites":49,"speed":48,"hex_longitude":"2cc41140","hex_latitude":"075654f8","is_valid_coordinates":true} 
[2026-06-23 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248802304001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321476429499858944,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4319937173551101952,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782221892000,"timestamp_ms":1782221892000,"timestamp_seconds":1782221892,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b3e9a0"} 
[2026-06-23 19:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:09:29] 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-06-23 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 19:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248802304001,"66":27376,"212":206,"2":54016,"24":48,"16":321476429499858944,"44":-4319937173551101952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248802304001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321476429499858944,"km_value":321476429499858.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4319937173551101952,"description":"Unknown IO ID 44"} 
[2026-06-23 19:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248802304001,"power":27376,"unknown_212":206,"power_alt":54016,"ignition":48,"odometer":null,"unknown_44":-4319937173551101952}} 
[2026-06-23 19:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":112856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:09:29] local.INFO: GPS data processed {"connection_id":112856,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:09:29] local.INFO: Acknowledgment sent {"connection_id":112856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:09:46] local.INFO: TCP Data received {"connection_id":111112,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:09:46] local.INFO: Processing buffer {"connection_id":111112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:09:46] local.INFO: Packet analysis {"connection_id":111112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:46] local.INFO: Extracted packet for processing {"connection_id":111112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09: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-06-23 19:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:09:46] 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-06-23 19:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:09:46] 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-06-23 19:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:09: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-06-23 19:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:09:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":111112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:09:46] local.INFO: GPS data processed {"connection_id":111112,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:09:46] local.INFO: Acknowledgment sent {"connection_id":111112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:09:52] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:52] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:52] local.INFO: IMEI packet received {"connection_id":111113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":111113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:09:53] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:53] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:53] local.INFO: IMEI packet received {"connection_id":111113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":111113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:09:57] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:57] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:09:57] local.INFO: IMEI packet received {"connection_id":111113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":111113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:09:58] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b39798012d196580071feec80042006c29..."} 
[2026-06-23 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b39798012d196580071feec80042006c29..."} 
[2026-06-23 19:09:58] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b39798012d196580071feec80042006c29..."} 
[2026-06-23 19:09:58] local.INFO: Packet analysis {"connection_id":111113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:58] local.INFO: Extracted packet for processing {"connection_id":111113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248793600001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:09: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-06-23 19:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221871000,"timestamp_ms":1782221871000,"timestamp_seconds":1782221871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b39798"} 
[2026-06-23 19:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:09:58] 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-06-23 19:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 19:09:58] 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-06-23 19:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248793600001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248793600001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:09:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248793600001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":111113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:09:58] local.INFO: GPS data processed {"connection_id":111113,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:09:58] local.INFO: Acknowledgment sent {"connection_id":111113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:01] local.INFO: TCP Data received {"connection_id":112856,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b408e0012cc41840075630d8001300a830..."} 
[2026-06-23 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b408e0012cc41840075630d8001300a830..."} 
[2026-06-23 19:10:01] local.INFO: Processing buffer {"connection_id":112856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b408e0012cc41840075630d8001300a830..."} 
[2026-06-23 19:10:01] local.INFO: Packet analysis {"connection_id":112856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:01] local.INFO: Extracted packet for processing {"connection_id":112856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":751048768,"raw_latitude":123089112,"longitude_deg":75.1048768,"latitude_deg":12.3089112,"altitude":19,"angle":168,"satellites":48,"speed":44,"hex_longitude":"2cc41840","hex_latitude":"075630d8","is_valid_coordinates":true} 
[2026-06-23 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248804352001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321476889061359616,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4318600167414237184,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782221900000,"timestamp_ms":1782221900000,"timestamp_seconds":1782221900,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b408e0"} 
[2026-06-23 19:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:10:01] 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-06-23 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248804352001,"66":27343,"212":206,"2":54016,"24":44,"16":321476889061359616,"44":-4318600167414237184},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248804352001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:01] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321476889061359616,"km_value":321476889061359.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4318600167414237184,"description":"Unknown IO ID 44"} 
[2026-06-23 19:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248804352001,"power":27343,"unknown_212":206,"power_alt":54016,"ignition":44,"odometer":null,"unknown_44":-4318600167414237184}} 
[2026-06-23 19:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":112856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:01] local.INFO: GPS data processed {"connection_id":112856,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:01] local.INFO: Acknowledgment sent {"connection_id":112856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:02] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b3e9a0012d196580071feec80042006c29..."} 
[2026-06-23 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b3e9a0012d196580071feec80042006c29..."} 
[2026-06-23 19:10:02] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b3e9a0012d196580071feec80042006c29..."} 
[2026-06-23 19:10:02] local.INFO: Packet analysis {"connection_id":111113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:10:02] local.INFO: Extracted packet for processing {"connection_id":111113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248798976001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782221892000,"timestamp_ms":1782221892000,"timestamp_seconds":1782221892,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b3e9a0"} 
[2026-06-23 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-06-23 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-814771788705883803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171893048279246,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2991552513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862840,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,69,45,128,238,66,41,10,243,42,161,1,240,86,227,244,31,4,113,205,253,101,200,239,48,2,13,7,39],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:10:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248798976001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248798976001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248798976001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":111113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:02] local.INFO: GPS data processed {"connection_id":111113,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:02] local.INFO: Acknowledgment sent {"connection_id":111113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:10] local.INFO: TCP Data received {"connection_id":112857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:10:10] local.INFO: Processing buffer {"connection_id":112857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:10:10] local.INFO: IMEI packet received {"connection_id":112857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":112857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:10:15] local.INFO: TCP Data received {"connection_id":112857,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:10:15] local.INFO: Processing buffer {"connection_id":112857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:10:15] local.INFO: IMEI packet received {"connection_id":112857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":112857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:10:16] local.INFO: TCP Data received {"connection_id":112857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:10:16] local.INFO: Processing buffer {"connection_id":112857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:10:16] local.INFO: Packet analysis {"connection_id":112857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:10:16] local.INFO: Extracted packet for processing {"connection_id":112857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:16] 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-06-23 19:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:10:16] 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-06-23 19:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:16] 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-06-23 19:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:10:16] 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-06-23 19:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":112857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:16] local.INFO: GPS data processed {"connection_id":112857,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:16] local.INFO: Acknowledgment sent {"connection_id":112857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:22] local.INFO: TCP Data received {"connection_id":111114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:22] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:22] local.INFO: IMEI packet received {"connection_id":111114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":111114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:10:23] local.INFO: TCP Data received {"connection_id":111114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:23] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:23] local.INFO: IMEI packet received {"connection_id":111114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":111114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:10:28] local.INFO: TCP Data received {"connection_id":111114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:28] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:10:28] local.INFO: IMEI packet received {"connection_id":111114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":111114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:10:30] local.INFO: TCP Data received {"connection_id":111114,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b42c08012cc4214007560cb0001500a431..."} 
[2026-06-23 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b42c08012cc4214007560cb0001500a431..."} 
[2026-06-23 19:10:30] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b42c08012cc4214007560cb0001500a431..."} 
[2026-06-23 19:10:30] local.INFO: Packet analysis {"connection_id":111114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:30] local.INFO: Extracted packet for processing {"connection_id":111114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:30] local.INFO: GPS Element Parsed {"raw_longitude":751051072,"raw_latitude":123079856,"longitude_deg":75.1051072,"latitude_deg":12.3079856,"altitude":21,"angle":164,"satellites":49,"speed":40,"hex_longitude":"2cc42140","hex_latitude":"07560cb0","is_valid_coordinates":true} 
[2026-06-23 19:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248806400001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321477348622860288,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4316629842579630080,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782221909000,"timestamp_ms":1782221909000,"timestamp_seconds":1782221909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b42c08"} 
[2026-06-23 19:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:10:30] 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-06-23 19:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:30] 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-06-23 19:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248806400001,"66":27343,"212":206,"2":54016,"24":40,"16":321477348622860288,"44":-4316629842579630080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-23 19:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248806400001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:30] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 19:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321477348622860288,"km_value":321477348622860.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4316629842579630080,"description":"Unknown IO ID 44"} 
[2026-06-23 19:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248806400001,"power":27343,"unknown_212":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-4316629842579630080}} 
[2026-06-23 19:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":111114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:30] local.INFO: GPS data processed {"connection_id":111114,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:30] local.INFO: Acknowledgment sent {"connection_id":111114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:33] local.INFO: TCP Data received {"connection_id":111113,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b43ba8012d196580071feec80042006c2a..."} 
[2026-06-23 19:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b43ba8012d196580071feec80042006c2a..."} 
[2026-06-23 19:10:33] local.INFO: Processing buffer {"connection_id":111113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b43ba8012d196580071feec80042006c2a..."} 
[2026-06-23 19:10:33] local.INFO: Packet analysis {"connection_id":111113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:33] local.INFO: Extracted packet for processing {"connection_id":111113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248804352001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10: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-06-23 19:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782221913000,"timestamp_ms":1782221913000,"timestamp_seconds":1782221913,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b43ba8"} 
[2026-06-23 19:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:33] 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-06-23 19:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248804352001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248804352001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248804352001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":111113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:33] local.INFO: GPS data processed {"connection_id":111113,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:33] local.INFO: Acknowledgment sent {"connection_id":111113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:46] local.INFO: TCP Data received {"connection_id":112857,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:10:46] local.INFO: Processing buffer {"connection_id":112857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:10:46] local.INFO: Packet analysis {"connection_id":112857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:10:46] local.INFO: Extracted packet for processing {"connection_id":112857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10: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-06-23 19:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:10:46] 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-06-23 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:46] 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-06-23 19:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":112857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":112857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":112857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:10: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-06-23 19:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":112857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:46] local.INFO: GPS data processed {"connection_id":112857,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:46] local.INFO: Acknowledgment sent {"connection_id":112857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:10:52] local.INFO: TCP Data received {"connection_id":111925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:10:52] local.INFO: Processing buffer {"connection_id":111925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:10:52] local.INFO: IMEI packet received {"connection_id":111925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":111925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:10:56] local.INFO: TCP Data received {"connection_id":111925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:10:56] local.INFO: Processing buffer {"connection_id":111925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:10:56] local.INFO: IMEI packet received {"connection_id":111925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":111925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:10:57] local.INFO: TCP Data received {"connection_id":111925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b48db0012d196580071feec80042006c2b..."} 
[2026-06-23 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b48db0012d196580071feec80042006c2b..."} 
[2026-06-23 19:10:57] local.INFO: Processing buffer {"connection_id":111925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b48db0012d196580071feec80042006c2b..."} 
[2026-06-23 19:10:57] local.INFO: Packet analysis {"connection_id":111925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:57] local.INFO: Extracted packet for processing {"connection_id":111925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:10: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-06-23 19:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248809728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782221934000,"timestamp_ms":1782221934000,"timestamp_seconds":1782221934,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b48db0"} 
[2026-06-23 19:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:10: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-06-23 19:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248809728001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248809728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:10:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248809728001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":111925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:10:57] local.INFO: GPS data processed {"connection_id":111925,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:10:57] local.INFO: Acknowledgment sent {"connection_id":111925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:03] local.INFO: TCP Data received {"connection_id":111114,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b59f20012cc4060007549578000d00d72f..."} 
[2026-06-23 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b59f20012cc4060007549578000d00d72f..."} 
[2026-06-23 19:11:03] local.INFO: Processing buffer {"connection_id":111114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b59f20012cc4060007549578000d00d72f..."} 
[2026-06-23 19:11:03] local.INFO: Packet analysis {"connection_id":111114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:03] local.INFO: Extracted packet for processing {"connection_id":111114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":751044096,"raw_latitude":122983800,"longitude_deg":75.1044096,"latitude_deg":12.29838,"altitude":13,"angle":215,"satellites":47,"speed":44,"hex_longitude":"2cc40600","hex_latitude":"07549578","is_valid_coordinates":true} 
[2026-06-23 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248831488001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321482120331526144,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4317826111256094720,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782222004000,"timestamp_ms":1782222004000,"timestamp_seconds":1782222004,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b59f20"} 
[2026-06-23 19:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11:03] 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-06-23 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248831488001,"66":26908,"213":206,"2":54016,"24":44,"16":321482120331526144,"44":-4317826111256094720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-06-23 19:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248831488001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-23 19:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321482120331526144,"km_value":321482120331526.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4317826111256094720,"description":"Unknown IO ID 44"} 
[2026-06-23 19:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248831488001,"power":26908,"unknown_213":206,"power_alt":54016,"ignition":44,"odometer":null,"unknown_44":-4317826111256094720}} 
[2026-06-23 19:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":111114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:03] local.INFO: GPS data processed {"connection_id":111114,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:03] local.INFO: Acknowledgment sent {"connection_id":111114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:10] local.INFO: TCP Data received {"connection_id":112858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:11:10] local.INFO: Processing buffer {"connection_id":112858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:11:10] local.INFO: IMEI packet received {"connection_id":112858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":112858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:11:15] local.INFO: TCP Data received {"connection_id":112858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:11:15] local.INFO: Processing buffer {"connection_id":112858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:11:15] local.INFO: IMEI packet received {"connection_id":112858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":112858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:11:16] local.INFO: TCP Data received {"connection_id":112858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:11:16] local.INFO: Processing buffer {"connection_id":112858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:11:16] local.INFO: Packet analysis {"connection_id":112858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:11:16] local.INFO: Extracted packet for processing {"connection_id":112858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:11:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:16] 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-06-23 19:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11:16] 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-06-23 19:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:16] 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-06-23 19:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":112858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":112858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":112858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:11:16] 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-06-23 19:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":112858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:16] local.INFO: GPS data processed {"connection_id":112858,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:16] local.INFO: Acknowledgment sent {"connection_id":112858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:26] local.INFO: TCP Data received {"connection_id":111294,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:26] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:26] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:11:28] local.INFO: TCP Data received {"connection_id":111925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b4dfb8012d196580071feec80042006c2a..."} 
[2026-06-23 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b4dfb8012d196580071feec80042006c2a..."} 
[2026-06-23 19:11:28] local.INFO: Processing buffer {"connection_id":111925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b4dfb8012d196580071feec80042006c2a..."} 
[2026-06-23 19:11:28] local.INFO: Packet analysis {"connection_id":111925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:11:28] local.INFO: Extracted packet for processing {"connection_id":111925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b4"} 
[2026-06-23 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248815104001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782221955000,"timestamp_ms":1782221955000,"timestamp_seconds":1782221955,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b4dfb8"} 
[2026-06-23 19:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11:28] 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-06-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248815104001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248815104001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248815104001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":111925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:28] local.INFO: GPS data processed {"connection_id":111925,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:28] local.INFO: Acknowledgment sent {"connection_id":111925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:28] local.INFO: TCP Data received {"connection_id":111294,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:28] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:28] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:11:34] local.INFO: TCP Data received {"connection_id":111294,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:34] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:11:34] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:11:35] local.INFO: TCP Data received {"connection_id":111294,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b5c248012cc3ed0007547808000f00dd2f..."} 
[2026-06-23 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b5c248012cc3ed0007547808000f00dd2f..."} 
[2026-06-23 19:11:35] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b5c248012cc3ed0007547808000f00dd2f..."} 
[2026-06-23 19:11:35] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:35] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":751037696,"raw_latitude":122976264,"longitude_deg":75.1037696,"latitude_deg":12.2976264,"altitude":15,"angle":221,"satellites":47,"speed":42,"hex_longitude":"2cc3ed00","hex_latitude":"07547808","is_valid_coordinates":true} 
[2026-06-23 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248833024001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321482597072896000,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4321766760931559424,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782222013000,"timestamp_ms":1782222013000,"timestamp_seconds":1782222013,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b5c248"} 
[2026-06-23 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11:35] 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-06-23 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248833024001,"66":27365,"213":206,"2":54016,"24":42,"16":321482597072896000,"44":-4321766760931559424},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-06-23 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248833024001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-23 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321482597072896000,"km_value":321482597072896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4321766760931559424,"description":"Unknown IO ID 44"} 
[2026-06-23 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248833024001,"power":27365,"unknown_213":206,"power_alt":54016,"ignition":42,"odometer":null,"unknown_44":-4321766760931559424}} 
[2026-06-23 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:35] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:35] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:37] local.INFO: TCP Data received {"connection_id":111294,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b5e570012cc3d48007545c08001100d930..."} 
[2026-06-23 19:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b5e570012cc3d48007545c08001100d930..."} 
[2026-06-23 19:11:37] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b5e570012cc3d48007545c08001100d930..."} 
[2026-06-23 19:11:37] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:37] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":751031424,"raw_latitude":122969096,"longitude_deg":75.1031424,"latitude_deg":12.2969096,"altitude":17,"angle":217,"satellites":48,"speed":41,"hex_longitude":"2cc3d480","hex_latitude":"07545c08","is_valid_coordinates":true} 
[2026-06-23 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248835328001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321483052339429376,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4328803635351255040,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782222022000,"timestamp_ms":1782222022000,"timestamp_seconds":1782222022,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b5e570"} 
[2026-06-23 19:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11: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-06-23 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248835328001,"66":27517,"246":206,"2":54016,"24":41,"16":321483052339429376,"44":-4328803635351255040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-06-23 19:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248835328001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321483052339429376,"km_value":321483052339429.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4328803635351255040,"description":"Unknown IO ID 44"} 
[2026-06-23 19:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248835328001,"power":27517,"main_input_voltage":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-4328803635351255040}} 
[2026-06-23 19:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:37] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:37] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:47] local.INFO: TCP Data received {"connection_id":112858,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:11:47] local.INFO: Processing buffer {"connection_id":112858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:11:47] local.INFO: Packet analysis {"connection_id":112858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:11:47] local.INFO: Extracted packet for processing {"connection_id":112858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11: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-06-23 19:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11:47] 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-06-23 19: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:47] 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-06-23 19: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-06-23 19:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:11:47] 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-06-23 19:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":112858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:47] local.INFO: GPS data processed {"connection_id":112858,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:47] local.INFO: Acknowledgment sent {"connection_id":112858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:11:52] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:11:52] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:11:52] local.INFO: IMEI packet received {"connection_id":111115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":111115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:11:57] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:11:57] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:11:57] local.INFO: IMEI packet received {"connection_id":111115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":111115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:11:58] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b531c0012d196580071feec80042006c2b..."} 
[2026-06-23 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b531c0012d196580071feec80042006c2b..."} 
[2026-06-23 19:11:58] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b531c0012d196580071feec80042006c2b..."} 
[2026-06-23 19:11:58] local.INFO: Packet analysis {"connection_id":111115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:58] local.INFO: Extracted packet for processing {"connection_id":111115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248820480001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:11: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-06-23 19:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782221976000,"timestamp_ms":1782221976000,"timestamp_seconds":1782221976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b531c0"} 
[2026-06-23 19:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:11:58] 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-06-23 19:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248820480001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248820480001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:11:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248820480001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":111115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:11:58] local.INFO: GPS data processed {"connection_id":111115,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:11:58] local.INFO: Acknowledgment sent {"connection_id":111115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:09] local.INFO: TCP Data received {"connection_id":111294,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b5fce0012cc3c70007544748001200cd31..."} 
[2026-06-23 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b5fce0012cc3c70007544748001200cd31..."} 
[2026-06-23 19:12:09] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b5fce0012cc3c70007544748001200cd31..."} 
[2026-06-23 19:12:09] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:12:09] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":751027968,"raw_latitude":122963784,"longitude_deg":75.1027968,"latitude_deg":12.2963784,"altitude":18,"angle":205,"satellites":49,"speed":42,"hex_longitude":"2cc3c700","hex_latitude":"07544748","is_valid_coordinates":true} 
[2026-06-23 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248837632001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321483357282107392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4335699772282501120,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782222028000,"timestamp_ms":1782222028000,"timestamp_seconds":1782222028,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b5fce0"} 
[2026-06-23 19:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:09] 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-06-23 19:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248837632001,"66":27517,"246":206,"2":54016,"24":42,"16":321483357282107392,"44":-4335699772282501120},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-06-23 19:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248837632001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321483357282107392,"km_value":321483357282107.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4335699772282501120,"description":"Unknown IO ID 44"} 
[2026-06-23 19:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248837632001,"power":27517,"main_input_voltage":206,"power_alt":54016,"ignition":42,"odometer":null,"unknown_44":-4335699772282501120}} 
[2026-06-23 19:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:09] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:09] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:10] local.INFO: TCP Data received {"connection_id":111926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:12:10] local.INFO: Processing buffer {"connection_id":111926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:12:10] local.INFO: IMEI packet received {"connection_id":111926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":111926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:12:15] local.INFO: TCP Data received {"connection_id":111926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:12:15] local.INFO: Processing buffer {"connection_id":111926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:12:15] local.INFO: IMEI packet received {"connection_id":111926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":111926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:12:15] local.INFO: TCP Data received {"connection_id":111926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:12:15] local.INFO: Processing buffer {"connection_id":111926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b31a98012d7e380005d34de8000300242f..."} 
[2026-06-23 19:12:15] local.INFO: Packet analysis {"connection_id":111926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:12:15] local.INFO: Extracted packet for processing {"connection_id":111926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b3"} 
[2026-06-23 19:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":47,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248713728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:15] 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-06-23 19:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782221839000,"timestamp_ms":1782221839000,"timestamp_seconds":1782221839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b31a98"} 
[2026-06-23 19:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:12:15] 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-06-23 19:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:15] 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-06-23 19:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:12:15] 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-06-23 19:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248713728001,"66":2242,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248713728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248713728001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":111926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:15] local.INFO: GPS data processed {"connection_id":111926,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:15] local.INFO: Acknowledgment sent {"connection_id":111926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:19] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:19] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:19] local.INFO: IMEI packet received {"connection_id":111116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":111116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:12:24] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:24] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:24] local.INFO: IMEI packet received {"connection_id":111116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":111116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:12:27] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:27] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:12:27] local.INFO: IMEI packet received {"connection_id":111116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":111116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:12:28] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b6feb0012cc430000752fdc8000c009d30..."} 
[2026-06-23 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b6feb0012cc430000752fdc8000c009d30..."} 
[2026-06-23 19:12:28] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b6feb0012cc430000752fdc8000c009d30..."} 
[2026-06-23 19:12:28] local.INFO: Packet analysis {"connection_id":111116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:12:28] local.INFO: Extracted packet for processing {"connection_id":111116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:12:28] local.INFO: GPS Element Parsed {"raw_longitude":751054848,"raw_latitude":122879432,"longitude_deg":75.1054848,"latitude_deg":12.2879432,"altitude":12,"angle":157,"satellites":48,"speed":57,"hex_longitude":"2cc43000","hex_latitude":"0752fdc8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248854272001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321487720968880128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4314166936584732672,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222094000,"timestamp_ms":1782222094000,"timestamp_seconds":1782222094,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b6feb0"} 
[2026-06-23 19:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:12:28] 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-06-23 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:28] 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-06-23 19: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-06-23 19:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248854272001,"66":27397,"246":206,"2":54016,"24":57,"16":321487720968880128,"44":-4314166936584732672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248854272001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321487720968880128,"km_value":321487720968880.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4314166936584732672,"description":"Unknown IO ID 44"} 
[2026-06-23 19:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248854272001,"power":27397,"main_input_voltage":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-4314166936584732672}} 
[2026-06-23 19:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":111116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:28] local.INFO: GPS data processed {"connection_id":111116,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:28] local.INFO: Acknowledgment sent {"connection_id":111116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:28] local.INFO: TCP Data received {"connection_id":111115,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b583c8012d196580071feec80042006c2b..."} 
[2026-06-23 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b583c8012d196580071feec80042006c2b..."} 
[2026-06-23 19:12:28] local.INFO: Processing buffer {"connection_id":111115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b583c8012d196580071feec80042006c2b..."} 
[2026-06-23 19:12:28] local.INFO: Packet analysis {"connection_id":111115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:12:28] local.INFO: Extracted packet for processing {"connection_id":111115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248825856001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782221997000,"timestamp_ms":1782221997000,"timestamp_seconds":1782221997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b583c8"} 
[2026-06-23 19:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:12:28] 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-06-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248825856001,"66":12145,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248825856001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248825856001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":111115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:29] local.INFO: GPS data processed {"connection_id":111115,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:29] local.INFO: Acknowledgment sent {"connection_id":111115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:29] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b71a08012cc43f800752d8c8000b009d30..."} 
[2026-06-23 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b71a08012cc43f800752d8c8000b009d30..."} 
[2026-06-23 19:12:29] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b71a08012cc43f800752d8c8000b009d30..."} 
[2026-06-23 19:12:29] local.INFO: Packet analysis {"connection_id":111116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:12:29] local.INFO: Extracted packet for processing {"connection_id":111116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":751058816,"raw_latitude":122869960,"longitude_deg":75.1058816,"latitude_deg":12.286996,"altitude":11,"angle":157,"satellites":48,"speed":57,"hex_longitude":"2cc43f80","hex_latitude":"0752d8c8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248856064001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321488219185086464,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309944811936430080,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222101000,"timestamp_ms":1782222101000,"timestamp_seconds":1782222101,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b71a08"} 
[2026-06-23 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-06-23 19:12:29] 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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248856064001,"66":27267,"246":206,"2":54016,"24":57,"16":321488219185086464,"44":-4309944811936430080},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-06-23 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248856064001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321488219185086464,"km_value":321488219185086.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309944811936430080,"description":"Unknown IO ID 44"} 
[2026-06-23 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248856064001,"power":27267,"main_input_voltage":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-4309944811936430080}} 
[2026-06-23 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":111116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:29] local.INFO: GPS data processed {"connection_id":111116,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:29] local.INFO: Acknowledgment sent {"connection_id":111116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:31] local.INFO: TCP Data received {"connection_id":112859,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:12:31] local.INFO: Processing buffer {"connection_id":112859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:12:31] local.INFO: IMEI packet received {"connection_id":112859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":112859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:12:46] local.INFO: TCP Data received {"connection_id":111926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:12:46] local.INFO: Processing buffer {"connection_id":111926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:12:46] local.INFO: Packet analysis {"connection_id":111926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:12:46] local.INFO: Extracted packet for processing {"connection_id":111926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":48,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248790784001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12: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-06-23 19:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782222140000,"timestamp_ms":1782222140000,"timestamp_seconds":1782222140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7b260"} 
[2026-06-23 19:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 19:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:46] 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-06-23 19:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":111926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":111926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":111926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:12: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-06-23 19:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248790784001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248790784001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248790784001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":111926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:46] local.INFO: GPS data processed {"connection_id":111926,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:46] local.INFO: Acknowledgment sent {"connection_id":111926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:12:52] local.INFO: TCP Data received {"connection_id":111117,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:12:52] local.INFO: Processing buffer {"connection_id":111117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:12:52] local.INFO: IMEI packet received {"connection_id":111117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":111117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:12:57] local.INFO: TCP Data received {"connection_id":111117,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:12:57] local.INFO: Processing buffer {"connection_id":111117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:12:57] local.INFO: IMEI packet received {"connection_id":111117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":111117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:12:58] local.INFO: TCP Data received {"connection_id":111117,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b5d5d0012d196580071feec80042006c2a..."} 
[2026-06-23 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b5d5d0012d196580071feec80042006c2a..."} 
[2026-06-23 19:12:58] local.INFO: Processing buffer {"connection_id":111117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b5d5d0012d196580071feec80042006c2a..."} 
[2026-06-23 19:12:58] local.INFO: Packet analysis {"connection_id":111117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:12:58] local.INFO: Extracted packet for processing {"connection_id":111117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b5"} 
[2026-06-23 19:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248831232001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:12: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-06-23 19:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222018000,"timestamp_ms":1782222018000,"timestamp_seconds":1782222018,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b5d5d0"} 
[2026-06-23 19:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:12:58] 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-06-23 19:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 19:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248831232001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248831232001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:12:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248831232001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":111117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:12:58] local.INFO: GPS data processed {"connection_id":111117,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:12:58] local.INFO: Acknowledgment sent {"connection_id":111117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:13:00] local.INFO: TCP Data received {"connection_id":111116,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b73560012cc44e400752b560000b009d31..."} 
[2026-06-23 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b73560012cc44e400752b560000b009d31..."} 
[2026-06-23 19:13:00] local.INFO: Processing buffer {"connection_id":111116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b73560012cc44e400752b560000b009d31..."} 
[2026-06-23 19:13:00] local.INFO: Packet analysis {"connection_id":111116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:00] local.INFO: Extracted packet for processing {"connection_id":111116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":751062592,"raw_latitude":122860896,"longitude_deg":75.1062592,"latitude_deg":12.2860896,"altitude":11,"angle":157,"satellites":49,"speed":54,"hex_longitude":"2cc44e40","hex_latitude":"0752b560","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248857856001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321488691631489024,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4305581949799839744,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782222108000,"timestamp_ms":1782222108000,"timestamp_seconds":1782222108,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b73560"} 
[2026-06-23 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-06-23 19:13:00] 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-06-23 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 19:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248857856001,"66":26854,"244":206,"2":54016,"24":54,"16":321488691631489024,"44":-4305581949799839744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-06-23 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248857856001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:13:00] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-06-23 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321488691631489024,"km_value":321488691631489.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4305581949799839744,"description":"Unknown IO ID 44"} 
[2026-06-23 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248857856001,"power":26854,"unknown_244":206,"power_alt":54016,"ignition":54,"odometer":null,"unknown_44":-4305581949799839744}} 
[2026-06-23 19:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":111116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:13:00] local.INFO: GPS data processed {"connection_id":111116,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:13:00] local.INFO: Acknowledgment sent {"connection_id":111116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:13:06] local.INFO: TCP Data received {"connection_id":111295,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:13:06] local.INFO: Processing buffer {"connection_id":111295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:13:06] local.INFO: IMEI packet received {"connection_id":111295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":111295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:13:15] local.INFO: TCP Data received {"connection_id":111296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:13:15] local.INFO: Processing buffer {"connection_id":111296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:13:15] local.INFO: IMEI packet received {"connection_id":111296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":111296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:13:20] local.INFO: TCP Data received {"connection_id":111296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:13:20] local.INFO: Processing buffer {"connection_id":111296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:13:20] local.INFO: IMEI packet received {"connection_id":111296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":111296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:13:21] local.INFO: TCP Data received {"connection_id":111296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:13:21] local.INFO: Processing buffer {"connection_id":111296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:13:21] local.INFO: Packet analysis {"connection_id":111296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:21] local.INFO: Extracted packet for processing {"connection_id":111296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:21] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":48,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248790784001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:21] 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-06-23 19:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782222140000,"timestamp_ms":1782222140000,"timestamp_seconds":1782222140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7b260"} 
[2026-06-23 19:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:13:21] 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-06-23 19:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:13:21] 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-06-23 19:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:13:21] 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-06-23 19:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248790784001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248790784001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:13:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248790784001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":111296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:13:21] local.INFO: GPS data processed {"connection_id":111296,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:13:21] local.INFO: Acknowledgment sent {"connection_id":111296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:13:23] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:23] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:23] local.INFO: IMEI packet received {"connection_id":111118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":111118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:13:23] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:23] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:23] local.INFO: IMEI packet received {"connection_id":111118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":111118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:13:25] local.INFO: TCP Data received {"connection_id":111296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:13:25] local.INFO: Processing buffer {"connection_id":111296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:13:25] local.INFO: Packet analysis {"connection_id":111296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:25] local.INFO: Extracted packet for processing {"connection_id":111296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":48,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248790784001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:25] 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-06-23 19:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782222140000,"timestamp_ms":1782222140000,"timestamp_seconds":1782222140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7b260"} 
[2026-06-23 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-06-23 19:13:25] 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-06-23 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:13:25] 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-06-23 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-06-23 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-06-23 19:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:13:25] 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-06-23 19:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248790784001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248790784001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:13:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248790784001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":111296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:13:25] local.INFO: GPS data processed {"connection_id":111296,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:13:25] local.INFO: Acknowledgment sent {"connection_id":111296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:13:28] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:28] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:13:28] local.INFO: IMEI packet received {"connection_id":111118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":111118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:13:29] local.INFO: TCP Data received {"connection_id":111117,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b627d8012d196580071feec80042006c2a..."} 
[2026-06-23 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b627d8012d196580071feec80042006c2a..."} 
[2026-06-23 19:13:29] local.INFO: Processing buffer {"connection_id":111117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b627d8012d196580071feec80042006c2a..."} 
[2026-06-23 19:13:29] local.INFO: Packet analysis {"connection_id":111117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:13:29] local.INFO: Extracted packet for processing {"connection_id":111117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:13: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-06-23 19:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248836608001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222039000,"timestamp_ms":1782222039000,"timestamp_seconds":1782222039,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b627d8"} 
[2026-06-23 19:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:13:29] 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-06-23 19:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:13: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-06-23 19:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248836608001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248836608001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:13:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248836608001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":111117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:13:29] local.INFO: GPS data processed {"connection_id":111117,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:13:29] local.INFO: Acknowledgment sent {"connection_id":111117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:13:30] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b750b8012cc45cc0075293a0000b009d32..."} 
[2026-06-23 19:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b750b8012cc45cc0075293a0000b009d32..."} 
[2026-06-23 19:13:30] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b750b8012cc45cc0075293a0000b009d32..."} 
[2026-06-23 19:13:30] local.INFO: Packet analysis {"connection_id":111118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:30] local.INFO: Extracted packet for processing {"connection_id":111118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:13:30] local.INFO: GPS Element Parsed {"raw_longitude":751066304,"raw_latitude":122852256,"longitude_deg":75.1066304,"latitude_deg":12.2852256,"altitude":11,"angle":157,"satellites":50,"speed":52,"hex_longitude":"2cc45cc0","hex_latitude":"075293a0","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321489146898022400,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4301430193895677952,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222115000,"timestamp_ms":1782222115000,"timestamp_seconds":1782222115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b750b8"} 
[2026-06-23 19:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:13:30] 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-06-23 19: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-23 19:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248859648001,"66":27300,"244":206,"2":54016,"24":52,"16":321489146898022400,"44":-4301430193895677952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-06-23 19:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:13:30] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-06-23 19:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321489146898022400,"km_value":321489146898022.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4301430193895677952,"description":"Unknown IO ID 44"} 
[2026-06-23 19:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248859648001,"power":27300,"unknown_244":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4301430193895677952}} 
[2026-06-23 19:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":111118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:13:30] local.INFO: GPS data processed {"connection_id":111118,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:13:30] local.INFO: Acknowledgment sent {"connection_id":111118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:13:52] local.INFO: TCP Data received {"connection_id":111927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:13:52] local.INFO: Processing buffer {"connection_id":111927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:13:52] local.INFO: IMEI packet received {"connection_id":111927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":111927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:13:57] local.INFO: TCP Data received {"connection_id":111927,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:13:57] local.INFO: Processing buffer {"connection_id":111927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:13:57] local.INFO: IMEI packet received {"connection_id":111927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":111927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:13:58] local.INFO: TCP Data received {"connection_id":111927,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b679e0012d196580071feec80042006c2a..."} 
[2026-06-23 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b679e0012d196580071feec80042006c2a..."} 
[2026-06-23 19:13:58] local.INFO: Processing buffer {"connection_id":111927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b679e0012d196580071feec80042006c2a..."} 
[2026-06-23 19:13:58] local.INFO: Packet analysis {"connection_id":111927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:13:58] local.INFO: Extracted packet for processing {"connection_id":111927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248841984001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:13: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-06-23 19:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222060000,"timestamp_ms":1782222060000,"timestamp_seconds":1782222060,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b679e0"} 
[2026-06-23 19:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:13:58] 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-06-23 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:13:58] 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-06-23 19:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248841984001,"66":12406,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248841984001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:13:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248841984001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":111927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:13:58] local.INFO: GPS data processed {"connection_id":111927,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:13:58] local.INFO: Acknowledgment sent {"connection_id":111927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:14:01] local.INFO: TCP Data received {"connection_id":111118,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b76c10012cc46b0007527288000c009c2f..."} 
[2026-06-23 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b76c10012cc46b0007527288000c009c2f..."} 
[2026-06-23 19:14:01] local.INFO: Processing buffer {"connection_id":111118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b76c10012cc46b0007527288000c009c2f..."} 
[2026-06-23 19:14:01] local.INFO: Packet analysis {"connection_id":111118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:01] local.INFO: Extracted packet for processing {"connection_id":111118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":751069952,"raw_latitude":122843784,"longitude_deg":75.1069952,"latitude_deg":12.2843784,"altitude":12,"angle":156,"satellites":47,"speed":52,"hex_longitude":"2cc46b00","hex_latitude":"07527288","is_valid_coordinates":true} 
[2026-06-23 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248861440001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321489593574621184,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4297348806735585280,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782222122000,"timestamp_ms":1782222122000,"timestamp_seconds":1782222122,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b76c10"} 
[2026-06-23 19:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:14:01] 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-06-23 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 19:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248861440001,"66":27267,"244":206,"2":54016,"24":52,"16":321489593574621184,"44":-4297348806735585280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-06-23 19:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248861440001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-06-23 19:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321489593574621184,"km_value":321489593574621.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4297348806735585280,"description":"Unknown IO ID 44"} 
[2026-06-23 19:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248861440001,"power":27267,"unknown_244":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4297348806735585280}} 
[2026-06-23 19:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":111118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:14:01] local.INFO: GPS data processed {"connection_id":111118,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:14:01] local.INFO: Acknowledgment sent {"connection_id":111118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:14:10] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:14:10] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:14:10] local.INFO: IMEI packet received {"connection_id":111297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":111297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:14:15] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:14:15] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:14:15] local.INFO: IMEI packet received {"connection_id":111297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":111297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:14:16] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:14:16] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:14:16] local.INFO: Packet analysis {"connection_id":111297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:16] local.INFO: Extracted packet for processing {"connection_id":111297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":48,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248790784001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:16] 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-06-23 19:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782222140000,"timestamp_ms":1782222140000,"timestamp_seconds":1782222140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7b260"} 
[2026-06-23 19:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:14:16] 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-06-23 19:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:14:16] 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-06-23 19:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":111297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:14:16] 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-06-23 19:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248790784001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248790784001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:14:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:14:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248790784001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":111297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:14:16] local.INFO: GPS data processed {"connection_id":111297,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:14:16] local.INFO: Acknowledgment sent {"connection_id":111297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:14:24] local.INFO: TCP Data received {"connection_id":112860,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:14:24] local.INFO: Processing buffer {"connection_id":112860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:14:24] local.INFO: IMEI packet received {"connection_id":112860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":112860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:14:28] local.INFO: TCP Data received {"connection_id":111927,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b6cbe8012d196580071feec80042006c29..."} 
[2026-06-23 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b6cbe8012d196580071feec80042006c29..."} 
[2026-06-23 19:14:28] local.INFO: Processing buffer {"connection_id":111927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b6cbe8012d196580071feec80042006c29..."} 
[2026-06-23 19:14:28] local.INFO: Packet analysis {"connection_id":111927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:14:28] local.INFO: Extracted packet for processing {"connection_id":111927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b6"} 
[2026-06-23 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248847360001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222081000,"timestamp_ms":1782222081000,"timestamp_seconds":1782222081,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b6cbe8"} 
[2026-06-23 19:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:14:28] 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-06-23 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-23 19:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248847360001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248847360001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248847360001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":111927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:14:29] local.INFO: GPS data processed {"connection_id":111927,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:14:29] local.INFO: Acknowledgment sent {"connection_id":111927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:14:29] local.INFO: TCP Data received {"connection_id":112860,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:14:29] local.INFO: Processing buffer {"connection_id":112860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:14:29] local.INFO: IMEI packet received {"connection_id":112860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":112860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:14:30] local.INFO: TCP Data received {"connection_id":112860,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b78768012cc4794007525190000b009c32..."} 
[2026-06-23 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b78768012cc4794007525190000b009c32..."} 
[2026-06-23 19:14:30] local.INFO: Processing buffer {"connection_id":112860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b78768012cc4794007525190000b009c32..."} 
[2026-06-23 19:14:30] local.INFO: Packet analysis {"connection_id":112860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:30] local.INFO: Extracted packet for processing {"connection_id":112860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:30] local.INFO: GPS Element Parsed {"raw_longitude":751073600,"raw_latitude":122835344,"longitude_deg":75.10736,"latitude_deg":12.2835344,"altitude":11,"angle":156,"satellites":50,"speed":52,"hex_longitude":"2cc47940","hex_latitude":"07525190","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248863232001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321490035956252672,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4293337788319627264,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222129000,"timestamp_ms":1782222129000,"timestamp_seconds":1782222129,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b78768"} 
[2026-06-23 19:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:14:30] 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-06-23 19:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 19:14:30] 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-06-23 19: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-06-23 19:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248863232001,"66":27365,"244":206,"2":54016,"24":52,"16":321490035956252672,"44":-4293337788319627264},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-06-23 19:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248863232001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:14:30] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-06-23 19:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321490035956252672,"km_value":321490035956252.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4293337788319627264,"description":"Unknown IO ID 44"} 
[2026-06-23 19:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248863232001,"power":27365,"unknown_244":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4293337788319627264}} 
[2026-06-23 19:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":112860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:14:30] local.INFO: GPS data processed {"connection_id":112860,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:14:30] local.INFO: Acknowledgment sent {"connection_id":112860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:14:47] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:14:47] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:14:47] local.INFO: Packet analysis {"connection_id":111297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:47] local.INFO: Extracted packet for processing {"connection_id":111297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":48,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248790784001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14: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-06-23 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782222140000,"timestamp_ms":1782222140000,"timestamp_seconds":1782222140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7b260"} 
[2026-06-23 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:14:47] 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-06-23 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:14:47] 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-06-23 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:14:47] 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-06-23 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248790784001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248790784001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:14:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248790784001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":111297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:14:47] local.INFO: GPS data processed {"connection_id":111297,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:14:47] local.INFO: Acknowledgment sent {"connection_id":111297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:14:52] local.INFO: TCP Data received {"connection_id":111928,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:14:52] local.INFO: Processing buffer {"connection_id":111928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:14:52] local.INFO: IMEI packet received {"connection_id":111928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":111928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:14:57] local.INFO: TCP Data received {"connection_id":111928,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:14:57] local.INFO: Processing buffer {"connection_id":111928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:14:57] local.INFO: IMEI packet received {"connection_id":111928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":111928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:14:58] local.INFO: TCP Data received {"connection_id":111928,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b71df0012d196580071feec80042006c2c..."} 
[2026-06-23 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b71df0012d196580071feec80042006c2c..."} 
[2026-06-23 19:14:58] local.INFO: Processing buffer {"connection_id":111928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b71df0012d196580071feec80042006c2c..."} 
[2026-06-23 19:14:58] local.INFO: Packet analysis {"connection_id":111928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:58] local.INFO: Extracted packet for processing {"connection_id":111928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248852736001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222102000,"timestamp_ms":1782222102000,"timestamp_seconds":1782222102,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b71df0"} 
[2026-06-23 19:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:14:58] 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-06-23 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248852736001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248852736001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248852736001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":111928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:14:58] local.INFO: GPS data processed {"connection_id":111928,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:14:58] local.INFO: Acknowledgment sent {"connection_id":111928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:15:04] local.INFO: TCP Data received {"connection_id":112860,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b919c0012cc514c00750b788000e00a332..."} 
[2026-06-23 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b919c0012cc514c00750b788000e00a332..."} 
[2026-06-23 19:15:04] local.INFO: Processing buffer {"connection_id":112860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b919c0012cc514c00750b788000e00a332..."} 
[2026-06-23 19:15:04] local.INFO: Packet analysis {"connection_id":112860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:15:04] local.INFO: Extracted packet for processing {"connection_id":112860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":751113408,"raw_latitude":122730376,"longitude_deg":75.1113408,"latitude_deg":12.2730376,"altitude":14,"angle":163,"satellites":50,"speed":28,"hex_longitude":"2cc514c0","hex_latitude":"0750b788","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248887808001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321495473384849408,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4248724004537688064,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782222232000,"timestamp_ms":1782222232000,"timestamp_seconds":1782222232,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b919c0"} 
[2026-06-23 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:15:04] 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-06-23 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248887808001,"66":27321,"254":206,"2":54016,"24":28,"16":321495473384849408,"44":-4248724004537688064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-23 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248887808001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:15:04] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-23 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321495473384849408,"km_value":321495473384849.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:15:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4248724004537688064,"description":"Unknown IO ID 44"} 
[2026-06-23 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248887808001,"power":27321,"unknown_254":206,"power_alt":54016,"ignition":28,"odometer":null,"unknown_44":-4248724004537688064}} 
[2026-06-23 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":112860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:15:04] local.INFO: GPS data processed {"connection_id":112860,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:15:04] local.INFO: Acknowledgment sent {"connection_id":112860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:15:10] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:15:10] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:15:10] local.INFO: IMEI packet received {"connection_id":111299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 19:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":111299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:15:15] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:15:15] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 19:15:15] local.INFO: IMEI packet received {"connection_id":111299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 19:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":111299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:15:15] local.INFO: TCP Data received {"connection_id":111299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:15:15] local.INFO: Processing buffer {"connection_id":111299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7b260012d7e380005d34de80003002430..."} 
[2026-06-23 19:15:15] local.INFO: Packet analysis {"connection_id":111299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:15:15] local.INFO: Extracted packet for processing {"connection_id":111299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:15:15] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734120,"longitude_deg":76.3246592,"latitude_deg":9.773412,"altitude":3,"angle":36,"satellites":48,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-06-23 19:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248790784001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494651392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:15] 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-06-23 19:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782222140000,"timestamp_ms":1782222140000,"timestamp_seconds":1782222140,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7b260"} 
[2026-06-23 19:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 19:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-23 19:15:15] 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-06-23 19:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":111299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":111299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":111299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 19:15:15] 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-06-23 19:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 19:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 19:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248790784001,"66":2253,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9095019472494651392},"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-06-23 19:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 19:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 19:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248790784001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:15:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 19:15:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 19:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494651392,"description":"Unknown IO ID 45"} 
[2026-06-23 19:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248790784001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494651392}} 
[2026-06-23 19:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":111299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:15:15] local.INFO: GPS data processed {"connection_id":111299,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:15:15] local.INFO: Acknowledgment sent {"connection_id":111299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:15:23] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:15:23] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:15:23] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:15:26] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:15:26] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:15:26] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:15:27] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b948a0012cc52040075096a80010009e32..."} 
[2026-06-23 19:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b948a0012cc52040075096a80010009e32..."} 
[2026-06-23 19:15:27] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b948a0012cc52040075096a80010009e32..."} 
[2026-06-23 19:15:27] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:15:27] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:15:27] local.INFO: GPS Element Parsed {"raw_longitude":751116352,"raw_latitude":122721960,"longitude_deg":75.1116352,"latitude_deg":12.272196,"altitude":16,"angle":158,"satellites":50,"speed":30,"hex_longitude":"2cc52040","hex_latitude":"075096a8","is_valid_coordinates":true} 
[2026-06-23 19:15: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-06-23 19:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248891392001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321495902881579008,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4245557411052025856,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782222244000,"timestamp_ms":1782222244000,"timestamp_seconds":1782222244,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b948a0"} 
[2026-06-23 19:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:15: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-06-23 19:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:15: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-06-23 19:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248891392001,"66":27397,"254":206,"2":54016,"24":30,"16":321495902881579008,"44":-4245557411052025856},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-23 19:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248891392001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:15:27] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-23 19:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321495902881579008,"km_value":321495902881579.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:15:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4245557411052025856,"description":"Unknown IO ID 44"} 
[2026-06-23 19:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248891392001,"power":27397,"unknown_254":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-4245557411052025856}} 
[2026-06-23 19:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:15:28] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:15:28] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:15:28] local.INFO: TCP Data received {"connection_id":111928,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b76ff8012d196580071feec80042006c2c..."} 
[2026-06-23 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b76ff8012d196580071feec80042006c2c..."} 
[2026-06-23 19:15:28] local.INFO: Processing buffer {"connection_id":111928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b76ff8012d196580071feec80042006c2c..."} 
[2026-06-23 19:15:28] local.INFO: Packet analysis {"connection_id":111928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:15:28] local.INFO: Extracted packet for processing {"connection_id":111928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248858112001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222123000,"timestamp_ms":1782222123000,"timestamp_seconds":1782222123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b76ff8"} 
[2026-06-23 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-06-23 19:15:28] 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-06-23 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248858112001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248858112001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:15:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248858112001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":111928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:15:29] local.INFO: GPS data processed {"connection_id":111928,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:15:29] local.INFO: Acknowledgment sent {"connection_id":111928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:15:52] local.INFO: TCP Data received {"connection_id":112861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:15:52] local.INFO: Processing buffer {"connection_id":112861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:15:52] local.INFO: IMEI packet received {"connection_id":112861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":112861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:15:57] local.INFO: TCP Data received {"connection_id":112861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:15:57] local.INFO: Processing buffer {"connection_id":112861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:15:57] local.INFO: IMEI packet received {"connection_id":112861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":112861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:15:58] local.INFO: TCP Data received {"connection_id":112861,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b7c200012d196580071feec80042006c2a..."} 
[2026-06-23 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b7c200012d196580071feec80042006c2a..."} 
[2026-06-23 19:15:58] local.INFO: Processing buffer {"connection_id":112861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b7c200012d196580071feec80042006c2a..."} 
[2026-06-23 19:15:58] local.INFO: Packet analysis {"connection_id":112861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:15:58] local.INFO: Extracted packet for processing {"connection_id":112861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b7"} 
[2026-06-23 19:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248863488001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15: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-06-23 19:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222144000,"timestamp_ms":1782222144000,"timestamp_seconds":1782222144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b7c200"} 
[2026-06-23 19:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:15:58] 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-06-23 19:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:15:58] 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-06-23 19:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248863488001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248863488001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:15:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248863488001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":112861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:15:58] local.INFO: GPS data processed {"connection_id":112861,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:15:58] local.INFO: Acknowledgment sent {"connection_id":112861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:15:59] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b97398012cc52f40075077100012009931..."} 
[2026-06-23 19:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b97398012cc52f40075077100012009931..."} 
[2026-06-23 19:15:59] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b97398012cc52f40075077100012009931..."} 
[2026-06-23 19:15:59] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:15:59] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:15:59] local.INFO: GPS Element Parsed {"raw_longitude":751120192,"raw_latitude":122713872,"longitude_deg":75.1120192,"latitude_deg":12.2713872,"altitude":18,"angle":153,"satellites":49,"speed":33,"hex_longitude":"2cc52f40","hex_latitude":"07507710","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248894464001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321496336673275904,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4242320448822007808,"note":"Value kept but may cause issues"} 
[2026-06-23 19:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782222255000,"timestamp_ms":1782222255000,"timestamp_seconds":1782222255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b97398"} 
[2026-06-23 19:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:15:59] 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-06-23 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248894464001,"66":27463,"254":206,"2":54016,"24":33,"16":321496336673275904,"44":-4242320448822007808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-23 19:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248894464001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:15:59] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-23 19:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321496336673275904,"km_value":321496336673275.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:15:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4242320448822007808,"description":"Unknown IO ID 44"} 
[2026-06-23 19:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248894464001,"power":27463,"unknown_254":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-4242320448822007808}} 
[2026-06-23 19:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:15:59] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:15:59] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:16:23] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:23] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:23] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:16:25] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:25] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:25] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:16:28] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:28] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:16:28] local.INFO: IMEI packet received {"connection_id":111120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":111120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:16:29] local.INFO: TCP Data received {"connection_id":112861,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b81408012d196580071feec80042006c2b..."} 
[2026-06-23 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b81408012d196580071feec80042006c2b..."} 
[2026-06-23 19:16:29] local.INFO: Processing buffer {"connection_id":112861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b81408012d196580071feec80042006c2b..."} 
[2026-06-23 19:16:29] local.INFO: Packet analysis {"connection_id":112861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b8"} 
[2026-06-23 19:16:29] local.INFO: Extracted packet for processing {"connection_id":112861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b8"} 
[2026-06-23 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248868864001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222165000,"timestamp_ms":1782222165000,"timestamp_seconds":1782222165,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b81408"} 
[2026-06-23 19:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:16:29] 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-06-23 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:16:29] 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-06-23 19:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248868864001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248868864001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248868864001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":112861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:16:29] local.INFO: GPS data processed {"connection_id":112861,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:16:29] local.INFO: Acknowledgment sent {"connection_id":112861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:16:29] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b99e90012cc53e8007505400001300a031..."} 
[2026-06-23 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b99e90012cc53e8007505400001300a031..."} 
[2026-06-23 19:16:29] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b99e90012cc53e8007505400001300a031..."} 
[2026-06-23 19:16:29] local.INFO: Packet analysis {"connection_id":111120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:16:29] local.INFO: Extracted packet for processing {"connection_id":111120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":751124096,"raw_latitude":122704896,"longitude_deg":75.1124096,"latitude_deg":12.2704896,"altitude":19,"angle":160,"satellites":49,"speed":37,"hex_longitude":"2cc53e80","hex_latitude":"07505400","is_valid_coordinates":true} 
[2026-06-23 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248897280001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321496809119678464,"note":"Value kept but may cause issues"} 
[2026-06-23 19:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4238098324173418496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222266000,"timestamp_ms":1782222266000,"timestamp_seconds":1782222266,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b99e90"} 
[2026-06-23 19:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:16:29] 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-06-23 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:16:29] 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-06-23 19:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248897280001,"66":27365,"254":206,"2":54016,"24":37,"16":321496809119678464,"44":-4238098324173418496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-23 19:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248897280001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-23 19:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321496809119678464,"km_value":321496809119678.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4238098324173418496,"description":"Unknown IO ID 44"} 
[2026-06-23 19:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248897280001,"power":27365,"unknown_254":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-4238098324173418496}} 
[2026-06-23 19:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:16:29] local.INFO: GPS data processed {"connection_id":111120,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:16:29] local.INFO: Acknowledgment sent {"connection_id":111120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:16:53] local.INFO: TCP Data received {"connection_id":111930,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:16:53] local.INFO: Processing buffer {"connection_id":111930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:16:53] local.INFO: IMEI packet received {"connection_id":111930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":111930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:16:57] local.INFO: TCP Data received {"connection_id":111930,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:16:57] local.INFO: Processing buffer {"connection_id":111930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:16:57] local.INFO: IMEI packet received {"connection_id":111930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":111930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:17:01] local.INFO: TCP Data received {"connection_id":111120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b9c988012cc54ac007503028001300a12f..."} 
[2026-06-23 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b9c988012cc54ac007503028001300a12f..."} 
[2026-06-23 19:17:01] local.INFO: Processing buffer {"connection_id":111120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b9c988012cc54ac007503028001300a12f..."} 
[2026-06-23 19:17:01] local.INFO: Packet analysis {"connection_id":111120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:17:01] local.INFO: Extracted packet for processing {"connection_id":111120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":751127232,"raw_latitude":122695720,"longitude_deg":75.1127232,"latitude_deg":12.269572,"altitude":19,"angle":161,"satellites":47,"speed":32,"hex_longitude":"2cc54ac0","hex_latitude":"07503028","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248900096001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321497277271113728,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233805830780878848,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782222277000,"timestamp_ms":1782222277000,"timestamp_seconds":1782222277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b9c988"} 
[2026-06-23 19:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:17:01] 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-06-23 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248900096001,"66":27484,"254":206,"2":54016,"24":32,"16":321497277271113728,"44":-4233805830780878848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-23 19:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248900096001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-23 19:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321497277271113728,"km_value":321497277271113.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233805830780878848,"description":"Unknown IO ID 44"} 
[2026-06-23 19:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248900096001,"power":27484,"unknown_254":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-4233805830780878848}} 
[2026-06-23 19:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":111120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:17:01] local.INFO: GPS data processed {"connection_id":111120,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:17:01] local.INFO: Acknowledgment sent {"connection_id":111120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:17:02] local.INFO: TCP Data received {"connection_id":111930,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:02] local.INFO: Processing buffer {"connection_id":111930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:02] local.INFO: IMEI packet received {"connection_id":111930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":111930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:17:02] local.INFO: TCP Data received {"connection_id":111930,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b86610012d196580071feec80042006c2b..."} 
[2026-06-23 19:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b86610012d196580071feec80042006c2b..."} 
[2026-06-23 19:17:02] local.INFO: Processing buffer {"connection_id":111930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b86610012d196580071feec80042006c2b..."} 
[2026-06-23 19:17:02] local.INFO: Packet analysis {"connection_id":111930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b8"} 
[2026-06-23 19:17:02] local.INFO: Extracted packet for processing {"connection_id":111930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b8"} 
[2026-06-23 19:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248874240001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782222186000,"timestamp_ms":1782222186000,"timestamp_seconds":1782222186,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b86610"} 
[2026-06-23 19:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:17:02] 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-06-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:17: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-06-23 19: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-06-23 19:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248874240001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248874240001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:17:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248874240001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":111930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:17:02] local.INFO: GPS data processed {"connection_id":111930,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:17:02] local.INFO: Acknowledgment sent {"connection_id":111930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:17:07] local.INFO: TCP Data received {"connection_id":111930,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b8b818012d196580071feec80042006c2d..."} 
[2026-06-23 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b8b818012d196580071feec80042006c2d..."} 
[2026-06-23 19:17:07] local.INFO: Processing buffer {"connection_id":111930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b8b818012d196580071feec80042006c2d..."} 
[2026-06-23 19:17:07] local.INFO: Packet analysis {"connection_id":111930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b8"} 
[2026-06-23 19:17:07] local.INFO: Extracted packet for processing {"connection_id":111930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b8"} 
[2026-06-23 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248879616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782222207000,"timestamp_ms":1782222207000,"timestamp_seconds":1782222207,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b8b818"} 
[2026-06-23 19:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:17:07] 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-06-23 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:17:07] 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-06-23 19:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248879616001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248879616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:17:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248879616001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":111930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:17:07] local.INFO: GPS data processed {"connection_id":111930,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:17:07] local.INFO: Acknowledgment sent {"connection_id":111930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:17:23] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:23] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:23] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:17:24] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:24] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:24] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:17:28] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:28] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:17:28] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:17:30] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bb5be0012cc5bbc0074f2318000b00a630..."} 
[2026-06-23 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bb5be0012cc5bbc0074f2318000b00a630..."} 
[2026-06-23 19:17:30] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bb5be0012cc5bbc0074f2318000b00a630..."} 
[2026-06-23 19:17:30] local.INFO: Packet analysis {"connection_id":111302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bb"} 
[2026-06-23 19:17:30] local.INFO: Extracted packet for processing {"connection_id":111302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bb"} 
[2026-06-23 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":751156160,"raw_latitude":122626840,"longitude_deg":75.115616,"latitude_deg":12.262684,"altitude":11,"angle":166,"satellites":48,"speed":38,"hex_longitude":"2cc5bbc0","hex_latitude":"074f2318","is_valid_coordinates":true} 
[2026-06-23 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248926208001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321500915108413440,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4200451046058209280,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222380000,"timestamp_ms":1782222380000,"timestamp_seconds":1782222380,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bb5be0"} 
[2026-06-23 19:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:17:30] 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-06-23 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248926208001,"66":27376,"238":206,"2":54016,"24":38,"16":321500915108413440,"44":-4200451046058209280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-06-23 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248926208001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:17:30] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-23 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321500915108413440,"km_value":321500915108413.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4200451046058209280,"description":"Unknown IO ID 44"} 
[2026-06-23 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248926208001,"power":27376,"unknown_238":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-4200451046058209280}} 
[2026-06-23 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":111302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:17:30] local.INFO: GPS data processed {"connection_id":111302,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:17:30] local.INFO: Acknowledgment sent {"connection_id":111302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:17:52] local.INFO: TCP Data received {"connection_id":111931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:52] local.INFO: Processing buffer {"connection_id":111931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:52] local.INFO: IMEI packet received {"connection_id":111931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":111931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:17:56] local.INFO: TCP Data received {"connection_id":111931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:56] local.INFO: Processing buffer {"connection_id":111931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:17:56] local.INFO: IMEI packet received {"connection_id":111931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":111931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:17:57] local.INFO: TCP Data received {"connection_id":111931,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b90a20012d196580071feec80042006c2c..."} 
[2026-06-23 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b90a20012d196580071feec80042006c2c..."} 
[2026-06-23 19:17:57] local.INFO: Processing buffer {"connection_id":111931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b90a20012d196580071feec80042006c2c..."} 
[2026-06-23 19:17:57] local.INFO: Packet analysis {"connection_id":111931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:17:57] local.INFO: Extracted packet for processing {"connection_id":111931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:17: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-06-23 19:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248884992001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782222228000,"timestamp_ms":1782222228000,"timestamp_seconds":1782222228,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b90a20"} 
[2026-06-23 19:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:17: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-06-23 19:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248884992001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248884992001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:17:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248884992001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":111931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:17:57] local.INFO: GPS data processed {"connection_id":111931,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:17:57] local.INFO: Acknowledgment sent {"connection_id":111931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:18:02] local.INFO: TCP Data received {"connection_id":111302,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bb7f08012cc5c4c0074eff78000c00a331..."} 
[2026-06-23 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bb7f08012cc5c4c0074eff78000c00a331..."} 
[2026-06-23 19:18:02] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bb7f08012cc5c4c0074eff78000c00a331..."} 
[2026-06-23 19:18:02] local.INFO: Packet analysis {"connection_id":111302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bb"} 
[2026-06-23 19:18:02] local.INFO: Extracted packet for processing {"connection_id":111302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bb"} 
[2026-06-23 19:18:02] local.INFO: GPS Element Parsed {"raw_longitude":751158464,"raw_latitude":122617720,"longitude_deg":75.1158464,"latitude_deg":12.261772,"altitude":12,"angle":163,"satellites":49,"speed":42,"hex_longitude":"2cc5c4c0","hex_latitude":"074eff78","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248929280001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321501370374946816,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4198551089967851520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782222389000,"timestamp_ms":1782222389000,"timestamp_seconds":1782222389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bb7f08"} 
[2026-06-23 19:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:18: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-06-23 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248929280001,"66":27397,"238":206,"2":54016,"24":42,"16":321501370374946816,"44":-4198551089967851520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,2,24,16,44]} 
[2026-06-23 19:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248929280001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:18:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-23 19:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321501370374946816,"km_value":321501370374946.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4198551089967851520,"description":"Unknown IO ID 44"} 
[2026-06-23 19:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248929280001,"power":27397,"unknown_238":206,"power_alt":54016,"ignition":42,"odometer":null,"unknown_44":-4198551089967851520}} 
[2026-06-23 19:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":111302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:18:02] local.INFO: GPS data processed {"connection_id":111302,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:18:02] local.INFO: Acknowledgment sent {"connection_id":111302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:18:23] local.INFO: TCP Data received {"connection_id":111121,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:23] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:23] local.INFO: IMEI packet received {"connection_id":111121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":111121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:18:27] local.INFO: TCP Data received {"connection_id":111121,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:27] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:27] local.INFO: IMEI packet received {"connection_id":111121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":111121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:18:28] local.INFO: TCP Data received {"connection_id":111931,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b95c28012d196580071feec80042006c2b..."} 
[2026-06-23 19:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b95c28012d196580071feec80042006c2b..."} 
[2026-06-23 19:18:28] local.INFO: Processing buffer {"connection_id":111931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b95c28012d196580071feec80042006c2b..."} 
[2026-06-23 19:18:28] local.INFO: Packet analysis {"connection_id":111931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:18:28] local.INFO: Extracted packet for processing {"connection_id":111931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248890368001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222249000,"timestamp_ms":1782222249000,"timestamp_seconds":1782222249,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b95c28"} 
[2026-06-23 19:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:18:28] 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-06-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248890368001,"66":12385,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248890368001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248890368001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:18:28] local.INFO: TCP Data received {"connection_id":111121,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:28] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:18:28] local.INFO: IMEI packet received {"connection_id":111121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":111121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":111931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:18:28] local.INFO: GPS data processed {"connection_id":111931,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:18:28] local.INFO: Acknowledgment sent {"connection_id":111931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:18:29] local.INFO: TCP Data received {"connection_id":111121,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bc8c90012cc66340074db1b0000b007830..."} 
[2026-06-23 19:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bc8c90012cc66340074db1b0000b007830..."} 
[2026-06-23 19:18:29] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bc8c90012cc66340074db1b0000b007830..."} 
[2026-06-23 19:18:29] local.INFO: Packet analysis {"connection_id":111121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:18:29] local.INFO: Extracted packet for processing {"connection_id":111121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:18:29] local.INFO: GPS Element Parsed {"raw_longitude":751199040,"raw_latitude":122532272,"longitude_deg":75.119904,"latitude_deg":12.2532272,"altitude":11,"angle":120,"satellites":48,"speed":58,"hex_longitude":"2cc66340","hex_latitude":"074db1b0","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248948480001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321505991759757312,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4155344681066305536,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222458000,"timestamp_ms":1782222458000,"timestamp_seconds":1782222458,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bc8c90"} 
[2026-06-23 19:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:18:29] 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-06-23 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 19:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248948480001,"66":26876,"164":206,"2":54016,"24":58,"16":321505991759757312,"44":-4155344681066305536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248948480001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:18:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321505991759757312,"km_value":321505991759757.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4155344681066305536,"description":"Unknown IO ID 44"} 
[2026-06-23 19:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248948480001,"power":26876,"unknown_164":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4155344681066305536}} 
[2026-06-23 19:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":111121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:18:29] local.INFO: GPS data processed {"connection_id":111121,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:18:29] local.INFO: Acknowledgment sent {"connection_id":111121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:18:31] local.INFO: TCP Data received {"connection_id":112862,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:18:31] local.INFO: Processing buffer {"connection_id":112862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:18:31] local.INFO: IMEI packet received {"connection_id":112862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":112862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:18:35] local.INFO: TCP Data received {"connection_id":111121,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bc9848012cc67280074daac0000a006d31..."} 
[2026-06-23 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bc9848012cc67280074daac0000a006d31..."} 
[2026-06-23 19:18:35] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bc9848012cc67280074daac0000a006d31..."} 
[2026-06-23 19:18:35] local.INFO: Packet analysis {"connection_id":111121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:18:35] local.INFO: Extracted packet for processing {"connection_id":111121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:18:35] local.INFO: GPS Element Parsed {"raw_longitude":751202944,"raw_latitude":122530496,"longitude_deg":75.1202944,"latitude_deg":12.2530496,"altitude":10,"angle":109,"satellites":49,"speed":52,"hex_longitude":"2cc67280","hex_latitude":"074daac0","is_valid_coordinates":true} 
[2026-06-23 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248949248001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321506193623220224,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4151404031393026048,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782222461000,"timestamp_ms":1782222461000,"timestamp_seconds":1782222461,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bc9848"} 
[2026-06-23 19:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:18:35] 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-06-23 19:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 19:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248949248001,"66":26876,"164":206,"2":54016,"24":52,"16":321506193623220224,"44":-4151404031393026048},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248949248001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:18:35] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321506193623220224,"km_value":321506193623220.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:18:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4151404031393026048,"description":"Unknown IO ID 44"} 
[2026-06-23 19:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248949248001,"power":26876,"unknown_164":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-4151404031393026048}} 
[2026-06-23 19:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":111121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:18:35] local.INFO: GPS data processed {"connection_id":111121,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:18:35] local.INFO: Acknowledgment sent {"connection_id":111121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:18:52] local.INFO: TCP Data received {"connection_id":111122,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:18:52] local.INFO: Processing buffer {"connection_id":111122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:18:52] local.INFO: IMEI packet received {"connection_id":111122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":111122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:18:57] local.INFO: TCP Data received {"connection_id":111122,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:18:57] local.INFO: Processing buffer {"connection_id":111122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:18:57] local.INFO: IMEI packet received {"connection_id":111122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":111122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:18:58] local.INFO: TCP Data received {"connection_id":111122,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4b9ae30012d196580071feec80042006c2b..."} 
[2026-06-23 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4b9ae30012d196580071feec80042006c2b..."} 
[2026-06-23 19:18:58] local.INFO: Processing buffer {"connection_id":111122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4b9ae30012d196580071feec80042006c2b..."} 
[2026-06-23 19:18:58] local.INFO: Packet analysis {"connection_id":111122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:18:58] local.INFO: Extracted packet for processing {"connection_id":111122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4b9"} 
[2026-06-23 19:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248895744001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:18: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-06-23 19:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222270000,"timestamp_ms":1782222270000,"timestamp_seconds":1782222270,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4b9ae30"} 
[2026-06-23 19:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:18:58] 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-06-23 19:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-23 19:18:58] 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-06-23 19:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248895744001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248895744001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:18:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248895744001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":111122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:18:58] local.INFO: GPS data processed {"connection_id":111122,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:18:58] local.INFO: Acknowledgment sent {"connection_id":111122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:19:06] local.INFO: TCP Data received {"connection_id":111932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:19:06] local.INFO: Processing buffer {"connection_id":111932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:19:06] local.INFO: IMEI packet received {"connection_id":111932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":111932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:19:06] local.INFO: TCP Data received {"connection_id":111121,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bcb788012cc69680074da3400009006431..."} 
[2026-06-23 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bcb788012cc69680074da3400009006431..."} 
[2026-06-23 19:19:06] local.INFO: Processing buffer {"connection_id":111121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bcb788012cc69680074da3400009006431..."} 
[2026-06-23 19:19:06] local.INFO: Packet analysis {"connection_id":111121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:19:06] local.INFO: Extracted packet for processing {"connection_id":111121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:19:06] local.INFO: GPS Element Parsed {"raw_longitude":751212160,"raw_latitude":122528576,"longitude_deg":75.121216,"latitude_deg":12.2528576,"altitude":9,"angle":100,"satellites":49,"speed":34,"hex_longitude":"2cc69680","hex_latitude":"074da340","is_valid_coordinates":true} 
[2026-06-23 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248950016001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321506640299819008,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4147111537998643200,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782222469000,"timestamp_ms":1782222469000,"timestamp_seconds":1782222469,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bcb788"} 
[2026-06-23 19:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:19: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-06-23 19:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 19:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248950016001,"66":27463,"164":206,"2":54016,"24":34,"16":321506640299819008,"44":-4147111537998643200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248950016001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:19:06] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321506640299819008,"km_value":321506640299819.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4147111537998643200,"description":"Unknown IO ID 44"} 
[2026-06-23 19:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248950016001,"power":27463,"unknown_164":206,"power_alt":54016,"ignition":34,"odometer":null,"unknown_44":-4147111537998643200}} 
[2026-06-23 19:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":111121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:19:06] local.INFO: GPS data processed {"connection_id":111121,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:19:06] local.INFO: Acknowledgment sent {"connection_id":111121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:19:23] local.INFO: TCP Data received {"connection_id":111933,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:23] local.INFO: Processing buffer {"connection_id":111933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:23] local.INFO: IMEI packet received {"connection_id":111933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":111933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:19:25] local.INFO: TCP Data received {"connection_id":111933,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:25] local.INFO: Processing buffer {"connection_id":111933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:25] local.INFO: IMEI packet received {"connection_id":111933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":111933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:19:28] local.INFO: TCP Data received {"connection_id":111933,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:28] local.INFO: Processing buffer {"connection_id":111933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:19:28] local.INFO: IMEI packet received {"connection_id":111933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":111933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:19:29] local.INFO: TCP Data received {"connection_id":111122,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ba0038012d196580071feec80042006c2a..."} 
[2026-06-23 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ba0038012d196580071feec80042006c2a..."} 
[2026-06-23 19:19:29] local.INFO: Processing buffer {"connection_id":111122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ba0038012d196580071feec80042006c2a..."} 
[2026-06-23 19:19:29] local.INFO: Packet analysis {"connection_id":111122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ba"} 
[2026-06-23 19:19:29] local.INFO: Extracted packet for processing {"connection_id":111122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ba"} 
[2026-06-23 19:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248901120001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222291000,"timestamp_ms":1782222291000,"timestamp_seconds":1782222291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ba0038"} 
[2026-06-23 19:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:19:29] 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-06-23 19:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:19:29] 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-06-23 19:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248901120001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248901120001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:19:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248901120001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":111122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:19:29] local.INFO: GPS data processed {"connection_id":111122,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:19:29] local.INFO: Acknowledgment sent {"connection_id":111122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:19:30] local.INFO: TCP Data received {"connection_id":111933,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bcf220012cc6b7c0074d99780009006f31..."} 
[2026-06-23 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bcf220012cc6b7c0074d99780009006f31..."} 
[2026-06-23 19:19:30] local.INFO: Processing buffer {"connection_id":111933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bcf220012cc6b7c0074d99780009006f31..."} 
[2026-06-23 19:19:30] local.INFO: Packet analysis {"connection_id":111933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:19:30] local.INFO: Extracted packet for processing {"connection_id":111933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bc"} 
[2026-06-23 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":751220672,"raw_latitude":122526072,"longitude_deg":75.1220672,"latitude_deg":12.2526072,"altitude":9,"angle":111,"satellites":49,"speed":17,"hex_longitude":"2cc6b7c0","hex_latitude":"074d9978","is_valid_coordinates":true} 
[2026-06-23 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248952064001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321507065501581312,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4136978438837551104,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222484000,"timestamp_ms":1782222484000,"timestamp_seconds":1782222484,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bcf220"} 
[2026-06-23 19:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:19:30] 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-06-23 19:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248952064001,"66":26963,"164":206,"2":54016,"24":17,"16":321507065501581312,"44":-4136978438837551104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248952064001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:19:30] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321507065501581312,"km_value":321507065501581.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4136978438837551104,"description":"Unknown IO ID 44"} 
[2026-06-23 19:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248952064001,"power":26963,"unknown_164":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-4136978438837551104}} 
[2026-06-23 19:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":111933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:19:30] local.INFO: GPS data processed {"connection_id":111933,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:19:30] local.INFO: Acknowledgment sent {"connection_id":111933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:19:52] local.INFO: TCP Data received {"connection_id":112863,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:19:52] local.INFO: Processing buffer {"connection_id":112863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:19:52] local.INFO: IMEI packet received {"connection_id":112863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":112863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:19:57] local.INFO: TCP Data received {"connection_id":112863,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:19:57] local.INFO: Processing buffer {"connection_id":112863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:19:57] local.INFO: IMEI packet received {"connection_id":112863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":112863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:19:58] local.INFO: TCP Data received {"connection_id":112863,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ba5240012d196580071feec80042006c2a..."} 
[2026-06-23 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ba5240012d196580071feec80042006c2a..."} 
[2026-06-23 19:19:58] local.INFO: Processing buffer {"connection_id":112863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ba5240012d196580071feec80042006c2a..."} 
[2026-06-23 19:19:58] local.INFO: Packet analysis {"connection_id":112863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ba"} 
[2026-06-23 19:19:58] local.INFO: Extracted packet for processing {"connection_id":112863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ba"} 
[2026-06-23 19:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248906496001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:19: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-06-23 19:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222312000,"timestamp_ms":1782222312000,"timestamp_seconds":1782222312,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ba5240"} 
[2026-06-23 19:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:19:58] 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-06-23 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248906496001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248906496001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:19:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248906496001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":112863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:19:58] local.INFO: GPS data processed {"connection_id":112863,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:19:58] local.INFO: Acknowledgment sent {"connection_id":112863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:20:01] local.INFO: TCP Data received {"connection_id":111933,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bd24e8012cc6cc80074d8f300009007b31..."} 
[2026-06-23 19:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bd24e8012cc6cc80074d8f300009007b31..."} 
[2026-06-23 19:20:01] local.INFO: Processing buffer {"connection_id":111933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bd24e8012cc6cc80074d8f300009007b31..."} 
[2026-06-23 19:20:01] local.INFO: Packet analysis {"connection_id":111933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:01] local.INFO: Extracted packet for processing {"connection_id":111933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:01] local.INFO: GPS Element Parsed {"raw_longitude":751225984,"raw_latitude":122523440,"longitude_deg":75.1225984,"latitude_deg":12.252344,"altitude":9,"angle":123,"satellites":49,"speed":21,"hex_longitude":"2cc6cc80","hex_latitude":"074d8f30","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248955904001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321507344674455552,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4127619395862562816,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782222497000,"timestamp_ms":1782222497000,"timestamp_seconds":1782222497,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bd24e8"} 
[2026-06-23 19:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:20:01] 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-06-23 19: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 19:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248955904001,"66":27343,"164":206,"2":54016,"24":21,"16":321507344674455552,"44":-4127619395862562816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248955904001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:20:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321507344674455552,"km_value":321507344674455.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4127619395862562816,"description":"Unknown IO ID 44"} 
[2026-06-23 19:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248955904001,"power":27343,"unknown_164":206,"power_alt":54016,"ignition":21,"odometer":null,"unknown_44":-4127619395862562816}} 
[2026-06-23 19:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":111933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:20:01] local.INFO: GPS data processed {"connection_id":111933,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:20:01] local.INFO: Acknowledgment sent {"connection_id":111933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:20:28] local.INFO: TCP Data received {"connection_id":111123,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:20:28] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:20:28] local.INFO: IMEI packet received {"connection_id":111123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":111123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:20:29] local.INFO: TCP Data received {"connection_id":112863,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bdd898012d196580071feec80042006c2d..."} 
[2026-06-23 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bdd898012d196580071feec80042006c2d..."} 
[2026-06-23 19:20:29] local.INFO: Processing buffer {"connection_id":112863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bdd898012d196580071feec80042006c2d..."} 
[2026-06-23 19:20:29] local.INFO: Packet analysis {"connection_id":112863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:29] local.INFO: Extracted packet for processing {"connection_id":112863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248965632001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222543000,"timestamp_ms":1782222543000,"timestamp_seconds":1782222543,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bdd898"} 
[2026-06-23 19:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:20:29] 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-06-23 19:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248965632001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248965632001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:20:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248965632001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":112863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:20:29] local.INFO: GPS data processed {"connection_id":112863,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:20:29] local.INFO: Acknowledgment sent {"connection_id":112863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:20:34] local.INFO: TCP Data received {"connection_id":111123,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:20:34] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:20:34] local.INFO: IMEI packet received {"connection_id":111123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":111123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:20:36] local.INFO: TCP Data received {"connection_id":111123,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bd6368012cc6ea80074d7b58000a00782f..."} 
[2026-06-23 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bd6368012cc6ea80074d7b58000a00782f..."} 
[2026-06-23 19:20:36] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bd6368012cc6ea80074d7b58000a00782f..."} 
[2026-06-23 19:20:36] local.INFO: Packet analysis {"connection_id":111123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:36] local.INFO: Extracted packet for processing {"connection_id":111123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:36] local.INFO: GPS Element Parsed {"raw_longitude":751233664,"raw_latitude":122518360,"longitude_deg":75.1233664,"latitude_deg":12.251836,"altitude":10,"angle":120,"satellites":47,"speed":26,"hex_longitude":"2cc6ea80","hex_latitude":"074d7b58","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248959232001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321507787056087040,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4121778790096490496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782222513000,"timestamp_ms":1782222513000,"timestamp_seconds":1782222513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bd6368"} 
[2026-06-23 19:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:20: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-06-23 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:20:36] 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-06-23 19: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-06-23 19:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248959232001,"66":27463,"164":206,"2":54016,"24":26,"16":321507787056087040,"44":-4121778790096490496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248959232001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:20:36] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321507787056087040,"km_value":321507787056087.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4121778790096490496,"description":"Unknown IO ID 44"} 
[2026-06-23 19:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248959232001,"power":27463,"unknown_164":206,"power_alt":54016,"ignition":26,"odometer":null,"unknown_44":-4121778790096490496}} 
[2026-06-23 19:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":111123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:20:36] local.INFO: GPS data processed {"connection_id":111123,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:20:36] local.INFO: Acknowledgment sent {"connection_id":111123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:20:37] local.INFO: TCP Data received {"connection_id":111123,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bd9a18012cc70ac0074d6888000c007a2f..."} 
[2026-06-23 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bd9a18012cc70ac0074d6888000c007a2f..."} 
[2026-06-23 19:20:37] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bd9a18012cc70ac0074d6888000c007a2f..."} 
[2026-06-23 19:20:37] local.INFO: Packet analysis {"connection_id":111123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:37] local.INFO: Extracted packet for processing {"connection_id":111123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":751241920,"raw_latitude":122513544,"longitude_deg":75.124192,"latitude_deg":12.2513544,"altitude":12,"angle":122,"satellites":47,"speed":26,"hex_longitude":"2cc70ac0","hex_latitude":"074d6888","is_valid_coordinates":true} 
[2026-06-23 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248963328001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321508242322620416,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4113334540796471296,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782222527000,"timestamp_ms":1782222527000,"timestamp_seconds":1782222527,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bd9a18"} 
[2026-06-23 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:20: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-06-23 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:20:37] 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-06-23 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248963328001,"66":27365,"164":206,"2":54016,"24":26,"16":321508242322620416,"44":-4113334540796471296},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248963328001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321508242322620416,"km_value":321508242322620.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4113334540796471296,"description":"Unknown IO ID 44"} 
[2026-06-23 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248963328001,"power":27365,"unknown_164":206,"power_alt":54016,"ignition":26,"odometer":null,"unknown_44":-4113334540796471296}} 
[2026-06-23 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":111123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:20:37] local.INFO: GPS data processed {"connection_id":111123,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:20:37] local.INFO: Acknowledgment sent {"connection_id":111123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:20:52] local.INFO: TCP Data received {"connection_id":112864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:20:52] local.INFO: Processing buffer {"connection_id":112864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:20:52] local.INFO: IMEI packet received {"connection_id":112864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":112864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:20:57] local.INFO: TCP Data received {"connection_id":112864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:20:57] local.INFO: Processing buffer {"connection_id":112864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:20:57] local.INFO: IMEI packet received {"connection_id":112864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":112864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:20:58] local.INFO: TCP Data received {"connection_id":112864,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4be2aa0012d196580071feec80042006c2b..."} 
[2026-06-23 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4be2aa0012d196580071feec80042006c2b..."} 
[2026-06-23 19:20:58] local.INFO: Processing buffer {"connection_id":112864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4be2aa0012d196580071feec80042006c2b..."} 
[2026-06-23 19:20:58] local.INFO: Packet analysis {"connection_id":112864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:20:58] local.INFO: Extracted packet for processing {"connection_id":112864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248971008001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:20: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-06-23 19:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222564000,"timestamp_ms":1782222564000,"timestamp_seconds":1782222564,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4be2aa0"} 
[2026-06-23 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-06-23 19:20:58] 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-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248971008001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248971008001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:20:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248971008001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":112864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:20:58] local.INFO: GPS data processed {"connection_id":112864,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:20:58] local.INFO: Acknowledgment sent {"connection_id":112864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:21:10] local.INFO: TCP Data received {"connection_id":111123,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bdcce0012cc723c0074d5a70000c006f30..."} 
[2026-06-23 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bdcce0012cc723c0074d5a70000c006f30..."} 
[2026-06-23 19:21:10] local.INFO: Processing buffer {"connection_id":111123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bdcce0012cc723c0074d5a70000c006f30..."} 
[2026-06-23 19:21:10] local.INFO: Packet analysis {"connection_id":111123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:21:10] local.INFO: Extracted packet for processing {"connection_id":111123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":751248320,"raw_latitude":122509936,"longitude_deg":75.124832,"latitude_deg":12.2509936,"altitude":12,"angle":111,"satellites":48,"speed":13,"hex_longitude":"2cc723c0","hex_latitude":"074d5a70","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248966912001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321508590214971392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4104256972798785536,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782222540000,"timestamp_ms":1782222540000,"timestamp_seconds":1782222540,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bdcce0"} 
[2026-06-23 19:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:21: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-06-23 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":111123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":111123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":111123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248966912001,"66":27343,"164":206,"2":54016,"24":13,"16":321508590214971392,"44":-4104256972798785536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248966912001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321508590214971392,"km_value":321508590214971.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4104256972798785536,"description":"Unknown IO ID 44"} 
[2026-06-23 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248966912001,"power":27343,"unknown_164":206,"power_alt":54016,"ignition":13,"odometer":null,"unknown_44":-4104256972798785536}} 
[2026-06-23 19:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":111123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:21:10] local.INFO: GPS data processed {"connection_id":111123,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:21:10] local.INFO: Acknowledgment sent {"connection_id":111123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:21:21] local.INFO: TCP Data received {"connection_id":111934,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:21] local.INFO: Processing buffer {"connection_id":111934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:21] local.INFO: IMEI packet received {"connection_id":111934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":111934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:21:22] local.INFO: TCP Data received {"connection_id":111934,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:22] local.INFO: Processing buffer {"connection_id":111934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:22] local.INFO: IMEI packet received {"connection_id":111934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":111934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:21:23] local.INFO: TCP Data received {"connection_id":111934,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:23] local.INFO: Processing buffer {"connection_id":111934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:23] local.INFO: IMEI packet received {"connection_id":111934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":111934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:21:28] local.INFO: TCP Data received {"connection_id":111934,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:28] local.INFO: Processing buffer {"connection_id":111934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:21:28] local.INFO: IMEI packet received {"connection_id":111934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":111934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:21:29] local.INFO: TCP Data received {"connection_id":112864,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4be7ca8012d196580071feec80042006c2c..."} 
[2026-06-23 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4be7ca8012d196580071feec80042006c2c..."} 
[2026-06-23 19:21:29] local.INFO: Processing buffer {"connection_id":112864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4be7ca8012d196580071feec80042006c2c..."} 
[2026-06-23 19:21:29] local.INFO: Packet analysis {"connection_id":112864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:21:29] local.INFO: Extracted packet for processing {"connection_id":112864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248976384001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222585000,"timestamp_ms":1782222585000,"timestamp_seconds":1782222585,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4be7ca8"} 
[2026-06-23 19:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:21:29] 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-06-23 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:21:29] 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-06-23 19: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-06-23 19:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248976384001,"66":12363,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248976384001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:21:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248976384001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":112864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:21:29] local.INFO: GPS data processed {"connection_id":112864,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:21:29] local.INFO: Acknowledgment sent {"connection_id":112864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:21:30] local.INFO: TCP Data received {"connection_id":111934,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bdd4b0012cc725c0074d5948000c007a30..."} 
[2026-06-23 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bdd4b0012cc725c0074d5948000c007a30..."} 
[2026-06-23 19:21:30] local.INFO: Processing buffer {"connection_id":111934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bdd4b0012cc725c0074d5948000c007a30..."} 
[2026-06-23 19:21:30] local.INFO: Packet analysis {"connection_id":111934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:21:30] local.INFO: Extracted packet for processing {"connection_id":111934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bd"} 
[2026-06-23 19:21:30] local.INFO: GPS Element Parsed {"raw_longitude":751248832,"raw_latitude":122509640,"longitude_deg":75.1248832,"latitude_deg":12.250964,"altitude":12,"angle":122,"satellites":48,"speed":12,"hex_longitude":"2cc725c0","hex_latitude":"074d5948","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248970240001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321508620279742464,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4097220098381942784,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222542000,"timestamp_ms":1782222542000,"timestamp_seconds":1782222542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bdd4b0"} 
[2026-06-23 19:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:21:30] 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-06-23 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:21:30] 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-06-23 19: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-06-23 19:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248970240001,"66":27343,"164":206,"2":54016,"24":12,"16":321508620279742464,"44":-4097220098381942784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248970240001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:21:30] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321508620279742464,"km_value":321508620279742.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4097220098381942784,"description":"Unknown IO ID 44"} 
[2026-06-23 19:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248970240001,"power":27343,"unknown_164":206,"power_alt":54016,"ignition":12,"odometer":null,"unknown_44":-4097220098381942784}} 
[2026-06-23 19:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":111934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:21:30] local.INFO: GPS data processed {"connection_id":111934,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:21:30] local.INFO: Acknowledgment sent {"connection_id":111934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:21:52] local.INFO: TCP Data received {"connection_id":111304,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:21:52] local.INFO: Processing buffer {"connection_id":111304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:21:52] local.INFO: IMEI packet received {"connection_id":111304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":111304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:21:57] local.INFO: TCP Data received {"connection_id":111304,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:21:57] local.INFO: Processing buffer {"connection_id":111304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:21:57] local.INFO: IMEI packet received {"connection_id":111304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":111304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:21:58] local.INFO: TCP Data received {"connection_id":111304,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4beceb0012d196580071feec80042006c2d..."} 
[2026-06-23 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4beceb0012d196580071feec80042006c2d..."} 
[2026-06-23 19:21:58] local.INFO: Processing buffer {"connection_id":111304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4beceb0012d196580071feec80042006c2d..."} 
[2026-06-23 19:21:58] local.INFO: Packet analysis {"connection_id":111304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:21:58] local.INFO: Extracted packet for processing {"connection_id":111304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248981760001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:21: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-06-23 19:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222606000,"timestamp_ms":1782222606000,"timestamp_seconds":1782222606,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4beceb0"} 
[2026-06-23 19:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:21:58] 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-06-23 19:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 19:21:58] 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-06-23 19:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248981760001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248981760001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:21:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248981760001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":111304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:21:58] local.INFO: GPS data processed {"connection_id":111304,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:21:58] local.INFO: Acknowledgment sent {"connection_id":111304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:22:01] local.INFO: TCP Data received {"connection_id":111934,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4be26b8012cc73f00074d4a78000e007530..."} 
[2026-06-23 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4be26b8012cc73f00074d4a78000e007530..."} 
[2026-06-23 19:22:01] local.INFO: Processing buffer {"connection_id":111934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4be26b8012cc73f00074d4a78000e007530..."} 
[2026-06-23 19:22:01] local.INFO: Packet analysis {"connection_id":111934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:22:01] local.INFO: Extracted packet for processing {"connection_id":111934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4be"} 
[2026-06-23 19:22:01] local.INFO: GPS Element Parsed {"raw_longitude":751255296,"raw_latitude":122505848,"longitude_deg":75.1255296,"latitude_deg":12.2505848,"altitude":14,"angle":117,"satellites":48,"speed":15,"hex_longitude":"2cc73f00","hex_latitude":"074d4a78","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248970752001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321508976762028032,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4096657148428597248,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782222563000,"timestamp_ms":1782222563000,"timestamp_seconds":1782222563,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4be26b8"} 
[2026-06-23 19:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:22:01] 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-06-23 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248970752001,"66":27343,"164":206,"2":54016,"24":15,"16":321508976762028032,"44":-4096657148428597248},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-06-23 19:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248970752001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:22:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-23 19:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321508976762028032,"km_value":321508976762028.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4096657148428597248,"description":"Unknown IO ID 44"} 
[2026-06-23 19:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248970752001,"power":27343,"unknown_164":206,"power_alt":54016,"ignition":15,"odometer":null,"unknown_44":-4096657148428597248}} 
[2026-06-23 19:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":111934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:22:01] local.INFO: GPS data processed {"connection_id":111934,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:22:01] local.INFO: Acknowledgment sent {"connection_id":111934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:22:29] local.INFO: TCP Data received {"connection_id":111304,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bf20b8012d196580071feec80042006c2c..."} 
[2026-06-23 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bf20b8012d196580071feec80042006c2c..."} 
[2026-06-23 19:22:29] local.INFO: Processing buffer {"connection_id":111304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bf20b8012d196580071feec80042006c2c..."} 
[2026-06-23 19:22:29] local.INFO: Packet analysis {"connection_id":111304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bf"} 
[2026-06-23 19:22:29] local.INFO: Extracted packet for processing {"connection_id":111304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bf"} 
[2026-06-23 19:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248987136001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222627000,"timestamp_ms":1782222627000,"timestamp_seconds":1782222627,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bf20b8"} 
[2026-06-23 19:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:22:29] 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-06-23 19:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:22:29] 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-06-23 19:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248987136001,"66":12102,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248987136001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:22:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248987136001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:22:29] local.INFO: GPS data processed {"connection_id":111304,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:22:29] local.INFO: Acknowledgment sent {"connection_id":111304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:22:52] local.INFO: TCP Data received {"connection_id":111935,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:22:52] local.INFO: Processing buffer {"connection_id":111935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:22:52] local.INFO: IMEI packet received {"connection_id":111935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":111935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:22:57] local.INFO: TCP Data received {"connection_id":111935,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:22:57] local.INFO: Processing buffer {"connection_id":111935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:22:57] local.INFO: IMEI packet received {"connection_id":111935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":111935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:22:58] local.INFO: TCP Data received {"connection_id":111935,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bf72c0012d196580071feec80042006c2b..."} 
[2026-06-23 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bf72c0012d196580071feec80042006c2b..."} 
[2026-06-23 19:22:58] local.INFO: Processing buffer {"connection_id":111935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bf72c0012d196580071feec80042006c2b..."} 
[2026-06-23 19:22:58] local.INFO: Packet analysis {"connection_id":111935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bf"} 
[2026-06-23 19:22:58] local.INFO: Extracted packet for processing {"connection_id":111935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bf"} 
[2026-06-23 19:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248992512001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:22: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-06-23 19:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222648000,"timestamp_ms":1782222648000,"timestamp_seconds":1782222648,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bf72c0"} 
[2026-06-23 19:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:22:58] 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-06-23 19: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":70,"data_length":795,"current_offset":136} 
[2026-06-23 19:22:58] 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-06-23 19: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-06-23 19:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248992512001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248992512001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:22:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248992512001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":111935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:22:58] local.INFO: GPS data processed {"connection_id":111935,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:22:58] local.INFO: Acknowledgment sent {"connection_id":111935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:23:29] local.INFO: TCP Data received {"connection_id":111935,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4bfc4c8012d196580071feec80042006c2a..."} 
[2026-06-23 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4bfc4c8012d196580071feec80042006c2a..."} 
[2026-06-23 19:23:29] local.INFO: Processing buffer {"connection_id":111935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4bfc4c8012d196580071feec80042006c2a..."} 
[2026-06-23 19:23:29] local.INFO: Packet analysis {"connection_id":111935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4bf"} 
[2026-06-23 19:23:29] local.INFO: Extracted packet for processing {"connection_id":111935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4bf"} 
[2026-06-23 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456248997888001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222669000,"timestamp_ms":1782222669000,"timestamp_seconds":1782222669,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4bfc4c8"} 
[2026-06-23 19:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:23:29] 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-06-23 19:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:23:29] 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-06-23 19:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456248997888001,"66":12363,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456248997888001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:23:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456248997888001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":111935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:23:29] local.INFO: GPS data processed {"connection_id":111935,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:23:29] local.INFO: Acknowledgment sent {"connection_id":111935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:23:52] local.INFO: TCP Data received {"connection_id":111305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:52] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:52] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:23:53] local.INFO: TCP Data received {"connection_id":111305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:53] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:53] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:23:57] local.INFO: TCP Data received {"connection_id":111305,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:57] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:23:57] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:23:58] local.INFO: TCP Data received {"connection_id":111305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c016d0012d196580071feec80042006c2b..."} 
[2026-06-23 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c016d0012d196580071feec80042006c2b..."} 
[2026-06-23 19:23:58] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c016d0012d196580071feec80042006c2b..."} 
[2026-06-23 19:23:58] local.INFO: Packet analysis {"connection_id":111305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:23:58] local.INFO: Extracted packet for processing {"connection_id":111305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249003264001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:23: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-06-23 19:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222690000,"timestamp_ms":1782222690000,"timestamp_seconds":1782222690,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c016d0"} 
[2026-06-23 19:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:23:58] 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-06-23 19:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 19:23:58] 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-06-23 19:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249003264001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249003264001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:23:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249003264001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":111305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:23:58] local.INFO: GPS data processed {"connection_id":111305,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:23:58] local.INFO: Acknowledgment sent {"connection_id":111305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:24:03] local.INFO: TCP Data received {"connection_id":111937,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:03] local.INFO: Processing buffer {"connection_id":111937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:03] local.INFO: IMEI packet received {"connection_id":111937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":111937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:24:07] local.INFO: TCP Data received {"connection_id":111937,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:07] local.INFO: Processing buffer {"connection_id":111937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:07] local.INFO: IMEI packet received {"connection_id":111937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":111937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:24:09] local.INFO: TCP Data received {"connection_id":111937,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c0e5d8012cc8d840074c3e20000d007932..."} 
[2026-06-23 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c0e5d8012cc8d840074c3e20000d007932..."} 
[2026-06-23 19:24:09] local.INFO: Processing buffer {"connection_id":111937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c0e5d8012cc8d840074c3e20000d007932..."} 
[2026-06-23 19:24:09] local.INFO: Packet analysis {"connection_id":111937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:24:09] local.INFO: Extracted packet for processing {"connection_id":111937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:24:09] local.INFO: GPS Element Parsed {"raw_longitude":751360064,"raw_latitude":122437152,"longitude_deg":75.1360064,"latitude_deg":12.2437152,"altitude":13,"angle":121,"satellites":50,"speed":50,"hex_longitude":"2cc8d840","hex_latitude":"074c3e20","is_valid_coordinates":true} 
[2026-06-23 19:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249021184001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321515664026107904,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3978859870692962304,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782222743000,"timestamp_ms":1782222743000,"timestamp_seconds":1782222743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c0e5d8"} 
[2026-06-23 19:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249021184001,"66":27376,"74":206,"2":54016,"24":50,"16":321515664026107904,"44":-3978859870692962304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,2,24,16,44]} 
[2026-06-23 19:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249021184001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:24:09] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 19:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321515664026107904,"km_value":321515664026107.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3978859870692962304,"description":"Unknown IO ID 44"} 
[2026-06-23 19:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249021184001,"power":27376,"unknown_74":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-3978859870692962304}} 
[2026-06-23 19:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":111937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:24:09] local.INFO: GPS data processed {"connection_id":111937,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:24:09] local.INFO: Acknowledgment sent {"connection_id":111937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:24:29] local.INFO: TCP Data received {"connection_id":111305,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c068d8012d196580071feec80042006c2d..."} 
[2026-06-23 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c068d8012d196580071feec80042006c2d..."} 
[2026-06-23 19:24:29] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c068d8012d196580071feec80042006c2d..."} 
[2026-06-23 19:24:29] local.INFO: Packet analysis {"connection_id":111305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:24:29] local.INFO: Extracted packet for processing {"connection_id":111305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249008640001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222711000,"timestamp_ms":1782222711000,"timestamp_seconds":1782222711,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c068d8"} 
[2026-06-23 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:24:29] 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-06-23 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:24:29] 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-06-23 19:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249008640001,"66":12113,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249008640001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:24:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:24:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249008640001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":111305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:24:29] local.INFO: GPS data processed {"connection_id":111305,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:24:29] local.INFO: Acknowledgment sent {"connection_id":111305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:24:31] local.INFO: TCP Data received {"connection_id":112866,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:31] local.INFO: Processing buffer {"connection_id":112866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:31] local.INFO: IMEI packet received {"connection_id":112866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":112866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:24:33] local.INFO: TCP Data received {"connection_id":112866,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:33] local.INFO: Processing buffer {"connection_id":112866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:33] local.INFO: IMEI packet received {"connection_id":112866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":112866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:24:36] local.INFO: TCP Data received {"connection_id":111125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:24:36] local.INFO: Processing buffer {"connection_id":111125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:24:36] local.INFO: IMEI packet received {"connection_id":111125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":111125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:24:37] local.INFO: TCP Data received {"connection_id":112866,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:37] local.INFO: Processing buffer {"connection_id":112866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:24:37] local.INFO: IMEI packet received {"connection_id":112866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":112866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:24:39] local.INFO: TCP Data received {"connection_id":112866,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c1e3c0012cca0a40074c2c780014006a32..."} 
[2026-06-23 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c1e3c0012cca0a40074c2c780014006a32..."} 
[2026-06-23 19:24:39] local.INFO: Processing buffer {"connection_id":112866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c1e3c0012cca0a40074c2c780014006a32..."} 
[2026-06-23 19:24:39] local.INFO: Packet analysis {"connection_id":112866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:24:39] local.INFO: Extracted packet for processing {"connection_id":112866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":751438400,"raw_latitude":122432632,"longitude_deg":75.14384,"latitude_deg":12.2432632,"altitude":20,"angle":106,"satellites":50,"speed":44,"hex_longitude":"2cca0a40","hex_latitude":"074c2c78","is_valid_coordinates":true} 
[2026-06-23 19:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249036800001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321519568151379968,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3897724708657227776,"note":"Value kept but may cause issues"} 
[2026-06-23 19:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782222808000,"timestamp_ms":1782222808000,"timestamp_seconds":1782222808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c1e3c0"} 
[2026-06-23 19:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:24: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-06-23 19:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 19:24:39] 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-06-23 19:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249036800001,"66":27539,"96":206,"2":54016,"24":44,"16":321519568151379968,"44":-3897724708657227776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-06-23 19:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249036800001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:24:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 19:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321519568151379968,"km_value":321519568151379.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:24:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3897724708657227776,"description":"Unknown IO ID 44"} 
[2026-06-23 19:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249036800001,"power":27539,"unknown_96":206,"power_alt":54016,"ignition":44,"odometer":null,"unknown_44":-3897724708657227776}} 
[2026-06-23 19:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":112866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:24:39] local.INFO: GPS data processed {"connection_id":112866,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:24:39] local.INFO: Acknowledgment sent {"connection_id":112866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:24:56] local.INFO: TCP Data received {"connection_id":111938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:24:56] local.INFO: Processing buffer {"connection_id":111938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:24:56] local.INFO: IMEI packet received {"connection_id":111938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":111938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:24:57] local.INFO: TCP Data received {"connection_id":111938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:24:57] local.INFO: Processing buffer {"connection_id":111938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:24:57] local.INFO: IMEI packet received {"connection_id":111938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":111938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:25:02] local.INFO: TCP Data received {"connection_id":111938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:02] local.INFO: Processing buffer {"connection_id":111938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:02] local.INFO: IMEI packet received {"connection_id":111938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":111938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:25:03] local.INFO: TCP Data received {"connection_id":111938,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c0bae0012d196580071feec80042006c2d..."} 
[2026-06-23 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c0bae0012d196580071feec80042006c2d..."} 
[2026-06-23 19:25:03] local.INFO: Processing buffer {"connection_id":111938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c0bae0012d196580071feec80042006c2d..."} 
[2026-06-23 19:25:03] local.INFO: Packet analysis {"connection_id":111938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:25:03] local.INFO: Extracted packet for processing {"connection_id":111938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c0"} 
[2026-06-23 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249014016001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782222732000,"timestamp_ms":1782222732000,"timestamp_seconds":1782222732,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c0bae0"} 
[2026-06-23 19:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:25:03] 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-06-23 19:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 19:25:03] 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-06-23 19:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249014016001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249014016001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:25:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249014016001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":111938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:25:03] local.INFO: GPS data processed {"connection_id":111938,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:25:03] local.INFO: Acknowledgment sent {"connection_id":111938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:25:06] local.INFO: TCP Data received {"connection_id":112867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:25:06] local.INFO: Processing buffer {"connection_id":112867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:25:06] local.INFO: IMEI packet received {"connection_id":112867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":112867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:25:07] local.INFO: TCP Data received {"connection_id":111938,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c10ce8012d196580071feec80042006c2d..."} 
[2026-06-23 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c10ce8012d196580071feec80042006c2d..."} 
[2026-06-23 19:25:07] local.INFO: Processing buffer {"connection_id":111938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c10ce8012d196580071feec80042006c2d..."} 
[2026-06-23 19:25:07] local.INFO: Packet analysis {"connection_id":111938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:25:07] local.INFO: Extracted packet for processing {"connection_id":111938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249019392001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782222753000,"timestamp_ms":1782222753000,"timestamp_seconds":1782222753,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c10ce8"} 
[2026-06-23 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-06-23 19:25:07] 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-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:25:07] 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-06-23 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-06-23 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-06-23 19:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249019392001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249019392001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249019392001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":111938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:25:07] local.INFO: GPS data processed {"connection_id":111938,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:25:07] local.INFO: Acknowledgment sent {"connection_id":111938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:25:23] local.INFO: TCP Data received {"connection_id":111126,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:25:23] local.INFO: Processing buffer {"connection_id":111126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:25:23] local.INFO: IMEI packet received {"connection_id":111126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":111126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:25:29] local.INFO: TCP Data received {"connection_id":111126,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:25:29] local.INFO: Processing buffer {"connection_id":111126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:25:29] local.INFO: IMEI packet received {"connection_id":111126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":111126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:25:30] local.INFO: TCP Data received {"connection_id":111126,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c206e8012cca3040074c25700016005e32..."} 
[2026-06-23 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c206e8012cca3040074c25700016005e32..."} 
[2026-06-23 19:25:30] local.INFO: Processing buffer {"connection_id":111126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c206e8012cca3040074c25700016005e32..."} 
[2026-06-23 19:25:30] local.INFO: Packet analysis {"connection_id":111126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:25:30] local.INFO: Extracted packet for processing {"connection_id":111126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":751448128,"raw_latitude":122430832,"longitude_deg":75.1448128,"latitude_deg":12.2430832,"altitude":22,"angle":94,"satellites":50,"speed":43,"hex_longitude":"2cca3040","hex_latitude":"074c2570","is_valid_coordinates":true} 
[2026-06-23 19:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249038848001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321520040597782528,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3888224928194070528,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222817000,"timestamp_ms":1782222817000,"timestamp_seconds":1782222817,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c206e8"} 
[2026-06-23 19:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:25:30] 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-06-23 19:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 19:25:30] 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-06-23 19:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249038848001,"66":27213,"96":206,"2":54016,"24":43,"16":321520040597782528,"44":-3888224928194070528},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-06-23 19:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249038848001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:25:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 19:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321520040597782528,"km_value":321520040597782.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3888224928194070528,"description":"Unknown IO ID 44"} 
[2026-06-23 19:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249038848001,"power":27213,"unknown_96":206,"power_alt":54016,"ignition":43,"odometer":null,"unknown_44":-3888224928194070528}} 
[2026-06-23 19:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":111126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:25:30] local.INFO: GPS data processed {"connection_id":111126,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:25:30] local.INFO: Acknowledgment sent {"connection_id":111126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:25:52] local.INFO: TCP Data received {"connection_id":111939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:52] local.INFO: Processing buffer {"connection_id":111939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:52] local.INFO: IMEI packet received {"connection_id":111939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":111939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:25:57] local.INFO: TCP Data received {"connection_id":111939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:57] local.INFO: Processing buffer {"connection_id":111939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:25:57] local.INFO: IMEI packet received {"connection_id":111939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":111939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:25:58] local.INFO: TCP Data received {"connection_id":111939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c15ef0012d196580071feec80042006c2c..."} 
[2026-06-23 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c15ef0012d196580071feec80042006c2c..."} 
[2026-06-23 19:25:58] local.INFO: Processing buffer {"connection_id":111939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c15ef0012d196580071feec80042006c2c..."} 
[2026-06-23 19:25:58] local.INFO: Packet analysis {"connection_id":111939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:25:58] local.INFO: Extracted packet for processing {"connection_id":111939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249024768001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:25: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-06-23 19:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222774000,"timestamp_ms":1782222774000,"timestamp_seconds":1782222774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c15ef0"} 
[2026-06-23 19:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249024768001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249024768001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:25:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249024768001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":111939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:25:58] local.INFO: GPS data processed {"connection_id":111939,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:25:58] local.INFO: Acknowledgment sent {"connection_id":111939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:26:02] local.INFO: TCP Data received {"connection_id":111126,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c34f08012ccb1100074b5190000e00a830..."} 
[2026-06-23 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c34f08012ccb1100074b5190000e00a830..."} 
[2026-06-23 19:26:02] local.INFO: Processing buffer {"connection_id":111126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c34f08012ccb1100074b5190000e00a830..."} 
[2026-06-23 19:26:02] local.INFO: Packet analysis {"connection_id":111126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:26:02] local.INFO: Extracted packet for processing {"connection_id":111126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":751505664,"raw_latitude":122376592,"longitude_deg":75.1505664,"latitude_deg":12.2376592,"altitude":14,"angle":168,"satellites":48,"speed":37,"hex_longitude":"2ccb1100","hex_latitude":"074b5190","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249059840001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321524309795274752,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3816378440400742400,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782222901000,"timestamp_ms":1782222901000,"timestamp_seconds":1782222901,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c34f08"} 
[2026-06-23 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-06-23 19:26: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-06-23 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249059840001,"66":27343,"17":206,"2":54016,"24":37,"16":321524309795274752,"44":-3816378440400742400},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-23 19:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249059840001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321524309795274752,"km_value":321524309795274.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3816378440400742400,"description":"Unknown IO ID 44"} 
[2026-06-23 19:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249059840001,"power":27343,"axis_x":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-3816378440400742400}} 
[2026-06-23 19:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":111126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:26:02] local.INFO: GPS data processed {"connection_id":111126,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:26:02] local.INFO: Acknowledgment sent {"connection_id":111126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:26:23] local.INFO: TCP Data received {"connection_id":111307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:23] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:23] local.INFO: IMEI packet received {"connection_id":111307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":111307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:26:24] local.INFO: TCP Data received {"connection_id":111307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:24] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:24] local.INFO: IMEI packet received {"connection_id":111307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":111307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:26:28] local.INFO: TCP Data received {"connection_id":111307,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:28] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:26:28] local.INFO: IMEI packet received {"connection_id":111307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":111307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:26:28] local.INFO: TCP Data received {"connection_id":111939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c1b0f8012d196580071feec80042006c2b..."} 
[2026-06-23 19:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c1b0f8012d196580071feec80042006c2b..."} 
[2026-06-23 19:26:28] local.INFO: Processing buffer {"connection_id":111939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c1b0f8012d196580071feec80042006c2b..."} 
[2026-06-23 19:26:28] local.INFO: Packet analysis {"connection_id":111939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:26:28] local.INFO: Extracted packet for processing {"connection_id":111939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c1"} 
[2026-06-23 19:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249030144001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222795000,"timestamp_ms":1782222795000,"timestamp_seconds":1782222795,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c1b0f8"} 
[2026-06-23 19:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:26:28] 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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-810893433237595803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3222720513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:26:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,12,45,128,238,66,10,186,104,1,240,81,227,244,31,4,113,205,196,101,200,42,239,48,2,13,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:26:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249030144001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249030144001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249030144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":111939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:26:29] local.INFO: GPS data processed {"connection_id":111939,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:26:29] local.INFO: Acknowledgment sent {"connection_id":111939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:26:30] local.INFO: TCP Data received {"connection_id":111307,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c37230012ccb1880074b2ec8000e00a732..."} 
[2026-06-23 19:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c37230012ccb1880074b2ec8000e00a732..."} 
[2026-06-23 19:26:30] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c37230012ccb1880074b2ec8000e00a732..."} 
[2026-06-23 19:26:30] local.INFO: Packet analysis {"connection_id":111307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:26:30] local.INFO: Extracted packet for processing {"connection_id":111307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:26:30] local.INFO: GPS Element Parsed {"raw_longitude":751507584,"raw_latitude":122367688,"longitude_deg":75.1507584,"latitude_deg":12.2367688,"altitude":14,"angle":167,"satellites":50,"speed":41,"hex_longitude":"2ccb1880","hex_latitude":"074b2ec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249062656001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321524752176906240,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3814267378077691904,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782222910000,"timestamp_ms":1782222910000,"timestamp_seconds":1782222910,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c37230"} 
[2026-06-23 19:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:26:30] 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-06-23 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:26:30] 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-06-23 19: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-06-23 19:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249062656001,"66":27321,"17":206,"2":54016,"24":41,"16":321524752176906240,"44":-3814267378077691904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-23 19:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249062656001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321524752176906240,"km_value":321524752176906.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3814267378077691904,"description":"Unknown IO ID 44"} 
[2026-06-23 19:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249062656001,"power":27321,"axis_x":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-3814267378077691904}} 
[2026-06-23 19:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":111307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:26:30] local.INFO: GPS data processed {"connection_id":111307,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:26:30] local.INFO: Acknowledgment sent {"connection_id":111307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:26:52] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:26:52] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:26:52] local.INFO: IMEI packet received {"connection_id":111127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":111127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:26:57] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:26:57] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:26:57] local.INFO: IMEI packet received {"connection_id":111127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":111127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:26:58] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c20300012d196580071feec80042006c2a..."} 
[2026-06-23 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c20300012d196580071feec80042006c2a..."} 
[2026-06-23 19:26:58] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c20300012d196580071feec80042006c2a..."} 
[2026-06-23 19:26:58] local.INFO: Packet analysis {"connection_id":111127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:26:58] local.INFO: Extracted packet for processing {"connection_id":111127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249035520001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:26: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-06-23 19:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222816000,"timestamp_ms":1782222816000,"timestamp_seconds":1782222816,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c20300"} 
[2026-06-23 19:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:26: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-06-23 19:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249035520001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249035520001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:26:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249035520001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":111127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:26:58] local.INFO: GPS data processed {"connection_id":111127,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:26:58] local.INFO: Acknowledgment sent {"connection_id":111127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:27:01] local.INFO: TCP Data received {"connection_id":111307,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c39d28012ccb2240074b0ab0000b00a230..."} 
[2026-06-23 19:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c39d28012ccb2240074b0ab0000b00a230..."} 
[2026-06-23 19:27:01] local.INFO: Processing buffer {"connection_id":111307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c39d28012ccb2240074b0ab0000b00a230..."} 
[2026-06-23 19:27:01] local.INFO: Packet analysis {"connection_id":111307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:27:01] local.INFO: Extracted packet for processing {"connection_id":111307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:27:01] local.INFO: GPS Element Parsed {"raw_longitude":751510080,"raw_latitude":122358448,"longitude_deg":75.151008,"latitude_deg":12.2358448,"altitude":11,"angle":162,"satellites":48,"speed":30,"hex_longitude":"2ccb2240","hex_latitude":"074b0ab0","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249064960001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321525216033374208,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812156315754641408,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782222921000,"timestamp_ms":1782222921000,"timestamp_seconds":1782222921,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c39d28"} 
[2026-06-23 19:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249064960001,"66":27397,"17":206,"2":54016,"24":30,"16":321525216033374208,"44":-3812156315754641408},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-23 19:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249064960001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321525216033374208,"km_value":321525216033374.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812156315754641408,"description":"Unknown IO ID 44"} 
[2026-06-23 19:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249064960001,"power":27397,"axis_x":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-3812156315754641408}} 
[2026-06-23 19:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":111307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:27:01] local.INFO: GPS data processed {"connection_id":111307,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:27:01] local.INFO: Acknowledgment sent {"connection_id":111307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:27:28] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:27:28] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:27:28] local.INFO: IMEI packet received {"connection_id":111128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:27:29] local.INFO: TCP Data received {"connection_id":111127,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c25508012d196580071feec80042006c2a..."} 
[2026-06-23 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c25508012d196580071feec80042006c2a..."} 
[2026-06-23 19:27:29] local.INFO: Processing buffer {"connection_id":111127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c25508012d196580071feec80042006c2a..."} 
[2026-06-23 19:27:29] local.INFO: Packet analysis {"connection_id":111127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:27:29] local.INFO: Extracted packet for processing {"connection_id":111127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249040896001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222837000,"timestamp_ms":1782222837000,"timestamp_seconds":1782222837,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c25508"} 
[2026-06-23 19:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:27:29] 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-06-23 19:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249040896001,"66":12374,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249040896001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:27:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249040896001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":111127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:27:29] local.INFO: GPS data processed {"connection_id":111127,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:27:29] local.INFO: Acknowledgment sent {"connection_id":111127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:27:33] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:27:33] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:27:33] local.INFO: IMEI packet received {"connection_id":111128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":111128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:27:34] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c3a4f8012ccb2500074b0550000a00942f..."} 
[2026-06-23 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c3a4f8012ccb2500074b0550000a00942f..."} 
[2026-06-23 19:27:34] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c3a4f8012ccb2500074b0550000a00942f..."} 
[2026-06-23 19:27:34] local.INFO: Packet analysis {"connection_id":111128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:27:34] local.INFO: Extracted packet for processing {"connection_id":111128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:27:34] local.INFO: GPS Element Parsed {"raw_longitude":751510784,"raw_latitude":122357072,"longitude_deg":75.1510784,"latitude_deg":12.2357072,"altitude":10,"angle":148,"satellites":47,"speed":30,"hex_longitude":"2ccb2500","hex_latitude":"074b0550","is_valid_coordinates":true} 
[2026-06-23 19:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249067776001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321525289047818240,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809411934734077952,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782222923000,"timestamp_ms":1782222923000,"timestamp_seconds":1782222923,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c3a4f8"} 
[2026-06-23 19:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:27: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-06-23 19:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249067776001,"66":27365,"17":206,"2":54016,"24":30,"16":321525289047818240,"44":-3809411934734077952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-23 19:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249067776001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321525289047818240,"km_value":321525289047818.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809411934734077952,"description":"Unknown IO ID 44"} 
[2026-06-23 19:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249067776001,"power":27365,"axis_x":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-3809411934734077952}} 
[2026-06-23 19:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":111128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:27:35] local.INFO: GPS data processed {"connection_id":111128,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:27:35] local.INFO: Acknowledgment sent {"connection_id":111128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:27:40] local.INFO: TCP Data received {"connection_id":111128,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c3b0b0012ccb2b00074afd980009008930..."} 
[2026-06-23 19:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c3b0b0012ccb2b00074afd980009008930..."} 
[2026-06-23 19:27:40] local.INFO: Processing buffer {"connection_id":111128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c3b0b0012ccb2b00074afd980009008930..."} 
[2026-06-23 19:27:40] local.INFO: Packet analysis {"connection_id":111128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:27:40] local.INFO: Extracted packet for processing {"connection_id":111128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:27:40] local.INFO: GPS Element Parsed {"raw_longitude":751512320,"raw_latitude":122355096,"longitude_deg":75.151232,"latitude_deg":12.2355096,"altitude":9,"angle":137,"satellites":48,"speed":36,"hex_longitude":"2ccb2b00","hex_latitude":"074afd98","is_valid_coordinates":true} 
[2026-06-23 19:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249068288001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321525409306902528,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808637878548475904,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782222926000,"timestamp_ms":1782222926000,"timestamp_seconds":1782222926,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c3b0b0"} 
[2026-06-23 19:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:27:40] 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-06-23 19:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249068288001,"66":27397,"17":206,"2":54016,"24":36,"16":321525409306902528,"44":-3808637878548475904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-23 19:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249068288001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321525409306902528,"km_value":321525409306902.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808637878548475904,"description":"Unknown IO ID 44"} 
[2026-06-23 19:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249068288001,"power":27397,"axis_x":206,"power_alt":54016,"ignition":36,"odometer":null,"unknown_44":-3808637878548475904}} 
[2026-06-23 19:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":111128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:27:40] local.INFO: GPS data processed {"connection_id":111128,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:27:40] local.INFO: Acknowledgment sent {"connection_id":111128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:27:52] local.INFO: TCP Data received {"connection_id":111940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:27:52] local.INFO: Processing buffer {"connection_id":111940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:27:52] local.INFO: IMEI packet received {"connection_id":111940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":111940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:27:57] local.INFO: TCP Data received {"connection_id":111940,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:27:57] local.INFO: Processing buffer {"connection_id":111940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:27:57] local.INFO: IMEI packet received {"connection_id":111940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":111940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:27:58] local.INFO: TCP Data received {"connection_id":111940,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c2a710012d196580071feec80042006c29..."} 
[2026-06-23 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c2a710012d196580071feec80042006c29..."} 
[2026-06-23 19:27:58] local.INFO: Processing buffer {"connection_id":111940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c2a710012d196580071feec80042006c29..."} 
[2026-06-23 19:27:58] local.INFO: Packet analysis {"connection_id":111940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:27:58] local.INFO: Extracted packet for processing {"connection_id":111940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249046272001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:27: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-06-23 19:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222858000,"timestamp_ms":1782222858000,"timestamp_seconds":1782222858,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c2a710"} 
[2026-06-23 19:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-23 19:27:58] 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-06-23 19:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249046272001,"66":12363,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249046272001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:27:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249046272001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":111940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:27:58] local.INFO: GPS data processed {"connection_id":111940,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:27:58] local.INFO: Acknowledgment sent {"connection_id":111940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:28:24] local.INFO: TCP Data received {"connection_id":111310,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:28:24] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:28:24] local.INFO: IMEI packet received {"connection_id":111310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":111310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:28:29] local.INFO: TCP Data received {"connection_id":111940,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c2f918012d196580071feec80042006c2a..."} 
[2026-06-23 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c2f918012d196580071feec80042006c2a..."} 
[2026-06-23 19:28:29] local.INFO: Processing buffer {"connection_id":111940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c2f918012d196580071feec80042006c2a..."} 
[2026-06-23 19:28:29] local.INFO: Packet analysis {"connection_id":111940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:28:29] local.INFO: Extracted packet for processing {"connection_id":111940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c2"} 
[2026-06-23 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249051648001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782222879000,"timestamp_ms":1782222879000,"timestamp_seconds":1782222879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c2f918"} 
[2026-06-23 19:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-23 19:28:29] 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-06-23 19: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-06-23 19:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249051648001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249051648001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249051648001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":111940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:28:29] local.INFO: GPS data processed {"connection_id":111940,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:28:29] local.INFO: Acknowledgment sent {"connection_id":111940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:28:29] local.INFO: TCP Data received {"connection_id":111310,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:28:29] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:28:29] local.INFO: IMEI packet received {"connection_id":111310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":111310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:28:30] local.INFO: TCP Data received {"connection_id":111310,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c56e00012ccb9900074a0f88000d00a12c..."} 
[2026-06-23 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c56e00012ccb9900074a0f88000d00a12c..."} 
[2026-06-23 19:28:30] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c56e00012ccb9900074a0f88000d00a12c..."} 
[2026-06-23 19:28:30] local.INFO: Packet analysis {"connection_id":111310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c5"} 
[2026-06-23 19:28:30] local.INFO: Extracted packet for processing {"connection_id":111310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c5"} 
[2026-06-23 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":751540480,"raw_latitude":122294152,"longitude_deg":75.154048,"latitude_deg":12.2294152,"altitude":13,"angle":161,"satellites":44,"speed":29,"hex_longitude":"2ccb9900","hex_latitude":"074a0f88","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249097216001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321529253302632448,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776760837451350016,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782223040000,"timestamp_ms":1782223040000,"timestamp_seconds":1782223040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c56e00"} 
[2026-06-23 19:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:28:30] 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-06-23 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 19:28:30] 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-06-23 19: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-06-23 19:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249097216001,"66":27397,"14":206,"2":54016,"24":29,"16":321529253302632448,"44":-3776760837451350016},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-23 19:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249097216001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:28:30] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-23 19:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321529253302632448,"km_value":321529253302632.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776760837451350016,"description":"Unknown IO ID 44"} 
[2026-06-23 19:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249097216001,"power":27397,"unknown_14":206,"power_alt":54016,"ignition":29,"odometer":null,"unknown_44":-3776760837451350016}} 
[2026-06-23 19:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":111310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:28:30] local.INFO: GPS data processed {"connection_id":111310,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:28:30] local.INFO: Acknowledgment sent {"connection_id":111310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:28:52] local.INFO: TCP Data received {"connection_id":112868,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:28:52] local.INFO: Processing buffer {"connection_id":112868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:28:52] local.INFO: IMEI packet received {"connection_id":112868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":112868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:28:57] local.INFO: TCP Data received {"connection_id":112868,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:28:57] local.INFO: Processing buffer {"connection_id":112868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:28:57] local.INFO: IMEI packet received {"connection_id":112868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":112868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:28:58] local.INFO: TCP Data received {"connection_id":112868,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c34b20012d196580071feec80042006c2a..."} 
[2026-06-23 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c34b20012d196580071feec80042006c2a..."} 
[2026-06-23 19:28:58] local.INFO: Processing buffer {"connection_id":112868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c34b20012d196580071feec80042006c2a..."} 
[2026-06-23 19:28:58] local.INFO: Packet analysis {"connection_id":112868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:28:58] local.INFO: Extracted packet for processing {"connection_id":112868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249057024001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:28: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-06-23 19:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222900000,"timestamp_ms":1782222900000,"timestamp_seconds":1782222900,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c34b20"} 
[2026-06-23 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-06-23 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249057024001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249057024001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:28:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249057024001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":112868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:28:58] local.INFO: GPS data processed {"connection_id":112868,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:28:58] local.INFO: Acknowledgment sent {"connection_id":112868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:29:02] local.INFO: TCP Data received {"connection_id":111310,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c58188012ccb9ec0074a02d0000e00932d..."} 
[2026-06-23 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c58188012ccb9ec0074a02d0000e00932d..."} 
[2026-06-23 19:29:02] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c58188012ccb9ec0074a02d0000e00932d..."} 
[2026-06-23 19:29:02] local.INFO: Packet analysis {"connection_id":111310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c5"} 
[2026-06-23 19:29:02] local.INFO: Extracted packet for processing {"connection_id":111310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c5"} 
[2026-06-23 19:29:02] local.INFO: GPS Element Parsed {"raw_longitude":751541952,"raw_latitude":122290896,"longitude_deg":75.1541952,"latitude_deg":12.2290896,"altitude":14,"angle":147,"satellites":45,"speed":27,"hex_longitude":"2ccb9ec0","hex_latitude":"074a02d0","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249098240001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321529425101324288,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3775986781266147328,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782223045000,"timestamp_ms":1782223045000,"timestamp_seconds":1782223045,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c58188"} 
[2026-06-23 19:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:29:02] 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-06-23 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249098240001,"66":27376,"14":206,"2":54016,"24":27,"16":321529425101324288,"44":-3775986781266147328},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-23 19:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249098240001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:29:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-23 19:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321529425101324288,"km_value":321529425101324.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3775986781266147328,"description":"Unknown IO ID 44"} 
[2026-06-23 19:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249098240001,"power":27376,"unknown_14":206,"power_alt":54016,"ignition":27,"odometer":null,"unknown_44":-3775986781266147328}} 
[2026-06-23 19:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":111310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:29:02] local.INFO: GPS data processed {"connection_id":111310,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:29:02] local.INFO: Acknowledgment sent {"connection_id":111310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:29:23] local.INFO: TCP Data received {"connection_id":112869,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:23] local.INFO: Processing buffer {"connection_id":112869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:23] local.INFO: IMEI packet received {"connection_id":112869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":112869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:29:26] local.INFO: TCP Data received {"connection_id":112869,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:26] local.INFO: Processing buffer {"connection_id":112869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:26] local.INFO: IMEI packet received {"connection_id":112869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":112869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:29:28] local.INFO: TCP Data received {"connection_id":112869,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:28] local.INFO: Processing buffer {"connection_id":112869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:29:28] local.INFO: IMEI packet received {"connection_id":112869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":112869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:29:28] local.INFO: TCP Data received {"connection_id":112868,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c39d28012d196580071feec80042006c29..."} 
[2026-06-23 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c39d28012d196580071feec80042006c29..."} 
[2026-06-23 19:29:28] local.INFO: Processing buffer {"connection_id":112868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c39d28012d196580071feec80042006c29..."} 
[2026-06-23 19:29:28] local.INFO: Packet analysis {"connection_id":112868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:29:28] local.INFO: Extracted packet for processing {"connection_id":112868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249062400001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222921000,"timestamp_ms":1782222921000,"timestamp_seconds":1782222921,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c39d28"} 
[2026-06-23 19:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:29:28] 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-06-23 19:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:29:28] 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-06-23 19:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249062400001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249062400001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249062400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":112868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:29:29] local.INFO: GPS data processed {"connection_id":112868,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:29:29] local.INFO: Acknowledgment sent {"connection_id":112868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:29:29] local.INFO: TCP Data received {"connection_id":112869,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c66800012ccc360007497820000e009730..."} 
[2026-06-23 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c66800012ccc360007497820000e009730..."} 
[2026-06-23 19:29:29] local.INFO: Processing buffer {"connection_id":112869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c66800012ccc360007497820000e009730..."} 
[2026-06-23 19:29:29] local.INFO: Packet analysis {"connection_id":112869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c6"} 
[2026-06-23 19:29:29] local.INFO: Extracted packet for processing {"connection_id":112869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c6"} 
[2026-06-23 19:29:29] local.INFO: GPS Element Parsed {"raw_longitude":751580672,"raw_latitude":122255392,"longitude_deg":75.1580672,"latitude_deg":12.2255392,"altitude":14,"angle":151,"satellites":48,"speed":54,"hex_longitude":"2ccc3600","hex_latitude":"07497820","is_valid_coordinates":true} 
[2026-06-23 19:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249112832001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321532002081701888,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3736861759511201792,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782223104000,"timestamp_ms":1782223104000,"timestamp_seconds":1782223104,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c66800"} 
[2026-06-23 19:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:29:29] 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-06-23 19:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249112832001,"66":27517,"46":206,"2":54016,"24":54,"16":321532002081701888,"44":-3736861759511201792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,2,24,16,44]} 
[2026-06-23 19:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249112832001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-23 19:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321532002081701888,"km_value":321532002081701.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3736861759511201792,"description":"Unknown IO ID 44"} 
[2026-06-23 19:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249112832001,"power":27517,"unknown_46":206,"power_alt":54016,"ignition":54,"odometer":null,"unknown_44":-3736861759511201792}} 
[2026-06-23 19:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":112869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:29:29] local.INFO: GPS data processed {"connection_id":112869,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:29:29] local.INFO: Acknowledgment sent {"connection_id":112869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:29:50] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:50] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:50] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:29:52] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:52] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:52] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:29:57] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:57] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:29:57] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:29:58] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c3ef30012d196580071feec80042006c2a..."} 
[2026-06-23 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c3ef30012d196580071feec80042006c2a..."} 
[2026-06-23 19:29:58] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c3ef30012d196580071feec80042006c2a..."} 
[2026-06-23 19:29:58] local.INFO: Packet analysis {"connection_id":111311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:29:58] local.INFO: Extracted packet for processing {"connection_id":111311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c3"} 
[2026-06-23 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249067776001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222942000,"timestamp_ms":1782222942000,"timestamp_seconds":1782222942,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c3ef30"} 
[2026-06-23 19:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:29: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-06-23 19:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249067776001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249067776001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:29:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249067776001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":111311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:29:58] local.INFO: GPS data processed {"connection_id":111311,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:29:58] local.INFO: Acknowledgment sent {"connection_id":111311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:30:00] local.INFO: TCP Data received {"connection_id":112869,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c67f70012ccc430007495a70000e00a231..."} 
[2026-06-23 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c67f70012ccc430007495a70000e00a231..."} 
[2026-06-23 19:30:01] local.INFO: Processing buffer {"connection_id":112869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c67f70012ccc430007495a70000e00a231..."} 
[2026-06-23 19:30:01] local.INFO: Packet analysis {"connection_id":112869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c6"} 
[2026-06-23 19:30:01] local.INFO: Extracted packet for processing {"connection_id":112869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c6"} 
[2026-06-23 19:30:01] local.INFO: GPS Element Parsed {"raw_longitude":751584000,"raw_latitude":122247792,"longitude_deg":75.1584,"latitude_deg":12.2247792,"altitude":14,"angle":162,"satellites":49,"speed":55,"hex_longitude":"2ccc4300","hex_latitude":"07495a70","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249114624001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321532405808627712,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731795209932496896,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782223110000,"timestamp_ms":1782223110000,"timestamp_seconds":1782223110,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c67f70"} 
[2026-06-23 19:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:30:01] 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-06-23 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 19:30:01] 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-06-23 19: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-06-23 19:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249114624001,"66":27484,"46":206,"2":54016,"24":55,"16":321532405808627712,"44":-3731795209932496896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,2,24,16,44]} 
[2026-06-23 19:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249114624001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:30:01] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-23 19:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321532405808627712,"km_value":321532405808627.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731795209932496896,"description":"Unknown IO ID 44"} 
[2026-06-23 19:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249114624001,"power":27484,"unknown_46":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-3731795209932496896}} 
[2026-06-23 19:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":112869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:30:01] local.INFO: GPS data processed {"connection_id":112869,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:30:01] local.INFO: Acknowledgment sent {"connection_id":112869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:30:28] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c44138012d196580071feec80042006c2b..."} 
[2026-06-23 19:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c44138012d196580071feec80042006c2b..."} 
[2026-06-23 19:30:28] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c44138012d196580071feec80042006c2b..."} 
[2026-06-23 19:30:28] local.INFO: Packet analysis {"connection_id":111311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c4"} 
[2026-06-23 19:30:28] local.INFO: Extracted packet for processing {"connection_id":111311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c4"} 
[2026-06-23 19:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249073152001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782222963000,"timestamp_ms":1782222963000,"timestamp_seconds":1782222963,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c44138"} 
[2026-06-23 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-06-23 19:30:28] 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-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:30:28] 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-06-23 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-06-23 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-06-23 19:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249073152001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249073152001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249073152001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":111311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:30:28] local.INFO: GPS data processed {"connection_id":111311,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:30:28] local.INFO: Acknowledgment sent {"connection_id":111311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:30:36] local.INFO: TCP Data received {"connection_id":111130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:30:36] local.INFO: Processing buffer {"connection_id":111130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:30:36] local.INFO: IMEI packet received {"connection_id":111130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":111130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:30:52] local.INFO: TCP Data received {"connection_id":111941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:52] local.INFO: Processing buffer {"connection_id":111941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:52] local.INFO: IMEI packet received {"connection_id":111941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":111941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:30:53] local.INFO: TCP Data received {"connection_id":111941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:53] local.INFO: Processing buffer {"connection_id":111941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:53] local.INFO: IMEI packet received {"connection_id":111941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":111941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:30:57] local.INFO: TCP Data received {"connection_id":111941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:57] local.INFO: Processing buffer {"connection_id":111941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:30:57] local.INFO: IMEI packet received {"connection_id":111941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":111941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:30:58] local.INFO: TCP Data received {"connection_id":111941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c49340012d196580071feec80042006c29..."} 
[2026-06-23 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c49340012d196580071feec80042006c29..."} 
[2026-06-23 19:30:58] local.INFO: Processing buffer {"connection_id":111941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c49340012d196580071feec80042006c29..."} 
[2026-06-23 19:30:58] local.INFO: Packet analysis {"connection_id":111941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c4"} 
[2026-06-23 19:30:58] local.INFO: Extracted packet for processing {"connection_id":111941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c4"} 
[2026-06-23 19:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249078528001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:30: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-06-23 19:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782222984000,"timestamp_ms":1782222984000,"timestamp_seconds":1782222984,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c49340"} 
[2026-06-23 19:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249078528001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249078528001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:30:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249078528001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":111941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:30:58] local.INFO: GPS data processed {"connection_id":111941,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:30:58] local.INFO: Acknowledgment sent {"connection_id":111941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:31:11] local.INFO: TCP Data received {"connection_id":111131,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:31:11] local.INFO: Processing buffer {"connection_id":111131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:31:11] local.INFO: IMEI packet received {"connection_id":111131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":111131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:31:28] local.INFO: TCP Data received {"connection_id":111941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c4e548012d196580071feec80042006c27..."} 
[2026-06-23 19:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c4e548012d196580071feec80042006c27..."} 
[2026-06-23 19:31:28] local.INFO: Processing buffer {"connection_id":111941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c4e548012d196580071feec80042006c27..."} 
[2026-06-23 19:31:28] local.INFO: Packet analysis {"connection_id":111941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c4"} 
[2026-06-23 19:31:28] local.INFO: Extracted packet for processing {"connection_id":111941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c4"} 
[2026-06-23 19:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249083904001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223005000,"timestamp_ms":1782223005000,"timestamp_seconds":1782223005,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c4e548"} 
[2026-06-23 19:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:31:28] 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-06-23 19:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:31:28] 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-06-23 19:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249083904001,"66":12363,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249083904001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249083904001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":111941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:31:29] local.INFO: GPS data processed {"connection_id":111941,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:31:29] local.INFO: Acknowledgment sent {"connection_id":111941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:31:33] local.INFO: TCP Data received {"connection_id":112870,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:31:33] local.INFO: Processing buffer {"connection_id":112870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:31:33] local.INFO: IMEI packet received {"connection_id":112870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":112870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:31:40] local.INFO: TCP Data received {"connection_id":112870,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:31:40] local.INFO: Processing buffer {"connection_id":112870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:31:40] local.INFO: IMEI packet received {"connection_id":112870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":112870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:31:41] local.INFO: TCP Data received {"connection_id":112870,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c7c790012ccc43000747fd300006009f32..."} 
[2026-06-23 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c7c790012ccc43000747fd300006009f32..."} 
[2026-06-23 19:31:41] local.INFO: Processing buffer {"connection_id":112870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c7c790012ccc43000747fd300006009f32..."} 
[2026-06-23 19:31:41] local.INFO: Packet analysis {"connection_id":112870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c7"} 
[2026-06-23 19:31:41] local.INFO: Extracted packet for processing {"connection_id":112870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c7"} 
[2026-06-23 19:31:41] local.INFO: GPS Element Parsed {"raw_longitude":751584000,"raw_latitude":122158384,"longitude_deg":75.1584,"latitude_deg":12.2158384,"altitude":6,"angle":159,"satellites":50,"speed":26,"hex_longitude":"2ccc4300","hex_latitude":"0747fd30","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249134336001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321536851099779072,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731654472466700288,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782223194000,"timestamp_ms":1782223194000,"timestamp_seconds":1782223194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c7c790"} 
[2026-06-23 19:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:31:41] 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-06-23 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249134336001,"66":27321,"60":206,"2":54016,"24":26,"16":321536851099779072,"44":-3731654472466700288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,2,24,16,44]} 
[2026-06-23 19:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249134336001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:31:41] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-23 19:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321536851099779072,"km_value":321536851099779.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731654472466700288,"description":"Unknown IO ID 44"} 
[2026-06-23 19:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249134336001,"power":27321,"unknown_60":206,"power_alt":54016,"ignition":26,"odometer":null,"unknown_44":-3731654472466700288}} 
[2026-06-23 19:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":112870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:31:41] local.INFO: GPS data processed {"connection_id":112870,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:31:41] local.INFO: Acknowledgment sent {"connection_id":112870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:31:52] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:52] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:52] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:31:56] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:56] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:56] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:31:57] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:57] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:31:57] local.INFO: IMEI packet received {"connection_id":111132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":111132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:31:57] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c86ba0012d196580071feec80042006c28..."} 
[2026-06-23 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c86ba0012d196580071feec80042006c28..."} 
[2026-06-23 19:31:57] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c86ba0012d196580071feec80042006c28..."} 
[2026-06-23 19:31:57] local.INFO: Packet analysis {"connection_id":111132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c8"} 
[2026-06-23 19:31:57] local.INFO: Extracted packet for processing {"connection_id":111132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c8"} 
[2026-06-23 19:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249143040001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782223236000,"timestamp_ms":1782223236000,"timestamp_seconds":1782223236,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c86ba0"} 
[2026-06-23 19:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:31:57] 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-06-23 19:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 19:31:57] 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-06-23 19:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249143040001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249143040001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249143040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":111132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:31:57] local.INFO: GPS data processed {"connection_id":111132,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:31:57] local.INFO: Acknowledgment sent {"connection_id":111132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:32:02] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c8bda8012d196580071feec80042006c28..."} 
[2026-06-23 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c8bda8012d196580071feec80042006c28..."} 
[2026-06-23 19:32:02] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c8bda8012d196580071feec80042006c28..."} 
[2026-06-23 19:32:02] local.INFO: Packet analysis {"connection_id":111132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c8"} 
[2026-06-23 19:32:02] local.INFO: Extracted packet for processing {"connection_id":111132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c8"} 
[2026-06-23 19:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249148416001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782223257000,"timestamp_ms":1782223257000,"timestamp_seconds":1782223257,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c8bda8"} 
[2026-06-23 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-06-23 19:32:02] 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-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:32:02] 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-06-23 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-06-23 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-06-23 19:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249148416001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249148416001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:32:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:32:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249148416001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":111132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:32:02] local.INFO: GPS data processed {"connection_id":111132,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:32:02] local.INFO: Acknowledgment sent {"connection_id":111132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:32:26] local.INFO: TCP Data received {"connection_id":112872,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:26] local.INFO: Processing buffer {"connection_id":112872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:26] local.INFO: IMEI packet received {"connection_id":112872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":112872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:32:33] local.INFO: TCP Data received {"connection_id":111132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c90fb0012d196580071feec80042006c28..."} 
[2026-06-23 19:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c90fb0012d196580071feec80042006c28..."} 
[2026-06-23 19:32:33] local.INFO: Processing buffer {"connection_id":111132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c90fb0012d196580071feec80042006c28..."} 
[2026-06-23 19:32:33] local.INFO: Packet analysis {"connection_id":111132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c9"} 
[2026-06-23 19:32:33] local.INFO: Extracted packet for processing {"connection_id":111132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c9"} 
[2026-06-23 19:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249153792001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:32: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-06-23 19:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782223278000,"timestamp_ms":1782223278000,"timestamp_seconds":1782223278,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c90fb0"} 
[2026-06-23 19:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:32: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-06-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:32:33] 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-06-23 19: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-06-23 19:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249153792001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249153792001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249153792001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":111132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:32:34] local.INFO: GPS data processed {"connection_id":111132,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:32:34] local.INFO: Acknowledgment sent {"connection_id":111132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:32:34] local.INFO: TCP Data received {"connection_id":112872,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:34] local.INFO: Processing buffer {"connection_id":112872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:34] local.INFO: IMEI packet received {"connection_id":112872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":112872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:32:34] local.INFO: TCP Data received {"connection_id":112872,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:34] local.INFO: Processing buffer {"connection_id":112872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:34] local.INFO: IMEI packet received {"connection_id":112872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":112872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:32:38] local.INFO: TCP Data received {"connection_id":112872,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:38] local.INFO: Processing buffer {"connection_id":112872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:32:38] local.INFO: IMEI packet received {"connection_id":112872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":112872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:32:57] local.INFO: TCP Data received {"connection_id":111133,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:32:57] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:32:57] local.INFO: IMEI packet received {"connection_id":111133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":111133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:33:00] local.INFO: TCP Data received {"connection_id":111133,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:00] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:00] local.INFO: IMEI packet received {"connection_id":111133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":111133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:33:00] local.INFO: TCP Data received {"connection_id":111133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c961b8012d196580071feec80042006c28..."} 
[2026-06-23 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c961b8012d196580071feec80042006c28..."} 
[2026-06-23 19:33:00] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c961b8012d196580071feec80042006c28..."} 
[2026-06-23 19:33:00] local.INFO: Packet analysis {"connection_id":111133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c9"} 
[2026-06-23 19:33:00] local.INFO: Extracted packet for processing {"connection_id":111133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c9"} 
[2026-06-23 19:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249159168001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33: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-06-23 19:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782223299000,"timestamp_ms":1782223299000,"timestamp_seconds":1782223299,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c961b8"} 
[2026-06-23 19:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:33: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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-808728769720411803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3351744513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:33:00] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,45,128,238,66,40,10,107,25,1,240,81,227,244,31,4,113,205,117,101,200,43,239,48,2,13,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:33:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249159168001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249159168001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:33:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249159168001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":111133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:33:00] local.INFO: GPS data processed {"connection_id":111133,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:33:00] local.INFO: Acknowledgment sent {"connection_id":111133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:33:02] local.INFO: TCP Data received {"connection_id":111133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4c9b3c0012d196580071feec80042006c28..."} 
[2026-06-23 19:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4c9b3c0012d196580071feec80042006c28..."} 
[2026-06-23 19:33:02] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4c9b3c0012d196580071feec80042006c28..."} 
[2026-06-23 19:33:02] local.INFO: Packet analysis {"connection_id":111133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4c9"} 
[2026-06-23 19:33:02] local.INFO: Extracted packet for processing {"connection_id":111133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4c9"} 
[2026-06-23 19:33:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249164544001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782223320000,"timestamp_ms":1782223320000,"timestamp_seconds":1782223320,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4c9b3c0"} 
[2026-06-23 19:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:33:02] 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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-808638575407195803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3357120513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:33:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,15,45,128,238,66,40,10,107,1,240,53,227,244,31,4,113,205,199,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:33:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249164544001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249164544001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:33:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:33:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249164544001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":111133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:33:02] local.INFO: GPS data processed {"connection_id":111133,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:33:02] local.INFO: Acknowledgment sent {"connection_id":111133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:33:33] local.INFO: TCP Data received {"connection_id":111133,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ca05c8012d196580071feec80042006c28..."} 
[2026-06-23 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ca05c8012d196580071feec80042006c28..."} 
[2026-06-23 19:33:33] local.INFO: Processing buffer {"connection_id":111133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ca05c8012d196580071feec80042006c28..."} 
[2026-06-23 19:33:33] local.INFO: Packet analysis {"connection_id":111133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:33:33] local.INFO: Extracted packet for processing {"connection_id":111133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249169920001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33: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-06-23 19:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782223341000,"timestamp_ms":1782223341000,"timestamp_seconds":1782223341,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ca05c8"} 
[2026-06-23 19:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:33: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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-808548381093979803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3362496513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:33:33] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,97,45,128,238,66,40,10,15,1,240,53,227,244,31,4,113,205,25,101,200,39,239,47,2,13,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:33:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249169920001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249169920001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249169920001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":111133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:33:33] local.INFO: GPS data processed {"connection_id":111133,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:33:33] local.INFO: Acknowledgment sent {"connection_id":111133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:33:52] local.INFO: TCP Data received {"connection_id":111942,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:52] local.INFO: Processing buffer {"connection_id":111942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:52] local.INFO: IMEI packet received {"connection_id":111942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":111942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:33:57] local.INFO: TCP Data received {"connection_id":111942,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:57] local.INFO: Processing buffer {"connection_id":111942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:33:57] local.INFO: IMEI packet received {"connection_id":111942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":111942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:33:58] local.INFO: TCP Data received {"connection_id":111942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ca57d0012d196580071feec80042006c28..."} 
[2026-06-23 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ca57d0012d196580071feec80042006c28..."} 
[2026-06-23 19:33:58] local.INFO: Processing buffer {"connection_id":111942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ca57d0012d196580071feec80042006c28..."} 
[2026-06-23 19:33:58] local.INFO: Packet analysis {"connection_id":111942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:33:58] local.INFO: Extracted packet for processing {"connection_id":111942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249175296001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:33: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-06-23 19:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223362000,"timestamp_ms":1782223362000,"timestamp_seconds":1782223362,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ca57d0"} 
[2026-06-23 19:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19: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-06-23 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:33: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-06-23 19: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-06-23 19:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249175296001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249175296001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:33:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249175296001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":111942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:33:58] local.INFO: GPS data processed {"connection_id":111942,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:33:58] local.INFO: Acknowledgment sent {"connection_id":111942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:34:29] local.INFO: TCP Data received {"connection_id":111942,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4caa9d8012d196580071feec80042006c27..."} 
[2026-06-23 19:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4caa9d8012d196580071feec80042006c27..."} 
[2026-06-23 19:34:29] local.INFO: Processing buffer {"connection_id":111942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4caa9d8012d196580071feec80042006c27..."} 
[2026-06-23 19:34:29] local.INFO: Packet analysis {"connection_id":111942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:34:29] local.INFO: Extracted packet for processing {"connection_id":111942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249180672001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782223383000,"timestamp_ms":1782223383000,"timestamp_seconds":1782223383,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4caa9d8"} 
[2026-06-23 19:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19: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-06-23 19: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":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:34:29] 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-06-23 19: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-06-23 19:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249180672001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249180672001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:34:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249180672001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":111942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:34:29] local.INFO: GPS data processed {"connection_id":111942,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:34:29] local.INFO: Acknowledgment sent {"connection_id":111942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:34:52] local.INFO: TCP Data received {"connection_id":111315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:34:52] local.INFO: Processing buffer {"connection_id":111315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:34:52] local.INFO: IMEI packet received {"connection_id":111315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":111315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:34:57] local.INFO: TCP Data received {"connection_id":111315,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:34:57] local.INFO: Processing buffer {"connection_id":111315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:34:57] local.INFO: IMEI packet received {"connection_id":111315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":111315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:34:58] local.INFO: TCP Data received {"connection_id":111315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cafbe0012d196580071feec80042006c29..."} 
[2026-06-23 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cafbe0012d196580071feec80042006c29..."} 
[2026-06-23 19:34:58] local.INFO: Processing buffer {"connection_id":111315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cafbe0012d196580071feec80042006c29..."} 
[2026-06-23 19:34:58] local.INFO: Packet analysis {"connection_id":111315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:34:58] local.INFO: Extracted packet for processing {"connection_id":111315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ca"} 
[2026-06-23 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249186048001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223404000,"timestamp_ms":1782223404000,"timestamp_seconds":1782223404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cafbe0"} 
[2026-06-23 19:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-808277798154331803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3378624513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:34:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:34:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,87,45,128,238,66,40,10,5,179,1,240,227,244,31,4,113,205,15,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:34:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249186048001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249186048001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:34:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249186048001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":111315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:34:58] local.INFO: GPS data processed {"connection_id":111315,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:34:58] local.INFO: Acknowledgment sent {"connection_id":111315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:35:28] local.INFO: TCP Data received {"connection_id":111315,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cb4de8012d196580071feec80042006c29..."} 
[2026-06-23 19:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cb4de8012d196580071feec80042006c29..."} 
[2026-06-23 19:35:28] local.INFO: Processing buffer {"connection_id":111315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cb4de8012d196580071feec80042006c29..."} 
[2026-06-23 19:35:28] local.INFO: Packet analysis {"connection_id":111315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cb"} 
[2026-06-23 19:35:28] local.INFO: Extracted packet for processing {"connection_id":111315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cb"} 
[2026-06-23 19:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249191424001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223425000,"timestamp_ms":1782223425000,"timestamp_seconds":1782223425,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cb4de8"} 
[2026-06-23 19:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:35:28] 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-06-23 19: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-06-23 19:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249191424001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249191424001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249191424001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":111315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:35:29] local.INFO: GPS data processed {"connection_id":111315,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:35:29] local.INFO: Acknowledgment sent {"connection_id":111315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:35:52] local.INFO: TCP Data received {"connection_id":112875,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:35:52] local.INFO: Processing buffer {"connection_id":112875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:35:52] local.INFO: IMEI packet received {"connection_id":112875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":112875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:35:57] local.INFO: TCP Data received {"connection_id":112875,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:35:57] local.INFO: Processing buffer {"connection_id":112875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:35:57] local.INFO: IMEI packet received {"connection_id":112875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":112875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:35:58] local.INFO: TCP Data received {"connection_id":112875,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cb9ff0012d196580071feec80042006c29..."} 
[2026-06-23 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cb9ff0012d196580071feec80042006c29..."} 
[2026-06-23 19:35:58] local.INFO: Processing buffer {"connection_id":112875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cb9ff0012d196580071feec80042006c29..."} 
[2026-06-23 19:35:58] local.INFO: Packet analysis {"connection_id":112875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cb"} 
[2026-06-23 19:35:58] local.INFO: Extracted packet for processing {"connection_id":112875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cb"} 
[2026-06-23 19:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249196800001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:35: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-06-23 19:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223446000,"timestamp_ms":1782223446000,"timestamp_seconds":1782223446,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cb9ff0"} 
[2026-06-23 19:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249196800001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249196800001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:35:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249196800001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":112875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:35:58] local.INFO: GPS data processed {"connection_id":112875,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:35:58] local.INFO: Acknowledgment sent {"connection_id":112875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:36:29] local.INFO: TCP Data received {"connection_id":112875,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cbf1f8012d196580071feec80042006c29..."} 
[2026-06-23 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cbf1f8012d196580071feec80042006c29..."} 
[2026-06-23 19:36:29] local.INFO: Processing buffer {"connection_id":112875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cbf1f8012d196580071feec80042006c29..."} 
[2026-06-23 19:36:29] local.INFO: Packet analysis {"connection_id":112875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cb"} 
[2026-06-23 19:36:29] local.INFO: Extracted packet for processing {"connection_id":112875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cb"} 
[2026-06-23 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249202176001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782223467000,"timestamp_ms":1782223467000,"timestamp_seconds":1782223467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cbf1f8"} 
[2026-06-23 19:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:36:29] 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-06-23 19:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249202176001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249202176001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249202176001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":112875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:36:29] local.INFO: GPS data processed {"connection_id":112875,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:36:29] local.INFO: Acknowledgment sent {"connection_id":112875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:36:36] local.INFO: TCP Data received {"connection_id":111943,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:36:36] local.INFO: Processing buffer {"connection_id":111943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:36:36] local.INFO: IMEI packet received {"connection_id":111943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":111943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:36:50] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:50] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:50] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:36:52] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:52] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:52] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:36:57] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:57] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:36:57] local.INFO: IMEI packet received {"connection_id":111135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":111135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:36:58] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cc4400012d196580071feec80042006c2c..."} 
[2026-06-23 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cc4400012d196580071feec80042006c2c..."} 
[2026-06-23 19:36:58] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cc4400012d196580071feec80042006c2c..."} 
[2026-06-23 19:36:58] local.INFO: Packet analysis {"connection_id":111135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cc"} 
[2026-06-23 19:36:58] local.INFO: Extracted packet for processing {"connection_id":111135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cc"} 
[2026-06-23 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249207552001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36: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-06-23 19:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223488000,"timestamp_ms":1782223488000,"timestamp_seconds":1782223488,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cc4400"} 
[2026-06-23 19:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-807917020901467803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3400128513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:36:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:36:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,159,45,128,238,66,41,10,77,251,1,240,53,227,244,31,4,113,205,87,101,200,40,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:36:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249207552001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249207552001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:36:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249207552001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":111135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:36:58] local.INFO: GPS data processed {"connection_id":111135,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:36:58] local.INFO: Acknowledgment sent {"connection_id":111135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:37:06] local.INFO: TCP Data received {"connection_id":111944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:37:06] local.INFO: Processing buffer {"connection_id":111944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:37:06] local.INFO: IMEI packet received {"connection_id":111944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":111944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:37:28] local.INFO: TCP Data received {"connection_id":111135,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cc9608012d196580071feec80042006c29..."} 
[2026-06-23 19:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cc9608012d196580071feec80042006c29..."} 
[2026-06-23 19:37:28] local.INFO: Processing buffer {"connection_id":111135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cc9608012d196580071feec80042006c29..."} 
[2026-06-23 19:37:28] local.INFO: Packet analysis {"connection_id":111135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cc"} 
[2026-06-23 19:37:28] local.INFO: Extracted packet for processing {"connection_id":111135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cc"} 
[2026-06-23 19:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249212928001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223509000,"timestamp_ms":1782223509000,"timestamp_seconds":1782223509,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cc9608"} 
[2026-06-23 19:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249212928001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249212928001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249212928001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":111135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:37:28] local.INFO: GPS data processed {"connection_id":111135,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:37:28] local.INFO: Acknowledgment sent {"connection_id":111135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:37:49] local.INFO: TCP Data received {"connection_id":112876,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:37:49] local.INFO: Processing buffer {"connection_id":112876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:37:49] local.INFO: IMEI packet received {"connection_id":112876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":112876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:37:50] local.INFO: TCP Data received {"connection_id":112876,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cd7c80012ccd9880074444d80010007c2a..."} 
[2026-06-23 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cd7c80012ccd9880074444d80010007c2a..."} 
[2026-06-23 19:37:50] local.INFO: Processing buffer {"connection_id":112876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cd7c80012ccd9880074444d80010007c2a..."} 
[2026-06-23 19:37:50] local.INFO: Packet analysis {"connection_id":112876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:37:50] local.INFO: Extracted packet for processing {"connection_id":112876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":751671424,"raw_latitude":121914584,"longitude_deg":75.1671424,"latitude_deg":12.1914584,"altitude":16,"angle":124,"satellites":42,"speed":32,"hex_longitude":"2ccd9880","hex_latitude":"074444d8","is_valid_coordinates":true} 
[2026-06-23 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249232128001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321549624332517376,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3635530767984039936,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782223568000,"timestamp_ms":1782223568000,"timestamp_seconds":1782223568,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cd7c80"} 
[2026-06-23 19:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 19:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":112876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":112876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":112876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249232128001,"66":27397,"190":206,"2":54016,"24":32,"16":321549624332517376,"44":-3635530767984039936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,2,24,16,44]} 
[2026-06-23 19:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249232128001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:37:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-23 19:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321549624332517376,"km_value":321549624332517.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3635530767984039936,"description":"Unknown IO ID 44"} 
[2026-06-23 19:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249232128001,"power":27397,"unknown_190":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-3635530767984039936}} 
[2026-06-23 19:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":112876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:37:50] local.INFO: GPS data processed {"connection_id":112876,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:37:50] local.INFO: Acknowledgment sent {"connection_id":112876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:37:52] local.INFO: TCP Data received {"connection_id":111136,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:52] local.INFO: Processing buffer {"connection_id":111136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:52] local.INFO: IMEI packet received {"connection_id":111136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":111136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:37:53] local.INFO: TCP Data received {"connection_id":111136,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:53] local.INFO: Processing buffer {"connection_id":111136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:53] local.INFO: IMEI packet received {"connection_id":111136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":111136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:37:57] local.INFO: TCP Data received {"connection_id":111136,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:57] local.INFO: Processing buffer {"connection_id":111136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:37:57] local.INFO: IMEI packet received {"connection_id":111136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":111136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:37:58] local.INFO: TCP Data received {"connection_id":111136,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cce810012d196580071feec80042006c2b..."} 
[2026-06-23 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cce810012d196580071feec80042006c2b..."} 
[2026-06-23 19:37:58] local.INFO: Processing buffer {"connection_id":111136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cce810012d196580071feec80042006c2b..."} 
[2026-06-23 19:37:58] local.INFO: Packet analysis {"connection_id":111136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cc"} 
[2026-06-23 19:37:58] local.INFO: Extracted packet for processing {"connection_id":111136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cc"} 
[2026-06-23 19:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249218304001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37: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-06-23 19:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223530000,"timestamp_ms":1782223530000,"timestamp_seconds":1782223530,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cce810"} 
[2026-06-23 19:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-807736632275035803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3410880513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":251,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:37:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:37:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,68,45,128,238,66,44,10,41,159,1,240,31,227,244,4,113,205,251,101,200,239,48,2,13,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:37:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249218304001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249218304001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:37:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249218304001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":111136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:37:58] local.INFO: GPS data processed {"connection_id":111136,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:37:58] local.INFO: Acknowledgment sent {"connection_id":111136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:38:28] local.INFO: TCP Data received {"connection_id":111136,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cd3a18012d196580071feec80042006c29..."} 
[2026-06-23 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cd3a18012d196580071feec80042006c29..."} 
[2026-06-23 19:38:28] local.INFO: Processing buffer {"connection_id":111136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cd3a18012d196580071feec80042006c29..."} 
[2026-06-23 19:38:28] local.INFO: Packet analysis {"connection_id":111136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:28] local.INFO: Extracted packet for processing {"connection_id":111136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249223680001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223551000,"timestamp_ms":1782223551000,"timestamp_seconds":1782223551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cd3a18"} 
[2026-06-23 19:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:38: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-06-23 19:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:38:28] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249223680001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249223680001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:28] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:38:28] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249223680001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":111136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:38:29] local.INFO: GPS data processed {"connection_id":111136,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:38:29] local.INFO: Acknowledgment sent {"connection_id":111136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:38:29] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:29] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:29] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:38:33] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:33] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:38:33] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:38:34] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cd9008012ccda70007443d780011006f2d..."} 
[2026-06-23 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cd9008012ccda70007443d780011006f2d..."} 
[2026-06-23 19:38:34] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cd9008012ccda70007443d780011006f2d..."} 
[2026-06-23 19:38:34] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:34] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:34] local.INFO: GPS Element Parsed {"raw_longitude":751675136,"raw_latitude":121912696,"longitude_deg":75.1675136,"latitude_deg":12.1912696,"altitude":17,"angle":111,"satellites":45,"speed":32,"hex_longitude":"2ccda700","hex_latitude":"07443d78","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249233408001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321549817606045696,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3632012330775816192,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782223573000,"timestamp_ms":1782223573000,"timestamp_seconds":1782223573,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cd9008"} 
[2026-06-23 19:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:38: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-06-23 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249233408001,"66":27463,"190":206,"2":54016,"24":32,"16":321549817606045696,"44":-3632012330775816192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,2,24,16,44]} 
[2026-06-23 19:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249233408001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:38:34] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-23 19:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321549817606045696,"km_value":321549817606045.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3632012330775816192,"description":"Unknown IO ID 44"} 
[2026-06-23 19:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249233408001,"power":27463,"unknown_190":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-3632012330775816192}} 
[2026-06-23 19:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:38:34] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:38:34] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:38:36] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cda390012ccdb60007443928001200642a..."} 
[2026-06-23 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cda390012ccdb60007443928001200642a..."} 
[2026-06-23 19:38:36] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cda390012ccdb60007443928001200642a..."} 
[2026-06-23 19:38:36] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:36] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:36] local.INFO: GPS Element Parsed {"raw_longitude":751678976,"raw_latitude":121911592,"longitude_deg":75.1678976,"latitude_deg":12.1911592,"altitude":18,"angle":100,"satellites":42,"speed":32,"hex_longitude":"2ccdb600","hex_latitude":"07443928","is_valid_coordinates":true} 
[2026-06-23 19:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249234688001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321550010879574016,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3627930943613995008,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782223578000,"timestamp_ms":1782223578000,"timestamp_seconds":1782223578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cda390"} 
[2026-06-23 19:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:38: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-06-23 19:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:38:36] 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-06-23 19:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249234688001,"66":27463,"190":206,"2":54016,"24":32,"16":321550010879574016,"44":-3627930943613995008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,2,24,16,44]} 
[2026-06-23 19:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249234688001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:38:36] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-23 19:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321550010879574016,"km_value":321550010879574.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3627930943613995008,"description":"Unknown IO ID 44"} 
[2026-06-23 19:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249234688001,"power":27463,"unknown_190":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-3627930943613995008}} 
[2026-06-23 19:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:38:36] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:38:36] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:38:52] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:38:52] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:38:52] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:38:56] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:38:56] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:38:56] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:38:57] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cd8c20012d196580071feec80042006c28..."} 
[2026-06-23 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cd8c20012d196580071feec80042006c28..."} 
[2026-06-23 19:38:57] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cd8c20012d196580071feec80042006c28..."} 
[2026-06-23 19:38:57] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:57] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249229056001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782223572000,"timestamp_ms":1782223572000,"timestamp_seconds":1782223572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cd8c20"} 
[2026-06-23 19:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:38:57] 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-06-23 19: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 19:38:57] 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-06-23 19: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-06-23 19:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249229056001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249229056001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249229056001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:38:57] local.INFO: GPS data processed {"connection_id":111320,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:38:57] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:39:07] local.INFO: TCP Data received {"connection_id":111319,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cdde28012ccdd9c0074436f80014005e26..."} 
[2026-06-23 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cdde28012ccdd9c0074436f80014005e26..."} 
[2026-06-23 19:39:07] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cdde28012ccdd9c0074436f80014005e26..."} 
[2026-06-23 19:39:07] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:39:07] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":751688128,"raw_latitude":121911032,"longitude_deg":75.1688128,"latitude_deg":12.1911032,"altitude":20,"angle":94,"satellites":38,"speed":12,"hex_longitude":"2ccdd9c0","hex_latitude":"074436f8","is_valid_coordinates":true} 
[2026-06-23 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249235968001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321550444671270912,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3623708818963617792,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782223593000,"timestamp_ms":1782223593000,"timestamp_seconds":1782223593,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cdde28"} 
[2026-06-23 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:39:07] 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-06-23 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:39:07] 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-06-23 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249235968001,"66":26984,"190":206,"2":54016,"24":12,"16":321550444671270912,"44":-3623708818963617792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,2,24,16,44]} 
[2026-06-23 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249235968001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:39:07] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-06-23 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321550444671270912,"km_value":321550444671270.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3623708818963617792,"description":"Unknown IO ID 44"} 
[2026-06-23 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249235968001,"power":26984,"unknown_190":206,"power_alt":54016,"ignition":12,"odometer":null,"unknown_44":-3623708818963617792}} 
[2026-06-23 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:39:07] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:39:07] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:39:22] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:22] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:22] local.INFO: IMEI packet received {"connection_id":111137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":111137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:39:23] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:23] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:23] local.INFO: IMEI packet received {"connection_id":111137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":111137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:39:27] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cdde28012d196580071feec80042006c28..."} 
[2026-06-23 19:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cdde28012d196580071feec80042006c28..."} 
[2026-06-23 19:39:27] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cdde28012d196580071feec80042006c28..."} 
[2026-06-23 19:39:27] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:39:27] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cd"} 
[2026-06-23 19:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249234432001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782223593000,"timestamp_ms":1782223593000,"timestamp_seconds":1782223593,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cdde28"} 
[2026-06-23 19:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-807466049335387803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3427008513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:39:27] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:27] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,58,45,128,238,66,41,10,232,43,150,1,240,227,244,31,4,113,205,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:39:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249234432001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249234432001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:39:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249234432001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:39:28] local.INFO: GPS data processed {"connection_id":111320,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:39:28] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:39:28] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:28] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:39:28] local.INFO: IMEI packet received {"connection_id":111137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":111137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:39:30] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cf9f60012ccefd8007441448000e007131..."} 
[2026-06-23 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cf9f60012ccefd8007441448000e007131..."} 
[2026-06-23 19:39:30] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cf9f60012ccefd8007441448000e007131..."} 
[2026-06-23 19:39:30] local.INFO: Packet analysis {"connection_id":111137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:39:30] local.INFO: Extracted packet for processing {"connection_id":111137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":751762816,"raw_latitude":121902152,"longitude_deg":75.1762816,"latitude_deg":12.1902152,"altitude":14,"angle":113,"satellites":49,"speed":45,"hex_longitude":"2ccefd80","hex_latitude":"07441448","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249267968001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321554043853864960,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3537436738603800576,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782223708000,"timestamp_ms":1782223708000,"timestamp_seconds":1782223708,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cf9f60"} 
[2026-06-23 19:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:39:30] 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-06-23 19:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249267968001,"66":27376,"189":206,"2":54016,"24":45,"16":321554043853864960,"44":-3537436738603800576},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-06-23 19:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249267968001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:39:30] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 19:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321554043853864960,"km_value":321554043853864.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3537436738603800576,"description":"Unknown IO ID 44"} 
[2026-06-23 19:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249267968001,"power":27376,"unknown_189":206,"power_alt":54016,"ignition":45,"odometer":null,"unknown_44":-3537436738603800576}} 
[2026-06-23 19:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":111137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:39:30] local.INFO: GPS data processed {"connection_id":111137,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:39:30] local.INFO: Acknowledgment sent {"connection_id":111137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:39:52] local.INFO: TCP Data received {"connection_id":111946,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:39:52] local.INFO: Processing buffer {"connection_id":111946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:39:52] local.INFO: IMEI packet received {"connection_id":111946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":111946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:39:57] local.INFO: TCP Data received {"connection_id":111946,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:39:57] local.INFO: Processing buffer {"connection_id":111946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:39:57] local.INFO: IMEI packet received {"connection_id":111946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":111946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:39:58] local.INFO: TCP Data received {"connection_id":111946,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ce3030012d196580071feec80042006c28..."} 
[2026-06-23 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ce3030012d196580071feec80042006c28..."} 
[2026-06-23 19:39:58] local.INFO: Processing buffer {"connection_id":111946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ce3030012d196580071feec80042006c28..."} 
[2026-06-23 19:39:58] local.INFO: Packet analysis {"connection_id":111946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ce"} 
[2026-06-23 19:39:58] local.INFO: Extracted packet for processing {"connection_id":111946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ce"} 
[2026-06-23 19:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249239808001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223614000,"timestamp_ms":1782223614000,"timestamp_seconds":1782223614,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ce3030"} 
[2026-06-23 19:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:39: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-06-23 19:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249239808001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249239808001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:39:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249239808001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":111946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:39:58] local.INFO: GPS data processed {"connection_id":111946,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:39:58] local.INFO: Acknowledgment sent {"connection_id":111946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:40:01] local.INFO: TCP Data received {"connection_id":111137,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cfaf00012ccf0dc007440b98000e007c31..."} 
[2026-06-23 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cfaf00012ccf0dc007440b98000e007c31..."} 
[2026-06-23 19:40:01] local.INFO: Processing buffer {"connection_id":111137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cfaf00012ccf0dc007440b98000e007c31..."} 
[2026-06-23 19:40:01] local.INFO: Packet analysis {"connection_id":111137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:40:01] local.INFO: Extracted packet for processing {"connection_id":111137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:40:01] local.INFO: GPS Element Parsed {"raw_longitude":751766976,"raw_latitude":121899928,"longitude_deg":75.1766976,"latitude_deg":12.1899928,"altitude":14,"angle":124,"satellites":49,"speed":46,"hex_longitude":"2ccf0dc0","hex_latitude":"07440b98","is_valid_coordinates":true} 
[2026-06-23 19:40: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-06-23 19:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249269248001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321554267192164352,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3531525764093294592,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782223712000,"timestamp_ms":1782223712000,"timestamp_seconds":1782223712,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cfaf00"} 
[2026-06-23 19:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:40:01] 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-06-23 19:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:40: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-06-23 19:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249269248001,"66":27376,"189":206,"2":54016,"24":46,"16":321554267192164352,"44":-3531525764093294592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-06-23 19:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249269248001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:40:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 19:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321554267192164352,"km_value":321554267192164.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3531525764093294592,"description":"Unknown IO ID 44"} 
[2026-06-23 19:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249269248001,"power":27376,"unknown_189":206,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-3531525764093294592}} 
[2026-06-23 19:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":111137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:40:01] local.INFO: GPS data processed {"connection_id":111137,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:40:01] local.INFO: Acknowledgment sent {"connection_id":111137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:40:23] local.INFO: TCP Data received {"connection_id":111322,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:23] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:23] local.INFO: IMEI packet received {"connection_id":111322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":111322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:40:24] local.INFO: TCP Data received {"connection_id":111322,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:24] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:24] local.INFO: IMEI packet received {"connection_id":111322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":111322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:40:28] local.INFO: TCP Data received {"connection_id":111322,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:28] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:40:28] local.INFO: IMEI packet received {"connection_id":111322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":111322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:40:28] local.INFO: TCP Data received {"connection_id":111946,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ce8238012d196580071feec80042006c2a..."} 
[2026-06-23 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ce8238012d196580071feec80042006c2a..."} 
[2026-06-23 19:40:28] local.INFO: Processing buffer {"connection_id":111946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ce8238012d196580071feec80042006c2a..."} 
[2026-06-23 19:40:28] local.INFO: Packet analysis {"connection_id":111946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ce"} 
[2026-06-23 19:40:28] local.INFO: Extracted packet for processing {"connection_id":111946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ce"} 
[2026-06-23 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249245184001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223635000,"timestamp_ms":1782223635000,"timestamp_seconds":1782223635,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ce8238"} 
[2026-06-23 19:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-807285660708955803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3437760513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:40:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,222,45,128,238,66,40,10,140,58,1,240,233,227,244,31,4,113,205,150,101,200,41,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:40:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249245184001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249245184001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249245184001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":111946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:40:28] local.INFO: GPS data processed {"connection_id":111946,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:40:28] local.INFO: Acknowledgment sent {"connection_id":111946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:40:29] local.INFO: TCP Data received {"connection_id":111322,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cfbea0012ccf1c000743ff58000e008830..."} 
[2026-06-23 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cfbea0012ccf1c000743ff58000e008830..."} 
[2026-06-23 19:40:29] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cfbea0012ccf1c000743ff58000e008830..."} 
[2026-06-23 19:40:29] local.INFO: Packet analysis {"connection_id":111322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:40:29] local.INFO: Extracted packet for processing {"connection_id":111322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":751770624,"raw_latitude":121896792,"longitude_deg":75.1770624,"latitude_deg":12.1896792,"altitude":14,"angle":136,"satellites":48,"speed":48,"hex_longitude":"2ccf1c00","hex_latitude":"0743ff58","is_valid_coordinates":true} 
[2026-06-23 19:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249270272001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321554499120398336,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3526951795722315776,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782223716000,"timestamp_ms":1782223716000,"timestamp_seconds":1782223716,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cfbea0"} 
[2026-06-23 19:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:40:29] 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-06-23 19:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249270272001,"66":27245,"189":206,"2":54016,"24":48,"16":321554499120398336,"44":-3526951795722315776},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-06-23 19:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249270272001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:40:29] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 19:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321554499120398336,"km_value":321554499120398.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3526951795722315776,"description":"Unknown IO ID 44"} 
[2026-06-23 19:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249270272001,"power":27245,"unknown_189":206,"power_alt":54016,"ignition":48,"odometer":null,"unknown_44":-3526951795722315776}} 
[2026-06-23 19:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":111322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:40:29] local.INFO: GPS data processed {"connection_id":111322,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:40:29] local.INFO: Acknowledgment sent {"connection_id":111322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:40:52] local.INFO: TCP Data received {"connection_id":111138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:40:52] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:40:52] local.INFO: IMEI packet received {"connection_id":111138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":111138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:40:57] local.INFO: TCP Data received {"connection_id":111138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:40:57] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:40:57] local.INFO: IMEI packet received {"connection_id":111138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":111138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:40:58] local.INFO: TCP Data received {"connection_id":111138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ced440012d196580071feec80042006c2a..."} 
[2026-06-23 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ced440012d196580071feec80042006c2a..."} 
[2026-06-23 19:40:58] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ced440012d196580071feec80042006c2a..."} 
[2026-06-23 19:40:58] local.INFO: Packet analysis {"connection_id":111138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ce"} 
[2026-06-23 19:40:58] local.INFO: Extracted packet for processing {"connection_id":111138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ce"} 
[2026-06-23 19:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249250560001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:40: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-06-23 19:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223656000,"timestamp_ms":1782223656000,"timestamp_seconds":1782223656,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ced440"} 
[2026-06-23 19:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:40: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-06-23 19:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249250560001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249250560001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:40:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249250560001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":111138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:40:58] local.INFO: GPS data processed {"connection_id":111138,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:40:58] local.INFO: Acknowledgment sent {"connection_id":111138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:41:01] local.INFO: TCP Data received {"connection_id":111322,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cfdde0012ccf33c00743df68000f009230..."} 
[2026-06-23 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cfdde0012ccf33c00743df68000f009230..."} 
[2026-06-23 19:41:01] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cfdde0012ccf33c00743df68000f009230..."} 
[2026-06-23 19:41:01] local.INFO: Packet analysis {"connection_id":111322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:41:01] local.INFO: Extracted packet for processing {"connection_id":111322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:41:01] local.INFO: GPS Element Parsed {"raw_longitude":751776704,"raw_latitude":121888616,"longitude_deg":75.1776704,"latitude_deg":12.1888616,"altitude":15,"angle":146,"satellites":48,"speed":52,"hex_longitude":"2ccf33c0","hex_latitude":"0743df68","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249271296001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321554988746670080,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3522940777304991744,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782223724000,"timestamp_ms":1782223724000,"timestamp_seconds":1782223724,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cfdde0"} 
[2026-06-23 19:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:41:01] 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-06-23 19:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 19:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249271296001,"66":27332,"189":206,"2":54016,"24":52,"16":321554988746670080,"44":-3522940777304991744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-06-23 19:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249271296001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 19:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321554988746670080,"km_value":321554988746670.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:41:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3522940777304991744,"description":"Unknown IO ID 44"} 
[2026-06-23 19:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249271296001,"power":27332,"unknown_189":206,"power_alt":54016,"ignition":52,"odometer":null,"unknown_44":-3522940777304991744}} 
[2026-06-23 19:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":111322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:41:01] local.INFO: GPS data processed {"connection_id":111322,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:41:01] local.INFO: Acknowledgment sent {"connection_id":111322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:41:28] local.INFO: TCP Data received {"connection_id":112877,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:41:28] local.INFO: Processing buffer {"connection_id":112877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:41:28] local.INFO: IMEI packet received {"connection_id":112877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":112877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:41:29] local.INFO: TCP Data received {"connection_id":111138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cf2648012d196580071feec80042006c2a..."} 
[2026-06-23 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cf2648012d196580071feec80042006c2a..."} 
[2026-06-23 19:41:29] local.INFO: Processing buffer {"connection_id":111138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cf2648012d196580071feec80042006c2a..."} 
[2026-06-23 19:41:29] local.INFO: Packet analysis {"connection_id":111138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:41:29] local.INFO: Extracted packet for processing {"connection_id":111138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249255936001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782223677000,"timestamp_ms":1782223677000,"timestamp_seconds":1782223677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cf2648"} 
[2026-06-23 19:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-807105272082523803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3448512513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:29] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,130,45,128,238,66,42,10,48,40,222,1,240,255,227,244,31,4,113,205,58,101,200,41,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:41:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249255936001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249255936001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:41:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249255936001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":111138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:41:29] local.INFO: GPS data processed {"connection_id":111138,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:41:29] local.INFO: Acknowledgment sent {"connection_id":111138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:41:29] local.INFO: TCP Data received {"connection_id":112877,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:41:29] local.INFO: Processing buffer {"connection_id":112877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:41:29] local.INFO: IMEI packet received {"connection_id":112877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":112877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:41:31] local.INFO: TCP Data received {"connection_id":112877,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d16868012cd061800742dfb80012007d30..."} 
[2026-06-23 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d16868012cd061800742dfb80012007d30..."} 
[2026-06-23 19:41:31] local.INFO: Processing buffer {"connection_id":112877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d16868012cd061800742dfb80012007d30..."} 
[2026-06-23 19:41:31] local.INFO: Packet analysis {"connection_id":112877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:41:31] local.INFO: Extracted packet for processing {"connection_id":112877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:41:31] local.INFO: GPS Element Parsed {"raw_longitude":751853952,"raw_latitude":121823160,"longitude_deg":75.1853952,"latitude_deg":12.182316,"altitude":18,"angle":125,"satellites":48,"speed":61,"hex_longitude":"2cd06180","hex_latitude":"0742dfb8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249297664001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321559893599322112,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3439624184216227840,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782223825000,"timestamp_ms":1782223825000,"timestamp_seconds":1782223825,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d16868"} 
[2026-06-23 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-06-23 19:41:31] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:41:31] 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-06-23 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-06-23 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-06-23 19:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249297664001,"66":27376,"107":206,"2":54016,"24":61,"16":321559893599322112,"44":-3439624184216227840},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-06-23 19:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249297664001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:41:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 19:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321559893599322112,"km_value":321559893599322.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3439624184216227840,"description":"Unknown IO ID 44"} 
[2026-06-23 19:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249297664001,"power":27376,"unknown_107":206,"power_alt":54016,"ignition":61,"odometer":null,"unknown_44":-3439624184216227840}} 
[2026-06-23 19:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":112877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:41:32] local.INFO: GPS data processed {"connection_id":112877,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:41:32] local.INFO: Acknowledgment sent {"connection_id":112877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:41:36] local.INFO: TCP Data received {"connection_id":112877,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d17fd8012cd07f800742c9d80010007f30..."} 
[2026-06-23 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d17fd8012cd07f800742c9d80010007f30..."} 
[2026-06-23 19:41:36] local.INFO: Processing buffer {"connection_id":112877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d17fd8012cd07f800742c9d80010007f30..."} 
[2026-06-23 19:41:36] local.INFO: Packet analysis {"connection_id":112877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:41:36] local.INFO: Extracted packet for processing {"connection_id":112877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":751861632,"raw_latitude":121817560,"longitude_deg":75.1861632,"latitude_deg":12.181756,"altitude":16,"angle":127,"satellites":48,"speed":63,"hex_longitude":"2cd07f80","hex_latitude":"0742c9d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249299200001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321560348865855488,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3431320672404523008,"note":"Value kept but may cause issues"} 
[2026-06-23 19:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782223831000,"timestamp_ms":1782223831000,"timestamp_seconds":1782223831,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d17fd8"} 
[2026-06-23 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-06-23 19:41: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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249299200001,"66":27365,"107":206,"2":54016,"24":63,"16":321560348865855488,"44":-3431320672404523008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-06-23 19:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249299200001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:41:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 19:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321560348865855488,"km_value":321560348865855.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3431320672404523008,"description":"Unknown IO ID 44"} 
[2026-06-23 19:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249299200001,"power":27365,"unknown_107":206,"power_alt":54016,"ignition":63,"odometer":null,"unknown_44":-3431320672404523008}} 
[2026-06-23 19:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":112877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:41:36] local.INFO: GPS data processed {"connection_id":112877,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:41:36] local.INFO: Acknowledgment sent {"connection_id":112877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:41:57] local.INFO: TCP Data received {"connection_id":111947,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:41:57] local.INFO: Processing buffer {"connection_id":111947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:41:57] local.INFO: IMEI packet received {"connection_id":111947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":111947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:42:02] local.INFO: TCP Data received {"connection_id":111947,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:02] local.INFO: Processing buffer {"connection_id":111947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:02] local.INFO: IMEI packet received {"connection_id":111947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":111947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:42:03] local.INFO: TCP Data received {"connection_id":111947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cf7850012d196580071feec80042006c28..."} 
[2026-06-23 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cf7850012d196580071feec80042006c28..."} 
[2026-06-23 19:42:03] local.INFO: Processing buffer {"connection_id":111947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cf7850012d196580071feec80042006c28..."} 
[2026-06-23 19:42:03] local.INFO: Packet analysis {"connection_id":111947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:42:03] local.INFO: Extracted packet for processing {"connection_id":111947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249261312001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782223698000,"timestamp_ms":1782223698000,"timestamp_seconds":1782223698,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cf7850"} 
[2026-06-23 19:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:42:03] 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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-807015077769307803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3453888513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:42:03] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,212,45,128,238,66,42,10,130,48,1,240,227,244,31,4,113,205,140,101,200,40,239,2,13,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:42:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249261312001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249261312001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249261312001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":111947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:03] local.INFO: GPS data processed {"connection_id":111947,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:03] local.INFO: Acknowledgment sent {"connection_id":111947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:42:05] local.INFO: TCP Data received {"connection_id":111947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4cfca58012d196580071feec80042006c29..."} 
[2026-06-23 19:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4cfca58012d196580071feec80042006c29..."} 
[2026-06-23 19:42:05] local.INFO: Processing buffer {"connection_id":111947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4cfca58012d196580071feec80042006c29..."} 
[2026-06-23 19:42:05] local.INFO: Packet analysis {"connection_id":111947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:42:05] local.INFO: Extracted packet for processing {"connection_id":111947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4cf"} 
[2026-06-23 19:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249266688001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42: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-06-23 19:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782223719000,"timestamp_ms":1782223719000,"timestamp_seconds":1782223719,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4cfca58"} 
[2026-06-23 19:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:42: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-06-23 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:42: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-06-23 19: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-06-23 19:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249266688001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249266688001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249266688001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":111947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:06] local.INFO: GPS data processed {"connection_id":111947,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:06] local.INFO: Acknowledgment sent {"connection_id":111947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:42:08] local.INFO: TCP Data received {"connection_id":112877,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d19748012cd09d000742b3c00010008030..."} 
[2026-06-23 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d19748012cd09d000742b3c00010008030..."} 
[2026-06-23 19:42:08] local.INFO: Processing buffer {"connection_id":112877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d19748012cd09d000742b3c00010008030..."} 
[2026-06-23 19:42:08] local.INFO: Packet analysis {"connection_id":112877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:42:08] local.INFO: Extracted packet for processing {"connection_id":112877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":751869184,"raw_latitude":121811904,"longitude_deg":75.1869184,"latitude_deg":12.1811904,"altitude":16,"angle":128,"satellites":48,"speed":60,"hex_longitude":"2cd09d00","hex_latitude":"0742b3c0","is_valid_coordinates":true} 
[2026-06-23 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249300736001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321560799837421568,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3422876423104636928,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782223837000,"timestamp_ms":1782223837000,"timestamp_seconds":1782223837,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d19748"} 
[2026-06-23 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:42: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-06-23 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249300736001,"66":26854,"107":206,"2":54016,"24":60,"16":321560799837421568,"44":-3422876423104636928},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-06-23 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249300736001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321560799837421568,"km_value":321560799837421.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3422876423104636928,"description":"Unknown IO ID 44"} 
[2026-06-23 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249300736001,"power":26854,"unknown_107":206,"power_alt":54016,"ignition":60,"odometer":null,"unknown_44":-3422876423104636928}} 
[2026-06-23 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":112877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:08] local.INFO: GPS data processed {"connection_id":112877,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:08] local.INFO: Acknowledgment sent {"connection_id":112877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:42:23] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:42:23] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:42:23] local.INFO: IMEI packet received {"connection_id":111141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":111141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:42:24] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:42:24] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:42:24] local.INFO: IMEI packet received {"connection_id":111141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":111141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:42:26] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d1b2a0012cd0bcc007429b90001100802f..."} 
[2026-06-23 19:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d1b2a0012cd0bcc007429b90001100802f..."} 
[2026-06-23 19:42:26] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d1b2a0012cd0bcc007429b90001100802f..."} 
[2026-06-23 19:42:26] local.INFO: Packet analysis {"connection_id":111141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:42:26] local.INFO: Extracted packet for processing {"connection_id":111141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:42:26] local.INFO: GPS Element Parsed {"raw_longitude":751877312,"raw_latitude":121805712,"longitude_deg":75.1877312,"latitude_deg":12.1805712,"altitude":17,"angle":128,"satellites":47,"speed":55,"hex_longitude":"2cd0bcc0","hex_latitude":"07429b90","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249302272001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321561285168726016,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3414572911293120512,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782223844000,"timestamp_ms":1782223844000,"timestamp_seconds":1782223844,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d1b2a0"} 
[2026-06-23 19:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:42:26] 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-06-23 19: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-23 19:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249302272001,"66":27376,"107":206,"2":54016,"24":55,"16":321561285168726016,"44":-3414572911293120512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-06-23 19:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249302272001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-23 19:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321561285168726016,"km_value":321561285168726.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3414572911293120512,"description":"Unknown IO ID 44"} 
[2026-06-23 19:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249302272001,"power":27376,"unknown_107":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-3414572911293120512}} 
[2026-06-23 19:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":111141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:26] local.INFO: GPS data processed {"connection_id":111141,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:26] local.INFO: Acknowledgment sent {"connection_id":111141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:42:31] local.INFO: TCP Data received {"connection_id":111140,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:42:31] local.INFO: Processing buffer {"connection_id":111140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:42:31] local.INFO: IMEI packet received {"connection_id":111140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":111140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:42:36] local.INFO: TCP Data received {"connection_id":111947,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d01c60012d196580071feec80042006c28..."} 
[2026-06-23 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d01c60012d196580071feec80042006c28..."} 
[2026-06-23 19:42:36] local.INFO: Processing buffer {"connection_id":111947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d01c60012d196580071feec80042006c28..."} 
[2026-06-23 19:42:36] local.INFO: Packet analysis {"connection_id":111947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d0"} 
[2026-06-23 19:42:36] local.INFO: Extracted packet for processing {"connection_id":111947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d0"} 
[2026-06-23 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249272064001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42: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-06-23 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782223740000,"timestamp_ms":1782223740000,"timestamp_seconds":1782223740,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d01c60"} 
[2026-06-23 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-06-23 19:42: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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-806834689142875803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3464640513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:42:36] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:36] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,120,45,128,238,66,40,10,38,42,212,1,240,227,244,31,4,113,205,48,101,200,239,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249272064001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249272064001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249272064001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":111947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:37] local.INFO: GPS data processed {"connection_id":111947,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:37] local.INFO: Acknowledgment sent {"connection_id":111947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:42:52] local.INFO: TCP Data received {"connection_id":112878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:52] local.INFO: Processing buffer {"connection_id":112878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:52] local.INFO: IMEI packet received {"connection_id":112878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":112878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:42:57] local.INFO: TCP Data received {"connection_id":112878,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:57] local.INFO: Processing buffer {"connection_id":112878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:42:57] local.INFO: IMEI packet received {"connection_id":112878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":112878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:42:58] local.INFO: TCP Data received {"connection_id":112878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d06e68012d196580071feec80042006c29..."} 
[2026-06-23 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d06e68012d196580071feec80042006c29..."} 
[2026-06-23 19:42:58] local.INFO: Processing buffer {"connection_id":112878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d06e68012d196580071feec80042006c29..."} 
[2026-06-23 19:42:58] local.INFO: Packet analysis {"connection_id":112878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d0"} 
[2026-06-23 19:42:58] local.INFO: Extracted packet for processing {"connection_id":112878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d0"} 
[2026-06-23 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249277440001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42: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-06-23 19:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223761000,"timestamp_ms":1782223761000,"timestamp_seconds":1782223761,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d06e68"} 
[2026-06-23 19:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-806744494829659803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":22529,"corrected_to":0} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3470016513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,202,45,128,238,66,41,10,120,40,38,1,240,227,244,31,4,113,205,130,101,200,42,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":202,"original":22529,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:42:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249277440001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249277440001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249277440001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":112878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:58] local.INFO: GPS data processed {"connection_id":112878,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:58] local.INFO: Acknowledgment sent {"connection_id":112878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:42:59] local.INFO: TCP Data received {"connection_id":111141,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d2db80012cd1d9c007417c500016007832..."} 
[2026-06-23 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d2db80012cd1d9c007417c500016007832..."} 
[2026-06-23 19:42:59] local.INFO: Processing buffer {"connection_id":111141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d2db80012cd1d9c007417c500016007832..."} 
[2026-06-23 19:42:59] local.INFO: Packet analysis {"connection_id":111141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:42:59] local.INFO: Extracted packet for processing {"connection_id":111141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:42:59] local.INFO: GPS Element Parsed {"raw_longitude":751950272,"raw_latitude":121732176,"longitude_deg":75.1950272,"latitude_deg":12.1732176,"altitude":22,"angle":120,"satellites":50,"speed":50,"hex_longitude":"2cd1d9c0","hex_latitude":"07417c50","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249323520001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321566288805625856,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3325415712440430592,"note":"Value kept but may cause issues"} 
[2026-06-23 19:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782223920000,"timestamp_ms":1782223920000,"timestamp_seconds":1782223920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d2db80"} 
[2026-06-23 19:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 19:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249323520001,"66":27245,"237":206,"2":54016,"24":50,"16":321566288805625856,"44":-3325415712440430592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249323520001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:42:59] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321566288805625856,"km_value":321566288805625.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3325415712440430592,"description":"Unknown IO ID 44"} 
[2026-06-23 19:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249323520001,"power":27245,"unknown_237":206,"power_alt":54016,"ignition":50,"odometer":null,"unknown_44":-3325415712440430592}} 
[2026-06-23 19:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":111141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:42:59] local.INFO: GPS data processed {"connection_id":111141,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:42:59] local.INFO: Acknowledgment sent {"connection_id":111141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:43:06] local.INFO: TCP Data received {"connection_id":112879,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:43:06] local.INFO: Processing buffer {"connection_id":112879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:43:06] local.INFO: IMEI packet received {"connection_id":112879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":112879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:43:23] local.INFO: TCP Data received {"connection_id":111142,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:23] local.INFO: Processing buffer {"connection_id":111142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:23] local.INFO: IMEI packet received {"connection_id":111142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":111142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:43:24] local.INFO: TCP Data received {"connection_id":111142,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:24] local.INFO: Processing buffer {"connection_id":111142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:24] local.INFO: IMEI packet received {"connection_id":111142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":111142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:43:28] local.INFO: TCP Data received {"connection_id":111142,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:28] local.INFO: Processing buffer {"connection_id":111142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:43:28] local.INFO: IMEI packet received {"connection_id":111142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":111142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:43:28] local.INFO: TCP Data received {"connection_id":112878,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d0c070012d196580071feec80042006c29..."} 
[2026-06-23 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d0c070012d196580071feec80042006c29..."} 
[2026-06-23 19:43:28] local.INFO: Processing buffer {"connection_id":112878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d0c070012d196580071feec80042006c29..."} 
[2026-06-23 19:43:28] local.INFO: Packet analysis {"connection_id":112878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d0"} 
[2026-06-23 19:43:28] local.INFO: Extracted packet for processing {"connection_id":112878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d0"} 
[2026-06-23 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:43: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-06-23 19:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249282816001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223782000,"timestamp_ms":1782223782000,"timestamp_seconds":1782223782,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d0c070"} 
[2026-06-23 19:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:43: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-06-23 19:43: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 19:43:28] 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-06-23 19:43: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-06-23 19:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249282816001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249282816001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249282816001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":112878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:43:28] local.INFO: GPS data processed {"connection_id":112878,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:43:28] local.INFO: Acknowledgment sent {"connection_id":112878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:43:30] local.INFO: TCP Data received {"connection_id":111142,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d2fac0012cd1fdc007416a200015007433..."} 
[2026-06-23 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d2fac0012cd1fdc007416a200015007433..."} 
[2026-06-23 19:43:30] local.INFO: Processing buffer {"connection_id":111142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d2fac0012cd1fdc007416a200015007433..."} 
[2026-06-23 19:43:30] local.INFO: Packet analysis {"connection_id":111142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:43:30] local.INFO: Extracted packet for processing {"connection_id":111142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":751959488,"raw_latitude":121727520,"longitude_deg":75.1959488,"latitude_deg":12.172752,"altitude":21,"angle":116,"satellites":51,"speed":49,"hex_longitude":"2cd1fdc0","hex_latitude":"07416a20","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249323520001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321566778431897600,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3325415712440430592,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782223928000,"timestamp_ms":1782223928000,"timestamp_seconds":1782223928,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d2fac0"} 
[2026-06-23 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-06-23 19:43:30] 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-06-23 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 19:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249323520001,"66":27463,"237":206,"2":54016,"24":49,"16":321566778431897600,"44":-3325415712440430592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249323520001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:43:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321566778431897600,"km_value":321566778431897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3325415712440430592,"description":"Unknown IO ID 44"} 
[2026-06-23 19:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249323520001,"power":27463,"unknown_237":206,"power_alt":54016,"ignition":49,"odometer":null,"unknown_44":-3325415712440430592}} 
[2026-06-23 19:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":111142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:43:30] local.INFO: GPS data processed {"connection_id":111142,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:43:30] local.INFO: Acknowledgment sent {"connection_id":111142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:43:50] local.INFO: TCP Data received {"connection_id":111323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:50] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:50] local.INFO: IMEI packet received {"connection_id":111323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":111323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:43:52] local.INFO: TCP Data received {"connection_id":111323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:52] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:52] local.INFO: IMEI packet received {"connection_id":111323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":111323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:43:57] local.INFO: TCP Data received {"connection_id":111323,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:57] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:43:57] local.INFO: IMEI packet received {"connection_id":111323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":111323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:43:58] local.INFO: TCP Data received {"connection_id":111323,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d11278012d196580071feec80042006c29..."} 
[2026-06-23 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d11278012d196580071feec80042006c29..."} 
[2026-06-23 19:43:58] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d11278012d196580071feec80042006c29..."} 
[2026-06-23 19:43:58] local.INFO: Packet analysis {"connection_id":111323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:43:58] local.INFO: Extracted packet for processing {"connection_id":111323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249288192001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:43: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-06-23 19:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223803000,"timestamp_ms":1782223803000,"timestamp_seconds":1782223803,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d11278"} 
[2026-06-23 19:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249288192001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249288192001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:43:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249288192001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":111323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:43:58] local.INFO: GPS data processed {"connection_id":111323,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:43:58] local.INFO: Acknowledgment sent {"connection_id":111323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:44:01] local.INFO: TCP Data received {"connection_id":111142,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d31a00012cd22040074159200013007433..."} 
[2026-06-23 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d31a00012cd22040074159200013007433..."} 
[2026-06-23 19:44:01] local.INFO: Processing buffer {"connection_id":111142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d31a00012cd22040074159200013007433..."} 
[2026-06-23 19:44:01] local.INFO: Packet analysis {"connection_id":111142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d3"} 
[2026-06-23 19:44:01] local.INFO: Extracted packet for processing {"connection_id":111142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d3"} 
[2026-06-23 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":751968320,"raw_latitude":121723168,"longitude_deg":75.196832,"latitude_deg":12.1723168,"altitude":19,"angle":116,"satellites":51,"speed":47,"hex_longitude":"2cd22040","hex_latitude":"07415920","is_valid_coordinates":true} 
[2026-06-23 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249325568001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321567246583332864,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3315282613280038912,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782223936000,"timestamp_ms":1782223936000,"timestamp_seconds":1782223936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d31a00"} 
[2026-06-23 19:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:44:01] 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-06-23 19:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249325568001,"66":27517,"237":206,"2":54016,"24":47,"16":321567246583332864,"44":-3315282613280038912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249325568001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:44:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321567246583332864,"km_value":321567246583332.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3315282613280038912,"description":"Unknown IO ID 44"} 
[2026-06-23 19:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249325568001,"power":27517,"unknown_237":206,"power_alt":54016,"ignition":47,"odometer":null,"unknown_44":-3315282613280038912}} 
[2026-06-23 19:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":111142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:44:01] local.INFO: GPS data processed {"connection_id":111142,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:44:01] local.INFO: Acknowledgment sent {"connection_id":111142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:44:21] local.INFO: TCP Data received {"connection_id":111948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:21] local.INFO: Processing buffer {"connection_id":111948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:21] local.INFO: IMEI packet received {"connection_id":111948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":111948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:44:23] local.INFO: TCP Data received {"connection_id":111948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:23] local.INFO: Processing buffer {"connection_id":111948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:23] local.INFO: IMEI packet received {"connection_id":111948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":111948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:44:28] local.INFO: TCP Data received {"connection_id":111948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:28] local.INFO: Processing buffer {"connection_id":111948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:44:28] local.INFO: IMEI packet received {"connection_id":111948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":111948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:44:28] local.INFO: TCP Data received {"connection_id":111323,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d16480012d196580071feec80042006c28..."} 
[2026-06-23 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d16480012d196580071feec80042006c28..."} 
[2026-06-23 19:44:28] local.INFO: Processing buffer {"connection_id":111323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d16480012d196580071feec80042006c28..."} 
[2026-06-23 19:44:28] local.INFO: Packet analysis {"connection_id":111323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:44:28] local.INFO: Extracted packet for processing {"connection_id":111323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249293568001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223824000,"timestamp_ms":1782223824000,"timestamp_seconds":1782223824,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d16480"} 
[2026-06-23 19:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:44: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-06-23 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249293568001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249293568001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249293568001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":111323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:44:29] local.INFO: GPS data processed {"connection_id":111323,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:44:29] local.INFO: Acknowledgment sent {"connection_id":111323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:44:34] local.INFO: TCP Data received {"connection_id":111948,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d33940012cd24200074148180012007533..."} 
[2026-06-23 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d33940012cd24200074148180012007533..."} 
[2026-06-23 19:44:34] local.INFO: Processing buffer {"connection_id":111948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d33940012cd24200074148180012007533..."} 
[2026-06-23 19:44:34] local.INFO: Packet analysis {"connection_id":111948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d3"} 
[2026-06-23 19:44:34] local.INFO: Extracted packet for processing {"connection_id":111948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d3"} 
[2026-06-23 19:44:34] local.INFO: GPS Element Parsed {"raw_longitude":751976960,"raw_latitude":121718808,"longitude_deg":75.197696,"latitude_deg":12.1718808,"altitude":18,"angle":117,"satellites":51,"speed":46,"hex_longitude":"2cd24200","hex_latitude":"07414818","is_valid_coordinates":true} 
[2026-06-23 19:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249327616001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321567706144833536,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3305571726584635392,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782223944000,"timestamp_ms":1782223944000,"timestamp_seconds":1782223944,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d33940"} 
[2026-06-23 19:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:44: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-06-23 19:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 19:44:34] 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-06-23 19:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249327616001,"66":27484,"237":206,"2":54016,"24":46,"16":321567706144833536,"44":-3305571726584635392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249327616001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:44:34] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321567706144833536,"km_value":321567706144833.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3305571726584635392,"description":"Unknown IO ID 44"} 
[2026-06-23 19:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249327616001,"power":27484,"unknown_237":206,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-3305571726584635392}} 
[2026-06-23 19:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":111948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:44:34] local.INFO: GPS data processed {"connection_id":111948,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:44:34] local.INFO: Acknowledgment sent {"connection_id":111948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:44:52] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:52] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:52] local.INFO: IMEI packet received {"connection_id":111324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":111324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:44:53] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:53] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:53] local.INFO: IMEI packet received {"connection_id":111324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":111324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:44:57] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:57] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:44:57] local.INFO: IMEI packet received {"connection_id":111324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":111324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:44:58] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d1b688012d196580071feec80042006c2a..."} 
[2026-06-23 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d1b688012d196580071feec80042006c2a..."} 
[2026-06-23 19:44:58] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d1b688012d196580071feec80042006c2a..."} 
[2026-06-23 19:44:58] local.INFO: Packet analysis {"connection_id":111324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:44:58] local.INFO: Extracted packet for processing {"connection_id":111324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d1"} 
[2026-06-23 19:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249298944001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223845000,"timestamp_ms":1782223845000,"timestamp_seconds":1782223845,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d1b688"} 
[2026-06-23 19:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249298944001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249298944001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:44:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249298944001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":111324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:44:58] local.INFO: GPS data processed {"connection_id":111324,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:44:58] local.INFO: Acknowledgment sent {"connection_id":111324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:45:06] local.INFO: TCP Data received {"connection_id":111948,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d4c7b0012cd35b0007400b60000c008d33..."} 
[2026-06-23 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d4c7b0012cd35b0007400b60000c008d33..."} 
[2026-06-23 19:45:06] local.INFO: Processing buffer {"connection_id":111948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d4c7b0012cd35b0007400b60000c008d33..."} 
[2026-06-23 19:45:06] local.INFO: Packet analysis {"connection_id":111948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d4"} 
[2026-06-23 19:45:06] local.INFO: Extracted packet for processing {"connection_id":111948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d4"} 
[2026-06-23 19:45:06] local.INFO: GPS Element Parsed {"raw_longitude":752048896,"raw_latitude":121637728,"longitude_deg":75.2048896,"latitude_deg":12.1637728,"altitude":12,"angle":141,"satellites":51,"speed":35,"hex_longitude":"2cd35b00","hex_latitude":"07400b60","is_valid_coordinates":true} 
[2026-06-23 19:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249352960001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321572950299901952,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3223732877126031360,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782224046000,"timestamp_ms":1782224046000,"timestamp_seconds":1782224046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d4c7b0"} 
[2026-06-23 19:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19: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-06-23 19:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249352960001,"66":27332,"237":206,"2":54016,"24":35,"16":321572950299901952,"44":-3223732877126031360},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249352960001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:45:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321572950299901952,"km_value":321572950299901.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3223732877126031360,"description":"Unknown IO ID 44"} 
[2026-06-23 19:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249352960001,"power":27332,"unknown_237":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-3223732877126031360}} 
[2026-06-23 19:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":111948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:45:06] local.INFO: GPS data processed {"connection_id":111948,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:45:06] local.INFO: Acknowledgment sent {"connection_id":111948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:45:23] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:23] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:23] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:45:25] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:25] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:25] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:45:28] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:28] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:45:28] local.INFO: IMEI packet received {"connection_id":111143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":111143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:45:28] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d20890012d196580071feec80042006c2a..."} 
[2026-06-23 19:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d20890012d196580071feec80042006c2a..."} 
[2026-06-23 19:45:28] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d20890012d196580071feec80042006c2a..."} 
[2026-06-23 19:45:28] local.INFO: Packet analysis {"connection_id":111324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:45:28] local.INFO: Extracted packet for processing {"connection_id":111324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249304320001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782223866000,"timestamp_ms":1782223866000,"timestamp_seconds":1782223866,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d20890"} 
[2026-06-23 19:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:45: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-06-23 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:45:28] 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-06-23 19: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-06-23 19:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249304320001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249304320001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249304320001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":111324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:45:29] local.INFO: GPS data processed {"connection_id":111324,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:45:29] local.INFO: Acknowledgment sent {"connection_id":111324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:45:29] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d4eec0012cd372c0073fee78000b008c33..."} 
[2026-06-23 19:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d4eec0012cd372c0073fee78000b008c33..."} 
[2026-06-23 19:45:29] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d4eec0012cd372c0073fee78000b008c33..."} 
[2026-06-23 19:45:29] local.INFO: Packet analysis {"connection_id":111143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d4"} 
[2026-06-23 19:45:29] local.INFO: Extracted packet for processing {"connection_id":111143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d4"} 
[2026-06-23 19:45:29] local.INFO: GPS Element Parsed {"raw_longitude":752054976,"raw_latitude":121630328,"longitude_deg":75.2054976,"latitude_deg":12.1630328,"altitude":11,"angle":140,"satellites":51,"speed":39,"hex_longitude":"2cd372c0","hex_latitude":"073fee78","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249355776001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321573409861402624,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3216977477686829056,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224056000,"timestamp_ms":1782224056000,"timestamp_seconds":1782224056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d4eec0"} 
[2026-06-23 19:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:45:29] 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-06-23 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 19:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249355776001,"66":27245,"237":206,"2":54016,"24":39,"16":321573409861402624,"44":-3216977477686829056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249355776001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:45:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321573409861402624,"km_value":321573409861402.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3216977477686829056,"description":"Unknown IO ID 44"} 
[2026-06-23 19:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249355776001,"power":27245,"unknown_237":206,"power_alt":54016,"ignition":39,"odometer":null,"unknown_44":-3216977477686829056}} 
[2026-06-23 19:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":111143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:45:29] local.INFO: GPS data processed {"connection_id":111143,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:45:29] local.INFO: Acknowledgment sent {"connection_id":111143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:45:52] local.INFO: TCP Data received {"connection_id":112881,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:45:52] local.INFO: Processing buffer {"connection_id":112881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:45:52] local.INFO: IMEI packet received {"connection_id":112881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":112881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:45:56] local.INFO: TCP Data received {"connection_id":112881,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:45:56] local.INFO: Processing buffer {"connection_id":112881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:45:56] local.INFO: IMEI packet received {"connection_id":112881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":112881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:45:57] local.INFO: TCP Data received {"connection_id":112881,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d25a98012d196580071feec80042006c29..."} 
[2026-06-23 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d25a98012d196580071feec80042006c29..."} 
[2026-06-23 19:45:57] local.INFO: Processing buffer {"connection_id":112881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d25a98012d196580071feec80042006c29..."} 
[2026-06-23 19:45:57] local.INFO: Packet analysis {"connection_id":112881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:45:57] local.INFO: Extracted packet for processing {"connection_id":112881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249309696001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782223887000,"timestamp_ms":1782223887000,"timestamp_seconds":1782223887,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d25a98"} 
[2026-06-23 19:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:45: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-06-23 19:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249309696001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249309696001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249309696001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":112881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:45:57] local.INFO: GPS data processed {"connection_id":112881,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:45:57] local.INFO: Acknowledgment sent {"connection_id":112881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:46:01] local.INFO: TCP Data received {"connection_id":111143,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d511e8012cd388c0073fd300000c008f32..."} 
[2026-06-23 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d511e8012cd388c0073fd300000c008f32..."} 
[2026-06-23 19:46:01] local.INFO: Processing buffer {"connection_id":111143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d511e8012cd388c0073fd300000c008f32..."} 
[2026-06-23 19:46:01] local.INFO: Packet analysis {"connection_id":111143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d5"} 
[2026-06-23 19:46:01] local.INFO: Extracted packet for processing {"connection_id":111143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d5"} 
[2026-06-23 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":752060608,"raw_latitude":121623296,"longitude_deg":75.2060608,"latitude_deg":12.1623296,"altitude":12,"angle":143,"satellites":50,"speed":39,"hex_longitude":"2cd388c0","hex_latitude":"073fd300","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249358336001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321573843653099520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3210292446991845376,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782224065000,"timestamp_ms":1782224065000,"timestamp_seconds":1782224065,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d511e8"} 
[2026-06-23 19:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:46:01] 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-06-23 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 19:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249358336001,"66":27343,"237":206,"2":54016,"24":39,"16":321573843653099520,"44":-3210292446991845376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,2,24,16,44]} 
[2026-06-23 19:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249358336001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:46:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-23 19:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321573843653099520,"km_value":321573843653099.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3210292446991845376,"description":"Unknown IO ID 44"} 
[2026-06-23 19:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249358336001,"power":27343,"unknown_237":206,"power_alt":54016,"ignition":39,"odometer":null,"unknown_44":-3210292446991845376}} 
[2026-06-23 19:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":111143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:46:01] local.INFO: GPS data processed {"connection_id":111143,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:46:01] local.INFO: Acknowledgment sent {"connection_id":111143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:46:27] local.INFO: TCP Data received {"connection_id":111144,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:27] local.INFO: Processing buffer {"connection_id":111144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:27] local.INFO: IMEI packet received {"connection_id":111144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":111144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:46:27] local.INFO: TCP Data received {"connection_id":112881,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d2aca0012d196580071feec80042006c2a..."} 
[2026-06-23 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d2aca0012d196580071feec80042006c2a..."} 
[2026-06-23 19:46:27] local.INFO: Processing buffer {"connection_id":112881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d2aca0012d196580071feec80042006c2a..."} 
[2026-06-23 19:46:27] local.INFO: Packet analysis {"connection_id":112881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:46:27] local.INFO: Extracted packet for processing {"connection_id":112881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249315072001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782223908000,"timestamp_ms":1782223908000,"timestamp_seconds":1782223908,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d2aca0"} 
[2026-06-23 19:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:46: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-06-23 19:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:46:27] 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-06-23 19:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249315072001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249315072001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:46:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249315072001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":112881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:46:28] local.INFO: GPS data processed {"connection_id":112881,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:46:28] local.INFO: Acknowledgment sent {"connection_id":112881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:46:28] local.INFO: TCP Data received {"connection_id":111144,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:28] local.INFO: Processing buffer {"connection_id":111144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:28] local.INFO: IMEI packet received {"connection_id":111144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":111144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:46:33] local.INFO: TCP Data received {"connection_id":111144,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:33] local.INFO: Processing buffer {"connection_id":111144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:46:33] local.INFO: IMEI packet received {"connection_id":111144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":111144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:46:34] local.INFO: TCP Data received {"connection_id":111144,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d632f8012cd43f80073ea850000e00a833..."} 
[2026-06-23 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d632f8012cd43f80073ea850000e00a833..."} 
[2026-06-23 19:46:34] local.INFO: Processing buffer {"connection_id":111144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d632f8012cd43f80073ea850000e00a833..."} 
[2026-06-23 19:46:34] local.INFO: Packet analysis {"connection_id":111144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:46:34] local.INFO: Extracted packet for processing {"connection_id":111144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":752107392,"raw_latitude":121546832,"longitude_deg":75.2107392,"latitude_deg":12.1546832,"altitude":14,"angle":168,"satellites":51,"speed":61,"hex_longitude":"2cd43f80","hex_latitude":"073ea850","is_valid_coordinates":true} 
[2026-06-23 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249378048001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321578245994577920,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3155334457808236544,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782224139000,"timestamp_ms":1782224139000,"timestamp_seconds":1782224139,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d632f8"} 
[2026-06-23 19:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:46: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-06-23 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 19:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249378048001,"66":27180,"235":206,"2":54016,"24":61,"16":321578245994577920,"44":-3155334457808236544},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-06-23 19:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249378048001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 19:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321578245994577920,"km_value":321578245994577.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3155334457808236544,"description":"Unknown IO ID 44"} 
[2026-06-23 19:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249378048001,"power":27180,"unknown_235":206,"power_alt":54016,"ignition":61,"odometer":null,"unknown_44":-3155334457808236544}} 
[2026-06-23 19:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":111144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:46:34] local.INFO: GPS data processed {"connection_id":111144,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:46:34] local.INFO: Acknowledgment sent {"connection_id":111144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:46:52] local.INFO: TCP Data received {"connection_id":111950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:46:52] local.INFO: Processing buffer {"connection_id":111950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:46:52] local.INFO: IMEI packet received {"connection_id":111950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":111950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:46:57] local.INFO: TCP Data received {"connection_id":111950,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:46:57] local.INFO: Processing buffer {"connection_id":111950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:46:57] local.INFO: IMEI packet received {"connection_id":111950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":111950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:46:58] local.INFO: TCP Data received {"connection_id":111950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d2fea8012d196580071feec80042006c29..."} 
[2026-06-23 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d2fea8012d196580071feec80042006c29..."} 
[2026-06-23 19:46:58] local.INFO: Processing buffer {"connection_id":111950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d2fea8012d196580071feec80042006c29..."} 
[2026-06-23 19:46:58] local.INFO: Packet analysis {"connection_id":111950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:46:58] local.INFO: Extracted packet for processing {"connection_id":111950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d2"} 
[2026-06-23 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249320448001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:46: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-06-23 19:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782223929000,"timestamp_ms":1782223929000,"timestamp_seconds":1782223929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d2fea8"} 
[2026-06-23 19:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249320448001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249320448001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:46:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249320448001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":111950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:46:58] local.INFO: GPS data processed {"connection_id":111950,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:46:58] local.INFO: Acknowledgment sent {"connection_id":111950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:47:06] local.INFO: TCP Data received {"connection_id":111144,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d64a68012cd44740073e8408000c00a530..."} 
[2026-06-23 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d64a68012cd44740073e8408000c00a530..."} 
[2026-06-23 19:47:06] local.INFO: Processing buffer {"connection_id":111144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d64a68012cd44740073e8408000c00a530..."} 
[2026-06-23 19:47:06] local.INFO: Packet analysis {"connection_id":111144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:06] local.INFO: Extracted packet for processing {"connection_id":111144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":752109376,"raw_latitude":121537544,"longitude_deg":75.2109376,"latitude_deg":12.1537544,"altitude":12,"angle":165,"satellites":48,"speed":63,"hex_longitude":"2cd44740","hex_latitude":"073e8408","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321578705556078592,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3152660445531713536,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782224145000,"timestamp_ms":1782224145000,"timestamp_seconds":1782224145,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d64a68"} 
[2026-06-23 19:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:47: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-06-23 19:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 19:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249379584001,"66":27376,"235":206,"2":54016,"24":63,"16":321578705556078592,"44":-3152660445531713536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-06-23 19:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:47:06] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 19:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321578705556078592,"km_value":321578705556078.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3152660445531713536,"description":"Unknown IO ID 44"} 
[2026-06-23 19:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249379584001,"power":27376,"unknown_235":206,"power_alt":54016,"ignition":63,"odometer":null,"unknown_44":-3152660445531713536}} 
[2026-06-23 19:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":111144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:47:06] local.INFO: GPS data processed {"connection_id":111144,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:47:06] local.INFO: Acknowledgment sent {"connection_id":111144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:47:23] local.INFO: TCP Data received {"connection_id":112882,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:47:23] local.INFO: Processing buffer {"connection_id":112882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:47:23] local.INFO: IMEI packet received {"connection_id":112882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":112882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:47:28] local.INFO: TCP Data received {"connection_id":112882,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:47:28] local.INFO: Processing buffer {"connection_id":112882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:47:28] local.INFO: IMEI packet received {"connection_id":112882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":112882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:47:28] local.INFO: TCP Data received {"connection_id":111950,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d68500012d196580071feec80042006c2a..."} 
[2026-06-23 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d68500012d196580071feec80042006c2a..."} 
[2026-06-23 19:47:28] local.INFO: Processing buffer {"connection_id":111950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d68500012d196580071feec80042006c2a..."} 
[2026-06-23 19:47:28] local.INFO: Packet analysis {"connection_id":111950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:28] local.INFO: Extracted packet for processing {"connection_id":111950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249379584001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224160000,"timestamp_ms":1782224160000,"timestamp_seconds":1782224160,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d68500"} 
[2026-06-23 19:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:47:28] 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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-805030802878555803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3572160513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,224,45,128,238,66,43,10,142,60,1,240,227,244,31,4,113,205,152,101,200,42,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:47:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249379584001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249379584001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249379584001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":111950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:47:29] local.INFO: GPS data processed {"connection_id":111950,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:47:29] local.INFO: Acknowledgment sent {"connection_id":111950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:47:30] local.INFO: TCP Data received {"connection_id":112882,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d65a08012cd45040073e6cd8000c009832..."} 
[2026-06-23 19:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d65a08012cd45040073e6cd8000c009832..."} 
[2026-06-23 19:47:30] local.INFO: Processing buffer {"connection_id":112882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d65a08012cd45040073e6cd8000c009832..."} 
[2026-06-23 19:47:30] local.INFO: Packet analysis {"connection_id":112882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:30] local.INFO: Extracted packet for processing {"connection_id":112882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:30] local.INFO: GPS Element Parsed {"raw_longitude":752111680,"raw_latitude":121531608,"longitude_deg":75.211168,"latitude_deg":12.1531608,"altitude":12,"angle":152,"satellites":50,"speed":63,"hex_longitude":"2cd45040","hex_latitude":"073e6cd8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249381120001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321579010498756608,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150479014464583680,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782224149000,"timestamp_ms":1782224149000,"timestamp_seconds":1782224149,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d65a08"} 
[2026-06-23 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-06-23 19:47:30] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249381120001,"66":27397,"235":206,"2":54016,"24":63,"16":321579010498756608,"44":-3150479014464583680},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-06-23 19:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249381120001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:47:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 19:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321579010498756608,"km_value":321579010498756.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150479014464583680,"description":"Unknown IO ID 44"} 
[2026-06-23 19:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249381120001,"power":27397,"unknown_235":206,"power_alt":54016,"ignition":63,"odometer":null,"unknown_44":-3150479014464583680}} 
[2026-06-23 19:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":112882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:47:30] local.INFO: GPS data processed {"connection_id":112882,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:47:30] local.INFO: Acknowledgment sent {"connection_id":112882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:47:52] local.INFO: TCP Data received {"connection_id":111951,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:47:52] local.INFO: Processing buffer {"connection_id":111951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:47:52] local.INFO: IMEI packet received {"connection_id":111951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":111951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:47:57] local.INFO: TCP Data received {"connection_id":111951,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:47:57] local.INFO: Processing buffer {"connection_id":111951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:47:57] local.INFO: IMEI packet received {"connection_id":111951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":111951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:47:58] local.INFO: TCP Data received {"connection_id":111951,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d6d708012d196580071feec80042006c2a..."} 
[2026-06-23 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d6d708012d196580071feec80042006c2a..."} 
[2026-06-23 19:47:58] local.INFO: Processing buffer {"connection_id":111951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d6d708012d196580071feec80042006c2a..."} 
[2026-06-23 19:47:58] local.INFO: Packet analysis {"connection_id":111951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:58] local.INFO: Extracted packet for processing {"connection_id":111951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d6"} 
[2026-06-23 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249384960001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47: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-06-23 19:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224181000,"timestamp_ms":1782224181000,"timestamp_seconds":1782224181,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d6d708"} 
[2026-06-23 19:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-804940608565339803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3577536513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:47:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,50,45,128,238,66,43,10,224,142,1,240,31,227,244,4,113,205,234,101,200,42,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:47:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249384960001,"66":12145,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249384960001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:47:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249384960001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":111951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:47:58] local.INFO: GPS data processed {"connection_id":111951,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:47:58] local.INFO: Acknowledgment sent {"connection_id":111951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:48:01] local.INFO: TCP Data received {"connection_id":112882,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d77f00012cd4db40073cf8d0000e00ad33..."} 
[2026-06-23 19:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d77f00012cd4db40073cf8d0000e00ad33..."} 
[2026-06-23 19:48:01] local.INFO: Processing buffer {"connection_id":112882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d77f00012cd4db40073cf8d0000e00ad33..."} 
[2026-06-23 19:48:01] local.INFO: Packet analysis {"connection_id":112882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:01] local.INFO: Extracted packet for processing {"connection_id":112882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:01] local.INFO: GPS Element Parsed {"raw_longitude":752147264,"raw_latitude":121436368,"longitude_deg":75.2147264,"latitude_deg":12.1436368,"altitude":14,"angle":173,"satellites":51,"speed":50,"hex_longitude":"2cd4db40","hex_latitude":"073cf8d0","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249399296001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321583975480950784,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3110579936539242496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782224224000,"timestamp_ms":1782224224000,"timestamp_seconds":1782224224,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d77f00"} 
[2026-06-23 19:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:48:01] 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-06-23 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249399296001,"66":27332,"38":206,"2":56832,"24":50,"16":321583975480950784,"44":-3110579936539242496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249399296001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321583975480950784,"km_value":321583975480950.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3110579936539242496,"description":"Unknown IO ID 44"} 
[2026-06-23 19:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249399296001,"power":27332,"unknown_38":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-3110579936539242496}} 
[2026-06-23 19:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":112882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:48:01] local.INFO: GPS data processed {"connection_id":112882,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:48:01] local.INFO: Acknowledgment sent {"connection_id":112882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:48:23] local.INFO: TCP Data received {"connection_id":111328,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:23] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:23] local.INFO: IMEI packet received {"connection_id":111328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":111328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:48:24] local.INFO: TCP Data received {"connection_id":111328,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:24] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:24] local.INFO: IMEI packet received {"connection_id":111328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":111328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:48:28] local.INFO: TCP Data received {"connection_id":111328,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:28] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:48:28] local.INFO: IMEI packet received {"connection_id":111328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":111328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:48:29] local.INFO: TCP Data received {"connection_id":111951,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d72910012d196580071feec80042006c2b..."} 
[2026-06-23 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d72910012d196580071feec80042006c2b..."} 
[2026-06-23 19:48:29] local.INFO: Processing buffer {"connection_id":111951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d72910012d196580071feec80042006c2b..."} 
[2026-06-23 19:48:29] local.INFO: Packet analysis {"connection_id":111951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:29] local.INFO: Extracted packet for processing {"connection_id":111951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249390336001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224202000,"timestamp_ms":1782224202000,"timestamp_seconds":1782224202,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d72910"} 
[2026-06-23 19:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:48:29] 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-06-23 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 19:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249390336001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249390336001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:48:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249390336001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":111951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:48:29] local.INFO: GPS data processed {"connection_id":111951,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:48:29] local.INFO: Acknowledgment sent {"connection_id":111951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:48:30] local.INFO: TCP Data received {"connection_id":111328,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d79a58012cd4de40073cd580000e00ae33..."} 
[2026-06-23 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d79a58012cd4de40073cd580000e00ae33..."} 
[2026-06-23 19:48:30] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d79a58012cd4de40073cd580000e00ae33..."} 
[2026-06-23 19:48:30] local.INFO: Packet analysis {"connection_id":111328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:30] local.INFO: Extracted packet for processing {"connection_id":111328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":752148032,"raw_latitude":121427328,"longitude_deg":75.2148032,"latitude_deg":12.1427328,"altitude":14,"angle":174,"satellites":51,"speed":52,"hex_longitude":"2cd4de40","hex_latitude":"073cd580","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249401344001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321584413567614976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3108820717937307648,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782224231000,"timestamp_ms":1782224231000,"timestamp_seconds":1782224231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d79a58"} 
[2026-06-23 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-06-23 19:48:30] 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-06-23 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 19:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249401344001,"66":27365,"38":206,"2":56832,"24":52,"16":321584413567614976,"44":-3108820717937307648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249401344001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:48:30] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321584413567614976,"km_value":321584413567615.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3108820717937307648,"description":"Unknown IO ID 44"} 
[2026-06-23 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249401344001,"power":27365,"unknown_38":206,"power_alt":56832,"ignition":52,"odometer":null,"unknown_44":-3108820717937307648}} 
[2026-06-23 19:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":111328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:48:30] local.INFO: GPS data processed {"connection_id":111328,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:48:30] local.INFO: Acknowledgment sent {"connection_id":111328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:48:31] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:48:31] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:48:31] local.INFO: IMEI packet received {"connection_id":111327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":111327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:48:52] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:48:52] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:48:52] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:48:57] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:48:57] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:48:57] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:48:58] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d77b18012d196580071feec80042006c2b..."} 
[2026-06-23 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d77b18012d196580071feec80042006c2b..."} 
[2026-06-23 19:48:58] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d77b18012d196580071feec80042006c2b..."} 
[2026-06-23 19:48:58] local.INFO: Packet analysis {"connection_id":111329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:58] local.INFO: Extracted packet for processing {"connection_id":111329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249395712001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:48: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-06-23 19:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224223000,"timestamp_ms":1782224223000,"timestamp_seconds":1782224223,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d77b18"} 
[2026-06-23 19:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249395712001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249395712001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:48:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249395712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":111329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:48:58] local.INFO: GPS data processed {"connection_id":111329,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:48:58] local.INFO: Acknowledgment sent {"connection_id":111329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:49:02] local.INFO: TCP Data received {"connection_id":111328,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d7b5b0012cd4e380073cb0a0000e00aa33..."} 
[2026-06-23 19:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d7b5b0012cd4e380073cb0a0000e00aa33..."} 
[2026-06-23 19:49:02] local.INFO: Processing buffer {"connection_id":111328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d7b5b0012cd4e380073cb0a0000e00aa33..."} 
[2026-06-23 19:49:02] local.INFO: Packet analysis {"connection_id":111328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:49:02] local.INFO: Extracted packet for processing {"connection_id":111328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:49:02] local.INFO: GPS Element Parsed {"raw_longitude":752149376,"raw_latitude":121417888,"longitude_deg":75.2149376,"latitude_deg":12.1417888,"altitude":14,"angle":170,"satellites":51,"speed":54,"hex_longitude":"2cd4e380","hex_latitude":"073cb0a0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249403136001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321584877424082944,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3107976293009489920,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224238000,"timestamp_ms":1782224238000,"timestamp_seconds":1782224238,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d7b5b0"} 
[2026-06-23 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-06-23 19:49:02] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249403136001,"66":27376,"38":206,"2":56832,"24":54,"16":321584877424082944,"44":-3107976293009489920},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249403136001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:49:02] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321584877424082944,"km_value":321584877424082.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3107976293009489920,"description":"Unknown IO ID 44"} 
[2026-06-23 19:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249403136001,"power":27376,"unknown_38":206,"power_alt":56832,"ignition":54,"odometer":null,"unknown_44":-3107976293009489920}} 
[2026-06-23 19:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":111328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:49:02] local.INFO: GPS data processed {"connection_id":111328,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:49:02] local.INFO: Acknowledgment sent {"connection_id":111328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:49:06] local.INFO: TCP Data received {"connection_id":111145,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:49:06] local.INFO: Processing buffer {"connection_id":111145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:49:06] local.INFO: IMEI packet received {"connection_id":111145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":111145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:49:23] local.INFO: TCP Data received {"connection_id":112883,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:23] local.INFO: Processing buffer {"connection_id":112883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:23] local.INFO: IMEI packet received {"connection_id":112883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":112883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:49:23] local.INFO: TCP Data received {"connection_id":112883,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:23] local.INFO: Processing buffer {"connection_id":112883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:23] local.INFO: IMEI packet received {"connection_id":112883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":112883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:49:28] local.INFO: TCP Data received {"connection_id":112883,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:28] local.INFO: Processing buffer {"connection_id":112883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:49:28] local.INFO: IMEI packet received {"connection_id":112883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":112883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:49:29] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d7cd20012d196580071feec80042006c2a..."} 
[2026-06-23 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d7cd20012d196580071feec80042006c2a..."} 
[2026-06-23 19:49:29] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d7cd20012d196580071feec80042006c2a..."} 
[2026-06-23 19:49:29] local.INFO: Packet analysis {"connection_id":111329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:49:29] local.INFO: Extracted packet for processing {"connection_id":111329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249401088001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224244000,"timestamp_ms":1782224244000,"timestamp_seconds":1782224244,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d7cd20"} 
[2026-06-23 19:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:49:29] 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-06-23 19:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:49:29] 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-06-23 19:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249401088001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249401088001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249401088001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":111329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:49:29] local.INFO: GPS data processed {"connection_id":111329,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:49:29] local.INFO: Acknowledgment sent {"connection_id":111329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:49:29] local.INFO: TCP Data received {"connection_id":112883,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d7d108012cd4ea40073c8b80000e00a933..."} 
[2026-06-23 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d7d108012cd4ea40073c8b80000e00a933..."} 
[2026-06-23 19:49:29] local.INFO: Processing buffer {"connection_id":112883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d7d108012cd4ea40073c8b80000e00a933..."} 
[2026-06-23 19:49:29] local.INFO: Packet analysis {"connection_id":112883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:49:29] local.INFO: Extracted packet for processing {"connection_id":112883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d7"} 
[2026-06-23 19:49:29] local.INFO: GPS Element Parsed {"raw_longitude":752151104,"raw_latitude":121408384,"longitude_deg":75.2151104,"latitude_deg":12.1408384,"altitude":14,"angle":169,"satellites":51,"speed":54,"hex_longitude":"2cd4ea40","hex_latitude":"073c8b80","is_valid_coordinates":true} 
[2026-06-23 19:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249404928001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321585345575518208,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3106498549384175616,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224245000,"timestamp_ms":1782224245000,"timestamp_seconds":1782224245,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d7d108"} 
[2026-06-23 19:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:49:29] 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-06-23 19:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249404928001,"66":27484,"38":206,"2":56832,"24":54,"16":321585345575518208,"44":-3106498549384175616},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249404928001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321585345575518208,"km_value":321585345575518.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3106498549384175616,"description":"Unknown IO ID 44"} 
[2026-06-23 19:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249404928001,"power":27484,"unknown_38":206,"power_alt":56832,"ignition":54,"odometer":null,"unknown_44":-3106498549384175616}} 
[2026-06-23 19:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":112883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:49:29] local.INFO: GPS data processed {"connection_id":112883,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:49:29] local.INFO: Acknowledgment sent {"connection_id":112883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:49:52] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:49:52] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:49:52] local.INFO: IMEI packet received {"connection_id":111146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":111146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:49:57] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:49:57] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:49:57] local.INFO: IMEI packet received {"connection_id":111146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":111146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:49:58] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d81f28012d196580071feec80042006c29..."} 
[2026-06-23 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d81f28012d196580071feec80042006c29..."} 
[2026-06-23 19:49:58] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d81f28012d196580071feec80042006c29..."} 
[2026-06-23 19:49:58] local.INFO: Packet analysis {"connection_id":111146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d8"} 
[2026-06-23 19:49:58] local.INFO: Extracted packet for processing {"connection_id":111146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d8"} 
[2026-06-23 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249406464001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:49: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-06-23 19:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224265000,"timestamp_ms":1782224265000,"timestamp_seconds":1782224265,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d81f28"} 
[2026-06-23 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-06-23 19:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 19:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249406464001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249406464001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:49:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249406464001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":111146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:49:58] local.INFO: GPS data processed {"connection_id":111146,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:49:58] local.INFO: Acknowledgment sent {"connection_id":111146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:50:01] local.INFO: TCP Data received {"connection_id":112883,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d93098012cd51880073b4c08000d009831..."} 
[2026-06-23 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d93098012cd51880073b4c08000d009831..."} 
[2026-06-23 19:50:01] local.INFO: Processing buffer {"connection_id":112883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d93098012cd51880073b4c08000d009831..."} 
[2026-06-23 19:50:01] local.INFO: Packet analysis {"connection_id":112883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:50:01] local.INFO: Extracted packet for processing {"connection_id":112883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:50:01] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121326600,"longitude_deg":75.2162944,"latitude_deg":12.13266,"altitude":13,"angle":152,"satellites":49,"speed":32,"hex_longitude":"2cd51880","hex_latitude":"073b4c08","is_valid_coordinates":true} 
[2026-06-23 19:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249427200001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321589395729678336,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3096506187732185088,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782224335000,"timestamp_ms":1782224335000,"timestamp_seconds":1782224335,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d93098"} 
[2026-06-23 19:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:50:01] 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-06-23 19:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 19:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249427200001,"66":27365,"38":206,"2":56832,"24":32,"16":321589395729678336,"44":-3096506187732185088},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249427200001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:50:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321589395729678336,"km_value":321589395729678.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3096506187732185088,"description":"Unknown IO ID 44"} 
[2026-06-23 19:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249427200001,"power":27365,"unknown_38":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-3096506187732185088}} 
[2026-06-23 19:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":112883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:50:01] local.INFO: GPS data processed {"connection_id":112883,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:50:01] local.INFO: Acknowledgment sent {"connection_id":112883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:50:28] local.INFO: TCP Data received {"connection_id":111146,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d87130012d196580071feec80042006c2b..."} 
[2026-06-23 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d87130012d196580071feec80042006c2b..."} 
[2026-06-23 19:50:28] local.INFO: Processing buffer {"connection_id":111146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d87130012d196580071feec80042006c2b..."} 
[2026-06-23 19:50:28] local.INFO: Packet analysis {"connection_id":111146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d8"} 
[2026-06-23 19:50:28] local.INFO: Extracted packet for processing {"connection_id":111146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d8"} 
[2026-06-23 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249411840001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224286000,"timestamp_ms":1782224286000,"timestamp_seconds":1782224286,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d87130"} 
[2026-06-23 19:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:50:28] 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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-804489636999259803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3604416513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:50:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,205,45,128,238,66,42,10,123,43,41,1,240,31,227,244,4,113,133,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:50:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249411840001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249411840001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249411840001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":111146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:50:29] local.INFO: GPS data processed {"connection_id":111146,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:50:29] local.INFO: Acknowledgment sent {"connection_id":111146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:50:29] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:29] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:29] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:50:30] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:30] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:30] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:50:34] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:34] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:50:34] local.INFO: IMEI packet received {"connection_id":111147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":111147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:50:35] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d957a8012cd521c0073b38a8000e00ac33..."} 
[2026-06-23 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d957a8012cd521c0073b38a8000e00ac33..."} 
[2026-06-23 19:50:35] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d957a8012cd521c0073b38a8000e00ac33..."} 
[2026-06-23 19:50:35] local.INFO: Packet analysis {"connection_id":111147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:50:35] local.INFO: Extracted packet for processing {"connection_id":111147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":752165312,"raw_latitude":121321640,"longitude_deg":75.2165312,"latitude_deg":12.132164,"altitude":14,"angle":172,"satellites":51,"speed":10,"hex_longitude":"2cd521c0","hex_latitude":"073b38a8","is_valid_coordinates":true} 
[2026-06-23 19:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249429760001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321589662017650688,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375641880576,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782224345000,"timestamp_ms":1782224345000,"timestamp_seconds":1782224345,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d957a8"} 
[2026-06-23 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:50:35] 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-06-23 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249429760001,"66":27343,"38":206,"2":56832,"24":10,"16":321589662017650688,"44":-3091580375641880576},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249429760001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321589662017650688,"km_value":321589662017650.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375641880576,"description":"Unknown IO ID 44"} 
[2026-06-23 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249429760001,"power":27343,"unknown_38":206,"power_alt":56832,"ignition":10,"odometer":null,"unknown_44":-3091580375641880576}} 
[2026-06-23 19:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":111147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:50:35] local.INFO: GPS data processed {"connection_id":111147,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:50:35] local.INFO: Acknowledgment sent {"connection_id":111147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:50:39] local.INFO: TCP Data received {"connection_id":111147,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d96b30012cd521c0073b3488000f00b832..."} 
[2026-06-23 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d96b30012cd521c0073b3488000f00b832..."} 
[2026-06-23 19:50:39] local.INFO: Processing buffer {"connection_id":111147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d96b30012cd521c0073b3488000f00b832..."} 
[2026-06-23 19:50:39] local.INFO: Packet analysis {"connection_id":111147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:50:39] local.INFO: Extracted packet for processing {"connection_id":111147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:50:39] local.INFO: GPS Element Parsed {"raw_longitude":752165312,"raw_latitude":121320584,"longitude_deg":75.2165312,"latitude_deg":12.1320584,"altitude":15,"angle":184,"satellites":50,"speed":9,"hex_longitude":"2cd521c0","hex_latitude":"073b3488","is_valid_coordinates":true} 
[2026-06-23 19:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249432320001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321589717852225536,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088976732108576768,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782224350000,"timestamp_ms":1782224350000,"timestamp_seconds":1782224350,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d96b30"} 
[2026-06-23 19:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:50: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-06-23 19:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:50:39] 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-06-23 19:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249432320001,"66":27234,"38":206,"2":56832,"24":9,"16":321589717852225536,"44":-3088976732108576768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249432320001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:50:39] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321589717852225536,"km_value":321589717852225.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088976732108576768,"description":"Unknown IO ID 44"} 
[2026-06-23 19:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249432320001,"power":27234,"unknown_38":206,"power_alt":56832,"ignition":9,"odometer":null,"unknown_44":-3088976732108576768}} 
[2026-06-23 19:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":111147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:50:39] local.INFO: GPS data processed {"connection_id":111147,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:50:39] local.INFO: Acknowledgment sent {"connection_id":111147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:50:52] local.INFO: TCP Data received {"connection_id":112885,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:50:52] local.INFO: Processing buffer {"connection_id":112885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:50:52] local.INFO: IMEI packet received {"connection_id":112885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":112885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:50:57] local.INFO: TCP Data received {"connection_id":112885,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:50:57] local.INFO: Processing buffer {"connection_id":112885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:50:57] local.INFO: IMEI packet received {"connection_id":112885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":112885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:50:58] local.INFO: TCP Data received {"connection_id":112885,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d8c338012d196580071feec80042006c2b..."} 
[2026-06-23 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d8c338012d196580071feec80042006c2b..."} 
[2026-06-23 19:50:58] local.INFO: Processing buffer {"connection_id":112885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d8c338012d196580071feec80042006c2b..."} 
[2026-06-23 19:50:58] local.INFO: Packet analysis {"connection_id":112885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d8"} 
[2026-06-23 19:50:58] local.INFO: Extracted packet for processing {"connection_id":112885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d8"} 
[2026-06-23 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249417216001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:50: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-06-23 19:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224307000,"timestamp_ms":1782224307000,"timestamp_seconds":1782224307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d8c338"} 
[2026-06-23 19:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249417216001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249417216001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:50:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249417216001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":112885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:50:58] local.INFO: GPS data processed {"connection_id":112885,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:50:58] local.INFO: Acknowledgment sent {"connection_id":112885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:51:22] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:22] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:22] local.INFO: IMEI packet received {"connection_id":111330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":111330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:51:23] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:23] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:23] local.INFO: IMEI packet received {"connection_id":111330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":111330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:51:28] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:28] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:51:28] local.INFO: IMEI packet received {"connection_id":111330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":111330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:51:28] local.INFO: TCP Data received {"connection_id":112885,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d91540012d196580071feec80042006c2b..."} 
[2026-06-23 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d91540012d196580071feec80042006c2b..."} 
[2026-06-23 19:51:28] local.INFO: Processing buffer {"connection_id":112885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d91540012d196580071feec80042006c2b..."} 
[2026-06-23 19:51:28] local.INFO: Packet analysis {"connection_id":112885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:51:28] local.INFO: Extracted packet for processing {"connection_id":112885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249422592001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224328000,"timestamp_ms":1782224328000,"timestamp_seconds":1782224328,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d91540"} 
[2026-06-23 19:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:51:28] 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-06-23 19:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-804309248372827803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3418514474639163598,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3615168513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:51:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:28] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,113,45,128,238,66,43,10,31,41,205,1,240,53,227,244,4,101,200,239,48,2,13,7,42],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:51:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249422592001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249422592001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249422592001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":112885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:51:28] local.INFO: GPS data processed {"connection_id":112885,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:51:28] local.INFO: Acknowledgment sent {"connection_id":112885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:51:29] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d9b568012cd51e00073b10d8001000ba32..."} 
[2026-06-23 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d9b568012cd51e00073b10d8001000ba32..."} 
[2026-06-23 19:51:29] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d9b568012cd51e00073b10d8001000ba32..."} 
[2026-06-23 19:51:29] local.INFO: Packet analysis {"connection_id":111330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:51:29] local.INFO: Extracted packet for processing {"connection_id":111330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:51:29] local.INFO: GPS Element Parsed {"raw_longitude":752164352,"raw_latitude":121311448,"longitude_deg":75.2164352,"latitude_deg":12.1311448,"altitude":16,"angle":186,"satellites":50,"speed":27,"hex_longitude":"2cd51e00","hex_latitude":"073b10d8","is_valid_coordinates":true} 
[2026-06-23 19:51: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-06-23 19:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249433600001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321590164528824320,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3088976732108847104,"note":"Value kept but may cause issues"} 
[2026-06-23 19:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224369000,"timestamp_ms":1782224369000,"timestamp_seconds":1782224369,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d9b568"} 
[2026-06-23 19:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:51:29] 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-06-23 19:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 19:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:51: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-06-23 19:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249433600001,"66":27397,"38":206,"2":56832,"24":27,"16":321590164528824320,"44":-3088976732108847104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249433600001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:51:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321590164528824320,"km_value":321590164528824.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3088976732108847104,"description":"Unknown IO ID 44"} 
[2026-06-23 19:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249433600001,"power":27397,"unknown_38":206,"power_alt":56832,"ignition":27,"odometer":null,"unknown_44":-3088976732108847104}} 
[2026-06-23 19:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":111330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:51:29] local.INFO: GPS data processed {"connection_id":111330,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:51:29] local.INFO: Acknowledgment sent {"connection_id":111330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:51:53] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:51:53] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:51:53] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:51:57] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:51:57] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:51:57] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:52:00] local.INFO: TCP Data received {"connection_id":111330,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d9e060012cd51b40073aed58000e00b930..."} 
[2026-06-23 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d9e060012cd51b40073aed58000e00b930..."} 
[2026-06-23 19:52:00] local.INFO: Processing buffer {"connection_id":111330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d9e060012cd51b40073aed58000e00b930..."} 
[2026-06-23 19:52:00] local.INFO: Packet analysis {"connection_id":111330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:52:00] local.INFO: Extracted packet for processing {"connection_id":111330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:52:00] local.INFO: GPS Element Parsed {"raw_longitude":752163648,"raw_latitude":121302360,"longitude_deg":75.2163648,"latitude_deg":12.130236,"altitude":14,"angle":185,"satellites":48,"speed":36,"hex_longitude":"2cd51b40","hex_latitude":"073aed58","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249438464001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321590602615488512,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090032263273850880,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782224380000,"timestamp_ms":1782224380000,"timestamp_seconds":1782224380,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d9e060"} 
[2026-06-23 19:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:52:00] 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-06-23 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249438464001,"66":27463,"38":206,"2":56832,"24":36,"16":321590602615488512,"44":-3090032263273850880},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249438464001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:52:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321590602615488512,"km_value":321590602615488.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090032263273850880,"description":"Unknown IO ID 44"} 
[2026-06-23 19:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249438464001,"power":27463,"unknown_38":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-3090032263273850880}} 
[2026-06-23 19:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":111330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:52:00] local.INFO: GPS data processed {"connection_id":111330,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:52:00] local.INFO: Acknowledgment sent {"connection_id":111330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:52:02] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:02] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:02] local.INFO: IMEI packet received {"connection_id":111148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":111148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:52:03] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d96748012d196580071feec80042006c2b..."} 
[2026-06-23 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d96748012d196580071feec80042006c2b..."} 
[2026-06-23 19:52:03] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d96748012d196580071feec80042006c2b..."} 
[2026-06-23 19:52:03] local.INFO: Packet analysis {"connection_id":111148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:52:03] local.INFO: Extracted packet for processing {"connection_id":111148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249427968001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782224349000,"timestamp_ms":1782224349000,"timestamp_seconds":1782224349,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d96748"} 
[2026-06-23 19:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:52:03] 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-06-23 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:52:03] 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-06-23 19:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249427968001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249427968001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:52:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249427968001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":111148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:52:03] local.INFO: GPS data processed {"connection_id":111148,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:52:03] local.INFO: Acknowledgment sent {"connection_id":111148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:52:07] local.INFO: TCP Data received {"connection_id":111148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4d9b950012d196580071feec80042006c2b..."} 
[2026-06-23 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4d9b950012d196580071feec80042006c2b..."} 
[2026-06-23 19:52:07] local.INFO: Processing buffer {"connection_id":111148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4d9b950012d196580071feec80042006c2b..."} 
[2026-06-23 19:52:07] local.INFO: Packet analysis {"connection_id":111148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:52:07] local.INFO: Extracted packet for processing {"connection_id":111148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4d9"} 
[2026-06-23 19:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249433344001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782224370000,"timestamp_ms":1782224370000,"timestamp_seconds":1782224370,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4d9b950"} 
[2026-06-23 19:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:52:07] 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-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-804128859746395803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3625920513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":536947993,"corrected_to":0} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:52:07] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:07] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,21,45,128,238,66,43,10,195,113,1,240,31,227,244,4,205,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":536947993,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:52:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249433344001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249433344001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249433344001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":111148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:52:07] local.INFO: GPS data processed {"connection_id":111148,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:52:07] local.INFO: Acknowledgment sent {"connection_id":111148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:52:23] local.INFO: TCP Data received {"connection_id":111149,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:52:23] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:52:23] local.INFO: IMEI packet received {"connection_id":111149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":111149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:52:28] local.INFO: TCP Data received {"connection_id":111149,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:52:28] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:52:28] local.INFO: IMEI packet received {"connection_id":111149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":111149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:52:29] local.INFO: TCP Data received {"connection_id":111149,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4da0770012cd51880073ac890000e00b831..."} 
[2026-06-23 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4da0770012cd51880073ac890000e00b831..."} 
[2026-06-23 19:52:29] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4da0770012cd51880073ac890000e00b831..."} 
[2026-06-23 19:52:29] local.INFO: Packet analysis {"connection_id":111149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:52:29] local.INFO: Extracted packet for processing {"connection_id":111149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:52:29] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121292944,"longitude_deg":75.2162944,"latitude_deg":12.1292944,"altitude":14,"angle":184,"satellites":49,"speed":32,"hex_longitude":"2cd51880","hex_latitude":"073ac890","is_valid_coordinates":true} 
[2026-06-23 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249441280001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321591062176989184,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090806319462131712,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224390000,"timestamp_ms":1782224390000,"timestamp_seconds":1782224390,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4da0770"} 
[2026-06-23 19:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:52:29] 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-06-23 19:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:52:29] 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-06-23 19:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249441280001,"66":27365,"38":206,"2":56832,"24":32,"16":321591062176989184,"44":-3090806319462131712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-06-23 19:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249441280001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:52:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 19:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321591062176989184,"km_value":321591062176989.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090806319462131712,"description":"Unknown IO ID 44"} 
[2026-06-23 19:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249441280001,"power":27365,"unknown_38":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-3090806319462131712}} 
[2026-06-23 19:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":111149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:52:29] local.INFO: GPS data processed {"connection_id":111149,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:52:29] local.INFO: Acknowledgment sent {"connection_id":111149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:52:30] local.INFO: TCP Data received {"connection_id":111149,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4da3a38012cd51880073aa408000f00ad30..."} 
[2026-06-23 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4da3a38012cd51880073aa408000f00ad30..."} 
[2026-06-23 19:52:30] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4da3a38012cd51880073aa408000f00ad30..."} 
[2026-06-23 19:52:30] local.INFO: Packet analysis {"connection_id":111149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:52:30] local.INFO: Extracted packet for processing {"connection_id":111149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:52:30] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121283592,"longitude_deg":75.2162944,"latitude_deg":12.1283592,"altitude":15,"angle":173,"satellites":48,"speed":29,"hex_longitude":"2cd51880","hex_latitude":"073aa408","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249443840001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321591517443522560,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375650496512,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782224403000,"timestamp_ms":1782224403000,"timestamp_seconds":1782224403,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4da3a38"} 
[2026-06-23 19:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:52:30] 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-06-23 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 19:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249443840001,"66":27115,"39":206,"2":56832,"24":29,"16":321591517443522560,"44":-3091580375650496512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,44]} 
[2026-06-23 19:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249443840001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:52:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 19:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321591517443522560,"km_value":321591517443522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375650496512,"description":"Unknown IO ID 44"} 
[2026-06-23 19:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249443840001,"power":27115,"unknown_39":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-3091580375650496512}} 
[2026-06-23 19:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":111149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:52:30] local.INFO: GPS data processed {"connection_id":111149,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:52:30] local.INFO: Acknowledgment sent {"connection_id":111149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:52:52] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:52] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:52] local.INFO: IMEI packet received {"connection_id":111331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":111331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:52:56] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:56] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:52:56] local.INFO: IMEI packet received {"connection_id":111331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":111331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:52:57] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4da0b58012d196580071feec80042006c2c..."} 
[2026-06-23 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4da0b58012d196580071feec80042006c2c..."} 
[2026-06-23 19:52:57] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4da0b58012d196580071feec80042006c2c..."} 
[2026-06-23 19:52:57] local.INFO: Packet analysis {"connection_id":111331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:52:57] local.INFO: Extracted packet for processing {"connection_id":111331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249438720001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782224391000,"timestamp_ms":1782224391000,"timestamp_seconds":1782224391,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4da0b58"} 
[2026-06-23 19:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:52: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-06-23 19:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-804038665433179803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3631296513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:52:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:52:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,103,45,128,238,66,43,10,21,195,1,240,227,244,31,4,113,205,101,200,41,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:52:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249438720001,"66":12232,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249438720001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249438720001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":111331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:52:57] local.INFO: GPS data processed {"connection_id":111331,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:52:57] local.INFO: Acknowledgment sent {"connection_id":111331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:53:02] local.INFO: TCP Data received {"connection_id":111149,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4da6530012cd51e80073a7e50000e00ac31..."} 
[2026-06-23 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4da6530012cd51e80073a7e50000e00ac31..."} 
[2026-06-23 19:53:02] local.INFO: Processing buffer {"connection_id":111149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4da6530012cd51e80073a7e50000e00ac31..."} 
[2026-06-23 19:53:02] local.INFO: Packet analysis {"connection_id":111149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:53:02] local.INFO: Extracted packet for processing {"connection_id":111149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:53:02] local.INFO: GPS Element Parsed {"raw_longitude":752164480,"raw_latitude":121273936,"longitude_deg":75.216448,"latitude_deg":12.1273936,"altitude":14,"angle":172,"satellites":49,"speed":36,"hex_longitude":"2cd51e80","hex_latitude":"073a7e50","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249447168001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321591989889925120,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375652890624,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224414000,"timestamp_ms":1782224414000,"timestamp_seconds":1782224414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4da6530"} 
[2026-06-23 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-06-23 19:53:02] 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-06-23 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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-06-23 19:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 19:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249447168001,"66":27234,"39":206,"2":56832,"24":36,"16":321591989889925120,"44":-3091580375652890624},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,44]} 
[2026-06-23 19:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249447168001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:53:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-23 19:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321591989889925120,"km_value":321591989889925.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375652890624,"description":"Unknown IO ID 44"} 
[2026-06-23 19:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249447168001,"power":27234,"unknown_39":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-3091580375652890624}} 
[2026-06-23 19:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":111149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:53:02] local.INFO: GPS data processed {"connection_id":111149,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:53:02] local.INFO: Acknowledgment sent {"connection_id":111149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:53:23] local.INFO: TCP Data received {"connection_id":112888,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:23] local.INFO: Processing buffer {"connection_id":112888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:23] local.INFO: IMEI packet received {"connection_id":112888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":112888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:53:24] local.INFO: TCP Data received {"connection_id":112888,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:24] local.INFO: Processing buffer {"connection_id":112888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:24] local.INFO: IMEI packet received {"connection_id":112888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":112888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:53:27] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4da5d60012d196580071feec80042006c2c..."} 
[2026-06-23 19:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4da5d60012d196580071feec80042006c2c..."} 
[2026-06-23 19:53:27] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4da5d60012d196580071feec80042006c2c..."} 
[2026-06-23 19:53:27] local.INFO: Packet analysis {"connection_id":111331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:53:27] local.INFO: Extracted packet for processing {"connection_id":111331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249444096001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782224412000,"timestamp_ms":1782224412000,"timestamp_seconds":1782224412,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4da5d60"} 
[2026-06-23 19:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:53: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-06-23 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 19:53:27] 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-06-23 19: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-06-23 19:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249444096001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249444096001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249444096001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":111331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:53:28] local.INFO: GPS data processed {"connection_id":111331,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:53:28] local.INFO: Acknowledgment sent {"connection_id":111331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:53:28] local.INFO: TCP Data received {"connection_id":112888,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:28] local.INFO: Processing buffer {"connection_id":112888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:53:28] local.INFO: IMEI packet received {"connection_id":112888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":112888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:53:29] local.INFO: TCP Data received {"connection_id":112888,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dc5d18012cd544c0073902c8000f00a930..."} 
[2026-06-23 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dc5d18012cd544c0073902c8000f00a930..."} 
[2026-06-23 19:53:29] local.INFO: Processing buffer {"connection_id":112888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dc5d18012cd544c0073902c8000f00a930..."} 
[2026-06-23 19:53:29] local.INFO: Packet analysis {"connection_id":112888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:53:29] local.INFO: Extracted packet for processing {"connection_id":112888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:53:29] local.INFO: GPS Element Parsed {"raw_longitude":752174272,"raw_latitude":121176776,"longitude_deg":75.2174272,"latitude_deg":12.1176776,"altitude":15,"angle":169,"satellites":48,"speed":34,"hex_longitude":"2cd544c0","hex_latitude":"073902c8","is_valid_coordinates":true} 
[2026-06-23 19:53: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-06-23 19:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249480448001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321596757303623680,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081095432795437056,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224543000,"timestamp_ms":1782224543000,"timestamp_seconds":1782224543,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dc5d18"} 
[2026-06-23 19:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:53:29] 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-06-23 19:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:53: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-06-23 19:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249480448001,"66":27397,"49":206,"2":56832,"24":34,"16":321596757303623680,"44":-3081095432795437056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-06-23 19:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249480448001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:53:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 19:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321596757303623680,"km_value":321596757303623.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081095432795437056,"description":"Unknown IO ID 44"} 
[2026-06-23 19:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249480448001,"power":27397,"unknown_49":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-3081095432795437056}} 
[2026-06-23 19:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":112888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:53:29] local.INFO: GPS data processed {"connection_id":112888,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:53:29] local.INFO: Acknowledgment sent {"connection_id":112888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:53:52] local.INFO: TCP Data received {"connection_id":111333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:53:52] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:53:52] local.INFO: IMEI packet received {"connection_id":111333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":111333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:53:57] local.INFO: TCP Data received {"connection_id":111333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:53:57] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:53:57] local.INFO: IMEI packet received {"connection_id":111333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":111333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:53:58] local.INFO: TCP Data received {"connection_id":111333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4daaf68012d196580071feec80042006c2c..."} 
[2026-06-23 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4daaf68012d196580071feec80042006c2c..."} 
[2026-06-23 19:53:58] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4daaf68012d196580071feec80042006c2c..."} 
[2026-06-23 19:53:58] local.INFO: Packet analysis {"connection_id":111333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:53:58] local.INFO: Extracted packet for processing {"connection_id":111333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4da"} 
[2026-06-23 19:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249449472001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:53: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-06-23 19:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224433000,"timestamp_ms":1782224433000,"timestamp_seconds":1782224433,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4daaf68"} 
[2026-06-23 19:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:53: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-06-23 19:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:53: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-06-23 19:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249449472001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249449472001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:53:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249449472001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":111333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:53:58] local.INFO: GPS data processed {"connection_id":111333,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:53:58] local.INFO: Acknowledgment sent {"connection_id":111333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:54:01] local.INFO: TCP Data received {"connection_id":112888,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dc8810012cd54a000738de40000f00b12f..."} 
[2026-06-23 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dc8810012cd54a000738de40000f00b12f..."} 
[2026-06-23 19:54:01] local.INFO: Processing buffer {"connection_id":112888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dc8810012cd54a000738de40000f00b12f..."} 
[2026-06-23 19:54:01] local.INFO: Packet analysis {"connection_id":112888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:54:01] local.INFO: Extracted packet for processing {"connection_id":112888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":752175616,"raw_latitude":121167424,"longitude_deg":75.2175616,"latitude_deg":12.1167424,"altitude":15,"angle":177,"satellites":47,"speed":31,"hex_longitude":"2cd54a00","hex_latitude":"0738de40","is_valid_coordinates":true} 
[2026-06-23 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249483008001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321597216865124352,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3079125107960788992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782224554000,"timestamp_ms":1782224554000,"timestamp_seconds":1782224554,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dc8810"} 
[2026-06-23 19:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:54:01] 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-06-23 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249483008001,"66":27332,"49":206,"2":56832,"24":31,"16":321597216865124352,"44":-3079125107960788992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-06-23 19:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249483008001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-23 19:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321597216865124352,"km_value":321597216865124.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3079125107960788992,"description":"Unknown IO ID 44"} 
[2026-06-23 19:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249483008001,"power":27332,"unknown_49":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-3079125107960788992}} 
[2026-06-23 19:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":112888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:54:01] local.INFO: GPS data processed {"connection_id":112888,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:54:01] local.INFO: Acknowledgment sent {"connection_id":112888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:54:23] local.INFO: TCP Data received {"connection_id":111953,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:54:23] local.INFO: Processing buffer {"connection_id":111953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:54:23] local.INFO: IMEI packet received {"connection_id":111953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":111953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:54:28] local.INFO: TCP Data received {"connection_id":111953,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:54:28] local.INFO: Processing buffer {"connection_id":111953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:54:28] local.INFO: IMEI packet received {"connection_id":111953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":111953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:54:28] local.INFO: TCP Data received {"connection_id":111333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4db0170012d196580071feec80042006c2c..."} 
[2026-06-23 19:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4db0170012d196580071feec80042006c2c..."} 
[2026-06-23 19:54:28] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4db0170012d196580071feec80042006c2c..."} 
[2026-06-23 19:54:28] local.INFO: Packet analysis {"connection_id":111333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:54:28] local.INFO: Extracted packet for processing {"connection_id":111333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249454848001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224454000,"timestamp_ms":1782224454000,"timestamp_seconds":1782224454,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4db0170"} 
[2026-06-23 19:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:54:28] 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-06-23 19: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-06-23 19:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249454848001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249454848001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249454848001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":111333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:54:29] local.INFO: GPS data processed {"connection_id":111333,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:54:29] local.INFO: Acknowledgment sent {"connection_id":111333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:54:30] local.INFO: TCP Data received {"connection_id":111953,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dcb6f0012cd54a400738b9e8000f00ad31..."} 
[2026-06-23 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dcb6f0012cd54a400738b9e8000f00ad31..."} 
[2026-06-23 19:54:30] local.INFO: Processing buffer {"connection_id":111953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dcb6f0012cd54a400738b9e8000f00ad31..."} 
[2026-06-23 19:54:30] local.INFO: Packet analysis {"connection_id":111953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:54:30] local.INFO: Extracted packet for processing {"connection_id":111953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":752175680,"raw_latitude":121158120,"longitude_deg":75.217568,"latitude_deg":12.115812,"altitude":15,"angle":173,"satellites":49,"speed":26,"hex_longitude":"2cd54a40","hex_latitude":"0738b9e8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249485824001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321597667836690432,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077647364335452160,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782224566000,"timestamp_ms":1782224566000,"timestamp_seconds":1782224566,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dcb6f0"} 
[2026-06-23 19:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:54:30] 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-06-23 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 19:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249485824001,"66":27213,"214":206,"2":56832,"24":26,"16":321597667836690432,"44":-3077647364335452160},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,2,24,16,44]} 
[2026-06-23 19:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249485824001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:54:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-06-23 19:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321597667836690432,"km_value":321597667836690.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077647364335452160,"description":"Unknown IO ID 44"} 
[2026-06-23 19:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249485824001,"power":27213,"unknown_214":206,"power_alt":56832,"ignition":26,"odometer":null,"unknown_44":-3077647364335452160}} 
[2026-06-23 19:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":111953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:54:30] local.INFO: GPS data processed {"connection_id":111953,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:54:30] local.INFO: Acknowledgment sent {"connection_id":111953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:54:36] local.INFO: TCP Data received {"connection_id":111952,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:54:36] local.INFO: Processing buffer {"connection_id":111952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:54:36] local.INFO: IMEI packet received {"connection_id":111952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":111952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:54:52] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:54:52] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:54:52] local.INFO: IMEI packet received {"connection_id":111150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":111150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:54:57] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:54:57] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:54:57] local.INFO: IMEI packet received {"connection_id":111150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":111150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:54:58] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4db5378012d196580071feec80042006c2c..."} 
[2026-06-23 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4db5378012d196580071feec80042006c2c..."} 
[2026-06-23 19:54:58] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4db5378012d196580071feec80042006c2c..."} 
[2026-06-23 19:54:58] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:54:58] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249460224001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54: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-06-23 19:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224475000,"timestamp_ms":1782224475000,"timestamp_seconds":1782224475,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4db5378"} 
[2026-06-23 19:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:54: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-06-23 19:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-803677888180315803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3652800513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:54:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,175,45,128,238,66,44,10,93,11,1,240,200,227,244,31,4,113,205,103,101,43,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":200,"original":4325484,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 19:54:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249460224001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249460224001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:54:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249460224001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:54:58] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:54:58] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:55:02] local.INFO: TCP Data received {"connection_id":111953,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dce9b8012cd54f40073895d8000e00a830..."} 
[2026-06-23 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dce9b8012cd54f40073895d8000e00a830..."} 
[2026-06-23 19:55:02] local.INFO: Processing buffer {"connection_id":111953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dce9b8012cd54f40073895d8000e00a830..."} 
[2026-06-23 19:55:02] local.INFO: Packet analysis {"connection_id":111953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:55:02] local.INFO: Extracted packet for processing {"connection_id":111953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:55:02] local.INFO: GPS Element Parsed {"raw_longitude":752176960,"raw_latitude":121148888,"longitude_deg":75.217696,"latitude_deg":12.1148888,"altitude":14,"angle":168,"satellites":48,"speed":33,"hex_longitude":"2cd54f40","hex_latitude":"073895d8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249488896001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321598118808256512,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077576995593656320,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224579000,"timestamp_ms":1782224579000,"timestamp_seconds":1782224579,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dce9b8"} 
[2026-06-23 19:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:55:02] 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-06-23 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 19:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249488896001,"66":27376,"214":206,"2":56832,"24":33,"16":321598118808256512,"44":-3077576995593656320},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,2,24,16,44]} 
[2026-06-23 19:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249488896001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:55:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-06-23 19:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321598118808256512,"km_value":321598118808256.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077576995593656320,"description":"Unknown IO ID 44"} 
[2026-06-23 19:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249488896001,"power":27376,"unknown_214":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-3077576995593656320}} 
[2026-06-23 19:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":111953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:55:02] local.INFO: GPS data processed {"connection_id":111953,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:55:02] local.INFO: Acknowledgment sent {"connection_id":111953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:55:06] local.INFO: TCP Data received {"connection_id":111151,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:55:06] local.INFO: Processing buffer {"connection_id":111151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 19:55:06] local.INFO: IMEI packet received {"connection_id":111151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 19:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":111151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:55:23] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:55:23] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:55:23] local.INFO: IMEI packet received {"connection_id":111152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":111152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:55:28] local.INFO: TCP Data received {"connection_id":111150,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dba580012d196580071feec80042006c2b..."} 
[2026-06-23 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dba580012d196580071feec80042006c2b..."} 
[2026-06-23 19:55:28] local.INFO: Processing buffer {"connection_id":111150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dba580012d196580071feec80042006c2b..."} 
[2026-06-23 19:55:28] local.INFO: Packet analysis {"connection_id":111150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:55:28] local.INFO: Extracted packet for processing {"connection_id":111150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:55: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-06-23 19:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249465600001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224496000,"timestamp_ms":1782224496000,"timestamp_seconds":1782224496,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dba580"} 
[2026-06-23 19:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:55: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 19:55:28] 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-06-23 19:55: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-06-23 19:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249465600001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249465600001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249465600001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":111150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:55:28] local.INFO: GPS data processed {"connection_id":111150,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:55:28] local.INFO: Acknowledgment sent {"connection_id":111150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:55:28] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:55:28] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:55:28] local.INFO: IMEI packet received {"connection_id":111152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":111152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:55:30] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dd14b0012cd557c007387728000f009c2e..."} 
[2026-06-23 19:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dd14b0012cd557c007387728000f009c2e..."} 
[2026-06-23 19:55:30] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dd14b0012cd557c007387728000f009c2e..."} 
[2026-06-23 19:55:30] local.INFO: Packet analysis {"connection_id":111152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:55:30] local.INFO: Extracted packet for processing {"connection_id":111152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":752179136,"raw_latitude":121141032,"longitude_deg":75.2179136,"latitude_deg":12.1141032,"altitude":15,"angle":156,"satellites":46,"speed":21,"hex_longitude":"2cd557c0","hex_latitude":"07387728","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249492224001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321598513945247744,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3076169620712466432,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782224590000,"timestamp_ms":1782224590000,"timestamp_seconds":1782224590,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dd14b0"} 
[2026-06-23 19:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:55:30] 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-06-23 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249492224001,"66":27321,"214":206,"2":56832,"24":21,"16":321598513945247744,"44":-3076169620712466432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,2,24,16,44]} 
[2026-06-23 19:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249492224001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:55:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-06-23 19:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321598513945247744,"km_value":321598513945247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3076169620712466432,"description":"Unknown IO ID 44"} 
[2026-06-23 19:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249492224001,"power":27321,"unknown_214":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-3076169620712466432}} 
[2026-06-23 19:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":111152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:55:30] local.INFO: GPS data processed {"connection_id":111152,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:55:30] local.INFO: Acknowledgment sent {"connection_id":111152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:55:52] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:55:52] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:55:52] local.INFO: IMEI packet received {"connection_id":111334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":111334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:55:57] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:55:57] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:55:57] local.INFO: IMEI packet received {"connection_id":111334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":111334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:55:58] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dbf788012d196580071feec80042006c2c..."} 
[2026-06-23 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dbf788012d196580071feec80042006c2c..."} 
[2026-06-23 19:55:58] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dbf788012d196580071feec80042006c2c..."} 
[2026-06-23 19:55:58] local.INFO: Packet analysis {"connection_id":111334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:55:58] local.INFO: Extracted packet for processing {"connection_id":111334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4db"} 
[2026-06-23 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249470976001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:55: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-06-23 19:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224517000,"timestamp_ms":1782224517000,"timestamp_seconds":1782224517,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dbf788"} 
[2026-06-23 19:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249470976001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249470976001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:55:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249470976001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":111334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:55:58] local.INFO: GPS data processed {"connection_id":111334,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:55:58] local.INFO: Acknowledgment sent {"connection_id":111334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:56:02] local.INFO: TCP Data received {"connection_id":111152,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dd4778012cd56440073855200010009e2f..."} 
[2026-06-23 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dd4778012cd56440073855200010009e2f..."} 
[2026-06-23 19:56:02] local.INFO: Processing buffer {"connection_id":111152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dd4778012cd56440073855200010009e2f..."} 
[2026-06-23 19:56:02] local.INFO: Packet analysis {"connection_id":111152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:56:02] local.INFO: Extracted packet for processing {"connection_id":111152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":752182336,"raw_latitude":121132320,"longitude_deg":75.2182336,"latitude_deg":12.113232,"altitude":16,"angle":158,"satellites":47,"speed":35,"hex_longitude":"2cd56440","hex_latitude":"07385520","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249495040001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321598964916813824,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3073777083412436992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224603000,"timestamp_ms":1782224603000,"timestamp_seconds":1782224603,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dd4778"} 
[2026-06-23 19:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:56:02] 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-06-23 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249495040001,"66":26876,"214":206,"2":56832,"24":35,"16":321598964916813824,"44":-3073777083412436992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,2,24,16,44]} 
[2026-06-23 19:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249495040001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-06-23 19:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321598964916813824,"km_value":321598964916813.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3073777083412436992,"description":"Unknown IO ID 44"} 
[2026-06-23 19:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249495040001,"power":26876,"unknown_214":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-3073777083412436992}} 
[2026-06-23 19:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":111152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:56:02] local.INFO: GPS data processed {"connection_id":111152,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:56:02] local.INFO: Acknowledgment sent {"connection_id":111152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:56:23] local.INFO: TCP Data received {"connection_id":112889,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:23] local.INFO: Processing buffer {"connection_id":112889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:23] local.INFO: IMEI packet received {"connection_id":112889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":112889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:56:26] local.INFO: TCP Data received {"connection_id":112889,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:26] local.INFO: Processing buffer {"connection_id":112889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:26] local.INFO: IMEI packet received {"connection_id":112889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":112889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:56:28] local.INFO: TCP Data received {"connection_id":112889,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:28] local.INFO: Processing buffer {"connection_id":112889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:56:28] local.INFO: IMEI packet received {"connection_id":112889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":112889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:56:29] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dc4990012d196580071feec80042006c2b..."} 
[2026-06-23 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dc4990012d196580071feec80042006c2b..."} 
[2026-06-23 19:56:29] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dc4990012d196580071feec80042006c2b..."} 
[2026-06-23 19:56:29] local.INFO: Packet analysis {"connection_id":111334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:56:29] local.INFO: Extracted packet for processing {"connection_id":111334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249476352001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224538000,"timestamp_ms":1782224538000,"timestamp_seconds":1782224538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dc4990"} 
[2026-06-23 19:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-803407305240667803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3668928513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,165,45,128,238,66,43,10,44,1,240,227,244,31,4,113,205,93,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:56:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249476352001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249476352001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249476352001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":111334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:56:29] local.INFO: GPS data processed {"connection_id":111334,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:56:29] local.INFO: Acknowledgment sent {"connection_id":111334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:56:29] local.INFO: TCP Data received {"connection_id":112889,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4df4348012cd62a4007375c280009008631..."} 
[2026-06-23 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4df4348012cd62a4007375c280009008631..."} 
[2026-06-23 19:56:29] local.INFO: Processing buffer {"connection_id":112889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4df4348012cd62a4007375c280009008631..."} 
[2026-06-23 19:56:29] local.INFO: Packet analysis {"connection_id":112889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4df"} 
[2026-06-23 19:56:29] local.INFO: Extracted packet for processing {"connection_id":112889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4df"} 
[2026-06-23 19:56:29] local.INFO: GPS Element Parsed {"raw_longitude":752233024,"raw_latitude":121068584,"longitude_deg":75.2233024,"latitude_deg":12.1068584,"altitude":9,"angle":134,"satellites":49,"speed":14,"hex_longitude":"2cd62a40","hex_latitude":"07375c28","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249530368001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321602920581693440,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3016285819437271040,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224733000,"timestamp_ms":1782224733000,"timestamp_seconds":1782224733,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4df4348"} 
[2026-06-23 19:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:56:29] 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-06-23 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 19:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249530368001,"66":27343,"92":206,"2":56832,"24":14,"16":321602920581693440,"44":-3016285819437271040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249530368001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321602920581693440,"km_value":321602920581693.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3016285819437271040,"description":"Unknown IO ID 44"} 
[2026-06-23 19:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249530368001,"power":27343,"unknown_92":206,"power_alt":56832,"ignition":14,"odometer":null,"unknown_44":-3016285819437271040}} 
[2026-06-23 19:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":112889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:56:29] local.INFO: GPS data processed {"connection_id":112889,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:56:29] local.INFO: Acknowledgment sent {"connection_id":112889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:56:52] local.INFO: TCP Data received {"connection_id":111153,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:56:52] local.INFO: Processing buffer {"connection_id":111153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:56:52] local.INFO: IMEI packet received {"connection_id":111153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":111153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:56:57] local.INFO: TCP Data received {"connection_id":111153,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:56:57] local.INFO: Processing buffer {"connection_id":111153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:56:57] local.INFO: IMEI packet received {"connection_id":111153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":111153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:56:58] local.INFO: TCP Data received {"connection_id":111153,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dc9b98012d196580071feec80042006c2c..."} 
[2026-06-23 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dc9b98012d196580071feec80042006c2c..."} 
[2026-06-23 19:56:58] local.INFO: Processing buffer {"connection_id":111153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dc9b98012d196580071feec80042006c2c..."} 
[2026-06-23 19:56:58] local.INFO: Packet analysis {"connection_id":111153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:56:58] local.INFO: Extracted packet for processing {"connection_id":111153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249481728001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56: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-06-23 19:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224559000,"timestamp_ms":1782224559000,"timestamp_seconds":1782224559,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dc9b98"} 
[2026-06-23 19:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:56: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-06-23 19:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-803317110927451803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":34817,"corrected_to":0} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3674304513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:56:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,247,45,128,238,66,44,10,165,43,1,240,233,227,244,31,4,113,205,175,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":247,"original":34817,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:56:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249481728001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249481728001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:56:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249481728001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":111153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:56:58] local.INFO: GPS data processed {"connection_id":111153,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:56:58] local.INFO: Acknowledgment sent {"connection_id":111153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:57:00] local.INFO: TCP Data received {"connection_id":112889,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4df4b18012cd62c8007375a780009007931..."} 
[2026-06-23 19:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4df4b18012cd62c8007375a780009007931..."} 
[2026-06-23 19:57:00] local.INFO: Processing buffer {"connection_id":112889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4df4b18012cd62c8007375a780009007931..."} 
[2026-06-23 19:57:00] local.INFO: Packet analysis {"connection_id":112889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4df"} 
[2026-06-23 19:57:00] local.INFO: Extracted packet for processing {"connection_id":112889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4df"} 
[2026-06-23 19:57:00] local.INFO: GPS Element Parsed {"raw_longitude":752233600,"raw_latitude":121068152,"longitude_deg":75.22336,"latitude_deg":12.1068152,"altitude":9,"angle":121,"satellites":49,"speed":13,"hex_longitude":"2cd62c80","hex_latitude":"07375a78","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249531648001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321602950646464512,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3014526600833390592,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782224735000,"timestamp_ms":1782224735000,"timestamp_seconds":1782224735,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4df4b18"} 
[2026-06-23 19:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:57:00] 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-06-23 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 19:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249531648001,"66":26767,"92":206,"2":56832,"24":13,"16":321602950646464512,"44":-3014526600833390592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249531648001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:57:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321602950646464512,"km_value":321602950646464.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3014526600833390592,"description":"Unknown IO ID 44"} 
[2026-06-23 19:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249531648001,"power":26767,"unknown_92":206,"power_alt":56832,"ignition":13,"odometer":null,"unknown_44":-3014526600833390592}} 
[2026-06-23 19:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":112889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:57:00] local.INFO: GPS data processed {"connection_id":112889,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:57:00] local.INFO: Acknowledgment sent {"connection_id":112889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:57:28] local.INFO: TCP Data received {"connection_id":111956,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:57:28] local.INFO: Processing buffer {"connection_id":111956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:57:28] local.INFO: IMEI packet received {"connection_id":111956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":111956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:57:29] local.INFO: TCP Data received {"connection_id":111153,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dceda0012d196580071feec80042006c2c..."} 
[2026-06-23 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dceda0012d196580071feec80042006c2c..."} 
[2026-06-23 19:57:29] local.INFO: Processing buffer {"connection_id":111153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dceda0012d196580071feec80042006c2c..."} 
[2026-06-23 19:57:29] local.INFO: Packet analysis {"connection_id":111153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:57:29] local.INFO: Extracted packet for processing {"connection_id":111153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dc"} 
[2026-06-23 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249487104001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224580000,"timestamp_ms":1782224580000,"timestamp_seconds":1782224580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dceda0"} 
[2026-06-23 19:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:57:29] 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-06-23 19:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-803226916614235803,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":34817,"corrected_to":0} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3679680513,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 19:57:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:29] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,73,45,128,238,66,43,10,247,44,165,1,240,31,227,244,4,113,205,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":247,"original":34817,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 19:57:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 19:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249487104001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249487104001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:57:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249487104001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":111153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:57:29] local.INFO: GPS data processed {"connection_id":111153,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:57:29] local.INFO: Acknowledgment sent {"connection_id":111153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:57:32] local.INFO: TCP Data received {"connection_id":111956,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:57:32] local.INFO: Processing buffer {"connection_id":111956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:57:32] local.INFO: IMEI packet received {"connection_id":111956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":111956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:57:33] local.INFO: TCP Data received {"connection_id":111956,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dff6f8012cd65e8007371eb8000d00882d..."} 
[2026-06-23 19:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dff6f8012cd65e8007371eb8000d00882d..."} 
[2026-06-23 19:57:33] local.INFO: Processing buffer {"connection_id":111956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dff6f8012cd65e8007371eb8000d00882d..."} 
[2026-06-23 19:57:33] local.INFO: Packet analysis {"connection_id":111956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4df"} 
[2026-06-23 19:57:33] local.INFO: Extracted packet for processing {"connection_id":111956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4df"} 
[2026-06-23 19:57:33] local.INFO: GPS Element Parsed {"raw_longitude":752246400,"raw_latitude":121052856,"longitude_deg":75.22464,"latitude_deg":12.1052856,"altitude":13,"angle":136,"satellites":45,"speed":35,"hex_longitude":"2cd65e80","hex_latitude":"07371eb8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249541376001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321603968553713664,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3004604607907016704,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782224779000,"timestamp_ms":1782224779000,"timestamp_seconds":1782224779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dff6f8"} 
[2026-06-23 19:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:57:33] 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-06-23 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 19:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249541376001,"66":26778,"92":206,"2":56832,"24":35,"16":321603968553713664,"44":-3004604607907016704},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249541376001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321603968553713664,"km_value":321603968553713.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3004604607907016704,"description":"Unknown IO ID 44"} 
[2026-06-23 19:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249541376001,"power":26778,"unknown_92":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-3004604607907016704}} 
[2026-06-23 19:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":111956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:57:33] local.INFO: GPS data processed {"connection_id":111956,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:57:33] local.INFO: Acknowledgment sent {"connection_id":111956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:57:34] local.INFO: TCP Data received {"connection_id":111956,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e00a80012cd66c80073713a8000d007c2b..."} 
[2026-06-23 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e00a80012cd66c80073713a8000d007c2b..."} 
[2026-06-23 19:57:34] local.INFO: Processing buffer {"connection_id":111956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e00a80012cd66c80073713a8000d007c2b..."} 
[2026-06-23 19:57:34] local.INFO: Packet analysis {"connection_id":111956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:57:34] local.INFO: Extracted packet for processing {"connection_id":111956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":752249984,"raw_latitude":121050024,"longitude_deg":75.2249984,"latitude_deg":12.1050024,"altitude":13,"angle":124,"satellites":43,"speed":34,"hex_longitude":"2cd66c80","hex_latitude":"073713a8","is_valid_coordinates":true} 
[2026-06-23 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249543424001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321604187597045760,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2999819533304285184,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782224784000,"timestamp_ms":1782224784000,"timestamp_seconds":1782224784,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e00a80"} 
[2026-06-23 19:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:57: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-06-23 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-23 19:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249543424001,"66":26984,"92":206,"2":56832,"24":34,"16":321604187597045760,"44":-2999819533304285184},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249543424001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321604187597045760,"km_value":321604187597045.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2999819533304285184,"description":"Unknown IO ID 44"} 
[2026-06-23 19:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249543424001,"power":26984,"unknown_92":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-2999819533304285184}} 
[2026-06-23 19:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":111956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:57:34] local.INFO: GPS data processed {"connection_id":111956,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:57:34] local.INFO: Acknowledgment sent {"connection_id":111956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:57:50] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:50] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:50] local.INFO: IMEI packet received {"connection_id":111335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":111335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:57:52] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:52] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:52] local.INFO: IMEI packet received {"connection_id":111335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":111335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:57:57] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:57] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:57:57] local.INFO: IMEI packet received {"connection_id":111335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":111335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:57:58] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dd3fa8012d196580071feec80042006c2a..."} 
[2026-06-23 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dd3fa8012d196580071feec80042006c2a..."} 
[2026-06-23 19:57:58] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dd3fa8012d196580071feec80042006c2a..."} 
[2026-06-23 19:57:58] local.INFO: Packet analysis {"connection_id":111335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:57:58] local.INFO: Extracted packet for processing {"connection_id":111335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:57:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249492480001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:57: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-06-23 19:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224601000,"timestamp_ms":1782224601000,"timestamp_seconds":1782224601,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dd3fa8"} 
[2026-06-23 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-06-23 19:57: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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:57: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-06-23 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-06-23 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-06-23 19:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249492480001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249492480001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:57:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249492480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":111335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:57:58] local.INFO: GPS data processed {"connection_id":111335,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:57:58] local.INFO: Acknowledgment sent {"connection_id":111335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:58:05] local.INFO: TCP Data received {"connection_id":111956,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e03190012cd68bc007370198000b007232..."} 
[2026-06-23 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e03190012cd68bc007370198000b007232..."} 
[2026-06-23 19:58:05] local.INFO: Processing buffer {"connection_id":111956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e03190012cd68bc007370198000b007232..."} 
[2026-06-23 19:58:05] local.INFO: Packet analysis {"connection_id":111956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:58:05] local.INFO: Extracted packet for processing {"connection_id":111956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":752257984,"raw_latitude":121045400,"longitude_deg":75.2257984,"latitude_deg":12.10454,"altitude":11,"angle":114,"satellites":50,"speed":37,"hex_longitude":"2cd68bc0","hex_latitude":"07370198","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249544704001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321604629978677248,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2995878883631060992,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782224794000,"timestamp_ms":1782224794000,"timestamp_seconds":1782224794,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e03190"} 
[2026-06-23 19:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:58: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-06-23 19: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 19:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249544704001,"66":27376,"92":206,"2":56832,"24":37,"16":321604629978677248,"44":-2995878883631060992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249544704001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:58:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321604629978677248,"km_value":321604629978677.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2995878883631060992,"description":"Unknown IO ID 44"} 
[2026-06-23 19:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249544704001,"power":27376,"unknown_92":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-2995878883631060992}} 
[2026-06-23 19:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":111956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:58:05] local.INFO: GPS data processed {"connection_id":111956,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:58:05] local.INFO: Acknowledgment sent {"connection_id":111956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:58:28] local.INFO: TCP Data received {"connection_id":111154,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:58:28] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:58:28] local.INFO: IMEI packet received {"connection_id":111154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":111154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:58:28] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4dd91b0012d196580071feec80042006c2b..."} 
[2026-06-23 19:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4dd91b0012d196580071feec80042006c2b..."} 
[2026-06-23 19:58:28] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4dd91b0012d196580071feec80042006c2b..."} 
[2026-06-23 19:58:28] local.INFO: Packet analysis {"connection_id":111335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:58:28] local.INFO: Extracted packet for processing {"connection_id":111335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4dd"} 
[2026-06-23 19:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249497856001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224622000,"timestamp_ms":1782224622000,"timestamp_seconds":1782224622,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4dd91b0"} 
[2026-06-23 19:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:58:28] 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-06-23 19: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-06-23 19:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249497856001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249497856001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249497856001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":111335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:58:29] local.INFO: GPS data processed {"connection_id":111335,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:58:29] local.INFO: Acknowledgment sent {"connection_id":111335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:58:33] local.INFO: TCP Data received {"connection_id":111154,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:58:33] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:58:33] local.INFO: IMEI packet received {"connection_id":111154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":111154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:58:34] local.INFO: TCP Data received {"connection_id":111154,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e058a0012cd6ac400736ee68000a007c31..."} 
[2026-06-23 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e058a0012cd6ac400736ee68000a007c31..."} 
[2026-06-23 19:58:34] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e058a0012cd6ac400736ee68000a007c31..."} 
[2026-06-23 19:58:34] local.INFO: Packet analysis {"connection_id":111154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:58:34] local.INFO: Extracted packet for processing {"connection_id":111154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":752266304,"raw_latitude":121040488,"longitude_deg":75.2266304,"latitude_deg":12.1040488,"altitude":10,"angle":124,"satellites":49,"speed":33,"hex_longitude":"2cd6ac40","hex_latitude":"0736ee68","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249547264001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321605089540177920,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2987082790610036736,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782224804000,"timestamp_ms":1782224804000,"timestamp_seconds":1782224804,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e058a0"} 
[2026-06-23 19:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:58: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-06-23 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 19:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249547264001,"66":27321,"92":206,"2":56832,"24":33,"16":321605089540177920,"44":-2987082790610036736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249547264001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321605089540177920,"km_value":321605089540177.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2987082790610036736,"description":"Unknown IO ID 44"} 
[2026-06-23 19:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249547264001,"power":27321,"unknown_92":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-2987082790610036736}} 
[2026-06-23 19:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":111154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:58:34] local.INFO: GPS data processed {"connection_id":111154,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:58:34] local.INFO: Acknowledgment sent {"connection_id":111154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:58:52] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:52] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:52] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:58:53] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:53] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:53] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:58:57] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:57] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:58:57] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:58:58] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e11808012d196580071feec80042006c2c..."} 
[2026-06-23 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e11808012d196580071feec80042006c2c..."} 
[2026-06-23 19:58:58] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e11808012d196580071feec80042006c2c..."} 
[2026-06-23 19:58:58] local.INFO: Packet analysis {"connection_id":111336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:58:58] local.INFO: Extracted packet for processing {"connection_id":111336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249556992001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:58: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-06-23 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782224853000,"timestamp_ms":1782224853000,"timestamp_seconds":1782224853,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e11808"} 
[2026-06-23 19:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19: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-06-23 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:58: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-06-23 19:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 19:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249556992001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249556992001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:58:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249556992001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":111336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:58:58] local.INFO: GPS data processed {"connection_id":111336,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:58:58] local.INFO: Acknowledgment sent {"connection_id":111336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:59:05] local.INFO: TCP Data received {"connection_id":111154,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e07fb0012cd6c3000736db980008008730..."} 
[2026-06-23 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e07fb0012cd6c3000736db980008008730..."} 
[2026-06-23 19:59:05] local.INFO: Processing buffer {"connection_id":111154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e07fb0012cd6c3000736db980008008730..."} 
[2026-06-23 19:59:05] local.INFO: Packet analysis {"connection_id":111154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:59:05] local.INFO: Extracted packet for processing {"connection_id":111154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e0"} 
[2026-06-23 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":752272128,"raw_latitude":121035672,"longitude_deg":75.2272128,"latitude_deg":12.1035672,"altitude":8,"angle":135,"satellites":48,"speed":28,"hex_longitude":"2cd6c300","hex_latitude":"0736db98","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249549824001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321605450317430784,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2977934853868197888,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782224814000,"timestamp_ms":1782224814000,"timestamp_seconds":1782224814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e07fb0"} 
[2026-06-23 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:59: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-06-23 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249549824001,"66":27343,"92":206,"2":56832,"24":28,"16":321605450317430784,"44":-2977934853868197888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-23 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249549824001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:59:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-23 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321605450317430784,"km_value":321605450317430.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2977934853868197888,"description":"Unknown IO ID 44"} 
[2026-06-23 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249549824001,"power":27343,"unknown_92":206,"power_alt":56832,"ignition":28,"odometer":null,"unknown_44":-2977934853868197888}} 
[2026-06-23 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":111154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:59:05] local.INFO: GPS data processed {"connection_id":111154,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:59:05] local.INFO: Acknowledgment sent {"connection_id":111154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:59:23] local.INFO: TCP Data received {"connection_id":111957,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:23] local.INFO: Processing buffer {"connection_id":111957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:23] local.INFO: IMEI packet received {"connection_id":111957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 19:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:59:23] local.INFO: TCP Data received {"connection_id":111957,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:23] local.INFO: Processing buffer {"connection_id":111957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:23] local.INFO: IMEI packet received {"connection_id":111957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:59:28] local.INFO: TCP Data received {"connection_id":111957,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:28] local.INFO: Processing buffer {"connection_id":111957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 19:59:28] local.INFO: IMEI packet received {"connection_id":111957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 19:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:59:28] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e16a10012d196580071feec80042006c2c..."} 
[2026-06-23 19:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e16a10012d196580071feec80042006c2c..."} 
[2026-06-23 19:59:28] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e16a10012d196580071feec80042006c2c..."} 
[2026-06-23 19:59:28] local.INFO: Packet analysis {"connection_id":111336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:59:28] local.INFO: Extracted packet for processing {"connection_id":111336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19: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-06-23 19:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249562368001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782224874000,"timestamp_ms":1782224874000,"timestamp_seconds":1782224874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e16a10"} 
[2026-06-23 19:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 19: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":31,"data_length":795,"current_offset":136} 
[2026-06-23 19:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 19: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-06-23 19:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249562368001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249562368001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249562368001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":111336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:59:29] local.INFO: GPS data processed {"connection_id":111336,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:59:29] local.INFO: Acknowledgment sent {"connection_id":111336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:59:30] local.INFO: TCP Data received {"connection_id":111957,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e1fa98012cd7f34007362878000b007430..."} 
[2026-06-23 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e1fa98012cd7f34007362878000b007430..."} 
[2026-06-23 19:59:31] local.INFO: Processing buffer {"connection_id":111957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e1fa98012cd7f34007362878000b007430..."} 
[2026-06-23 19:59:31] local.INFO: Packet analysis {"connection_id":111957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:59:31] local.INFO: Extracted packet for processing {"connection_id":111957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":752350016,"raw_latitude":120989816,"longitude_deg":75.2350016,"latitude_deg":12.0989816,"altitude":11,"angle":116,"satellites":48,"speed":59,"hex_longitude":"2cd7f340","hex_latitude":"07362878","is_valid_coordinates":true} 
[2026-06-23 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-06-23 19:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249575680001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321609852658909184,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2895181210727260160,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782224911000,"timestamp_ms":1782224911000,"timestamp_seconds":1782224911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e1fa98"} 
[2026-06-23 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-06-23 19:59:31] 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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 19:59:31] 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-06-23 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-06-23 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-06-23 19:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 19:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 19:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 19:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249575680001,"66":27463,"170":206,"2":56832,"24":59,"16":321609852658909184,"44":-2895181210727260160},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,2,24,16,44]} 
[2026-06-23 19:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 19:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 19:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249575680001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:59:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-23 19:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321609852658909184,"km_value":321609852658909.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2895181210727260160,"description":"Unknown IO ID 44"} 
[2026-06-23 19:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249575680001,"power":27463,"unknown_170":206,"power_alt":56832,"ignition":59,"odometer":null,"unknown_44":-2895181210727260160}} 
[2026-06-23 19:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":111957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:59:31] local.INFO: GPS data processed {"connection_id":111957,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:59:31] local.INFO: Acknowledgment sent {"connection_id":111957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 19:59:51] local.INFO: TCP Data received {"connection_id":111155,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:51] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:51] local.INFO: IMEI packet received {"connection_id":111155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 19:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":111155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 19:59:56] local.INFO: TCP Data received {"connection_id":111155,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:56] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:56] local.INFO: IMEI packet received {"connection_id":111155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":111155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:59:56] local.INFO: TCP Data received {"connection_id":111155,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:56] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 19:59:56] local.INFO: IMEI packet received {"connection_id":111155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":111155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 19:59:57] local.INFO: TCP Data received {"connection_id":111155,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e1bc18012d196580071feec80042006c2a..."} 
[2026-06-23 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e1bc18012d196580071feec80042006c2a..."} 
[2026-06-23 19:59:57] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e1bc18012d196580071feec80042006c2a..."} 
[2026-06-23 19:59:57] local.INFO: Packet analysis {"connection_id":111155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:59:57] local.INFO: Extracted packet for processing {"connection_id":111155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e1"} 
[2026-06-23 19:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 19:59: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-06-23 19:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249567744001,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 19:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 19:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782224895000,"timestamp_ms":1782224895000,"timestamp_seconds":1782224895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e1bc18"} 
[2026-06-23 19:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 19:59:57] 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-06-23 19:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 19:59:57] 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-06-23 19:59: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-06-23 19:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 19:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 19:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 19:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 19:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 19:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 19:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 19:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249567744001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 19:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 19:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 19:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249567744001,"description":"Unknown IO ID 0"} 
[2026-06-23 19:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 19:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 19:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 19:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 19:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249567744001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 19:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":111155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 19:59:57] local.INFO: GPS data processed {"connection_id":111155,"processed":1,"errors":0,"total":1} 
[2026-06-23 19:59:57] local.INFO: Acknowledgment sent {"connection_id":111155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:00:02] local.INFO: TCP Data received {"connection_id":111957,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e215f0012cd8178007361790000b00742f..."} 
[2026-06-23 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e215f0012cd8178007361790000b00742f..."} 
[2026-06-23 20:00:02] local.INFO: Processing buffer {"connection_id":111957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e215f0012cd8178007361790000b00742f..."} 
[2026-06-23 20:00:02] local.INFO: Packet analysis {"connection_id":111957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:02] local.INFO: Extracted packet for processing {"connection_id":111957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":752359296,"raw_latitude":120985488,"longitude_deg":75.2359296,"latitude_deg":12.0985488,"altitude":11,"angle":116,"satellites":47,"speed":55,"hex_longitude":"2cd81780","hex_latitude":"07361790","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249577216001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321610342285180928,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2885892536496785408,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224918000,"timestamp_ms":1782224918000,"timestamp_seconds":1782224918,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e215f0"} 
[2026-06-23 20:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:00:02] 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-06-23 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:00:02] 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-06-23 20: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-06-23 20:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249577216001,"66":27604,"170":206,"2":56832,"24":55,"16":321610342285180928,"44":-2885892536496785408},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,2,24,16,44]} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249577216001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-23 20:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321610342285180928,"km_value":321610342285180.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2885892536496785408,"description":"Unknown IO ID 44"} 
[2026-06-23 20:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249577216001,"power":27604,"unknown_170":206,"power_alt":56832,"ignition":55,"odometer":null,"unknown_44":-2885892536496785408}} 
[2026-06-23 20:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":111957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:00:02] local.INFO: GPS data processed {"connection_id":111957,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:00:02] local.INFO: Acknowledgment sent {"connection_id":111957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:00:02] local.INFO: TCP Data received {"connection_id":111155,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e20e20012d196580071feec80042006c2b..."} 
[2026-06-23 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e20e20012d196580071feec80042006c2b..."} 
[2026-06-23 20:00:02] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e20e20012d196580071feec80042006c2b..."} 
[2026-06-23 20:00:02] local.INFO: Packet analysis {"connection_id":111155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:02] local.INFO: Extracted packet for processing {"connection_id":111155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249573120001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224916000,"timestamp_ms":1782224916000,"timestamp_seconds":1782224916,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e20e20"} 
[2026-06-23 20:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:00: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-06-23 20: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-06-23 20:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249573120001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249573120001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249573120001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":111155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:00:02] local.INFO: GPS data processed {"connection_id":111155,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:00:02] local.INFO: Acknowledgment sent {"connection_id":111155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:00:23] local.INFO: TCP Data received {"connection_id":111156,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:23] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:23] local.INFO: IMEI packet received {"connection_id":111156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":111156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:00:27] local.INFO: TCP Data received {"connection_id":111156,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:27] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:27] local.INFO: IMEI packet received {"connection_id":111156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":111156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:00:28] local.INFO: TCP Data received {"connection_id":111156,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:28] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:00:28] local.INFO: IMEI packet received {"connection_id":111156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":111156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:00:29] local.INFO: TCP Data received {"connection_id":111156,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e23148012cd83940073606d8000c00762f..."} 
[2026-06-23 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e23148012cd83940073606d8000c00762f..."} 
[2026-06-23 20:00:29] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e23148012cd83940073606d8000c00762f..."} 
[2026-06-23 20:00:29] local.INFO: Packet analysis {"connection_id":111156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:29] local.INFO: Extracted packet for processing {"connection_id":111156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:29] local.INFO: GPS Element Parsed {"raw_longitude":752367936,"raw_latitude":120981208,"longitude_deg":75.2367936,"latitude_deg":12.0981208,"altitude":12,"angle":118,"satellites":47,"speed":54,"hex_longitude":"2cd83940","hex_latitude":"073606d8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249579008001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321610801846681600,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2875689068592132096,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782224925000,"timestamp_ms":1782224925000,"timestamp_seconds":1782224925,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e23148"} 
[2026-06-23 20:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:00:29] 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-06-23 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 20:00:29] 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-06-23 20: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-06-23 20:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249579008001,"66":26876,"170":206,"2":56832,"24":54,"16":321610801846681600,"44":-2875689068592132096},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,2,24,16,44]} 
[2026-06-23 20:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249579008001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:00:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-23 20:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321610801846681600,"km_value":321610801846681.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2875689068592132096,"description":"Unknown IO ID 44"} 
[2026-06-23 20:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249579008001,"power":26876,"unknown_170":206,"power_alt":56832,"ignition":54,"odometer":null,"unknown_44":-2875689068592132096}} 
[2026-06-23 20:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":111156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:00:29] local.INFO: GPS data processed {"connection_id":111156,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:00:29] local.INFO: Acknowledgment sent {"connection_id":111156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:00:31] local.INFO: TCP Data received {"connection_id":112892,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:00:31] local.INFO: Processing buffer {"connection_id":112892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:00:31] local.INFO: IMEI packet received {"connection_id":112892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":112892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:00:33] local.INFO: TCP Data received {"connection_id":111155,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e26028012d196580071feec80042006c2a..."} 
[2026-06-23 20:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e26028012d196580071feec80042006c2a..."} 
[2026-06-23 20:00:33] local.INFO: Processing buffer {"connection_id":111155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e26028012d196580071feec80042006c2a..."} 
[2026-06-23 20:00:33] local.INFO: Packet analysis {"connection_id":111155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:33] local.INFO: Extracted packet for processing {"connection_id":111155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249578496001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00: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-06-23 20:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782224937000,"timestamp_ms":1782224937000,"timestamp_seconds":1782224937,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e26028"} 
[2026-06-23 20:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:00:33] 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-06-23 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 20:00:33] 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-06-23 20: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-06-23 20:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249578496001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249578496001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249578496001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":111155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:00:33] local.INFO: GPS data processed {"connection_id":111155,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:00:33] local.INFO: Acknowledgment sent {"connection_id":111155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:00:34] local.INFO: TCP Data received {"connection_id":111156,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e24ca0012cd85ac00735f3d0000c007930..."} 
[2026-06-23 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e24ca0012cd85ac00735f3d0000c007930..."} 
[2026-06-23 20:00:34] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e24ca0012cd85ac00735f3d0000c007930..."} 
[2026-06-23 20:00:34] local.INFO: Packet analysis {"connection_id":111156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:34] local.INFO: Extracted packet for processing {"connection_id":111156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:34] local.INFO: GPS Element Parsed {"raw_longitude":752376512,"raw_latitude":120976336,"longitude_deg":75.2376512,"latitude_deg":12.0976336,"altitude":12,"angle":121,"satellites":48,"speed":55,"hex_longitude":"2cd85ac0","hex_latitude":"0735f3d0","is_valid_coordinates":true} 
[2026-06-23 20:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249580800001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321611269998116864,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2866189288129243136,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782224932000,"timestamp_ms":1782224932000,"timestamp_seconds":1782224932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e24ca0"} 
[2026-06-23 20:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:00: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-06-23 20:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 20:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249580800001,"66":27332,"170":206,"2":56832,"24":55,"16":321611269998116864,"44":-2866189288129243136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,2,24,16,44]} 
[2026-06-23 20:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249580800001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:00:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-23 20:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321611269998116864,"km_value":321611269998116.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2866189288129243136,"description":"Unknown IO ID 44"} 
[2026-06-23 20:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249580800001,"power":27332,"unknown_170":206,"power_alt":56832,"ignition":55,"odometer":null,"unknown_44":-2866189288129243136}} 
[2026-06-23 20:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":111156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:00:34] local.INFO: GPS data processed {"connection_id":111156,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:00:34] local.INFO: Acknowledgment sent {"connection_id":111156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:00:57] local.INFO: TCP Data received {"connection_id":111337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:00:57] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:00:57] local.INFO: IMEI packet received {"connection_id":111337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":111337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:00:59] local.INFO: TCP Data received {"connection_id":111337,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:00:59] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:00:59] local.INFO: IMEI packet received {"connection_id":111337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":111337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:00:59] local.INFO: TCP Data received {"connection_id":111337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e2b230012d196580071feec80042006c29..."} 
[2026-06-23 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e2b230012d196580071feec80042006c29..."} 
[2026-06-23 20:00:59] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e2b230012d196580071feec80042006c29..."} 
[2026-06-23 20:00:59] local.INFO: Packet analysis {"connection_id":111337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:59] local.INFO: Extracted packet for processing {"connection_id":111337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249583872001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20: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-06-23 20:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782224958000,"timestamp_ms":1782224958000,"timestamp_seconds":1782224958,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e2b230"} 
[2026-06-23 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-06-23 20:00:59] 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-06-23 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:00: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-06-23 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-06-23 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-06-23 20:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249583872001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249583872001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:00:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249583872001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":111337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:00:59] local.INFO: GPS data processed {"connection_id":111337,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:00:59] local.INFO: Acknowledgment sent {"connection_id":111337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:01:02] local.INFO: TCP Data received {"connection_id":111337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e30438012d196580071feec80042006c2a..."} 
[2026-06-23 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e30438012d196580071feec80042006c2a..."} 
[2026-06-23 20:01:02] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e30438012d196580071feec80042006c2a..."} 
[2026-06-23 20:01:02] local.INFO: Packet analysis {"connection_id":111337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:02] local.INFO: Extracted packet for processing {"connection_id":111337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249589248001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782224979000,"timestamp_ms":1782224979000,"timestamp_seconds":1782224979,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e30438"} 
[2026-06-23 20:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-801513224663131803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3781824513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:01:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,96,45,128,238,66,42,10,14,43,188,1,240,255,227,244,31,4,113,205,101,200,44,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:01:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249589248001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249589248001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:01:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249589248001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":111337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:01:02] local.INFO: GPS data processed {"connection_id":111337,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:01:02] local.INFO: Acknowledgment sent {"connection_id":111337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:01:06] local.INFO: TCP Data received {"connection_id":111156,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e267f8012cd87c000735def0000d007b30..."} 
[2026-06-23 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e267f8012cd87c000735def0000d007b30..."} 
[2026-06-23 20:01:06] local.INFO: Processing buffer {"connection_id":111156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e267f8012cd87c000735def0000d007b30..."} 
[2026-06-23 20:01:06] local.INFO: Packet analysis {"connection_id":111156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:01:06] local.INFO: Extracted packet for processing {"connection_id":111156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e2"} 
[2026-06-23 20:01:06] local.INFO: GPS Element Parsed {"raw_longitude":752385024,"raw_latitude":120970992,"longitude_deg":75.2385024,"latitude_deg":12.0970992,"altitude":13,"angle":123,"satellites":48,"speed":58,"hex_longitude":"2cd87c00","hex_latitude":"0735def0","is_valid_coordinates":true} 
[2026-06-23 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249582592001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321611751034454016,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2856759876410683392,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782224939000,"timestamp_ms":1782224939000,"timestamp_seconds":1782224939,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e267f8"} 
[2026-06-23 20:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:01: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-06-23 20:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249582592001,"66":27310,"170":206,"2":56832,"24":58,"16":321611751034454016,"44":-2856759876410683392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,2,24,16,44]} 
[2026-06-23 20:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249582592001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:01:06] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-23 20:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321611751034454016,"km_value":321611751034454.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2856759876410683392,"description":"Unknown IO ID 44"} 
[2026-06-23 20:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249582592001,"power":27310,"unknown_170":206,"power_alt":56832,"ignition":58,"odometer":null,"unknown_44":-2856759876410683392}} 
[2026-06-23 20:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":111156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:01:06] local.INFO: GPS data processed {"connection_id":111156,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:01:06] local.INFO: Acknowledgment sent {"connection_id":111156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:01:11] local.INFO: TCP Data received {"connection_id":111958,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:01:11] local.INFO: Processing buffer {"connection_id":111958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:01:11] local.INFO: IMEI packet received {"connection_id":111958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":111958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:01:33] local.INFO: TCP Data received {"connection_id":111338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:33] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:33] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:01:33] local.INFO: TCP Data received {"connection_id":111338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:33] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:33] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:01:33] local.INFO: TCP Data received {"connection_id":111337,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e35640012d196580071feec80042006c2b..."} 
[2026-06-23 20:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e35640012d196580071feec80042006c2b..."} 
[2026-06-23 20:01:33] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e35640012d196580071feec80042006c2b..."} 
[2026-06-23 20:01:33] local.INFO: Packet analysis {"connection_id":111337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:33] local.INFO: Extracted packet for processing {"connection_id":111337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249594624001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01: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-06-23 20:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782225000000,"timestamp_ms":1782225000000,"timestamp_seconds":1782225000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e35640"} 
[2026-06-23 20:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:01:33] 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-06-23 20:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:01: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-06-23 20:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249594624001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249594624001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:01:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249594624001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":111337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:01:33] local.INFO: GPS data processed {"connection_id":111337,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:01:33] local.INFO: Acknowledgment sent {"connection_id":111337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:01:38] local.INFO: TCP Data received {"connection_id":111338,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:38] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:01:38] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:01:44] local.INFO: TCP Data received {"connection_id":111338,"ip":"117.225.209.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ef4e3b7e8012cd9ee4007352d18001e007830..."} 
[2026-06-23 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ef4e3b7e8012cd9ee4007352d18001e007830..."} 
[2026-06-23 20:01:44] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ef4e3b7e8012cd9ee4007352d18001e007830..."} 
[2026-06-23 20:01:44] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:44] local.INFO: Extracted packet for processing {"connection_id":111338,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:44] local.INFO: GPS Element Parsed {"raw_longitude":752479808,"raw_latitude":120925464,"longitude_deg":75.2479808,"latitude_deg":12.0925464,"altitude":30,"angle":120,"satellites":48,"speed":40,"hex_longitude":"2cd9ee40","hex_latitude":"07352d18","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249603840001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321616767556255744,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2753036347504685056,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782225025000,"timestamp_ms":1782225025000,"timestamp_seconds":1782225025,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e3b7e8"} 
[2026-06-23 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-06-23 20:01: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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249603840001,"66":27213,"168":206,"2":56832,"24":40,"16":321616767556255744,"44":-2753036347504685056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-23 20:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249603840001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:01:44] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-23 20:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321616767556255744,"km_value":321616767556255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2753036347504685056,"description":"Unknown IO ID 44"} 
[2026-06-23 20:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249603840001,"power":27213,"unknown_168":206,"power_alt":56832,"ignition":40,"odometer":null,"unknown_44":-2753036347504685056}} 
[2026-06-23 20:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":111338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:01:44] local.INFO: GPS data processed {"connection_id":111338,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:01:44] local.INFO: Acknowledgment sent {"connection_id":111338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:01:44] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:44] local.INFO: Incomplete packet, waiting for more data {"connection_id":111338,"needed":795,"available":565} 
[2026-06-23 20:01:52] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:01:52] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:01:52] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:01:57] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:01:57] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:01:57] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:01:58] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e3a848012d196580071feec80042006c2b..."} 
[2026-06-23 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e3a848012d196580071feec80042006c2b..."} 
[2026-06-23 20:01:58] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e3a848012d196580071feec80042006c2b..."} 
[2026-06-23 20:01:58] local.INFO: Packet analysis {"connection_id":111339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:58] local.INFO: Extracted packet for processing {"connection_id":111339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249600000001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01: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-06-23 20:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225021000,"timestamp_ms":1782225021000,"timestamp_seconds":1782225021,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e3a848"} 
[2026-06-23 20:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:01: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-801332836036699803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3792576513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:01:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,4,45,128,238,66,42,10,178,41,96,1,240,31,227,244,113,205,188,101,200,239,47,2,13,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:01:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249600000001,"66":12113,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249600000001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:01:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249600000001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":111339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:01:58] local.INFO: GPS data processed {"connection_id":111339,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:01:58] local.INFO: Acknowledgment sent {"connection_id":111339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:02:14] local.INFO: TCP Data received {"connection_id":111338,"ip":"117.225.209.96","data_length":1025,"data_hex":"2cd91d8007358548000e00703100320000000a000400ef0100715f00f0010045..."} 
[2026-06-23 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":1025,"packet_hex":"2cd91d8007358548000e00703100320000000a000400ef0100715f00f0010045..."} 
[2026-06-23 20:02:14] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef4e3db10012cda0cc0073516d0001f00832f..."} 
[2026-06-23 20:02:14] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:14] local.INFO: Extracted packet for processing {"connection_id":111338,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":752487616,"raw_latitude":120919760,"longitude_deg":75.2487616,"latitude_deg":12.091976,"altitude":31,"angle":131,"satellites":47,"speed":44,"hex_longitude":"2cda0cc0","hex_latitude":"073516d0","is_valid_coordinates":true} 
[2026-06-23 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249606400001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321617231412723712,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2743184723320956928,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782225034000,"timestamp_ms":1782225034000,"timestamp_seconds":1782225034,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e3db10"} 
[2026-06-23 20:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:02:14] 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-06-23 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 20:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":111338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":111338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":111338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249606400001,"66":27267,"168":206,"2":56832,"24":44,"16":321617231412723712,"44":-2743184723320956928},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249606400001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:02:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-23 20:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321617231412723712,"km_value":321617231412723.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2743184723320956928,"description":"Unknown IO ID 44"} 
[2026-06-23 20:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249606400001,"power":27267,"unknown_168":206,"power_alt":56832,"ignition":44,"odometer":null,"unknown_44":-2743184723320956928}} 
[2026-06-23 20:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":111338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:02:14] local.INFO: GPS data processed {"connection_id":111338,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:02:14] local.INFO: Acknowledgment sent {"connection_id":111338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:02:14] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:14] local.INFO: Extracted packet for processing {"connection_id":111338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":752487616,"raw_latitude":120919760,"longitude_deg":75.2487616,"latitude_deg":12.091976,"altitude":31,"angle":131,"satellites":47,"speed":44,"hex_longitude":"2cda0cc0","hex_latitude":"073516d0","is_valid_coordinates":true} 
[2026-06-23 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249608704001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321617231412723712,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2734599736532742144,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782225034000,"timestamp_ms":1782225034000,"timestamp_seconds":1782225034,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e3db10"} 
[2026-06-23 20:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:02:14] 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-06-23 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:02:14] 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-06-23 20:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":111338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":111338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":111338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249608704001,"66":27267,"168":206,"2":56832,"24":44,"16":321617231412723712,"44":-2734599736532742144},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-23 20:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249608704001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:02:14] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-23 20:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321617231412723712,"km_value":321617231412723.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2734599736532742144,"description":"Unknown IO ID 44"} 
[2026-06-23 20:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249608704001,"power":27267,"unknown_168":206,"power_alt":56832,"ignition":44,"odometer":null,"unknown_44":-2734599736532742144}} 
[2026-06-23 20:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":111338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:02:14] local.INFO: GPS data processed {"connection_id":111338,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:02:14] local.INFO: Acknowledgment sent {"connection_id":111338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:02:23] local.INFO: TCP Data received {"connection_id":111157,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:23] local.INFO: Processing buffer {"connection_id":111157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:23] local.INFO: IMEI packet received {"connection_id":111157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:02:23] local.INFO: TCP Data received {"connection_id":111157,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:23] local.INFO: Processing buffer {"connection_id":111157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:23] local.INFO: IMEI packet received {"connection_id":111157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:02:28] local.INFO: TCP Data received {"connection_id":111157,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:28] local.INFO: Processing buffer {"connection_id":111157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:02:28] local.INFO: IMEI packet received {"connection_id":111157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":111157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:02:28] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e3fa50012d196580071feec80042006c29..."} 
[2026-06-23 20:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e3fa50012d196580071feec80042006c29..."} 
[2026-06-23 20:02:28] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e3fa50012d196580071feec80042006c29..."} 
[2026-06-23 20:02:28] local.INFO: Packet analysis {"connection_id":111339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:28] local.INFO: Extracted packet for processing {"connection_id":111339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:02: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-06-23 20:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249605376001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225042000,"timestamp_ms":1782225042000,"timestamp_seconds":1782225042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e3fa50"} 
[2026-06-23 20:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:02: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 20:02:28] 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-06-23 20:02: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-06-23 20:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249605376001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249605376001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:02:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249605376001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:02:29] local.INFO: GPS data processed {"connection_id":111339,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:02:29] local.INFO: Acknowledgment sent {"connection_id":111339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:02:29] local.INFO: TCP Data received {"connection_id":111157,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e3fa50012cda28800734fd20001d008530..."} 
[2026-06-23 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e3fa50012cda28800734fd20001d008530..."} 
[2026-06-23 20:02:29] local.INFO: Processing buffer {"connection_id":111157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e3fa50012cda28800734fd20001d008530..."} 
[2026-06-23 20:02:29] local.INFO: Packet analysis {"connection_id":111157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:29] local.INFO: Extracted packet for processing {"connection_id":111157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e3"} 
[2026-06-23 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":752494720,"raw_latitude":120913184,"longitude_deg":75.249472,"latitude_deg":12.0913184,"altitude":29,"angle":133,"satellites":48,"speed":50,"hex_longitude":"2cda2880","hex_latitude":"0734fd20","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249608704001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321617695269191680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2734599736532742144,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225042000,"timestamp_ms":1782225042000,"timestamp_seconds":1782225042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e3fa50"} 
[2026-06-23 20:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:02:29] 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-06-23 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:02:29] 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-06-23 20: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-06-23 20:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249608704001,"66":27267,"168":206,"2":56832,"24":50,"16":321617695269191680,"44":-2734599736532742144},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-23 20:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249608704001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:02:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-23 20:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321617695269191680,"km_value":321617695269191.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2734599736532742144,"description":"Unknown IO ID 44"} 
[2026-06-23 20:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249608704001,"power":27267,"unknown_168":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-2734599736532742144}} 
[2026-06-23 20:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:02:29] local.INFO: GPS data processed {"connection_id":111157,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:02:29] local.INFO: Acknowledgment sent {"connection_id":111157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:02:31] local.INFO: TCP Data received {"connection_id":111157,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e415a8012cda44c00734e4c0001c008030..."} 
[2026-06-23 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e415a8012cda44c00734e4c0001c008030..."} 
[2026-06-23 20:02:31] local.INFO: Processing buffer {"connection_id":111157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e415a8012cda44c00734e4c0001c008030..."} 
[2026-06-23 20:02:31] local.INFO: Packet analysis {"connection_id":111157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:02:31] local.INFO: Extracted packet for processing {"connection_id":111157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:02:31] local.INFO: GPS Element Parsed {"raw_longitude":752501952,"raw_latitude":120906944,"longitude_deg":75.2501952,"latitude_deg":12.0906944,"altitude":28,"angle":128,"satellites":48,"speed":56,"hex_longitude":"2cda44c0","hex_latitude":"0734e4c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321618154830692352,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2726788805930704896,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782225049000,"timestamp_ms":1782225049000,"timestamp_seconds":1782225049,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e415a8"} 
[2026-06-23 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-06-23 20:02:31] 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-06-23 20:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:02:31] 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-06-23 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-06-23 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-06-23 20:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249610752001,"66":27397,"168":206,"2":56832,"24":56,"16":321618154830692352,"44":-2726788805930704896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-23 20:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:02:31] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-23 20:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321618154830692352,"km_value":321618154830692.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2726788805930704896,"description":"Unknown IO ID 44"} 
[2026-06-23 20:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249610752001,"power":27397,"unknown_168":206,"power_alt":56832,"ignition":56,"odometer":null,"unknown_44":-2726788805930704896}} 
[2026-06-23 20:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":111157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:02:31] local.INFO: GPS data processed {"connection_id":111157,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:02:31] local.INFO: Acknowledgment sent {"connection_id":111157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:02:52] local.INFO: TCP Data received {"connection_id":111959,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:02:52] local.INFO: Processing buffer {"connection_id":111959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:02:52] local.INFO: IMEI packet received {"connection_id":111959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":111959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:02:57] local.INFO: TCP Data received {"connection_id":111959,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:02:57] local.INFO: Processing buffer {"connection_id":111959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:02:57] local.INFO: IMEI packet received {"connection_id":111959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":111959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:02:58] local.INFO: TCP Data received {"connection_id":111959,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e44c58012d196580071feec80042006c29..."} 
[2026-06-23 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e44c58012d196580071feec80042006c29..."} 
[2026-06-23 20:02:58] local.INFO: Processing buffer {"connection_id":111959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e44c58012d196580071feec80042006c29..."} 
[2026-06-23 20:02:58] local.INFO: Packet analysis {"connection_id":111959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:02:58] local.INFO: Extracted packet for processing {"connection_id":111959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249610752001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:02: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-06-23 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225063000,"timestamp_ms":1782225063000,"timestamp_seconds":1782225063,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e44c58"} 
[2026-06-23 20:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:02: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-06-23 20:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249610752001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249610752001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:02:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249610752001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":111959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:02:58] local.INFO: GPS data processed {"connection_id":111959,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:02:58] local.INFO: Acknowledgment sent {"connection_id":111959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:03:04] local.INFO: TCP Data received {"connection_id":111157,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e42d18012cda61400734cf90001b007e2f..."} 
[2026-06-23 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e42d18012cda61400734cf90001b007e2f..."} 
[2026-06-23 20:03:04] local.INFO: Processing buffer {"connection_id":111157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e42d18012cda61400734cf90001b007e2f..."} 
[2026-06-23 20:03:04] local.INFO: Packet analysis {"connection_id":111157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:03:04] local.INFO: Extracted packet for processing {"connection_id":111157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:03:04] local.INFO: GPS Element Parsed {"raw_longitude":752509248,"raw_latitude":120901520,"longitude_deg":75.2509248,"latitude_deg":12.090152,"altitude":27,"angle":126,"satellites":47,"speed":60,"hex_longitude":"2cda6140","hex_latitude":"0734cf90","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249612544001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321618588622389248,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2718837137840226304,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782225055000,"timestamp_ms":1782225055000,"timestamp_seconds":1782225055,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e42d18"} 
[2026-06-23 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-06-23 20:03:04] 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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249612544001,"66":27115,"108":206,"2":56832,"24":60,"16":321618588622389248,"44":-2718837137840226304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 20:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249612544001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:03:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 20:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321618588622389248,"km_value":321618588622389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2718837137840226304,"description":"Unknown IO ID 44"} 
[2026-06-23 20:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249612544001,"power":27115,"unknown_108":206,"power_alt":56832,"ignition":60,"odometer":null,"unknown_44":-2718837137840226304}} 
[2026-06-23 20:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":111157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:03:04] local.INFO: GPS data processed {"connection_id":111157,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:03:04] local.INFO: Acknowledgment sent {"connection_id":111157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:03:20] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:20] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:20] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:03:23] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:23] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:23] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:03:28] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:28] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:03:28] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:03:29] local.INFO: TCP Data received {"connection_id":111959,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e49e60012d196580071feec80042006c2a..."} 
[2026-06-23 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e49e60012d196580071feec80042006c2a..."} 
[2026-06-23 20:03:29] local.INFO: Processing buffer {"connection_id":111959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e49e60012d196580071feec80042006c2a..."} 
[2026-06-23 20:03:29] local.INFO: Packet analysis {"connection_id":111959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:03:29] local.INFO: Extracted packet for processing {"connection_id":111959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249616128001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225084000,"timestamp_ms":1782225084000,"timestamp_seconds":1782225084,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e49e60"} 
[2026-06-23 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:03:29] 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-06-23 20:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249616128001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249616128001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249616128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":111959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:03:29] local.INFO: GPS data processed {"connection_id":111959,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:03:29] local.INFO: Acknowledgment sent {"connection_id":111959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:03:29] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e59c48012cdb4c800733bd28001f009d2d..."} 
[2026-06-23 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e59c48012cdb4c800733bd28001f009d2d..."} 
[2026-06-23 20:03:29] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e59c48012cdb4c800733bd28001f009d2d..."} 
[2026-06-23 20:03:29] local.INFO: Packet analysis {"connection_id":111341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:03:29] local.INFO: Extracted packet for processing {"connection_id":111341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":752569472,"raw_latitude":120831272,"longitude_deg":75.2569472,"latitude_deg":12.0831272,"altitude":31,"angle":157,"satellites":45,"speed":31,"hex_longitude":"2cdb4c80","hex_latitude":"0733bd28","is_valid_coordinates":true} 
[2026-06-23 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249635328001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321623094043082752,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2649312818609952768,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225149000,"timestamp_ms":1782225149000,"timestamp_seconds":1782225149,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e59c48"} 
[2026-06-23 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:03:29] 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-06-23 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249635328001,"66":27321,"108":206,"2":56832,"24":31,"16":321623094043082752,"44":-2649312818609952768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249635328001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321623094043082752,"km_value":321623094043082.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2649312818609952768,"description":"Unknown IO ID 44"} 
[2026-06-23 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249635328001,"power":27321,"unknown_108":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-2649312818609952768}} 
[2026-06-23 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":111341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:03:29] local.INFO: GPS data processed {"connection_id":111341,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:03:29] local.INFO: Acknowledgment sent {"connection_id":111341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:03:52] local.INFO: TCP Data received {"connection_id":112894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:03:52] local.INFO: Processing buffer {"connection_id":112894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:03:52] local.INFO: IMEI packet received {"connection_id":112894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":112894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:03:57] local.INFO: TCP Data received {"connection_id":112894,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:03:57] local.INFO: Processing buffer {"connection_id":112894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:03:57] local.INFO: IMEI packet received {"connection_id":112894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":112894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:03:58] local.INFO: TCP Data received {"connection_id":112894,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e4f068012d196580071feec80042006c2b..."} 
[2026-06-23 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e4f068012d196580071feec80042006c2b..."} 
[2026-06-23 20:03:58] local.INFO: Processing buffer {"connection_id":112894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e4f068012d196580071feec80042006c2b..."} 
[2026-06-23 20:03:58] local.INFO: Packet analysis {"connection_id":112894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:03:58] local.INFO: Extracted packet for processing {"connection_id":112894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e4"} 
[2026-06-23 20:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249621504001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03: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-06-23 20:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225105000,"timestamp_ms":1782225105000,"timestamp_seconds":1782225105,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e4f068"} 
[2026-06-23 20:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:03: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-06-23 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800972058783835803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3814080513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:03:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:03:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,76,45,128,238,66,41,10,250,168,1,240,81,227,244,31,4,113,205,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:03:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249621504001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249621504001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:03:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249621504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":112894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:03:58] local.INFO: GPS data processed {"connection_id":112894,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:03:58] local.INFO: Acknowledgment sent {"connection_id":112894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:04:00] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e5b3b8012cdb54c00733aed0001c00912e..."} 
[2026-06-23 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e5b3b8012cdb54c00733aed0001c00912e..."} 
[2026-06-23 20:04:00] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e5b3b8012cdb54c00733aed0001c00912e..."} 
[2026-06-23 20:04:00] local.INFO: Packet analysis {"connection_id":111341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:04:00] local.INFO: Extracted packet for processing {"connection_id":111341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:04:00] local.INFO: GPS Element Parsed {"raw_longitude":752571584,"raw_latitude":120827600,"longitude_deg":75.2571584,"latitude_deg":12.08276,"altitude":28,"angle":145,"satellites":46,"speed":27,"hex_longitude":"2cdb54c0","hex_latitude":"0733aed0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249638144001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321623295906545664,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2644598112752162816,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782225155000,"timestamp_ms":1782225155000,"timestamp_seconds":1782225155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e5b3b8"} 
[2026-06-23 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-06-23 20:04:00] 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-06-23 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249638144001,"66":27463,"108":206,"2":56832,"24":27,"16":321623295906545664,"44":-2644598112752162816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 20:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249638144001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:04:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 20:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321623295906545664,"km_value":321623295906545.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2644598112752162816,"description":"Unknown IO ID 44"} 
[2026-06-23 20:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249638144001,"power":27463,"unknown_108":206,"power_alt":56832,"ignition":27,"odometer":null,"unknown_44":-2644598112752162816}} 
[2026-06-23 20:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":111341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:04:00] local.INFO: GPS data processed {"connection_id":111341,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:04:00] local.INFO: Acknowledgment sent {"connection_id":111341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:04:22] local.INFO: TCP Data received {"connection_id":112896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:22] local.INFO: Processing buffer {"connection_id":112896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:22] local.INFO: IMEI packet received {"connection_id":112896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":112896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:04:23] local.INFO: TCP Data received {"connection_id":112896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:23] local.INFO: Processing buffer {"connection_id":112896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:23] local.INFO: IMEI packet received {"connection_id":112896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":112896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:04:28] local.INFO: TCP Data received {"connection_id":112894,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e54270012d196580071feec80042006c28..."} 
[2026-06-23 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e54270012d196580071feec80042006c28..."} 
[2026-06-23 20:04:28] local.INFO: Processing buffer {"connection_id":112894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e54270012d196580071feec80042006c28..."} 
[2026-06-23 20:04:28] local.INFO: Packet analysis {"connection_id":112894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:04:28] local.INFO: Extracted packet for processing {"connection_id":112894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249626880001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225126000,"timestamp_ms":1782225126000,"timestamp_seconds":1782225126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e54270"} 
[2026-06-23 20:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800881864470619803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3819456513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:04:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,45,128,238,66,42,10,76,41,250,1,240,31,227,244,4,113,205,86,101,200,43,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:04:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249626880001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249626880001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249626880001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":112894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:04:28] local.INFO: GPS data processed {"connection_id":112894,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:04:28] local.INFO: Acknowledgment sent {"connection_id":112894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:04:28] local.INFO: TCP Data received {"connection_id":112896,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:28] local.INFO: Processing buffer {"connection_id":112896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:04:28] local.INFO: IMEI packet received {"connection_id":112896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":112896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:04:30] local.INFO: TCP Data received {"connection_id":112896,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e653e0012cdb7c00073353d0001700982e..."} 
[2026-06-23 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e653e0012cdb7c00073353d0001700982e..."} 
[2026-06-23 20:04:30] local.INFO: Processing buffer {"connection_id":112896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e653e0012cdb7c00073353d0001700982e..."} 
[2026-06-23 20:04:30] local.INFO: Packet analysis {"connection_id":112896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:04:30] local.INFO: Extracted packet for processing {"connection_id":112896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":752581632,"raw_latitude":120804304,"longitude_deg":75.2581632,"latitude_deg":12.0804304,"altitude":23,"angle":152,"satellites":46,"speed":35,"hex_longitude":"2cdb7c00","hex_latitude":"073353d0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249647360001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321624618756472832,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2635872388478881792,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782225196000,"timestamp_ms":1782225196000,"timestamp_seconds":1782225196,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e653e0"} 
[2026-06-23 20:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:04:30] 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-06-23 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:04:30] 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-06-23 20: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-06-23 20:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249647360001,"66":27300,"228":206,"2":56832,"24":35,"16":321624618756472832,"44":-2635872388478881792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,2,24,16,44]} 
[2026-06-23 20:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249647360001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:04:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 20:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321624618756472832,"km_value":321624618756472.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2635872388478881792,"description":"Unknown IO ID 44"} 
[2026-06-23 20:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249647360001,"power":27300,"unknown_228":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2635872388478881792}} 
[2026-06-23 20:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":112896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:04:30] local.INFO: GPS data processed {"connection_id":112896,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:04:30] local.INFO: Acknowledgment sent {"connection_id":112896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:04:50] local.INFO: TCP Data received {"connection_id":111342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:50] local.INFO: Processing buffer {"connection_id":111342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:50] local.INFO: IMEI packet received {"connection_id":111342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":111342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:04:52] local.INFO: TCP Data received {"connection_id":111342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:52] local.INFO: Processing buffer {"connection_id":111342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:52] local.INFO: IMEI packet received {"connection_id":111342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":111342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:04:57] local.INFO: TCP Data received {"connection_id":111342,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:57] local.INFO: Processing buffer {"connection_id":111342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:04:57] local.INFO: IMEI packet received {"connection_id":111342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":111342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:04:58] local.INFO: TCP Data received {"connection_id":111342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e59478012d196580071feec80042006c2c..."} 
[2026-06-23 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e59478012d196580071feec80042006c2c..."} 
[2026-06-23 20:04:58] local.INFO: Processing buffer {"connection_id":111342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e59478012d196580071feec80042006c2c..."} 
[2026-06-23 20:04:58] local.INFO: Packet analysis {"connection_id":111342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:04:58] local.INFO: Extracted packet for processing {"connection_id":111342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249632256001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:04: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-06-23 20:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225147000,"timestamp_ms":1782225147000,"timestamp_seconds":1782225147,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e59478"} 
[2026-06-23 20:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:04: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-06-23 20:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249632256001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249632256001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:04:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249632256001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":111342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:04:58] local.INFO: GPS data processed {"connection_id":111342,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:04:58] local.INFO: Acknowledgment sent {"connection_id":111342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:05:02] local.INFO: TCP Data received {"connection_id":112896,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e67af0012cdb8d40073334b00019009b2f..."} 
[2026-06-23 20:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e67af0012cdb8d40073334b00019009b2f..."} 
[2026-06-23 20:05:02] local.INFO: Processing buffer {"connection_id":112896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e67af0012cdb8d40073334b00019009b2f..."} 
[2026-06-23 20:05:02] local.INFO: Packet analysis {"connection_id":112896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:05:02] local.INFO: Extracted packet for processing {"connection_id":112896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:05:02] local.INFO: GPS Element Parsed {"raw_longitude":752586048,"raw_latitude":120796336,"longitude_deg":75.2586048,"latitude_deg":12.0796336,"altitude":25,"angle":155,"satellites":47,"speed":36,"hex_longitude":"2cdb8d40","hex_latitude":"073334b0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249650176001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321625056843137024,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2631228051365310464,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782225206000,"timestamp_ms":1782225206000,"timestamp_seconds":1782225206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e67af0"} 
[2026-06-23 20:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:05:02] 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-06-23 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 20:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249650176001,"66":27397,"228":206,"2":56832,"24":36,"16":321625056843137024,"44":-2631228051365310464},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,2,24,16,44]} 
[2026-06-23 20:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249650176001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:05:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 20:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321625056843137024,"km_value":321625056843137.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2631228051365310464,"description":"Unknown IO ID 44"} 
[2026-06-23 20:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249650176001,"power":27397,"unknown_228":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-2631228051365310464}} 
[2026-06-23 20:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":112896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:05:02] local.INFO: GPS data processed {"connection_id":112896,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:05:02] local.INFO: Acknowledgment sent {"connection_id":112896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:05:22] local.INFO: TCP Data received {"connection_id":112897,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:22] local.INFO: Processing buffer {"connection_id":112897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:22] local.INFO: IMEI packet received {"connection_id":112897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":112897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:05:23] local.INFO: TCP Data received {"connection_id":112897,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:23] local.INFO: Processing buffer {"connection_id":112897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:23] local.INFO: IMEI packet received {"connection_id":112897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":112897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:05:28] local.INFO: TCP Data received {"connection_id":112897,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:28] local.INFO: Processing buffer {"connection_id":112897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:05:28] local.INFO: IMEI packet received {"connection_id":112897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":112897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:05:28] local.INFO: TCP Data received {"connection_id":111342,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e5e680012d196580071feec80042006c2c..."} 
[2026-06-23 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e5e680012d196580071feec80042006c2c..."} 
[2026-06-23 20:05:28] local.INFO: Processing buffer {"connection_id":111342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e5e680012d196580071feec80042006c2c..."} 
[2026-06-23 20:05:28] local.INFO: Packet analysis {"connection_id":111342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:05:28] local.INFO: Extracted packet for processing {"connection_id":111342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e5"} 
[2026-06-23 20:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249637632001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225168000,"timestamp_ms":1782225168000,"timestamp_seconds":1782225168,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e5e680"} 
[2026-06-23 20:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800701475844187803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507275384422606,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3830208513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:05:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:28] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,66,45,128,238,40,10,240,43,1,227,244,31,4,113,205,250,101,200,41,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:05:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249637632001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249637632001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249637632001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":111342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:05:28] local.INFO: GPS data processed {"connection_id":111342,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:05:28] local.INFO: Acknowledgment sent {"connection_id":111342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:05:30] local.INFO: TCP Data received {"connection_id":112897,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e69e18012cdb9840073313f0001800a62f..."} 
[2026-06-23 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e69e18012cdb9840073313f0001800a62f..."} 
[2026-06-23 20:05:30] local.INFO: Processing buffer {"connection_id":112897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e69e18012cdb9840073313f0001800a62f..."} 
[2026-06-23 20:05:30] local.INFO: Packet analysis {"connection_id":112897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:05:30] local.INFO: Extracted packet for processing {"connection_id":112897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":752588864,"raw_latitude":120787952,"longitude_deg":75.2588864,"latitude_deg":12.0787952,"altitude":24,"angle":166,"satellites":47,"speed":40,"hex_longitude":"2cdb9840","hex_latitude":"073313f0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249652736001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321625486339866624,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2626372608019091456,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782225215000,"timestamp_ms":1782225215000,"timestamp_seconds":1782225215,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e69e18"} 
[2026-06-23 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-06-23 20:05:30] 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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249652736001,"66":27463,"228":206,"2":56832,"24":40,"16":321625486339866624,"44":-2626372608019091456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,2,24,16,44]} 
[2026-06-23 20:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249652736001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:05:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-23 20:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321625486339866624,"km_value":321625486339866.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2626372608019091456,"description":"Unknown IO ID 44"} 
[2026-06-23 20:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249652736001,"power":27463,"unknown_228":206,"power_alt":56832,"ignition":40,"odometer":null,"unknown_44":-2626372608019091456}} 
[2026-06-23 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":112897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:05:30] local.INFO: GPS data processed {"connection_id":112897,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:05:30] local.INFO: Acknowledgment sent {"connection_id":112897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:05:52] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:52] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:52] local.INFO: IMEI packet received {"connection_id":111343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":111343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:05:53] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:53] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:53] local.INFO: IMEI packet received {"connection_id":111343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":111343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:05:57] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:57] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:05:57] local.INFO: IMEI packet received {"connection_id":111343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":111343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:05:58] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e63888012d196580071feec80042006c2a..."} 
[2026-06-23 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e63888012d196580071feec80042006c2a..."} 
[2026-06-23 20:05:58] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e63888012d196580071feec80042006c2a..."} 
[2026-06-23 20:05:58] local.INFO: Packet analysis {"connection_id":111343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:05:58] local.INFO: Extracted packet for processing {"connection_id":111343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249643008001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05: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-06-23 20:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225189000,"timestamp_ms":1782225189000,"timestamp_seconds":1782225189,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e63888"} 
[2026-06-23 20:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800611281530971803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3835584513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:05:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:05:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,148,45,128,238,66,44,10,40,240,1,227,244,31,4,113,205,76,101,200,41,239,48,2,13,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:05:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249643008001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249643008001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:05:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249643008001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":111343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:05:58] local.INFO: GPS data processed {"connection_id":111343,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:05:58] local.INFO: Acknowledgment sent {"connection_id":111343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:06:01] local.INFO: TCP Data received {"connection_id":112897,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e80578012cdba740073188a8001b00a82e..."} 
[2026-06-23 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e80578012cdba740073188a8001b00a82e..."} 
[2026-06-23 20:06:01] local.INFO: Processing buffer {"connection_id":112897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e80578012cdba740073188a8001b00a82e..."} 
[2026-06-23 20:06:01] local.INFO: Packet analysis {"connection_id":112897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:06:01] local.INFO: Extracted packet for processing {"connection_id":112897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":752592704,"raw_latitude":120686760,"longitude_deg":75.2592704,"latitude_deg":12.068676,"altitude":27,"angle":168,"satellites":46,"speed":42,"hex_longitude":"2cdba740","hex_latitude":"073188a8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249676800001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321630438437158912,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619969052324984832,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782225307000,"timestamp_ms":1782225307000,"timestamp_seconds":1782225307,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e80578"} 
[2026-06-23 20:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:06:01] 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-06-23 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249676800001,"66":27517,"230":206,"2":56832,"24":42,"16":321630438437158912,"44":-2619969052324984832},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-23 20:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249676800001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-23 20:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321630438437158912,"km_value":321630438437158.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619969052324984832,"description":"Unknown IO ID 44"} 
[2026-06-23 20:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249676800001,"power":27517,"unknown_230":206,"power_alt":56832,"ignition":42,"odometer":null,"unknown_44":-2619969052324984832}} 
[2026-06-23 20:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":112897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:06:01] local.INFO: GPS data processed {"connection_id":112897,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:06:01] local.INFO: Acknowledgment sent {"connection_id":112897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:06:23] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:23] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:23] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:06:26] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:26] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:26] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:06:26] local.INFO: TCP Data received {"connection_id":111961,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:06:26] local.INFO: Processing buffer {"connection_id":111961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:06:26] local.INFO: IMEI packet received {"connection_id":111961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":111961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:06:28] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:28] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:06:28] local.INFO: IMEI packet received {"connection_id":111158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":111158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:06:28] local.INFO: TCP Data received {"connection_id":111343,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e68a90012d196580071feec80042006c2c..."} 
[2026-06-23 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e68a90012d196580071feec80042006c2c..."} 
[2026-06-23 20:06:28] local.INFO: Processing buffer {"connection_id":111343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e68a90012d196580071feec80042006c2c..."} 
[2026-06-23 20:06:28] local.INFO: Packet analysis {"connection_id":111343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:06:28] local.INFO: Extracted packet for processing {"connection_id":111343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249648384001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225210000,"timestamp_ms":1782225210000,"timestamp_seconds":1782225210,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e68a90"} 
[2026-06-23 20:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249648384001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249648384001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249648384001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":111343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:06:29] local.INFO: GPS data processed {"connection_id":111343,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:06:29] local.INFO: Acknowledgment sent {"connection_id":111343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:06:31] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e820d0012cdbb0c007316b200019009b2e..."} 
[2026-06-23 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e820d0012cdbb0c007316b200019009b2e..."} 
[2026-06-23 20:06:31] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e820d0012cdbb0c007316b200019009b2e..."} 
[2026-06-23 20:06:31] local.INFO: Packet analysis {"connection_id":111158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:06:31] local.INFO: Extracted packet for processing {"connection_id":111158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":752595136,"raw_latitude":120679200,"longitude_deg":75.2595136,"latitude_deg":12.06792,"altitude":25,"angle":155,"satellites":46,"speed":48,"hex_longitude":"2cdbb0c0","hex_latitude":"07316b20","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249678592001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321630824984215552,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619054258652665856,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782225314000,"timestamp_ms":1782225314000,"timestamp_seconds":1782225314,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e820d0"} 
[2026-06-23 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-06-23 20:06:31] 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-06-23 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 20:06:31] 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-06-23 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-06-23 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-06-23 20:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249678592001,"66":27365,"230":206,"2":56832,"24":48,"16":321630824984215552,"44":-2619054258652665856},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-23 20:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249678592001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-23 20:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321630824984215552,"km_value":321630824984215.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619054258652665856,"description":"Unknown IO ID 44"} 
[2026-06-23 20:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249678592001,"power":27365,"unknown_230":206,"power_alt":56832,"ignition":48,"odometer":null,"unknown_44":-2619054258652665856}} 
[2026-06-23 20:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":111158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:06:31] local.INFO: GPS data processed {"connection_id":111158,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:06:31] local.INFO: Acknowledgment sent {"connection_id":111158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:06:52] local.INFO: TCP Data received {"connection_id":112898,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:06:52] local.INFO: Processing buffer {"connection_id":112898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:06:52] local.INFO: IMEI packet received {"connection_id":112898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":112898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:06:56] local.INFO: TCP Data received {"connection_id":112898,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:06:56] local.INFO: Processing buffer {"connection_id":112898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:06:56] local.INFO: IMEI packet received {"connection_id":112898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":112898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:06:57] local.INFO: TCP Data received {"connection_id":112898,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e6dc98012d196580071feec80042006c2a..."} 
[2026-06-23 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e6dc98012d196580071feec80042006c2a..."} 
[2026-06-23 20:06:57] local.INFO: Processing buffer {"connection_id":112898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e6dc98012d196580071feec80042006c2a..."} 
[2026-06-23 20:06:57] local.INFO: Packet analysis {"connection_id":112898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:06:57] local.INFO: Extracted packet for processing {"connection_id":112898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e6"} 
[2026-06-23 20:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249653760001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782225231000,"timestamp_ms":1782225231000,"timestamp_seconds":1782225231,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e6dc98"} 
[2026-06-23 20:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:06: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800430892904539803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3846336513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:06:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:06:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,56,45,128,238,66,42,10,230,44,148,1,240,227,244,31,4,113,205,101,200,43,239,48,2,13,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249653760001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249653760001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:06:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249653760001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":112898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:06:57] local.INFO: GPS data processed {"connection_id":112898,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:06:57] local.INFO: Acknowledgment sent {"connection_id":112898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:07:02] local.INFO: TCP Data received {"connection_id":111158,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e84010012cdbc1c007314820001600a12e..."} 
[2026-06-23 20:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e84010012cdbc1c007314820001600a12e..."} 
[2026-06-23 20:07:02] local.INFO: Processing buffer {"connection_id":111158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e84010012cdbc1c007314820001600a12e..."} 
[2026-06-23 20:07:02] local.INFO: Packet analysis {"connection_id":111158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:07:02] local.INFO: Extracted packet for processing {"connection_id":111158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:07:02] local.INFO: GPS Element Parsed {"raw_longitude":752599488,"raw_latitude":120670240,"longitude_deg":75.2599488,"latitude_deg":12.067024,"altitude":22,"angle":161,"satellites":46,"speed":49,"hex_longitude":"2cdbc1c0","hex_latitude":"07314820","is_valid_coordinates":true} 
[2026-06-23 20:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249680384001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321631306020552704,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2616380246375849984,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782225322000,"timestamp_ms":1782225322000,"timestamp_seconds":1782225322,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e84010"} 
[2026-06-23 20:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:07:02] 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-06-23 20:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 20:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249680384001,"66":27484,"230":206,"2":56832,"24":49,"16":321631306020552704,"44":-2616380246375849984},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-23 20:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249680384001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:07:02] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-23 20:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321631306020552704,"km_value":321631306020552.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:07:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2616380246375849984,"description":"Unknown IO ID 44"} 
[2026-06-23 20:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249680384001,"power":27484,"unknown_230":206,"power_alt":56832,"ignition":49,"odometer":null,"unknown_44":-2616380246375849984}} 
[2026-06-23 20:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":111158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:07:02] local.INFO: GPS data processed {"connection_id":111158,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:07:02] local.INFO: Acknowledgment sent {"connection_id":111158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:07:06] local.INFO: TCP Data received {"connection_id":112899,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:07:06] local.INFO: Processing buffer {"connection_id":112899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:07:06] local.INFO: IMEI packet received {"connection_id":112899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":112899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:07:23] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:23] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:23] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:07:24] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:24] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:24] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:07:28] local.INFO: TCP Data received {"connection_id":112898,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e72ea0012d196580071feec80042006c2b..."} 
[2026-06-23 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e72ea0012d196580071feec80042006c2b..."} 
[2026-06-23 20:07:28] local.INFO: Processing buffer {"connection_id":112898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e72ea0012d196580071feec80042006c2b..."} 
[2026-06-23 20:07:28] local.INFO: Packet analysis {"connection_id":112898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e7"} 
[2026-06-23 20:07:28] local.INFO: Extracted packet for processing {"connection_id":112898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e7"} 
[2026-06-23 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249659136001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225252000,"timestamp_ms":1782225252000,"timestamp_seconds":1782225252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e72ea0"} 
[2026-06-23 20:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 20:07:28] 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-06-23 20: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-06-23 20:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249659136001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249659136001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249659136001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":112898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:07:28] local.INFO: GPS data processed {"connection_id":112898,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:07:28] local.INFO: Acknowledgment sent {"connection_id":112898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:07:28] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:28] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:07:28] local.INFO: IMEI packet received {"connection_id":111159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":111159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:07:31] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e85f50012cdbc94007312598001600a92e..."} 
[2026-06-23 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e85f50012cdbc94007312598001600a92e..."} 
[2026-06-23 20:07:31] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e85f50012cdbc94007312598001600a92e..."} 
[2026-06-23 20:07:31] local.INFO: Packet analysis {"connection_id":111159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:07:31] local.INFO: Extracted packet for processing {"connection_id":111159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:07:31] local.INFO: GPS Element Parsed {"raw_longitude":752601408,"raw_latitude":120661400,"longitude_deg":75.2601408,"latitude_deg":12.06614,"altitude":22,"angle":169,"satellites":46,"speed":41,"hex_longitude":"2cdbc940","hex_latitude":"07312598","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249682432001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321631744107216896,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2611595171774062592,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782225330000,"timestamp_ms":1782225330000,"timestamp_seconds":1782225330,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e85f50"} 
[2026-06-23 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-06-23 20:07:31] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:07:31] 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-06-23 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-06-23 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-06-23 20:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249682432001,"66":27517,"230":206,"2":56832,"24":41,"16":321631744107216896,"44":-2611595171774062592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-23 20:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249682432001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:07:31] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-23 20:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321631744107216896,"km_value":321631744107216.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2611595171774062592,"description":"Unknown IO ID 44"} 
[2026-06-23 20:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249682432001,"power":27517,"unknown_230":206,"power_alt":56832,"ignition":41,"odometer":null,"unknown_44":-2611595171774062592}} 
[2026-06-23 20:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":111159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:07:31] local.INFO: GPS data processed {"connection_id":111159,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:07:31] local.INFO: Acknowledgment sent {"connection_id":111159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:07:52] local.INFO: TCP Data received {"connection_id":112900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:07:52] local.INFO: Processing buffer {"connection_id":112900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:07:52] local.INFO: IMEI packet received {"connection_id":112900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":112900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:07:57] local.INFO: TCP Data received {"connection_id":112900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:07:57] local.INFO: Processing buffer {"connection_id":112900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:07:57] local.INFO: IMEI packet received {"connection_id":112900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":112900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:07:58] local.INFO: TCP Data received {"connection_id":112900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e780a8012d196580071feec80042006c2c..."} 
[2026-06-23 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e780a8012d196580071feec80042006c2c..."} 
[2026-06-23 20:07:58] local.INFO: Processing buffer {"connection_id":112900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e780a8012d196580071feec80042006c2c..."} 
[2026-06-23 20:07:58] local.INFO: Packet analysis {"connection_id":112900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e7"} 
[2026-06-23 20:07:58] local.INFO: Extracted packet for processing {"connection_id":112900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e7"} 
[2026-06-23 20:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249664512001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:07: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-06-23 20:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225273000,"timestamp_ms":1782225273000,"timestamp_seconds":1782225273,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e780a8"} 
[2026-06-23 20:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:07: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-06-23 20:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:07: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-06-23 20:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249664512001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249664512001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:07:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249664512001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":112900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:07:58] local.INFO: GPS data processed {"connection_id":112900,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:07:58] local.INFO: Acknowledgment sent {"connection_id":112900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:08:03] local.INFO: TCP Data received {"connection_id":111159,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e9f1a8012cdcb040072f72d80008008d30..."} 
[2026-06-23 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e9f1a8012cdcb040072f72d80008008d30..."} 
[2026-06-23 20:08:03] local.INFO: Processing buffer {"connection_id":111159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e9f1a8012cdcb040072f72d80008008d30..."} 
[2026-06-23 20:08:03] local.INFO: Packet analysis {"connection_id":111159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:08:03] local.INFO: Extracted packet for processing {"connection_id":111159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":752660544,"raw_latitude":120550104,"longitude_deg":75.2660544,"latitude_deg":12.0550104,"altitude":8,"angle":141,"satellites":48,"speed":51,"hex_longitude":"2cdcb040","hex_latitude":"072f72d8","is_valid_coordinates":true} 
[2026-06-23 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249709056001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321638040529272832,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552133582973001728,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782225433000,"timestamp_ms":1782225433000,"timestamp_seconds":1782225433,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e9f1a8"} 
[2026-06-23 20:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:08:03] 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-06-23 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249709056001,"66":27484,"160":206,"2":56832,"24":51,"16":321638040529272832,"44":-2552133582973001728},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,2,24,16,44]} 
[2026-06-23 20:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249709056001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:08:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-06-23 20:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321638040529272832,"km_value":321638040529272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552133582973001728,"description":"Unknown IO ID 44"} 
[2026-06-23 20:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249709056001,"power":27484,"unknown_160":206,"power_alt":56832,"ignition":51,"odometer":null,"unknown_44":-2552133582973001728}} 
[2026-06-23 20:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":111159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:08:03] local.INFO: GPS data processed {"connection_id":111159,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:08:03] local.INFO: Acknowledgment sent {"connection_id":111159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:08:28] local.INFO: TCP Data received {"connection_id":111963,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:28] local.INFO: Processing buffer {"connection_id":111963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:28] local.INFO: IMEI packet received {"connection_id":111963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":111963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:08:28] local.INFO: TCP Data received {"connection_id":111963,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:28] local.INFO: Processing buffer {"connection_id":111963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:28] local.INFO: IMEI packet received {"connection_id":111963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":111963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:08:29] local.INFO: TCP Data received {"connection_id":112900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e7d2b0012d196580071feec80042006c2c..."} 
[2026-06-23 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e7d2b0012d196580071feec80042006c2c..."} 
[2026-06-23 20:08:29] local.INFO: Processing buffer {"connection_id":112900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e7d2b0012d196580071feec80042006c2c..."} 
[2026-06-23 20:08:29] local.INFO: Packet analysis {"connection_id":112900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e7"} 
[2026-06-23 20:08:29] local.INFO: Extracted packet for processing {"connection_id":112900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e7"} 
[2026-06-23 20:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249669888001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225294000,"timestamp_ms":1782225294000,"timestamp_seconds":1782225294,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e7d2b0"} 
[2026-06-23 20:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:08: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800160309964891803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3862464513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:08:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:29] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,46,45,128,238,66,43,10,220,42,138,1,240,227,244,31,4,113,205,230,101,200,44,239,48,2,13,7,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:08:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249669888001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249669888001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:08:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249669888001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":112900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:08:29] local.INFO: GPS data processed {"connection_id":112900,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:08:29] local.INFO: Acknowledgment sent {"connection_id":112900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:08:33] local.INFO: TCP Data received {"connection_id":111963,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:33] local.INFO: Processing buffer {"connection_id":111963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:08:33] local.INFO: IMEI packet received {"connection_id":111963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":111963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:08:34] local.INFO: TCP Data received {"connection_id":111963,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e9f978012cdcb580072f6a700008009830..."} 
[2026-06-23 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e9f978012cdcb580072f6a700008009830..."} 
[2026-06-23 20:08:34] local.INFO: Processing buffer {"connection_id":111963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e9f978012cdcb580072f6a700008009830..."} 
[2026-06-23 20:08:34] local.INFO: Packet analysis {"connection_id":111963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:08:34] local.INFO: Extracted packet for processing {"connection_id":111963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":752661888,"raw_latitude":120547952,"longitude_deg":75.2661888,"latitude_deg":12.0547952,"altitude":8,"angle":152,"satellites":48,"speed":51,"hex_longitude":"2cdcb580","hex_latitude":"072f6a70","is_valid_coordinates":true} 
[2026-06-23 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249710848001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321638165083324416,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544463389859325952,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782225435000,"timestamp_ms":1782225435000,"timestamp_seconds":1782225435,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e9f978"} 
[2026-06-23 20:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:08: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-06-23 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:08:34] 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-06-23 20:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249710848001,"66":26930,"160":206,"2":56832,"24":51,"16":321638165083324416,"44":-2544463389859325952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,2,24,16,44]} 
[2026-06-23 20:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249710848001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-06-23 20:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321638165083324416,"km_value":321638165083324.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544463389859325952,"description":"Unknown IO ID 44"} 
[2026-06-23 20:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249710848001,"power":26930,"unknown_160":206,"power_alt":56832,"ignition":51,"odometer":null,"unknown_44":-2544463389859325952}} 
[2026-06-23 20:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":111963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:08:34] local.INFO: GPS data processed {"connection_id":111963,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:08:34] local.INFO: Acknowledgment sent {"connection_id":111963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:08:51] local.INFO: TCP Data received {"connection_id":112901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:08:51] local.INFO: Processing buffer {"connection_id":112901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:08:51] local.INFO: IMEI packet received {"connection_id":112901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":112901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:08:57] local.INFO: TCP Data received {"connection_id":112901,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:08:57] local.INFO: Processing buffer {"connection_id":112901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:08:57] local.INFO: IMEI packet received {"connection_id":112901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":112901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:08:58] local.INFO: TCP Data received {"connection_id":112901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e824b8012d196580071feec80042006c2c..."} 
[2026-06-23 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e824b8012d196580071feec80042006c2c..."} 
[2026-06-23 20:08:58] local.INFO: Processing buffer {"connection_id":112901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e824b8012d196580071feec80042006c2c..."} 
[2026-06-23 20:08:58] local.INFO: Packet analysis {"connection_id":112901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:08:58] local.INFO: Extracted packet for processing {"connection_id":112901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249675264001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08: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-06-23 20:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225315000,"timestamp_ms":1782225315000,"timestamp_seconds":1782225315,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e824b8"} 
[2026-06-23 20:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:08: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-06-23 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-800070115651675803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3867840513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:08:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:08:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,128,45,238,66,44,10,46,43,220,1,240,233,227,244,31,4,113,205,56,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:08:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249675264001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249675264001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:08:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249675264001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":112901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:08:58] local.INFO: GPS data processed {"connection_id":112901,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:08:58] local.INFO: Acknowledgment sent {"connection_id":112901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:09:07] local.INFO: TCP Data received {"connection_id":111963,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ea0530012cdcbb80072f5c78000700a430..."} 
[2026-06-23 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ea0530012cdcbb80072f5c78000700a430..."} 
[2026-06-23 20:09:07] local.INFO: Processing buffer {"connection_id":111963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ea0530012cdcbb80072f5c78000700a430..."} 
[2026-06-23 20:09:07] local.INFO: Packet analysis {"connection_id":111963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:09:07] local.INFO: Extracted packet for processing {"connection_id":111963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:09:07] local.INFO: GPS Element Parsed {"raw_longitude":752663424,"raw_latitude":120544376,"longitude_deg":75.2663424,"latitude_deg":12.0544376,"altitude":7,"angle":164,"satellites":48,"speed":50,"hex_longitude":"2cdcbb80","hex_latitude":"072f5c78","is_valid_coordinates":true} 
[2026-06-23 20:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249711360001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321638354061885440,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2542985646232145920,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782225438000,"timestamp_ms":1782225438000,"timestamp_seconds":1782225438,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ea0530"} 
[2026-06-23 20:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:09:07] 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-06-23 20:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-06-23 20:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249711360001,"66":27397,"229":206,"2":56832,"24":50,"16":321638354061885440,"44":-2542985646232145920},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,2,24,16,44]} 
[2026-06-23 20:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249711360001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:09:07] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-23 20:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321638354061885440,"km_value":321638354061885.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:09:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2542985646232145920,"description":"Unknown IO ID 44"} 
[2026-06-23 20:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249711360001,"power":27397,"unknown_229":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-2542985646232145920}} 
[2026-06-23 20:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":111963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:09:07] local.INFO: GPS data processed {"connection_id":111963,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:09:07] local.INFO: Acknowledgment sent {"connection_id":111963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:09:23] local.INFO: TCP Data received {"connection_id":112902,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:09:23] local.INFO: Processing buffer {"connection_id":112902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:09:23] local.INFO: IMEI packet received {"connection_id":112902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":112902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:09:28] local.INFO: TCP Data received {"connection_id":112902,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:09:28] local.INFO: Processing buffer {"connection_id":112902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:09:28] local.INFO: IMEI packet received {"connection_id":112902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":112902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:09:28] local.INFO: TCP Data received {"connection_id":112901,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e876c0012d196580071feec80042006c2c..."} 
[2026-06-23 20:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e876c0012d196580071feec80042006c2c..."} 
[2026-06-23 20:09:28] local.INFO: Processing buffer {"connection_id":112901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e876c0012d196580071feec80042006c2c..."} 
[2026-06-23 20:09:28] local.INFO: Packet analysis {"connection_id":112901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:09:28] local.INFO: Extracted packet for processing {"connection_id":112901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249680640001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225336000,"timestamp_ms":1782225336000,"timestamp_seconds":1782225336,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e876c0"} 
[2026-06-23 20:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 20:09:28] 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-06-23 20: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-06-23 20:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249680640001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249680640001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:09:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249680640001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":112901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:09:28] local.INFO: GPS data processed {"connection_id":112901,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:09:28] local.INFO: Acknowledgment sent {"connection_id":112901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:09:29] local.INFO: TCP Data received {"connection_id":112902,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ea2470012cdcc640072f37f8000a009d2e..."} 
[2026-06-23 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ea2470012cdcc640072f37f8000a009d2e..."} 
[2026-06-23 20:09:29] local.INFO: Processing buffer {"connection_id":112902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ea2470012cdcc640072f37f8000a009d2e..."} 
[2026-06-23 20:09:29] local.INFO: Packet analysis {"connection_id":112902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:09:29] local.INFO: Extracted packet for processing {"connection_id":112902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":752666176,"raw_latitude":120535032,"longitude_deg":75.2666176,"latitude_deg":12.0535032,"altitude":10,"angle":157,"satellites":46,"speed":43,"hex_longitude":"2cdcc640","hex_latitude":"072f37f8","is_valid_coordinates":true} 
[2026-06-23 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249712128001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321638826508288000,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2541296796372797440,"note":"Value kept but may cause issues"} 
[2026-06-23 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225446000,"timestamp_ms":1782225446000,"timestamp_seconds":1782225446,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ea2470"} 
[2026-06-23 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:09:29] 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-06-23 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249712128001,"66":27397,"229":206,"2":56832,"24":43,"16":321638826508288000,"44":-2541296796372797440},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,2,24,16,44]} 
[2026-06-23 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249712128001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:09:29] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-23 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321638826508288000,"km_value":321638826508288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2541296796372797440,"description":"Unknown IO ID 44"} 
[2026-06-23 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249712128001,"power":27397,"unknown_229":206,"power_alt":56832,"ignition":43,"odometer":null,"unknown_44":-2541296796372797440}} 
[2026-06-23 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":112902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:09:29] local.INFO: GPS data processed {"connection_id":112902,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:09:29] local.INFO: Acknowledgment sent {"connection_id":112902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:09:57] local.INFO: TCP Data received {"connection_id":111964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:09:57] local.INFO: Processing buffer {"connection_id":111964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:09:57] local.INFO: IMEI packet received {"connection_id":111964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":111964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:10:02] local.INFO: TCP Data received {"connection_id":111964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:02] local.INFO: Processing buffer {"connection_id":111964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:02] local.INFO: IMEI packet received {"connection_id":111964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":111964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:10:03] local.INFO: TCP Data received {"connection_id":111964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e8c8c8012d196580071feec80042006c2c..."} 
[2026-06-23 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e8c8c8012d196580071feec80042006c2c..."} 
[2026-06-23 20:10:03] local.INFO: Processing buffer {"connection_id":111964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e8c8c8012d196580071feec80042006c2c..."} 
[2026-06-23 20:10:03] local.INFO: Packet analysis {"connection_id":111964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:10:03] local.INFO: Extracted packet for processing {"connection_id":111964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e8"} 
[2026-06-23 20:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249686016001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782225357000,"timestamp_ms":1782225357000,"timestamp_seconds":1782225357,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e8c8c8"} 
[2026-06-23 20:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:10:03] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-799889727025243803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3878592513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,36,45,128,238,66,44,10,210,1,240,227,244,31,4,113,205,220,101,200,42,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:10:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249686016001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249686016001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:10:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249686016001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":111964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:10:03] local.INFO: GPS data processed {"connection_id":111964,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:10:03] local.INFO: Acknowledgment sent {"connection_id":111964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:10:05] local.INFO: TCP Data received {"connection_id":111964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e91ad0012d196580071feec80042006c2b..."} 
[2026-06-23 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e91ad0012d196580071feec80042006c2b..."} 
[2026-06-23 20:10:05] local.INFO: Processing buffer {"connection_id":111964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e91ad0012d196580071feec80042006c2b..."} 
[2026-06-23 20:10:05] local.INFO: Packet analysis {"connection_id":111964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:10:05] local.INFO: Extracted packet for processing {"connection_id":111964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249691392001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10: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-06-23 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782225378000,"timestamp_ms":1782225378000,"timestamp_seconds":1782225378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e91ad0"} 
[2026-06-23 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-06-23 20:10: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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-799799532712027803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3883968513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,118,45,128,238,66,44,10,36,210,1,240,227,244,31,4,113,205,46,101,200,43,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:10:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249691392001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249691392001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249691392001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":111964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:10:06] local.INFO: GPS data processed {"connection_id":111964,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:10:06] local.INFO: Acknowledgment sent {"connection_id":111964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:10:10] local.INFO: TCP Data received {"connection_id":112902,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ea5350012cdcd600072f1768001400a22e..."} 
[2026-06-23 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ea5350012cdcd600072f1768001400a22e..."} 
[2026-06-23 20:10:10] local.INFO: Processing buffer {"connection_id":112902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ea5350012cdcd600072f1768001400a22e..."} 
[2026-06-23 20:10:10] local.INFO: Packet analysis {"connection_id":112902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:10:10] local.INFO: Extracted packet for processing {"connection_id":112902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":752670208,"raw_latitude":120526696,"longitude_deg":75.2670208,"latitude_deg":12.0526696,"altitude":20,"angle":162,"satellites":46,"speed":20,"hex_longitude":"2cdcd600","hex_latitude":"072f1768","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249714176001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321639273184886784,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2538270940375549952,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782225458000,"timestamp_ms":1782225458000,"timestamp_seconds":1782225458,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ea5350"} 
[2026-06-23 20:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:10: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-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":112902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":112902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":112902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249714176001,"66":27397,"229":206,"2":56832,"24":20,"16":321639273184886784,"44":-2538270940375549952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,2,24,16,44]} 
[2026-06-23 20:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249714176001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:10:10] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-06-23 20:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321639273184886784,"km_value":321639273184886.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2538270940375549952,"description":"Unknown IO ID 44"} 
[2026-06-23 20:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249714176001,"power":27397,"unknown_229":206,"power_alt":56832,"ignition":20,"odometer":null,"unknown_44":-2538270940375549952}} 
[2026-06-23 20:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":112902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:10:10] local.INFO: GPS data processed {"connection_id":112902,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:10:10] local.INFO: Acknowledgment sent {"connection_id":112902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:10:33] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:10:33] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:10:33] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:10:37] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:10:37] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:10:37] local.INFO: IMEI packet received {"connection_id":111161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":111161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:10:37] local.INFO: TCP Data received {"connection_id":111964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e96cd8012d196580071feec80042006c2b..."} 
[2026-06-23 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e96cd8012d196580071feec80042006c2b..."} 
[2026-06-23 20:10:37] local.INFO: Processing buffer {"connection_id":111964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e96cd8012d196580071feec80042006c2b..."} 
[2026-06-23 20:10:37] local.INFO: Packet analysis {"connection_id":111964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:10:37] local.INFO: Extracted packet for processing {"connection_id":111964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249696768001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10: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-06-23 20:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782225399000,"timestamp_ms":1782225399000,"timestamp_seconds":1782225399,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e96cd8"} 
[2026-06-23 20:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:10:37] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-799709338398811803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3889344513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,200,45,128,238,66,44,10,118,36,1,240,233,227,244,31,4,113,205,101,239,48,2,13,7,42],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":200,"original":4325484,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 20:10:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249696768001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249696768001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249696768001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":111964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:10:37] local.INFO: GPS data processed {"connection_id":111964,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:10:37] local.INFO: Acknowledgment sent {"connection_id":111964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:10:38] local.INFO: TCP Data received {"connection_id":111161,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ec2040012cdc9940072ddf58000f00c02f..."} 
[2026-06-23 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ec2040012cdc9940072ddf58000f00c02f..."} 
[2026-06-23 20:10:38] local.INFO: Processing buffer {"connection_id":111161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ec2040012cdc9940072ddf58000f00c02f..."} 
[2026-06-23 20:10:38] local.INFO: Packet analysis {"connection_id":111161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ec"} 
[2026-06-23 20:10:38] local.INFO: Extracted packet for processing {"connection_id":111161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ec"} 
[2026-06-23 20:10:38] local.INFO: GPS Element Parsed {"raw_longitude":752654656,"raw_latitude":120446808,"longitude_deg":75.2654656,"latitude_deg":12.0446808,"altitude":15,"angle":192,"satellites":47,"speed":32,"hex_longitude":"2cdc9940","hex_latitude":"072ddf58","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249744640001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321643271799439360,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550374364394330112,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782225576000,"timestamp_ms":1782225576000,"timestamp_seconds":1782225576,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ec2040"} 
[2026-06-23 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-06-23 20:10: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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249744640001,"66":27365,"128":206,"2":56832,"24":32,"16":321643271799439360,"44":-2550374364394330112},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,2,24,16,44]} 
[2026-06-23 20:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249744640001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:10:38] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-23 20:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321643271799439360,"km_value":321643271799439.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550374364394330112,"description":"Unknown IO ID 44"} 
[2026-06-23 20:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249744640001,"power":27365,"unknown_128":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-2550374364394330112}} 
[2026-06-23 20:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":111161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:10:38] local.INFO: GPS data processed {"connection_id":111161,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:10:38] local.INFO: Acknowledgment sent {"connection_id":111161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:10:52] local.INFO: TCP Data received {"connection_id":111965,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:52] local.INFO: Processing buffer {"connection_id":111965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:52] local.INFO: IMEI packet received {"connection_id":111965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":111965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:10:57] local.INFO: TCP Data received {"connection_id":111965,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:57] local.INFO: Processing buffer {"connection_id":111965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:10:57] local.INFO: IMEI packet received {"connection_id":111965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":111965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:10:58] local.INFO: TCP Data received {"connection_id":111965,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4e9bee0012d196580071feec80042006c2a..."} 
[2026-06-23 20:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4e9bee0012d196580071feec80042006c2a..."} 
[2026-06-23 20:10:58] local.INFO: Processing buffer {"connection_id":111965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4e9bee0012d196580071feec80042006c2a..."} 
[2026-06-23 20:10:58] local.INFO: Packet analysis {"connection_id":111965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:10:58] local.INFO: Extracted packet for processing {"connection_id":111965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4e9"} 
[2026-06-23 20:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249702144001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:10: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-06-23 20:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225420000,"timestamp_ms":1782225420000,"timestamp_seconds":1782225420,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4e9bee0"} 
[2026-06-23 20:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:10: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-06-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249702144001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249702144001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:10:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249702144001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":111965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:10:58] local.INFO: GPS data processed {"connection_id":111965,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:10:58] local.INFO: Acknowledgment sent {"connection_id":111965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:11:22] local.INFO: TCP Data received {"connection_id":111345,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:22] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:22] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:11:23] local.INFO: TCP Data received {"connection_id":111345,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:23] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:23] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:11:28] local.INFO: TCP Data received {"connection_id":111345,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:28] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:11:28] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:11:28] local.INFO: TCP Data received {"connection_id":111965,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ea10e8012d196580071feec80042006c2c..."} 
[2026-06-23 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ea10e8012d196580071feec80042006c2c..."} 
[2026-06-23 20:11:28] local.INFO: Processing buffer {"connection_id":111965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ea10e8012d196580071feec80042006c2c..."} 
[2026-06-23 20:11:28] local.INFO: Packet analysis {"connection_id":111965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:11:28] local.INFO: Extracted packet for processing {"connection_id":111965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249707520001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225441000,"timestamp_ms":1782225441000,"timestamp_seconds":1782225441,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ea10e8"} 
[2026-06-23 20:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249707520001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249707520001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249707520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":111965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:11:28] local.INFO: GPS data processed {"connection_id":111965,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:11:28] local.INFO: Acknowledgment sent {"connection_id":111965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:11:29] local.INFO: TCP Data received {"connection_id":111345,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ec4b38012cdc9200072dbd48001300b52d..."} 
[2026-06-23 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ec4b38012cdc9200072dbd48001300b52d..."} 
[2026-06-23 20:11:29] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ec4b38012cdc9200072dbd48001300b52d..."} 
[2026-06-23 20:11:29] local.INFO: Packet analysis {"connection_id":111345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ec"} 
[2026-06-23 20:11:29] local.INFO: Extracted packet for processing {"connection_id":111345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ec"} 
[2026-06-23 20:11:29] local.INFO: GPS Element Parsed {"raw_longitude":752652800,"raw_latitude":120438088,"longitude_deg":75.26528,"latitude_deg":12.0438088,"altitude":19,"angle":181,"satellites":45,"speed":32,"hex_longitude":"2cdc9200","hex_latitude":"072dbd48","is_valid_coordinates":true} 
[2026-06-23 20:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249747456001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321643705591136256,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2550937314350114816,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225587000,"timestamp_ms":1782225587000,"timestamp_seconds":1782225587,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ec4b38"} 
[2026-06-23 20:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:11:29] 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-06-23 20:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 20:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249747456001,"66":27376,"128":206,"2":56832,"24":32,"16":321643705591136256,"44":-2550937314350114816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,2,24,16,44]} 
[2026-06-23 20:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249747456001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:11:29] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-23 20:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321643705591136256,"km_value":321643705591136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2550937314350114816,"description":"Unknown IO ID 44"} 
[2026-06-23 20:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249747456001,"power":27376,"unknown_128":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-2550937314350114816}} 
[2026-06-23 20:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":111345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:11:29] local.INFO: GPS data processed {"connection_id":111345,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:11:29] local.INFO: Acknowledgment sent {"connection_id":111345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:11:50] local.INFO: TCP Data received {"connection_id":111162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:50] local.INFO: Processing buffer {"connection_id":111162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:50] local.INFO: IMEI packet received {"connection_id":111162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":111162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:11:51] local.INFO: TCP Data received {"connection_id":111162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:51] local.INFO: Processing buffer {"connection_id":111162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:51] local.INFO: IMEI packet received {"connection_id":111162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":111162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:11:57] local.INFO: TCP Data received {"connection_id":111162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:57] local.INFO: Processing buffer {"connection_id":111162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:11:57] local.INFO: IMEI packet received {"connection_id":111162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":111162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:11:58] local.INFO: TCP Data received {"connection_id":111162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ea62f0012d196580071feec80042006c2b..."} 
[2026-06-23 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ea62f0012d196580071feec80042006c2b..."} 
[2026-06-23 20:11:58] local.INFO: Processing buffer {"connection_id":111162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ea62f0012d196580071feec80042006c2b..."} 
[2026-06-23 20:11:58] local.INFO: Packet analysis {"connection_id":111162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:11:58] local.INFO: Extracted packet for processing {"connection_id":111162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249712896001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:11: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-06-23 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225462000,"timestamp_ms":1782225462000,"timestamp_seconds":1782225462,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ea62f0"} 
[2026-06-23 20:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:11: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-06-23 20:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:11: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-06-23 20:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249712896001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249712896001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:11:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249712896001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":111162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:11:58] local.INFO: GPS data processed {"connection_id":111162,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:11:58] local.INFO: Acknowledgment sent {"connection_id":111162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:12:06] local.INFO: TCP Data received {"connection_id":111345,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ec4b38012cdc9200072dbd48001300b52d..."} 
[2026-06-23 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ec4b38012cdc9200072dbd48001300b52d..."} 
[2026-06-23 20:12:06] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ec4b38012cdc9200072dbd48001300b52d..."} 
[2026-06-23 20:12:06] local.INFO: Packet analysis {"connection_id":111345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ec"} 
[2026-06-23 20:12:06] local.INFO: Extracted packet for processing {"connection_id":111345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ec"} 
[2026-06-23 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":752652800,"raw_latitude":120438088,"longitude_deg":75.26528,"latitude_deg":12.0438088,"altitude":19,"angle":181,"satellites":45,"speed":32,"hex_longitude":"2cdc9200","hex_latitude":"072dbd48","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249750272001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321643705591136256,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552978007933499392,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782225587000,"timestamp_ms":1782225587000,"timestamp_seconds":1782225587,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ec4b38"} 
[2026-06-23 20:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:12: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-06-23 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249750272001,"66":27376,"128":206,"2":56832,"24":32,"16":321643705591136256,"44":-2552978007933499392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,2,24,16,44]} 
[2026-06-23 20:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249750272001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-23 20:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321643705591136256,"km_value":321643705591136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552978007933499392,"description":"Unknown IO ID 44"} 
[2026-06-23 20:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249750272001,"power":27376,"unknown_128":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-2552978007933499392}} 
[2026-06-23 20:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":111345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:12:06] local.INFO: GPS data processed {"connection_id":111345,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:12:06] local.INFO: Acknowledgment sent {"connection_id":111345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:12:21] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:21] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:21] local.INFO: IMEI packet received {"connection_id":111966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":111966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:12:23] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:23] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:23] local.INFO: IMEI packet received {"connection_id":111966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":111966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:12:26] local.INFO: TCP Data received {"connection_id":111346,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:12:26] local.INFO: Processing buffer {"connection_id":111346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:12:26] local.INFO: IMEI packet received {"connection_id":111346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":111346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:12:28] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:28] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:12:28] local.INFO: IMEI packet received {"connection_id":111966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":111966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:12:29] local.INFO: TCP Data received {"connection_id":111162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eab4f8012d196580071feec80042006c2b..."} 
[2026-06-23 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eab4f8012d196580071feec80042006c2b..."} 
[2026-06-23 20:12:29] local.INFO: Processing buffer {"connection_id":111162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eab4f8012d196580071feec80042006c2b..."} 
[2026-06-23 20:12:29] local.INFO: Packet analysis {"connection_id":111162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:12:29] local.INFO: Extracted packet for processing {"connection_id":111162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ea"} 
[2026-06-23 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249718272001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225483000,"timestamp_ms":1782225483000,"timestamp_seconds":1782225483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eab4f8"} 
[2026-06-23 20:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:12: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-799348561145947803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3910848513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:12:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,45,128,238,66,44,10,190,42,108,1,240,31,227,244,4,113,205,200,101,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:12:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249718272001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249718272001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249718272001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":111162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:12:29] local.INFO: GPS data processed {"connection_id":111162,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:12:29] local.INFO: Acknowledgment sent {"connection_id":111162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:12:29] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4edaac8012cdc8b00072c70e0002100c42d..."} 
[2026-06-23 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4edaac8012cdc8b00072c70e0002100c42d..."} 
[2026-06-23 20:12:29] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4edaac8012cdc8b00072c70e0002100c42d..."} 
[2026-06-23 20:12:29] local.INFO: Packet analysis {"connection_id":111966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ed"} 
[2026-06-23 20:12:29] local.INFO: Extracted packet for processing {"connection_id":111966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ed"} 
[2026-06-23 20:12:29] local.INFO: GPS Element Parsed {"raw_longitude":752651008,"raw_latitude":120352992,"longitude_deg":75.2651008,"latitude_deg":12.0352992,"altitude":33,"angle":196,"satellites":45,"speed":31,"hex_longitude":"2cdc8b00","hex_latitude":"072c70e0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249770496001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321647901774184448,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2551641001813651456,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225677000,"timestamp_ms":1782225677000,"timestamp_seconds":1782225677,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4edaac8"} 
[2026-06-23 20:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:12:29] 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-06-23 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:12:29] 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-06-23 20: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-06-23 20:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249770496001,"66":27376,"129":206,"2":56832,"24":31,"16":321647901774184448,"44":-2551641001813651456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,44]} 
[2026-06-23 20:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249770496001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 20:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321647901774184448,"km_value":321647901774184.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2551641001813651456,"description":"Unknown IO ID 44"} 
[2026-06-23 20:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249770496001,"power":27376,"unknown_129":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-2551641001813651456}} 
[2026-06-23 20:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":111966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:12:29] local.INFO: GPS data processed {"connection_id":111966,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:12:29] local.INFO: Acknowledgment sent {"connection_id":111966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:12:52] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:52] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:52] local.INFO: IMEI packet received {"connection_id":111967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":111967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:12:53] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:53] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:53] local.INFO: IMEI packet received {"connection_id":111967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":111967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:12:57] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:57] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:12:57] local.INFO: IMEI packet received {"connection_id":111967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":111967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:12:58] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eb0700012d196580071feec80042006c29..."} 
[2026-06-23 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eb0700012d196580071feec80042006c29..."} 
[2026-06-23 20:12:58] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eb0700012d196580071feec80042006c29..."} 
[2026-06-23 20:12:58] local.INFO: Packet analysis {"connection_id":111967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4eb"} 
[2026-06-23 20:12:58] local.INFO: Extracted packet for processing {"connection_id":111967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4eb"} 
[2026-06-23 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249723648001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12: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-06-23 20:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225504000,"timestamp_ms":1782225504000,"timestamp_seconds":1782225504,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eb0700"} 
[2026-06-23 20:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:12: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-06-23 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-799258366832731803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3916224513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:12:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:12:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,98,45,128,238,66,43,10,44,190,1,240,31,227,244,4,113,205,26,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:12:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249723648001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249723648001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:12:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249723648001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":111967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:12:58] local.INFO: GPS data processed {"connection_id":111967,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:12:58] local.INFO: Acknowledgment sent {"connection_id":111967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:13:00] local.INFO: TCP Data received {"connection_id":111966,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ee9910012cdcb240072bbc40001200a92d..."} 
[2026-06-23 20:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ee9910012cdcb240072bbc40001200a92d..."} 
[2026-06-23 20:13:00] local.INFO: Processing buffer {"connection_id":111966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ee9910012cdcb240072bbc40001200a92d..."} 
[2026-06-23 20:13:00] local.INFO: Packet analysis {"connection_id":111966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:00] local.INFO: Extracted packet for processing {"connection_id":111966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:00] local.INFO: GPS Element Parsed {"raw_longitude":752661056,"raw_latitude":120306752,"longitude_deg":75.2661056,"latitude_deg":12.0306752,"altitude":18,"angle":169,"satellites":45,"speed":23,"hex_longitude":"2cdcb240","hex_latitude":"072bbc40","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249788416001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321650358495477760,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543970808712071168,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782225738000,"timestamp_ms":1782225738000,"timestamp_seconds":1782225738,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ee9910"} 
[2026-06-23 20:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:13:00] 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-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249788416001,"66":26560,"140":206,"2":56832,"24":23,"16":321650358495477760,"44":-2543970808712071168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-23 20:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249788416001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:13:00] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 20:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321650358495477760,"km_value":321650358495477.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543970808712071168,"description":"Unknown IO ID 44"} 
[2026-06-23 20:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249788416001,"power":26560,"unknown_140":206,"power_alt":56832,"ignition":23,"odometer":null,"unknown_44":-2543970808712071168}} 
[2026-06-23 20:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":111966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:13:00] local.INFO: GPS data processed {"connection_id":111966,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:13:00] local.INFO: Acknowledgment sent {"connection_id":111966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:13:06] local.INFO: TCP Data received {"connection_id":111347,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:13:06] local.INFO: Processing buffer {"connection_id":111347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:13:06] local.INFO: IMEI packet received {"connection_id":111347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":111347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:13:23] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:23] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:23] local.INFO: IMEI packet received {"connection_id":111163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":111163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:13:25] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:25] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:25] local.INFO: IMEI packet received {"connection_id":111163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":111163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:13:26] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:26] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:26] local.INFO: IMEI packet received {"connection_id":111163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":111163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:13:28] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:28] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:13:28] local.INFO: IMEI packet received {"connection_id":111163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":111163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:13:28] local.INFO: TCP Data received {"connection_id":111967,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eb5908012d196580071feec80042006c2c..."} 
[2026-06-23 20:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eb5908012d196580071feec80042006c2c..."} 
[2026-06-23 20:13:28] local.INFO: Processing buffer {"connection_id":111967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eb5908012d196580071feec80042006c2c..."} 
[2026-06-23 20:13:28] local.INFO: Packet analysis {"connection_id":111967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4eb"} 
[2026-06-23 20:13:28] local.INFO: Extracted packet for processing {"connection_id":111967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4eb"} 
[2026-06-23 20:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249729024001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225525000,"timestamp_ms":1782225525000,"timestamp_seconds":1782225525,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eb5908"} 
[2026-06-23 20:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-799168172519515803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3921600513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:13:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,180,45,128,238,66,43,10,98,1,240,255,227,244,31,4,113,205,108,101,200,239,48,2,13,7,44],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249729024001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249729024001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249729024001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":111967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:13:28] local.INFO: GPS data processed {"connection_id":111967,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:13:28] local.INFO: Acknowledgment sent {"connection_id":111967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:13:31] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eea0e0012cdcb2c0072bb7d8001100ba2d..."} 
[2026-06-23 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eea0e0012cdcb2c0072bb7d8001100ba2d..."} 
[2026-06-23 20:13:31] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eea0e0012cdcb2c0072bb7d8001100ba2d..."} 
[2026-06-23 20:13:31] local.INFO: Packet analysis {"connection_id":111163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:31] local.INFO: Extracted packet for processing {"connection_id":111163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:31] local.INFO: GPS Element Parsed {"raw_longitude":752661184,"raw_latitude":120305624,"longitude_deg":75.2661184,"latitude_deg":12.0305624,"altitude":17,"angle":186,"satellites":45,"speed":21,"hex_longitude":"2cdcb2c0","hex_latitude":"072bb7d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249788928001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321650414330052608,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543900439968202752,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782225740000,"timestamp_ms":1782225740000,"timestamp_seconds":1782225740,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eea0e0"} 
[2026-06-23 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-06-23 20:13: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-06-23 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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-06-23 20:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249788928001,"66":27039,"140":206,"2":56832,"24":21,"16":321650414330052608,"44":-2543900439968202752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-23 20:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249788928001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:13:31] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 20:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321650414330052608,"km_value":321650414330052.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543900439968202752,"description":"Unknown IO ID 44"} 
[2026-06-23 20:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249788928001,"power":27039,"unknown_140":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-2543900439968202752}} 
[2026-06-23 20:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":111163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:13:31] local.INFO: GPS data processed {"connection_id":111163,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:13:31] local.INFO: Acknowledgment sent {"connection_id":111163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:13:35] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eea4c8012cdcb240072bb5b8001100c62d..."} 
[2026-06-23 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eea4c8012cdcb240072bb5b8001100c62d..."} 
[2026-06-23 20:13:35] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eea4c8012cdcb240072bb5b8001100c62d..."} 
[2026-06-23 20:13:35] local.INFO: Packet analysis {"connection_id":111163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:35] local.INFO: Extracted packet for processing {"connection_id":111163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":752661056,"raw_latitude":120305080,"longitude_deg":75.2661056,"latitude_deg":12.030508,"altitude":17,"angle":198,"satellites":45,"speed":20,"hex_longitude":"2cdcb240","hex_latitude":"072bb5b8","is_valid_coordinates":true} 
[2026-06-23 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249789440001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321650440099856384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543759702480136192,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782225741000,"timestamp_ms":1782225741000,"timestamp_seconds":1782225741,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eea4c8"} 
[2026-06-23 20:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:13: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-06-23 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 20:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249789440001,"66":27039,"140":206,"2":56832,"24":20,"16":321650440099856384,"44":-2543759702480136192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-23 20:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249789440001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:13:35] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 20:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321650440099856384,"km_value":321650440099856.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:13:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543759702480136192,"description":"Unknown IO ID 44"} 
[2026-06-23 20:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249789440001,"power":27039,"unknown_140":206,"power_alt":56832,"ignition":20,"odometer":null,"unknown_44":-2543759702480136192}} 
[2026-06-23 20:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":111163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:13:35] local.INFO: GPS data processed {"connection_id":111163,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:13:35] local.INFO: Acknowledgment sent {"connection_id":111163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:13:52] local.INFO: TCP Data received {"connection_id":111968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:13:52] local.INFO: Processing buffer {"connection_id":111968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:13:52] local.INFO: IMEI packet received {"connection_id":111968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":111968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:13:56] local.INFO: TCP Data received {"connection_id":111968,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:13:56] local.INFO: Processing buffer {"connection_id":111968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:13:56] local.INFO: IMEI packet received {"connection_id":111968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":111968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:13:57] local.INFO: TCP Data received {"connection_id":111968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eedf60012d196580071feec80042006c2b..."} 
[2026-06-23 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eedf60012d196580071feec80042006c2b..."} 
[2026-06-23 20:13:57] local.INFO: Processing buffer {"connection_id":111968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eedf60012d196580071feec80042006c2b..."} 
[2026-06-23 20:13:57] local.INFO: Packet analysis {"connection_id":111968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:57] local.INFO: Extracted packet for processing {"connection_id":111968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249788160001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782225756000,"timestamp_ms":1782225756000,"timestamp_seconds":1782225756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eedf60"} 
[2026-06-23 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-06-23 20:13: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-06-23 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 20:13:57] 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-06-23 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-06-23 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-06-23 20:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249788160001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249788160001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249788160001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":111968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:13:57] local.INFO: GPS data processed {"connection_id":111968,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:13:57] local.INFO: Acknowledgment sent {"connection_id":111968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:14:06] local.INFO: TCP Data received {"connection_id":111163,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eeb080012cdcb080072baf60001200b92d..."} 
[2026-06-23 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eeb080012cdcb080072baf60001200b92d..."} 
[2026-06-23 20:14:06] local.INFO: Processing buffer {"connection_id":111163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eeb080012cdcb080072baf60001200b92d..."} 
[2026-06-23 20:14:06] local.INFO: Packet analysis {"connection_id":111163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:14:06] local.INFO: Extracted packet for processing {"connection_id":111163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":752660608,"raw_latitude":120303456,"longitude_deg":75.2660608,"latitude_deg":12.0303456,"altitude":18,"angle":185,"satellites":45,"speed":21,"hex_longitude":"2cdcb080","hex_latitude":"072baf60","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249789696001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321650521704235008,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543900439968630784,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782225744000,"timestamp_ms":1782225744000,"timestamp_seconds":1782225744,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eeb080"} 
[2026-06-23 20:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:14: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-06-23 20: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249789696001,"66":27517,"140":206,"2":56832,"24":21,"16":321650521704235008,"44":-2543900439968630784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-23 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249789696001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:14:06] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321650521704235008,"km_value":321650521704235.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543900439968630784,"description":"Unknown IO ID 44"} 
[2026-06-23 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249789696001,"power":27517,"unknown_140":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-2543900439968630784}} 
[2026-06-23 20:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":111163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:14:06] local.INFO: GPS data processed {"connection_id":111163,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:14:06] local.INFO: Acknowledgment sent {"connection_id":111163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:14:23] local.INFO: TCP Data received {"connection_id":112904,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:14:23] local.INFO: Processing buffer {"connection_id":112904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:14:23] local.INFO: IMEI packet received {"connection_id":112904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":112904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:14:27] local.INFO: TCP Data received {"connection_id":111968,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ef3168012d196580071feec80042006c2a..."} 
[2026-06-23 20:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ef3168012d196580071feec80042006c2a..."} 
[2026-06-23 20:14:27] local.INFO: Processing buffer {"connection_id":111968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ef3168012d196580071feec80042006c2a..."} 
[2026-06-23 20:14:27] local.INFO: Packet analysis {"connection_id":111968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:14:27] local.INFO: Extracted packet for processing {"connection_id":111968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249793536001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782225777000,"timestamp_ms":1782225777000,"timestamp_seconds":1782225777,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ef3168"} 
[2026-06-23 20:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:14:27] 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-06-23 20:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249793536001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249793536001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:14:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249793536001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":111968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:14:27] local.INFO: GPS data processed {"connection_id":111968,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:14:27] local.INFO: Acknowledgment sent {"connection_id":111968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:14:28] local.INFO: TCP Data received {"connection_id":112904,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:14:28] local.INFO: Processing buffer {"connection_id":112904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:14:28] local.INFO: IMEI packet received {"connection_id":112904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":112904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:14:30] local.INFO: TCP Data received {"connection_id":112904,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4eee730012cdcac40072b8aa8001000bf2d..."} 
[2026-06-23 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4eee730012cdcac40072b8aa8001000bf2d..."} 
[2026-06-23 20:14:30] local.INFO: Processing buffer {"connection_id":112904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4eee730012cdcac40072b8aa8001000bf2d..."} 
[2026-06-23 20:14:30] local.INFO: Packet analysis {"connection_id":112904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:14:30] local.INFO: Extracted packet for processing {"connection_id":112904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ee"} 
[2026-06-23 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":752659520,"raw_latitude":120294056,"longitude_deg":75.265952,"latitude_deg":12.0294056,"altitude":16,"angle":191,"satellites":45,"speed":35,"hex_longitude":"2cdcac40","hex_latitude":"072b8aa8","is_valid_coordinates":true} 
[2026-06-23 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249790464001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321650981265735680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544393021178290176,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782225758000,"timestamp_ms":1782225758000,"timestamp_seconds":1782225758,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4eee730"} 
[2026-06-23 20:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:14:30] 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-06-23 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 20:14:30] 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-06-23 20:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249790464001,"66":27397,"140":206,"2":56832,"24":35,"16":321650981265735680,"44":-2544393021178290176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-23 20:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249790464001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:14:30] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-23 20:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321650981265735680,"km_value":321650981265735.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544393021178290176,"description":"Unknown IO ID 44"} 
[2026-06-23 20:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249790464001,"power":27397,"unknown_140":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2544393021178290176}} 
[2026-06-23 20:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":112904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:14:30] local.INFO: GPS data processed {"connection_id":112904,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:14:30] local.INFO: Acknowledgment sent {"connection_id":112904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:14:52] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:14:52] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:14:52] local.INFO: IMEI packet received {"connection_id":111349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":111349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:14:57] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:14:57] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:14:57] local.INFO: IMEI packet received {"connection_id":111349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":111349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:14:58] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ef8370012d196580071feec80042006c2c..."} 
[2026-06-23 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ef8370012d196580071feec80042006c2c..."} 
[2026-06-23 20:14:58] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ef8370012d196580071feec80042006c2c..."} 
[2026-06-23 20:14:58] local.INFO: Packet analysis {"connection_id":111349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:14:58] local.INFO: Extracted packet for processing {"connection_id":111349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249798912001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225798000,"timestamp_ms":1782225798000,"timestamp_seconds":1782225798,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ef8370"} 
[2026-06-23 20:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:14: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-06-23 20:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249798912001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249798912001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:14:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249798912001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":111349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:14:58] local.INFO: GPS data processed {"connection_id":111349,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:14:58] local.INFO: Acknowledgment sent {"connection_id":111349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:15:01] local.INFO: TCP Data received {"connection_id":112904,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ef0a58012cdca8c0072b6790000900b32f..."} 
[2026-06-23 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ef0a58012cdca8c0072b6790000900b32f..."} 
[2026-06-23 20:15:01] local.INFO: Processing buffer {"connection_id":112904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ef0a58012cdca8c0072b6790000900b32f..."} 
[2026-06-23 20:15:01] local.INFO: Packet analysis {"connection_id":112904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:15:01] local.INFO: Extracted packet for processing {"connection_id":112904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":752658624,"raw_latitude":120285072,"longitude_deg":75.2658624,"latitude_deg":12.0285072,"altitude":9,"angle":179,"satellites":47,"speed":43,"hex_longitude":"2cdca8c0","hex_latitude":"072b6790","is_valid_coordinates":true} 
[2026-06-23 20:15: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-06-23 20:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249794048001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321651419352399872,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2545589289831716864,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782225767000,"timestamp_ms":1782225767000,"timestamp_seconds":1782225767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ef0a58"} 
[2026-06-23 20:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:15: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:15: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-06-23 20:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249794048001,"66":27289,"139":206,"2":56832,"24":43,"16":321651419352399872,"44":-2545589289831716864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,2,24,16,44]} 
[2026-06-23 20:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249794048001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-06-23 20:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321651419352399872,"km_value":321651419352399.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2545589289831716864,"description":"Unknown IO ID 44"} 
[2026-06-23 20:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249794048001,"power":27289,"unknown_139":206,"power_alt":56832,"ignition":43,"odometer":null,"unknown_44":-2545589289831716864}} 
[2026-06-23 20:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":112904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:15:01] local.INFO: GPS data processed {"connection_id":112904,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:15:01] local.INFO: Acknowledgment sent {"connection_id":112904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:15:24] local.INFO: TCP Data received {"connection_id":111164,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:24] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:24] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:15:28] local.INFO: TCP Data received {"connection_id":111164,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:28] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:28] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:15:29] local.INFO: TCP Data received {"connection_id":111349,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4efd578012d196580071feec80042006c2b..."} 
[2026-06-23 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4efd578012d196580071feec80042006c2b..."} 
[2026-06-23 20:15:29] local.INFO: Processing buffer {"connection_id":111349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4efd578012d196580071feec80042006c2b..."} 
[2026-06-23 20:15:29] local.INFO: Packet analysis {"connection_id":111349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:15:29] local.INFO: Extracted packet for processing {"connection_id":111349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ef"} 
[2026-06-23 20:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249804288001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225819000,"timestamp_ms":1782225819000,"timestamp_seconds":1782225819,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4efd578"} 
[2026-06-23 20:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:15: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-06-23 20:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-797905452134491803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3996864513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:15:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,49,45,128,238,66,42,10,223,43,141,1,240,233,227,244,31,4,113,205,101,200,239,48,2,13,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:15:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249804288001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249804288001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249804288001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":111349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:15:29] local.INFO: GPS data processed {"connection_id":111349,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:15:29] local.INFO: Acknowledgment sent {"connection_id":111349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:15:33] local.INFO: TCP Data received {"connection_id":111164,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:33] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:15:33] local.INFO: IMEI packet received {"connection_id":111164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":111164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:15:35] local.INFO: TCP Data received {"connection_id":111164,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f098c8012cdd21c0072a74f00009008231..."} 
[2026-06-23 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f098c8012cdd21c0072a74f00009008231..."} 
[2026-06-23 20:15:35] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f098c8012cdd21c0072a74f00009008231..."} 
[2026-06-23 20:15:35] local.INFO: Packet analysis {"connection_id":111164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:15:35] local.INFO: Extracted packet for processing {"connection_id":111164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":752689600,"raw_latitude":120222960,"longitude_deg":75.26896,"latitude_deg":12.022296,"altitude":9,"angle":130,"satellites":49,"speed":49,"hex_longitude":"2cdd21c0","hex_latitude":"072a74f0","is_valid_coordinates":true} 
[2026-06-23 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249820160001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321654971290353664,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2521100966874390528,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782225869000,"timestamp_ms":1782225869000,"timestamp_seconds":1782225869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f098c8"} 
[2026-06-23 20:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:15:35] 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-06-23 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249820160001,"66":27397,"88":206,"2":56832,"24":49,"16":321654971290353664,"44":-2521100966874390528},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-06-23 20:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249820160001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:15:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 20:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321654971290353664,"km_value":321654971290353.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2521100966874390528,"description":"Unknown IO ID 44"} 
[2026-06-23 20:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249820160001,"power":27397,"unknown_88":206,"power_alt":56832,"ignition":49,"odometer":null,"unknown_44":-2521100966874390528}} 
[2026-06-23 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":111164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:15:35] local.INFO: GPS data processed {"connection_id":111164,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:15:35] local.INFO: Acknowledgment sent {"connection_id":111164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:15:36] local.INFO: TCP Data received {"connection_id":111164,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f0b808012cdd3e00072a5c48000d008530..."} 
[2026-06-23 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f0b808012cdd3e00072a5c48000d008530..."} 
[2026-06-23 20:15:36] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f0b808012cdd3e00072a5c48000d008530..."} 
[2026-06-23 20:15:36] local.INFO: Packet analysis {"connection_id":111164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:15:36] local.INFO: Extracted packet for processing {"connection_id":111164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":752696832,"raw_latitude":120216648,"longitude_deg":75.2696832,"latitude_deg":12.0216648,"altitude":13,"angle":133,"satellites":48,"speed":43,"hex_longitude":"2cdd3e00","hex_latitude":"072a5c48","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249822464001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321655430851854336,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2512515980086415360,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782225877000,"timestamp_ms":1782225877000,"timestamp_seconds":1782225877,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f0b808"} 
[2026-06-23 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-06-23 20:15: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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249822464001,"66":27267,"88":206,"2":56832,"24":43,"16":321655430851854336,"44":-2512515980086415360},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-06-23 20:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249822464001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:15:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 20:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321655430851854336,"km_value":321655430851854.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2512515980086415360,"description":"Unknown IO ID 44"} 
[2026-06-23 20:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249822464001,"power":27267,"unknown_88":206,"power_alt":56832,"ignition":43,"odometer":null,"unknown_44":-2512515980086415360}} 
[2026-06-23 20:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":111164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:15:36] local.INFO: GPS data processed {"connection_id":111164,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:15:36] local.INFO: Acknowledgment sent {"connection_id":111164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:15:52] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:15:52] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:15:52] local.INFO: IMEI packet received {"connection_id":111969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":111969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:15:57] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:15:57] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:15:57] local.INFO: IMEI packet received {"connection_id":111969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":111969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:15:58] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f02780012d196580071feec80042006c2c..."} 
[2026-06-23 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f02780012d196580071feec80042006c2c..."} 
[2026-06-23 20:15:58] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f02780012d196580071feec80042006c2c..."} 
[2026-06-23 20:15:58] local.INFO: Packet analysis {"connection_id":111969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:15:58] local.INFO: Extracted packet for processing {"connection_id":111969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249809664001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15: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-06-23 20:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225840000,"timestamp_ms":1782225840000,"timestamp_seconds":1782225840,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f02780"} 
[2026-06-23 20:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:15: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-06-23 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-797815257821275803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4002240513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:15:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,131,45,128,238,66,44,10,49,42,223,1,240,31,227,244,4,113,205,59,101,200,43,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:15:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249809664001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249809664001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:15:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:15:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249809664001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":111969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:15:58] local.INFO: GPS data processed {"connection_id":111969,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:15:58] local.INFO: Acknowledgment sent {"connection_id":111969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:16:07] local.INFO: TCP Data received {"connection_id":111164,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f0db30012cdd58c0072a45380010008131..."} 
[2026-06-23 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f0db30012cdd58c0072a45380010008131..."} 
[2026-06-23 20:16:07] local.INFO: Processing buffer {"connection_id":111164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f0db30012cdd58c0072a45380010008131..."} 
[2026-06-23 20:16:07] local.INFO: Packet analysis {"connection_id":111164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:07] local.INFO: Extracted packet for processing {"connection_id":111164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:07] local.INFO: GPS Element Parsed {"raw_longitude":752703680,"raw_latitude":120210744,"longitude_deg":75.270368,"latitude_deg":12.0210744,"altitude":16,"angle":129,"satellites":49,"speed":35,"hex_longitude":"2cdd58c0","hex_latitude":"072a4538","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249824512001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321655864643551232,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2504564311995955200,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782225886000,"timestamp_ms":1782225886000,"timestamp_seconds":1782225886,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f0db30"} 
[2026-06-23 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-06-23 20:16:07] 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-06-23 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:16:07] 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-06-23 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-06-23 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-06-23 20:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249824512001,"66":26789,"88":206,"2":56832,"24":35,"16":321655864643551232,"44":-2504564311995955200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-06-23 20:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249824512001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:16:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321655864643551232,"km_value":321655864643551.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:16:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2504564311995955200,"description":"Unknown IO ID 44"} 
[2026-06-23 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249824512001,"power":26789,"unknown_88":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2504564311995955200}} 
[2026-06-23 20:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":111164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:16:08] local.INFO: GPS data processed {"connection_id":111164,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:16:08] local.INFO: Acknowledgment sent {"connection_id":111164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:16:23] local.INFO: TCP Data received {"connection_id":111970,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:16:23] local.INFO: Processing buffer {"connection_id":111970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:16:23] local.INFO: IMEI packet received {"connection_id":111970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":111970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:16:25] local.INFO: TCP Data received {"connection_id":111970,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:16:25] local.INFO: Processing buffer {"connection_id":111970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:16:25] local.INFO: IMEI packet received {"connection_id":111970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":111970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:16:26] local.INFO: TCP Data received {"connection_id":111970,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f0fe58012cdd7000072a33780012008d30..."} 
[2026-06-23 20:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f0fe58012cdd7000072a33780012008d30..."} 
[2026-06-23 20:16:26] local.INFO: Processing buffer {"connection_id":111970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f0fe58012cdd7000072a33780012008d30..."} 
[2026-06-23 20:16:26] local.INFO: Packet analysis {"connection_id":111970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:26] local.INFO: Extracted packet for processing {"connection_id":111970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:26] local.INFO: GPS Element Parsed {"raw_longitude":752709632,"raw_latitude":120206200,"longitude_deg":75.2709632,"latitude_deg":12.02062,"altitude":18,"angle":141,"satellites":48,"speed":32,"hex_longitude":"2cdd7000","hex_latitude":"072a3378","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249826816001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321656225420804096,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2497034856370456576,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782225895000,"timestamp_ms":1782225895000,"timestamp_seconds":1782225895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f0fe58"} 
[2026-06-23 20:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:16:26] 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-06-23 20:16: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-06-23 20:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:16: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-06-23 20:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249826816001,"66":27332,"88":206,"2":56832,"24":32,"16":321656225420804096,"44":-2497034856370456576},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-06-23 20:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249826816001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:16:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 20:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321656225420804096,"km_value":321656225420804.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:16:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2497034856370456576,"description":"Unknown IO ID 44"} 
[2026-06-23 20:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249826816001,"power":27332,"unknown_88":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-2497034856370456576}} 
[2026-06-23 20:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":111970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:16:26] local.INFO: GPS data processed {"connection_id":111970,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:16:26] local.INFO: Acknowledgment sent {"connection_id":111970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:16:29] local.INFO: TCP Data received {"connection_id":111969,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f07988012d196580071feec80042006c2c..."} 
[2026-06-23 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f07988012d196580071feec80042006c2c..."} 
[2026-06-23 20:16:29] local.INFO: Processing buffer {"connection_id":111969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f07988012d196580071feec80042006c2c..."} 
[2026-06-23 20:16:29] local.INFO: Packet analysis {"connection_id":111969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:29] local.INFO: Extracted packet for processing {"connection_id":111969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249815040001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225861000,"timestamp_ms":1782225861000,"timestamp_seconds":1782225861,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f07988"} 
[2026-06-23 20:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:16: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-06-23 20:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-797725063508059803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4007616513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,213,45,128,238,66,43,10,131,44,49,1,240,31,227,244,4,113,205,141,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:16:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249815040001,"66":12232,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249815040001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249815040001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:16:29] local.INFO: GPS data processed {"connection_id":111969,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:16:29] local.INFO: Acknowledgment sent {"connection_id":111969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:16:29] local.INFO: TCP Data received {"connection_id":111970,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f115c8012cdd7c40072a24380011008230..."} 
[2026-06-23 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f115c8012cdd7c40072a24380011008230..."} 
[2026-06-23 20:16:29] local.INFO: Processing buffer {"connection_id":111970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f115c8012cdd7c40072a24380011008230..."} 
[2026-06-23 20:16:29] local.INFO: Packet analysis {"connection_id":111970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:16:29] local.INFO: Extracted packet for processing {"connection_id":111970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:16:29] local.INFO: GPS Element Parsed {"raw_longitude":752712768,"raw_latitude":120202296,"longitude_deg":75.2712768,"latitude_deg":12.0202296,"altitude":17,"angle":130,"satellites":48,"speed":34,"hex_longitude":"2cdd7c40","hex_latitude":"072a2438","is_valid_coordinates":true} 
[2026-06-23 20:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249829120001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321656465938972672,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2490490563163097088,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782225901000,"timestamp_ms":1782225901000,"timestamp_seconds":1782225901,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f115c8"} 
[2026-06-23 20:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:16:29] 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-06-23 20:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249829120001,"66":26745,"88":206,"2":56832,"24":34,"16":321656465938972672,"44":-2490490563163097088},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-06-23 20:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249829120001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 20:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321656465938972672,"km_value":321656465938972.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2490490563163097088,"description":"Unknown IO ID 44"} 
[2026-06-23 20:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249829120001,"power":26745,"unknown_88":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-2490490563163097088}} 
[2026-06-23 20:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:16:29] local.INFO: GPS data processed {"connection_id":111970,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:16:29] local.INFO: Acknowledgment sent {"connection_id":111970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:16:52] local.INFO: TCP Data received {"connection_id":111166,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:16:52] local.INFO: Processing buffer {"connection_id":111166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:16:52] local.INFO: IMEI packet received {"connection_id":111166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":111166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:16:57] local.INFO: TCP Data received {"connection_id":111166,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:16:57] local.INFO: Processing buffer {"connection_id":111166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:16:57] local.INFO: IMEI packet received {"connection_id":111166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":111166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:16:58] local.INFO: TCP Data received {"connection_id":111166,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f0cb90012d196580071feec80042006c2c..."} 
[2026-06-23 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f0cb90012d196580071feec80042006c2c..."} 
[2026-06-23 20:16:58] local.INFO: Processing buffer {"connection_id":111166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f0cb90012d196580071feec80042006c2c..."} 
[2026-06-23 20:16:58] local.INFO: Packet analysis {"connection_id":111166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:58] local.INFO: Extracted packet for processing {"connection_id":111166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f0"} 
[2026-06-23 20:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249820416001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:16: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-06-23 20:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225882000,"timestamp_ms":1782225882000,"timestamp_seconds":1782225882,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f0cb90"} 
[2026-06-23 20:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 20:16:58] 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-06-23 20:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249820416001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249820416001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:16:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249820416001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":111166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:16:58] local.INFO: GPS data processed {"connection_id":111166,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:16:58] local.INFO: Acknowledgment sent {"connection_id":111166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:17:05] local.INFO: TCP Data received {"connection_id":111970,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f11d98012cdd8240072a20980011007531..."} 
[2026-06-23 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f11d98012cdd8240072a20980011007531..."} 
[2026-06-23 20:17:05] local.INFO: Processing buffer {"connection_id":111970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f11d98012cdd8240072a20980011007531..."} 
[2026-06-23 20:17:05] local.INFO: Packet analysis {"connection_id":111970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:17:05] local.INFO: Extracted packet for processing {"connection_id":111970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":752714304,"raw_latitude":120201368,"longitude_deg":75.2714304,"latitude_deg":12.0201368,"altitude":17,"angle":117,"satellites":49,"speed":34,"hex_longitude":"2cdd8240","hex_latitude":"072a2098","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249830656001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321656551838318592,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2487042494699390976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782225903000,"timestamp_ms":1782225903000,"timestamp_seconds":1782225903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f11d98"} 
[2026-06-23 20:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:17: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-06-23 20: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-06-23 20:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249830656001,"66":27343,"88":206,"2":56832,"24":34,"16":321656551838318592,"44":-2487042494699390976},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-06-23 20:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249830656001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:17:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 20:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321656551838318592,"km_value":321656551838318.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2487042494699390976,"description":"Unknown IO ID 44"} 
[2026-06-23 20:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249830656001,"power":27343,"unknown_88":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-2487042494699390976}} 
[2026-06-23 20:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":111970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:17:05] local.INFO: GPS data processed {"connection_id":111970,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:17:05] local.INFO: Acknowledgment sent {"connection_id":111970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:17:23] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:17:23] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:17:23] local.INFO: IMEI packet received {"connection_id":111168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":111168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:17:28] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:17:28] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:17:28] local.INFO: IMEI packet received {"connection_id":111168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":111168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:17:28] local.INFO: TCP Data received {"connection_id":111166,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f11d98012d196580071feec80042006c2b..."} 
[2026-06-23 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f11d98012d196580071feec80042006c2b..."} 
[2026-06-23 20:17:28] local.INFO: Processing buffer {"connection_id":111166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f11d98012d196580071feec80042006c2b..."} 
[2026-06-23 20:17:28] local.INFO: Packet analysis {"connection_id":111166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:17:28] local.INFO: Extracted packet for processing {"connection_id":111166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249825792001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225903000,"timestamp_ms":1782225903000,"timestamp_seconds":1782225903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f11d98"} 
[2026-06-23 20:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 20:17:28] 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-06-23 20: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-06-23 20:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249825792001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249825792001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249825792001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":111166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:17:28] local.INFO: GPS data processed {"connection_id":111166,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:17:28] local.INFO: Acknowledgment sent {"connection_id":111166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:17:31] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f261d0012cde7f80072905400007008b30..."} 
[2026-06-23 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f261d0012cde7f80072905400007008b30..."} 
[2026-06-23 20:17:31] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f261d0012cde7f80072905400007008b30..."} 
[2026-06-23 20:17:31] local.INFO: Packet analysis {"connection_id":111168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:17:31] local.INFO: Extracted packet for processing {"connection_id":111168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:17:31] local.INFO: GPS Element Parsed {"raw_longitude":752779136,"raw_latitude":120128832,"longitude_deg":75.2779136,"latitude_deg":12.0128832,"altitude":7,"angle":139,"satellites":48,"speed":50,"hex_longitude":"2cde7f80","hex_latitude":"07290540","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249850624001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321661229057703936,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2420684768956940288,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782225986000,"timestamp_ms":1782225986000,"timestamp_seconds":1782225986,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f261d0"} 
[2026-06-23 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-06-23 20:17:31] 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-06-23 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249850624001,"66":27463,"198":206,"2":56832,"24":50,"16":321661229057703936,"44":-2420684768956940288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,44]} 
[2026-06-23 20:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249850624001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:17:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 20:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321661229057703936,"km_value":321661229057703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2420684768956940288,"description":"Unknown IO ID 44"} 
[2026-06-23 20:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249850624001,"power":27463,"unknown_198":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-2420684768956940288}} 
[2026-06-23 20:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":111168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:17:31] local.INFO: GPS data processed {"connection_id":111168,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:17:31] local.INFO: Acknowledgment sent {"connection_id":111168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:17:51] local.INFO: TCP Data received {"connection_id":112906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:17:51] local.INFO: Processing buffer {"connection_id":112906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:17:51] local.INFO: IMEI packet received {"connection_id":112906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":112906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:17:57] local.INFO: TCP Data received {"connection_id":112906,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:17:57] local.INFO: Processing buffer {"connection_id":112906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:17:57] local.INFO: IMEI packet received {"connection_id":112906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":112906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:17:58] local.INFO: TCP Data received {"connection_id":112906,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f16fa0012d196580071feec80042006c2a..."} 
[2026-06-23 20:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f16fa0012d196580071feec80042006c2a..."} 
[2026-06-23 20:17:58] local.INFO: Processing buffer {"connection_id":112906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f16fa0012d196580071feec80042006c2a..."} 
[2026-06-23 20:17:58] local.INFO: Packet analysis {"connection_id":112906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:17:58] local.INFO: Extracted packet for processing {"connection_id":112906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249831168001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17: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-06-23 20:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225924000,"timestamp_ms":1782225924000,"timestamp_seconds":1782225924,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f16fa0"} 
[2026-06-23 20:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:17: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-06-23 20:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-797454480568411803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":36865,"corrected_to":0} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4023744513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:17:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:17:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,203,45,128,238,66,44,10,121,39,1,240,227,244,31,4,113,205,131,101,200,239,48,2,13,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":203,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:17:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249831168001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249831168001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:17:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249831168001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":112906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:17:58] local.INFO: GPS data processed {"connection_id":112906,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:17:58] local.INFO: Acknowledgment sent {"connection_id":112906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:18:03] local.INFO: TCP Data received {"connection_id":111168,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f27d28012cde96000728e9980006008e2f..."} 
[2026-06-23 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f27d28012cde96000728e9980006008e2f..."} 
[2026-06-23 20:18:03] local.INFO: Processing buffer {"connection_id":111168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f27d28012cde96000728e9980006008e2f..."} 
[2026-06-23 20:18:03] local.INFO: Packet analysis {"connection_id":111168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:18:03] local.INFO: Extracted packet for processing {"connection_id":111168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":752784896,"raw_latitude":120121752,"longitude_deg":75.2784896,"latitude_deg":12.0121752,"altitude":6,"angle":142,"satellites":47,"speed":52,"hex_longitude":"2cde9600","hex_latitude":"0728e998","is_valid_coordinates":true} 
[2026-06-23 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249852416001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321661667144368128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2414070107005960192,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782225993000,"timestamp_ms":1782225993000,"timestamp_seconds":1782225993,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f27d28"} 
[2026-06-23 20:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:18:03] 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-06-23 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249852416001,"66":26376,"198":206,"2":56832,"24":52,"16":321661667144368128,"44":-2414070107005960192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,44]} 
[2026-06-23 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249852416001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:18:03] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321661667144368128,"km_value":321661667144368.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2414070107005960192,"description":"Unknown IO ID 44"} 
[2026-06-23 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249852416001,"power":26376,"unknown_198":206,"power_alt":56832,"ignition":52,"odometer":null,"unknown_44":-2414070107005960192}} 
[2026-06-23 20:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":111168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:18:03] local.INFO: GPS data processed {"connection_id":111168,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:18:03] local.INFO: Acknowledgment sent {"connection_id":111168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:18:23] local.INFO: TCP Data received {"connection_id":111971,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:18:23] local.INFO: Processing buffer {"connection_id":111971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:18:23] local.INFO: IMEI packet received {"connection_id":111971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":111971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:18:27] local.INFO: TCP Data received {"connection_id":111971,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:18:27] local.INFO: Processing buffer {"connection_id":111971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:18:27] local.INFO: IMEI packet received {"connection_id":111971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":111971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:18:28] local.INFO: TCP Data received {"connection_id":112906,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f1c1a8012d196580071feec80042006c2a..."} 
[2026-06-23 20:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f1c1a8012d196580071feec80042006c2a..."} 
[2026-06-23 20:18:28] local.INFO: Processing buffer {"connection_id":112906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f1c1a8012d196580071feec80042006c2a..."} 
[2026-06-23 20:18:28] local.INFO: Packet analysis {"connection_id":112906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:18:28] local.INFO: Extracted packet for processing {"connection_id":112906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f1"} 
[2026-06-23 20:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249836544001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225945000,"timestamp_ms":1782225945000,"timestamp_seconds":1782225945,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f1c1a8"} 
[2026-06-23 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-06-23 20:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:18:28] 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-06-23 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-06-23 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-06-23 20:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249836544001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249836544001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249836544001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":112906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:18:28] local.INFO: GPS data processed {"connection_id":112906,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:18:28] local.INFO: Acknowledgment sent {"connection_id":112906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:18:29] local.INFO: TCP Data received {"connection_id":111971,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f29c68012cdeae000728cac00006008a2e..."} 
[2026-06-23 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f29c68012cdeae000728cac00006008a2e..."} 
[2026-06-23 20:18:29] local.INFO: Processing buffer {"connection_id":111971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f29c68012cdeae000728cac00006008a2e..."} 
[2026-06-23 20:18:29] local.INFO: Packet analysis {"connection_id":111971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:18:29] local.INFO: Extracted packet for processing {"connection_id":111971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:18:29] local.INFO: GPS Element Parsed {"raw_longitude":752791040,"raw_latitude":120113856,"longitude_deg":75.279104,"latitude_deg":12.0113856,"altitude":6,"angle":138,"satellites":46,"speed":46,"hex_longitude":"2cdeae00","hex_latitude":"0728cac0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249854208001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321662148180705280,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2407736920031782912,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226001000,"timestamp_ms":1782226001000,"timestamp_seconds":1782226001,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f29c68"} 
[2026-06-23 20:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:18:29] 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-06-23 20: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-23 20:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249854208001,"66":27463,"199":206,"2":56832,"24":46,"16":321662148180705280,"44":-2407736920031782912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,2,24,16,44]} 
[2026-06-23 20:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249854208001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:18:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-06-23 20:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321662148180705280,"km_value":321662148180705.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2407736920031782912,"description":"Unknown IO ID 44"} 
[2026-06-23 20:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249854208001,"power":27463,"trip_odometer":0.206,"power_alt":56832,"ignition":46,"odometer":null,"unknown_44":-2407736920031782912}} 
[2026-06-23 20:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":111971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:18:29] local.INFO: GPS data processed {"connection_id":111971,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:18:29] local.INFO: Acknowledgment sent {"connection_id":111971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:18:36] local.INFO: TCP Data received {"connection_id":111169,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:18:36] local.INFO: Processing buffer {"connection_id":111169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:18:36] local.INFO: IMEI packet received {"connection_id":111169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":111169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:18:51] local.INFO: TCP Data received {"connection_id":111350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:18:51] local.INFO: Processing buffer {"connection_id":111350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:18:51] local.INFO: IMEI packet received {"connection_id":111350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":111350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:18:57] local.INFO: TCP Data received {"connection_id":111350,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:18:57] local.INFO: Processing buffer {"connection_id":111350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:18:57] local.INFO: IMEI packet received {"connection_id":111350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":111350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:18:58] local.INFO: TCP Data received {"connection_id":111350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f213b0012d196580071feec80042006c2a..."} 
[2026-06-23 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f213b0012d196580071feec80042006c2a..."} 
[2026-06-23 20:18:58] local.INFO: Processing buffer {"connection_id":111350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f213b0012d196580071feec80042006c2a..."} 
[2026-06-23 20:18:58] local.INFO: Packet analysis {"connection_id":111350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:18:58] local.INFO: Extracted packet for processing {"connection_id":111350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249841920001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:18: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-06-23 20:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782225966000,"timestamp_ms":1782225966000,"timestamp_seconds":1782225966,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f213b0"} 
[2026-06-23 20:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:18: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-06-23 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249841920001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249841920001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:18:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249841920001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":111350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:18:58] local.INFO: GPS data processed {"connection_id":111350,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:18:58] local.INFO: Acknowledgment sent {"connection_id":111350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:19:18] local.INFO: TCP Data received {"connection_id":111351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:19:18] local.INFO: Processing buffer {"connection_id":111351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:19:18] local.INFO: IMEI packet received {"connection_id":111351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":111351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:19:18] local.INFO: TCP Data received {"connection_id":111971,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f2bba8012cdec9c00728af98000700892f..."} 
[2026-06-23 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f2bba8012cdec9c00728af98000700892f..."} 
[2026-06-23 20:19:18] local.INFO: Processing buffer {"connection_id":111971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f2bba8012cdec9c00728af98000700892f..."} 
[2026-06-23 20:19:18] local.INFO: Packet analysis {"connection_id":111971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:19:18] local.INFO: Extracted packet for processing {"connection_id":111971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":752798144,"raw_latitude":120106904,"longitude_deg":75.2798144,"latitude_deg":12.0106904,"altitude":7,"angle":137,"satellites":47,"speed":49,"hex_longitude":"2cdec9c0","hex_latitude":"0728af98","is_valid_coordinates":true} 
[2026-06-23 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249856256001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321662624922075136,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2400981520592748544,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782226009000,"timestamp_ms":1782226009000,"timestamp_seconds":1782226009,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f2bba8"} 
[2026-06-23 20:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:19:18] 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-06-23 20:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249856256001,"66":27463,"199":206,"2":56832,"24":49,"16":321662624922075136,"44":-2400981520592748544},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,2,24,16,44]} 
[2026-06-23 20:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249856256001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:19:18] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-06-23 20:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321662624922075136,"km_value":321662624922075.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2400981520592748544,"description":"Unknown IO ID 44"} 
[2026-06-23 20:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249856256001,"power":27463,"trip_odometer":0.206,"power_alt":56832,"ignition":49,"odometer":null,"unknown_44":-2400981520592748544}} 
[2026-06-23 20:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":111971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:19:18] local.INFO: GPS data processed {"connection_id":111971,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:19:18] local.INFO: Acknowledgment sent {"connection_id":111971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:19:22] local.INFO: TCP Data received {"connection_id":112907,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:22] local.INFO: Processing buffer {"connection_id":112907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:22] local.INFO: IMEI packet received {"connection_id":112907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":112907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:19:23] local.INFO: TCP Data received {"connection_id":112907,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:23] local.INFO: Processing buffer {"connection_id":112907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:23] local.INFO: IMEI packet received {"connection_id":112907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":112907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:19:28] local.INFO: TCP Data received {"connection_id":112907,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:28] local.INFO: Processing buffer {"connection_id":112907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:19:28] local.INFO: IMEI packet received {"connection_id":112907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":112907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:19:28] local.INFO: TCP Data received {"connection_id":111350,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f265b8012d196580071feec80042006c2a..."} 
[2026-06-23 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f265b8012d196580071feec80042006c2a..."} 
[2026-06-23 20:19:28] local.INFO: Processing buffer {"connection_id":111350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f265b8012d196580071feec80042006c2a..."} 
[2026-06-23 20:19:28] local.INFO: Packet analysis {"connection_id":111350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:19:28] local.INFO: Extracted packet for processing {"connection_id":111350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249847296001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782225987000,"timestamp_ms":1782225987000,"timestamp_seconds":1782225987,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f265b8"} 
[2026-06-23 20:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249847296001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249847296001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249847296001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":111350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:19:28] local.INFO: GPS data processed {"connection_id":111350,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:19:28] local.INFO: Acknowledgment sent {"connection_id":111350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:19:30] local.INFO: TCP Data received {"connection_id":112907,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f41f20012cdfc480072772b80005009132..."} 
[2026-06-23 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f41f20012cdfc480072772b80005009132..."} 
[2026-06-23 20:19:30] local.INFO: Processing buffer {"connection_id":112907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f41f20012cdfc480072772b80005009132..."} 
[2026-06-23 20:19:30] local.INFO: Packet analysis {"connection_id":112907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:19:30] local.INFO: Extracted packet for processing {"connection_id":112907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":752862336,"raw_latitude":120025784,"longitude_deg":75.2862336,"latitude_deg":12.0025784,"altitude":5,"angle":145,"satellites":50,"speed":47,"hex_longitude":"2cdfc480","hex_latitude":"072772b8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249879552001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321667602789171200,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2328783189087135744,"note":"Value kept but may cause issues"} 
[2026-06-23 20:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782226100000,"timestamp_ms":1782226100000,"timestamp_seconds":1782226100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f41f20"} 
[2026-06-23 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-06-23 20:19:30] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:19:30] 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-06-23 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-06-23 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-06-23 20:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249879552001,"66":26767,"199":206,"2":56832,"24":47,"16":321667602789171200,"44":-2328783189087135744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,2,24,16,44]} 
[2026-06-23 20:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249879552001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:19:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-06-23 20:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321667602789171200,"km_value":321667602789171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2328783189087135744,"description":"Unknown IO ID 44"} 
[2026-06-23 20:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249879552001,"power":26767,"trip_odometer":0.206,"power_alt":56832,"ignition":47,"odometer":null,"unknown_44":-2328783189087135744}} 
[2026-06-23 20:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":112907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:19:30] local.INFO: GPS data processed {"connection_id":112907,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:19:30] local.INFO: Acknowledgment sent {"connection_id":112907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:19:53] local.INFO: TCP Data received {"connection_id":111972,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:19:53] local.INFO: Processing buffer {"connection_id":111972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:19:53] local.INFO: IMEI packet received {"connection_id":111972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":111972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:19:57] local.INFO: TCP Data received {"connection_id":111972,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:19:57] local.INFO: Processing buffer {"connection_id":111972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:19:57] local.INFO: IMEI packet received {"connection_id":111972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":111972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:20:01] local.INFO: TCP Data received {"connection_id":112907,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f43e60012cdfdb00072754100005008f32..."} 
[2026-06-23 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f43e60012cdfdb00072754100005008f32..."} 
[2026-06-23 20:20:01] local.INFO: Processing buffer {"connection_id":112907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f43e60012cdfdb00072754100005008f32..."} 
[2026-06-23 20:20:01] local.INFO: Packet analysis {"connection_id":112907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:20:01] local.INFO: Extracted packet for processing {"connection_id":112907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":752868096,"raw_latitude":120017936,"longitude_deg":75.2868096,"latitude_deg":12.0017936,"altitude":5,"angle":143,"satellites":50,"speed":48,"hex_longitude":"2cdfdb00","hex_latitude":"07275410","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249881600001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321668075235573760,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2322590739601377280,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782226108000,"timestamp_ms":1782226108000,"timestamp_seconds":1782226108,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f43e60"} 
[2026-06-23 20:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-06-23 20:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249881600001,"66":27234,"153":206,"2":54272,"24":48,"16":321668075235573760,"44":-2322590739601377280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-06-23 20:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249881600001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:20:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 20:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321668075235573760,"km_value":321668075235573.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2322590739601377280,"description":"Unknown IO ID 44"} 
[2026-06-23 20:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249881600001,"power":27234,"unknown_153":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-2322590739601377280}} 
[2026-06-23 20:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":112907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:20:01] local.INFO: GPS data processed {"connection_id":112907,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:20:01] local.INFO: Acknowledgment sent {"connection_id":112907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:20:02] local.INFO: TCP Data received {"connection_id":111972,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:02] local.INFO: Processing buffer {"connection_id":111972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:02] local.INFO: IMEI packet received {"connection_id":111972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":111972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:20:02] local.INFO: TCP Data received {"connection_id":111972,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f2b7c0012d196580071feec80042006c2a..."} 
[2026-06-23 20:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f2b7c0012d196580071feec80042006c2a..."} 
[2026-06-23 20:20:02] local.INFO: Processing buffer {"connection_id":111972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f2b7c0012d196580071feec80042006c2a..."} 
[2026-06-23 20:20:02] local.INFO: Packet analysis {"connection_id":111972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:20:02] local.INFO: Extracted packet for processing {"connection_id":111972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f2"} 
[2026-06-23 20:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249852672001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226008000,"timestamp_ms":1782226008000,"timestamp_seconds":1782226008,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f2b7c0"} 
[2026-06-23 20:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:20: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-06-23 20:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-797093703315547803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4045248513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:20:02] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2415996185,"corrected_to":0} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:20:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,19,45,128,238,66,42,10,193,111,1,240,255,227,244,31,4,113,205,203,101,200,44,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":203,"original":2415996185,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:20:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249852672001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249852672001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249852672001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":111972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:20:03] local.INFO: GPS data processed {"connection_id":111972,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:20:03] local.INFO: Acknowledgment sent {"connection_id":111972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:20:07] local.INFO: TCP Data received {"connection_id":111972,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f309c8012d196580071feec80042006c2a..."} 
[2026-06-23 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f309c8012d196580071feec80042006c2a..."} 
[2026-06-23 20:20:07] local.INFO: Processing buffer {"connection_id":111972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f309c8012d196580071feec80042006c2a..."} 
[2026-06-23 20:20:07] local.INFO: Packet analysis {"connection_id":111972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:20:07] local.INFO: Extracted packet for processing {"connection_id":111972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249858048001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782226029000,"timestamp_ms":1782226029000,"timestamp_seconds":1782226029,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f309c8"} 
[2026-06-23 20:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:20:07] 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-06-23 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 20:20:07] 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-06-23 20: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-06-23 20:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249858048001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249858048001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:20:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249858048001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":111972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:20:07] local.INFO: GPS data processed {"connection_id":111972,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:20:07] local.INFO: Acknowledgment sent {"connection_id":111972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:20:23] local.INFO: TCP Data received {"connection_id":111352,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:23] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:23] local.INFO: IMEI packet received {"connection_id":111352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":111352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:20:25] local.INFO: TCP Data received {"connection_id":111352,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:25] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:25] local.INFO: IMEI packet received {"connection_id":111352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":111352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:20:28] local.INFO: TCP Data received {"connection_id":111352,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:28] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:20:28] local.INFO: IMEI packet received {"connection_id":111352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":111352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:20:29] local.INFO: TCP Data received {"connection_id":111352,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f53478012ce0bb000726bc280006007a32..."} 
[2026-06-23 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f53478012ce0bb000726bc280006007a32..."} 
[2026-06-23 20:20:29] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f53478012ce0bb000726bc280006007a32..."} 
[2026-06-23 20:20:29] local.INFO: Packet analysis {"connection_id":111352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:20:29] local.INFO: Extracted packet for processing {"connection_id":111352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:20:29] local.INFO: GPS Element Parsed {"raw_longitude":752925440,"raw_latitude":119979048,"longitude_deg":75.292544,"latitude_deg":11.9979048,"altitude":6,"angle":122,"satellites":50,"speed":45,"hex_longitude":"2ce0bb00","hex_latitude":"0726bc28","is_valid_coordinates":true} 
[2026-06-23 20:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249897728001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321671571338952704,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2261932882130939904,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226171000,"timestamp_ms":1782226171000,"timestamp_seconds":1782226171,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f53478"} 
[2026-06-23 20:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:20:29] 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-06-23 20:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:20:29] 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-06-23 20:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249897728001,"66":27234,"153":206,"2":54272,"24":45,"16":321671571338952704,"44":-2261932882130939904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-06-23 20:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249897728001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 20:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321671571338952704,"km_value":321671571338952.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2261932882130939904,"description":"Unknown IO ID 44"} 
[2026-06-23 20:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249897728001,"power":27234,"unknown_153":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-2261932882130939904}} 
[2026-06-23 20:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":111352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:20:29] local.INFO: GPS data processed {"connection_id":111352,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:20:29] local.INFO: Acknowledgment sent {"connection_id":111352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:20:52] local.INFO: TCP Data received {"connection_id":112908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:52] local.INFO: Processing buffer {"connection_id":112908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:52] local.INFO: IMEI packet received {"connection_id":112908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":112908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:20:56] local.INFO: TCP Data received {"connection_id":112908,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:56] local.INFO: Processing buffer {"connection_id":112908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:20:56] local.INFO: IMEI packet received {"connection_id":112908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":112908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:20:57] local.INFO: TCP Data received {"connection_id":112908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f35bd0012d196580071feec80042006c2b..."} 
[2026-06-23 20:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f35bd0012d196580071feec80042006c2b..."} 
[2026-06-23 20:20:57] local.INFO: Processing buffer {"connection_id":112908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f35bd0012d196580071feec80042006c2b..."} 
[2026-06-23 20:20:57] local.INFO: Packet analysis {"connection_id":112908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:20:57] local.INFO: Extracted packet for processing {"connection_id":112908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:20: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-06-23 20:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249863424001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782226050000,"timestamp_ms":1782226050000,"timestamp_seconds":1782226050,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f35bd0"} 
[2026-06-23 20:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:20: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-06-23 20:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:20:57] 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-06-23 20:20: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-06-23 20:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249863424001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249863424001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249863424001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":112908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:20:57] local.INFO: GPS data processed {"connection_id":112908,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:20:57] local.INFO: Acknowledgment sent {"connection_id":112908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:21:00] local.INFO: TCP Data received {"connection_id":111352,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f553b8012ce0d9000726a9480006007831..."} 
[2026-06-23 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f553b8012ce0d9000726a9480006007831..."} 
[2026-06-23 20:21:00] local.INFO: Processing buffer {"connection_id":111352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f553b8012ce0d9000726a9480006007831..."} 
[2026-06-23 20:21:00] local.INFO: Packet analysis {"connection_id":111352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:21:00] local.INFO: Extracted packet for processing {"connection_id":111352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:21:00] local.INFO: GPS Element Parsed {"raw_longitude":752933120,"raw_latitude":119974216,"longitude_deg":75.293312,"latitude_deg":11.9974216,"altitude":6,"angle":120,"satellites":49,"speed":45,"hex_longitude":"2ce0d900","hex_latitude":"0726a948","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249899776001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321672005130649600,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2253207157854164992,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782226179000,"timestamp_ms":1782226179000,"timestamp_seconds":1782226179,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f553b8"} 
[2026-06-23 20:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:21:00] 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-06-23 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 20:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249899776001,"66":27397,"153":206,"2":54272,"24":45,"16":321672005130649600,"44":-2253207157854164992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-06-23 20:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249899776001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:21:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-23 20:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321672005130649600,"km_value":321672005130649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:21:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2253207157854164992,"description":"Unknown IO ID 44"} 
[2026-06-23 20:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249899776001,"power":27397,"unknown_153":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-2253207157854164992}} 
[2026-06-23 20:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":111352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:21:00] local.INFO: GPS data processed {"connection_id":111352,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:21:00] local.INFO: Acknowledgment sent {"connection_id":111352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:21:23] local.INFO: TCP Data received {"connection_id":112909,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:21:23] local.INFO: Processing buffer {"connection_id":112909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:21:23] local.INFO: IMEI packet received {"connection_id":112909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":112909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:21:28] local.INFO: TCP Data received {"connection_id":112909,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:21:28] local.INFO: Processing buffer {"connection_id":112909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:21:28] local.INFO: IMEI packet received {"connection_id":112909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":112909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:21:28] local.INFO: TCP Data received {"connection_id":112908,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f3add8012d196580071feec80042006c2a..."} 
[2026-06-23 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f3add8012d196580071feec80042006c2a..."} 
[2026-06-23 20:21:28] local.INFO: Processing buffer {"connection_id":112908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f3add8012d196580071feec80042006c2a..."} 
[2026-06-23 20:21:28] local.INFO: Packet analysis {"connection_id":112908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:21:28] local.INFO: Extracted packet for processing {"connection_id":112908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:21: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-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249868800001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226071000,"timestamp_ms":1782226071000,"timestamp_seconds":1782226071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f3add8"} 
[2026-06-23 20:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:21: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":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-796823120375899803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4061376513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:21:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:28] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,9,45,128,238,66,42,10,183,101,1,240,227,244,31,4,113,205,193,200,239,48,2,13,7,43],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:21:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249868800001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249868800001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249868800001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":112908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:21:28] local.INFO: GPS data processed {"connection_id":112908,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:21:28] local.INFO: Acknowledgment sent {"connection_id":112908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:21:29] local.INFO: TCP Data received {"connection_id":112909,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f572f8012ce0f6c0072696180005007a30..."} 
[2026-06-23 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f572f8012ce0f6c0072696180005007a30..."} 
[2026-06-23 20:21:29] local.INFO: Processing buffer {"connection_id":112909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f572f8012ce0f6c0072696180005007a30..."} 
[2026-06-23 20:21:29] local.INFO: Packet analysis {"connection_id":112909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:21:29] local.INFO: Extracted packet for processing {"connection_id":112909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:21:29] local.INFO: GPS Element Parsed {"raw_longitude":752940736,"raw_latitude":119969304,"longitude_deg":75.2940736,"latitude_deg":11.9969304,"altitude":5,"angle":122,"satellites":48,"speed":44,"hex_longitude":"2ce0f6c0","hex_latitude":"07269618","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249901824001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321672438922346496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2244762908554082304,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226187000,"timestamp_ms":1782226187000,"timestamp_seconds":1782226187,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f572f8"} 
[2026-06-23 20:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:21:29] 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-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249901824001,"66":26832,"150":206,"2":54272,"24":44,"16":321672438922346496,"44":-2244762908554082304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-06-23 20:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249901824001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:21:29] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-06-23 20:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321672438922346496,"km_value":321672438922346.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2244762908554082304,"description":"Unknown IO ID 44"} 
[2026-06-23 20:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249901824001,"power":26832,"unknown_150":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-2244762908554082304}} 
[2026-06-23 20:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":112909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:21:29] local.INFO: GPS data processed {"connection_id":112909,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:21:29] local.INFO: Acknowledgment sent {"connection_id":112909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:21:52] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:21:52] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:21:52] local.INFO: IMEI packet received {"connection_id":111171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":111171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:21:57] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:21:57] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:21:57] local.INFO: IMEI packet received {"connection_id":111171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":111171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:21:58] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f3ffe0012d196580071feec80042006c28..."} 
[2026-06-23 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f3ffe0012d196580071feec80042006c28..."} 
[2026-06-23 20:21:58] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f3ffe0012d196580071feec80042006c28..."} 
[2026-06-23 20:21:58] local.INFO: Packet analysis {"connection_id":111171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:21:58] local.INFO: Extracted packet for processing {"connection_id":111171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f3"} 
[2026-06-23 20:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249874176001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:21: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-06-23 20:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226092000,"timestamp_ms":1782226092000,"timestamp_seconds":1782226092,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f3ffe0"} 
[2026-06-23 20:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:21: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-06-23 20:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249874176001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249874176001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:21:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249874176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":111171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:21:58] local.INFO: GPS data processed {"connection_id":111171,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:21:58] local.INFO: Acknowledgment sent {"connection_id":111171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:22:00] local.INFO: TCP Data received {"connection_id":112909,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f59238012ce11600072684f00006007230..."} 
[2026-06-23 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f59238012ce11600072684f00006007230..."} 
[2026-06-23 20:22:00] local.INFO: Processing buffer {"connection_id":112909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f59238012ce11600072684f00006007230..."} 
[2026-06-23 20:22:00] local.INFO: Packet analysis {"connection_id":112909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:22:00] local.INFO: Extracted packet for processing {"connection_id":112909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:22:00] local.INFO: GPS Element Parsed {"raw_longitude":752948736,"raw_latitude":119964912,"longitude_deg":75.2948736,"latitude_deg":11.9964912,"altitude":6,"angle":114,"satellites":48,"speed":45,"hex_longitude":"2ce11600","hex_latitude":"072684f0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249903872001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321672877009010688,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2236389027998197760,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782226195000,"timestamp_ms":1782226195000,"timestamp_seconds":1782226195,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f59238"} 
[2026-06-23 20:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:22:00] 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-06-23 20: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-23 20:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249903872001,"66":27397,"150":206,"2":54272,"24":45,"16":321672877009010688,"44":-2236389027998197760},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,44]} 
[2026-06-23 20:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249903872001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:22:00] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-06-23 20:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321672877009010688,"km_value":321672877009010.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2236389027998197760,"description":"Unknown IO ID 44"} 
[2026-06-23 20:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249903872001,"power":27397,"unknown_150":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-2236389027998197760}} 
[2026-06-23 20:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":112909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:22:00] local.INFO: GPS data processed {"connection_id":112909,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:22:00] local.INFO: Acknowledgment sent {"connection_id":112909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:22:23] local.INFO: TCP Data received {"connection_id":112910,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:23] local.INFO: Processing buffer {"connection_id":112910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:23] local.INFO: IMEI packet received {"connection_id":112910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":112910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:22:23] local.INFO: TCP Data received {"connection_id":112910,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:23] local.INFO: Processing buffer {"connection_id":112910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:23] local.INFO: IMEI packet received {"connection_id":112910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":112910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:22:28] local.INFO: TCP Data received {"connection_id":112910,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:28] local.INFO: Processing buffer {"connection_id":112910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:22:28] local.INFO: IMEI packet received {"connection_id":112910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":112910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:22:28] local.INFO: TCP Data received {"connection_id":111171,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f451e8012d196580071feec80042006c29..."} 
[2026-06-23 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f451e8012d196580071feec80042006c29..."} 
[2026-06-23 20:22:28] local.INFO: Processing buffer {"connection_id":111171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f451e8012d196580071feec80042006c29..."} 
[2026-06-23 20:22:28] local.INFO: Packet analysis {"connection_id":111171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:22:28] local.INFO: Extracted packet for processing {"connection_id":111171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249879552001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226113000,"timestamp_ms":1782226113000,"timestamp_seconds":1782226113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f451e8"} 
[2026-06-23 20:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:22:28] 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-06-23 20: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-06-23 20:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249879552001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249879552001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249879552001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:22:29] local.INFO: GPS data processed {"connection_id":111171,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:22:29] local.INFO: Acknowledgment sent {"connection_id":111171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:22:30] local.INFO: TCP Data received {"connection_id":112910,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f6f1c8012ce28b80072611f80006006c30..."} 
[2026-06-23 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f6f1c8012ce28b80072611f80006006c30..."} 
[2026-06-23 20:22:30] local.INFO: Processing buffer {"connection_id":112910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f6f1c8012ce28b80072611f80006006c30..."} 
[2026-06-23 20:22:30] local.INFO: Packet analysis {"connection_id":112910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f6"} 
[2026-06-23 20:22:30] local.INFO: Extracted packet for processing {"connection_id":112910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f6"} 
[2026-06-23 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":753044352,"raw_latitude":119935480,"longitude_deg":75.3044352,"latitude_deg":11.993548,"altitude":6,"angle":108,"satellites":48,"speed":47,"hex_longitude":"2ce28b80","hex_latitude":"072611f8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249926912001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321677635832774656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2132595130344048640,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782226285000,"timestamp_ms":1782226285000,"timestamp_seconds":1782226285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f6f1c8"} 
[2026-06-23 20:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:22:30] 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-06-23 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:22:30] 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-06-23 20: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-06-23 20:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249926912001,"66":27332,"184":206,"2":54272,"24":47,"16":321677635832774656,"44":-2132595130344048640},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,2,24,16,44]} 
[2026-06-23 20:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249926912001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:22:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-23 20:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321677635832774656,"km_value":321677635832774.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2132595130344048640,"description":"Unknown IO ID 44"} 
[2026-06-23 20:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249926912001,"power":27332,"unknown_184":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-2132595130344048640}} 
[2026-06-23 20:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":112910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:22:30] local.INFO: GPS data processed {"connection_id":112910,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:22:30] local.INFO: Acknowledgment sent {"connection_id":112910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:22:52] local.INFO: TCP Data received {"connection_id":112911,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:22:52] local.INFO: Processing buffer {"connection_id":112911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:22:52] local.INFO: IMEI packet received {"connection_id":112911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":112911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:22:57] local.INFO: TCP Data received {"connection_id":112911,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:22:57] local.INFO: Processing buffer {"connection_id":112911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:22:57] local.INFO: IMEI packet received {"connection_id":112911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":112911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:22:58] local.INFO: TCP Data received {"connection_id":112911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f4a3f0012d196580071feec80042006c26..."} 
[2026-06-23 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f4a3f0012d196580071feec80042006c26..."} 
[2026-06-23 20:22:58] local.INFO: Processing buffer {"connection_id":112911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f4a3f0012d196580071feec80042006c26..."} 
[2026-06-23 20:22:58] local.INFO: Packet analysis {"connection_id":112911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:22:58] local.INFO: Extracted packet for processing {"connection_id":112911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249884928001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22: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-06-23 20:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226134000,"timestamp_ms":1782226134000,"timestamp_seconds":1782226134,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f4a3f0"} 
[2026-06-23 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-06-23 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-796552537436251803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4077504513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:22:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:22:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,255,45,128,238,66,40,10,173,42,91,1,240,227,244,31,4,113,205,183,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:22:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249884928001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249884928001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:22:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249884928001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":112911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:22:58] local.INFO: GPS data processed {"connection_id":112911,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:22:58] local.INFO: Acknowledgment sent {"connection_id":112911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:23:02] local.INFO: TCP Data received {"connection_id":112910,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f71108012ce2b080072604900007006e31..."} 
[2026-06-23 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f71108012ce2b080072604900007006e31..."} 
[2026-06-23 20:23:02] local.INFO: Processing buffer {"connection_id":112910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f71108012ce2b080072604900007006e31..."} 
[2026-06-23 20:23:02] local.INFO: Packet analysis {"connection_id":112910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:23:02] local.INFO: Extracted packet for processing {"connection_id":112910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":753053824,"raw_latitude":119932048,"longitude_deg":75.3053824,"latitude_deg":11.9932048,"altitude":7,"angle":110,"satellites":49,"speed":48,"hex_longitude":"2ce2b080","hex_latitude":"07260490","is_valid_coordinates":true} 
[2026-06-23 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249928960001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321678116869111808,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2122462031183218688,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226293000,"timestamp_ms":1782226293000,"timestamp_seconds":1782226293,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f71108"} 
[2026-06-23 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:23:02] 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-06-23 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249928960001,"66":27234,"184":206,"2":54272,"24":48,"16":321678116869111808,"44":-2122462031183218688},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,2,24,16,44]} 
[2026-06-23 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249928960001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:23:02] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-06-23 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321678116869111808,"km_value":321678116869111.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2122462031183218688,"description":"Unknown IO ID 44"} 
[2026-06-23 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249928960001,"power":27234,"unknown_184":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-2122462031183218688}} 
[2026-06-23 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":112910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:23:02] local.INFO: GPS data processed {"connection_id":112910,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:23:02] local.INFO: Acknowledgment sent {"connection_id":112910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:23:28] local.INFO: TCP Data received {"connection_id":112912,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:23:28] local.INFO: Processing buffer {"connection_id":112912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:23:28] local.INFO: IMEI packet received {"connection_id":112912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":112912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:23:28] local.INFO: TCP Data received {"connection_id":112911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f4f5f8012d196580071feec80042006c29..."} 
[2026-06-23 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f4f5f8012d196580071feec80042006c29..."} 
[2026-06-23 20:23:28] local.INFO: Processing buffer {"connection_id":112911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f4f5f8012d196580071feec80042006c29..."} 
[2026-06-23 20:23:28] local.INFO: Packet analysis {"connection_id":112911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:23:28] local.INFO: Extracted packet for processing {"connection_id":112911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f4"} 
[2026-06-23 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249890304001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226155000,"timestamp_ms":1782226155000,"timestamp_seconds":1782226155,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f4f5f8"} 
[2026-06-23 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-06-23 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-796462343123035803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4082880513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":9,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:23:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,81,45,128,238,66,41,10,255,40,173,1,240,227,244,31,4,113,205,9,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:23:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920116967800832,"timestamp_seconds":4755920116967801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249890304001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249890304001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249890304001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":112911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:23:29] local.INFO: GPS data processed {"connection_id":112911,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:23:29] local.INFO: Acknowledgment sent {"connection_id":112911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:23:33] local.INFO: TCP Data received {"connection_id":112912,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:23:33] local.INFO: Processing buffer {"connection_id":112912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:23:33] local.INFO: IMEI packet received {"connection_id":112912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":112912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:23:34] local.INFO: TCP Data received {"connection_id":112912,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f73048012ce2d4c00725f588000700772e..."} 
[2026-06-23 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f73048012ce2d4c00725f588000700772e..."} 
[2026-06-23 20:23:34] local.INFO: Processing buffer {"connection_id":112912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f73048012ce2d4c00725f588000700772e..."} 
[2026-06-23 20:23:34] local.INFO: Packet analysis {"connection_id":112912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:23:34] local.INFO: Extracted packet for processing {"connection_id":112912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":753063104,"raw_latitude":119928200,"longitude_deg":75.3063104,"latitude_deg":11.99282,"altitude":7,"angle":119,"satellites":46,"speed":49,"hex_longitude":"2ce2d4c0","hex_latitude":"0725f588","is_valid_coordinates":true} 
[2026-06-23 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249931008001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321678597905448960,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2112047457045803008,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782226301000,"timestamp_ms":1782226301000,"timestamp_seconds":1782226301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f73048"} 
[2026-06-23 20:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:23: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-06-23 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249931008001,"66":27343,"185":206,"2":54272,"24":49,"16":321678597905448960,"44":-2112047457045803008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-06-23 20:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249931008001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:23:35] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 20:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321678597905448960,"km_value":321678597905448.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2112047457045803008,"description":"Unknown IO ID 44"} 
[2026-06-23 20:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249931008001,"power":27343,"unknown_185":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-2112047457045803008}} 
[2026-06-23 20:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":112912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:23:35] local.INFO: GPS data processed {"connection_id":112912,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:23:35] local.INFO: Acknowledgment sent {"connection_id":112912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:23:36] local.INFO: TCP Data received {"connection_id":112912,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f73fe8012ce2e4400725ea18000600842f..."} 
[2026-06-23 20:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f73fe8012ce2e4400725ea18000600842f..."} 
[2026-06-23 20:23:36] local.INFO: Processing buffer {"connection_id":112912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f73fe8012ce2e4400725ea18000600842f..."} 
[2026-06-23 20:23:36] local.INFO: Packet analysis {"connection_id":112912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:23:36] local.INFO: Extracted packet for processing {"connection_id":112912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:23:36] local.INFO: GPS Element Parsed {"raw_longitude":753067072,"raw_latitude":119925272,"longitude_deg":75.3067072,"latitude_deg":11.9925272,"altitude":6,"angle":132,"satellites":47,"speed":48,"hex_longitude":"2ce2e440","hex_latitude":"0725ea18","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249933056001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321678829833682944,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2101843989141026816,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782226305000,"timestamp_ms":1782226305000,"timestamp_seconds":1782226305,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f73fe8"} 
[2026-06-23 20:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:23: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-06-23 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:23:36] 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-06-23 20: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-06-23 20:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249933056001,"66":27310,"185":206,"2":54272,"24":48,"16":321678829833682944,"44":-2101843989141026816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-06-23 20:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249933056001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:23:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 20:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321678829833682944,"km_value":321678829833682.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2101843989141026816,"description":"Unknown IO ID 44"} 
[2026-06-23 20:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249933056001,"power":27310,"unknown_185":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-2101843989141026816}} 
[2026-06-23 20:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":112912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:23:36] local.INFO: GPS data processed {"connection_id":112912,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:23:36] local.INFO: Acknowledgment sent {"connection_id":112912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:23:52] local.INFO: TCP Data received {"connection_id":111172,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:23:52] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:23:52] local.INFO: IMEI packet received {"connection_id":111172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":111172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:23:57] local.INFO: TCP Data received {"connection_id":111172,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:23:57] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:23:57] local.INFO: IMEI packet received {"connection_id":111172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":111172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:23:58] local.INFO: TCP Data received {"connection_id":111172,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f54800012d196580071feec80042006c29..."} 
[2026-06-23 20:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f54800012d196580071feec80042006c29..."} 
[2026-06-23 20:23:58] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f54800012d196580071feec80042006c29..."} 
[2026-06-23 20:23:58] local.INFO: Packet analysis {"connection_id":111172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:23:58] local.INFO: Extracted packet for processing {"connection_id":111172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249895680001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:23: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-06-23 20:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226176000,"timestamp_ms":1782226176000,"timestamp_seconds":1782226176,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f54800"} 
[2026-06-23 20:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:23: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-06-23 20:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249895680001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249895680001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:23:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249895680001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":111172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:23:58] local.INFO: GPS data processed {"connection_id":111172,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:23:58] local.INFO: Acknowledgment sent {"connection_id":111172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:24:07] local.INFO: TCP Data received {"connection_id":112912,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f75370012ce2f3800725d8c00005009530..."} 
[2026-06-23 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f75370012ce2f3800725d8c00005009530..."} 
[2026-06-23 20:24:07] local.INFO: Processing buffer {"connection_id":112912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f75370012ce2f3800725d8c00005009530..."} 
[2026-06-23 20:24:07] local.INFO: Packet analysis {"connection_id":112912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:24:07] local.INFO: Extracted packet for processing {"connection_id":112912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:24:07] local.INFO: GPS Element Parsed {"raw_longitude":753070976,"raw_latitude":119920832,"longitude_deg":75.3070976,"latitude_deg":11.9920832,"altitude":5,"angle":149,"satellites":48,"speed":45,"hex_longitude":"2ce2f380","hex_latitude":"0725d8c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249934080001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321679117596491776,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2097481127002761216,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782226310000,"timestamp_ms":1782226310000,"timestamp_seconds":1782226310,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f75370"} 
[2026-06-23 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-06-23 20:24:07] 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-06-23 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 20:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249934080001,"66":27365,"185":206,"2":54272,"24":45,"16":321679117596491776,"44":-2097481127002761216},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-06-23 20:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249934080001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:24:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 20:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321679117596491776,"km_value":321679117596491.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2097481127002761216,"description":"Unknown IO ID 44"} 
[2026-06-23 20:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249934080001,"power":27365,"unknown_185":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-2097481127002761216}} 
[2026-06-23 20:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":112912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:24:07] local.INFO: GPS data processed {"connection_id":112912,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:24:07] local.INFO: Acknowledgment sent {"connection_id":112912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:24:21] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:21] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:21] local.INFO: IMEI packet received {"connection_id":111977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":111977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:24:23] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:23] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:23] local.INFO: IMEI packet received {"connection_id":111977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":111977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:24:28] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:28] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:24:28] local.INFO: IMEI packet received {"connection_id":111977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":111977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:24:28] local.INFO: TCP Data received {"connection_id":111172,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f59a08012d196580071feec80042006c2a..."} 
[2026-06-23 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f59a08012d196580071feec80042006c2a..."} 
[2026-06-23 20:24:28] local.INFO: Processing buffer {"connection_id":111172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f59a08012d196580071feec80042006c2a..."} 
[2026-06-23 20:24:28] local.INFO: Packet analysis {"connection_id":111172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:24:28] local.INFO: Extracted packet for processing {"connection_id":111172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249901056001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226197000,"timestamp_ms":1782226197000,"timestamp_seconds":1782226197,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f59a08"} 
[2026-06-23 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-06-23 20:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-796281954496603803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4093632513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,245,45,128,238,66,41,10,163,38,81,1,240,227,244,31,4,113,205,173,101,200,42,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:24:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249901056001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249901056001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:24:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249901056001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":111172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:24:28] local.INFO: GPS data processed {"connection_id":111172,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:24:28] local.INFO: Acknowledgment sent {"connection_id":111172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:24:29] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f77e68012ce306800725b9480006009130..."} 
[2026-06-23 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f77e68012ce306800725b9480006009130..."} 
[2026-06-23 20:24:29] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f77e68012ce306800725b9480006009130..."} 
[2026-06-23 20:24:29] local.INFO: Packet analysis {"connection_id":111977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:24:29] local.INFO: Extracted packet for processing {"connection_id":111977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:24:29] local.INFO: GPS Element Parsed {"raw_longitude":753075840,"raw_latitude":119912776,"longitude_deg":75.307584,"latitude_deg":11.9912776,"altitude":6,"angle":145,"satellites":48,"speed":26,"hex_longitude":"2ce30680","hex_latitude":"0725b948","is_valid_coordinates":true} 
[2026-06-23 20:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249935360001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321679572863025152,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2093188633609060352,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226321000,"timestamp_ms":1782226321000,"timestamp_seconds":1782226321,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f77e68"} 
[2026-06-23 20:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:24:29] 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-06-23 20:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 20:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249935360001,"66":27484,"185":206,"2":54272,"24":26,"16":321679572863025152,"44":-2093188633609060352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-06-23 20:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249935360001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:24:29] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 20:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321679572863025152,"km_value":321679572863025.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2093188633609060352,"description":"Unknown IO ID 44"} 
[2026-06-23 20:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249935360001,"power":27484,"unknown_185":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-2093188633609060352}} 
[2026-06-23 20:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":111977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:24:29] local.INFO: GPS data processed {"connection_id":111977,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:24:29] local.INFO: Acknowledgment sent {"connection_id":111977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:24:46] local.INFO: TCP Data received {"connection_id":111976,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:24:46] local.INFO: Processing buffer {"connection_id":111976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:24:46] local.INFO: IMEI packet received {"connection_id":111976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":111976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:24:52] local.INFO: TCP Data received {"connection_id":111173,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:24:52] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:24:52] local.INFO: IMEI packet received {"connection_id":111173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":111173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:24:57] local.INFO: TCP Data received {"connection_id":111173,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:24:57] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:24:57] local.INFO: IMEI packet received {"connection_id":111173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":111173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:24:58] local.INFO: TCP Data received {"connection_id":111173,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f5ec10012d196580071feec80042006c2a..."} 
[2026-06-23 20:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f5ec10012d196580071feec80042006c2a..."} 
[2026-06-23 20:24:58] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f5ec10012d196580071feec80042006c2a..."} 
[2026-06-23 20:24:58] local.INFO: Packet analysis {"connection_id":111173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:24:58] local.INFO: Extracted packet for processing {"connection_id":111173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f5"} 
[2026-06-23 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249906432001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226218000,"timestamp_ms":1782226218000,"timestamp_seconds":1782226218,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f5ec10"} 
[2026-06-23 20:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249906432001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249906432001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:24:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249906432001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":111173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:24:58] local.INFO: GPS data processed {"connection_id":111173,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:24:58] local.INFO: Acknowledgment sent {"connection_id":111173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:25:02] local.INFO: TCP Data received {"connection_id":111977,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f7bce8012ce31a4007259b48000a009430..."} 
[2026-06-23 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f7bce8012ce31a4007259b48000a009430..."} 
[2026-06-23 20:25:02] local.INFO: Processing buffer {"connection_id":111977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f7bce8012ce31a4007259b48000a009430..."} 
[2026-06-23 20:25:02] local.INFO: Packet analysis {"connection_id":111977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:25:02] local.INFO: Extracted packet for processing {"connection_id":111977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f7"} 
[2026-06-23 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":753080896,"raw_latitude":119905096,"longitude_deg":75.3080896,"latitude_deg":11.9905096,"altitude":10,"angle":148,"satellites":48,"speed":11,"hex_longitude":"2ce31a40","hex_latitude":"07259b48","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249938176001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321680015244656640,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2087840609053620224,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226337000,"timestamp_ms":1782226337000,"timestamp_seconds":1782226337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f7bce8"} 
[2026-06-23 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-06-23 20:25:02] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249938176001,"66":27321,"185":206,"2":54272,"24":11,"16":321680015244656640,"44":-2087840609053620224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,2,24,16,44]} 
[2026-06-23 20:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249938176001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:25:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 20:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321680015244656640,"km_value":321680015244656.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2087840609053620224,"description":"Unknown IO ID 44"} 
[2026-06-23 20:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249938176001,"power":27321,"unknown_185":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-2087840609053620224}} 
[2026-06-23 20:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":111977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:25:02] local.INFO: GPS data processed {"connection_id":111977,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:25:02] local.INFO: Acknowledgment sent {"connection_id":111977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:25:06] local.INFO: TCP Data received {"connection_id":112913,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:25:06] local.INFO: Processing buffer {"connection_id":112913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:25:06] local.INFO: IMEI packet received {"connection_id":112913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":112913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:25:24] local.INFO: TCP Data received {"connection_id":112914,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:25:24] local.INFO: Processing buffer {"connection_id":112914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:25:24] local.INFO: IMEI packet received {"connection_id":112914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":112914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:25:28] local.INFO: TCP Data received {"connection_id":112914,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:25:28] local.INFO: Processing buffer {"connection_id":112914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:25:28] local.INFO: IMEI packet received {"connection_id":112914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":112914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:25:29] local.INFO: TCP Data received {"connection_id":111173,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f63e18012d196580071feec80042006c2b..."} 
[2026-06-23 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f63e18012d196580071feec80042006c2b..."} 
[2026-06-23 20:25:29] local.INFO: Processing buffer {"connection_id":111173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f63e18012d196580071feec80042006c2b..."} 
[2026-06-23 20:25:29] local.INFO: Packet analysis {"connection_id":111173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f6"} 
[2026-06-23 20:25:29] local.INFO: Extracted packet for processing {"connection_id":111173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f6"} 
[2026-06-23 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249911808001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226239000,"timestamp_ms":1782226239000,"timestamp_seconds":1782226239,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f63e18"} 
[2026-06-23 20:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-796101565870171803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4104384513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:25:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,154,45,128,238,66,42,10,72,41,245,1,240,255,227,244,31,4,113,205,81,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:25:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249911808001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249911808001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:25:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:25:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249911808001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":111173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:25:29] local.INFO: GPS data processed {"connection_id":111173,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:25:29] local.INFO: Acknowledgment sent {"connection_id":111173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:25:30] local.INFO: TCP Data received {"connection_id":112914,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef67919400100000000000000000000000000..."} 
[2026-06-23 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef67919400100000000000000000000000000..."} 
[2026-06-23 20:25:30] local.INFO: Processing buffer {"connection_id":112914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef67919400100000000000000000000000000..."} 
[2026-06-23 20:25:30] local.INFO: Packet analysis {"connection_id":112914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef679"} 
[2026-06-23 20:25:30] local.INFO: Extracted packet for processing {"connection_id":112914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef679"} 
[2026-06-23 20:25: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-06-23 20: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-06-23 20:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249942272001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321680182748381184,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2082281478265550848,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782251592000,"timestamp_ms":1782251592000,"timestamp_seconds":1782251592,"priority":1,"record_length":96,"hex_timestamp":"0000019ef6791940"} 
[2026-06-23 20:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:25:30] 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-06-23 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":112914,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-23 20:25:30] local.INFO: GPS data processed {"connection_id":112914,"processed":0,"errors":0,"total":1} 
[2026-06-23 20:25:30] local.INFO: Acknowledgment sent {"connection_id":112914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:25:52] local.INFO: TCP Data received {"connection_id":111978,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:25:52] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:25:52] local.INFO: IMEI packet received {"connection_id":111978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":111978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:25:57] local.INFO: TCP Data received {"connection_id":111978,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:25:57] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:25:57] local.INFO: IMEI packet received {"connection_id":111978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":111978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:25:58] local.INFO: TCP Data received {"connection_id":111978,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4f9c470012d196580071feec80042006c2a..."} 
[2026-06-23 20:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4f9c470012d196580071feec80042006c2a..."} 
[2026-06-23 20:25:58] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4f9c470012d196580071feec80042006c2a..."} 
[2026-06-23 20:25:58] local.INFO: Packet analysis {"connection_id":111978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4f9"} 
[2026-06-23 20:25:58] local.INFO: Extracted packet for processing {"connection_id":111978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4f9"} 
[2026-06-23 20:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249970944001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25: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-06-23 20:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226470000,"timestamp_ms":1782226470000,"timestamp_seconds":1782226470,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4f9c470"} 
[2026-06-23 20:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:25:58] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-795109428424795803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4163520513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:25:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:25:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,32,45,128,238,66,42,10,206,40,124,1,240,31,227,244,4,113,205,216,101,200,43,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:25:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249970944001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249970944001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:25:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249970944001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":111978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:25:58] local.INFO: GPS data processed {"connection_id":111978,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:25:58] local.INFO: Acknowledgment sent {"connection_id":111978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:26:02] local.INFO: TCP Data received {"connection_id":112914,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fa9b48012ce48f000723c130000a009232..."} 
[2026-06-23 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fa9b48012ce48f000723c130000a009232..."} 
[2026-06-23 20:26:02] local.INFO: Processing buffer {"connection_id":112914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fa9b48012ce48f000723c130000a009232..."} 
[2026-06-23 20:26:02] local.INFO: Packet analysis {"connection_id":112914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:02] local.INFO: Extracted packet for processing {"connection_id":112914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":753176320,"raw_latitude":119783728,"longitude_deg":75.317632,"latitude_deg":11.9783728,"altitude":10,"angle":146,"satellites":50,"speed":39,"hex_longitude":"2ce48f00","hex_latitude":"0723c130","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249987840001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321685491327959040,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1982850442771460096,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226525000,"timestamp_ms":1782226525000,"timestamp_seconds":1782226525,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fa9b48"} 
[2026-06-23 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-06-23 20:26:02] 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-06-23 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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 20:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249987840001,"66":27484,"210":206,"2":54272,"24":39,"16":321685491327959040,"44":-1982850442771460096},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,2,24,16,44]} 
[2026-06-23 20:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249987840001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-23 20:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321685491327959040,"km_value":321685491327959.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1982850442771460096,"description":"Unknown IO ID 44"} 
[2026-06-23 20:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249987840001,"power":27484,"unknown_210":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1982850442771460096}} 
[2026-06-23 20:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":112914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:26:02] local.INFO: GPS data processed {"connection_id":112914,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:26:02] local.INFO: Acknowledgment sent {"connection_id":112914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:26:23] local.INFO: TCP Data received {"connection_id":112915,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:26:23] local.INFO: Processing buffer {"connection_id":112915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:26:23] local.INFO: IMEI packet received {"connection_id":112915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":112915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:26:28] local.INFO: TCP Data received {"connection_id":112915,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:26:28] local.INFO: Processing buffer {"connection_id":112915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:26:28] local.INFO: IMEI packet received {"connection_id":112915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":112915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:26:29] local.INFO: TCP Data received {"connection_id":111978,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fa1678012d196580071feec80042006c29..."} 
[2026-06-23 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fa1678012d196580071feec80042006c29..."} 
[2026-06-23 20:26:29] local.INFO: Processing buffer {"connection_id":111978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fa1678012d196580071feec80042006c29..."} 
[2026-06-23 20:26:29] local.INFO: Packet analysis {"connection_id":111978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:29] local.INFO: Extracted packet for processing {"connection_id":111978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249976320001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226491000,"timestamp_ms":1782226491000,"timestamp_seconds":1782226491,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fa1678"} 
[2026-06-23 20:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:26: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-06-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:26:29] 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-06-23 20: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-06-23 20:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249976320001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249976320001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:26:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:26:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249976320001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":111978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:26:29] local.INFO: GPS data processed {"connection_id":111978,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:26:29] local.INFO: Acknowledgment sent {"connection_id":111978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:26:30] local.INFO: TCP Data received {"connection_id":112915,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4faaed0012ce49b800723b300000b008632..."} 
[2026-06-23 20:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4faaed0012ce49b800723b300000b008632..."} 
[2026-06-23 20:26:30] local.INFO: Processing buffer {"connection_id":112915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4faaed0012ce49b800723b300000b008632..."} 
[2026-06-23 20:26:30] local.INFO: Packet analysis {"connection_id":112915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:30] local.INFO: Extracted packet for processing {"connection_id":112915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:30] local.INFO: GPS Element Parsed {"raw_longitude":753179520,"raw_latitude":119780096,"longitude_deg":75.317952,"latitude_deg":11.9780096,"altitude":11,"angle":134,"satellites":50,"speed":39,"hex_longitude":"2ce49b80","hex_latitude":"0723b300","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249990400001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321685723256193024,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1977361680727724032,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782226530000,"timestamp_ms":1782226530000,"timestamp_seconds":1782226530,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4faaed0"} 
[2026-06-23 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-06-23 20:26:30] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:26:30] 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-06-23 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-06-23 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-06-23 20:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249990400001,"66":27376,"210":206,"2":54272,"24":39,"16":321685723256193024,"44":-1977361680727724032},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,2,24,16,44]} 
[2026-06-23 20:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249990400001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:26:30] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-23 20:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321685723256193024,"km_value":321685723256193.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1977361680727724032,"description":"Unknown IO ID 44"} 
[2026-06-23 20:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249990400001,"power":27376,"unknown_210":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1977361680727724032}} 
[2026-06-23 20:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":112915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:26:30] local.INFO: GPS data processed {"connection_id":112915,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:26:30] local.INFO: Acknowledgment sent {"connection_id":112915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:26:51] local.INFO: TCP Data received {"connection_id":111175,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:51] local.INFO: Processing buffer {"connection_id":111175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:51] local.INFO: IMEI packet received {"connection_id":111175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":111175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:26:53] local.INFO: TCP Data received {"connection_id":111175,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:53] local.INFO: Processing buffer {"connection_id":111175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:53] local.INFO: IMEI packet received {"connection_id":111175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":111175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:26:57] local.INFO: TCP Data received {"connection_id":111175,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:57] local.INFO: Processing buffer {"connection_id":111175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:26:57] local.INFO: IMEI packet received {"connection_id":111175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":111175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:26:58] local.INFO: TCP Data received {"connection_id":111175,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fa6880012d196580071feec80042006c29..."} 
[2026-06-23 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fa6880012d196580071feec80042006c29..."} 
[2026-06-23 20:26:58] local.INFO: Processing buffer {"connection_id":111175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fa6880012d196580071feec80042006c29..."} 
[2026-06-23 20:26:58] local.INFO: Packet analysis {"connection_id":111175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:58] local.INFO: Extracted packet for processing {"connection_id":111175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249981696001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:26: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-06-23 20:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226512000,"timestamp_ms":1782226512000,"timestamp_seconds":1782226512,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fa6880"} 
[2026-06-23 20:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:26:58] 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-06-23 20:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:26: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-06-23 20:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249981696001,"66":12069,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249981696001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:26:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249981696001,"power":12069,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":111175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:26:58] local.INFO: GPS data processed {"connection_id":111175,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:26:58] local.INFO: Acknowledgment sent {"connection_id":111175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:27:01] local.INFO: TCP Data received {"connection_id":112915,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fad5e0012ce4b440072396f80009008c32..."} 
[2026-06-23 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fad5e0012ce4b440072396f80009008c32..."} 
[2026-06-23 20:27:01] local.INFO: Processing buffer {"connection_id":112915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fad5e0012ce4b440072396f80009008c32..."} 
[2026-06-23 20:27:01] local.INFO: Packet analysis {"connection_id":112915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:27:01] local.INFO: Extracted packet for processing {"connection_id":112915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":753185856,"raw_latitude":119772920,"longitude_deg":75.3185856,"latitude_deg":11.977292,"altitude":9,"angle":140,"satellites":50,"speed":40,"hex_longitude":"2ce4b440","hex_latitude":"072396f8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249991680001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321686182817693696,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1973843243519770624,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782226540000,"timestamp_ms":1782226540000,"timestamp_seconds":1782226540,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fad5e0"} 
[2026-06-23 20:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:27:01] 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-06-23 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249991680001,"66":27376,"210":206,"2":54272,"24":40,"16":321686182817693696,"44":-1973843243519770624},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,2,24,16,44]} 
[2026-06-23 20:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249991680001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-23 20:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321686182817693696,"km_value":321686182817693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1973843243519770624,"description":"Unknown IO ID 44"} 
[2026-06-23 20:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249991680001,"power":27376,"unknown_210":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1973843243519770624}} 
[2026-06-23 20:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":112915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:27:01] local.INFO: GPS data processed {"connection_id":112915,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:27:01] local.INFO: Acknowledgment sent {"connection_id":112915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:27:23] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:23] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:23] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:27:23] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:23] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:23] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:27:28] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:28] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:27:28] local.INFO: IMEI packet received {"connection_id":111176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:27:29] local.INFO: TCP Data received {"connection_id":111175,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4faba88012d196580071feec80042006c28..."} 
[2026-06-23 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4faba88012d196580071feec80042006c28..."} 
[2026-06-23 20:27:29] local.INFO: Processing buffer {"connection_id":111175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4faba88012d196580071feec80042006c28..."} 
[2026-06-23 20:27:29] local.INFO: Packet analysis {"connection_id":111175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:27:29] local.INFO: Extracted packet for processing {"connection_id":111175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249987072001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226533000,"timestamp_ms":1782226533000,"timestamp_seconds":1782226533,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4faba88"} 
[2026-06-23 20:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:27: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-06-23 20:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 20:27:29] 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-06-23 20:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249987072001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249987072001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:27:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249987072001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":111175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:27:29] local.INFO: GPS data processed {"connection_id":111175,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:27:29] local.INFO: Acknowledgment sent {"connection_id":111175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:27:30] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fae968012ce4c300072388680008008131..."} 
[2026-06-23 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fae968012ce4c300072388680008008131..."} 
[2026-06-23 20:27:30] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fae968012ce4c300072388680008008131..."} 
[2026-06-23 20:27:30] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:27:30] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":753189632,"raw_latitude":119769192,"longitude_deg":75.3189632,"latitude_deg":11.9769192,"altitude":8,"angle":129,"satellites":49,"speed":43,"hex_longitude":"2ce4c300","hex_latitude":"07238868","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249994240001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321686436220764160,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1966876737848018944,"note":"Value kept but may cause issues"} 
[2026-06-23 20:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782226545000,"timestamp_ms":1782226545000,"timestamp_seconds":1782226545,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fae968"} 
[2026-06-23 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-06-23 20:27:30] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249994240001,"66":27300,"210":206,"2":54272,"24":43,"16":321686436220764160,"44":-1966876737848018944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,2,24,16,44]} 
[2026-06-23 20:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249994240001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:27:30] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-23 20:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321686436220764160,"km_value":321686436220764.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1966876737848018944,"description":"Unknown IO ID 44"} 
[2026-06-23 20:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249994240001,"power":27300,"unknown_210":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1966876737848018944}} 
[2026-06-23 20:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:27:30] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:27:30] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:27:56] local.INFO: TCP Data received {"connection_id":112916,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:27:56] local.INFO: Processing buffer {"connection_id":112916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:27:56] local.INFO: IMEI packet received {"connection_id":112916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":112916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:27:57] local.INFO: TCP Data received {"connection_id":112916,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:27:57] local.INFO: Processing buffer {"connection_id":112916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:27:57] local.INFO: IMEI packet received {"connection_id":112916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":112916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:28:02] local.INFO: TCP Data received {"connection_id":111176,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4faf520012ce4ce00072381500008007632..."} 
[2026-06-23 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4faf520012ce4ce00072381500008007632..."} 
[2026-06-23 20:28:02] local.INFO: Processing buffer {"connection_id":111176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4faf520012ce4ce00072381500008007632..."} 
[2026-06-23 20:28:02] local.INFO: Packet analysis {"connection_id":111176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:28:02] local.INFO: Extracted packet for processing {"connection_id":111176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fa"} 
[2026-06-23 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":753192448,"raw_latitude":119767376,"longitude_deg":75.3192448,"latitude_deg":11.9767376,"altitude":8,"angle":118,"satellites":50,"speed":43,"hex_longitude":"2ce4ce00","hex_latitude":"07238150","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249995520001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321686595134554112,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1962724981942491136,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226548000,"timestamp_ms":1782226548000,"timestamp_seconds":1782226548,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4faf520"} 
[2026-06-23 20:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:28:02] 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-06-23 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249995520001,"66":27343,"210":206,"2":54272,"24":43,"16":321686595134554112,"44":-1962724981942491136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,2,24,16,44]} 
[2026-06-23 20:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249995520001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-23 20:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321686595134554112,"km_value":321686595134554.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1962724981942491136,"description":"Unknown IO ID 44"} 
[2026-06-23 20:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249995520001,"power":27343,"unknown_210":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1962724981942491136}} 
[2026-06-23 20:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":111176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:02] local.INFO: GPS data processed {"connection_id":111176,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:02] local.INFO: Acknowledgment sent {"connection_id":111176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:28:02] local.INFO: TCP Data received {"connection_id":112916,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:02] local.INFO: Processing buffer {"connection_id":112916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:02] local.INFO: IMEI packet received {"connection_id":112916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":112916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:28:03] local.INFO: TCP Data received {"connection_id":112916,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fb0c90012d196580071feec80042006c2b..."} 
[2026-06-23 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fb0c90012d196580071feec80042006c2b..."} 
[2026-06-23 20:28:03] local.INFO: Processing buffer {"connection_id":112916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fb0c90012d196580071feec80042006c2b..."} 
[2026-06-23 20:28:03] local.INFO: Packet analysis {"connection_id":112916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fb"} 
[2026-06-23 20:28:03] local.INFO: Extracted packet for processing {"connection_id":112916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fb"} 
[2026-06-23 20:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249992448001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782226554000,"timestamp_ms":1782226554000,"timestamp_seconds":1782226554,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fb0c90"} 
[2026-06-23 20:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:28:03] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-794748651171931803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4185024513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:28:03] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,104,45,128,238,66,41,10,22,196,1,240,31,227,244,4,113,205,32,101,200,42,239,48,2,13,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:28:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249992448001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249992448001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249992448001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":112916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:03] local.INFO: GPS data processed {"connection_id":112916,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:03] local.INFO: Acknowledgment sent {"connection_id":112916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:28:07] local.INFO: TCP Data received {"connection_id":112916,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fb5e98012d196580071feec80042006c2b..."} 
[2026-06-23 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fb5e98012d196580071feec80042006c2b..."} 
[2026-06-23 20:28:07] local.INFO: Processing buffer {"connection_id":112916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fb5e98012d196580071feec80042006c2b..."} 
[2026-06-23 20:28:07] local.INFO: Packet analysis {"connection_id":112916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fb"} 
[2026-06-23 20:28:07] local.INFO: Extracted packet for processing {"connection_id":112916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fb"} 
[2026-06-23 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456249997824001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782226575000,"timestamp_ms":1782226575000,"timestamp_seconds":1782226575,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fb5e98"} 
[2026-06-23 20:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:28:07] 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-06-23 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:07] 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-06-23 20:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456249997824001,"66":12254,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456249997824001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456249997824001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":112916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:07] local.INFO: GPS data processed {"connection_id":112916,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:07] local.INFO: Acknowledgment sent {"connection_id":112916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:28:23] local.INFO: TCP Data received {"connection_id":111981,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:23] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:23] local.INFO: IMEI packet received {"connection_id":111981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":111981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:28:28] local.INFO: TCP Data received {"connection_id":111981,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:28] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:28] local.INFO: IMEI packet received {"connection_id":111981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":111981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:28:29] local.INFO: TCP Data received {"connection_id":111981,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:29] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:28:29] local.INFO: IMEI packet received {"connection_id":111981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":111981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:28:30] local.INFO: TCP Data received {"connection_id":111981,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fc7fa8012ce5ce40072255d00009008d32..."} 
[2026-06-23 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fc7fa8012ce5ce40072255d00009008d32..."} 
[2026-06-23 20:28:30] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fc7fa8012ce5ce40072255d00009008d32..."} 
[2026-06-23 20:28:30] local.INFO: Packet analysis {"connection_id":111981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:28:30] local.INFO: Extracted packet for processing {"connection_id":111981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":753258048,"raw_latitude":119690704,"longitude_deg":75.3258048,"latitude_deg":11.9690704,"altitude":9,"angle":141,"satellites":50,"speed":41,"hex_longitude":"2ce5ce40","hex_latitude":"072255d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250019840001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321691504282173440,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1893974718899070976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782226649000,"timestamp_ms":1782226649000,"timestamp_seconds":1782226649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fc7fa8"} 
[2026-06-23 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-06-23 20:28:30] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250019840001,"66":26854,"21":206,"2":54272,"24":41,"16":321691504282173440,"44":-1893974718899070976},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-23 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250019840001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:30] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-23 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321691504282173440,"km_value":321691504282173.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1893974718899070976,"description":"Unknown IO ID 44"} 
[2026-06-23 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250019840001,"power":26854,"unknown_21":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1893974718899070976}} 
[2026-06-23 20:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":111981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:30] local.INFO: GPS data processed {"connection_id":111981,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:30] local.INFO: Acknowledgment sent {"connection_id":111981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:28:34] local.INFO: TCP Data received {"connection_id":111981,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fca2d0012ce5e78007223788000a008a31..."} 
[2026-06-23 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fca2d0012ce5e78007223788000a008a31..."} 
[2026-06-23 20:28:34] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fca2d0012ce5e78007223788000a008a31..."} 
[2026-06-23 20:28:34] local.INFO: Packet analysis {"connection_id":111981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:28:34] local.INFO: Extracted packet for processing {"connection_id":111981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":753264512,"raw_latitude":119682952,"longitude_deg":75.3264512,"latitude_deg":11.9682952,"altitude":10,"angle":138,"satellites":49,"speed":45,"hex_longitude":"2ce5e780","hex_latitude":"07223788","is_valid_coordinates":true} 
[2026-06-23 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250022144001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321691989613477888,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1887500794436661248,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782226658000,"timestamp_ms":1782226658000,"timestamp_seconds":1782226658,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fca2d0"} 
[2026-06-23 20:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:28: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-06-23 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250022144001,"66":26930,"21":206,"2":54272,"24":45,"16":321691989613477888,"44":-1887500794436661248},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-23 20:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250022144001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-23 20:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321691989613477888,"km_value":321691989613477.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1887500794436661248,"description":"Unknown IO ID 44"} 
[2026-06-23 20:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250022144001,"power":26930,"unknown_21":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1887500794436661248}} 
[2026-06-23 20:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":111981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:34] local.INFO: GPS data processed {"connection_id":111981,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:34] local.INFO: Acknowledgment sent {"connection_id":111981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:28:52] local.INFO: TCP Data received {"connection_id":111177,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:52] local.INFO: Processing buffer {"connection_id":111177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:52] local.INFO: IMEI packet received {"connection_id":111177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":111177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:28:57] local.INFO: TCP Data received {"connection_id":111177,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:57] local.INFO: Processing buffer {"connection_id":111177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:28:57] local.INFO: IMEI packet received {"connection_id":111177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":111177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:28:58] local.INFO: TCP Data received {"connection_id":111177,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fbb0a0012d196580071feec80042006c2c..."} 
[2026-06-23 20:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fbb0a0012d196580071feec80042006c2c..."} 
[2026-06-23 20:28:58] local.INFO: Processing buffer {"connection_id":111177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fbb0a0012d196580071feec80042006c2c..."} 
[2026-06-23 20:28:58] local.INFO: Packet analysis {"connection_id":111177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fb"} 
[2026-06-23 20:28:58] local.INFO: Extracted packet for processing {"connection_id":111177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fb"} 
[2026-06-23 20:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250003200001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28: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-06-23 20:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226596000,"timestamp_ms":1782226596000,"timestamp_seconds":1782226596,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fbb0a0"} 
[2026-06-23 20:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:28:58] 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-06-23 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:58] 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-06-23 20: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-06-23 20:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250003200001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250003200001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250003200001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":111177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:58] local.INFO: GPS data processed {"connection_id":111177,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:58] local.INFO: Acknowledgment sent {"connection_id":111177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:28:59] local.INFO: TCP Data received {"connection_id":111177,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fc02a8012d196580071feec80042006c29..."} 
[2026-06-23 20:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fc02a8012d196580071feec80042006c29..."} 
[2026-06-23 20:28:59] local.INFO: Processing buffer {"connection_id":111177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fc02a8012d196580071feec80042006c29..."} 
[2026-06-23 20:28:59] local.INFO: Packet analysis {"connection_id":111177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:28:59] local.INFO: Extracted packet for processing {"connection_id":111177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:28:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250008576001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20: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-06-23 20:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782226617000,"timestamp_ms":1782226617000,"timestamp_seconds":1782226617,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fc02a8"} 
[2026-06-23 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-06-23 20:28: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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-794478068232283803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4201152513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:28:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,94,45,128,238,66,43,10,12,186,1,240,227,244,31,4,113,205,22,101,200,41,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:28:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250008576001,"66":12341,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250008576001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:28:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250008576001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":111177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:28:59] local.INFO: GPS data processed {"connection_id":111177,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:28:59] local.INFO: Acknowledgment sent {"connection_id":111177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:29:06] local.INFO: TCP Data received {"connection_id":111981,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fcc210012ce6000007221a58000a008c32..."} 
[2026-06-23 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fcc210012ce6000007221a58000a008c32..."} 
[2026-06-23 20:29:06] local.INFO: Processing buffer {"connection_id":111981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fcc210012ce6000007221a58000a008c32..."} 
[2026-06-23 20:29:06] local.INFO: Packet analysis {"connection_id":111981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:06] local.INFO: Extracted packet for processing {"connection_id":111981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753270784,"raw_latitude":119675480,"longitude_deg":75.3270784,"latitude_deg":11.967548,"altitude":10,"angle":140,"satellites":50,"speed":50,"hex_longitude":"2ce60000","hex_latitude":"07221a58","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250024448001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321692457764913152,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1880393551276701696,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782226666000,"timestamp_ms":1782226666000,"timestamp_seconds":1782226666,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fcc210"} 
[2026-06-23 20:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:29: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-06-23 20: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-06-23 20:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250024448001,"66":27397,"21":206,"2":54272,"24":50,"16":321692457764913152,"44":-1880393551276701696},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-23 20:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250024448001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:29:06] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-23 20:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321692457764913152,"km_value":321692457764913.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1880393551276701696,"description":"Unknown IO ID 44"} 
[2026-06-23 20:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250024448001,"power":27397,"unknown_21":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1880393551276701696}} 
[2026-06-23 20:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":111981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:29:06] local.INFO: GPS data processed {"connection_id":111981,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:29:06] local.INFO: Acknowledgment sent {"connection_id":111981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:29:28] local.INFO: TCP Data received {"connection_id":112917,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:29:28] local.INFO: Processing buffer {"connection_id":112917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:29:28] local.INFO: IMEI packet received {"connection_id":112917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":112917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:29:29] local.INFO: TCP Data received {"connection_id":112917,"ip":"117.225.209.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112917,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 20:29:29] local.INFO: Processing buffer {"connection_id":112917,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 20:29:29] local.INFO: IMEI packet received {"connection_id":112917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":112917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:29:31] local.INFO: TCP Data received {"connection_id":111177,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fc54b0012d196580071feec80042006c26..."} 
[2026-06-23 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fc54b0012d196580071feec80042006c26..."} 
[2026-06-23 20:29:31] local.INFO: Processing buffer {"connection_id":111177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fc54b0012d196580071feec80042006c26..."} 
[2026-06-23 20:29:31] local.INFO: Packet analysis {"connection_id":111177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:31] local.INFO: Extracted packet for processing {"connection_id":111177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250013952001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20: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-06-23 20:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782226638000,"timestamp_ms":1782226638000,"timestamp_seconds":1782226638,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fc54b0"} 
[2026-06-23 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-06-23 20:29: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-06-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-23 20:29: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-06-23 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-06-23 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-06-23 20:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250013952001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250013952001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:29:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250013952001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":111177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:29:31] local.INFO: GPS data processed {"connection_id":111177,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:29:31] local.INFO: Acknowledgment sent {"connection_id":111177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:29:33] local.INFO: TCP Data received {"connection_id":112917,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:29:33] local.INFO: Processing buffer {"connection_id":112917,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 20:29:33] local.INFO: IMEI packet received {"connection_id":112917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":112917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:29:34] local.INFO: TCP Data received {"connection_id":112917,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fcdd68012ce615c00721fe600009009432..."} 
[2026-06-23 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fcdd68012ce615c00721fe600009009432..."} 
[2026-06-23 20:29:34] local.INFO: Processing buffer {"connection_id":112917,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef4..."} 
[2026-06-23 20:29:34] local.INFO: IMEI packet received {"connection_id":112917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":112917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:29:36] local.INFO: TCP Data received {"connection_id":112917,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fcfca8012ce629800721dd600009009231..."} 
[2026-06-23 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fcfca8012ce629800721dd600009009231..."} 
[2026-06-23 20:29:36] local.INFO: Processing buffer {"connection_id":112917,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef4fcdd68012ce615c00721fe600009009432..."} 
[2026-06-23 20:29:36] local.INFO: Packet analysis {"connection_id":112917,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:36] local.INFO: Extracted packet for processing {"connection_id":112917,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":753276352,"raw_latitude":119668320,"longitude_deg":75.3276352,"latitude_deg":11.966832,"altitude":9,"angle":148,"satellites":50,"speed":50,"hex_longitude":"2ce615c0","hex_latitude":"0721fe60","is_valid_coordinates":true} 
[2026-06-23 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250026496001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321692895851577344,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1873497414349203456,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782226673000,"timestamp_ms":1782226673000,"timestamp_seconds":1782226673,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fcdd68"} 
[2026-06-23 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:29:36] 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-06-23 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250026496001,"66":27376,"133":206,"2":54272,"24":50,"16":321692895851577344,"44":-1873497414349203456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,2,24,16,44]} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250026496001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:29:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-23 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321692895851577344,"km_value":321692895851577.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1873497414349203456,"description":"Unknown IO ID 44"} 
[2026-06-23 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250026496001,"power":27376,"unknown_133":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1873497414349203456}} 
[2026-06-23 20:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":112917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:29:36] local.INFO: GPS data processed {"connection_id":112917,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:29:36] local.INFO: Acknowledgment sent {"connection_id":112917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:29:36] local.INFO: Packet analysis {"connection_id":112917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:36] local.INFO: Extracted packet for processing {"connection_id":112917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":753281408,"raw_latitude":119659872,"longitude_deg":75.3281408,"latitude_deg":11.9659872,"altitude":9,"angle":146,"satellites":49,"speed":48,"hex_longitude":"2ce62980","hex_latitude":"0721dd60","is_valid_coordinates":true} 
[2026-06-23 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250028288001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321693368297979904,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1867375333607579648,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782226681000,"timestamp_ms":1782226681000,"timestamp_seconds":1782226681,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fcfca8"} 
[2026-06-23 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:29:36] 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-06-23 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250028288001,"66":27463,"133":206,"2":54272,"24":48,"16":321693368297979904,"44":-1867375333607579648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,2,24,16,44]} 
[2026-06-23 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250028288001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:29:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-23 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321693368297979904,"km_value":321693368297979.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1867375333607579648,"description":"Unknown IO ID 44"} 
[2026-06-23 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250028288001,"power":27463,"unknown_133":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1867375333607579648}} 
[2026-06-23 20:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":112917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:29:36] local.INFO: GPS data processed {"connection_id":112917,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:29:36] local.INFO: Acknowledgment sent {"connection_id":112917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:29:38] local.INFO: TCP Data received {"connection_id":112917,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fd1be8012ce63f400721c0a8000a008e31..."} 
[2026-06-23 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fd1be8012ce63f400721c0a8000a008e31..."} 
[2026-06-23 20:29:38] local.INFO: Processing buffer {"connection_id":112917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fd1be8012ce63f400721c0a8000a008e31..."} 
[2026-06-23 20:29:38] local.INFO: Packet analysis {"connection_id":112917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:29:38] local.INFO: Extracted packet for processing {"connection_id":112917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:29:38] local.INFO: GPS Element Parsed {"raw_longitude":753286976,"raw_latitude":119652520,"longitude_deg":75.3286976,"latitude_deg":11.965252,"altitude":10,"angle":142,"satellites":49,"speed":44,"hex_longitude":"2ce63f40","hex_latitude":"0721c0a8","is_valid_coordinates":true} 
[2026-06-23 20:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250030336001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321693814974578688,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1861816202819706880,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782226689000,"timestamp_ms":1782226689000,"timestamp_seconds":1782226689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fd1be8"} 
[2026-06-23 20:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:29: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-06-23 20:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:29:38] 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-06-23 20:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250030336001,"66":27332,"133":206,"2":54272,"24":44,"16":321693814974578688,"44":-1861816202819706880},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,2,24,16,44]} 
[2026-06-23 20:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250030336001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:29:38] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-06-23 20:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321693814974578688,"km_value":321693814974578.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:29:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1861816202819706880,"description":"Unknown IO ID 44"} 
[2026-06-23 20:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250030336001,"power":27332,"unknown_133":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-1861816202819706880}} 
[2026-06-23 20:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":112917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:29:38] local.INFO: GPS data processed {"connection_id":112917,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:29:38] local.INFO: Acknowledgment sent {"connection_id":112917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:29:52] local.INFO: TCP Data received {"connection_id":111178,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:29:52] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:29:52] local.INFO: IMEI packet received {"connection_id":111178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":111178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:29:57] local.INFO: TCP Data received {"connection_id":111178,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:29:57] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:29:57] local.INFO: IMEI packet received {"connection_id":111178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":111178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:29:58] local.INFO: TCP Data received {"connection_id":111178,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fca6b8012d196580071feec80042006c28..."} 
[2026-06-23 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fca6b8012d196580071feec80042006c28..."} 
[2026-06-23 20:29:58] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fca6b8012d196580071feec80042006c28..."} 
[2026-06-23 20:29:58] local.INFO: Packet analysis {"connection_id":111178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:58] local.INFO: Extracted packet for processing {"connection_id":111178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250019328001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226659000,"timestamp_ms":1782226659000,"timestamp_seconds":1782226659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fca6b8"} 
[2026-06-23 20:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-794297679605851803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3397122376409153742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4211904513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:29:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:29:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,2,45,128,238,66,41,10,176,44,94,1,240,222,227,244,31,4,113,205,186,101,200,40,239,48,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:29:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920116967800832,"timestamp_seconds":4755920116967801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250019328001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250019328001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:29:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250019328001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":111178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:29:58] local.INFO: GPS data processed {"connection_id":111178,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:29:58] local.INFO: Acknowledgment sent {"connection_id":111178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:30:21] local.INFO: TCP Data received {"connection_id":112918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:21] local.INFO: Processing buffer {"connection_id":112918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:21] local.INFO: IMEI packet received {"connection_id":112918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":112918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:30:23] local.INFO: TCP Data received {"connection_id":112918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:23] local.INFO: Processing buffer {"connection_id":112918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:23] local.INFO: IMEI packet received {"connection_id":112918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":112918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:30:26] local.INFO: TCP Data received {"connection_id":111982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:30:26] local.INFO: Processing buffer {"connection_id":111982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:30:26] local.INFO: IMEI packet received {"connection_id":111982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":111982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:30:28] local.INFO: TCP Data received {"connection_id":112918,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:28] local.INFO: Processing buffer {"connection_id":112918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:30:28] local.INFO: IMEI packet received {"connection_id":112918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":112918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:30:28] local.INFO: TCP Data received {"connection_id":111178,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fcf8c0012d196580071feec80042006c2b..."} 
[2026-06-23 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fcf8c0012d196580071feec80042006c2b..."} 
[2026-06-23 20:30:28] local.INFO: Processing buffer {"connection_id":111178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fcf8c0012d196580071feec80042006c2b..."} 
[2026-06-23 20:30:28] local.INFO: Packet analysis {"connection_id":111178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:30:28] local.INFO: Extracted packet for processing {"connection_id":111178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fc"} 
[2026-06-23 20:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250024704001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226680000,"timestamp_ms":1782226680000,"timestamp_seconds":1782226680,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fcf8c0"} 
[2026-06-23 20:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250024704001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250024704001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250024704001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":111178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:30:28] local.INFO: GPS data processed {"connection_id":111178,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:30:28] local.INFO: Acknowledgment sent {"connection_id":111178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:30:29] local.INFO: TCP Data received {"connection_id":112918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fe5080012ce7168007209788000a009031..."} 
[2026-06-23 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fe5080012ce7168007209788000a009031..."} 
[2026-06-23 20:30:29] local.INFO: Processing buffer {"connection_id":112918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fe5080012ce7168007209788000a009031..."} 
[2026-06-23 20:30:29] local.INFO: Packet analysis {"connection_id":112918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:30:29] local.INFO: Extracted packet for processing {"connection_id":112918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:30:29] local.INFO: GPS Element Parsed {"raw_longitude":753342080,"raw_latitude":119576456,"longitude_deg":75.334208,"latitude_deg":11.9576456,"altitude":10,"angle":144,"satellites":49,"speed":50,"hex_longitude":"2ce71680","hex_latitude":"07209788","is_valid_coordinates":true} 
[2026-06-23 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250050560001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321698341870108672,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1801510189078673408,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226768000,"timestamp_ms":1782226768000,"timestamp_seconds":1782226768,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fe5080"} 
[2026-06-23 20:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:30:29] 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-06-23 20:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 20:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250050560001,"66":27234,"192":206,"2":54272,"24":50,"16":321698341870108672,"44":-1801510189078673408},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,44]} 
[2026-06-23 20:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250050560001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:30:29] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 20:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321698341870108672,"km_value":321698341870108.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1801510189078673408,"description":"Unknown IO ID 44"} 
[2026-06-23 20:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250050560001,"power":27234,"unknown_192":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1801510189078673408}} 
[2026-06-23 20:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":112918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:30:29] local.INFO: GPS data processed {"connection_id":112918,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:30:29] local.INFO: Acknowledgment sent {"connection_id":112918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:30:52] local.INFO: TCP Data received {"connection_id":112919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:30:52] local.INFO: Processing buffer {"connection_id":112919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:30:52] local.INFO: IMEI packet received {"connection_id":112919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":112919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:30:57] local.INFO: TCP Data received {"connection_id":112919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:30:57] local.INFO: Processing buffer {"connection_id":112919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:30:57] local.INFO: IMEI packet received {"connection_id":112919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":112919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:30:58] local.INFO: TCP Data received {"connection_id":112919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fd4ac8012d196580071feec80042006c2b..."} 
[2026-06-23 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fd4ac8012d196580071feec80042006c2b..."} 
[2026-06-23 20:30:58] local.INFO: Processing buffer {"connection_id":112919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fd4ac8012d196580071feec80042006c2b..."} 
[2026-06-23 20:30:58] local.INFO: Packet analysis {"connection_id":112919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:30:58] local.INFO: Extracted packet for processing {"connection_id":112919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250030080001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30: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-06-23 20:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226701000,"timestamp_ms":1782226701000,"timestamp_seconds":1782226701,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fd4ac8"} 
[2026-06-23 20:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:30:58] 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-06-23 20:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-794117290979419803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4222656513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:30:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,166,45,128,238,66,40,10,84,38,2,1,240,53,227,244,31,4,113,205,94,101,200,43,239,47,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:30:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250030080001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250030080001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:30:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250030080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":112919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:30:58] local.INFO: GPS data processed {"connection_id":112919,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:30:58] local.INFO: Acknowledgment sent {"connection_id":112919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:31:02] local.INFO: TCP Data received {"connection_id":112918,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fe6fc0012ce72dc0072077e8000a009231..."} 
[2026-06-23 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fe6fc0012ce72dc0072077e8000a009231..."} 
[2026-06-23 20:31:02] local.INFO: Processing buffer {"connection_id":112918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fe6fc0012ce72dc0072077e8000a009231..."} 
[2026-06-23 20:31:02] local.INFO: Packet analysis {"connection_id":112918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:31:02] local.INFO: Extracted packet for processing {"connection_id":112918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:31:02] local.INFO: GPS Element Parsed {"raw_longitude":753348032,"raw_latitude":119568360,"longitude_deg":75.3348032,"latitude_deg":11.956836,"altitude":10,"angle":146,"satellites":49,"speed":50,"hex_longitude":"2ce72dc0","hex_latitude":"072077e8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250052608001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321698822906445824,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1795106633360635904,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226776000,"timestamp_ms":1782226776000,"timestamp_seconds":1782226776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fe6fc0"} 
[2026-06-23 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-06-23 20:31:02] 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-06-23 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 20:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250052608001,"66":27484,"192":206,"2":54272,"24":50,"16":321698822906445824,"44":-1795106633360635904},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,44]} 
[2026-06-23 20:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250052608001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:31:02] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 20:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321698822906445824,"km_value":321698822906445.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:31:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1795106633360635904,"description":"Unknown IO ID 44"} 
[2026-06-23 20:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250052608001,"power":27484,"unknown_192":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1795106633360635904}} 
[2026-06-23 20:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":112918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:31:02] local.INFO: GPS data processed {"connection_id":112918,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:31:02] local.INFO: Acknowledgment sent {"connection_id":112918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:31:11] local.INFO: TCP Data received {"connection_id":111983,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:31:11] local.INFO: Processing buffer {"connection_id":111983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:31:11] local.INFO: IMEI packet received {"connection_id":111983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":111983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:31:23] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:31:23] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:31:23] local.INFO: IMEI packet received {"connection_id":111354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":111354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:31:26] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:31:26] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:31:26] local.INFO: IMEI packet received {"connection_id":111354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":111354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:31:27] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fe8b18012ce73f40072059780008009a32..."} 
[2026-06-23 20:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fe8b18012ce73f40072059780008009a32..."} 
[2026-06-23 20:31:27] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fe8b18012ce73f40072059780008009a32..."} 
[2026-06-23 20:31:27] local.INFO: Packet analysis {"connection_id":111354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:31:27] local.INFO: Extracted packet for processing {"connection_id":111354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:31:27] local.INFO: GPS Element Parsed {"raw_longitude":753352512,"raw_latitude":119560568,"longitude_deg":75.3352512,"latitude_deg":11.9560568,"altitude":8,"angle":154,"satellites":50,"speed":51,"hex_longitude":"2ce73f40","hex_latitude":"07205978","is_valid_coordinates":true} 
[2026-06-23 20:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250054656001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321699256698142720,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1788562340154185728,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782226783000,"timestamp_ms":1782226783000,"timestamp_seconds":1782226783,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fe8b18"} 
[2026-06-23 20:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:31: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-06-23 20:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:31:27] 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-06-23 20:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250054656001,"66":27039,"192":206,"2":54272,"24":51,"16":321699256698142720,"44":-1788562340154185728},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,44]} 
[2026-06-23 20:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250054656001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:31:27] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 20:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321699256698142720,"km_value":321699256698142.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:31:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1788562340154185728,"description":"Unknown IO ID 44"} 
[2026-06-23 20:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250054656001,"power":27039,"unknown_192":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-1788562340154185728}} 
[2026-06-23 20:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":111354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:31:27] local.INFO: GPS data processed {"connection_id":111354,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:31:27] local.INFO: Acknowledgment sent {"connection_id":111354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:31:28] local.INFO: TCP Data received {"connection_id":112919,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fd9cd0012d196580071feec80042006c2a..."} 
[2026-06-23 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fd9cd0012d196580071feec80042006c2a..."} 
[2026-06-23 20:31:28] local.INFO: Processing buffer {"connection_id":112919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fd9cd0012d196580071feec80042006c2a..."} 
[2026-06-23 20:31:28] local.INFO: Packet analysis {"connection_id":112919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:31:28] local.INFO: Extracted packet for processing {"connection_id":112919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250035456001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226722000,"timestamp_ms":1782226722000,"timestamp_seconds":1782226722,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fd9cd0"} 
[2026-06-23 20:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:31:28] 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-06-23 20:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250035456001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250035456001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250035456001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":112919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:31:28] local.INFO: GPS data processed {"connection_id":112919,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:31:28] local.INFO: Acknowledgment sent {"connection_id":112919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:31:52] local.INFO: TCP Data received {"connection_id":111984,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:31:52] local.INFO: Processing buffer {"connection_id":111984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:31:52] local.INFO: IMEI packet received {"connection_id":111984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":111984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:31:57] local.INFO: TCP Data received {"connection_id":111984,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:31:57] local.INFO: Processing buffer {"connection_id":111984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:31:57] local.INFO: IMEI packet received {"connection_id":111984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":111984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:31:58] local.INFO: TCP Data received {"connection_id":111984,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fdeed8012d196580071feec80042006c2c..."} 
[2026-06-23 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fdeed8012d196580071feec80042006c2c..."} 
[2026-06-23 20:31:58] local.INFO: Processing buffer {"connection_id":111984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fdeed8012d196580071feec80042006c2c..."} 
[2026-06-23 20:31:58] local.INFO: Packet analysis {"connection_id":111984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:31:58] local.INFO: Extracted packet for processing {"connection_id":111984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fd"} 
[2026-06-23 20:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250040832001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31: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-06-23 20:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226743000,"timestamp_ms":1782226743000,"timestamp_seconds":1782226743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fdeed8"} 
[2026-06-23 20:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:31:58] 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-06-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250040832001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250040832001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250040832001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":111984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:31:58] local.INFO: GPS data processed {"connection_id":111984,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:31:58] local.INFO: Acknowledgment sent {"connection_id":111984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:31:58] local.INFO: TCP Data received {"connection_id":111354,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ffc398012ce810c0071f2ec80008009a31..."} 
[2026-06-23 20:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ffc398012ce810c0071f2ec80008009a31..."} 
[2026-06-23 20:31:58] local.INFO: Processing buffer {"connection_id":111354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ffc398012ce810c0071f2ec80008009a31..."} 
[2026-06-23 20:31:58] local.INFO: Packet analysis {"connection_id":111354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:31:58] local.INFO: Extracted packet for processing {"connection_id":111354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:31:58] local.INFO: GPS Element Parsed {"raw_longitude":753406144,"raw_latitude":119484104,"longitude_deg":75.3406144,"latitude_deg":11.9484104,"altitude":8,"angle":154,"satellites":49,"speed":42,"hex_longitude":"2ce810c0","hex_latitude":"071f2ec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250074624001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321703852313149440,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1729593332552775680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226863000,"timestamp_ms":1782226863000,"timestamp_seconds":1782226863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ffc398"} 
[2026-06-23 20:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:31:58] 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-06-23 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250074624001,"66":27234,"252":206,"2":54272,"24":42,"16":321703852313149440,"44":-1729593332552775680},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,2,24,16,44]} 
[2026-06-23 20:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250074624001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-23 20:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321703852313149440,"km_value":321703852313149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:31:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1729593332552775680,"description":"Unknown IO ID 44"} 
[2026-06-23 20:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250074624001,"power":27234,"unknown_252":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1729593332552775680}} 
[2026-06-23 20:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":111354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:31:58] local.INFO: GPS data processed {"connection_id":111354,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:31:58] local.INFO: Acknowledgment sent {"connection_id":111354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:32:21] local.INFO: TCP Data received {"connection_id":111985,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:21] local.INFO: Processing buffer {"connection_id":111985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:21] local.INFO: IMEI packet received {"connection_id":111985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":111985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:32:23] local.INFO: TCP Data received {"connection_id":111985,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:23] local.INFO: Processing buffer {"connection_id":111985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:23] local.INFO: IMEI packet received {"connection_id":111985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":111985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:32:28] local.INFO: TCP Data received {"connection_id":111985,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:28] local.INFO: Processing buffer {"connection_id":111985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:32:28] local.INFO: IMEI packet received {"connection_id":111985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":111985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:32:28] local.INFO: TCP Data received {"connection_id":111984,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fe40e0012d196580071feec80042006c29..."} 
[2026-06-23 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fe40e0012d196580071feec80042006c29..."} 
[2026-06-23 20:32:28] local.INFO: Processing buffer {"connection_id":111984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fe40e0012d196580071feec80042006c29..."} 
[2026-06-23 20:32:28] local.INFO: Packet analysis {"connection_id":111984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:32:28] local.INFO: Extracted packet for processing {"connection_id":111984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250046208001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226764000,"timestamp_ms":1782226764000,"timestamp_seconds":1782226764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fe40e0"} 
[2026-06-23 20:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793846708039771803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4238784513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:32:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,156,45,128,238,66,42,10,74,43,248,1,240,227,244,31,4,113,205,84,101,200,38,239,48,2,13,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:32:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250046208001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250046208001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250046208001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":111984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:32:28] local.INFO: GPS data processed {"connection_id":111984,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:32:28] local.INFO: Acknowledgment sent {"connection_id":111984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:32:47] local.INFO: TCP Data received {"connection_id":111985,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ffe2d8012ce81f00071f0f200007009c2e..."} 
[2026-06-23 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ffe2d8012ce81f00071f0f200007009c2e..."} 
[2026-06-23 20:32:47] local.INFO: Processing buffer {"connection_id":111985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ffe2d8012ce81f00071f0f200007009c2e..."} 
[2026-06-23 20:32:47] local.INFO: Packet analysis {"connection_id":111985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:32:47] local.INFO: Extracted packet for processing {"connection_id":111985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":753409792,"raw_latitude":119476000,"longitude_deg":75.3409792,"latitude_deg":11.9476,"altitude":7,"angle":156,"satellites":46,"speed":45,"hex_longitude":"2ce81f00","hex_latitude":"071f0f20","is_valid_coordinates":true} 
[2026-06-23 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250076928001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321704281809879040,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1724667520462436352,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782226871000,"timestamp_ms":1782226871000,"timestamp_seconds":1782226871,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ffe2d8"} 
[2026-06-23 20:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":111985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":111985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":111985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250076928001,"66":27332,"252":206,"2":54272,"24":45,"16":321704281809879040,"44":-1724667520462436352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,2,24,16,44]} 
[2026-06-23 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250076928001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:32:47] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-23 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321704281809879040,"km_value":321704281809879.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1724667520462436352,"description":"Unknown IO ID 44"} 
[2026-06-23 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250076928001,"power":27332,"unknown_252":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1724667520462436352}} 
[2026-06-23 20:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":111985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:32:47] local.INFO: GPS data processed {"connection_id":111985,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:32:47] local.INFO: Acknowledgment sent {"connection_id":111985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:32:51] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:32:51] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:32:51] local.INFO: IMEI packet received {"connection_id":111179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":111179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:32:57] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:32:57] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:32:57] local.INFO: IMEI packet received {"connection_id":111179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":111179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:32:57] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fe92e8012d196580071feec80042006c28..."} 
[2026-06-23 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fe92e8012d196580071feec80042006c28..."} 
[2026-06-23 20:32:57] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fe92e8012d196580071feec80042006c28..."} 
[2026-06-23 20:32:57] local.INFO: Packet analysis {"connection_id":111179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:32:57] local.INFO: Extracted packet for processing {"connection_id":111179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250051584001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782226785000,"timestamp_ms":1782226785000,"timestamp_seconds":1782226785,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fe92e8"} 
[2026-06-23 20:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:32: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-06-23 20:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793756513726555803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4244160513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":166,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:32:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:32:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,238,45,128,66,44,10,156,42,74,1,240,255,227,244,31,4,113,205,166,101,200,40,239,48,2,13,7,41],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:32:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250051584001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250051584001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250051584001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":111179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:32:58] local.INFO: GPS data processed {"connection_id":111179,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:32:58] local.INFO: Acknowledgment sent {"connection_id":111179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:33:23] local.INFO: TCP Data received {"connection_id":112922,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:23] local.INFO: Processing buffer {"connection_id":112922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:23] local.INFO: IMEI packet received {"connection_id":112922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":112922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:33:24] local.INFO: TCP Data received {"connection_id":112922,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:24] local.INFO: Processing buffer {"connection_id":112922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:24] local.INFO: IMEI packet received {"connection_id":112922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":112922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:33:28] local.INFO: TCP Data received {"connection_id":112922,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:28] local.INFO: Processing buffer {"connection_id":112922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:33:28] local.INFO: IMEI packet received {"connection_id":112922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":112922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:33:28] local.INFO: TCP Data received {"connection_id":111179,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4fee4f0012d196580071feec80042006c2a..."} 
[2026-06-23 20:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4fee4f0012d196580071feec80042006c2a..."} 
[2026-06-23 20:33:28] local.INFO: Processing buffer {"connection_id":111179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4fee4f0012d196580071feec80042006c2a..."} 
[2026-06-23 20:33:28] local.INFO: Packet analysis {"connection_id":111179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:33:28] local.INFO: Extracted packet for processing {"connection_id":111179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4fe"} 
[2026-06-23 20:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250056960001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226806000,"timestamp_ms":1782226806000,"timestamp_seconds":1782226806,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4fee4f0"} 
[2026-06-23 20:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793666319413339803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4249536513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:33:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,64,45,128,238,66,41,10,44,156,1,240,31,227,244,4,113,205,248,101,200,43,239,48,2,13,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:33:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250056960001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250056960001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250056960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":111179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:33:28] local.INFO: GPS data processed {"connection_id":111179,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:33:28] local.INFO: Acknowledgment sent {"connection_id":111179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:33:29] local.INFO: TCP Data received {"connection_id":112922,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5000218012ce82d40071eed180007009d2b..."} 
[2026-06-23 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5000218012ce82d40071eed180007009d2b..."} 
[2026-06-23 20:33:29] local.INFO: Processing buffer {"connection_id":112922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5000218012ce82d40071eed180007009d2b..."} 
[2026-06-23 20:33:29] local.INFO: Packet analysis {"connection_id":112922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:33:29] local.INFO: Extracted packet for processing {"connection_id":112922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:33:29] local.INFO: GPS Element Parsed {"raw_longitude":753413440,"raw_latitude":119467288,"longitude_deg":75.341344,"latitude_deg":11.9467288,"altitude":7,"angle":157,"satellites":43,"speed":47,"hex_longitude":"2ce82d40","hex_latitude":"071eed18","is_valid_coordinates":true} 
[2026-06-23 20:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250078976001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321704741371379712,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1720656502046384128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226879000,"timestamp_ms":1782226879000,"timestamp_seconds":1782226879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5000218"} 
[2026-06-23 20:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:33:29] 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-06-23 20:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250078976001,"66":27376,"252":206,"2":54272,"24":47,"16":321704741371379712,"44":-1720656502046384128},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,2,24,16,44]} 
[2026-06-23 20:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250078976001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:33:29] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-06-23 20:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321704741371379712,"km_value":321704741371379.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1720656502046384128,"description":"Unknown IO ID 44"} 
[2026-06-23 20:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250078976001,"power":27376,"unknown_252":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1720656502046384128}} 
[2026-06-23 20:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":112922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:33:29] local.INFO: GPS data processed {"connection_id":112922,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:33:29] local.INFO: Acknowledgment sent {"connection_id":112922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:33:53] local.INFO: TCP Data received {"connection_id":111180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:33:53] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:33:53] local.INFO: IMEI packet received {"connection_id":111180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":111180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:33:57] local.INFO: TCP Data received {"connection_id":111180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:33:57] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:33:57] local.INFO: IMEI packet received {"connection_id":111180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":111180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:34:01] local.INFO: TCP Data received {"connection_id":112922,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50184d0012ce91e40071de7480012007e31..."} 
[2026-06-23 20:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50184d0012ce91e40071de7480012007e31..."} 
[2026-06-23 20:34:01] local.INFO: Processing buffer {"connection_id":112922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50184d0012ce91e40071de7480012007e31..."} 
[2026-06-23 20:34:01] local.INFO: Packet analysis {"connection_id":112922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:34:01] local.INFO: Extracted packet for processing {"connection_id":112922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:34:01] local.INFO: GPS Element Parsed {"raw_longitude":753475136,"raw_latitude":119400264,"longitude_deg":75.3475136,"latitude_deg":11.9400264,"altitude":18,"angle":126,"satellites":49,"speed":34,"hex_longitude":"2ce91e40","hex_latitude":"071de748","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250103296001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321709294036713472,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1657817213514065920,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782226978000,"timestamp_ms":1782226978000,"timestamp_seconds":1782226978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50184d0"} 
[2026-06-23 20:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250103296001,"66":27463,"251":206,"2":54272,"24":34,"16":321709294036713472,"44":-1657817213514065920},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16,44]} 
[2026-06-23 20:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250103296001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:34:01] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 20:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321709294036713472,"km_value":321709294036713.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1657817213514065920,"description":"Unknown IO ID 44"} 
[2026-06-23 20:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250103296001,"power":27463,"unknown_251":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1657817213514065920}} 
[2026-06-23 20:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":112922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:34:01] local.INFO: GPS data processed {"connection_id":112922,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:34:01] local.INFO: Acknowledgment sent {"connection_id":112922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:34:02] local.INFO: TCP Data received {"connection_id":111180,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:02] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:02] local.INFO: IMEI packet received {"connection_id":111180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":111180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:34:02] local.INFO: TCP Data received {"connection_id":111180,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ff36f8012d196580071feec80042006c2b..."} 
[2026-06-23 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ff36f8012d196580071feec80042006c2b..."} 
[2026-06-23 20:34:02] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ff36f8012d196580071feec80042006c2b..."} 
[2026-06-23 20:34:02] local.INFO: Packet analysis {"connection_id":111180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:34:02] local.INFO: Extracted packet for processing {"connection_id":111180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250062336001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782226827000,"timestamp_ms":1782226827000,"timestamp_seconds":1782226827,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ff36f8"} 
[2026-06-23 20:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:34: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-06-23 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793576125100123803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4254912513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,146,45,128,238,66,40,10,64,41,1,240,227,244,31,4,113,205,74,101,200,43,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:34:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250062336001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250062336001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250062336001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":111180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:34:03] local.INFO: GPS data processed {"connection_id":111180,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:34:03] local.INFO: Acknowledgment sent {"connection_id":111180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:34:07] local.INFO: TCP Data received {"connection_id":111180,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ff8900012d196580071feec80042006c2a..."} 
[2026-06-23 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ff8900012d196580071feec80042006c2a..."} 
[2026-06-23 20:34:07] local.INFO: Processing buffer {"connection_id":111180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ff8900012d196580071feec80042006c2a..."} 
[2026-06-23 20:34:07] local.INFO: Packet analysis {"connection_id":111180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:34:07] local.INFO: Extracted packet for processing {"connection_id":111180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250067712001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782226848000,"timestamp_ms":1782226848000,"timestamp_seconds":1782226848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ff8900"} 
[2026-06-23 20:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:34:07] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793485930786907803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4260288513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:34:07] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,228,45,128,238,66,42,10,146,40,64,1,240,227,244,31,4,113,205,156,101,200,239,48,2,13,7,43],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:34:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250067712001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250067712001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:34:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250067712001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":111180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:34:07] local.INFO: GPS data processed {"connection_id":111180,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:34:07] local.INFO: Acknowledgment sent {"connection_id":111180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:34:23] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:23] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:23] local.INFO: IMEI packet received {"connection_id":111356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":111356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:34:24] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:24] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:24] local.INFO: IMEI packet received {"connection_id":111356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":111356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:34:28] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:28] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:34:28] local.INFO: IMEI packet received {"connection_id":111356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":111356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:34:30] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5019470012ce92900071dddd80011008931..."} 
[2026-06-23 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5019470012ce92900071dddd80011008931..."} 
[2026-06-23 20:34:30] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5019470012ce92900071dddd80011008931..."} 
[2026-06-23 20:34:30] local.INFO: Packet analysis {"connection_id":111356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:34:30] local.INFO: Extracted packet for processing {"connection_id":111356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":753477888,"raw_latitude":119397848,"longitude_deg":75.3477888,"latitude_deg":11.9397848,"altitude":17,"angle":137,"satellites":49,"speed":34,"hex_longitude":"2ce92900","hex_latitude":"071dddd8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250106368001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321709470130372608,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1648810014260377600,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782226982000,"timestamp_ms":1782226982000,"timestamp_seconds":1782226982,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5019470"} 
[2026-06-23 20:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:34:30] 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-06-23 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250106368001,"66":27484,"251":206,"2":54272,"24":34,"16":321709470130372608,"44":-1648810014260377600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16,44]} 
[2026-06-23 20:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250106368001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:34:30] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 20:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321709470130372608,"km_value":321709470130372.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1648810014260377600,"description":"Unknown IO ID 44"} 
[2026-06-23 20:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250106368001,"power":27484,"unknown_251":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1648810014260377600}} 
[2026-06-23 20:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":111356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:34:30] local.INFO: GPS data processed {"connection_id":111356,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:34:30] local.INFO: Acknowledgment sent {"connection_id":111356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:34:52] local.INFO: TCP Data received {"connection_id":111181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:52] local.INFO: Processing buffer {"connection_id":111181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:52] local.INFO: IMEI packet received {"connection_id":111181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":111181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:34:56] local.INFO: TCP Data received {"connection_id":111181,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:56] local.INFO: Processing buffer {"connection_id":111181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:34:56] local.INFO: IMEI packet received {"connection_id":111181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":111181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:34:57] local.INFO: TCP Data received {"connection_id":111181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef4ffdb08012d196580071feec80042006c2a..."} 
[2026-06-23 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef4ffdb08012d196580071feec80042006c2a..."} 
[2026-06-23 20:34:57] local.INFO: Processing buffer {"connection_id":111181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef4ffdb08012d196580071feec80042006c2a..."} 
[2026-06-23 20:34:57] local.INFO: Packet analysis {"connection_id":111181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:34:57] local.INFO: Extracted packet for processing {"connection_id":111181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef4ff"} 
[2026-06-23 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250073088001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782226869000,"timestamp_ms":1782226869000,"timestamp_seconds":1782226869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef4ffdb08"} 
[2026-06-23 20:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:34:57] 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-06-23 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793395736473691803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4265664513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,54,45,128,238,66,43,10,228,42,146,1,240,227,244,31,4,113,205,101,200,44,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:34:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250073088001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250073088001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250073088001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":111181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:34:57] local.INFO: GPS data processed {"connection_id":111181,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:34:57] local.INFO: Acknowledgment sent {"connection_id":111181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:34:57] local.INFO: TCP Data received {"connection_id":111181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5002d10012d196580071feec80042006c2b..."} 
[2026-06-23 20:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5002d10012d196580071feec80042006c2b..."} 
[2026-06-23 20:34:57] local.INFO: Processing buffer {"connection_id":111181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5002d10012d196580071feec80042006c2b..."} 
[2026-06-23 20:34:57] local.INFO: Packet analysis {"connection_id":111181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:34:57] local.INFO: Extracted packet for processing {"connection_id":111181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250078464001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782226890000,"timestamp_ms":1782226890000,"timestamp_seconds":1782226890,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5002d10"} 
[2026-06-23 20:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:34: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-06-23 20:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793305542160475803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4271040513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:34:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:34:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,137,45,128,238,66,42,10,54,43,228,1,240,227,244,31,4,113,205,64,101,200,41,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:34:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250078464001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250078464001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250078464001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":111181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:34:57] local.INFO: GPS data processed {"connection_id":111181,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:34:57] local.INFO: Acknowledgment sent {"connection_id":111181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:35:04] local.INFO: TCP Data received {"connection_id":111356,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef502adb0012ce9aac0071d36d00009001831..."} 
[2026-06-23 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef502adb0012ce9aac0071d36d00009001831..."} 
[2026-06-23 20:35:04] local.INFO: Processing buffer {"connection_id":111356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef502adb0012ce9aac0071d36d00009001831..."} 
[2026-06-23 20:35:04] local.INFO: Packet analysis {"connection_id":111356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:35:04] local.INFO: Extracted packet for processing {"connection_id":111356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:35:04] local.INFO: GPS Element Parsed {"raw_longitude":753511104,"raw_latitude":119355088,"longitude_deg":75.3511104,"latitude_deg":11.9355088,"altitude":9,"angle":24,"satellites":49,"speed":17,"hex_longitude":"2ce9aac0","hex_latitude":"071d36d0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250125568001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321712154484932608,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609473886276718592,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782227054000,"timestamp_ms":1782227054000,"timestamp_seconds":1782227054,"priority":1,"record_length":96,"hex_timestamp":"0000019ef502adb0"} 
[2026-06-23 20:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:35:04] 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-06-23 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250125568001,"66":27376,"165":206,"2":54272,"24":17,"16":321712154484932608,"44":-1609473886276718592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250125568001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:35:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321712154484932608,"km_value":321712154484932.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:35:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609473886276718592,"description":"Unknown IO ID 44"} 
[2026-06-23 20:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250125568001,"power":27376,"unknown_165":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1609473886276718592}} 
[2026-06-23 20:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":111356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:35:04] local.INFO: GPS data processed {"connection_id":111356,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:35:04] local.INFO: Acknowledgment sent {"connection_id":111356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:35:28] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:28] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:28] local.INFO: IMEI packet received {"connection_id":111986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":111986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:35:28] local.INFO: TCP Data received {"connection_id":111181,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5007f18012d196580071feec80042006c2a..."} 
[2026-06-23 20:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5007f18012d196580071feec80042006c2a..."} 
[2026-06-23 20:35:28] local.INFO: Processing buffer {"connection_id":111181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5007f18012d196580071feec80042006c2a..."} 
[2026-06-23 20:35:28] local.INFO: Packet analysis {"connection_id":111181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:35:28] local.INFO: Extracted packet for processing {"connection_id":111181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250083840001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782226911000,"timestamp_ms":1782226911000,"timestamp_seconds":1782226911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5007f18"} 
[2026-06-23 20:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-793215347847259803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4276416513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:35:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,219,45,128,238,66,42,10,137,54,1,240,227,244,31,4,113,205,146,101,200,40,239,48,2,13,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:35:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250083840001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250083840001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250083840001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":111181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:35:28] local.INFO: GPS data processed {"connection_id":111181,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:35:28] local.INFO: Acknowledgment sent {"connection_id":111181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:35:29] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:29] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:29] local.INFO: IMEI packet received {"connection_id":111986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":111986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:35:33] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:33] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:35:33] local.INFO: IMEI packet received {"connection_id":111986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":111986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:35:35] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef502b198012ce9ab00071d38680009000131..."} 
[2026-06-23 20:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef502b198012ce9ab00071d38680009000131..."} 
[2026-06-23 20:35:35] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef502b198012ce9ab00071d38680009000131..."} 
[2026-06-23 20:35:35] local.INFO: Packet analysis {"connection_id":111986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:35:35] local.INFO: Extracted packet for processing {"connection_id":111986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:35:35] local.INFO: GPS Element Parsed {"raw_longitude":753511168,"raw_latitude":119355496,"longitude_deg":75.3511168,"latitude_deg":11.9355496,"altitude":9,"angle":1,"satellites":49,"speed":16,"hex_longitude":"2ce9ab00","hex_latitude":"071d3868","is_valid_coordinates":true} 
[2026-06-23 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250125824001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321712175959769088,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609262780044095488,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782227055000,"timestamp_ms":1782227055000,"timestamp_seconds":1782227055,"priority":1,"record_length":96,"hex_timestamp":"0000019ef502b198"} 
[2026-06-23 20:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:35:35] 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-06-23 20:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250125824001,"66":27376,"165":206,"2":54272,"24":16,"16":321712175959769088,"44":-1609262780044095488},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250125824001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:35:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321712175959769088,"km_value":321712175959769.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609262780044095488,"description":"Unknown IO ID 44"} 
[2026-06-23 20:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250125824001,"power":27376,"unknown_165":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1609262780044095488}} 
[2026-06-23 20:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":111986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:35:35] local.INFO: GPS data processed {"connection_id":111986,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:35:35] local.INFO: Acknowledgment sent {"connection_id":111986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:35:52] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:35:52] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:35:52] local.INFO: IMEI packet received {"connection_id":111357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":111357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:35:57] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:35:57] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:35:57] local.INFO: IMEI packet received {"connection_id":111357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":111357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:35:58] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef500d120012d196580071feec80042006c2b..."} 
[2026-06-23 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef500d120012d196580071feec80042006c2b..."} 
[2026-06-23 20:35:58] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef500d120012d196580071feec80042006c2b..."} 
[2026-06-23 20:35:58] local.INFO: Packet analysis {"connection_id":111357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:35:58] local.INFO: Extracted packet for processing {"connection_id":111357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef500"} 
[2026-06-23 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250089216001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:35: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-06-23 20:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226932000,"timestamp_ms":1782226932000,"timestamp_seconds":1782226932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef500d120"} 
[2026-06-23 20:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:35:58] 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-06-23 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:35: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-06-23 20:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250089216001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250089216001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:35:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250089216001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":111357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:35:58] local.INFO: GPS data processed {"connection_id":111357,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:35:58] local.INFO: Acknowledgment sent {"connection_id":111357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:36:07] local.INFO: TCP Data received {"connection_id":111986,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef502b580012ce9ab00071d3a000009015931..."} 
[2026-06-23 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef502b580012ce9ab00071d3a000009015931..."} 
[2026-06-23 20:36:07] local.INFO: Processing buffer {"connection_id":111986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef502b580012ce9ab00071d3a000009015931..."} 
[2026-06-23 20:36:07] local.INFO: Packet analysis {"connection_id":111986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:36:07] local.INFO: Extracted packet for processing {"connection_id":111986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":753511168,"raw_latitude":119355904,"longitude_deg":75.3511168,"latitude_deg":11.9355904,"altitude":9,"angle":345,"satellites":49,"speed":16,"hex_longitude":"2ce9ab00","hex_latitude":"071d3a00","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250126080001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321712197434605568,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609192411299813376,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782227056000,"timestamp_ms":1782227056000,"timestamp_seconds":1782227056,"priority":1,"record_length":96,"hex_timestamp":"0000019ef502b580"} 
[2026-06-23 20:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:36:07] 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-06-23 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250126080001,"66":27376,"165":206,"2":54272,"24":16,"16":321712197434605568,"44":-1609192411299813376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250126080001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:36:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321712197434605568,"km_value":321712197434605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:36:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609192411299813376,"description":"Unknown IO ID 44"} 
[2026-06-23 20:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250126080001,"power":27376,"unknown_165":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1609192411299813376}} 
[2026-06-23 20:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":111986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:36:07] local.INFO: GPS data processed {"connection_id":111986,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:36:07] local.INFO: Acknowledgment sent {"connection_id":111986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:36:28] local.INFO: TCP Data received {"connection_id":111987,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:36:28] local.INFO: Processing buffer {"connection_id":111987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:36:28] local.INFO: IMEI packet received {"connection_id":111987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":111987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:36:29] local.INFO: TCP Data received {"connection_id":111357,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5012328012d196580071feec80042006c2c..."} 
[2026-06-23 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5012328012d196580071feec80042006c2c..."} 
[2026-06-23 20:36:29] local.INFO: Processing buffer {"connection_id":111357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5012328012d196580071feec80042006c2c..."} 
[2026-06-23 20:36:29] local.INFO: Packet analysis {"connection_id":111357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:36:29] local.INFO: Extracted packet for processing {"connection_id":111357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250094592001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226953000,"timestamp_ms":1782226953000,"timestamp_seconds":1782226953,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5012328"} 
[2026-06-23 20:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:36: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-06-23 20:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:36:29] 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-06-23 20:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250094592001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250094592001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250094592001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":111357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:36:29] local.INFO: GPS data processed {"connection_id":111357,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:36:29] local.INFO: Acknowledgment sent {"connection_id":111357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:36:29] local.INFO: TCP Data received {"connection_id":111987,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:36:29] local.INFO: Processing buffer {"connection_id":111987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:36:29] local.INFO: IMEI packet received {"connection_id":111987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":111987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:36:30] local.INFO: TCP Data received {"connection_id":111987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef503da78012ce9fa00071e53c80008000e2d..."} 
[2026-06-23 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef503da78012ce9fa00071e53c80008000e2d..."} 
[2026-06-23 20:36:30] local.INFO: Processing buffer {"connection_id":111987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef503da78012ce9fa00071e53c80008000e2d..."} 
[2026-06-23 20:36:30] local.INFO: Packet analysis {"connection_id":111987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef503"} 
[2026-06-23 20:36:30] local.INFO: Extracted packet for processing {"connection_id":111987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef503"} 
[2026-06-23 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":753531392,"raw_latitude":119428040,"longitude_deg":75.3531392,"latitude_deg":11.942804,"altitude":8,"angle":14,"satellites":45,"speed":36,"hex_longitude":"2ce9fa00","hex_latitude":"071e53c8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250143488001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321715903991382016,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1589841006634668032,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227131000,"timestamp_ms":1782227131000,"timestamp_seconds":1782227131,"priority":1,"record_length":96,"hex_timestamp":"0000019ef503da78"} 
[2026-06-23 20:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:36:30] 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-06-23 20: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 20:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250143488001,"66":27332,"7":206,"2":54272,"24":36,"16":321715903991382016,"44":-1589841006634668032},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-06-23 20:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250143488001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:36:30] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-06-23 20:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321715903991382016,"km_value":321715903991382.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1589841006634668032,"description":"Unknown IO ID 44"} 
[2026-06-23 20:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250143488001,"power":27332,"unknown_7":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1589841006634668032}} 
[2026-06-23 20:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":111987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:36:30] local.INFO: GPS data processed {"connection_id":111987,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:36:30] local.INFO: Acknowledgment sent {"connection_id":111987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:36:31] local.INFO: TCP Data received {"connection_id":111182,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:36:31] local.INFO: Processing buffer {"connection_id":111182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:36:31] local.INFO: IMEI packet received {"connection_id":111182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":111182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:36:33] local.INFO: TCP Data received {"connection_id":111987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5040958012cea04c0071e7858000700122b..."} 
[2026-06-23 20:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5040958012cea04c0071e7858000700122b..."} 
[2026-06-23 20:36:33] local.INFO: Processing buffer {"connection_id":111987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5040958012cea04c0071e7858000700122b..."} 
[2026-06-23 20:36:33] local.INFO: Packet analysis {"connection_id":111987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:36:33] local.INFO: Extracted packet for processing {"connection_id":111987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:36:33] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119437400,"longitude_deg":75.3534144,"latitude_deg":11.94374,"altitude":7,"angle":18,"satellites":43,"speed":39,"hex_longitude":"2cea04c0","hex_latitude":"071e7858","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250145536001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321716376437784576,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586955888121100288,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782227143000,"timestamp_ms":1782227143000,"timestamp_seconds":1782227143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5040958"} 
[2026-06-23 20:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:36:33] 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-06-23 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250145536001,"66":27267,"7":206,"2":54272,"24":39,"16":321716376437784576,"44":-1586955888121100288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-06-23 20:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250145536001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-06-23 20:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321716376437784576,"km_value":321716376437784.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:36:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586955888121100288,"description":"Unknown IO ID 44"} 
[2026-06-23 20:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250145536001,"power":27267,"unknown_7":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1586955888121100288}} 
[2026-06-23 20:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":111987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:36:33] local.INFO: GPS data processed {"connection_id":111987,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:36:33] local.INFO: Acknowledgment sent {"connection_id":111987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:36:52] local.INFO: TCP Data received {"connection_id":111183,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:36:52] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:36:52] local.INFO: IMEI packet received {"connection_id":111183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":111183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:36:57] local.INFO: TCP Data received {"connection_id":111183,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:36:57] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:36:57] local.INFO: IMEI packet received {"connection_id":111183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":111183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:36:58] local.INFO: TCP Data received {"connection_id":111183,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5017530012d196580071feec80042006c2b..."} 
[2026-06-23 20:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5017530012d196580071feec80042006c2b..."} 
[2026-06-23 20:36:58] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5017530012d196580071feec80042006c2b..."} 
[2026-06-23 20:36:58] local.INFO: Packet analysis {"connection_id":111183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:36:58] local.INFO: Extracted packet for processing {"connection_id":111183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250099968001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36: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-06-23 20:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782226974000,"timestamp_ms":1782226974000,"timestamp_seconds":1782226974,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5017530"} 
[2026-06-23 20:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:36:58] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-792944764907611803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":244,"raw_value":4292544513,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:36:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:36:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,209,45,128,238,66,43,10,127,42,1,240,227,244,31,4,113,205,137,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:36:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920142737604608,"timestamp_seconds":4755920142737605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250099968001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250099968001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:36:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250099968001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":111183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:36:58] local.INFO: GPS data processed {"connection_id":111183,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:36:58] local.INFO: Acknowledgment sent {"connection_id":111183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:37:06] local.INFO: TCP Data received {"connection_id":111184,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:37:06] local.INFO: Processing buffer {"connection_id":111184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:37:06] local.INFO: IMEI packet received {"connection_id":111184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":111184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:37:08] local.INFO: TCP Data received {"connection_id":111987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5042898012cea1280071e9550000800202e..."} 
[2026-06-23 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5042898012cea1280071e9550000800202e..."} 
[2026-06-23 20:37:08] local.INFO: Processing buffer {"connection_id":111987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5042898012cea1280071e9550000800202e..."} 
[2026-06-23 20:37:08] local.INFO: Packet analysis {"connection_id":111987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:37:08] local.INFO: Extracted packet for processing {"connection_id":111987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":753537664,"raw_latitude":119444816,"longitude_deg":75.3537664,"latitude_deg":11.9444816,"altitude":8,"angle":32,"satellites":46,"speed":38,"hex_longitude":"2cea1280","hex_latitude":"071e9550","is_valid_coordinates":true} 
[2026-06-23 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250148608001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321716775869743104,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583930032119064576,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782227151000,"timestamp_ms":1782227151000,"timestamp_seconds":1782227151,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5042898"} 
[2026-06-23 20:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:37: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-06-23 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250148608001,"66":27376,"7":206,"2":54272,"24":38,"16":321716775869743104,"44":-1583930032119064576},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-06-23 20:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250148608001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-06-23 20:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321716775869743104,"km_value":321716775869743.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583930032119064576,"description":"Unknown IO ID 44"} 
[2026-06-23 20:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250148608001,"power":27376,"unknown_7":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1583930032119064576}} 
[2026-06-23 20:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":111987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:37:08] local.INFO: GPS data processed {"connection_id":111987,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:37:08] local.INFO: Acknowledgment sent {"connection_id":111987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:37:23] local.INFO: TCP Data received {"connection_id":111988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:23] local.INFO: Processing buffer {"connection_id":111988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:23] local.INFO: IMEI packet received {"connection_id":111988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":111988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:37:25] local.INFO: TCP Data received {"connection_id":111988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:25] local.INFO: Processing buffer {"connection_id":111988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:25] local.INFO: IMEI packet received {"connection_id":111988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":111988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:37:28] local.INFO: TCP Data received {"connection_id":111988,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:28] local.INFO: Processing buffer {"connection_id":111988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:37:28] local.INFO: IMEI packet received {"connection_id":111988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":111988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:37:29] local.INFO: TCP Data received {"connection_id":111183,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef501c738012d196580071feec80042006c2c..."} 
[2026-06-23 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef501c738012d196580071feec80042006c2c..."} 
[2026-06-23 20:37:29] local.INFO: Processing buffer {"connection_id":111183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef501c738012d196580071feec80042006c2c..."} 
[2026-06-23 20:37:29] local.INFO: Packet analysis {"connection_id":111183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:37:29] local.INFO: Extracted packet for processing {"connection_id":111183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef501"} 
[2026-06-23 20:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250105344001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782226995000,"timestamp_ms":1782226995000,"timestamp_seconds":1782226995,"priority":1,"record_length":96,"hex_timestamp":"0000019ef501c738"} 
[2026-06-23 20:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:37: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-06-23 20:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-792854570594395803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:37:29] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:29] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,35,45,128,238,66,44,10,209,43,127,1,240,255,227,245,31,4,113,205,219,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:37:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250105344001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250105344001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:37:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:37:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250105344001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":111183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:37:29] local.INFO: GPS data processed {"connection_id":111183,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:37:29] local.INFO: Acknowledgment sent {"connection_id":111183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:37:34] local.INFO: TCP Data received {"connection_id":111988,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef504b538012cea1800071e5138000a00b72f..."} 
[2026-06-23 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef504b538012cea1800071e5138000a00b72f..."} 
[2026-06-23 20:37:34] local.INFO: Processing buffer {"connection_id":111988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef504b538012cea1800071e5138000a00b72f..."} 
[2026-06-23 20:37:34] local.INFO: Packet analysis {"connection_id":111988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:37:34] local.INFO: Extracted packet for processing {"connection_id":111988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":753539072,"raw_latitude":119427384,"longitude_deg":75.3539072,"latitude_deg":11.9427384,"altitude":10,"angle":183,"satellites":47,"speed":42,"hex_longitude":"2cea1800","hex_latitude":"071e5138","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250157568001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321718008525357056,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577526476399192064,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782227187000,"timestamp_ms":1782227187000,"timestamp_seconds":1782227187,"priority":1,"record_length":96,"hex_timestamp":"0000019ef504b538"} 
[2026-06-23 20:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:37: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-06-23 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:37:34] 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-06-23 20: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-06-23 20:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250157568001,"66":27463,"251":206,"2":54272,"24":42,"16":321718008525357056,"44":-1577526476399192064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16,44]} 
[2026-06-23 20:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250157568001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 20:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321718008525357056,"km_value":321718008525357.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577526476399192064,"description":"Unknown IO ID 44"} 
[2026-06-23 20:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250157568001,"power":27463,"unknown_251":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1577526476399192064}} 
[2026-06-23 20:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":111988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:37:34] local.INFO: GPS data processed {"connection_id":111988,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:37:34] local.INFO: Acknowledgment sent {"connection_id":111988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:37:37] local.INFO: TCP Data received {"connection_id":111988,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef504d478012cea1540071e2df0000a00b62f..."} 
[2026-06-23 20:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef504d478012cea1540071e2df0000a00b62f..."} 
[2026-06-23 20:37:37] local.INFO: Processing buffer {"connection_id":111988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef504d478012cea1540071e2df0000a00b62f..."} 
[2026-06-23 20:37:37] local.INFO: Packet analysis {"connection_id":111988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:37:37] local.INFO: Extracted packet for processing {"connection_id":111988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753538368,"raw_latitude":119418352,"longitude_deg":75.3538368,"latitude_deg":11.9418352,"altitude":10,"angle":182,"satellites":47,"speed":45,"hex_longitude":"2cea1540","hex_latitude":"071e2df0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250159872001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321718446612021248,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578511638819948544,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782227195000,"timestamp_ms":1782227195000,"timestamp_seconds":1782227195,"priority":1,"record_length":96,"hex_timestamp":"0000019ef504d478"} 
[2026-06-23 20:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:37:37] 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-06-23 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:37:37] 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-06-23 20: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-06-23 20:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250159872001,"66":27463,"251":206,"2":54272,"24":45,"16":321718446612021248,"44":-1578511638819948544},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16,44]} 
[2026-06-23 20:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250159872001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:37:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 20:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321718446612021248,"km_value":321718446612021.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578511638819948544,"description":"Unknown IO ID 44"} 
[2026-06-23 20:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250159872001,"power":27463,"unknown_251":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1578511638819948544}} 
[2026-06-23 20:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":111988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:37:37] local.INFO: GPS data processed {"connection_id":111988,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:37:37] local.INFO: Acknowledgment sent {"connection_id":111988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:37:52] local.INFO: TCP Data received {"connection_id":111359,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:37:52] local.INFO: Processing buffer {"connection_id":111359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:37:52] local.INFO: IMEI packet received {"connection_id":111359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":111359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:37:57] local.INFO: TCP Data received {"connection_id":111359,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:37:57] local.INFO: Processing buffer {"connection_id":111359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:37:57] local.INFO: IMEI packet received {"connection_id":111359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":111359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:37:58] local.INFO: TCP Data received {"connection_id":111359,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5021940012d196580071feec80042006c29..."} 
[2026-06-23 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5021940012d196580071feec80042006c29..."} 
[2026-06-23 20:37:58] local.INFO: Processing buffer {"connection_id":111359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5021940012d196580071feec80042006c29..."} 
[2026-06-23 20:37:58] local.INFO: Packet analysis {"connection_id":111359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:37:58] local.INFO: Extracted packet for processing {"connection_id":111359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250110720001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:37: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-06-23 20:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227016000,"timestamp_ms":1782227016000,"timestamp_seconds":1782227016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5021940"} 
[2026-06-23 20:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:37:58] 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-06-23 20:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 20:37: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-06-23 20:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250110720001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250110720001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:37:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250110720001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":111359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:37:58] local.INFO: GPS data processed {"connection_id":111359,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:37:58] local.INFO: Acknowledgment sent {"connection_id":111359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:38:25] local.INFO: TCP Data received {"connection_id":111360,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:38:25] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:38:25] local.INFO: IMEI packet received {"connection_id":111360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":111360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:38:28] local.INFO: TCP Data received {"connection_id":111360,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:38:28] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:38:28] local.INFO: IMEI packet received {"connection_id":111360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":111360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:38:28] local.INFO: TCP Data received {"connection_id":111359,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5026b48012d196580071feec80042006c29..."} 
[2026-06-23 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5026b48012d196580071feec80042006c29..."} 
[2026-06-23 20:38:28] local.INFO: Processing buffer {"connection_id":111359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5026b48012d196580071feec80042006c29..."} 
[2026-06-23 20:38:28] local.INFO: Packet analysis {"connection_id":111359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:38:28] local.INFO: Extracted packet for processing {"connection_id":111359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250116096001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227037000,"timestamp_ms":1782227037000,"timestamp_seconds":1782227037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5026b48"} 
[2026-06-23 20:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250116096001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250116096001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250116096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":111359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:38:28] local.INFO: GPS data processed {"connection_id":111359,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:38:28] local.INFO: Acknowledgment sent {"connection_id":111359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:38:29] local.INFO: TCP Data received {"connection_id":111360,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef504f3b8012cea12c0071e0b20000900b62e..."} 
[2026-06-23 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef504f3b8012cea12c0071e0b20000900b62e..."} 
[2026-06-23 20:38:29] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef504f3b8012cea12c0071e0b20000900b62e..."} 
[2026-06-23 20:38:29] local.INFO: Packet analysis {"connection_id":111360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:38:29] local.INFO: Extracted packet for processing {"connection_id":111360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef504"} 
[2026-06-23 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":753537728,"raw_latitude":119409440,"longitude_deg":75.3537728,"latitude_deg":11.940944,"altitude":9,"angle":182,"satellites":46,"speed":38,"hex_longitude":"2cea12c0","hex_latitude":"071e0b20","is_valid_coordinates":true} 
[2026-06-23 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250161920001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321718880403718144,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579285695008215040,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782227203000,"timestamp_ms":1782227203000,"timestamp_seconds":1782227203,"priority":1,"record_length":96,"hex_timestamp":"0000019ef504f3b8"} 
[2026-06-23 20:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:38:29] 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-06-23 20:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:38:29] 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-06-23 20:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250161920001,"66":27463,"251":206,"2":54272,"24":38,"16":321718880403718144,"44":-1579285695008215040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,2,24,16,44]} 
[2026-06-23 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250161920001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:38:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-23 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321718880403718144,"km_value":321718880403718.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579285695008215040,"description":"Unknown IO ID 44"} 
[2026-06-23 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250161920001,"power":27463,"unknown_251":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1579285695008215040}} 
[2026-06-23 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":111360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:38:29] local.INFO: GPS data processed {"connection_id":111360,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:38:29] local.INFO: Acknowledgment sent {"connection_id":111360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:38:34] local.INFO: TCP Data received {"connection_id":111360,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5051ac8012cea10c0071de888000900b62e..."} 
[2026-06-23 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5051ac8012cea10c0071de888000900b62e..."} 
[2026-06-23 20:38:34] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5051ac8012cea10c0071de888000900b62e..."} 
[2026-06-23 20:38:34] local.INFO: Packet analysis {"connection_id":111360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:38:34] local.INFO: Extracted packet for processing {"connection_id":111360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":753537216,"raw_latitude":119400584,"longitude_deg":75.3537216,"latitude_deg":11.9400584,"altitude":9,"angle":182,"satellites":46,"speed":32,"hex_longitude":"2cea10c0","hex_latitude":"071de888","is_valid_coordinates":true} 
[2026-06-23 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250163968001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321719309900447744,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579989382452273152,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782227213000,"timestamp_ms":1782227213000,"timestamp_seconds":1782227213,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5051ac8"} 
[2026-06-23 20:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20: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-06-23 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:38:34] 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-06-23 20:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250163968001,"66":27213,"165":206,"2":54272,"24":32,"16":321719309900447744,"44":-1579989382452273152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250163968001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:38:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321719309900447744,"km_value":321719309900447.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579989382452273152,"description":"Unknown IO ID 44"} 
[2026-06-23 20:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250163968001,"power":27213,"unknown_165":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1579989382452273152}} 
[2026-06-23 20:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":111360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:38:34] local.INFO: GPS data processed {"connection_id":111360,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:38:34] local.INFO: Acknowledgment sent {"connection_id":111360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:38:52] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:38:52] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:38:52] local.INFO: IMEI packet received {"connection_id":111989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":111989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:38:57] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:38:57] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:38:57] local.INFO: IMEI packet received {"connection_id":111989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":111989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:38:58] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef502bd50012d196580071feec80042006c2a..."} 
[2026-06-23 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef502bd50012d196580071feec80042006c2a..."} 
[2026-06-23 20:38:58] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef502bd50012d196580071feec80042006c2a..."} 
[2026-06-23 20:38:58] local.INFO: Packet analysis {"connection_id":111989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:38:58] local.INFO: Extracted packet for processing {"connection_id":111989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef502"} 
[2026-06-23 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250121472001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38: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-06-23 20:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227058000,"timestamp_ms":1782227058000,"timestamp_seconds":1782227058,"priority":1,"record_length":96,"hex_timestamp":"0000019ef502bd50"} 
[2026-06-23 20:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:38: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-06-23 20:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-792583987654747803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:38:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,25,45,128,238,66,41,10,199,44,117,1,240,227,245,31,4,113,205,209,101,200,43,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:38:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250121472001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250121472001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:38:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250121472001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":111989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:38:58] local.INFO: GPS data processed {"connection_id":111989,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:38:58] local.INFO: Acknowledgment sent {"connection_id":111989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:39:07] local.INFO: TCP Data received {"connection_id":111360,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50545c0012cea0e40071dc4c0000700b62e..."} 
[2026-06-23 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50545c0012cea0e40071dc4c0000700b62e..."} 
[2026-06-23 20:39:07] local.INFO: Processing buffer {"connection_id":111360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50545c0012cea0e40071dc4c0000700b62e..."} 
[2026-06-23 20:39:07] local.INFO: Packet analysis {"connection_id":111360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:39:07] local.INFO: Extracted packet for processing {"connection_id":111360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":753536576,"raw_latitude":119391424,"longitude_deg":75.3536576,"latitude_deg":11.9391424,"altitude":7,"angle":182,"satellites":46,"speed":31,"hex_longitude":"2cea0e40","hex_latitude":"071dc4c0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250166528001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321719756577046528,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580552332407961600,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782227224000,"timestamp_ms":1782227224000,"timestamp_seconds":1782227224,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50545c0"} 
[2026-06-23 20:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:39: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-06-23 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 20:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250166528001,"66":26289,"165":206,"2":54272,"24":31,"16":321719756577046528,"44":-1580552332407961600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250166528001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:39:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321719756577046528,"km_value":321719756577046.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580552332407961600,"description":"Unknown IO ID 44"} 
[2026-06-23 20:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250166528001,"power":26289,"unknown_165":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1580552332407961600}} 
[2026-06-23 20:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":111360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:39:07] local.INFO: GPS data processed {"connection_id":111360,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:39:07] local.INFO: Acknowledgment sent {"connection_id":111360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:39:23] local.INFO: TCP Data received {"connection_id":111361,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:39:23] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:39:23] local.INFO: IMEI packet received {"connection_id":111361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":111361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:39:28] local.INFO: TCP Data received {"connection_id":111361,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:39:28] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:39:28] local.INFO: IMEI packet received {"connection_id":111361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":111361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:39:28] local.INFO: TCP Data received {"connection_id":111989,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5030f58012d196580071feec80042006c2a..."} 
[2026-06-23 20:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5030f58012d196580071feec80042006c2a..."} 
[2026-06-23 20:39:28] local.INFO: Processing buffer {"connection_id":111989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5030f58012d196580071feec80042006c2a..."} 
[2026-06-23 20:39:28] local.INFO: Packet analysis {"connection_id":111989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef503"} 
[2026-06-23 20:39:28] local.INFO: Extracted packet for processing {"connection_id":111989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef503"} 
[2026-06-23 20:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250126848001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227079000,"timestamp_ms":1782227079000,"timestamp_seconds":1782227079,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5030f58"} 
[2026-06-23 20:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-792493793341531803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:39:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,107,45,128,238,66,41,10,25,199,1,240,233,227,245,31,4,113,205,35,101,200,44,239,48,2,13,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:39:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250126848001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250126848001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250126848001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":111989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:39:28] local.INFO: GPS data processed {"connection_id":111989,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:39:28] local.INFO: Acknowledgment sent {"connection_id":111989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:39:30] local.INFO: TCP Data received {"connection_id":111361,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50570b8012cea0c40071da190000800b72d..."} 
[2026-06-23 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50570b8012cea0c40071da190000800b72d..."} 
[2026-06-23 20:39:30] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50570b8012cea0c40071da190000800b72d..."} 
[2026-06-23 20:39:30] local.INFO: Packet analysis {"connection_id":111361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:39:30] local.INFO: Extracted packet for processing {"connection_id":111361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":753536064,"raw_latitude":119382416,"longitude_deg":75.3536064,"latitude_deg":11.9382416,"altitude":8,"angle":183,"satellites":45,"speed":32,"hex_longitude":"2cea0c40","hex_latitude":"071da190","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250169344001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321720194663710720,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581256019852083200,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227235000,"timestamp_ms":1782227235000,"timestamp_seconds":1782227235,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50570b8"} 
[2026-06-23 20:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:39:30] 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-06-23 20: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-23 20:39:30] 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-06-23 20: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-06-23 20:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250169344001,"66":27397,"165":206,"2":54272,"24":32,"16":321720194663710720,"44":-1581256019852083200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250169344001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:39:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321720194663710720,"km_value":321720194663710.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581256019852083200,"description":"Unknown IO ID 44"} 
[2026-06-23 20:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250169344001,"power":27397,"unknown_165":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1581256019852083200}} 
[2026-06-23 20:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":111361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:39:30] local.INFO: GPS data processed {"connection_id":111361,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:39:30] local.INFO: Acknowledgment sent {"connection_id":111361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:39:52] local.INFO: TCP Data received {"connection_id":112925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:39:52] local.INFO: Processing buffer {"connection_id":112925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:39:52] local.INFO: IMEI packet received {"connection_id":112925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":112925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:39:57] local.INFO: TCP Data received {"connection_id":112925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:39:57] local.INFO: Processing buffer {"connection_id":112925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:39:57] local.INFO: IMEI packet received {"connection_id":112925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":112925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:39:58] local.INFO: TCP Data received {"connection_id":112925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50695b0012d196580071feec80042006c2a..."} 
[2026-06-23 20:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50695b0012d196580071feec80042006c2a..."} 
[2026-06-23 20:39:58] local.INFO: Processing buffer {"connection_id":112925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50695b0012d196580071feec80042006c2a..."} 
[2026-06-23 20:39:58] local.INFO: Packet analysis {"connection_id":112925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef506"} 
[2026-06-23 20:39:58] local.INFO: Extracted packet for processing {"connection_id":112925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef506"} 
[2026-06-23 20:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250185984001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227310000,"timestamp_ms":1782227310000,"timestamp_seconds":1782227310,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50695b0"} 
[2026-06-23 20:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:39: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-06-23 20:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:39: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-06-23 20:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250185984001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250185984001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:39:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250185984001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":112925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:39:58] local.INFO: GPS data processed {"connection_id":112925,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:39:58] local.INFO: Acknowledgment sent {"connection_id":112925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:40:01] local.INFO: TCP Data received {"connection_id":111361,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5059bb0012cea0a00071d7e68000800b732..."} 
[2026-06-23 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5059bb0012cea0a00071d7e68000800b732..."} 
[2026-06-23 20:40:01] local.INFO: Processing buffer {"connection_id":111361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5059bb0012cea0a00071d7e68000800b732..."} 
[2026-06-23 20:40:01] local.INFO: Packet analysis {"connection_id":111361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:40:01] local.INFO: Extracted packet for processing {"connection_id":111361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":753535488,"raw_latitude":119373416,"longitude_deg":75.3535488,"latitude_deg":11.9373416,"altitude":8,"angle":183,"satellites":50,"speed":33,"hex_longitude":"2cea0a00","hex_latitude":"071d7e68","is_valid_coordinates":true} 
[2026-06-23 20:40: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-06-23 20:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250172160001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321720632750374912,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581818969807810560,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782227246000,"timestamp_ms":1782227246000,"timestamp_seconds":1782227246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5059bb0"} 
[2026-06-23 20:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:40: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:40: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-06-23 20:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250172160001,"66":27343,"165":206,"2":54272,"24":33,"16":321720632750374912,"44":-1581818969807810560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250172160001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:40:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321720632750374912,"km_value":321720632750374.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581818969807810560,"description":"Unknown IO ID 44"} 
[2026-06-23 20:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250172160001,"power":27343,"unknown_165":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1581818969807810560}} 
[2026-06-23 20:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":111361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:40:01] local.INFO: GPS data processed {"connection_id":111361,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:40:01] local.INFO: Acknowledgment sent {"connection_id":111361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:40:23] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:40:23] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:40:23] local.INFO: IMEI packet received {"connection_id":111185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":111185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:40:28] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:40:28] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:40:28] local.INFO: IMEI packet received {"connection_id":111185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":111185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:40:28] local.INFO: TCP Data received {"connection_id":112925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef506e7b8012d196580071feec80042006c2a..."} 
[2026-06-23 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef506e7b8012d196580071feec80042006c2a..."} 
[2026-06-23 20:40:28] local.INFO: Processing buffer {"connection_id":112925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef506e7b8012d196580071feec80042006c2a..."} 
[2026-06-23 20:40:28] local.INFO: Packet analysis {"connection_id":112925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef506"} 
[2026-06-23 20:40:28] local.INFO: Extracted packet for processing {"connection_id":112925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef506"} 
[2026-06-23 20:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250191360001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227331000,"timestamp_ms":1782227331000,"timestamp_seconds":1782227331,"priority":1,"record_length":96,"hex_timestamp":"0000019ef506e7b8"} 
[2026-06-23 20:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-791411461582939803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:40:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,67,45,128,238,66,41,10,40,159,1,240,31,227,245,4,113,205,251,101,200,239,48,2,13,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:40:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250191360001,"66":12113,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250191360001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250191360001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":112925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:40:29] local.INFO: GPS data processed {"connection_id":112925,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:40:29] local.INFO: Acknowledgment sent {"connection_id":112925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:40:30] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef505c6a8012cea0740071d5a00000800b730..."} 
[2026-06-23 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef505c6a8012cea0740071d5a00000800b730..."} 
[2026-06-23 20:40:30] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef505c6a8012cea0740071d5a00000800b730..."} 
[2026-06-23 20:40:30] local.INFO: Packet analysis {"connection_id":111185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:40:30] local.INFO: Extracted packet for processing {"connection_id":111185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef505"} 
[2026-06-23 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":753534784,"raw_latitude":119364096,"longitude_deg":75.3534784,"latitude_deg":11.9364096,"altitude":8,"angle":183,"satellites":48,"speed":30,"hex_longitude":"2cea0740","hex_latitude":"071d5a00","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250174976001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321721083721940992,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582452288507713536,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227257000,"timestamp_ms":1782227257000,"timestamp_seconds":1782227257,"priority":1,"record_length":96,"hex_timestamp":"0000019ef505c6a8"} 
[2026-06-23 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-06-23 20:40:30] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:40:30] 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-06-23 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-06-23 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-06-23 20:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250174976001,"66":27321,"165":206,"2":54272,"24":30,"16":321721083721940992,"44":-1582452288507713536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250174976001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:40:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321721083721940992,"km_value":321721083721941.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582452288507713536,"description":"Unknown IO ID 44"} 
[2026-06-23 20:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250174976001,"power":27321,"unknown_165":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1582452288507713536}} 
[2026-06-23 20:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":111185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:40:30] local.INFO: GPS data processed {"connection_id":111185,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:40:30] local.INFO: Acknowledgment sent {"connection_id":111185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:40:51] local.INFO: TCP Data received {"connection_id":112926,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:51] local.INFO: Processing buffer {"connection_id":112926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:51] local.INFO: IMEI packet received {"connection_id":112926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":112926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:40:53] local.INFO: TCP Data received {"connection_id":112926,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:53] local.INFO: Processing buffer {"connection_id":112926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:53] local.INFO: IMEI packet received {"connection_id":112926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":112926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:40:57] local.INFO: TCP Data received {"connection_id":112926,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:57] local.INFO: Processing buffer {"connection_id":112926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:40:57] local.INFO: IMEI packet received {"connection_id":112926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":112926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:40:58] local.INFO: TCP Data received {"connection_id":112926,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50739c0012d196580071feec80042006c28..."} 
[2026-06-23 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50739c0012d196580071feec80042006c28..."} 
[2026-06-23 20:40:58] local.INFO: Processing buffer {"connection_id":112926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50739c0012d196580071feec80042006c28..."} 
[2026-06-23 20:40:58] local.INFO: Packet analysis {"connection_id":112926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef507"} 
[2026-06-23 20:40:58] local.INFO: Extracted packet for processing {"connection_id":112926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef507"} 
[2026-06-23 20:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250196736001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:40: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-06-23 20:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227352000,"timestamp_ms":1782227352000,"timestamp_seconds":1782227352,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50739c0"} 
[2026-06-23 20:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:40: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-06-23 20:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 20:40:58] 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-06-23 20:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250196736001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250196736001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:40:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250196736001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":112926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:40:58] local.INFO: GPS data processed {"connection_id":112926,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:40:58] local.INFO: Acknowledgment sent {"connection_id":112926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:41:03] local.INFO: TCP Data received {"connection_id":111185,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50618b0012cea04c0071d38c8000800b930..."} 
[2026-06-23 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50618b0012cea04c0071d38c8000800b930..."} 
[2026-06-23 20:41:03] local.INFO: Processing buffer {"connection_id":111185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50618b0012cea04c0071d38c8000800b930..."} 
[2026-06-23 20:41:03] local.INFO: Packet analysis {"connection_id":111185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef506"} 
[2026-06-23 20:41:03] local.INFO: Extracted packet for processing {"connection_id":111185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef506"} 
[2026-06-23 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119355592,"longitude_deg":75.3534144,"latitude_deg":11.9355592,"altitude":8,"angle":185,"satellites":48,"speed":20,"hex_longitude":"2cea04c0","hex_latitude":"071d38c8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250177792001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321721500333768704,"note":"Value kept but may cause issues"} 
[2026-06-23 20:41:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583226344696053760,"note":"Value kept but may cause issues"} 
[2026-06-23 20:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782227278000,"timestamp_ms":1782227278000,"timestamp_seconds":1782227278,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50618b0"} 
[2026-06-23 20:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250177792001,"66":26723,"165":206,"2":54272,"24":20,"16":321721500333768704,"44":-1583226344696053760},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-23 20:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250177792001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:41:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 20:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321721500333768704,"km_value":321721500333768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:41:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583226344696053760,"description":"Unknown IO ID 44"} 
[2026-06-23 20:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250177792001,"power":26723,"unknown_165":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1583226344696053760}} 
[2026-06-23 20:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":111185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:41:03] local.INFO: GPS data processed {"connection_id":111185,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:41:03] local.INFO: Acknowledgment sent {"connection_id":111185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:41:28] local.INFO: TCP Data received {"connection_id":112926,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5078bc8012d196580071feec80042006c2a..."} 
[2026-06-23 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5078bc8012d196580071feec80042006c2a..."} 
[2026-06-23 20:41:28] local.INFO: Processing buffer {"connection_id":112926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5078bc8012d196580071feec80042006c2a..."} 
[2026-06-23 20:41:28] local.INFO: Packet analysis {"connection_id":112926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef507"} 
[2026-06-23 20:41:28] local.INFO: Extracted packet for processing {"connection_id":112926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef507"} 
[2026-06-23 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250202112001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227373000,"timestamp_ms":1782227373000,"timestamp_seconds":1782227373,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5078bc8"} 
[2026-06-23 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-06-23 20:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:41:28] 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-06-23 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-06-23 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-06-23 20:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250202112001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250202112001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250202112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":112926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:41:28] local.INFO: GPS data processed {"connection_id":112926,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:41:28] local.INFO: Acknowledgment sent {"connection_id":112926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:41:56] local.INFO: TCP Data received {"connection_id":111186,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:41:56] local.INFO: Processing buffer {"connection_id":111186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:41:56] local.INFO: IMEI packet received {"connection_id":111186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":111186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:41:56] local.INFO: TCP Data received {"connection_id":111186,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:41:56] local.INFO: Processing buffer {"connection_id":111186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:41:56] local.INFO: IMEI packet received {"connection_id":111186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":111186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:41:58] local.INFO: TCP Data received {"connection_id":112927,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:41:58] local.INFO: Processing buffer {"connection_id":112927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:41:58] local.INFO: IMEI packet received {"connection_id":112927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":112927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:42:02] local.INFO: TCP Data received {"connection_id":111186,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:02] local.INFO: Processing buffer {"connection_id":111186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:02] local.INFO: IMEI packet received {"connection_id":111186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":111186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:42:02] local.INFO: TCP Data received {"connection_id":111186,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef507ddd0012d196580071feec80042006c29..."} 
[2026-06-23 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef507ddd0012d196580071feec80042006c29..."} 
[2026-06-23 20:42:02] local.INFO: Processing buffer {"connection_id":111186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef507ddd0012d196580071feec80042006c29..."} 
[2026-06-23 20:42:02] local.INFO: Packet analysis {"connection_id":111186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef507"} 
[2026-06-23 20:42:02] local.INFO: Extracted packet for processing {"connection_id":111186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef507"} 
[2026-06-23 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250207488001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782227394000,"timestamp_ms":1782227394000,"timestamp_seconds":1782227394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef507ddd0"} 
[2026-06-23 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-06-23 20:42: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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:42: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-06-23 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-06-23 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-06-23 20:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250207488001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250207488001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:42:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250207488001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":111186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:42:03] local.INFO: GPS data processed {"connection_id":111186,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:42:03] local.INFO: Acknowledgment sent {"connection_id":111186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:42:03] local.INFO: TCP Data received {"connection_id":112927,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:03] local.INFO: Processing buffer {"connection_id":112927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:03] local.INFO: IMEI packet received {"connection_id":112927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":112927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:42:04] local.INFO: TCP Data received {"connection_id":112927,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef508cc18012cea0c40071bdb50001000a332..."} 
[2026-06-23 20:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef508cc18012cea0c40071bdb50001000a332..."} 
[2026-06-23 20:42:04] local.INFO: Processing buffer {"connection_id":112927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef508cc18012cea0c40071bdb50001000a332..."} 
[2026-06-23 20:42:04] local.INFO: Packet analysis {"connection_id":112927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:04] local.INFO: Extracted packet for processing {"connection_id":112927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":753536064,"raw_latitude":119266128,"longitude_deg":75.3536064,"latitude_deg":11.9266128,"altitude":16,"angle":163,"satellites":50,"speed":21,"hex_longitude":"2cea0c40","hex_latitude":"071bdb50","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250228480001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321725898380279808,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581818969837580288,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782227455000,"timestamp_ms":1782227455000,"timestamp_seconds":1782227455,"priority":1,"record_length":96,"hex_timestamp":"0000019ef508cc18"} 
[2026-06-23 20:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250228480001,"66":27397,"162":206,"2":54272,"24":21,"16":321725898380279808,"44":-1581818969837580288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-23 20:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250228480001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:42:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-23 20:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321725898380279808,"km_value":321725898380279.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581818969837580288,"description":"Unknown IO ID 44"} 
[2026-06-23 20:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250228480001,"power":27397,"unknown_162":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1581818969837580288}} 
[2026-06-23 20:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":112927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:42:04] local.INFO: GPS data processed {"connection_id":112927,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:42:04] local.INFO: Acknowledgment sent {"connection_id":112927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:42:07] local.INFO: TCP Data received {"connection_id":111186,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5082fd8012d196580071feec80042006c29..."} 
[2026-06-23 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5082fd8012d196580071feec80042006c29..."} 
[2026-06-23 20:42:07] local.INFO: Processing buffer {"connection_id":111186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5082fd8012d196580071feec80042006c29..."} 
[2026-06-23 20:42:07] local.INFO: Packet analysis {"connection_id":111186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:07] local.INFO: Extracted packet for processing {"connection_id":111186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250212864001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782227415000,"timestamp_ms":1782227415000,"timestamp_seconds":1782227415,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5082fd8"} 
[2026-06-23 20:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:42: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-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:42:07] 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-06-23 20: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-06-23 20:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250212864001,"66":12004,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250212864001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:42:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250212864001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":111186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:42:07] local.INFO: GPS data processed {"connection_id":111186,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:42:07] local.INFO: Acknowledgment sent {"connection_id":111186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:42:28] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:28] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:28] local.INFO: IMEI packet received {"connection_id":111187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":111187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:42:31] local.INFO: TCP Data received {"connection_id":111363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:42:31] local.INFO: Processing buffer {"connection_id":111363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:42:31] local.INFO: IMEI packet received {"connection_id":111363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":111363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:42:33] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:33] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:42:33] local.INFO: IMEI packet received {"connection_id":111187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":111187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:42:35] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef508faf8012cea1840071bb8d8000f00a22f..."} 
[2026-06-23 20:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef508faf8012cea1840071bb8d8000f00a22f..."} 
[2026-06-23 20:42:35] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef508faf8012cea1840071bb8d8000f00a22f..."} 
[2026-06-23 20:42:35] local.INFO: Packet analysis {"connection_id":111187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:35] local.INFO: Extracted packet for processing {"connection_id":111187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:35] local.INFO: GPS Element Parsed {"raw_longitude":753539136,"raw_latitude":119257304,"longitude_deg":75.3539136,"latitude_deg":11.9257304,"altitude":15,"angle":162,"satellites":47,"speed":38,"hex_longitude":"2cea1840","hex_latitude":"071bb8d8","is_valid_coordinates":true} 
[2026-06-23 20:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250228480001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321726349351845888,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581818969837580288,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782227467000,"timestamp_ms":1782227467000,"timestamp_seconds":1782227467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef508faf8"} 
[2026-06-23 20:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:42: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-06-23 20:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250228480001,"66":27365,"162":206,"2":54272,"24":38,"16":321726349351845888,"44":-1581818969837580288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-23 20:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250228480001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:42:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-23 20:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321726349351845888,"km_value":321726349351845.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581818969837580288,"description":"Unknown IO ID 44"} 
[2026-06-23 20:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250228480001,"power":27365,"unknown_162":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1581818969837580288}} 
[2026-06-23 20:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":111187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":372999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:42:35] local.INFO: GPS data processed {"connection_id":111187,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:42:35] local.INFO: Acknowledgment sent {"connection_id":111187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:42:52] local.INFO: TCP Data received {"connection_id":111992,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:52] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:52] local.INFO: IMEI packet received {"connection_id":111992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":111992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:42:57] local.INFO: TCP Data received {"connection_id":111992,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:57] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:42:57] local.INFO: IMEI packet received {"connection_id":111992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":111992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:42:58] local.INFO: TCP Data received {"connection_id":111992,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50881e0012d196580071feec80042006c29..."} 
[2026-06-23 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50881e0012d196580071feec80042006c29..."} 
[2026-06-23 20:42:58] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50881e0012d196580071feec80042006c29..."} 
[2026-06-23 20:42:58] local.INFO: Packet analysis {"connection_id":111992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:58] local.INFO: Extracted packet for processing {"connection_id":111992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250218240001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42: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-06-23 20:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227436000,"timestamp_ms":1782227436000,"timestamp_seconds":1782227436,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50881e0"} 
[2026-06-23 20:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:42: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-06-23 20:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 20:42:58] 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-06-23 20:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250218240001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250218240001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:42:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250218240001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":111992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:42:58] local.INFO: GPS data processed {"connection_id":111992,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:42:58] local.INFO: Acknowledgment sent {"connection_id":111992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:42:59] local.INFO: TCP Data received {"connection_id":111992,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef508d3e8012d196580071feec80042006c27..."} 
[2026-06-23 20:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef508d3e8012d196580071feec80042006c27..."} 
[2026-06-23 20:42:59] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef508d3e8012d196580071feec80042006c27..."} 
[2026-06-23 20:42:59] local.INFO: Packet analysis {"connection_id":111992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:59] local.INFO: Extracted packet for processing {"connection_id":111992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef508"} 
[2026-06-23 20:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250223616001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20: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-06-23 20:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782227457000,"timestamp_ms":1782227457000,"timestamp_seconds":1782227457,"priority":1,"record_length":96,"hex_timestamp":"0000019ef508d3e8"} 
[2026-06-23 20:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:42: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-790870295703643803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:42:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:42:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,47,45,128,238,66,41,10,221,139,1,240,255,227,245,31,4,113,205,231,101,200,42,239,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:42:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250223616001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250223616001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:42:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250223616001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":111992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:42:59] local.INFO: GPS data processed {"connection_id":111992,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:42:59] local.INFO: Acknowledgment sent {"connection_id":111992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:43:06] local.INFO: TCP Data received {"connection_id":111993,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:43:06] local.INFO: Processing buffer {"connection_id":111993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:43:06] local.INFO: IMEI packet received {"connection_id":111993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":111993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:43:07] local.INFO: TCP Data received {"connection_id":111187,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50925f0012cea24c0071b95d8000d00a22c..."} 
[2026-06-23 20:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50925f0012cea24c0071b95d8000d00a22c..."} 
[2026-06-23 20:43:07] local.INFO: Processing buffer {"connection_id":111187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50925f0012cea24c0071b95d8000d00a22c..."} 
[2026-06-23 20:43:07] local.INFO: Packet analysis {"connection_id":111187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:07] local.INFO: Extracted packet for processing {"connection_id":111187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:07] local.INFO: GPS Element Parsed {"raw_longitude":753542336,"raw_latitude":119248344,"longitude_deg":75.3542336,"latitude_deg":11.9248344,"altitude":13,"angle":162,"satellites":44,"speed":30,"hex_longitude":"2cea24c0","hex_latitude":"071b95d8","is_valid_coordinates":true} 
[2026-06-23 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250231552001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321726808913346560,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578441270119311360,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782227478000,"timestamp_ms":1782227478000,"timestamp_seconds":1782227478,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50925f0"} 
[2026-06-23 20:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:43: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-06-23 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 20:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250231552001,"66":27321,"175":206,"2":54272,"24":30,"16":321726808913346560,"44":-1578441270119311360},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-06-23 20:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250231552001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-23 20:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321726808913346560,"km_value":321726808913346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578441270119311360,"description":"Unknown IO ID 44"} 
[2026-06-23 20:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250231552001,"power":27321,"unknown_175":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1578441270119311360}} 
[2026-06-23 20:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":111187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:43:07] local.INFO: GPS data processed {"connection_id":111187,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:43:07] local.INFO: Acknowledgment sent {"connection_id":111187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:43:28] local.INFO: TCP Data received {"connection_id":111994,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:28] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:28] local.INFO: IMEI packet received {"connection_id":111994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":111994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:43:29] local.INFO: TCP Data received {"connection_id":111994,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:29] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:29] local.INFO: IMEI packet received {"connection_id":111994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":111994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:43:30] local.INFO: TCP Data received {"connection_id":111992,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50925f0012d196580071feec80042006c28..."} 
[2026-06-23 20:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50925f0012d196580071feec80042006c28..."} 
[2026-06-23 20:43:30] local.INFO: Processing buffer {"connection_id":111992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50925f0012d196580071feec80042006c28..."} 
[2026-06-23 20:43:30] local.INFO: Packet analysis {"connection_id":111992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:30] local.INFO: Extracted packet for processing {"connection_id":111992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250228992001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20: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-06-23 20:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227478000,"timestamp_ms":1782227478000,"timestamp_seconds":1782227478,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50925f0"} 
[2026-06-23 20:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:43: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-790780101390427803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3409507275384422606,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:43:30] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,129,45,128,238,66,41,10,47,221,1,240,255,227,245,31,4,113,205,57,101,200,40,239,2,13,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:43:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250228992001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250228992001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:43:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250228992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":111992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:43:31] local.INFO: GPS data processed {"connection_id":111992,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:43:31] local.INFO: Acknowledgment sent {"connection_id":111992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:43:33] local.INFO: TCP Data received {"connection_id":111994,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:33] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:43:33] local.INFO: IMEI packet received {"connection_id":111994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":111994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:43:36] local.INFO: TCP Data received {"connection_id":111994,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50954d0012cea3100071b7450000b009f2f..."} 
[2026-06-23 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50954d0012cea3100071b7450000b009f2f..."} 
[2026-06-23 20:43:36] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50954d0012cea3100071b7450000b009f2f..."} 
[2026-06-23 20:43:36] local.INFO: Packet analysis {"connection_id":111994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:36] local.INFO: Extracted packet for processing {"connection_id":111994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:36] local.INFO: GPS Element Parsed {"raw_longitude":753545472,"raw_latitude":119239760,"longitude_deg":75.3545472,"latitude_deg":11.923976,"altitude":11,"angle":159,"satellites":47,"speed":26,"hex_longitude":"2cea3100","hex_latitude":"071b7450","is_valid_coordinates":true} 
[2026-06-23 20:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250234368001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321727251294978048,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574922832912721920,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782227490000,"timestamp_ms":1782227490000,"timestamp_seconds":1782227490,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50954d0"} 
[2026-06-23 20:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:43:36] 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-06-23 20:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250234368001,"66":27343,"175":206,"2":54272,"24":26,"16":321727251294978048,"44":-1574922832912721920},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-06-23 20:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250234368001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:43:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-23 20:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321727251294978048,"km_value":321727251294978.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574922832912721920,"description":"Unknown IO ID 44"} 
[2026-06-23 20:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250234368001,"power":27343,"unknown_175":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1574922832912721920}} 
[2026-06-23 20:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":111994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:43:36] local.INFO: GPS data processed {"connection_id":111994,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:43:36] local.INFO: Acknowledgment sent {"connection_id":111994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:43:39] local.INFO: TCP Data received {"connection_id":111994,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5098b80012cea3a80071b51a8000c00a233..."} 
[2026-06-23 20:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5098b80012cea3a80071b51a8000c00a233..."} 
[2026-06-23 20:43:39] local.INFO: Processing buffer {"connection_id":111994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5098b80012cea3a80071b51a8000c00a233..."} 
[2026-06-23 20:43:39] local.INFO: Packet analysis {"connection_id":111994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:39] local.INFO: Extracted packet for processing {"connection_id":111994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":753547904,"raw_latitude":119230888,"longitude_deg":75.3547904,"latitude_deg":11.9230888,"altitude":12,"angle":162,"satellites":51,"speed":28,"hex_longitude":"2cea3a80","hex_latitude":"071b51a8","is_valid_coordinates":true} 
[2026-06-23 20:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250237440001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321727697971576832,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571474764450213888,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782227504000,"timestamp_ms":1782227504000,"timestamp_seconds":1782227504,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5098b80"} 
[2026-06-23 20:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:43: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-06-23 20:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:43:39] 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-06-23 20:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250237440001,"66":27321,"175":206,"2":54272,"24":28,"16":321727697971576832,"44":-1571474764450213888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,2,24,16,44]} 
[2026-06-23 20:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250237440001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:43:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-23 20:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321727697971576832,"km_value":321727697971576.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571474764450213888,"description":"Unknown IO ID 44"} 
[2026-06-23 20:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250237440001,"power":27321,"unknown_175":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1571474764450213888}} 
[2026-06-23 20:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":111994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:43:39] local.INFO: GPS data processed {"connection_id":111994,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:43:39] local.INFO: Acknowledgment sent {"connection_id":111994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:43:52] local.INFO: TCP Data received {"connection_id":111364,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:43:52] local.INFO: Processing buffer {"connection_id":111364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:43:52] local.INFO: IMEI packet received {"connection_id":111364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":111364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:43:57] local.INFO: TCP Data received {"connection_id":111364,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:43:57] local.INFO: Processing buffer {"connection_id":111364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:43:57] local.INFO: IMEI packet received {"connection_id":111364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":111364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:43:58] local.INFO: TCP Data received {"connection_id":111364,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50977f8012d196580071feec80042006c29..."} 
[2026-06-23 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50977f8012d196580071feec80042006c29..."} 
[2026-06-23 20:43:58] local.INFO: Processing buffer {"connection_id":111364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50977f8012d196580071feec80042006c29..."} 
[2026-06-23 20:43:58] local.INFO: Packet analysis {"connection_id":111364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:58] local.INFO: Extracted packet for processing {"connection_id":111364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250234368001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:43: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-06-23 20:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227499000,"timestamp_ms":1782227499000,"timestamp_seconds":1782227499,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50977f8"} 
[2026-06-23 20:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:43: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-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:43: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-06-23 20: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-06-23 20:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250234368001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250234368001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:43:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250234368001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":111364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:43:58] local.INFO: GPS data processed {"connection_id":111364,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:43:58] local.INFO: Acknowledgment sent {"connection_id":111364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:44:23] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:23] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:23] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:44:24] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:24] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:24] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:44:28] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:28] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:44:28] local.INFO: IMEI packet received {"connection_id":111188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":111188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:44:28] local.INFO: TCP Data received {"connection_id":111364,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef509ca00012d196580071feec80042006c2a..."} 
[2026-06-23 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef509ca00012d196580071feec80042006c2a..."} 
[2026-06-23 20:44:28] local.INFO: Processing buffer {"connection_id":111364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef509ca00012d196580071feec80042006c2a..."} 
[2026-06-23 20:44:28] local.INFO: Packet analysis {"connection_id":111364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:44:28] local.INFO: Extracted packet for processing {"connection_id":111364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250239744001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227520000,"timestamp_ms":1782227520000,"timestamp_seconds":1782227520,"priority":1,"record_length":96,"hex_timestamp":"0000019ef509ca00"} 
[2026-06-23 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-790599712763995803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,37,45,128,238,66,40,10,211,39,129,1,240,227,245,31,4,113,205,221,101,200,41,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250239744001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250239744001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250239744001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":111364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:44:29] local.INFO: GPS data processed {"connection_id":111364,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:44:29] local.INFO: Acknowledgment sent {"connection_id":111364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:44:29] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef509b678012cea4480071b2e90000b00a032..."} 
[2026-06-23 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef509b678012cea4480071b2e90000b00a032..."} 
[2026-06-23 20:44:29] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef509b678012cea4480071b2e90000b00a032..."} 
[2026-06-23 20:44:29] local.INFO: Packet analysis {"connection_id":111188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:44:29] local.INFO: Extracted packet for processing {"connection_id":111188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:44:29] local.INFO: GPS Element Parsed {"raw_longitude":753550464,"raw_latitude":119221904,"longitude_deg":75.3550464,"latitude_deg":11.9221904,"altitude":11,"angle":160,"satellites":50,"speed":38,"hex_longitude":"2cea4480","hex_latitude":"071b2e90","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250241024001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321728148943142912,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568800752173733888,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782227515000,"timestamp_ms":1782227515000,"timestamp_seconds":1782227515,"priority":1,"record_length":96,"hex_timestamp":"0000019ef509b678"} 
[2026-06-23 20:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:44:29] 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-06-23 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 20:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250241024001,"66":27343,"10":206,"2":54272,"24":38,"16":321728148943142912,"44":-1568800752173733888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-23 20:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250241024001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:44:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 20:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321728148943142912,"km_value":321728148943142.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568800752173733888,"description":"Unknown IO ID 44"} 
[2026-06-23 20:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250241024001,"power":27343,"unknown_10":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1568800752173733888}} 
[2026-06-23 20:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":111188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:44:29] local.INFO: GPS data processed {"connection_id":111188,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:44:29] local.INFO: Acknowledgment sent {"connection_id":111188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:44:52] local.INFO: TCP Data received {"connection_id":111996,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:44:52] local.INFO: Processing buffer {"connection_id":111996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:44:52] local.INFO: IMEI packet received {"connection_id":111996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":111996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:44:57] local.INFO: TCP Data received {"connection_id":111996,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:44:57] local.INFO: Processing buffer {"connection_id":111996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:44:57] local.INFO: IMEI packet received {"connection_id":111996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":111996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:44:58] local.INFO: TCP Data received {"connection_id":111996,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50a1c08012d196580071feec80042006c29..."} 
[2026-06-23 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50a1c08012d196580071feec80042006c29..."} 
[2026-06-23 20:44:58] local.INFO: Processing buffer {"connection_id":111996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50a1c08012d196580071feec80042006c29..."} 
[2026-06-23 20:44:58] local.INFO: Packet analysis {"connection_id":111996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:44:58] local.INFO: Extracted packet for processing {"connection_id":111996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250245120001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20: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-06-23 20:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227541000,"timestamp_ms":1782227541000,"timestamp_seconds":1782227541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50a1c08"} 
[2026-06-23 20:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:44: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-790509518450779803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:44:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,119,45,128,238,66,41,10,37,40,211,1,240,227,245,31,4,113,205,47,101,200,239,46,2,13,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:44:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250245120001,"66":12232,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250245120001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:44:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250245120001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":111996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:44:58] local.INFO: GPS data processed {"connection_id":111996,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:44:58] local.INFO: Acknowledgment sent {"connection_id":111996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:45:01] local.INFO: TCP Data received {"connection_id":111188,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef509dd88012cea4f00071b0a38000d00a333..."} 
[2026-06-23 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef509dd88012cea4f00071b0a38000d00a333..."} 
[2026-06-23 20:45:01] local.INFO: Processing buffer {"connection_id":111188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef509dd88012cea4f00071b0a38000d00a333..."} 
[2026-06-23 20:45:01] local.INFO: Packet analysis {"connection_id":111188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:45:01] local.INFO: Extracted packet for processing {"connection_id":111188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef509"} 
[2026-06-23 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":753553152,"raw_latitude":119212600,"longitude_deg":75.3553152,"latitude_deg":11.92126,"altitude":13,"angle":163,"satellites":51,"speed":39,"hex_longitude":"2cea4f00","hex_latitude":"071b0a38","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250243840001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321728621389545472,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1565986002408927232,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782227525000,"timestamp_ms":1782227525000,"timestamp_seconds":1782227525,"priority":1,"record_length":96,"hex_timestamp":"0000019ef509dd88"} 
[2026-06-23 20:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250243840001,"66":26876,"10":206,"2":54272,"24":39,"16":321728621389545472,"44":-1565986002408927232},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-23 20:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250243840001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 20:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321728621389545472,"km_value":321728621389545.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1565986002408927232,"description":"Unknown IO ID 44"} 
[2026-06-23 20:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250243840001,"power":26876,"unknown_10":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1565986002408927232}} 
[2026-06-23 20:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":111188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:45:01] local.INFO: GPS data processed {"connection_id":111188,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:45:01] local.INFO: Acknowledgment sent {"connection_id":111188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:45:23] local.INFO: TCP Data received {"connection_id":111998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:45:23] local.INFO: Processing buffer {"connection_id":111998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:45:23] local.INFO: IMEI packet received {"connection_id":111998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":111998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:45:28] local.INFO: TCP Data received {"connection_id":111998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:45:28] local.INFO: Processing buffer {"connection_id":111998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:45:28] local.INFO: IMEI packet received {"connection_id":111998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":111998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:45:29] local.INFO: TCP Data received {"connection_id":111996,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50a6e10012d196580071feec80042006c29..."} 
[2026-06-23 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50a6e10012d196580071feec80042006c29..."} 
[2026-06-23 20:45:29] local.INFO: Processing buffer {"connection_id":111996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50a6e10012d196580071feec80042006c29..."} 
[2026-06-23 20:45:29] local.INFO: Packet analysis {"connection_id":111996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:45:29] local.INFO: Extracted packet for processing {"connection_id":111996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250250496001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782227562000,"timestamp_ms":1782227562000,"timestamp_seconds":1782227562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50a6e10"} 
[2026-06-23 20:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:45: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-06-23 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 20:45:29] 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-06-23 20: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-06-23 20:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250250496001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250250496001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:45:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250250496001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":111996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:45:29] local.INFO: GPS data processed {"connection_id":111996,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:45:29] local.INFO: Acknowledgment sent {"connection_id":111996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:45:30] local.INFO: TCP Data received {"connection_id":111998,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50a0498012cea59c0071ae840000d00a32f..."} 
[2026-06-23 20:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50a0498012cea59c0071ae840000d00a32f..."} 
[2026-06-23 20:45:30] local.INFO: Processing buffer {"connection_id":111998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50a0498012cea59c0071ae840000d00a32f..."} 
[2026-06-23 20:45:30] local.INFO: Packet analysis {"connection_id":111998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:45:30] local.INFO: Extracted packet for processing {"connection_id":111998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":753555904,"raw_latitude":119203904,"longitude_deg":75.3555904,"latitude_deg":11.9203904,"altitude":13,"angle":163,"satellites":47,"speed":23,"hex_longitude":"2cea59c0","hex_latitude":"071ae840","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250246400001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321729059476209664,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563030515155847168,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227535000,"timestamp_ms":1782227535000,"timestamp_seconds":1782227535,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50a0498"} 
[2026-06-23 20:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:45:30] 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-06-23 20: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 20:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250246400001,"66":27397,"10":206,"2":54272,"24":23,"16":321729059476209664,"44":-1563030515155847168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-23 20:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250246400001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:45:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 20:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321729059476209664,"km_value":321729059476209.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563030515155847168,"description":"Unknown IO ID 44"} 
[2026-06-23 20:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250246400001,"power":27397,"unknown_10":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1563030515155847168}} 
[2026-06-23 20:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":111998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:45:30] local.INFO: GPS data processed {"connection_id":111998,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:45:30] local.INFO: Acknowledgment sent {"connection_id":111998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:45:52] local.INFO: TCP Data received {"connection_id":111999,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:45:52] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:45:52] local.INFO: IMEI packet received {"connection_id":111999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":111999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:45:57] local.INFO: TCP Data received {"connection_id":111999,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:45:57] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:45:57] local.INFO: IMEI packet received {"connection_id":111999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":111999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:45:58] local.INFO: TCP Data received {"connection_id":111999,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50ac018012d196580071feec80042006c29..."} 
[2026-06-23 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50ac018012d196580071feec80042006c29..."} 
[2026-06-23 20:45:58] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50ac018012d196580071feec80042006c29..."} 
[2026-06-23 20:45:58] local.INFO: Packet analysis {"connection_id":111999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:45:58] local.INFO: Extracted packet for processing {"connection_id":111999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50a"} 
[2026-06-23 20:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250255872001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:45: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-06-23 20:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227583000,"timestamp_ms":1782227583000,"timestamp_seconds":1782227583,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50ac018"} 
[2026-06-23 20:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:45: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-06-23 20:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250255872001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250255872001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:45:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250255872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":111999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:45:58] local.INFO: GPS data processed {"connection_id":111999,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:45:58] local.INFO: Acknowledgment sent {"connection_id":111999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:46:01] local.INFO: TCP Data received {"connection_id":111998,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50cc7a0012ceb6d80071a0d48001d008431..."} 
[2026-06-23 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50cc7a0012ceb6d80071a0d48001d008431..."} 
[2026-06-23 20:46:01] local.INFO: Processing buffer {"connection_id":111998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50cc7a0012ceb6d80071a0d48001d008431..."} 
[2026-06-23 20:46:01] local.INFO: Packet analysis {"connection_id":111998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:46:01] local.INFO: Extracted packet for processing {"connection_id":111998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":753626496,"raw_latitude":119147848,"longitude_deg":75.3626496,"latitude_deg":11.9147848,"altitude":29,"angle":132,"satellites":49,"speed":24,"hex_longitude":"2ceb6d80","hex_latitude":"071a0d48","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250293760001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321733650796249088,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486187846529839104,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782227716000,"timestamp_ms":1782227716000,"timestamp_seconds":1782227716,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50cc7a0"} 
[2026-06-23 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:46:01] 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-06-23 20: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 20:46:01] 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-06-23 20: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-06-23 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250293760001,"66":27593,"162":206,"2":54272,"24":24,"16":321733650796249088,"44":-1486187846529839104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-23 20:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250293760001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-23 20:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321733650796249088,"km_value":321733650796249.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486187846529839104,"description":"Unknown IO ID 44"} 
[2026-06-23 20:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250293760001,"power":27593,"unknown_162":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1486187846529839104}} 
[2026-06-23 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":111998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:46:01] local.INFO: GPS data processed {"connection_id":111998,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:46:01] local.INFO: Acknowledgment sent {"connection_id":111998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:46:23] local.INFO: TCP Data received {"connection_id":112928,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:46:23] local.INFO: Processing buffer {"connection_id":112928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:46:23] local.INFO: IMEI packet received {"connection_id":112928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":112928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:46:28] local.INFO: TCP Data received {"connection_id":112928,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:46:28] local.INFO: Processing buffer {"connection_id":112928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:46:28] local.INFO: IMEI packet received {"connection_id":112928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":112928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:46:28] local.INFO: TCP Data received {"connection_id":111999,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50b1220012d196580071feec80042006c28..."} 
[2026-06-23 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50b1220012d196580071feec80042006c28..."} 
[2026-06-23 20:46:28] local.INFO: Processing buffer {"connection_id":111999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50b1220012d196580071feec80042006c28..."} 
[2026-06-23 20:46:28] local.INFO: Packet analysis {"connection_id":111999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50b"} 
[2026-06-23 20:46:28] local.INFO: Extracted packet for processing {"connection_id":111999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50b"} 
[2026-06-23 20:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250261248001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227604000,"timestamp_ms":1782227604000,"timestamp_seconds":1782227604,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50b1220"} 
[2026-06-23 20:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:46:28] 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-06-23 20: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-06-23 20:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250261248001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250261248001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250261248001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":111999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:46:28] local.INFO: GPS data processed {"connection_id":111999,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:46:28] local.INFO: Acknowledgment sent {"connection_id":111999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:46:31] local.INFO: TCP Data received {"connection_id":112928,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50ccf70012ceb7080071a09a0001c009030..."} 
[2026-06-23 20:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50ccf70012ceb7080071a09a0001c009030..."} 
[2026-06-23 20:46:31] local.INFO: Processing buffer {"connection_id":112928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50ccf70012ceb7080071a09a0001c009030..."} 
[2026-06-23 20:46:31] local.INFO: Packet analysis {"connection_id":112928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:46:31] local.INFO: Extracted packet for processing {"connection_id":112928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:46:31] local.INFO: GPS Element Parsed {"raw_longitude":753627264,"raw_latitude":119146912,"longitude_deg":75.3627264,"latitude_deg":11.9146912,"altitude":28,"angle":144,"satellites":48,"speed":25,"hex_longitude":"2ceb7080","hex_latitude":"071a09a0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250295296001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321733706630823936,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482387934344820736,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782227718000,"timestamp_ms":1782227718000,"timestamp_seconds":1782227718,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50ccf70"} 
[2026-06-23 20:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:46:31] 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-06-23 20: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 20:46:31] 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-06-23 20: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-06-23 20:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250295296001,"66":27180,"162":206,"2":54272,"24":25,"16":321733706630823936,"44":-1482387934344820736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-23 20:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250295296001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:46:31] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-23 20:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321733706630823936,"km_value":321733706630823.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482387934344820736,"description":"Unknown IO ID 44"} 
[2026-06-23 20:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250295296001,"power":27180,"unknown_162":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1482387934344820736}} 
[2026-06-23 20:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":112928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:46:31] local.INFO: GPS data processed {"connection_id":112928,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:46:31] local.INFO: Acknowledgment sent {"connection_id":112928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:46:49] local.INFO: TCP Data received {"connection_id":112929,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:49] local.INFO: Processing buffer {"connection_id":112929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:49] local.INFO: IMEI packet received {"connection_id":112929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":112929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:46:52] local.INFO: TCP Data received {"connection_id":112929,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:52] local.INFO: Processing buffer {"connection_id":112929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:52] local.INFO: IMEI packet received {"connection_id":112929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":112929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:46:57] local.INFO: TCP Data received {"connection_id":112929,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:57] local.INFO: Processing buffer {"connection_id":112929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:46:57] local.INFO: IMEI packet received {"connection_id":112929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":112929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:46:58] local.INFO: TCP Data received {"connection_id":112929,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50b6428012d196580071feec80042006c27..."} 
[2026-06-23 20:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50b6428012d196580071feec80042006c27..."} 
[2026-06-23 20:46:58] local.INFO: Processing buffer {"connection_id":112929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50b6428012d196580071feec80042006c27..."} 
[2026-06-23 20:46:58] local.INFO: Packet analysis {"connection_id":112929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50b"} 
[2026-06-23 20:46:58] local.INFO: Extracted packet for processing {"connection_id":112929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50b"} 
[2026-06-23 20:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250266624001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46: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-06-23 20:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227625000,"timestamp_ms":1782227625000,"timestamp_seconds":1782227625,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50b6428"} 
[2026-06-23 20:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-790148741197915803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":119,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:46:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,192,45,128,238,66,41,10,110,28,1,240,200,227,245,31,4,113,205,119,101,239,48,2,13,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":200,"original":4325484,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 20:46:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250266624001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250266624001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:46:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250266624001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":112929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:46:58] local.INFO: GPS data processed {"connection_id":112929,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:46:58] local.INFO: Acknowledgment sent {"connection_id":112929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:47:03] local.INFO: TCP Data received {"connection_id":112928,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50cdf10012ceb7580071a0050001b009f2e..."} 
[2026-06-23 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50cdf10012ceb7580071a0050001b009f2e..."} 
[2026-06-23 20:47:03] local.INFO: Processing buffer {"connection_id":112928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50cdf10012ceb7580071a0050001b009f2e..."} 
[2026-06-23 20:47:03] local.INFO: Packet analysis {"connection_id":112928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:47:03] local.INFO: Extracted packet for processing {"connection_id":112928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:47:03] local.INFO: GPS Element Parsed {"raw_longitude":753628544,"raw_latitude":119144528,"longitude_deg":75.3628544,"latitude_deg":11.9144528,"altitude":27,"angle":159,"satellites":46,"speed":25,"hex_longitude":"2ceb7580","hex_latitude":"071a0050","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250295808001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321733839774810112,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481543509414928384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782227722000,"timestamp_ms":1782227722000,"timestamp_seconds":1782227722,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50cdf10"} 
[2026-06-23 20:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:47:03] 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-06-23 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 20:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250295808001,"66":27463,"162":206,"2":54272,"24":25,"16":321733839774810112,"44":-1481543509414928384},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-23 20:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250295808001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:47:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-23 20:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321733839774810112,"km_value":321733839774810.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481543509414928384,"description":"Unknown IO ID 44"} 
[2026-06-23 20:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250295808001,"power":27463,"unknown_162":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1481543509414928384}} 
[2026-06-23 20:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":112928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:47:03] local.INFO: GPS data processed {"connection_id":112928,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:47:03] local.INFO: Acknowledgment sent {"connection_id":112928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:47:24] local.INFO: TCP Data received {"connection_id":111366,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:47:24] local.INFO: Processing buffer {"connection_id":111366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:47:24] local.INFO: IMEI packet received {"connection_id":111366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":111366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:47:27] local.INFO: TCP Data received {"connection_id":111366,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:47:27] local.INFO: Processing buffer {"connection_id":111366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:47:27] local.INFO: IMEI packet received {"connection_id":111366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":111366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:47:28] local.INFO: TCP Data received {"connection_id":112929,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50bb630012d196580071feec80042006c28..."} 
[2026-06-23 20:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50bb630012d196580071feec80042006c28..."} 
[2026-06-23 20:47:28] local.INFO: Processing buffer {"connection_id":112929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50bb630012d196580071feec80042006c28..."} 
[2026-06-23 20:47:28] local.INFO: Packet analysis {"connection_id":112929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50b"} 
[2026-06-23 20:47:28] local.INFO: Extracted packet for processing {"connection_id":112929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50b"} 
[2026-06-23 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250272000001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227646000,"timestamp_ms":1782227646000,"timestamp_seconds":1782227646,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50bb630"} 
[2026-06-23 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-06-23 20:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-790058546884699803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:47:28] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":77081,"corrected_to":0} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:47:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,18,45,128,238,66,40,10,192,41,110,1,240,31,227,245,4,113,205,202,101,200,42,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":202,"original":77081,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:47:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250272000001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250272000001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250272000001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":112929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:47:28] local.INFO: GPS data processed {"connection_id":112929,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:47:28] local.INFO: Acknowledgment sent {"connection_id":112929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:47:30] local.INFO: TCP Data received {"connection_id":111366,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50d3118012ceb7c400719eea80019009f33..."} 
[2026-06-23 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50d3118012ceb7c400719eea80019009f33..."} 
[2026-06-23 20:47:30] local.INFO: Processing buffer {"connection_id":111366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50d3118012ceb7c400719eea80019009f33..."} 
[2026-06-23 20:47:30] local.INFO: Packet analysis {"connection_id":111366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:47:30] local.INFO: Extracted packet for processing {"connection_id":111366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":753630272,"raw_latitude":119140008,"longitude_deg":75.3630272,"latitude_deg":11.9140008,"altitude":25,"angle":159,"satellites":51,"speed":2,"hex_longitude":"2ceb7c40","hex_latitude":"0719eea8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250296832001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321734080292978688,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480136134531985408,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227743000,"timestamp_ms":1782227743000,"timestamp_seconds":1782227743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50d3118"} 
[2026-06-23 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-06-23 20:47:30] 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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 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-06-23 20:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250296832001,"66":27463,"162":206,"2":54272,"24":2,"16":321734080292978688,"44":-1480136134531985408},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-23 20:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250296832001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:47:30] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-23 20:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321734080292978688,"km_value":321734080292978.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480136134531985408,"description":"Unknown IO ID 44"} 
[2026-06-23 20:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250296832001,"power":27463,"unknown_162":206,"power_alt":54272,"ignition":2,"odometer":null,"unknown_44":-1480136134531985408}} 
[2026-06-23 20:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":111366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:47:30] local.INFO: GPS data processed {"connection_id":111366,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:47:30] local.INFO: Acknowledgment sent {"connection_id":111366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:47:52] local.INFO: TCP Data received {"connection_id":112000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:52] local.INFO: Processing buffer {"connection_id":112000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:52] local.INFO: IMEI packet received {"connection_id":112000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":112000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:47:53] local.INFO: TCP Data received {"connection_id":112000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:53] local.INFO: Processing buffer {"connection_id":112000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:53] local.INFO: IMEI packet received {"connection_id":112000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":112000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:47:57] local.INFO: TCP Data received {"connection_id":112000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:57] local.INFO: Processing buffer {"connection_id":112000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:47:57] local.INFO: IMEI packet received {"connection_id":112000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":112000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:47:58] local.INFO: TCP Data received {"connection_id":112000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50c0838012d196580071feec80042006c29..."} 
[2026-06-23 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50c0838012d196580071feec80042006c29..."} 
[2026-06-23 20:47:58] local.INFO: Processing buffer {"connection_id":112000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50c0838012d196580071feec80042006c29..."} 
[2026-06-23 20:47:58] local.INFO: Packet analysis {"connection_id":112000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:47:58] local.INFO: Extracted packet for processing {"connection_id":112000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250277376001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47: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-06-23 20:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227667000,"timestamp_ms":1782227667000,"timestamp_seconds":1782227667,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50c0838"} 
[2026-06-23 20:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-789968352571483803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:47:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,100,45,128,238,66,39,10,18,40,192,1,240,255,227,245,31,4,113,205,28,101,200,41,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:47:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250277376001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250277376001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:47:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250277376001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":112000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:47:58] local.INFO: GPS data processed {"connection_id":112000,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:47:58] local.INFO: Acknowledgment sent {"connection_id":112000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:48:01] local.INFO: TCP Data received {"connection_id":111366,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50d8320012ceb82400719e0b8001a009b31..."} 
[2026-06-23 20:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50d8320012ceb82400719e0b8001a009b31..."} 
[2026-06-23 20:48:01] local.INFO: Processing buffer {"connection_id":111366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50d8320012ceb82400719e0b8001a009b31..."} 
[2026-06-23 20:48:01] local.INFO: Packet analysis {"connection_id":111366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:48:01] local.INFO: Extracted packet for processing {"connection_id":111366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:48:01] local.INFO: GPS Element Parsed {"raw_longitude":753631808,"raw_latitude":119136440,"longitude_deg":75.3631808,"latitude_deg":11.913644,"altitude":26,"angle":155,"satellites":49,"speed":17,"hex_longitude":"2ceb8240","hex_latitude":"0719e0b8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250302208001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321734269271539712,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478236178440345600,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782227764000,"timestamp_ms":1782227764000,"timestamp_seconds":1782227764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50d8320"} 
[2026-06-23 20:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:48:01] 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-06-23 20: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-06-23 20:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250302208001,"66":27376,"161":206,"2":54272,"24":17,"16":321734269271539712,"44":-1478236178440345600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-06-23 20:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250302208001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:48:01] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 20:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321734269271539712,"km_value":321734269271539.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478236178440345600,"description":"Unknown IO ID 44"} 
[2026-06-23 20:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250302208001,"power":27376,"unknown_161":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1478236178440345600}} 
[2026-06-23 20:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":111366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:48:01] local.INFO: GPS data processed {"connection_id":111366,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:48:01] local.INFO: Acknowledgment sent {"connection_id":111366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:48:21] local.INFO: TCP Data received {"connection_id":112001,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:48:21] local.INFO: Processing buffer {"connection_id":112001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:48:21] local.INFO: IMEI packet received {"connection_id":112001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":112001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:48:23] local.INFO: TCP Data received {"connection_id":112930,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:48:23] local.INFO: Processing buffer {"connection_id":112930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:48:23] local.INFO: IMEI packet received {"connection_id":112930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":112930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:48:28] local.INFO: TCP Data received {"connection_id":112930,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:48:28] local.INFO: Processing buffer {"connection_id":112930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:48:28] local.INFO: IMEI packet received {"connection_id":112930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":112930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:48:28] local.INFO: TCP Data received {"connection_id":112000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50c5a40012d196580071feec80042006c29..."} 
[2026-06-23 20:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50c5a40012d196580071feec80042006c29..."} 
[2026-06-23 20:48:28] local.INFO: Processing buffer {"connection_id":112000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50c5a40012d196580071feec80042006c29..."} 
[2026-06-23 20:48:28] local.INFO: Packet analysis {"connection_id":112000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:48:28] local.INFO: Extracted packet for processing {"connection_id":112000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250282752001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227688000,"timestamp_ms":1782227688000,"timestamp_seconds":1782227688,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50c5a40"} 
[2026-06-23 20:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-789878158258267803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:48:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,182,45,128,238,66,40,10,100,39,18,1,240,227,245,31,4,113,205,110,101,200,41,239,48,2,13,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:48:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250282752001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250282752001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250282752001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":112000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:48:28] local.INFO: GPS data processed {"connection_id":112000,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:48:28] local.INFO: Acknowledgment sent {"connection_id":112000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:48:36] local.INFO: TCP Data received {"connection_id":112930,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50dc588012ceb93400719c050001c00942e..."} 
[2026-06-23 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50dc588012ceb93400719c050001c00942e..."} 
[2026-06-23 20:48:36] local.INFO: Processing buffer {"connection_id":112930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50dc588012ceb93400719c050001c00942e..."} 
[2026-06-23 20:48:36] local.INFO: Packet analysis {"connection_id":112930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:48:36] local.INFO: Extracted packet for processing {"connection_id":112930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:48:36] local.INFO: GPS Element Parsed {"raw_longitude":753636160,"raw_latitude":119128144,"longitude_deg":75.363616,"latitude_deg":11.9128144,"altitude":28,"angle":148,"satellites":46,"speed":22,"hex_longitude":"2ceb9340","hex_latitude":"0719c050","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250307584001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321734724538073088,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476547328580995072,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782227781000,"timestamp_ms":1782227781000,"timestamp_seconds":1782227781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50dc588"} 
[2026-06-23 20:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:48:36] 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-06-23 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250307584001,"66":27463,"161":206,"2":54272,"24":22,"16":321734724538073088,"44":-1476547328580995072},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-06-23 20:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250307584001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:48:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 20:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321734724538073088,"km_value":321734724538073.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476547328580995072,"description":"Unknown IO ID 44"} 
[2026-06-23 20:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250307584001,"power":27463,"unknown_161":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1476547328580995072}} 
[2026-06-23 20:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":112930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:48:36] local.INFO: GPS data processed {"connection_id":112930,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:48:36] local.INFO: Acknowledgment sent {"connection_id":112930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:48:51] local.INFO: TCP Data received {"connection_id":112931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:48:51] local.INFO: Processing buffer {"connection_id":112931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:48:51] local.INFO: IMEI packet received {"connection_id":112931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":112931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:48:56] local.INFO: TCP Data received {"connection_id":112931,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:48:56] local.INFO: Processing buffer {"connection_id":112931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:48:56] local.INFO: IMEI packet received {"connection_id":112931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":112931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:48:57] local.INFO: TCP Data received {"connection_id":112931,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50cac48012d196580071feec80042006c28..."} 
[2026-06-23 20:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50cac48012d196580071feec80042006c28..."} 
[2026-06-23 20:48:57] local.INFO: Processing buffer {"connection_id":112931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50cac48012d196580071feec80042006c28..."} 
[2026-06-23 20:48:57] local.INFO: Packet analysis {"connection_id":112931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:48:57] local.INFO: Extracted packet for processing {"connection_id":112931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250288128001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782227709000,"timestamp_ms":1782227709000,"timestamp_seconds":1782227709,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50cac48"} 
[2026-06-23 20:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:48: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-789787963945051803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:48:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,8,45,128,238,66,41,10,182,40,100,1,240,227,245,31,4,113,205,192,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:48:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250288128001,"66":12113,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250288128001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:48:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250288128001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":112931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:48:57] local.INFO: GPS data processed {"connection_id":112931,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:48:57] local.INFO: Acknowledgment sent {"connection_id":112931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:49:06] local.INFO: TCP Data received {"connection_id":111190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:49:06] local.INFO: Processing buffer {"connection_id":111190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:49:06] local.INFO: IMEI packet received {"connection_id":111190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":111190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:49:08] local.INFO: TCP Data received {"connection_id":112930,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50f82d8012cec720007186eb0001c00b52f..."} 
[2026-06-23 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50f82d8012cec720007186eb0001c00b52f..."} 
[2026-06-23 20:49:08] local.INFO: Processing buffer {"connection_id":112930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50f82d8012cec720007186eb0001c00b52f..."} 
[2026-06-23 20:49:08] local.INFO: Packet analysis {"connection_id":112930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:49:08] local.INFO: Extracted packet for processing {"connection_id":112930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":753693184,"raw_latitude":119041712,"longitude_deg":75.3693184,"latitude_deg":11.9041712,"altitude":28,"angle":181,"satellites":47,"speed":43,"hex_longitude":"2cec7200","hex_latitude":"07186eb0","is_valid_coordinates":true} 
[2026-06-23 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250340608001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321739826959220736,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409204440426655744,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782227895000,"timestamp_ms":1782227895000,"timestamp_seconds":1782227895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50f82d8"} 
[2026-06-23 20:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:49:08] 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-06-23 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:49:08] 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-06-23 20:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250340608001,"66":27071,"159":206,"2":54272,"24":43,"16":321739826959220736,"44":-1409204440426655744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-06-23 20:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250340608001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:49:08] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 20:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321739826959220736,"km_value":321739826959220.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:49:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409204440426655744,"description":"Unknown IO ID 44"} 
[2026-06-23 20:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250340608001,"power":27071,"unknown_159":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1409204440426655744}} 
[2026-06-23 20:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":112930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:49:08] local.INFO: GPS data processed {"connection_id":112930,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:49:08] local.INFO: Acknowledgment sent {"connection_id":112930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:49:25] local.INFO: TCP Data received {"connection_id":111191,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:25] local.INFO: Processing buffer {"connection_id":111191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:25] local.INFO: IMEI packet received {"connection_id":111191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":111191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:49:27] local.INFO: TCP Data received {"connection_id":112931,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50cfe50012d196580071feec80042006c29..."} 
[2026-06-23 20:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50cfe50012d196580071feec80042006c29..."} 
[2026-06-23 20:49:27] local.INFO: Processing buffer {"connection_id":112931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50cfe50012d196580071feec80042006c29..."} 
[2026-06-23 20:49:27] local.INFO: Packet analysis {"connection_id":112931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:49:27] local.INFO: Extracted packet for processing {"connection_id":112931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50c"} 
[2026-06-23 20:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250293504001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782227730000,"timestamp_ms":1782227730000,"timestamp_seconds":1782227730,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50cfe50"} 
[2026-06-23 20:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 20:49:27] 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-06-23 20:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250293504001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250293504001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:49:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250293504001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":112931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:49:28] local.INFO: GPS data processed {"connection_id":112931,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:49:28] local.INFO: Acknowledgment sent {"connection_id":112931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:49:28] local.INFO: TCP Data received {"connection_id":111191,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:28] local.INFO: Processing buffer {"connection_id":111191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:28] local.INFO: IMEI packet received {"connection_id":111191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":111191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:49:33] local.INFO: TCP Data received {"connection_id":111191,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:33] local.INFO: Processing buffer {"connection_id":111191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:49:33] local.INFO: IMEI packet received {"connection_id":111191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":111191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:49:34] local.INFO: TCP Data received {"connection_id":111191,"ip":"117.225.209.96","data_length":93,"data_hex":"00000000000000518e010000019ef50fa218012cec6bc007184ab0001a00c02f..."} 
[2026-06-23 20:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111191,"packet_length":93,"packet_hex":"00000000000000518e010000019ef50fa218012cec6bc007184ab0001a00c02f..."} 
[2026-06-23 20:49:34] local.INFO: Processing buffer {"connection_id":111191,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ef50fa218012cec6bc007184ab0001a00c02f..."} 
[2026-06-23 20:49:34] local.INFO: Packet analysis {"connection_id":111191,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ef50f"} 
[2026-06-23 20:49:34] local.INFO: Extracted packet for processing {"connection_id":111191,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ef50f"} 
[2026-06-23 20:49:34] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":119032496,"longitude_deg":75.3691584,"latitude_deg":11.9032496,"altitude":26,"angle":192,"satellites":47,"speed":48,"hex_longitude":"2cec6bc0","hex_latitude":"07184ab0","is_valid_coordinates":true} 
[2026-06-23 20: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":93,"current_offset":40} 
[2026-06-23 20:49:34] 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-06-23 20:49:34] 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-06-23 20:49:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:49:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 20:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111191,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-23 20:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111191,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-23 20:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111191,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-23 20:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 20:49:34] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 20:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":111191,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 20:49:34] local.ERROR: GPS data processing failed {"connection_id":111191,"error":"No valid data to process"} 
[2026-06-23 20:49:34] local.INFO: Acknowledgment sent {"connection_id":111191,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 20:49:35] local.INFO: TCP Data received {"connection_id":111191,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50fa218012cec6bc007184ab0001a00c02f..."} 
[2026-06-23 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50fa218012cec6bc007184ab0001a00c02f..."} 
[2026-06-23 20:49:35] local.INFO: Processing buffer {"connection_id":111191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50fa218012cec6bc007184ab0001a00c02f..."} 
[2026-06-23 20:49:35] local.INFO: Packet analysis {"connection_id":111191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:49:35] local.INFO: Extracted packet for processing {"connection_id":111191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:49:35] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":119032496,"longitude_deg":75.3691584,"latitude_deg":11.9032496,"altitude":26,"angle":192,"satellites":47,"speed":48,"hex_longitude":"2cec6bc0","hex_latitude":"07184ab0","is_valid_coordinates":true} 
[2026-06-23 20:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250343168001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321740282225754112,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410822921545666560,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782227903000,"timestamp_ms":1782227903000,"timestamp_seconds":1782227903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50fa218"} 
[2026-06-23 20:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:49:35] 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-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250343168001,"66":27397,"159":206,"2":54272,"24":48,"16":321740282225754112,"44":-1410822921545666560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-06-23 20:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250343168001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:49:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 20:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321740282225754112,"km_value":321740282225754.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410822921545666560,"description":"Unknown IO ID 44"} 
[2026-06-23 20:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250343168001,"power":27397,"unknown_159":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1410822921545666560}} 
[2026-06-23 20:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":111191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:49:35] local.INFO: GPS data processed {"connection_id":111191,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:49:35] local.INFO: Acknowledgment sent {"connection_id":111191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:49:51] local.INFO: TCP Data received {"connection_id":111367,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:49:51] local.INFO: Processing buffer {"connection_id":111367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:49:51] local.INFO: IMEI packet received {"connection_id":111367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":111367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:49:57] local.INFO: TCP Data received {"connection_id":111367,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:49:57] local.INFO: Processing buffer {"connection_id":111367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:49:57] local.INFO: IMEI packet received {"connection_id":111367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":111367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:49:57] local.INFO: TCP Data received {"connection_id":111367,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50d5058012d196580071feec80042006c2a..."} 
[2026-06-23 20:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50d5058012d196580071feec80042006c2a..."} 
[2026-06-23 20:49:57] local.INFO: Processing buffer {"connection_id":111367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50d5058012d196580071feec80042006c2a..."} 
[2026-06-23 20:49:57] local.INFO: Packet analysis {"connection_id":111367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:49:57] local.INFO: Extracted packet for processing {"connection_id":111367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250298880001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782227751000,"timestamp_ms":1782227751000,"timestamp_seconds":1782227751,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50d5058"} 
[2026-06-23 20:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-789607575318619803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:49:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:49:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,172,45,128,238,66,40,10,90,41,8,1,240,227,245,31,4,113,205,100,101,200,39,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:49:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250298880001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250298880001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250298880001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":111367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:49:58] local.INFO: GPS data processed {"connection_id":111367,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:49:58] local.INFO: Acknowledgment sent {"connection_id":111367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:50:06] local.INFO: TCP Data received {"connection_id":111191,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50fc158012cec61c0071824f8001b00c130..."} 
[2026-06-23 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50fc158012cec61c0071824f8001b00c130..."} 
[2026-06-23 20:50:06] local.INFO: Processing buffer {"connection_id":111191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50fc158012cec61c0071824f8001b00c130..."} 
[2026-06-23 20:50:06] local.INFO: Packet analysis {"connection_id":111191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:50:06] local.INFO: Extracted packet for processing {"connection_id":111191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753689024,"raw_latitude":119022840,"longitude_deg":75.3689024,"latitude_deg":11.902284,"altitude":27,"angle":193,"satellites":48,"speed":49,"hex_longitude":"2cec61c0","hex_latitude":"071824f8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250343168001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321740763262091264,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410822921545666560,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782227911000,"timestamp_ms":1782227911000,"timestamp_seconds":1782227911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50fc158"} 
[2026-06-23 20:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:50: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-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250343168001,"66":27332,"159":206,"2":54272,"24":49,"16":321740763262091264,"44":-1410822921545666560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-06-23 20:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250343168001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 20:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321740763262091264,"km_value":321740763262091.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410822921545666560,"description":"Unknown IO ID 44"} 
[2026-06-23 20:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250343168001,"power":27332,"unknown_159":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-1410822921545666560}} 
[2026-06-23 20:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":111191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:50:06] local.INFO: GPS data processed {"connection_id":111191,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:50:06] local.INFO: Acknowledgment sent {"connection_id":111191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:50:20] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:20] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:20] local.INFO: IMEI packet received {"connection_id":111192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":111192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:50:24] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:24] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:24] local.INFO: IMEI packet received {"connection_id":111192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":111192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:50:28] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:28] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:50:28] local.INFO: IMEI packet received {"connection_id":111192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":111192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:50:28] local.INFO: TCP Data received {"connection_id":111367,"ip":"42.106.6.24","data_length":93,"data_hex":"00000000000000518e010000019ef50da260012d196580071feec80042006c2a..."} 
[2026-06-23 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111367,"packet_length":93,"packet_hex":"00000000000000518e010000019ef50da260012d196580071feec80042006c2a..."} 
[2026-06-23 20:50:28] local.INFO: Processing buffer {"connection_id":111367,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ef50da260012d196580071feec80042006c2a..."} 
[2026-06-23 20:50:28] local.INFO: Packet analysis {"connection_id":111367,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ef50d"} 
[2026-06-23 20:50:28] local.INFO: Extracted packet for processing {"connection_id":111367,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ef50d"} 
[2026-06-23 20:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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":93,"current_offset":40} 
[2026-06-23 20:50:28] 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-06-23 20:50:28] 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-06-23 20:50:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:50:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 20:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111367,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-23 20:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111367,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 20:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111367,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-23 20:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 20:50:28] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 20:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":111367,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 20:50:28] local.ERROR: GPS data processing failed {"connection_id":111367,"error":"No valid data to process"} 
[2026-06-23 20:50:28] local.INFO: Acknowledgment sent {"connection_id":111367,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 20:50:29] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50fe098012cec58800717ff18001e00c230..."} 
[2026-06-23 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50fe098012cec58800717ff18001e00c230..."} 
[2026-06-23 20:50:29] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50fe098012cec58800717ff18001e00c230..."} 
[2026-06-23 20:50:29] local.INFO: Packet analysis {"connection_id":111192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:50:29] local.INFO: Extracted packet for processing {"connection_id":111192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":753686656,"raw_latitude":119013144,"longitude_deg":75.3686656,"latitude_deg":11.9013144,"altitude":30,"angle":194,"satellites":48,"speed":47,"hex_longitude":"2cec5880","hex_latitude":"0717ff18","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250345216001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321741248593395712,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413637671315245056,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782227919000,"timestamp_ms":1782227919000,"timestamp_seconds":1782227919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50fe098"} 
[2026-06-23 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:50:29] 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-06-23 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250345216001,"66":27213,"159":206,"2":54272,"24":47,"16":321741248593395712,"44":-1413637671315245056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-06-23 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250345216001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321741248593395712,"km_value":321741248593395.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413637671315245056,"description":"Unknown IO ID 44"} 
[2026-06-23 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250345216001,"power":27213,"unknown_159":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1413637671315245056}} 
[2026-06-23 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":111192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:50:29] local.INFO: GPS data processed {"connection_id":111192,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:50:29] local.INFO: Acknowledgment sent {"connection_id":111192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:50:30] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50fffd8012cec53400717d9d0001f00b72e..."} 
[2026-06-23 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50fffd8012cec53400717d9d0001f00b72e..."} 
[2026-06-23 20:50:30] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50fffd8012cec53400717d9d0001f00b72e..."} 
[2026-06-23 20:50:30] local.INFO: Packet analysis {"connection_id":111192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:50:30] local.INFO: Extracted packet for processing {"connection_id":111192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":753685312,"raw_latitude":119003600,"longitude_deg":75.3685312,"latitude_deg":11.90036,"altitude":31,"angle":183,"satellites":46,"speed":48,"hex_longitude":"2cec5340","hex_latitude":"0717d9d0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250347264001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321741716744830976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416241314852300800,"note":"Value kept but may cause issues"} 
[2026-06-23 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782227927000,"timestamp_ms":1782227927000,"timestamp_seconds":1782227927,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50fffd8"} 
[2026-06-23 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-06-23 20:50:30] 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-06-23 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 20:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250347264001,"66":27463,"159":206,"2":54272,"24":48,"16":321741716744830976,"44":-1416241314852300800},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-06-23 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250347264001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321741716744830976,"km_value":321741716744831.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416241314852300800,"description":"Unknown IO ID 44"} 
[2026-06-23 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250347264001,"power":27463,"unknown_159":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1416241314852300800}} 
[2026-06-23 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":111192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:50:30] local.INFO: GPS data processed {"connection_id":111192,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:50:30] local.INFO: Acknowledgment sent {"connection_id":111192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:50:57] local.INFO: TCP Data received {"connection_id":112934,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:50:57] local.INFO: Processing buffer {"connection_id":112934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:50:57] local.INFO: IMEI packet received {"connection_id":112934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":112934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:51:02] local.INFO: TCP Data received {"connection_id":112934,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:02] local.INFO: Processing buffer {"connection_id":112934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:02] local.INFO: IMEI packet received {"connection_id":112934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":112934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:51:02] local.INFO: TCP Data received {"connection_id":111192,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5101f18012cec50c00717b378002100b72e..."} 
[2026-06-23 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5101f18012cec50c00717b378002100b72e..."} 
[2026-06-23 20:51:02] local.INFO: Processing buffer {"connection_id":111192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5101f18012cec50c00717b378002100b72e..."} 
[2026-06-23 20:51:02] local.INFO: Packet analysis {"connection_id":111192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef510"} 
[2026-06-23 20:51:02] local.INFO: Extracted packet for processing {"connection_id":111192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef510"} 
[2026-06-23 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":753684672,"raw_latitude":118993784,"longitude_deg":75.3684672,"latitude_deg":11.8993784,"altitude":33,"angle":183,"satellites":46,"speed":48,"hex_longitude":"2cec50c0","hex_latitude":"0717b378","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250349312001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321742193486200832,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417719058482475008,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782227935000,"timestamp_ms":1782227935000,"timestamp_seconds":1782227935,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5101f18"} 
[2026-06-23 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-06-23 20:51: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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:51:02] 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-06-23 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-06-23 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-06-23 20:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250349312001,"66":26636,"159":206,"2":54272,"24":48,"16":321742193486200832,"44":-1417719058482475008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-06-23 20:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250349312001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:51:02] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 20:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321742193486200832,"km_value":321742193486200.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417719058482475008,"description":"Unknown IO ID 44"} 
[2026-06-23 20:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250349312001,"power":26636,"unknown_159":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1417719058482475008}} 
[2026-06-23 20:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":111192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:51:02] local.INFO: GPS data processed {"connection_id":111192,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:51:02] local.INFO: Acknowledgment sent {"connection_id":111192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:51:03] local.INFO: TCP Data received {"connection_id":112934,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50df468012d196580071feec80042006c28..."} 
[2026-06-23 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50df468012d196580071feec80042006c28..."} 
[2026-06-23 20:51:03] local.INFO: Processing buffer {"connection_id":112934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50df468012d196580071feec80042006c28..."} 
[2026-06-23 20:51:03] local.INFO: Packet analysis {"connection_id":112934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:51:03] local.INFO: Extracted packet for processing {"connection_id":112934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50d"} 
[2026-06-23 20:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250309632001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782227793000,"timestamp_ms":1782227793000,"timestamp_seconds":1782227793,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50df468"} 
[2026-06-23 20:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:51: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-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:51: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-06-23 20: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-06-23 20:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250309632001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250309632001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250309632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":112934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:51:03] local.INFO: GPS data processed {"connection_id":112934,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:51:03] local.INFO: Acknowledgment sent {"connection_id":112934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:51:03] local.INFO: TCP Data received {"connection_id":112934,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50e4670012d196580071feec80042006c28..."} 
[2026-06-23 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50e4670012d196580071feec80042006c28..."} 
[2026-06-23 20:51:03] local.INFO: Processing buffer {"connection_id":112934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50e4670012d196580071feec80042006c28..."} 
[2026-06-23 20:51:03] local.INFO: Packet analysis {"connection_id":112934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50e"} 
[2026-06-23 20:51:03] local.INFO: Extracted packet for processing {"connection_id":112934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50e"} 
[2026-06-23 20:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250315008001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782227814000,"timestamp_ms":1782227814000,"timestamp_seconds":1782227814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50e4670"} 
[2026-06-23 20:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:51: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-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:51: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-06-23 20: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-06-23 20:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250315008001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250315008001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250315008001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":112934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:51:03] local.INFO: GPS data processed {"connection_id":112934,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:51:03] local.INFO: Acknowledgment sent {"connection_id":112934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:51:23] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:51:23] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:51:23] local.INFO: IMEI packet received {"connection_id":111193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":111193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:51:27] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:51:27] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:51:27] local.INFO: IMEI packet received {"connection_id":111193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":111193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:51:29] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5119a00012cec8b40071635f80018009332..."} 
[2026-06-23 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5119a00012cec8b40071635f80018009332..."} 
[2026-06-23 20:51:29] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5119a00012cec8b40071635f80018009332..."} 
[2026-06-23 20:51:29] local.INFO: Packet analysis {"connection_id":111193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef511"} 
[2026-06-23 20:51:29] local.INFO: Extracted packet for processing {"connection_id":111193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef511"} 
[2026-06-23 20:51:29] local.INFO: GPS Element Parsed {"raw_longitude":753699648,"raw_latitude":118896120,"longitude_deg":75.3699648,"latitude_deg":11.889612,"altitude":24,"angle":147,"satellites":50,"speed":45,"hex_longitude":"2cec8b40","hex_latitude":"071635f8","is_valid_coordinates":true} 
[2026-06-23 20:51: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-06-23 20:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250374400001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321747085453950976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404911947067838464,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228032000,"timestamp_ms":1782228032000,"timestamp_seconds":1782228032,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5119a00"} 
[2026-06-23 20:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:51:29] 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-06-23 20:51: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-06-23 20:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:51: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-06-23 20:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250374400001,"66":27343,"33":206,"2":54272,"24":45,"16":321747085453950976,"44":-1404911947067838464},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-23 20:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250374400001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:51:29] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 20:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321747085453950976,"km_value":321747085453951.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404911947067838464,"description":"Unknown IO ID 44"} 
[2026-06-23 20:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250374400001,"power":27343,"unknown_33":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1404911947067838464}} 
[2026-06-23 20:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":111193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:51:29] local.INFO: GPS data processed {"connection_id":111193,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:51:29] local.INFO: Acknowledgment sent {"connection_id":111193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:51:34] local.INFO: TCP Data received {"connection_id":112934,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50e9878012d196580071feec80042006c28..."} 
[2026-06-23 20:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50e9878012d196580071feec80042006c28..."} 
[2026-06-23 20:51:34] local.INFO: Processing buffer {"connection_id":112934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50e9878012d196580071feec80042006c28..."} 
[2026-06-23 20:51:34] local.INFO: Packet analysis {"connection_id":112934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50e"} 
[2026-06-23 20:51:34] local.INFO: Extracted packet for processing {"connection_id":112934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50e"} 
[2026-06-23 20:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250320384001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51: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-06-23 20:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782227835000,"timestamp_ms":1782227835000,"timestamp_seconds":1782227835,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50e9878"} 
[2026-06-23 20:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:51: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-789246798065755803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:51:34] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,244,45,128,238,66,40,10,162,42,80,1,240,255,227,245,31,4,113,205,172,101,200,239,47,2,13,7,41],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:51:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250320384001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250320384001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250320384001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":112934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:51:34] local.INFO: GPS data processed {"connection_id":112934,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:51:34] local.INFO: Acknowledgment sent {"connection_id":112934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:51:52] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:52] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:52] local.INFO: IMEI packet received {"connection_id":112003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":112003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:51:57] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:57] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:51:57] local.INFO: IMEI packet received {"connection_id":112003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":112003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:51:58] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50eea80012d196580071feec80042006c29..."} 
[2026-06-23 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50eea80012d196580071feec80042006c29..."} 
[2026-06-23 20:51:58] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50eea80012d196580071feec80042006c29..."} 
[2026-06-23 20:51:58] local.INFO: Packet analysis {"connection_id":112003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50e"} 
[2026-06-23 20:51:58] local.INFO: Extracted packet for processing {"connection_id":112003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50e"} 
[2026-06-23 20:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250325760001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:51: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-06-23 20:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227856000,"timestamp_ms":1782227856000,"timestamp_seconds":1782227856,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50eea80"} 
[2026-06-23 20:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:51: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-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:51: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-06-23 20: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-06-23 20:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250325760001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250325760001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:51:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250325760001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":112003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:51:58] local.INFO: GPS data processed {"connection_id":112003,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:51:58] local.INFO: Acknowledgment sent {"connection_id":112003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:52:00] local.INFO: TCP Data received {"connection_id":111193,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef511b940012ceca20007161a000018008e30..."} 
[2026-06-23 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef511b940012ceca20007161a000018008e30..."} 
[2026-06-23 20:52:00] local.INFO: Processing buffer {"connection_id":111193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef511b940012ceca20007161a000018008e30..."} 
[2026-06-23 20:52:00] local.INFO: Packet analysis {"connection_id":111193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef511"} 
[2026-06-23 20:52:00] local.INFO: Extracted packet for processing {"connection_id":111193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef511"} 
[2026-06-23 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":753705472,"raw_latitude":118888960,"longitude_deg":75.3705472,"latitude_deg":11.888896,"altitude":24,"angle":142,"satellites":48,"speed":45,"hex_longitude":"2ceca200","hex_latitude":"07161a00","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250376192001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321747527835582464,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1401956459814193152,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782228040000,"timestamp_ms":1782228040000,"timestamp_seconds":1782228040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef511b940"} 
[2026-06-23 20:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:52:00] 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-06-23 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250376192001,"66":27180,"33":206,"2":54272,"24":45,"16":321747527835582464,"44":-1401956459814193152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-23 20:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250376192001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:52:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 20:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321747527835582464,"km_value":321747527835582.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1401956459814193152,"description":"Unknown IO ID 44"} 
[2026-06-23 20:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250376192001,"power":27180,"unknown_33":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1401956459814193152}} 
[2026-06-23 20:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":111193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:52:00] local.INFO: GPS data processed {"connection_id":111193,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:52:00] local.INFO: Acknowledgment sent {"connection_id":111193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:52:23] local.INFO: TCP Data received {"connection_id":112935,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:23] local.INFO: Processing buffer {"connection_id":112935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:23] local.INFO: IMEI packet received {"connection_id":112935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":112935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:52:24] local.INFO: TCP Data received {"connection_id":112935,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:24] local.INFO: Processing buffer {"connection_id":112935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:24] local.INFO: IMEI packet received {"connection_id":112935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":112935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:52:28] local.INFO: TCP Data received {"connection_id":112935,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:28] local.INFO: Processing buffer {"connection_id":112935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:52:28] local.INFO: IMEI packet received {"connection_id":112935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":112935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:52:28] local.INFO: TCP Data received {"connection_id":112003,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50f3c88012d196580071feec80042006c2a..."} 
[2026-06-23 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50f3c88012d196580071feec80042006c2a..."} 
[2026-06-23 20:52:28] local.INFO: Processing buffer {"connection_id":112003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50f3c88012d196580071feec80042006c2a..."} 
[2026-06-23 20:52:28] local.INFO: Packet analysis {"connection_id":112003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:52:28] local.INFO: Extracted packet for processing {"connection_id":112003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250331136001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227877000,"timestamp_ms":1782227877000,"timestamp_seconds":1782227877,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50f3c88"} 
[2026-06-23 20:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-789066409439323803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,152,45,128,238,66,40,10,70,244,1,240,255,227,245,31,4,113,205,80,101,200,42,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:52:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250331136001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250331136001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250331136001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":112003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:52:28] local.INFO: GPS data processed {"connection_id":112003,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:52:28] local.INFO: Acknowledgment sent {"connection_id":112003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:52:30] local.INFO: TCP Data received {"connection_id":112935,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef511dc68012cecb8c00715fb180018009431..."} 
[2026-06-23 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef511dc68012cecb8c00715fb180018009431..."} 
[2026-06-23 20:52:30] local.INFO: Processing buffer {"connection_id":112935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef511dc68012cecb8c00715fb180018009431..."} 
[2026-06-23 20:52:30] local.INFO: Packet analysis {"connection_id":112935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef511"} 
[2026-06-23 20:52:30] local.INFO: Extracted packet for processing {"connection_id":112935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef511"} 
[2026-06-23 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":753711296,"raw_latitude":118881048,"longitude_deg":75.3711296,"latitude_deg":11.8881048,"altitude":24,"angle":148,"satellites":49,"speed":37,"hex_longitude":"2cecb8c0","hex_latitude":"0715fb18","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250378240001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321748000281985024,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395552904095858688,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782228049000,"timestamp_ms":1782228049000,"timestamp_seconds":1782228049,"priority":1,"record_length":96,"hex_timestamp":"0000019ef511dc68"} 
[2026-06-23 20:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:52:30] 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-06-23 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 20:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250378240001,"66":27397,"33":206,"2":54272,"24":37,"16":321748000281985024,"44":-1395552904095858688},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-23 20:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250378240001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:52:30] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 20:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321748000281985024,"km_value":321748000281985.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395552904095858688,"description":"Unknown IO ID 44"} 
[2026-06-23 20:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250378240001,"power":27397,"unknown_33":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1395552904095858688}} 
[2026-06-23 20:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":112935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:52:30] local.INFO: GPS data processed {"connection_id":112935,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:52:30] local.INFO: Acknowledgment sent {"connection_id":112935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:52:52] local.INFO: TCP Data received {"connection_id":112004,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:52:52] local.INFO: Processing buffer {"connection_id":112004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:52:52] local.INFO: IMEI packet received {"connection_id":112004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":112004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:52:57] local.INFO: TCP Data received {"connection_id":112004,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:52:57] local.INFO: Processing buffer {"connection_id":112004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:52:57] local.INFO: IMEI packet received {"connection_id":112004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":112004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:52:58] local.INFO: TCP Data received {"connection_id":112004,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50f8e90012d196580071feec80042006c28..."} 
[2026-06-23 20:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50f8e90012d196580071feec80042006c28..."} 
[2026-06-23 20:52:58] local.INFO: Processing buffer {"connection_id":112004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50f8e90012d196580071feec80042006c28..."} 
[2026-06-23 20:52:58] local.INFO: Packet analysis {"connection_id":112004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:52:58] local.INFO: Extracted packet for processing {"connection_id":112004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250336512001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782227898000,"timestamp_ms":1782227898000,"timestamp_seconds":1782227898,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50f8e90"} 
[2026-06-23 20:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:52: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-06-23 20:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:52: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-06-23 20:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250336512001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250336512001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:52:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250336512001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":112004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:52:58] local.INFO: GPS data processed {"connection_id":112004,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:52:58] local.INFO: Acknowledgment sent {"connection_id":112004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:53:01] local.INFO: TCP Data received {"connection_id":112935,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5120760012cecca400715dce0001a00982f..."} 
[2026-06-23 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5120760012cecca400715dce0001a00982f..."} 
[2026-06-23 20:53:01] local.INFO: Processing buffer {"connection_id":112935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5120760012cecca400715dce0001a00982f..."} 
[2026-06-23 20:53:01] local.INFO: Packet analysis {"connection_id":112935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:53:01] local.INFO: Extracted packet for processing {"connection_id":112935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":753715776,"raw_latitude":118873312,"longitude_deg":75.3715776,"latitude_deg":11.8873312,"altitude":26,"angle":152,"satellites":47,"speed":31,"hex_longitude":"2cecca40","hex_latitude":"0715dce0","is_valid_coordinates":true} 
[2026-06-23 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250380544001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321748429778714624,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1389149348377716736,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782228060000,"timestamp_ms":1782228060000,"timestamp_seconds":1782228060,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5120760"} 
[2026-06-23 20:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:53:01] 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-06-23 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250380544001,"66":27267,"33":206,"2":54272,"24":31,"16":321748429778714624,"44":-1389149348377716736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-23 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250380544001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321748429778714624,"km_value":321748429778714.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1389149348377716736,"description":"Unknown IO ID 44"} 
[2026-06-23 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250380544001,"power":27267,"unknown_33":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1389149348377716736}} 
[2026-06-23 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":112935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:53:01] local.INFO: GPS data processed {"connection_id":112935,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:53:01] local.INFO: Acknowledgment sent {"connection_id":112935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:53:23] local.INFO: TCP Data received {"connection_id":111370,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:23] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:23] local.INFO: IMEI packet received {"connection_id":111370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":111370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:53:27] local.INFO: TCP Data received {"connection_id":111370,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:27] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:27] local.INFO: IMEI packet received {"connection_id":111370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":111370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:53:28] local.INFO: TCP Data received {"connection_id":111370,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:28] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:53:28] local.INFO: IMEI packet received {"connection_id":111370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":111370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:53:28] local.INFO: TCP Data received {"connection_id":112004,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef50fe098012d196580071feec80042006c28..."} 
[2026-06-23 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef50fe098012d196580071feec80042006c28..."} 
[2026-06-23 20:53:28] local.INFO: Processing buffer {"connection_id":112004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef50fe098012d196580071feec80042006c28..."} 
[2026-06-23 20:53:28] local.INFO: Packet analysis {"connection_id":112004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:53:28] local.INFO: Extracted packet for processing {"connection_id":112004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef50f"} 
[2026-06-23 20:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250341888001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782227919000,"timestamp_ms":1782227919000,"timestamp_seconds":1782227919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef50fe098"} 
[2026-06-23 20:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:53:28] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-788886020812891803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,60,45,128,238,66,42,10,234,41,152,1,240,255,227,245,31,4,113,205,244,101,200,40,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:53:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250341888001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250341888001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250341888001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":112004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:53:28] local.INFO: GPS data processed {"connection_id":112004,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:53:28] local.INFO: Acknowledgment sent {"connection_id":112004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:53:29] local.INFO: TCP Data received {"connection_id":111370,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5123258012cecd8c00715bc10001c009f2f..."} 
[2026-06-23 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5123258012cecd8c00715bc10001c009f2f..."} 
[2026-06-23 20:53:29] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5123258012cecd8c00715bc10001c009f2f..."} 
[2026-06-23 20:53:29] local.INFO: Packet analysis {"connection_id":111370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:53:29] local.INFO: Extracted packet for processing {"connection_id":111370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:53:29] local.INFO: GPS Element Parsed {"raw_longitude":753719488,"raw_latitude":118864912,"longitude_deg":75.3719488,"latitude_deg":11.8864912,"altitude":28,"angle":159,"satellites":47,"speed":34,"hex_longitude":"2cecd8c0","hex_latitude":"0715bc10","is_valid_coordinates":true} 
[2026-06-23 20:53: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-06-23 20:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250383360001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321748876455313408,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384223536287260672,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228071000,"timestamp_ms":1782228071000,"timestamp_seconds":1782228071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5123258"} 
[2026-06-23 20:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:53:29] 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-06-23 20:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:53:29] 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-06-23 20:53: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-06-23 20:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250383360001,"66":27343,"33":206,"2":54272,"24":34,"16":321748876455313408,"44":-1384223536287260672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-23 20:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250383360001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:53:29] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-23 20:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321748876455313408,"km_value":321748876455313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384223536287260672,"description":"Unknown IO ID 44"} 
[2026-06-23 20:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250383360001,"power":27343,"unknown_33":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1384223536287260672}} 
[2026-06-23 20:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":111370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:53:29] local.INFO: GPS data processed {"connection_id":111370,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:53:29] local.INFO: Acknowledgment sent {"connection_id":111370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:53:34] local.INFO: TCP Data received {"connection_id":111370,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5126520012cece68007159b70001b009f2f..."} 
[2026-06-23 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5126520012cece68007159b70001b009f2f..."} 
[2026-06-23 20:53:34] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5126520012cece68007159b70001b009f2f..."} 
[2026-06-23 20:53:34] local.INFO: Packet analysis {"connection_id":111370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:53:34] local.INFO: Extracted packet for processing {"connection_id":111370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":753723008,"raw_latitude":118856560,"longitude_deg":75.3723008,"latitude_deg":11.885656,"altitude":27,"angle":159,"satellites":47,"speed":27,"hex_longitude":"2cece680","hex_latitude":"07159b70","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250386176001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321749314541977600,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1380142149127106560,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782228084000,"timestamp_ms":1782228084000,"timestamp_seconds":1782228084,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5126520"} 
[2026-06-23 20:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:53: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-06-23 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:53:34] 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-06-23 20: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-06-23 20:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250386176001,"66":27463,"87":206,"2":54272,"24":27,"16":321749314541977600,"44":-1380142149127106560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-06-23 20:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250386176001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 20:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321749314541977600,"km_value":321749314541977.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1380142149127106560,"description":"Unknown IO ID 44"} 
[2026-06-23 20:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250386176001,"power":27463,"unknown_87":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1380142149127106560}} 
[2026-06-23 20:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":111370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:53:34] local.INFO: GPS data processed {"connection_id":111370,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:53:34] local.INFO: Acknowledgment sent {"connection_id":111370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:53:49] local.INFO: TCP Data received {"connection_id":111371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:49] local.INFO: Processing buffer {"connection_id":111371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:49] local.INFO: IMEI packet received {"connection_id":111371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":111371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:53:52] local.INFO: TCP Data received {"connection_id":111371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:52] local.INFO: Processing buffer {"connection_id":111371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:52] local.INFO: IMEI packet received {"connection_id":111371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":111371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:53:57] local.INFO: TCP Data received {"connection_id":111371,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:57] local.INFO: Processing buffer {"connection_id":111371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:53:57] local.INFO: IMEI packet received {"connection_id":111371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":111371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:53:57] local.INFO: TCP Data received {"connection_id":111371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51366f0012d196580071feec80042006c28..."} 
[2026-06-23 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51366f0012d196580071feec80042006c28..."} 
[2026-06-23 20:53:57] local.INFO: Processing buffer {"connection_id":111371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51366f0012d196580071feec80042006c28..."} 
[2026-06-23 20:53:57] local.INFO: Packet analysis {"connection_id":111371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef513"} 
[2026-06-23 20:53:57] local.INFO: Extracted packet for processing {"connection_id":111371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef513"} 
[2026-06-23 20:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250401024001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782228150000,"timestamp_ms":1782228150000,"timestamp_seconds":1782228150,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51366f0"} 
[2026-06-23 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-06-23 20:53: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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-787893883367515803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:53:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:53:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,194,45,128,238,66,40,10,112,39,30,1,240,227,245,31,4,113,205,122,101,200,239,48,2,13,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:53:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250401024001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250401024001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250401024001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":111371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:53:58] local.INFO: GPS data processed {"connection_id":111371,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:53:58] local.INFO: Acknowledgment sent {"connection_id":111371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:54:05] local.INFO: TCP Data received {"connection_id":111370,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5128460012cecf1c007158698001900922e..."} 
[2026-06-23 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5128460012cecf1c007158698001900922e..."} 
[2026-06-23 20:54:05] local.INFO: Processing buffer {"connection_id":111370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5128460012cecf1c007158698001900922e..."} 
[2026-06-23 20:54:05] local.INFO: Packet analysis {"connection_id":111370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:54:05] local.INFO: Extracted packet for processing {"connection_id":111370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":753725888,"raw_latitude":118851224,"longitude_deg":75.3725888,"latitude_deg":11.8851224,"altitude":25,"angle":146,"satellites":46,"speed":29,"hex_longitude":"2cecf1c0","hex_latitude":"07158698","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250389504001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321749606599753728,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1376271868199473152,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782228092000,"timestamp_ms":1782228092000,"timestamp_seconds":1782228092,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5128460"} 
[2026-06-23 20:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:54: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-06-23 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 20:54:05] 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-06-23 20: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-06-23 20:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250389504001,"66":27300,"87":206,"2":54272,"24":29,"16":321749606599753728,"44":-1376271868199473152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-06-23 20:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250389504001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 20:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321749606599753728,"km_value":321749606599753.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1376271868199473152,"description":"Unknown IO ID 44"} 
[2026-06-23 20:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250389504001,"power":27300,"unknown_87":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1376271868199473152}} 
[2026-06-23 20:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":111370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:54:05] local.INFO: GPS data processed {"connection_id":111370,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:54:05] local.INFO: Acknowledgment sent {"connection_id":111370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:54:26] local.INFO: TCP Data received {"connection_id":112005,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:54:26] local.INFO: Processing buffer {"connection_id":112005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:54:26] local.INFO: IMEI packet received {"connection_id":112005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":112005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:54:27] local.INFO: TCP Data received {"connection_id":112006,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:27] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:27] local.INFO: IMEI packet received {"connection_id":112006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":112006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:54:28] local.INFO: TCP Data received {"connection_id":112006,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:28] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:28] local.INFO: IMEI packet received {"connection_id":112006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":112006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:54:28] local.INFO: TCP Data received {"connection_id":111371,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef513b8f8012d196580071feec80042006c27..."} 
[2026-06-23 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef513b8f8012d196580071feec80042006c27..."} 
[2026-06-23 20:54:28] local.INFO: Processing buffer {"connection_id":111371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef513b8f8012d196580071feec80042006c27..."} 
[2026-06-23 20:54:28] local.INFO: Packet analysis {"connection_id":111371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef513"} 
[2026-06-23 20:54:28] local.INFO: Extracted packet for processing {"connection_id":111371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef513"} 
[2026-06-23 20:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250406400001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228171000,"timestamp_ms":1782228171000,"timestamp_seconds":1782228171,"priority":1,"record_length":96,"hex_timestamp":"0000019ef513b8f8"} 
[2026-06-23 20:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:54:28] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-787803689054299803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:54:28] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3355520281,"corrected_to":0} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:54:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,20,45,128,238,66,39,10,194,40,112,1,240,255,227,245,31,4,113,205,204,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":204,"original":3355520281,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:54:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250406400001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250406400001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250406400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":111371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:54:28] local.INFO: GPS data processed {"connection_id":111371,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:54:28] local.INFO: Acknowledgment sent {"connection_id":111371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:54:33] local.INFO: TCP Data received {"connection_id":112006,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:33] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:54:33] local.INFO: IMEI packet received {"connection_id":112006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":112006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:54:34] local.INFO: TCP Data received {"connection_id":112006,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef512b728012ced04c0071568180018009730..."} 
[2026-06-23 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef512b728012ced04c0071568180018009730..."} 
[2026-06-23 20:54:35] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef512b728012ced04c0071568180018009730..."} 
[2026-06-23 20:54:35] local.INFO: Packet analysis {"connection_id":112006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:54:35] local.INFO: Extracted packet for processing {"connection_id":112006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef512"} 
[2026-06-23 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":753730752,"raw_latitude":118843416,"longitude_deg":75.3730752,"latitude_deg":11.8843416,"altitude":24,"angle":151,"satellites":48,"speed":26,"hex_longitude":"2ced04c0","hex_latitude":"07156818","is_valid_coordinates":true} 
[2026-06-23 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250391552001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321750053276352512,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1373105274712844288,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782228105000,"timestamp_ms":1782228105000,"timestamp_seconds":1782228105,"priority":1,"record_length":96,"hex_timestamp":"0000019ef512b728"} 
[2026-06-23 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:54: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-06-23 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250391552001,"66":26930,"87":206,"2":54272,"24":26,"16":321750053276352512,"44":-1373105274712844288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-06-23 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250391552001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:54:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321750053276352512,"km_value":321750053276352.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1373105274712844288,"description":"Unknown IO ID 44"} 
[2026-06-23 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250391552001,"power":26930,"unknown_87":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1373105274712844288}} 
[2026-06-23 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":112006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:54:35] local.INFO: GPS data processed {"connection_id":112006,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:54:35] local.INFO: Acknowledgment sent {"connection_id":112006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:54:39] local.INFO: TCP Data received {"connection_id":112006,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5130930012ced124007154638001800a132..."} 
[2026-06-23 20:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5130930012ced124007154638001800a132..."} 
[2026-06-23 20:54:39] local.INFO: Processing buffer {"connection_id":112006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5130930012ced124007154638001800a132..."} 
[2026-06-23 20:54:39] local.INFO: Packet analysis {"connection_id":112006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef513"} 
[2026-06-23 20:54:39] local.INFO: Extracted packet for processing {"connection_id":112006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef513"} 
[2026-06-23 20:54:39] local.INFO: GPS Element Parsed {"raw_longitude":753734208,"raw_latitude":118834744,"longitude_deg":75.3734208,"latitude_deg":11.8834744,"altitude":24,"angle":161,"satellites":50,"speed":21,"hex_longitude":"2ced1240","hex_latitude":"07154638","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250394880001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321750504247918592,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1367757250157340672,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782228126000,"timestamp_ms":1782228126000,"timestamp_seconds":1782228126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5130930"} 
[2026-06-23 20:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:54: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-06-23 20: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-06-23 20:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250394880001,"66":27343,"87":206,"2":54272,"24":21,"16":321750504247918592,"44":-1367757250157340672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-06-23 20:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250394880001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:54:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-23 20:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321750504247918592,"km_value":321750504247918.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:54:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1367757250157340672,"description":"Unknown IO ID 44"} 
[2026-06-23 20:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250394880001,"power":27343,"unknown_87":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1367757250157340672}} 
[2026-06-23 20:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":112006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:54:39] local.INFO: GPS data processed {"connection_id":112006,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:54:39] local.INFO: Acknowledgment sent {"connection_id":112006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:54:52] local.INFO: TCP Data received {"connection_id":112936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:52] local.INFO: Processing buffer {"connection_id":112936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:52] local.INFO: IMEI packet received {"connection_id":112936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":112936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:54:52] local.INFO: TCP Data received {"connection_id":112936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:52] local.INFO: Processing buffer {"connection_id":112936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:52] local.INFO: IMEI packet received {"connection_id":112936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":112936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:54:57] local.INFO: TCP Data received {"connection_id":112936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:57] local.INFO: Processing buffer {"connection_id":112936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:54:57] local.INFO: IMEI packet received {"connection_id":112936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":112936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:54:58] local.INFO: TCP Data received {"connection_id":112936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5140b00012d196580071feec80042006c28..."} 
[2026-06-23 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5140b00012d196580071feec80042006c28..."} 
[2026-06-23 20:54:58] local.INFO: Processing buffer {"connection_id":112936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5140b00012d196580071feec80042006c28..."} 
[2026-06-23 20:54:58] local.INFO: Packet analysis {"connection_id":112936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:54:58] local.INFO: Extracted packet for processing {"connection_id":112936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250411776001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:54: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-06-23 20:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228192000,"timestamp_ms":1782228192000,"timestamp_seconds":1782228192,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5140b00"} 
[2026-06-23 20:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:54: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-06-23 20:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:54: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-06-23 20:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250411776001,"66":12037,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250411776001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:54:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250411776001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":112936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:54:58] local.INFO: GPS data processed {"connection_id":112936,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:54:58] local.INFO: Acknowledgment sent {"connection_id":112936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:55:06] local.INFO: TCP Data received {"connection_id":111194,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:55:06] local.INFO: Processing buffer {"connection_id":111194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 20:55:06] local.INFO: IMEI packet received {"connection_id":111194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 20:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":111194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:55:20] local.INFO: TCP Data received {"connection_id":111372,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:20] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:20] local.INFO: IMEI packet received {"connection_id":111372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":111372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:55:24] local.INFO: TCP Data received {"connection_id":111372,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:24] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:24] local.INFO: IMEI packet received {"connection_id":111372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":111372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:55:28] local.INFO: TCP Data received {"connection_id":111372,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:28] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:55:28] local.INFO: IMEI packet received {"connection_id":111372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":111372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:55:28] local.INFO: TCP Data received {"connection_id":112936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5145d08012d196580071feec80042006c28..."} 
[2026-06-23 20:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5145d08012d196580071feec80042006c28..."} 
[2026-06-23 20:55:28] local.INFO: Processing buffer {"connection_id":112936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5145d08012d196580071feec80042006c28..."} 
[2026-06-23 20:55:28] local.INFO: Packet analysis {"connection_id":112936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:55:28] local.INFO: Extracted packet for processing {"connection_id":112936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:55: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-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250417152001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228213000,"timestamp_ms":1782228213000,"timestamp_seconds":1782228213,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5145d08"} 
[2026-06-23 20:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:55:28] 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-06-23 20:55: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4111605456,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300996363065781286,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194883584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,184,45,128,238,66,39,10,40,20,1,240,227,245,31,4,113,205,112,101,200,239,47,2,13,7,69],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:55:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250417152001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250417152001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250417152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":112936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:55:29] local.INFO: GPS data processed {"connection_id":112936,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:55:29] local.INFO: Acknowledgment sent {"connection_id":112936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:55:29] local.INFO: TCP Data received {"connection_id":111372,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef514f948012ced1fc007141b38001b00a62f..."} 
[2026-06-23 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef514f948012ced1fc007141b38001b00a62f..."} 
[2026-06-23 20:55:29] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef514f948012ced1fc007141b38001b00a62f..."} 
[2026-06-23 20:55:29] local.INFO: Packet analysis {"connection_id":111372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:55:29] local.INFO: Extracted packet for processing {"connection_id":111372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":753737664,"raw_latitude":118758200,"longitude_deg":75.3737664,"latitude_deg":11.87582,"altitude":27,"angle":166,"satellites":47,"speed":26,"hex_longitude":"2ced1fc0","hex_latitude":"07141b38","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250431744001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321754378308419584,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360579638272382976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228253000,"timestamp_ms":1782228253000,"timestamp_seconds":1782228253,"priority":1,"record_length":96,"hex_timestamp":"0000019ef514f948"} 
[2026-06-23 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-06-23 20:55:29] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 20:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250431744001,"66":27397,"144":206,"2":54272,"24":26,"16":321754378308419584,"44":-1360579638272382976},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-06-23 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250431744001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:55:29] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-23 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321754378308419584,"km_value":321754378308419.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360579638272382976,"description":"Unknown IO ID 44"} 
[2026-06-23 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250431744001,"power":27397,"unknown_144":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1360579638272382976}} 
[2026-06-23 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":111372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:55:29] local.INFO: GPS data processed {"connection_id":111372,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:55:29] local.INFO: Acknowledgment sent {"connection_id":111372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:55:34] local.INFO: TCP Data received {"connection_id":111372,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5150cd0012ced248007140ef0001b009a2f..."} 
[2026-06-23 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5150cd0012ced248007140ef0001b009a2f..."} 
[2026-06-23 20:55:34] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5150cd0012ced248007140ef0001b009a2f..."} 
[2026-06-23 20:55:34] local.INFO: Packet analysis {"connection_id":111372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:55:34] local.INFO: Extracted packet for processing {"connection_id":111372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":753738880,"raw_latitude":118755056,"longitude_deg":75.373888,"latitude_deg":11.8755056,"altitude":27,"angle":154,"satellites":47,"speed":25,"hex_longitude":"2ced2480","hex_latitude":"07140ef0","is_valid_coordinates":true} 
[2026-06-23 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250432768001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321754541517176832,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360157425807968256,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782228258000,"timestamp_ms":1782228258000,"timestamp_seconds":1782228258,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5150cd0"} 
[2026-06-23 20:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:55: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-06-23 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250432768001,"66":27365,"144":206,"2":54272,"24":25,"16":321754541517176832,"44":-1360157425807968256},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-06-23 20:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250432768001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:55:34] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-23 20:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321754541517176832,"km_value":321754541517176.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360157425807968256,"description":"Unknown IO ID 44"} 
[2026-06-23 20:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250432768001,"power":27365,"unknown_144":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1360157425807968256}} 
[2026-06-23 20:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":111372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:55:34] local.INFO: GPS data processed {"connection_id":111372,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:55:34] local.INFO: Acknowledgment sent {"connection_id":111372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:55:52] local.INFO: TCP Data received {"connection_id":112007,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:55:52] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:55:52] local.INFO: IMEI packet received {"connection_id":112007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":112007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:55:56] local.INFO: TCP Data received {"connection_id":112007,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:55:56] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:55:56] local.INFO: IMEI packet received {"connection_id":112007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":112007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:55:57] local.INFO: TCP Data received {"connection_id":112007,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef514af10012d196580071feec80042006c25..."} 
[2026-06-23 20:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef514af10012d196580071feec80042006c25..."} 
[2026-06-23 20:55:57] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef514af10012d196580071feec80042006c25..."} 
[2026-06-23 20:55:57] local.INFO: Packet analysis {"connection_id":112007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:55:57] local.INFO: Extracted packet for processing {"connection_id":112007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef514"} 
[2026-06-23 20:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:55: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-06-23 20:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250422528001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782228234000,"timestamp_ms":1782228234000,"timestamp_seconds":1782228234,"priority":1,"record_length":96,"hex_timestamp":"0000019ef514af10"} 
[2026-06-23 20:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:55: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-06-23 20:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:55:57] 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-06-23 20:55: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-06-23 20:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250422528001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250422528001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250422528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":112007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:55:57] local.INFO: GPS data processed {"connection_id":112007,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:55:57] local.INFO: Acknowledgment sent {"connection_id":112007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:56:06] local.INFO: TCP Data received {"connection_id":111372,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5151c70012ced2940071406f0001b008e31..."} 
[2026-06-23 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5151c70012ced2940071406f0001b008e31..."} 
[2026-06-23 20:56:06] local.INFO: Processing buffer {"connection_id":111372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5151c70012ced2940071406f0001b008e31..."} 
[2026-06-23 20:56:06] local.INFO: Packet analysis {"connection_id":111372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:06] local.INFO: Extracted packet for processing {"connection_id":111372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753740096,"raw_latitude":118753008,"longitude_deg":75.3740096,"latitude_deg":11.8753008,"altitude":27,"angle":142,"satellites":49,"speed":14,"hex_longitude":"2ced2940","hex_latitude":"071406f0","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250434048001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321754657481293824,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358820419669397504,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782228262000,"timestamp_ms":1782228262000,"timestamp_seconds":1782228262,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5151c70"} 
[2026-06-23 20:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:56: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-06-23 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 20:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250434048001,"66":27332,"144":206,"2":54272,"24":14,"16":321754657481293824,"44":-1358820419669397504},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-06-23 20:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250434048001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:56:06] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-23 20:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321754657481293824,"km_value":321754657481293.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358820419669397504,"description":"Unknown IO ID 44"} 
[2026-06-23 20:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250434048001,"power":27332,"unknown_144":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1358820419669397504}} 
[2026-06-23 20:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":111372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:56:06] local.INFO: GPS data processed {"connection_id":111372,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:56:06] local.INFO: Acknowledgment sent {"connection_id":111372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:56:20] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:20] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:20] local.INFO: IMEI packet received {"connection_id":111373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":111373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:56:23] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:23] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:23] local.INFO: IMEI packet received {"connection_id":111373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":111373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:56:27] local.INFO: TCP Data received {"connection_id":112007,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5150118012d196580071feec80042006c24..."} 
[2026-06-23 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5150118012d196580071feec80042006c24..."} 
[2026-06-23 20:56:27] local.INFO: Processing buffer {"connection_id":112007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5150118012d196580071feec80042006c24..."} 
[2026-06-23 20:56:27] local.INFO: Packet analysis {"connection_id":112007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:27] local.INFO: Extracted packet for processing {"connection_id":112007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250427904001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782228255000,"timestamp_ms":1782228255000,"timestamp_seconds":1782228255,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5150118"} 
[2026-06-23 20:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 20:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:56:27] 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-06-23 20:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250427904001,"66":12004,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250427904001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:56:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250427904001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":112007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:56:27] local.INFO: GPS data processed {"connection_id":112007,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:56:27] local.INFO: Acknowledgment sent {"connection_id":112007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:56:28] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:28] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:56:28] local.INFO: IMEI packet received {"connection_id":111373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":111373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:56:29] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5153f98012ced30400713ff10001a008331..."} 
[2026-06-23 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5153f98012ced30400713ff10001a008331..."} 
[2026-06-23 20:56:29] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5153f98012ced30400713ff10001a008331..."} 
[2026-06-23 20:56:29] local.INFO: Packet analysis {"connection_id":111373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:29] local.INFO: Extracted packet for processing {"connection_id":111373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:29] local.INFO: GPS Element Parsed {"raw_longitude":753741888,"raw_latitude":118750992,"longitude_deg":75.3741888,"latitude_deg":11.8750992,"altitude":26,"angle":131,"satellites":49,"speed":11,"hex_longitude":"2ced3040","hex_latitude":"0713ff10","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250435072001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321754786330312704,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1357483413530546176,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228271000,"timestamp_ms":1782228271000,"timestamp_seconds":1782228271,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5153f98"} 
[2026-06-23 20:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:56:29] 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-06-23 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250435072001,"66":27484,"142":206,"2":54272,"24":11,"16":321754786330312704,"44":-1357483413530546176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-06-23 20:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250435072001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:56:29] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-23 20:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321754786330312704,"km_value":321754786330312.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1357483413530546176,"description":"Unknown IO ID 44"} 
[2026-06-23 20:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250435072001,"power":27484,"unknown_142":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-1357483413530546176}} 
[2026-06-23 20:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":111373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:56:30] local.INFO: GPS data processed {"connection_id":111373,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:56:30] local.INFO: Acknowledgment sent {"connection_id":111373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:56:52] local.INFO: TCP Data received {"connection_id":111195,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:56:52] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:56:52] local.INFO: IMEI packet received {"connection_id":111195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":111195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:56:57] local.INFO: TCP Data received {"connection_id":111195,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:56:57] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:56:57] local.INFO: IMEI packet received {"connection_id":111195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":111195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:56:58] local.INFO: TCP Data received {"connection_id":111195,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5155320012d196580071feec80042006c28..."} 
[2026-06-23 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5155320012d196580071feec80042006c28..."} 
[2026-06-23 20:56:58] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5155320012d196580071feec80042006c28..."} 
[2026-06-23 20:56:58] local.INFO: Packet analysis {"connection_id":111195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:58] local.INFO: Extracted packet for processing {"connection_id":111195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250433280001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:56: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-06-23 20:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228276000,"timestamp_ms":1782228276000,"timestamp_seconds":1782228276,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5155320"} 
[2026-06-23 20:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:56: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-06-23 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 20:56:58] 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-06-23 20:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250433280001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250433280001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:56:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250433280001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":111195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:56:58] local.INFO: GPS data processed {"connection_id":111195,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:56:58] local.INFO: Acknowledgment sent {"connection_id":111195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:57:01] local.INFO: TCP Data received {"connection_id":111373,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5155320012ced35c00713fb200019007630..."} 
[2026-06-23 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5155320012ced35c00713fb200019007630..."} 
[2026-06-23 20:57:01] local.INFO: Processing buffer {"connection_id":111373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5155320012ced35c00713fb200019007630..."} 
[2026-06-23 20:57:01] local.INFO: Packet analysis {"connection_id":111373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:01] local.INFO: Extracted packet for processing {"connection_id":111373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":753743296,"raw_latitude":118749984,"longitude_deg":75.3743296,"latitude_deg":11.8749984,"altitude":25,"angle":118,"satellites":48,"speed":15,"hex_longitude":"2ced35c0","hex_latitude":"0713fb20","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250437376001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321754867934691328,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1355513088694087680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782228276000,"timestamp_ms":1782228276000,"timestamp_seconds":1782228276,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5155320"} 
[2026-06-23 20:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:57:01] 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-06-23 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 20:57:01] 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-06-23 20: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-06-23 20:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250437376001,"66":27332,"142":206,"2":54272,"24":15,"16":321754867934691328,"44":-1355513088694087680},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-06-23 20:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250437376001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-23 20:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321754867934691328,"km_value":321754867934691.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1355513088694087680,"description":"Unknown IO ID 44"} 
[2026-06-23 20:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250437376001,"power":27332,"unknown_142":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1355513088694087680}} 
[2026-06-23 20:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":111373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:57:01] local.INFO: GPS data processed {"connection_id":111373,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:57:01] local.INFO: Acknowledgment sent {"connection_id":111373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:57:23] local.INFO: TCP Data received {"connection_id":112009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:57:23] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:57:23] local.INFO: IMEI packet received {"connection_id":112009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":112009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:57:28] local.INFO: TCP Data received {"connection_id":112009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:57:28] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:57:28] local.INFO: IMEI packet received {"connection_id":112009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":112009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:57:28] local.INFO: TCP Data received {"connection_id":111195,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef515a528012d196580071feec80042006c29..."} 
[2026-06-23 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef515a528012d196580071feec80042006c29..."} 
[2026-06-23 20:57:28] local.INFO: Processing buffer {"connection_id":111195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef515a528012d196580071feec80042006c29..."} 
[2026-06-23 20:57:28] local.INFO: Packet analysis {"connection_id":111195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:28] local.INFO: Extracted packet for processing {"connection_id":111195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250438656001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228297000,"timestamp_ms":1782228297000,"timestamp_seconds":1782228297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef515a528"} 
[2026-06-23 20:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:57:28] 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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-787262523175003803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,1,45,128,238,66,36,10,175,37,93,240,255,227,245,31,4,113,205,184,101,200,39,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250438656001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250438656001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250438656001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":111195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:57:28] local.INFO: GPS data processed {"connection_id":111195,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:57:28] local.INFO: Acknowledgment sent {"connection_id":111195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:57:29] local.INFO: TCP Data received {"connection_id":112009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5156a90012ced40400713f6b80019006b31..."} 
[2026-06-23 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5156a90012ced40400713f6b80019006b31..."} 
[2026-06-23 20:57:29] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5156a90012ced40400713f6b80019006b31..."} 
[2026-06-23 20:57:29] local.INFO: Packet analysis {"connection_id":112009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:29] local.INFO: Extracted packet for processing {"connection_id":112009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:29] local.INFO: GPS Element Parsed {"raw_longitude":753745984,"raw_latitude":118748856,"longitude_deg":75.3745984,"latitude_deg":11.8748856,"altitude":25,"angle":107,"satellites":49,"speed":21,"hex_longitude":"2ced4040","hex_latitude":"0713f6b8","is_valid_coordinates":true} 
[2026-06-23 20:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 20:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250438656001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321755005373644800,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353964976322437120,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228282000,"timestamp_ms":1782228282000,"timestamp_seconds":1782228282,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5156a90"} 
[2026-06-23 20:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:57:29] 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-06-23 20:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 20:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 20:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250438656001,"66":27376,"142":206,"2":54272,"24":21,"16":321755005373644800,"44":-1353964976322437120},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-06-23 20:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250438656001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:57:29] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-06-23 20:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321755005373644800,"km_value":321755005373644.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353964976322437120,"description":"Unknown IO ID 44"} 
[2026-06-23 20:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250438656001,"power":27376,"unknown_142":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1353964976322437120}} 
[2026-06-23 20:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":112009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:57:29] local.INFO: GPS data processed {"connection_id":112009,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:57:29] local.INFO: Acknowledgment sent {"connection_id":112009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:57:51] local.INFO: TCP Data received {"connection_id":112938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:57:51] local.INFO: Processing buffer {"connection_id":112938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:57:51] local.INFO: IMEI packet received {"connection_id":112938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":112938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:57:57] local.INFO: TCP Data received {"connection_id":112938,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:57:57] local.INFO: Processing buffer {"connection_id":112938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:57:57] local.INFO: IMEI packet received {"connection_id":112938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":112938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:57:57] local.INFO: TCP Data received {"connection_id":112938,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef515f730012d196580071feec80042006c28..."} 
[2026-06-23 20:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef515f730012d196580071feec80042006c28..."} 
[2026-06-23 20:57:57] local.INFO: Processing buffer {"connection_id":112938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef515f730012d196580071feec80042006c28..."} 
[2026-06-23 20:57:57] local.INFO: Packet analysis {"connection_id":112938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:57] local.INFO: Extracted packet for processing {"connection_id":112938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef515"} 
[2026-06-23 20:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250444032001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782228318000,"timestamp_ms":1782228318000,"timestamp_seconds":1782228318,"priority":1,"record_length":96,"hex_timestamp":"0000019ef515f730"} 
[2026-06-23 20:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:57: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-06-23 20:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 20:57:57] 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-06-23 20: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-06-23 20:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250444032001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250444032001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:57:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250444032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":112938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:57:58] local.INFO: GPS data processed {"connection_id":112938,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:57:58] local.INFO: Acknowledgment sent {"connection_id":112938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:58:01] local.INFO: TCP Data received {"connection_id":112009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5176660012ceeb8400713e260002500562e..."} 
[2026-06-23 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5176660012ceeb8400713e260002500562e..."} 
[2026-06-23 20:58:01] local.INFO: Processing buffer {"connection_id":112009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5176660012ceeb8400713e260002500562e..."} 
[2026-06-23 20:58:01] local.INFO: Packet analysis {"connection_id":112009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 20:58:01] local.INFO: Extracted packet for processing {"connection_id":112009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 20:58:01] local.INFO: GPS Element Parsed {"raw_longitude":753842240,"raw_latitude":118743648,"longitude_deg":75.384224,"latitude_deg":11.8743648,"altitude":37,"angle":86,"satellites":46,"speed":18,"hex_longitude":"2ceeb840","hex_latitude":"0713e260","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250470144001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321759609578586112,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1255519103219890176,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782228412000,"timestamp_ms":1782228412000,"timestamp_seconds":1782228412,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5176660"} 
[2026-06-23 20:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:58:01] 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-06-23 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 20:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250470144001,"66":26832,"206":206,"2":54272,"24":18,"16":321759609578586112,"44":-1255519103219890176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-23 20:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250470144001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:58:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-23 20:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321759609578586112,"km_value":321759609578586.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1255519103219890176,"description":"Unknown IO ID 44"} 
[2026-06-23 20:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250470144001,"power":26832,"unknown_206":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1255519103219890176}} 
[2026-06-23 20:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":112009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:58:01] local.INFO: GPS data processed {"connection_id":112009,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:58:01] local.INFO: Acknowledgment sent {"connection_id":112009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:58:23] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:58:23] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:58:23] local.INFO: IMEI packet received {"connection_id":111196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":111196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:58:28] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:58:28] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:58:28] local.INFO: IMEI packet received {"connection_id":111196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":111196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:58:28] local.INFO: TCP Data received {"connection_id":112938,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5164938012d196580071feec80042006c29..."} 
[2026-06-23 20:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5164938012d196580071feec80042006c29..."} 
[2026-06-23 20:58:28] local.INFO: Processing buffer {"connection_id":112938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5164938012d196580071feec80042006c29..."} 
[2026-06-23 20:58:28] local.INFO: Packet analysis {"connection_id":112938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef516"} 
[2026-06-23 20:58:28] local.INFO: Extracted packet for processing {"connection_id":112938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef516"} 
[2026-06-23 20:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250449408001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228339000,"timestamp_ms":1782228339000,"timestamp_seconds":1782228339,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5164938"} 
[2026-06-23 20:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:58:28] 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-06-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 20:58:28] 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-06-23 20: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-06-23 20:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250449408001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250449408001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250449408001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":112938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:58:28] local.INFO: GPS data processed {"connection_id":112938,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:58:28] local.INFO: Acknowledgment sent {"connection_id":112938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:58:29] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef517a0f8012ceedd800713e188002800612d..."} 
[2026-06-23 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef517a0f8012ceedd800713e188002800612d..."} 
[2026-06-23 20:58:29] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef517a0f8012ceedd800713e188002800612d..."} 
[2026-06-23 20:58:29] local.INFO: Packet analysis {"connection_id":111196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 20:58:29] local.INFO: Extracted packet for processing {"connection_id":111196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":753851776,"raw_latitude":118743432,"longitude_deg":75.3851776,"latitude_deg":11.8743432,"altitude":40,"angle":97,"satellites":45,"speed":22,"hex_longitude":"2ceedd80","hex_latitude":"0713e188","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250473472001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321760064845119488,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1245174897825390592,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228427000,"timestamp_ms":1782228427000,"timestamp_seconds":1782228427,"priority":1,"record_length":96,"hex_timestamp":"0000019ef517a0f8"} 
[2026-06-23 20:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:58:29] 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-06-23 20: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-23 20:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 20: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-06-23 20:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250473472001,"66":27343,"71":206,"2":54272,"24":22,"16":321760064845119488,"44":-1245174897825390592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-06-23 20:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250473472001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:58:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 20:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321760064845119488,"km_value":321760064845119.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1245174897825390592,"description":"Unknown IO ID 44"} 
[2026-06-23 20:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250473472001,"power":27343,"unknown_71":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1245174897825390592}} 
[2026-06-23 20:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":111196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:58:29] local.INFO: GPS data processed {"connection_id":111196,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:58:29] local.INFO: Acknowledgment sent {"connection_id":111196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:58:51] local.INFO: TCP Data received {"connection_id":112939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:58:51] local.INFO: Processing buffer {"connection_id":112939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:58:51] local.INFO: IMEI packet received {"connection_id":112939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":112939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:58:57] local.INFO: TCP Data received {"connection_id":112939,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:58:57] local.INFO: Processing buffer {"connection_id":112939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:58:57] local.INFO: IMEI packet received {"connection_id":112939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 20:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":112939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:58:58] local.INFO: TCP Data received {"connection_id":112939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5169b40012d196580071feec80042006c28..."} 
[2026-06-23 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5169b40012d196580071feec80042006c28..."} 
[2026-06-23 20:58:58] local.INFO: Processing buffer {"connection_id":112939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5169b40012d196580071feec80042006c28..."} 
[2026-06-23 20:58:58] local.INFO: Packet analysis {"connection_id":112939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef516"} 
[2026-06-23 20:58:58] local.INFO: Extracted packet for processing {"connection_id":112939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef516"} 
[2026-06-23 20:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250454784001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58: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-06-23 20:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228360000,"timestamp_ms":1782228360000,"timestamp_seconds":1782228360,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5169b40"} 
[2026-06-23 20:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:58: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-06-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786991940235355803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:58:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,247,45,128,238,66,40,10,165,41,1,240,227,245,31,4,113,205,175,101,200,37,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:58:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 20:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250454784001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250454784001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:58:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250454784001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":112939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:58:58] local.INFO: GPS data processed {"connection_id":112939,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:58:58] local.INFO: Acknowledgment sent {"connection_id":112939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:59:01] local.INFO: TCP Data received {"connection_id":111196,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef517d3c0012cef03000713dbe8002a00612f..."} 
[2026-06-23 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef517d3c0012cef03000713dbe8002a00612f..."} 
[2026-06-23 20:59:01] local.INFO: Processing buffer {"connection_id":111196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef517d3c0012cef03000713dbe8002a00612f..."} 
[2026-06-23 20:59:01] local.INFO: Packet analysis {"connection_id":111196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 20:59:01] local.INFO: Extracted packet for processing {"connection_id":111196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":753861376,"raw_latitude":118741992,"longitude_deg":75.3861376,"latitude_deg":11.8741992,"altitude":42,"angle":97,"satellites":47,"speed":37,"hex_longitude":"2cef0300","hex_latitude":"0713dbe8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250477312001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321760524406620160,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1234689954942973952,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782228440000,"timestamp_ms":1782228440000,"timestamp_seconds":1782228440,"priority":1,"record_length":96,"hex_timestamp":"0000019ef517d3c0"} 
[2026-06-23 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-06-23 20:59:01] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 20:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 20:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250477312001,"66":27289,"71":206,"2":54272,"24":37,"16":321760524406620160,"44":-1234689954942973952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-06-23 20:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250477312001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-23 20:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321760524406620160,"km_value":321760524406620.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1234689954942973952,"description":"Unknown IO ID 44"} 
[2026-06-23 20:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250477312001,"power":27289,"unknown_71":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1234689954942973952}} 
[2026-06-23 20:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":111196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:59:01] local.INFO: GPS data processed {"connection_id":111196,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:59:01] local.INFO: Acknowledgment sent {"connection_id":111196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:59:23] local.INFO: TCP Data received {"connection_id":111375,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:23] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:23] local.INFO: IMEI packet received {"connection_id":111375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 20:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 20:59:25] local.INFO: TCP Data received {"connection_id":111375,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:25] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:25] local.INFO: IMEI packet received {"connection_id":111375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":111375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:59:25] local.INFO: TCP Data received {"connection_id":111375,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:25] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:25] local.INFO: IMEI packet received {"connection_id":111375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":111375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:59:28] local.INFO: TCP Data received {"connection_id":111375,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:28] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 20:59:28] local.INFO: IMEI packet received {"connection_id":111375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 20:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 20:59:28] local.INFO: TCP Data received {"connection_id":112939,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef516ed48012d196580071feec80042006c2a..."} 
[2026-06-23 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef516ed48012d196580071feec80042006c2a..."} 
[2026-06-23 20:59:28] local.INFO: Processing buffer {"connection_id":112939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef516ed48012d196580071feec80042006c2a..."} 
[2026-06-23 20:59:28] local.INFO: Packet analysis {"connection_id":112939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef516"} 
[2026-06-23 20:59:28] local.INFO: Extracted packet for processing {"connection_id":112939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef516"} 
[2026-06-23 20:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250460160001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228381000,"timestamp_ms":1782228381000,"timestamp_seconds":1782228381,"priority":1,"record_length":96,"hex_timestamp":"0000019ef516ed48"} 
[2026-06-23 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-06-23 20:59:28] 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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786901745922139803,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":12289,"corrected_to":0} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,73,45,128,238,66,41,10,247,40,165,1,240,31,227,245,4,113,205,101,200,36,239,46,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":247,"original":12289,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 20:59:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 20:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 20:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 20:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 20:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250460160001,"66":12178,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 20:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 20:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 20:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250460160001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 20:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 20:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 20:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250460160001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 20:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":112939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:59:28] local.INFO: GPS data processed {"connection_id":112939,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:59:28] local.INFO: Acknowledgment sent {"connection_id":112939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:59:29] local.INFO: TCP Data received {"connection_id":111375,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5190088012ceff740071394000022006f30..."} 
[2026-06-23 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5190088012ceff740071394000022006f30..."} 
[2026-06-23 20:59:29] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5190088012ceff740071394000022006f30..."} 
[2026-06-23 20:59:29] local.INFO: Packet analysis {"connection_id":111375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 20:59:29] local.INFO: Extracted packet for processing {"connection_id":111375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 20:59:29] local.INFO: GPS Element Parsed {"raw_longitude":753923904,"raw_latitude":118723584,"longitude_deg":75.3923904,"latitude_deg":11.8723584,"altitude":34,"angle":111,"satellites":48,"speed":40,"hex_longitude":"2ceff740","hex_latitude":"07139400","is_valid_coordinates":true} 
[2026-06-23 20: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-06-23 20:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250498048001,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321763732747190272,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1165798954397370368,"note":"Value kept but may cause issues"} 
[2026-06-23 20:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 20:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228517000,"timestamp_ms":1782228517000,"timestamp_seconds":1782228517,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5190088"} 
[2026-06-23 20:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 20:59:29] 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-06-23 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 20:59:29] 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-06-23 20: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-06-23 20:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 20:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 20:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 20:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 20:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 20:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 20:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 20:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250498048001,"66":27376,"64":206,"2":54272,"24":40,"16":321763732747190272,"44":-1165798954397370368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 20:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 20:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 20:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250498048001,"description":"Unknown IO ID 0"} 
[2026-06-23 20:59:29] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 20:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321763732747190272,"km_value":321763732747190.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 20:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1165798954397370368,"description":"Unknown IO ID 44"} 
[2026-06-23 20:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250498048001,"power":27376,"unknown_64":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1165798954397370368}} 
[2026-06-23 20:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":111375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 20:59:29] local.INFO: GPS data processed {"connection_id":111375,"processed":1,"errors":0,"total":1} 
[2026-06-23 20:59:29] local.INFO: Acknowledgment sent {"connection_id":111375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 20:59:57] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:59:57] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 20:59:57] local.INFO: IMEI packet received {"connection_id":111376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 20:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":111376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:00:00] local.INFO: TCP Data received {"connection_id":111375,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5192798012cf01980071383900022007a2f..."} 
[2026-06-23 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5192798012cf01980071383900022007a2f..."} 
[2026-06-23 21:00:00] local.INFO: Processing buffer {"connection_id":111375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5192798012cf01980071383900022007a2f..."} 
[2026-06-23 21:00:00] local.INFO: Packet analysis {"connection_id":111375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:00:00] local.INFO: Extracted packet for processing {"connection_id":111375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:00:00] local.INFO: GPS Element Parsed {"raw_longitude":753932672,"raw_latitude":118719376,"longitude_deg":75.3932672,"latitude_deg":11.8719376,"altitude":34,"angle":122,"satellites":47,"speed":37,"hex_longitude":"2cf01980","hex_latitude":"07138390","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250500352001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321764196603658240,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1155384380259827712,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782228527000,"timestamp_ms":1782228527000,"timestamp_seconds":1782228527,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5192798"} 
[2026-06-23 21:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:00:00] 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-06-23 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 21:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250500352001,"66":27397,"64":206,"2":54272,"24":37,"16":321764196603658240,"44":-1155384380259827712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250500352001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:00:00] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321764196603658240,"km_value":321764196603658.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1155384380259827712,"description":"Unknown IO ID 44"} 
[2026-06-23 21:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250500352001,"power":27397,"unknown_64":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1155384380259827712}} 
[2026-06-23 21:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":111375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:00:00] local.INFO: GPS data processed {"connection_id":111375,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:00:00] local.INFO: Acknowledgment sent {"connection_id":111375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:00:02] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:02] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:02] local.INFO: IMEI packet received {"connection_id":111376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":111376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:00:02] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5173f50012d196580071feec80042006c28..."} 
[2026-06-23 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5173f50012d196580071feec80042006c28..."} 
[2026-06-23 21:00:02] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5173f50012d196580071feec80042006c28..."} 
[2026-06-23 21:00:02] local.INFO: Packet analysis {"connection_id":111376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 21:00:02] local.INFO: Extracted packet for processing {"connection_id":111376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 21:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250465536001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782228402000,"timestamp_ms":1782228402000,"timestamp_seconds":1782228402,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5173f50"} 
[2026-06-23 21:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:00: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-06-23 21: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 21:00:02] 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-06-23 21: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-06-23 21:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250465536001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250465536001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250465536001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":111376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:00:03] local.INFO: GPS data processed {"connection_id":111376,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:00:03] local.INFO: Acknowledgment sent {"connection_id":111376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:00:07] local.INFO: TCP Data received {"connection_id":111376,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5179158012d196580071feec80042006c27..."} 
[2026-06-23 21:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5179158012d196580071feec80042006c27..."} 
[2026-06-23 21:00:07] local.INFO: Processing buffer {"connection_id":111376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5179158012d196580071feec80042006c27..."} 
[2026-06-23 21:00:07] local.INFO: Packet analysis {"connection_id":111376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 21:00:07] local.INFO: Extracted packet for processing {"connection_id":111376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 21:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250470912001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782228423000,"timestamp_ms":1782228423000,"timestamp_seconds":1782228423,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5179158"} 
[2026-06-23 21:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:00: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-06-23 21:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 21:00:07] 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-06-23 21:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250470912001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250470912001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250470912001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":111376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:00:07] local.INFO: GPS data processed {"connection_id":111376,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:00:07] local.INFO: Acknowledgment sent {"connection_id":111376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:00:23] local.INFO: TCP Data received {"connection_id":111377,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:00:23] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:00:23] local.INFO: IMEI packet received {"connection_id":111377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":111377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:00:28] local.INFO: TCP Data received {"connection_id":111377,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:00:28] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:00:28] local.INFO: IMEI packet received {"connection_id":111377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":111377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:00:29] local.INFO: TCP Data received {"connection_id":111377,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5192798012cf01980071383900022007a2f..."} 
[2026-06-23 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5192798012cf01980071383900022007a2f..."} 
[2026-06-23 21:00:29] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5192798012cf01980071383900022007a2f..."} 
[2026-06-23 21:00:29] local.INFO: Packet analysis {"connection_id":111377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:00:29] local.INFO: Extracted packet for processing {"connection_id":111377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":753932672,"raw_latitude":118719376,"longitude_deg":75.3932672,"latitude_deg":11.8719376,"altitude":34,"angle":122,"satellites":47,"speed":37,"hex_longitude":"2cf01980","hex_latitude":"07138390","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250502912001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321764196603658240,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1145743862308564992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228527000,"timestamp_ms":1782228527000,"timestamp_seconds":1782228527,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5192798"} 
[2026-06-23 21:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:00:29] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250502912001,"66":27397,"64":206,"2":54272,"24":37,"16":321764196603658240,"44":-1145743862308564992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250502912001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:00:29] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321764196603658240,"km_value":321764196603658.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1145743862308564992,"description":"Unknown IO ID 44"} 
[2026-06-23 21:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250502912001,"power":27397,"unknown_64":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1145743862308564992}} 
[2026-06-23 21:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":111377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:00:29] local.INFO: GPS data processed {"connection_id":111377,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:00:29] local.INFO: Acknowledgment sent {"connection_id":111377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:00:36] local.INFO: TCP Data received {"connection_id":111197,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:00:36] local.INFO: Processing buffer {"connection_id":111197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:00:36] local.INFO: IMEI packet received {"connection_id":111197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":111197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:00:50] local.INFO: TCP Data received {"connection_id":111198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:50] local.INFO: Processing buffer {"connection_id":111198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:50] local.INFO: IMEI packet received {"connection_id":111198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":111198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:00:51] local.INFO: TCP Data received {"connection_id":111198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:51] local.INFO: Processing buffer {"connection_id":111198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:51] local.INFO: IMEI packet received {"connection_id":111198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":111198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:00:57] local.INFO: TCP Data received {"connection_id":111198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:57] local.INFO: Processing buffer {"connection_id":111198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:00:57] local.INFO: IMEI packet received {"connection_id":111198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":111198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:00:58] local.INFO: TCP Data received {"connection_id":111198,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef517e360012d196580071feec80042006c28..."} 
[2026-06-23 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef517e360012d196580071feec80042006c28..."} 
[2026-06-23 21:00:58] local.INFO: Processing buffer {"connection_id":111198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef517e360012d196580071feec80042006c28..."} 
[2026-06-23 21:00:58] local.INFO: Packet analysis {"connection_id":111198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 21:00:58] local.INFO: Extracted packet for processing {"connection_id":111198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef517"} 
[2026-06-23 21:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250476288001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00: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-06-23 21:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228444000,"timestamp_ms":1782228444000,"timestamp_seconds":1782228444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef517e360"} 
[2026-06-23 21:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:00: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-06-23 21:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786631162982491803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:00:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":805383449,"corrected_to":0} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:00:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,63,45,128,238,66,40,10,237,42,155,1,240,227,245,31,4,113,205,247,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":247,"original":805383449,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:00:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250476288001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250476288001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:00:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250476288001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":111198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:00:58] local.INFO: GPS data processed {"connection_id":111198,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:00:58] local.INFO: Acknowledgment sent {"connection_id":111198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:01:00] local.INFO: TCP Data received {"connection_id":111377,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5194ac0012cf03640071374000024006f31..."} 
[2026-06-23 21:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5194ac0012cf03640071374000024006f31..."} 
[2026-06-23 21:01:00] local.INFO: Processing buffer {"connection_id":111377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5194ac0012cf03640071374000024006f31..."} 
[2026-06-23 21:01:00] local.INFO: Packet analysis {"connection_id":111377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:01:00] local.INFO: Extracted packet for processing {"connection_id":111377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:01:00] local.INFO: GPS Element Parsed {"raw_longitude":753940032,"raw_latitude":118715392,"longitude_deg":75.3940032,"latitude_deg":11.8715392,"altitude":36,"angle":111,"satellites":49,"speed":33,"hex_longitude":"2cf03640","hex_latitude":"07137400","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250502912001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321764600330584064,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1145743862308564992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782228536000,"timestamp_ms":1782228536000,"timestamp_seconds":1782228536,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5194ac0"} 
[2026-06-23 21:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:01:00] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250502912001,"66":27484,"64":206,"2":54272,"24":33,"16":321764600330584064,"44":-1145743862308564992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250502912001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:01:00] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321764600330584064,"km_value":321764600330584.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1145743862308564992,"description":"Unknown IO ID 44"} 
[2026-06-23 21:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250502912001,"power":27484,"unknown_64":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1145743862308564992}} 
[2026-06-23 21:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":111377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:01:00] local.INFO: GPS data processed {"connection_id":111377,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:01:00] local.INFO: Acknowledgment sent {"connection_id":111377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:01:06] local.INFO: TCP Data received {"connection_id":111199,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:01:06] local.INFO: Processing buffer {"connection_id":111199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:01:06] local.INFO: IMEI packet received {"connection_id":111199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":111199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:01:28] local.INFO: TCP Data received {"connection_id":112940,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:01:28] local.INFO: Processing buffer {"connection_id":112940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:01:28] local.INFO: IMEI packet received {"connection_id":112940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":112940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:01:28] local.INFO: TCP Data received {"connection_id":111198,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5183568012d196580071feec80042006c2a..."} 
[2026-06-23 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5183568012d196580071feec80042006c2a..."} 
[2026-06-23 21:01:28] local.INFO: Processing buffer {"connection_id":111198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5183568012d196580071feec80042006c2a..."} 
[2026-06-23 21:01:28] local.INFO: Packet analysis {"connection_id":111198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef518"} 
[2026-06-23 21:01:28] local.INFO: Extracted packet for processing {"connection_id":111198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef518"} 
[2026-06-23 21:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250481664001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228465000,"timestamp_ms":1782228465000,"timestamp_seconds":1782228465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5183568"} 
[2026-06-23 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-06-23 21:01:28] 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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786540968669275803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:01:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,145,45,128,238,66,39,10,63,40,237,1,240,146,227,245,31,4,113,205,73,101,200,41,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:01:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 21:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250481664001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250481664001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250481664001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":111198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:01:29] local.INFO: GPS data processed {"connection_id":111198,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:01:29] local.INFO: Acknowledgment sent {"connection_id":111198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:01:33] local.INFO: TCP Data received {"connection_id":112940,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:01:33] local.INFO: Processing buffer {"connection_id":112940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:01:33] local.INFO: IMEI packet received {"connection_id":112940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":112940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:01:34] local.INFO: TCP Data received {"connection_id":112940,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5199cc8012cf0530007136b680027006731..."} 
[2026-06-23 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5199cc8012cf0530007136b680027006731..."} 
[2026-06-23 21:01:34] local.INFO: Processing buffer {"connection_id":112940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5199cc8012cf0530007136b680027006731..."} 
[2026-06-23 21:01:34] local.INFO: Packet analysis {"connection_id":112940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:01:34] local.INFO: Extracted packet for processing {"connection_id":112940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":753947392,"raw_latitude":118713192,"longitude_deg":75.3947392,"latitude_deg":11.8713192,"altitude":39,"angle":103,"satellites":49,"speed":5,"hex_longitude":"2cf05300","hex_latitude":"07136b68","is_valid_coordinates":true} 
[2026-06-23 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250505216001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321764965402804224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1137651456729153536,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782228557000,"timestamp_ms":1782228557000,"timestamp_seconds":1782228557,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5199cc8"} 
[2026-06-23 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:01: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-06-23 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:01:34] 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-06-23 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250505216001,"66":27397,"64":206,"2":54272,"24":5,"16":321764965402804224,"44":-1137651456729153536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250505216001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321764965402804224,"km_value":321764965402804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1137651456729153536,"description":"Unknown IO ID 44"} 
[2026-06-23 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250505216001,"power":27397,"unknown_64":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1137651456729153536}} 
[2026-06-23 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":112940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:01:34] local.INFO: GPS data processed {"connection_id":112940,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:01:34] local.INFO: Acknowledgment sent {"connection_id":112940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:01:36] local.INFO: TCP Data received {"connection_id":112940,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef519eed0012cf064c0071369480028005e2f..."} 
[2026-06-23 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef519eed0012cf064c0071369480028005e2f..."} 
[2026-06-23 21:01:36] local.INFO: Processing buffer {"connection_id":112940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef519eed0012cf064c0071369480028005e2f..."} 
[2026-06-23 21:01:36] local.INFO: Packet analysis {"connection_id":112940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:01:36] local.INFO: Extracted packet for processing {"connection_id":112940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":753951936,"raw_latitude":118712648,"longitude_deg":75.3951936,"latitude_deg":11.8712648,"altitude":40,"angle":94,"satellites":47,"speed":10,"hex_longitude":"2cf064c0","hex_latitude":"07136948","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250510592001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321765184446136320,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129559051149285376,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782228578000,"timestamp_ms":1782228578000,"timestamp_seconds":1782228578,"priority":1,"record_length":96,"hex_timestamp":"0000019ef519eed0"} 
[2026-06-23 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:01: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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250510592001,"66":27169,"64":206,"2":54272,"24":10,"16":321765184446136320,"44":-1129559051149285376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250510592001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321765184446136320,"km_value":321765184446136.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129559051149285376,"description":"Unknown IO ID 44"} 
[2026-06-23 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250510592001,"power":27169,"unknown_64":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1129559051149285376}} 
[2026-06-23 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":112940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:01:36] local.INFO: GPS data processed {"connection_id":112940,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:01:36] local.INFO: Acknowledgment sent {"connection_id":112940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:01:52] local.INFO: TCP Data received {"connection_id":111378,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:52] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:52] local.INFO: IMEI packet received {"connection_id":111378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":111378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:01:53] local.INFO: TCP Data received {"connection_id":111378,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:53] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:53] local.INFO: IMEI packet received {"connection_id":111378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":111378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:01:57] local.INFO: TCP Data received {"connection_id":111378,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:57] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:01:57] local.INFO: IMEI packet received {"connection_id":111378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":111378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:01:58] local.INFO: TCP Data received {"connection_id":111378,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5188770012d196580071feec80042006c2a..."} 
[2026-06-23 21:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5188770012d196580071feec80042006c2a..."} 
[2026-06-23 21:01:58] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5188770012d196580071feec80042006c2a..."} 
[2026-06-23 21:01:58] local.INFO: Packet analysis {"connection_id":111378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef518"} 
[2026-06-23 21:01:58] local.INFO: Extracted packet for processing {"connection_id":111378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef518"} 
[2026-06-23 21:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250487040001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01: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-06-23 21:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228486000,"timestamp_ms":1782228486000,"timestamp_seconds":1782228486,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5188770"} 
[2026-06-23 21:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:01: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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786450774356059803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:01:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:01:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,227,45,128,238,66,40,10,145,39,63,1,240,31,245,4,113,205,155,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:01:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920134147670016,"timestamp_seconds":4755920134147670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250487040001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250487040001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:01:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250487040001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":111378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:01:58] local.INFO: GPS data processed {"connection_id":111378,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:01:58] local.INFO: Acknowledgment sent {"connection_id":111378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:02:02] local.INFO: TCP Data received {"connection_id":111378,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef518d978012d196580071feec80042006c28..."} 
[2026-06-23 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef518d978012d196580071feec80042006c28..."} 
[2026-06-23 21:02:02] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef518d978012d196580071feec80042006c28..."} 
[2026-06-23 21:02:02] local.INFO: Packet analysis {"connection_id":111378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef518"} 
[2026-06-23 21:02:02] local.INFO: Extracted packet for processing {"connection_id":111378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef518"} 
[2026-06-23 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250492416001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782228507000,"timestamp_ms":1782228507000,"timestamp_seconds":1782228507,"priority":1,"record_length":96,"hex_timestamp":"0000019ef518d978"} 
[2026-06-23 21:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:02:02] 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-06-23 21:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 21:02:02] 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-06-23 21:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250492416001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250492416001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250492416001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":111378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:02:02] local.INFO: GPS data processed {"connection_id":111378,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:02:02] local.INFO: Acknowledgment sent {"connection_id":111378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:02:07] local.INFO: TCP Data received {"connection_id":112940,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51a0640012cf06c0007136938002900522f..."} 
[2026-06-23 21:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51a0640012cf06c0007136938002900522f..."} 
[2026-06-23 21:02:07] local.INFO: Processing buffer {"connection_id":112940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51a0640012cf06c0007136938002900522f..."} 
[2026-06-23 21:02:07] local.INFO: Packet analysis {"connection_id":112940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:02:07] local.INFO: Extracted packet for processing {"connection_id":112940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:02:07] local.INFO: GPS Element Parsed {"raw_longitude":753953792,"raw_latitude":118712632,"longitude_deg":75.3953792,"latitude_deg":11.8712632,"altitude":41,"angle":82,"satellites":47,"speed":11,"hex_longitude":"2cf06c00","hex_latitude":"07136938","is_valid_coordinates":true} 
[2026-06-23 21:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250515968001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321765270345482240,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1124562870312810496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782228584000,"timestamp_ms":1782228584000,"timestamp_seconds":1782228584,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51a0640"} 
[2026-06-23 21:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:02:07] 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-06-23 21:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 21:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250515968001,"66":27365,"64":206,"2":54272,"24":11,"16":321765270345482240,"44":-1124562870312810496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250515968001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:02:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321765270345482240,"km_value":321765270345482.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:02:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1124562870312810496,"description":"Unknown IO ID 44"} 
[2026-06-23 21:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250515968001,"power":27365,"unknown_64":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-1124562870312810496}} 
[2026-06-23 21:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":112940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:02:07] local.INFO: GPS data processed {"connection_id":112940,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:02:07] local.INFO: Acknowledgment sent {"connection_id":112940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:02:23] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:02:23] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:02:23] local.INFO: IMEI packet received {"connection_id":111201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:02:28] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:02:28] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:02:28] local.INFO: IMEI packet received {"connection_id":111201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":111201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:02:30] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51a2d50012cf0774007136bb0002900472e..."} 
[2026-06-23 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51a2d50012cf0774007136bb0002900472e..."} 
[2026-06-23 21:02:30] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51a2d50012cf0774007136bb0002900472e..."} 
[2026-06-23 21:02:30] local.INFO: Packet analysis {"connection_id":111201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:02:30] local.INFO: Extracted packet for processing {"connection_id":111201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":753956672,"raw_latitude":118713264,"longitude_deg":75.3956672,"latitude_deg":11.8713264,"altitude":41,"angle":71,"satellites":46,"speed":15,"hex_longitude":"2cf07740","hex_latitude":"07136bb0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250517504001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321765412079403008,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122522176731662336,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782228594000,"timestamp_ms":1782228594000,"timestamp_seconds":1782228594,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51a2d50"} 
[2026-06-23 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-06-23 21:02:30] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250517504001,"66":27484,"64":206,"2":54272,"24":15,"16":321765412079403008,"44":-1122522176731662336},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250517504001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:02:30] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321765412079403008,"km_value":321765412079403.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122522176731662336,"description":"Unknown IO ID 44"} 
[2026-06-23 21:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250517504001,"power":27484,"unknown_64":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1122522176731662336}} 
[2026-06-23 21:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":111201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:02:30] local.INFO: GPS data processed {"connection_id":111201,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:02:30] local.INFO: Acknowledgment sent {"connection_id":111201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:02:33] local.INFO: TCP Data received {"connection_id":111378,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5192b80012d196580071feec80042006c28..."} 
[2026-06-23 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5192b80012d196580071feec80042006c28..."} 
[2026-06-23 21:02:33] local.INFO: Processing buffer {"connection_id":111378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5192b80012d196580071feec80042006c28..."} 
[2026-06-23 21:02:33] local.INFO: Packet analysis {"connection_id":111378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:02:33] local.INFO: Extracted packet for processing {"connection_id":111378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250497792001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02: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-06-23 21:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782228528000,"timestamp_ms":1782228528000,"timestamp_seconds":1782228528,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5192b80"} 
[2026-06-23 21:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:02: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-06-23 21: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 21:02: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-06-23 21: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-06-23 21:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250497792001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250497792001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250497792001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":111378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:02:33] local.INFO: GPS data processed {"connection_id":111378,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:02:33] local.INFO: Acknowledgment sent {"connection_id":111378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:02:52] local.INFO: TCP Data received {"connection_id":112011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:02:52] local.INFO: Processing buffer {"connection_id":112011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:02:52] local.INFO: IMEI packet received {"connection_id":112011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":112011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:02:56] local.INFO: TCP Data received {"connection_id":112011,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:02:56] local.INFO: Processing buffer {"connection_id":112011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:02:56] local.INFO: IMEI packet received {"connection_id":112011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":112011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:02:57] local.INFO: TCP Data received {"connection_id":112011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5197d88012d196580071feec80042006c28..."} 
[2026-06-23 21:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5197d88012d196580071feec80042006c28..."} 
[2026-06-23 21:02:57] local.INFO: Processing buffer {"connection_id":112011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5197d88012d196580071feec80042006c28..."} 
[2026-06-23 21:02:57] local.INFO: Packet analysis {"connection_id":112011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:02:57] local.INFO: Extracted packet for processing {"connection_id":112011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250503168001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782228549000,"timestamp_ms":1782228549000,"timestamp_seconds":1782228549,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5197d88"} 
[2026-06-23 21:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:02: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-06-23 21:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786180191416411803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:02:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:02:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,217,45,128,238,66,40,10,135,42,53,1,240,227,245,31,4,113,205,145,101,200,39,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:02:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250503168001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250503168001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250503168001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":112011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:02:57] local.INFO: GPS data processed {"connection_id":112011,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:02:57] local.INFO: Acknowledgment sent {"connection_id":112011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:03:00] local.INFO: TCP Data received {"connection_id":111201,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51a7f58012cf08940071371e0002a004732..."} 
[2026-06-23 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51a7f58012cf08940071371e0002a004732..."} 
[2026-06-23 21:03:00] local.INFO: Processing buffer {"connection_id":111201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51a7f58012cf08940071371e0002a004732..."} 
[2026-06-23 21:03:00] local.INFO: Packet analysis {"connection_id":111201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:03:00] local.INFO: Extracted packet for processing {"connection_id":111201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:03:00] local.INFO: GPS Element Parsed {"raw_longitude":753961280,"raw_latitude":118714848,"longitude_deg":75.396128,"latitude_deg":11.8714848,"altitude":42,"angle":71,"satellites":50,"speed":0,"hex_longitude":"2cf08940","hex_latitude":"071371e0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250520064001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321765644007636992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1119355583243505664,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782228615000,"timestamp_ms":1782228615000,"timestamp_seconds":1782228615,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51a7f58"} 
[2026-06-23 21:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:03:00] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:03:00] 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-06-23 21: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-06-23 21:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250520064001,"66":27321,"64":206,"2":54272,"24":0,"16":321765644007636992,"44":-1119355583243505664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-06-23 21:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250520064001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:03:00] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-06-23 21:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321765644007636992,"km_value":321765644007637.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1119355583243505664,"description":"Unknown IO ID 44"} 
[2026-06-23 21:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250520064001,"power":27321,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1119355583243505664}} 
[2026-06-23 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":111201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:03:01] local.INFO: GPS data processed {"connection_id":111201,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:03:01] local.INFO: Acknowledgment sent {"connection_id":111201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:03:23] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:03:23] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:03:23] local.INFO: IMEI packet received {"connection_id":112013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":112013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:03:28] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:03:28] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:03:28] local.INFO: IMEI packet received {"connection_id":112013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":112013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:03:28] local.INFO: TCP Data received {"connection_id":112011,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef519cf90012d196580071feec80042006c28..."} 
[2026-06-23 21:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef519cf90012d196580071feec80042006c28..."} 
[2026-06-23 21:03:28] local.INFO: Processing buffer {"connection_id":112011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef519cf90012d196580071feec80042006c28..."} 
[2026-06-23 21:03:28] local.INFO: Packet analysis {"connection_id":112011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:03:28] local.INFO: Extracted packet for processing {"connection_id":112011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef519"} 
[2026-06-23 21:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250508544001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228570000,"timestamp_ms":1782228570000,"timestamp_seconds":1782228570,"priority":1,"record_length":96,"hex_timestamp":"0000019ef519cf90"} 
[2026-06-23 21:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:03:28] 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-06-23 21:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-786089997103195803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:03:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:28] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,43,45,128,238,66,40,10,217,135,1,240,31,227,245,4,113,205,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:03:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250508544001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250508544001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:03:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250508544001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":112011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:03:28] local.INFO: GPS data processed {"connection_id":112011,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:03:28] local.INFO: Acknowledgment sent {"connection_id":112011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:03:29] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51c5800012cf1030007137aa00022006d2f..."} 
[2026-06-23 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51c5800012cf1030007137aa00022006d2f..."} 
[2026-06-23 21:03:29] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51c5800012cf1030007137aa00022006d2f..."} 
[2026-06-23 21:03:29] local.INFO: Packet analysis {"connection_id":112013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:03:29] local.INFO: Extracted packet for processing {"connection_id":112013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:03:29] local.INFO: GPS Element Parsed {"raw_longitude":753992448,"raw_latitude":118717088,"longitude_deg":75.3992448,"latitude_deg":11.8717088,"altitude":34,"angle":109,"satellites":47,"speed":36,"hex_longitude":"2cf10300","hex_latitude":"07137aa0","is_valid_coordinates":true} 
[2026-06-23 21:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250555904001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321767151541157888,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1081919411339905024,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228736000,"timestamp_ms":1782228736000,"timestamp_seconds":1782228736,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51c5800"} 
[2026-06-23 21:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:03:29] 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-06-23 21:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 21:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250555904001,"66":27397,"63":206,"2":54272,"24":36,"16":321767151541157888,"44":-1081919411339905024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-06-23 21:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250555904001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:03:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-23 21:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321767151541157888,"km_value":321767151541157.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1081919411339905024,"description":"Unknown IO ID 44"} 
[2026-06-23 21:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250555904001,"power":27397,"unknown_63":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1081919411339905024}} 
[2026-06-23 21:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":112013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:03:29] local.INFO: GPS data processed {"connection_id":112013,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:03:29] local.INFO: Acknowledgment sent {"connection_id":112013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:03:52] local.INFO: TCP Data received {"connection_id":112941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:03:52] local.INFO: Processing buffer {"connection_id":112941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:03:52] local.INFO: IMEI packet received {"connection_id":112941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":112941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:03:57] local.INFO: TCP Data received {"connection_id":112941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:03:57] local.INFO: Processing buffer {"connection_id":112941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:03:57] local.INFO: IMEI packet received {"connection_id":112941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":112941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:03:58] local.INFO: TCP Data received {"connection_id":112941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51a2198012d196580071feec80042006c29..."} 
[2026-06-23 21:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51a2198012d196580071feec80042006c29..."} 
[2026-06-23 21:03:58] local.INFO: Processing buffer {"connection_id":112941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51a2198012d196580071feec80042006c29..."} 
[2026-06-23 21:03:58] local.INFO: Packet analysis {"connection_id":112941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:03:58] local.INFO: Extracted packet for processing {"connection_id":112941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250513920001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03: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-06-23 21:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228591000,"timestamp_ms":1782228591000,"timestamp_seconds":1782228591,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51a2198"} 
[2026-06-23 21:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:03: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-06-23 21:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-785999802789979803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:03:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:03:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,125,45,128,238,66,40,10,43,217,1,240,31,227,245,4,113,205,53,101,200,42,239,48,2,13,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:03:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250513920001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250513920001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:03:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250513920001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":112941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:03:58] local.INFO: GPS data processed {"connection_id":112941,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:03:58] local.INFO: Acknowledgment sent {"connection_id":112941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:04:01] local.INFO: TCP Data received {"connection_id":112013,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51c7b28012cf1270007136990002100732c..."} 
[2026-06-23 21:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51c7b28012cf1270007136990002100732c..."} 
[2026-06-23 21:04:01] local.INFO: Processing buffer {"connection_id":112013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51c7b28012cf1270007136990002100732c..."} 
[2026-06-23 21:04:01] local.INFO: Packet analysis {"connection_id":112013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:04:01] local.INFO: Extracted packet for processing {"connection_id":112013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:04:01] local.INFO: GPS Element Parsed {"raw_longitude":754001664,"raw_latitude":118712720,"longitude_deg":75.4001664,"latitude_deg":11.871272,"altitude":33,"angle":115,"satellites":44,"speed":48,"hex_longitude":"2cf12700","hex_latitude":"07136990","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250556416001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321767641167429632,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1080019455247212544,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782228745000,"timestamp_ms":1782228745000,"timestamp_seconds":1782228745,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51c7b28"} 
[2026-06-23 21:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:04:01] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250556416001,"66":27343,"98":206,"2":54272,"24":48,"16":321767641167429632,"44":-1080019455247212544},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-06-23 21:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250556416001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:04:01] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 21:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321767641167429632,"km_value":321767641167429.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1080019455247212544,"description":"Unknown IO ID 44"} 
[2026-06-23 21:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250556416001,"power":27343,"unknown_98":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-1080019455247212544}} 
[2026-06-23 21:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":112013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:04:01] local.INFO: GPS data processed {"connection_id":112013,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:04:01] local.INFO: Acknowledgment sent {"connection_id":112013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:04:23] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:23] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:23] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:04:24] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:24] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:24] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:04:28] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:28] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:04:28] local.INFO: IMEI packet received {"connection_id":111202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":111202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:04:29] local.INFO: TCP Data received {"connection_id":112941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51a73a0012d196580071feec80042006c29..."} 
[2026-06-23 21:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51a73a0012d196580071feec80042006c29..."} 
[2026-06-23 21:04:29] local.INFO: Processing buffer {"connection_id":112941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51a73a0012d196580071feec80042006c29..."} 
[2026-06-23 21:04:29] local.INFO: Packet analysis {"connection_id":112941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:04:29] local.INFO: Extracted packet for processing {"connection_id":112941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:04: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-06-23 21:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250519296001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228612000,"timestamp_ms":1782228612000,"timestamp_seconds":1782228612,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51a73a0"} 
[2026-06-23 21:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:04: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:04:29] 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-06-23 21:04: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-06-23 21:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250519296001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250519296001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:04:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:04:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250519296001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":112941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:04:29] local.INFO: GPS data processed {"connection_id":112941,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:04:29] local.INFO: Acknowledgment sent {"connection_id":112941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:04:33] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51c9a68012cf14800071358d80020007d2a..."} 
[2026-06-23 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51c9a68012cf14800071358d80020007d2a..."} 
[2026-06-23 21:04:33] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51c9a68012cf14800071358d80020007d2a..."} 
[2026-06-23 21:04:33] local.INFO: Packet analysis {"connection_id":111202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:04:33] local.INFO: Extracted packet for processing {"connection_id":111202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:04:33] local.INFO: GPS Element Parsed {"raw_longitude":754010112,"raw_latitude":118708440,"longitude_deg":75.4010112,"latitude_deg":11.870844,"altitude":32,"angle":125,"satellites":42,"speed":44,"hex_longitude":"2cf14800","hex_latitude":"071358d8","is_valid_coordinates":true} 
[2026-06-23 21:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250558720001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321768087844028416,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1069886356086747136,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782228753000,"timestamp_ms":1782228753000,"timestamp_seconds":1782228753,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51c9a68"} 
[2026-06-23 21:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:04:33] 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-06-23 21:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250558720001,"66":26789,"98":206,"2":54272,"24":44,"16":321768087844028416,"44":-1069886356086747136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-06-23 21:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250558720001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 21:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321768087844028416,"km_value":321768087844028.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:04:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1069886356086747136,"description":"Unknown IO ID 44"} 
[2026-06-23 21:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250558720001,"power":26789,"unknown_98":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-1069886356086747136}} 
[2026-06-23 21:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":111202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:04:33] local.INFO: GPS data processed {"connection_id":111202,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:04:33] local.INFO: Acknowledgment sent {"connection_id":111202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:04:52] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:04:52] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:04:52] local.INFO: IMEI packet received {"connection_id":112014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":112014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:04:57] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:04:57] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:04:57] local.INFO: IMEI packet received {"connection_id":112014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":112014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:04:58] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51ac5a8012d196580071feec80042006c28..."} 
[2026-06-23 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51ac5a8012d196580071feec80042006c28..."} 
[2026-06-23 21:04:58] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51ac5a8012d196580071feec80042006c28..."} 
[2026-06-23 21:04:58] local.INFO: Packet analysis {"connection_id":112014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:04:58] local.INFO: Extracted packet for processing {"connection_id":112014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51a"} 
[2026-06-23 21:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250524672001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:04: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-06-23 21:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228633000,"timestamp_ms":1782228633000,"timestamp_seconds":1782228633,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51ac5a8"} 
[2026-06-23 21:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:04: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-06-23 21: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 21:04: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-06-23 21: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-06-23 21:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250524672001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250524672001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250524672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":112014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:04:58] local.INFO: GPS data processed {"connection_id":112014,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:04:58] local.INFO: Acknowledgment sent {"connection_id":112014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:05:05] local.INFO: TCP Data received {"connection_id":111202,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51cb9a8012cf162c007134240001c00842d..."} 
[2026-06-23 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51cb9a8012cf162c007134240001c00842d..."} 
[2026-06-23 21:05:05] local.INFO: Processing buffer {"connection_id":111202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51cb9a8012cf162c007134240001c00842d..."} 
[2026-06-23 21:05:05] local.INFO: Packet analysis {"connection_id":111202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:05:05] local.INFO: Extracted packet for processing {"connection_id":111202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":754016960,"raw_latitude":118702656,"longitude_deg":75.401696,"latitude_deg":11.8702656,"altitude":28,"angle":132,"satellites":45,"speed":43,"hex_longitude":"2cf162c0","hex_latitude":"07134240","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250560768001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321768517340758016,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1060597681856391168,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782228761000,"timestamp_ms":1782228761000,"timestamp_seconds":1782228761,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51cb9a8"} 
[2026-06-23 21:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:05: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-06-23 21: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-06-23 21:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250560768001,"66":27343,"98":206,"2":54272,"24":43,"16":321768517340758016,"44":-1060597681856391168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-06-23 21:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250560768001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-06-23 21:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321768517340758016,"km_value":321768517340758.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1060597681856391168,"description":"Unknown IO ID 44"} 
[2026-06-23 21:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250560768001,"power":27343,"unknown_98":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1060597681856391168}} 
[2026-06-23 21:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":111202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:05:05] local.INFO: GPS data processed {"connection_id":111202,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:05:05] local.INFO: Acknowledgment sent {"connection_id":111202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:05:23] local.INFO: TCP Data received {"connection_id":111379,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:05:23] local.INFO: Processing buffer {"connection_id":111379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:05:23] local.INFO: IMEI packet received {"connection_id":111379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":111379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:05:28] local.INFO: TCP Data received {"connection_id":112014,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51b17b0012d196580071feec80042006c28..."} 
[2026-06-23 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51b17b0012d196580071feec80042006c28..."} 
[2026-06-23 21:05:28] local.INFO: Processing buffer {"connection_id":112014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51b17b0012d196580071feec80042006c28..."} 
[2026-06-23 21:05:28] local.INFO: Packet analysis {"connection_id":112014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51b"} 
[2026-06-23 21:05:28] local.INFO: Extracted packet for processing {"connection_id":112014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51b"} 
[2026-06-23 21:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250530048001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228654000,"timestamp_ms":1782228654000,"timestamp_seconds":1782228654,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51b17b0"} 
[2026-06-23 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-06-23 21:05:28] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:05:28] 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-06-23 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-06-23 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-06-23 21:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250530048001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250530048001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250530048001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":112014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:05:28] local.INFO: GPS data processed {"connection_id":112014,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:05:28] local.INFO: Acknowledgment sent {"connection_id":112014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:05:28] local.INFO: TCP Data received {"connection_id":111379,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:05:28] local.INFO: Processing buffer {"connection_id":111379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:05:28] local.INFO: IMEI packet received {"connection_id":111379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":111379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:05:31] local.INFO: TCP Data received {"connection_id":111379,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51cdcd0012cf17fc0071328d8001900832f..."} 
[2026-06-23 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51cdcd0012cf17fc0071328d8001900832f..."} 
[2026-06-23 21:05:31] local.INFO: Processing buffer {"connection_id":111379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51cdcd0012cf17fc0071328d8001900832f..."} 
[2026-06-23 21:05:31] local.INFO: Packet analysis {"connection_id":111379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:05:31] local.INFO: Extracted packet for processing {"connection_id":111379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51c"} 
[2026-06-23 21:05:31] local.INFO: GPS Element Parsed {"raw_longitude":754024384,"raw_latitude":118696152,"longitude_deg":75.4024384,"latitude_deg":11.8696152,"altitude":25,"angle":131,"satellites":47,"speed":40,"hex_longitude":"2cf17fc0","hex_latitude":"071328d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250562816001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321768989787160576,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1053068226230861824,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782228770000,"timestamp_ms":1782228770000,"timestamp_seconds":1782228770,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51cdcd0"} 
[2026-06-23 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-06-23 21:05:31] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:05:31] 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-06-23 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-06-23 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-06-23 21:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250562816001,"66":27463,"96":206,"2":54272,"24":40,"16":321768989787160576,"44":-1053068226230861824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-06-23 21:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250562816001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:05:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 21:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321768989787160576,"km_value":321768989787160.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1053068226230861824,"description":"Unknown IO ID 44"} 
[2026-06-23 21:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250562816001,"power":27463,"unknown_96":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1053068226230861824}} 
[2026-06-23 21:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":111379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:05:31] local.INFO: GPS data processed {"connection_id":111379,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:05:31] local.INFO: Acknowledgment sent {"connection_id":111379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:05:52] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:05:52] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:05:52] local.INFO: IMEI packet received {"connection_id":111380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":111380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:05:56] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:05:56] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:05:56] local.INFO: IMEI packet received {"connection_id":111380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":111380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:05:57] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51b69b8012d196580071feec80042006c28..."} 
[2026-06-23 21:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51b69b8012d196580071feec80042006c28..."} 
[2026-06-23 21:05:57] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51b69b8012d196580071feec80042006c28..."} 
[2026-06-23 21:05:57] local.INFO: Packet analysis {"connection_id":111380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51b"} 
[2026-06-23 21:05:57] local.INFO: Extracted packet for processing {"connection_id":111380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51b"} 
[2026-06-23 21:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:05: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-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250535424001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782228675000,"timestamp_ms":1782228675000,"timestamp_seconds":1782228675,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51b69b8"} 
[2026-06-23 21:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:05:57] 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-06-23 21:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-785639025537115803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:05:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:05:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,197,45,128,238,66,40,10,115,41,33,1,240,255,227,245,31,4,113,205,125,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:05:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250535424001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250535424001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:05:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250535424001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":111380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:05:57] local.INFO: GPS data processed {"connection_id":111380,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:05:57] local.INFO: Acknowledgment sent {"connection_id":111380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:06:03] local.INFO: TCP Data received {"connection_id":111379,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51d03e0012cf19a80071310b00012008630..."} 
[2026-06-23 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51d03e0012cf19a80071310b00012008630..."} 
[2026-06-23 21:06:03] local.INFO: Processing buffer {"connection_id":111379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51d03e0012cf19a80071310b00012008630..."} 
[2026-06-23 21:06:03] local.INFO: Packet analysis {"connection_id":111379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51d"} 
[2026-06-23 21:06:03] local.INFO: Extracted packet for processing {"connection_id":111379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51d"} 
[2026-06-23 21:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754031232,"raw_latitude":118689968,"longitude_deg":75.4031232,"latitude_deg":11.8689968,"altitude":18,"angle":134,"satellites":48,"speed":36,"hex_longitude":"2cf19a80","hex_latitude":"071310b0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250565120001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321769432168792064,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1044905451907917824,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782228780000,"timestamp_ms":1782228780000,"timestamp_seconds":1782228780,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51d03e0"} 
[2026-06-23 21:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:06:03] 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-06-23 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250565120001,"66":27484,"96":206,"2":54272,"24":36,"16":321769432168792064,"44":-1044905451907917824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-06-23 21:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250565120001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:06:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-23 21:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321769432168792064,"km_value":321769432168792.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:06:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1044905451907917824,"description":"Unknown IO ID 44"} 
[2026-06-23 21:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250565120001,"power":27484,"unknown_96":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1044905451907917824}} 
[2026-06-23 21:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":111379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:06:03] local.INFO: GPS data processed {"connection_id":111379,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:06:03] local.INFO: Acknowledgment sent {"connection_id":111379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:06:23] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:06:23] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:06:23] local.INFO: IMEI packet received {"connection_id":112015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":112015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:06:28] local.INFO: TCP Data received {"connection_id":111380,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51ef010012d196580071feec80042006c28..."} 
[2026-06-23 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51ef010012d196580071feec80042006c28..."} 
[2026-06-23 21:06:28] local.INFO: Processing buffer {"connection_id":111380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51ef010012d196580071feec80042006c28..."} 
[2026-06-23 21:06:28] local.INFO: Packet analysis {"connection_id":111380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51e"} 
[2026-06-23 21:06:28] local.INFO: Extracted packet for processing {"connection_id":111380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51e"} 
[2026-06-23 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250594560001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228906000,"timestamp_ms":1782228906000,"timestamp_seconds":1782228906,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51ef010"} 
[2026-06-23 21:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:06:28] 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-06-23 21:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-784646888091739803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:06:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,76,45,128,238,66,41,10,249,167,1,240,227,245,31,4,113,205,3,101,200,39,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:06:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250594560001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250594560001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250594560001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:06:28] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:06:28] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:06:28] local.INFO: IMEI packet received {"connection_id":112015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":112015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":111380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:06:28] local.INFO: GPS data processed {"connection_id":111380,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:06:28] local.INFO: Acknowledgment sent {"connection_id":111380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:06:29] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51ef7e0012cf2670007126548000e00722f..."} 
[2026-06-23 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51ef7e0012cf2670007126548000e00722f..."} 
[2026-06-23 21:06:29] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51ef7e0012cf2670007126548000e00722f..."} 
[2026-06-23 21:06:29] local.INFO: Packet analysis {"connection_id":112015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51e"} 
[2026-06-23 21:06:29] local.INFO: Extracted packet for processing {"connection_id":112015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51e"} 
[2026-06-23 21:06:29] local.INFO: GPS Element Parsed {"raw_longitude":754083584,"raw_latitude":118646088,"longitude_deg":75.4083584,"latitude_deg":11.8646088,"altitude":14,"angle":114,"satellites":47,"speed":21,"hex_longitude":"2cf26700","hex_latitude":"07126548","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250597120001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321772765063413760,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985303125601488896,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782228908000,"timestamp_ms":1782228908000,"timestamp_seconds":1782228908,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51ef7e0"} 
[2026-06-23 21:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:06:29] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250597120001,"66":27397,"101":206,"2":54272,"24":21,"16":321772765063413760,"44":-985303125601488896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-06-23 21:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250597120001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:06:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 21:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321772765063413760,"km_value":321772765063413.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985303125601488896,"description":"Unknown IO ID 44"} 
[2026-06-23 21:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250597120001,"power":27397,"unknown_101":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-985303125601488896}} 
[2026-06-23 21:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":112015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:06:29] local.INFO: GPS data processed {"connection_id":112015,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:06:29] local.INFO: Acknowledgment sent {"connection_id":112015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:06:32] local.INFO: TCP Data received {"connection_id":112944,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:06:32] local.INFO: Processing buffer {"connection_id":112944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:06:32] local.INFO: IMEI packet received {"connection_id":112944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":112944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:06:52] local.INFO: TCP Data received {"connection_id":111203,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:06:52] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:06:52] local.INFO: IMEI packet received {"connection_id":111203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":111203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:06:57] local.INFO: TCP Data received {"connection_id":111203,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:06:57] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:06:57] local.INFO: IMEI packet received {"connection_id":111203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":111203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:06:58] local.INFO: TCP Data received {"connection_id":111203,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51f4218012d196580071feec80042006c28..."} 
[2026-06-23 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51f4218012d196580071feec80042006c28..."} 
[2026-06-23 21:06:58] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51f4218012d196580071feec80042006c28..."} 
[2026-06-23 21:06:58] local.INFO: Packet analysis {"connection_id":111203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:06:58] local.INFO: Extracted packet for processing {"connection_id":111203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250599936001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782228927000,"timestamp_ms":1782228927000,"timestamp_seconds":1782228927,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51f4218"} 
[2026-06-23 21:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:06: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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-784556693778523803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:06:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,45,128,238,66,41,10,76,249,1,240,227,245,31,4,113,205,85,101,200,38,239,47,2,13,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:06:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250599936001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250599936001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:06:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250599936001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":111203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:06:58] local.INFO: GPS data processed {"connection_id":111203,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:06:58] local.INFO: Acknowledgment sent {"connection_id":111203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:07:03] local.INFO: TCP Data received {"connection_id":112015,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51f49e8012cf28580071254a00011007a30..."} 
[2026-06-23 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51f49e8012cf28580071254a00011007a30..."} 
[2026-06-23 21:07:03] local.INFO: Processing buffer {"connection_id":112015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51f49e8012cf28580071254a00011007a30..."} 
[2026-06-23 21:07:03] local.INFO: Packet analysis {"connection_id":112015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:03] local.INFO: Extracted packet for processing {"connection_id":112015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754091392,"raw_latitude":118641824,"longitude_deg":75.4091392,"latitude_deg":11.8641824,"altitude":17,"angle":122,"satellites":48,"speed":24,"hex_longitude":"2cf28580","hex_latitude":"071254a0","is_valid_coordinates":true} 
[2026-06-23 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250600448001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321773194560143360,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-979814363556395008,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782228929000,"timestamp_ms":1782228929000,"timestamp_seconds":1782228929,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51f49e8"} 
[2026-06-23 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:07:03] 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-06-23 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250600448001,"66":27463,"101":206,"2":54272,"24":24,"16":321773194560143360,"44":-979814363556395008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-06-23 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250600448001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:07:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321773194560143360,"km_value":321773194560143.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-979814363556395008,"description":"Unknown IO ID 44"} 
[2026-06-23 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250600448001,"power":27463,"unknown_101":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-979814363556395008}} 
[2026-06-23 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":112015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:07:03] local.INFO: GPS data processed {"connection_id":112015,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:07:03] local.INFO: Acknowledgment sent {"connection_id":112015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:07:06] local.INFO: TCP Data received {"connection_id":112016,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:07:06] local.INFO: Processing buffer {"connection_id":112016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:07:06] local.INFO: IMEI packet received {"connection_id":112016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":112016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:07:23] local.INFO: TCP Data received {"connection_id":111381,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:07:23] local.INFO: Processing buffer {"connection_id":111381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:07:23] local.INFO: IMEI packet received {"connection_id":111381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":111381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:07:28] local.INFO: TCP Data received {"connection_id":111381,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:07:28] local.INFO: Processing buffer {"connection_id":111381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:07:28] local.INFO: IMEI packet received {"connection_id":111381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":111381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:07:28] local.INFO: TCP Data received {"connection_id":111203,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51f9420012d196580071feec80042006c2b..."} 
[2026-06-23 21:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51f9420012d196580071feec80042006c2b..."} 
[2026-06-23 21:07:28] local.INFO: Processing buffer {"connection_id":111203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51f9420012d196580071feec80042006c2b..."} 
[2026-06-23 21:07:28] local.INFO: Packet analysis {"connection_id":111203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:28] local.INFO: Extracted packet for processing {"connection_id":111203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250605312001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228948000,"timestamp_ms":1782228948000,"timestamp_seconds":1782228948,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51f9420"} 
[2026-06-23 21:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:07:28] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:07:28] 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-06-23 21: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-06-23 21:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250605312001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250605312001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250605312001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":111203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:07:28] local.INFO: GPS data processed {"connection_id":111203,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:07:28] local.INFO: Acknowledgment sent {"connection_id":111203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:07:31] local.INFO: TCP Data received {"connection_id":111381,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51f8098012cf2a5c007124198000d007a30..."} 
[2026-06-23 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51f8098012cf2a5c007124198000d007a30..."} 
[2026-06-23 21:07:31] local.INFO: Processing buffer {"connection_id":111381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51f8098012cf2a5c007124198000d007a30..."} 
[2026-06-23 21:07:31] local.INFO: Packet analysis {"connection_id":111381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:31] local.INFO: Extracted packet for processing {"connection_id":111381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:31] local.INFO: GPS Element Parsed {"raw_longitude":754099648,"raw_latitude":118636952,"longitude_deg":75.4099648,"latitude_deg":11.8636952,"altitude":13,"angle":122,"satellites":48,"speed":21,"hex_longitude":"2cf2a5c0","hex_latitude":"07124198","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250605824001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321773649826676736,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-971229376767811584,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782228943000,"timestamp_ms":1782228943000,"timestamp_seconds":1782228943,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51f8098"} 
[2026-06-23 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-06-23 21:07: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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:07:31] 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-06-23 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-06-23 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-06-23 21:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250605824001,"66":27267,"101":206,"2":54272,"24":21,"16":321773649826676736,"44":-971229376767811584},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-06-23 21:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250605824001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:07:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 21:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321773649826676736,"km_value":321773649826676.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-971229376767811584,"description":"Unknown IO ID 44"} 
[2026-06-23 21:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250605824001,"power":27267,"unknown_101":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-971229376767811584}} 
[2026-06-23 21:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":111381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:07:31] local.INFO: GPS data processed {"connection_id":111381,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:07:31] local.INFO: Acknowledgment sent {"connection_id":111381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:07:51] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:07:51] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:07:51] local.INFO: IMEI packet received {"connection_id":111382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":111382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:07:56] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:07:56] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:07:56] local.INFO: IMEI packet received {"connection_id":111382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":111382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:07:57] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51fe628012d196580071feec80042006c2b..."} 
[2026-06-23 21:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51fe628012d196580071feec80042006c2b..."} 
[2026-06-23 21:07:57] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51fe628012d196580071feec80042006c2b..."} 
[2026-06-23 21:07:57] local.INFO: Packet analysis {"connection_id":111382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:57] local.INFO: Extracted packet for processing {"connection_id":111382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250610688001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782228969000,"timestamp_ms":1782228969000,"timestamp_seconds":1782228969,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51fe628"} 
[2026-06-23 21:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:07:57] 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-06-23 21:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-784376305152091803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":249,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:07:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:07:57] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,102,83,24,241,157,16,189,158,66,45,128,238,40,10,240,1,227,245,31,4,113,205,249,101,200,41,239,48,2,13,7,38],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:07:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250610688001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250610688001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250610688001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":111382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:07:57] local.INFO: GPS data processed {"connection_id":111382,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:07:57] local.INFO: Acknowledgment sent {"connection_id":111382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:08:03] local.INFO: TCP Data received {"connection_id":111381,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef51fc6e8012cf2c50007122cb0000d007f30..."} 
[2026-06-23 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef51fc6e8012cf2c50007122cb0000d007f30..."} 
[2026-06-23 21:08:03] local.INFO: Processing buffer {"connection_id":111381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef51fc6e8012cf2c50007122cb0000d007f30..."} 
[2026-06-23 21:08:03] local.INFO: Packet analysis {"connection_id":111381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:08:03] local.INFO: Extracted packet for processing {"connection_id":111381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef51f"} 
[2026-06-23 21:08:03] local.INFO: GPS Element Parsed {"raw_longitude":754107648,"raw_latitude":118631600,"longitude_deg":75.4107648,"latitude_deg":11.86316,"altitude":13,"angle":127,"satellites":48,"speed":26,"hex_longitude":"2cf2c500","hex_latitude":"07122cb0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250609408001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321774109388177408,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-962151808770140160,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782228961000,"timestamp_ms":1782228961000,"timestamp_seconds":1782228961,"priority":1,"record_length":96,"hex_timestamp":"0000019ef51fc6e8"} 
[2026-06-23 21:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 21:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250609408001,"66":27343,"101":206,"2":54272,"24":26,"16":321774109388177408,"44":-962151808770140160},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-06-23 21:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250609408001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:08:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 21:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321774109388177408,"km_value":321774109388177.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-962151808770140160,"description":"Unknown IO ID 44"} 
[2026-06-23 21:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250609408001,"power":27343,"unknown_101":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-962151808770140160}} 
[2026-06-23 21:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":111381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:08:03] local.INFO: GPS data processed {"connection_id":111381,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:08:03] local.INFO: Acknowledgment sent {"connection_id":111381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:08:28] local.INFO: TCP Data received {"connection_id":111382,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5203830012d196580071feec80042006c28..."} 
[2026-06-23 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5203830012d196580071feec80042006c28..."} 
[2026-06-23 21:08:28] local.INFO: Processing buffer {"connection_id":111382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5203830012d196580071feec80042006c28..."} 
[2026-06-23 21:08:28] local.INFO: Packet analysis {"connection_id":111382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:08:28] local.INFO: Extracted packet for processing {"connection_id":111382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250616064001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782228990000,"timestamp_ms":1782228990000,"timestamp_seconds":1782228990,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5203830"} 
[2026-06-23 21:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:08:28] 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-06-23 21:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 21:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250616064001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250616064001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250616064001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":111382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:08:28] local.INFO: GPS data processed {"connection_id":111382,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:08:28] local.INFO: Acknowledgment sent {"connection_id":111382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:08:28] local.INFO: TCP Data received {"connection_id":112018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:08:28] local.INFO: Processing buffer {"connection_id":112018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:08:28] local.INFO: IMEI packet received {"connection_id":112018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":112018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:08:33] local.INFO: TCP Data received {"connection_id":112018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:08:33] local.INFO: Processing buffer {"connection_id":112018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:08:33] local.INFO: IMEI packet received {"connection_id":112018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":112018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:08:38] local.INFO: TCP Data received {"connection_id":112018,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5200180012cf2e1c0071216f0000c008031..."} 
[2026-06-23 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5200180012cf2e1c0071216f0000c008031..."} 
[2026-06-23 21:08:38] local.INFO: Processing buffer {"connection_id":112018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5200180012cf2e1c0071216f0000c008031..."} 
[2026-06-23 21:08:38] local.INFO: Packet analysis {"connection_id":112018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:08:38] local.INFO: Extracted packet for processing {"connection_id":112018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":754115008,"raw_latitude":118626032,"longitude_deg":75.4115008,"latitude_deg":11.8626032,"altitude":12,"angle":128,"satellites":49,"speed":30,"hex_longitude":"2cf2e1c0","hex_latitude":"071216f0","is_valid_coordinates":true} 
[2026-06-23 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250614016001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321774551769808896,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-953355715749302272,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782228976000,"timestamp_ms":1782228976000,"timestamp_seconds":1782228976,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5200180"} 
[2026-06-23 21:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:08: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-06-23 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:08:38] 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-06-23 21:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":112018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":112018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":112018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250614016001,"66":27321,"101":206,"2":54272,"24":30,"16":321774551769808896,"44":-953355715749302272},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-06-23 21:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250614016001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:08:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-23 21:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321774551769808896,"km_value":321774551769808.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:08:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-953355715749302272,"description":"Unknown IO ID 44"} 
[2026-06-23 21:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250614016001,"power":27321,"unknown_101":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-953355715749302272}} 
[2026-06-23 21:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":112018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:08:38] local.INFO: GPS data processed {"connection_id":112018,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:08:38] local.INFO: Acknowledgment sent {"connection_id":112018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:08:41] local.INFO: TCP Data received {"connection_id":112018,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5203c18012cf2fe400711feb8000b008630..."} 
[2026-06-23 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5203c18012cf2fe400711feb8000b008630..."} 
[2026-06-23 21:08:41] local.INFO: Processing buffer {"connection_id":112018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5203c18012cf2fe400711feb8000b008630..."} 
[2026-06-23 21:08:41] local.INFO: Packet analysis {"connection_id":112018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:08:41] local.INFO: Extracted packet for processing {"connection_id":112018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":754122304,"raw_latitude":118619832,"longitude_deg":75.4122304,"latitude_deg":11.8619832,"altitude":11,"angle":134,"satellites":48,"speed":27,"hex_longitude":"2cf2fe40","hex_latitude":"0711feb8","is_valid_coordinates":true} 
[2026-06-23 21:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250617856001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321775011331309568,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-945263310170296320,"note":"Value kept but may cause issues"} 
[2026-06-23 21:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782228991000,"timestamp_ms":1782228991000,"timestamp_seconds":1782228991,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5203c18"} 
[2026-06-23 21:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 21:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250617856001,"66":27463,"100":206,"2":54272,"24":27,"16":321775011331309568,"44":-945263310170296320},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-06-23 21:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250617856001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:08:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 21:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321775011331309568,"km_value":321775011331309.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-945263310170296320,"description":"Unknown IO ID 44"} 
[2026-06-23 21:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250617856001,"power":27463,"unknown_100":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-945263310170296320}} 
[2026-06-23 21:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":112018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:08:41] local.INFO: GPS data processed {"connection_id":112018,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:08:41] local.INFO: Acknowledgment sent {"connection_id":112018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:08:52] local.INFO: TCP Data received {"connection_id":112945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:08:52] local.INFO: Processing buffer {"connection_id":112945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:08:52] local.INFO: IMEI packet received {"connection_id":112945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":112945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:08:57] local.INFO: TCP Data received {"connection_id":112945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:08:57] local.INFO: Processing buffer {"connection_id":112945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:08:57] local.INFO: IMEI packet received {"connection_id":112945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":112945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:09:02] local.INFO: TCP Data received {"connection_id":112945,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:02] local.INFO: Processing buffer {"connection_id":112945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:02] local.INFO: IMEI packet received {"connection_id":112945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":112945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:09:02] local.INFO: TCP Data received {"connection_id":112945,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5208a38012d196580071feec80042006c28..."} 
[2026-06-23 21:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5208a38012d196580071feec80042006c28..."} 
[2026-06-23 21:09:02] local.INFO: Processing buffer {"connection_id":112945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5208a38012d196580071feec80042006c28..."} 
[2026-06-23 21:09:02] local.INFO: Packet analysis {"connection_id":112945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:09:02] local.INFO: Extracted packet for processing {"connection_id":112945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250621440001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782229011000,"timestamp_ms":1782229011000,"timestamp_seconds":1782229011,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5208a38"} 
[2026-06-23 21:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:09: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-06-23 21:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-784195916525659803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:09:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:02] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,230,45,128,238,66,43,10,148,1,240,255,227,245,31,4,113,205,101,200,41,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:09:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250621440001,"66":12004,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250621440001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:09:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250621440001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":112945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:09:03] local.INFO: GPS data processed {"connection_id":112945,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:09:03] local.INFO: Acknowledgment sent {"connection_id":112945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:09:07] local.INFO: TCP Data received {"connection_id":112945,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef520dc40012d196580071feec80042006c2b..."} 
[2026-06-23 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef520dc40012d196580071feec80042006c2b..."} 
[2026-06-23 21:09:07] local.INFO: Processing buffer {"connection_id":112945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef520dc40012d196580071feec80042006c2b..."} 
[2026-06-23 21:09:07] local.INFO: Packet analysis {"connection_id":112945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:09:07] local.INFO: Extracted packet for processing {"connection_id":112945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250626816001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782229032000,"timestamp_ms":1782229032000,"timestamp_seconds":1782229032,"priority":1,"record_length":96,"hex_timestamp":"0000019ef520dc40"} 
[2026-06-23 21:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:09: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-06-23 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 21:09:07] 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-06-23 21:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250626816001,"66":12037,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250626816001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250626816001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":112945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:09:07] local.INFO: GPS data processed {"connection_id":112945,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:09:07] local.INFO: Acknowledgment sent {"connection_id":112945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:09:23] local.INFO: TCP Data received {"connection_id":111383,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:23] local.INFO: Processing buffer {"connection_id":111383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:23] local.INFO: IMEI packet received {"connection_id":111383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":111383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:09:24] local.INFO: TCP Data received {"connection_id":111383,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:24] local.INFO: Processing buffer {"connection_id":111383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:24] local.INFO: IMEI packet received {"connection_id":111383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":111383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:09:28] local.INFO: TCP Data received {"connection_id":111383,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:28] local.INFO: Processing buffer {"connection_id":111383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:09:28] local.INFO: IMEI packet received {"connection_id":111383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":111383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:09:31] local.INFO: TCP Data received {"connection_id":111383,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5206af8012cf318c00711e4c8000b008731..."} 
[2026-06-23 21:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5206af8012cf318c00711e4c8000b008731..."} 
[2026-06-23 21:09:31] local.INFO: Processing buffer {"connection_id":111383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5206af8012cf318c00711e4c8000b008731..."} 
[2026-06-23 21:09:31] local.INFO: Packet analysis {"connection_id":111383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:09:31] local.INFO: Extracted packet for processing {"connection_id":111383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:09:31] local.INFO: GPS Element Parsed {"raw_longitude":754129088,"raw_latitude":118613192,"longitude_deg":75.4129088,"latitude_deg":11.8613192,"altitude":11,"angle":135,"satellites":49,"speed":32,"hex_longitude":"2cf318c0","hex_latitude":"0711e4c8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250621696001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321775466597842944,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-937241273335629824,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782229003000,"timestamp_ms":1782229003000,"timestamp_seconds":1782229003,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5206af8"} 
[2026-06-23 21:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:09: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-06-23 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:09:31] 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-06-23 21: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-06-23 21:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250621696001,"66":27245,"100":206,"2":54272,"24":32,"16":321775466597842944,"44":-937241273335629824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-06-23 21:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250621696001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:09:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 21:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321775466597842944,"km_value":321775466597842.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-937241273335629824,"description":"Unknown IO ID 44"} 
[2026-06-23 21:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250621696001,"power":27245,"unknown_100":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-937241273335629824}} 
[2026-06-23 21:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":111383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:09:31] local.INFO: GPS data processed {"connection_id":111383,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:09:31] local.INFO: Acknowledgment sent {"connection_id":111383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:09:52] local.INFO: TCP Data received {"connection_id":112019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:52] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:52] local.INFO: IMEI packet received {"connection_id":112019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":112019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:09:56] local.INFO: TCP Data received {"connection_id":112019,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:56] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:09:56] local.INFO: IMEI packet received {"connection_id":112019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":112019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:09:57] local.INFO: TCP Data received {"connection_id":112019,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5212e48012d196580071feec80042006c2a..."} 
[2026-06-23 21:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5212e48012d196580071feec80042006c2a..."} 
[2026-06-23 21:09:57] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5212e48012d196580071feec80042006c2a..."} 
[2026-06-23 21:09:57] local.INFO: Packet analysis {"connection_id":112019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef521"} 
[2026-06-23 21:09:57] local.INFO: Extracted packet for processing {"connection_id":112019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef521"} 
[2026-06-23 21:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250632192001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229053000,"timestamp_ms":1782229053000,"timestamp_seconds":1782229053,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5212e48"} 
[2026-06-23 21:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:09:57] 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-06-23 21:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4112445456,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300996363065781288,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194883584,"note":"Value kept but may cause issues"} 
[2026-06-23 21:09:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,138,45,128,238,66,40,10,56,230,1,240,31,227,245,4,113,205,101,200,239,47,2,13,7,69],"length":484,"final_offset":614,"validated_count":34,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:09:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920138442637312,"timestamp_seconds":4755920138442637.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250632192001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250632192001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250632192001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":112019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:09:57] local.INFO: GPS data processed {"connection_id":112019,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:09:57] local.INFO: Acknowledgment sent {"connection_id":112019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:10:03] local.INFO: TCP Data received {"connection_id":111383,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52099d8012cf332c00711cb80000b008731..."} 
[2026-06-23 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52099d8012cf332c00711cb80000b008731..."} 
[2026-06-23 21:10:03] local.INFO: Processing buffer {"connection_id":111383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52099d8012cf332c00711cb80000b008731..."} 
[2026-06-23 21:10:03] local.INFO: Packet analysis {"connection_id":111383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:10:03] local.INFO: Extracted packet for processing {"connection_id":111383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":754135744,"raw_latitude":118606720,"longitude_deg":75.4135744,"latitude_deg":11.860672,"altitude":11,"angle":135,"satellites":49,"speed":24,"hex_longitude":"2cf332c0","hex_latitude":"0711cb80","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250624768001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321775913274441728,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-929782186454497280,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782229015000,"timestamp_ms":1782229015000,"timestamp_seconds":1782229015,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52099d8"} 
[2026-06-23 21:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 21:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250624768001,"66":27539,"100":206,"2":54272,"24":24,"16":321775913274441728,"44":-929782186454497280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-06-23 21:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250624768001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:10:03] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 21:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321775913274441728,"km_value":321775913274441.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-929782186454497280,"description":"Unknown IO ID 44"} 
[2026-06-23 21:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250624768001,"power":27539,"unknown_100":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-929782186454497280}} 
[2026-06-23 21:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":111383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:10:03] local.INFO: GPS data processed {"connection_id":111383,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:10:03] local.INFO: Acknowledgment sent {"connection_id":111383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:10:23] local.INFO: TCP Data received {"connection_id":111205,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:10:23] local.INFO: Processing buffer {"connection_id":111205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:10:23] local.INFO: IMEI packet received {"connection_id":111205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":111205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:10:27] local.INFO: TCP Data received {"connection_id":111205,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:10:27] local.INFO: Processing buffer {"connection_id":111205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:10:27] local.INFO: IMEI packet received {"connection_id":111205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":111205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:10:27] local.INFO: TCP Data received {"connection_id":112019,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5218050012d196580071feec80042006c2a..."} 
[2026-06-23 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5218050012d196580071feec80042006c2a..."} 
[2026-06-23 21:10:27] local.INFO: Processing buffer {"connection_id":112019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5218050012d196580071feec80042006c2a..."} 
[2026-06-23 21:10:27] local.INFO: Packet analysis {"connection_id":112019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef521"} 
[2026-06-23 21:10:27] local.INFO: Extracted packet for processing {"connection_id":112019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef521"} 
[2026-06-23 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250637568001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782229074000,"timestamp_ms":1782229074000,"timestamp_seconds":1782229074,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5218050"} 
[2026-06-23 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-06-23 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:10:27] 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-06-23 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-06-23 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-06-23 21:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250637568001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250637568001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250637568001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":112019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:10:27] local.INFO: GPS data processed {"connection_id":112019,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:10:27] local.INFO: Acknowledgment sent {"connection_id":112019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:10:28] local.INFO: TCP Data received {"connection_id":111205,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef520d858012cf34c400711b350000b008530..."} 
[2026-06-23 21:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef520d858012cf34c400711b350000b008530..."} 
[2026-06-23 21:10:28] local.INFO: Processing buffer {"connection_id":111205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef520d858012cf34c400711b350000b008530..."} 
[2026-06-23 21:10:28] local.INFO: Packet analysis {"connection_id":111205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:10:28] local.INFO: Extracted packet for processing {"connection_id":111205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef520"} 
[2026-06-23 21:10:28] local.INFO: GPS Element Parsed {"raw_longitude":754142272,"raw_latitude":118600528,"longitude_deg":75.4142272,"latitude_deg":11.8600528,"altitude":11,"angle":133,"satellites":48,"speed":13,"hex_longitude":"2cf34c40","hex_latitude":"0711b350","is_valid_coordinates":true} 
[2026-06-23 21:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250627840001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321776342771171328,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-922463837061677056,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229031000,"timestamp_ms":1782229031000,"timestamp_seconds":1782229031,"priority":1,"record_length":96,"hex_timestamp":"0000019ef520d858"} 
[2026-06-23 21:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 21:10:28] 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-06-23 21:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250627840001,"66":27463,"100":206,"2":54272,"24":13,"16":321776342771171328,"44":-922463837061677056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-06-23 21:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250627840001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:10:28] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 21:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321776342771171328,"km_value":321776342771171.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:10:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-922463837061677056,"description":"Unknown IO ID 44"} 
[2026-06-23 21:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250627840001,"power":27463,"unknown_100":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-922463837061677056}} 
[2026-06-23 21:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":111205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:10:28] local.INFO: GPS data processed {"connection_id":111205,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:10:28] local.INFO: Acknowledgment sent {"connection_id":111205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:10:52] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:10:52] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:10:52] local.INFO: IMEI packet received {"connection_id":111385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":111385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:10:57] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:10:57] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:10:57] local.INFO: IMEI packet received {"connection_id":111385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":111385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:10:57] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef521d258012d196580071feec80042006c2a..."} 
[2026-06-23 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef521d258012d196580071feec80042006c2a..."} 
[2026-06-23 21:10:57] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef521d258012d196580071feec80042006c2a..."} 
[2026-06-23 21:10:57] local.INFO: Packet analysis {"connection_id":111385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef521"} 
[2026-06-23 21:10:57] local.INFO: Extracted packet for processing {"connection_id":111385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef521"} 
[2026-06-23 21:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:10: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-06-23 21:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250642944001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229095000,"timestamp_ms":1782229095000,"timestamp_seconds":1782229095,"priority":1,"record_length":96,"hex_timestamp":"0000019ef521d258"} 
[2026-06-23 21:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:10:57] 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-06-23 21:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:10:57] 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-06-23 21:10: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-06-23 21:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250642944001,"66":11993,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250642944001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:10:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250642944001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":111385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:10:58] local.INFO: GPS data processed {"connection_id":111385,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:10:58] local.INFO: Acknowledgment sent {"connection_id":111385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:11:00] local.INFO: TCP Data received {"connection_id":111205,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5234188012cf419000710ed80001800852f..."} 
[2026-06-23 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5234188012cf419000710ed80001800852f..."} 
[2026-06-23 21:11:00] local.INFO: Processing buffer {"connection_id":111205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5234188012cf419000710ed80001800852f..."} 
[2026-06-23 21:11:00] local.INFO: Packet analysis {"connection_id":111205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:11:00] local.INFO: Extracted packet for processing {"connection_id":111205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:11:00] local.INFO: GPS Element Parsed {"raw_longitude":754194688,"raw_latitude":118549888,"longitude_deg":75.4194688,"latitude_deg":11.8549888,"altitude":24,"angle":133,"satellites":47,"speed":20,"hex_longitude":"2cf41900","hex_latitude":"0710ed80","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250668032001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321779860349386752,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-864972573081438208,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782229189000,"timestamp_ms":1782229189000,"timestamp_seconds":1782229189,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5234188"} 
[2026-06-23 21:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:11:00] 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-06-23 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 21:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250668032001,"66":27463,"108":206,"2":54272,"24":20,"16":321779860349386752,"44":-864972573081438208},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 21:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250668032001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:11:00] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 21:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321779860349386752,"km_value":321779860349386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:11:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-864972573081438208,"description":"Unknown IO ID 44"} 
[2026-06-23 21:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250668032001,"power":27463,"unknown_108":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-864972573081438208}} 
[2026-06-23 21:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":111205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:11:00] local.INFO: GPS data processed {"connection_id":111205,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:11:00] local.INFO: Acknowledgment sent {"connection_id":111205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:11:23] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:11:23] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:11:23] local.INFO: IMEI packet received {"connection_id":111206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":111206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:11:28] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:11:28] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:11:28] local.INFO: IMEI packet received {"connection_id":111206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":111206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:11:28] local.INFO: TCP Data received {"connection_id":111385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5222460012d196580071feec80042006c29..."} 
[2026-06-23 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5222460012d196580071feec80042006c29..."} 
[2026-06-23 21:11:28] local.INFO: Processing buffer {"connection_id":111385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5222460012d196580071feec80042006c29..."} 
[2026-06-23 21:11:28] local.INFO: Packet analysis {"connection_id":111385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef522"} 
[2026-06-23 21:11:28] local.INFO: Extracted packet for processing {"connection_id":111385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef522"} 
[2026-06-23 21:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250648320001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229116000,"timestamp_ms":1782229116000,"timestamp_seconds":1782229116,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5222460"} 
[2026-06-23 21:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:11: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-06-23 21: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 21:11:28] 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-06-23 21: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-06-23 21:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250648320001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250648320001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250648320001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":111385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:11:28] local.INFO: GPS data processed {"connection_id":111385,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:11:28] local.INFO: Acknowledgment sent {"connection_id":111385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:11:30] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5237c20012cf432c00710d470001b008630..."} 
[2026-06-23 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5237c20012cf432c00710d470001b008630..."} 
[2026-06-23 21:11:30] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5237c20012cf432c00710d470001b008630..."} 
[2026-06-23 21:11:30] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:11:30] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":754201280,"raw_latitude":118543472,"longitude_deg":75.420128,"latitude_deg":11.8543472,"altitude":27,"angle":134,"satellites":48,"speed":26,"hex_longitude":"2cf432c0","hex_latitude":"0710d470","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250672384001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321780302731018240,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-857654223688597504,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782229204000,"timestamp_ms":1782229204000,"timestamp_seconds":1782229204,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5237c20"} 
[2026-06-23 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-06-23 21:11:30] 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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250672384001,"66":27463,"108":206,"2":54272,"24":26,"16":321780302731018240,"44":-857654223688597504},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 21:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250672384001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:11:30] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 21:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321780302731018240,"km_value":321780302731018.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-857654223688597504,"description":"Unknown IO ID 44"} 
[2026-06-23 21:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250672384001,"power":27463,"unknown_108":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-857654223688597504}} 
[2026-06-23 21:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:11:30] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:11:30] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:11:52] local.INFO: TCP Data received {"connection_id":111386,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:11:52] local.INFO: Processing buffer {"connection_id":111386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:11:52] local.INFO: IMEI packet received {"connection_id":111386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":111386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:11:57] local.INFO: TCP Data received {"connection_id":111386,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:11:57] local.INFO: Processing buffer {"connection_id":111386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:11:57] local.INFO: IMEI packet received {"connection_id":111386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":111386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:11:57] local.INFO: TCP Data received {"connection_id":111386,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5227668012d196580071feec80042006c29..."} 
[2026-06-23 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5227668012d196580071feec80042006c29..."} 
[2026-06-23 21:11:57] local.INFO: Processing buffer {"connection_id":111386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5227668012d196580071feec80042006c29..."} 
[2026-06-23 21:11:57] local.INFO: Packet analysis {"connection_id":111386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef522"} 
[2026-06-23 21:11:57] local.INFO: Extracted packet for processing {"connection_id":111386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef522"} 
[2026-06-23 21:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250653696001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229137000,"timestamp_ms":1782229137000,"timestamp_seconds":1782229137,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5227668"} 
[2026-06-23 21:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:11:57] 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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-783654750646363803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:11:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:11:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,210,45,128,238,66,42,10,46,1,240,255,227,245,31,4,113,205,138,101,200,40,239,2,13,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:11:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920129852702720,"timestamp_seconds":4755920129852703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250653696001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250653696001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:11:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250653696001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":111386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:11:58] local.INFO: GPS data processed {"connection_id":111386,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:11:58] local.INFO: Acknowledgment sent {"connection_id":111386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:12:02] local.INFO: TCP Data received {"connection_id":111206,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef523aee8012cf44dc00710bad8001c00852c..."} 
[2026-06-23 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef523aee8012cf44dc00710bad8001c00852c..."} 
[2026-06-23 21:12:02] local.INFO: Processing buffer {"connection_id":111206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef523aee8012cf44dc00710bad8001c00852c..."} 
[2026-06-23 21:12:02] local.INFO: Packet analysis {"connection_id":111206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:12:02] local.INFO: Extracted packet for processing {"connection_id":111206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":754208192,"raw_latitude":118536920,"longitude_deg":75.4208192,"latitude_deg":11.853692,"altitude":28,"angle":133,"satellites":44,"speed":27,"hex_longitude":"2cf44dc0","hex_latitude":"0710bad8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250676224001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321780757997551616,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850406243039940608,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782229217000,"timestamp_ms":1782229217000,"timestamp_seconds":1782229217,"priority":1,"record_length":96,"hex_timestamp":"0000019ef523aee8"} 
[2026-06-23 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-06-23 21:12: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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:12:02] 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-06-23 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-06-23 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-06-23 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250676224001,"66":27169,"108":206,"2":54272,"24":27,"16":321780757997551616,"44":-850406243039940608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250676224001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 21:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321780757997551616,"km_value":321780757997551.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850406243039940608,"description":"Unknown IO ID 44"} 
[2026-06-23 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250676224001,"power":27169,"unknown_108":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-850406243039940608}} 
[2026-06-23 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":111206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:12:02] local.INFO: GPS data processed {"connection_id":111206,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:12:02] local.INFO: Acknowledgment sent {"connection_id":111206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:12:23] local.INFO: TCP Data received {"connection_id":112947,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:23] local.INFO: Processing buffer {"connection_id":112947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:23] local.INFO: IMEI packet received {"connection_id":112947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":112947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:12:23] local.INFO: TCP Data received {"connection_id":112947,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:23] local.INFO: Processing buffer {"connection_id":112947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:23] local.INFO: IMEI packet received {"connection_id":112947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":112947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:12:25] local.INFO: TCP Data received {"connection_id":112947,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:25] local.INFO: Processing buffer {"connection_id":112947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:25] local.INFO: IMEI packet received {"connection_id":112947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":112947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:12:28] local.INFO: TCP Data received {"connection_id":112947,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:28] local.INFO: Processing buffer {"connection_id":112947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:12:28] local.INFO: IMEI packet received {"connection_id":112947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":112947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:12:28] local.INFO: TCP Data received {"connection_id":111386,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef522c870012d196580071feec80042006c27..."} 
[2026-06-23 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef522c870012d196580071feec80042006c27..."} 
[2026-06-23 21:12:28] local.INFO: Processing buffer {"connection_id":111386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef522c870012d196580071feec80042006c27..."} 
[2026-06-23 21:12:28] local.INFO: Packet analysis {"connection_id":111386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef522"} 
[2026-06-23 21:12:28] local.INFO: Extracted packet for processing {"connection_id":111386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef522"} 
[2026-06-23 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250659072001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229158000,"timestamp_ms":1782229158000,"timestamp_seconds":1782229158,"priority":1,"record_length":96,"hex_timestamp":"0000019ef522c870"} 
[2026-06-23 21:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:12: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-06-23 21: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 21:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250659072001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250659072001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250659072001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":111386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:12:28] local.INFO: GPS data processed {"connection_id":111386,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:12:28] local.INFO: Acknowledgment sent {"connection_id":111386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:12:29] local.INFO: TCP Data received {"connection_id":112947,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef523f920012cf460000710a8d0002100772f..."} 
[2026-06-23 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef523f920012cf460000710a8d0002100772f..."} 
[2026-06-23 21:12:29] local.INFO: Processing buffer {"connection_id":112947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef523f920012cf460000710a8d0002100772f..."} 
[2026-06-23 21:12:29] local.INFO: Packet analysis {"connection_id":112947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:12:29] local.INFO: Extracted packet for processing {"connection_id":112947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:12:29] local.INFO: GPS Element Parsed {"raw_longitude":754212864,"raw_latitude":118532304,"longitude_deg":75.4212864,"latitude_deg":11.8532304,"altitude":33,"angle":119,"satellites":47,"speed":15,"hex_longitude":"2cf46000","hex_latitude":"0710a8d0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250679552001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321781075825131520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-842806418670430208,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782229236000,"timestamp_ms":1782229236000,"timestamp_seconds":1782229236,"priority":1,"record_length":96,"hex_timestamp":"0000019ef523f920"} 
[2026-06-23 21:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:12:29] 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-06-23 21: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-23 21:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250679552001,"66":27343,"108":206,"2":54272,"24":15,"16":321781075825131520,"44":-842806418670430208},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-23 21:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250679552001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:12:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-23 21:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321781075825131520,"km_value":321781075825131.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-842806418670430208,"description":"Unknown IO ID 44"} 
[2026-06-23 21:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250679552001,"power":27343,"unknown_108":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-842806418670430208}} 
[2026-06-23 21:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":112947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:12:29] local.INFO: GPS data processed {"connection_id":112947,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:12:29] local.INFO: Acknowledgment sent {"connection_id":112947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:12:36] local.INFO: TCP Data received {"connection_id":112020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:12:36] local.INFO: Processing buffer {"connection_id":112020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:12:36] local.INFO: IMEI packet received {"connection_id":112020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":112020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:12:52] local.INFO: TCP Data received {"connection_id":112021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:12:52] local.INFO: Processing buffer {"connection_id":112021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:12:52] local.INFO: IMEI packet received {"connection_id":112021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":112021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:12:57] local.INFO: TCP Data received {"connection_id":112021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:12:57] local.INFO: Processing buffer {"connection_id":112021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:12:57] local.INFO: IMEI packet received {"connection_id":112021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":112021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:12:57] local.INFO: TCP Data received {"connection_id":112021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5231a78012d196580071feec80042006c28..."} 
[2026-06-23 21:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5231a78012d196580071feec80042006c28..."} 
[2026-06-23 21:12:57] local.INFO: Processing buffer {"connection_id":112021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5231a78012d196580071feec80042006c28..."} 
[2026-06-23 21:12:57] local.INFO: Packet analysis {"connection_id":112021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:12:57] local.INFO: Extracted packet for processing {"connection_id":112021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:12: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-06-23 21:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250664448001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229179000,"timestamp_ms":1782229179000,"timestamp_seconds":1782229179,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5231a78"} 
[2026-06-23 21:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:12:57] 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-06-23 21:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 21:12:57] 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-06-23 21:12: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-06-23 21:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250664448001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250664448001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:12:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250664448001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":112021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:12:57] local.INFO: GPS data processed {"connection_id":112021,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:12:57] local.INFO: Acknowledgment sent {"connection_id":112021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:13:00] local.INFO: TCP Data received {"connection_id":112947,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5256c38012cf55a00070ffea8001500792f..."} 
[2026-06-23 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5256c38012cf55a00070ffea8001500792f..."} 
[2026-06-23 21:13:00] local.INFO: Processing buffer {"connection_id":112947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5256c38012cf55a00070ffea8001500792f..."} 
[2026-06-23 21:13:00] local.INFO: Packet analysis {"connection_id":112947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:13:00] local.INFO: Extracted packet for processing {"connection_id":112947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":754276864,"raw_latitude":118488744,"longitude_deg":75.4276864,"latitude_deg":11.8488744,"altitude":21,"angle":121,"satellites":47,"speed":48,"hex_longitude":"2cf55a00","hex_latitude":"070ffea8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250706688001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321784821036613632,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-776730167898861568,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782229331000,"timestamp_ms":1782229331000,"timestamp_seconds":1782229331,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5256c38"} 
[2026-06-23 21:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:13:00] 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-06-23 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250706688001,"66":27397,"36":206,"2":54272,"24":48,"16":321784821036613632,"44":-776730167898861568},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-06-23 21:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250706688001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:13:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 21:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321784821036613632,"km_value":321784821036613.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-776730167898861568,"description":"Unknown IO ID 44"} 
[2026-06-23 21:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250706688001,"power":27397,"unknown_36":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-776730167898861568}} 
[2026-06-23 21:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":112947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:13:00] local.INFO: GPS data processed {"connection_id":112947,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:13:00] local.INFO: Acknowledgment sent {"connection_id":112947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:13:11] local.INFO: TCP Data received {"connection_id":111207,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:13:11] local.INFO: Processing buffer {"connection_id":111207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:13:11] local.INFO: IMEI packet received {"connection_id":111207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":111207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:13:23] local.INFO: TCP Data received {"connection_id":112948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:23] local.INFO: Processing buffer {"connection_id":112948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:23] local.INFO: IMEI packet received {"connection_id":112948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":112948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:13:25] local.INFO: TCP Data received {"connection_id":112948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:25] local.INFO: Processing buffer {"connection_id":112948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:25] local.INFO: IMEI packet received {"connection_id":112948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":112948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:13:28] local.INFO: TCP Data received {"connection_id":112021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5236c80012d196580071feec80042006c28..."} 
[2026-06-23 21:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5236c80012d196580071feec80042006c28..."} 
[2026-06-23 21:13:28] local.INFO: Processing buffer {"connection_id":112021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5236c80012d196580071feec80042006c28..."} 
[2026-06-23 21:13:28] local.INFO: Packet analysis {"connection_id":112021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:13:28] local.INFO: Extracted packet for processing {"connection_id":112021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250669824001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229200000,"timestamp_ms":1782229200000,"timestamp_seconds":1782229200,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5236c80"} 
[2026-06-23 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-06-23 21:13:28] 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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-783384167706715803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,200,45,128,238,66,39,10,118,41,36,1,240,227,245,31,4,113,205,101,42,239,47,2,13,7,43],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":200,"original":4325484,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 21:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 21:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250669824001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250669824001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250669824001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":112021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:13:28] local.INFO: GPS data processed {"connection_id":112021,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:13:28] local.INFO: Acknowledgment sent {"connection_id":112021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:13:29] local.INFO: TCP Data received {"connection_id":112948,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:29] local.INFO: Processing buffer {"connection_id":112948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:13:29] local.INFO: IMEI packet received {"connection_id":112948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":112948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:13:30] local.INFO: TCP Data received {"connection_id":112948,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52577f0012cf56580070ff5d80014008630..."} 
[2026-06-23 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52577f0012cf56580070ff5d80014008630..."} 
[2026-06-23 21:13:30] local.INFO: Processing buffer {"connection_id":112948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52577f0012cf56580070ff5d80014008630..."} 
[2026-06-23 21:13:30] local.INFO: Packet analysis {"connection_id":112948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:13:30] local.INFO: Extracted packet for processing {"connection_id":112948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":754279808,"raw_latitude":118486488,"longitude_deg":75.4279808,"latitude_deg":11.8486488,"altitude":20,"angle":134,"satellites":48,"speed":49,"hex_longitude":"2cf56580","hex_latitude":"070ff5d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250708736001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321784997130272768,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-767300756180129792,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782229334000,"timestamp_ms":1782229334000,"timestamp_seconds":1782229334,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52577f0"} 
[2026-06-23 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-06-23 21:13:30] 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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250708736001,"66":27039,"36":206,"2":54272,"24":49,"16":321784997130272768,"44":-767300756180129792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-06-23 21:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250708736001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:13:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-23 21:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321784997130272768,"km_value":321784997130272.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-767300756180129792,"description":"Unknown IO ID 44"} 
[2026-06-23 21:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250708736001,"power":27039,"unknown_36":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-767300756180129792}} 
[2026-06-23 21:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":112948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:13:30] local.INFO: GPS data processed {"connection_id":112948,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:13:30] local.INFO: Acknowledgment sent {"connection_id":112948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:13:52] local.INFO: TCP Data received {"connection_id":112949,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:13:52] local.INFO: Processing buffer {"connection_id":112949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:13:52] local.INFO: IMEI packet received {"connection_id":112949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":112949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:13:57] local.INFO: TCP Data received {"connection_id":112949,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:13:57] local.INFO: Processing buffer {"connection_id":112949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:13:57] local.INFO: IMEI packet received {"connection_id":112949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":112949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:13:57] local.INFO: TCP Data received {"connection_id":112949,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef523be88012d196580071feec80042006c28..."} 
[2026-06-23 21:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef523be88012d196580071feec80042006c28..."} 
[2026-06-23 21:13:57] local.INFO: Processing buffer {"connection_id":112949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef523be88012d196580071feec80042006c28..."} 
[2026-06-23 21:13:57] local.INFO: Packet analysis {"connection_id":112949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:13:57] local.INFO: Extracted packet for processing {"connection_id":112949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef523"} 
[2026-06-23 21:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250675200001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229221000,"timestamp_ms":1782229221000,"timestamp_seconds":1782229221,"priority":1,"record_length":96,"hex_timestamp":"0000019ef523be88"} 
[2026-06-23 21:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:13:57] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:13:57] 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-06-23 21: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-06-23 21:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250675200001,"66":11993,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250675200001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250675200001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":112949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:13:57] local.INFO: GPS data processed {"connection_id":112949,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:13:57] local.INFO: Acknowledgment sent {"connection_id":112949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:14:01] local.INFO: TCP Data received {"connection_id":112948,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52646f8012cf57c00070ed768000a00a030..."} 
[2026-06-23 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52646f8012cf57c00070ed768000a00a030..."} 
[2026-06-23 21:14:01] local.INFO: Processing buffer {"connection_id":112948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52646f8012cf57c00070ed768000a00a030..."} 
[2026-06-23 21:14:01] local.INFO: Packet analysis {"connection_id":112948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:14:01] local.INFO: Extracted packet for processing {"connection_id":112948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:14:01] local.INFO: GPS Element Parsed {"raw_longitude":754285568,"raw_latitude":118413160,"longitude_deg":75.4285568,"latitude_deg":11.841316,"altitude":10,"angle":160,"satellites":48,"speed":56,"hex_longitude":"2cf57c00","hex_latitude":"070ed768","is_valid_coordinates":true} 
[2026-06-23 21:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250723072001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321788729456852992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757730606991316992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782229387000,"timestamp_ms":1782229387000,"timestamp_seconds":1782229387,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52646f8"} 
[2026-06-23 21:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:14:01] 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-06-23 21:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250723072001,"66":27365,"146":206,"2":54272,"24":56,"16":321788729456852992,"44":-757730606991316992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-06-23 21:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250723072001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:14:01] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-23 21:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321788729456852992,"km_value":321788729456853.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757730606991316992,"description":"Unknown IO ID 44"} 
[2026-06-23 21:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250723072001,"power":27365,"unknown_146":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-757730606991316992}} 
[2026-06-23 21:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":112948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:14:01] local.INFO: GPS data processed {"connection_id":112948,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:14:01] local.INFO: Acknowledgment sent {"connection_id":112948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:14:26] local.INFO: TCP Data received {"connection_id":112950,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:26] local.INFO: Processing buffer {"connection_id":112950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:26] local.INFO: IMEI packet received {"connection_id":112950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":112950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:14:28] local.INFO: TCP Data received {"connection_id":112950,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:28] local.INFO: Processing buffer {"connection_id":112950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:28] local.INFO: IMEI packet received {"connection_id":112950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":112950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:14:28] local.INFO: TCP Data received {"connection_id":112949,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5241090012d196580071feec80042006c25..."} 
[2026-06-23 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5241090012d196580071feec80042006c25..."} 
[2026-06-23 21:14:28] local.INFO: Processing buffer {"connection_id":112949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5241090012d196580071feec80042006c25..."} 
[2026-06-23 21:14:28] local.INFO: Packet analysis {"connection_id":112949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef524"} 
[2026-06-23 21:14:28] local.INFO: Extracted packet for processing {"connection_id":112949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef524"} 
[2026-06-23 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250680576001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229242000,"timestamp_ms":1782229242000,"timestamp_seconds":1782229242,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5241090"} 
[2026-06-23 21:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:14: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-06-23 21:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 21:14:28] 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-06-23 21:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250680576001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250680576001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250680576001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":112949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:14:28] local.INFO: GPS data processed {"connection_id":112949,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:14:28] local.INFO: Acknowledgment sent {"connection_id":112949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:14:32] local.INFO: TCP Data received {"connection_id":112950,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:32] local.INFO: Processing buffer {"connection_id":112950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:14:32] local.INFO: IMEI packet received {"connection_id":112950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":112950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:14:34] local.INFO: TCP Data received {"connection_id":112950,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5266250012cf589c0070eb420000a009e30..."} 
[2026-06-23 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5266250012cf589c0070eb420000a009e30..."} 
[2026-06-23 21:14:34] local.INFO: Processing buffer {"connection_id":112950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5266250012cf589c0070eb420000a009e30..."} 
[2026-06-23 21:14:34] local.INFO: Packet analysis {"connection_id":112950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:14:34] local.INFO: Extracted packet for processing {"connection_id":112950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":754289088,"raw_latitude":118404128,"longitude_deg":75.4289088,"latitude_deg":11.8404128,"altitude":10,"angle":158,"satellites":48,"speed":44,"hex_longitude":"2cf589c0","hex_latitude":"070eb420","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250723072001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321789197608288256,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757730606991316992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782229394000,"timestamp_ms":1782229394000,"timestamp_seconds":1782229394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5266250"} 
[2026-06-23 21:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:14: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-06-23 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250723072001,"66":27365,"146":206,"2":54272,"24":44,"16":321789197608288256,"44":-757730606991316992},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-06-23 21:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250723072001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:14:34] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-23 21:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321789197608288256,"km_value":321789197608288.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757730606991316992,"description":"Unknown IO ID 44"} 
[2026-06-23 21:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250723072001,"power":27365,"unknown_146":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-757730606991316992}} 
[2026-06-23 21:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":112950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:14:34] local.INFO: GPS data processed {"connection_id":112950,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:14:34] local.INFO: Acknowledgment sent {"connection_id":112950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:14:36] local.INFO: TCP Data received {"connection_id":112950,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5268190012cf59580070e9248000900a030..."} 
[2026-06-23 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5268190012cf59580070e9248000900a030..."} 
[2026-06-23 21:14:36] local.INFO: Processing buffer {"connection_id":112950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5268190012cf59580070e9248000900a030..."} 
[2026-06-23 21:14:36] local.INFO: Packet analysis {"connection_id":112950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:14:36] local.INFO: Extracted packet for processing {"connection_id":112950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":754292096,"raw_latitude":118395464,"longitude_deg":75.4292096,"latitude_deg":11.8395464,"altitude":9,"angle":160,"satellites":48,"speed":48,"hex_longitude":"2cf59580","hex_latitude":"070e9248","is_valid_coordinates":true} 
[2026-06-23 21:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250724864001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321789639989919744,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-753860326063857664,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782229402000,"timestamp_ms":1782229402000,"timestamp_seconds":1782229402,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5268190"} 
[2026-06-23 21:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:14: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-06-23 21:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250724864001,"66":27321,"146":206,"2":54272,"24":48,"16":321789639989919744,"44":-753860326063857664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-06-23 21:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250724864001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:14:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-06-23 21:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321789639989919744,"km_value":321789639989919.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-753860326063857664,"description":"Unknown IO ID 44"} 
[2026-06-23 21:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250724864001,"power":27321,"unknown_146":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-753860326063857664}} 
[2026-06-23 21:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":112950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:14:36] local.INFO: GPS data processed {"connection_id":112950,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:14:36] local.INFO: Acknowledgment sent {"connection_id":112950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:14:49] local.INFO: TCP Data received {"connection_id":111387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:49] local.INFO: Processing buffer {"connection_id":111387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:49] local.INFO: IMEI packet received {"connection_id":111387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":111387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:14:52] local.INFO: TCP Data received {"connection_id":111387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:52] local.INFO: Processing buffer {"connection_id":111387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:52] local.INFO: IMEI packet received {"connection_id":111387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":111387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:14:57] local.INFO: TCP Data received {"connection_id":111387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:57] local.INFO: Processing buffer {"connection_id":111387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:14:57] local.INFO: IMEI packet received {"connection_id":111387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":111387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:14:57] local.INFO: TCP Data received {"connection_id":111387,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5246298012d196580071feec80042006c26..."} 
[2026-06-23 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5246298012d196580071feec80042006c26..."} 
[2026-06-23 21:14:57] local.INFO: Processing buffer {"connection_id":111387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5246298012d196580071feec80042006c26..."} 
[2026-06-23 21:14:57] local.INFO: Packet analysis {"connection_id":111387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef524"} 
[2026-06-23 21:14:57] local.INFO: Extracted packet for processing {"connection_id":111387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef524"} 
[2026-06-23 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:14: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-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250685952001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229263000,"timestamp_ms":1782229263000,"timestamp_seconds":1782229263,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5246298"} 
[2026-06-23 21:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:14:57] 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-06-23 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-783113584767067803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:14:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:14:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,190,45,128,238,66,40,10,108,26,1,240,227,245,31,4,113,205,118,101,200,41,239,48,2,13,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:14:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920112672833536,"timestamp_seconds":4755920112672834.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250685952001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250685952001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250685952001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":111387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:14:57] local.INFO: GPS data processed {"connection_id":111387,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:14:57] local.INFO: Acknowledgment sent {"connection_id":111387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:15:08] local.INFO: TCP Data received {"connection_id":112950,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5269ce8012cf5a180070e7128000800a02e..."} 
[2026-06-23 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5269ce8012cf5a180070e7128000800a02e..."} 
[2026-06-23 21:15:08] local.INFO: Processing buffer {"connection_id":112950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5269ce8012cf5a180070e7128000800a02e..."} 
[2026-06-23 21:15:08] local.INFO: Packet analysis {"connection_id":112950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:15:08] local.INFO: Extracted packet for processing {"connection_id":112950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:15:08] local.INFO: GPS Element Parsed {"raw_longitude":754295168,"raw_latitude":118386984,"longitude_deg":75.4295168,"latitude_deg":11.8386984,"altitude":8,"angle":160,"satellites":46,"speed":54,"hex_longitude":"2cf5a180","hex_latitude":"070e7128","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250726912001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321790078076583936,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-750552995089725440,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782229409000,"timestamp_ms":1782229409000,"timestamp_seconds":1782229409,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5269ce8"} 
[2026-06-23 21:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:15: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-06-23 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 21:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":112950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":112950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":112950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250726912001,"66":27376,"208":206,"2":54272,"24":54,"16":321790078076583936,"44":-750552995089725440},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-06-23 21:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250726912001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-23 21:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321790078076583936,"km_value":321790078076583.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-750552995089725440,"description":"Unknown IO ID 44"} 
[2026-06-23 21:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250726912001,"power":27376,"unknown_208":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-750552995089725440}} 
[2026-06-23 21:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":112950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:15:08] local.INFO: GPS data processed {"connection_id":112950,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:15:08] local.INFO: Acknowledgment sent {"connection_id":112950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:15:23] local.INFO: TCP Data received {"connection_id":112023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:23] local.INFO: Processing buffer {"connection_id":112023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:23] local.INFO: IMEI packet received {"connection_id":112023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":112023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:15:24] local.INFO: TCP Data received {"connection_id":112023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:24] local.INFO: Processing buffer {"connection_id":112023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:24] local.INFO: IMEI packet received {"connection_id":112023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":112023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:15:28] local.INFO: TCP Data received {"connection_id":111387,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef524b4a0012d196580071feec80042006c26..."} 
[2026-06-23 21:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef524b4a0012d196580071feec80042006c26..."} 
[2026-06-23 21:15:28] local.INFO: Processing buffer {"connection_id":111387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef524b4a0012d196580071feec80042006c26..."} 
[2026-06-23 21:15:28] local.INFO: Packet analysis {"connection_id":111387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef524"} 
[2026-06-23 21:15:28] local.INFO: Extracted packet for processing {"connection_id":111387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef524"} 
[2026-06-23 21:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250691328001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229284000,"timestamp_ms":1782229284000,"timestamp_seconds":1782229284,"priority":1,"record_length":96,"hex_timestamp":"0000019ef524b4a0"} 
[2026-06-23 21:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:15: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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:15:28] 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-06-23 21: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-06-23 21:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250691328001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250691328001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250691328001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":111387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:15:28] local.INFO: GPS data processed {"connection_id":111387,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:15:28] local.INFO: Acknowledgment sent {"connection_id":111387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:15:28] local.INFO: TCP Data received {"connection_id":112023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:28] local.INFO: Processing buffer {"connection_id":112023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:15:28] local.INFO: IMEI packet received {"connection_id":112023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":112023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:15:31] local.INFO: TCP Data received {"connection_id":112023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5279ad0012cf61f80070d1218000900ad2e..."} 
[2026-06-23 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5279ad0012cf61f80070d1218000900ad2e..."} 
[2026-06-23 21:15:32] local.INFO: Processing buffer {"connection_id":112023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5279ad0012cf61f80070d1218000900ad2e..."} 
[2026-06-23 21:15:32] local.INFO: Packet analysis {"connection_id":112023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:15:32] local.INFO: Extracted packet for processing {"connection_id":112023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":754327424,"raw_latitude":118297112,"longitude_deg":75.4327424,"latitude_deg":11.8297112,"altitude":9,"angle":173,"satellites":46,"speed":60,"hex_longitude":"2cf61f80","hex_latitude":"070d1218","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250745344001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321794699461394432,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711709448328833024,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782229474000,"timestamp_ms":1782229474000,"timestamp_seconds":1782229474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5279ad0"} 
[2026-06-23 21:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:15:32] 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-06-23 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 21:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250745344001,"66":27376,"209":206,"2":54272,"24":60,"16":321794699461394432,"44":-711709448328833024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-06-23 21:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250745344001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:15:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 21:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321794699461394432,"km_value":321794699461394.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711709448328833024,"description":"Unknown IO ID 44"} 
[2026-06-23 21:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250745344001,"power":27376,"unknown_209":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-711709448328833024}} 
[2026-06-23 21:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":112023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:15:32] local.INFO: GPS data processed {"connection_id":112023,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:15:32] local.INFO: Acknowledgment sent {"connection_id":112023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:15:33] local.INFO: TCP Data received {"connection_id":112023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef527b240012cf62080070ceee8000800b32d..."} 
[2026-06-23 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef527b240012cf62080070ceee8000800b32d..."} 
[2026-06-23 21:15:33] local.INFO: Processing buffer {"connection_id":112023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef527b240012cf62080070ceee8000800b32d..."} 
[2026-06-23 21:15:33] local.INFO: Packet analysis {"connection_id":112023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:15:33] local.INFO: Extracted packet for processing {"connection_id":112023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:15:33] local.INFO: GPS Element Parsed {"raw_longitude":754327680,"raw_latitude":118288104,"longitude_deg":75.432768,"latitude_deg":11.8288104,"altitude":8,"angle":179,"satellites":45,"speed":59,"hex_longitude":"2cf62080","hex_latitude":"070ceee8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250745344001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321795137548058624,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711709448328833024,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782229480000,"timestamp_ms":1782229480000,"timestamp_seconds":1782229480,"priority":1,"record_length":96,"hex_timestamp":"0000019ef527b240"} 
[2026-06-23 21:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:15:33] 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-06-23 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 21:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250745344001,"66":27397,"209":206,"2":54272,"24":59,"16":321795137548058624,"44":-711709448328833024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-06-23 21:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250745344001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:15:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 21:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321795137548058624,"km_value":321795137548058.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:15:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711709448328833024,"description":"Unknown IO ID 44"} 
[2026-06-23 21:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250745344001,"power":27397,"unknown_209":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-711709448328833024}} 
[2026-06-23 21:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":112023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:15:34] local.INFO: GPS data processed {"connection_id":112023,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:15:34] local.INFO: Acknowledgment sent {"connection_id":112023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:15:52] local.INFO: TCP Data received {"connection_id":111209,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:52] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:52] local.INFO: IMEI packet received {"connection_id":111209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":111209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:15:53] local.INFO: TCP Data received {"connection_id":111209,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:53] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:53] local.INFO: IMEI packet received {"connection_id":111209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":111209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:15:57] local.INFO: TCP Data received {"connection_id":111209,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:57] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:15:57] local.INFO: IMEI packet received {"connection_id":111209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":111209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:15:57] local.INFO: TCP Data received {"connection_id":111209,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52506a8012d196580071feec80042006c28..."} 
[2026-06-23 21:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52506a8012d196580071feec80042006c28..."} 
[2026-06-23 21:15:57] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52506a8012d196580071feec80042006c28..."} 
[2026-06-23 21:15:57] local.INFO: Packet analysis {"connection_id":111209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:15:57] local.INFO: Extracted packet for processing {"connection_id":111209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250696704001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229305000,"timestamp_ms":1782229305000,"timestamp_seconds":1782229305,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52506a8"} 
[2026-06-23 21:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:15:57] 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-06-23 21:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-782933196140635803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:15:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:15:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,98,45,128,238,66,38,10,37,190,1,240,217,227,245,31,4,113,205,26,101,200,40,239,48,2,13,7,41],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:15:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920116967800832,"timestamp_seconds":4755920116967801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250696704001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250696704001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250696704001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":111209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:15:57] local.INFO: GPS data processed {"connection_id":111209,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:15:57] local.INFO: Acknowledgment sent {"connection_id":111209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:16:05] local.INFO: TCP Data received {"connection_id":112023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef527c9b0012cf62080070ccc28000800b42f..."} 
[2026-06-23 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef527c9b0012cf62080070ccc28000800b42f..."} 
[2026-06-23 21:16:05] local.INFO: Processing buffer {"connection_id":112023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef527c9b0012cf62080070ccc28000800b42f..."} 
[2026-06-23 21:16:05] local.INFO: Packet analysis {"connection_id":112023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:16:05] local.INFO: Extracted packet for processing {"connection_id":112023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":754327680,"raw_latitude":118279208,"longitude_deg":75.432768,"latitude_deg":11.8279208,"altitude":8,"angle":180,"satellites":47,"speed":59,"hex_longitude":"2cf62080","hex_latitude":"070ccc28","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250746880001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321795571339755520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711427973354428416,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782229486000,"timestamp_ms":1782229486000,"timestamp_seconds":1782229486,"priority":1,"record_length":96,"hex_timestamp":"0000019ef527c9b0"} 
[2026-06-23 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:16: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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250746880001,"66":27267,"209":206,"2":54272,"24":59,"16":321795571339755520,"44":-711427973354428416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-06-23 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250746880001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:16:05] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321795571339755520,"km_value":321795571339755.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711427973354428416,"description":"Unknown IO ID 44"} 
[2026-06-23 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250746880001,"power":27267,"unknown_209":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-711427973354428416}} 
[2026-06-23 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":112023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:16:05] local.INFO: GPS data processed {"connection_id":112023,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:16:05] local.INFO: Acknowledgment sent {"connection_id":112023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:16:23] local.INFO: TCP Data received {"connection_id":112951,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:23] local.INFO: Processing buffer {"connection_id":112951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:23] local.INFO: IMEI packet received {"connection_id":112951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":112951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:16:24] local.INFO: TCP Data received {"connection_id":112951,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:24] local.INFO: Processing buffer {"connection_id":112951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:24] local.INFO: IMEI packet received {"connection_id":112951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":112951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:16:28] local.INFO: TCP Data received {"connection_id":112951,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:28] local.INFO: Processing buffer {"connection_id":112951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:16:28] local.INFO: IMEI packet received {"connection_id":112951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":112951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:16:28] local.INFO: TCP Data received {"connection_id":111209,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52558b0012d196580071feec80042006c27..."} 
[2026-06-23 21:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52558b0012d196580071feec80042006c27..."} 
[2026-06-23 21:16:28] local.INFO: Processing buffer {"connection_id":111209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52558b0012d196580071feec80042006c27..."} 
[2026-06-23 21:16:28] local.INFO: Packet analysis {"connection_id":111209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:16:28] local.INFO: Extracted packet for processing {"connection_id":111209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:16: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-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250702080001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229326000,"timestamp_ms":1782229326000,"timestamp_seconds":1782229326,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52558b0"} 
[2026-06-23 21:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:16: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-06-23 21:16: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":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-782843001827419803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,180,45,128,238,66,38,10,98,1,240,227,245,31,4,113,205,108,101,200,40,239,47,2,13,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:16:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250702080001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250702080001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250702080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":111209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:16:28] local.INFO: GPS data processed {"connection_id":111209,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:16:28] local.INFO: Acknowledgment sent {"connection_id":111209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:16:30] local.INFO: TCP Data received {"connection_id":112951,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef527e508012cf62000070ca3d0000700b42f..."} 
[2026-06-23 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef527e508012cf62000070ca3d0000700b42f..."} 
[2026-06-23 21:16:30] local.INFO: Processing buffer {"connection_id":112951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef527e508012cf62000070ca3d0000700b42f..."} 
[2026-06-23 21:16:30] local.INFO: Packet analysis {"connection_id":112951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:16:30] local.INFO: Extracted packet for processing {"connection_id":112951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:16:30] local.INFO: GPS Element Parsed {"raw_longitude":754327552,"raw_latitude":118268880,"longitude_deg":75.4327552,"latitude_deg":11.826888,"altitude":7,"angle":180,"satellites":47,"speed":59,"hex_longitude":"2cf62000","hex_latitude":"070ca3d0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250748416001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321796069555961856,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711427973356705792,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782229493000,"timestamp_ms":1782229493000,"timestamp_seconds":1782229493,"priority":1,"record_length":96,"hex_timestamp":"0000019ef527e508"} 
[2026-06-23 21:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:16:30] 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-06-23 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 21:16:30] 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-06-23 21: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-06-23 21:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250748416001,"66":27365,"209":206,"2":54272,"24":59,"16":321796069555961856,"44":-711427973356705792},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-06-23 21:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250748416001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:16:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-23 21:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321796069555961856,"km_value":321796069555961.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711427973356705792,"description":"Unknown IO ID 44"} 
[2026-06-23 21:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250748416001,"power":27365,"unknown_209":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-711427973356705792}} 
[2026-06-23 21:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":112951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:16:30] local.INFO: GPS data processed {"connection_id":112951,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:16:30] local.INFO: Acknowledgment sent {"connection_id":112951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:16:51] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:51] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:51] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:16:56] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:56] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:56] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:16:56] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:56] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:16:56] local.INFO: IMEI packet received {"connection_id":111210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":111210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:16:57] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef525aab8012d196580071feec80042006c28..."} 
[2026-06-23 21:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef525aab8012d196580071feec80042006c28..."} 
[2026-06-23 21:16:57] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef525aab8012d196580071feec80042006c28..."} 
[2026-06-23 21:16:57] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:16:57] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250707456001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229347000,"timestamp_ms":1782229347000,"timestamp_seconds":1782229347,"priority":1,"record_length":96,"hex_timestamp":"0000019ef525aab8"} 
[2026-06-23 21:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:16:57] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:16:57] 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-06-23 21: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-06-23 21:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250707456001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250707456001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:16:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250707456001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:16:57] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:16:57] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:17:01] local.INFO: TCP Data received {"connection_id":112951,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef528f290012cf68b40070b43e00008009730..."} 
[2026-06-23 21:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef528f290012cf68b40070b43e00008009730..."} 
[2026-06-23 21:17:01] local.INFO: Processing buffer {"connection_id":112951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef528f290012cf68b40070b43e00008009730..."} 
[2026-06-23 21:17:01] local.INFO: Packet analysis {"connection_id":112951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef528"} 
[2026-06-23 21:17:01] local.INFO: Extracted packet for processing {"connection_id":112951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef528"} 
[2026-06-23 21:17:01] local.INFO: GPS Element Parsed {"raw_longitude":754355008,"raw_latitude":118178784,"longitude_deg":75.4355008,"latitude_deg":11.8178784,"altitude":8,"angle":151,"satellites":48,"speed":49,"hex_longitude":"2cf68b40","hex_latitude":"070b43e0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250765824001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321800686645805056,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-685743381755330560,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782229562000,"timestamp_ms":1782229562000,"timestamp_seconds":1782229562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef528f290"} 
[2026-06-23 21:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:17:01] 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-06-23 21: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-23 21:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250765824001,"66":26702,"32":206,"2":54272,"24":49,"16":321800686645805056,"44":-685743381755330560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-23 21:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250765824001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-23 21:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321800686645805056,"km_value":321800686645805.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-685743381755330560,"description":"Unknown IO ID 44"} 
[2026-06-23 21:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250765824001,"power":26702,"unknown_32":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-685743381755330560}} 
[2026-06-23 21:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":112951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:17:01] local.INFO: GPS data processed {"connection_id":112951,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:17:01] local.INFO: Acknowledgment sent {"connection_id":112951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:17:02] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef525fcc0012d196580071feec80042006c28..."} 
[2026-06-23 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef525fcc0012d196580071feec80042006c28..."} 
[2026-06-23 21:17:02] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef525fcc0012d196580071feec80042006c28..."} 
[2026-06-23 21:17:02] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:17:02] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef525"} 
[2026-06-23 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250712832001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782229368000,"timestamp_ms":1782229368000,"timestamp_seconds":1782229368,"priority":1,"record_length":96,"hex_timestamp":"0000019ef525fcc0"} 
[2026-06-23 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-06-23 21:17: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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:17: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-06-23 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-06-23 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-06-23 21:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250712832001,"66":12319,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250712832001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:17:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250712832001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:17:02] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:17:02] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:17:23] local.INFO: TCP Data received {"connection_id":112952,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:23] local.INFO: Processing buffer {"connection_id":112952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:23] local.INFO: IMEI packet received {"connection_id":112952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":112952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:17:27] local.INFO: TCP Data received {"connection_id":112952,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:27] local.INFO: Processing buffer {"connection_id":112952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:27] local.INFO: IMEI packet received {"connection_id":112952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":112952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:17:28] local.INFO: TCP Data received {"connection_id":112952,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:28] local.INFO: Processing buffer {"connection_id":112952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:28] local.INFO: IMEI packet received {"connection_id":112952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":112952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:17:33] local.INFO: TCP Data received {"connection_id":111210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5264ec8012d196580071feec80042006c27..."} 
[2026-06-23 21:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5264ec8012d196580071feec80042006c27..."} 
[2026-06-23 21:17:33] local.INFO: Processing buffer {"connection_id":111210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5264ec8012d196580071feec80042006c27..."} 
[2026-06-23 21:17:33] local.INFO: Packet analysis {"connection_id":111210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:17:33] local.INFO: Extracted packet for processing {"connection_id":111210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250718208001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21: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-06-23 21:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782229389000,"timestamp_ms":1782229389000,"timestamp_seconds":1782229389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5264ec8"} 
[2026-06-23 21:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:17:33] 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-06-23 21: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-23 21:17: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-06-23 21: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-06-23 21:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250718208001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250718208001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:17:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250718208001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":111210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:17:33] local.INFO: GPS data processed {"connection_id":111210,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:17:33] local.INFO: Acknowledgment sent {"connection_id":111210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:17:34] local.INFO: TCP Data received {"connection_id":112952,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:34] local.INFO: Processing buffer {"connection_id":112952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:17:34] local.INFO: IMEI packet received {"connection_id":112952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":112952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:17:40] local.INFO: TCP Data received {"connection_id":112952,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52919a0012cf69f80070b25080008008f30..."} 
[2026-06-23 21:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52919a0012cf69f80070b25080008008f30..."} 
[2026-06-23 21:17:40] local.INFO: Processing buffer {"connection_id":112952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52919a0012cf69f80070b25080008008f30..."} 
[2026-06-23 21:17:40] local.INFO: Packet analysis {"connection_id":112952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:17:40] local.INFO: Extracted packet for processing {"connection_id":112952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":754360192,"raw_latitude":118170888,"longitude_deg":75.4360192,"latitude_deg":11.8170888,"altitude":8,"angle":143,"satellites":48,"speed":30,"hex_longitude":"2cf69f80","hex_latitude":"070b2508","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250767872001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321801141912338432,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-681380519618551808,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782229572000,"timestamp_ms":1782229572000,"timestamp_seconds":1782229572,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52919a0"} 
[2026-06-23 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-06-23 21:17: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-06-23 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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-23 21:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250767872001,"66":27463,"32":206,"2":54272,"24":30,"16":321801141912338432,"44":-681380519618551808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-23 21:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250767872001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:17:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-23 21:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321801141912338432,"km_value":321801141912338.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:17:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-681380519618551808,"description":"Unknown IO ID 44"} 
[2026-06-23 21:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250767872001,"power":27463,"unknown_32":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-681380519618551808}} 
[2026-06-23 21:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":112952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:17:40] local.INFO: GPS data processed {"connection_id":112952,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:17:40] local.INFO: Acknowledgment sent {"connection_id":112952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:17:43] local.INFO: TCP Data received {"connection_id":112952,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52940b0012cf6b600070b09a80007008b2f..."} 
[2026-06-23 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52940b0012cf6b600070b09a80007008b2f..."} 
[2026-06-23 21:17:43] local.INFO: Processing buffer {"connection_id":112952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52940b0012cf6b600070b09a80007008b2f..."} 
[2026-06-23 21:17:43] local.INFO: Packet analysis {"connection_id":112952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:17:43] local.INFO: Extracted packet for processing {"connection_id":112952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:17:43] local.INFO: GPS Element Parsed {"raw_longitude":754365952,"raw_latitude":118163880,"longitude_deg":75.4365952,"latitude_deg":11.816388,"altitude":7,"angle":139,"satellites":47,"speed":40,"hex_longitude":"2cf6b600","hex_latitude":"070b09a8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250770432001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321801575704035328,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-675680651342182400,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782229582000,"timestamp_ms":1782229582000,"timestamp_seconds":1782229582,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52940b0"} 
[2026-06-23 21:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:17: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-06-23 21: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-06-23 21:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":112952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":112952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":112952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250770432001,"66":27463,"32":206,"2":54272,"24":40,"16":321801575704035328,"44":-675680651342182400},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-23 21:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250770432001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:17:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-23 21:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321801575704035328,"km_value":321801575704035.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-675680651342182400,"description":"Unknown IO ID 44"} 
[2026-06-23 21:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250770432001,"power":27463,"unknown_32":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-675680651342182400}} 
[2026-06-23 21:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":112952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:17:43] local.INFO: GPS data processed {"connection_id":112952,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:17:43] local.INFO: Acknowledgment sent {"connection_id":112952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:17:57] local.INFO: TCP Data received {"connection_id":111211,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:17:57] local.INFO: Processing buffer {"connection_id":111211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:17:57] local.INFO: IMEI packet received {"connection_id":111211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":111211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:17:58] local.INFO: TCP Data received {"connection_id":111211,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:17:58] local.INFO: Processing buffer {"connection_id":111211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:17:58] local.INFO: IMEI packet received {"connection_id":111211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":111211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:17:59] local.INFO: TCP Data received {"connection_id":111211,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef526a0d0012d196580071feec80042006c28..."} 
[2026-06-23 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef526a0d0012d196580071feec80042006c28..."} 
[2026-06-23 21:17:59] local.INFO: Processing buffer {"connection_id":111211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef526a0d0012d196580071feec80042006c28..."} 
[2026-06-23 21:17:59] local.INFO: Packet analysis {"connection_id":111211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:17:59] local.INFO: Extracted packet for processing {"connection_id":111211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250723584001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 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-06-23 21:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782229410000,"timestamp_ms":1782229410000,"timestamp_seconds":1782229410,"priority":1,"record_length":96,"hex_timestamp":"0000019ef526a0d0"} 
[2026-06-23 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-06-23 21:17: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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-782482224574555803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:17:59] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:17:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,252,45,128,238,66,40,10,170,88,1,240,255,227,245,31,4,113,205,180,101,200,38,239,48,2,13,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:17:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 21:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250723584001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250723584001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:17:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:17:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250723584001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":111211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:17:59] local.INFO: GPS data processed {"connection_id":111211,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:17:59] local.INFO: Acknowledgment sent {"connection_id":111211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:18:02] local.INFO: TCP Data received {"connection_id":111211,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef526f2d8012d196580071feec80042006c26..."} 
[2026-06-23 21:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef526f2d8012d196580071feec80042006c26..."} 
[2026-06-23 21:18:02] local.INFO: Processing buffer {"connection_id":111211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef526f2d8012d196580071feec80042006c26..."} 
[2026-06-23 21:18:02] local.INFO: Packet analysis {"connection_id":111211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:18:02] local.INFO: Extracted packet for processing {"connection_id":111211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef526"} 
[2026-06-23 21:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250728960001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782229431000,"timestamp_ms":1782229431000,"timestamp_seconds":1782229431,"priority":1,"record_length":96,"hex_timestamp":"0000019ef526f2d8"} 
[2026-06-23 21:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:18: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-06-23 21:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-782392030261339803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:18:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,78,45,128,238,66,39,10,252,40,170,1,240,255,227,245,31,4,113,205,6,101,200,239,48,2,13,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:18:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250728960001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250728960001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250728960001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":111211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:18:02] local.INFO: GPS data processed {"connection_id":111211,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:18:02] local.INFO: Acknowledgment sent {"connection_id":111211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:18:23] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:23] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:23] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:18:27] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:27] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:27] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:18:28] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:28] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:18:28] local.INFO: IMEI packet received {"connection_id":111212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":111212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:18:30] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52963d8012cf6cdc0070aebe80007008e30..."} 
[2026-06-23 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52963d8012cf6cdc0070aebe80007008e30..."} 
[2026-06-23 21:18:30] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52963d8012cf6cdc0070aebe80007008e30..."} 
[2026-06-23 21:18:30] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:18:30] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":754372032,"raw_latitude":118156264,"longitude_deg":75.4372032,"latitude_deg":11.8156264,"altitude":7,"angle":142,"satellites":48,"speed":42,"hex_longitude":"2cf6cdc0","hex_latitude":"070aebe8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250772992001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321802048150437888,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-669347464367986688,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782229591000,"timestamp_ms":1782229591000,"timestamp_seconds":1782229591,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52963d8"} 
[2026-06-23 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-06-23 21:18:30] 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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250772992001,"66":27397,"32":206,"2":54272,"24":42,"16":321802048150437888,"44":-669347464367986688},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-23 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250772992001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:18:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-23 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321802048150437888,"km_value":321802048150437.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-669347464367986688,"description":"Unknown IO ID 44"} 
[2026-06-23 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250772992001,"power":27397,"unknown_32":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-669347464367986688}} 
[2026-06-23 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:18:30] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:18:30] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:18:33] local.INFO: TCP Data received {"connection_id":111211,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52744e0012d196580071feec80042006c28..."} 
[2026-06-23 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52744e0012d196580071feec80042006c28..."} 
[2026-06-23 21:18:33] local.INFO: Processing buffer {"connection_id":111211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52744e0012d196580071feec80042006c28..."} 
[2026-06-23 21:18:33] local.INFO: Packet analysis {"connection_id":111211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:18:33] local.INFO: Extracted packet for processing {"connection_id":111211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250734336001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18: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-06-23 21:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782229452000,"timestamp_ms":1782229452000,"timestamp_seconds":1782229452,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52744e0"} 
[2026-06-23 21:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:18:33] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:18:33] 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-06-23 21: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-06-23 21:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250734336001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250734336001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250734336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":111211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:18:33] local.INFO: GPS data processed {"connection_id":111211,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:18:33] local.INFO: Acknowledgment sent {"connection_id":111211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:18:33] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5298700012cf6e500070acc58000800922f..."} 
[2026-06-23 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5298700012cf6e500070acc58000800922f..."} 
[2026-06-23 21:18:33] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5298700012cf6e500070acc58000800922f..."} 
[2026-06-23 21:18:33] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:18:33] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef529"} 
[2026-06-23 21:18:33] local.INFO: GPS Element Parsed {"raw_longitude":754377984,"raw_latitude":118148184,"longitude_deg":75.4377984,"latitude_deg":11.8148184,"altitude":8,"angle":146,"satellites":47,"speed":44,"hex_longitude":"2cf6e500","hex_latitude":"070acc58","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250775296001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321802529186775040,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-662662433673058304,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782229600000,"timestamp_ms":1782229600000,"timestamp_seconds":1782229600,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5298700"} 
[2026-06-23 21:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:18:33] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250775296001,"66":27397,"30":206,"2":54272,"24":44,"16":321802529186775040,"44":-662662433673058304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,2,24,16,44]} 
[2026-06-23 21:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250775296001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-23 21:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321802529186775040,"km_value":321802529186775.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:18:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-662662433673058304,"description":"Unknown IO ID 44"} 
[2026-06-23 21:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250775296001,"power":27397,"unknown_30":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-662662433673058304}} 
[2026-06-23 21:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:18:33] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:18:33] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:18:41] local.INFO: TCP Data received {"connection_id":112953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:18:41] local.INFO: Processing buffer {"connection_id":112953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:18:41] local.INFO: IMEI packet received {"connection_id":112953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":112953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:18:52] local.INFO: TCP Data received {"connection_id":112025,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:18:52] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:18:52] local.INFO: IMEI packet received {"connection_id":112025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":112025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:18:57] local.INFO: TCP Data received {"connection_id":112025,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:18:57] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:18:57] local.INFO: IMEI packet received {"connection_id":112025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":112025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:18:57] local.INFO: TCP Data received {"connection_id":112025,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52796e8012d196580071feec80042006c28..."} 
[2026-06-23 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52796e8012d196580071feec80042006c28..."} 
[2026-06-23 21:18:57] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52796e8012d196580071feec80042006c28..."} 
[2026-06-23 21:18:57] local.INFO: Packet analysis {"connection_id":112025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:18:57] local.INFO: Extracted packet for processing {"connection_id":112025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250739712001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229473000,"timestamp_ms":1782229473000,"timestamp_seconds":1782229473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52796e8"} 
[2026-06-23 21:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:18:57] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:18:57] 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-06-23 21: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-06-23 21:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250739712001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250739712001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250739712001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":112025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:18:57] local.INFO: GPS data processed {"connection_id":112025,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:18:57] local.INFO: Acknowledgment sent {"connection_id":112025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:19:04] local.INFO: TCP Data received {"connection_id":111212,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52ad308012cf7e800070991f0000d008d2b..."} 
[2026-06-23 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52ad308012cf7e800070991f0000d008d2b..."} 
[2026-06-23 21:19:04] local.INFO: Processing buffer {"connection_id":111212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52ad308012cf7e800070991f0000d008d2b..."} 
[2026-06-23 21:19:04] local.INFO: Packet analysis {"connection_id":111212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52a"} 
[2026-06-23 21:19:04] local.INFO: Extracted packet for processing {"connection_id":111212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52a"} 
[2026-06-23 21:19:04] local.INFO: GPS Element Parsed {"raw_longitude":754444288,"raw_latitude":118067696,"longitude_deg":75.4444288,"latitude_deg":11.8067696,"altitude":13,"angle":141,"satellites":43,"speed":45,"hex_longitude":"2cf7e800","hex_latitude":"070991f0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250797312001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321807545708576768,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-589619677237551104,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782229685000,"timestamp_ms":1782229685000,"timestamp_seconds":1782229685,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52ad308"} 
[2026-06-23 21:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:19:04] 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-06-23 21: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-06-23 21:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250797312001,"66":27365,"167":206,"28":32256,"24":45,"16":321807545708576768,"44":-589619677237551104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-23 21:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250797312001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:19:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 21:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321807545708576768,"km_value":321807545708576.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-589619677237551104,"description":"Unknown IO ID 44"} 
[2026-06-23 21:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250797312001,"power":27365,"unknown_167":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-589619677237551104}} 
[2026-06-23 21:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":111212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:19:04] local.INFO: GPS data processed {"connection_id":111212,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:19:04] local.INFO: Acknowledgment sent {"connection_id":111212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:19:06] local.INFO: TCP Data received {"connection_id":111389,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:19:06] local.INFO: Processing buffer {"connection_id":111389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:19:06] local.INFO: IMEI packet received {"connection_id":111389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":111389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:19:23] local.INFO: TCP Data received {"connection_id":112954,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:19:23] local.INFO: Processing buffer {"connection_id":112954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:19:23] local.INFO: IMEI packet received {"connection_id":112954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":112954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:19:28] local.INFO: TCP Data received {"connection_id":112954,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:19:28] local.INFO: Processing buffer {"connection_id":112954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:19:28] local.INFO: IMEI packet received {"connection_id":112954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":112954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:19:28] local.INFO: TCP Data received {"connection_id":112025,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef527e8f0012d196580071feec80042006c27..."} 
[2026-06-23 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef527e8f0012d196580071feec80042006c27..."} 
[2026-06-23 21:19:28] local.INFO: Processing buffer {"connection_id":112025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef527e8f0012d196580071feec80042006c27..."} 
[2026-06-23 21:19:28] local.INFO: Packet analysis {"connection_id":112025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:19:28] local.INFO: Extracted packet for processing {"connection_id":112025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef527"} 
[2026-06-23 21:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250745088001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229494000,"timestamp_ms":1782229494000,"timestamp_seconds":1782229494,"priority":1,"record_length":96,"hex_timestamp":"0000019ef527e8f0"} 
[2026-06-23 21:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:19: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-06-23 21:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-782121447321691803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:19:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,68,45,128,238,66,40,10,242,38,160,1,240,227,245,31,4,113,205,252,101,200,239,48,2,13,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:19:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920125557735424,"timestamp_seconds":4755920125557735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250745088001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250745088001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250745088001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":112025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:19:28] local.INFO: GPS data processed {"connection_id":112025,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:19:28] local.INFO: Acknowledgment sent {"connection_id":112025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:19:29] local.INFO: TCP Data received {"connection_id":112954,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52af248012cf7ff80070974f0000d008c2e..."} 
[2026-06-23 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52af248012cf7ff80070974f0000d008c2e..."} 
[2026-06-23 21:19:29] local.INFO: Processing buffer {"connection_id":112954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52af248012cf7ff80070974f0000d008c2e..."} 
[2026-06-23 21:19:29] local.INFO: Packet analysis {"connection_id":112954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52a"} 
[2026-06-23 21:19:29] local.INFO: Extracted packet for processing {"connection_id":112954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52a"} 
[2026-06-23 21:19:29] local.INFO: GPS Element Parsed {"raw_longitude":754450304,"raw_latitude":118060272,"longitude_deg":75.4450304,"latitude_deg":11.8060272,"altitude":13,"angle":140,"satellites":46,"speed":50,"hex_longitude":"2cf7ff80","hex_latitude":"070974f0","is_valid_coordinates":true} 
[2026-06-23 21:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250799360001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321808005270077440,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-583216121519149056,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782229693000,"timestamp_ms":1782229693000,"timestamp_seconds":1782229693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52af248"} 
[2026-06-23 21:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:19:29] 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-06-23 21:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250799360001,"66":27376,"167":206,"28":32256,"24":50,"16":321808005270077440,"44":-583216121519149056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-23 21:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250799360001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:19:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 21:19:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321808005270077440,"km_value":321808005270077.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-583216121519149056,"description":"Unknown IO ID 44"} 
[2026-06-23 21:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250799360001,"power":27376,"unknown_167":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_44":-583216121519149056}} 
[2026-06-23 21:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":112954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:19:29] local.INFO: GPS data processed {"connection_id":112954,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:19:29] local.INFO: Acknowledgment sent {"connection_id":112954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:19:52] local.INFO: TCP Data received {"connection_id":112026,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:19:52] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:19:52] local.INFO: IMEI packet received {"connection_id":112026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":112026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:19:57] local.INFO: TCP Data received {"connection_id":112026,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:19:57] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:19:57] local.INFO: IMEI packet received {"connection_id":112026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":112026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:19:57] local.INFO: TCP Data received {"connection_id":112026,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5283af8012d196580071feec80042006c27..."} 
[2026-06-23 21:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5283af8012d196580071feec80042006c27..."} 
[2026-06-23 21:19:57] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5283af8012d196580071feec80042006c27..."} 
[2026-06-23 21:19:57] local.INFO: Packet analysis {"connection_id":112026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef528"} 
[2026-06-23 21:19:57] local.INFO: Extracted packet for processing {"connection_id":112026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef528"} 
[2026-06-23 21:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250750464001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229515000,"timestamp_ms":1782229515000,"timestamp_seconds":1782229515,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5283af8"} 
[2026-06-23 21:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:19:57] 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-06-23 21:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-782031253008475803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:19:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:19:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,150,45,128,238,66,40,10,68,242,1,240,255,227,245,31,4,113,205,78,101,200,39,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:19:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250750464001,"66":12004,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250750464001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250750464001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":112026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:19:58] local.INFO: GPS data processed {"connection_id":112026,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:19:58] local.INFO: Acknowledgment sent {"connection_id":112026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:20:01] local.INFO: TCP Data received {"connection_id":112954,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52b0da0012cf8174007095840000b008b2f..."} 
[2026-06-23 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52b0da0012cf8174007095840000b008b2f..."} 
[2026-06-23 21:20:01] local.INFO: Processing buffer {"connection_id":112954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52b0da0012cf8174007095840000b008b2f..."} 
[2026-06-23 21:20:01] local.INFO: Packet analysis {"connection_id":112954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52b"} 
[2026-06-23 21:20:01] local.INFO: Extracted packet for processing {"connection_id":112954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52b"} 
[2026-06-23 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":754456384,"raw_latitude":118052928,"longitude_deg":75.4456384,"latitude_deg":11.8052928,"altitude":11,"angle":139,"satellites":47,"speed":57,"hex_longitude":"2cf81740","hex_latitude":"07095840","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250801408001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321808464831578112,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-576601459568349184,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782229700000,"timestamp_ms":1782229700000,"timestamp_seconds":1782229700,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52b0da0"} 
[2026-06-23 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-06-23 21:20:01] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250801408001,"66":27365,"167":206,"28":32256,"24":57,"16":321808464831578112,"44":-576601459568349184},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-23 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250801408001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321808464831578112,"km_value":321808464831578.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-576601459568349184,"description":"Unknown IO ID 44"} 
[2026-06-23 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250801408001,"power":27365,"unknown_167":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-576601459568349184}} 
[2026-06-23 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":112954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:20:01] local.INFO: GPS data processed {"connection_id":112954,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:20:01] local.INFO: Acknowledgment sent {"connection_id":112954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:20:24] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:24] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:24] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:20:28] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:28] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:28] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:20:28] local.INFO: TCP Data received {"connection_id":112026,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52bc150012d196580071feec80042006c24..."} 
[2026-06-23 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52bc150012d196580071feec80042006c24..."} 
[2026-06-23 21:20:28] local.INFO: Processing buffer {"connection_id":112026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52bc150012d196580071feec80042006c24..."} 
[2026-06-23 21:20:28] local.INFO: Packet analysis {"connection_id":112026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52b"} 
[2026-06-23 21:20:28] local.INFO: Extracted packet for processing {"connection_id":112026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52b"} 
[2026-06-23 21:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250809600001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229746000,"timestamp_ms":1782229746000,"timestamp_seconds":1782229746,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52bc150"} 
[2026-06-23 21:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:20: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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-781039115563099803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":14337,"corrected_to":0} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:20:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,29,45,128,238,66,39,10,203,37,121,1,240,227,245,31,4,113,205,213,101,200,239,48,2,13,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":203,"original":14337,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:20:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920116967800832,"timestamp_seconds":4755920116967801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250809600001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250809600001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250809600001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":112026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:20:29] local.INFO: GPS data processed {"connection_id":112026,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:20:29] local.INFO: Acknowledgment sent {"connection_id":112026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:20:30] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:30] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:20:30] local.INFO: IMEI packet received {"connection_id":111213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":111213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:20:31] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52c26e0012cf8e58007081618000b009030..."} 
[2026-06-23 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52c26e0012cf8e58007081618000b009030..."} 
[2026-06-23 21:20:31] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52c26e0012cf8e58007081618000b009030..."} 
[2026-06-23 21:20:31] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:20:31] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:20:31] local.INFO: GPS Element Parsed {"raw_longitude":754509184,"raw_latitude":117970456,"longitude_deg":75.4509184,"latitude_deg":11.7970456,"altitude":11,"angle":144,"satellites":48,"speed":55,"hex_longitude":"2cf8e580","hex_latitude":"07081618","is_valid_coordinates":true} 
[2026-06-23 21:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250819840001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321813215065407488,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-518406508154318848,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782229772000,"timestamp_ms":1782229772000,"timestamp_seconds":1782229772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52c26e0"} 
[2026-06-23 21:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:20:31] 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-06-23 21:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:20:31] 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-06-23 21:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250819840001,"66":26789,"165":206,"28":32256,"24":55,"16":321813215065407488,"44":-518406508154318848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250819840001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:20:31] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321813215065407488,"km_value":321813215065407.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-518406508154318848,"description":"Unknown IO ID 44"} 
[2026-06-23 21:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250819840001,"power":26789,"unknown_165":206,"unknown_28":32256,"ignition":55,"odometer":null,"unknown_44":-518406508154318848}} 
[2026-06-23 21:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:20:31] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:20:31] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:20:33] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52c4238012cf8fc400707f778000d009030..."} 
[2026-06-23 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52c4238012cf8fc400707f778000d009030..."} 
[2026-06-23 21:20:33] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52c4238012cf8fc400707f778000d009030..."} 
[2026-06-23 21:20:33] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:20:33] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:20:33] local.INFO: GPS Element Parsed {"raw_longitude":754515008,"raw_latitude":117962616,"longitude_deg":75.4515008,"latitude_deg":11.7962616,"altitude":13,"angle":144,"satellites":48,"speed":54,"hex_longitude":"2cf8fc40","hex_latitude":"0707f778","is_valid_coordinates":true} 
[2026-06-23 21:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250821632001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321813687511810048,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-511862214947891200,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782229779000,"timestamp_ms":1782229779000,"timestamp_seconds":1782229779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52c4238"} 
[2026-06-23 21:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:20:33] 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-06-23 21:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-06-23 21:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250821632001,"66":27463,"165":206,"28":32256,"24":54,"16":321813687511810048,"44":-511862214947891200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250821632001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:20:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321813687511810048,"km_value":321813687511810.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:20:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-511862214947891200,"description":"Unknown IO ID 44"} 
[2026-06-23 21:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250821632001,"power":27463,"unknown_165":206,"unknown_28":32256,"ignition":54,"odometer":null,"unknown_44":-511862214947891200}} 
[2026-06-23 21:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:20:33] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:20:33] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:20:52] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:20:52] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:20:52] local.INFO: IMEI packet received {"connection_id":112027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":112027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:20:57] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:20:57] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:20:57] local.INFO: IMEI packet received {"connection_id":112027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":112027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:20:57] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52c1358012d196580071feec80042006c23..."} 
[2026-06-23 21:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52c1358012d196580071feec80042006c23..."} 
[2026-06-23 21:20:57] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52c1358012d196580071feec80042006c23..."} 
[2026-06-23 21:20:57] local.INFO: Packet analysis {"connection_id":112027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:20:57] local.INFO: Extracted packet for processing {"connection_id":112027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:20: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-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250814976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229767000,"timestamp_ms":1782229767000,"timestamp_seconds":1782229767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52c1358"} 
[2026-06-23 21:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:20:57] 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-06-23 21:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-780948921249883803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":14337,"corrected_to":0} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:20:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,189,158,111,45,128,238,66,38,10,29,39,203,1,240,227,245,31,4,113,205,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":203,"original":14337,"validated":0},{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:20:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250814976001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250814976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250814976001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":112027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:20:57] local.INFO: GPS data processed {"connection_id":112027,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:20:57] local.INFO: Acknowledgment sent {"connection_id":112027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:21:04] local.INFO: TCP Data received {"connection_id":111213,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52c5d90012cf912400707d878000c00912f..."} 
[2026-06-23 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52c5d90012cf912400707d878000c00912f..."} 
[2026-06-23 21:21:04] local.INFO: Processing buffer {"connection_id":111213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52c5d90012cf912400707d878000c00912f..."} 
[2026-06-23 21:21:04] local.INFO: Packet analysis {"connection_id":111213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:04] local.INFO: Extracted packet for processing {"connection_id":111213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:04] local.INFO: GPS Element Parsed {"raw_longitude":754520640,"raw_latitude":117954680,"longitude_deg":75.452064,"latitude_deg":11.795468,"altitude":12,"angle":145,"satellites":47,"speed":57,"hex_longitude":"2cf91240","hex_latitude":"0707d878","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250823424001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321814155663245312,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-505458659229730816,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782229786000,"timestamp_ms":1782229786000,"timestamp_seconds":1782229786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52c5d90"} 
[2026-06-23 21:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:21:04] 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-06-23 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250823424001,"66":26832,"165":206,"28":32256,"24":57,"16":321814155663245312,"44":-505458659229730816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250823424001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:21:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321814155663245312,"km_value":321814155663245.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:21:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-505458659229730816,"description":"Unknown IO ID 44"} 
[2026-06-23 21:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250823424001,"power":26832,"unknown_165":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-505458659229730816}} 
[2026-06-23 21:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":111213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:21:04] local.INFO: GPS data processed {"connection_id":111213,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:21:04] local.INFO: Acknowledgment sent {"connection_id":111213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:21:23] local.INFO: TCP Data received {"connection_id":111390,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:21:23] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:21:23] local.INFO: IMEI packet received {"connection_id":111390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":111390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:21:28] local.INFO: TCP Data received {"connection_id":112027,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52c6560012d196580071feec80042006c24..."} 
[2026-06-23 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52c6560012d196580071feec80042006c24..."} 
[2026-06-23 21:21:28] local.INFO: Processing buffer {"connection_id":112027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52c6560012d196580071feec80042006c24..."} 
[2026-06-23 21:21:28] local.INFO: Packet analysis {"connection_id":112027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:28] local.INFO: Extracted packet for processing {"connection_id":112027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:21: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-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250820352001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229788000,"timestamp_ms":1782229788000,"timestamp_seconds":1782229788,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52c6560"} 
[2026-06-23 21:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:21: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-06-23 21:21: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":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-780858726936667803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:21:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,193,45,128,238,66,36,10,111,38,29,1,240,227,245,31,4,113,205,121,101,200,39,239,48,2,13,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:21:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920104082898944,"timestamp_seconds":4755920104082899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250820352001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250820352001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250820352001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:21:28] local.INFO: TCP Data received {"connection_id":111390,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:21:28] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:21:28] local.INFO: IMEI packet received {"connection_id":111390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":111390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":112027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:21:28] local.INFO: GPS data processed {"connection_id":112027,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:21:28] local.INFO: Acknowledgment sent {"connection_id":112027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:21:29] local.INFO: TCP Data received {"connection_id":111390,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52c7500012cf926c00707bb30000a009030..."} 
[2026-06-23 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52c7500012cf926c00707bb30000a009030..."} 
[2026-06-23 21:21:29] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52c7500012cf926c00707bb30000a009030..."} 
[2026-06-23 21:21:29] local.INFO: Packet analysis {"connection_id":111390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:29] local.INFO: Extracted packet for processing {"connection_id":111390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":754525888,"raw_latitude":117947184,"longitude_deg":75.4525888,"latitude_deg":11.7947184,"altitude":10,"angle":144,"satellites":48,"speed":62,"hex_longitude":"2cf926c0","hex_latitude":"0707bb30","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250825216001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321814598044876800,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-499266209744128000,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782229792000,"timestamp_ms":1782229792000,"timestamp_seconds":1782229792,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52c7500"} 
[2026-06-23 21:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:21:29] 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-06-23 21: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-23 21:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250825216001,"66":27343,"165":206,"28":32256,"24":62,"16":321814598044876800,"44":-499266209744128000},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250825216001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:21:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:21:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321814598044876800,"km_value":321814598044876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-499266209744128000,"description":"Unknown IO ID 44"} 
[2026-06-23 21:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250825216001,"power":27343,"unknown_165":206,"unknown_28":32256,"ignition":62,"odometer":null,"unknown_44":-499266209744128000}} 
[2026-06-23 21:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":111390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:21:29] local.INFO: GPS data processed {"connection_id":111390,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:21:29] local.INFO: Acknowledgment sent {"connection_id":111390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:21:49] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:49] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:49] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:21:52] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:52] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:52] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:21:57] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:57] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:21:57] local.INFO: IMEI packet received {"connection_id":111214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":111214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:21:57] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52cb768012d196580071feec80042006c24..."} 
[2026-06-23 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52cb768012d196580071feec80042006c24..."} 
[2026-06-23 21:21:57] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52cb768012d196580071feec80042006c24..."} 
[2026-06-23 21:21:57] local.INFO: Packet analysis {"connection_id":111214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:57] local.INFO: Extracted packet for processing {"connection_id":111214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52c"} 
[2026-06-23 21:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250825728001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229809000,"timestamp_ms":1782229809000,"timestamp_seconds":1782229809,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52cb768"} 
[2026-06-23 21:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:21:57] 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-06-23 21:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-780768532623451803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:21:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":939601177,"corrected_to":0} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:21:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:21:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,19,45,128,238,66,35,10,193,36,111,1,240,227,245,31,4,113,205,203,101,200,37,239,48,2,13,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":203,"original":939601177,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:21:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250825728001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250825728001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250825728001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":111214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:21:57] local.INFO: GPS data processed {"connection_id":111214,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:21:57] local.INFO: Acknowledgment sent {"connection_id":111214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:22:01] local.INFO: TCP Data received {"connection_id":111390,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52db550012cf99e400706d9f8000600c624..."} 
[2026-06-23 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52db550012cf99e400706d9f8000600c624..."} 
[2026-06-23 21:22:01] local.INFO: Processing buffer {"connection_id":111390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52db550012cf99e400706d9f8000600c624..."} 
[2026-06-23 21:22:01] local.INFO: Packet analysis {"connection_id":111390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:01] local.INFO: Extracted packet for processing {"connection_id":111390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:01] local.INFO: GPS Element Parsed {"raw_longitude":754556480,"raw_latitude":117889528,"longitude_deg":75.455648,"latitude_deg":11.7889528,"altitude":6,"angle":198,"satellites":36,"speed":18,"hex_longitude":"2cf99e40","hex_latitude":"0706d9f8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250847232001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321817793500545024,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459578238044387328,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782229874000,"timestamp_ms":1782229874000,"timestamp_seconds":1782229874,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52db550"} 
[2026-06-23 21:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:22:01] 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-06-23 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 21:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250847232001,"66":27267,"165":206,"28":32256,"24":18,"16":321817793500545024,"44":-459578238044387328},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250847232001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:22:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:22:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321817793500545024,"km_value":321817793500545.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459578238044387328,"description":"Unknown IO ID 44"} 
[2026-06-23 21:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250847232001,"power":27267,"unknown_165":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_44":-459578238044387328}} 
[2026-06-23 21:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":111390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:22:01] local.INFO: GPS data processed {"connection_id":111390,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:22:01] local.INFO: Acknowledgment sent {"connection_id":111390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:22:23] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:23] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:23] local.INFO: IMEI packet received {"connection_id":112028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":112028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:22:24] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:24] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:24] local.INFO: IMEI packet received {"connection_id":112028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":112028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:22:28] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:28] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:22:28] local.INFO: IMEI packet received {"connection_id":112028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":112028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:22:28] local.INFO: TCP Data received {"connection_id":111214,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52d0970012d196580071feec80042006c26..."} 
[2026-06-23 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52d0970012d196580071feec80042006c26..."} 
[2026-06-23 21:22:28] local.INFO: Processing buffer {"connection_id":111214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52d0970012d196580071feec80042006c26..."} 
[2026-06-23 21:22:28] local.INFO: Packet analysis {"connection_id":111214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:28] local.INFO: Extracted packet for processing {"connection_id":111214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250831104001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229830000,"timestamp_ms":1782229830000,"timestamp_seconds":1782229830,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52d0970"} 
[2026-06-23 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-06-23 21:22: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-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-780678338310235803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:22:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:22:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,101,45,128,238,66,36,10,19,35,193,1,240,227,245,31,4,113,205,29,200,39,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:22:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250831104001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250831104001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250831104001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":111214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:22:28] local.INFO: GPS data processed {"connection_id":111214,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:22:28] local.INFO: Acknowledgment sent {"connection_id":111214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:22:29] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52db938012cf99cc00706d8e0000600dc24..."} 
[2026-06-23 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52db938012cf99cc00706d8e0000600dc24..."} 
[2026-06-23 21:22:29] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52db938012cf99cc00706d8e0000600dc24..."} 
[2026-06-23 21:22:29] local.INFO: Packet analysis {"connection_id":112028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:29] local.INFO: Extracted packet for processing {"connection_id":112028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":754556096,"raw_latitude":117889248,"longitude_deg":75.4556096,"latitude_deg":11.7889248,"altitude":6,"angle":220,"satellites":36,"speed":16,"hex_longitude":"2cf99cc0","hex_latitude":"0706d8e0","is_valid_coordinates":true} 
[2026-06-23 21:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250847744001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321817814975381504,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459859713021315072,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782229875000,"timestamp_ms":1782229875000,"timestamp_seconds":1782229875,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52db938"} 
[2026-06-23 21:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:22:29] 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-06-23 21:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 21:22:29] 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-06-23 21:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250847744001,"66":27267,"165":206,"28":32256,"24":16,"16":321817814975381504,"44":-459859713021315072},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250847744001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:22:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321817814975381504,"km_value":321817814975381.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459859713021315072,"description":"Unknown IO ID 44"} 
[2026-06-23 21:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250847744001,"power":27267,"unknown_165":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_44":-459859713021315072}} 
[2026-06-23 21:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":112028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:22:29] local.INFO: GPS data processed {"connection_id":112028,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:22:29] local.INFO: Acknowledgment sent {"connection_id":112028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:22:52] local.INFO: TCP Data received {"connection_id":112029,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:52] local.INFO: Processing buffer {"connection_id":112029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:52] local.INFO: IMEI packet received {"connection_id":112029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":112029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:22:53] local.INFO: TCP Data received {"connection_id":112029,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:53] local.INFO: Processing buffer {"connection_id":112029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:53] local.INFO: IMEI packet received {"connection_id":112029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":112029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:22:57] local.INFO: TCP Data received {"connection_id":112029,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:57] local.INFO: Processing buffer {"connection_id":112029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:22:57] local.INFO: IMEI packet received {"connection_id":112029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":112029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:22:57] local.INFO: TCP Data received {"connection_id":112029,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52d5b78012d196580071feec80042006c27..."} 
[2026-06-23 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52d5b78012d196580071feec80042006c27..."} 
[2026-06-23 21:22:57] local.INFO: Processing buffer {"connection_id":112029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52d5b78012d196580071feec80042006c27..."} 
[2026-06-23 21:22:57] local.INFO: Packet analysis {"connection_id":112029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:57] local.INFO: Extracted packet for processing {"connection_id":112029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250836480001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229851000,"timestamp_ms":1782229851000,"timestamp_seconds":1782229851,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52d5b78"} 
[2026-06-23 21:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:22:57] 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-06-23 21:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-780588143997019803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:22:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:22:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:22:57] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,183,45,128,238,66,36,10,101,19,1,240,227,245,31,4,113,205,111,200,38,239,48,2,13,7,37],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920116967800832,"timestamp_seconds":4755920116967801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250836480001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250836480001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250836480001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":112029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:22:58] local.INFO: GPS data processed {"connection_id":112029,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:22:58] local.INFO: Acknowledgment sent {"connection_id":112029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:23:01] local.INFO: TCP Data received {"connection_id":112028,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52dbd20012cf99ac00706d868000600f322..."} 
[2026-06-23 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52dbd20012cf99ac00706d868000600f322..."} 
[2026-06-23 21:23:01] local.INFO: Processing buffer {"connection_id":112028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52dbd20012cf99ac00706d868000600f322..."} 
[2026-06-23 21:23:01] local.INFO: Packet analysis {"connection_id":112028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:01] local.INFO: Extracted packet for processing {"connection_id":112028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":754555584,"raw_latitude":117889128,"longitude_deg":75.4555584,"latitude_deg":11.7889128,"altitude":6,"angle":243,"satellites":34,"speed":16,"hex_longitude":"2cf99ac0","hex_latitude":"0706d868","is_valid_coordinates":true} 
[2026-06-23 21:23: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-06-23 21:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250848000001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321817845040152576,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460281925486452736,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782229876000,"timestamp_ms":1782229876000,"timestamp_seconds":1782229876,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52dbd20"} 
[2026-06-23 21:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:23:01] 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-06-23 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 21:23:01] 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-06-23 21:23: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-06-23 21:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250848000001,"66":27343,"165":206,"28":32256,"24":16,"16":321817845040152576,"44":-460281925486452736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250848000001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321817845040152576,"km_value":321817845040152.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460281925486452736,"description":"Unknown IO ID 44"} 
[2026-06-23 21:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250848000001,"power":27343,"unknown_165":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_44":-460281925486452736}} 
[2026-06-23 21:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":112028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:23:01] local.INFO: GPS data processed {"connection_id":112028,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:23:01] local.INFO: Acknowledgment sent {"connection_id":112028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:23:23] local.INFO: TCP Data received {"connection_id":112031,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:23:23] local.INFO: Processing buffer {"connection_id":112031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:23:23] local.INFO: IMEI packet received {"connection_id":112031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":112031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:23:28] local.INFO: TCP Data received {"connection_id":112031,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:23:28] local.INFO: Processing buffer {"connection_id":112031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:23:28] local.INFO: IMEI packet received {"connection_id":112031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":112031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:23:28] local.INFO: TCP Data received {"connection_id":112029,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52dad80012d196580071feec80042006c27..."} 
[2026-06-23 21:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52dad80012d196580071feec80042006c27..."} 
[2026-06-23 21:23:28] local.INFO: Processing buffer {"connection_id":112029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52dad80012d196580071feec80042006c27..."} 
[2026-06-23 21:23:28] local.INFO: Packet analysis {"connection_id":112029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:28] local.INFO: Extracted packet for processing {"connection_id":112029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250841856001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229872000,"timestamp_ms":1782229872000,"timestamp_seconds":1782229872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52dad80"} 
[2026-06-23 21:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:23: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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:23:28] 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-06-23 21: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-06-23 21:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250841856001,"66":12156,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250841856001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250841856001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":112029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:23:29] local.INFO: GPS data processed {"connection_id":112029,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:23:29] local.INFO: Acknowledgment sent {"connection_id":112029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:23:29] local.INFO: TCP Data received {"connection_id":112031,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52de818012cf98d400706d438000800e62a..."} 
[2026-06-23 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52de818012cf98d400706d438000800e62a..."} 
[2026-06-23 21:23:29] local.INFO: Processing buffer {"connection_id":112031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52de818012cf98d400706d438000800e62a..."} 
[2026-06-23 21:23:29] local.INFO: Packet analysis {"connection_id":112031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:29] local.INFO: Extracted packet for processing {"connection_id":112031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":754552128,"raw_latitude":117888056,"longitude_deg":75.4552128,"latitude_deg":11.7888056,"altitude":8,"angle":230,"satellites":42,"speed":6,"hex_longitude":"2cf98d40","hex_latitude":"0706d438","is_valid_coordinates":true} 
[2026-06-23 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250848256001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321818016838844416,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460844875439904768,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782229887000,"timestamp_ms":1782229887000,"timestamp_seconds":1782229887,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52de818"} 
[2026-06-23 21:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:23:29] 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-06-23 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250848256001,"66":27376,"165":206,"28":32256,"24":6,"16":321818016838844416,"44":-460844875439904768},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-23 21:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250848256001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:23:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-23 21:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321818016838844416,"km_value":321818016838844.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460844875439904768,"description":"Unknown IO ID 44"} 
[2026-06-23 21:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250848256001,"power":27376,"unknown_165":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-460844875439904768}} 
[2026-06-23 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":112031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:23:29] local.INFO: GPS data processed {"connection_id":112031,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:23:29] local.INFO: Acknowledgment sent {"connection_id":112031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:23:52] local.INFO: TCP Data received {"connection_id":112958,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:23:52] local.INFO: Processing buffer {"connection_id":112958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:23:52] local.INFO: IMEI packet received {"connection_id":112958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":112958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:23:56] local.INFO: TCP Data received {"connection_id":112958,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:23:56] local.INFO: Processing buffer {"connection_id":112958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:23:56] local.INFO: IMEI packet received {"connection_id":112958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":112958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:23:56] local.INFO: TCP Data received {"connection_id":112958,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52dff88012d196580071feec80042006c26..."} 
[2026-06-23 21:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52dff88012d196580071feec80042006c26..."} 
[2026-06-23 21:23:56] local.INFO: Processing buffer {"connection_id":112958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52dff88012d196580071feec80042006c26..."} 
[2026-06-23 21:23:56] local.INFO: Packet analysis {"connection_id":112958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:56] local.INFO: Extracted packet for processing {"connection_id":112958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52d"} 
[2026-06-23 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250847232001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782229893000,"timestamp_ms":1782229893000,"timestamp_seconds":1782229893,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52dff88"} 
[2026-06-23 21:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 21:23:56] 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-06-23 21:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":112958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":112958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":112958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250847232001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250847232001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:23:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250847232001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":112958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:23:57] local.INFO: GPS data processed {"connection_id":112958,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:23:57] local.INFO: Acknowledgment sent {"connection_id":112958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:24:00] local.INFO: TCP Data received {"connection_id":112031,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52f6eb8012cfa10c0070589f0000c008d2f..."} 
[2026-06-23 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52f6eb8012cfa10c0070589f0000c008d2f..."} 
[2026-06-23 21:24:00] local.INFO: Processing buffer {"connection_id":112031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52f6eb8012cfa10c0070589f0000c008d2f..."} 
[2026-06-23 21:24:00] local.INFO: Packet analysis {"connection_id":112031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:24:00] local.INFO: Extracted packet for processing {"connection_id":112031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:24:00] local.INFO: GPS Element Parsed {"raw_longitude":754585792,"raw_latitude":117803504,"longitude_deg":75.4585792,"latitude_deg":11.7803504,"altitude":12,"angle":141,"satellites":47,"speed":33,"hex_longitude":"2cfa10c0","hex_latitude":"070589f0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250874368001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321822505079668736,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-433823277695686656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782229987000,"timestamp_ms":1782229987000,"timestamp_seconds":1782229987,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52f6eb8"} 
[2026-06-23 21:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:24:00] 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-06-23 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 21:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250874368001,"66":27343,"11":206,"28":32256,"24":33,"16":321822505079668736,"44":-433823277695686656},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-23 21:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250874368001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:24:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 21:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321822505079668736,"km_value":321822505079668.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-433823277695686656,"description":"Unknown IO ID 44"} 
[2026-06-23 21:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250874368001,"power":27343,"unknown_11":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_44":-433823277695686656}} 
[2026-06-23 21:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":112031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:24:00] local.INFO: GPS data processed {"connection_id":112031,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:24:00] local.INFO: Acknowledgment sent {"connection_id":112031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:24:21] local.INFO: TCP Data received {"connection_id":112959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:24:21] local.INFO: Processing buffer {"connection_id":112959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:24:21] local.INFO: IMEI packet received {"connection_id":112959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":112959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:24:23] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:23] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:23] local.INFO: IMEI packet received {"connection_id":112032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":112032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:24:25] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:25] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:25] local.INFO: IMEI packet received {"connection_id":112032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":112032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:24:27] local.INFO: TCP Data received {"connection_id":112958,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52e5190012d196580071feec80042006c25..."} 
[2026-06-23 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52e5190012d196580071feec80042006c25..."} 
[2026-06-23 21:24:27] local.INFO: Processing buffer {"connection_id":112958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52e5190012d196580071feec80042006c25..."} 
[2026-06-23 21:24:27] local.INFO: Packet analysis {"connection_id":112958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52e"} 
[2026-06-23 21:24:27] local.INFO: Extracted packet for processing {"connection_id":112958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52e"} 
[2026-06-23 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250852608001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782229914000,"timestamp_ms":1782229914000,"timestamp_seconds":1782229914,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52e5190"} 
[2026-06-23 21:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:24:27] 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-06-23 21:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250852608001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250852608001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:24:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250852608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":112958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:24:28] local.INFO: GPS data processed {"connection_id":112958,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:24:28] local.INFO: Acknowledgment sent {"connection_id":112958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:24:28] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:28] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:24:28] local.INFO: IMEI packet received {"connection_id":112032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":112032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:24:29] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52f8df8012cfa244007057610000c00802c..."} 
[2026-06-23 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52f8df8012cfa244007057610000c00802c..."} 
[2026-06-23 21:24:29] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52f8df8012cfa244007057610000c00802c..."} 
[2026-06-23 21:24:29] local.INFO: Packet analysis {"connection_id":112032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:24:29] local.INFO: Extracted packet for processing {"connection_id":112032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:24:29] local.INFO: GPS Element Parsed {"raw_longitude":754590784,"raw_latitude":117798416,"longitude_deg":75.4590784,"latitude_deg":11.7798416,"altitude":12,"angle":128,"satellites":44,"speed":37,"hex_longitude":"2cfa2440","hex_latitude":"07057610","is_valid_coordinates":true} 
[2026-06-23 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250876672001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321822844382085120,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-427630828209967104,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782229995000,"timestamp_ms":1782229995000,"timestamp_seconds":1782229995,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52f8df8"} 
[2026-06-23 21:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:24:29] 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-06-23 21:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250876672001,"66":27397,"11":206,"28":32256,"24":37,"16":321822844382085120,"44":-427630828209967104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-23 21:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250876672001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:24:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 21:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321822844382085120,"km_value":321822844382085.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-427630828209967104,"description":"Unknown IO ID 44"} 
[2026-06-23 21:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250876672001,"power":27397,"unknown_11":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-427630828209967104}} 
[2026-06-23 21:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":112032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:24:29] local.INFO: GPS data processed {"connection_id":112032,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:24:29] local.INFO: Acknowledgment sent {"connection_id":112032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:24:51] local.INFO: TCP Data received {"connection_id":111215,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:24:51] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:24:51] local.INFO: IMEI packet received {"connection_id":111215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":111215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:24:57] local.INFO: TCP Data received {"connection_id":111215,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:24:57] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:24:57] local.INFO: IMEI packet received {"connection_id":111215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":111215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:24:57] local.INFO: TCP Data received {"connection_id":111215,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52ea398012d196580071feec80042006c25..."} 
[2026-06-23 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52ea398012d196580071feec80042006c25..."} 
[2026-06-23 21:24:57] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52ea398012d196580071feec80042006c25..."} 
[2026-06-23 21:24:57] local.INFO: Packet analysis {"connection_id":111215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52e"} 
[2026-06-23 21:24:57] local.INFO: Extracted packet for processing {"connection_id":111215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52e"} 
[2026-06-23 21:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250857984001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229935000,"timestamp_ms":1782229935000,"timestamp_seconds":1782229935,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52ea398"} 
[2026-06-23 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-06-23 21:24:57] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:24:57] 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-06-23 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-06-23 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-06-23 21:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250857984001,"66":12211,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250857984001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250857984001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":111215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:24:58] local.INFO: GPS data processed {"connection_id":111215,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:24:58] local.INFO: Acknowledgment sent {"connection_id":111215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:25:01] local.INFO: TCP Data received {"connection_id":112032,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52f9d98012cfa310007056db8000b00732d..."} 
[2026-06-23 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52f9d98012cfa310007056db8000b00732d..."} 
[2026-06-23 21:25:01] local.INFO: Processing buffer {"connection_id":112032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52f9d98012cfa310007056db8000b00732d..."} 
[2026-06-23 21:25:01] local.INFO: Packet analysis {"connection_id":112032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:25:01] local.INFO: Extracted packet for processing {"connection_id":112032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":754594048,"raw_latitude":117796280,"longitude_deg":75.4594048,"latitude_deg":11.779628,"altitude":11,"angle":115,"satellites":45,"speed":38,"hex_longitude":"2cfa3100","hex_latitude":"07056db8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250878720001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321823033360646144,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-422142066165411840,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782229999000,"timestamp_ms":1782229999000,"timestamp_seconds":1782229999,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52f9d98"} 
[2026-06-23 21:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:25:01] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250878720001,"66":27517,"11":206,"28":32256,"24":38,"16":321823033360646144,"44":-422142066165411840},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-23 21:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250878720001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321823033360646144,"km_value":321823033360646.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:25:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-422142066165411840,"description":"Unknown IO ID 44"} 
[2026-06-23 21:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250878720001,"power":27517,"unknown_11":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-422142066165411840}} 
[2026-06-23 21:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":112032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:25:01] local.INFO: GPS data processed {"connection_id":112032,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:25:01] local.INFO: Acknowledgment sent {"connection_id":112032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:25:06] local.INFO: TCP Data received {"connection_id":111216,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:25:06] local.INFO: Processing buffer {"connection_id":111216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:25:06] local.INFO: IMEI packet received {"connection_id":111216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":111216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:25:25] local.INFO: TCP Data received {"connection_id":111217,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:25] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:25] local.INFO: IMEI packet received {"connection_id":111217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":111217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:25:28] local.INFO: TCP Data received {"connection_id":111217,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:28] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:28] local.INFO: IMEI packet received {"connection_id":111217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":111217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:25:28] local.INFO: TCP Data received {"connection_id":111215,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52ef5a0012d196580071feec80042006c24..."} 
[2026-06-23 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52ef5a0012d196580071feec80042006c24..."} 
[2026-06-23 21:25:28] local.INFO: Processing buffer {"connection_id":111215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52ef5a0012d196580071feec80042006c24..."} 
[2026-06-23 21:25:28] local.INFO: Packet analysis {"connection_id":111215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52e"} 
[2026-06-23 21:25:28] local.INFO: Extracted packet for processing {"connection_id":111215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52e"} 
[2026-06-23 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250863360001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229956000,"timestamp_ms":1782229956000,"timestamp_seconds":1782229956,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52ef5a0"} 
[2026-06-23 21:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 21:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250863360001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250863360001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250863360001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":111215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:25:28] local.INFO: GPS data processed {"connection_id":111215,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:25:28] local.INFO: Acknowledgment sent {"connection_id":111215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:25:33] local.INFO: TCP Data received {"connection_id":111217,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:33] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:25:33] local.INFO: IMEI packet received {"connection_id":111217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":111217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:25:35] local.INFO: TCP Data received {"connection_id":111217,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef530ab20012cfb2d800704aa08000c006d2d..."} 
[2026-06-23 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef530ab20012cfb2d800704aa08000c006d2d..."} 
[2026-06-23 21:25:35] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef530ab20012cfb2d800704aa08000c006d2d..."} 
[2026-06-23 21:25:35] local.INFO: Packet analysis {"connection_id":111217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:25:35] local.INFO: Extracted packet for processing {"connection_id":111217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":754658688,"raw_latitude":117746184,"longitude_deg":75.4658688,"latitude_deg":11.7746184,"altitude":12,"angle":109,"satellites":45,"speed":51,"hex_longitude":"2cfb2d80","hex_latitude":"0704aa08","is_valid_coordinates":true} 
[2026-06-23 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250896640001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321827074924871680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-351562215768158208,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782230068000,"timestamp_ms":1782230068000,"timestamp_seconds":1782230068,"priority":1,"record_length":96,"hex_timestamp":"0000019ef530ab20"} 
[2026-06-23 21:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:25:35] 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-06-23 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250896640001,"66":27039,"8":206,"28":32256,"24":51,"16":321827074924871680,"44":-351562215768158208},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-06-23 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250896640001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:25:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 21:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321827074924871680,"km_value":321827074924871.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-351562215768158208,"description":"Unknown IO ID 44"} 
[2026-06-23 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250896640001,"power":27039,"unknown_8":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_44":-351562215768158208}} 
[2026-06-23 21:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":111217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:25:35] local.INFO: GPS data processed {"connection_id":111217,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:25:35] local.INFO: Acknowledgment sent {"connection_id":111217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:25:51] local.INFO: TCP Data received {"connection_id":111391,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:25:51] local.INFO: Processing buffer {"connection_id":111391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:25:51] local.INFO: IMEI packet received {"connection_id":111391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":111391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:25:57] local.INFO: TCP Data received {"connection_id":111391,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:25:57] local.INFO: Processing buffer {"connection_id":111391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:25:57] local.INFO: IMEI packet received {"connection_id":111391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":111391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:25:57] local.INFO: TCP Data received {"connection_id":111391,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52f47a8012d196580071feec80042006c24..."} 
[2026-06-23 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52f47a8012d196580071feec80042006c24..."} 
[2026-06-23 21:25:57] local.INFO: Processing buffer {"connection_id":111391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52f47a8012d196580071feec80042006c24..."} 
[2026-06-23 21:25:57] local.INFO: Packet analysis {"connection_id":111391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:25:57] local.INFO: Extracted packet for processing {"connection_id":111391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250868736001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782229977000,"timestamp_ms":1782229977000,"timestamp_seconds":1782229977,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52f47a8"} 
[2026-06-23 21:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:25:57] 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-06-23 21:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-780046978117723803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:25:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,163,45,128,238,66,37,10,81,255,1,240,227,245,31,4,113,205,91,101,200,39,239,47,2,13,7,36],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:25:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250868736001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250868736001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250868736001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":111391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:25:58] local.INFO: GPS data processed {"connection_id":111391,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:25:58] local.INFO: Acknowledgment sent {"connection_id":111391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:26:07] local.INFO: TCP Data received {"connection_id":111217,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef530c290012cfb47400704a2b8000d00782e..."} 
[2026-06-23 21:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef530c290012cfb47400704a2b8000d00782e..."} 
[2026-06-23 21:26:07] local.INFO: Processing buffer {"connection_id":111217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef530c290012cfb47400704a2b8000d00782e..."} 
[2026-06-23 21:26:07] local.INFO: Packet analysis {"connection_id":111217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:26:07] local.INFO: Extracted packet for processing {"connection_id":111217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:26:07] local.INFO: GPS Element Parsed {"raw_longitude":754665280,"raw_latitude":117744312,"longitude_deg":75.466528,"latitude_deg":11.7744312,"altitude":13,"angle":120,"satellites":46,"speed":36,"hex_longitude":"2cfb4740","hex_latitude":"0704a2b8","is_valid_coordinates":true} 
[2026-06-23 21:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250897408001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321827401342386176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-347480828606281728,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782230074000,"timestamp_ms":1782230074000,"timestamp_seconds":1782230074,"priority":1,"record_length":96,"hex_timestamp":"0000019ef530c290"} 
[2026-06-23 21:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:26:07] 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-06-23 21:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-23 21:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250897408001,"66":27484,"8":206,"28":32256,"24":36,"16":321827401342386176,"44":-347480828606281728},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-06-23 21:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250897408001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:26:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 21:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321827401342386176,"km_value":321827401342386.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-347480828606281728,"description":"Unknown IO ID 44"} 
[2026-06-23 21:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250897408001,"power":27484,"unknown_8":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_44":-347480828606281728}} 
[2026-06-23 21:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":111217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:26:07] local.INFO: GPS data processed {"connection_id":111217,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:26:07] local.INFO: Acknowledgment sent {"connection_id":111217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:26:22] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:22] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:22] local.INFO: IMEI packet received {"connection_id":111393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":111393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:26:23] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:23] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:23] local.INFO: IMEI packet received {"connection_id":111393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":111393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:26:28] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:28] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:26:28] local.INFO: IMEI packet received {"connection_id":111393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":111393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:26:28] local.INFO: TCP Data received {"connection_id":111391,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52f99b0012d196580071feec80042006c25..."} 
[2026-06-23 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52f99b0012d196580071feec80042006c25..."} 
[2026-06-23 21:26:28] local.INFO: Processing buffer {"connection_id":111391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52f99b0012d196580071feec80042006c25..."} 
[2026-06-23 21:26:28] local.INFO: Packet analysis {"connection_id":111391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:26:28] local.INFO: Extracted packet for processing {"connection_id":111391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250874112001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782229998000,"timestamp_ms":1782229998000,"timestamp_seconds":1782229998,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52f99b0"} 
[2026-06-23 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-06-23 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-779956783804507803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:26:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,245,45,128,238,66,36,10,163,37,81,1,240,255,227,31,4,113,205,173,101,200,39,239,47,2,13,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:26:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250874112001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250874112001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250874112001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":111391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:26:28] local.INFO: GPS data processed {"connection_id":111391,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:26:28] local.INFO: Acknowledgment sent {"connection_id":111391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:26:29] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef530ca60012cfb4bc007049df0000e008e2e..."} 
[2026-06-23 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef530ca60012cfb4bc007049df0000e008e2e..."} 
[2026-06-23 21:26:29] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef530ca60012cfb4bc007049df0000e008e2e..."} 
[2026-06-23 21:26:29] local.INFO: Packet analysis {"connection_id":111393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:26:29] local.INFO: Extracted packet for processing {"connection_id":111393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":754666432,"raw_latitude":117743088,"longitude_deg":75.4666432,"latitude_deg":11.7743088,"altitude":14,"angle":142,"satellites":46,"speed":32,"hex_longitude":"2cfb4bc0","hex_latitude":"07049df0","is_valid_coordinates":true} 
[2026-06-23 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250898944001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321827482946764800,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340232847956461568,"note":"Value kept but may cause issues"} 
[2026-06-23 21:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230076000,"timestamp_ms":1782230076000,"timestamp_seconds":1782230076,"priority":1,"record_length":96,"hex_timestamp":"0000019ef530ca60"} 
[2026-06-23 21:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:26:29] 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-06-23 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250898944001,"66":27321,"8":206,"28":32256,"24":32,"16":321827482946764800,"44":-340232847956461568},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-06-23 21:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250898944001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:26:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-23 21:26:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321827482946764800,"km_value":321827482946764.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340232847956461568,"description":"Unknown IO ID 44"} 
[2026-06-23 21:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250898944001,"power":27321,"unknown_8":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-340232847956461568}} 
[2026-06-23 21:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":111393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:26:29] local.INFO: GPS data processed {"connection_id":111393,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:26:29] local.INFO: Acknowledgment sent {"connection_id":111393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:26:57] local.INFO: TCP Data received {"connection_id":112034,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:26:57] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:26:57] local.INFO: IMEI packet received {"connection_id":112034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":112034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:27:01] local.INFO: TCP Data received {"connection_id":111393,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5321668012cfc5d000703bfb0000500722c..."} 
[2026-06-23 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5321668012cfc5d000703bfb0000500722c..."} 
[2026-06-23 21:27:01] local.INFO: Processing buffer {"connection_id":111393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5321668012cfc5d000703bfb0000500722c..."} 
[2026-06-23 21:27:01] local.INFO: Packet analysis {"connection_id":111393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:27:01] local.INFO: Extracted packet for processing {"connection_id":111393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":754736384,"raw_latitude":117686192,"longitude_deg":75.4736384,"latitude_deg":11.7686192,"altitude":5,"angle":114,"satellites":44,"speed":45,"hex_longitude":"2cfc5d00","hex_latitude":"0703bfb0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250918912001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321832078561771520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-272115903606233088,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782230161000,"timestamp_ms":1782230161000,"timestamp_seconds":1782230161,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5321668"} 
[2026-06-23 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-06-23 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250918912001,"66":27484,"95":206,"28":32256,"24":45,"16":321832078561771520,"44":-272115903606233088},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-06-23 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250918912001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321832078561771520,"km_value":321832078561771.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:27:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-272115903606233088,"description":"Unknown IO ID 44"} 
[2026-06-23 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250918912001,"power":27484,"unknown_95":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-272115903606233088}} 
[2026-06-23 21:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":111393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:27:01] local.INFO: GPS data processed {"connection_id":111393,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:27:01] local.INFO: Acknowledgment sent {"connection_id":111393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:27:02] local.INFO: TCP Data received {"connection_id":112034,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:02] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:02] local.INFO: IMEI packet received {"connection_id":112034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":112034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:27:02] local.INFO: TCP Data received {"connection_id":112034,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef52febb8012d196580071feec80042006c27..."} 
[2026-06-23 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef52febb8012d196580071feec80042006c27..."} 
[2026-06-23 21:27:02] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef52febb8012d196580071feec80042006c27..."} 
[2026-06-23 21:27:02] local.INFO: Packet analysis {"connection_id":112034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:27:02] local.INFO: Extracted packet for processing {"connection_id":112034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef52f"} 
[2026-06-23 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250879488001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782230019000,"timestamp_ms":1782230019000,"timestamp_seconds":1782230019,"priority":1,"record_length":96,"hex_timestamp":"0000019ef52febb8"} 
[2026-06-23 21:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-779866589491291803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3421610699382980814,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,71,45,128,238,66,36,10,245,163,1,240,179,227,31,4,113,205,255,101,200,38,239,47,2,13,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:27:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920112672833536,"timestamp_seconds":4755920112672834.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250879488001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250879488001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:27:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250879488001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":112034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:27:03] local.INFO: GPS data processed {"connection_id":112034,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:27:03] local.INFO: Acknowledgment sent {"connection_id":112034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:27:07] local.INFO: TCP Data received {"connection_id":112034,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5303dc0012d196580071feec80042006c22..."} 
[2026-06-23 21:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5303dc0012d196580071feec80042006c22..."} 
[2026-06-23 21:27:07] local.INFO: Processing buffer {"connection_id":112034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5303dc0012d196580071feec80042006c22..."} 
[2026-06-23 21:27:07] local.INFO: Packet analysis {"connection_id":112034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:27:07] local.INFO: Extracted packet for processing {"connection_id":112034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250884864001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782230040000,"timestamp_ms":1782230040000,"timestamp_seconds":1782230040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5303dc0"} 
[2026-06-23 21:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:27: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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-779776395178075803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,153,45,128,238,66,37,10,71,36,245,1,240,227,31,4,113,205,81,101,200,239,47,2,13,7,39],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:27:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920121262768128,"timestamp_seconds":4755920121262768.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250884864001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250884864001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:27:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250884864001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":112034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:27:07] local.INFO: GPS data processed {"connection_id":112034,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:27:07] local.INFO: Acknowledgment sent {"connection_id":112034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:27:23] local.INFO: TCP Data received {"connection_id":111394,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:23] local.INFO: Processing buffer {"connection_id":111394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:23] local.INFO: IMEI packet received {"connection_id":111394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":111394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:27:25] local.INFO: TCP Data received {"connection_id":111394,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:25] local.INFO: Processing buffer {"connection_id":111394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:25] local.INFO: IMEI packet received {"connection_id":111394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":111394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:27:28] local.INFO: TCP Data received {"connection_id":111394,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:28] local.INFO: Processing buffer {"connection_id":111394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:27:28] local.INFO: IMEI packet received {"connection_id":111394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":111394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:27:29] local.INFO: TCP Data received {"connection_id":111394,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53235a8012cfc7f400703afd8000600712e..."} 
[2026-06-23 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53235a8012cfc7f400703afd8000600712e..."} 
[2026-06-23 21:27:29] local.INFO: Processing buffer {"connection_id":111394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53235a8012cfc7f400703afd8000600712e..."} 
[2026-06-23 21:27:29] local.INFO: Packet analysis {"connection_id":111394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:27:29] local.INFO: Extracted packet for processing {"connection_id":111394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":754745152,"raw_latitude":117682136,"longitude_deg":75.4745152,"latitude_deg":11.7682136,"altitude":6,"angle":113,"satellites":46,"speed":48,"hex_longitude":"2cfc7f40","hex_latitude":"0703afd8","is_valid_coordinates":true} 
[2026-06-23 21:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250921216001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321832538123272192,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-262053173189955584,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230169000,"timestamp_ms":1782230169000,"timestamp_seconds":1782230169,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53235a8"} 
[2026-06-23 21:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:27:29] 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-06-23 21:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250921216001,"66":27300,"95":206,"28":32256,"24":48,"16":321832538123272192,"44":-262053173189955584},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-06-23 21:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250921216001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:27:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 21:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321832538123272192,"km_value":321832538123272.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-262053173189955584,"description":"Unknown IO ID 44"} 
[2026-06-23 21:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250921216001,"power":27300,"unknown_95":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-262053173189955584}} 
[2026-06-23 21:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":111394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:27:29] local.INFO: GPS data processed {"connection_id":111394,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:27:29] local.INFO: Acknowledgment sent {"connection_id":111394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:27:52] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:52] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:52] local.INFO: IMEI packet received {"connection_id":111395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":111395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:27:57] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:57] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:27:57] local.INFO: IMEI packet received {"connection_id":111395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":111395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:27:57] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5308fc8012d196580071feec80042006c23..."} 
[2026-06-23 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5308fc8012d196580071feec80042006c23..."} 
[2026-06-23 21:27:57] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5308fc8012d196580071feec80042006c23..."} 
[2026-06-23 21:27:57] local.INFO: Packet analysis {"connection_id":111395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:27:57] local.INFO: Extracted packet for processing {"connection_id":111395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250890240001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230061000,"timestamp_ms":1782230061000,"timestamp_seconds":1782230061,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5308fc8"} 
[2026-06-23 21:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:27:57] 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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-779686200864859803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:27:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,235,45,128,238,66,39,10,153,37,71,1,240,227,245,31,4,113,205,163,101,200,239,47,2,13,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:27:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920099787931648,"timestamp_seconds":4755920099787932.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250890240001,"66":12113,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250890240001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250890240001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":111395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:27:58] local.INFO: GPS data processed {"connection_id":111395,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:27:58] local.INFO: Acknowledgment sent {"connection_id":111395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:28:00] local.INFO: TCP Data received {"connection_id":111394,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53254e8012cfca38007039da8000600742d..."} 
[2026-06-23 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53254e8012cfca38007039da8000600742d..."} 
[2026-06-23 21:28:00] local.INFO: Processing buffer {"connection_id":111394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53254e8012cfca38007039da8000600742d..."} 
[2026-06-23 21:28:00] local.INFO: Packet analysis {"connection_id":111394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:28:00] local.INFO: Extracted packet for processing {"connection_id":111394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:28:00] local.INFO: GPS Element Parsed {"raw_longitude":754754432,"raw_latitude":117677480,"longitude_deg":75.4754432,"latitude_deg":11.767748,"altitude":6,"angle":116,"satellites":45,"speed":53,"hex_longitude":"2cfca380","hex_latitude":"07039da8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250923264001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321833032044511232,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-252412655238653952,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782230177000,"timestamp_ms":1782230177000,"timestamp_seconds":1782230177,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53254e8"} 
[2026-06-23 21:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:28:00] 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-06-23 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 21:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250923264001,"66":27343,"95":206,"28":32256,"24":53,"16":321833032044511232,"44":-252412655238653952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-06-23 21:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250923264001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:28:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-23 21:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321833032044511232,"km_value":321833032044511.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-252412655238653952,"description":"Unknown IO ID 44"} 
[2026-06-23 21:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250923264001,"power":27343,"unknown_95":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_44":-252412655238653952}} 
[2026-06-23 21:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":111394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:28:00] local.INFO: GPS data processed {"connection_id":111394,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:28:00] local.INFO: Acknowledgment sent {"connection_id":111394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:28:23] local.INFO: TCP Data received {"connection_id":112961,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:28:23] local.INFO: Processing buffer {"connection_id":112961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:28:23] local.INFO: IMEI packet received {"connection_id":112961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":112961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:28:27] local.INFO: TCP Data received {"connection_id":112961,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:28:27] local.INFO: Processing buffer {"connection_id":112961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:28:27] local.INFO: IMEI packet received {"connection_id":112961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":112961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:28:28] local.INFO: TCP Data received {"connection_id":111395,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef530e1d0012d196580071feec80042006c24..."} 
[2026-06-23 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef530e1d0012d196580071feec80042006c24..."} 
[2026-06-23 21:28:28] local.INFO: Processing buffer {"connection_id":111395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef530e1d0012d196580071feec80042006c24..."} 
[2026-06-23 21:28:28] local.INFO: Packet analysis {"connection_id":111395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:28:28] local.INFO: Extracted packet for processing {"connection_id":111395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef530"} 
[2026-06-23 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:28: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-06-23 21:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250895616001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230082000,"timestamp_ms":1782230082000,"timestamp_seconds":1782230082,"priority":1,"record_length":96,"hex_timestamp":"0000019ef530e1d0"} 
[2026-06-23 21:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:28: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-06-23 21:28: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 21:28:28] 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-06-23 21:28: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-06-23 21:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250895616001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250895616001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250895616001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":111395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:28:28] local.INFO: GPS data processed {"connection_id":111395,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:28:28] local.INFO: Acknowledgment sent {"connection_id":111395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:28:29] local.INFO: TCP Data received {"connection_id":112961,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5334b00012cfd67800702d600000600b62c..."} 
[2026-06-23 21:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5334b00012cfd67800702d600000600b62c..."} 
[2026-06-23 21:28:29] local.INFO: Processing buffer {"connection_id":112961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5334b00012cfd67800702d600000600b62c..."} 
[2026-06-23 21:28:29] local.INFO: Packet analysis {"connection_id":112961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef533"} 
[2026-06-23 21:28:29] local.INFO: Extracted packet for processing {"connection_id":112961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef533"} 
[2026-06-23 21:28:29] local.INFO: GPS Element Parsed {"raw_longitude":754804608,"raw_latitude":117626368,"longitude_deg":75.4804608,"latitude_deg":11.7626368,"altitude":6,"angle":182,"satellites":44,"speed":44,"hex_longitude":"2cfd6780","hex_latitude":"0702d600","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250939392001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321836781550960640,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-187462304374663168,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230240000,"timestamp_ms":1782230240000,"timestamp_seconds":1782230240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5334b00"} 
[2026-06-23 21:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:28:29] 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-06-23 21: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 21:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250939392001,"66":27267,"93":206,"28":32256,"24":44,"16":321836781550960640,"44":-187462304374663168},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-06-23 21:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250939392001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:28:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-23 21:28:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321836781550960640,"km_value":321836781550960.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-187462304374663168,"description":"Unknown IO ID 44"} 
[2026-06-23 21:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250939392001,"power":27267,"unknown_93":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-187462304374663168}} 
[2026-06-23 21:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":112961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:28:29] local.INFO: GPS data processed {"connection_id":112961,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:28:29] local.INFO: Acknowledgment sent {"connection_id":112961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:28:50] local.INFO: TCP Data received {"connection_id":111219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:50] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:50] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:28:51] local.INFO: TCP Data received {"connection_id":111219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:51] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:51] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:28:57] local.INFO: TCP Data received {"connection_id":111219,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:57] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:28:57] local.INFO: IMEI packet received {"connection_id":111219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":111219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:28:57] local.INFO: TCP Data received {"connection_id":111219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53133d8012d196580071feec80042006c25..."} 
[2026-06-23 21:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53133d8012d196580071feec80042006c25..."} 
[2026-06-23 21:28:57] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53133d8012d196580071feec80042006c25..."} 
[2026-06-23 21:28:57] local.INFO: Packet analysis {"connection_id":111219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef531"} 
[2026-06-23 21:28:57] local.INFO: Extracted packet for processing {"connection_id":111219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef531"} 
[2026-06-23 21:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250900992001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230103000,"timestamp_ms":1782230103000,"timestamp_seconds":1782230103,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53133d8"} 
[2026-06-23 21:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:28:57] 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-06-23 21:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-779505812238427803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:28:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:28:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,143,45,128,238,66,35,10,61,34,235,1,240,227,245,31,4,113,205,71,101,200,36,239,48,2,13,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:28:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250900992001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250900992001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250900992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":111219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:28:57] local.INFO: GPS data processed {"connection_id":111219,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:28:57] local.INFO: Acknowledgment sent {"connection_id":111219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:29:00] local.INFO: TCP Data received {"connection_id":112961,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef533fac8012cfd414007021070000a009b27..."} 
[2026-06-23 21:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef533fac8012cfd414007021070000a009b27..."} 
[2026-06-23 21:29:00] local.INFO: Processing buffer {"connection_id":112961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef533fac8012cfd414007021070000a009b27..."} 
[2026-06-23 21:29:00] local.INFO: Packet analysis {"connection_id":112961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef533"} 
[2026-06-23 21:29:00] local.INFO: Extracted packet for processing {"connection_id":112961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef533"} 
[2026-06-23 21:29:00] local.INFO: GPS Element Parsed {"raw_longitude":754794816,"raw_latitude":117575792,"longitude_deg":75.4794816,"latitude_deg":11.7575792,"altitude":10,"angle":155,"satellites":39,"speed":28,"hex_longitude":"2cfd4140","hex_latitude":"07021070","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250952704001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321839328466567168,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198087984760547328,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782230285000,"timestamp_ms":1782230285000,"timestamp_seconds":1782230285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef533fac8"} 
[2026-06-23 21:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:29:00] 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-06-23 21: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-06-23 21:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250952704001,"66":26604,"93":206,"28":32256,"24":28,"16":321839328466567168,"44":-198087984760547328},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-06-23 21:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250952704001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:29:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-23 21:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321839328466567168,"km_value":321839328466567.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198087984760547328,"description":"Unknown IO ID 44"} 
[2026-06-23 21:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250952704001,"power":26604,"unknown_93":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_44":-198087984760547328}} 
[2026-06-23 21:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":112961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:29:00] local.INFO: GPS data processed {"connection_id":112961,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:29:00] local.INFO: Acknowledgment sent {"connection_id":112961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:29:23] local.INFO: TCP Data received {"connection_id":111396,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:23] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:23] local.INFO: IMEI packet received {"connection_id":111396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":111396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:29:23] local.INFO: TCP Data received {"connection_id":111396,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:23] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:23] local.INFO: IMEI packet received {"connection_id":111396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":111396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:29:28] local.INFO: TCP Data received {"connection_id":111396,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:28] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:29:28] local.INFO: IMEI packet received {"connection_id":111396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":111396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:29:28] local.INFO: TCP Data received {"connection_id":111219,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53185e0012d196580071feec80042006c24..."} 
[2026-06-23 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53185e0012d196580071feec80042006c24..."} 
[2026-06-23 21:29:28] local.INFO: Processing buffer {"connection_id":111219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53185e0012d196580071feec80042006c24..."} 
[2026-06-23 21:29:28] local.INFO: Packet analysis {"connection_id":111219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef531"} 
[2026-06-23 21:29:28] local.INFO: Extracted packet for processing {"connection_id":111219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef531"} 
[2026-06-23 21:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250906368001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230124000,"timestamp_ms":1782230124000,"timestamp_seconds":1782230124,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53185e0"} 
[2026-06-23 21:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21: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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:29:28] 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-06-23 21: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-06-23 21:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250906368001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250906368001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250906368001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":111219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:29:28] local.INFO: GPS data processed {"connection_id":111219,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:29:28] local.INFO: Acknowledgment sent {"connection_id":111219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:29:29] local.INFO: TCP Data received {"connection_id":111396,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5340298012cfd44c007020b80000a008c28..."} 
[2026-06-23 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5340298012cfd44c007020b80000a008c28..."} 
[2026-06-23 21:29:29] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5340298012cfd44c007020b80000a008c28..."} 
[2026-06-23 21:29:29] local.INFO: Packet analysis {"connection_id":111396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef534"} 
[2026-06-23 21:29:29] local.INFO: Extracted packet for processing {"connection_id":111396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef534"} 
[2026-06-23 21:29:29] local.INFO: GPS Element Parsed {"raw_longitude":754795712,"raw_latitude":117574528,"longitude_deg":75.4795712,"latitude_deg":11.7574528,"altitude":10,"angle":140,"satellites":40,"speed":29,"hex_longitude":"2cfd44c0","hex_latitude":"07020b80","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250952960001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321839401481011200,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-197806509784010752,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230287000,"timestamp_ms":1782230287000,"timestamp_seconds":1782230287,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5340298"} 
[2026-06-23 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-06-23 21:29:29] 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-06-23 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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-06-23 21:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250952960001,"66":27245,"93":206,"28":32256,"24":29,"16":321839401481011200,"44":-197806509784010752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-06-23 21:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250952960001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:29:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-23 21:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321839401481011200,"km_value":321839401481011.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-197806509784010752,"description":"Unknown IO ID 44"} 
[2026-06-23 21:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250952960001,"power":27245,"unknown_93":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-197806509784010752}} 
[2026-06-23 21:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":111396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:29:29] local.INFO: GPS data processed {"connection_id":111396,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:29:29] local.INFO: Acknowledgment sent {"connection_id":111396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:29:52] local.INFO: TCP Data received {"connection_id":111221,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:52] local.INFO: Processing buffer {"connection_id":111221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:52] local.INFO: IMEI packet received {"connection_id":111221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":111221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:29:52] local.INFO: TCP Data received {"connection_id":111221,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:52] local.INFO: Processing buffer {"connection_id":111221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:52] local.INFO: IMEI packet received {"connection_id":111221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":111221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:29:57] local.INFO: TCP Data received {"connection_id":111221,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:57] local.INFO: Processing buffer {"connection_id":111221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:29:57] local.INFO: IMEI packet received {"connection_id":111221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":111221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:29:57] local.INFO: TCP Data received {"connection_id":111221,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef531d7e8012d196580071feec80042006c22..."} 
[2026-06-23 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef531d7e8012d196580071feec80042006c22..."} 
[2026-06-23 21:29:57] local.INFO: Processing buffer {"connection_id":111221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef531d7e8012d196580071feec80042006c22..."} 
[2026-06-23 21:29:57] local.INFO: Packet analysis {"connection_id":111221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef531"} 
[2026-06-23 21:29:57] local.INFO: Extracted packet for processing {"connection_id":111221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef531"} 
[2026-06-23 21:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250911744001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230145000,"timestamp_ms":1782230145000,"timestamp_seconds":1782230145,"priority":1,"record_length":96,"hex_timestamp":"0000019ef531d7e8"} 
[2026-06-23 21:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:29:57] 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-06-23 21:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-779325423611995803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:29:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:29:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,51,45,128,238,66,37,10,225,36,143,1,240,81,227,245,31,4,113,205,235,101,200,39,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:29:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250911744001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250911744001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:29:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250911744001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":111221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:29:58] local.INFO: GPS data processed {"connection_id":111221,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:29:58] local.INFO: Acknowledgment sent {"connection_id":111221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:30:00] local.INFO: TCP Data received {"connection_id":111396,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5342d90012cfd5dc00701ef90000c008823..."} 
[2026-06-23 21:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5342d90012cfd5dc00701ef90000c008823..."} 
[2026-06-23 21:30:00] local.INFO: Processing buffer {"connection_id":111396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5342d90012cfd5dc00701ef90000c008823..."} 
[2026-06-23 21:30:00] local.INFO: Packet analysis {"connection_id":111396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef534"} 
[2026-06-23 21:30:00] local.INFO: Extracted packet for processing {"connection_id":111396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef534"} 
[2026-06-23 21:30:00] local.INFO: GPS Element Parsed {"raw_longitude":754802112,"raw_latitude":117567376,"longitude_deg":75.4802112,"latitude_deg":11.7567376,"altitude":12,"angle":136,"satellites":35,"speed":38,"hex_longitude":"2cfd5dc0","hex_latitude":"0701ef90","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250953472001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321839865337479168,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-196821347365847040,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782230298000,"timestamp_ms":1782230298000,"timestamp_seconds":1782230298,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5342d90"} 
[2026-06-23 21:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:30:00] 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-06-23 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 21:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250953472001,"66":27365,"34":206,"28":32256,"24":38,"16":321839865337479168,"44":-196821347365847040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-06-23 21:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250953472001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:30:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-23 21:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321839865337479168,"km_value":321839865337479.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-196821347365847040,"description":"Unknown IO ID 44"} 
[2026-06-23 21:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250953472001,"power":27365,"unknown_34":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-196821347365847040}} 
[2026-06-23 21:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":111396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:30:00] local.INFO: GPS data processed {"connection_id":111396,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:30:00] local.INFO: Acknowledgment sent {"connection_id":111396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:30:25] local.INFO: TCP Data received {"connection_id":111222,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:25] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:25] local.INFO: IMEI packet received {"connection_id":111222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":111222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:30:26] local.INFO: TCP Data received {"connection_id":111222,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:26] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:26] local.INFO: IMEI packet received {"connection_id":111222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":111222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:30:27] local.INFO: TCP Data received {"connection_id":111222,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:27] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:27] local.INFO: IMEI packet received {"connection_id":111222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":111222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:30:28] local.INFO: TCP Data received {"connection_id":111222,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:28] local.INFO: Processing buffer {"connection_id":111222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:30:28] local.INFO: IMEI packet received {"connection_id":111222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":111222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:30:28] local.INFO: TCP Data received {"connection_id":111221,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53229f0012d196580071feec80042006c23..."} 
[2026-06-23 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53229f0012d196580071feec80042006c23..."} 
[2026-06-23 21:30:28] local.INFO: Processing buffer {"connection_id":111221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53229f0012d196580071feec80042006c23..."} 
[2026-06-23 21:30:28] local.INFO: Packet analysis {"connection_id":111221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:30:28] local.INFO: Extracted packet for processing {"connection_id":111221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250917120001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230166000,"timestamp_ms":1782230166000,"timestamp_seconds":1782230166,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53229f0"} 
[2026-06-23 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-06-23 21:30: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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:30:28] 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-06-23 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-06-23 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-06-23 21:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250917120001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250917120001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250917120001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":111221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:30:28] local.INFO: GPS data processed {"connection_id":111221,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:30:28] local.INFO: Acknowledgment sent {"connection_id":111221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:30:36] local.INFO: TCP Data received {"connection_id":112035,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:30:36] local.INFO: Processing buffer {"connection_id":112035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:30:36] local.INFO: IMEI packet received {"connection_id":112035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":112035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:30:52] local.INFO: TCP Data received {"connection_id":112962,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:30:52] local.INFO: Processing buffer {"connection_id":112962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:30:52] local.INFO: IMEI packet received {"connection_id":112962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":112962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:30:56] local.INFO: TCP Data received {"connection_id":112962,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:30:56] local.INFO: Processing buffer {"connection_id":112962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:30:56] local.INFO: IMEI packet received {"connection_id":112962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":112962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:30:56] local.INFO: TCP Data received {"connection_id":112962,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5327bf8012d196580071feec80042006c21..."} 
[2026-06-23 21:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5327bf8012d196580071feec80042006c21..."} 
[2026-06-23 21:30:56] local.INFO: Processing buffer {"connection_id":112962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5327bf8012d196580071feec80042006c21..."} 
[2026-06-23 21:30:56] local.INFO: Packet analysis {"connection_id":112962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:30:56] local.INFO: Extracted packet for processing {"connection_id":112962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250922496001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782230187000,"timestamp_ms":1782230187000,"timestamp_seconds":1782230187,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5327bf8"} 
[2026-06-23 21:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:30:56] 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-06-23 21:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":112962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":112962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":112962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250922496001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250922496001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:30:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:30:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250922496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":112962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:30:57] local.INFO: GPS data processed {"connection_id":112962,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:30:57] local.INFO: Acknowledgment sent {"connection_id":112962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:31:06] local.INFO: TCP Data received {"connection_id":111223,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:31:06] local.INFO: Processing buffer {"connection_id":111223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:31:06] local.INFO: IMEI packet received {"connection_id":111223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":111223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:31:27] local.INFO: TCP Data received {"connection_id":112962,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef532ce00012d196580071feec80042006c24..."} 
[2026-06-23 21:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef532ce00012d196580071feec80042006c24..."} 
[2026-06-23 21:31:27] local.INFO: Processing buffer {"connection_id":112962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef532ce00012d196580071feec80042006c24..."} 
[2026-06-23 21:31:27] local.INFO: Packet analysis {"connection_id":112962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:31:27] local.INFO: Extracted packet for processing {"connection_id":112962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef532"} 
[2026-06-23 21:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250927872001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782230208000,"timestamp_ms":1782230208000,"timestamp_seconds":1782230208,"priority":1,"record_length":96,"hex_timestamp":"0000019ef532ce00"} 
[2026-06-23 21:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:31:27] 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-06-23 21:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:31:27] 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-06-23 21:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250927872001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250927872001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250927872001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":112962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:31:27] local.INFO: GPS data processed {"connection_id":112962,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:31:27] local.INFO: Acknowledgment sent {"connection_id":112962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:31:52] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:31:52] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:31:52] local.INFO: IMEI packet received {"connection_id":111398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":111398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:31:57] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:31:57] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:31:57] local.INFO: IMEI packet received {"connection_id":111398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":111398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:31:58] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5332008012d196580071feec80042006c24..."} 
[2026-06-23 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5332008012d196580071feec80042006c24..."} 
[2026-06-23 21:31:58] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5332008012d196580071feec80042006c24..."} 
[2026-06-23 21:31:58] local.INFO: Packet analysis {"connection_id":111398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef533"} 
[2026-06-23 21:31:58] local.INFO: Extracted packet for processing {"connection_id":111398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef533"} 
[2026-06-23 21:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250933248001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31: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-06-23 21:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782230229000,"timestamp_ms":1782230229000,"timestamp_seconds":1782230229,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5332008"} 
[2026-06-23 21:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:31: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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-778964646359131803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:31:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,123,45,128,238,66,33,10,41,35,215,1,240,255,227,245,31,4,113,205,51,101,200,37,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:31:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250933248001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250933248001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:31:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250933248001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":111398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:31:58] local.INFO: GPS data processed {"connection_id":111398,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:31:58] local.INFO: Acknowledgment sent {"connection_id":111398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:32:28] local.INFO: TCP Data received {"connection_id":111398,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef536a660012d196580071feec80042006c22..."} 
[2026-06-23 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef536a660012d196580071feec80042006c22..."} 
[2026-06-23 21:32:28] local.INFO: Processing buffer {"connection_id":111398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef536a660012d196580071feec80042006c22..."} 
[2026-06-23 21:32:28] local.INFO: Packet analysis {"connection_id":111398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef536"} 
[2026-06-23 21:32:28] local.INFO: Extracted packet for processing {"connection_id":111398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef536"} 
[2026-06-23 21:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250992384001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230460000,"timestamp_ms":1782230460000,"timestamp_seconds":1782230460,"priority":1,"record_length":96,"hex_timestamp":"0000019ef536a660"} 
[2026-06-23 21:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:32:28] 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-06-23 21: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-06-23 21:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250992384001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250992384001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250992384001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":111398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:32:28] local.INFO: GPS data processed {"connection_id":111398,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:32:28] local.INFO: Acknowledgment sent {"connection_id":111398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:32:52] local.INFO: TCP Data received {"connection_id":112037,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:32:52] local.INFO: Processing buffer {"connection_id":112037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:32:52] local.INFO: IMEI packet received {"connection_id":112037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":112037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:32:57] local.INFO: TCP Data received {"connection_id":112037,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:32:57] local.INFO: Processing buffer {"connection_id":112037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:32:57] local.INFO: IMEI packet received {"connection_id":112037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":112037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:32:57] local.INFO: TCP Data received {"connection_id":112037,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef536f868012d196580071feec80042006c22..."} 
[2026-06-23 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef536f868012d196580071feec80042006c22..."} 
[2026-06-23 21:32:57] local.INFO: Processing buffer {"connection_id":112037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef536f868012d196580071feec80042006c22..."} 
[2026-06-23 21:32:57] local.INFO: Packet analysis {"connection_id":112037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef536"} 
[2026-06-23 21:32:57] local.INFO: Extracted packet for processing {"connection_id":112037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef536"} 
[2026-06-23 21:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456250997760001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230481000,"timestamp_ms":1782230481000,"timestamp_seconds":1782230481,"priority":1,"record_length":96,"hex_timestamp":"0000019ef536f868"} 
[2026-06-23 21:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:32:57] 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-06-23 21:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-777882314600539803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075512,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:32:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,84,45,128,238,66,32,10,2,34,176,1,240,255,227,245,31,4,113,205,12,101,200,35,239,47,13,7,33],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:32:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920099787931648,"timestamp_seconds":4755920099787932.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456250997760001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456250997760001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456250997760001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":112037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:32:57] local.INFO: GPS data processed {"connection_id":112037,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:32:57] local.INFO: Acknowledgment sent {"connection_id":112037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:33:28] local.INFO: TCP Data received {"connection_id":112037,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5374a70012d196580071feec80042006c22..."} 
[2026-06-23 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5374a70012d196580071feec80042006c22..."} 
[2026-06-23 21:33:28] local.INFO: Processing buffer {"connection_id":112037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5374a70012d196580071feec80042006c22..."} 
[2026-06-23 21:33:28] local.INFO: Packet analysis {"connection_id":112037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef537"} 
[2026-06-23 21:33:28] local.INFO: Extracted packet for processing {"connection_id":112037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef537"} 
[2026-06-23 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251003136001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230502000,"timestamp_ms":1782230502000,"timestamp_seconds":1782230502,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5374a70"} 
[2026-06-23 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-06-23 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:33:28] 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-06-23 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-06-23 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-06-23 21:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251003136001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251003136001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251003136001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":112037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:33:28] local.INFO: GPS data processed {"connection_id":112037,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:33:28] local.INFO: Acknowledgment sent {"connection_id":112037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:33:52] local.INFO: TCP Data received {"connection_id":112964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:33:52] local.INFO: Processing buffer {"connection_id":112964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:33:52] local.INFO: IMEI packet received {"connection_id":112964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":112964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:33:57] local.INFO: TCP Data received {"connection_id":112964,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:33:57] local.INFO: Processing buffer {"connection_id":112964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:33:57] local.INFO: IMEI packet received {"connection_id":112964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":112964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:33:57] local.INFO: TCP Data received {"connection_id":112964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5379c78012d196580071feec80042006c22..."} 
[2026-06-23 21:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5379c78012d196580071feec80042006c22..."} 
[2026-06-23 21:33:57] local.INFO: Processing buffer {"connection_id":112964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5379c78012d196580071feec80042006c22..."} 
[2026-06-23 21:33:57] local.INFO: Packet analysis {"connection_id":112964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef537"} 
[2026-06-23 21:33:57] local.INFO: Extracted packet for processing {"connection_id":112964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef537"} 
[2026-06-23 21:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251008512001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230523000,"timestamp_ms":1782230523000,"timestamp_seconds":1782230523,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5379c78"} 
[2026-06-23 21:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:33:57] 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-06-23 21:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-777701925974107803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:33:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,248,45,128,238,66,34,10,166,84,1,240,255,227,245,31,4,113,205,176,101,200,36,239,47,2,13,7,35],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:33:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920099787931648,"timestamp_seconds":4755920099787932.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251008512001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251008512001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:33:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251008512001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":112964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:33:57] local.INFO: GPS data processed {"connection_id":112964,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:33:57] local.INFO: Acknowledgment sent {"connection_id":112964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:34:28] local.INFO: TCP Data received {"connection_id":112964,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef537ea98012d196580071feec80042006c23..."} 
[2026-06-23 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef537ea98012d196580071feec80042006c23..."} 
[2026-06-23 21:34:28] local.INFO: Processing buffer {"connection_id":112964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef537ea98012d196580071feec80042006c23..."} 
[2026-06-23 21:34:28] local.INFO: Packet analysis {"connection_id":112964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef537"} 
[2026-06-23 21:34:28] local.INFO: Extracted packet for processing {"connection_id":112964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef537"} 
[2026-06-23 21:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251013888001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230543000,"timestamp_ms":1782230543000,"timestamp_seconds":1782230543,"priority":1,"record_length":96,"hex_timestamp":"0000019ef537ea98"} 
[2026-06-23 21:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:34:28] 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-06-23 21: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-06-23 21:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251013888001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251013888001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251013888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":112964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:34:28] local.INFO: GPS data processed {"connection_id":112964,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:34:28] local.INFO: Acknowledgment sent {"connection_id":112964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:34:51] local.INFO: TCP Data received {"connection_id":112965,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:34:51] local.INFO: Processing buffer {"connection_id":112965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:34:51] local.INFO: IMEI packet received {"connection_id":112965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":112965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:34:57] local.INFO: TCP Data received {"connection_id":112965,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:34:57] local.INFO: Processing buffer {"connection_id":112965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:34:57] local.INFO: IMEI packet received {"connection_id":112965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":112965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:34:57] local.INFO: TCP Data received {"connection_id":112965,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5384088012d196580071feec80042006c23..."} 
[2026-06-23 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5384088012d196580071feec80042006c23..."} 
[2026-06-23 21:34:57] local.INFO: Processing buffer {"connection_id":112965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5384088012d196580071feec80042006c23..."} 
[2026-06-23 21:34:57] local.INFO: Packet analysis {"connection_id":112965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef538"} 
[2026-06-23 21:34:57] local.INFO: Extracted packet for processing {"connection_id":112965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef538"} 
[2026-06-23 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251019008001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230565000,"timestamp_ms":1782230565000,"timestamp_seconds":1782230565,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5384088"} 
[2026-06-23 21:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:34:57] 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-06-23 21:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:34:57] 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-06-23 21:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251019008001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251019008001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251019008001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":112965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:34:58] local.INFO: GPS data processed {"connection_id":112965,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:34:58] local.INFO: Acknowledgment sent {"connection_id":112965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:35:28] local.INFO: TCP Data received {"connection_id":112965,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5389290012d196580071feec80042006c24..."} 
[2026-06-23 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5389290012d196580071feec80042006c24..."} 
[2026-06-23 21:35:28] local.INFO: Processing buffer {"connection_id":112965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5389290012d196580071feec80042006c24..."} 
[2026-06-23 21:35:28] local.INFO: Packet analysis {"connection_id":112965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef538"} 
[2026-06-23 21:35:28] local.INFO: Extracted packet for processing {"connection_id":112965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef538"} 
[2026-06-23 21:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251024640001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230586000,"timestamp_ms":1782230586000,"timestamp_seconds":1782230586,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5389290"} 
[2026-06-23 21:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-777431343034459803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:35:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,234,45,128,238,66,35,10,156,34,74,1,240,227,245,31,4,113,205,166,101,200,239,48,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:35:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920104082898944,"timestamp_seconds":4755920104082899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251024640001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251024640001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251024640001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":112965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:35:28] local.INFO: GPS data processed {"connection_id":112965,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:35:28] local.INFO: Acknowledgment sent {"connection_id":112965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:35:30] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:35:30] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:35:30] local.INFO: IMEI packet received {"connection_id":111225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":111225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:35:32] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef539bf58012d004b4006ff77480010008328..."} 
[2026-06-23 21:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef539bf58012d004b4006ff77480010008328..."} 
[2026-06-23 21:35:32] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef539bf58012d004b4006ff77480010008328..."} 
[2026-06-23 21:35:32] local.INFO: Packet analysis {"connection_id":111225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:35:32] local.INFO: Extracted packet for processing {"connection_id":111225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:35:32] local.INFO: GPS Element Parsed {"raw_longitude":754993984,"raw_latitude":117405512,"longitude_deg":75.4993984,"latitude_deg":11.7405512,"altitude":16,"angle":131,"satellites":40,"speed":27,"hex_longitude":"2d004b40","hex_latitude":"06ff7748","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251046144001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321852664340021248,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":12947878986020864,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782230663000,"timestamp_ms":1782230663000,"timestamp_seconds":1782230663,"priority":1,"record_length":96,"hex_timestamp":"0000019ef539bf58"} 
[2026-06-23 21:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:35:32] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251046144001,"66":27332,"17":206,"28":32256,"24":27,"16":321852664340021248,"45":12947878986020864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-06-23 21:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251046144001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321852664340021248,"km_value":321852664340021.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":12947878986020864,"description":"Unknown IO ID 45"} 
[2026-06-23 21:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251046144001,"power":27332,"axis_x":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":12947878986020864}} 
[2026-06-23 21:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":111225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:35:32] local.INFO: GPS data processed {"connection_id":111225,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:35:32] local.INFO: Acknowledgment sent {"connection_id":111225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:35:51] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:35:51] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:35:51] local.INFO: IMEI packet received {"connection_id":111401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":111401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:35:57] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:35:57] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:35:57] local.INFO: IMEI packet received {"connection_id":111401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":111401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:35:57] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef538e498012d196580071feec80042006c24..."} 
[2026-06-23 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef538e498012d196580071feec80042006c24..."} 
[2026-06-23 21:35:57] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef538e498012d196580071feec80042006c24..."} 
[2026-06-23 21:35:57] local.INFO: Packet analysis {"connection_id":111401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef538"} 
[2026-06-23 21:35:57] local.INFO: Extracted packet for processing {"connection_id":111401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef538"} 
[2026-06-23 21:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251030016001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230607000,"timestamp_ms":1782230607000,"timestamp_seconds":1782230607,"priority":1,"record_length":96,"hex_timestamp":"0000019ef538e498"} 
[2026-06-23 21:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:35:57] 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-06-23 21:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-777341148721243803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:35:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,64,45,128,238,66,35,10,234,156,1,240,255,227,245,31,4,113,205,248,101,200,34,239,47,2,13,7,32],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:35:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920108377866240,"timestamp_seconds":4755920108377866.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251030016001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251030016001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:35:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251030016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":111401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:35:57] local.INFO: GPS data processed {"connection_id":111401,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:35:57] local.INFO: Acknowledgment sent {"connection_id":111401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:36:03] local.INFO: TCP Data received {"connection_id":111225,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef539ea50012d0061c006ff6130000e008e27..."} 
[2026-06-23 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef539ea50012d0061c006ff6130000e008e27..."} 
[2026-06-23 21:36:03] local.INFO: Processing buffer {"connection_id":111225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef539ea50012d0061c006ff6130000e008e27..."} 
[2026-06-23 21:36:03] local.INFO: Packet analysis {"connection_id":111225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:36:03] local.INFO: Extracted packet for processing {"connection_id":111225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:36:03] local.INFO: GPS Element Parsed {"raw_longitude":754999744,"raw_latitude":117399856,"longitude_deg":75.4999744,"latitude_deg":11.7399856,"altitude":14,"angle":142,"satellites":39,"speed":27,"hex_longitude":"2d0061c0","hex_latitude":"06ff6130","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251049728001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321853050887077888,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":21181022053287936,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782230674000,"timestamp_ms":1782230674000,"timestamp_seconds":1782230674,"priority":1,"record_length":96,"hex_timestamp":"0000019ef539ea50"} 
[2026-06-23 21:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:36:03] 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-06-23 21:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 21:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251049728001,"66":27484,"15":206,"28":32256,"24":27,"16":321853050887077888,"45":21181022053287936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-23 21:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251049728001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:36:03] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-23 21:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321853050887077888,"km_value":321853050887077.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":21181022053287936,"description":"Unknown IO ID 45"} 
[2026-06-23 21:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251049728001,"power":27484,"unknown_15":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":21181022053287936}} 
[2026-06-23 21:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":111225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:36:03] local.INFO: GPS data processed {"connection_id":111225,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:36:03] local.INFO: Acknowledgment sent {"connection_id":111225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:36:28] local.INFO: TCP Data received {"connection_id":111401,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53936a0012d196580071feec80042006c23..."} 
[2026-06-23 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53936a0012d196580071feec80042006c23..."} 
[2026-06-23 21:36:28] local.INFO: Processing buffer {"connection_id":111401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53936a0012d196580071feec80042006c23..."} 
[2026-06-23 21:36:28] local.INFO: Packet analysis {"connection_id":111401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:36:28] local.INFO: Extracted packet for processing {"connection_id":111401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251035392001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230628000,"timestamp_ms":1782230628000,"timestamp_seconds":1782230628,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53936a0"} 
[2026-06-23 21:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:36:28] 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-06-23 21: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-06-23 21:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251035392001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251035392001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251035392001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":111401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:36:28] local.INFO: GPS data processed {"connection_id":111401,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:36:28] local.INFO: Acknowledgment sent {"connection_id":111401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:36:29] local.INFO: TCP Data received {"connection_id":112040,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:36:29] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:36:29] local.INFO: IMEI packet received {"connection_id":112040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":112040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:36:30] local.INFO: TCP Data received {"connection_id":112040,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:36:30] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:36:30] local.INFO: IMEI packet received {"connection_id":112040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":112040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:36:31] local.INFO: TCP Data received {"connection_id":111226,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:36:31] local.INFO: Processing buffer {"connection_id":111226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:36:31] local.INFO: IMEI packet received {"connection_id":111226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":111226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:36:31] local.INFO: TCP Data received {"connection_id":112040,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53af7d8012d00d90006fea358000800622b..."} 
[2026-06-23 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53af7d8012d00d90006fea358000800622b..."} 
[2026-06-23 21:36:31] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53af7d8012d00d90006fea358000800622b..."} 
[2026-06-23 21:36:31] local.INFO: Packet analysis {"connection_id":112040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:36:31] local.INFO: Extracted packet for processing {"connection_id":112040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:36:31] local.INFO: GPS Element Parsed {"raw_longitude":755030272,"raw_latitude":117351256,"longitude_deg":75.5030272,"latitude_deg":11.7351256,"altitude":8,"angle":98,"satellites":43,"speed":44,"hex_longitude":"2d00d900","hex_latitude":"06fea358","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251067904001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321856220572942336,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":50172944640868352,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782230743000,"timestamp_ms":1782230743000,"timestamp_seconds":1782230743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53af7d8"} 
[2026-06-23 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-06-23 21:36:31] 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-06-23 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 21:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251067904001,"66":27463,"15":206,"28":32256,"24":44,"16":321856220572942336,"45":50172944640868352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-23 21:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251067904001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:36:31] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-23 21:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321856220572942336,"km_value":321856220572942.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":50172944640868352,"description":"Unknown IO ID 45"} 
[2026-06-23 21:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251067904001,"power":27463,"unknown_15":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":50172944640868352}} 
[2026-06-23 21:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":112040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:36:31] local.INFO: GPS data processed {"connection_id":112040,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:36:31] local.INFO: Acknowledgment sent {"connection_id":112040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:36:33] local.INFO: TCP Data received {"connection_id":112040,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53b1b00012d00ff4006fe9a70000a006e2a..."} 
[2026-06-23 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53b1b00012d00ff4006fe9a70000a006e2a..."} 
[2026-06-23 21:36:33] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53b1b00012d00ff4006fe9a70000a006e2a..."} 
[2026-06-23 21:36:33] local.INFO: Packet analysis {"connection_id":112040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:36:33] local.INFO: Extracted packet for processing {"connection_id":112040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":755040064,"raw_latitude":117348976,"longitude_deg":75.5040064,"latitude_deg":11.7348976,"altitude":10,"angle":110,"satellites":42,"speed":44,"hex_longitude":"2d00ff40","hex_latitude":"06fe9a70","is_valid_coordinates":true} 
[2026-06-23 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251070208001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321856701609279488,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":61080099988133888,"note":"Value kept but may cause issues"} 
[2026-06-23 21:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782230752000,"timestamp_ms":1782230752000,"timestamp_seconds":1782230752,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53b1b00"} 
[2026-06-23 21:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:36:33] 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-06-23 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251070208001,"66":27343,"15":206,"28":32256,"24":44,"16":321856701609279488,"45":61080099988133888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-23 21:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251070208001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321856701609279488,"km_value":321856701609279.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":61080099988133888,"description":"Unknown IO ID 45"} 
[2026-06-23 21:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251070208001,"power":27343,"unknown_15":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":61080099988133888}} 
[2026-06-23 21:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":112040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:36:33] local.INFO: GPS data processed {"connection_id":112040,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:36:33] local.INFO: Acknowledgment sent {"connection_id":112040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:36:53] local.INFO: TCP Data received {"connection_id":112966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:36:53] local.INFO: Processing buffer {"connection_id":112966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:36:53] local.INFO: IMEI packet received {"connection_id":112966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":112966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:36:57] local.INFO: TCP Data received {"connection_id":112966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:36:57] local.INFO: Processing buffer {"connection_id":112966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:36:57] local.INFO: IMEI packet received {"connection_id":112966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":112966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:37:02] local.INFO: TCP Data received {"connection_id":112966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:02] local.INFO: Processing buffer {"connection_id":112966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:02] local.INFO: IMEI packet received {"connection_id":112966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":112966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:37:02] local.INFO: TCP Data received {"connection_id":112966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53988a8012d196580071feec80042006c23..."} 
[2026-06-23 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53988a8012d196580071feec80042006c23..."} 
[2026-06-23 21:37:02] local.INFO: Processing buffer {"connection_id":112966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53988a8012d196580071feec80042006c23..."} 
[2026-06-23 21:37:02] local.INFO: Packet analysis {"connection_id":112966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:37:02] local.INFO: Extracted packet for processing {"connection_id":112966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251040768001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782230649000,"timestamp_ms":1782230649000,"timestamp_seconds":1782230649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53988a8"} 
[2026-06-23 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-06-23 21:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-777160760094811803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:02] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,228,45,128,238,66,36,10,146,64,1,240,227,245,31,4,113,205,156,101,200,34,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:37:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920104082898944,"timestamp_seconds":4755920104082899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 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-06-23 21:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251040768001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251040768001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:37:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251040768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":112966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:37:02] local.INFO: GPS data processed {"connection_id":112966,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:37:02] local.INFO: Acknowledgment sent {"connection_id":112966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:37:04] local.INFO: TCP Data received {"connection_id":112040,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53b1b00012d00ff4006fe9a70000a006e2a..."} 
[2026-06-23 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53b1b00012d00ff4006fe9a70000a006e2a..."} 
[2026-06-23 21:37:04] local.INFO: Processing buffer {"connection_id":112040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53b1b00012d00ff4006fe9a70000a006e2a..."} 
[2026-06-23 21:37:04] local.INFO: Packet analysis {"connection_id":112040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:37:04] local.INFO: Extracted packet for processing {"connection_id":112040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":755040064,"raw_latitude":117348976,"longitude_deg":75.5040064,"latitude_deg":11.7348976,"altitude":10,"angle":110,"satellites":42,"speed":44,"hex_longitude":"2d00ff40","hex_latitude":"06fe9a70","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251072512001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321856701609279488,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":71846517846732800,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782230752000,"timestamp_ms":1782230752000,"timestamp_seconds":1782230752,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53b1b00"} 
[2026-06-23 21:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:37:04] 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-06-23 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:37:04] 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-06-23 21: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-06-23 21:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251072512001,"66":27343,"15":206,"28":32256,"24":44,"16":321856701609279488,"45":71846517846732800},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-23 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251072512001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:37:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-23 21:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321856701609279488,"km_value":321856701609279.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":71846517846732800,"description":"Unknown IO ID 45"} 
[2026-06-23 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251072512001,"power":27343,"unknown_15":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":71846517846732800}} 
[2026-06-23 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":112040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:37:04] local.INFO: GPS data processed {"connection_id":112040,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:37:04] local.INFO: Acknowledgment sent {"connection_id":112040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:37:06] local.INFO: TCP Data received {"connection_id":112041,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:37:06] local.INFO: Processing buffer {"connection_id":112041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:37:06] local.INFO: IMEI packet received {"connection_id":112041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":112041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:37:07] local.INFO: TCP Data received {"connection_id":112966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef539dab0012d196580071feec80042006c23..."} 
[2026-06-23 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef539dab0012d196580071feec80042006c23..."} 
[2026-06-23 21:37:07] local.INFO: Processing buffer {"connection_id":112966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef539dab0012d196580071feec80042006c23..."} 
[2026-06-23 21:37:07] local.INFO: Packet analysis {"connection_id":112966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:37:07] local.INFO: Extracted packet for processing {"connection_id":112966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef539"} 
[2026-06-23 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251046144001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782230670000,"timestamp_ms":1782230670000,"timestamp_seconds":1782230670,"priority":1,"record_length":96,"hex_timestamp":"0000019ef539dab0"} 
[2026-06-23 21:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:37:07] 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-06-23 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:37:07] 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-06-23 21:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251046144001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251046144001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251046144001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":112966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:37:07] local.INFO: GPS data processed {"connection_id":112966,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:37:07] local.INFO: Acknowledgment sent {"connection_id":112966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:37:26] local.INFO: TCP Data received {"connection_id":111402,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:37:26] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:37:26] local.INFO: IMEI packet received {"connection_id":111402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":111402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:37:26] local.INFO: TCP Data received {"connection_id":111402,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:37:26] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:37:26] local.INFO: IMEI packet received {"connection_id":111402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":111402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:37:28] local.INFO: TCP Data received {"connection_id":111402,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53b3270012d01158006fe90e8000a007e2c..."} 
[2026-06-23 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53b3270012d01158006fe90e8000a007e2c..."} 
[2026-06-23 21:37:28] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53b3270012d01158006fe90e8000a007e2c..."} 
[2026-06-23 21:37:28] local.INFO: Packet analysis {"connection_id":111402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:37:28] local.INFO: Extracted packet for processing {"connection_id":111402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:37:28] local.INFO: GPS Element Parsed {"raw_longitude":755045760,"raw_latitude":117346536,"longitude_deg":75.504576,"latitude_deg":11.7346536,"altitude":10,"angle":126,"satellites":44,"speed":33,"hex_longitude":"2d011580","hex_latitude":"06fe90e8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251072512001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321856997962022912,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":71846517846732800,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230758000,"timestamp_ms":1782230758000,"timestamp_seconds":1782230758,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53b3270"} 
[2026-06-23 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-06-23 21:37:28] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:37:28] 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-06-23 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-06-23 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-06-23 21:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251072512001,"66":26658,"15":206,"28":32256,"24":33,"16":321856997962022912,"45":71846517846732800},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-23 21:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251072512001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:37:28] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-23 21:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321856997962022912,"km_value":321856997962022.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":71846517846732800,"description":"Unknown IO ID 45"} 
[2026-06-23 21:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251072512001,"power":26658,"unknown_15":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":71846517846732800}} 
[2026-06-23 21:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":111402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:37:28] local.INFO: GPS data processed {"connection_id":111402,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:37:28] local.INFO: Acknowledgment sent {"connection_id":111402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:37:29] local.INFO: TCP Data received {"connection_id":111402,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53b3658012d01184006fe8e98000a00892b..."} 
[2026-06-23 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53b3658012d01184006fe8e98000a00892b..."} 
[2026-06-23 21:37:29] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53b3658012d01184006fe8e98000a00892b..."} 
[2026-06-23 21:37:29] local.INFO: Packet analysis {"connection_id":111402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:37:29] local.INFO: Extracted packet for processing {"connection_id":111402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":755046464,"raw_latitude":117345944,"longitude_deg":75.5046464,"latitude_deg":11.7345944,"altitude":10,"angle":137,"satellites":43,"speed":34,"hex_longitude":"2d011840","hex_latitude":"06fe8e98","is_valid_coordinates":true} 
[2026-06-23 21:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251074048001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321857040911695872,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":78109336077920256,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230759000,"timestamp_ms":1782230759000,"timestamp_seconds":1782230759,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53b3658"} 
[2026-06-23 21:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:37:29] 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-06-23 21:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-06-23 21:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251074048001,"66":26658,"15":206,"28":32256,"24":34,"16":321857040911695872,"45":78109336077920256},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-23 21:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251074048001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:37:29] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-23 21:37:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321857040911695872,"km_value":321857040911695.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":78109336077920256,"description":"Unknown IO ID 45"} 
[2026-06-23 21:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251074048001,"power":26658,"unknown_15":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":78109336077920256}} 
[2026-06-23 21:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":111402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:37:29] local.INFO: GPS data processed {"connection_id":111402,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:37:29] local.INFO: Acknowledgment sent {"connection_id":111402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:37:52] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:52] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:52] local.INFO: IMEI packet received {"connection_id":111403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":111403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:37:56] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:56] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:37:56] local.INFO: IMEI packet received {"connection_id":111403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":111403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:37:57] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53a2cb8012d196580071feec80042006c22..."} 
[2026-06-23 21:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53a2cb8012d196580071feec80042006c22..."} 
[2026-06-23 21:37:57] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53a2cb8012d196580071feec80042006c22..."} 
[2026-06-23 21:37:57] local.INFO: Packet analysis {"connection_id":111403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:37:57] local.INFO: Extracted packet for processing {"connection_id":111403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251051520001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230691000,"timestamp_ms":1782230691000,"timestamp_seconds":1782230691,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53a2cb8"} 
[2026-06-23 21:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:37:57] 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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-776980371468379803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:37:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:37:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,136,45,128,238,66,35,10,54,228,1,240,255,227,245,31,4,113,205,64,101,200,239,48,2,13,7,34],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:37:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920104082898944,"timestamp_seconds":4755920104082899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251051520001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251051520001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:37:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251051520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":111403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:37:57] local.INFO: GPS data processed {"connection_id":111403,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:37:57] local.INFO: Acknowledgment sent {"connection_id":111403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:38:00] local.INFO: TCP Data received {"connection_id":111402,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53c5380012d020dc006fdc9e8000c009629..."} 
[2026-06-23 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53c5380012d020dc006fdc9e8000c009629..."} 
[2026-06-23 21:38:00] local.INFO: Processing buffer {"connection_id":111402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53c5380012d020dc006fdc9e8000c009629..."} 
[2026-06-23 21:38:00] local.INFO: Packet analysis {"connection_id":111402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:38:00] local.INFO: Extracted packet for processing {"connection_id":111402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":755109312,"raw_latitude":117295592,"longitude_deg":75.5109312,"latitude_deg":11.7295592,"altitude":12,"angle":150,"satellites":41,"speed":44,"hex_longitude":"2d020dc0","hex_latitude":"06fdc9e8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251090944001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321860936447033344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":140948624617209856,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782230832000,"timestamp_ms":1782230832000,"timestamp_seconds":1782230832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53c5380"} 
[2026-06-23 21:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:38:00] 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-06-23 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251090944001,"66":27343,"110":206,"28":32256,"24":44,"16":321860936447033344,"45":140948624617209856},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-23 21:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251090944001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:38:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 21:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321860936447033344,"km_value":321860936447033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":140948624617209856,"description":"Unknown IO ID 45"} 
[2026-06-23 21:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251090944001,"power":27343,"unknown_110":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":140948624617209856}} 
[2026-06-23 21:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":111402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:38:00] local.INFO: GPS data processed {"connection_id":111402,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:38:00] local.INFO: Acknowledgment sent {"connection_id":111402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:38:23] local.INFO: TCP Data received {"connection_id":112967,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:38:23] local.INFO: Processing buffer {"connection_id":112967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:38:23] local.INFO: IMEI packet received {"connection_id":112967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":112967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:38:27] local.INFO: TCP Data received {"connection_id":112967,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:38:27] local.INFO: Processing buffer {"connection_id":112967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:38:27] local.INFO: IMEI packet received {"connection_id":112967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":112967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:38:27] local.INFO: TCP Data received {"connection_id":111403,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53a7ec0012d196580071feec80042006c23..."} 
[2026-06-23 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53a7ec0012d196580071feec80042006c23..."} 
[2026-06-23 21:38:27] local.INFO: Processing buffer {"connection_id":111403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53a7ec0012d196580071feec80042006c23..."} 
[2026-06-23 21:38:27] local.INFO: Packet analysis {"connection_id":111403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:38:27] local.INFO: Extracted packet for processing {"connection_id":111403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251056896001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782230712000,"timestamp_ms":1782230712000,"timestamp_seconds":1782230712,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53a7ec0"} 
[2026-06-23 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-06-23 21:38:27] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:38:27] 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-06-23 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-06-23 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-06-23 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251056896001,"66":12145,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251056896001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251056896001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":111403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:38:28] local.INFO: GPS data processed {"connection_id":111403,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:38:28] local.INFO: Acknowledgment sent {"connection_id":111403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:38:28] local.INFO: TCP Data received {"connection_id":112967,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53c5380012d020dc006fdc9e8000c009629..."} 
[2026-06-23 21:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53c5380012d020dc006fdc9e8000c009629..."} 
[2026-06-23 21:38:28] local.INFO: Processing buffer {"connection_id":112967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53c5380012d020dc006fdc9e8000c009629..."} 
[2026-06-23 21:38:28] local.INFO: Packet analysis {"connection_id":112967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:38:28] local.INFO: Extracted packet for processing {"connection_id":112967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:38:28] local.INFO: GPS Element Parsed {"raw_longitude":755109312,"raw_latitude":117295592,"longitude_deg":75.5109312,"latitude_deg":11.7295592,"altitude":12,"angle":150,"satellites":41,"speed":44,"hex_longitude":"2d020dc0","hex_latitude":"06fdc9e8","is_valid_coordinates":true} 
[2026-06-23 21:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251092992001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321860936447033344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":147985499033298944,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230832000,"timestamp_ms":1782230832000,"timestamp_seconds":1782230832,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53c5380"} 
[2026-06-23 21:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:38:28] 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-06-23 21:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:38:28] 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-06-23 21:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251092992001,"66":27343,"110":206,"28":32256,"24":44,"16":321860936447033344,"45":147985499033298944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-23 21:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251092992001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:38:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 21:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321860936447033344,"km_value":321860936447033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":147985499033298944,"description":"Unknown IO ID 45"} 
[2026-06-23 21:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251092992001,"power":27343,"unknown_110":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":147985499033298944}} 
[2026-06-23 21:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":112967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:38:28] local.INFO: GPS data processed {"connection_id":112967,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:38:28] local.INFO: Acknowledgment sent {"connection_id":112967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:38:52] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:38:52] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:38:52] local.INFO: IMEI packet received {"connection_id":112042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":112042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:38:57] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:38:57] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:38:57] local.INFO: IMEI packet received {"connection_id":112042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":112042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:38:57] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53ad0c8012d196580071feec80042006c24..."} 
[2026-06-23 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53ad0c8012d196580071feec80042006c24..."} 
[2026-06-23 21:38:57] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53ad0c8012d196580071feec80042006c24..."} 
[2026-06-23 21:38:57] local.INFO: Packet analysis {"connection_id":112042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:38:57] local.INFO: Extracted packet for processing {"connection_id":112042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53a"} 
[2026-06-23 21:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251062272001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230733000,"timestamp_ms":1782230733000,"timestamp_seconds":1782230733,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53ad0c8"} 
[2026-06-23 21:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:38:57] 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-06-23 21: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 21:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251062272001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251062272001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251062272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":112042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:38:57] local.INFO: GPS data processed {"connection_id":112042,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:38:57] local.INFO: Acknowledgment sent {"connection_id":112042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:39:00] local.INFO: TCP Data received {"connection_id":112967,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53c6ed8012d0218c006fdac98000a00a329..."} 
[2026-06-23 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53c6ed8012d0218c006fdac98000a00a329..."} 
[2026-06-23 21:39:00] local.INFO: Processing buffer {"connection_id":112967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53c6ed8012d0218c006fdac98000a00a329..."} 
[2026-06-23 21:39:00] local.INFO: Packet analysis {"connection_id":112967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:39:00] local.INFO: Extracted packet for processing {"connection_id":112967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:39:00] local.INFO: GPS Element Parsed {"raw_longitude":755112128,"raw_latitude":117288088,"longitude_deg":75.5112128,"latitude_deg":11.7288088,"altitude":10,"angle":163,"satellites":41,"speed":43,"hex_longitude":"2d0218c0","hex_latitude":"06fdac98","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251092992001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321861327289057280,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":147985499033298944,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782230839000,"timestamp_ms":1782230839000,"timestamp_seconds":1782230839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53c6ed8"} 
[2026-06-23 21:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:39:00] 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-06-23 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251092992001,"66":27484,"110":206,"28":32256,"24":43,"16":321861327289057280,"45":147985499033298944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-23 21:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251092992001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:39:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 21:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321861327289057280,"km_value":321861327289057.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":147985499033298944,"description":"Unknown IO ID 45"} 
[2026-06-23 21:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251092992001,"power":27484,"unknown_110":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":147985499033298944}} 
[2026-06-23 21:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":112967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:39:00] local.INFO: GPS data processed {"connection_id":112967,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:39:00] local.INFO: Acknowledgment sent {"connection_id":112967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:39:23] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:39:23] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:39:23] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:39:27] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:39:27] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:39:27] local.INFO: IMEI packet received {"connection_id":111227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":111227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:39:28] local.INFO: TCP Data received {"connection_id":112042,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53b22d0012d196580071feec80042006c24..."} 
[2026-06-23 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53b22d0012d196580071feec80042006c24..."} 
[2026-06-23 21:39:28] local.INFO: Processing buffer {"connection_id":112042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53b22d0012d196580071feec80042006c24..."} 
[2026-06-23 21:39:28] local.INFO: Packet analysis {"connection_id":112042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:39:28] local.INFO: Extracted packet for processing {"connection_id":112042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251067648001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230754000,"timestamp_ms":1782230754000,"timestamp_seconds":1782230754,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53b22d0"} 
[2026-06-23 21:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:39:28] 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-06-23 21: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-06-23 21:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251067648001,"66":12254,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251067648001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251067648001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":112042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:39:28] local.INFO: GPS data processed {"connection_id":112042,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:39:28] local.INFO: Acknowledgment sent {"connection_id":112042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:39:29] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53c8e18012d02250006fd89b8000a009f28..."} 
[2026-06-23 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53c8e18012d02250006fd89b8000a009f28..."} 
[2026-06-23 21:39:29] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53c8e18012d02250006fd89b8000a009f28..."} 
[2026-06-23 21:39:29] local.INFO: Packet analysis {"connection_id":111227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:39:29] local.INFO: Extracted packet for processing {"connection_id":111227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":755115264,"raw_latitude":117279160,"longitude_deg":75.5115264,"latitude_deg":11.727916,"altitude":10,"angle":159,"satellites":40,"speed":48,"hex_longitude":"2d022500","hex_latitude":"06fd89b8","is_valid_coordinates":true} 
[2026-06-23 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251094784001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321861782555590656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":151081723775195136,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230847000,"timestamp_ms":1782230847000,"timestamp_seconds":1782230847,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53c8e18"} 
[2026-06-23 21:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:39:29] 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-06-23 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251094784001,"66":27343,"110":206,"28":32256,"24":48,"16":321861782555590656,"45":151081723775195136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-23 21:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251094784001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:39:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-23 21:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321861782555590656,"km_value":321861782555590.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":151081723775195136,"description":"Unknown IO ID 45"} 
[2026-06-23 21:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251094784001,"power":27343,"unknown_110":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":151081723775195136}} 
[2026-06-23 21:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":111227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:39:29] local.INFO: GPS data processed {"connection_id":111227,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:39:29] local.INFO: Acknowledgment sent {"connection_id":111227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:39:52] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:39:52] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:39:52] local.INFO: IMEI packet received {"connection_id":112043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":112043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:39:57] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:39:57] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:39:57] local.INFO: IMEI packet received {"connection_id":112043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":112043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:39:57] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53b74d8012d196580071feec80042006c23..."} 
[2026-06-23 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53b74d8012d196580071feec80042006c23..."} 
[2026-06-23 21:39:57] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53b74d8012d196580071feec80042006c23..."} 
[2026-06-23 21:39:57] local.INFO: Packet analysis {"connection_id":112043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:39:57] local.INFO: Extracted packet for processing {"connection_id":112043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251073024001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230775000,"timestamp_ms":1782230775000,"timestamp_seconds":1782230775,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53b74d8"} 
[2026-06-23 21:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:39:57] 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-06-23 21: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 21:39:57] 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-06-23 21: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-06-23 21:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251073024001,"66":12037,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251073024001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:39:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251073024001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":112043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:39:57] local.INFO: GPS data processed {"connection_id":112043,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:39:57] local.INFO: Acknowledgment sent {"connection_id":112043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:40:01] local.INFO: TCP Data received {"connection_id":111227,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53e2458012d036d4006fc2588000b008f28..."} 
[2026-06-23 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53e2458012d036d4006fc2588000b008f28..."} 
[2026-06-23 21:40:01] local.INFO: Processing buffer {"connection_id":111227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53e2458012d036d4006fc2588000b008f28..."} 
[2026-06-23 21:40:01] local.INFO: Packet analysis {"connection_id":111227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53e"} 
[2026-06-23 21:40:01] local.INFO: Extracted packet for processing {"connection_id":111227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53e"} 
[2026-06-23 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":755199296,"raw_latitude":117187976,"longitude_deg":75.5199296,"latitude_deg":11.7187976,"altitude":11,"angle":143,"satellites":40,"speed":53,"hex_longitude":"2d036d40","hex_latitude":"06fc2588","is_valid_coordinates":true} 
[2026-06-23 21:40: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-06-23 21:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251121664001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321867971603464192,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":240520397601357824,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782230951000,"timestamp_ms":1782230951000,"timestamp_seconds":1782230951,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53e2458"} 
[2026-06-23 21:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:40:01] 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-06-23 21:40: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-23 21:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:40: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-06-23 21:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251121664001,"66":27484,"109":206,"28":32256,"24":53,"16":321867971603464192,"45":240520397601357824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-06-23 21:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251121664001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:40:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 21:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321867971603464192,"km_value":321867971603464.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":240520397601357824,"description":"Unknown IO ID 45"} 
[2026-06-23 21:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251121664001,"power":27484,"unknown_109":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_45":240520397601357824}} 
[2026-06-23 21:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":111227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:40:01] local.INFO: GPS data processed {"connection_id":111227,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:40:01] local.INFO: Acknowledgment sent {"connection_id":111227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:40:23] local.INFO: TCP Data received {"connection_id":112044,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:40:23] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:40:23] local.INFO: IMEI packet received {"connection_id":112044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":112044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:40:28] local.INFO: TCP Data received {"connection_id":112044,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:40:28] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:40:28] local.INFO: IMEI packet received {"connection_id":112044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":112044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:40:28] local.INFO: TCP Data received {"connection_id":112043,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53bc6e0012d196580071feec80042006c23..."} 
[2026-06-23 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53bc6e0012d196580071feec80042006c23..."} 
[2026-06-23 21:40:28] local.INFO: Processing buffer {"connection_id":112043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53bc6e0012d196580071feec80042006c23..."} 
[2026-06-23 21:40:28] local.INFO: Packet analysis {"connection_id":112043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:40:28] local.INFO: Extracted packet for processing {"connection_id":112043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53b"} 
[2026-06-23 21:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251078400001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230796000,"timestamp_ms":1782230796000,"timestamp_seconds":1782230796,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53bc6e0"} 
[2026-06-23 21:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:40: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-06-23 21:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4114188456,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182169580077312,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300996363065781283,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194880768,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,189,158,34,45,128,238,66,36,10,208,126,1,240,113,227,245,31,4,205,218,101,200,35,239,48,2,13,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:40:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920104082898944,"timestamp_seconds":4755920104082899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251078400001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251078400001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251078400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":112043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:40:28] local.INFO: GPS data processed {"connection_id":112043,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:40:28] local.INFO: Acknowledgment sent {"connection_id":112043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:40:29] local.INFO: TCP Data received {"connection_id":112044,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53e3010012d03750006fc18c8000b009d2a..."} 
[2026-06-23 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53e3010012d03750006fc18c8000b009d2a..."} 
[2026-06-23 21:40:29] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53e3010012d03750006fc18c8000b009d2a..."} 
[2026-06-23 21:40:29] local.INFO: Packet analysis {"connection_id":112044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53e"} 
[2026-06-23 21:40:29] local.INFO: Extracted packet for processing {"connection_id":112044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53e"} 
[2026-06-23 21:40:29] local.INFO: GPS Element Parsed {"raw_longitude":755201280,"raw_latitude":117184712,"longitude_deg":75.520128,"latitude_deg":11.7184712,"altitude":11,"angle":157,"satellites":42,"speed":48,"hex_longitude":"2d037500","hex_latitude":"06fc18c8","is_valid_coordinates":true} 
[2026-06-23 21:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251123456001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321868156287057920,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":246923953319544832,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782230954000,"timestamp_ms":1782230954000,"timestamp_seconds":1782230954,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53e3010"} 
[2026-06-23 21:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:40:29] 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-06-23 21:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251123456001,"66":27343,"109":206,"28":32256,"24":48,"16":321868156287057920,"45":246923953319544832},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-06-23 21:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251123456001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:40:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 21:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321868156287057920,"km_value":321868156287057.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":246923953319544832,"description":"Unknown IO ID 45"} 
[2026-06-23 21:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251123456001,"power":27343,"unknown_109":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":246923953319544832}} 
[2026-06-23 21:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":112044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:40:29] local.INFO: GPS data processed {"connection_id":112044,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:40:29] local.INFO: Acknowledgment sent {"connection_id":112044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:40:52] local.INFO: TCP Data received {"connection_id":111228,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:40:52] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:40:52] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:40:57] local.INFO: TCP Data received {"connection_id":111228,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:40:57] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:40:57] local.INFO: IMEI packet received {"connection_id":111228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":111228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:40:57] local.INFO: TCP Data received {"connection_id":111228,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53c18e8012d196580071feec80042006c23..."} 
[2026-06-23 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53c18e8012d196580071feec80042006c23..."} 
[2026-06-23 21:40:57] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53c18e8012d196580071feec80042006c23..."} 
[2026-06-23 21:40:57] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:40:57] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251083776001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230817000,"timestamp_ms":1782230817000,"timestamp_seconds":1782230817,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53c18e8"} 
[2026-06-23 21:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:40:57] 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-06-23 21: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-06-23 21:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251083776001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251083776001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:40:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251083776001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:40:57] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:40:57] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:41:00] local.INFO: TCP Data received {"connection_id":112044,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53e37e0012d03778006fc0f60000b00ac2a..."} 
[2026-06-23 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53e37e0012d03778006fc0f60000b00ac2a..."} 
[2026-06-23 21:41:00] local.INFO: Processing buffer {"connection_id":112044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53e37e0012d03778006fc0f60000b00ac2a..."} 
[2026-06-23 21:41:00] local.INFO: Packet analysis {"connection_id":112044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53e"} 
[2026-06-23 21:41:00] local.INFO: Extracted packet for processing {"connection_id":112044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53e"} 
[2026-06-23 21:41:00] local.INFO: GPS Element Parsed {"raw_longitude":755201920,"raw_latitude":117182304,"longitude_deg":75.520192,"latitude_deg":11.7182304,"altitude":11,"angle":172,"satellites":42,"speed":51,"hex_longitude":"2d037780","hex_latitude":"06fc0f60","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251124224001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321868280841109504,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249105384388216832,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782230956000,"timestamp_ms":1782230956000,"timestamp_seconds":1782230956,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53e37e0"} 
[2026-06-23 21:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:41:00] 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-06-23 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251124224001,"66":27332,"109":206,"28":32256,"24":51,"16":321868280841109504,"45":249105384388216832},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-06-23 21:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251124224001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:41:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 21:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321868280841109504,"km_value":321868280841109.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":249105384388216832,"description":"Unknown IO ID 45"} 
[2026-06-23 21:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251124224001,"power":27332,"unknown_109":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_45":249105384388216832}} 
[2026-06-23 21:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":112044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:41:00] local.INFO: GPS data processed {"connection_id":112044,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:41:00] local.INFO: Acknowledgment sent {"connection_id":112044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:41:23] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:23] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:23] local.INFO: IMEI packet received {"connection_id":111229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":111229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:41:23] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:23] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:23] local.INFO: IMEI packet received {"connection_id":111229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":111229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:41:28] local.INFO: TCP Data received {"connection_id":111228,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53c6af0012d196580071feec80042006c22..."} 
[2026-06-23 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53c6af0012d196580071feec80042006c22..."} 
[2026-06-23 21:41:28] local.INFO: Processing buffer {"connection_id":111228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53c6af0012d196580071feec80042006c22..."} 
[2026-06-23 21:41:28] local.INFO: Packet analysis {"connection_id":111228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:41:28] local.INFO: Extracted packet for processing {"connection_id":111228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251089152001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230838000,"timestamp_ms":1782230838000,"timestamp_seconds":1782230838,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53c6af0"} 
[2026-06-23 21:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:41: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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-776349011275867803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:41:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:28] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,189,158,198,45,128,238,66,35,10,116,34,1,240,222,227,245,31,4,113,205,126,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:41:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920104082898944,"timestamp_seconds":4755920104082899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251089152001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251089152001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251089152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":111228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:41:28] local.INFO: GPS data processed {"connection_id":111228,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:41:28] local.INFO: Acknowledgment sent {"connection_id":111228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:41:28] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:28] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:41:28] local.INFO: IMEI packet received {"connection_id":111229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":111229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:41:30] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53f7060012d04128006fb69780019008b27..."} 
[2026-06-23 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53f7060012d04128006fb69780019008b27..."} 
[2026-06-23 21:41:30] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53f7060012d04128006fb69780019008b27..."} 
[2026-06-23 21:41:30] local.INFO: Packet analysis {"connection_id":111229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53f"} 
[2026-06-23 21:41:30] local.INFO: Extracted packet for processing {"connection_id":111229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53f"} 
[2026-06-23 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":755241600,"raw_latitude":117139832,"longitude_deg":75.52416,"latitude_deg":11.7139832,"altitude":25,"angle":139,"satellites":39,"speed":40,"hex_longitude":"2d041280","hex_latitude":"06fb6978","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251142400001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321871291613184000,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":286752662513672192,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782231036000,"timestamp_ms":1782231036000,"timestamp_seconds":1782231036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53f7060"} 
[2026-06-23 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-06-23 21:41:30] 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-06-23 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 21:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251142400001,"66":27343,"189":206,"28":32256,"24":40,"16":321871291613184000,"45":286752662513672192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-06-23 21:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251142400001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:41:30] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 21:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321871291613184000,"km_value":321871291613184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":286752662513672192,"description":"Unknown IO ID 45"} 
[2026-06-23 21:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251142400001,"power":27343,"unknown_189":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":286752662513672192}} 
[2026-06-23 21:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":111229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:41:30] local.INFO: GPS data processed {"connection_id":111229,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:41:30] local.INFO: Acknowledgment sent {"connection_id":111229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:41:52] local.INFO: TCP Data received {"connection_id":111406,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:41:52] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:41:52] local.INFO: IMEI packet received {"connection_id":111406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":111406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:41:57] local.INFO: TCP Data received {"connection_id":111406,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:41:57] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:41:57] local.INFO: IMEI packet received {"connection_id":111406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":111406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:41:57] local.INFO: TCP Data received {"connection_id":111406,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53cbcf8012d196580071feec80042006c23..."} 
[2026-06-23 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53cbcf8012d196580071feec80042006c23..."} 
[2026-06-23 21:41:57] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53cbcf8012d196580071feec80042006c23..."} 
[2026-06-23 21:41:57] local.INFO: Packet analysis {"connection_id":111406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:41:57] local.INFO: Extracted packet for processing {"connection_id":111406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53c"} 
[2026-06-23 21:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251094528001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230859000,"timestamp_ms":1782230859000,"timestamp_seconds":1782230859,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53cbcf8"} 
[2026-06-23 21:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:41:57] 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-06-23 21: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-06-23 21:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251094528001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251094528001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:41:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251094528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":111406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:41:57] local.INFO: GPS data processed {"connection_id":111406,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:41:57] local.INFO: Acknowledgment sent {"connection_id":111406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:42:01] local.INFO: TCP Data received {"connection_id":111229,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53f87d0012d0424c006fb58500019007f28..."} 
[2026-06-23 21:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53f87d0012d0424c006fb58500019007f28..."} 
[2026-06-23 21:42:01] local.INFO: Processing buffer {"connection_id":111229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53f87d0012d0424c006fb58500019007f28..."} 
[2026-06-23 21:42:01] local.INFO: Packet analysis {"connection_id":111229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53f"} 
[2026-06-23 21:42:01] local.INFO: Extracted packet for processing {"connection_id":111229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53f"} 
[2026-06-23 21:42:01] local.INFO: GPS Element Parsed {"raw_longitude":755246272,"raw_latitude":117135440,"longitude_deg":75.5246272,"latitude_deg":11.713544,"altitude":25,"angle":127,"satellites":40,"speed":42,"hex_longitude":"2d0424c0","hex_latitude":"06fb5850","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251145216001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321871600850829312,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":293437693208655872,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782231042000,"timestamp_ms":1782231042000,"timestamp_seconds":1782231042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53f87d0"} 
[2026-06-23 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-06-23 21:42:01] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251145216001,"66":26941,"189":206,"28":32256,"24":42,"16":321871600850829312,"45":293437693208655872},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-06-23 21:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251145216001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321871600850829312,"km_value":321871600850829.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":293437693208655872,"description":"Unknown IO ID 45"} 
[2026-06-23 21:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251145216001,"power":26941,"unknown_189":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":293437693208655872}} 
[2026-06-23 21:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":111229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:42:01] local.INFO: GPS data processed {"connection_id":111229,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:42:01] local.INFO: Acknowledgment sent {"connection_id":111229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:42:28] local.INFO: TCP Data received {"connection_id":111406,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53d0f00012d196580071feec80042006c23..."} 
[2026-06-23 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53d0f00012d196580071feec80042006c23..."} 
[2026-06-23 21:42:28] local.INFO: Processing buffer {"connection_id":111406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53d0f00012d196580071feec80042006c23..."} 
[2026-06-23 21:42:28] local.INFO: Packet analysis {"connection_id":111406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53d"} 
[2026-06-23 21:42:28] local.INFO: Extracted packet for processing {"connection_id":111406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53d"} 
[2026-06-23 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251099904001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230880000,"timestamp_ms":1782230880000,"timestamp_seconds":1782230880,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53d0f00"} 
[2026-06-23 21:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:42: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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:42:28] 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-06-23 21: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-06-23 21:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251099904001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251099904001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251099904001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":111406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:42:28] local.INFO: GPS data processed {"connection_id":111406,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:42:28] local.INFO: Acknowledgment sent {"connection_id":111406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:42:32] local.INFO: TCP Data received {"connection_id":111230,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:42:32] local.INFO: Processing buffer {"connection_id":111230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:42:32] local.INFO: IMEI packet received {"connection_id":111230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":111230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:42:35] local.INFO: TCP Data received {"connection_id":112970,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:35] local.INFO: Processing buffer {"connection_id":112970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:35] local.INFO: IMEI packet received {"connection_id":112970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":112970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:42:38] local.INFO: TCP Data received {"connection_id":112970,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:38] local.INFO: Processing buffer {"connection_id":112970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:38] local.INFO: IMEI packet received {"connection_id":112970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":112970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:42:38] local.INFO: TCP Data received {"connection_id":112970,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:38] local.INFO: Processing buffer {"connection_id":112970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:38] local.INFO: IMEI packet received {"connection_id":112970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":112970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:42:40] local.INFO: TCP Data received {"connection_id":112970,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:40] local.INFO: Processing buffer {"connection_id":112970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:42:40] local.INFO: IMEI packet received {"connection_id":112970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":112970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:42:41] local.INFO: TCP Data received {"connection_id":112970,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54056d8012d04b60006faa9f8001500a527..."} 
[2026-06-23 21:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54056d8012d04b60006faa9f8001500a527..."} 
[2026-06-23 21:42:41] local.INFO: Processing buffer {"connection_id":112970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54056d8012d04b60006faa9f8001500a527..."} 
[2026-06-23 21:42:41] local.INFO: Packet analysis {"connection_id":112970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef540"} 
[2026-06-23 21:42:41] local.INFO: Extracted packet for processing {"connection_id":112970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef540"} 
[2026-06-23 21:42:41] local.INFO: GPS Element Parsed {"raw_longitude":755283456,"raw_latitude":117090808,"longitude_deg":75.5283456,"latitude_deg":11.7090808,"altitude":21,"angle":165,"satellites":39,"speed":40,"hex_longitude":"2d04b600","hex_latitude":"06faa9f8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251158272001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321874620212838400,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":336644102123466752,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782231095000,"timestamp_ms":1782231095000,"timestamp_seconds":1782231095,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54056d8"} 
[2026-06-23 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-06-23 21:42:41] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251158272001,"66":27343,"189":206,"28":32256,"24":40,"16":321874620212838400,"45":336644102123466752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-06-23 21:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251158272001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:42:41] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-23 21:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321874620212838400,"km_value":321874620212838.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":336644102123466752,"description":"Unknown IO ID 45"} 
[2026-06-23 21:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251158272001,"power":27343,"unknown_189":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":336644102123466752}} 
[2026-06-23 21:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":112970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:42:41] local.INFO: GPS data processed {"connection_id":112970,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:42:41] local.INFO: Acknowledgment sent {"connection_id":112970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:42:51] local.INFO: TCP Data received {"connection_id":111231,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:42:51] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:42:51] local.INFO: IMEI packet received {"connection_id":111231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":111231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:42:57] local.INFO: TCP Data received {"connection_id":111231,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:42:57] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:42:57] local.INFO: IMEI packet received {"connection_id":111231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":111231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:42:57] local.INFO: TCP Data received {"connection_id":111231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53d6108012d196580071feec80042006c21..."} 
[2026-06-23 21:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53d6108012d196580071feec80042006c21..."} 
[2026-06-23 21:42:57] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53d6108012d196580071feec80042006c21..."} 
[2026-06-23 21:42:57] local.INFO: Packet analysis {"connection_id":111231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53d"} 
[2026-06-23 21:42:57] local.INFO: Extracted packet for processing {"connection_id":111231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53d"} 
[2026-06-23 21:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:42: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-06-23 21:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251105280001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782230901000,"timestamp_ms":1782230901000,"timestamp_seconds":1782230901,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53d6108"} 
[2026-06-23 21:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:42:57] 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-06-23 21:42: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-06-23 21:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251105280001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251105280001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251105280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":111231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:42:57] local.INFO: GPS data processed {"connection_id":111231,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:42:57] local.INFO: Acknowledgment sent {"connection_id":111231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:43:06] local.INFO: TCP Data received {"connection_id":111407,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:43:06] local.INFO: Processing buffer {"connection_id":111407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:43:06] local.INFO: IMEI packet received {"connection_id":111407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":111407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:43:23] local.INFO: TCP Data received {"connection_id":112045,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:23] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:23] local.INFO: IMEI packet received {"connection_id":112045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":112045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:43:24] local.INFO: TCP Data received {"connection_id":112045,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:24] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:24] local.INFO: IMEI packet received {"connection_id":112045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":112045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:43:28] local.INFO: TCP Data received {"connection_id":111231,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef53db310012d196580071feec80042006c23..."} 
[2026-06-23 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef53db310012d196580071feec80042006c23..."} 
[2026-06-23 21:43:28] local.INFO: Processing buffer {"connection_id":111231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef53db310012d196580071feec80042006c23..."} 
[2026-06-23 21:43:28] local.INFO: Packet analysis {"connection_id":111231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef53d"} 
[2026-06-23 21:43:28] local.INFO: Extracted packet for processing {"connection_id":111231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef53d"} 
[2026-06-23 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:43: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-06-23 21:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251110656001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782230922000,"timestamp_ms":1782230922000,"timestamp_seconds":1782230922,"priority":1,"record_length":96,"hex_timestamp":"0000019ef53db310"} 
[2026-06-23 21:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:43: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-06-23 21:43: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:43:28] 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-06-23 21:43: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-06-23 21:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251110656001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251110656001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251110656001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:43:28] local.INFO: TCP Data received {"connection_id":112045,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:28] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:43:28] local.INFO: IMEI packet received {"connection_id":112045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":112045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":111231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:43:28] local.INFO: GPS data processed {"connection_id":111231,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:43:28] local.INFO: Acknowledgment sent {"connection_id":111231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:43:29] local.INFO: TCP Data received {"connection_id":112045,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef540fed0012d052fc006fa5a700011008029..."} 
[2026-06-23 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef540fed0012d052fc006fa5a700011008029..."} 
[2026-06-23 21:43:29] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef540fed0012d052fc006fa5a700011008029..."} 
[2026-06-23 21:43:29] local.INFO: Packet analysis {"connection_id":112045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef540"} 
[2026-06-23 21:43:29] local.INFO: Extracted packet for processing {"connection_id":112045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef540"} 
[2026-06-23 21:43:29] local.INFO: GPS Element Parsed {"raw_longitude":755314624,"raw_latitude":117070448,"longitude_deg":75.5314624,"latitude_deg":11.7070448,"altitude":17,"angle":128,"satellites":41,"speed":40,"hex_longitude":"2d052fc0","hex_latitude":"06fa5a70","is_valid_coordinates":true} 
[2026-06-23 21:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251170816001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321876497113546752,"note":"Value kept but may cause issues"} 
[2026-06-23 21:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":372180317926080512,"note":"Value kept but may cause issues"} 
[2026-06-23 21:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231138000,"timestamp_ms":1782231138000,"timestamp_seconds":1782231138,"priority":1,"record_length":96,"hex_timestamp":"0000019ef540fed0"} 
[2026-06-23 21:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:43:29] 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-06-23 21:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251170816001,"66":26691,"156":206,"28":32256,"24":40,"16":321876497113546752,"45":372180317926080512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,28,24,16,45]} 
[2026-06-23 21:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251170816001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:43:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-23 21:43:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321876497113546752,"km_value":321876497113546.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":372180317926080512,"description":"Unknown IO ID 45"} 
[2026-06-23 21:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251170816001,"power":26691,"unknown_156":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":372180317926080512}} 
[2026-06-23 21:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":112045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:43:29] local.INFO: GPS data processed {"connection_id":112045,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:43:29] local.INFO: Acknowledgment sent {"connection_id":112045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:43:52] local.INFO: TCP Data received {"connection_id":112046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:43:52] local.INFO: Processing buffer {"connection_id":112046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:43:52] local.INFO: IMEI packet received {"connection_id":112046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":112046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:43:57] local.INFO: TCP Data received {"connection_id":112046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:43:57] local.INFO: Processing buffer {"connection_id":112046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:43:57] local.INFO: IMEI packet received {"connection_id":112046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":112046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:44:02] local.INFO: TCP Data received {"connection_id":112046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:02] local.INFO: Processing buffer {"connection_id":112046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:02] local.INFO: IMEI packet received {"connection_id":112046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":112046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:44:03] local.INFO: TCP Data received {"connection_id":112046,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5413968012d196580071feec80042006c27..."} 
[2026-06-23 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5413968012d196580071feec80042006c27..."} 
[2026-06-23 21:44:03] local.INFO: Processing buffer {"connection_id":112046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5413968012d196580071feec80042006c27..."} 
[2026-06-23 21:44:03] local.INFO: Packet analysis {"connection_id":112046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:03] local.INFO: Extracted packet for processing {"connection_id":112046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251169792001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782231153000,"timestamp_ms":1782231153000,"timestamp_seconds":1782231153,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5413968"} 
[2026-06-23 21:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 21:44:03] 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-06-23 21:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251169792001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251169792001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251169792001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":112046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:44:03] local.INFO: GPS data processed {"connection_id":112046,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:44:03] local.INFO: Acknowledgment sent {"connection_id":112046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:44:03] local.INFO: TCP Data received {"connection_id":112045,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef541d5a8012d05a5c006fa24200006005129..."} 
[2026-06-23 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef541d5a8012d05a5c006fa24200006005129..."} 
[2026-06-23 21:44:03] local.INFO: Processing buffer {"connection_id":112045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef541d5a8012d05a5c006fa24200006005129..."} 
[2026-06-23 21:44:03] local.INFO: Packet analysis {"connection_id":112045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:03] local.INFO: Extracted packet for processing {"connection_id":112045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":755344832,"raw_latitude":117056544,"longitude_deg":75.5344832,"latitude_deg":11.7056544,"altitude":6,"angle":81,"satellites":41,"speed":16,"hex_longitude":"2d05a5c0","hex_latitude":"06fa2420","is_valid_coordinates":true} 
[2026-06-23 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251185152001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321878210805497856,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":406449896336670720,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782231193000,"timestamp_ms":1782231193000,"timestamp_seconds":1782231193,"priority":1,"record_length":96,"hex_timestamp":"0000019ef541d5a8"} 
[2026-06-23 21:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:44:03] 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-06-23 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:44:03] 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-06-23 21:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251185152001,"66":27484,"13":206,"28":32256,"24":16,"16":321878210805497856,"45":406449896336670720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-06-23 21:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251185152001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321878210805497856,"km_value":321878210805497.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":406449896336670720,"description":"Unknown IO ID 45"} 
[2026-06-23 21:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251185152001,"power":27484,"unknown_13":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":406449896336670720}} 
[2026-06-23 21:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":112045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:44:03] local.INFO: GPS data processed {"connection_id":112045,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:44:03] local.INFO: Acknowledgment sent {"connection_id":112045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:44:07] local.INFO: TCP Data received {"connection_id":112046,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5418b70012d196580071feec80042006c26..."} 
[2026-06-23 21:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5418b70012d196580071feec80042006c26..."} 
[2026-06-23 21:44:07] local.INFO: Processing buffer {"connection_id":112046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5418b70012d196580071feec80042006c26..."} 
[2026-06-23 21:44:07] local.INFO: Packet analysis {"connection_id":112046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:07] local.INFO: Extracted packet for processing {"connection_id":112046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251175168001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782231174000,"timestamp_ms":1782231174000,"timestamp_seconds":1782231174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5418b70"} 
[2026-06-23 21:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:44:07] 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-06-23 21: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-06-23 21:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251175168001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251175168001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:44:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251175168001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":112046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:44:07] local.INFO: GPS data processed {"connection_id":112046,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:44:07] local.INFO: Acknowledgment sent {"connection_id":112046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:44:23] local.INFO: TCP Data received {"connection_id":112971,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:44:23] local.INFO: Processing buffer {"connection_id":112971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:44:23] local.INFO: IMEI packet received {"connection_id":112971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":112971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:44:28] local.INFO: TCP Data received {"connection_id":112971,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:44:28] local.INFO: Processing buffer {"connection_id":112971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:44:28] local.INFO: IMEI packet received {"connection_id":112971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":112971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:44:33] local.INFO: TCP Data received {"connection_id":112971,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef541d990012d05a74006fa24680006004428..."} 
[2026-06-23 21:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef541d990012d05a74006fa24680006004428..."} 
[2026-06-23 21:44:33] local.INFO: Processing buffer {"connection_id":112971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef541d990012d05a74006fa24680006004428..."} 
[2026-06-23 21:44:33] local.INFO: Packet analysis {"connection_id":112971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:33] local.INFO: Extracted packet for processing {"connection_id":112971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:33] local.INFO: GPS Element Parsed {"raw_longitude":755345216,"raw_latitude":117056616,"longitude_deg":75.5345216,"latitude_deg":11.7056616,"altitude":6,"angle":68,"satellites":40,"speed":17,"hex_longitude":"2d05a740","hex_latitude":"06fa2468","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251185408001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321878227985367040,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":406942477545906176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782231194000,"timestamp_ms":1782231194000,"timestamp_seconds":1782231194,"priority":1,"record_length":96,"hex_timestamp":"0000019ef541d990"} 
[2026-06-23 21:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:44:33] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251185408001,"66":27463,"13":206,"28":32256,"24":17,"16":321878227985367040,"45":406942477545906176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-06-23 21:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251185408001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321878227985367040,"km_value":321878227985367.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":406942477545906176,"description":"Unknown IO ID 45"} 
[2026-06-23 21:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251185408001,"power":27463,"unknown_13":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":406942477545906176}} 
[2026-06-23 21:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":112971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:44:33] local.INFO: GPS data processed {"connection_id":112971,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:44:33] local.INFO: Acknowledgment sent {"connection_id":112971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:44:52] local.INFO: TCP Data received {"connection_id":111409,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:52] local.INFO: Processing buffer {"connection_id":111409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:52] local.INFO: IMEI packet received {"connection_id":111409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":111409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:44:56] local.INFO: TCP Data received {"connection_id":111409,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:56] local.INFO: Processing buffer {"connection_id":111409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:44:56] local.INFO: IMEI packet received {"connection_id":111409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":111409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:44:56] local.INFO: TCP Data received {"connection_id":111409,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef541dd78012d196580071feec80042006c26..."} 
[2026-06-23 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef541dd78012d196580071feec80042006c26..."} 
[2026-06-23 21:44:56] local.INFO: Processing buffer {"connection_id":111409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef541dd78012d196580071feec80042006c26..."} 
[2026-06-23 21:44:56] local.INFO: Packet analysis {"connection_id":111409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:56] local.INFO: Extracted packet for processing {"connection_id":111409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef541"} 
[2026-06-23 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251180544001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782231195000,"timestamp_ms":1782231195000,"timestamp_seconds":1782231195,"priority":1,"record_length":96,"hex_timestamp":"0000019ef541dd78"} 
[2026-06-23 21:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:44:56] 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-06-23 21:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251180544001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251180544001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:44:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:44:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251180544001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":111409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:44:56] local.INFO: GPS data processed {"connection_id":111409,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:44:56] local.INFO: Acknowledgment sent {"connection_id":111409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:45:05] local.INFO: TCP Data received {"connection_id":112971,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a0c8012d05bdc006f9dcb00011007429..."} 
[2026-06-23 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a0c8012d05bdc006f9dcb00011007429..."} 
[2026-06-23 21:45:05] local.INFO: Processing buffer {"connection_id":112971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a0c8012d05bdc006f9dcb00011007429..."} 
[2026-06-23 21:45:05] local.INFO: Packet analysis {"connection_id":112971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:05] local.INFO: Extracted packet for processing {"connection_id":112971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:05] local.INFO: GPS Element Parsed {"raw_longitude":755350976,"raw_latitude":117038256,"longitude_deg":75.5350976,"latitude_deg":11.7038256,"altitude":17,"angle":116,"satellites":41,"speed":11,"hex_longitude":"2d05bdc0","hex_latitude":"06f9dcb0","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198464001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879460640980992,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413416402005614592,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782231245000,"timestamp_ms":1782231245000,"timestamp_seconds":1782231245,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a0c8"} 
[2026-06-23 21:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:45: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-06-23 21: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 21:45:05] 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-06-23 21: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-06-23 21:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":112971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":112971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":112971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198464001,"66":28050,"74":206,"28":32256,"24":11,"16":321879460640980992,"45":413416402005614592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198464001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:45:05] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879460640980992,"km_value":321879460640981.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":413416402005614592,"description":"Unknown IO ID 45"} 
[2026-06-23 21:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198464001,"power":28050,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413416402005614592}} 
[2026-06-23 21:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":112971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:45:05] local.INFO: GPS data processed {"connection_id":112971,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:45:05] local.INFO: Acknowledgment sent {"connection_id":112971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:45:23] local.INFO: TCP Data received {"connection_id":112047,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:45:23] local.INFO: Processing buffer {"connection_id":112047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:45:23] local.INFO: IMEI packet received {"connection_id":112047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":112047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:45:28] local.INFO: TCP Data received {"connection_id":111409,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5422f80012d196580071feec80042006c26..."} 
[2026-06-23 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5422f80012d196580071feec80042006c26..."} 
[2026-06-23 21:45:28] local.INFO: Processing buffer {"connection_id":111409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5422f80012d196580071feec80042006c26..."} 
[2026-06-23 21:45:28] local.INFO: Packet analysis {"connection_id":111409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:28] local.INFO: Extracted packet for processing {"connection_id":111409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251185920001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231216000,"timestamp_ms":1782231216000,"timestamp_seconds":1782231216,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5422f80"} 
[2026-06-23 21:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:45:28] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:45:28] 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-06-23 21: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-06-23 21:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251185920001,"66":12298,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251185920001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251185920001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":111409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:45:28] local.INFO: GPS data processed {"connection_id":111409,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:45:28] local.INFO: Acknowledgment sent {"connection_id":111409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:45:28] local.INFO: TCP Data received {"connection_id":112047,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:45:28] local.INFO: Processing buffer {"connection_id":112047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:45:28] local.INFO: IMEI packet received {"connection_id":112047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":112047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:45:29] local.INFO: TCP Data received {"connection_id":112047,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:45:29] local.INFO: Processing buffer {"connection_id":112047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:45:29] local.INFO: Packet analysis {"connection_id":112047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:29] local.INFO: Extracted packet for processing {"connection_id":112047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198720001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413697876982280192,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:45:29] 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-06-23 21: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 21:45:29] 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-06-23 21: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-06-23 21:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198720001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413697876982280192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198720001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413697876982280192,"description":"Unknown IO ID 45"} 
[2026-06-23 21:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198720001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413697876982280192}} 
[2026-06-23 21:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":112047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:45:29] local.INFO: GPS data processed {"connection_id":112047,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:45:29] local.INFO: Acknowledgment sent {"connection_id":112047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:45:52] local.INFO: TCP Data received {"connection_id":112048,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:45:52] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:45:52] local.INFO: IMEI packet received {"connection_id":112048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":112048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:45:57] local.INFO: TCP Data received {"connection_id":112048,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:45:57] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:45:57] local.INFO: IMEI packet received {"connection_id":112048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":112048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:45:57] local.INFO: TCP Data received {"connection_id":112048,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5428188012d196580071feec80042006c22..."} 
[2026-06-23 21:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5428188012d196580071feec80042006c22..."} 
[2026-06-23 21:45:57] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5428188012d196580071feec80042006c22..."} 
[2026-06-23 21:45:57] local.INFO: Packet analysis {"connection_id":112048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:57] local.INFO: Extracted packet for processing {"connection_id":112048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251191296001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231237000,"timestamp_ms":1782231237000,"timestamp_seconds":1782231237,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5428188"} 
[2026-06-23 21:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-774635319324763803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832590,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:45:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,221,45,128,238,66,38,10,139,57,1,240,255,227,245,31,4,113,205,149,101,200,36,239,47,2,13,7,33],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:45:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755920116967800832,"timestamp_seconds":4755920116967801.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251191296001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251191296001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251191296001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":112048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:45:57] local.INFO: GPS data processed {"connection_id":112048,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:45:57] local.INFO: Acknowledgment sent {"connection_id":112048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:46:01] local.INFO: TCP Data received {"connection_id":112047,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:01] local.INFO: Processing buffer {"connection_id":112047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:01] local.INFO: Packet analysis {"connection_id":112047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:01] local.INFO: Extracted packet for processing {"connection_id":112047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:01] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21:46: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-06-23 21:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:46:01] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:46:01] 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-06-23 21: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-06-23 21:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":112047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:46:01] local.INFO: GPS data processed {"connection_id":112047,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:46:01] local.INFO: Acknowledgment sent {"connection_id":112047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:46:28] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:46:28] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:46:28] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:46:28] local.INFO: TCP Data received {"connection_id":112048,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542d390012d196580071feec80042006c25..."} 
[2026-06-23 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542d390012d196580071feec80042006c25..."} 
[2026-06-23 21:46:28] local.INFO: Processing buffer {"connection_id":112048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542d390012d196580071feec80042006c25..."} 
[2026-06-23 21:46:28] local.INFO: Packet analysis {"connection_id":112048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:28] local.INFO: Extracted packet for processing {"connection_id":112048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251196672001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231258000,"timestamp_ms":1782231258000,"timestamp_seconds":1782231258,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542d390"} 
[2026-06-23 21:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:46:28] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:46:28] 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-06-23 21: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-06-23 21:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251196672001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251196672001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251196672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":112048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:46:28] local.INFO: GPS data processed {"connection_id":112048,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:46:28] local.INFO: Acknowledgment sent {"connection_id":112048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:46:33] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:46:33] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:46:33] local.INFO: IMEI packet received {"connection_id":111232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":111232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:46:34] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:34] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:34] local.INFO: Packet analysis {"connection_id":111232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:34] local.INFO: Extracted packet for processing {"connection_id":111232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:46: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-06-23 21:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:46:34] 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-06-23 21:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":111232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:46:34] local.INFO: GPS data processed {"connection_id":111232,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:46:34] local.INFO: Acknowledgment sent {"connection_id":111232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:46:39] local.INFO: TCP Data received {"connection_id":111232,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:39] local.INFO: Processing buffer {"connection_id":111232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:46:39] local.INFO: Packet analysis {"connection_id":111232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:39] local.INFO: Extracted packet for processing {"connection_id":111232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21:46: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-06-23 21:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:46: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-06-23 21:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:46:39] 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-06-23 21:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:46:39] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":111232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:46:39] local.INFO: GPS data processed {"connection_id":111232,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:46:39] local.INFO: Acknowledgment sent {"connection_id":111232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:46:52] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:46:52] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:46:52] local.INFO: IMEI packet received {"connection_id":111410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":111410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:46:57] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:46:57] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:46:57] local.INFO: IMEI packet received {"connection_id":111410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":111410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:46:57] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5432598012d196580071feec80042006c25..."} 
[2026-06-23 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5432598012d196580071feec80042006c25..."} 
[2026-06-23 21:46:57] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5432598012d196580071feec80042006c25..."} 
[2026-06-23 21:46:57] local.INFO: Packet analysis {"connection_id":111410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef543"} 
[2026-06-23 21:46:57] local.INFO: Extracted packet for processing {"connection_id":111410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef543"} 
[2026-06-23 21:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251202048001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231279000,"timestamp_ms":1782231279000,"timestamp_seconds":1782231279,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5432598"} 
[2026-06-23 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-06-23 21:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:46:57] 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-06-23 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-06-23 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-06-23 21:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251202048001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251202048001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251202048001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":111410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:46:57] local.INFO: GPS data processed {"connection_id":111410,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:46:57] local.INFO: Acknowledgment sent {"connection_id":111410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:47:23] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:47:23] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:47:23] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:47:28] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:47:28] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:47:28] local.INFO: IMEI packet received {"connection_id":111233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":111233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:47:28] local.INFO: TCP Data received {"connection_id":111410,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54377a0012d196580071feec80042006c26..."} 
[2026-06-23 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54377a0012d196580071feec80042006c26..."} 
[2026-06-23 21:47:28] local.INFO: Processing buffer {"connection_id":111410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54377a0012d196580071feec80042006c26..."} 
[2026-06-23 21:47:28] local.INFO: Packet analysis {"connection_id":111410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef543"} 
[2026-06-23 21:47:28] local.INFO: Extracted packet for processing {"connection_id":111410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef543"} 
[2026-06-23 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251207424001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231300000,"timestamp_ms":1782231300000,"timestamp_seconds":1782231300,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54377a0"} 
[2026-06-23 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-06-23 21:47:28] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:47:28] 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-06-23 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-06-23 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-06-23 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251207424001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251207424001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251207424001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":111410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:47:28] local.INFO: GPS data processed {"connection_id":111410,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:47:28] local.INFO: Acknowledgment sent {"connection_id":111410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:47:29] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:47:29] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:47:29] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:47:29] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:47:29] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:47:29] 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-06-23 21:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:47: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-06-23 21:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:47:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:47:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:47:29] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:47:29] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:47:52] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:47:52] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:47:52] local.INFO: IMEI packet received {"connection_id":112049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":112049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:47:57] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:47:57] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:47:57] local.INFO: IMEI packet received {"connection_id":112049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":112049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:47:57] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef543c9a8012d196580071feec80042006c26..."} 
[2026-06-23 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef543c9a8012d196580071feec80042006c26..."} 
[2026-06-23 21:47:57] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef543c9a8012d196580071feec80042006c26..."} 
[2026-06-23 21:47:57] local.INFO: Packet analysis {"connection_id":112049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef543"} 
[2026-06-23 21:47:57] local.INFO: Extracted packet for processing {"connection_id":112049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef543"} 
[2026-06-23 21:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:47: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-06-23 21:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251212800001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231321000,"timestamp_ms":1782231321000,"timestamp_seconds":1782231321,"priority":1,"record_length":96,"hex_timestamp":"0000019ef543c9a8"} 
[2026-06-23 21:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:47:57] 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-06-23 21:47: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-06-23 21:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251212800001,"66":12265,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251212800001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251212800001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":112049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:47:57] local.INFO: GPS data processed {"connection_id":112049,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:47:57] local.INFO: Acknowledgment sent {"connection_id":112049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:48:00] local.INFO: TCP Data received {"connection_id":111233,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:48:00] local.INFO: Processing buffer {"connection_id":111233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:48:00] local.INFO: Packet analysis {"connection_id":111233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:48:00] local.INFO: Extracted packet for processing {"connection_id":111233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21:48: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-06-23 21:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 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-06-23 21:48:00] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:48:00] 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-06-23 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-06-23 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-06-23 21:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:48:00] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":111233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:48:00] local.INFO: GPS data processed {"connection_id":111233,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:48:00] local.INFO: Acknowledgment sent {"connection_id":111233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:48:23] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:48:23] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:48:23] local.INFO: IMEI packet received {"connection_id":112050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":112050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:48:28] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:48:28] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:48:28] local.INFO: IMEI packet received {"connection_id":112050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":112050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:48:28] local.INFO: TCP Data received {"connection_id":112049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5441bb0012d196580071feec80042006c22..."} 
[2026-06-23 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5441bb0012d196580071feec80042006c22..."} 
[2026-06-23 21:48:28] local.INFO: Processing buffer {"connection_id":112049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5441bb0012d196580071feec80042006c22..."} 
[2026-06-23 21:48:28] local.INFO: Packet analysis {"connection_id":112049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef544"} 
[2026-06-23 21:48:28] local.INFO: Extracted packet for processing {"connection_id":112049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef544"} 
[2026-06-23 21:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":34,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251218176001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231342000,"timestamp_ms":1782231342000,"timestamp_seconds":1782231342,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5441bb0"} 
[2026-06-23 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-06-23 21:48: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-06-23 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 21:48:28] 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-06-23 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-06-23 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-06-23 21:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251218176001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251218176001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251218176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":112049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:48:28] local.INFO: GPS data processed {"connection_id":112049,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:48:28] local.INFO: Acknowledgment sent {"connection_id":112049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:48:29] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:48:29] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:48:29] local.INFO: Packet analysis {"connection_id":112050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:48:29] local.INFO: Extracted packet for processing {"connection_id":112050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21:48: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-06-23 21:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:48:29] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:48:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:48:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":112050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:48:29] local.INFO: GPS data processed {"connection_id":112050,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:48:29] local.INFO: Acknowledgment sent {"connection_id":112050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:48:36] local.INFO: TCP Data received {"connection_id":112974,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:48:36] local.INFO: Processing buffer {"connection_id":112974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:48:36] local.INFO: IMEI packet received {"connection_id":112974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":112974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:48:52] local.INFO: TCP Data received {"connection_id":111412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:48:52] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:48:52] local.INFO: IMEI packet received {"connection_id":111412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":111412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:48:57] local.INFO: TCP Data received {"connection_id":111412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:48:57] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:48:57] local.INFO: IMEI packet received {"connection_id":111412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":111412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:48:57] local.INFO: TCP Data received {"connection_id":111412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5446db8012d196580071feec80042006c25..."} 
[2026-06-23 21:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5446db8012d196580071feec80042006c25..."} 
[2026-06-23 21:48:57] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5446db8012d196580071feec80042006c25..."} 
[2026-06-23 21:48:57] local.INFO: Packet analysis {"connection_id":111412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef544"} 
[2026-06-23 21:48:57] local.INFO: Extracted packet for processing {"connection_id":111412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef544"} 
[2026-06-23 21:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251223552001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231363000,"timestamp_ms":1782231363000,"timestamp_seconds":1782231363,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5446db8"} 
[2026-06-23 21:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:48:57] 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-06-23 21: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-06-23 21:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251223552001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251223552001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:48:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251223552001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":111412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:48:57] local.INFO: GPS data processed {"connection_id":111412,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:48:57] local.INFO: Acknowledgment sent {"connection_id":111412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:49:01] local.INFO: TCP Data received {"connection_id":112050,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:49:01] local.INFO: Processing buffer {"connection_id":112050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:49:01] local.INFO: Packet analysis {"connection_id":112050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:49:01] local.INFO: Extracted packet for processing {"connection_id":112050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:49:01] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21:49: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-06-23 21:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 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-06-23 21:49:01] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:49:01] 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-06-23 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-06-23 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-06-23 21:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":112050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:49:01] local.INFO: GPS data processed {"connection_id":112050,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:49:01] local.INFO: Acknowledgment sent {"connection_id":112050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:49:06] local.INFO: TCP Data received {"connection_id":111234,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:49:06] local.INFO: Processing buffer {"connection_id":111234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:49:06] local.INFO: IMEI packet received {"connection_id":111234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":111234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:49:23] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:49:23] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:49:23] local.INFO: IMEI packet received {"connection_id":111413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":111413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:49:28] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:49:28] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:49:28] local.INFO: IMEI packet received {"connection_id":111413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":111413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:49:28] local.INFO: TCP Data received {"connection_id":111412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef544bbd8012d196580071feec80042006c26..."} 
[2026-06-23 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef544bbd8012d196580071feec80042006c26..."} 
[2026-06-23 21:49:28] local.INFO: Processing buffer {"connection_id":111412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef544bbd8012d196580071feec80042006c26..."} 
[2026-06-23 21:49:28] local.INFO: Packet analysis {"connection_id":111412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef544"} 
[2026-06-23 21:49:28] local.INFO: Extracted packet for processing {"connection_id":111412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef544"} 
[2026-06-23 21:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251228928001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231383000,"timestamp_ms":1782231383000,"timestamp_seconds":1782231383,"priority":1,"record_length":96,"hex_timestamp":"0000019ef544bbd8"} 
[2026-06-23 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-06-23 21:49:28] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:49:28] 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-06-23 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-06-23 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-06-23 21:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251228928001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251228928001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:49:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251228928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":111412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:49:28] local.INFO: GPS data processed {"connection_id":111412,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:49:28] local.INFO: Acknowledgment sent {"connection_id":111412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:49:29] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:49:29] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef542a4b0012d05bec006f9dc48001100632a..."} 
[2026-06-23 21:49:29] local.INFO: Packet analysis {"connection_id":111413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:49:29] local.INFO: Extracted packet for processing {"connection_id":111413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef542"} 
[2026-06-23 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117038152,"longitude_deg":75.5351232,"latitude_deg":11.7038152,"altitude":17,"angle":99,"satellites":42,"speed":11,"hex_longitude":"2d05bec0","hex_latitude":"06f9dc48","is_valid_coordinates":true} 
[2026-06-23 21:49: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-06-23 21:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231246000,"timestamp_ms":1782231246000,"timestamp_seconds":1782231246,"priority":1,"record_length":96,"hex_timestamp":"0000019ef542a4b0"} 
[2026-06-23 21:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:49:29] 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-06-23 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":27484,"74":206,"28":32256,"24":11,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:49:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":111413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:49:29] local.INFO: GPS data processed {"connection_id":111413,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:49:29] local.INFO: Acknowledgment sent {"connection_id":111413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:49:52] local.INFO: TCP Data received {"connection_id":111235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:49:52] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:49:52] local.INFO: IMEI packet received {"connection_id":111235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":111235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:49:57] local.INFO: TCP Data received {"connection_id":111235,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:49:57] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:49:57] local.INFO: IMEI packet received {"connection_id":111235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":111235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:49:57] local.INFO: TCP Data received {"connection_id":111235,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5450de0012d196580071feec80042006c26..."} 
[2026-06-23 21:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5450de0012d196580071feec80042006c26..."} 
[2026-06-23 21:49:57] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5450de0012d196580071feec80042006c26..."} 
[2026-06-23 21:49:57] local.INFO: Packet analysis {"connection_id":111235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef545"} 
[2026-06-23 21:49:57] local.INFO: Extracted packet for processing {"connection_id":111235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef545"} 
[2026-06-23 21:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251234048001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231404000,"timestamp_ms":1782231404000,"timestamp_seconds":1782231404,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5450de0"} 
[2026-06-23 21:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:49:57] 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-06-23 21: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-06-23 21:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251234048001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251234048001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251234048001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":111235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:49:57] local.INFO: GPS data processed {"connection_id":111235,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:49:57] local.INFO: Acknowledgment sent {"connection_id":111235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:50:01] local.INFO: TCP Data received {"connection_id":111413,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:50:01] local.INFO: Processing buffer {"connection_id":111413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:50:01] local.INFO: Packet analysis {"connection_id":111413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:50:01] local.INFO: Extracted packet for processing {"connection_id":111413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":755353088,"raw_latitude":117036856,"longitude_deg":75.5353088,"latitude_deg":11.7036856,"altitude":36,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d05c600","hex_latitude":"06f9d738","is_valid_coordinates":true} 
[2026-06-23 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782231551000,"timestamp_ms":1782231551000,"timestamp_seconds":1782231551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5474c18"} 
[2026-06-23 21:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:50:01] 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-06-23 21:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":26299,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":26299,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":111413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:50:01] local.INFO: GPS data processed {"connection_id":111413,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:50:01] local.INFO: Acknowledgment sent {"connection_id":111413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:50:23] local.INFO: TCP Data received {"connection_id":112976,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:50:23] local.INFO: Processing buffer {"connection_id":112976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:50:23] local.INFO: IMEI packet received {"connection_id":112976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":112976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:50:28] local.INFO: TCP Data received {"connection_id":112976,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:50:28] local.INFO: Processing buffer {"connection_id":112976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:50:28] local.INFO: IMEI packet received {"connection_id":112976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":112976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:50:28] local.INFO: TCP Data received {"connection_id":111235,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54563d0012d196580071feec80042006c26..."} 
[2026-06-23 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54563d0012d196580071feec80042006c26..."} 
[2026-06-23 21:50:28] local.INFO: Processing buffer {"connection_id":111235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54563d0012d196580071feec80042006c26..."} 
[2026-06-23 21:50:28] local.INFO: Packet analysis {"connection_id":111235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef545"} 
[2026-06-23 21:50:28] local.INFO: Extracted packet for processing {"connection_id":111235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef545"} 
[2026-06-23 21:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251239424001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231426000,"timestamp_ms":1782231426000,"timestamp_seconds":1782231426,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54563d0"} 
[2026-06-23 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-06-23 21:50:28] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:50:28] 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-06-23 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-06-23 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-06-23 21:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251239424001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251239424001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251239424001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":111235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:50:28] local.INFO: GPS data processed {"connection_id":111235,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:50:28] local.INFO: Acknowledgment sent {"connection_id":111235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:50:30] local.INFO: TCP Data received {"connection_id":112976,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:50:30] local.INFO: Processing buffer {"connection_id":112976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:50:30] local.INFO: Packet analysis {"connection_id":112976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:50:30] local.INFO: Extracted packet for processing {"connection_id":112976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":755353088,"raw_latitude":117036856,"longitude_deg":75.5353088,"latitude_deg":11.7036856,"altitude":36,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d05c600","hex_latitude":"06f9d738","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782231551000,"timestamp_ms":1782231551000,"timestamp_seconds":1782231551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5474c18"} 
[2026-06-23 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-06-23 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:50:30] 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-06-23 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-06-23 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-06-23 21:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":26299,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:50:30] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":26299,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":112976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:50:30] local.INFO: GPS data processed {"connection_id":112976,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:50:30] local.INFO: Acknowledgment sent {"connection_id":112976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:50:51] local.INFO: TCP Data received {"connection_id":112051,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:51] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:51] local.INFO: IMEI packet received {"connection_id":112051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":112051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:50:52] local.INFO: TCP Data received {"connection_id":112051,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:52] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:52] local.INFO: IMEI packet received {"connection_id":112051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":112051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:50:57] local.INFO: TCP Data received {"connection_id":112051,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:57] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:50:57] local.INFO: IMEI packet received {"connection_id":112051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":112051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:50:57] local.INFO: TCP Data received {"connection_id":112051,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef545b5d8012d196580071feec80042006c26..."} 
[2026-06-23 21:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef545b5d8012d196580071feec80042006c26..."} 
[2026-06-23 21:50:57] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef545b5d8012d196580071feec80042006c26..."} 
[2026-06-23 21:50:57] local.INFO: Packet analysis {"connection_id":112051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef545"} 
[2026-06-23 21:50:57] local.INFO: Extracted packet for processing {"connection_id":112051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef545"} 
[2026-06-23 21:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251245056001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231447000,"timestamp_ms":1782231447000,"timestamp_seconds":1782231447,"priority":1,"record_length":96,"hex_timestamp":"0000019ef545b5d8"} 
[2026-06-23 21:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:50:57] 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-06-23 21:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251245056001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251245056001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:50:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251245056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":112051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:50:58] local.INFO: GPS data processed {"connection_id":112051,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:50:58] local.INFO: Acknowledgment sent {"connection_id":112051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:51:01] local.INFO: TCP Data received {"connection_id":112976,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:51:01] local.INFO: Processing buffer {"connection_id":112976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:51:01] local.INFO: Packet analysis {"connection_id":112976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:51:01] local.INFO: Extracted packet for processing {"connection_id":112976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":755353088,"raw_latitude":117036856,"longitude_deg":75.5353088,"latitude_deg":11.7036856,"altitude":36,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d05c600","hex_latitude":"06f9d738","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782231551000,"timestamp_ms":1782231551000,"timestamp_seconds":1782231551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5474c18"} 
[2026-06-23 21:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:51:01] 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-06-23 21: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-06-23 21:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":26299,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":26299,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":112976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:51:01] local.INFO: GPS data processed {"connection_id":112976,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:51:01] local.INFO: Acknowledgment sent {"connection_id":112976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:51:23] local.INFO: TCP Data received {"connection_id":112052,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:51:23] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:51:23] local.INFO: IMEI packet received {"connection_id":112052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":112052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:51:28] local.INFO: TCP Data received {"connection_id":112052,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:51:28] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:51:28] local.INFO: IMEI packet received {"connection_id":112052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":112052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:51:28] local.INFO: TCP Data received {"connection_id":112051,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54603f8012d196580071feec80042006c26..."} 
[2026-06-23 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54603f8012d196580071feec80042006c26..."} 
[2026-06-23 21:51:28] local.INFO: Processing buffer {"connection_id":112051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54603f8012d196580071feec80042006c26..."} 
[2026-06-23 21:51:28] local.INFO: Packet analysis {"connection_id":112051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:51:28] local.INFO: Extracted packet for processing {"connection_id":112051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251250432001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231467000,"timestamp_ms":1782231467000,"timestamp_seconds":1782231467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54603f8"} 
[2026-06-23 21:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:51:28] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:51:28] 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-06-23 21: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-06-23 21:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251250432001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251250432001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251250432001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":112051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:51:28] local.INFO: GPS data processed {"connection_id":112051,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:51:28] local.INFO: Acknowledgment sent {"connection_id":112051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:51:29] local.INFO: TCP Data received {"connection_id":112052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:51:29] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5474c18012d05c60006f9d7380024005a2a..."} 
[2026-06-23 21:51:29] local.INFO: Packet analysis {"connection_id":112052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:51:29] local.INFO: Extracted packet for processing {"connection_id":112052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:51:29] local.INFO: GPS Element Parsed {"raw_longitude":755353088,"raw_latitude":117036856,"longitude_deg":75.5353088,"latitude_deg":11.7036856,"altitude":36,"angle":90,"satellites":42,"speed":0,"hex_longitude":"2d05c600","hex_latitude":"06f9d738","is_valid_coordinates":true} 
[2026-06-23 21:51: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-06-23 21:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251198976001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979351958964224,"note":"Value kept but may cause issues"} 
[2026-06-23 21:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231551000,"timestamp_ms":1782231551000,"timestamp_seconds":1782231551,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5474c18"} 
[2026-06-23 21:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 21:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:51: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-06-23 21:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251198976001,"66":26299,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":413979351958964224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251198976001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:51:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979351958964224,"description":"Unknown IO ID 45"} 
[2026-06-23 21:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251198976001,"power":26299,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":413979351958964224}} 
[2026-06-23 21:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":112052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:51:29] local.INFO: GPS data processed {"connection_id":112052,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:51:29] local.INFO: Acknowledgment sent {"connection_id":112052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:51:56] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:51:56] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:51:56] local.INFO: IMEI packet received {"connection_id":111414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":111414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:51:56] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:51:56] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:51:56] local.INFO: IMEI packet received {"connection_id":111414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":111414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:52:00] local.INFO: TCP Data received {"connection_id":112052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef548f9c8012d05c60006f9d7380024005a2b..."} 
[2026-06-23 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef548f9c8012d05c60006f9d7380024005a2b..."} 
[2026-06-23 21:52:00] local.INFO: Processing buffer {"connection_id":112052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef548f9c8012d05c60006f9d7380024005a2b..."} 
[2026-06-23 21:52:00] local.INFO: Packet analysis {"connection_id":112052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef548"} 
[2026-06-23 21:52:00] local.INFO: Extracted packet for processing {"connection_id":112052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef548"} 
[2026-06-23 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755353088,"raw_latitude":117036856,"longitude_deg":75.5353088,"latitude_deg":11.7036856,"altitude":36,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2d05c600","hex_latitude":"06f9d738","is_valid_coordinates":true} 
[2026-06-23 21:52: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-06-23 21:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251277056001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416020045539784704,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782231661000,"timestamp_ms":1782231661000,"timestamp_seconds":1782231661,"priority":1,"record_length":96,"hex_timestamp":"0000019ef548f9c8"} 
[2026-06-23 21:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 21: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-23 21:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251277056001,"66":26158,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":416020045539784704},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251277056001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:52:00] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":416020045539784704,"description":"Unknown IO ID 45"} 
[2026-06-23 21:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251277056001,"power":26158,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":416020045539784704}} 
[2026-06-23 21:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":112052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:52:00] local.INFO: GPS data processed {"connection_id":112052,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:52:00] local.INFO: Acknowledgment sent {"connection_id":112052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:52:02] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:02] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:02] local.INFO: IMEI packet received {"connection_id":111414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":111414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:52:03] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5465600012d196580071feec80042006c25..."} 
[2026-06-23 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5465600012d196580071feec80042006c25..."} 
[2026-06-23 21:52:03] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5465600012d196580071feec80042006c25..."} 
[2026-06-23 21:52:03] local.INFO: Packet analysis {"connection_id":111414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:52:03] local.INFO: Extracted packet for processing {"connection_id":111414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533256,"longitude_deg":75.6639104,"latitude_deg":11.9533256,"altitude":66,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071feec8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251255552001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3867957352464384,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782231488000,"timestamp_ms":1782231488000,"timestamp_seconds":1782231488,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5465600"} 
[2026-06-23 21:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:52: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-06-23 21: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-06-23 21:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251255552001,"66":12287,"102":206,"83":41984,"24":0,"16":3867957352464384,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251255552001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:52:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3867957352464384,"km_value":3867957352464.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251255552001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":111414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:52:03] local.INFO: GPS data processed {"connection_id":111414,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:52:03] local.INFO: Acknowledgment sent {"connection_id":111414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:52:07] local.INFO: TCP Data received {"connection_id":111414,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef546abf0012d196680071ff228003f007226..."} 
[2026-06-23 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef546abf0012d196680071ff228003f007226..."} 
[2026-06-23 21:52:07] local.INFO: Processing buffer {"connection_id":111414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef546abf0012d196680071ff228003f007226..."} 
[2026-06-23 21:52:07] local.INFO: Packet analysis {"connection_id":111414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:52:07] local.INFO: Extracted packet for processing {"connection_id":111414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534120,"longitude_deg":75.663936,"latitude_deg":11.953412,"altitude":63,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff228","is_valid_coordinates":true} 
[2026-06-23 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251260928001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684843520,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782231510000,"timestamp_ms":1782231510000,"timestamp_seconds":1782231510,"priority":1,"record_length":96,"hex_timestamp":"0000019ef546abf0"} 
[2026-06-23 21:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:52:07] 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-06-23 21:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251260928001,"66":12287,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830009591684843520},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251260928001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684843520,"description":"Unknown IO ID 45"} 
[2026-06-23 21:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251260928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684843520}} 
[2026-06-23 21:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":111414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:52:07] local.INFO: GPS data processed {"connection_id":111414,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:52:07] local.INFO: Acknowledgment sent {"connection_id":111414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:52:23] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:23] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:23] local.INFO: IMEI packet received {"connection_id":112978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":112978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:52:25] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:25] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:25] local.INFO: IMEI packet received {"connection_id":112978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":112978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:52:27] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:27] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:27] local.INFO: IMEI packet received {"connection_id":112978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":112978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:52:28] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:28] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:52:28] local.INFO: IMEI packet received {"connection_id":112978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":112978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:52:29] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5490d50012d05c30006f9cef8002400b42b..."} 
[2026-06-23 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5490d50012d05c30006f9cef8002400b42b..."} 
[2026-06-23 21:52:29] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5490d50012d05c30006f9cef8002400b42b..."} 
[2026-06-23 21:52:29] local.INFO: Packet analysis {"connection_id":112978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef549"} 
[2026-06-23 21:52:29] local.INFO: Extracted packet for processing {"connection_id":112978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef549"} 
[2026-06-23 21:52:29] local.INFO: GPS Element Parsed {"raw_longitude":755352320,"raw_latitude":117034744,"longitude_deg":75.535232,"latitude_deg":11.7034744,"altitude":36,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2d05c300","hex_latitude":"06f9cef8","is_valid_coordinates":true} 
[2026-06-23 21:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251305216001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":416020045539784704,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231666000,"timestamp_ms":1782231666000,"timestamp_seconds":1782231666,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5490d50"} 
[2026-06-23 21:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:52:29] 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-06-23 21:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-23 21:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251305216001,"66":27517,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":416020045539784704},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251305216001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:52:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":416020045539784704,"description":"Unknown IO ID 45"} 
[2026-06-23 21:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251305216001,"power":27517,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":416020045539784704}} 
[2026-06-23 21:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":112978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:52:29] local.INFO: GPS data processed {"connection_id":112978,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:52:29] local.INFO: Acknowledgment sent {"connection_id":112978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:52:30] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5495f58012d05c30006f9cef8002400b42d..."} 
[2026-06-23 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5495f58012d05c30006f9cef8002400b42d..."} 
[2026-06-23 21:52:30] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5495f58012d05c30006f9cef8002400b42d..."} 
[2026-06-23 21:52:30] local.INFO: Packet analysis {"connection_id":112978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef549"} 
[2026-06-23 21:52:30] local.INFO: Extracted packet for processing {"connection_id":112978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef549"} 
[2026-06-23 21:52:30] local.INFO: GPS Element Parsed {"raw_longitude":755352320,"raw_latitude":117034744,"longitude_deg":75.535232,"latitude_deg":11.7034744,"altitude":36,"angle":180,"satellites":45,"speed":0,"hex_longitude":"2d05c300","hex_latitude":"06f9cef8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251306496001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879477820850176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415175620609112064,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782231687000,"timestamp_ms":1782231687000,"timestamp_seconds":1782231687,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5495f58"} 
[2026-06-23 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-06-23 21:52:30] 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-06-23 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 21:52:30] 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-06-23 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-06-23 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-06-23 21:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251306496001,"66":27180,"74":206,"28":32256,"24":0,"16":321879477820850176,"45":415175620609112064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251306496001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:52:30] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879477820850176,"km_value":321879477820850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":415175620609112064,"description":"Unknown IO ID 45"} 
[2026-06-23 21:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251306496001,"power":27180,"unknown_74":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":415175620609112064}} 
[2026-06-23 21:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":112978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:52:30] local.INFO: GPS data processed {"connection_id":112978,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:52:30] local.INFO: Acknowledgment sent {"connection_id":112978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:52:52] local.INFO: TCP Data received {"connection_id":111237,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:52] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:52] local.INFO: IMEI packet received {"connection_id":111237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":111237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:52:57] local.INFO: TCP Data received {"connection_id":111237,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:57] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:52:57] local.INFO: IMEI packet received {"connection_id":111237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":111237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:52:57] local.INFO: TCP Data received {"connection_id":111237,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef546fdf8012d196680071ff248003f007226..."} 
[2026-06-23 21:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef546fdf8012d196680071ff248003f007226..."} 
[2026-06-23 21:52:57] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef546fdf8012d196680071ff248003f007226..."} 
[2026-06-23 21:52:57] local.INFO: Packet analysis {"connection_id":111237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:52:57] local.INFO: Extracted packet for processing {"connection_id":111237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef546"} 
[2026-06-23 21:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251266560001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661775360,"note":"Value kept but may cause issues"} 
[2026-06-23 21:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231531000,"timestamp_ms":1782231531000,"timestamp_seconds":1782231531,"priority":1,"record_length":96,"hex_timestamp":"0000019ef546fdf8"} 
[2026-06-23 21:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:52:57] 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-06-23 21:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251266560001,"66":11961,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661775360},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251266560001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661775360,"description":"Unknown IO ID 45"} 
[2026-06-23 21:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251266560001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661775360}} 
[2026-06-23 21:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":111237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:52:57] local.INFO: GPS data processed {"connection_id":111237,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:52:57] local.INFO: Acknowledgment sent {"connection_id":111237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:53:01] local.INFO: TCP Data received {"connection_id":112978,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef549ad78012d05c44006f9cf18002400e42d..."} 
[2026-06-23 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef549ad78012d05c44006f9cf18002400e42d..."} 
[2026-06-23 21:53:01] local.INFO: Processing buffer {"connection_id":112978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef549ad78012d05c44006f9cf18002400e42d..."} 
[2026-06-23 21:53:01] local.INFO: Packet analysis {"connection_id":112978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef549"} 
[2026-06-23 21:53:01] local.INFO: Extracted packet for processing {"connection_id":112978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef549"} 
[2026-06-23 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755352640,"raw_latitude":117034776,"longitude_deg":75.535264,"latitude_deg":11.7034776,"altitude":36,"angle":228,"satellites":45,"speed":2,"hex_longitude":"2d05c440","hex_latitude":"06f9cf18","is_valid_coordinates":true} 
[2026-06-23 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251311872001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879490705752064,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415175620609112064,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782231707000,"timestamp_ms":1782231707000,"timestamp_seconds":1782231707,"priority":1,"record_length":96,"hex_timestamp":"0000019ef549ad78"} 
[2026-06-23 21:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:53:01] 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-06-23 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 21:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251311872001,"66":26941,"74":206,"28":32256,"24":2,"16":321879490705752064,"45":415175620609112064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251311872001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879490705752064,"km_value":321879490705752.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":415175620609112064,"description":"Unknown IO ID 45"} 
[2026-06-23 21:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251311872001,"power":26941,"unknown_74":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_45":415175620609112064}} 
[2026-06-23 21:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":112978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:53:01] local.INFO: GPS data processed {"connection_id":112978,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:53:01] local.INFO: Acknowledgment sent {"connection_id":112978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:53:28] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:53:28] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:53:28] local.INFO: IMEI packet received {"connection_id":111239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":111239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:53:28] local.INFO: TCP Data received {"connection_id":111237,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5475000012d196680071ff248003f007223..."} 
[2026-06-23 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5475000012d196680071ff248003f007223..."} 
[2026-06-23 21:53:28] local.INFO: Processing buffer {"connection_id":111237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5475000012d196680071ff248003f007223..."} 
[2026-06-23 21:53:28] local.INFO: Packet analysis {"connection_id":111237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:53:28] local.INFO: Extracted packet for processing {"connection_id":111237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251271936001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231552000,"timestamp_ms":1782231552000,"timestamp_seconds":1782231552,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5475000"} 
[2026-06-23 21:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:53:28] 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-06-23 21: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 21:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251271936001,"66":12113,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251271936001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251271936001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":111237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:53:28] local.INFO: GPS data processed {"connection_id":111237,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:53:28] local.INFO: Acknowledgment sent {"connection_id":111237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:53:29] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:53:29] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:53:29] local.INFO: IMEI packet received {"connection_id":111239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":111239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:53:31] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54a49b8012d05b94006f9d2d8002300ce2c..."} 
[2026-06-23 21:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54a49b8012d05b94006f9d2d8002300ce2c..."} 
[2026-06-23 21:53:31] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54a49b8012d05b94006f9d2d8002300ce2c..."} 
[2026-06-23 21:53:31] local.INFO: Packet analysis {"connection_id":111239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:53:31] local.INFO: Extracted packet for processing {"connection_id":111239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:53:31] local.INFO: GPS Element Parsed {"raw_longitude":755349824,"raw_latitude":117035736,"longitude_deg":75.5349824,"latitude_deg":11.7035736,"altitude":35,"angle":206,"satellites":44,"speed":6,"hex_longitude":"2d05b940","hex_latitude":"06f9d2d8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251326720001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879649619542016,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412642345819004928,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782231747000,"timestamp_ms":1782231747000,"timestamp_seconds":1782231747,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54a49b8"} 
[2026-06-23 21:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:53:31] 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-06-23 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 21:53:31] 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-06-23 21: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-06-23 21:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251326720001,"66":27484,"74":206,"28":32256,"24":6,"16":321879649619542016,"45":412642345819004928},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251326720001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:53:31] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879649619542016,"km_value":321879649619542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":412642345819004928,"description":"Unknown IO ID 45"} 
[2026-06-23 21:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251326720001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":412642345819004928}} 
[2026-06-23 21:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":111239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:53:31] local.INFO: GPS data processed {"connection_id":111239,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:53:31] local.INFO: Acknowledgment sent {"connection_id":111239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:53:32] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54a4da0012d05b90006f9d230002300c22c..."} 
[2026-06-23 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54a4da0012d05b90006f9d230002300c22c..."} 
[2026-06-23 21:53:32] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54a4da0012d05b90006f9d230002300c22c..."} 
[2026-06-23 21:53:32] local.INFO: Packet analysis {"connection_id":111239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:53:32] local.INFO: Extracted packet for processing {"connection_id":111239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":755349760,"raw_latitude":117035568,"longitude_deg":75.534976,"latitude_deg":11.7035568,"altitude":35,"angle":194,"satellites":44,"speed":8,"hex_longitude":"2d05b900","hex_latitude":"06f9d230","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251327232001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879658209476608,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412431239586437120,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782231748000,"timestamp_ms":1782231748000,"timestamp_seconds":1782231748,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54a4da0"} 
[2026-06-23 21:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:53:32] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251327232001,"66":27267,"74":206,"28":32256,"24":8,"16":321879658209476608,"45":412431239586437120},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251327232001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879658209476608,"km_value":321879658209476.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":412431239586437120,"description":"Unknown IO ID 45"} 
[2026-06-23 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251327232001,"power":27267,"unknown_74":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":412431239586437120}} 
[2026-06-23 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":111239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:53:32] local.INFO: GPS data processed {"connection_id":111239,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:53:32] local.INFO: Acknowledgment sent {"connection_id":111239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:53:52] local.INFO: TCP Data received {"connection_id":112979,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:53:52] local.INFO: Processing buffer {"connection_id":112979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:53:52] local.INFO: IMEI packet received {"connection_id":112979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":112979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:53:57] local.INFO: TCP Data received {"connection_id":112979,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:53:57] local.INFO: Processing buffer {"connection_id":112979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:53:57] local.INFO: IMEI packet received {"connection_id":112979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":112979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:53:57] local.INFO: TCP Data received {"connection_id":112979,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef547a208012d196680071ff248003f007226..."} 
[2026-06-23 21:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef547a208012d196680071ff248003f007226..."} 
[2026-06-23 21:53:57] local.INFO: Processing buffer {"connection_id":112979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef547a208012d196680071ff248003f007226..."} 
[2026-06-23 21:53:57] local.INFO: Packet analysis {"connection_id":112979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:53:57] local.INFO: Extracted packet for processing {"connection_id":112979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251277312001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231573000,"timestamp_ms":1782231573000,"timestamp_seconds":1782231573,"priority":1,"record_length":96,"hex_timestamp":"0000019ef547a208"} 
[2026-06-23 21:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 21:53:57] 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-06-23 21: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-06-23 21:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251277312001,"66":12298,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251277312001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251277312001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":112979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:53:57] local.INFO: GPS data processed {"connection_id":112979,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:53:57] local.INFO: Acknowledgment sent {"connection_id":112979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:54:04] local.INFO: TCP Data received {"connection_id":111239,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54a5570012d05b88006f9d070002300b62c..."} 
[2026-06-23 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54a5570012d05b88006f9d070002300b62c..."} 
[2026-06-23 21:54:04] local.INFO: Processing buffer {"connection_id":111239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54a5570012d05b88006f9d070002300b62c..."} 
[2026-06-23 21:54:04] local.INFO: Packet analysis {"connection_id":111239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:54:04] local.INFO: Extracted packet for processing {"connection_id":111239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":755349632,"raw_latitude":117035120,"longitude_deg":75.5349632,"latitude_deg":11.703512,"altitude":35,"angle":182,"satellites":44,"speed":10,"hex_longitude":"2d05b880","hex_latitude":"06f9d070","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251327488001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879679684313088,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412360870842216448,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782231750000,"timestamp_ms":1782231750000,"timestamp_seconds":1782231750,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54a5570"} 
[2026-06-23 21:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:54:04] 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-06-23 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 21:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":111239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":111239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251327488001,"66":27365,"74":206,"28":32256,"24":10,"16":321879679684313088,"45":412360870842216448},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251327488001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:54:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879679684313088,"km_value":321879679684313.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":412360870842216448,"description":"Unknown IO ID 45"} 
[2026-06-23 21:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251327488001,"power":27365,"unknown_74":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":412360870842216448}} 
[2026-06-23 21:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":111239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:54:04] local.INFO: GPS data processed {"connection_id":111239,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:54:04] local.INFO: Acknowledgment sent {"connection_id":111239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:54:23] local.INFO: TCP Data received {"connection_id":112053,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:23] local.INFO: Processing buffer {"connection_id":112053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:23] local.INFO: IMEI packet received {"connection_id":112053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":112053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:54:24] local.INFO: TCP Data received {"connection_id":112053,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:24] local.INFO: Processing buffer {"connection_id":112053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:24] local.INFO: IMEI packet received {"connection_id":112053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":112053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:54:28] local.INFO: TCP Data received {"connection_id":112053,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:28] local.INFO: TCP Data received {"connection_id":112979,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef547f410012d196680071ff248003f007220..."} 
[2026-06-23 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:28] local.INFO: Processing buffer {"connection_id":112053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:54:28] local.INFO: IMEI packet received {"connection_id":112053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":112053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef547f410012d196680071ff248003f007220..."} 
[2026-06-23 21:54:28] local.INFO: Processing buffer {"connection_id":112979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef547f410012d196680071ff248003f007220..."} 
[2026-06-23 21:54:28] local.INFO: Packet analysis {"connection_id":112979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:54:28] local.INFO: Extracted packet for processing {"connection_id":112979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef547"} 
[2026-06-23 21:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":32,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251282688001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231594000,"timestamp_ms":1782231594000,"timestamp_seconds":1782231594,"priority":1,"record_length":96,"hex_timestamp":"0000019ef547f410"} 
[2026-06-23 21:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:54:28] 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-06-23 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-2089670227099910143,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-773102016000091803,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391425308721260,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832591,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4006084674,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":3,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4325484,"corrected_to":0} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3185770496,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,80,45,128,242,63,35,10,66,253,38,171,1,240,255,227,245,31,4,113,205,3,101,200,239,47,2,13,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0},{"io_id":200,"original":4325484,"validated":0}]} 
[2026-06-23 21:54:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539753931923783680,"timestamp_seconds":4539753931923784.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251282688001,"66":12287,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251282688001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251282688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":112979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:54:28] local.INFO: GPS data processed {"connection_id":112979,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:54:28] local.INFO: Acknowledgment sent {"connection_id":112979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:54:30] local.INFO: TCP Data received {"connection_id":112053,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54a6ce0012d05b7c006f9c818002000c92b..."} 
[2026-06-23 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54a6ce0012d05b7c006f9c818002000c92b..."} 
[2026-06-23 21:54:30] local.INFO: Processing buffer {"connection_id":112053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54a6ce0012d05b7c006f9c818002000c92b..."} 
[2026-06-23 21:54:30] local.INFO: Packet analysis {"connection_id":112053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:54:30] local.INFO: Extracted packet for processing {"connection_id":112053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:54:30] local.INFO: GPS Element Parsed {"raw_longitude":755349440,"raw_latitude":117032984,"longitude_deg":75.534944,"latitude_deg":11.7032984,"altitude":32,"angle":201,"satellites":43,"speed":16,"hex_longitude":"2d05b7c0","hex_latitude":"06f9c818","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251328000001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879782763528192,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412220133353746432,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782231756000,"timestamp_ms":1782231756000,"timestamp_seconds":1782231756,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54a6ce0"} 
[2026-06-23 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-06-23 21:54:30] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251328000001,"66":27332,"74":206,"28":32256,"24":16,"16":321879782763528192,"45":412220133353746432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251328000001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:54:30] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879782763528192,"km_value":321879782763528.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":412220133353746432,"description":"Unknown IO ID 45"} 
[2026-06-23 21:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251328000001,"power":27332,"unknown_74":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":412220133353746432}} 
[2026-06-23 21:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":112053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:54:30] local.INFO: GPS data processed {"connection_id":112053,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:54:30] local.INFO: Acknowledgment sent {"connection_id":112053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:54:32] local.INFO: TCP Data received {"connection_id":112053,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54a74b0012d05b60006f9c4f8001f00d82b..."} 
[2026-06-23 21:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54a74b0012d05b60006f9c4f8001f00d82b..."} 
[2026-06-23 21:54:32] local.INFO: Processing buffer {"connection_id":112053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54a74b0012d05b60006f9c4f8001f00d82b..."} 
[2026-06-23 21:54:32] local.INFO: Packet analysis {"connection_id":112053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:54:32] local.INFO: Extracted packet for processing {"connection_id":112053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:54:32] local.INFO: GPS Element Parsed {"raw_longitude":755348992,"raw_latitude":117032184,"longitude_deg":75.5348992,"latitude_deg":11.7032184,"altitude":31,"angle":216,"satellites":43,"speed":19,"hex_longitude":"2d05b600","hex_latitude":"06f9c4f8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251329536001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321879830008168448,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412009027120666624,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782231758000,"timestamp_ms":1782231758000,"timestamp_seconds":1782231758,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54a74b0"} 
[2026-06-23 21:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:54:32] 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-06-23 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 21:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251329536001,"66":27484,"74":206,"28":32256,"24":19,"16":321879830008168448,"45":412009027120666624},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251329536001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:54:32] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321879830008168448,"km_value":321879830008168.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":412009027120666624,"description":"Unknown IO ID 45"} 
[2026-06-23 21:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251329536001,"power":27484,"unknown_74":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":412009027120666624}} 
[2026-06-23 21:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":112053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:54:32] local.INFO: GPS data processed {"connection_id":112053,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:54:32] local.INFO: Acknowledgment sent {"connection_id":112053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:54:38] local.INFO: TCP Data received {"connection_id":111415,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:54:38] local.INFO: Processing buffer {"connection_id":111415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:54:38] local.INFO: IMEI packet received {"connection_id":111415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":111415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:54:52] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:54:52] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:54:52] local.INFO: IMEI packet received {"connection_id":111240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":111240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:54:57] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:54:57] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:54:57] local.INFO: IMEI packet received {"connection_id":111240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":111240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:54:57] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5484618012d196680071ff248003f007223..."} 
[2026-06-23 21:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5484618012d196680071ff248003f007223..."} 
[2026-06-23 21:54:57] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5484618012d196680071ff248003f007223..."} 
[2026-06-23 21:54:57] local.INFO: Packet analysis {"connection_id":111240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef548"} 
[2026-06-23 21:54:57] local.INFO: Extracted packet for processing {"connection_id":111240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef548"} 
[2026-06-23 21:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 21:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251288064001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231615000,"timestamp_ms":1782231615000,"timestamp_seconds":1782231615,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5484618"} 
[2026-06-23 21:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:54:57] 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-06-23 21:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 21:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251288064001,"66":12026,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251288064001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251288064001,"power":12026,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":111240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:54:57] local.INFO: GPS data processed {"connection_id":111240,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:54:57] local.INFO: Acknowledgment sent {"connection_id":111240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:55:04] local.INFO: TCP Data received {"connection_id":112053,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54aa778012d05a5c006f9ad58001900c72b..."} 
[2026-06-23 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54aa778012d05a5c006f9ad58001900c72b..."} 
[2026-06-23 21:55:04] local.INFO: Processing buffer {"connection_id":112053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54aa778012d05a5c006f9ad58001900c72b..."} 
[2026-06-23 21:55:04] local.INFO: Packet analysis {"connection_id":112053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:55:04] local.INFO: Extracted packet for processing {"connection_id":112053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54a"} 
[2026-06-23 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":755344832,"raw_latitude":117026136,"longitude_deg":75.5344832,"latitude_deg":11.7026136,"altitude":25,"angle":199,"satellites":43,"speed":20,"hex_longitude":"2d05a5c0","hex_latitude":"06f9ad58","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251330048001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321880182195486720,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":411516445911218176,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782231771000,"timestamp_ms":1782231771000,"timestamp_seconds":1782231771,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54aa778"} 
[2026-06-23 21:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:55:04] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:55:04] 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-06-23 21: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-06-23 21:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251330048001,"66":27376,"74":206,"28":32256,"24":20,"16":321880182195486720,"45":411516445911218176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-06-23 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251330048001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:55:04] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 21:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321880182195486720,"km_value":321880182195486.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":411516445911218176,"description":"Unknown IO ID 45"} 
[2026-06-23 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251330048001,"power":27376,"unknown_74":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":411516445911218176}} 
[2026-06-23 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":112053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:55:04] local.INFO: GPS data processed {"connection_id":112053,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:55:04] local.INFO: Acknowledgment sent {"connection_id":112053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:55:06] local.INFO: TCP Data received {"connection_id":111416,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:55:06] local.INFO: Processing buffer {"connection_id":111416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 21:55:06] local.INFO: IMEI packet received {"connection_id":111416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 21:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":111416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:55:23] local.INFO: TCP Data received {"connection_id":112980,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:55:23] local.INFO: Processing buffer {"connection_id":112980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:55:23] local.INFO: IMEI packet received {"connection_id":112980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":112980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:55:25] local.INFO: TCP Data received {"connection_id":112980,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:55:25] local.INFO: Processing buffer {"connection_id":112980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:55:25] local.INFO: IMEI packet received {"connection_id":112980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":112980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:55:28] local.INFO: TCP Data received {"connection_id":112980,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54c2a30012d05ef4006f87fb0000a008429..."} 
[2026-06-23 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54c2a30012d05ef4006f87fb0000a008429..."} 
[2026-06-23 21:55:28] local.INFO: Processing buffer {"connection_id":112980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54c2a30012d05ef4006f87fb0000a008429..."} 
[2026-06-23 21:55:28] local.INFO: Packet analysis {"connection_id":112980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:55:28] local.INFO: Extracted packet for processing {"connection_id":112980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":755363648,"raw_latitude":116948912,"longitude_deg":75.5363648,"latitude_deg":11.6948912,"altitude":10,"angle":132,"satellites":41,"speed":41,"hex_longitude":"2d05ef40","hex_latitude":"06f87fb0","is_valid_coordinates":true} 
[2026-06-23 21:55: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-06-23 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251357440001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321884142155333632,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":423549501145284608,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231870000,"timestamp_ms":1782231870000,"timestamp_seconds":1782231870,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54c2a30"} 
[2026-06-23 21:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:55:28] 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-06-23 21:55: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 21:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21:55: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-06-23 21:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251357440001,"66":27365,"73":206,"28":32256,"24":41,"16":321884142155333632,"45":423549501145284608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251357440001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321884142155333632,"km_value":321884142155333.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":423549501145284608,"description":"Unknown IO ID 45"} 
[2026-06-23 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251357440001,"power":27365,"unknown_73":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":423549501145284608}} 
[2026-06-23 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":112980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:55:28] local.INFO: GPS data processed {"connection_id":112980,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:55:28] local.INFO: Acknowledgment sent {"connection_id":112980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:55:28] local.INFO: TCP Data received {"connection_id":111240,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54bcc70012d196680071ff248003f007225..."} 
[2026-06-23 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54bcc70012d196680071ff248003f007225..."} 
[2026-06-23 21:55:28] local.INFO: Processing buffer {"connection_id":111240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54bcc70012d196680071ff248003f007225..."} 
[2026-06-23 21:55:28] local.INFO: Packet analysis {"connection_id":111240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54b"} 
[2026-06-23 21:55:28] local.INFO: Extracted packet for processing {"connection_id":111240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54b"} 
[2026-06-23 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21:55: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-06-23 21:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251347200001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231846000,"timestamp_ms":1782231846000,"timestamp_seconds":1782231846,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54bcc70"} 
[2026-06-23 21:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:55: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:55:28] 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-06-23 21:55: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-06-23 21:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251347200001,"66":12287,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251347200001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251347200001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":111240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:55:28] local.INFO: GPS data processed {"connection_id":111240,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:55:28] local.INFO: Acknowledgment sent {"connection_id":111240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:55:52] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:55:52] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:55:52] local.INFO: IMEI packet received {"connection_id":111241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":111241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:55:57] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:55:57] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:55:57] local.INFO: IMEI packet received {"connection_id":111241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":111241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:55:57] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54c1e78012d196680071ff248003f007223..."} 
[2026-06-23 21:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54c1e78012d196680071ff248003f007223..."} 
[2026-06-23 21:55:57] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54c1e78012d196680071ff248003f007223..."} 
[2026-06-23 21:55:57] local.INFO: Packet analysis {"connection_id":111241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:55:57] local.INFO: Extracted packet for processing {"connection_id":111241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":35,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21:55: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-06-23 21:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251352576001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231867000,"timestamp_ms":1782231867000,"timestamp_seconds":1782231867,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54c1e78"} 
[2026-06-23 21:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:55:57] 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-06-23 21:55: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-06-23 21:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251352576001,"66":12287,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251352576001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251352576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":111241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:55:57] local.INFO: GPS data processed {"connection_id":111241,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:55:57] local.INFO: Acknowledgment sent {"connection_id":111241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:55:59] local.INFO: TCP Data received {"connection_id":112980,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54c4d58012d060ac006f864f8000b00832c..."} 
[2026-06-23 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54c4d58012d060ac006f864f8000b00832c..."} 
[2026-06-23 21:55:59] local.INFO: Processing buffer {"connection_id":112980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54c4d58012d060ac006f864f8000b00832c..."} 
[2026-06-23 21:55:59] local.INFO: Packet analysis {"connection_id":112980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:55:59] local.INFO: Extracted packet for processing {"connection_id":112980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":755370688,"raw_latitude":116942072,"longitude_deg":75.5370688,"latitude_deg":11.6942072,"altitude":11,"angle":131,"satellites":44,"speed":43,"hex_longitude":"2d060ac0","hex_latitude":"06f864f8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251358720001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321884614601736192,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":427630888306585600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782231879000,"timestamp_ms":1782231879000,"timestamp_seconds":1782231879,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54c4d58"} 
[2026-06-23 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-06-23 21:55:59] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 21:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251358720001,"66":27484,"73":206,"28":32256,"24":43,"16":321884614601736192,"45":427630888306585600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-06-23 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251358720001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:55:59] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 21:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321884614601736192,"km_value":321884614601736.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":427630888306585600,"description":"Unknown IO ID 45"} 
[2026-06-23 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251358720001,"power":27484,"unknown_73":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":427630888306585600}} 
[2026-06-23 21:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":112980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:55:59] local.INFO: GPS data processed {"connection_id":112980,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:55:59] local.INFO: Acknowledgment sent {"connection_id":112980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:56:21] local.INFO: TCP Data received {"connection_id":112981,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:21] local.INFO: Processing buffer {"connection_id":112981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:21] local.INFO: IMEI packet received {"connection_id":112981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":112981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:56:23] local.INFO: TCP Data received {"connection_id":112981,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:23] local.INFO: Processing buffer {"connection_id":112981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:23] local.INFO: IMEI packet received {"connection_id":112981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":112981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:56:28] local.INFO: TCP Data received {"connection_id":112981,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:28] local.INFO: Processing buffer {"connection_id":112981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:56:28] local.INFO: IMEI packet received {"connection_id":112981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":112981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:56:29] local.INFO: TCP Data received {"connection_id":111241,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54c7080012d196680071ff248003f007225..."} 
[2026-06-23 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54c7080012d196680071ff248003f007225..."} 
[2026-06-23 21:56:29] local.INFO: Processing buffer {"connection_id":111241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54c7080012d196680071ff248003f007225..."} 
[2026-06-23 21:56:29] local.INFO: Packet analysis {"connection_id":111241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:56:29] local.INFO: Extracted packet for processing {"connection_id":111241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251357952001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231888000,"timestamp_ms":1782231888000,"timestamp_seconds":1782231888,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54c7080"} 
[2026-06-23 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-06-23 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:56:29] 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-06-23 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-06-23 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-06-23 21:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251357952001,"66":12298,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251357952001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251357952001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":111241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:56:29] local.INFO: GPS data processed {"connection_id":111241,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:56:29] local.INFO: Acknowledgment sent {"connection_id":111241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:56:29] local.INFO: TCP Data received {"connection_id":112981,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54c6c98012d06254006f84e18000b00892c..."} 
[2026-06-23 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54c6c98012d06254006f84e18000b00892c..."} 
[2026-06-23 21:56:29] local.INFO: Processing buffer {"connection_id":112981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54c6c98012d06254006f84e18000b00892c..."} 
[2026-06-23 21:56:29] local.INFO: Packet analysis {"connection_id":112981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:56:29] local.INFO: Extracted packet for processing {"connection_id":112981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":755377472,"raw_latitude":116936216,"longitude_deg":75.5377472,"latitude_deg":11.6936216,"altitude":11,"angle":137,"satellites":44,"speed":43,"hex_longitude":"2d062540","hex_latitude":"06f84e18","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251361024001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321885044098465792,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":435371450164377600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782231887000,"timestamp_ms":1782231887000,"timestamp_seconds":1782231887,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54c6c98"} 
[2026-06-23 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-06-23 21:56:29] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251361024001,"66":27484,"73":206,"28":32256,"24":43,"16":321885044098465792,"45":435371450164377600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-06-23 21:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251361024001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321885044098465792,"km_value":321885044098465.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":435371450164377600,"description":"Unknown IO ID 45"} 
[2026-06-23 21:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251361024001,"power":27484,"unknown_73":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":435371450164377600}} 
[2026-06-23 21:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":112981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:56:29] local.INFO: GPS data processed {"connection_id":112981,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:56:29] local.INFO: Acknowledgment sent {"connection_id":112981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:56:52] local.INFO: TCP Data received {"connection_id":111242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:56:52] local.INFO: Processing buffer {"connection_id":111242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:56:52] local.INFO: IMEI packet received {"connection_id":111242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":111242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:56:57] local.INFO: TCP Data received {"connection_id":111242,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:56:57] local.INFO: Processing buffer {"connection_id":111242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:56:57] local.INFO: IMEI packet received {"connection_id":111242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":111242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:56:57] local.INFO: TCP Data received {"connection_id":111242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54cc288012d196680071ff248003f007226..."} 
[2026-06-23 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54cc288012d196680071ff248003f007226..."} 
[2026-06-23 21:56:57] local.INFO: Processing buffer {"connection_id":111242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54cc288012d196680071ff248003f007226..."} 
[2026-06-23 21:56:57] local.INFO: Packet analysis {"connection_id":111242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:56:57] local.INFO: Extracted packet for processing {"connection_id":111242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119534152,"longitude_deg":75.663936,"latitude_deg":11.9534152,"altitude":63,"angle":114,"satellites":38,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff248","is_valid_coordinates":true} 
[2026-06-23 21:56: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-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251363328001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868000302137344,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231909000,"timestamp_ms":1782231909000,"timestamp_seconds":1782231909,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54cc288"} 
[2026-06-23 21:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":189,"raw_value":-1369094286720630783,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-771753396269147802,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513395273599221874,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":63,"raw_value":32131028298498048,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4064804927,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3186425856,"note":"Value kept but may cause issues"} 
[2026-06-23 21:56:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,189,158,30,45,128,242,63,35,10,66,204,37,122,1,240,255,227,245,31,4,113,205,210,72,239,47,2,13,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 21:56:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539753927628816384,"timestamp_seconds":4539753927628816.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 21:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251363328001,"66":12287,"102":206,"83":41984,"24":0,"16":3868000302137344,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251363328001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868000302137344,"km_value":3868000302137.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251363328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":111242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:56:57] local.INFO: GPS data processed {"connection_id":111242,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:56:57] local.INFO: Acknowledgment sent {"connection_id":111242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:57:02] local.INFO: TCP Data received {"connection_id":112981,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54c8bd8012d063e0006f834b0000a00892a..."} 
[2026-06-23 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54c8bd8012d063e0006f834b0000a00892a..."} 
[2026-06-23 21:57:02] local.INFO: Processing buffer {"connection_id":112981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54c8bd8012d063e0006f834b0000a00892a..."} 
[2026-06-23 21:57:02] local.INFO: Packet analysis {"connection_id":112981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:57:02] local.INFO: Extracted packet for processing {"connection_id":112981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":755383808,"raw_latitude":116929712,"longitude_deg":75.5383808,"latitude_deg":11.6929712,"altitude":10,"angle":137,"satellites":42,"speed":43,"hex_longitude":"2d063e00","hex_latitude":"06f834b0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251363072001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321885477890162688,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":442830537045710848,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782231895000,"timestamp_ms":1782231895000,"timestamp_seconds":1782231895,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54c8bd8"} 
[2026-06-23 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-06-23 21:57:02] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 21:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251363072001,"66":27484,"73":206,"28":32256,"24":43,"16":321885477890162688,"45":442830537045710848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-06-23 21:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251363072001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:57:02] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 21:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321885477890162688,"km_value":321885477890162.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":442830537045710848,"description":"Unknown IO ID 45"} 
[2026-06-23 21:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251363072001,"power":27484,"unknown_73":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":442830537045710848}} 
[2026-06-23 21:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":112981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:57:02] local.INFO: GPS data processed {"connection_id":112981,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:57:02] local.INFO: Acknowledgment sent {"connection_id":112981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:57:23] local.INFO: TCP Data received {"connection_id":111417,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:57:23] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:57:23] local.INFO: IMEI packet received {"connection_id":111417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":111417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:57:28] local.INFO: TCP Data received {"connection_id":111417,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:57:28] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:57:28] local.INFO: IMEI packet received {"connection_id":111417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":111417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:57:28] local.INFO: TCP Data received {"connection_id":111242,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54cf938012d196900071fefd80049012426..."} 
[2026-06-23 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54cf938012d196900071fefd80049012426..."} 
[2026-06-23 21:57:28] local.INFO: Processing buffer {"connection_id":111242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54cf938012d196900071fefd80049012426..."} 
[2026-06-23 21:57:28] local.INFO: Packet analysis {"connection_id":111242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:57:28] local.INFO: Extracted packet for processing {"connection_id":111242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533528,"longitude_deg":75.664,"latitude_deg":11.9533528,"altitude":73,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251368704001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868047546777600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661783552,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231923000,"timestamp_ms":1782231923000,"timestamp_seconds":1782231923,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54cf938"} 
[2026-06-23 21:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:57:28] 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-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:57:28] 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-06-23 21: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-06-23 21:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251368704001,"66":12265,"102":206,"83":41984,"24":0,"16":3868047546777600,"45":1830291066661783552},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251368704001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868047546777600,"km_value":3868047546777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661783552,"description":"Unknown IO ID 45"} 
[2026-06-23 21:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251368704001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661783552}} 
[2026-06-23 21:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":111242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:57:29] local.INFO: GPS data processed {"connection_id":111242,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:57:29] local.INFO: Acknowledgment sent {"connection_id":111242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:57:30] local.INFO: TCP Data received {"connection_id":111417,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54cbea0012d0657c006f81920000b00892c..."} 
[2026-06-23 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54cbea0012d0657c006f81920000b00892c..."} 
[2026-06-23 21:57:30] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54cbea0012d0657c006f81920000b00892c..."} 
[2026-06-23 21:57:30] local.INFO: Packet analysis {"connection_id":111417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:57:30] local.INFO: Extracted packet for processing {"connection_id":111417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54c"} 
[2026-06-23 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":755390400,"raw_latitude":116922656,"longitude_deg":75.53904,"latitude_deg":11.6922656,"altitude":11,"angle":137,"satellites":44,"speed":28,"hex_longitude":"2d0657c0","hex_latitude":"06f81920","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251365120001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321885941746630656,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":449797042717634560,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782231908000,"timestamp_ms":1782231908000,"timestamp_seconds":1782231908,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54cbea0"} 
[2026-06-23 21:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:57:30] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:57:30] 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-06-23 21: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-06-23 21:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251365120001,"66":27463,"73":206,"28":32256,"24":28,"16":321885941746630656,"45":449797042717634560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-06-23 21:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251365120001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-23 21:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321885941746630656,"km_value":321885941746630.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":449797042717634560,"description":"Unknown IO ID 45"} 
[2026-06-23 21:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251365120001,"power":27463,"unknown_73":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":449797042717634560}} 
[2026-06-23 21:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":111417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:57:30] local.INFO: GPS data processed {"connection_id":111417,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:57:30] local.INFO: Acknowledgment sent {"connection_id":111417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:57:51] local.INFO: TCP Data received {"connection_id":112983,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:57:51] local.INFO: Processing buffer {"connection_id":112983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:57:51] local.INFO: IMEI packet received {"connection_id":112983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":112983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:57:57] local.INFO: TCP Data received {"connection_id":112983,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:57:57] local.INFO: Processing buffer {"connection_id":112983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:57:57] local.INFO: IMEI packet received {"connection_id":112983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":112983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:57:57] local.INFO: TCP Data received {"connection_id":112983,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54d4b40012d196900071fefd80049012425..."} 
[2026-06-23 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54d4b40012d196900071fefd80049012425..."} 
[2026-06-23 21:57:57] local.INFO: Processing buffer {"connection_id":112983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54d4b40012d196900071fefd80049012425..."} 
[2026-06-23 21:57:57] local.INFO: Packet analysis {"connection_id":112983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54d"} 
[2026-06-23 21:57:57] local.INFO: Extracted packet for processing {"connection_id":112983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54d"} 
[2026-06-23 21:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533528,"longitude_deg":75.664,"latitude_deg":11.9533528,"altitude":73,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251372288001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868047546777600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103400448,"note":"Value kept but may cause issues"} 
[2026-06-23 21:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231944000,"timestamp_ms":1782231944000,"timestamp_seconds":1782231944,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54d4b40"} 
[2026-06-23 21:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 21:57:57] 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-06-23 21: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-06-23 21:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251372288001,"66":11993,"102":206,"83":41984,"24":0,"16":3868047546777600,"45":1830994754103400448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251372288001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:57:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868047546777600,"km_value":3868047546777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103400448,"description":"Unknown IO ID 45"} 
[2026-06-23 21:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251372288001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103400448}} 
[2026-06-23 21:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":112983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:57:57] local.INFO: GPS data processed {"connection_id":112983,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:57:57] local.INFO: Acknowledgment sent {"connection_id":112983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:58:01] local.INFO: TCP Data received {"connection_id":111417,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54eb688012d075c4006f6ed10000f00622b..."} 
[2026-06-23 21:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54eb688012d075c4006f6ed10000f00622b..."} 
[2026-06-23 21:58:01] local.INFO: Processing buffer {"connection_id":111417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54eb688012d075c4006f6ed10000f00622b..."} 
[2026-06-23 21:58:01] local.INFO: Packet analysis {"connection_id":111417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:58:01] local.INFO: Extracted packet for processing {"connection_id":111417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":755457088,"raw_latitude":116845840,"longitude_deg":75.5457088,"latitude_deg":11.684584,"altitude":15,"angle":98,"satellites":43,"speed":15,"hex_longitude":"2d075c40","hex_latitude":"06f6ed10","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251401216001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321890838009348096,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":529947042314549248,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782232037000,"timestamp_ms":1782232037000,"timestamp_seconds":1782232037,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54eb688"} 
[2026-06-23 21:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:58:01] 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-06-23 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251401216001,"66":27343,"69":206,"2":56576,"24":15,"16":321890838009348096,"45":529947042314549248},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 21:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251401216001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:58:01] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 21:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321890838009348096,"km_value":321890838009348.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":529947042314549248,"description":"Unknown IO ID 45"} 
[2026-06-23 21:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251401216001,"power":27343,"unknown_69":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":529947042314549248}} 
[2026-06-23 21:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":111417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:58:01] local.INFO: GPS data processed {"connection_id":111417,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:58:01] local.INFO: Acknowledgment sent {"connection_id":111417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:58:23] local.INFO: TCP Data received {"connection_id":112984,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:58:23] local.INFO: Processing buffer {"connection_id":112984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:58:23] local.INFO: IMEI packet received {"connection_id":112984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":112984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:58:28] local.INFO: TCP Data received {"connection_id":112984,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:58:28] local.INFO: Processing buffer {"connection_id":112984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:58:28] local.INFO: IMEI packet received {"connection_id":112984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":112984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:58:28] local.INFO: TCP Data received {"connection_id":112983,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54d9d48012d196900071fefd80049012424..."} 
[2026-06-23 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54d9d48012d196900071fefd80049012424..."} 
[2026-06-23 21:58:28] local.INFO: Processing buffer {"connection_id":112983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54d9d48012d196900071fefd80049012424..."} 
[2026-06-23 21:58:28] local.INFO: Packet analysis {"connection_id":112983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54d"} 
[2026-06-23 21:58:28] local.INFO: Extracted packet for processing {"connection_id":112983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54d"} 
[2026-06-23 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533528,"longitude_deg":75.664,"latitude_deg":11.9533528,"altitude":73,"angle":292,"satellites":36,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251377664001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868047546777600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103400448,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782231965000,"timestamp_ms":1782231965000,"timestamp_seconds":1782231965,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54d9d48"} 
[2026-06-23 21:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 21:58:28] 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-06-23 21: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-06-23 21:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251377664001,"66":12287,"102":206,"83":41984,"24":0,"16":3868047546777600,"45":1830994754103400448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251377664001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868047546777600,"km_value":3868047546777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103400448,"description":"Unknown IO ID 45"} 
[2026-06-23 21:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251377664001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103400448}} 
[2026-06-23 21:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":112983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:58:29] local.INFO: GPS data processed {"connection_id":112983,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:58:29] local.INFO: Acknowledgment sent {"connection_id":112983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:58:29] local.INFO: TCP Data received {"connection_id":112984,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54eba70012d075dc006f6ed10000e00552a..."} 
[2026-06-23 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54eba70012d075dc006f6ed10000e00552a..."} 
[2026-06-23 21:58:29] local.INFO: Processing buffer {"connection_id":112984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54eba70012d075dc006f6ed10000e00552a..."} 
[2026-06-23 21:58:29] local.INFO: Packet analysis {"connection_id":112984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:58:29] local.INFO: Extracted packet for processing {"connection_id":112984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":755457472,"raw_latitude":116845840,"longitude_deg":75.5457472,"latitude_deg":11.684584,"altitude":14,"angle":85,"satellites":42,"speed":16,"hex_longitude":"2d075dc0","hex_latitude":"06f6ed10","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251401472001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321890859484184576,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530369254779588608,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782232038000,"timestamp_ms":1782232038000,"timestamp_seconds":1782232038,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54eba70"} 
[2026-06-23 21:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:58:29] 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-06-23 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 21:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 21: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-06-23 21:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251401472001,"66":27484,"69":206,"2":56576,"24":16,"16":321890859484184576,"45":530369254779588608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 21:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251401472001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:58:29] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 21:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321890859484184576,"km_value":321890859484184.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":530369254779588608,"description":"Unknown IO ID 45"} 
[2026-06-23 21:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251401472001,"power":27484,"unknown_69":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":530369254779588608}} 
[2026-06-23 21:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":112984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:58:29] local.INFO: GPS data processed {"connection_id":112984,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:58:29] local.INFO: Acknowledgment sent {"connection_id":112984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:58:51] local.INFO: TCP Data received {"connection_id":111418,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:58:51] local.INFO: Processing buffer {"connection_id":111418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:58:51] local.INFO: IMEI packet received {"connection_id":111418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":111418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:58:57] local.INFO: TCP Data received {"connection_id":111418,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:58:57] local.INFO: Processing buffer {"connection_id":111418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:58:57] local.INFO: IMEI packet received {"connection_id":111418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":111418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:58:57] local.INFO: TCP Data received {"connection_id":111418,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54deb68012d196900071fefd80049012425..."} 
[2026-06-23 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54deb68012d196900071fefd80049012425..."} 
[2026-06-23 21:58:57] local.INFO: Processing buffer {"connection_id":111418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54deb68012d196900071fefd80049012425..."} 
[2026-06-23 21:58:57] local.INFO: Packet analysis {"connection_id":111418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54d"} 
[2026-06-23 21:58:57] local.INFO: Extracted packet for processing {"connection_id":111418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54d"} 
[2026-06-23 21:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533528,"longitude_deg":75.664,"latitude_deg":11.9533528,"altitude":73,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251383040001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868047546777600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103400448,"note":"Value kept but may cause issues"} 
[2026-06-23 21:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782231985000,"timestamp_ms":1782231985000,"timestamp_seconds":1782231985,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54deb68"} 
[2026-06-23 21:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 21:58:57] 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-06-23 21: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-06-23 21:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251383040001,"66":12178,"102":206,"83":41984,"24":0,"16":3868047546777600,"45":1830994754103400448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251383040001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:58:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868047546777600,"km_value":3868047546777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103400448,"description":"Unknown IO ID 45"} 
[2026-06-23 21:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251383040001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103400448}} 
[2026-06-23 21:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":111418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:58:57] local.INFO: GPS data processed {"connection_id":111418,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:58:57] local.INFO: Acknowledgment sent {"connection_id":111418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:59:01] local.INFO: TCP Data received {"connection_id":112984,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54ec240012d0760c006f6edc8000d004329..."} 
[2026-06-23 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54ec240012d0760c006f6edc8000d004329..."} 
[2026-06-23 21:59:01] local.INFO: Processing buffer {"connection_id":112984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54ec240012d0760c006f6edc8000d004329..."} 
[2026-06-23 21:59:01] local.INFO: Packet analysis {"connection_id":112984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:59:01] local.INFO: Extracted packet for processing {"connection_id":112984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":755458240,"raw_latitude":116846024,"longitude_deg":75.545824,"latitude_deg":11.6846024,"altitude":13,"angle":67,"satellites":41,"speed":17,"hex_longitude":"2d0760c0","hex_latitude":"06f6edc8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251401728001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321890893843922944,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530791467244654592,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782232040000,"timestamp_ms":1782232040000,"timestamp_seconds":1782232040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54ec240"} 
[2026-06-23 21:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:59:01] 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-06-23 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:59:01] 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-06-23 21: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-06-23 21:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251401728001,"66":27484,"69":206,"2":56576,"24":17,"16":321890893843922944,"45":530791467244654592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 21:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251401728001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 21:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321890893843922944,"km_value":321890893843922.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":530791467244654592,"description":"Unknown IO ID 45"} 
[2026-06-23 21:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251401728001,"power":27484,"unknown_69":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":530791467244654592}} 
[2026-06-23 21:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":112984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:59:01] local.INFO: GPS data processed {"connection_id":112984,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:59:01] local.INFO: Acknowledgment sent {"connection_id":112984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:59:23] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:59:23] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:59:23] local.INFO: IMEI packet received {"connection_id":111419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 21:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":111419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:59:28] local.INFO: TCP Data received {"connection_id":111418,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54e3d70012d196900071fefd80049012426..."} 
[2026-06-23 21:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54e3d70012d196900071fefd80049012426..."} 
[2026-06-23 21:59:28] local.INFO: Processing buffer {"connection_id":111418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54e3d70012d196900071fefd80049012426..."} 
[2026-06-23 21:59:28] local.INFO: Packet analysis {"connection_id":111418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:59:28] local.INFO: Extracted packet for processing {"connection_id":111418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533528,"longitude_deg":75.664,"latitude_deg":11.9533528,"altitude":73,"angle":292,"satellites":38,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-06-23 21: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-06-23 21:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251388160001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868047546777600,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103400448,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232006000,"timestamp_ms":1782232006000,"timestamp_seconds":1782232006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54e3d70"} 
[2026-06-23 21:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 21:59:28] 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-06-23 21: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 21:59:28] 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-06-23 21: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-06-23 21:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 21:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 21:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 21:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 21:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251388160001,"66":12287,"102":206,"83":41984,"24":0,"16":3868047546777600,"45":1830994754103400448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 21:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 21:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 21:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251388160001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 21:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 21:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868047546777600,"km_value":3868047546777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103400448,"description":"Unknown IO ID 45"} 
[2026-06-23 21:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251388160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103400448}} 
[2026-06-23 21:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":111418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:59:29] local.INFO: GPS data processed {"connection_id":111418,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:59:29] local.INFO: Acknowledgment sent {"connection_id":111418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:59:29] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:59:29] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 21:59:29] local.INFO: IMEI packet received {"connection_id":111419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 21:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":111419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 21:59:30] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54ecdf8012d07654006f6ef30000b005927..."} 
[2026-06-23 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54ecdf8012d07654006f6ef30000b005927..."} 
[2026-06-23 21:59:30] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54ecdf8012d07654006f6ef30000b005927..."} 
[2026-06-23 21:59:30] local.INFO: Packet analysis {"connection_id":111419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:59:30] local.INFO: Extracted packet for processing {"connection_id":111419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":755459392,"raw_latitude":116846384,"longitude_deg":75.5459392,"latitude_deg":11.6846384,"altitude":11,"angle":89,"satellites":39,"speed":16,"hex_longitude":"2d076540","hex_latitude":"06f6ef30","is_valid_coordinates":true} 
[2026-06-23 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-06-23 21:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251402240001,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321890953973465088,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531635892174833664,"note":"Value kept but may cause issues"} 
[2026-06-23 21:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 21:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782232043000,"timestamp_ms":1782232043000,"timestamp_seconds":1782232043,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54ecdf8"} 
[2026-06-23 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-06-23 21:59:30] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 21:59:30] 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-06-23 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-06-23 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-06-23 21:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 21:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 21:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 21:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 21:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 21:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 21:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251402240001,"66":27332,"69":206,"2":56576,"24":16,"16":321890953973465088,"45":531635892174833664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 21:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 21:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 21:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251402240001,"description":"Unknown IO ID 0"} 
[2026-06-23 21:59:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 21:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321890953973465088,"km_value":321890953973465.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 21:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":531635892174833664,"description":"Unknown IO ID 45"} 
[2026-06-23 21:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251402240001,"power":27332,"unknown_69":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":531635892174833664}} 
[2026-06-23 21:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":111419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 21:59:30] local.INFO: GPS data processed {"connection_id":111419,"processed":1,"errors":0,"total":1} 
[2026-06-23 21:59:30] local.INFO: Acknowledgment sent {"connection_id":111419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 21:59:54] local.INFO: TCP Data received {"connection_id":111243,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:59:54] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:59:54] local.INFO: IMEI packet received {"connection_id":111243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 21:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":111243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 21:59:57] local.INFO: TCP Data received {"connection_id":111243,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:59:57] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 21:59:57] local.INFO: IMEI packet received {"connection_id":111243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 21:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":111243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:00:01] local.INFO: TCP Data received {"connection_id":111243,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:01] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:01] local.INFO: IMEI packet received {"connection_id":111243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":111243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:00:01] local.INFO: TCP Data received {"connection_id":111419,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5503d28012d08218006f60a680010008b2d..."} 
[2026-06-23 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5503d28012d08218006f60a680010008b2d..."} 
[2026-06-23 22:00:01] local.INFO: Processing buffer {"connection_id":111419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5503d28012d08218006f60a680010008b2d..."} 
[2026-06-23 22:00:01] local.INFO: Packet analysis {"connection_id":111419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:00:01] local.INFO: Extracted packet for processing {"connection_id":111419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":755507584,"raw_latitude":116787816,"longitude_deg":75.5507584,"latitude_deg":11.6787816,"altitude":16,"angle":139,"satellites":45,"speed":24,"hex_longitude":"2d082180","hex_latitude":"06f60a68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251426304001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321894613285601280,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584764294014447616,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782232137000,"timestamp_ms":1782232137000,"timestamp_seconds":1782232137,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5503d28"} 
[2026-06-23 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-06-23 22:00:01] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251426304001,"66":27463,"69":206,"2":56576,"24":24,"16":321894613285601280,"45":584764294014447616},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 22:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251426304001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:00:01] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 22:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321894613285601280,"km_value":321894613285601.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":584764294014447616,"description":"Unknown IO ID 45"} 
[2026-06-23 22:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251426304001,"power":27463,"unknown_69":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":584764294014447616}} 
[2026-06-23 22:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":111419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:00:01] local.INFO: GPS data processed {"connection_id":111419,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:00:01] local.INFO: Acknowledgment sent {"connection_id":111419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:00:02] local.INFO: TCP Data received {"connection_id":111243,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54e8f78012d196900071fefd80049012422..."} 
[2026-06-23 22:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54e8f78012d196900071fefd80049012422..."} 
[2026-06-23 22:00:02] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54e8f78012d196900071fefd80049012422..."} 
[2026-06-23 22:00:02] local.INFO: Packet analysis {"connection_id":111243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 22:00:02] local.INFO: Extracted packet for processing {"connection_id":111243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 22:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119533528,"longitude_deg":75.664,"latitude_deg":11.9533528,"altitude":73,"angle":292,"satellites":34,"speed":0,"hex_longitude":"2d196900","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-06-23 22:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251393536001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868047546777600,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103400448,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782232027000,"timestamp_ms":1782232027000,"timestamp_seconds":1782232027,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54e8f78"} 
[2026-06-23 22:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:00: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-06-23 22:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251393536001,"66":12287,"102":206,"83":41984,"24":0,"16":3868047546777600,"45":1830994754103400448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251393536001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:00:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:00:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868047546777600,"km_value":3868047546777.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103400448,"description":"Unknown IO ID 45"} 
[2026-06-23 22:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251393536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103400448}} 
[2026-06-23 22:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":111243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:00:02] local.INFO: GPS data processed {"connection_id":111243,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:00:02] local.INFO: Acknowledgment sent {"connection_id":111243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:00:07] local.INFO: TCP Data received {"connection_id":111243,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54e9748012d196600071ff1c8003f013122..."} 
[2026-06-23 22:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54e9748012d196600071ff1c8003f013122..."} 
[2026-06-23 22:00:07] local.INFO: Processing buffer {"connection_id":111243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54e9748012d196600071ff1c8003f013122..."} 
[2026-06-23 22:00:07] local.INFO: Packet analysis {"connection_id":111243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 22:00:07] local.INFO: Extracted packet for processing {"connection_id":111243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 22:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534024,"longitude_deg":75.6639232,"latitude_deg":11.9534024,"altitude":63,"angle":305,"satellites":34,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c8","is_valid_coordinates":true} 
[2026-06-23 22:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251398912001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103400448,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782232029000,"timestamp_ms":1782232029000,"timestamp_seconds":1782232029,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54e9748"} 
[2026-06-23 22:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:00:07] 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-06-23 22:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251398912001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830994754103400448},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251398912001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103400448,"description":"Unknown IO ID 45"} 
[2026-06-23 22:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251398912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103400448}} 
[2026-06-23 22:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":111243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:00:07] local.INFO: GPS data processed {"connection_id":111243,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:00:07] local.INFO: Acknowledgment sent {"connection_id":111243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:00:28] local.INFO: TCP Data received {"connection_id":111244,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:00:28] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:00:28] local.INFO: IMEI packet received {"connection_id":111244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":111244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:00:30] local.INFO: TCP Data received {"connection_id":111244,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:00:30] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:00:30] local.INFO: IMEI packet received {"connection_id":111244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":111244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:00:31] local.INFO: TCP Data received {"connection_id":112057,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:00:31] local.INFO: Processing buffer {"connection_id":112057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:00:31] local.INFO: IMEI packet received {"connection_id":112057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":112057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:00:31] local.INFO: TCP Data received {"connection_id":111244,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5506c08012d083ac006f5f0f80012008a2c..."} 
[2026-06-23 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5506c08012d083ac006f5f0f80012008a2c..."} 
[2026-06-23 22:00:31] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5506c08012d083ac006f5f0f80012008a2c..."} 
[2026-06-23 22:00:31] local.INFO: Packet analysis {"connection_id":111244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:00:31] local.INFO: Extracted packet for processing {"connection_id":111244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":755514048,"raw_latitude":116781304,"longitude_deg":75.5514048,"latitude_deg":11.6781304,"altitude":18,"angle":138,"satellites":44,"speed":34,"hex_longitude":"2d083ac0","hex_latitude":"06f5f0f8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251427072001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321895051372265472,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":585890193920911360,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782232149000,"timestamp_ms":1782232149000,"timestamp_seconds":1782232149,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5506c08"} 
[2026-06-23 22:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:00:31] 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-06-23 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:00:31] 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-06-23 22: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-06-23 22:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251427072001,"66":27050,"69":206,"2":56576,"24":34,"16":321895051372265472,"45":585890193920911360},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 22:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251427072001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 22:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321895051372265472,"km_value":321895051372265.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":585890193920911360,"description":"Unknown IO ID 45"} 
[2026-06-23 22:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251427072001,"power":27050,"unknown_69":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":585890193920911360}} 
[2026-06-23 22:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":111244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:00:31] local.INFO: GPS data processed {"connection_id":111244,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:00:31] local.INFO: Acknowledgment sent {"connection_id":111244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:00:33] local.INFO: TCP Data received {"connection_id":111244,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5509700012d08520006f5d3b80013008e2d..."} 
[2026-06-23 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5509700012d08520006f5d3b80013008e2d..."} 
[2026-06-23 22:00:33] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5509700012d08520006f5d3b80013008e2d..."} 
[2026-06-23 22:00:33] local.INFO: Packet analysis {"connection_id":111244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:00:33] local.INFO: Extracted packet for processing {"connection_id":111244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:00:33] local.INFO: GPS Element Parsed {"raw_longitude":755520000,"raw_latitude":116773816,"longitude_deg":75.552,"latitude_deg":11.6773816,"altitude":19,"angle":142,"satellites":45,"speed":36,"hex_longitude":"2d085200","hex_latitude":"06f5d3b8","is_valid_coordinates":true} 
[2026-06-23 22:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251430144001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321895510933766144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":592997437081188352,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782232160000,"timestamp_ms":1782232160000,"timestamp_seconds":1782232160,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5509700"} 
[2026-06-23 22:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:00:33] 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-06-23 22:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-23 22:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251430144001,"66":27365,"69":206,"2":56576,"24":36,"16":321895510933766144,"45":592997437081188352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 22:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251430144001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:00:33] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 22:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321895510933766144,"km_value":321895510933766.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":592997437081188352,"description":"Unknown IO ID 45"} 
[2026-06-23 22:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251430144001,"power":27365,"unknown_69":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":592997437081188352}} 
[2026-06-23 22:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":111244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:00:33] local.INFO: GPS data processed {"connection_id":111244,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:00:33] local.INFO: Acknowledgment sent {"connection_id":111244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:00:52] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:52] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:52] local.INFO: IMEI packet received {"connection_id":111245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":111245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:00:57] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:57] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:00:57] local.INFO: IMEI packet received {"connection_id":111245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":111245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:00:57] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54ee950012d196600071ff1c0003f013126..."} 
[2026-06-23 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54ee950012d196600071ff1c0003f013126..."} 
[2026-06-23 22:00:57] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54ee950012d196600071ff1c0003f013126..."} 
[2026-06-23 22:00:57] local.INFO: Packet analysis {"connection_id":111245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 22:00:57] local.INFO: Extracted packet for processing {"connection_id":111245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54e"} 
[2026-06-23 22:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251399424001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173395456,"note":"Value kept but may cause issues"} 
[2026-06-23 22:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232050000,"timestamp_ms":1782232050000,"timestamp_seconds":1782232050,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54ee950"} 
[2026-06-23 22:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:00:57] 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-06-23 22:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251399424001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173395456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251399424001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:00:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173395456,"description":"Unknown IO ID 45"} 
[2026-06-23 22:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251399424001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173395456}} 
[2026-06-23 22:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":111245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:00:57] local.INFO: GPS data processed {"connection_id":111245,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:00:57] local.INFO: Acknowledgment sent {"connection_id":111245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:01:05] local.INFO: TCP Data received {"connection_id":111244,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef550be10012d0868c006f5b520001300902d..."} 
[2026-06-23 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef550be10012d0868c006f5b520001300902d..."} 
[2026-06-23 22:01:05] local.INFO: Processing buffer {"connection_id":111244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef550be10012d0868c006f5b520001300902d..."} 
[2026-06-23 22:01:05] local.INFO: Packet analysis {"connection_id":111244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:01:05] local.INFO: Extracted packet for processing {"connection_id":111244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":755525824,"raw_latitude":116765984,"longitude_deg":75.5525824,"latitude_deg":11.6765984,"altitude":19,"angle":144,"satellites":45,"speed":42,"hex_longitude":"2d0868c0","hex_latitude":"06f5b520","is_valid_coordinates":true} 
[2026-06-23 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251432960001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321895983380168704,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":599541730287794176,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782232170000,"timestamp_ms":1782232170000,"timestamp_seconds":1782232170,"priority":1,"record_length":96,"hex_timestamp":"0000019ef550be10"} 
[2026-06-23 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:01: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-06-23 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251432960001,"66":27376,"69":206,"2":56576,"24":42,"16":321895983380168704,"45":599541730287794176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251432960001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321895983380168704,"km_value":321895983380168.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":599541730287794176,"description":"Unknown IO ID 45"} 
[2026-06-23 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251432960001,"power":27376,"unknown_69":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":599541730287794176}} 
[2026-06-23 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":111244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:01:05] local.INFO: GPS data processed {"connection_id":111244,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:01:05] local.INFO: Acknowledgment sent {"connection_id":111244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:01:11] local.INFO: TCP Data received {"connection_id":112058,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:01:11] local.INFO: Processing buffer {"connection_id":112058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:01:11] local.INFO: IMEI packet received {"connection_id":112058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":112058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:01:23] local.INFO: TCP Data received {"connection_id":112059,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:01:23] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:01:23] local.INFO: IMEI packet received {"connection_id":112059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":112059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:01:28] local.INFO: TCP Data received {"connection_id":112059,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:01:28] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:01:28] local.INFO: IMEI packet received {"connection_id":112059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":112059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:01:28] local.INFO: TCP Data received {"connection_id":111245,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54f3b58012d196600071ff1c0003f013125..."} 
[2026-06-23 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54f3b58012d196600071ff1c0003f013125..."} 
[2026-06-23 22:01:28] local.INFO: Processing buffer {"connection_id":111245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54f3b58012d196600071ff1c0003f013125..."} 
[2026-06-23 22:01:28] local.INFO: Packet analysis {"connection_id":111245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54f"} 
[2026-06-23 22:01:28] local.INFO: Extracted packet for processing {"connection_id":111245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54f"} 
[2026-06-23 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251404800001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232071000,"timestamp_ms":1782232071000,"timestamp_seconds":1782232071,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54f3b58"} 
[2026-06-23 22:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:01:28] 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-06-23 22: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-06-23 22:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251404800001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251404800001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251404800001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":111245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:01:29] local.INFO: GPS data processed {"connection_id":111245,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:01:29] local.INFO: Acknowledgment sent {"connection_id":111245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:01:29] local.INFO: TCP Data received {"connection_id":112059,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef550dd50012d087e0006f597a0001200902d..."} 
[2026-06-23 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef550dd50012d087e0006f597a0001200902d..."} 
[2026-06-23 22:01:29] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef550dd50012d087e0006f597a0001200902d..."} 
[2026-06-23 22:01:29] local.INFO: Packet analysis {"connection_id":112059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:01:29] local.INFO: Extracted packet for processing {"connection_id":112059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:01:29] local.INFO: GPS Element Parsed {"raw_longitude":755531264,"raw_latitude":116758432,"longitude_deg":75.5531264,"latitude_deg":11.6758432,"altitude":18,"angle":144,"satellites":45,"speed":51,"hex_longitude":"2d087e00","hex_latitude":"06f597a0","is_valid_coordinates":true} 
[2026-06-23 22:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251435520001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321896430056767488,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":605945286005956608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782232178000,"timestamp_ms":1782232178000,"timestamp_seconds":1782232178,"priority":1,"record_length":96,"hex_timestamp":"0000019ef550dd50"} 
[2026-06-23 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-06-23 22:01:30] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251435520001,"66":27376,"69":206,"2":56576,"24":51,"16":321896430056767488,"45":605945286005956608},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-23 22:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251435520001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:01:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-23 22:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321896430056767488,"km_value":321896430056767.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":605945286005956608,"description":"Unknown IO ID 45"} 
[2026-06-23 22:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251435520001,"power":27376,"unknown_69":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":605945286005956608}} 
[2026-06-23 22:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":112059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:01:30] local.INFO: GPS data processed {"connection_id":112059,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:01:30] local.INFO: Acknowledgment sent {"connection_id":112059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:01:52] local.INFO: TCP Data received {"connection_id":111246,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:01:52] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:01:52] local.INFO: IMEI packet received {"connection_id":111246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":111246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:01:57] local.INFO: TCP Data received {"connection_id":111246,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:01:57] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:01:57] local.INFO: IMEI packet received {"connection_id":111246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":111246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:01:57] local.INFO: TCP Data received {"connection_id":111246,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54f9148012d196600071ff1c0003f013123..."} 
[2026-06-23 22:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54f9148012d196600071ff1c0003f013123..."} 
[2026-06-23 22:01:57] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54f9148012d196600071ff1c0003f013123..."} 
[2026-06-23 22:01:57] local.INFO: Packet analysis {"connection_id":111246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54f"} 
[2026-06-23 22:01:57] local.INFO: Extracted packet for processing {"connection_id":111246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54f"} 
[2026-06-23 22:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251410176001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232093000,"timestamp_ms":1782232093000,"timestamp_seconds":1782232093,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54f9148"} 
[2026-06-23 22:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:01:57] 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-06-23 22:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251410176001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251410176001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:01:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251410176001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":111246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:01:57] local.INFO: GPS data processed {"connection_id":111246,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:01:57] local.INFO: Acknowledgment sent {"connection_id":111246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:02:01] local.INFO: TCP Data received {"connection_id":112059,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5522188012d092fc006f4b750000c008f2d..."} 
[2026-06-23 22:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5522188012d092fc006f4b750000c008f2d..."} 
[2026-06-23 22:02:01] local.INFO: Processing buffer {"connection_id":112059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5522188012d092fc006f4b750000c008f2d..."} 
[2026-06-23 22:02:01] local.INFO: Packet analysis {"connection_id":112059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:02:01] local.INFO: Extracted packet for processing {"connection_id":112059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:02:01] local.INFO: GPS Element Parsed {"raw_longitude":755576768,"raw_latitude":116701008,"longitude_deg":75.5576768,"latitude_deg":11.6701008,"altitude":12,"angle":143,"satellites":45,"speed":43,"hex_longitude":"2d092fc0","hex_latitude":"06f4b750","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251456512001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321899994879623168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":655695988124874752,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782232261000,"timestamp_ms":1782232261000,"timestamp_seconds":1782232261,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5522188"} 
[2026-06-23 22:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:02:01] 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-06-23 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251456512001,"66":27343,"67":206,"2":56576,"24":43,"16":321899994879623168,"45":655695988124874752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-23 22:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251456512001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-23 22:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321899994879623168,"km_value":321899994879623.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":655695988124874752,"description":"Unknown IO ID 45"} 
[2026-06-23 22:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251456512001,"power":27343,"unknown_67":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":655695988124874752}} 
[2026-06-23 22:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":112059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:02:01] local.INFO: GPS data processed {"connection_id":112059,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:02:01] local.INFO: Acknowledgment sent {"connection_id":112059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:02:23] local.INFO: TCP Data received {"connection_id":111248,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:02:23] local.INFO: Processing buffer {"connection_id":111248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:02:23] local.INFO: IMEI packet received {"connection_id":111248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:02:28] local.INFO: TCP Data received {"connection_id":111248,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:02:28] local.INFO: Processing buffer {"connection_id":111248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:02:28] local.INFO: IMEI packet received {"connection_id":111248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":111248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:02:28] local.INFO: TCP Data received {"connection_id":111246,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef54fe350012d196600071ff1c0003f013126..."} 
[2026-06-23 22:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef54fe350012d196600071ff1c0003f013126..."} 
[2026-06-23 22:02:28] local.INFO: Processing buffer {"connection_id":111246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef54fe350012d196600071ff1c0003f013126..."} 
[2026-06-23 22:02:28] local.INFO: Packet analysis {"connection_id":111246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef54f"} 
[2026-06-23 22:02:28] local.INFO: Extracted packet for processing {"connection_id":111246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef54f"} 
[2026-06-23 22:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:02: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-06-23 22:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251415808001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232114000,"timestamp_ms":1782232114000,"timestamp_seconds":1782232114,"priority":1,"record_length":96,"hex_timestamp":"0000019ef54fe350"} 
[2026-06-23 22:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:02: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:02:28] 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-06-23 22:02: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-06-23 22:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251415808001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251415808001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:02:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251415808001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:02:29] local.INFO: GPS data processed {"connection_id":111246,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:02:29] local.INFO: Acknowledgment sent {"connection_id":111246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:02:31] local.INFO: TCP Data received {"connection_id":111248,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55240c8012d09454006f49a38000c00922b..."} 
[2026-06-23 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55240c8012d09454006f49a38000c00922b..."} 
[2026-06-23 22:02:31] local.INFO: Processing buffer {"connection_id":111248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55240c8012d09454006f49a38000c00922b..."} 
[2026-06-23 22:02:31] local.INFO: Packet analysis {"connection_id":111248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:02:31] local.INFO: Extracted packet for processing {"connection_id":111248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:02:31] local.INFO: GPS Element Parsed {"raw_longitude":755582272,"raw_latitude":116693560,"longitude_deg":75.5582272,"latitude_deg":11.669356,"altitude":12,"angle":146,"satellites":43,"speed":48,"hex_longitude":"2d094540","hex_latitude":"06f49a38","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251458816001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321900437261254656,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":661958806354743296,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782232269000,"timestamp_ms":1782232269000,"timestamp_seconds":1782232269,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55240c8"} 
[2026-06-23 22:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:02:31] 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-06-23 22:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:02:31] 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-06-23 22: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-06-23 22:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251458816001,"66":27397,"67":206,"2":56576,"24":48,"16":321900437261254656,"45":661958806354743296},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-23 22:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251458816001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:02:31] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-23 22:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321900437261254656,"km_value":321900437261254.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":661958806354743296,"description":"Unknown IO ID 45"} 
[2026-06-23 22:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251458816001,"power":27397,"unknown_67":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":661958806354743296}} 
[2026-06-23 22:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":111248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:02:31] local.INFO: GPS data processed {"connection_id":111248,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:02:31] local.INFO: Acknowledgment sent {"connection_id":111248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:02:52] local.INFO: TCP Data received {"connection_id":111420,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:02:52] local.INFO: Processing buffer {"connection_id":111420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:02:52] local.INFO: IMEI packet received {"connection_id":111420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":111420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:02:57] local.INFO: TCP Data received {"connection_id":111420,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:02:57] local.INFO: Processing buffer {"connection_id":111420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:02:57] local.INFO: IMEI packet received {"connection_id":111420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":111420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:02:57] local.INFO: TCP Data received {"connection_id":111420,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5503558012d196600071ff1c0003f013127..."} 
[2026-06-23 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5503558012d196600071ff1c0003f013127..."} 
[2026-06-23 22:02:57] local.INFO: Processing buffer {"connection_id":111420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5503558012d196600071ff1c0003f013127..."} 
[2026-06-23 22:02:57] local.INFO: Packet analysis {"connection_id":111420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:02:57] local.INFO: Extracted packet for processing {"connection_id":111420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251421184001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232135000,"timestamp_ms":1782232135000,"timestamp_seconds":1782232135,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5503558"} 
[2026-06-23 22:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:02:57] 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-06-23 22:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251421184001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251421184001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251421184001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":111420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:02:58] local.INFO: GPS data processed {"connection_id":111420,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:02:58] local.INFO: Acknowledgment sent {"connection_id":111420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:03:03] local.INFO: TCP Data received {"connection_id":111248,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5526008012d09574006f477d8000d009c2d..."} 
[2026-06-23 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5526008012d09574006f477d8000d009c2d..."} 
[2026-06-23 22:03:03] local.INFO: Processing buffer {"connection_id":111248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5526008012d09574006f477d8000d009c2d..."} 
[2026-06-23 22:03:03] local.INFO: Packet analysis {"connection_id":111248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:03:03] local.INFO: Extracted packet for processing {"connection_id":111248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755586880,"raw_latitude":116684760,"longitude_deg":75.558688,"latitude_deg":11.668476,"altitude":13,"angle":156,"satellites":45,"speed":50,"hex_longitude":"2d095740","hex_latitude":"06f477d8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251460864001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321900918297591808,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":668010518352115712,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782232277000,"timestamp_ms":1782232277000,"timestamp_seconds":1782232277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5526008"} 
[2026-06-23 22:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:03:03] 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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251460864001,"66":26963,"67":206,"2":56576,"24":50,"16":321900918297591808,"45":668010518352115712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-23 22:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251460864001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:03:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-23 22:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321900918297591808,"km_value":321900918297591.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":668010518352115712,"description":"Unknown IO ID 45"} 
[2026-06-23 22:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251460864001,"power":26963,"unknown_67":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":668010518352115712}} 
[2026-06-23 22:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":111248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:03:03] local.INFO: GPS data processed {"connection_id":111248,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:03:03] local.INFO: Acknowledgment sent {"connection_id":111248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:03:25] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:03:25] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:03:25] local.INFO: IMEI packet received {"connection_id":111249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":111249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:03:28] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:03:28] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:03:28] local.INFO: IMEI packet received {"connection_id":111249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":111249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:03:29] local.INFO: TCP Data received {"connection_id":111420,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5508760012d196600071ff1c0003f013124..."} 
[2026-06-23 22:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5508760012d196600071ff1c0003f013124..."} 
[2026-06-23 22:03:29] local.INFO: Processing buffer {"connection_id":111420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5508760012d196600071ff1c0003f013124..."} 
[2026-06-23 22:03:29] local.INFO: Packet analysis {"connection_id":111420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:03:29] local.INFO: Extracted packet for processing {"connection_id":111420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251426560001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782232156000,"timestamp_ms":1782232156000,"timestamp_seconds":1782232156,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5508760"} 
[2026-06-23 22:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:03:29] 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-06-23 22:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251426560001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251426560001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251426560001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":111420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:03:29] local.INFO: GPS data processed {"connection_id":111420,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:03:29] local.INFO: Acknowledgment sent {"connection_id":111420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:03:34] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5527b60012d09628006f45610000d00a42e..."} 
[2026-06-23 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5527b60012d09628006f45610000d00a42e..."} 
[2026-06-23 22:03:34] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5527b60012d09628006f45610000d00a42e..."} 
[2026-06-23 22:03:34] local.INFO: Packet analysis {"connection_id":111249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:03:34] local.INFO: Extracted packet for processing {"connection_id":111249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":755589760,"raw_latitude":116676112,"longitude_deg":75.558976,"latitude_deg":11.6676112,"altitude":13,"angle":164,"satellites":46,"speed":53,"hex_longitude":"2d096280","hex_latitude":"06f45610","is_valid_coordinates":true} 
[2026-06-23 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251462912001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321901360679223296,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":673077067930654720,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782232284000,"timestamp_ms":1782232284000,"timestamp_seconds":1782232284,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5527b60"} 
[2026-06-23 22:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:03: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-06-23 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 22:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251462912001,"66":27397,"67":206,"2":56576,"24":53,"16":321901360679223296,"45":673077067930654720},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-23 22:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251462912001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-23 22:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321901360679223296,"km_value":321901360679223.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":673077067930654720,"description":"Unknown IO ID 45"} 
[2026-06-23 22:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251462912001,"power":27397,"unknown_67":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":673077067930654720}} 
[2026-06-23 22:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":111249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:03:34] local.INFO: GPS data processed {"connection_id":111249,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:03:34] local.INFO: Acknowledgment sent {"connection_id":111249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:03:38] local.INFO: TCP Data received {"connection_id":111249,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55296b8012d096c8006f43240000d00a42e..."} 
[2026-06-23 22:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55296b8012d096c8006f43240000d00a42e..."} 
[2026-06-23 22:03:38] local.INFO: Processing buffer {"connection_id":111249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55296b8012d096c8006f43240000d00a42e..."} 
[2026-06-23 22:03:38] local.INFO: Packet analysis {"connection_id":111249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:03:38] local.INFO: Extracted packet for processing {"connection_id":111249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef552"} 
[2026-06-23 22:03:38] local.INFO: GPS Element Parsed {"raw_longitude":755592320,"raw_latitude":116666944,"longitude_deg":75.559232,"latitude_deg":11.6666944,"altitude":13,"angle":164,"satellites":46,"speed":54,"hex_longitude":"2d096c80","hex_latitude":"06f43240","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251464704001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321901820240723968,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":676243661416435712,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782232291000,"timestamp_ms":1782232291000,"timestamp_seconds":1782232291,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55296b8"} 
[2026-06-23 22:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:03: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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251464704001,"66":27463,"67":206,"2":56576,"24":54,"16":321901820240723968,"45":676243661416435712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-23 22:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251464704001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:03:38] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-23 22:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321901820240723968,"km_value":321901820240723.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":676243661416435712,"description":"Unknown IO ID 45"} 
[2026-06-23 22:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251464704001,"power":27463,"unknown_67":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":676243661416435712}} 
[2026-06-23 22:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":111249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:03:38] local.INFO: GPS data processed {"connection_id":111249,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:03:38] local.INFO: Acknowledgment sent {"connection_id":111249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:03:51] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:03:51] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:03:51] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:03:57] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:03:57] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:03:57] local.INFO: IMEI packet received {"connection_id":111250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":111250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:03:57] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef550d968012d196600071ff1c0003f013121..."} 
[2026-06-23 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef550d968012d196600071ff1c0003f013121..."} 
[2026-06-23 22:03:57] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef550d968012d196600071ff1c0003f013121..."} 
[2026-06-23 22:03:57] local.INFO: Packet analysis {"connection_id":111250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:03:57] local.INFO: Extracted packet for processing {"connection_id":111250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef550"} 
[2026-06-23 22:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251431936001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232177000,"timestamp_ms":1782232177000,"timestamp_seconds":1782232177,"priority":1,"record_length":96,"hex_timestamp":"0000019ef550d968"} 
[2026-06-23 22:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:03:57] 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-06-23 22:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251431936001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251431936001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:03:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251431936001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":111250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:03:57] local.INFO: GPS data processed {"connection_id":111250,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:03:57] local.INFO: Acknowledgment sent {"connection_id":111250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:04:28] local.INFO: TCP Data received {"connection_id":112985,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:04:28] local.INFO: Processing buffer {"connection_id":112985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:04:28] local.INFO: IMEI packet received {"connection_id":112985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":112985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:04:28] local.INFO: TCP Data received {"connection_id":111250,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5512b70012d196600071ff1c0003f013123..."} 
[2026-06-23 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5512b70012d196600071ff1c0003f013123..."} 
[2026-06-23 22:04:28] local.INFO: Processing buffer {"connection_id":111250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5512b70012d196600071ff1c0003f013123..."} 
[2026-06-23 22:04:28] local.INFO: Packet analysis {"connection_id":111250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef551"} 
[2026-06-23 22:04:28] local.INFO: Extracted packet for processing {"connection_id":111250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef551"} 
[2026-06-23 22:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251437312001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232198000,"timestamp_ms":1782232198000,"timestamp_seconds":1782232198,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5512b70"} 
[2026-06-23 22:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:04:28] 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-06-23 22: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-06-23 22:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251437312001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251437312001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251437312001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":111250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:04:28] local.INFO: GPS data processed {"connection_id":111250,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:04:28] local.INFO: Acknowledgment sent {"connection_id":111250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:04:29] local.INFO: TCP Data received {"connection_id":112985,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:04:29] local.INFO: Processing buffer {"connection_id":112985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:04:29] local.INFO: IMEI packet received {"connection_id":112985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":112985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:04:30] local.INFO: TCP Data received {"connection_id":112985,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5544080012d09ab8006f2f910001400ae2a..."} 
[2026-06-23 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5544080012d09ab8006f2f910001400ae2a..."} 
[2026-06-23 22:04:30] local.INFO: Processing buffer {"connection_id":112985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5544080012d09ab8006f2f910001400ae2a..."} 
[2026-06-23 22:04:30] local.INFO: Packet analysis {"connection_id":112985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:04:30] local.INFO: Extracted packet for processing {"connection_id":112985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:04:30] local.INFO: GPS Element Parsed {"raw_longitude":755608448,"raw_latitude":116586768,"longitude_deg":75.5608448,"latitude_deg":11.6586768,"altitude":20,"angle":174,"satellites":42,"speed":48,"hex_longitude":"2d09ab80","hex_latitude":"06f2f910","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251492096001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321905801675407360,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695876541021681664,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782232400000,"timestamp_ms":1782232400000,"timestamp_seconds":1782232400,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5544080"} 
[2026-06-23 22:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:04:30] 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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251492096001,"66":27397,"119":206,"2":56576,"24":48,"16":321905801675407360,"45":695876541021681664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251492096001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:04:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321905801675407360,"km_value":321905801675407.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":695876541021681664,"description":"Unknown IO ID 45"} 
[2026-06-23 22:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251492096001,"power":27397,"unknown_119":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":695876541021681664}} 
[2026-06-23 22:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":112985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:04:31] local.INFO: GPS data processed {"connection_id":112985,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:04:31] local.INFO: Acknowledgment sent {"connection_id":112985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:04:51] local.INFO: TCP Data received {"connection_id":111421,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:04:51] local.INFO: Processing buffer {"connection_id":111421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:04:51] local.INFO: IMEI packet received {"connection_id":111421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":111421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:04:57] local.INFO: TCP Data received {"connection_id":111421,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:04:57] local.INFO: Processing buffer {"connection_id":111421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:04:57] local.INFO: IMEI packet received {"connection_id":111421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":111421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:04:57] local.INFO: TCP Data received {"connection_id":111421,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5517d78012d196600071ff1c0003f013123..."} 
[2026-06-23 22:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5517d78012d196600071ff1c0003f013123..."} 
[2026-06-23 22:04:57] local.INFO: Processing buffer {"connection_id":111421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5517d78012d196600071ff1c0003f013123..."} 
[2026-06-23 22:04:57] local.INFO: Packet analysis {"connection_id":111421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef551"} 
[2026-06-23 22:04:57] local.INFO: Extracted packet for processing {"connection_id":111421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef551"} 
[2026-06-23 22:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251442688001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232219000,"timestamp_ms":1782232219000,"timestamp_seconds":1782232219,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5517d78"} 
[2026-06-23 22:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:04:57] 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-06-23 22:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251442688001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251442688001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251442688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":111421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:04:57] local.INFO: GPS data processed {"connection_id":111421,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:04:57] local.INFO: Acknowledgment sent {"connection_id":111421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:05:03] local.INFO: TCP Data received {"connection_id":112985,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5545fc0012d09ae8006f2d3b0001200ae2b..."} 
[2026-06-23 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5545fc0012d09ae8006f2d3b0001200ae2b..."} 
[2026-06-23 22:05:03] local.INFO: Processing buffer {"connection_id":112985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5545fc0012d09ae8006f2d3b0001200ae2b..."} 
[2026-06-23 22:05:03] local.INFO: Packet analysis {"connection_id":112985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:05:03] local.INFO: Extracted packet for processing {"connection_id":112985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:05:03] local.INFO: GPS Element Parsed {"raw_longitude":755609216,"raw_latitude":116577200,"longitude_deg":75.5609216,"latitude_deg":11.65772,"altitude":18,"angle":174,"satellites":43,"speed":45,"hex_longitude":"2d09ae80","hex_latitude":"06f2d3b0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251494400001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321906265531875328,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696791334693441536,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782232408000,"timestamp_ms":1782232408000,"timestamp_seconds":1782232408,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5545fc0"} 
[2026-06-23 22:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:05:03] 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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251494400001,"66":27365,"119":206,"2":56576,"24":45,"16":321906265531875328,"45":696791334693441536},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251494400001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:05:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321906265531875328,"km_value":321906265531875.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":696791334693441536,"description":"Unknown IO ID 45"} 
[2026-06-23 22:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251494400001,"power":27365,"unknown_119":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":696791334693441536}} 
[2026-06-23 22:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":112985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:05:03] local.INFO: GPS data processed {"connection_id":112985,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:05:03] local.INFO: Acknowledgment sent {"connection_id":112985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:05:23] local.INFO: TCP Data received {"connection_id":111422,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:05:23] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:05:23] local.INFO: IMEI packet received {"connection_id":111422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":111422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:05:27] local.INFO: TCP Data received {"connection_id":111422,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:05:27] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:05:27] local.INFO: IMEI packet received {"connection_id":111422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":111422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:05:28] local.INFO: TCP Data received {"connection_id":111421,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef551cf80012d196600071ff1c0003f013123..."} 
[2026-06-23 22:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef551cf80012d196600071ff1c0003f013123..."} 
[2026-06-23 22:05:28] local.INFO: Processing buffer {"connection_id":111421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef551cf80012d196600071ff1c0003f013123..."} 
[2026-06-23 22:05:28] local.INFO: Packet analysis {"connection_id":111421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef551"} 
[2026-06-23 22:05:28] local.INFO: Extracted packet for processing {"connection_id":111421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef551"} 
[2026-06-23 22:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":35,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251448064001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232240000,"timestamp_ms":1782232240000,"timestamp_seconds":1782232240,"priority":1,"record_length":96,"hex_timestamp":"0000019ef551cf80"} 
[2026-06-23 22:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:05:28] 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-06-23 22: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-06-23 22:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251448064001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251448064001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251448064001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":111421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:05:29] local.INFO: GPS data processed {"connection_id":111421,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:05:29] local.INFO: Acknowledgment sent {"connection_id":111421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:05:29] local.INFO: TCP Data received {"connection_id":111422,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5547730012d09b24006f2bce8001000a02b..."} 
[2026-06-23 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5547730012d09b24006f2bce8001000a02b..."} 
[2026-06-23 22:05:29] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5547730012d09b24006f2bce8001000a02b..."} 
[2026-06-23 22:05:29] local.INFO: Packet analysis {"connection_id":111422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:05:29] local.INFO: Extracted packet for processing {"connection_id":111422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:05:29] local.INFO: GPS Element Parsed {"raw_longitude":755610176,"raw_latitude":116571368,"longitude_deg":75.5610176,"latitude_deg":11.6571368,"altitude":16,"angle":160,"satellites":43,"speed":26,"hex_longitude":"2d09b240","hex_latitude":"06f2bce8","is_valid_coordinates":true} 
[2026-06-23 22:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251496448001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321906553294684160,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697635759621124096,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782232414000,"timestamp_ms":1782232414000,"timestamp_seconds":1782232414,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5547730"} 
[2026-06-23 22:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:05:29] 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-06-23 22:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251496448001,"66":27234,"119":206,"2":56576,"24":26,"16":321906553294684160,"45":697635759621124096},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251496448001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:05:29] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321906553294684160,"km_value":321906553294684.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":697635759621124096,"description":"Unknown IO ID 45"} 
[2026-06-23 22:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251496448001,"power":27234,"unknown_119":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":697635759621124096}} 
[2026-06-23 22:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":111422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:05:29] local.INFO: GPS data processed {"connection_id":111422,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:05:29] local.INFO: Acknowledgment sent {"connection_id":111422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:05:51] local.INFO: TCP Data received {"connection_id":112062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:05:51] local.INFO: Processing buffer {"connection_id":112062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:05:51] local.INFO: IMEI packet received {"connection_id":112062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":112062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:05:57] local.INFO: TCP Data received {"connection_id":112062,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:05:57] local.INFO: Processing buffer {"connection_id":112062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:05:57] local.INFO: IMEI packet received {"connection_id":112062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":112062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:05:57] local.INFO: TCP Data received {"connection_id":112062,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55555d8012d196600071ff1c0003f013126..."} 
[2026-06-23 22:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55555d8012d196600071ff1c0003f013126..."} 
[2026-06-23 22:05:57] local.INFO: Processing buffer {"connection_id":112062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55555d8012d196600071ff1c0003f013126..."} 
[2026-06-23 22:05:57] local.INFO: Packet analysis {"connection_id":112062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:05:57] local.INFO: Extracted packet for processing {"connection_id":112062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:05: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-06-23 22:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251507200001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232471000,"timestamp_ms":1782232471000,"timestamp_seconds":1782232471,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55555d8"} 
[2026-06-23 22:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:05:57] 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-06-23 22:05: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-06-23 22:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251507200001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251507200001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:05:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251507200001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":112062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:05:57] local.INFO: GPS data processed {"connection_id":112062,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:05:57] local.INFO: Acknowledgment sent {"connection_id":112062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:06:02] local.INFO: TCP Data received {"connection_id":111422,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5548ab8012d09b58006f2b1f8000d00ae2b..."} 
[2026-06-23 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5548ab8012d09b58006f2b1f8000d00ae2b..."} 
[2026-06-23 22:06:02] local.INFO: Processing buffer {"connection_id":111422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5548ab8012d09b58006f2b1f8000d00ae2b..."} 
[2026-06-23 22:06:02] local.INFO: Packet analysis {"connection_id":111422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:06:02] local.INFO: Extracted packet for processing {"connection_id":111422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:06:02] local.INFO: GPS Element Parsed {"raw_longitude":755611008,"raw_latitude":116568568,"longitude_deg":75.5611008,"latitude_deg":11.6568568,"altitude":13,"angle":174,"satellites":43,"speed":26,"hex_longitude":"2d09b580","hex_latitude":"06f2b1f8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251497984001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321906699323572224,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698691290782296064,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782232419000,"timestamp_ms":1782232419000,"timestamp_seconds":1782232419,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5548ab8"} 
[2026-06-23 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-06-23 22:06:02] 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-06-23 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 22:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251497984001,"66":27517,"119":206,"2":56576,"24":26,"16":321906699323572224,"45":698691290782296064},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251497984001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:06:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321906699323572224,"km_value":321906699323572.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":698691290782296064,"description":"Unknown IO ID 45"} 
[2026-06-23 22:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251497984001,"power":27517,"unknown_119":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":698691290782296064}} 
[2026-06-23 22:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":111422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:06:02] local.INFO: GPS data processed {"connection_id":111422,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:06:02] local.INFO: Acknowledgment sent {"connection_id":111422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:06:23] local.INFO: TCP Data received {"connection_id":112987,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:06:23] local.INFO: Processing buffer {"connection_id":112987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:06:23] local.INFO: IMEI packet received {"connection_id":112987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":112987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:06:28] local.INFO: TCP Data received {"connection_id":112987,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:06:28] local.INFO: Processing buffer {"connection_id":112987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:06:28] local.INFO: IMEI packet received {"connection_id":112987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":112987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:06:28] local.INFO: TCP Data received {"connection_id":112062,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef555a7e0012d196600071ff1c0003f013127..."} 
[2026-06-23 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef555a7e0012d196600071ff1c0003f013127..."} 
[2026-06-23 22:06:28] local.INFO: Processing buffer {"connection_id":112062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef555a7e0012d196600071ff1c0003f013127..."} 
[2026-06-23 22:06:28] local.INFO: Packet analysis {"connection_id":112062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:06:28] local.INFO: Extracted packet for processing {"connection_id":112062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251512576001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232492000,"timestamp_ms":1782232492000,"timestamp_seconds":1782232492,"priority":1,"record_length":96,"hex_timestamp":"0000019ef555a7e0"} 
[2026-06-23 22:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:06:28] 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-06-23 22:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251512576001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251512576001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251512576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":112062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:06:28] local.INFO: GPS data processed {"connection_id":112062,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:06:28] local.INFO: Acknowledgment sent {"connection_id":112062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:06:30] local.INFO: TCP Data received {"connection_id":112987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef554b998012d09bc0006f28f20000a00a62b..."} 
[2026-06-23 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef554b998012d09bc0006f28f20000a00a62b..."} 
[2026-06-23 22:06:30] local.INFO: Processing buffer {"connection_id":112987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef554b998012d09bc0006f28f20000a00a62b..."} 
[2026-06-23 22:06:30] local.INFO: Packet analysis {"connection_id":112987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:06:30] local.INFO: Extracted packet for processing {"connection_id":112987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:06:30] local.INFO: GPS Element Parsed {"raw_longitude":755612672,"raw_latitude":116559648,"longitude_deg":75.5612672,"latitude_deg":11.6559648,"altitude":10,"angle":166,"satellites":43,"speed":34,"hex_longitude":"2d09bc00","hex_latitude":"06f28f20","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251499264001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321907137410236416,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699606084455888896,"note":"Value kept but may cause issues"} 
[2026-06-23 22:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782232431000,"timestamp_ms":1782232431000,"timestamp_seconds":1782232431,"priority":1,"record_length":96,"hex_timestamp":"0000019ef554b998"} 
[2026-06-23 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-06-23 22:06:30] 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-06-23 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 22:06:30] 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-06-23 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-06-23 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-06-23 22:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251499264001,"66":27571,"119":206,"2":56576,"24":34,"16":321907137410236416,"45":699606084455888896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251499264001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:06:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321907137410236416,"km_value":321907137410236.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":699606084455888896,"description":"Unknown IO ID 45"} 
[2026-06-23 22:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251499264001,"power":27571,"unknown_119":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":699606084455888896}} 
[2026-06-23 22:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":112987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:06:30] local.INFO: GPS data processed {"connection_id":112987,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:06:30] local.INFO: Acknowledgment sent {"connection_id":112987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:06:41] local.INFO: TCP Data received {"connection_id":112986,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:06:41] local.INFO: Processing buffer {"connection_id":112986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:06:41] local.INFO: IMEI packet received {"connection_id":112986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":112986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:06:53] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:06:53] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:06:53] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:06:57] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:06:57] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:06:57] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:07:01] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:01] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:01] local.INFO: IMEI packet received {"connection_id":111252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":111252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:07:02] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef555f9e8012d196600071ff1c0003f013126..."} 
[2026-06-23 22:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef555f9e8012d196600071ff1c0003f013126..."} 
[2026-06-23 22:07:02] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef555f9e8012d196600071ff1c0003f013126..."} 
[2026-06-23 22:07:02] local.INFO: Packet analysis {"connection_id":111252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:07:02] local.INFO: Extracted packet for processing {"connection_id":111252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251517952001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782232513000,"timestamp_ms":1782232513000,"timestamp_seconds":1782232513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef555f9e8"} 
[2026-06-23 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-06-23 22:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:07: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-06-23 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-06-23 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-06-23 22:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251517952001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251517952001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:07:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251517952001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":111252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:07:02] local.INFO: GPS data processed {"connection_id":111252,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:07:02] local.INFO: Acknowledgment sent {"connection_id":111252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:07:03] local.INFO: TCP Data received {"connection_id":112987,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef554f818012d09c44006f26d28000900a62c..."} 
[2026-06-23 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef554f818012d09c44006f26d28000900a62c..."} 
[2026-06-23 22:07:03] local.INFO: Processing buffer {"connection_id":112987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef554f818012d09c44006f26d28000900a62c..."} 
[2026-06-23 22:07:03] local.INFO: Packet analysis {"connection_id":112987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:07:03] local.INFO: Extracted packet for processing {"connection_id":112987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef554"} 
[2026-06-23 22:07:03] local.INFO: GPS Element Parsed {"raw_longitude":755614784,"raw_latitude":116550952,"longitude_deg":75.5614784,"latitude_deg":11.6550952,"altitude":9,"angle":166,"satellites":44,"speed":18,"hex_longitude":"2d09c440","hex_latitude":"06f26d28","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251502336001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321907571201933312,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701435671802224640,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782232447000,"timestamp_ms":1782232447000,"timestamp_seconds":1782232447,"priority":1,"record_length":96,"hex_timestamp":"0000019ef554f818"} 
[2026-06-23 22:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:07:03] 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-06-23 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 22:07:03] 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-06-23 22: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-06-23 22:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251502336001,"66":27484,"119":206,"2":56576,"24":18,"16":321907571201933312,"45":701435671802224640},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251502336001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:07:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321907571201933312,"km_value":321907571201933.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":701435671802224640,"description":"Unknown IO ID 45"} 
[2026-06-23 22:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251502336001,"power":27484,"unknown_119":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":701435671802224640}} 
[2026-06-23 22:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":112987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:07:03] local.INFO: GPS data processed {"connection_id":112987,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:07:03] local.INFO: Acknowledgment sent {"connection_id":112987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:07:05] local.INFO: TCP Data received {"connection_id":112063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:07:05] local.INFO: Processing buffer {"connection_id":112063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:07:05] local.INFO: IMEI packet received {"connection_id":112063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":112063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:07:07] local.INFO: TCP Data received {"connection_id":111252,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5564808012d196600071ff1c0003f013127..."} 
[2026-06-23 22:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5564808012d196600071ff1c0003f013127..."} 
[2026-06-23 22:07:07] local.INFO: Processing buffer {"connection_id":111252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5564808012d196600071ff1c0003f013127..."} 
[2026-06-23 22:07:07] local.INFO: Packet analysis {"connection_id":111252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:07:07] local.INFO: Extracted packet for processing {"connection_id":111252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251523328001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782232533000,"timestamp_ms":1782232533000,"timestamp_seconds":1782232533,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5564808"} 
[2026-06-23 22:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:07:07] 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-06-23 22: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-06-23 22:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251523328001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251523328001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251523328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":111252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:07:07] local.INFO: GPS data processed {"connection_id":111252,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:07:07] local.INFO: Acknowledgment sent {"connection_id":111252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:07:32] local.INFO: TCP Data received {"connection_id":111253,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:07:32] local.INFO: Processing buffer {"connection_id":111253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:07:32] local.INFO: IMEI packet received {"connection_id":111253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":111253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:07:33] local.INFO: TCP Data received {"connection_id":111253,"ip":"117.225.209.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 22:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111253,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 22:07:33] local.INFO: Processing buffer {"connection_id":111253,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 22:07:33] local.INFO: IMEI packet received {"connection_id":111253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":111253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:07:38] local.INFO: TCP Data received {"connection_id":111253,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:07:38] local.INFO: Processing buffer {"connection_id":111253,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 22:07:38] local.INFO: IMEI packet received {"connection_id":111253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":111253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:07:41] local.INFO: TCP Data received {"connection_id":111253,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5554a20012d09cc0006f250b0000600a42c..."} 
[2026-06-23 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5554a20012d09cc0006f250b0000600a42c..."} 
[2026-06-23 22:07:41] local.INFO: Processing buffer {"connection_id":111253,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef5..."} 
[2026-06-23 22:07:41] local.INFO: IMEI packet received {"connection_id":111253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":111253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:07:43] local.INFO: TCP Data received {"connection_id":111253,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5559c28012d09d50006f22fe8000600a62b..."} 
[2026-06-23 22:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5559c28012d09d50006f22fe8000600a62b..."} 
[2026-06-23 22:07:43] local.INFO: Processing buffer {"connection_id":111253,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef5554a20012d09cc0006f250b0000600a42c..."} 
[2026-06-23 22:07:43] local.INFO: Packet analysis {"connection_id":111253,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:07:43] local.INFO: Extracted packet for processing {"connection_id":111253,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:07:43] local.INFO: GPS Element Parsed {"raw_longitude":755616768,"raw_latitude":116543664,"longitude_deg":75.5616768,"latitude_deg":11.6543664,"altitude":6,"angle":164,"satellites":44,"speed":10,"hex_longitude":"2d09cc00","hex_latitude":"06f250b0","is_valid_coordinates":true} 
[2026-06-23 22:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251506432001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321907936274153472,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703757840357861376,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782232468000,"timestamp_ms":1782232468000,"timestamp_seconds":1782232468,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5554a20"} 
[2026-06-23 22:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:07:43] 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-06-23 22:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251506432001,"66":27463,"119":206,"2":56576,"24":10,"16":321907936274153472,"45":703757840357861376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251506432001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:07:43] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321907936274153472,"km_value":321907936274153.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":703757840357861376,"description":"Unknown IO ID 45"} 
[2026-06-23 22:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251506432001,"power":27463,"unknown_119":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":703757840357861376}} 
[2026-06-23 22:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":111253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:07:43] local.INFO: GPS data processed {"connection_id":111253,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:07:43] local.INFO: Acknowledgment sent {"connection_id":111253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:07:43] local.INFO: Packet analysis {"connection_id":111253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:07:43] local.INFO: Extracted packet for processing {"connection_id":111253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:07:43] local.INFO: GPS Element Parsed {"raw_longitude":755619072,"raw_latitude":116535272,"longitude_deg":75.5619072,"latitude_deg":11.6535272,"altitude":6,"angle":166,"satellites":43,"speed":24,"hex_longitude":"2d09d500","hex_latitude":"06f22fe8","is_valid_coordinates":true} 
[2026-06-23 22:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251511808001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321908361475915776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705939271425503232,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782232489000,"timestamp_ms":1782232489000,"timestamp_seconds":1782232489,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5559c28"} 
[2026-06-23 22:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:07: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-06-23 22:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251511808001,"66":27321,"119":206,"2":56576,"24":24,"16":321908361475915776,"45":705939271425503232},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251511808001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:07:43] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321908361475915776,"km_value":321908361475915.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":705939271425503232,"description":"Unknown IO ID 45"} 
[2026-06-23 22:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251511808001,"power":27321,"unknown_119":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":705939271425503232}} 
[2026-06-23 22:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":111253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:07:43] local.INFO: GPS data processed {"connection_id":111253,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:07:43] local.INFO: Acknowledgment sent {"connection_id":111253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:07:52] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:52] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:52] local.INFO: IMEI packet received {"connection_id":111423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":111423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:07:57] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:57] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:07:57] local.INFO: IMEI packet received {"connection_id":111423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":111423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:07:57] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5569a10012d196600071ff1c0003f013125..."} 
[2026-06-23 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5569a10012d196600071ff1c0003f013125..."} 
[2026-06-23 22:07:57] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5569a10012d196600071ff1c0003f013125..."} 
[2026-06-23 22:07:57] local.INFO: Packet analysis {"connection_id":111423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:07:57] local.INFO: Extracted packet for processing {"connection_id":111423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":37,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251528448001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232554000,"timestamp_ms":1782232554000,"timestamp_seconds":1782232554,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5569a10"} 
[2026-06-23 22:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:07:57] 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-06-23 22:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251528448001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251528448001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251528448001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":111423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:07:57] local.INFO: GPS data processed {"connection_id":111423,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:07:57] local.INFO: Acknowledgment sent {"connection_id":111423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:08:23] local.INFO: TCP Data received {"connection_id":112989,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:23] local.INFO: Processing buffer {"connection_id":112989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:23] local.INFO: IMEI packet received {"connection_id":112989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":112989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:08:27] local.INFO: TCP Data received {"connection_id":112989,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:27] local.INFO: Processing buffer {"connection_id":112989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:27] local.INFO: IMEI packet received {"connection_id":112989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":112989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:08:28] local.INFO: TCP Data received {"connection_id":112989,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:28] local.INFO: Processing buffer {"connection_id":112989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:08:28] local.INFO: IMEI packet received {"connection_id":112989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":112989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:08:29] local.INFO: TCP Data received {"connection_id":111423,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef556ec18012d196600071ff1c0003f013128..."} 
[2026-06-23 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef556ec18012d196600071ff1c0003f013128..."} 
[2026-06-23 22:08:29] local.INFO: Processing buffer {"connection_id":111423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef556ec18012d196600071ff1c0003f013128..."} 
[2026-06-23 22:08:29] local.INFO: Packet analysis {"connection_id":111423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:08:29] local.INFO: Extracted packet for processing {"connection_id":111423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251533824001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782232575000,"timestamp_ms":1782232575000,"timestamp_seconds":1782232575,"priority":1,"record_length":96,"hex_timestamp":"0000019ef556ec18"} 
[2026-06-23 22:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:08:29] 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-06-23 22: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-06-23 22:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251533824001,"66":12254,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251533824001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:08:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:08:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251533824001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":111423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:08:29] local.INFO: GPS data processed {"connection_id":111423,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:08:29] local.INFO: Acknowledgment sent {"connection_id":111423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:08:33] local.INFO: TCP Data received {"connection_id":112989,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef555d6c0012d09de4006f20d38000500a52b..."} 
[2026-06-23 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef555d6c0012d09de4006f20d38000500a52b..."} 
[2026-06-23 22:08:33] local.INFO: Processing buffer {"connection_id":112989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef555d6c0012d09de4006f20d38000500a52b..."} 
[2026-06-23 22:08:33] local.INFO: Packet analysis {"connection_id":112989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:08:33] local.INFO: Extracted packet for processing {"connection_id":112989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef555"} 
[2026-06-23 22:08:33] local.INFO: GPS Element Parsed {"raw_longitude":755621440,"raw_latitude":116526392,"longitude_deg":75.562144,"latitude_deg":11.6526392,"altitude":5,"angle":165,"satellites":43,"speed":25,"hex_longitude":"2d09de40","hex_latitude":"06f20d38","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251517184001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321908803857547264,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708472546213750784,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782232504000,"timestamp_ms":1782232504000,"timestamp_seconds":1782232504,"priority":1,"record_length":96,"hex_timestamp":"0000019ef555d6c0"} 
[2026-06-23 22:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:08:33] 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-06-23 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 22:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251517184001,"66":27463,"119":206,"2":56576,"24":25,"16":321908803857547264,"45":708472546213750784},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251517184001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321908803857547264,"km_value":321908803857547.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":708472546213750784,"description":"Unknown IO ID 45"} 
[2026-06-23 22:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251517184001,"power":27463,"unknown_119":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":708472546213750784}} 
[2026-06-23 22:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":112989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:08:33] local.INFO: GPS data processed {"connection_id":112989,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:08:33] local.INFO: Acknowledgment sent {"connection_id":112989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:08:39] local.INFO: TCP Data received {"connection_id":112989,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5561540012d09e7c006f1eaf8000600a12c..."} 
[2026-06-23 22:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5561540012d09e7c006f1eaf8000600a12c..."} 
[2026-06-23 22:08:39] local.INFO: Processing buffer {"connection_id":112989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5561540012d09e7c006f1eaf8000600a12c..."} 
[2026-06-23 22:08:39] local.INFO: Packet analysis {"connection_id":112989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:08:39] local.INFO: Extracted packet for processing {"connection_id":112989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef556"} 
[2026-06-23 22:08:39] local.INFO: GPS Element Parsed {"raw_longitude":755623872,"raw_latitude":116517624,"longitude_deg":75.5623872,"latitude_deg":11.6517624,"altitude":6,"angle":161,"satellites":44,"speed":13,"hex_longitude":"2d09e7c0","hex_latitude":"06f1eaf8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251521024001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321909246239178752,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711076189746051072,"note":"Value kept but may cause issues"} 
[2026-06-23 22:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782232520000,"timestamp_ms":1782232520000,"timestamp_seconds":1782232520,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5561540"} 
[2026-06-23 22:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:08: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-06-23 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:08:39] 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-06-23 22: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-06-23 22:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":112989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":112989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":112989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251521024001,"66":27484,"119":206,"2":56576,"24":13,"16":321909246239178752,"45":711076189746051072},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-23 22:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251521024001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:08:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-23 22:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321909246239178752,"km_value":321909246239178.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":711076189746051072,"description":"Unknown IO ID 45"} 
[2026-06-23 22:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251521024001,"power":27484,"unknown_119":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":711076189746051072}} 
[2026-06-23 22:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":112989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:08:39] local.INFO: GPS data processed {"connection_id":112989,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:08:39] local.INFO: Acknowledgment sent {"connection_id":112989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:08:57] local.INFO: TCP Data received {"connection_id":111254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:08:57] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:08:57] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:09:00] local.INFO: TCP Data received {"connection_id":111254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:00] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:00] local.INFO: IMEI packet received {"connection_id":111254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":111254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:09:00] local.INFO: TCP Data received {"connection_id":111254,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5573e20012d196600071ff1c0003f013127..."} 
[2026-06-23 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5573e20012d196600071ff1c0003f013127..."} 
[2026-06-23 22:09:00] local.INFO: Processing buffer {"connection_id":111254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5573e20012d196600071ff1c0003f013127..."} 
[2026-06-23 22:09:00] local.INFO: Packet analysis {"connection_id":111254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef557"} 
[2026-06-23 22:09:00] local.INFO: Extracted packet for processing {"connection_id":111254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef557"} 
[2026-06-23 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251539200001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09: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-06-23 22:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782232596000,"timestamp_ms":1782232596000,"timestamp_seconds":1782232596,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5573e20"} 
[2026-06-23 22:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:09:00] 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-06-23 22: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-06-23 22:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251539200001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251539200001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:09:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251539200001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":111254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:09:01] local.INFO: GPS data processed {"connection_id":111254,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:09:01] local.INFO: Acknowledgment sent {"connection_id":111254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:09:20] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:20] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:20] local.INFO: IMEI packet received {"connection_id":111255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":111255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:09:21] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:21] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:21] local.INFO: IMEI packet received {"connection_id":111255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":111255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:09:23] local.INFO: TCP Data received {"connection_id":112064,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:09:23] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:09:23] local.INFO: IMEI packet received {"connection_id":112064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":112064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:09:26] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:26] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:26] local.INFO: IMEI packet received {"connection_id":111255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":111255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:09:27] local.INFO: TCP Data received {"connection_id":111255,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5583438012d196600071ff1c0003f013127..."} 
[2026-06-23 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5583438012d196600071ff1c0003f013127..."} 
[2026-06-23 22:09:27] local.INFO: Processing buffer {"connection_id":111255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5583438012d196600071ff1c0003f013127..."} 
[2026-06-23 22:09:27] local.INFO: Packet analysis {"connection_id":111255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:09:27] local.INFO: Extracted packet for processing {"connection_id":111255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251555328001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782232659000,"timestamp_ms":1782232659000,"timestamp_seconds":1782232659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5583438"} 
[2026-06-23 22:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:09: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-06-23 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:09:27] 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-06-23 22:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251555328001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251555328001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:09:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251555328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":111255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:09:27] local.INFO: GPS data processed {"connection_id":111255,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:09:27] local.INFO: Acknowledgment sent {"connection_id":111255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:09:28] local.INFO: TCP Data received {"connection_id":112064,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:09:28] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:09:28] local.INFO: IMEI packet received {"connection_id":112064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":112064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:09:31] local.INFO: TCP Data received {"connection_id":112064,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5587e70012d0adf0006f116880011008b2c..."} 
[2026-06-23 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5587e70012d0adf0006f116880011008b2c..."} 
[2026-06-23 22:09:31] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5587e70012d0adf0006f116880011008b2c..."} 
[2026-06-23 22:09:31] local.INFO: Packet analysis {"connection_id":112064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:09:31] local.INFO: Extracted packet for processing {"connection_id":112064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:09:31] local.INFO: GPS Element Parsed {"raw_longitude":755687168,"raw_latitude":116463240,"longitude_deg":75.5687168,"latitude_deg":11.646324,"altitude":17,"angle":139,"satellites":44,"speed":17,"hex_longitude":"2d0adf00","hex_latitude":"06f11688","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251562752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321913343637979136,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778841290373926912,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:31] 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-06-23 22:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782232678000,"timestamp_ms":1782232678000,"timestamp_seconds":1782232678,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5587e70"} 
[2026-06-23 22:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:09: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-06-23 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:09:31] 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-06-23 22: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-06-23 22:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251562752001,"66":27397,"118":206,"2":56576,"24":17,"16":321913343637979136,"45":778841290373926912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251562752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:09:31] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321913343637979136,"km_value":321913343637979.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":778841290373926912,"description":"Unknown IO ID 45"} 
[2026-06-23 22:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251562752001,"power":27397,"unknown_118":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":778841290373926912}} 
[2026-06-23 22:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":112064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:09:31] local.INFO: GPS data processed {"connection_id":112064,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:09:31] local.INFO: Acknowledgment sent {"connection_id":112064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:09:51] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:51] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:51] local.INFO: IMEI packet received {"connection_id":112065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":112065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:09:57] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:57] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:09:57] local.INFO: IMEI packet received {"connection_id":112065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":112065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:09:57] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5588640012d196600071ff1c0003f013126..."} 
[2026-06-23 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5588640012d196600071ff1c0003f013126..."} 
[2026-06-23 22:09:57] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5588640012d196600071ff1c0003f013126..."} 
[2026-06-23 22:09:57] local.INFO: Packet analysis {"connection_id":112065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:09:57] local.INFO: Extracted packet for processing {"connection_id":112065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251560704001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232680000,"timestamp_ms":1782232680000,"timestamp_seconds":1782232680,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5588640"} 
[2026-06-23 22:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:09: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-06-23 22:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:09:57] 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-06-23 22:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251560704001,"66":12254,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251560704001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251560704001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":112065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:09:57] local.INFO: GPS data processed {"connection_id":112065,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:09:57] local.INFO: Acknowledgment sent {"connection_id":112065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:10:03] local.INFO: TCP Data received {"connection_id":112064,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef558d078012d0af60006f100d0001000822d..."} 
[2026-06-23 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef558d078012d0af60006f100d0001000822d..."} 
[2026-06-23 22:10:03] local.INFO: Processing buffer {"connection_id":112064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef558d078012d0af60006f100d0001000822d..."} 
[2026-06-23 22:10:03] local.INFO: Packet analysis {"connection_id":112064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:10:03] local.INFO: Extracted packet for processing {"connection_id":112064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:10:03] local.INFO: GPS Element Parsed {"raw_longitude":755693056,"raw_latitude":116457680,"longitude_deg":75.5693056,"latitude_deg":11.645768,"altitude":16,"angle":130,"satellites":45,"speed":9,"hex_longitude":"2d0af600","hex_latitude":"06f100d0","is_valid_coordinates":true} 
[2026-06-23 22:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251565568001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321913734480003072,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783344890000345088,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:03] 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-06-23 22:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782232699000,"timestamp_ms":1782232699000,"timestamp_seconds":1782232699,"priority":1,"record_length":96,"hex_timestamp":"0000019ef558d078"} 
[2026-06-23 22:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":112064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":112064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":112064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251565568001,"66":27484,"118":206,"2":56576,"24":9,"16":321913734480003072,"45":783344890000345088},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251565568001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:10:03] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321913734480003072,"km_value":321913734480003.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":783344890000345088,"description":"Unknown IO ID 45"} 
[2026-06-23 22:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251565568001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":783344890000345088}} 
[2026-06-23 22:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":112064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:10:03] local.INFO: GPS data processed {"connection_id":112064,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:10:03] local.INFO: Acknowledgment sent {"connection_id":112064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:10:23] local.INFO: TCP Data received {"connection_id":111425,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:10:23] local.INFO: Processing buffer {"connection_id":111425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:10:23] local.INFO: IMEI packet received {"connection_id":111425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":111425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:10:28] local.INFO: TCP Data received {"connection_id":111425,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:10:28] local.INFO: Processing buffer {"connection_id":111425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:10:28] local.INFO: IMEI packet received {"connection_id":111425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":111425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:10:28] local.INFO: TCP Data received {"connection_id":112065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef558dc30012d196600071ff1c0003f013127..."} 
[2026-06-23 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef558dc30012d196600071ff1c0003f013127..."} 
[2026-06-23 22:10:28] local.INFO: Processing buffer {"connection_id":112065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef558dc30012d196600071ff1c0003f013127..."} 
[2026-06-23 22:10:28] local.INFO: Packet analysis {"connection_id":112065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:10:28] local.INFO: Extracted packet for processing {"connection_id":112065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef558"} 
[2026-06-23 22:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251566080001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232702000,"timestamp_ms":1782232702000,"timestamp_seconds":1782232702,"priority":1,"record_length":96,"hex_timestamp":"0000019ef558dc30"} 
[2026-06-23 22:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:10:28] 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-06-23 22: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-06-23 22:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251566080001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251566080001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251566080001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":112065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:10:28] local.INFO: GPS data processed {"connection_id":112065,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:10:28] local.INFO: Acknowledgment sent {"connection_id":112065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:10:31] local.INFO: TCP Data received {"connection_id":111425,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55912e0012d0b030006f0f4c8001100762d..."} 
[2026-06-23 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55912e0012d0b030006f0f4c8001100762d..."} 
[2026-06-23 22:10:31] local.INFO: Processing buffer {"connection_id":111425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55912e0012d0b030006f0f4c8001100762d..."} 
[2026-06-23 22:10:31] local.INFO: Packet analysis {"connection_id":111425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:10:31] local.INFO: Extracted packet for processing {"connection_id":111425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:10:31] local.INFO: GPS Element Parsed {"raw_longitude":755696384,"raw_latitude":116454600,"longitude_deg":75.5696384,"latitude_deg":11.64546,"altitude":17,"angle":118,"satellites":45,"speed":10,"hex_longitude":"2d0b0300","hex_latitude":"06f0f4c8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251570944001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321913953523335168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789818814463266816,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:31] 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-06-23 22:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782232716000,"timestamp_ms":1782232716000,"timestamp_seconds":1782232716,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55912e0"} 
[2026-06-23 22:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:10: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-06-23 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:10:31] 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-06-23 22: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-06-23 22:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251570944001,"66":27365,"118":206,"2":56576,"24":10,"16":321913953523335168,"45":789818814463266816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251570944001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:10:31] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321913953523335168,"km_value":321913953523335.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":789818814463266816,"description":"Unknown IO ID 45"} 
[2026-06-23 22:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251570944001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":789818814463266816}} 
[2026-06-23 22:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":111425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:10:31] local.INFO: GPS data processed {"connection_id":111425,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:10:31] local.INFO: Acknowledgment sent {"connection_id":111425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:10:51] local.INFO: TCP Data received {"connection_id":112991,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:10:51] local.INFO: Processing buffer {"connection_id":112991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:10:51] local.INFO: IMEI packet received {"connection_id":112991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":112991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:10:57] local.INFO: TCP Data received {"connection_id":112991,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:10:57] local.INFO: Processing buffer {"connection_id":112991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:10:57] local.INFO: IMEI packet received {"connection_id":112991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":112991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:10:57] local.INFO: TCP Data received {"connection_id":112991,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5592e38012d196600071ff1c0003f013127..."} 
[2026-06-23 22:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5592e38012d196600071ff1c0003f013127..."} 
[2026-06-23 22:10:57] local.INFO: Processing buffer {"connection_id":112991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5592e38012d196600071ff1c0003f013127..."} 
[2026-06-23 22:10:57] local.INFO: Packet analysis {"connection_id":112991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:10:57] local.INFO: Extracted packet for processing {"connection_id":112991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:10: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-06-23 22:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251571712001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232723000,"timestamp_ms":1782232723000,"timestamp_seconds":1782232723,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5592e38"} 
[2026-06-23 22:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:10: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-06-23 22:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:10:57] 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-06-23 22:10: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-06-23 22:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251571712001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251571712001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:10:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251571712001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":112991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:10:57] local.INFO: GPS data processed {"connection_id":112991,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:10:57] local.INFO: Acknowledgment sent {"connection_id":112991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:11:03] local.INFO: TCP Data received {"connection_id":111425,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5594990012d0b128006f0ed30001000842d..."} 
[2026-06-23 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5594990012d0b128006f0ed30001000842d..."} 
[2026-06-23 22:11:03] local.INFO: Processing buffer {"connection_id":111425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5594990012d0b128006f0ed30001000842d..."} 
[2026-06-23 22:11:03] local.INFO: Packet analysis {"connection_id":111425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:03] local.INFO: Extracted packet for processing {"connection_id":111425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":116452656,"longitude_deg":75.5700352,"latitude_deg":11.6452656,"altitude":16,"angle":132,"satellites":45,"speed":12,"hex_longitude":"2d0b1280","hex_latitude":"06f0ed30","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251575296001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321914163976732672,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793477989159716864,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:03] 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-06-23 22:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782232730000,"timestamp_ms":1782232730000,"timestamp_seconds":1782232730,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5594990"} 
[2026-06-23 22:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251575296001,"66":27376,"118":206,"2":56576,"24":12,"16":321914163976732672,"45":793477989159716864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251575296001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:11:03] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321914163976732672,"km_value":321914163976732.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":793477989159716864,"description":"Unknown IO ID 45"} 
[2026-06-23 22:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251575296001,"power":27376,"unknown_118":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":793477989159716864}} 
[2026-06-23 22:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":111425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:11:03] local.INFO: GPS data processed {"connection_id":111425,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:11:03] local.INFO: Acknowledgment sent {"connection_id":111425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:11:28] local.INFO: TCP Data received {"connection_id":112991,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5598040012d196600071ff1c0003f013129..."} 
[2026-06-23 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5598040012d196600071ff1c0003f013129..."} 
[2026-06-23 22:11:28] local.INFO: Processing buffer {"connection_id":112991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5598040012d196600071ff1c0003f013129..."} 
[2026-06-23 22:11:28] local.INFO: Packet analysis {"connection_id":112991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:28] local.INFO: Extracted packet for processing {"connection_id":112991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251577088001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232744000,"timestamp_ms":1782232744000,"timestamp_seconds":1782232744,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5598040"} 
[2026-06-23 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-06-23 22:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:11:28] 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-06-23 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-06-23 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-06-23 22:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251577088001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251577088001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251577088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:11:28] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:11:28] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:11:28] local.INFO: IMEI packet received {"connection_id":111257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":111257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":112991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:11:28] local.INFO: GPS data processed {"connection_id":112991,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:11:28] local.INFO: Acknowledgment sent {"connection_id":112991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:11:29] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:11:29] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:11:29] local.INFO: IMEI packet received {"connection_id":111257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":111257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:11:32] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5597c58012d0b230006f0d9a0000e008f2c..."} 
[2026-06-23 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5597c58012d0b230006f0d9a0000e008f2c..."} 
[2026-06-23 22:11:32] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5597c58012d0b230006f0d9a0000e008f2c..."} 
[2026-06-23 22:11:32] local.INFO: Packet analysis {"connection_id":111257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:32] local.INFO: Extracted packet for processing {"connection_id":111257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":116447648,"longitude_deg":75.5704576,"latitude_deg":11.6447648,"altitude":14,"angle":143,"satellites":44,"speed":28,"hex_longitude":"2d0b2300","hex_latitude":"06f0d9a0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251578880001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321914477509345280,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851298234368,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:32] 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-06-23 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782232743000,"timestamp_ms":1782232743000,"timestamp_seconds":1782232743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5597c58"} 
[2026-06-23 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-06-23 22:11:32] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251578880001,"66":27397,"118":206,"2":56576,"24":28,"16":321914477509345280,"45":797840851298234368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251578880001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321914477509345280,"km_value":321914477509345.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851298234368,"description":"Unknown IO ID 45"} 
[2026-06-23 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251578880001,"power":27397,"unknown_118":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":797840851298234368}} 
[2026-06-23 22:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":111257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:11:32] local.INFO: GPS data processed {"connection_id":111257,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:11:32] local.INFO: Acknowledgment sent {"connection_id":111257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:11:34] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef559a750012d0b388006f0b9d0000c009529..."} 
[2026-06-23 22:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef559a750012d0b388006f0b9d0000c009529..."} 
[2026-06-23 22:11:34] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef559a750012d0b388006f0b9d0000c009529..."} 
[2026-06-23 22:11:34] local.INFO: Packet analysis {"connection_id":111257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:34] local.INFO: Extracted packet for processing {"connection_id":111257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":755710080,"raw_latitude":116439504,"longitude_deg":75.571008,"latitude_deg":11.6439504,"altitude":12,"angle":149,"satellites":41,"speed":38,"hex_longitude":"2d0b3880","hex_latitude":"06f0b9d0","is_valid_coordinates":true} 
[2026-06-23 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251582208001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321914954250715136,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802485188412678144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:11:34] 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-06-23 22:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782232754000,"timestamp_ms":1782232754000,"timestamp_seconds":1782232754,"priority":1,"record_length":96,"hex_timestamp":"0000019ef559a750"} 
[2026-06-23 22:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:11: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-06-23 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251582208001,"66":27343,"118":206,"2":56576,"24":38,"16":321914954250715136,"45":802485188412678144},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251582208001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:11:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321914954250715136,"km_value":321914954250715.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":802485188412678144,"description":"Unknown IO ID 45"} 
[2026-06-23 22:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251582208001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":802485188412678144}} 
[2026-06-23 22:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":111257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:11:34] local.INFO: GPS data processed {"connection_id":111257,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:11:34] local.INFO: Acknowledgment sent {"connection_id":111257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:11:57] local.INFO: TCP Data received {"connection_id":111426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:11:57] local.INFO: Processing buffer {"connection_id":111426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:11:57] local.INFO: IMEI packet received {"connection_id":111426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":111426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:12:01] local.INFO: TCP Data received {"connection_id":111426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:01] local.INFO: Processing buffer {"connection_id":111426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:01] local.INFO: IMEI packet received {"connection_id":111426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":111426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:12:02] local.INFO: TCP Data received {"connection_id":111426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef559d248012d196600071ff1c0003f013127..."} 
[2026-06-23 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef559d248012d196600071ff1c0003f013127..."} 
[2026-06-23 22:12:02] local.INFO: Processing buffer {"connection_id":111426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef559d248012d196600071ff1c0003f013127..."} 
[2026-06-23 22:12:02] local.INFO: Packet analysis {"connection_id":111426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:12:02] local.INFO: Extracted packet for processing {"connection_id":111426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251582464001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782232765000,"timestamp_ms":1782232765000,"timestamp_seconds":1782232765,"priority":1,"record_length":96,"hex_timestamp":"0000019ef559d248"} 
[2026-06-23 22:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:12: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-06-23 22:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251582464001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251582464001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251582464001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":111426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:12:02] local.INFO: GPS data processed {"connection_id":111426,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:12:02] local.INFO: Acknowledgment sent {"connection_id":111426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:12:06] local.INFO: TCP Data received {"connection_id":111257,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef559d248012d0b49c006f099f8000e009a2c..."} 
[2026-06-23 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef559d248012d0b49c006f099f8000e009a2c..."} 
[2026-06-23 22:12:06] local.INFO: Processing buffer {"connection_id":111257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef559d248012d0b49c006f099f8000e009a2c..."} 
[2026-06-23 22:12:06] local.INFO: Packet analysis {"connection_id":111257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:12:06] local.INFO: Extracted packet for processing {"connection_id":111257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef559"} 
[2026-06-23 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":755714496,"raw_latitude":116431352,"longitude_deg":75.5714496,"latitude_deg":11.6431352,"altitude":14,"angle":154,"satellites":44,"speed":24,"hex_longitude":"2d0b49c0","hex_latitude":"06f099f8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251585024001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321915400927313920,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808536900409872384,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:06] 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-06-23 22:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782232765000,"timestamp_ms":1782232765000,"timestamp_seconds":1782232765,"priority":1,"record_length":96,"hex_timestamp":"0000019ef559d248"} 
[2026-06-23 22:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:12: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-06-23 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:12:06] 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-06-23 22: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-06-23 22:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251585024001,"66":27376,"118":206,"2":56576,"24":24,"16":321915400927313920,"45":808536900409872384},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251585024001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:12:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321915400927313920,"km_value":321915400927313.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":808536900409872384,"description":"Unknown IO ID 45"} 
[2026-06-23 22:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251585024001,"power":27376,"unknown_118":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":808536900409872384}} 
[2026-06-23 22:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":111257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:12:06] local.INFO: GPS data processed {"connection_id":111257,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:12:06] local.INFO: Acknowledgment sent {"connection_id":111257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:12:07] local.INFO: TCP Data received {"connection_id":111426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55a2450012d196600071ff1c0003f013128..."} 
[2026-06-23 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55a2450012d196600071ff1c0003f013128..."} 
[2026-06-23 22:12:07] local.INFO: Processing buffer {"connection_id":111426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55a2450012d196600071ff1c0003f013128..."} 
[2026-06-23 22:12:07] local.INFO: Packet analysis {"connection_id":111426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:12:07] local.INFO: Extracted packet for processing {"connection_id":111426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251587840001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782232786000,"timestamp_ms":1782232786000,"timestamp_seconds":1782232786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55a2450"} 
[2026-06-23 22:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:12: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-06-23 22:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:12:07] 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-06-23 22:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251587840001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251587840001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:12:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251587840001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":111426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:12:07] local.INFO: GPS data processed {"connection_id":111426,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:12:07] local.INFO: Acknowledgment sent {"connection_id":111426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:12:23] local.INFO: TCP Data received {"connection_id":112066,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:23] local.INFO: Processing buffer {"connection_id":112066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:23] local.INFO: IMEI packet received {"connection_id":112066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":112066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:12:23] local.INFO: TCP Data received {"connection_id":112066,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:23] local.INFO: Processing buffer {"connection_id":112066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:23] local.INFO: IMEI packet received {"connection_id":112066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":112066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:12:28] local.INFO: TCP Data received {"connection_id":112066,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:28] local.INFO: Processing buffer {"connection_id":112066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:12:28] local.INFO: IMEI packet received {"connection_id":112066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":112066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:12:31] local.INFO: TCP Data received {"connection_id":111427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:12:31] local.INFO: Processing buffer {"connection_id":111427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:12:31] local.INFO: IMEI packet received {"connection_id":111427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":111427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:12:41] local.INFO: TCP Data received {"connection_id":112066,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55a08f8012d0b568006f07990000c00a02c..."} 
[2026-06-23 22:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55a08f8012d0b568006f07990000c00a02c..."} 
[2026-06-23 22:12:41] local.INFO: Processing buffer {"connection_id":112066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55a08f8012d0b568006f07990000c00a02c..."} 
[2026-06-23 22:12:41] local.INFO: Packet analysis {"connection_id":112066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:12:41] local.INFO: Extracted packet for processing {"connection_id":112066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:12:41] local.INFO: GPS Element Parsed {"raw_longitude":755717760,"raw_latitude":116423056,"longitude_deg":75.571776,"latitude_deg":11.6423056,"altitude":12,"angle":160,"satellites":44,"speed":24,"hex_longitude":"2d0b5680","hex_latitude":"06f07990","is_valid_coordinates":true} 
[2026-06-23 22:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251587840001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321915834719010816,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813392343756044288,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:41] 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-06-23 22:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782232779000,"timestamp_ms":1782232779000,"timestamp_seconds":1782232779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55a08f8"} 
[2026-06-23 22:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251587840001,"66":27365,"118":206,"2":56576,"24":24,"16":321915834719010816,"45":813392343756044288},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251587840001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:12:41] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321915834719010816,"km_value":321915834719010.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":813392343756044288,"description":"Unknown IO ID 45"} 
[2026-06-23 22:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251587840001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":813392343756044288}} 
[2026-06-23 22:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":112066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:12:41] local.INFO: GPS data processed {"connection_id":112066,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:12:41] local.INFO: Acknowledgment sent {"connection_id":112066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:12:51] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:51] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:51] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:12:51] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:51] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:51] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:12:57] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:57] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:12:57] local.INFO: IMEI packet received {"connection_id":111258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":111258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:12:57] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55a7270012d196600071ff1c0003f013128..."} 
[2026-06-23 22:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55a7270012d196600071ff1c0003f013128..."} 
[2026-06-23 22:12:57] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55a7270012d196600071ff1c0003f013128..."} 
[2026-06-23 22:12:57] local.INFO: Packet analysis {"connection_id":111258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:12:57] local.INFO: Extracted packet for processing {"connection_id":111258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:12: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-06-23 22:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251593216001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232806000,"timestamp_ms":1782232806000,"timestamp_seconds":1782232806,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55a7270"} 
[2026-06-23 22:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:12: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-06-23 22:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:12:57] 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-06-23 22:12: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-06-23 22:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251593216001,"66":12265,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251593216001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:12:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251593216001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":111258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:12:57] local.INFO: GPS data processed {"connection_id":111258,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:12:57] local.INFO: Acknowledgment sent {"connection_id":111258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:13:05] local.INFO: TCP Data received {"connection_id":111428,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:13:05] local.INFO: Processing buffer {"connection_id":111428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:13:05] local.INFO: IMEI packet received {"connection_id":111428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":111428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:13:23] local.INFO: TCP Data received {"connection_id":111259,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:13:23] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:13:23] local.INFO: IMEI packet received {"connection_id":111259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":111259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:13:28] local.INFO: TCP Data received {"connection_id":111258,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55ac478012d196600071ff1c0003f013129..."} 
[2026-06-23 22:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55ac478012d196600071ff1c0003f013129..."} 
[2026-06-23 22:13:28] local.INFO: Processing buffer {"connection_id":111258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55ac478012d196600071ff1c0003f013129..."} 
[2026-06-23 22:13:28] local.INFO: Packet analysis {"connection_id":111258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:13:28] local.INFO: Extracted packet for processing {"connection_id":111258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55a"} 
[2026-06-23 22:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251598336001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232827000,"timestamp_ms":1782232827000,"timestamp_seconds":1782232827,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55ac478"} 
[2026-06-23 22:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 22:13:28] 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-06-23 22: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-06-23 22:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251598336001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251598336001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251598336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":111258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:13:29] local.INFO: GPS data processed {"connection_id":111258,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:13:29] local.INFO: Acknowledgment sent {"connection_id":111258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:13:29] local.INFO: TCP Data received {"connection_id":111259,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:13:29] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:13:29] local.INFO: IMEI packet received {"connection_id":111259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":111259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:13:32] local.INFO: TCP Data received {"connection_id":111259,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55c56d0012d0bcc0006eedda0000c009e2d..."} 
[2026-06-23 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55c56d0012d0bcc0006eedda0000c009e2d..."} 
[2026-06-23 22:13:32] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55c56d0012d0bcc0006eedda0000c009e2d..."} 
[2026-06-23 22:13:32] local.INFO: Packet analysis {"connection_id":111259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:13:32] local.INFO: Extracted packet for processing {"connection_id":111259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":755747840,"raw_latitude":116317600,"longitude_deg":75.574784,"latitude_deg":11.63176,"altitude":12,"angle":158,"satellites":45,"speed":29,"hex_longitude":"2d0bcc00","hex_latitude":"06eedda0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251626752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321921156183490560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846254547260135424,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:32] 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-06-23 22:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782232930000,"timestamp_ms":1782232930000,"timestamp_seconds":1782232930,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55c56d0"} 
[2026-06-23 22:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:13:32] 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-06-23 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251626752001,"66":27310,"118":206,"2":56576,"24":29,"16":321921156183490560,"45":846254547260135424},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-23 22:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251626752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:13:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-23 22:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321921156183490560,"km_value":321921156183490.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":846254547260135424,"description":"Unknown IO ID 45"} 
[2026-06-23 22:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251626752001,"power":27310,"unknown_118":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":846254547260135424}} 
[2026-06-23 22:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":111259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:13:32] local.INFO: GPS data processed {"connection_id":111259,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:13:32] local.INFO: Acknowledgment sent {"connection_id":111259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:13:52] local.INFO: TCP Data received {"connection_id":112992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:52] local.INFO: Processing buffer {"connection_id":112992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:52] local.INFO: IMEI packet received {"connection_id":112992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":112992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:13:53] local.INFO: TCP Data received {"connection_id":112992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:53] local.INFO: Processing buffer {"connection_id":112992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:53] local.INFO: IMEI packet received {"connection_id":112992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":112992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:13:57] local.INFO: TCP Data received {"connection_id":112992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:57] local.INFO: Processing buffer {"connection_id":112992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:13:57] local.INFO: IMEI packet received {"connection_id":112992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":112992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:13:57] local.INFO: TCP Data received {"connection_id":112992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55b1680012d196600071ff1c0003f013126..."} 
[2026-06-23 22:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55b1680012d196600071ff1c0003f013126..."} 
[2026-06-23 22:13:57] local.INFO: Processing buffer {"connection_id":112992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55b1680012d196600071ff1c0003f013126..."} 
[2026-06-23 22:13:57] local.INFO: Packet analysis {"connection_id":112992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55b"} 
[2026-06-23 22:13:57] local.INFO: Extracted packet for processing {"connection_id":112992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55b"} 
[2026-06-23 22:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251603712001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232848000,"timestamp_ms":1782232848000,"timestamp_seconds":1782232848,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55b1680"} 
[2026-06-23 22:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:13: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:13:57] 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-06-23 22: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-06-23 22:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251603712001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251603712001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251603712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":112992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:13:57] local.INFO: GPS data processed {"connection_id":112992,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:13:57] local.INFO: Acknowledgment sent {"connection_id":112992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:14:01] local.INFO: TCP Data received {"connection_id":112992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55b6888012d196600071ff1c0003f013128..."} 
[2026-06-23 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55b6888012d196600071ff1c0003f013128..."} 
[2026-06-23 22:14:01] local.INFO: Processing buffer {"connection_id":112992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55b6888012d196600071ff1c0003f013128..."} 
[2026-06-23 22:14:01] local.INFO: Packet analysis {"connection_id":112992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55b"} 
[2026-06-23 22:14:01] local.INFO: Extracted packet for processing {"connection_id":112992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55b"} 
[2026-06-23 22:14:01] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251609088001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782232869000,"timestamp_ms":1782232869000,"timestamp_seconds":1782232869,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55b6888"} 
[2026-06-23 22:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:14: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-06-23 22:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251609088001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251609088001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:14:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251609088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":112992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:14:02] local.INFO: GPS data processed {"connection_id":112992,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:14:02] local.INFO: Acknowledgment sent {"connection_id":112992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:14:03] local.INFO: TCP Data received {"connection_id":111259,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55d5c88012d0c090006ee62880013006c2d..."} 
[2026-06-23 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55d5c88012d0c090006ee62880013006c2d..."} 
[2026-06-23 22:14:03] local.INFO: Processing buffer {"connection_id":111259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55d5c88012d0c090006ee62880013006c2d..."} 
[2026-06-23 22:14:03] local.INFO: Packet analysis {"connection_id":111259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:14:03] local.INFO: Extracted packet for processing {"connection_id":111259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":755763456,"raw_latitude":116286088,"longitude_deg":75.5763456,"latitude_deg":11.6286088,"altitude":19,"angle":108,"satellites":45,"speed":12,"hex_longitude":"2d0c0900","hex_latitude":"06ee6288","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251646464001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321922912825114624,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866098533107974144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:03] 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-06-23 22:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782232997000,"timestamp_ms":1782232997000,"timestamp_seconds":1782232997,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55d5c88"} 
[2026-06-23 22:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:14:03] 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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251646464001,"66":27267,"158":206,"2":56576,"24":12,"16":321922912825114624,"45":866098533107974144},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251646464001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:14:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321922912825114624,"km_value":321922912825114.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":866098533107974144,"description":"Unknown IO ID 45"} 
[2026-06-23 22:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251646464001,"power":27267,"unknown_158":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":866098533107974144}} 
[2026-06-23 22:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":111259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:14:03] local.INFO: GPS data processed {"connection_id":111259,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:14:03] local.INFO: Acknowledgment sent {"connection_id":111259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:14:23] local.INFO: TCP Data received {"connection_id":112067,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:14:23] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:14:23] local.INFO: IMEI packet received {"connection_id":112067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":112067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:14:28] local.INFO: TCP Data received {"connection_id":112067,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:14:28] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:14:28] local.INFO: IMEI packet received {"connection_id":112067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":112067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:14:29] local.INFO: TCP Data received {"connection_id":112067,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55d6458012d0c0b4006ee61900013007b2d..."} 
[2026-06-23 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55d6458012d0c0b4006ee61900013007b2d..."} 
[2026-06-23 22:14:29] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55d6458012d0c0b4006ee61900013007b2d..."} 
[2026-06-23 22:14:29] local.INFO: Packet analysis {"connection_id":112067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:14:29] local.INFO: Extracted packet for processing {"connection_id":112067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":755764032,"raw_latitude":116285840,"longitude_deg":75.5764032,"latitude_deg":11.628584,"altitude":19,"angle":123,"satellites":45,"speed":11,"hex_longitude":"2d0c0b40","hex_latitude":"06ee6190","is_valid_coordinates":true} 
[2026-06-23 22:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251647232001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321922938594918400,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867224433014769664,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:29] 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-06-23 22:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782232999000,"timestamp_ms":1782232999000,"timestamp_seconds":1782232999,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55d6458"} 
[2026-06-23 22:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:14:29] 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-06-23 22:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 22:14:29] 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-06-23 22:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251647232001,"66":26539,"158":206,"2":56576,"24":11,"16":321922938594918400,"45":867224433014769664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251647232001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:14:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321922938594918400,"km_value":321922938594918.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":867224433014769664,"description":"Unknown IO ID 45"} 
[2026-06-23 22:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251647232001,"power":26539,"unknown_158":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":867224433014769664}} 
[2026-06-23 22:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":112067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:14:29] local.INFO: GPS data processed {"connection_id":112067,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:14:29] local.INFO: Acknowledgment sent {"connection_id":112067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:14:33] local.INFO: TCP Data received {"connection_id":112992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55bba90012d196600071ff1c0003f013129..."} 
[2026-06-23 22:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55bba90012d196600071ff1c0003f013129..."} 
[2026-06-23 22:14:33] local.INFO: Processing buffer {"connection_id":112992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55bba90012d196600071ff1c0003f013129..."} 
[2026-06-23 22:14:33] local.INFO: Packet analysis {"connection_id":112992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55b"} 
[2026-06-23 22:14:33] local.INFO: Extracted packet for processing {"connection_id":112992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55b"} 
[2026-06-23 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251614464001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14: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-06-23 22:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782232890000,"timestamp_ms":1782232890000,"timestamp_seconds":1782232890,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55bba90"} 
[2026-06-23 22:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:14: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-06-23 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:14:33] 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-06-23 22:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251614464001,"66":12113,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251614464001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:14:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251614464001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":112992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:14:33] local.INFO: GPS data processed {"connection_id":112992,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:14:33] local.INFO: Acknowledgment sent {"connection_id":112992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:14:52] local.INFO: TCP Data received {"connection_id":111260,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:14:52] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:14:52] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:14:57] local.INFO: TCP Data received {"connection_id":111260,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:14:57] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:14:57] local.INFO: IMEI packet received {"connection_id":111260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":111260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:14:57] local.INFO: TCP Data received {"connection_id":111260,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55c0c98012d196600071ff1c0003f013128..."} 
[2026-06-23 22:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55c0c98012d196600071ff1c0003f013128..."} 
[2026-06-23 22:14:57] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55c0c98012d196600071ff1c0003f013128..."} 
[2026-06-23 22:14:57] local.INFO: Packet analysis {"connection_id":111260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:14:57] local.INFO: Extracted packet for processing {"connection_id":111260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:14: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-06-23 22:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251619840001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232911000,"timestamp_ms":1782232911000,"timestamp_seconds":1782232911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55c0c98"} 
[2026-06-23 22:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:14: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-06-23 22:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 22:14:57] 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-06-23 22:14: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-06-23 22:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251619840001,"66":12254,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251619840001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251619840001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":111260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:14:58] local.INFO: GPS data processed {"connection_id":111260,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:14:58] local.INFO: Acknowledgment sent {"connection_id":111260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:15:00] local.INFO: TCP Data received {"connection_id":112067,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55d6840012d0c0bc006ee60d00013008d2d..."} 
[2026-06-23 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55d6840012d0c0bc006ee60d00013008d2d..."} 
[2026-06-23 22:15:00] local.INFO: Processing buffer {"connection_id":112067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55d6840012d0c0bc006ee60d00013008d2d..."} 
[2026-06-23 22:15:00] local.INFO: Packet analysis {"connection_id":112067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:15:00] local.INFO: Extracted packet for processing {"connection_id":112067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:15:00] local.INFO: GPS Element Parsed {"raw_longitude":755764160,"raw_latitude":116285648,"longitude_deg":75.576416,"latitude_deg":11.6285648,"altitude":19,"angle":141,"satellites":45,"speed":10,"hex_longitude":"2d0c0bc0","hex_latitude":"06ee60d0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251647744001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321922951479820288,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867857751712305152,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:00] 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-06-23 22:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782233000000,"timestamp_ms":1782233000000,"timestamp_seconds":1782233000,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55d6840"} 
[2026-06-23 22:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:15:00] 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-06-23 22: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-06-23 22:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251647744001,"66":26604,"158":206,"2":56576,"24":10,"16":321922951479820288,"45":867857751712305152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251647744001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:15:00] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321922951479820288,"km_value":321922951479820.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":867857751712305152,"description":"Unknown IO ID 45"} 
[2026-06-23 22:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251647744001,"power":26604,"unknown_158":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":867857751712305152}} 
[2026-06-23 22:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":112067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:15:00] local.INFO: GPS data processed {"connection_id":112067,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:15:00] local.INFO: Acknowledgment sent {"connection_id":112067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:15:23] local.INFO: TCP Data received {"connection_id":111261,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:15:23] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:15:23] local.INFO: IMEI packet received {"connection_id":111261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":111261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:15:28] local.INFO: TCP Data received {"connection_id":111261,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:15:28] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:15:28] local.INFO: IMEI packet received {"connection_id":111261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":111261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:15:29] local.INFO: TCP Data received {"connection_id":111260,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55c5ea0012d196600071ff1c0003f013126..."} 
[2026-06-23 22:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55c5ea0012d196600071ff1c0003f013126..."} 
[2026-06-23 22:15:29] local.INFO: Processing buffer {"connection_id":111260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55c5ea0012d196600071ff1c0003f013126..."} 
[2026-06-23 22:15:29] local.INFO: Packet analysis {"connection_id":111260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:15:29] local.INFO: Extracted packet for processing {"connection_id":111260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251625216001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782232932000,"timestamp_ms":1782232932000,"timestamp_seconds":1782232932,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55c5ea0"} 
[2026-06-23 22:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:15:29] 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-06-23 22:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251625216001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251625216001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251625216001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":111260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:15:29] local.INFO: GPS data processed {"connection_id":111260,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:15:29] local.INFO: Acknowledgment sent {"connection_id":111260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:15:30] local.INFO: TCP Data received {"connection_id":111261,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55db278012d0c1f0006ee4100000f00952c..."} 
[2026-06-23 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55db278012d0c1f0006ee4100000f00952c..."} 
[2026-06-23 22:15:30] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55db278012d0c1f0006ee4100000f00952c..."} 
[2026-06-23 22:15:30] local.INFO: Packet analysis {"connection_id":111261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:15:30] local.INFO: Extracted packet for processing {"connection_id":111261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:15:30] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":116277504,"longitude_deg":75.5769088,"latitude_deg":11.6277504,"altitude":15,"angle":149,"satellites":44,"speed":27,"hex_longitude":"2d0c1f00","hex_latitude":"06ee4100","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251648000001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321923411041320960,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867998489200611328,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:30] 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-06-23 22:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782233019000,"timestamp_ms":1782233019000,"timestamp_seconds":1782233019,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55db278"} 
[2026-06-23 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-06-23 22:15:30] 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-06-23 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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-06-23 22:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251648000001,"66":27321,"158":206,"2":56576,"24":27,"16":321923411041320960,"45":867998489200611328},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251648000001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:15:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321923411041320960,"km_value":321923411041320.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":867998489200611328,"description":"Unknown IO ID 45"} 
[2026-06-23 22:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251648000001,"power":27321,"unknown_158":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":867998489200611328}} 
[2026-06-23 22:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":111261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:15:30] local.INFO: GPS data processed {"connection_id":111261,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:15:30] local.INFO: Acknowledgment sent {"connection_id":111261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:15:51] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:15:51] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:15:51] local.INFO: IMEI packet received {"connection_id":111429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":111429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:15:57] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:15:57] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:15:57] local.INFO: IMEI packet received {"connection_id":111429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":111429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:15:57] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55cb0a8012d196600071ff1c0003f013128..."} 
[2026-06-23 22:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55cb0a8012d196600071ff1c0003f013128..."} 
[2026-06-23 22:15:57] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55cb0a8012d196600071ff1c0003f013128..."} 
[2026-06-23 22:15:57] local.INFO: Packet analysis {"connection_id":111429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:15:57] local.INFO: Extracted packet for processing {"connection_id":111429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55c"} 
[2026-06-23 22:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251630592001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232953000,"timestamp_ms":1782232953000,"timestamp_seconds":1782232953,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55cb0a8"} 
[2026-06-23 22:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:15: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-06-23 22:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:15:57] 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-06-23 22:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251630592001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251630592001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251630592001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":111429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:15:57] local.INFO: GPS data processed {"connection_id":111429,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:15:57] local.INFO: Acknowledgment sent {"connection_id":111429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:16:01] local.INFO: TCP Data received {"connection_id":111261,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55df4e0012d0c324006ee21d8000f00952a..."} 
[2026-06-23 22:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55df4e0012d0c324006ee21d8000f00952a..."} 
[2026-06-23 22:16:01] local.INFO: Processing buffer {"connection_id":111261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55df4e0012d0c324006ee21d8000f00952a..."} 
[2026-06-23 22:16:01] local.INFO: Packet analysis {"connection_id":111261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:16:01] local.INFO: Extracted packet for processing {"connection_id":111261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:16:01] local.INFO: GPS Element Parsed {"raw_longitude":755774016,"raw_latitude":116269528,"longitude_deg":75.5774016,"latitude_deg":11.6269528,"altitude":15,"angle":149,"satellites":42,"speed":22,"hex_longitude":"2d0c3240","hex_latitude":"06ee21d8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251652864001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321923862012887040,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416882500206592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:01] 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-06-23 22:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233036000,"timestamp_ms":1782233036000,"timestamp_seconds":1782233036,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55df4e0"} 
[2026-06-23 22:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:16:01] 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-06-23 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 22:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251652864001,"66":27234,"158":206,"2":56576,"24":22,"16":321923862012887040,"45":873416882500206592},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251652864001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321923862012887040,"km_value":321923862012887.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416882500206592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251652864001,"power":27234,"unknown_158":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":873416882500206592}} 
[2026-06-23 22:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":111261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:16:01] local.INFO: GPS data processed {"connection_id":111261,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:16:01] local.INFO: Acknowledgment sent {"connection_id":111261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:16:23] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:23] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:23] local.INFO: IMEI packet received {"connection_id":112068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":112068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:16:24] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:24] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:24] local.INFO: IMEI packet received {"connection_id":112068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":112068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:16:28] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:28] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:16:28] local.INFO: IMEI packet received {"connection_id":112068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":112068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:16:28] local.INFO: TCP Data received {"connection_id":111429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55d02b0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55d02b0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:16:28] local.INFO: Processing buffer {"connection_id":111429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55d02b0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:16:28] local.INFO: Packet analysis {"connection_id":111429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:16:28] local.INFO: Extracted packet for processing {"connection_id":111429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:16: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-06-23 22:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251635968001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782232974000,"timestamp_ms":1782232974000,"timestamp_seconds":1782232974,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55d02b0"} 
[2026-06-23 22:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:16:28] 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-06-23 22:16: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-06-23 22:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251635968001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251635968001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251635968001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:16:29] local.INFO: GPS data processed {"connection_id":111429,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:16:29] local.INFO: Acknowledgment sent {"connection_id":111429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:16:29] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55e46e8012d0c440006ee0458000e00902d..."} 
[2026-06-23 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55e46e8012d0c440006ee0458000e00902d..."} 
[2026-06-23 22:16:29] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55e46e8012d0c440006ee0458000e00902d..."} 
[2026-06-23 22:16:29] local.INFO: Packet analysis {"connection_id":112068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:16:29] local.INFO: Extracted packet for processing {"connection_id":112068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":755778560,"raw_latitude":116261976,"longitude_deg":75.577856,"latitude_deg":11.6261976,"altitude":14,"angle":144,"satellites":45,"speed":11,"hex_longitude":"2d0c4400","hex_latitude":"06ee0458","is_valid_coordinates":true} 
[2026-06-23 22:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251657216001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321924291509616640,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878835275799844864,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:29] 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-06-23 22:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233057000,"timestamp_ms":1782233057000,"timestamp_seconds":1782233057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55e46e8"} 
[2026-06-23 22:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:16:29] 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-06-23 22:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 22:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251657216001,"66":27376,"158":206,"2":56576,"24":11,"16":321924291509616640,"45":878835275799844864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251657216001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:16:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321924291509616640,"km_value":321924291509616.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":878835275799844864,"description":"Unknown IO ID 45"} 
[2026-06-23 22:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251657216001,"power":27376,"unknown_158":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":878835275799844864}} 
[2026-06-23 22:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":112068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:16:29] local.INFO: GPS data processed {"connection_id":112068,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:16:29] local.INFO: Acknowledgment sent {"connection_id":112068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:16:51] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:16:51] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:16:51] local.INFO: IMEI packet received {"connection_id":111431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":111431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:16:57] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:16:57] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:16:57] local.INFO: IMEI packet received {"connection_id":111431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":111431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:16:57] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55d58a0012d196600071ff1c0003f013128..."} 
[2026-06-23 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55d58a0012d196600071ff1c0003f013128..."} 
[2026-06-23 22:16:57] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55d58a0012d196600071ff1c0003f013128..."} 
[2026-06-23 22:16:57] local.INFO: Packet analysis {"connection_id":111431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:16:57] local.INFO: Extracted packet for processing {"connection_id":111431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251641344001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782232996000,"timestamp_ms":1782232996000,"timestamp_seconds":1782232996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55d58a0"} 
[2026-06-23 22:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:16: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:16:57] 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-06-23 22: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-06-23 22:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251641344001,"66":12254,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251641344001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:16:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251641344001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":111431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:16:57] local.INFO: GPS data processed {"connection_id":111431,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:16:57] local.INFO: Acknowledgment sent {"connection_id":111431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:17:00] local.INFO: TCP Data received {"connection_id":112068,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5600ff0012d0c574006ed0508000900e12c..."} 
[2026-06-23 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5600ff0012d0c574006ed0508000900e12c..."} 
[2026-06-23 22:17:00] local.INFO: Processing buffer {"connection_id":112068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5600ff0012d0c574006ed0508000900e12c..."} 
[2026-06-23 22:17:00] local.INFO: Packet analysis {"connection_id":112068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:17:00] local.INFO: Extracted packet for processing {"connection_id":112068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:17:00] local.INFO: GPS Element Parsed {"raw_longitude":755783488,"raw_latitude":116196616,"longitude_deg":75.5783488,"latitude_deg":11.6196616,"altitude":9,"angle":225,"satellites":44,"speed":17,"hex_longitude":"2d0c5740","hex_latitude":"06ed0508","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251692032001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321927585749532672,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889812799873067008,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:00] 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-06-23 22:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782233174000,"timestamp_ms":1782233174000,"timestamp_seconds":1782233174,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5600ff0"} 
[2026-06-23 22:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:17:00] 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-06-23 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 22:17:00] 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-06-23 22: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-06-23 22:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251692032001,"66":27213,"158":206,"2":56576,"24":17,"16":321927585749532672,"45":889812799873067008},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251692032001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:17:00] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321927585749532672,"km_value":321927585749532.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":889812799873067008,"description":"Unknown IO ID 45"} 
[2026-06-23 22:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251692032001,"power":27213,"unknown_158":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":889812799873067008}} 
[2026-06-23 22:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":112068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:17:00] local.INFO: GPS data processed {"connection_id":112068,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:17:00] local.INFO: Acknowledgment sent {"connection_id":112068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:17:28] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:17:28] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:17:28] local.INFO: IMEI packet received {"connection_id":111263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":111263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:17:28] local.INFO: TCP Data received {"connection_id":111431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55daaa8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55daaa8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:17:28] local.INFO: Processing buffer {"connection_id":111431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55daaa8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:17:28] local.INFO: Packet analysis {"connection_id":111431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:17:28] local.INFO: Extracted packet for processing {"connection_id":111431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251646976001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233017000,"timestamp_ms":1782233017000,"timestamp_seconds":1782233017,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55daaa8"} 
[2026-06-23 22:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:17:28] 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-06-23 22: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-06-23 22:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251646976001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251646976001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251646976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":111431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:17:28] local.INFO: GPS data processed {"connection_id":111431,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:17:28] local.INFO: Acknowledgment sent {"connection_id":111431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:17:33] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:17:33] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:17:33] local.INFO: IMEI packet received {"connection_id":111263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":111263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:17:34] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5602760012d0c500006ecfe18000900ce2c..."} 
[2026-06-23 22:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5602760012d0c500006ecfe18000900ce2c..."} 
[2026-06-23 22:17:34] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5602760012d0c500006ecfe18000900ce2c..."} 
[2026-06-23 22:17:34] local.INFO: Packet analysis {"connection_id":111263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:17:34] local.INFO: Extracted packet for processing {"connection_id":111263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:17:34] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":116194840,"longitude_deg":75.5781632,"latitude_deg":11.619484,"altitude":9,"angle":206,"satellites":44,"speed":17,"hex_longitude":"2d0c5000","hex_latitude":"06ecfe18","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251692544001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321927706008616960,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889249849919473664,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:34] 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-06-23 22:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782233180000,"timestamp_ms":1782233180000,"timestamp_seconds":1782233180,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5602760"} 
[2026-06-23 22:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:17: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-06-23 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 22:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251692544001,"66":27343,"158":206,"2":56576,"24":17,"16":321927706008616960,"45":889249849919473664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251692544001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321927706008616960,"km_value":321927706008616.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":889249849919473664,"description":"Unknown IO ID 45"} 
[2026-06-23 22:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251692544001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":889249849919473664}} 
[2026-06-23 22:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":111263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:17:34] local.INFO: GPS data processed {"connection_id":111263,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:17:34] local.INFO: Acknowledgment sent {"connection_id":111263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:17:41] local.INFO: TCP Data received {"connection_id":111263,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5602f30012d0c4ec006ecfa98000a00bd2c..."} 
[2026-06-23 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5602f30012d0c4ec006ecfa98000a00bd2c..."} 
[2026-06-23 22:17:41] local.INFO: Processing buffer {"connection_id":111263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5602f30012d0c4ec006ecfa98000a00bd2c..."} 
[2026-06-23 22:17:41] local.INFO: Packet analysis {"connection_id":111263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:17:41] local.INFO: Extracted packet for processing {"connection_id":111263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":116193944,"longitude_deg":75.5781312,"latitude_deg":11.6193944,"altitude":10,"angle":189,"satellites":44,"speed":19,"hex_longitude":"2d0c4ec0","hex_latitude":"06ecfa98","is_valid_coordinates":true} 
[2026-06-23 22:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251694080001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321927753253257216,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887209156337866752,"note":"Value kept but may cause issues"} 
[2026-06-23 22:17:41] 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-06-23 22:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782233182000,"timestamp_ms":1782233182000,"timestamp_seconds":1782233182,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5602f30"} 
[2026-06-23 22:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:17:41] 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-06-23 22:17: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-06-23 22:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":111263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":111263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":111263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251694080001,"66":27267,"158":206,"2":56576,"24":19,"16":321927753253257216,"45":887209156337866752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251694080001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321927753253257216,"km_value":321927753253257.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":887209156337866752,"description":"Unknown IO ID 45"} 
[2026-06-23 22:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251694080001,"power":27267,"unknown_158":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":887209156337866752}} 
[2026-06-23 22:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":111263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:17:41] local.INFO: GPS data processed {"connection_id":111263,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:17:41] local.INFO: Acknowledgment sent {"connection_id":111263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:17:57] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:17:57] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:17:57] local.INFO: IMEI packet received {"connection_id":111432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":111432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:18:01] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:01] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:01] local.INFO: IMEI packet received {"connection_id":111432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":111432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:18:02] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55dfcb0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55dfcb0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:18:02] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55dfcb0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:18:02] local.INFO: Packet analysis {"connection_id":111432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:18:02] local.INFO: Extracted packet for processing {"connection_id":111432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55d"} 
[2026-06-23 22:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251652352001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782233038000,"timestamp_ms":1782233038000,"timestamp_seconds":1782233038,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55dfcb0"} 
[2026-06-23 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-06-23 22:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:18: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-06-23 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-06-23 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-06-23 22:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251652352001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251652352001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251652352001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":111432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:18:02] local.INFO: GPS data processed {"connection_id":111432,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:18:02] local.INFO: Acknowledgment sent {"connection_id":111432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:18:06] local.INFO: TCP Data received {"connection_id":111432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55e4eb8012d196600071ff1c0003f013127..."} 
[2026-06-23 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55e4eb8012d196600071ff1c0003f013127..."} 
[2026-06-23 22:18:06] local.INFO: Processing buffer {"connection_id":111432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55e4eb8012d196600071ff1c0003f013127..."} 
[2026-06-23 22:18:06] local.INFO: Packet analysis {"connection_id":111432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:18:06] local.INFO: Extracted packet for processing {"connection_id":111432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251657728001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18: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-06-23 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782233059000,"timestamp_ms":1782233059000,"timestamp_seconds":1782233059,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55e4eb8"} 
[2026-06-23 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:18: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-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:18:06] 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-06-23 22: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-06-23 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251657728001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251657728001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251657728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":111432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:18:06] local.INFO: GPS data processed {"connection_id":111432,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:18:06] local.INFO: Acknowledgment sent {"connection_id":111432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:18:21] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:21] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:21] local.INFO: IMEI packet received {"connection_id":112069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":112069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:18:23] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:23] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:23] local.INFO: IMEI packet received {"connection_id":112069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":112069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:18:28] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:28] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:18:28] local.INFO: IMEI packet received {"connection_id":112069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":112069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:18:29] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5608138012d0c4b0006ecded0000b00ba2c..."} 
[2026-06-23 22:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5608138012d0c4b0006ecded0000b00ba2c..."} 
[2026-06-23 22:18:29] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5608138012d0c4b0006ecded0000b00ba2c..."} 
[2026-06-23 22:18:29] local.INFO: Packet analysis {"connection_id":112069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:18:29] local.INFO: Extracted packet for processing {"connection_id":112069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:18:29] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":116186832,"longitude_deg":75.5780352,"latitude_deg":11.6186832,"altitude":11,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d0c4b00","hex_latitude":"06ecded0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251694592001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321928105440575488,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886857312616749056,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:29] 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-06-23 22:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233203000,"timestamp_ms":1782233203000,"timestamp_seconds":1782233203,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5608138"} 
[2026-06-23 22:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:18:29] 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-06-23 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 22:18:29] 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-06-23 22: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-06-23 22:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251694592001,"66":27343,"158":206,"2":56576,"24":0,"16":321928105440575488,"45":886857312616749056},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251694592001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:18:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321928105440575488,"km_value":321928105440575.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":886857312616749056,"description":"Unknown IO ID 45"} 
[2026-06-23 22:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251694592001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":886857312616749056}} 
[2026-06-23 22:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":112069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:18:29] local.INFO: GPS data processed {"connection_id":112069,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:18:29] local.INFO: Acknowledgment sent {"connection_id":112069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:18:35] local.INFO: TCP Data received {"connection_id":111264,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:18:35] local.INFO: Processing buffer {"connection_id":111264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:18:35] local.INFO: IMEI packet received {"connection_id":111264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":111264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:18:52] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:52] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:52] local.INFO: IMEI packet received {"connection_id":111433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":111433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:18:57] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:57] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:18:57] local.INFO: IMEI packet received {"connection_id":111433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":111433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:18:57] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55e9cd8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55e9cd8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:18:57] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55e9cd8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:18:57] local.INFO: Packet analysis {"connection_id":111433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:18:57] local.INFO: Extracted packet for processing {"connection_id":111433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251663104001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233079000,"timestamp_ms":1782233079000,"timestamp_seconds":1782233079,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55e9cd8"} 
[2026-06-23 22:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:18: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:18:57] 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-06-23 22: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-06-23 22:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251663104001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251663104001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251663104001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":111433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:18:57] local.INFO: GPS data processed {"connection_id":111433,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:18:57] local.INFO: Acknowledgment sent {"connection_id":111433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:19:01] local.INFO: TCP Data received {"connection_id":112069,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef560d340012d0c484006eccc10000c00bb2d..."} 
[2026-06-23 22:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef560d340012d0c484006eccc10000c00bb2d..."} 
[2026-06-23 22:19:01] local.INFO: Processing buffer {"connection_id":112069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef560d340012d0c484006eccc10000c00bb2d..."} 
[2026-06-23 22:19:01] local.INFO: Packet analysis {"connection_id":112069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:19:01] local.INFO: Extracted packet for processing {"connection_id":112069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef560"} 
[2026-06-23 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":755779648,"raw_latitude":116182032,"longitude_deg":75.5779648,"latitude_deg":11.6182032,"altitude":12,"angle":187,"satellites":45,"speed":12,"hex_longitude":"2d0c4840","hex_latitude":"06eccc10","is_valid_coordinates":true} 
[2026-06-23 22:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251699968001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321928341663776768,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885801781452263424,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:01] 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-06-23 22:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233224000,"timestamp_ms":1782233224000,"timestamp_seconds":1782233224,"priority":1,"record_length":96,"hex_timestamp":"0000019ef560d340"} 
[2026-06-23 22:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251699968001,"66":27484,"158":206,"2":56576,"24":12,"16":321928341663776768,"45":885801781452263424},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251699968001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321928341663776768,"km_value":321928341663776.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":885801781452263424,"description":"Unknown IO ID 45"} 
[2026-06-23 22:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251699968001,"power":27484,"unknown_158":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":885801781452263424}} 
[2026-06-23 22:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":112069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:19:01] local.INFO: GPS data processed {"connection_id":112069,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:19:01] local.INFO: Acknowledgment sent {"connection_id":112069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:19:06] local.INFO: TCP Data received {"connection_id":112995,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:19:06] local.INFO: Processing buffer {"connection_id":112995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:19:06] local.INFO: IMEI packet received {"connection_id":112995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":112995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:19:23] local.INFO: TCP Data received {"connection_id":111265,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:19:23] local.INFO: Processing buffer {"connection_id":111265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:19:23] local.INFO: IMEI packet received {"connection_id":111265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":111265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:19:28] local.INFO: TCP Data received {"connection_id":111265,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:19:28] local.INFO: Processing buffer {"connection_id":111265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:19:28] local.INFO: IMEI packet received {"connection_id":111265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":111265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:19:28] local.INFO: TCP Data received {"connection_id":111433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55eeee0012d196600071ff1c0003f013128..."} 
[2026-06-23 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55eeee0012d196600071ff1c0003f013128..."} 
[2026-06-23 22:19:28] local.INFO: Processing buffer {"connection_id":111433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55eeee0012d196600071ff1c0003f013128..."} 
[2026-06-23 22:19:28] local.INFO: Packet analysis {"connection_id":111433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:19:28] local.INFO: Extracted packet for processing {"connection_id":111433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55e"} 
[2026-06-23 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251668224001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233100000,"timestamp_ms":1782233100000,"timestamp_seconds":1782233100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55eeee0"} 
[2026-06-23 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:19:28] 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-06-23 22:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251668224001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251668224001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251668224001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":111433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:19:28] local.INFO: GPS data processed {"connection_id":111433,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:19:28] local.INFO: Acknowledgment sent {"connection_id":111433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:19:30] local.INFO: TCP Data received {"connection_id":111265,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5612548012d0c45c006ecbbc8000c00bc2e..."} 
[2026-06-23 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5612548012d0c45c006ecbbc8000c00bc2e..."} 
[2026-06-23 22:19:30] local.INFO: Processing buffer {"connection_id":111265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5612548012d0c45c006ecbbc8000c00bc2e..."} 
[2026-06-23 22:19:30] local.INFO: Packet analysis {"connection_id":111265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef561"} 
[2026-06-23 22:19:30] local.INFO: Extracted packet for processing {"connection_id":111265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef561"} 
[2026-06-23 22:19:30] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116177864,"longitude_deg":75.5779008,"latitude_deg":11.6177864,"altitude":12,"angle":188,"satellites":46,"speed":6,"hex_longitude":"2d0c45c0","hex_latitude":"06ecbbc8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251705344001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321928547822206976,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725265080320,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:30] 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-06-23 22:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782233245000,"timestamp_ms":1782233245000,"timestamp_seconds":1782233245,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5612548"} 
[2026-06-23 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-06-23 22:19:30] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:19:30] 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-06-23 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-06-23 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-06-23 22:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251705344001,"66":27343,"158":206,"2":56576,"24":6,"16":321928547822206976,"45":885027725265080320},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251705344001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:19:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321928547822206976,"km_value":321928547822207.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":885027725265080320,"description":"Unknown IO ID 45"} 
[2026-06-23 22:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251705344001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":885027725265080320}} 
[2026-06-23 22:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":111265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:19:30] local.INFO: GPS data processed {"connection_id":111265,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:19:30] local.INFO: Acknowledgment sent {"connection_id":111265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:19:51] local.INFO: TCP Data received {"connection_id":112996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:51] local.INFO: Processing buffer {"connection_id":112996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:51] local.INFO: IMEI packet received {"connection_id":112996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":112996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:19:51] local.INFO: TCP Data received {"connection_id":112996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:51] local.INFO: Processing buffer {"connection_id":112996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:51] local.INFO: IMEI packet received {"connection_id":112996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":112996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:19:57] local.INFO: TCP Data received {"connection_id":112996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:57] local.INFO: Processing buffer {"connection_id":112996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:19:57] local.INFO: IMEI packet received {"connection_id":112996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":112996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:19:57] local.INFO: TCP Data received {"connection_id":112996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55f40e8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55f40e8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:19:57] local.INFO: Processing buffer {"connection_id":112996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55f40e8012d196600071ff1c0003f013129..."} 
[2026-06-23 22:19:57] local.INFO: Packet analysis {"connection_id":112996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55f"} 
[2026-06-23 22:19:57] local.INFO: Extracted packet for processing {"connection_id":112996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55f"} 
[2026-06-23 22:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251673600001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233121000,"timestamp_ms":1782233121000,"timestamp_seconds":1782233121,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55f40e8"} 
[2026-06-23 22:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:19: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-06-23 22:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:19:57] 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-06-23 22:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251673600001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251673600001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251673600001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":112996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:19:57] local.INFO: GPS data processed {"connection_id":112996,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:19:57] local.INFO: Acknowledgment sent {"connection_id":112996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:20:01] local.INFO: TCP Data received {"connection_id":111265,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5616b98012d0c450006ecb160000e00b02e..."} 
[2026-06-23 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5616b98012d0c450006ecb160000e00b02e..."} 
[2026-06-23 22:20:01] local.INFO: Processing buffer {"connection_id":111265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5616b98012d0c450006ecb160000e00b02e..."} 
[2026-06-23 22:20:01] local.INFO: Packet analysis {"connection_id":111265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef561"} 
[2026-06-23 22:20:01] local.INFO: Extracted packet for processing {"connection_id":111265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef561"} 
[2026-06-23 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":755778816,"raw_latitude":116175200,"longitude_deg":75.5778816,"latitude_deg":11.61752,"altitude":14,"angle":176,"satellites":46,"speed":5,"hex_longitude":"2d0c4500","hex_latitude":"06ecb160","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251710720001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321928680966193152,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037822236672,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:01] 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-06-23 22:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233263000,"timestamp_ms":1782233263000,"timestamp_seconds":1782233263,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5616b98"} 
[2026-06-23 22:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251710720001,"66":26832,"158":206,"2":56576,"24":5,"16":321928680966193152,"45":884324037822236672},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251710720001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:20:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321928680966193152,"km_value":321928680966193.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037822236672,"description":"Unknown IO ID 45"} 
[2026-06-23 22:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251710720001,"power":26832,"unknown_158":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":884324037822236672}} 
[2026-06-23 22:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":111265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:20:01] local.INFO: GPS data processed {"connection_id":111265,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:20:01] local.INFO: Acknowledgment sent {"connection_id":111265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:20:21] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:21] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:21] local.INFO: IMEI packet received {"connection_id":112070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":112070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:20:23] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:23] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:23] local.INFO: IMEI packet received {"connection_id":112070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":112070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:20:28] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:28] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:20:28] local.INFO: IMEI packet received {"connection_id":112070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":112070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:20:28] local.INFO: TCP Data received {"connection_id":112996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef55f92f0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef55f92f0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:20:28] local.INFO: Processing buffer {"connection_id":112996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef55f92f0012d196600071ff1c0003f013129..."} 
[2026-06-23 22:20:28] local.INFO: Packet analysis {"connection_id":112996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef55f"} 
[2026-06-23 22:20:28] local.INFO: Extracted packet for processing {"connection_id":112996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef55f"} 
[2026-06-23 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251678976001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233142000,"timestamp_ms":1782233142000,"timestamp_seconds":1782233142,"priority":1,"record_length":96,"hex_timestamp":"0000019ef55f92f0"} 
[2026-06-23 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-06-23 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:20:28] 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-06-23 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-06-23 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-06-23 22:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251678976001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251678976001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251678976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":112996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:20:29] local.INFO: GPS data processed {"connection_id":112996,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:20:29] local.INFO: Acknowledgment sent {"connection_id":112996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:20:29] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef561bda0012d0c45c006eca4a8000d00ae2f..."} 
[2026-06-23 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef561bda0012d0c45c006eca4a8000d00ae2f..."} 
[2026-06-23 22:20:29] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef561bda0012d0c45c006eca4a8000d00ae2f..."} 
[2026-06-23 22:20:29] local.INFO: Packet analysis {"connection_id":112070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef561"} 
[2026-06-23 22:20:29] local.INFO: Extracted packet for processing {"connection_id":112070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef561"} 
[2026-06-23 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116171944,"longitude_deg":75.5779008,"latitude_deg":11.6171944,"altitude":13,"angle":174,"satellites":47,"speed":9,"hex_longitude":"2d0c45c0","hex_latitude":"06eca4a8","is_valid_coordinates":true} 
[2026-06-23 22:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251715328001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321928839879983104,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931589021696,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:29] 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-06-23 22:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233284000,"timestamp_ms":1782233284000,"timestamp_seconds":1782233284,"priority":1,"record_length":96,"hex_timestamp":"0000019ef561bda0"} 
[2026-06-23 22:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:20:29] 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-06-23 22:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-23 22:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251715328001,"66":27343,"158":206,"2":56576,"24":9,"16":321928839879983104,"45":884112931589021696},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251715328001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:20:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321928839879983104,"km_value":321928839879983.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931589021696,"description":"Unknown IO ID 45"} 
[2026-06-23 22:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251715328001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":884112931589021696}} 
[2026-06-23 22:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":112070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:20:29] local.INFO: GPS data processed {"connection_id":112070,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:20:29] local.INFO: Acknowledgment sent {"connection_id":112070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:20:52] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:52] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:52] local.INFO: IMEI packet received {"connection_id":112071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":112071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:20:54] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:54] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:54] local.INFO: IMEI packet received {"connection_id":112071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":112071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:20:57] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:57] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:20:57] local.INFO: IMEI packet received {"connection_id":112071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":112071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:20:57] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5631d30012d196600071ff1c0003f013128..."} 
[2026-06-23 22:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5631d30012d196600071ff1c0003f013128..."} 
[2026-06-23 22:20:57] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5631d30012d196600071ff1c0003f013128..."} 
[2026-06-23 22:20:57] local.INFO: Packet analysis {"connection_id":112071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef563"} 
[2026-06-23 22:20:57] local.INFO: Extracted packet for processing {"connection_id":112071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef563"} 
[2026-06-23 22:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:20: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-06-23 22:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251738112001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233374000,"timestamp_ms":1782233374000,"timestamp_seconds":1782233374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5631d30"} 
[2026-06-23 22:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:20: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-06-23 22:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:20:57] 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-06-23 22:20: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-06-23 22:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251738112001,"66":12287,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251738112001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251738112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":112071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:20:58] local.INFO: GPS data processed {"connection_id":112071,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:20:58] local.INFO: Acknowledgment sent {"connection_id":112071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:21:01] local.INFO: TCP Data received {"connection_id":112070,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5620fa8012d0c474006ec8f08000c00ae2f..."} 
[2026-06-23 22:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5620fa8012d0c474006ec8f08000c00ae2f..."} 
[2026-06-23 22:21:01] local.INFO: Processing buffer {"connection_id":112070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5620fa8012d0c474006ec8f08000c00ae2f..."} 
[2026-06-23 22:21:01] local.INFO: Packet analysis {"connection_id":112070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef562"} 
[2026-06-23 22:21:01] local.INFO: Extracted packet for processing {"connection_id":112070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef562"} 
[2026-06-23 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116166408,"longitude_deg":75.5779392,"latitude_deg":11.6166408,"altitude":12,"angle":174,"satellites":47,"speed":13,"hex_longitude":"2d0c4740","hex_latitude":"06ec8f08","is_valid_coordinates":true} 
[2026-06-23 22:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251720704001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321929110462922752,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037820721152,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:01] 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-06-23 22:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233305000,"timestamp_ms":1782233305000,"timestamp_seconds":1782233305,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5620fa8"} 
[2026-06-23 22:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:21:01] 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-06-23 22:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251720704001,"66":27365,"158":206,"2":56576,"24":13,"16":321929110462922752,"45":884324037820721152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251720704001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321929110462922752,"km_value":321929110462922.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037820721152,"description":"Unknown IO ID 45"} 
[2026-06-23 22:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251720704001,"power":27365,"unknown_158":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":884324037820721152}} 
[2026-06-23 22:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":112070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:21:01] local.INFO: GPS data processed {"connection_id":112070,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:21:01] local.INFO: Acknowledgment sent {"connection_id":112070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:21:01] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5636b50012d196600071ff1c0003f013129..."} 
[2026-06-23 22:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5636b50012d196600071ff1c0003f013129..."} 
[2026-06-23 22:21:01] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5636b50012d196600071ff1c0003f013129..."} 
[2026-06-23 22:21:01] local.INFO: Packet analysis {"connection_id":112071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef563"} 
[2026-06-23 22:21:01] local.INFO: Extracted packet for processing {"connection_id":112071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef563"} 
[2026-06-23 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251743744001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233394000,"timestamp_ms":1782233394000,"timestamp_seconds":1782233394,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5636b50"} 
[2026-06-23 22:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:21: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-06-23 22:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251743744001,"66":11961,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251743744001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251743744001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":112071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:21:02] local.INFO: GPS data processed {"connection_id":112071,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:21:02] local.INFO: Acknowledgment sent {"connection_id":112071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:21:23] local.INFO: TCP Data received {"connection_id":112072,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:23] local.INFO: Processing buffer {"connection_id":112072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:23] local.INFO: IMEI packet received {"connection_id":112072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":112072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:21:24] local.INFO: TCP Data received {"connection_id":112072,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:24] local.INFO: Processing buffer {"connection_id":112072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:24] local.INFO: IMEI packet received {"connection_id":112072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":112072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:21:28] local.INFO: TCP Data received {"connection_id":112072,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:28] local.INFO: Processing buffer {"connection_id":112072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:21:28] local.INFO: IMEI packet received {"connection_id":112072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":112072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:21:30] local.INFO: TCP Data received {"connection_id":112072,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56232d0012d0c484006ec8440000d00b92f..."} 
[2026-06-23 22:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56232d0012d0c484006ec8440000d00b92f..."} 
[2026-06-23 22:21:30] local.INFO: Processing buffer {"connection_id":112072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56232d0012d0c484006ec8440000d00b92f..."} 
[2026-06-23 22:21:30] local.INFO: Packet analysis {"connection_id":112072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef562"} 
[2026-06-23 22:21:30] local.INFO: Extracted packet for processing {"connection_id":112072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef562"} 
[2026-06-23 22:21:30] local.INFO: GPS Element Parsed {"raw_longitude":755779648,"raw_latitude":116163648,"longitude_deg":75.5779648,"latitude_deg":11.6163648,"altitude":13,"angle":185,"satellites":47,"speed":12,"hex_longitude":"2d0c4840","hex_latitude":"06ec8440","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251726080001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321929247901876224,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250284369920,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:30] 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-06-23 22:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782233314000,"timestamp_ms":1782233314000,"timestamp_seconds":1782233314,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56232d0"} 
[2026-06-23 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-06-23 22:21:30] 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-06-23 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251726080001,"66":27267,"158":206,"2":56576,"24":12,"16":321929247901876224,"45":884746250284369920},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-23 22:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251726080001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:21:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-23 22:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321929247901876224,"km_value":321929247901876.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250284369920,"description":"Unknown IO ID 45"} 
[2026-06-23 22:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251726080001,"power":27267,"unknown_158":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":884746250284369920}} 
[2026-06-23 22:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":112072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:21:30] local.INFO: GPS data processed {"connection_id":112072,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:21:30] local.INFO: Acknowledgment sent {"connection_id":112072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:21:32] local.INFO: TCP Data received {"connection_id":112071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef563bd58012d196600071ff1c0003f013124..."} 
[2026-06-23 22:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef563bd58012d196600071ff1c0003f013124..."} 
[2026-06-23 22:21:32] local.INFO: Processing buffer {"connection_id":112071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef563bd58012d196600071ff1c0003f013124..."} 
[2026-06-23 22:21:32] local.INFO: Packet analysis {"connection_id":112071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef563"} 
[2026-06-23 22:21:32] local.INFO: Extracted packet for processing {"connection_id":112071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef563"} 
[2026-06-23 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119534016,"longitude_deg":75.6639232,"latitude_deg":11.9534016,"altitude":63,"angle":305,"satellites":36,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251748864001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868090496450560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21: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-06-23 22:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782233415000,"timestamp_ms":1782233415000,"timestamp_seconds":1782233415,"priority":1,"record_length":96,"hex_timestamp":"0000019ef563bd58"} 
[2026-06-23 22:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 22:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251748864001,"66":12232,"102":206,"83":41984,"24":0,"16":3868090496450560,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251748864001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:21:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868090496450560,"km_value":3868090496450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251748864001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":112071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:21:32] local.INFO: GPS data processed {"connection_id":112071,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:21:32] local.INFO: Acknowledgment sent {"connection_id":112071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:21:51] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:21:51] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:21:51] local.INFO: IMEI packet received {"connection_id":111435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":111435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:21:57] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:21:57] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:21:57] local.INFO: IMEI packet received {"connection_id":111435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":111435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:21:57] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5640f60012d196740071fee58004b013824..."} 
[2026-06-23 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5640f60012d196740071fee58004b013824..."} 
[2026-06-23 22:21:57] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5640f60012d196740071fee58004b013824..."} 
[2026-06-23 22:21:57] local.INFO: Packet analysis {"connection_id":111435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:21:57] local.INFO: Extracted packet for processing {"connection_id":111435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533144,"longitude_deg":75.6639552,"latitude_deg":11.9533144,"altitude":75,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee58","is_valid_coordinates":true} 
[2026-06-23 22:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251754240001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173393408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233436000,"timestamp_ms":1782233436000,"timestamp_seconds":1782233436,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5640f60"} 
[2026-06-23 22:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:21: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-06-23 22:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:21:57] 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-06-23 22:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251754240001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830150329173393408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251754240001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173393408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251754240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173393408}} 
[2026-06-23 22:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":111435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:21:57] local.INFO: GPS data processed {"connection_id":111435,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:21:57] local.INFO: Acknowledgment sent {"connection_id":111435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:22:01] local.INFO: TCP Data received {"connection_id":112072,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef564bb40012d0c930006eb7688001500e42e..."} 
[2026-06-23 22:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef564bb40012d0c930006eb7688001500e42e..."} 
[2026-06-23 22:22:01] local.INFO: Processing buffer {"connection_id":112072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef564bb40012d0c930006eb7688001500e42e..."} 
[2026-06-23 22:22:01] local.INFO: Packet analysis {"connection_id":112072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:01] local.INFO: Extracted packet for processing {"connection_id":112072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:01] local.INFO: GPS Element Parsed {"raw_longitude":755798784,"raw_latitude":116094600,"longitude_deg":75.5798784,"latitude_deg":11.60946,"altitude":21,"angle":228,"satellites":46,"speed":8,"hex_longitude":"2d0c9300","hex_latitude":"06eb7688","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251770624001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321933255106363392,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906349454728556544,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:01] 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-06-23 22:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233480000,"timestamp_ms":1782233480000,"timestamp_seconds":1782233480,"priority":1,"record_length":96,"hex_timestamp":"0000019ef564bb40"} 
[2026-06-23 22:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:22:01] 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-06-23 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251770624001,"66":27300,"42":206,"2":56576,"24":8,"16":321933255106363392,"45":906349454728556544},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-23 22:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251770624001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:22:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-23 22:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321933255106363392,"km_value":321933255106363.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":906349454728556544,"description":"Unknown IO ID 45"} 
[2026-06-23 22:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251770624001,"power":27300,"unknown_42":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":906349454728556544}} 
[2026-06-23 22:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":112072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:22:01] local.INFO: GPS data processed {"connection_id":112072,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:22:01] local.INFO: Acknowledgment sent {"connection_id":112072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:22:22] local.INFO: TCP Data received {"connection_id":112998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:22] local.INFO: Processing buffer {"connection_id":112998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:22] local.INFO: IMEI packet received {"connection_id":112998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":112998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:22:23] local.INFO: TCP Data received {"connection_id":112998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:23] local.INFO: Processing buffer {"connection_id":112998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:23] local.INFO: IMEI packet received {"connection_id":112998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":112998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:22:28] local.INFO: TCP Data received {"connection_id":112998,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:28] local.INFO: Processing buffer {"connection_id":112998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:22:28] local.INFO: IMEI packet received {"connection_id":112998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":112998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:22:28] local.INFO: TCP Data received {"connection_id":111435,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5646168012d196740071fee68004b013826..."} 
[2026-06-23 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5646168012d196740071fee68004b013826..."} 
[2026-06-23 22:22:28] local.INFO: Processing buffer {"connection_id":111435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5646168012d196740071fee68004b013826..."} 
[2026-06-23 22:22:28] local.INFO: Packet analysis {"connection_id":111435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:28] local.INFO: Extracted packet for processing {"connection_id":111435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251759616001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894058496,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233457000,"timestamp_ms":1782233457000,"timestamp_seconds":1782233457,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5646168"} 
[2026-06-23 22:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:22:28] 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-06-23 22: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-06-23 22:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251759616001,"66":12232,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894058496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251759616001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894058496,"description":"Unknown IO ID 45"} 
[2026-06-23 22:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251759616001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894058496}} 
[2026-06-23 22:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:22:29] local.INFO: GPS data processed {"connection_id":111435,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:22:29] local.INFO: Acknowledgment sent {"connection_id":111435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:22:31] local.INFO: TCP Data received {"connection_id":112998,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef564bf28012d0c928006eb75f0001400d32e..."} 
[2026-06-23 22:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef564bf28012d0c928006eb75f0001400d32e..."} 
[2026-06-23 22:22:31] local.INFO: Processing buffer {"connection_id":112998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef564bf28012d0c928006eb75f0001400d32e..."} 
[2026-06-23 22:22:31] local.INFO: Packet analysis {"connection_id":112998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:31] local.INFO: Extracted packet for processing {"connection_id":112998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:31] local.INFO: GPS Element Parsed {"raw_longitude":755798656,"raw_latitude":116094448,"longitude_deg":75.5798656,"latitude_deg":11.6094448,"altitude":20,"angle":211,"satellites":46,"speed":8,"hex_longitude":"2d0c9280","hex_latitude":"06eb75f0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251770880001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321933263696297984,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906067979751819264,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:31] 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-06-23 22:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782233481000,"timestamp_ms":1782233481000,"timestamp_seconds":1782233481,"priority":1,"record_length":96,"hex_timestamp":"0000019ef564bf28"} 
[2026-06-23 22:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:22:31] 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-06-23 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 22:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251770880001,"66":27300,"42":206,"2":56576,"24":8,"16":321933263696297984,"45":906067979751819264},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-23 22:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251770880001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:22:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-23 22:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321933263696297984,"km_value":321933263696298.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":906067979751819264,"description":"Unknown IO ID 45"} 
[2026-06-23 22:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251770880001,"power":27300,"unknown_42":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":906067979751819264}} 
[2026-06-23 22:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":112998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:22:31] local.INFO: GPS data processed {"connection_id":112998,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:22:31] local.INFO: Acknowledgment sent {"connection_id":112998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:22:51] local.INFO: TCP Data received {"connection_id":111267,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:22:51] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:22:51] local.INFO: IMEI packet received {"connection_id":111267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":111267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:22:57] local.INFO: TCP Data received {"connection_id":111267,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:22:57] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:22:57] local.INFO: IMEI packet received {"connection_id":111267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":111267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:22:57] local.INFO: TCP Data received {"connection_id":111267,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef564b370012d196740071fee68004b013825..."} 
[2026-06-23 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef564b370012d196740071fee68004b013825..."} 
[2026-06-23 22:22:57] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef564b370012d196740071fee68004b013825..."} 
[2026-06-23 22:22:57] local.INFO: Packet analysis {"connection_id":111267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:57] local.INFO: Extracted packet for processing {"connection_id":111267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251764992001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233478000,"timestamp_ms":1782233478000,"timestamp_seconds":1782233478,"priority":1,"record_length":96,"hex_timestamp":"0000019ef564b370"} 
[2026-06-23 22:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:22: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-06-23 22:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:22:57] 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-06-23 22:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251764992001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251764992001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251764992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":111267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:22:57] local.INFO: GPS data processed {"connection_id":111267,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:22:57] local.INFO: Acknowledgment sent {"connection_id":111267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:23:02] local.INFO: TCP Data received {"connection_id":112998,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef564c310012d0c924006eb7540001400c72e..."} 
[2026-06-23 22:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef564c310012d0c924006eb7540001400c72e..."} 
[2026-06-23 22:23:02] local.INFO: Processing buffer {"connection_id":112998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef564c310012d0c924006eb7540001400c72e..."} 
[2026-06-23 22:23:02] local.INFO: Packet analysis {"connection_id":112998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:23:02] local.INFO: Extracted packet for processing {"connection_id":112998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:23:02] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":116094272,"longitude_deg":75.5798592,"latitude_deg":11.6094272,"altitude":20,"angle":199,"satellites":46,"speed":7,"hex_longitude":"2d0c9240","hex_latitude":"06eb7540","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251771136001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321933272286232576,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242263425024,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:02] 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-06-23 22:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782233482000,"timestamp_ms":1782233482000,"timestamp_seconds":1782233482,"priority":1,"record_length":96,"hex_timestamp":"0000019ef564c310"} 
[2026-06-23 22:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:23:02] 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-06-23 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 22:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251771136001,"66":27158,"42":206,"2":56576,"24":7,"16":321933272286232576,"45":905927242263425024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-23 22:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251771136001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:23:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-23 22:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321933272286232576,"km_value":321933272286232.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242263425024,"description":"Unknown IO ID 45"} 
[2026-06-23 22:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251771136001,"power":27158,"unknown_42":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":905927242263425024}} 
[2026-06-23 22:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":112998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:23:02] local.INFO: GPS data processed {"connection_id":112998,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:23:02] local.INFO: Acknowledgment sent {"connection_id":112998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:23:23] local.INFO: TCP Data received {"connection_id":111436,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:23] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:23] local.INFO: IMEI packet received {"connection_id":111436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":111436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:23:23] local.INFO: TCP Data received {"connection_id":111436,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:23] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:23] local.INFO: IMEI packet received {"connection_id":111436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":111436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:23:28] local.INFO: TCP Data received {"connection_id":111436,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:28] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:23:28] local.INFO: IMEI packet received {"connection_id":111436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":111436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:23:28] local.INFO: TCP Data received {"connection_id":111267,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5650578012d196740071fee68004b013827..."} 
[2026-06-23 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5650578012d196740071fee68004b013827..."} 
[2026-06-23 22:23:28] local.INFO: Processing buffer {"connection_id":111267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5650578012d196740071fee68004b013827..."} 
[2026-06-23 22:23:28] local.INFO: Packet analysis {"connection_id":111267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:23:28] local.INFO: Extracted packet for processing {"connection_id":111267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251770368001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233499000,"timestamp_ms":1782233499000,"timestamp_seconds":1782233499,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5650578"} 
[2026-06-23 22:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:23:28] 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-06-23 22: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-06-23 22:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251770368001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251770368001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251770368001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":111267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:23:28] local.INFO: GPS data processed {"connection_id":111267,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:23:28] local.INFO: Acknowledgment sent {"connection_id":111267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:23:29] local.INFO: TCP Data received {"connection_id":111436,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef564c6f8012d0c91c006eb7460001400ba2f..."} 
[2026-06-23 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef564c6f8012d0c91c006eb7460001400ba2f..."} 
[2026-06-23 22:23:29] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef564c6f8012d0c91c006eb7460001400ba2f..."} 
[2026-06-23 22:23:29] local.INFO: Packet analysis {"connection_id":111436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:23:29] local.INFO: Extracted packet for processing {"connection_id":111436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef564"} 
[2026-06-23 22:23:29] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":116094048,"longitude_deg":75.5798464,"latitude_deg":11.6094048,"altitude":20,"angle":186,"satellites":47,"speed":10,"hex_longitude":"2d0c91c0","hex_latitude":"06eb7460","is_valid_coordinates":true} 
[2026-06-23 22:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251771392001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321933285171134464,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873519202304,"note":"Value kept but may cause issues"} 
[2026-06-23 22:23:29] 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-06-23 22:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233483000,"timestamp_ms":1782233483000,"timestamp_seconds":1782233483,"priority":1,"record_length":96,"hex_timestamp":"0000019ef564c6f8"} 
[2026-06-23 22:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:23:29] 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-06-23 22:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 22:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251771392001,"66":27158,"42":206,"2":56576,"24":10,"16":321933285171134464,"45":905856873519202304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-23 22:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251771392001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:23:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-23 22:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321933285171134464,"km_value":321933285171134.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873519202304,"description":"Unknown IO ID 45"} 
[2026-06-23 22:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251771392001,"power":27158,"unknown_42":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":905856873519202304}} 
[2026-06-23 22:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":111436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:23:29] local.INFO: GPS data processed {"connection_id":111436,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:23:29] local.INFO: Acknowledgment sent {"connection_id":111436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:23:57] local.INFO: TCP Data received {"connection_id":112999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:23:57] local.INFO: Processing buffer {"connection_id":112999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:23:57] local.INFO: IMEI packet received {"connection_id":112999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":112999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:24:01] local.INFO: TCP Data received {"connection_id":111436,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5665950012d0d538006ea93d80014009a2d..."} 
[2026-06-23 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5665950012d0d538006ea93d80014009a2d..."} 
[2026-06-23 22:24:01] local.INFO: Processing buffer {"connection_id":111436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5665950012d0d538006ea93d80014009a2d..."} 
[2026-06-23 22:24:01] local.INFO: Packet analysis {"connection_id":111436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:24:01] local.INFO: Extracted packet for processing {"connection_id":111436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:24:01] local.INFO: GPS Element Parsed {"raw_longitude":755848064,"raw_latitude":116036568,"longitude_deg":75.5848064,"latitude_deg":11.6036568,"altitude":20,"angle":154,"satellites":45,"speed":45,"hex_longitude":"2d0d5380","hex_latitude":"06ea93d8","is_valid_coordinates":true} 
[2026-06-23 22:24: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-06-23 22:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251795712001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321937000317845504,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954763150710005760,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782233586000,"timestamp_ms":1782233586000,"timestamp_seconds":1782233586,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5665950"} 
[2026-06-23 22:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:24:01] 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-06-23 22:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:24: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-06-23 22:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251795712001,"66":27484,"58":206,"2":56576,"24":45,"16":321937000317845504,"45":954763150710005760},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-06-23 22:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251795712001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:24:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-23 22:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321937000317845504,"km_value":321937000317845.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":954763150710005760,"description":"Unknown IO ID 45"} 
[2026-06-23 22:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251795712001,"power":27484,"unknown_58":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":954763150710005760}} 
[2026-06-23 22:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":111436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:24:01] local.INFO: GPS data processed {"connection_id":111436,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:24:01] local.INFO: Acknowledgment sent {"connection_id":111436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:24:01] local.INFO: TCP Data received {"connection_id":112999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:01] local.INFO: Processing buffer {"connection_id":112999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:01] local.INFO: IMEI packet received {"connection_id":112999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":112999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:24:02] local.INFO: TCP Data received {"connection_id":112999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5655780012d196740071fee68004b013827..."} 
[2026-06-23 22:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5655780012d196740071fee68004b013827..."} 
[2026-06-23 22:24:02] local.INFO: Processing buffer {"connection_id":112999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5655780012d196740071fee68004b013827..."} 
[2026-06-23 22:24:02] local.INFO: Packet analysis {"connection_id":112999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:24:02] local.INFO: Extracted packet for processing {"connection_id":112999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251775744001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782233520000,"timestamp_ms":1782233520000,"timestamp_seconds":1782233520,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5655780"} 
[2026-06-23 22:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:24: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-06-23 22:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251775744001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251775744001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251775744001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":112999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:24:02] local.INFO: GPS data processed {"connection_id":112999,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:24:02] local.INFO: Acknowledgment sent {"connection_id":112999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:24:02] local.INFO: TCP Data received {"connection_id":112999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef565a988012d196740071fee68004b013826..."} 
[2026-06-23 22:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef565a988012d196740071fee68004b013826..."} 
[2026-06-23 22:24:02] local.INFO: Processing buffer {"connection_id":112999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef565a988012d196740071fee68004b013826..."} 
[2026-06-23 22:24:02] local.INFO: Packet analysis {"connection_id":112999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:24:02] local.INFO: Extracted packet for processing {"connection_id":112999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251781120001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782233541000,"timestamp_ms":1782233541000,"timestamp_seconds":1782233541,"priority":1,"record_length":96,"hex_timestamp":"0000019ef565a988"} 
[2026-06-23 22:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:24: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-06-23 22:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251781120001,"66":12113,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251781120001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251781120001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":112999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:24:03] local.INFO: GPS data processed {"connection_id":112999,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:24:03] local.INFO: Acknowledgment sent {"connection_id":112999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:24:24] local.INFO: TCP Data received {"connection_id":111270,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:24] local.INFO: Processing buffer {"connection_id":111270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:24] local.INFO: IMEI packet received {"connection_id":111270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":111270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:24:25] local.INFO: TCP Data received {"connection_id":111270,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:25] local.INFO: Processing buffer {"connection_id":111270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:25] local.INFO: IMEI packet received {"connection_id":111270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":111270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:24:26] local.INFO: TCP Data received {"connection_id":111270,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:26] local.INFO: Processing buffer {"connection_id":111270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:26] local.INFO: IMEI packet received {"connection_id":111270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":111270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:24:27] local.INFO: TCP Data received {"connection_id":111270,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:27] local.INFO: Processing buffer {"connection_id":111270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:24:27] local.INFO: IMEI packet received {"connection_id":111270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":111270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:24:31] local.INFO: TCP Data received {"connection_id":111269,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:24:31] local.INFO: Processing buffer {"connection_id":111269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:24:31] local.INFO: IMEI packet received {"connection_id":111269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":111269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:24:34] local.INFO: TCP Data received {"connection_id":112999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef565fb90012d196740071fee68004b013828..."} 
[2026-06-23 22:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef565fb90012d196740071fee68004b013828..."} 
[2026-06-23 22:24:34] local.INFO: Processing buffer {"connection_id":112999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef565fb90012d196740071fee68004b013828..."} 
[2026-06-23 22:24:34] local.INFO: Packet analysis {"connection_id":112999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:24:34] local.INFO: Extracted packet for processing {"connection_id":112999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef565"} 
[2026-06-23 22:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251786496001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24: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-06-23 22:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782233562000,"timestamp_ms":1782233562000,"timestamp_seconds":1782233562,"priority":1,"record_length":96,"hex_timestamp":"0000019ef565fb90"} 
[2026-06-23 22:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:24: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-06-23 22: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 22:24:34] 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-06-23 22: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-06-23 22:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251786496001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251786496001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:24:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251786496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":112999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:24:34] local.INFO: GPS data processed {"connection_id":112999,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:24:34] local.INFO: Acknowledgment sent {"connection_id":112999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:24:52] local.INFO: TCP Data received {"connection_id":112073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:52] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:52] local.INFO: IMEI packet received {"connection_id":112073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":112073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:24:57] local.INFO: TCP Data received {"connection_id":112073,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:57] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:24:57] local.INFO: IMEI packet received {"connection_id":112073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":112073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:24:57] local.INFO: TCP Data received {"connection_id":112073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5664d98012d196740071fee68004b013827..."} 
[2026-06-23 22:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5664d98012d196740071fee68004b013827..."} 
[2026-06-23 22:24:57] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5664d98012d196740071fee68004b013827..."} 
[2026-06-23 22:24:57] local.INFO: Packet analysis {"connection_id":112073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:24:57] local.INFO: Extracted packet for processing {"connection_id":112073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251791872001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233583000,"timestamp_ms":1782233583000,"timestamp_seconds":1782233583,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5664d98"} 
[2026-06-23 22:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:24: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:24:57] 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-06-23 22: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-06-23 22:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251791872001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251791872001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251791872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":112073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:24:57] local.INFO: GPS data processed {"connection_id":112073,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:24:57] local.INFO: Acknowledgment sent {"connection_id":112073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:25:06] local.INFO: TCP Data received {"connection_id":111271,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:25:06] local.INFO: Processing buffer {"connection_id":111271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:25:06] local.INFO: IMEI packet received {"connection_id":111271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":111271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:25:28] local.INFO: TCP Data received {"connection_id":112073,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef566a388012d196740071fee68004b013828..."} 
[2026-06-23 22:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef566a388012d196740071fee68004b013828..."} 
[2026-06-23 22:25:28] local.INFO: Processing buffer {"connection_id":112073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef566a388012d196740071fee68004b013828..."} 
[2026-06-23 22:25:28] local.INFO: Packet analysis {"connection_id":112073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:25:28] local.INFO: Extracted packet for processing {"connection_id":112073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251797248001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233605000,"timestamp_ms":1782233605000,"timestamp_seconds":1782233605,"priority":1,"record_length":96,"hex_timestamp":"0000019ef566a388"} 
[2026-06-23 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-06-23 22:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:25:28] 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-06-23 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-06-23 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-06-23 22:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251797248001,"66":12211,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251797248001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251797248001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":112073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:25:28] local.INFO: GPS data processed {"connection_id":112073,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:25:28] local.INFO: Acknowledgment sent {"connection_id":112073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:25:52] local.INFO: TCP Data received {"connection_id":112074,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:25:52] local.INFO: Processing buffer {"connection_id":112074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:25:52] local.INFO: IMEI packet received {"connection_id":112074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":112074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:25:57] local.INFO: TCP Data received {"connection_id":112074,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:25:57] local.INFO: Processing buffer {"connection_id":112074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:25:57] local.INFO: IMEI packet received {"connection_id":112074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":112074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:25:57] local.INFO: TCP Data received {"connection_id":112074,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef566f590012d196740071fee68004b013825..."} 
[2026-06-23 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef566f590012d196740071fee68004b013825..."} 
[2026-06-23 22:25:57] local.INFO: Processing buffer {"connection_id":112074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef566f590012d196740071fee68004b013825..."} 
[2026-06-23 22:25:57] local.INFO: Packet analysis {"connection_id":112074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:25:57] local.INFO: Extracted packet for processing {"connection_id":112074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef566"} 
[2026-06-23 22:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251802880001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233626000,"timestamp_ms":1782233626000,"timestamp_seconds":1782233626,"priority":1,"record_length":96,"hex_timestamp":"0000019ef566f590"} 
[2026-06-23 22:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:25: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-06-23 22:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 22:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251802880001,"66":12254,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251802880001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251802880001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":112074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:25:57] local.INFO: GPS data processed {"connection_id":112074,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:25:57] local.INFO: Acknowledgment sent {"connection_id":112074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:26:28] local.INFO: TCP Data received {"connection_id":112074,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56743b0012d196740071fee68004b013827..."} 
[2026-06-23 22:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56743b0012d196740071fee68004b013827..."} 
[2026-06-23 22:26:28] local.INFO: Processing buffer {"connection_id":112074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56743b0012d196740071fee68004b013827..."} 
[2026-06-23 22:26:28] local.INFO: Packet analysis {"connection_id":112074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef567"} 
[2026-06-23 22:26:28] local.INFO: Extracted packet for processing {"connection_id":112074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef567"} 
[2026-06-23 22:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251808256001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233646000,"timestamp_ms":1782233646000,"timestamp_seconds":1782233646,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56743b0"} 
[2026-06-23 22:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:26:28] 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-06-23 22: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-06-23 22:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251808256001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251808256001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251808256001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":112074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:26:29] local.INFO: GPS data processed {"connection_id":112074,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:26:29] local.INFO: Acknowledgment sent {"connection_id":112074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:26:50] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:50] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:50] local.INFO: IMEI packet received {"connection_id":111437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":111437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:26:51] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:51] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:51] local.INFO: IMEI packet received {"connection_id":111437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":111437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:26:57] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:57] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:26:57] local.INFO: IMEI packet received {"connection_id":111437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":111437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:26:57] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56795b8012d196740071fee68004b013828..."} 
[2026-06-23 22:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56795b8012d196740071fee68004b013828..."} 
[2026-06-23 22:26:57] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56795b8012d196740071fee68004b013828..."} 
[2026-06-23 22:26:57] local.INFO: Packet analysis {"connection_id":111437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef567"} 
[2026-06-23 22:26:57] local.INFO: Extracted packet for processing {"connection_id":111437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef567"} 
[2026-06-23 22:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251813376001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233667000,"timestamp_ms":1782233667000,"timestamp_seconds":1782233667,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56795b8"} 
[2026-06-23 22:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:26: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-06-23 22:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:26:57] 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-06-23 22:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251813376001,"66":12254,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251813376001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251813376001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":111437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:26:57] local.INFO: GPS data processed {"connection_id":111437,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:26:57] local.INFO: Acknowledgment sent {"connection_id":111437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:27:28] local.INFO: TCP Data received {"connection_id":111437,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef567e7c0012d196740071fee68004b013826..."} 
[2026-06-23 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef567e7c0012d196740071fee68004b013826..."} 
[2026-06-23 22:27:28] local.INFO: Processing buffer {"connection_id":111437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef567e7c0012d196740071fee68004b013826..."} 
[2026-06-23 22:27:28] local.INFO: Packet analysis {"connection_id":111437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef567"} 
[2026-06-23 22:27:28] local.INFO: Extracted packet for processing {"connection_id":111437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef567"} 
[2026-06-23 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251818752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233688000,"timestamp_ms":1782233688000,"timestamp_seconds":1782233688,"priority":1,"record_length":96,"hex_timestamp":"0000019ef567e7c0"} 
[2026-06-23 22:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:27:28] 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-06-23 22: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-06-23 22:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251818752001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251818752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:27:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251818752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":111437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:27:29] local.INFO: GPS data processed {"connection_id":111437,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:27:29] local.INFO: Acknowledgment sent {"connection_id":111437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:27:51] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:51] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:51] local.INFO: IMEI packet received {"connection_id":111438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":111438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:27:54] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:54] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:54] local.INFO: IMEI packet received {"connection_id":111438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":111438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:27:57] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:57] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:27:57] local.INFO: IMEI packet received {"connection_id":111438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":111438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:27:57] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56839c8012d196740071fee68004b013827..."} 
[2026-06-23 22:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56839c8012d196740071fee68004b013827..."} 
[2026-06-23 22:27:57] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56839c8012d196740071fee68004b013827..."} 
[2026-06-23 22:27:57] local.INFO: Packet analysis {"connection_id":111438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef568"} 
[2026-06-23 22:27:57] local.INFO: Extracted packet for processing {"connection_id":111438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef568"} 
[2026-06-23 22:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251824128001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233709000,"timestamp_ms":1782233709000,"timestamp_seconds":1782233709,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56839c8"} 
[2026-06-23 22:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:27: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:27:57] 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-06-23 22: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-06-23 22:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251824128001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251824128001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251824128001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":111438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:27:57] local.INFO: GPS data processed {"connection_id":111438,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:27:57] local.INFO: Acknowledgment sent {"connection_id":111438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:28:29] local.INFO: TCP Data received {"connection_id":111438,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5688bd0012d196740071fee68004b013827..."} 
[2026-06-23 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5688bd0012d196740071fee68004b013827..."} 
[2026-06-23 22:28:29] local.INFO: Processing buffer {"connection_id":111438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5688bd0012d196740071fee68004b013827..."} 
[2026-06-23 22:28:29] local.INFO: Packet analysis {"connection_id":111438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef568"} 
[2026-06-23 22:28:29] local.INFO: Extracted packet for processing {"connection_id":111438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef568"} 
[2026-06-23 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251829504001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233730000,"timestamp_ms":1782233730000,"timestamp_seconds":1782233730,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5688bd0"} 
[2026-06-23 22:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:28:29] 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-06-23 22: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-06-23 22:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251829504001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251829504001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251829504001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":111438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:28:29] local.INFO: GPS data processed {"connection_id":111438,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:28:29] local.INFO: Acknowledgment sent {"connection_id":111438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:28:51] local.INFO: TCP Data received {"connection_id":112076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:28:51] local.INFO: Processing buffer {"connection_id":112076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:28:51] local.INFO: IMEI packet received {"connection_id":112076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":112076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:28:57] local.INFO: TCP Data received {"connection_id":112076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:28:57] local.INFO: Processing buffer {"connection_id":112076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:28:57] local.INFO: IMEI packet received {"connection_id":112076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":112076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:28:57] local.INFO: TCP Data received {"connection_id":112076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef568ddd8012d196740071fee68004b013826..."} 
[2026-06-23 22:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef568ddd8012d196740071fee68004b013826..."} 
[2026-06-23 22:28:57] local.INFO: Processing buffer {"connection_id":112076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef568ddd8012d196740071fee68004b013826..."} 
[2026-06-23 22:28:57] local.INFO: Packet analysis {"connection_id":112076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef568"} 
[2026-06-23 22:28:57] local.INFO: Extracted packet for processing {"connection_id":112076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef568"} 
[2026-06-23 22:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251834880001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233751000,"timestamp_ms":1782233751000,"timestamp_seconds":1782233751,"priority":1,"record_length":96,"hex_timestamp":"0000019ef568ddd8"} 
[2026-06-23 22:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:28: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-06-23 22:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:28:57] 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-06-23 22:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251834880001,"66":12265,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251834880001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251834880001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":112076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:28:57] local.INFO: GPS data processed {"connection_id":112076,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:28:57] local.INFO: Acknowledgment sent {"connection_id":112076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:29:28] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:29:28] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:29:28] local.INFO: IMEI packet received {"connection_id":112078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":112078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:29:29] local.INFO: TCP Data received {"connection_id":112076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5692fe0012d196740071fee68004b013827..."} 
[2026-06-23 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5692fe0012d196740071fee68004b013827..."} 
[2026-06-23 22:29:29] local.INFO: Processing buffer {"connection_id":112076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5692fe0012d196740071fee68004b013827..."} 
[2026-06-23 22:29:29] local.INFO: Packet analysis {"connection_id":112076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef569"} 
[2026-06-23 22:29:29] local.INFO: Extracted packet for processing {"connection_id":112076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef569"} 
[2026-06-23 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251840256001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233772000,"timestamp_ms":1782233772000,"timestamp_seconds":1782233772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5692fe0"} 
[2026-06-23 22:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 22:29:29] 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-06-23 22: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-06-23 22:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251840256001,"66":12232,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251840256001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251840256001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":112076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:29:29] local.INFO: GPS data processed {"connection_id":112076,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:29:29] local.INFO: Acknowledgment sent {"connection_id":112076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:29:30] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56b1440012d0ecc4006e769e00008008c30..."} 
[2026-06-23 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56b1440012d0ecc4006e769e00008008c30..."} 
[2026-06-23 22:29:30] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56b1440012d0ecc4006e769e00008008c30..."} 
[2026-06-23 22:29:30] local.INFO: Packet analysis {"connection_id":112078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:29:30] local.INFO: Extracted packet for processing {"connection_id":112078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:29:30] local.INFO: GPS Element Parsed {"raw_longitude":755944512,"raw_latitude":115829216,"longitude_deg":75.5944512,"latitude_deg":11.5829216,"altitude":8,"angle":140,"satellites":48,"speed":36,"hex_longitude":"2d0ecc40","hex_latitude":"06e769e0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251874304001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321948742758432768,"note":"Value kept but may cause issues"} 
[2026-06-23 22:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1059331104504647680,"note":"Value kept but may cause issues"} 
[2026-06-23 22:29: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-06-23 22:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782233896000,"timestamp_ms":1782233896000,"timestamp_seconds":1782233896,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56b1440"} 
[2026-06-23 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-06-23 22:29:30] 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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251874304001,"66":27397,"217":206,"2":56576,"24":36,"16":321948742758432768,"45":1059331104504647680},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-23 22:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251874304001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:29:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-23 22:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321948742758432768,"km_value":321948742758432.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1059331104504647680,"description":"Unknown IO ID 45"} 
[2026-06-23 22:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251874304001,"power":27397,"unknown_217":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1059331104504647680}} 
[2026-06-23 22:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":112078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:29:30] local.INFO: GPS data processed {"connection_id":112078,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:29:30] local.INFO: Acknowledgment sent {"connection_id":112078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:29:57] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:29:57] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:29:57] local.INFO: IMEI packet received {"connection_id":111274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":111274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:30:00] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:00] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:00] local.INFO: IMEI packet received {"connection_id":111274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":111274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:30:00] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56981e8012d196740071fee68004b013828..."} 
[2026-06-23 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56981e8012d196740071fee68004b013828..."} 
[2026-06-23 22:30:00] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56981e8012d196740071fee68004b013828..."} 
[2026-06-23 22:30:00] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef569"} 
[2026-06-23 22:30:00] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef569"} 
[2026-06-23 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251845632001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30: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-06-23 22:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782233793000,"timestamp_ms":1782233793000,"timestamp_seconds":1782233793,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56981e8"} 
[2026-06-23 22:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:30:00] 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-06-23 22: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-06-23 22:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251845632001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251845632001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:30:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251845632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:30:01] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:30:01] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:30:02] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef569d3f0012d196740071fee68004b013827..."} 
[2026-06-23 22:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef569d3f0012d196740071fee68004b013827..."} 
[2026-06-23 22:30:02] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef569d3f0012d196740071fee68004b013827..."} 
[2026-06-23 22:30:02] local.INFO: TCP Data received {"connection_id":112078,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56b2f98012d0edc0006e75940000900802f..."} 
[2026-06-23 22:30:02] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef569"} 
[2026-06-23 22:30:02] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef569"} 
[2026-06-23 22:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251851008001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782233814000,"timestamp_ms":1782233814000,"timestamp_seconds":1782233814,"priority":1,"record_length":96,"hex_timestamp":"0000019ef569d3f0"} 
[2026-06-23 22:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:30: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-06-23 22: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-06-23 22:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56b2f98012d0edc0006e75940000900802f..."} 
[2026-06-23 22:30:02] local.INFO: Processing buffer {"connection_id":112078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56b2f98012d0edc0006e75940000900802f..."} 
[2026-06-23 22:30:02] local.INFO: Packet analysis {"connection_id":112078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251851008001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:30:02] local.INFO: Extracted packet for processing {"connection_id":112078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:30:02] local.INFO: GPS Element Parsed {"raw_longitude":755948544,"raw_latitude":115824960,"longitude_deg":75.5948544,"latitude_deg":11.582496,"altitude":9,"angle":128,"satellites":47,"speed":27,"hex_longitude":"2d0edc00","hex_latitude":"06e75940","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251877376001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321949026226274304,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066297610176421888,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:02] 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-06-23 22:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782233903000,"timestamp_ms":1782233903000,"timestamp_seconds":1782233903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56b2f98"} 
[2026-06-23 22:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:30: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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251851008001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251851008001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251877376001,"66":26723,"217":206,"2":56576,"24":27,"16":321949026226274304,"45":1066297610176421888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-23 22:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251877376001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-23 22:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321949026226274304,"km_value":321949026226274.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066297610176421888,"description":"Unknown IO ID 45"} 
[2026-06-23 22:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251877376001,"power":26723,"unknown_217":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":1066297610176421888}} 
[2026-06-23 22:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":112078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:30:02] local.INFO: GPS data processed {"connection_id":112078,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:30:02] local.INFO: Acknowledgment sent {"connection_id":112078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:30:02] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:30:02] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:30:20] local.INFO: TCP Data received {"connection_id":111273,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:30:20] local.INFO: Processing buffer {"connection_id":111273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:30:20] local.INFO: IMEI packet received {"connection_id":111273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":111273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:30:23] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:30:23] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:30:23] local.INFO: IMEI packet received {"connection_id":111275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":111275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:30:28] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:30:28] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:30:28] local.INFO: IMEI packet received {"connection_id":111275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":111275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:30:29] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56b4320012d0ee60006e75188000a008c2e..."} 
[2026-06-23 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56b4320012d0ee60006e75188000a008c2e..."} 
[2026-06-23 22:30:29] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56b4320012d0ee60006e75188000a008c2e..."} 
[2026-06-23 22:30:29] local.INFO: Packet analysis {"connection_id":111275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:30:29] local.INFO: Extracted packet for processing {"connection_id":111275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:30:29] local.INFO: GPS Element Parsed {"raw_longitude":755951104,"raw_latitude":115822984,"longitude_deg":75.5951104,"latitude_deg":11.5822984,"altitude":10,"angle":140,"satellites":46,"speed":23,"hex_longitude":"2d0ee600","hex_latitude":"06e75188","is_valid_coordinates":true} 
[2026-06-23 22:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251879168001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321949180845096960,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070730841058525184,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:29] 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-06-23 22:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782233908000,"timestamp_ms":1782233908000,"timestamp_seconds":1782233908,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56b4320"} 
[2026-06-23 22:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:30:29] 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-06-23 22:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-06-23 22:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251879168001,"66":27365,"217":206,"2":56576,"24":23,"16":321949180845096960,"45":1070730841058525184},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-23 22:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251879168001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:30:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-23 22:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321949180845096960,"km_value":321949180845096.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070730841058525184,"description":"Unknown IO ID 45"} 
[2026-06-23 22:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251879168001,"power":27365,"unknown_217":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":1070730841058525184}} 
[2026-06-23 22:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":111275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:30:29] local.INFO: GPS data processed {"connection_id":111275,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:30:29] local.INFO: Acknowledgment sent {"connection_id":111275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:30:33] local.INFO: TCP Data received {"connection_id":111274,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56a25f8012d196740071fee68004b013828..."} 
[2026-06-23 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56a25f8012d196740071fee68004b013828..."} 
[2026-06-23 22:30:33] local.INFO: Processing buffer {"connection_id":111274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56a25f8012d196740071fee68004b013828..."} 
[2026-06-23 22:30:33] local.INFO: Packet analysis {"connection_id":111274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56a"} 
[2026-06-23 22:30:33] local.INFO: Extracted packet for processing {"connection_id":111274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56a"} 
[2026-06-23 22:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251856384001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30: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-06-23 22:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782233835000,"timestamp_ms":1782233835000,"timestamp_seconds":1782233835,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56a25f8"} 
[2026-06-23 22:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:30:33] 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-06-23 22:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251856384001,"66":12254,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251856384001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251856384001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":111274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:30:33] local.INFO: GPS data processed {"connection_id":111274,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:30:33] local.INFO: Acknowledgment sent {"connection_id":111274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:30:36] local.INFO: TCP Data received {"connection_id":113003,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:30:36] local.INFO: Processing buffer {"connection_id":113003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:30:36] local.INFO: IMEI packet received {"connection_id":113003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":113003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:30:41] local.INFO: TCP Data received {"connection_id":113003,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:30:41] local.INFO: Processing buffer {"connection_id":113003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:30:41] local.INFO: IMEI packet received {"connection_id":113003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":113003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:30:41] local.INFO: TCP Data received {"connection_id":113003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-06-23 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-06-23 22:30:41] local.INFO: Processing buffer {"connection_id":113003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-06-23 22:30:41] local.INFO: Packet analysis {"connection_id":113003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 22:30:41] local.INFO: Extracted packet for processing {"connection_id":113003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-23 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-23 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:41] 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-06-23 22:30:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 22:30:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-23 22:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":113003,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":113003,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 22:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":113003,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-23 22:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-23 22:30:41] local.WARNING: DEBUG: No valid data to process  
[2026-06-23 22:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":113003,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-23 22:30:41] local.ERROR: GPS data processing failed {"connection_id":113003,"error":"No valid data to process"} 
[2026-06-23 22:30:41] local.INFO: Acknowledgment sent {"connection_id":113003,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-23 22:30:52] local.INFO: TCP Data received {"connection_id":113004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:52] local.INFO: Processing buffer {"connection_id":113004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:52] local.INFO: IMEI packet received {"connection_id":113004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":113004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:30:56] local.INFO: TCP Data received {"connection_id":113004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:56] local.INFO: Processing buffer {"connection_id":113004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:30:56] local.INFO: IMEI packet received {"connection_id":113004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":113004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:30:57] local.INFO: TCP Data received {"connection_id":113004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56a7800012d196740071fee68004b013828..."} 
[2026-06-23 22:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56a7800012d196740071fee68004b013828..."} 
[2026-06-23 22:30:57] local.INFO: Processing buffer {"connection_id":113004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56a7800012d196740071fee68004b013828..."} 
[2026-06-23 22:30:57] local.INFO: Packet analysis {"connection_id":113004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56a"} 
[2026-06-23 22:30:57] local.INFO: Extracted packet for processing {"connection_id":113004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56a"} 
[2026-06-23 22:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:30: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-06-23 22:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251861760001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233856000,"timestamp_ms":1782233856000,"timestamp_seconds":1782233856,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56a7800"} 
[2026-06-23 22:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:30: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-06-23 22:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:30:57] 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-06-23 22:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251861760001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251861760001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251861760001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":113004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:30:57] local.INFO: GPS data processed {"connection_id":113004,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:30:57] local.INFO: Acknowledgment sent {"connection_id":113004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:31:00] local.INFO: TCP Data received {"connection_id":111275,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56b8970012d0efe4006e73880000e00852f..."} 
[2026-06-23 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56b8970012d0efe4006e73880000e00852f..."} 
[2026-06-23 22:31:00] local.INFO: Processing buffer {"connection_id":111275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56b8970012d0efe4006e73880000e00852f..."} 
[2026-06-23 22:31:00] local.INFO: Packet analysis {"connection_id":111275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:31:00] local.INFO: Extracted packet for processing {"connection_id":111275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755957312,"raw_latitude":115816576,"longitude_deg":75.5957312,"latitude_deg":11.5816576,"altitude":14,"angle":133,"satellites":47,"speed":25,"hex_longitude":"2d0efe40","hex_latitude":"06e73880","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251880448001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321949610341826560,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1073545590825125888,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782233926000,"timestamp_ms":1782233926000,"timestamp_seconds":1782233926,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56b8970"} 
[2026-06-23 22:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:31:00] 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-06-23 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251880448001,"66":27517,"128":206,"2":56576,"24":25,"16":321949610341826560,"45":1073545590825125888},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,2,24,16,45]} 
[2026-06-23 22:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251880448001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:31:00] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-23 22:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321949610341826560,"km_value":321949610341826.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1073545590825125888,"description":"Unknown IO ID 45"} 
[2026-06-23 22:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251880448001,"power":27517,"unknown_128":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":1073545590825125888}} 
[2026-06-23 22:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":111275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:31:01] local.INFO: GPS data processed {"connection_id":111275,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:31:01] local.INFO: Acknowledgment sent {"connection_id":111275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:31:12] local.INFO: TCP Data received {"connection_id":113003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56d4aa8012d7e378005d34cc80003000006..."} 
[2026-06-23 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56d4aa8012d7e378005d34cc80003000006..."} 
[2026-06-23 22:31:12] local.INFO: Processing buffer {"connection_id":113003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56d4aa8012d7e378005d34cc80003000006..."} 
[2026-06-23 22:31:12] local.INFO: Packet analysis {"connection_id":113003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:31:12] local.INFO: Extracted packet for processing {"connection_id":113003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97733832,"longitude_deg":76.3246464,"latitude_deg":9.7733832,"altitude":3,"angle":0,"satellites":6,"speed":0,"hex_longitude":"2d7e3780","hex_latitude":"05d34cc8","is_valid_coordinates":true} 
[2026-06-23 22:31:12] 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-06-23 22:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:12] 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-06-23 22:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782234041000,"timestamp_ms":1782234041000,"timestamp_seconds":1782234041,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56d4aa8"} 
[2026-06-23 22:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:31:12] 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-06-23 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-23 22:31:12] 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-06-23 22:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":113003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":113003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":113003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12798,"109":206,"85":15104,"24":0,"16":96535411521748992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-06-23 22:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-23 22:31:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 22:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-06-23 22:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":113003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:31:12] local.INFO: GPS data processed {"connection_id":113003,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:31:12] local.INFO: Acknowledgment sent {"connection_id":113003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:31:23] local.INFO: TCP Data received {"connection_id":112079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:31:23] local.INFO: Processing buffer {"connection_id":112079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:31:23] local.INFO: IMEI packet received {"connection_id":112079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":112079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:31:28] local.INFO: TCP Data received {"connection_id":113004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56aca08012d196740071fee68004b013829..."} 
[2026-06-23 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56aca08012d196740071fee68004b013829..."} 
[2026-06-23 22:31:28] local.INFO: Processing buffer {"connection_id":113004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56aca08012d196740071fee68004b013829..."} 
[2026-06-23 22:31:28] local.INFO: Packet analysis {"connection_id":113004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56a"} 
[2026-06-23 22:31:28] local.INFO: Extracted packet for processing {"connection_id":113004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56a"} 
[2026-06-23 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251867136001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233877000,"timestamp_ms":1782233877000,"timestamp_seconds":1782233877,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56aca08"} 
[2026-06-23 22:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:31:28] 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-06-23 22:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251867136001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251867136001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251867136001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:31:28] local.INFO: TCP Data received {"connection_id":112079,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:31:28] local.INFO: Processing buffer {"connection_id":112079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:31:28] local.INFO: IMEI packet received {"connection_id":112079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":112079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":113004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:31:29] local.INFO: GPS data processed {"connection_id":113004,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:31:29] local.INFO: Acknowledgment sent {"connection_id":113004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:31:30] local.INFO: TCP Data received {"connection_id":112079,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56bb850012d0f18c006e72058000d00862d..."} 
[2026-06-23 22:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56bb850012d0f18c006e72058000d00862d..."} 
[2026-06-23 22:31:30] local.INFO: Processing buffer {"connection_id":112079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56bb850012d0f18c006e72058000d00862d..."} 
[2026-06-23 22:31:30] local.INFO: Packet analysis {"connection_id":112079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:31:30] local.INFO: Extracted packet for processing {"connection_id":112079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:31:30] local.INFO: GPS Element Parsed {"raw_longitude":755964096,"raw_latitude":115810392,"longitude_deg":75.5964096,"latitude_deg":11.5810392,"altitude":13,"angle":134,"satellites":45,"speed":35,"hex_longitude":"2d0f18c0","hex_latitude":"06e72058","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251885056001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321950052723458048,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1080371359008718848,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782233938000,"timestamp_ms":1782233938000,"timestamp_seconds":1782233938,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56bb850"} 
[2026-06-23 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-06-23 22:31:30] 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-06-23 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 22:31:30] 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-06-23 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-06-23 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-06-23 22:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251885056001,"66":27484,"128":206,"2":56576,"24":35,"16":321950052723458048,"45":1080371359008718848},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,2,24,16,45]} 
[2026-06-23 22:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251885056001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:31:30] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-23 22:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321950052723458048,"km_value":321950052723458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1080371359008718848,"description":"Unknown IO ID 45"} 
[2026-06-23 22:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251885056001,"power":27484,"unknown_128":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":1080371359008718848}} 
[2026-06-23 22:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":112079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:31:30] local.INFO: GPS data processed {"connection_id":112079,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:31:30] local.INFO: Acknowledgment sent {"connection_id":112079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:31:43] local.INFO: TCP Data received {"connection_id":113003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56d75a0012d7e378005d34d000005000007..."} 
[2026-06-23 22:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56d75a0012d7e378005d34d000005000007..."} 
[2026-06-23 22:31:43] local.INFO: Processing buffer {"connection_id":113003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56d75a0012d7e378005d34d000005000007..."} 
[2026-06-23 22:31:43] local.INFO: Packet analysis {"connection_id":113003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:31:43] local.INFO: Extracted packet for processing {"connection_id":113003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97733888,"longitude_deg":76.3246464,"latitude_deg":9.7733888,"altitude":5,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d7e3780","hex_latitude":"05d34d00","is_valid_coordinates":true} 
[2026-06-23 22:31: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-06-23 22:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251914496001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96535411521748992,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006222336,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31: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-06-23 22:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782234052000,"timestamp_ms":1782234052000,"timestamp_seconds":1782234052,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56d75a0"} 
[2026-06-23 22:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:31: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-06-23 22: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-23 22:31: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-06-23 22: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-06-23 22:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":113003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":113003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":113003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251914496001,"66":12743,"109":206,"85":15104,"24":0,"16":96535411521748992,"45":9094878735006222336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 22:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251914496001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:31:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 22:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96535411521748992,"km_value":96535411521748.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006222336,"description":"Unknown IO ID 45"} 
[2026-06-23 22:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251914496001,"power":12743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006222336}} 
[2026-06-23 22:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":113003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:31:43] local.INFO: GPS data processed {"connection_id":113003,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:31:43] local.INFO: Acknowledgment sent {"connection_id":113003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:31:51] local.INFO: TCP Data received {"connection_id":111441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:31:51] local.INFO: Processing buffer {"connection_id":111441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:31:51] local.INFO: IMEI packet received {"connection_id":111441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":111441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:31:56] local.INFO: TCP Data received {"connection_id":111441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:31:56] local.INFO: Processing buffer {"connection_id":111441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:31:56] local.INFO: IMEI packet received {"connection_id":111441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":111441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:31:57] local.INFO: TCP Data received {"connection_id":111441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56b1ff8012d196740071fee68004b013828..."} 
[2026-06-23 22:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56b1ff8012d196740071fee68004b013828..."} 
[2026-06-23 22:31:57] local.INFO: Processing buffer {"connection_id":111441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56b1ff8012d196740071fee68004b013828..."} 
[2026-06-23 22:31:57] local.INFO: Packet analysis {"connection_id":111441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:31:57] local.INFO: Extracted packet for processing {"connection_id":111441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251872512001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233899000,"timestamp_ms":1782233899000,"timestamp_seconds":1782233899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56b1ff8"} 
[2026-06-23 22:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:31: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-06-23 22:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:31:57] 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-06-23 22:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251872512001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251872512001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251872512001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":111441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:31:57] local.INFO: GPS data processed {"connection_id":111441,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:31:57] local.INFO: Acknowledgment sent {"connection_id":111441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:32:02] local.INFO: TCP Data received {"connection_id":112079,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56d98c8012d10798006e632200009008a30..."} 
[2026-06-23 22:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56d98c8012d10798006e632200009008a30..."} 
[2026-06-23 22:32:02] local.INFO: Processing buffer {"connection_id":112079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56d98c8012d10798006e632200009008a30..."} 
[2026-06-23 22:32:02] local.INFO: Packet analysis {"connection_id":112079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:32:02] local.INFO: Extracted packet for processing {"connection_id":112079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756054400,"raw_latitude":115749408,"longitude_deg":75.60544,"latitude_deg":11.5749408,"altitude":9,"angle":138,"satellites":48,"speed":37,"hex_longitude":"2d107980","hex_latitude":"06e63220","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251919616001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321955292583559168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1187120743909040128,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:02] 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-06-23 22:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782234061000,"timestamp_ms":1782234061000,"timestamp_seconds":1782234061,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56d98c8"} 
[2026-06-23 22:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:32:02] 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-06-23 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251919616001,"66":27376,"129":206,"2":56576,"24":37,"16":321955292583559168,"45":1187120743909040128},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251919616001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321955292583559168,"km_value":321955292583559.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1187120743909040128,"description":"Unknown IO ID 45"} 
[2026-06-23 22:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251919616001,"power":27376,"unknown_129":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1187120743909040128}} 
[2026-06-23 22:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":112079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:32:02] local.INFO: GPS data processed {"connection_id":112079,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:32:02] local.INFO: Acknowledgment sent {"connection_id":112079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:32:25] local.INFO: TCP Data received {"connection_id":111442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:25] local.INFO: Processing buffer {"connection_id":111442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:25] local.INFO: IMEI packet received {"connection_id":111442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":111442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:32:28] local.INFO: TCP Data received {"connection_id":111442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:28] local.INFO: Processing buffer {"connection_id":111442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:28] local.INFO: IMEI packet received {"connection_id":111442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":111442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:32:28] local.INFO: TCP Data received {"connection_id":111441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56b6e18012d196740071fee68004b013826..."} 
[2026-06-23 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56b6e18012d196740071fee68004b013826..."} 
[2026-06-23 22:32:28] local.INFO: Processing buffer {"connection_id":111441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56b6e18012d196740071fee68004b013826..."} 
[2026-06-23 22:32:28] local.INFO: Packet analysis {"connection_id":111441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:32:28] local.INFO: Extracted packet for processing {"connection_id":111441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251878144001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233919000,"timestamp_ms":1782233919000,"timestamp_seconds":1782233919,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56b6e18"} 
[2026-06-23 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-06-23 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:32:28] 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-06-23 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-06-23 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-06-23 22:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251878144001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251878144001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251878144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":111441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:32:28] local.INFO: GPS data processed {"connection_id":111441,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:32:28] local.INFO: Acknowledgment sent {"connection_id":111441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:32:32] local.INFO: TCP Data received {"connection_id":111442,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:32] local.INFO: Processing buffer {"connection_id":111442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:32:32] local.INFO: IMEI packet received {"connection_id":111442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":111442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:32:33] local.INFO: TCP Data received {"connection_id":111442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56db808012d108b8006e619f8000900952f..."} 
[2026-06-23 22:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56db808012d108b8006e619f8000900952f..."} 
[2026-06-23 22:32:33] local.INFO: Processing buffer {"connection_id":111442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56db808012d108b8006e619f8000900952f..."} 
[2026-06-23 22:32:33] local.INFO: Packet analysis {"connection_id":111442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:32:33] local.INFO: Extracted packet for processing {"connection_id":111442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756059008,"raw_latitude":115743224,"longitude_deg":75.6059008,"latitude_deg":11.5743224,"altitude":9,"angle":149,"satellites":47,"speed":38,"hex_longitude":"2d108b80","hex_latitude":"06e619f8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251919616001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321955666245713920,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1187120743909040128,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:33] 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-06-23 22:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782234069000,"timestamp_ms":1782234069000,"timestamp_seconds":1782234069,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56db808"} 
[2026-06-23 22:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:32:33] 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-06-23 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251919616001,"66":27397,"129":206,"2":56576,"24":38,"16":321955666245713920,"45":1187120743909040128},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251919616001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321955666245713920,"km_value":321955666245713.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1187120743909040128,"description":"Unknown IO ID 45"} 
[2026-06-23 22:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251919616001,"power":27397,"unknown_129":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1187120743909040128}} 
[2026-06-23 22:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":111442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:32:33] local.INFO: GPS data processed {"connection_id":111442,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:32:33] local.INFO: Acknowledgment sent {"connection_id":111442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:32:34] local.INFO: TCP Data received {"connection_id":111442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56ddb30012d109b8006e5faf0000a009c2d..."} 
[2026-06-23 22:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56ddb30012d109b8006e5faf0000a009c2d..."} 
[2026-06-23 22:32:34] local.INFO: Processing buffer {"connection_id":111442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56ddb30012d109b8006e5faf0000a009c2d..."} 
[2026-06-23 22:32:34] local.INFO: Packet analysis {"connection_id":111442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:32:34] local.INFO: Extracted packet for processing {"connection_id":111442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756063104,"raw_latitude":115735280,"longitude_deg":75.6063104,"latitude_deg":11.573528,"altitude":10,"angle":156,"satellites":45,"speed":40,"hex_longitude":"2d109b80","hex_latitude":"06e5faf0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251921664001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321956095742443520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1192187293488248832,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:34] 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-06-23 22:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782234078000,"timestamp_ms":1782234078000,"timestamp_seconds":1782234078,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56ddb30"} 
[2026-06-23 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-06-23 22:32: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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251921664001,"66":27376,"129":206,"2":56576,"24":40,"16":321956095742443520,"45":1192187293488248832},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251921664001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321956095742443520,"km_value":321956095742443.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1192187293488248832,"description":"Unknown IO ID 45"} 
[2026-06-23 22:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251921664001,"power":27376,"unknown_129":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":1192187293488248832}} 
[2026-06-23 22:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":111442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:32:34] local.INFO: GPS data processed {"connection_id":111442,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:32:34] local.INFO: Acknowledgment sent {"connection_id":111442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:32:51] local.INFO: TCP Data received {"connection_id":112080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:32:51] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:32:51] local.INFO: IMEI packet received {"connection_id":112080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":112080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:32:56] local.INFO: TCP Data received {"connection_id":112080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:32:56] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:32:56] local.INFO: IMEI packet received {"connection_id":112080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":112080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:32:57] local.INFO: TCP Data received {"connection_id":112080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56bc020012d196740071fee68004b013826..."} 
[2026-06-23 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56bc020012d196740071fee68004b013826..."} 
[2026-06-23 22:32:57] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56bc020012d196740071fee68004b013826..."} 
[2026-06-23 22:32:57] local.INFO: Packet analysis {"connection_id":112080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:32:57] local.INFO: Extracted packet for processing {"connection_id":112080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56b"} 
[2026-06-23 22:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251883264001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233940000,"timestamp_ms":1782233940000,"timestamp_seconds":1782233940,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56bc020"} 
[2026-06-23 22:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:32: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-06-23 22:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:32:57] 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-06-23 22:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251883264001,"66":12232,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251883264001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251883264001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":112080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:32:57] local.INFO: GPS data processed {"connection_id":112080,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:32:57] local.INFO: Acknowledgment sent {"connection_id":112080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:33:06] local.INFO: TCP Data received {"connection_id":111442,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56dfe58012d10a90006e5da70000c009c2e..."} 
[2026-06-23 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56dfe58012d10a90006e5da70000c009c2e..."} 
[2026-06-23 22:33:06] local.INFO: Processing buffer {"connection_id":111442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56dfe58012d10a90006e5da70000c009c2e..."} 
[2026-06-23 22:33:06] local.INFO: Packet analysis {"connection_id":111442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:33:06] local.INFO: Extracted packet for processing {"connection_id":111442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756066560,"raw_latitude":115726960,"longitude_deg":75.606656,"latitude_deg":11.572696,"altitude":12,"angle":156,"satellites":46,"speed":38,"hex_longitude":"2d10a900","hex_latitude":"06e5da70","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251923968001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321956533829107712,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1196690893113585664,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:06] 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-06-23 22:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782234087000,"timestamp_ms":1782234087000,"timestamp_seconds":1782234087,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56dfe58"} 
[2026-06-23 22:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:33: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-06-23 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":111442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":111442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":111442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251923968001,"66":27397,"129":206,"2":56576,"24":38,"16":321956533829107712,"45":1196690893113585664},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251923968001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:33:06] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321956533829107712,"km_value":321956533829107.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1196690893113585664,"description":"Unknown IO ID 45"} 
[2026-06-23 22:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251923968001,"power":27397,"unknown_129":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1196690893113585664}} 
[2026-06-23 22:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":111442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:33:06] local.INFO: GPS data processed {"connection_id":111442,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:33:06] local.INFO: Acknowledgment sent {"connection_id":111442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:33:20] local.INFO: TCP Data received {"connection_id":113007,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:20] local.INFO: Processing buffer {"connection_id":113007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:20] local.INFO: IMEI packet received {"connection_id":113007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":113007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:33:23] local.INFO: TCP Data received {"connection_id":113007,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:23] local.INFO: Processing buffer {"connection_id":113007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:23] local.INFO: IMEI packet received {"connection_id":113007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":113007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:33:27] local.INFO: TCP Data received {"connection_id":113007,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:27] local.INFO: Processing buffer {"connection_id":113007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:33:27] local.INFO: IMEI packet received {"connection_id":113007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":113007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:33:28] local.INFO: TCP Data received {"connection_id":112080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56c1228012d196740071fee68004b013827..."} 
[2026-06-23 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56c1228012d196740071fee68004b013827..."} 
[2026-06-23 22:33:28] local.INFO: Processing buffer {"connection_id":112080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56c1228012d196740071fee68004b013827..."} 
[2026-06-23 22:33:28] local.INFO: Packet analysis {"connection_id":112080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56c"} 
[2026-06-23 22:33:28] local.INFO: Extracted packet for processing {"connection_id":112080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56c"} 
[2026-06-23 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251888640001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782233961000,"timestamp_ms":1782233961000,"timestamp_seconds":1782233961,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56c1228"} 
[2026-06-23 22:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:33:28] 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-06-23 22: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-06-23 22:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251888640001,"66":12254,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251888640001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251888640001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:33:28] local.INFO: TCP Data received {"connection_id":113007,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56e2568012d10b98006e5b860000f009a2e..."} 
[2026-06-23 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56e2568012d10b98006e5b860000f009a2e..."} 
[2026-06-23 22:33:28] local.INFO: Processing buffer {"connection_id":113007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56e2568012d10b98006e5b860000f009a2e..."} 
[2026-06-23 22:33:28] local.INFO: Packet analysis {"connection_id":113007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56e"} 
[2026-06-23 22:33:28] local.INFO: Extracted packet for processing {"connection_id":113007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56e"} 
[2026-06-23 22:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756070784,"raw_latitude":115718240,"longitude_deg":75.6070784,"latitude_deg":11.571824,"altitude":15,"angle":154,"satellites":46,"speed":37,"hex_longitude":"2d10b980","hex_latitude":"06e5b860","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251926272001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321957001980542976,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1200490805297049600,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:28] 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-06-23 22:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234097000,"timestamp_ms":1782234097000,"timestamp_seconds":1782234097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56e2568"} 
[2026-06-23 22:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:33:28] 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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251926272001,"66":27213,"138":206,"2":56576,"24":37,"16":321957001980542976,"45":1200490805297049600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-06-23 22:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251926272001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-23 22:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321957001980542976,"km_value":321957001980543.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1200490805297049600,"description":"Unknown IO ID 45"} 
[2026-06-23 22:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251926272001,"power":27213,"unknown_138":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1200490805297049600}} 
[2026-06-23 22:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":113007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:33:28] local.INFO: GPS data processed {"connection_id":113007,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:33:28] local.INFO: Acknowledgment sent {"connection_id":113007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":112080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:33:28] local.INFO: GPS data processed {"connection_id":112080,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:33:28] local.INFO: Acknowledgment sent {"connection_id":112080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:33:50] local.INFO: TCP Data received {"connection_id":112081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:50] local.INFO: Processing buffer {"connection_id":112081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:50] local.INFO: IMEI packet received {"connection_id":112081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":112081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:33:51] local.INFO: TCP Data received {"connection_id":112081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:51] local.INFO: Processing buffer {"connection_id":112081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:51] local.INFO: IMEI packet received {"connection_id":112081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":112081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:33:57] local.INFO: TCP Data received {"connection_id":112081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:57] local.INFO: Processing buffer {"connection_id":112081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:33:57] local.INFO: IMEI packet received {"connection_id":112081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":112081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:33:57] local.INFO: TCP Data received {"connection_id":112081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56c6430012d196740071fee68004b013824..."} 
[2026-06-23 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56c6430012d196740071fee68004b013824..."} 
[2026-06-23 22:33:57] local.INFO: Processing buffer {"connection_id":112081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56c6430012d196740071fee68004b013824..."} 
[2026-06-23 22:33:57] local.INFO: Packet analysis {"connection_id":112081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56c"} 
[2026-06-23 22:33:57] local.INFO: Extracted packet for processing {"connection_id":112081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56c"} 
[2026-06-23 22:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251894016001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782233982000,"timestamp_ms":1782233982000,"timestamp_seconds":1782233982,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56c6430"} 
[2026-06-23 22:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:33: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-06-23 22:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:33:57] 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-06-23 22:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251894016001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251894016001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:33:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251894016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":112081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:33:57] local.INFO: GPS data processed {"connection_id":112081,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:33:57] local.INFO: Acknowledgment sent {"connection_id":112081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:34:00] local.INFO: TCP Data received {"connection_id":113007,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56f84f8012d11404006e43960000900942f..."} 
[2026-06-23 22:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56f84f8012d11404006e43960000900942f..."} 
[2026-06-23 22:34:00] local.INFO: Processing buffer {"connection_id":113007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56f84f8012d11404006e43960000900942f..."} 
[2026-06-23 22:34:00] local.INFO: Packet analysis {"connection_id":113007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:34:00] local.INFO: Extracted packet for processing {"connection_id":113007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756105280,"raw_latitude":115620192,"longitude_deg":75.610528,"latitude_deg":11.5620192,"altitude":9,"angle":148,"satellites":47,"speed":59,"hex_longitude":"2d114040","hex_latitude":"06e43960","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251950336001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321962125876527104,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1237856608430012416,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:00] 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-06-23 22:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782234187000,"timestamp_ms":1782234187000,"timestamp_seconds":1782234187,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56f84f8"} 
[2026-06-23 22:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:34:00] 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-06-23 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251950336001,"66":27463,"136":206,"2":56576,"24":59,"16":321962125876527104,"45":1237856608430012416},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-06-23 22:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251950336001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:34:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-23 22:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321962125876527104,"km_value":321962125876527.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1237856608430012416,"description":"Unknown IO ID 45"} 
[2026-06-23 22:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251950336001,"power":27463,"unknown_136":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1237856608430012416}} 
[2026-06-23 22:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":113007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:34:00] local.INFO: GPS data processed {"connection_id":113007,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:34:00] local.INFO: Acknowledgment sent {"connection_id":113007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:34:23] local.INFO: TCP Data received {"connection_id":113009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:34:23] local.INFO: Processing buffer {"connection_id":113009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:34:23] local.INFO: IMEI packet received {"connection_id":113009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":113009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:34:27] local.INFO: TCP Data received {"connection_id":113009,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:34:27] local.INFO: Processing buffer {"connection_id":113009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:34:27] local.INFO: IMEI packet received {"connection_id":113009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":113009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:34:28] local.INFO: TCP Data received {"connection_id":113009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56f9498012d114a0006e42460000800a030..."} 
[2026-06-23 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56f9498012d114a0006e42460000800a030..."} 
[2026-06-23 22:34:28] local.INFO: Processing buffer {"connection_id":113009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56f9498012d114a0006e42460000800a030..."} 
[2026-06-23 22:34:28] local.INFO: Packet analysis {"connection_id":113009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:34:28] local.INFO: Extracted packet for processing {"connection_id":113009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756107776,"raw_latitude":115614816,"longitude_deg":75.6107776,"latitude_deg":11.5614816,"altitude":8,"angle":160,"satellites":48,"speed":59,"hex_longitude":"2d114a00","hex_latitude":"06e42460","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251951872001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321962409344368640,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1243063895497203712,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:28] 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-06-23 22:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234191000,"timestamp_ms":1782234191000,"timestamp_seconds":1782234191,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56f9498"} 
[2026-06-23 22:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:34:28] 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-06-23 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:34:28] 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-06-23 22: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-06-23 22:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251951872001,"66":27223,"136":206,"2":56576,"24":59,"16":321962409344368640,"45":1243063895497203712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251951872001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-23 22:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321962409344368640,"km_value":321962409344368.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1243063895497203712,"description":"Unknown IO ID 45"} 
[2026-06-23 22:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251951872001,"power":27223,"unknown_136":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1243063895497203712}} 
[2026-06-23 22:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":113009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:34:28] local.INFO: GPS data processed {"connection_id":113009,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:34:28] local.INFO: Acknowledgment sent {"connection_id":113009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:34:28] local.INFO: TCP Data received {"connection_id":112081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56cb638012d196740071fee68004b013821..."} 
[2026-06-23 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56cb638012d196740071fee68004b013821..."} 
[2026-06-23 22:34:28] local.INFO: Processing buffer {"connection_id":112081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56cb638012d196740071fee68004b013821..."} 
[2026-06-23 22:34:28] local.INFO: Packet analysis {"connection_id":112081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56c"} 
[2026-06-23 22:34:28] local.INFO: Extracted packet for processing {"connection_id":112081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56c"} 
[2026-06-23 22:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251899392001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234003000,"timestamp_ms":1782234003000,"timestamp_seconds":1782234003,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56cb638"} 
[2026-06-23 22:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:34:28] 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-06-23 22: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-06-23 22:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251899392001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251899392001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251899392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":112081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:34:29] local.INFO: GPS data processed {"connection_id":112081,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:34:29] local.INFO: Acknowledgment sent {"connection_id":112081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:34:51] local.INFO: TCP Data received {"connection_id":113010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:51] local.INFO: Processing buffer {"connection_id":113010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:51] local.INFO: IMEI packet received {"connection_id":113010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":113010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:34:54] local.INFO: TCP Data received {"connection_id":113010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:54] local.INFO: Processing buffer {"connection_id":113010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:54] local.INFO: IMEI packet received {"connection_id":113010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":113010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:34:56] local.INFO: TCP Data received {"connection_id":113010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:56] local.INFO: Processing buffer {"connection_id":113010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:34:56] local.INFO: IMEI packet received {"connection_id":113010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":113010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:34:57] local.INFO: TCP Data received {"connection_id":113010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56d0840012d196740071fee68004b013820..."} 
[2026-06-23 22:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56d0840012d196740071fee68004b013820..."} 
[2026-06-23 22:34:57] local.INFO: Processing buffer {"connection_id":113010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56d0840012d196740071fee68004b013820..."} 
[2026-06-23 22:34:57] local.INFO: Packet analysis {"connection_id":113010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:34:57] local.INFO: Extracted packet for processing {"connection_id":113010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251904768001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234024000,"timestamp_ms":1782234024000,"timestamp_seconds":1782234024,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56d0840"} 
[2026-06-23 22:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:34: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-06-23 22:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:34:57] 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-06-23 22:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251904768001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251904768001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251904768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":113010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:34:57] local.INFO: GPS data processed {"connection_id":113010,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:34:57] local.INFO: Acknowledgment sent {"connection_id":113010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:35:00] local.INFO: TCP Data received {"connection_id":113009,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56fac08012d11520006e40268000700aa30..."} 
[2026-06-23 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56fac08012d11520006e40268000700aa30..."} 
[2026-06-23 22:35:00] local.INFO: Processing buffer {"connection_id":113009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56fac08012d11520006e40268000700aa30..."} 
[2026-06-23 22:35:00] local.INFO: Packet analysis {"connection_id":113009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:35:00] local.INFO: Extracted packet for processing {"connection_id":113009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756109824,"raw_latitude":115606120,"longitude_deg":75.6109824,"latitude_deg":11.560612,"altitude":7,"angle":170,"satellites":48,"speed":58,"hex_longitude":"2d115200","hex_latitude":"06e40268","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251952896001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321962843136065536,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1245808276518756352,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:00] 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-06-23 22:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782234197000,"timestamp_ms":1782234197000,"timestamp_seconds":1782234197,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56fac08"} 
[2026-06-23 22:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:35:00] 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-06-23 22: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-23 22:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251952896001,"66":27321,"136":206,"2":56576,"24":58,"16":321962843136065536,"45":1245808276518756352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-06-23 22:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251952896001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-23 22:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321962843136065536,"km_value":321962843136065.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1245808276518756352,"description":"Unknown IO ID 45"} 
[2026-06-23 22:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251952896001,"power":27321,"unknown_136":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1245808276518756352}} 
[2026-06-23 22:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":113009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:35:00] local.INFO: GPS data processed {"connection_id":113009,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:35:00] local.INFO: Acknowledgment sent {"connection_id":113009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:35:23] local.INFO: TCP Data received {"connection_id":112082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:23] local.INFO: Processing buffer {"connection_id":112082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:23] local.INFO: IMEI packet received {"connection_id":112082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":112082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:35:24] local.INFO: TCP Data received {"connection_id":112082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:24] local.INFO: Processing buffer {"connection_id":112082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:24] local.INFO: IMEI packet received {"connection_id":112082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":112082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:35:28] local.INFO: TCP Data received {"connection_id":113010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56d5a48012d196740071fee68004b013823..."} 
[2026-06-23 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56d5a48012d196740071fee68004b013823..."} 
[2026-06-23 22:35:28] local.INFO: Processing buffer {"connection_id":113010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56d5a48012d196740071fee68004b013823..."} 
[2026-06-23 22:35:28] local.INFO: Packet analysis {"connection_id":113010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:35:28] local.INFO: Extracted packet for processing {"connection_id":113010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56d"} 
[2026-06-23 22:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251910144001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234045000,"timestamp_ms":1782234045000,"timestamp_seconds":1782234045,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56d5a48"} 
[2026-06-23 22:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:35:28] 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-06-23 22: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-06-23 22:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251910144001,"66":12048,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251910144001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251910144001,"power":12048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:35:28] local.INFO: TCP Data received {"connection_id":112082,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:28] local.INFO: Processing buffer {"connection_id":112082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:35:28] local.INFO: IMEI packet received {"connection_id":112082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":112082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":113010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:35:28] local.INFO: GPS data processed {"connection_id":113010,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:35:28] local.INFO: Acknowledgment sent {"connection_id":113010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:35:30] local.INFO: TCP Data received {"connection_id":112082,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef56fc760012d11574006e3dd48000900ac2f..."} 
[2026-06-23 22:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef56fc760012d11574006e3dd48000900ac2f..."} 
[2026-06-23 22:35:30] local.INFO: Processing buffer {"connection_id":112082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef56fc760012d11574006e3dd48000900ac2f..."} 
[2026-06-23 22:35:30] local.INFO: Packet analysis {"connection_id":112082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:35:30] local.INFO: Extracted packet for processing {"connection_id":112082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef56f"} 
[2026-06-23 22:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756111168,"raw_latitude":115596616,"longitude_deg":75.6111168,"latitude_deg":11.5596616,"altitude":9,"angle":172,"satellites":47,"speed":50,"hex_longitude":"2d115740","hex_latitude":"06e3dd48","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251954432001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321963311287500800,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248060076330215424,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:30] 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-06-23 22:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782234204000,"timestamp_ms":1782234204000,"timestamp_seconds":1782234204,"priority":1,"record_length":96,"hex_timestamp":"0000019ef56fc760"} 
[2026-06-23 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-06-23 22:35:30] 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-06-23 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 22:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":112082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":112082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":112082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251954432001,"66":27223,"100":206,"2":56576,"24":50,"16":321963311287500800,"45":1248060076330215424},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-06-23 22:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251954432001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:35:30] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 22:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321963311287500800,"km_value":321963311287500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248060076330215424,"description":"Unknown IO ID 45"} 
[2026-06-23 22:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251954432001,"power":27223,"unknown_100":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1248060076330215424}} 
[2026-06-23 22:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":112082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:35:30] local.INFO: GPS data processed {"connection_id":112082,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:35:30] local.INFO: Acknowledgment sent {"connection_id":112082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:35:51] local.INFO: TCP Data received {"connection_id":113011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:35:51] local.INFO: Processing buffer {"connection_id":113011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:35:51] local.INFO: IMEI packet received {"connection_id":113011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":113011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:35:57] local.INFO: TCP Data received {"connection_id":113011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:35:57] local.INFO: Processing buffer {"connection_id":113011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:35:57] local.INFO: IMEI packet received {"connection_id":113011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":113011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:35:57] local.INFO: TCP Data received {"connection_id":113011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef570e0a0012d196740071fee68004b013824..."} 
[2026-06-23 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef570e0a0012d196740071fee68004b013824..."} 
[2026-06-23 22:35:57] local.INFO: Processing buffer {"connection_id":113011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef570e0a0012d196740071fee68004b013824..."} 
[2026-06-23 22:35:57] local.INFO: Packet analysis {"connection_id":113011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef570"} 
[2026-06-23 22:35:57] local.INFO: Extracted packet for processing {"connection_id":113011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef570"} 
[2026-06-23 22:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251969280001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234276000,"timestamp_ms":1782234276000,"timestamp_seconds":1782234276,"priority":1,"record_length":96,"hex_timestamp":"0000019ef570e0a0"} 
[2026-06-23 22:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:35: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-06-23 22:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:35:57] 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-06-23 22:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251969280001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251969280001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:35:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251969280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":113011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:35:57] local.INFO: GPS data processed {"connection_id":113011,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:35:57] local.INFO: Acknowledgment sent {"connection_id":113011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:36:04] local.INFO: TCP Data received {"connection_id":112082,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5716958012d11874006e2d690000c00a331..."} 
[2026-06-23 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5716958012d11874006e2d690000c00a331..."} 
[2026-06-23 22:36:04] local.INFO: Processing buffer {"connection_id":112082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5716958012d11874006e2d690000c00a331..."} 
[2026-06-23 22:36:04] local.INFO: Packet analysis {"connection_id":112082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:36:04] local.INFO: Extracted packet for processing {"connection_id":112082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756123456,"raw_latitude":115529360,"longitude_deg":75.6123456,"latitude_deg":11.552936,"altitude":12,"angle":163,"satellites":49,"speed":39,"hex_longitude":"2d118740","hex_latitude":"06e2d690","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251980288001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321966657067024384,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1259389444125509632,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:04] 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-06-23 22:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782234311000,"timestamp_ms":1782234311000,"timestamp_seconds":1782234311,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5716958"} 
[2026-06-23 22:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251980288001,"66":27343,"100":206,"2":56576,"24":39,"16":321966657067024384,"45":1259389444125509632},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-06-23 22:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251980288001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:36:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-06-23 22:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321966657067024384,"km_value":321966657067024.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1259389444125509632,"description":"Unknown IO ID 45"} 
[2026-06-23 22:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251980288001,"power":27343,"unknown_100":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1259389444125509632}} 
[2026-06-23 22:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":112082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:36:04] local.INFO: GPS data processed {"connection_id":112082,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:36:04] local.INFO: Acknowledgment sent {"connection_id":112082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:36:05] local.INFO: TCP Data received {"connection_id":111444,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:36:05] local.INFO: Processing buffer {"connection_id":111444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:36:05] local.INFO: IMEI packet received {"connection_id":111444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":111444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:36:22] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:36:22] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:36:22] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:36:28] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:36:28] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:36:28] local.INFO: IMEI packet received {"connection_id":111277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":111277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:36:29] local.INFO: TCP Data received {"connection_id":113011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57132a8012d196740071fee68004b013823..."} 
[2026-06-23 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57132a8012d196740071fee68004b013823..."} 
[2026-06-23 22:36:29] local.INFO: Processing buffer {"connection_id":113011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57132a8012d196740071fee68004b013823..."} 
[2026-06-23 22:36:29] local.INFO: Packet analysis {"connection_id":113011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:36:29] local.INFO: Extracted packet for processing {"connection_id":113011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251974656001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234297000,"timestamp_ms":1782234297000,"timestamp_seconds":1782234297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57132a8"} 
[2026-06-23 22:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:36:29] 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-06-23 22:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251974656001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251974656001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251974656001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":113011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:36:29] local.INFO: GPS data processed {"connection_id":113011,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:36:29] local.INFO: Acknowledgment sent {"connection_id":113011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:36:29] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5718898012d118e0006e2b3e0000900af2e..."} 
[2026-06-23 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5718898012d118e0006e2b3e0000900af2e..."} 
[2026-06-23 22:36:29] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5718898012d118e0006e2b3e0000900af2e..."} 
[2026-06-23 22:36:29] local.INFO: Packet analysis {"connection_id":111277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:36:29] local.INFO: Extracted packet for processing {"connection_id":111277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756125184,"raw_latitude":115520480,"longitude_deg":75.6125184,"latitude_deg":11.552048,"altitude":9,"angle":175,"satellites":46,"speed":49,"hex_longitude":"2d118e00","hex_latitude":"06e2b3e0","is_valid_coordinates":true} 
[2026-06-23 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251983616001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321967099448655872,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263048618820407296,"note":"Value kept but may cause issues"} 
[2026-06-23 22:36:29] 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-06-23 22:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234319000,"timestamp_ms":1782234319000,"timestamp_seconds":1782234319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5718898"} 
[2026-06-23 22:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:36:29] 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-06-23 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251983616001,"66":27397,"102":206,"2":56576,"24":49,"16":321967099448655872,"45":1263048618820407296},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-06-23 22:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251983616001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321967099448655872,"km_value":321967099448655.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263048618820407296,"description":"Unknown IO ID 45"} 
[2026-06-23 22:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251983616001,"power":27397,"unknown_102":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1263048618820407296}} 
[2026-06-23 22:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":111277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:36:29] local.INFO: GPS data processed {"connection_id":111277,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:36:29] local.INFO: Acknowledgment sent {"connection_id":111277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:36:50] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:36:50] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:36:50] local.INFO: IMEI packet received {"connection_id":113012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":113012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:36:56] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:36:56] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:36:56] local.INFO: IMEI packet received {"connection_id":113012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":113012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:36:57] local.INFO: TCP Data received {"connection_id":112083,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:36:57] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:36:57] local.INFO: IMEI packet received {"connection_id":112083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":112083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:37:00] local.INFO: TCP Data received {"connection_id":112083,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:00] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:00] local.INFO: IMEI packet received {"connection_id":112083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":112083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:37:00] local.INFO: TCP Data received {"connection_id":112083,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57184b0012d196740071fee68004b013825..."} 
[2026-06-23 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57184b0012d196740071fee68004b013825..."} 
[2026-06-23 22:37:00] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57184b0012d196740071fee68004b013825..."} 
[2026-06-23 22:37:00] local.INFO: Packet analysis {"connection_id":112083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:00] local.INFO: Extracted packet for processing {"connection_id":112083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":37,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251980032001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37: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-06-23 22:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782234318000,"timestamp_ms":1782234318000,"timestamp_seconds":1782234318,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57184b0"} 
[2026-06-23 22:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:37: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-06-23 22: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-06-23 22:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251980032001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251980032001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251980032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":112083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:01] local.INFO: GPS data processed {"connection_id":112083,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:01] local.INFO: Acknowledgment sent {"connection_id":112083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:01] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef571daa0012d7e65c005d303d8000800dd18..."} 
[2026-06-23 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef571daa0012d7e65c005d303d8000800dd18..."} 
[2026-06-23 22:37:01] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef571daa0012d7e65c005d303d8000800dd18..."} 
[2026-06-23 22:37:01] local.INFO: Packet analysis {"connection_id":113012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:01] local.INFO: Extracted packet for processing {"connection_id":113012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763258304,"raw_latitude":97715160,"longitude_deg":76.3258304,"latitude_deg":9.771516,"altitude":8,"angle":221,"satellites":24,"speed":9,"hex_longitude":"2d7e65c0","hex_latitude":"05d303d8","is_valid_coordinates":true} 
[2026-06-23 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251990528001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96537352846966784,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037690162757632,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] 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-06-23 22:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234340000,"timestamp_ms":1782234340000,"timestamp_seconds":1782234340,"priority":1,"record_length":96,"hex_timestamp":"0000019ef571daa0"} 
[2026-06-23 22:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37:01] 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-06-23 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 22:37:01] 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-06-23 22:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":113012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251990528001,"66":12178,"109":206,"85":15104,"24":9,"16":96537352846966784,"45":9108037690162757632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251990528001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96537352846966784,"km_value":96537352846966.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037690162757632,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251990528001,"power":12178,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9108037690162757632}} 
[2026-06-23 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":113012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:01] local.INFO: GPS data processed {"connection_id":113012,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:01] local.INFO: Acknowledgment sent {"connection_id":113012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:01] local.INFO: TCP Data received {"connection_id":111277,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5718898012d118e0006e2b3e0000900af2e..."} 
[2026-06-23 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5718898012d118e0006e2b3e0000900af2e..."} 
[2026-06-23 22:37:01] local.INFO: Processing buffer {"connection_id":111277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5718898012d118e0006e2b3e0000900af2e..."} 
[2026-06-23 22:37:01] local.INFO: Packet analysis {"connection_id":111277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:01] local.INFO: Extracted packet for processing {"connection_id":111277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756125184,"raw_latitude":115520480,"longitude_deg":75.6125184,"latitude_deg":11.552048,"altitude":9,"angle":175,"satellites":46,"speed":49,"hex_longitude":"2d118e00","hex_latitude":"06e2b3e0","is_valid_coordinates":true} 
[2026-06-23 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251985664001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321967099448655872,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264948574910930944,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] 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-06-23 22:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234319000,"timestamp_ms":1782234319000,"timestamp_seconds":1782234319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5718898"} 
[2026-06-23 22:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251985664001,"66":27397,"102":206,"2":56576,"24":49,"16":321967099448655872,"45":1264948574910930944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251985664001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321967099448655872,"km_value":321967099448655.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264948574910930944,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251985664001,"power":27397,"unknown_102":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1264948574910930944}} 
[2026-06-23 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":111277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:01] local.INFO: GPS data processed {"connection_id":111277,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:01] local.INFO: Acknowledgment sent {"connection_id":111277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:01] local.INFO: TCP Data received {"connection_id":112083,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef571d6b8012d196740071fee68004b013824..."} 
[2026-06-23 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef571d6b8012d196740071fee68004b013824..."} 
[2026-06-23 22:37:01] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef571d6b8012d196740071fee68004b013824..."} 
[2026-06-23 22:37:01] local.INFO: Packet analysis {"connection_id":112083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:01] local.INFO: Extracted packet for processing {"connection_id":112083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251985408001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234339000,"timestamp_ms":1782234339000,"timestamp_seconds":1782234339,"priority":1,"record_length":96,"hex_timestamp":"0000019ef571d6b8"} 
[2026-06-23 22:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:37: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-06-23 22:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251985408001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251985408001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251985408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":112083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:02] local.INFO: GPS data processed {"connection_id":112083,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:02] local.INFO: Acknowledgment sent {"connection_id":112083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:22] local.INFO: TCP Data received {"connection_id":113013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:22] local.INFO: Processing buffer {"connection_id":113013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:22] local.INFO: IMEI packet received {"connection_id":113013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":113013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:37:22] local.INFO: TCP Data received {"connection_id":113013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:22] local.INFO: Processing buffer {"connection_id":113013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:22] local.INFO: IMEI packet received {"connection_id":113013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":113013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:37:28] local.INFO: TCP Data received {"connection_id":113013,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:28] local.INFO: Processing buffer {"connection_id":113013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:37:28] local.INFO: IMEI packet received {"connection_id":113013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":113013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:37:29] local.INFO: TCP Data received {"connection_id":113013,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef571a3f0012d118d8006e28fc8000700b92e..."} 
[2026-06-23 22:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef571a3f0012d118d8006e28fc8000700b92e..."} 
[2026-06-23 22:37:29] local.INFO: Processing buffer {"connection_id":113013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef571a3f0012d118d8006e28fc8000700b92e..."} 
[2026-06-23 22:37:29] local.INFO: Packet analysis {"connection_id":113013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:29] local.INFO: Extracted packet for processing {"connection_id":113013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef571"} 
[2026-06-23 22:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756125056,"raw_latitude":115511240,"longitude_deg":75.6125056,"latitude_deg":11.551124,"altitude":7,"angle":185,"satellites":46,"speed":55,"hex_longitude":"2d118d80","hex_latitude":"06e28fc8","is_valid_coordinates":true} 
[2026-06-23 22:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251985664001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321967546125254656,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264948574910930944,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:29] 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-06-23 22:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234326000,"timestamp_ms":1782234326000,"timestamp_seconds":1782234326,"priority":1,"record_length":96,"hex_timestamp":"0000019ef571a3f0"} 
[2026-06-23 22:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37:29] 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-06-23 22:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251985664001,"66":27006,"102":206,"2":56576,"24":55,"16":321967546125254656,"45":1264948574910930944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-06-23 22:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251985664001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321967546125254656,"km_value":321967546125254.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264948574910930944,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251985664001,"power":27006,"unknown_102":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1264948574910930944}} 
[2026-06-23 22:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":113013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:29] local.INFO: GPS data processed {"connection_id":113013,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:29] local.INFO: Acknowledgment sent {"connection_id":113013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:32] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5733e18012d7e16c005d291a0000600ef19..."} 
[2026-06-23 22:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5733e18012d7e16c005d291a0000600ef19..."} 
[2026-06-23 22:37:32] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5733e18012d7e16c005d291a0000600ef19..."} 
[2026-06-23 22:37:32] local.INFO: Packet analysis {"connection_id":113012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:37:32] local.INFO: Extracted packet for processing {"connection_id":113012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":97685920,"longitude_deg":76.323808,"latitude_deg":9.768592,"altitude":6,"angle":239,"satellites":25,"speed":12,"hex_longitude":"2d7e16c0","hex_latitude":"05d291a0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96539173913100288,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598065123328,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782234431000,"timestamp_ms":1782234431000,"timestamp_seconds":1782234431,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5733e18"} 
[2026-06-23 22:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37:32] 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-06-23 22: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 22:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":113012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252012288001,"66":12058,"116":206,"85":15104,"24":12,"16":96539173913100288,"45":9087982598065123328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 22:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96539173913100288,"km_value":96539173913100.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598065123328,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252012288001,"power":12058,"unknown_116":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9087982598065123328}} 
[2026-06-23 22:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":113012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:32] local.INFO: GPS data processed {"connection_id":113012,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:32] local.INFO: Acknowledgment sent {"connection_id":113012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:33] local.INFO: TCP Data received {"connection_id":112083,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57228c0012d196740071fee68004b013824..."} 
[2026-06-23 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57228c0012d196740071fee68004b013824..."} 
[2026-06-23 22:37:33] local.INFO: Processing buffer {"connection_id":112083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57228c0012d196740071fee68004b013824..."} 
[2026-06-23 22:37:33] local.INFO: Packet analysis {"connection_id":112083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef572"} 
[2026-06-23 22:37:33] local.INFO: Extracted packet for processing {"connection_id":112083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef572"} 
[2026-06-23 22:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251990784001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37: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-06-23 22:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782234360000,"timestamp_ms":1782234360000,"timestamp_seconds":1782234360,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57228c0"} 
[2026-06-23 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-06-23 22:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:37:33] 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-06-23 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-06-23 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-06-23 22:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251990784001,"66":12254,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251990784001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251990784001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":112083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:33] local.INFO: GPS data processed {"connection_id":112083,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:33] local.INFO: Acknowledgment sent {"connection_id":112083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:37:51] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:51] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:51] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:37:56] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:56] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:37:56] local.INFO: IMEI packet received {"connection_id":111278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":111278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:37:57] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5727ac8012d196740071fee68004b013823..."} 
[2026-06-23 22:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5727ac8012d196740071fee68004b013823..."} 
[2026-06-23 22:37:57] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5727ac8012d196740071fee68004b013823..."} 
[2026-06-23 22:37:57] local.INFO: Packet analysis {"connection_id":111278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef572"} 
[2026-06-23 22:37:57] local.INFO: Extracted packet for processing {"connection_id":111278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef572"} 
[2026-06-23 22:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456251996160001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234381000,"timestamp_ms":1782234381000,"timestamp_seconds":1782234381,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5727ac8"} 
[2026-06-23 22:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:37: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-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:37:57] 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-06-23 22: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-06-23 22:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456251996160001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456251996160001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:37:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456251996160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":111278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:37:57] local.INFO: GPS data processed {"connection_id":111278,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:37:57] local.INFO: Acknowledgment sent {"connection_id":111278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:38:02] local.INFO: TCP Data received {"connection_id":113013,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5731ed8012d11cc4006e0bff8000800ae2f..."} 
[2026-06-23 22:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5731ed8012d11cc4006e0bff8000800ae2f..."} 
[2026-06-23 22:38:02] local.INFO: Processing buffer {"connection_id":113013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5731ed8012d11cc4006e0bff8000800ae2f..."} 
[2026-06-23 22:38:02] local.INFO: Packet analysis {"connection_id":113013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:02] local.INFO: Extracted packet for processing {"connection_id":113013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756141120,"raw_latitude":115392504,"longitude_deg":75.614112,"latitude_deg":11.5392504,"altitude":8,"angle":174,"satellites":47,"speed":58,"hex_longitude":"2d11cc40","hex_latitude":"06e0bff8","is_valid_coordinates":true} 
[2026-06-23 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252010496001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321973438820384768,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281203754785832960,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:02] 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-06-23 22:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782234423000,"timestamp_ms":1782234423000,"timestamp_seconds":1782234423,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5731ed8"} 
[2026-06-23 22:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:38: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-06-23 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:38:02] 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-06-23 22:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":113013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":113013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":113013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252010496001,"66":27376,"2":56576,"24":58,"16":321973438820384768,"45":1281203754785832960},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-06-23 22:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252010496001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321973438820384768,"km_value":321973438820384.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281203754785832960,"description":"Unknown IO ID 45"} 
[2026-06-23 22:38:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456252010496001,"power":27376,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1281203754785832960}} 
[2026-06-23 22:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":113013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:38:02] local.INFO: GPS data processed {"connection_id":113013,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:38:02] local.INFO: Acknowledgment sent {"connection_id":113013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:38:06] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57349d0012d7e138005d290500005010319..."} 
[2026-06-23 22:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57349d0012d7e138005d290500005010319..."} 
[2026-06-23 22:38:06] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57349d0012d7e138005d290500005010319..."} 
[2026-06-23 22:38:06] local.INFO: Packet analysis {"connection_id":113012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:06] local.INFO: Extracted packet for processing {"connection_id":113012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":97685584,"longitude_deg":76.3237248,"latitude_deg":9.7685584,"altitude":5,"angle":259,"satellites":25,"speed":10,"hex_longitude":"2d7e1380","hex_latitude":"05d29050","is_valid_coordinates":true} 
[2026-06-23 22:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252014336001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96539216862773248,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429506682880,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782234434000,"timestamp_ms":1782234434000,"timestamp_seconds":1782234434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57349d0"} 
[2026-06-23 22:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:38:06] 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-06-23 22:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 22:38:06] 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-06-23 22:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":113012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252014336001,"66":12004,"116":206,"85":15104,"24":10,"16":96539216862773248,"45":9085660429506682880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 22:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252014336001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:38:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 22:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96539216862773248,"km_value":96539216862773.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429506682880,"description":"Unknown IO ID 45"} 
[2026-06-23 22:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252014336001,"power":12004,"unknown_116":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9085660429506682880}} 
[2026-06-23 22:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":113012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:38:06] local.INFO: GPS data processed {"connection_id":113012,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:38:06] local.INFO: Acknowledgment sent {"connection_id":113012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:38:23] local.INFO: TCP Data received {"connection_id":113014,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:23] local.INFO: Processing buffer {"connection_id":113014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:23] local.INFO: IMEI packet received {"connection_id":113014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":113014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:38:24] local.INFO: TCP Data received {"connection_id":113014,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:24] local.INFO: Processing buffer {"connection_id":113014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:24] local.INFO: IMEI packet received {"connection_id":113014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":113014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:38:28] local.INFO: TCP Data received {"connection_id":113014,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:28] local.INFO: Processing buffer {"connection_id":113014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:38:28] local.INFO: IMEI packet received {"connection_id":113014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":113014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:38:29] local.INFO: TCP Data received {"connection_id":111278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef572ccd0012d196740071fee68004b01381f..."} 
[2026-06-23 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef572ccd0012d196740071fee68004b01381f..."} 
[2026-06-23 22:38:29] local.INFO: Processing buffer {"connection_id":111278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef572ccd0012d196740071fee68004b01381f..."} 
[2026-06-23 22:38:29] local.INFO: Packet analysis {"connection_id":111278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef572"} 
[2026-06-23 22:38:29] local.INFO: Extracted packet for processing {"connection_id":111278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef572"} 
[2026-06-23 22:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252001536001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234402000,"timestamp_ms":1782234402000,"timestamp_seconds":1782234402,"priority":1,"record_length":96,"hex_timestamp":"0000019ef572ccd0"} 
[2026-06-23 22:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:38:29] 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-06-23 22:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252001536001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252001536001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:38:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252001536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":111278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:38:29] local.INFO: GPS data processed {"connection_id":111278,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:38:29] local.INFO: Acknowledgment sent {"connection_id":111278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:38:30] local.INFO: TCP Data received {"connection_id":113014,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5733a30012d11d08006e09a00000a00ab30..."} 
[2026-06-23 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5733a30012d11d08006e09a00000a00ab30..."} 
[2026-06-23 22:38:30] local.INFO: Processing buffer {"connection_id":113014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5733a30012d11d08006e09a00000a00ab30..."} 
[2026-06-23 22:38:30] local.INFO: Packet analysis {"connection_id":113014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:30] local.INFO: Extracted packet for processing {"connection_id":113014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756142208,"raw_latitude":115382784,"longitude_deg":75.6142208,"latitude_deg":11.5382784,"altitude":10,"angle":171,"satellites":48,"speed":52,"hex_longitude":"2d11d080","hex_latitude":"06e09a00","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321973911266787328,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1282470392178407424,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782234430000,"timestamp_ms":1782234430000,"timestamp_seconds":1782234430,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5733a30"} 
[2026-06-23 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-06-23 22:38:30] 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-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":113014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":113014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":113014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252012288001,"66":27484,"1":206,"2":56576,"24":52,"16":321973911266787328,"45":1282470392178407424},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-23 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321973911266787328,"km_value":321973911266787.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1282470392178407424,"description":"Unknown IO ID 45"} 
[2026-06-23 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252012288001,"power":27484,"imei":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1282470392178407424}} 
[2026-06-23 22:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":113014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:38:30] local.INFO: GPS data processed {"connection_id":113014,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:38:30] local.INFO: Acknowledgment sent {"connection_id":113014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:38:37] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57351a0012d7e114005d290380005010f19..."} 
[2026-06-23 22:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57351a0012d7e114005d290380005010f19..."} 
[2026-06-23 22:38:37] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57351a0012d7e114005d290380005010f19..."} 
[2026-06-23 22:38:37] local.INFO: Packet analysis {"connection_id":113012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:37] local.INFO: Extracted packet for processing {"connection_id":113012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":97685560,"longitude_deg":76.3236672,"latitude_deg":9.768556,"altitude":5,"angle":271,"satellites":25,"speed":11,"hex_longitude":"2d7e1140","hex_latitude":"05d29038","is_valid_coordinates":true} 
[2026-06-23 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252015104001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96539242632577024,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745635832287232,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782234436000,"timestamp_ms":1782234436000,"timestamp_seconds":1782234436,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57351a0"} 
[2026-06-23 22:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:38:37] 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-06-23 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 22:38:37] 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-06-23 22:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":113012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252015104001,"66":11461,"116":206,"85":15104,"24":11,"16":96539242632577024,"45":9084745635832287232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 22:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252015104001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:38:37] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 22:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96539242632577024,"km_value":96539242632577.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745635832287232,"description":"Unknown IO ID 45"} 
[2026-06-23 22:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252015104001,"power":11461,"unknown_116":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9084745635832287232}} 
[2026-06-23 22:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":113012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:38:37] local.INFO: GPS data processed {"connection_id":113012,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:38:37] local.INFO: Acknowledgment sent {"connection_id":113012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:38:50] local.INFO: TCP Data received {"connection_id":112085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:50] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:50] local.INFO: IMEI packet received {"connection_id":112085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":112085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:38:51] local.INFO: TCP Data received {"connection_id":112085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:51] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:51] local.INFO: IMEI packet received {"connection_id":112085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":112085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:38:56] local.INFO: TCP Data received {"connection_id":112085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:56] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:38:56] local.INFO: IMEI packet received {"connection_id":112085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":112085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:38:57] local.INFO: TCP Data received {"connection_id":112085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5731ed8012d196740071fee68004b013821..."} 
[2026-06-23 22:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5731ed8012d196740071fee68004b013821..."} 
[2026-06-23 22:38:57] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5731ed8012d196740071fee68004b013821..."} 
[2026-06-23 22:38:57] local.INFO: Packet analysis {"connection_id":112085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:57] local.INFO: Extracted packet for processing {"connection_id":112085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252006912001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234423000,"timestamp_ms":1782234423000,"timestamp_seconds":1782234423,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5731ed8"} 
[2026-06-23 22:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:38: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:38:57] 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-06-23 22: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-06-23 22:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252006912001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252006912001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252006912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":112085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:38:57] local.INFO: GPS data processed {"connection_id":112085,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:38:57] local.INFO: Acknowledgment sent {"connection_id":112085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:39:04] local.INFO: TCP Data received {"connection_id":113014,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5735588012d11d80006e07678000c00a530..."} 
[2026-06-23 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5735588012d11d80006e07678000c00a530..."} 
[2026-06-23 22:39:04] local.INFO: Processing buffer {"connection_id":113014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5735588012d11d80006e07678000c00a530..."} 
[2026-06-23 22:39:04] local.INFO: Packet analysis {"connection_id":113014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:04] local.INFO: Extracted packet for processing {"connection_id":113014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756144128,"raw_latitude":115373688,"longitude_deg":75.6144128,"latitude_deg":11.5373688,"altitude":12,"angle":165,"satellites":48,"speed":54,"hex_longitude":"2d11d800","hex_latitude":"06e07678","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252014080001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321974362238353408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283666660826939392,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782234437000,"timestamp_ms":1782234437000,"timestamp_seconds":1782234437,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5735588"} 
[2026-06-23 22:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:39:04] 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-06-23 22: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-06-23 22:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":113014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":113014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":113014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252014080001,"66":27517,"1":206,"2":56576,"24":54,"16":321974362238353408,"45":1283666660826939392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-23 22:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252014080001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321974362238353408,"km_value":321974362238353.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283666660826939392,"description":"Unknown IO ID 45"} 
[2026-06-23 22:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252014080001,"power":27517,"imei":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1283666660826939392}} 
[2026-06-23 22:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":113014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:39:04] local.INFO: GPS data processed {"connection_id":113014,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:39:04] local.INFO: Acknowledgment sent {"connection_id":113014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:39:08] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5739fc0012d7defc005d291000002010e19..."} 
[2026-06-23 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5739fc0012d7defc005d291000002010e19..."} 
[2026-06-23 22:39:08] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5739fc0012d7defc005d291000002010e19..."} 
[2026-06-23 22:39:08] local.INFO: Packet analysis {"connection_id":113012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:08] local.INFO: Extracted packet for processing {"connection_id":113012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":763228096,"raw_latitude":97685760,"longitude_deg":76.3228096,"latitude_deg":9.768576,"altitude":2,"angle":270,"satellites":25,"speed":14,"hex_longitude":"2d7defc0","hex_latitude":"05d29100","is_valid_coordinates":true} 
[2026-06-23 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252015616001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96539654949437440,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317134682112,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782234456000,"timestamp_ms":1782234456000,"timestamp_seconds":1782234456,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5739fc0"} 
[2026-06-23 22:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:39:08] 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-06-23 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-06-23 22:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":113012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252015616001,"66":11874,"116":206,"85":15104,"24":14,"16":96539654949437440,"45":9084112317134682112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252015616001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96539654949437440,"km_value":96539654949437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317134682112,"description":"Unknown IO ID 45"} 
[2026-06-23 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252015616001,"power":11874,"unknown_116":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9084112317134682112}} 
[2026-06-23 22:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":113012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:39:08] local.INFO: GPS data processed {"connection_id":113012,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:39:08] local.INFO: Acknowledgment sent {"connection_id":113012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:39:22] local.INFO: TCP Data received {"connection_id":111447,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:39:22] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:39:22] local.INFO: IMEI packet received {"connection_id":111447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":111447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:39:28] local.INFO: TCP Data received {"connection_id":111447,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:39:28] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:39:28] local.INFO: IMEI packet received {"connection_id":111447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":111447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:39:29] local.INFO: TCP Data received {"connection_id":112085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57370e0012d196740071fee68004b013820..."} 
[2026-06-23 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57370e0012d196740071fee68004b013820..."} 
[2026-06-23 22:39:29] local.INFO: Processing buffer {"connection_id":112085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57370e0012d196740071fee68004b013820..."} 
[2026-06-23 22:39:29] local.INFO: Packet analysis {"connection_id":112085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:29] local.INFO: Extracted packet for processing {"connection_id":112085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":32,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252012288001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234444000,"timestamp_ms":1782234444000,"timestamp_seconds":1782234444,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57370e0"} 
[2026-06-23 22:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:39:29] 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-06-23 22:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252012288001,"66":12232,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252012288001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:39:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252012288001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":112085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:39:29] local.INFO: GPS data processed {"connection_id":112085,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:39:29] local.INFO: Acknowledgment sent {"connection_id":112085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:39:29] local.INFO: TCP Data received {"connection_id":111447,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5747698012d12330006dee6a8000b00a630..."} 
[2026-06-23 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5747698012d12330006dee6a8000b00a630..."} 
[2026-06-23 22:39:29] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5747698012d12330006dee6a8000b00a630..."} 
[2026-06-23 22:39:29] local.INFO: Packet analysis {"connection_id":111447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:39:29] local.INFO: Extracted packet for processing {"connection_id":111447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756167424,"raw_latitude":115271336,"longitude_deg":75.6167424,"latitude_deg":11.5271336,"altitude":11,"angle":166,"satellites":48,"speed":59,"hex_longitude":"2d123300","hex_latitude":"06dee6a8","is_valid_coordinates":true} 
[2026-06-23 22:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252033280001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321979456069566464,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1309421621169700864,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234511000,"timestamp_ms":1782234511000,"timestamp_seconds":1782234511,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5747698"} 
[2026-06-23 22:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:39:29] 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-06-23 22:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252033280001,"66":27343,"1":206,"2":56576,"24":59,"16":321979456069566464,"45":1309421621169700864},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-23 22:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252033280001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321979456069566464,"km_value":321979456069566.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1309421621169700864,"description":"Unknown IO ID 45"} 
[2026-06-23 22:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252033280001,"power":27343,"imei":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1309421621169700864}} 
[2026-06-23 22:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":111447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:39:29] local.INFO: GPS data processed {"connection_id":111447,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:39:29] local.INFO: Acknowledgment sent {"connection_id":111447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:39:39] local.INFO: TCP Data received {"connection_id":113012,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef573e610012d7dcb0005d290080002010719..."} 
[2026-06-23 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef573e610012d7dcb0005d290080002010719..."} 
[2026-06-23 22:39:39] local.INFO: Processing buffer {"connection_id":113012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef573e610012d7dcb0005d290080002010719..."} 
[2026-06-23 22:39:39] local.INFO: Packet analysis {"connection_id":113012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:39] local.INFO: Extracted packet for processing {"connection_id":113012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":763218688,"raw_latitude":97685512,"longitude_deg":76.3218688,"latitude_deg":9.7685512,"altitude":2,"angle":263,"satellites":25,"speed":18,"hex_longitude":"2d7dcb00","hex_latitude":"05d29008","is_valid_coordinates":true} 
[2026-06-23 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252020736001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96540101626036224,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074682905414926336,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782234474000,"timestamp_ms":1782234474000,"timestamp_seconds":1782234474,"priority":1,"record_length":96,"hex_timestamp":"0000019ef573e610"} 
[2026-06-23 22:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:39:39] 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-06-23 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 22:39:39] 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-06-23 22:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":113012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":113012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252020736001,"66":12069,"116":206,"85":15104,"24":18,"16":96540101626036224,"45":9074682905414926336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-23 22:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252020736001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96540101626036224,"km_value":96540101626036.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074682905414926336,"description":"Unknown IO ID 45"} 
[2026-06-23 22:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252020736001,"power":12069,"unknown_116":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9074682905414926336}} 
[2026-06-23 22:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":113012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:39:39] local.INFO: GPS data processed {"connection_id":113012,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:39:39] local.INFO: Acknowledgment sent {"connection_id":113012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:39:51] local.INFO: TCP Data received {"connection_id":112086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:51] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:51] local.INFO: IMEI packet received {"connection_id":112086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":112086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:39:54] local.INFO: TCP Data received {"connection_id":112086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:54] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:54] local.INFO: IMEI packet received {"connection_id":112086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":112086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:39:57] local.INFO: TCP Data received {"connection_id":112086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:57] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:39:57] local.INFO: IMEI packet received {"connection_id":112086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":112086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:39:57] local.INFO: TCP Data received {"connection_id":112086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef573c2e8012d196740071fee68004b01381f..."} 
[2026-06-23 22:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef573c2e8012d196740071fee68004b01381f..."} 
[2026-06-23 22:39:57] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef573c2e8012d196740071fee68004b01381f..."} 
[2026-06-23 22:39:57] local.INFO: Packet analysis {"connection_id":112086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:57] local.INFO: Extracted packet for processing {"connection_id":112086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef573"} 
[2026-06-23 22:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":31,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252017664001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234465000,"timestamp_ms":1782234465000,"timestamp_seconds":1782234465,"priority":1,"record_length":96,"hex_timestamp":"0000019ef573c2e8"} 
[2026-06-23 22:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:39: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-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:39:57] 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-06-23 22: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-06-23 22:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252017664001,"66":12254,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252017664001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:39:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252017664001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":112086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:39:57] local.INFO: GPS data processed {"connection_id":112086,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:39:57] local.INFO: Acknowledgment sent {"connection_id":112086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:02] local.INFO: TCP Data received {"connection_id":111447,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5748e08012d123d0006dec500000c00a230..."} 
[2026-06-23 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5748e08012d123d0006dec500000c00a230..."} 
[2026-06-23 22:40:02] local.INFO: Processing buffer {"connection_id":111447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5748e08012d123d0006dec500000c00a230..."} 
[2026-06-23 22:40:02] local.INFO: Packet analysis {"connection_id":111447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:02] local.INFO: Extracted packet for processing {"connection_id":111447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756169984,"raw_latitude":115262720,"longitude_deg":75.6169984,"latitude_deg":11.526272,"altitude":12,"angle":162,"satellites":48,"speed":59,"hex_longitude":"2d123d00","hex_latitude":"06dec500","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252034816001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321979889861263360,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1311391946004408320,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782234517000,"timestamp_ms":1782234517000,"timestamp_seconds":1782234517,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5748e08"} 
[2026-06-23 22:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:40: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-06-23 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:02] 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-06-23 22: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-06-23 22:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252034816001,"66":27463,"1":206,"2":56576,"24":59,"16":321979889861263360,"45":1311391946004408320},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-23 22:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252034816001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321979889861263360,"km_value":321979889861263.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1311391946004408320,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252034816001,"power":27463,"imei":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1311391946004408320}} 
[2026-06-23 22:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":111447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:02] local.INFO: GPS data processed {"connection_id":111447,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:02] local.INFO: Acknowledgment sent {"connection_id":111447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:20] local.INFO: TCP Data received {"connection_id":113015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:20] local.INFO: Processing buffer {"connection_id":113015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:20] local.INFO: IMEI packet received {"connection_id":113015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":113015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:40:20] local.INFO: TCP Data received {"connection_id":113015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:20] local.INFO: Processing buffer {"connection_id":113015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:20] local.INFO: IMEI packet received {"connection_id":113015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":113015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:40:24] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:24] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:24] local.INFO: IMEI packet received {"connection_id":112087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":112087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:40:25] local.INFO: TCP Data received {"connection_id":113015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:25] local.INFO: Processing buffer {"connection_id":113015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:40:25] local.INFO: IMEI packet received {"connection_id":113015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":113015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:40:27] local.INFO: TCP Data received {"connection_id":113015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5758038012d7d3f8005d276a8000900a91b..."} 
[2026-06-23 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5758038012d7d3f8005d276a8000900a91b..."} 
[2026-06-23 22:40:27] local.INFO: Processing buffer {"connection_id":113015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5758038012d7d3f8005d276a8000900a91b..."} 
[2026-06-23 22:40:27] local.INFO: Packet analysis {"connection_id":113015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:40:27] local.INFO: Extracted packet for processing {"connection_id":113015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":97679016,"longitude_deg":76.3182976,"latitude_deg":9.7679016,"altitude":9,"angle":169,"satellites":27,"speed":12,"hex_longitude":"2d7d3f80","hex_latitude":"05d276a8","is_valid_coordinates":true} 
[2026-06-23 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252048384001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96542085900926976,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834536609792,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782234579000,"timestamp_ms":1782234579000,"timestamp_seconds":1782234579,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5758038"} 
[2026-06-23 22:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:40:27] 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-06-23 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":113015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":113015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":113015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252048384001,"66":12069,"115":206,"85":15104,"24":12,"16":96542085900926976,"45":9024861834536609792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 22:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252048384001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96542085900926976,"km_value":96542085900926.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834536609792,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252048384001,"power":12069,"unknown_115":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9024861834536609792}} 
[2026-06-23 22:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":113015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:27] local.INFO: GPS data processed {"connection_id":113015,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:27] local.INFO: Acknowledgment sent {"connection_id":113015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:27] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:27] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:27] local.INFO: IMEI packet received {"connection_id":112087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":112087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:40:29] local.INFO: TCP Data received {"connection_id":112086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57414f0012d196740071fee68004b013821..."} 
[2026-06-23 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57414f0012d196740071fee68004b013821..."} 
[2026-06-23 22:40:29] local.INFO: Processing buffer {"connection_id":112086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57414f0012d196740071fee68004b013821..."} 
[2026-06-23 22:40:29] local.INFO: Packet analysis {"connection_id":112086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:29] local.INFO: Extracted packet for processing {"connection_id":112086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533160,"longitude_deg":75.6639552,"latitude_deg":11.953316,"altitude":75,"angle":312,"satellites":33,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee68","is_valid_coordinates":true} 
[2026-06-23 22:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252023040001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868133446123520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234486000,"timestamp_ms":1782234486000,"timestamp_seconds":1782234486,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57414f0"} 
[2026-06-23 22:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:29] 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-06-23 22:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252023040001,"66":12287,"102":206,"83":41984,"24":0,"16":3868133446123520,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252023040001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868133446123520,"km_value":3868133446123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252023040001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":112086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:29] local.INFO: GPS data processed {"connection_id":112086,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:29] local.INFO: Acknowledgment sent {"connection_id":112086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:32] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:32] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:40:32] local.INFO: IMEI packet received {"connection_id":112087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":112087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:40:33] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef574a960012d1248c006dea2e8000b00a12f..."} 
[2026-06-23 22:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef574a960012d1248c006dea2e8000b00a12f..."} 
[2026-06-23 22:40:33] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef574a960012d1248c006dea2e8000b00a12f..."} 
[2026-06-23 22:40:33] local.INFO: Packet analysis {"connection_id":112087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:33] local.INFO: Extracted packet for processing {"connection_id":112087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756172992,"raw_latitude":115253992,"longitude_deg":75.6172992,"latitude_deg":11.5253992,"altitude":11,"angle":161,"satellites":47,"speed":40,"hex_longitude":"2d1248c0","hex_latitude":"06dea2e8","is_valid_coordinates":true} 
[2026-06-23 22:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252036352001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321980336537862144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314206695769309184,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782234524000,"timestamp_ms":1782234524000,"timestamp_seconds":1782234524,"priority":1,"record_length":96,"hex_timestamp":"0000019ef574a960"} 
[2026-06-23 22:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:40: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-06-23 22:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252036352001,"66":27397,"1":206,"2":56576,"24":40,"16":321980336537862144,"45":1314206695769309184},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-23 22:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252036352001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321980336537862144,"km_value":321980336537862.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314206695769309184,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252036352001,"power":27397,"imei":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":1314206695769309184}} 
[2026-06-23 22:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":112087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:33] local.INFO: GPS data processed {"connection_id":112087,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:33] local.INFO: Acknowledgment sent {"connection_id":112087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:34] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef574e3f8012d1254c006de8188000d00a02e..."} 
[2026-06-23 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef574e3f8012d1254c006de8188000d00a02e..."} 
[2026-06-23 22:40:34] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef574e3f8012d1254c006de8188000d00a02e..."} 
[2026-06-23 22:40:34] local.INFO: Packet analysis {"connection_id":112087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:34] local.INFO: Extracted packet for processing {"connection_id":112087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756176064,"raw_latitude":115245448,"longitude_deg":75.6176064,"latitude_deg":11.5245448,"altitude":13,"angle":160,"satellites":46,"speed":11,"hex_longitude":"2d1254c0","hex_latitude":"06de8188","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252038144001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321980778919493632,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1317514026743425024,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782234539000,"timestamp_ms":1782234539000,"timestamp_seconds":1782234539,"priority":1,"record_length":96,"hex_timestamp":"0000019ef574e3f8"} 
[2026-06-23 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-06-23 22: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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252038144001,"66":27397,"1":206,"2":56576,"24":11,"16":321980778919493632,"45":1317514026743425024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-23 22:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252038144001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321980778919493632,"km_value":321980778919493.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1317514026743425024,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252038144001,"power":27397,"imei":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":1317514026743425024}} 
[2026-06-23 22:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":112087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:34] local.INFO: GPS data processed {"connection_id":112087,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:34] local.INFO: Acknowledgment sent {"connection_id":112087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:51] local.INFO: TCP Data received {"connection_id":113016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:40:51] local.INFO: Processing buffer {"connection_id":113016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:40:51] local.INFO: IMEI packet received {"connection_id":113016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":113016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:40:57] local.INFO: TCP Data received {"connection_id":113016,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:40:57] local.INFO: Processing buffer {"connection_id":113016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:40:57] local.INFO: IMEI packet received {"connection_id":113016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":113016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:40:57] local.INFO: TCP Data received {"connection_id":113016,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5742c60012d196780071ff1e8003d007b22..."} 
[2026-06-23 22:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5742c60012d196780071ff1e8003d007b22..."} 
[2026-06-23 22:40:57] local.INFO: Processing buffer {"connection_id":113016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5742c60012d196780071ff1e8003d007b22..."} 
[2026-06-23 22:40:57] local.INFO: Packet analysis {"connection_id":113016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:57] local.INFO: Extracted packet for processing {"connection_id":113016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534056,"longitude_deg":75.6639616,"latitude_deg":11.9534056,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff1e8","is_valid_coordinates":true} 
[2026-06-23 22:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252028416001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894062592,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234492000,"timestamp_ms":1782234492000,"timestamp_seconds":1782234492,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5742c60"} 
[2026-06-23 22:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:40: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-06-23 22:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:57] 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-06-23 22:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252028416001,"66":12113,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830502172894062592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252028416001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894062592,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252028416001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894062592}} 
[2026-06-23 22:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":113016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:58] local.INFO: GPS data processed {"connection_id":113016,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:58] local.INFO: Acknowledgment sent {"connection_id":113016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:40:58] local.INFO: TCP Data received {"connection_id":113015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57597a8012d7d410005d26f40000800bd1b..."} 
[2026-06-23 22:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57597a8012d7d410005d26f40000800bd1b..."} 
[2026-06-23 22:40:58] local.INFO: Processing buffer {"connection_id":113015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57597a8012d7d410005d26f40000800bd1b..."} 
[2026-06-23 22:40:58] local.INFO: Packet analysis {"connection_id":113015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:40:58] local.INFO: Extracted packet for processing {"connection_id":113015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97677120,"longitude_deg":76.318336,"latitude_deg":9.767712,"altitude":8,"angle":189,"satellites":27,"speed":13,"hex_longitude":"2d7d4100","hex_latitude":"05d26f40","is_valid_coordinates":true} 
[2026-06-23 22:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252052224001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96542180390207488,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940767946752,"note":"Value kept but may cause issues"} 
[2026-06-23 22:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782234585000,"timestamp_ms":1782234585000,"timestamp_seconds":1782234585,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57597a8"} 
[2026-06-23 22:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:40:58] 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-06-23 22:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 22:40:58] 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-06-23 22:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":113015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":113015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":113015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252052224001,"66":12004,"23":206,"85":15104,"24":13,"16":96542180390207488,"45":9025072940767946752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-06-23 22:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252052224001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:40:58] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-23 22:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96542180390207488,"km_value":96542180390207.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940767946752,"description":"Unknown IO ID 45"} 
[2026-06-23 22:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252052224001,"power":12004,"unknown_23":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9025072940767946752}} 
[2026-06-23 22:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":113015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:40:58] local.INFO: GPS data processed {"connection_id":113015,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:40:58] local.INFO: Acknowledgment sent {"connection_id":113015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:41:07] local.INFO: TCP Data received {"connection_id":112087,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef575fd38012d12924006dd7d10000d00962f..."} 
[2026-06-23 22:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef575fd38012d12924006dd7d10000d00962f..."} 
[2026-06-23 22:41:07] local.INFO: Processing buffer {"connection_id":112087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef575fd38012d12924006dd7d10000d00962f..."} 
[2026-06-23 22:41:07] local.INFO: Packet analysis {"connection_id":112087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:41:07] local.INFO: Extracted packet for processing {"connection_id":112087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756191808,"raw_latitude":115178768,"longitude_deg":75.6191808,"latitude_deg":11.5178768,"altitude":13,"angle":150,"satellites":47,"speed":55,"hex_longitude":"2d129240","hex_latitude":"06dd7d10","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252058624001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321984141878886400,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1332713675468779520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:07] 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-06-23 22:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782234611000,"timestamp_ms":1782234611000,"timestamp_seconds":1782234611,"priority":1,"record_length":96,"hex_timestamp":"0000019ef575fd38"} 
[2026-06-23 22:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:41: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-06-23 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 22:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":112087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":112087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252058624001,"66":27376,"129":206,"2":56576,"24":55,"16":321984141878886400,"45":1332713675468779520},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252058624001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:41:07] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321984141878886400,"km_value":321984141878886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1332713675468779520,"description":"Unknown IO ID 45"} 
[2026-06-23 22:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252058624001,"power":27376,"unknown_129":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1332713675468779520}} 
[2026-06-23 22:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":112087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:41:07] local.INFO: GPS data processed {"connection_id":112087,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:41:07] local.INFO: Acknowledgment sent {"connection_id":112087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:41:22] local.INFO: TCP Data received {"connection_id":113017,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:41:22] local.INFO: Processing buffer {"connection_id":113017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:41:22] local.INFO: IMEI packet received {"connection_id":113017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":113017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:41:24] local.INFO: TCP Data received {"connection_id":113017,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:41:24] local.INFO: Processing buffer {"connection_id":113017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:41:24] local.INFO: IMEI packet received {"connection_id":113017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":113017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:41:24] local.INFO: TCP Data received {"connection_id":111279,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:41:24] local.INFO: Processing buffer {"connection_id":111279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:41:24] local.INFO: IMEI packet received {"connection_id":111279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":111279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:41:26] local.INFO: TCP Data received {"connection_id":113017,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5761890012d12a50006dd5bc0000f00962f..."} 
[2026-06-23 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5761890012d12a50006dd5bc0000f00962f..."} 
[2026-06-23 22:41:26] local.INFO: Processing buffer {"connection_id":113017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5761890012d12a50006dd5bc0000f00962f..."} 
[2026-06-23 22:41:26] local.INFO: Packet analysis {"connection_id":113017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:41:26] local.INFO: Extracted packet for processing {"connection_id":113017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:41:26] local.INFO: GPS Element Parsed {"raw_longitude":756196608,"raw_latitude":115170240,"longitude_deg":75.6196608,"latitude_deg":11.517024,"altitude":15,"angle":150,"satellites":47,"speed":55,"hex_longitude":"2d12a500","hex_latitude":"06dd5bc0","is_valid_coordinates":true} 
[2026-06-23 22:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252060416001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321984614325288960,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1338202437512400896,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:26] 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-06-23 22:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782234618000,"timestamp_ms":1782234618000,"timestamp_seconds":1782234618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5761890"} 
[2026-06-23 22:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":113017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":113017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":113017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252060416001,"66":27441,"129":206,"2":56576,"24":55,"16":321984614325288960,"45":1338202437512400896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252060416001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:41:26] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321984614325288960,"km_value":321984614325288.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1338202437512400896,"description":"Unknown IO ID 45"} 
[2026-06-23 22:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252060416001,"power":27441,"unknown_129":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1338202437512400896}} 
[2026-06-23 22:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":113017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:41:26] local.INFO: GPS data processed {"connection_id":113017,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:41:26] local.INFO: Acknowledgment sent {"connection_id":113017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:41:29] local.INFO: TCP Data received {"connection_id":113016,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5747e68012d196780071ff200003d007b20..."} 
[2026-06-23 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5747e68012d196780071ff200003d007b20..."} 
[2026-06-23 22:41:29] local.INFO: Processing buffer {"connection_id":113016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5747e68012d196780071ff200003d007b20..."} 
[2026-06-23 22:41:29] local.INFO: Packet analysis {"connection_id":113016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:41:29] local.INFO: Extracted packet for processing {"connection_id":113016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252029952001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638469632,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234513000,"timestamp_ms":1782234513000,"timestamp_seconds":1782234513,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5747e68"} 
[2026-06-23 22:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 22:41:29] 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-06-23 22:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252029952001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638469632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252029952001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:41:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638469632,"description":"Unknown IO ID 45"} 
[2026-06-23 22:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252029952001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638469632}} 
[2026-06-23 22:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":113016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:41:29] local.INFO: GPS data processed {"connection_id":113016,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:41:29] local.INFO: Acknowledgment sent {"connection_id":113016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:41:33] local.INFO: TCP Data received {"connection_id":113015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef576e798012d7d294005d1abd8000801511c..."} 
[2026-06-23 22:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef576e798012d7d294005d1abd8000801511c..."} 
[2026-06-23 22:41:33] local.INFO: Processing buffer {"connection_id":113015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef576e798012d7d294005d1abd8000801511c..."} 
[2026-06-23 22:41:33] local.INFO: Packet analysis {"connection_id":113015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:41:33] local.INFO: Extracted packet for processing {"connection_id":113015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97627096,"longitude_deg":76.317728,"latitude_deg":9.7627096,"altitude":8,"angle":337,"satellites":28,"speed":17,"hex_longitude":"2d7d2940","hex_latitude":"05d1abd8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252075264001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96544834679996416,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019302703731904512,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782234671000,"timestamp_ms":1782234671000,"timestamp_seconds":1782234671,"priority":1,"record_length":96,"hex_timestamp":"0000019ef576e798"} 
[2026-06-23 22:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:41:33] 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-06-23 22: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 22:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":113015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":113015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":113015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252075264001,"66":11830,"23":206,"85":15104,"24":17,"16":96544834679996416,"45":9019302703731904512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-06-23 22:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252075264001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:41:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-23 22:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96544834679996416,"km_value":96544834679996.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019302703731904512,"description":"Unknown IO ID 45"} 
[2026-06-23 22:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252075264001,"power":11830,"unknown_23":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9019302703731904512}} 
[2026-06-23 22:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":113015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:41:33] local.INFO: GPS data processed {"connection_id":113015,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:41:33] local.INFO: Acknowledgment sent {"connection_id":113015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:41:56] local.INFO: TCP Data received {"connection_id":112088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:41:56] local.INFO: Processing buffer {"connection_id":112088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:41:56] local.INFO: IMEI packet received {"connection_id":112088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":112088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:41:59] local.INFO: TCP Data received {"connection_id":113017,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57633e8012d12b6c006dd3a68000f009a2f..."} 
[2026-06-23 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57633e8012d12b6c006dd3a68000f009a2f..."} 
[2026-06-23 22:41:59] local.INFO: Processing buffer {"connection_id":113017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57633e8012d12b6c006dd3a68000f009a2f..."} 
[2026-06-23 22:41:59] local.INFO: Packet analysis {"connection_id":113017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:41:59] local.INFO: Extracted packet for processing {"connection_id":113017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":756201152,"raw_latitude":115161704,"longitude_deg":75.6201152,"latitude_deg":11.5161704,"altitude":15,"angle":154,"satellites":47,"speed":55,"hex_longitude":"2d12b6c0","hex_latitude":"06dd3a68","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252062208001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321985078181756928,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1343480093323542528,"note":"Value kept but may cause issues"} 
[2026-06-23 22:41:59] 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-06-23 22:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782234625000,"timestamp_ms":1782234625000,"timestamp_seconds":1782234625,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57633e8"} 
[2026-06-23 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-06-23 22:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-06-23 22:41:59] 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-06-23 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-06-23 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-06-23 22:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":113017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":113017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":113017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252062208001,"66":27463,"129":206,"2":56576,"24":55,"16":321985078181756928,"45":1343480093323542528},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252062208001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:41:59] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321985078181756928,"km_value":321985078181756.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1343480093323542528,"description":"Unknown IO ID 45"} 
[2026-06-23 22:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252062208001,"power":27463,"unknown_129":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1343480093323542528}} 
[2026-06-23 22:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":113017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:41:59] local.INFO: GPS data processed {"connection_id":113017,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:41:59] local.INFO: Acknowledgment sent {"connection_id":113017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:00] local.INFO: TCP Data received {"connection_id":112088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:00] local.INFO: Processing buffer {"connection_id":112088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:00] local.INFO: IMEI packet received {"connection_id":112088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":112088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:42:00] local.INFO: TCP Data received {"connection_id":112088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef574d070012d196780071ff200003d007b22..."} 
[2026-06-23 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef574d070012d196780071ff200003d007b22..."} 
[2026-06-23 22:42:00] local.INFO: Processing buffer {"connection_id":112088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef574d070012d196780071ff200003d007b22..."} 
[2026-06-23 22:42:00] local.INFO: Packet analysis {"connection_id":112088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:42:00] local.INFO: Extracted packet for processing {"connection_id":112088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef574"} 
[2026-06-23 22:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252035328001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42: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-06-23 22:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782234534000,"timestamp_ms":1782234534000,"timestamp_seconds":1782234534,"priority":1,"record_length":96,"hex_timestamp":"0000019ef574d070"} 
[2026-06-23 22:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:42: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-06-23 22: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-06-23 22:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252035328001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252035328001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252035328001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":112088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:01] local.INFO: GPS data processed {"connection_id":112088,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:01] local.INFO: Acknowledgment sent {"connection_id":112088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:01] local.INFO: TCP Data received {"connection_id":112088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5752278012d196780071ff200003d007b20..."} 
[2026-06-23 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5752278012d196780071ff200003d007b20..."} 
[2026-06-23 22:42:01] local.INFO: Processing buffer {"connection_id":112088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5752278012d196780071ff200003d007b20..."} 
[2026-06-23 22:42:01] local.INFO: Packet analysis {"connection_id":112088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:42:01] local.INFO: Extracted packet for processing {"connection_id":112088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252040704001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234555000,"timestamp_ms":1782234555000,"timestamp_seconds":1782234555,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5752278"} 
[2026-06-23 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-06-23 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:42:01] 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-06-23 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-06-23 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-06-23 22:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252040704001,"66":12113,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252040704001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252040704001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":112088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:02] local.INFO: GPS data processed {"connection_id":112088,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:02] local.INFO: Acknowledgment sent {"connection_id":112088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:05] local.INFO: TCP Data received {"connection_id":111280,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:42:05] local.INFO: Processing buffer {"connection_id":111280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:42:05] local.INFO: IMEI packet received {"connection_id":111280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":111280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:42:16] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:16] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:16] local.INFO: IMEI packet received {"connection_id":111281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":111281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:42:16] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:16] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:16] local.INFO: IMEI packet received {"connection_id":111281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":111281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:42:21] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:21] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:42:21] local.INFO: IMEI packet received {"connection_id":111281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":111281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:42:21] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef576ef68012d7d284005d1afa8000801621c..."} 
[2026-06-23 22:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef576ef68012d7d284005d1afa8000801621c..."} 
[2026-06-23 22:42:21] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef576ef68012d7d284005d1afa8000801621c..."} 
[2026-06-23 22:42:21] local.INFO: Packet analysis {"connection_id":111281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:42:21] local.INFO: Extracted packet for processing {"connection_id":111281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97628072,"longitude_deg":76.3177024,"latitude_deg":9.7628072,"altitude":8,"angle":354,"satellites":28,"speed":22,"hex_longitude":"2d7d2840","hex_latitude":"05d1afa8","is_valid_coordinates":true} 
[2026-06-23 22:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252075776001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96544881924636672,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122522843136,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234673000,"timestamp_ms":1782234673000,"timestamp_seconds":1782234673,"priority":1,"record_length":96,"hex_timestamp":"0000019ef576ef68"} 
[2026-06-23 22:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-23 22:42:21] 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-06-23 22:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252075776001,"66":11874,"23":206,"85":15104,"24":22,"16":96544881924636672,"45":9018810122522843136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-06-23 22:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252075776001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:21] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-23 22:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96544881924636672,"km_value":96544881924636.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122522843136,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252075776001,"power":11874,"unknown_23":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9018810122522843136}} 
[2026-06-23 22:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":111281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:21] local.INFO: GPS data processed {"connection_id":111281,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:21] local.INFO: Acknowledgment sent {"connection_id":111281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:22] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:42:22] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:42:22] local.INFO: IMEI packet received {"connection_id":111282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":111282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:42:27] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:42:27] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:42:27] local.INFO: IMEI packet received {"connection_id":111282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":111282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:42:28] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5764f40012d12c60006dd1718000e009f2f..."} 
[2026-06-23 22:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5764f40012d12c60006dd1718000e009f2f..."} 
[2026-06-23 22:42:28] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5764f40012d12c60006dd1718000e009f2f..."} 
[2026-06-23 22:42:28] local.INFO: Packet analysis {"connection_id":111282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:42:28] local.INFO: Extracted packet for processing {"connection_id":111282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756205056,"raw_latitude":115152664,"longitude_deg":75.6205056,"latitude_deg":11.5152664,"altitude":14,"angle":159,"satellites":47,"speed":55,"hex_longitude":"2d12c600","hex_latitude":"06dd1718","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252064000001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321985554923126784,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1348476274157971456,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:28] 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-06-23 22:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234632000,"timestamp_ms":1782234632000,"timestamp_seconds":1782234632,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5764f40"} 
[2026-06-23 22:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:42:28] 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-06-23 22: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-06-23 22:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252064000001,"66":27376,"129":206,"2":56576,"24":55,"16":321985554923126784,"45":1348476274157971456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-23 22:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252064000001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:28] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 22:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321985554923126784,"km_value":321985554923126.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1348476274157971456,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252064000001,"power":27376,"unknown_129":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1348476274157971456}} 
[2026-06-23 22:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":111282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:28] local.INFO: GPS data processed {"connection_id":111282,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:28] local.INFO: Acknowledgment sent {"connection_id":111282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:32] local.INFO: TCP Data received {"connection_id":112088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5757480012d196780071ff200003d007b21..."} 
[2026-06-23 22:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5757480012d196780071ff200003d007b21..."} 
[2026-06-23 22:42:32] local.INFO: Processing buffer {"connection_id":112088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5757480012d196780071ff200003d007b21..."} 
[2026-06-23 22:42:32] local.INFO: Packet analysis {"connection_id":112088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:42:32] local.INFO: Extracted packet for processing {"connection_id":112088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252046080001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42: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-06-23 22:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782234576000,"timestamp_ms":1782234576000,"timestamp_seconds":1782234576,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5757480"} 
[2026-06-23 22:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 22:42:32] 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-06-23 22: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-06-23 22:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252046080001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252046080001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252046080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":112088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:32] local.INFO: GPS data processed {"connection_id":112088,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:32] local.INFO: Acknowledgment sent {"connection_id":112088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:51] local.INFO: TCP Data received {"connection_id":112089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:51] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:51] local.INFO: IMEI packet received {"connection_id":112089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":112089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:42:52] local.INFO: TCP Data received {"connection_id":111281,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5771a60012d7d258005d1d240000a01641c..."} 
[2026-06-23 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5771a60012d7d258005d1d240000a01641c..."} 
[2026-06-23 22:42:52] local.INFO: Processing buffer {"connection_id":111281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5771a60012d7d258005d1d240000a01641c..."} 
[2026-06-23 22:42:52] local.INFO: Packet analysis {"connection_id":111281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:42:52] local.INFO: Extracted packet for processing {"connection_id":111281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:42:52] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":97636928,"longitude_deg":76.317632,"latitude_deg":9.7636928,"altitude":10,"angle":356,"satellites":28,"speed":37,"hex_longitude":"2d7d2580","hex_latitude":"05d1d240","is_valid_coordinates":true} 
[2026-06-23 22:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252076288001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96545311421366272,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647546382336,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782234684000,"timestamp_ms":1782234684000,"timestamp_seconds":1782234684,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5771a60"} 
[2026-06-23 22:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:42:52] 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-06-23 22:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 22:42:52] 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-06-23 22:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252076288001,"66":12156,"23":206,"85":15104,"24":37,"16":96545311421366272,"45":9018528647546382336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-06-23 22:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252076288001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:52] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-23 22:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96545311421366272,"km_value":96545311421366.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647546382336,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252076288001,"power":12156,"unknown_23":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9018528647546382336}} 
[2026-06-23 22:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":111281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:52] local.INFO: GPS data processed {"connection_id":111281,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:52] local.INFO: Acknowledgment sent {"connection_id":111281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:42:56] local.INFO: TCP Data received {"connection_id":112089,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:56] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:42:56] local.INFO: IMEI packet received {"connection_id":112089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":112089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:42:57] local.INFO: TCP Data received {"connection_id":112089,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef575c688012d196780071ff200003d007b21..."} 
[2026-06-23 22:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef575c688012d196780071ff200003d007b21..."} 
[2026-06-23 22:42:57] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef575c688012d196780071ff200003d007b21..."} 
[2026-06-23 22:42:57] local.INFO: Packet analysis {"connection_id":112089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:42:57] local.INFO: Extracted packet for processing {"connection_id":112089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef575"} 
[2026-06-23 22:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:42: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-06-23 22:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252051456001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234597000,"timestamp_ms":1782234597000,"timestamp_seconds":1782234597,"priority":1,"record_length":96,"hex_timestamp":"0000019ef575c688"} 
[2026-06-23 22:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:42: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-06-23 22:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:42:57] 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-06-23 22:42: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-06-23 22:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252051456001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252051456001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252051456001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":112089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:42:57] local.INFO: GPS data processed {"connection_id":112089,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:42:57] local.INFO: Acknowledgment sent {"connection_id":112089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:43:01] local.INFO: TCP Data received {"connection_id":111282,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5779b48012d13860006db7d600009009230..."} 
[2026-06-23 22:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5779b48012d13860006db7d600009009230..."} 
[2026-06-23 22:43:01] local.INFO: Processing buffer {"connection_id":111282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5779b48012d13860006db7d600009009230..."} 
[2026-06-23 22:43:01] local.INFO: Packet analysis {"connection_id":111282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:43:01] local.INFO: Extracted packet for processing {"connection_id":111282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756254208,"raw_latitude":115047776,"longitude_deg":75.6254208,"latitude_deg":11.5047776,"altitude":9,"angle":146,"satellites":48,"speed":30,"hex_longitude":"2d138600","hex_latitude":"06db7d60","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252087552001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321991177035317248,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406811963052089344,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:01] 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-06-23 22:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234717000,"timestamp_ms":1782234717000,"timestamp_seconds":1782234717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5779b48"} 
[2026-06-23 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-06-23 22:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252087552001,"66":27343,"127":206,"2":56576,"24":30,"16":321991177035317248,"45":1406811963052089344},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252087552001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321991177035317248,"km_value":321991177035317.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406811963052089344,"description":"Unknown IO ID 45"} 
[2026-06-23 22:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252087552001,"power":27343,"unknown_127":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1406811963052089344}} 
[2026-06-23 22:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":111282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:43:01] local.INFO: GPS data processed {"connection_id":111282,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:43:01] local.INFO: Acknowledgment sent {"connection_id":111282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:43:14] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:14] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:14] local.INFO: IMEI packet received {"connection_id":111449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":111449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:43:15] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:15] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:15] local.INFO: IMEI packet received {"connection_id":111449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":111449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:43:20] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:20] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:43:20] local.INFO: IMEI packet received {"connection_id":111449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":111449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:43:21] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5773d88012d7d23c005d1f878000900001e..."} 
[2026-06-23 22:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5773d88012d7d23c005d1f878000900001e..."} 
[2026-06-23 22:43:21] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5773d88012d7d23c005d1f878000900001e..."} 
[2026-06-23 22:43:21] local.INFO: Packet analysis {"connection_id":111449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:43:21] local.INFO: Extracted packet for processing {"connection_id":111449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97646712,"longitude_deg":76.3175872,"latitude_deg":9.7646712,"altitude":9,"angle":0,"satellites":30,"speed":43,"hex_longitude":"2d7d23c0","hex_latitude":"05d1f878","is_valid_coordinates":true} 
[2026-06-23 22:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252079104001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96545788162736128,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591362695168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234693000,"timestamp_ms":1782234693000,"timestamp_seconds":1782234693,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5773d88"} 
[2026-06-23 22:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 22:43:21] 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-06-23 22:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252079104001,"66":12189,"197":206,"85":15104,"24":43,"16":96545788162736128,"45":9017754591362695168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-06-23 22:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252079104001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:43:21] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 22:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96545788162736128,"km_value":96545788162736.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591362695168,"description":"Unknown IO ID 45"} 
[2026-06-23 22:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252079104001,"power":12189,"unknown_197":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9017754591362695168}} 
[2026-06-23 22:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":111449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:43:21] local.INFO: GPS data processed {"connection_id":111449,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:43:21] local.INFO: Acknowledgment sent {"connection_id":111449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:43:23] local.INFO: TCP Data received {"connection_id":113018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:23] local.INFO: Processing buffer {"connection_id":113018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:23] local.INFO: IMEI packet received {"connection_id":113018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":113018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:43:24] local.INFO: TCP Data received {"connection_id":113018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:24] local.INFO: Processing buffer {"connection_id":113018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:24] local.INFO: IMEI packet received {"connection_id":113018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":113018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:43:28] local.INFO: TCP Data received {"connection_id":113018,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:28] local.INFO: Processing buffer {"connection_id":113018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:43:28] local.INFO: IMEI packet received {"connection_id":113018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":113018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:43:28] local.INFO: TCP Data received {"connection_id":112089,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5761890012d196780071ff200003d007b20..."} 
[2026-06-23 22:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5761890012d196780071ff200003d007b20..."} 
[2026-06-23 22:43:28] local.INFO: Processing buffer {"connection_id":112089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5761890012d196780071ff200003d007b20..."} 
[2026-06-23 22:43:28] local.INFO: Packet analysis {"connection_id":112089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:43:28] local.INFO: Extracted packet for processing {"connection_id":112089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:43: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-06-23 22:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252056832001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234618000,"timestamp_ms":1782234618000,"timestamp_seconds":1782234618,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5761890"} 
[2026-06-23 22:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:43: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:43:28] 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-06-23 22:43: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-06-23 22:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252056832001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252056832001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252056832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":112089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:43:29] local.INFO: GPS data processed {"connection_id":112089,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:43:29] local.INFO: Acknowledgment sent {"connection_id":112089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:43:29] local.INFO: TCP Data received {"connection_id":113018,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef577b2b8012d138dc006db72a80009009e2e..."} 
[2026-06-23 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef577b2b8012d138dc006db72a80009009e2e..."} 
[2026-06-23 22:43:29] local.INFO: Processing buffer {"connection_id":113018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef577b2b8012d138dc006db72a80009009e2e..."} 
[2026-06-23 22:43:29] local.INFO: Packet analysis {"connection_id":113018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:43:29] local.INFO: Extracted packet for processing {"connection_id":113018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:43:29] local.INFO: GPS Element Parsed {"raw_longitude":756256192,"raw_latitude":115045032,"longitude_deg":75.6256192,"latitude_deg":11.5045032,"altitude":9,"angle":158,"satellites":46,"speed":20,"hex_longitude":"2d138dc0","hex_latitude":"06db72a8","is_valid_coordinates":true} 
[2026-06-23 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252087552001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321991340244074496,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406811963052089344,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:29] 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-06-23 22:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234723000,"timestamp_ms":1782234723000,"timestamp_seconds":1782234723,"priority":1,"record_length":96,"hex_timestamp":"0000019ef577b2b8"} 
[2026-06-23 22:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:43:29] 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-06-23 22:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252087552001,"66":26669,"127":206,"2":56576,"24":20,"16":321991340244074496,"45":1406811963052089344},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252087552001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:43:29] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321991340244074496,"km_value":321991340244074.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406811963052089344,"description":"Unknown IO ID 45"} 
[2026-06-23 22:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252087552001,"power":26669,"unknown_127":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":1406811963052089344}} 
[2026-06-23 22:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":113018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:43:29] local.INFO: GPS data processed {"connection_id":113018,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:43:29] local.INFO: Acknowledgment sent {"connection_id":113018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:43:51] local.INFO: TCP Data received {"connection_id":111450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:43:51] local.INFO: Processing buffer {"connection_id":111450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:43:51] local.INFO: IMEI packet received {"connection_id":111450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":111450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:43:52] local.INFO: TCP Data received {"connection_id":111449,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef578fec0012d7d348005d34b08000001661c..."} 
[2026-06-23 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef578fec0012d7d348005d34b08000001661c..."} 
[2026-06-23 22:43:52] local.INFO: Processing buffer {"connection_id":111449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef578fec0012d7d348005d34b08000001661c..."} 
[2026-06-23 22:43:52] local.INFO: Packet analysis {"connection_id":111449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:43:52] local.INFO: Extracted packet for processing {"connection_id":111449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97733384,"longitude_deg":76.318016,"latitude_deg":9.7733384,"altitude":0,"angle":358,"satellites":28,"speed":51,"hex_longitude":"2d7d3480","hex_latitude":"05d34b08","is_valid_coordinates":true} 
[2026-06-23 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252109056001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96550023000489984,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928500809728,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782234808000,"timestamp_ms":1782234808000,"timestamp_seconds":1782234808,"priority":1,"record_length":96,"hex_timestamp":"0000019ef578fec0"} 
[2026-06-23 22:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 22:43:52] 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-06-23 22:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252109056001,"66":12178,"117":206,"85":15104,"24":51,"16":96550023000489984,"45":9022398928500809728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-23 22:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252109056001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:43:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 22:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96550023000489984,"km_value":96550023000489.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928500809728,"description":"Unknown IO ID 45"} 
[2026-06-23 22:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252109056001,"power":12178,"unknown_117":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9022398928500809728}} 
[2026-06-23 22:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":111449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:43:52] local.INFO: GPS data processed {"connection_id":111449,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:43:52] local.INFO: Acknowledgment sent {"connection_id":111449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:43:56] local.INFO: TCP Data received {"connection_id":111450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:43:56] local.INFO: Processing buffer {"connection_id":111450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:43:56] local.INFO: IMEI packet received {"connection_id":111450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":111450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:43:57] local.INFO: TCP Data received {"connection_id":111450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5766a98012d196780071ff200003d007b20..."} 
[2026-06-23 22:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5766a98012d196780071ff200003d007b20..."} 
[2026-06-23 22:43:57] local.INFO: Processing buffer {"connection_id":111450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5766a98012d196780071ff200003d007b20..."} 
[2026-06-23 22:43:57] local.INFO: Packet analysis {"connection_id":111450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:43:57] local.INFO: Extracted packet for processing {"connection_id":111450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252062208001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234639000,"timestamp_ms":1782234639000,"timestamp_seconds":1782234639,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5766a98"} 
[2026-06-23 22:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:43: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:43:57] 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-06-23 22: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-06-23 22:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252062208001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252062208001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:43:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252062208001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":111450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:43:57] local.INFO: GPS data processed {"connection_id":111450,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:43:57] local.INFO: Acknowledgment sent {"connection_id":111450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:44:02] local.INFO: TCP Data received {"connection_id":113018,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef577ed50012d139c4006db50d8000a009d2f..."} 
[2026-06-23 22:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef577ed50012d139c4006db50d8000a009d2f..."} 
[2026-06-23 22:44:02] local.INFO: Processing buffer {"connection_id":113018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef577ed50012d139c4006db50d8000a009d2f..."} 
[2026-06-23 22:44:02] local.INFO: Packet analysis {"connection_id":113018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:44:02] local.INFO: Extracted packet for processing {"connection_id":113018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756259904,"raw_latitude":115036376,"longitude_deg":75.6259904,"latitude_deg":11.5036376,"altitude":10,"angle":157,"satellites":47,"speed":30,"hex_longitude":"2d139c40","hex_latitude":"06db50d8","is_valid_coordinates":true} 
[2026-06-23 22:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252089088001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321991799805575168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408993394120894464,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:02] 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-06-23 22:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782234738000,"timestamp_ms":1782234738000,"timestamp_seconds":1782234738,"priority":1,"record_length":96,"hex_timestamp":"0000019ef577ed50"} 
[2026-06-23 22:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:44: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-06-23 22:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-06-23 22:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":113018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":113018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":113018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252089088001,"66":27267,"127":206,"2":56576,"24":30,"16":321991799805575168,"45":1408993394120894464},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252089088001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:44:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321991799805575168,"km_value":321991799805575.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408993394120894464,"description":"Unknown IO ID 45"} 
[2026-06-23 22:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252089088001,"power":27267,"unknown_127":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1408993394120894464}} 
[2026-06-23 22:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":113018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:44:02] local.INFO: GPS data processed {"connection_id":113018,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:44:02] local.INFO: Acknowledgment sent {"connection_id":113018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:44:15] local.INFO: TCP Data received {"connection_id":111451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:15] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:15] local.INFO: IMEI packet received {"connection_id":111451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":111451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:44:16] local.INFO: TCP Data received {"connection_id":111451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:16] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:16] local.INFO: IMEI packet received {"connection_id":111451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":111451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:44:16] local.INFO: TCP Data received {"connection_id":111451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:16] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:16] local.INFO: IMEI packet received {"connection_id":111451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":111451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:44:20] local.INFO: TCP Data received {"connection_id":111451,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:20] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:44:20] local.INFO: IMEI packet received {"connection_id":111451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":111451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:44:21] local.INFO: TCP Data received {"connection_id":111451,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5791e00012d7d338005d37298000001661a..."} 
[2026-06-23 22:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5791e00012d7d338005d37298000001661a..."} 
[2026-06-23 22:44:21] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5791e00012d7d338005d37298000001661a..."} 
[2026-06-23 22:44:21] local.INFO: Packet analysis {"connection_id":111451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:44:21] local.INFO: Extracted packet for processing {"connection_id":111451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":97743512,"longitude_deg":76.3179904,"latitude_deg":9.7743512,"altitude":0,"angle":358,"satellites":26,"speed":51,"hex_longitude":"2d7d3380","hex_latitude":"05d37298","is_valid_coordinates":true} 
[2026-06-23 22:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252110848001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96550512626761728,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716038047744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234816000,"timestamp_ms":1782234816000,"timestamp_seconds":1782234816,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5791e00"} 
[2026-06-23 22:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 22:44:21] 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-06-23 22:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252110848001,"66":12189,"115":206,"85":15104,"24":51,"16":96550512626761728,"45":9021976716038047744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 22:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252110848001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:44:21] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 22:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96550512626761728,"km_value":96550512626761.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716038047744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252110848001,"power":12189,"unknown_115":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9021976716038047744}} 
[2026-06-23 22:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":111451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:44:21] local.INFO: GPS data processed {"connection_id":111451,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:44:21] local.INFO: Acknowledgment sent {"connection_id":111451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:44:22] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:22] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:22] local.INFO: IMEI packet received {"connection_id":112091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":112091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:44:23] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:23] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:23] local.INFO: IMEI packet received {"connection_id":112091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":112091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:44:28] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:28] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:44:28] local.INFO: IMEI packet received {"connection_id":112091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":112091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:44:28] local.INFO: TCP Data received {"connection_id":111450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ef576bca0012d196780071ff200003d007b22..."} 
[2026-06-23 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef576bca0012d196780071ff200003d007b22..."} 
[2026-06-23 22:44:28] local.INFO: Processing buffer {"connection_id":111450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef576bca0012d196780071ff200003d007b22..."} 
[2026-06-23 22:44:28] local.INFO: Packet analysis {"connection_id":111450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:44:28] local.INFO: Extracted packet for processing {"connection_id":111450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef576"} 
[2026-06-23 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252067584001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234660000,"timestamp_ms":1782234660000,"timestamp_seconds":1782234660,"priority":1,"record_length":96,"hex_timestamp":"0000019ef576bca0"} 
[2026-06-23 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-06-23 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:44:28] 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-06-23 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-06-23 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-06-23 22:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252067584001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252067584001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252067584001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":111450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:44:28] local.INFO: GPS data processed {"connection_id":111450,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:44:28] local.INFO: Acknowledgment sent {"connection_id":111450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:44:29] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5781848012d13a9c006db2ce8000a00a530..."} 
[2026-06-23 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5781848012d13a9c006db2ce8000a00a530..."} 
[2026-06-23 22:44:29] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5781848012d13a9c006db2ce8000a00a530..."} 
[2026-06-23 22:44:29] local.INFO: Packet analysis {"connection_id":112091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:44:29] local.INFO: Extracted packet for processing {"connection_id":112091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756263360,"raw_latitude":115027176,"longitude_deg":75.626336,"latitude_deg":11.5027176,"altitude":10,"angle":165,"satellites":48,"speed":39,"hex_longitude":"2d13a9c0","hex_latitude":"06db2ce8","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252092928001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321992272251977728,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413074781280983040,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:29] 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-06-23 22:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234749000,"timestamp_ms":1782234749000,"timestamp_seconds":1782234749,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5781848"} 
[2026-06-23 22:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:44:29] 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-06-23 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 22:44:29] 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-06-23 22: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-06-23 22:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252092928001,"66":27213,"127":206,"2":56576,"24":39,"16":321992272251977728,"45":1413074781280983040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252092928001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:44:29] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321992272251977728,"km_value":321992272251977.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413074781280983040,"description":"Unknown IO ID 45"} 
[2026-06-23 22:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252092928001,"power":27213,"unknown_127":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1413074781280983040}} 
[2026-06-23 22:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":112091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:44:29] local.INFO: GPS data processed {"connection_id":112091,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:44:29] local.INFO: Acknowledgment sent {"connection_id":112091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:44:51] local.INFO: TCP Data received {"connection_id":113019,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:44:51] local.INFO: Processing buffer {"connection_id":113019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:44:51] local.INFO: IMEI packet received {"connection_id":113019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":113019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:44:52] local.INFO: TCP Data received {"connection_id":111451,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5793d40012d7d334005d399900000000119..."} 
[2026-06-23 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5793d40012d7d334005d399900000000119..."} 
[2026-06-23 22:44:52] local.INFO: Processing buffer {"connection_id":111451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5793d40012d7d334005d399900000000119..."} 
[2026-06-23 22:44:52] local.INFO: Packet analysis {"connection_id":111451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:44:52] local.INFO: Extracted packet for processing {"connection_id":111451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":97753488,"longitude_deg":76.317984,"latitude_deg":9.7753488,"altitude":0,"angle":1,"satellites":25,"speed":48,"hex_longitude":"2d7d3340","hex_latitude":"05d39990","is_valid_coordinates":true} 
[2026-06-23 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252112896001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96550997958066176,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241063929856,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782234824000,"timestamp_ms":1782234824000,"timestamp_seconds":1782234824,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5793d40"} 
[2026-06-23 22:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-23 22:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252112896001,"66":11547,"115":206,"85":15104,"24":48,"16":96550997958066176,"45":9021695241063929856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 22:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252112896001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:44:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 22:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96550997958066176,"km_value":96550997958066.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241063929856,"description":"Unknown IO ID 45"} 
[2026-06-23 22:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252112896001,"power":11547,"unknown_115":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9021695241063929856}} 
[2026-06-23 22:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":111451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:44:52] local.INFO: GPS data processed {"connection_id":111451,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:44:52] local.INFO: Acknowledgment sent {"connection_id":111451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:44:56] local.INFO: TCP Data received {"connection_id":113019,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:44:56] local.INFO: Processing buffer {"connection_id":113019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:44:56] local.INFO: IMEI packet received {"connection_id":113019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":113019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:44:57] local.INFO: TCP Data received {"connection_id":113019,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5770ea8012d196780071ff200003d007b22..."} 
[2026-06-23 22:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5770ea8012d196780071ff200003d007b22..."} 
[2026-06-23 22:44:57] local.INFO: Processing buffer {"connection_id":113019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5770ea8012d196780071ff200003d007b22..."} 
[2026-06-23 22:44:57] local.INFO: Packet analysis {"connection_id":113019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:44:57] local.INFO: Extracted packet for processing {"connection_id":113019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:44: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-06-23 22:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252072960001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234681000,"timestamp_ms":1782234681000,"timestamp_seconds":1782234681,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5770ea8"} 
[2026-06-23 22:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:44: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-06-23 22:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:44:57] 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-06-23 22:44: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-06-23 22:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252072960001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252072960001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252072960001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":113019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:44:57] local.INFO: GPS data processed {"connection_id":113019,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:44:57] local.INFO: Acknowledgment sent {"connection_id":113019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:45:01] local.INFO: TCP Data received {"connection_id":112091,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5783b70012d13af0006db0938000b00b030..."} 
[2026-06-23 22:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5783b70012d13af0006db0938000b00b030..."} 
[2026-06-23 22:45:01] local.INFO: Processing buffer {"connection_id":112091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5783b70012d13af0006db0938000b00b030..."} 
[2026-06-23 22:45:01] local.INFO: Packet analysis {"connection_id":112091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:45:01] local.INFO: Extracted packet for processing {"connection_id":112091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756264704,"raw_latitude":115018040,"longitude_deg":75.6264704,"latitude_deg":11.501804,"altitude":11,"angle":176,"satellites":48,"speed":43,"hex_longitude":"2d13af00","hex_latitude":"06db0938","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252095744001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321992723223543808,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416874693464221696,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:01] 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-06-23 22:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234758000,"timestamp_ms":1782234758000,"timestamp_seconds":1782234758,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5783b70"} 
[2026-06-23 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-06-23 22:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-23 22:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252095744001,"66":27310,"127":206,"2":56576,"24":43,"16":321992723223543808,"45":1416874693464221696},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252095744001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:45:01] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321992723223543808,"km_value":321992723223543.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416874693464221696,"description":"Unknown IO ID 45"} 
[2026-06-23 22:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252095744001,"power":27310,"unknown_127":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1416874693464221696}} 
[2026-06-23 22:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":112091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:45:01] local.INFO: GPS data processed {"connection_id":112091,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:45:01] local.INFO: Acknowledgment sent {"connection_id":112091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:45:15] local.INFO: TCP Data received {"connection_id":111452,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:45:15] local.INFO: Processing buffer {"connection_id":111452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:45:15] local.INFO: IMEI packet received {"connection_id":111452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":111452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:45:21] local.INFO: TCP Data received {"connection_id":111452,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:45:21] local.INFO: Processing buffer {"connection_id":111452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:45:21] local.INFO: IMEI packet received {"connection_id":111452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":111452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:45:21] local.INFO: TCP Data received {"connection_id":111452,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5796c20012d7d32c005d3b7f80000015b14..."} 
[2026-06-23 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5796c20012d7d32c005d3b7f80000015b14..."} 
[2026-06-23 22:45:21] local.INFO: Processing buffer {"connection_id":111452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5796c20012d7d32c005d3b7f80000015b14..."} 
[2026-06-23 22:45:21] local.INFO: Packet analysis {"connection_id":111452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:45:21] local.INFO: Extracted packet for processing {"connection_id":111452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":97761272,"longitude_deg":76.3179712,"latitude_deg":9.7761272,"altitude":0,"angle":347,"satellites":20,"speed":8,"hex_longitude":"2d7d32c0","hex_latitude":"05d3b7f8","is_valid_coordinates":true} 
[2026-06-23 22:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252114944001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96551375915188224,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872322306048,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234836000,"timestamp_ms":1782234836000,"timestamp_seconds":1782234836,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5796c20"} 
[2026-06-23 22:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-23 22:45:21] 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-06-23 22:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252114944001,"66":12015,"81":206,"85":15104,"24":8,"16":96551375915188224,"45":9021624872322306048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-23 22:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252114944001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:45:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-23 22:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96551375915188224,"km_value":96551375915188.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872322306048,"description":"Unknown IO ID 45"} 
[2026-06-23 22:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252114944001,"power":12015,"unknown_81":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9021624872322306048}} 
[2026-06-23 22:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":111452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:45:22] local.INFO: GPS data processed {"connection_id":111452,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:45:22] local.INFO: Acknowledgment sent {"connection_id":111452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:45:22] local.INFO: TCP Data received {"connection_id":112092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:22] local.INFO: Processing buffer {"connection_id":112092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:22] local.INFO: IMEI packet received {"connection_id":112092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":112092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:45:25] local.INFO: TCP Data received {"connection_id":112092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:25] local.INFO: Processing buffer {"connection_id":112092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:25] local.INFO: IMEI packet received {"connection_id":112092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":112092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:45:28] local.INFO: TCP Data received {"connection_id":112092,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:28] local.INFO: Processing buffer {"connection_id":112092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:45:28] local.INFO: IMEI packet received {"connection_id":112092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":112092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:45:28] local.INFO: TCP Data received {"connection_id":113019,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57760b0012d196780071ff200003d007b23..."} 
[2026-06-23 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57760b0012d196780071ff200003d007b23..."} 
[2026-06-23 22:45:28] local.INFO: Processing buffer {"connection_id":113019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57760b0012d196780071ff200003d007b23..."} 
[2026-06-23 22:45:28] local.INFO: Packet analysis {"connection_id":113019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:45:28] local.INFO: Extracted packet for processing {"connection_id":113019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252078336001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234702000,"timestamp_ms":1782234702000,"timestamp_seconds":1782234702,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57760b0"} 
[2026-06-23 22:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:45:28] 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-06-23 22: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-06-23 22:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252078336001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252078336001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252078336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":113019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:45:29] local.INFO: GPS data processed {"connection_id":113019,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:45:29] local.INFO: Acknowledgment sent {"connection_id":113019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:45:29] local.INFO: TCP Data received {"connection_id":112092,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5785ab0012d13aec006dae588000b00b530..."} 
[2026-06-23 22:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5785ab0012d13aec006dae588000b00b530..."} 
[2026-06-23 22:45:29] local.INFO: Processing buffer {"connection_id":112092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5785ab0012d13aec006dae588000b00b530..."} 
[2026-06-23 22:45:29] local.INFO: Packet analysis {"connection_id":112092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:45:29] local.INFO: Extracted packet for processing {"connection_id":112092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756264640,"raw_latitude":115008904,"longitude_deg":75.626464,"latitude_deg":11.5008904,"altitude":11,"angle":181,"satellites":48,"speed":47,"hex_longitude":"2d13aec0","hex_latitude":"06dae588","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252098048001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321993165605175296,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418352437089613824,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:29] 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-06-23 22:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234766000,"timestamp_ms":1782234766000,"timestamp_seconds":1782234766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5785ab0"} 
[2026-06-23 22:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:45:29] 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-06-23 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 22:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252098048001,"66":27517,"127":206,"2":56576,"24":47,"16":321993165605175296,"45":1418352437089613824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252098048001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:45:29] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321993165605175296,"km_value":321993165605175.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418352437089613824,"description":"Unknown IO ID 45"} 
[2026-06-23 22:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252098048001,"power":27517,"unknown_127":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":1418352437089613824}} 
[2026-06-23 22:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":112092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:45:29] local.INFO: GPS data processed {"connection_id":112092,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:45:29] local.INFO: Acknowledgment sent {"connection_id":112092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:45:50] local.INFO: TCP Data received {"connection_id":113021,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:50] local.INFO: Processing buffer {"connection_id":113021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:50] local.INFO: IMEI packet received {"connection_id":113021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":113021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:45:51] local.INFO: TCP Data received {"connection_id":113021,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:51] local.INFO: Processing buffer {"connection_id":113021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:51] local.INFO: IMEI packet received {"connection_id":113021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":113021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:45:53] local.INFO: TCP Data received {"connection_id":111452,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57ac3e0012d7caec005d3b450000601471e..."} 
[2026-06-23 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57ac3e0012d7caec005d3b450000601471e..."} 
[2026-06-23 22:45:53] local.INFO: Processing buffer {"connection_id":111452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57ac3e0012d7caec005d3b450000601471e..."} 
[2026-06-23 22:45:53] local.INFO: Packet analysis {"connection_id":111452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:45:53] local.INFO: Extracted packet for processing {"connection_id":111452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:45:53] local.INFO: GPS Element Parsed {"raw_longitude":763145920,"raw_latitude":97760336,"longitude_deg":76.314592,"latitude_deg":9.7760336,"altitude":6,"angle":327,"satellites":30,"speed":13,"hex_longitude":"2d7caec0","hex_latitude":"05d3b450","is_valid_coordinates":true} 
[2026-06-23 22:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252140288001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553029477597184,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984470175398191104,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782234924000,"timestamp_ms":1782234924000,"timestamp_seconds":1782234924,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57ac3e0"} 
[2026-06-23 22:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:45:53] 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-06-23 22:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 22:45:53] 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-06-23 22:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252140288001,"66":12069,"82":206,"85":15104,"24":13,"16":96553029477597184,"45":8984470175398191104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-06-23 22:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252140288001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:45:53] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-23 22:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553029477597184,"km_value":96553029477597.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984470175398191104,"description":"Unknown IO ID 45"} 
[2026-06-23 22:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252140288001,"power":12069,"unknown_82":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8984470175398191104}} 
[2026-06-23 22:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":111452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:45:53] local.INFO: GPS data processed {"connection_id":111452,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:45:53] local.INFO: Acknowledgment sent {"connection_id":111452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:45:56] local.INFO: TCP Data received {"connection_id":113021,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:56] local.INFO: Processing buffer {"connection_id":113021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:45:56] local.INFO: IMEI packet received {"connection_id":113021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":113021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:45:57] local.INFO: TCP Data received {"connection_id":113021,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef577b2b8012d196780071ff200003d007b21..."} 
[2026-06-23 22:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef577b2b8012d196780071ff200003d007b21..."} 
[2026-06-23 22:45:57] local.INFO: Processing buffer {"connection_id":113021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef577b2b8012d196780071ff200003d007b21..."} 
[2026-06-23 22:45:57] local.INFO: Packet analysis {"connection_id":113021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:45:57] local.INFO: Extracted packet for processing {"connection_id":113021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef577"} 
[2026-06-23 22:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252083712001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234723000,"timestamp_ms":1782234723000,"timestamp_seconds":1782234723,"priority":1,"record_length":96,"hex_timestamp":"0000019ef577b2b8"} 
[2026-06-23 22:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:45: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-06-23 22:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:45:57] 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-06-23 22:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252083712001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252083712001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252083712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":113021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:45:57] local.INFO: GPS data processed {"connection_id":113021,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:45:57] local.INFO: Acknowledgment sent {"connection_id":113021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:02] local.INFO: TCP Data received {"connection_id":112092,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57879f0012d13b00006dabea8000a00ad2f..."} 
[2026-06-23 22:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57879f0012d13b00006dabea8000a00ad2f..."} 
[2026-06-23 22:46:02] local.INFO: Processing buffer {"connection_id":112092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57879f0012d13b00006dabea8000a00ad2f..."} 
[2026-06-23 22:46:02] local.INFO: Packet analysis {"connection_id":112092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:02] local.INFO: Extracted packet for processing {"connection_id":112092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756264960,"raw_latitude":114998952,"longitude_deg":75.626496,"latitude_deg":11.4998952,"altitude":10,"angle":173,"satellites":47,"speed":48,"hex_longitude":"2d13b000","hex_latitude":"06dabea8","is_valid_coordinates":true} 
[2026-06-23 22:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252100096001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321993646641512448,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418282068343097344,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:02] 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-06-23 22:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782234774000,"timestamp_ms":1782234774000,"timestamp_seconds":1782234774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57879f0"} 
[2026-06-23 22:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:46: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-06-23 22:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:02] 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-06-23 22:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252100096001,"66":27484,"127":206,"2":56576,"24":48,"16":321993646641512448,"45":1418282068343097344},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252100096001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321993646641512448,"km_value":321993646641512.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418282068343097344,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252100096001,"power":27484,"unknown_127":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1418282068343097344}} 
[2026-06-23 22:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":112092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:02] local.INFO: GPS data processed {"connection_id":112092,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:02] local.INFO: Acknowledgment sent {"connection_id":112092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:15] local.INFO: TCP Data received {"connection_id":111454,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:15] local.INFO: Processing buffer {"connection_id":111454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:15] local.INFO: IMEI packet received {"connection_id":111454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":111454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:46:18] local.INFO: TCP Data received {"connection_id":111454,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:18] local.INFO: Processing buffer {"connection_id":111454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:18] local.INFO: IMEI packet received {"connection_id":111454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":111454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:46:20] local.INFO: TCP Data received {"connection_id":111454,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:20] local.INFO: Processing buffer {"connection_id":111454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:46:20] local.INFO: IMEI packet received {"connection_id":111454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":111454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:46:21] local.INFO: TCP Data received {"connection_id":111454,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57ac7c8012d7cae0005d3b588000601531e..."} 
[2026-06-23 22:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57ac7c8012d7cae0005d3b588000601531e..."} 
[2026-06-23 22:46:21] local.INFO: Processing buffer {"connection_id":111454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57ac7c8012d7cae0005d3b588000601531e..."} 
[2026-06-23 22:46:21] local.INFO: Packet analysis {"connection_id":111454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:46:21] local.INFO: Extracted packet for processing {"connection_id":111454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763145728,"raw_latitude":97760648,"longitude_deg":76.3145728,"latitude_deg":9.7760648,"altitude":6,"angle":339,"satellites":30,"speed":14,"hex_longitude":"2d7cae00","hex_latitude":"05d3b588","is_valid_coordinates":true} 
[2026-06-23 22:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252140544001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553046657466368,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984329437909897216,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234925000,"timestamp_ms":1782234925000,"timestamp_seconds":1782234925,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57ac7c8"} 
[2026-06-23 22:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:46:21] 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-06-23 22:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:21] 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-06-23 22:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252140544001,"66":12069,"82":206,"85":15104,"24":14,"16":96553046657466368,"45":8984329437909897216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-06-23 22:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252140544001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-23 22:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553046657466368,"km_value":96553046657466.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984329437909897216,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252140544001,"power":12069,"unknown_82":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8984329437909897216}} 
[2026-06-23 22:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":111454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:21] local.INFO: GPS data processed {"connection_id":111454,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:21] local.INFO: Acknowledgment sent {"connection_id":111454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:28] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:28] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:28] local.INFO: IMEI packet received {"connection_id":111284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":111284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:46:28] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:28] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:28] local.INFO: IMEI packet received {"connection_id":111284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":111284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:46:29] local.INFO: TCP Data received {"connection_id":113021,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57804c0012d196780071ff200003d007b20..."} 
[2026-06-23 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57804c0012d196780071ff200003d007b20..."} 
[2026-06-23 22:46:29] local.INFO: Processing buffer {"connection_id":113021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57804c0012d196780071ff200003d007b20..."} 
[2026-06-23 22:46:29] local.INFO: Packet analysis {"connection_id":113021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:29] local.INFO: Extracted packet for processing {"connection_id":113021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:46: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-06-23 22:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252089088001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234744000,"timestamp_ms":1782234744000,"timestamp_seconds":1782234744,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57804c0"} 
[2026-06-23 22:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:46: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:29] 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-06-23 22:46: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-06-23 22:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252089088001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252089088001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:46:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252089088001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":113021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:29] local.INFO: GPS data processed {"connection_id":113021,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:29] local.INFO: Acknowledgment sent {"connection_id":113021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:32] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:32] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:46:32] local.INFO: IMEI packet received {"connection_id":111284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":111284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:46:34] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5789930012d13b7c006daa0c0000b00a030..."} 
[2026-06-23 22:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5789930012d13b7c006daa0c0000b00a030..."} 
[2026-06-23 22:46:34] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5789930012d13b7c006daa0c0000b00a030..."} 
[2026-06-23 22:46:34] local.INFO: Packet analysis {"connection_id":111284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:34] local.INFO: Extracted packet for processing {"connection_id":111284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756266944,"raw_latitude":114991296,"longitude_deg":75.6266944,"latitude_deg":11.4991296,"altitude":11,"angle":160,"satellites":48,"speed":30,"hex_longitude":"2d13b7c0","hex_latitude":"06daa0c0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252102144001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321994033188569088,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418633912061437952,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:34] 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-06-23 22:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782234782000,"timestamp_ms":1782234782000,"timestamp_seconds":1782234782,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5789930"} 
[2026-06-23 22:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22: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-06-23 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:34] 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-06-23 22: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-06-23 22:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252102144001,"66":27484,"127":206,"2":56576,"24":30,"16":321994033188569088,"45":1418633912061437952},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252102144001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321994033188569088,"km_value":321994033188569.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418633912061437952,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252102144001,"power":27484,"unknown_127":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1418633912061437952}} 
[2026-06-23 22:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":111284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:34] local.INFO: GPS data processed {"connection_id":111284,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:34] local.INFO: Acknowledgment sent {"connection_id":111284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:38] local.INFO: TCP Data received {"connection_id":111284,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef578eb38012d13be8006da8f50000a00a12f..."} 
[2026-06-23 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef578eb38012d13be8006da8f50000a00a12f..."} 
[2026-06-23 22:46:38] local.INFO: Processing buffer {"connection_id":111284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef578eb38012d13be8006da8f50000a00a12f..."} 
[2026-06-23 22:46:38] local.INFO: Packet analysis {"connection_id":111284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:38] local.INFO: Extracted packet for processing {"connection_id":111284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756268672,"raw_latitude":114986832,"longitude_deg":75.6268672,"latitude_deg":11.4986832,"altitude":10,"angle":161,"satellites":47,"speed":2,"hex_longitude":"2d13be80","hex_latitude":"06da8f50","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252104192001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321994269411770368,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1420815343128985600,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:38] 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-06-23 22:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782234803000,"timestamp_ms":1782234803000,"timestamp_seconds":1782234803,"priority":1,"record_length":96,"hex_timestamp":"0000019ef578eb38"} 
[2026-06-23 22:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:46: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-06-23 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:38] 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-06-23 22: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-06-23 22:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252104192001,"66":27484,"127":206,"2":56576,"24":2,"16":321994269411770368,"45":1420815343128985600},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252104192001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:38] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321994269411770368,"km_value":321994269411770.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1420815343128985600,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252104192001,"power":27484,"unknown_127":206,"power_alt":56576,"ignition":2,"odometer":null,"unknown_45":1420815343128985600}} 
[2026-06-23 22:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":111284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:38] local.INFO: GPS data processed {"connection_id":111284,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:38] local.INFO: Acknowledgment sent {"connection_id":111284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:51] local.INFO: TCP Data received {"connection_id":112093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:51] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:51] local.INFO: IMEI packet received {"connection_id":112093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":112093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:46:52] local.INFO: TCP Data received {"connection_id":111454,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57ae708012d7caa0005d3c308000701611e..."} 
[2026-06-23 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57ae708012d7caa0005d3c308000701611e..."} 
[2026-06-23 22:46:52] local.INFO: Processing buffer {"connection_id":111454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57ae708012d7caa0005d3c308000701611e..."} 
[2026-06-23 22:46:52] local.INFO: Packet analysis {"connection_id":111454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:46:52] local.INFO: Extracted packet for processing {"connection_id":111454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97764104,"longitude_deg":76.3144704,"latitude_deg":9.7764104,"altitude":7,"angle":353,"satellites":30,"speed":20,"hex_longitude":"2d7caa00","hex_latitude":"05d3c308","is_valid_coordinates":true} 
[2026-06-23 22:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252140800001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553222751125504,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984118331677444096,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782234933000,"timestamp_ms":1782234933000,"timestamp_seconds":1782234933,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57ae708"} 
[2026-06-23 22:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:46:52] 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-06-23 22:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:52] 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-06-23 22:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252140800001,"66":12037,"82":206,"85":15104,"24":20,"16":96553222751125504,"45":8984118331677444096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-06-23 22:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252140800001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-23 22:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553222751125504,"km_value":96553222751125.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984118331677444096,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252140800001,"power":12037,"unknown_82":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8984118331677444096}} 
[2026-06-23 22:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":111454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:52] local.INFO: GPS data processed {"connection_id":111454,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:52] local.INFO: Acknowledgment sent {"connection_id":111454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:46:53] local.INFO: TCP Data received {"connection_id":112093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:53] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:53] local.INFO: IMEI packet received {"connection_id":112093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":112093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:46:56] local.INFO: TCP Data received {"connection_id":112093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:56] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:46:56] local.INFO: IMEI packet received {"connection_id":112093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":112093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:46:57] local.INFO: TCP Data received {"connection_id":112093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57856c8012d196780071ff200003d007b1f..."} 
[2026-06-23 22:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57856c8012d196780071ff200003d007b1f..."} 
[2026-06-23 22:46:57] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57856c8012d196780071ff200003d007b1f..."} 
[2026-06-23 22:46:57] local.INFO: Packet analysis {"connection_id":112093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:57] local.INFO: Extracted packet for processing {"connection_id":112093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252094464001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234765000,"timestamp_ms":1782234765000,"timestamp_seconds":1782234765,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57856c8"} 
[2026-06-23 22:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:46: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:46:57] 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-06-23 22: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-06-23 22:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252094464001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252094464001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252094464001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":112093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:46:57] local.INFO: GPS data processed {"connection_id":112093,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:46:57] local.INFO: Acknowledgment sent {"connection_id":112093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:47:20] local.INFO: TCP Data received {"connection_id":113022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:47:20] local.INFO: Processing buffer {"connection_id":113022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:47:20] local.INFO: IMEI packet received {"connection_id":113022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":113022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:47:22] local.INFO: TCP Data received {"connection_id":113023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:47:22] local.INFO: Processing buffer {"connection_id":113023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:47:22] local.INFO: IMEI packet received {"connection_id":113023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":113023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:47:24] local.INFO: TCP Data received {"connection_id":113022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:47:24] local.INFO: Processing buffer {"connection_id":113022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:47:24] local.INFO: IMEI packet received {"connection_id":113022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":113022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:47:25] local.INFO: TCP Data received {"connection_id":113022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57b3528012d7ca88005d3d9f0000701621e..."} 
[2026-06-23 22:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57b3528012d7ca88005d3d9f0000701621e..."} 
[2026-06-23 22:47:25] local.INFO: Processing buffer {"connection_id":113022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57b3528012d7ca88005d3d9f0000701621e..."} 
[2026-06-23 22:47:25] local.INFO: Packet analysis {"connection_id":113022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:47:25] local.INFO: Extracted packet for processing {"connection_id":113022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763144320,"raw_latitude":97769968,"longitude_deg":76.314432,"latitude_deg":9.7769968,"altitude":7,"angle":354,"satellites":30,"speed":11,"hex_longitude":"2d7ca880","hex_latitude":"05d3d9f0","is_valid_coordinates":true} 
[2026-06-23 22:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252142848001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553510513934336,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431771486208,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782234953000,"timestamp_ms":1782234953000,"timestamp_seconds":1782234953,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57b3528"} 
[2026-06-23 22:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4118458456,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2998927365,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-4732719372219777000,"corrected_to":0} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3192383632668816610,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194822144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:25] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,82,85,24,241,157,16,6,158,199,45,181,30,10,66,195,192,180,191,64,1,240,228,227,245,211,4,113,205,9,184,177,112,239,2,87,5,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-4732719372219777000,"validated":0}]} 
[2026-06-23 22:47:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504791414720430080,"timestamp_seconds":504791414720430.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 22:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":113022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":113022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":113022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252142848001,"66":11798,"83":206,"85":15104,"24":11,"16":96553510513934336,"45":8982992431771486208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252142848001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553510513934336,"km_value":96553510513934.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431771486208,"description":"Unknown IO ID 45"} 
[2026-06-23 22:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252142848001,"power":11798,"unknown_83":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8982992431771486208}} 
[2026-06-23 22:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":113022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:47:25] local.INFO: GPS data processed {"connection_id":113022,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:47:25] local.INFO: Acknowledgment sent {"connection_id":113022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:47:26] local.INFO: TCP Data received {"connection_id":113022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57b5468012d7ca74005d3e5a0000800061e..."} 
[2026-06-23 22:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57b5468012d7ca74005d3e5a0000800061e..."} 
[2026-06-23 22:47:26] local.INFO: Processing buffer {"connection_id":113022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57b5468012d7ca74005d3e5a0000800061e..."} 
[2026-06-23 22:47:26] local.INFO: Packet analysis {"connection_id":113022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:47:26] local.INFO: Extracted packet for processing {"connection_id":113022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763144000,"raw_latitude":97772960,"longitude_deg":76.3144,"latitude_deg":9.777296,"altitude":8,"angle":6,"satellites":30,"speed":13,"hex_longitude":"2d7ca740","hex_latitude":"05d3e5a0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252147968001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553656542822400,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982570219307921408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782234961000,"timestamp_ms":1782234961000,"timestamp_seconds":1782234961,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57b5468"} 
[2026-06-23 22:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:47:26] 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-06-23 22: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4118460456,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184156397773,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-5239938149249114624,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845428976,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3193045198,"corrected_to":0} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2161745413323885056,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257918,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":87,"raw_value":463589286642450432,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929608194,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-4610045880475581439,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":26,"raw_value":57911629635802427,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":122,"raw_value":8203308016134782981,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.WARNING: Large IO value detected {"io_id":14,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,83,85,24,241,157,16,6,158,231,45,195,7,30,10,66,82,199,181,192,1,240,37,227,245,211,4,113,205,11,188,176,239,46,2,87,63,206,179,26,122,14],"length":632,"final_offset":762,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3193045198,"validated":0}]} 
[2026-06-23 22:47:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504792514231468032,"timestamp_seconds":504792514231468.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 22:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":113022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":113022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":113022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252147968001,"66":11754,"83":206,"85":15104,"24":13,"16":96553656542822400,"45":8982570219307921408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252147968001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:47:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553656542822400,"km_value":96553656542822.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982570219307921408,"description":"Unknown IO ID 45"} 
[2026-06-23 22:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252147968001,"power":11754,"unknown_83":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8982570219307921408}} 
[2026-06-23 22:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":113022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:47:26] local.INFO: GPS data processed {"connection_id":113022,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:47:26] local.INFO: Acknowledgment sent {"connection_id":113022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:47:28] local.INFO: TCP Data received {"connection_id":113023,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:47:28] local.INFO: Processing buffer {"connection_id":113023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:47:28] local.INFO: IMEI packet received {"connection_id":113023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":113023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:47:29] local.INFO: TCP Data received {"connection_id":112093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef578a8d0012d196780071ff200003d007b20..."} 
[2026-06-23 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef578a8d0012d196780071ff200003d007b20..."} 
[2026-06-23 22:47:29] local.INFO: Processing buffer {"connection_id":112093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef578a8d0012d196780071ff200003d007b20..."} 
[2026-06-23 22:47:29] local.INFO: Packet analysis {"connection_id":112093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:47:29] local.INFO: Extracted packet for processing {"connection_id":112093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:47: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-06-23 22:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252099840001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234786000,"timestamp_ms":1782234786000,"timestamp_seconds":1782234786,"priority":1,"record_length":96,"hex_timestamp":"0000019ef578a8d0"} 
[2026-06-23 22:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:47: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:47:29] 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-06-23 22:47: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-06-23 22:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252099840001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252099840001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252099840001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":112093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:47:29] local.INFO: GPS data processed {"connection_id":112093,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:47:29] local.INFO: Acknowledgment sent {"connection_id":112093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:47:29] local.INFO: TCP Data received {"connection_id":113023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5793d40012d13c18006da8738000b00a030..."} 
[2026-06-23 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5793d40012d13c18006da8738000b00a030..."} 
[2026-06-23 22:47:29] local.INFO: Processing buffer {"connection_id":113023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5793d40012d13c18006da8738000b00a030..."} 
[2026-06-23 22:47:29] local.INFO: Packet analysis {"connection_id":113023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:47:29] local.INFO: Extracted packet for processing {"connection_id":113023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756269440,"raw_latitude":114984760,"longitude_deg":75.626944,"latitude_deg":11.498476,"altitude":11,"angle":160,"satellites":48,"speed":3,"hex_longitude":"2d13c180","hex_latitude":"06da8738","is_valid_coordinates":true} 
[2026-06-23 22:47: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-06-23 22:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252109568001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321994381080920064,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422715299220639744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:29] 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-06-23 22:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782234824000,"timestamp_ms":1782234824000,"timestamp_seconds":1782234824,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5793d40"} 
[2026-06-23 22:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:47:29] 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-06-23 22:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 22:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:47: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-06-23 22:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252109568001,"66":27397,"127":206,"2":56576,"24":3,"16":321994381080920064,"45":1422715299220639744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252109568001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321994381080920064,"km_value":321994381080920.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422715299220639744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252109568001,"power":27397,"unknown_127":206,"power_alt":56576,"ignition":3,"odometer":null,"unknown_45":1422715299220639744}} 
[2026-06-23 22:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":113023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:47:29] local.INFO: GPS data processed {"connection_id":113023,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:47:29] local.INFO: Acknowledgment sent {"connection_id":113023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:47:31] local.INFO: TCP Data received {"connection_id":111455,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:47:31] local.INFO: Processing buffer {"connection_id":111455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:47:31] local.INFO: IMEI packet received {"connection_id":111455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":111455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:47:51] local.INFO: TCP Data received {"connection_id":111456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:47:51] local.INFO: Processing buffer {"connection_id":111456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:47:51] local.INFO: IMEI packet received {"connection_id":111456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":111456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:47:56] local.INFO: TCP Data received {"connection_id":113022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57b5c38012d7ca7c005d3e800000900131e..."} 
[2026-06-23 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57b5c38012d7ca7c005d3e800000900131e..."} 
[2026-06-23 22:47:56] local.INFO: Processing buffer {"connection_id":113022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57b5c38012d7ca7c005d3e800000900131e..."} 
[2026-06-23 22:47:56] local.INFO: Packet analysis {"connection_id":113022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:47:56] local.INFO: Extracted packet for processing {"connection_id":113022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763144128,"raw_latitude":97773568,"longitude_deg":76.3144128,"latitude_deg":9.7773568,"altitude":9,"angle":19,"satellites":30,"speed":11,"hex_longitude":"2d7ca7c0","hex_latitude":"05d3e800","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252150016001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553686607593472,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982218375587799040,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782234963000,"timestamp_ms":1782234963000,"timestamp_seconds":1782234963,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57b5c38"} 
[2026-06-23 22:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-23 22:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":113022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":113022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":113022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252150016001,"66":12004,"83":206,"85":15104,"24":11,"16":96553686607593472,"45":8982218375587799040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252150016001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:47:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553686607593472,"km_value":96553686607593.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982218375587799040,"description":"Unknown IO ID 45"} 
[2026-06-23 22:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252150016001,"power":12004,"unknown_83":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8982218375587799040}} 
[2026-06-23 22:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":113022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:47:56] local.INFO: GPS data processed {"connection_id":113022,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:47:56] local.INFO: Acknowledgment sent {"connection_id":113022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:47:57] local.INFO: TCP Data received {"connection_id":111456,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:47:57] local.INFO: Processing buffer {"connection_id":111456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:47:57] local.INFO: IMEI packet received {"connection_id":111456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":111456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:47:57] local.INFO: TCP Data received {"connection_id":111456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef578fad8012d196780071ff200003d007b20..."} 
[2026-06-23 22:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef578fad8012d196780071ff200003d007b20..."} 
[2026-06-23 22:47:57] local.INFO: Processing buffer {"connection_id":111456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef578fad8012d196780071ff200003d007b20..."} 
[2026-06-23 22:47:57] local.INFO: Packet analysis {"connection_id":111456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:47:57] local.INFO: Extracted packet for processing {"connection_id":111456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef578"} 
[2026-06-23 22:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:47: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-06-23 22:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252105216001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782234807000,"timestamp_ms":1782234807000,"timestamp_seconds":1782234807,"priority":1,"record_length":96,"hex_timestamp":"0000019ef578fad8"} 
[2026-06-23 22:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:47: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-06-23 22:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:47:57] 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-06-23 22:47: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-06-23 22:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252105216001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252105216001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252105216001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":111456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:47:57] local.INFO: GPS data processed {"connection_id":111456,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:47:57] local.INFO: Acknowledgment sent {"connection_id":111456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:48:01] local.INFO: TCP Data received {"connection_id":113023,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5798f48012d13c5c006da7c08000b00a22f..."} 
[2026-06-23 22:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5798f48012d13c5c006da7c08000b00a22f..."} 
[2026-06-23 22:48:01] local.INFO: Processing buffer {"connection_id":113023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5798f48012d13c5c006da7c08000b00a22f..."} 
[2026-06-23 22:48:01] local.INFO: Packet analysis {"connection_id":113023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:48:01] local.INFO: Extracted packet for processing {"connection_id":113023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:48:01] local.INFO: GPS Element Parsed {"raw_longitude":756270528,"raw_latitude":114981896,"longitude_deg":75.6270528,"latitude_deg":11.4981896,"altitude":11,"angle":162,"satellites":47,"speed":8,"hex_longitude":"2d13c5c0","hex_latitude":"06da7c08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252114944001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321994531404775424,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1423559724150241280,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:01] 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-06-23 22:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782234845000,"timestamp_ms":1782234845000,"timestamp_seconds":1782234845,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5798f48"} 
[2026-06-23 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-06-23 22:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":113023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":113023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":113023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252114944001,"66":27365,"127":206,"2":56576,"24":8,"16":321994531404775424,"45":1423559724150241280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252114944001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321994531404775424,"km_value":321994531404775.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1423559724150241280,"description":"Unknown IO ID 45"} 
[2026-06-23 22:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252114944001,"power":27365,"unknown_127":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1423559724150241280}} 
[2026-06-23 22:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":113023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:48:01] local.INFO: GPS data processed {"connection_id":113023,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:48:01] local.INFO: Acknowledgment sent {"connection_id":113023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:48:05] local.INFO: TCP Data received {"connection_id":111457,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:48:05] local.INFO: Processing buffer {"connection_id":111457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:48:05] local.INFO: IMEI packet received {"connection_id":111457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":111457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:48:16] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:48:16] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:48:16] local.INFO: IMEI packet received {"connection_id":111285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":111285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:48:20] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:48:20] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:48:20] local.INFO: IMEI packet received {"connection_id":111285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":111285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:48:21] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57b6fc0012d7ca94005d3ed08000900051e..."} 
[2026-06-23 22:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57b6fc0012d7ca94005d3ed08000900051e..."} 
[2026-06-23 22:48:21] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57b6fc0012d7ca94005d3ed08000900051e..."} 
[2026-06-23 22:48:21] local.INFO: Packet analysis {"connection_id":111285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:48:21] local.INFO: Extracted packet for processing {"connection_id":111285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:48:21] local.INFO: GPS Element Parsed {"raw_longitude":763144512,"raw_latitude":97774856,"longitude_deg":76.3144512,"latitude_deg":9.7774856,"altitude":9,"angle":5,"satellites":30,"speed":9,"hex_longitude":"2d7ca940","hex_latitude":"05d3ed08","is_valid_coordinates":true} 
[2026-06-23 22:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252150528001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553751032102912,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982359113076310016,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234968000,"timestamp_ms":1782234968000,"timestamp_seconds":1782234968,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57b6fc0"} 
[2026-06-23 22:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:48:21] 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-06-23 22:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 22:48:21] 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-06-23 22:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252150528001,"66":12058,"83":206,"85":15104,"24":9,"16":96553751032102912,"45":8982359113076310016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252150528001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553751032102912,"km_value":96553751032102.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982359113076310016,"description":"Unknown IO ID 45"} 
[2026-06-23 22:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252150528001,"power":12058,"unknown_83":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8982359113076310016}} 
[2026-06-23 22:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":111285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:48:21] local.INFO: GPS data processed {"connection_id":111285,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:48:21] local.INFO: Acknowledgment sent {"connection_id":111285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:48:23] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:48:23] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:48:23] local.INFO: IMEI packet received {"connection_id":111286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":111286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:48:28] local.INFO: TCP Data received {"connection_id":111456,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5794ce0012d196780071ff200003d007b21..."} 
[2026-06-23 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5794ce0012d196780071ff200003d007b21..."} 
[2026-06-23 22:48:28] local.INFO: Processing buffer {"connection_id":111456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5794ce0012d196780071ff200003d007b21..."} 
[2026-06-23 22:48:28] local.INFO: Packet analysis {"connection_id":111456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:48:28] local.INFO: Extracted packet for processing {"connection_id":111456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252110592001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782234828000,"timestamp_ms":1782234828000,"timestamp_seconds":1782234828,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5794ce0"} 
[2026-06-23 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-06-23 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:48:28] 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-06-23 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-06-23 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-06-23 22:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252110592001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252110592001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252110592001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":111456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:48:29] local.INFO: GPS data processed {"connection_id":111456,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:48:29] local.INFO: Acknowledgment sent {"connection_id":111456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:48:29] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:48:29] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:48:29] local.INFO: IMEI packet received {"connection_id":111286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":111286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:48:31] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef579e150012d13cac006da6db0000a00a330..."} 
[2026-06-23 22:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef579e150012d13cac006da6db0000a00a330..."} 
[2026-06-23 22:48:31] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef579e150012d13cac006da6db0000a00a330..."} 
[2026-06-23 22:48:31] local.INFO: Packet analysis {"connection_id":111286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:48:31] local.INFO: Extracted packet for processing {"connection_id":111286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef579"} 
[2026-06-23 22:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756271808,"raw_latitude":114978224,"longitude_deg":75.6271808,"latitude_deg":11.4978224,"altitude":10,"angle":163,"satellites":48,"speed":5,"hex_longitude":"2d13cac0","hex_latitude":"06da6db0","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252120320001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321994720383336448,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424755992800528384,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:31] 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-06-23 22:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782234866000,"timestamp_ms":1782234866000,"timestamp_seconds":1782234866,"priority":1,"record_length":96,"hex_timestamp":"0000019ef579e150"} 
[2026-06-23 22:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:48: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-06-23 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":111286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252120320001,"66":27397,"127":206,"2":56576,"24":5,"16":321994720383336448,"45":1424755992800528384},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252120320001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:48:31] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321994720383336448,"km_value":321994720383336.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424755992800528384,"description":"Unknown IO ID 45"} 
[2026-06-23 22:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252120320001,"power":27397,"unknown_127":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1424755992800528384}} 
[2026-06-23 22:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":111286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:48:31] local.INFO: GPS data processed {"connection_id":111286,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:48:31] local.INFO: Acknowledgment sent {"connection_id":111286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:48:52] local.INFO: TCP Data received {"connection_id":111285,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57b92e8012d7ca90005d3f8a8000801601e..."} 
[2026-06-23 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57b92e8012d7ca90005d3f8a8000801601e..."} 
[2026-06-23 22:48:52] local.INFO: Processing buffer {"connection_id":111285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57b92e8012d7ca90005d3f8a8000801601e..."} 
[2026-06-23 22:48:52] local.INFO: Packet analysis {"connection_id":111285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:48:52] local.INFO: Extracted packet for processing {"connection_id":111285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763144448,"raw_latitude":97777832,"longitude_deg":76.3144448,"latitude_deg":9.7777832,"altitude":8,"angle":352,"satellites":30,"speed":12,"hex_longitude":"2d7ca900","hex_latitude":"05d3f8a8","is_valid_coordinates":true} 
[2026-06-23 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252151808001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96553897060990976,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982781325541705728,"note":"Value kept but may cause issues"} 
[2026-06-23 22:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782234977000,"timestamp_ms":1782234977000,"timestamp_seconds":1782234977,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57b92e8"} 
[2026-06-23 22:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:48:52] 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-06-23 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-23 22:48:52] 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-06-23 22:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252151808001,"66":11917,"83":206,"85":15104,"24":12,"16":96553897060990976,"45":8982781325541705728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252151808001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96553897060990976,"km_value":96553897060990.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982781325541705728,"description":"Unknown IO ID 45"} 
[2026-06-23 22:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252151808001,"power":11917,"unknown_83":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8982781325541705728}} 
[2026-06-23 22:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":111285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:48:52] local.INFO: GPS data processed {"connection_id":111285,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:48:52] local.INFO: Acknowledgment sent {"connection_id":111285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:48:56] local.INFO: TCP Data received {"connection_id":112094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:48:56] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:48:56] local.INFO: IMEI packet received {"connection_id":112094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":112094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:49:00] local.INFO: TCP Data received {"connection_id":112094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:00] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:00] local.INFO: IMEI packet received {"connection_id":112094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":112094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:49:00] local.INFO: TCP Data received {"connection_id":112094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57cd338012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57cd338012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:00] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57cd338012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:00] local.INFO: Packet analysis {"connection_id":112094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:49:00] local.INFO: Extracted packet for processing {"connection_id":112094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252169728001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49: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-06-23 22:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782235059000,"timestamp_ms":1782235059000,"timestamp_seconds":1782235059,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57cd338"} 
[2026-06-23 22:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:49: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-06-23 22: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-06-23 22:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252169728001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252169728001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252169728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":112094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:00] local.INFO: GPS data processed {"connection_id":112094,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:00] local.INFO: Acknowledgment sent {"connection_id":112094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:01] local.INFO: TCP Data received {"connection_id":112094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57d2540012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57d2540012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:01] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57d2540012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:01] local.INFO: Packet analysis {"connection_id":112094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:01] local.INFO: Extracted packet for processing {"connection_id":112094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252175104001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782235080000,"timestamp_ms":1782235080000,"timestamp_seconds":1782235080,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57d2540"} 
[2026-06-23 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-06-23 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:49: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-06-23 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-06-23 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-06-23 22:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252175104001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252175104001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252175104001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":112094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:01] local.INFO: GPS data processed {"connection_id":112094,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:01] local.INFO: Acknowledgment sent {"connection_id":112094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:09] local.INFO: TCP Data received {"connection_id":111286,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57a3358012d13ce0006da6428000900aa30..."} 
[2026-06-23 22:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57a3358012d13ce0006da6428000900aa30..."} 
[2026-06-23 22:49:09] local.INFO: Processing buffer {"connection_id":111286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57a3358012d13ce0006da6428000900aa30..."} 
[2026-06-23 22:49:09] local.INFO: Packet analysis {"connection_id":111286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:49:09] local.INFO: Extracted packet for processing {"connection_id":111286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57a"} 
[2026-06-23 22:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756272640,"raw_latitude":114975784,"longitude_deg":75.627264,"latitude_deg":11.4975784,"altitude":9,"angle":170,"satellites":48,"speed":3,"hex_longitude":"2d13ce00","hex_latitude":"06da6428","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252125696001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321994853527322624,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426163367683141632,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:09] 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-06-23 22:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782234887000,"timestamp_ms":1782234887000,"timestamp_seconds":1782234887,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57a3358"} 
[2026-06-23 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-06-23 22:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":111286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":111286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252125696001,"66":27343,"127":206,"2":56576,"24":3,"16":321994853527322624,"45":1426163367683141632},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-06-23 22:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252125696001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:09] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-23 22:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321994853527322624,"km_value":321994853527322.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426163367683141632,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252125696001,"power":27343,"unknown_127":206,"power_alt":56576,"ignition":3,"odometer":null,"unknown_45":1426163367683141632}} 
[2026-06-23 22:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":111286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:09] local.INFO: GPS data processed {"connection_id":111286,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:09] local.INFO: Acknowledgment sent {"connection_id":111286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:15] local.INFO: TCP Data received {"connection_id":111458,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:49:15] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:49:15] local.INFO: IMEI packet received {"connection_id":111458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":111458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:49:21] local.INFO: TCP Data received {"connection_id":111458,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:49:21] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:49:21] local.INFO: IMEI packet received {"connection_id":111458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":111458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:49:21] local.INFO: TCP Data received {"connection_id":111458,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57bd550012d7ca64005d40598000800261e..."} 
[2026-06-23 22:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57bd550012d7ca64005d40598000800261e..."} 
[2026-06-23 22:49:21] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57bd550012d7ca64005d40598000800261e..."} 
[2026-06-23 22:49:21] local.INFO: Packet analysis {"connection_id":111458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:49:21] local.INFO: Extracted packet for processing {"connection_id":111458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:49:21] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":97781144,"longitude_deg":76.3143744,"latitude_deg":9.7781144,"altitude":8,"angle":38,"satellites":30,"speed":5,"hex_longitude":"2d7ca640","hex_latitude":"05d40598","is_valid_coordinates":true} 
[2026-06-23 22:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252154112001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554064564715520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982710956798289920,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782234994000,"timestamp_ms":1782234994000,"timestamp_seconds":1782234994,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57bd550"} 
[2026-06-23 22:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:49:21] 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-06-23 22:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 22:49:21] 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-06-23 22:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252154112001,"66":11906,"83":206,"85":15104,"24":5,"16":96554064564715520,"45":8982710956798289920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252154112001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554064564715520,"km_value":96554064564715.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982710956798289920,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252154112001,"power":11906,"unknown_83":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8982710956798289920}} 
[2026-06-23 22:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":111458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:21] local.INFO: GPS data processed {"connection_id":111458,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:21] local.INFO: Acknowledgment sent {"connection_id":111458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:23] local.INFO: TCP Data received {"connection_id":113025,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:49:23] local.INFO: Processing buffer {"connection_id":113025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:49:23] local.INFO: IMEI packet received {"connection_id":113025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":113025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:49:27] local.INFO: TCP Data received {"connection_id":113025,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:49:27] local.INFO: Processing buffer {"connection_id":113025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:49:27] local.INFO: IMEI packet received {"connection_id":113025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":113025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:49:30] local.INFO: TCP Data received {"connection_id":113025,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57d63c0012d13d74006d9a680000900b82f..."} 
[2026-06-23 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57d63c0012d13d74006d9a680000900b82f..."} 
[2026-06-23 22:49:30] local.INFO: Processing buffer {"connection_id":113025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57d63c0012d13d74006d9a680000900b82f..."} 
[2026-06-23 22:49:30] local.INFO: Packet analysis {"connection_id":113025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:30] local.INFO: Extracted packet for processing {"connection_id":113025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756275008,"raw_latitude":114927232,"longitude_deg":75.6275008,"latitude_deg":11.4927232,"altitude":9,"angle":184,"satellites":47,"speed":32,"hex_longitude":"2d13d740","hex_latitude":"06d9a680","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252182016001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321997232939204608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1430033648602292224,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:30] 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-06-23 22:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782235096000,"timestamp_ms":1782235096000,"timestamp_seconds":1782235096,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57d63c0"} 
[2026-06-23 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-06-23 22:49:30] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 22:49:30] 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-06-23 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-06-23 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-06-23 22:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":113025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":113025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":113025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252182016001,"66":27397,"192":206,"2":56576,"24":32,"16":321997232939204608,"45":1430033648602292224},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252182016001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:30] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321997232939204608,"km_value":321997232939204.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1430033648602292224,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252182016001,"power":27397,"unknown_192":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":1430033648602292224}} 
[2026-06-23 22:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":113025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:30] local.INFO: GPS data processed {"connection_id":113025,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:30] local.INFO: Acknowledgment sent {"connection_id":113025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:32] local.INFO: TCP Data received {"connection_id":112094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57d7748012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57d7748012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:32] local.INFO: Processing buffer {"connection_id":112094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57d7748012d196780071ff200003d007b20..."} 
[2026-06-23 22:49:32] local.INFO: Packet analysis {"connection_id":112094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:32] local.INFO: Extracted packet for processing {"connection_id":112094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252180480001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49: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-06-23 22:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782235101000,"timestamp_ms":1782235101000,"timestamp_seconds":1782235101,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57d7748"} 
[2026-06-23 22:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:49:32] 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-06-23 22: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-06-23 22:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252180480001,"66":12178,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252180480001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252180480001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":112094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:32] local.INFO: GPS data processed {"connection_id":112094,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:32] local.INFO: Acknowledgment sent {"connection_id":112094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:51] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:51] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:51] local.INFO: IMEI packet received {"connection_id":111288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":111288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:49:53] local.INFO: TCP Data received {"connection_id":111458,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57bdd20012d7ca70005d406080008004c1e..."} 
[2026-06-23 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57bdd20012d7ca70005d406080008004c1e..."} 
[2026-06-23 22:49:53] local.INFO: Processing buffer {"connection_id":111458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57bdd20012d7ca70005d406080008004c1e..."} 
[2026-06-23 22:49:53] local.INFO: Packet analysis {"connection_id":111458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:49:53] local.INFO: Extracted packet for processing {"connection_id":111458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57b"} 
[2026-06-23 22:49:53] local.INFO: GPS Element Parsed {"raw_longitude":763143936,"raw_latitude":97781256,"longitude_deg":76.3143936,"latitude_deg":9.7781256,"altitude":8,"angle":76,"satellites":30,"speed":5,"hex_longitude":"2d7ca700","hex_latitude":"05d40608","is_valid_coordinates":true} 
[2026-06-23 22:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252158464001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554077449617408,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900613183488,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782234996000,"timestamp_ms":1782234996000,"timestamp_seconds":1782234996,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57bdd20"} 
[2026-06-23 22:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:49:53] 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-06-23 22:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-23 22:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252158464001,"66":11852,"83":206,"85":15104,"24":5,"16":96554077449617408,"45":8981936900613183488},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252158464001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554077449617408,"km_value":96554077449617.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900613183488,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252158464001,"power":11852,"unknown_83":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8981936900613183488}} 
[2026-06-23 22:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":111458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:53] local.INFO: GPS data processed {"connection_id":111458,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:53] local.INFO: Acknowledgment sent {"connection_id":111458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:49:56] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:56] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:49:56] local.INFO: IMEI packet received {"connection_id":111288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":111288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:49:57] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57dc950012d196780071ff200003d007b1f..."} 
[2026-06-23 22:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57dc950012d196780071ff200003d007b1f..."} 
[2026-06-23 22:49:57] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57dc950012d196780071ff200003d007b1f..."} 
[2026-06-23 22:49:57] local.INFO: Packet analysis {"connection_id":111288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:57] local.INFO: Extracted packet for processing {"connection_id":111288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252185856001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235122000,"timestamp_ms":1782235122000,"timestamp_seconds":1782235122,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57dc950"} 
[2026-06-23 22:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-23 22:49:57] 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-06-23 22: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-06-23 22:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252185856001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252185856001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252185856001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":111288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:49:57] local.INFO: GPS data processed {"connection_id":111288,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:49:57] local.INFO: Acknowledgment sent {"connection_id":111288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:50:01] local.INFO: TCP Data received {"connection_id":113025,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57d92a0012d13d50006d982f0000900b72e..."} 
[2026-06-23 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57d92a0012d13d50006d982f0000900b72e..."} 
[2026-06-23 22:50:01] local.INFO: Processing buffer {"connection_id":113025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57d92a0012d13d50006d982f0000900b72e..."} 
[2026-06-23 22:50:01] local.INFO: Packet analysis {"connection_id":113025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:50:01] local.INFO: Extracted packet for processing {"connection_id":113025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756274432,"raw_latitude":114918128,"longitude_deg":75.6274432,"latitude_deg":11.4918128,"altitude":9,"angle":183,"satellites":46,"speed":29,"hex_longitude":"2d13d500","hex_latitude":"06d982f0","is_valid_coordinates":true} 
[2026-06-23 22:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252184576001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321997675320836096,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429681804878970880,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:01] 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-06-23 22:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782235108000,"timestamp_ms":1782235108000,"timestamp_seconds":1782235108,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57d92a0"} 
[2026-06-23 22:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:50:01] 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-06-23 22:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":113025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":113025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":113025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252184576001,"66":27310,"192":206,"2":56576,"24":29,"16":321997675320836096,"45":1429681804878970880},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252184576001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321997675320836096,"km_value":321997675320836.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429681804878970880,"description":"Unknown IO ID 45"} 
[2026-06-23 22:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252184576001,"power":27310,"unknown_192":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":1429681804878970880}} 
[2026-06-23 22:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":113025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:50:02] local.INFO: GPS data processed {"connection_id":113025,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:50:02] local.INFO: Acknowledgment sent {"connection_id":113025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:50:15] local.INFO: TCP Data received {"connection_id":113027,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:50:15] local.INFO: Processing buffer {"connection_id":113027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:50:15] local.INFO: IMEI packet received {"connection_id":113027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":113027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:50:20] local.INFO: TCP Data received {"connection_id":113027,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:50:20] local.INFO: Processing buffer {"connection_id":113027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:50:20] local.INFO: IMEI packet received {"connection_id":113027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":113027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:50:21] local.INFO: TCP Data received {"connection_id":113027,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57c2b40012d7ca60005d406d00008004c1d..."} 
[2026-06-23 22:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57c2b40012d7ca60005d406d00008004c1d..."} 
[2026-06-23 22:50:21] local.INFO: Processing buffer {"connection_id":113027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57c2b40012d7ca60005d406d00008004c1d..."} 
[2026-06-23 22:50:21] local.INFO: Packet analysis {"connection_id":113027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:50:21] local.INFO: Extracted packet for processing {"connection_id":113027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:50:21] local.INFO: GPS Element Parsed {"raw_longitude":763143680,"raw_latitude":97781456,"longitude_deg":76.314368,"latitude_deg":9.7781456,"altitude":8,"angle":76,"satellites":29,"speed":0,"hex_longitude":"2d7ca600","hex_latitude":"05d406d0","is_valid_coordinates":true} 
[2026-06-23 22:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252158976001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554120399290368,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982148006845745152,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235016000,"timestamp_ms":1782235016000,"timestamp_seconds":1782235016,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57c2b40"} 
[2026-06-23 22:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:50:21] 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-06-23 22:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 22:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252158976001,"66":11852,"83":206,"85":15104,"24":0,"16":96554120399290368,"45":8982148006845745152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252158976001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554120399290368,"km_value":96554120399290.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982148006845745152,"description":"Unknown IO ID 45"} 
[2026-06-23 22:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252158976001,"power":11852,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982148006845745152}} 
[2026-06-23 22:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":113027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:50:21] local.INFO: GPS data processed {"connection_id":113027,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:50:21] local.INFO: Acknowledgment sent {"connection_id":113027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:50:24] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:50:24] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:50:24] local.INFO: IMEI packet received {"connection_id":112095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":112095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:50:28] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:50:28] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:50:28] local.INFO: IMEI packet received {"connection_id":112095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":112095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:50:28] local.INFO: TCP Data received {"connection_id":111288,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57e1b58012d196780071ff200003d007b20..."} 
[2026-06-23 22:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57e1b58012d196780071ff200003d007b20..."} 
[2026-06-23 22:50:28] local.INFO: Processing buffer {"connection_id":111288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57e1b58012d196780071ff200003d007b20..."} 
[2026-06-23 22:50:28] local.INFO: Packet analysis {"connection_id":111288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:50:28] local.INFO: Extracted packet for processing {"connection_id":111288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252191232001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235143000,"timestamp_ms":1782235143000,"timestamp_seconds":1782235143,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57e1b58"} 
[2026-06-23 22:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:50:28] 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-06-23 22:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252191232001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252191232001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:50:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252191232001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":111288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:50:29] local.INFO: GPS data processed {"connection_id":111288,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:50:29] local.INFO: Acknowledgment sent {"connection_id":111288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:50:32] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57dbd98012d13d60006d96230000900ab2d..."} 
[2026-06-23 22:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57dbd98012d13d60006d96230000900ab2d..."} 
[2026-06-23 22:50:32] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57dbd98012d13d60006d96230000900ab2d..."} 
[2026-06-23 22:50:32] local.INFO: Packet analysis {"connection_id":112095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:50:32] local.INFO: Extracted packet for processing {"connection_id":112095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756274688,"raw_latitude":114909744,"longitude_deg":75.6274688,"latitude_deg":11.4909744,"altitude":9,"angle":171,"satellites":45,"speed":30,"hex_longitude":"2d13d600","hex_latitude":"06d96230","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252187648001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321998083342729216,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429048486179041280,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:32] 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-06-23 22:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782235119000,"timestamp_ms":1782235119000,"timestamp_seconds":1782235119,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57dbd98"} 
[2026-06-23 22:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:50: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-06-23 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 22:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252187648001,"66":27376,"192":206,"2":56576,"24":30,"16":321998083342729216,"45":1429048486179041280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252187648001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321998083342729216,"km_value":321998083342729.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429048486179041280,"description":"Unknown IO ID 45"} 
[2026-06-23 22:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252187648001,"power":27376,"unknown_192":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1429048486179041280}} 
[2026-06-23 22:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":112095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:50:32] local.INFO: GPS data processed {"connection_id":112095,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:50:32] local.INFO: Acknowledgment sent {"connection_id":112095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:50:51] local.INFO: TCP Data received {"connection_id":112096,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:50:51] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:50:51] local.INFO: IMEI packet received {"connection_id":112096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":112096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:50:52] local.INFO: TCP Data received {"connection_id":113027,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57c4698012d7ca60005d404e8000900b81e..."} 
[2026-06-23 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57c4698012d7ca60005d404e8000900b81e..."} 
[2026-06-23 22:50:52] local.INFO: Processing buffer {"connection_id":113027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57c4698012d7ca60005d404e8000900b81e..."} 
[2026-06-23 22:50:52] local.INFO: Packet analysis {"connection_id":113027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:50:52] local.INFO: Extracted packet for processing {"connection_id":113027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763143680,"raw_latitude":97780968,"longitude_deg":76.314368,"latitude_deg":9.7780968,"altitude":9,"angle":184,"satellites":30,"speed":7,"hex_longitude":"2d7ca600","hex_latitude":"05d404e8","is_valid_coordinates":true} 
[2026-06-23 22:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252164096001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554154759028736,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981866531869085696,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235023000,"timestamp_ms":1782235023000,"timestamp_seconds":1782235023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57c4698"} 
[2026-06-23 22:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:50:52] 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-06-23 22:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 22:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":113027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":113027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":113027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252164096001,"66":11874,"83":206,"85":15104,"24":7,"16":96554154759028736,"45":8981866531869085696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252164096001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554154759028736,"km_value":96554154759028.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981866531869085696,"description":"Unknown IO ID 45"} 
[2026-06-23 22:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252164096001,"power":11874,"unknown_83":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8981866531869085696}} 
[2026-06-23 22:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":113027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:50:52] local.INFO: GPS data processed {"connection_id":113027,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:50:52] local.INFO: Acknowledgment sent {"connection_id":113027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:50:56] local.INFO: TCP Data received {"connection_id":112096,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:50:56] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:50:56] local.INFO: IMEI packet received {"connection_id":112096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":112096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:50:57] local.INFO: TCP Data received {"connection_id":112096,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57e6d60012d196780071ff200003d007b1f..."} 
[2026-06-23 22:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57e6d60012d196780071ff200003d007b1f..."} 
[2026-06-23 22:50:57] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57e6d60012d196780071ff200003d007b1f..."} 
[2026-06-23 22:50:57] local.INFO: Packet analysis {"connection_id":112096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:50:57] local.INFO: Extracted packet for processing {"connection_id":112096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252196608001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235164000,"timestamp_ms":1782235164000,"timestamp_seconds":1782235164,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57e6d60"} 
[2026-06-23 22:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:50: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-06-23 22:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:50:57] 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-06-23 22:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252196608001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252196608001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:50:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252196608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":112096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:50:57] local.INFO: GPS data processed {"connection_id":112096,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:50:57] local.INFO: Acknowledgment sent {"connection_id":112096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:51:13] local.INFO: TCP Data received {"connection_id":112095,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57de4a8012d13dd0006d94508000a009f2d..."} 
[2026-06-23 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57de4a8012d13dd0006d94508000a009f2d..."} 
[2026-06-23 22:51:13] local.INFO: Processing buffer {"connection_id":112095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57de4a8012d13dd0006d94508000a009f2d..."} 
[2026-06-23 22:51:13] local.INFO: Packet analysis {"connection_id":112095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:51:13] local.INFO: Extracted packet for processing {"connection_id":112095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57d"} 
[2026-06-23 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756276480,"raw_latitude":114902280,"longitude_deg":75.627648,"latitude_deg":11.490228,"altitude":10,"angle":159,"satellites":45,"speed":30,"hex_longitude":"2d13dd00","hex_latitude":"06d94508","is_valid_coordinates":true} 
[2026-06-23 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252190464001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321998452709916672,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429329961153605632,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:13] 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-06-23 22:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782235129000,"timestamp_ms":1782235129000,"timestamp_seconds":1782235129,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57de4a8"} 
[2026-06-23 22:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:51:13] 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-06-23 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":112095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":112095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252190464001,"66":27321,"192":206,"2":56576,"24":30,"16":321998452709916672,"45":1429329961153605632},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252190464001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:51:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321998452709916672,"km_value":321998452709916.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429329961153605632,"description":"Unknown IO ID 45"} 
[2026-06-23 22:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252190464001,"power":27321,"unknown_192":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1429329961153605632}} 
[2026-06-23 22:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":112095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:51:13] local.INFO: GPS data processed {"connection_id":112095,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:51:13] local.INFO: Acknowledgment sent {"connection_id":112095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:51:15] local.INFO: TCP Data received {"connection_id":112097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:51:15] local.INFO: Processing buffer {"connection_id":112097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:51:15] local.INFO: IMEI packet received {"connection_id":112097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":112097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:51:20] local.INFO: TCP Data received {"connection_id":112097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:51:20] local.INFO: Processing buffer {"connection_id":112097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:51:20] local.INFO: IMEI packet received {"connection_id":112097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":112097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:51:21] local.INFO: TCP Data received {"connection_id":112097,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57c4a80012d7ca64005d40408000900a71e..."} 
[2026-06-23 22:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57c4a80012d7ca64005d40408000900a71e..."} 
[2026-06-23 22:51:21] local.INFO: Processing buffer {"connection_id":112097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57c4a80012d7ca64005d40408000900a71e..."} 
[2026-06-23 22:51:21] local.INFO: Packet analysis {"connection_id":112097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:51:21] local.INFO: Extracted packet for processing {"connection_id":112097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":97780744,"longitude_deg":76.3143744,"latitude_deg":9.7780744,"altitude":9,"angle":167,"satellites":30,"speed":9,"hex_longitude":"2d7ca640","hex_latitude":"05d40408","is_valid_coordinates":true} 
[2026-06-23 22:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252165888001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554167643930624,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981866531868960768,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235024000,"timestamp_ms":1782235024000,"timestamp_seconds":1782235024,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57c4a80"} 
[2026-06-23 22:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:51:21] 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-06-23 22:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 22:51:21] 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-06-23 22:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252165888001,"66":11917,"83":206,"85":15104,"24":9,"16":96554167643930624,"45":8981866531868960768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252165888001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554167643930624,"km_value":96554167643930.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981866531868960768,"description":"Unknown IO ID 45"} 
[2026-06-23 22:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252165888001,"power":11917,"unknown_83":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8981866531868960768}} 
[2026-06-23 22:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":112097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:51:21] local.INFO: GPS data processed {"connection_id":112097,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:51:21] local.INFO: Acknowledgment sent {"connection_id":112097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:51:22] local.INFO: TCP Data received {"connection_id":111289,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:51:22] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:51:22] local.INFO: IMEI packet received {"connection_id":111289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":111289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:51:28] local.INFO: TCP Data received {"connection_id":111289,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:51:28] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:51:28] local.INFO: IMEI packet received {"connection_id":111289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":111289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:51:28] local.INFO: TCP Data received {"connection_id":112096,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57ebf68012d196780071ff200003d007b20..."} 
[2026-06-23 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57ebf68012d196780071ff200003d007b20..."} 
[2026-06-23 22:51:28] local.INFO: Processing buffer {"connection_id":112096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57ebf68012d196780071ff200003d007b20..."} 
[2026-06-23 22:51:28] local.INFO: Packet analysis {"connection_id":112096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:51:28] local.INFO: Extracted packet for processing {"connection_id":112096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252201984001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235185000,"timestamp_ms":1782235185000,"timestamp_seconds":1782235185,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57ebf68"} 
[2026-06-23 22:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:51:28] 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-06-23 22: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-06-23 22:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252201984001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252201984001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252201984001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":112096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:51:28] local.INFO: GPS data processed {"connection_id":112096,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:51:28] local.INFO: Acknowledgment sent {"connection_id":112096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:51:30] local.INFO: TCP Data received {"connection_id":111289,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57e1f40012d13eb8006d92700000b00942d..."} 
[2026-06-23 22:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57e1f40012d13eb8006d92700000b00942d..."} 
[2026-06-23 22:51:30] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57e1f40012d13eb8006d92700000b00942d..."} 
[2026-06-23 22:51:30] local.INFO: Packet analysis {"connection_id":111289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:51:30] local.INFO: Extracted packet for processing {"connection_id":111289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:51:30] local.INFO: GPS Element Parsed {"raw_longitude":756280192,"raw_latitude":114894592,"longitude_deg":75.6280192,"latitude_deg":11.4894592,"altitude":11,"angle":148,"satellites":45,"speed":16,"hex_longitude":"2d13eb80","hex_latitude":"06d92700","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252193024001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321998869321744384,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1431300285988669440,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:30] 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-06-23 22:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782235144000,"timestamp_ms":1782235144000,"timestamp_seconds":1782235144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57e1f40"} 
[2026-06-23 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-06-23 22:51:30] 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-06-23 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 22:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 22:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252193024001,"66":27463,"192":206,"2":56576,"24":16,"16":321998869321744384,"45":1431300285988669440},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252193024001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:51:30] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321998869321744384,"km_value":321998869321744.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1431300285988669440,"description":"Unknown IO ID 45"} 
[2026-06-23 22:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252193024001,"power":27463,"unknown_192":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":1431300285988669440}} 
[2026-06-23 22:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":111289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:51:30] local.INFO: GPS data processed {"connection_id":111289,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:51:30] local.INFO: Acknowledgment sent {"connection_id":111289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:51:51] local.INFO: TCP Data received {"connection_id":113028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:51:51] local.INFO: Processing buffer {"connection_id":113028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:51:51] local.INFO: IMEI packet received {"connection_id":113028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":113028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:51:52] local.INFO: TCP Data received {"connection_id":112097,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57c90d0012d7caac005d3f778000b00b01f..."} 
[2026-06-23 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57c90d0012d7caac005d3f778000b00b01f..."} 
[2026-06-23 22:51:52] local.INFO: Processing buffer {"connection_id":112097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57c90d0012d7caac005d3f778000b00b01f..."} 
[2026-06-23 22:51:52] local.INFO: Packet analysis {"connection_id":112097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:51:52] local.INFO: Extracted packet for processing {"connection_id":112097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763144896,"raw_latitude":97777528,"longitude_deg":76.3144896,"latitude_deg":9.7777528,"altitude":11,"angle":176,"satellites":31,"speed":0,"hex_longitude":"2d7caac0","hex_latitude":"05d3f778","is_valid_coordinates":true} 
[2026-06-23 22:51:52] 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-06-23 22:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252166144001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900613081088,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235042000,"timestamp_ms":1782235042000,"timestamp_seconds":1782235042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57c90d0"} 
[2026-06-23 22:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:51:52] 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-06-23 22:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 22:51:52] 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-06-23 22:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252166144001,"66":12906,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8981936900613081088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252166144001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:51:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900613081088,"description":"Unknown IO ID 45"} 
[2026-06-23 22:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252166144001,"power":12906,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8981936900613081088}} 
[2026-06-23 22:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":112097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:51:52] local.INFO: GPS data processed {"connection_id":112097,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:51:52] local.INFO: Acknowledgment sent {"connection_id":112097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:51:56] local.INFO: TCP Data received {"connection_id":113028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:51:56] local.INFO: Processing buffer {"connection_id":113028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:51:56] local.INFO: IMEI packet received {"connection_id":113028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":113028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:51:57] local.INFO: TCP Data received {"connection_id":113028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57f1170012d196780071ff200003d007b20..."} 
[2026-06-23 22:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57f1170012d196780071ff200003d007b20..."} 
[2026-06-23 22:51:57] local.INFO: Processing buffer {"connection_id":113028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57f1170012d196780071ff200003d007b20..."} 
[2026-06-23 22:51:57] local.INFO: Packet analysis {"connection_id":113028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57f"} 
[2026-06-23 22:51:57] local.INFO: Extracted packet for processing {"connection_id":113028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57f"} 
[2026-06-23 22:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:51: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-06-23 22:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252207360001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235206000,"timestamp_ms":1782235206000,"timestamp_seconds":1782235206,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57f1170"} 
[2026-06-23 22:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:51: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-06-23 22:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:51:57] 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-06-23 22:51: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-06-23 22:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252207360001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252207360001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:51:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252207360001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":113028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:51:57] local.INFO: GPS data processed {"connection_id":113028,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:51:57] local.INFO: Acknowledgment sent {"connection_id":113028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:02] local.INFO: TCP Data received {"connection_id":111289,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57e5dc0012d13ff4006d90758000f00932d..."} 
[2026-06-23 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57e5dc0012d13ff4006d90758000f00932d..."} 
[2026-06-23 22:52:02] local.INFO: Processing buffer {"connection_id":111289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57e5dc0012d13ff4006d90758000f00932d..."} 
[2026-06-23 22:52:02] local.INFO: Packet analysis {"connection_id":111289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:52:02] local.INFO: Extracted packet for processing {"connection_id":111289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756285248,"raw_latitude":114886488,"longitude_deg":75.6285248,"latitude_deg":11.4886488,"altitude":15,"angle":147,"satellites":45,"speed":28,"hex_longitude":"2d13ff40","hex_latitude":"06d90758","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252196864001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321999328883245056,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1435381673149005824,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:02] 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-06-23 22:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782235160000,"timestamp_ms":1782235160000,"timestamp_seconds":1782235160,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57e5dc0"} 
[2026-06-23 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-06-23 22:52: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-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:02] 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-06-23 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-06-23 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-06-23 22:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252196864001,"66":27463,"192":206,"2":56576,"24":28,"16":321999328883245056,"45":1435381673149005824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252196864001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:02] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321999328883245056,"km_value":321999328883245.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1435381673149005824,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252196864001,"power":27463,"unknown_192":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1435381673149005824}} 
[2026-06-23 22:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":111289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:02] local.INFO: GPS data processed {"connection_id":111289,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:02] local.INFO: Acknowledgment sent {"connection_id":111289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:20] local.INFO: TCP Data received {"connection_id":113029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:52:20] local.INFO: Processing buffer {"connection_id":113029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:52:20] local.INFO: IMEI packet received {"connection_id":113029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":113029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:52:25] local.INFO: TCP Data received {"connection_id":113029,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:52:25] local.INFO: Processing buffer {"connection_id":113029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:52:25] local.INFO: IMEI packet received {"connection_id":113029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":113029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:52:26] local.INFO: TCP Data received {"connection_id":113029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57c90d0012d7caac005d3f778000b00b01f..."} 
[2026-06-23 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57c90d0012d7caac005d3f778000b00b01f..."} 
[2026-06-23 22:52:26] local.INFO: Processing buffer {"connection_id":113029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57c90d0012d7caac005d3f778000b00b01f..."} 
[2026-06-23 22:52:26] local.INFO: Packet analysis {"connection_id":113029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:52:26] local.INFO: Extracted packet for processing {"connection_id":113029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57c"} 
[2026-06-23 22:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763144896,"raw_latitude":97777528,"longitude_deg":76.3144896,"latitude_deg":9.7777528,"altitude":11,"angle":176,"satellites":31,"speed":0,"hex_longitude":"2d7caac0","hex_latitude":"05d3f778","is_valid_coordinates":true} 
[2026-06-23 22:52:26] 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-06-23 22:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782235042000,"timestamp_ms":1782235042000,"timestamp_seconds":1782235042,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57c90d0"} 
[2026-06-23 22:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52: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-06-23 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:26] 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-06-23 22:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":113029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":113029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":113029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12906,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12906,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":113029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:26] local.INFO: GPS data processed {"connection_id":113029,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:26] local.INFO: Acknowledgment sent {"connection_id":113029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:27] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:27] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:27] local.INFO: IMEI packet received {"connection_id":111460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":111460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:52:27] local.INFO: TCP Data received {"connection_id":113029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:52:27] local.INFO: Processing buffer {"connection_id":113029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:52:27] local.INFO: Packet analysis {"connection_id":113029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:52:27] local.INFO: Extracted packet for processing {"connection_id":113029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52: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-06-23 22: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:27] 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-06-23 22: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-06-23 22:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":113029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":113029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":113029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":113029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:27] local.INFO: GPS data processed {"connection_id":113029,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:27] local.INFO: Acknowledgment sent {"connection_id":113029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:27] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:27] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:27] local.INFO: IMEI packet received {"connection_id":111460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":111460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:52:29] local.INFO: TCP Data received {"connection_id":113028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57f6378012d196780071ff200003d007b20..."} 
[2026-06-23 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57f6378012d196780071ff200003d007b20..."} 
[2026-06-23 22:52:29] local.INFO: Processing buffer {"connection_id":113028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57f6378012d196780071ff200003d007b20..."} 
[2026-06-23 22:52:29] local.INFO: Packet analysis {"connection_id":113028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57f"} 
[2026-06-23 22:52:29] local.INFO: Extracted packet for processing {"connection_id":113028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57f"} 
[2026-06-23 22:52:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252212736001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235227000,"timestamp_ms":1782235227000,"timestamp_seconds":1782235227,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57f6378"} 
[2026-06-23 22:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:29] 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-06-23 22:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252212736001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252212736001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:52:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252212736001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":113028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:29] local.INFO: GPS data processed {"connection_id":113028,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:29] local.INFO: Acknowledgment sent {"connection_id":113028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:35] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:35] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:52:35] local.INFO: IMEI packet received {"connection_id":111460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":111460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:52:37] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57e8ca0012d14124006d8ea30000e00942d..."} 
[2026-06-23 22:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57e8ca0012d14124006d8ea30000e00942d..."} 
[2026-06-23 22:52:37] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57e8ca0012d14124006d8ea30000e00942d..."} 
[2026-06-23 22:52:37] local.INFO: Packet analysis {"connection_id":111460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:52:37] local.INFO: Extracted packet for processing {"connection_id":111460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756290112,"raw_latitude":114879024,"longitude_deg":75.6290112,"latitude_deg":11.4879024,"altitude":14,"angle":148,"satellites":45,"speed":29,"hex_longitude":"2d141240","hex_latitude":"06d8ea30","is_valid_coordinates":true} 
[2026-06-23 22:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252200960001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":321999758379974656,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1440940803936966656,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:37] 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-06-23 22:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782235172000,"timestamp_ms":1782235172000,"timestamp_seconds":1782235172,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57e8ca0"} 
[2026-06-23 22:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52:37] 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-06-23 22:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:37] 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-06-23 22:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":111460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252200960001,"66":27397,"192":206,"2":56576,"24":29,"16":321999758379974656,"45":1440940803936966656},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252200960001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:37] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":321999758379974656,"km_value":321999758379974.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1440940803936966656,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252200960001,"power":27397,"unknown_192":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":1440940803936966656}} 
[2026-06-23 22:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":111460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:37] local.INFO: GPS data processed {"connection_id":111460,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:37] local.INFO: Acknowledgment sent {"connection_id":111460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:38] local.INFO: TCP Data received {"connection_id":111460,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57ebb80012d14234006d8cac0000f009a2d..."} 
[2026-06-23 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57ebb80012d14234006d8cac0000f009a2d..."} 
[2026-06-23 22:52:38] local.INFO: Processing buffer {"connection_id":111460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57ebb80012d14234006d8cac0000f009a2d..."} 
[2026-06-23 22:52:38] local.INFO: Packet analysis {"connection_id":111460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:52:38] local.INFO: Extracted packet for processing {"connection_id":111460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57e"} 
[2026-06-23 22:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756294464,"raw_latitude":114870976,"longitude_deg":75.6294464,"latitude_deg":11.4870976,"altitude":15,"angle":154,"satellites":45,"speed":28,"hex_longitude":"2d142340","hex_latitude":"06d8cac0","is_valid_coordinates":true} 
[2026-06-23 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252204032001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322000200761606144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1446288828492558336,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:38] 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-06-23 22:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782235184000,"timestamp_ms":1782235184000,"timestamp_seconds":1782235184,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57ebb80"} 
[2026-06-23 22:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52: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-06-23 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252204032001,"66":27397,"192":206,"2":56576,"24":28,"16":322000200761606144,"45":1446288828492558336},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 22:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252204032001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:38] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 22:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322000200761606144,"km_value":322000200761606.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1446288828492558336,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252204032001,"power":27397,"unknown_192":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":1446288828492558336}} 
[2026-06-23 22:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":111460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:38] local.INFO: GPS data processed {"connection_id":111460,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:38] local.INFO: Acknowledgment sent {"connection_id":111460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:50] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:50] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:50] local.INFO: IMEI packet received {"connection_id":111461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":111461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:52:51] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:51] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:51] local.INFO: IMEI packet received {"connection_id":111461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":111461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:52:56] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:56] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:52:56] local.INFO: IMEI packet received {"connection_id":111461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":111461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:52:57] local.INFO: TCP Data received {"connection_id":113029,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:52:57] local.INFO: Processing buffer {"connection_id":113029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:52:57] local.INFO: Packet analysis {"connection_id":113029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:52:57] local.INFO: Extracted packet for processing {"connection_id":113029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52: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-06-23 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:57] 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-06-23 22:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":113029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:57] local.INFO: GPS data processed {"connection_id":113029,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:57] local.INFO: Acknowledgment sent {"connection_id":113029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:52:57] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef57fb580012d196780071ff200003d007b21..."} 
[2026-06-23 22:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef57fb580012d196780071ff200003d007b21..."} 
[2026-06-23 22:52:57] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef57fb580012d196780071ff200003d007b21..."} 
[2026-06-23 22:52:57] local.INFO: Packet analysis {"connection_id":111461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef57f"} 
[2026-06-23 22:52:57] local.INFO: Extracted packet for processing {"connection_id":111461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef57f"} 
[2026-06-23 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252218112001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235248000,"timestamp_ms":1782235248000,"timestamp_seconds":1782235248,"priority":1,"record_length":96,"hex_timestamp":"0000019ef57fb580"} 
[2026-06-23 22:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:52:57] 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-06-23 22:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252218112001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252218112001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252218112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":111461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:52:57] local.INFO: GPS data processed {"connection_id":111461,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:52:57] local.INFO: Acknowledgment sent {"connection_id":111461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:53:15] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:53:15] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:53:15] local.INFO: IMEI packet received {"connection_id":111462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":111462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:53:20] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:53:20] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:53:20] local.INFO: IMEI packet received {"connection_id":111462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":111462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:53:21] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:53:21] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:53:21] local.INFO: Packet analysis {"connection_id":111462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:53:21] local.INFO: Extracted packet for processing {"connection_id":111462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:53:21] 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-06-23 22:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":111462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:53:21] local.INFO: GPS data processed {"connection_id":111462,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:53:21] local.INFO: Acknowledgment sent {"connection_id":111462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:53:22] local.INFO: TCP Data received {"connection_id":113030,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:22] local.INFO: Processing buffer {"connection_id":113030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:22] local.INFO: IMEI packet received {"connection_id":113030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":113030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:53:23] local.INFO: TCP Data received {"connection_id":113030,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:23] local.INFO: Processing buffer {"connection_id":113030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:23] local.INFO: IMEI packet received {"connection_id":113030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":113030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:53:28] local.INFO: TCP Data received {"connection_id":113030,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:28] local.INFO: Processing buffer {"connection_id":113030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:53:28] local.INFO: IMEI packet received {"connection_id":113030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":113030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:53:28] local.INFO: TCP Data received {"connection_id":111461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5800788012d196780071ff200003d007b21..."} 
[2026-06-23 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5800788012d196780071ff200003d007b21..."} 
[2026-06-23 22:53:28] local.INFO: Processing buffer {"connection_id":111461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5800788012d196780071ff200003d007b21..."} 
[2026-06-23 22:53:28] local.INFO: Packet analysis {"connection_id":111461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:53:28] local.INFO: Extracted packet for processing {"connection_id":111461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252223488001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235269000,"timestamp_ms":1782235269000,"timestamp_seconds":1782235269,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5800788"} 
[2026-06-23 22:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:53:28] 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-06-23 22: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-06-23 22:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252223488001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252223488001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252223488001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":111461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:53:29] local.INFO: GPS data processed {"connection_id":111461,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:53:29] local.INFO: Acknowledgment sent {"connection_id":111461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:53:29] local.INFO: TCP Data received {"connection_id":113030,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef580cec0012d150d0006d79628000e00882d..."} 
[2026-06-23 22:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef580cec0012d150d0006d79628000e00882d..."} 
[2026-06-23 22:53:29] local.INFO: Processing buffer {"connection_id":113030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef580cec0012d150d0006d79628000e00882d..."} 
[2026-06-23 22:53:29] local.INFO: Packet analysis {"connection_id":113030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:53:29] local.INFO: Extracted packet for processing {"connection_id":113030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756354304,"raw_latitude":114791976,"longitude_deg":75.6354304,"latitude_deg":11.4791976,"altitude":14,"angle":136,"satellites":45,"speed":33,"hex_longitude":"2d150d00","hex_latitude":"06d79628","is_valid_coordinates":true} 
[2026-06-23 22:53: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-06-23 22:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252238848001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322005032599814144,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1509550329487771648,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:29] 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-06-23 22:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235320000,"timestamp_ms":1782235320000,"timestamp_seconds":1782235320,"priority":1,"record_length":96,"hex_timestamp":"0000019ef580cec0"} 
[2026-06-23 22:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:53:29] 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-06-23 22:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 22:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:53: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-06-23 22:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252238848001,"66":27463,"191":206,"2":56576,"24":33,"16":322005032599814144,"45":1509550329487771648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-23 22:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252238848001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:53:29] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-23 22:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322005032599814144,"km_value":322005032599814.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1509550329487771648,"description":"Unknown IO ID 45"} 
[2026-06-23 22:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252238848001,"power":27463,"unknown_191":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1509550329487771648}} 
[2026-06-23 22:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":113030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:53:29] local.INFO: GPS data processed {"connection_id":113030,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:53:29] local.INFO: Acknowledgment sent {"connection_id":113030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:53:34] local.INFO: TCP Data received {"connection_id":113030,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5810958012d15250006d77c70000e00892d..."} 
[2026-06-23 22:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5810958012d15250006d77c70000e00892d..."} 
[2026-06-23 22:53:34] local.INFO: Processing buffer {"connection_id":113030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5810958012d15250006d77c70000e00892d..."} 
[2026-06-23 22:53:34] local.INFO: Packet analysis {"connection_id":113030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:53:34] local.INFO: Extracted packet for processing {"connection_id":113030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756360448,"raw_latitude":114785392,"longitude_deg":75.6360448,"latitude_deg":11.4785392,"altitude":14,"angle":137,"satellites":45,"speed":24,"hex_longitude":"2d152500","hex_latitude":"06d77c70","is_valid_coordinates":true} 
[2026-06-23 22:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252241920001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322005466391511040,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1516868678880471040,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:34] 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-06-23 22:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782235335000,"timestamp_ms":1782235335000,"timestamp_seconds":1782235335,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5810958"} 
[2026-06-23 22:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:53: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-06-23 22:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 22:53:34] 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-06-23 22:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":113030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":113030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":113030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252241920001,"66":27397,"193":206,"2":56576,"24":24,"16":322005466391511040,"45":1516868678880471040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-23 22:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252241920001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-23 22:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322005466391511040,"km_value":322005466391511.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1516868678880471040,"description":"Unknown IO ID 45"} 
[2026-06-23 22:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252241920001,"power":27397,"unknown_193":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":1516868678880471040}} 
[2026-06-23 22:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":113030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:53:34] local.INFO: GPS data processed {"connection_id":113030,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:53:34] local.INFO: Acknowledgment sent {"connection_id":113030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:53:37] local.INFO: TCP Data received {"connection_id":113031,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:53:37] local.INFO: Processing buffer {"connection_id":113031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:53:37] local.INFO: IMEI packet received {"connection_id":113031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":113031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:53:51] local.INFO: TCP Data received {"connection_id":111463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:51] local.INFO: Processing buffer {"connection_id":111463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:51] local.INFO: IMEI packet received {"connection_id":111463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":111463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:53:52] local.INFO: TCP Data received {"connection_id":111462,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:53:52] local.INFO: Processing buffer {"connection_id":111462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:53:52] local.INFO: Packet analysis {"connection_id":111462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:53:52] local.INFO: Extracted packet for processing {"connection_id":111462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:53:52] 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-06-23 22:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:53:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":111462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:53:52] local.INFO: GPS data processed {"connection_id":111462,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:53:52] local.INFO: Acknowledgment sent {"connection_id":111462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:53:54] local.INFO: TCP Data received {"connection_id":111463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:54] local.INFO: Processing buffer {"connection_id":111463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:54] local.INFO: IMEI packet received {"connection_id":111463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":111463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:53:56] local.INFO: TCP Data received {"connection_id":111463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:56] local.INFO: Processing buffer {"connection_id":111463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:53:56] local.INFO: IMEI packet received {"connection_id":111463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":111463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:53:57] local.INFO: TCP Data received {"connection_id":111463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5805990012d196780071ff200003d007b1e..."} 
[2026-06-23 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5805990012d196780071ff200003d007b1e..."} 
[2026-06-23 22:53:57] local.INFO: Processing buffer {"connection_id":111463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5805990012d196780071ff200003d007b1e..."} 
[2026-06-23 22:53:57] local.INFO: Packet analysis {"connection_id":111463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:53:57] local.INFO: Extracted packet for processing {"connection_id":111463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":30,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252228864001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235290000,"timestamp_ms":1782235290000,"timestamp_seconds":1782235290,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5805990"} 
[2026-06-23 22:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:53:57] 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-06-23 22: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-06-23 22:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252228864001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252228864001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252228864001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":111463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:53:57] local.INFO: GPS data processed {"connection_id":111463,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:53:57] local.INFO: Acknowledgment sent {"connection_id":111463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:54:05] local.INFO: TCP Data received {"connection_id":113030,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58143f0012d153dc006d76270000f008a2b..."} 
[2026-06-23 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58143f0012d153dc006d76270000f008a2b..."} 
[2026-06-23 22:54:05] local.INFO: Processing buffer {"connection_id":113030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58143f0012d153dc006d76270000f008a2b..."} 
[2026-06-23 22:54:05] local.INFO: Packet analysis {"connection_id":113030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:54:05] local.INFO: Extracted packet for processing {"connection_id":113030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756366784,"raw_latitude":114778736,"longitude_deg":75.6366784,"latitude_deg":11.4778736,"altitude":15,"angle":138,"satellites":43,"speed":19,"hex_longitude":"2d153dc0","hex_latitude":"06d76270","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252245760001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322005908773142528,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1523624078319841280,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:05] 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-06-23 22:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782235350000,"timestamp_ms":1782235350000,"timestamp_seconds":1782235350,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58143f0"} 
[2026-06-23 22:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:54: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-06-23 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 22:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22: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-06-23 22:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":113030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":113030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":113030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252245760001,"66":27376,"193":206,"2":56576,"24":19,"16":322005908773142528,"45":1523624078319841280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-23 22:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252245760001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:54:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-23 22:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322005908773142528,"km_value":322005908773142.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1523624078319841280,"description":"Unknown IO ID 45"} 
[2026-06-23 22:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252245760001,"power":27376,"unknown_193":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":1523624078319841280}} 
[2026-06-23 22:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":113030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:54:05] local.INFO: GPS data processed {"connection_id":113030,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:54:05] local.INFO: Acknowledgment sent {"connection_id":113030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:54:15] local.INFO: TCP Data received {"connection_id":111464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:54:15] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:54:15] local.INFO: IMEI packet received {"connection_id":111464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":111464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:54:20] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:20] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:20] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:54:20] local.INFO: TCP Data received {"connection_id":111464,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:54:20] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:54:20] local.INFO: IMEI packet received {"connection_id":111464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":111464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:54:21] local.INFO: TCP Data received {"connection_id":111464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:54:21] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:54:21] local.INFO: Packet analysis {"connection_id":111464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:54:21] local.INFO: Extracted packet for processing {"connection_id":111464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:54:21] 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-06-23 22:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":111464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:54:21] local.INFO: GPS data processed {"connection_id":111464,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:54:21] local.INFO: Acknowledgment sent {"connection_id":111464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:54:22] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:22] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:22] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:54:22] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:22] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:22] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:54:23] local.INFO: TCP Data received {"connection_id":111291,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:23] local.INFO: Processing buffer {"connection_id":111291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:54:23] local.INFO: IMEI packet received {"connection_id":111291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":111291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:54:28] local.INFO: TCP Data received {"connection_id":111463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef580ab98012d196780071ff200003d007b1f..."} 
[2026-06-23 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef580ab98012d196780071ff200003d007b1f..."} 
[2026-06-23 22:54:28] local.INFO: Processing buffer {"connection_id":111463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef580ab98012d196780071ff200003d007b1f..."} 
[2026-06-23 22:54:28] local.INFO: Packet analysis {"connection_id":111463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:54:28] local.INFO: Extracted packet for processing {"connection_id":111463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252234240001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235311000,"timestamp_ms":1782235311000,"timestamp_seconds":1782235311,"priority":1,"record_length":96,"hex_timestamp":"0000019ef580ab98"} 
[2026-06-23 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-06-23 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:54:28] 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-06-23 22: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-06-23 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-06-23 22:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252234240001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252234240001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252234240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":111463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:54:28] local.INFO: GPS data processed {"connection_id":111463,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:54:28] local.INFO: Acknowledgment sent {"connection_id":111463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:54:51] local.INFO: TCP Data received {"connection_id":113032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:54:51] local.INFO: Processing buffer {"connection_id":113032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:54:51] local.INFO: IMEI packet received {"connection_id":113032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":113032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:54:52] local.INFO: TCP Data received {"connection_id":111464,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:54:52] local.INFO: Processing buffer {"connection_id":111464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:54:52] local.INFO: Packet analysis {"connection_id":111464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:54:52] local.INFO: Extracted packet for processing {"connection_id":111464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:54:52] 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-06-23 22:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:54:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":111464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:54:52] local.INFO: GPS data processed {"connection_id":111464,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:54:52] local.INFO: Acknowledgment sent {"connection_id":111464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:54:57] local.INFO: TCP Data received {"connection_id":113032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:54:57] local.INFO: Processing buffer {"connection_id":113032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:54:57] local.INFO: IMEI packet received {"connection_id":113032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":113032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:54:57] local.INFO: TCP Data received {"connection_id":113032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef580fda0012d196780071ff200003d007b1e..."} 
[2026-06-23 22:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef580fda0012d196780071ff200003d007b1e..."} 
[2026-06-23 22:54:57] local.INFO: Processing buffer {"connection_id":113032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef580fda0012d196780071ff200003d007b1e..."} 
[2026-06-23 22:54:57] local.INFO: Packet analysis {"connection_id":113032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:54:57] local.INFO: Extracted packet for processing {"connection_id":113032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef580"} 
[2026-06-23 22:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":30,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252239616001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235332000,"timestamp_ms":1782235332000,"timestamp_seconds":1782235332,"priority":1,"record_length":96,"hex_timestamp":"0000019ef580fda0"} 
[2026-06-23 22:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:54: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-06-23 22:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:54:57] 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-06-23 22:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252239616001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252239616001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252239616001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":113032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:54:57] local.INFO: GPS data processed {"connection_id":113032,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:54:57] local.INFO: Acknowledgment sent {"connection_id":113032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:55:15] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:55:15] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:55:15] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:55:20] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:55:20] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:55:20] local.INFO: IMEI packet received {"connection_id":111294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":111294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:55:21] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:55:21] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:55:21] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:21] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:55:21] 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-06-23 22:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:55:21] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:55:21] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:55:29] local.INFO: TCP Data received {"connection_id":113032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5814fa8012d196780071ff200003d007b20..."} 
[2026-06-23 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5814fa8012d196780071ff200003d007b20..."} 
[2026-06-23 22:55:29] local.INFO: Processing buffer {"connection_id":113032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5814fa8012d196780071ff200003d007b20..."} 
[2026-06-23 22:55:29] local.INFO: Packet analysis {"connection_id":113032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:29] local.INFO: Extracted packet for processing {"connection_id":113032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252244992001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235353000,"timestamp_ms":1782235353000,"timestamp_seconds":1782235353,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5814fa8"} 
[2026-06-23 22:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:55:29] 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-06-23 22: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-06-23 22:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252244992001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252244992001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:55:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252244992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":113032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:55:29] local.INFO: GPS data processed {"connection_id":113032,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:55:29] local.INFO: Acknowledgment sent {"connection_id":113032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:55:51] local.INFO: TCP Data received {"connection_id":112099,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:55:51] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:55:51] local.INFO: IMEI packet received {"connection_id":112099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":112099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:55:52] local.INFO: TCP Data received {"connection_id":111294,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:55:52] local.INFO: Processing buffer {"connection_id":111294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:55:52] local.INFO: Packet analysis {"connection_id":111294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:52] local.INFO: Extracted packet for processing {"connection_id":111294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:55:52] 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-06-23 22:55:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:55:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":111294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:55:52] local.INFO: GPS data processed {"connection_id":111294,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:55:52] local.INFO: Acknowledgment sent {"connection_id":111294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:55:56] local.INFO: TCP Data received {"connection_id":112099,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:55:56] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:55:56] local.INFO: IMEI packet received {"connection_id":112099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":112099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:55:57] local.INFO: TCP Data received {"connection_id":112099,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef581a1b0012d196780071ff200003d007b20..."} 
[2026-06-23 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef581a1b0012d196780071ff200003d007b20..."} 
[2026-06-23 22:55:57] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef581a1b0012d196780071ff200003d007b20..."} 
[2026-06-23 22:55:57] local.INFO: Packet analysis {"connection_id":112099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:57] local.INFO: Extracted packet for processing {"connection_id":112099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:55: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-06-23 22:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252250368001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235374000,"timestamp_ms":1782235374000,"timestamp_seconds":1782235374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef581a1b0"} 
[2026-06-23 22:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:55: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-06-23 22:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:55:57] 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-06-23 22:55: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-06-23 22:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252250368001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252250368001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252250368001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":112099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:55:58] local.INFO: GPS data processed {"connection_id":112099,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:55:58] local.INFO: Acknowledgment sent {"connection_id":112099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:56:15] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:56:15] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:56:15] local.INFO: IMEI packet received {"connection_id":111465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":111465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:56:20] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:56:20] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:56:20] local.INFO: IMEI packet received {"connection_id":111465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":111465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:56:21] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:56:21] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:56:21] local.INFO: Packet analysis {"connection_id":111465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:56:21] local.INFO: Extracted packet for processing {"connection_id":111465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:56:21] 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-06-23 22:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":111465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:56:21] local.INFO: GPS data processed {"connection_id":111465,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:56:21] local.INFO: Acknowledgment sent {"connection_id":111465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:56:29] local.INFO: TCP Data received {"connection_id":112099,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef581f3b8012d196780071ff200003d007b21..."} 
[2026-06-23 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef581f3b8012d196780071ff200003d007b21..."} 
[2026-06-23 22:56:29] local.INFO: Processing buffer {"connection_id":112099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef581f3b8012d196780071ff200003d007b21..."} 
[2026-06-23 22:56:29] local.INFO: Packet analysis {"connection_id":112099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:56:29] local.INFO: Extracted packet for processing {"connection_id":112099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252255744001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235395000,"timestamp_ms":1782235395000,"timestamp_seconds":1782235395,"priority":1,"record_length":96,"hex_timestamp":"0000019ef581f3b8"} 
[2026-06-23 22:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 22:56:29] 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-06-23 22: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-06-23 22:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252255744001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252255744001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:56:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252255744001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":112099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:56:29] local.INFO: GPS data processed {"connection_id":112099,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:56:29] local.INFO: Acknowledgment sent {"connection_id":112099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:56:51] local.INFO: TCP Data received {"connection_id":113034,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:56:51] local.INFO: Processing buffer {"connection_id":113034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:56:51] local.INFO: IMEI packet received {"connection_id":113034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":113034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:56:52] local.INFO: TCP Data received {"connection_id":111465,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:56:52] local.INFO: Processing buffer {"connection_id":111465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:56:52] local.INFO: Packet analysis {"connection_id":111465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:56:52] local.INFO: Extracted packet for processing {"connection_id":111465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:56:52] 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-06-23 22:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":111465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:56:52] local.INFO: GPS data processed {"connection_id":111465,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:56:52] local.INFO: Acknowledgment sent {"connection_id":111465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:56:56] local.INFO: TCP Data received {"connection_id":113034,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:56:56] local.INFO: Processing buffer {"connection_id":113034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:56:56] local.INFO: IMEI packet received {"connection_id":113034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":113034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:56:57] local.INFO: TCP Data received {"connection_id":113034,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58245c0012d196780071ff200003d007b21..."} 
[2026-06-23 22:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58245c0012d196780071ff200003d007b21..."} 
[2026-06-23 22:56:57] local.INFO: Processing buffer {"connection_id":113034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58245c0012d196780071ff200003d007b21..."} 
[2026-06-23 22:56:57] local.INFO: Packet analysis {"connection_id":113034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef582"} 
[2026-06-23 22:56:57] local.INFO: Extracted packet for processing {"connection_id":113034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef582"} 
[2026-06-23 22:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:56: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-06-23 22:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252261120001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235416000,"timestamp_ms":1782235416000,"timestamp_seconds":1782235416,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58245c0"} 
[2026-06-23 22:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:56:57] 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-06-23 22:56: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-06-23 22:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252261120001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252261120001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252261120001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":113034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:56:57] local.INFO: GPS data processed {"connection_id":113034,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:56:57] local.INFO: Acknowledgment sent {"connection_id":113034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:57:15] local.INFO: TCP Data received {"connection_id":112101,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:57:15] local.INFO: Processing buffer {"connection_id":112101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:57:15] local.INFO: IMEI packet received {"connection_id":112101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":112101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:57:20] local.INFO: TCP Data received {"connection_id":112101,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:57:20] local.INFO: Processing buffer {"connection_id":112101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:57:20] local.INFO: IMEI packet received {"connection_id":112101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":112101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:57:21] local.INFO: TCP Data received {"connection_id":112101,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:57:21] local.INFO: Processing buffer {"connection_id":112101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5812c80012d7caa0005d3f760000b00b023..."} 
[2026-06-23 22:57:21] local.INFO: Packet analysis {"connection_id":112101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:57:21] local.INFO: Extracted packet for processing {"connection_id":112101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef581"} 
[2026-06-23 22:57:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252170752001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538007455744,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235344000,"timestamp_ms":1782235344000,"timestamp_seconds":1782235344,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5812c80"} 
[2026-06-23 22:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 22:57:21] 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-06-23 22:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252170752001,"66":12939,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8983203538007455744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252170752001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538007455744,"description":"Unknown IO ID 45"} 
[2026-06-23 22:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252170752001,"power":12939,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8983203538007455744}} 
[2026-06-23 22:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":112101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:57:21] local.INFO: GPS data processed {"connection_id":112101,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:57:21] local.INFO: Acknowledgment sent {"connection_id":112101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:57:28] local.INFO: TCP Data received {"connection_id":113034,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58297c8012d196780071ff200003d007b22..."} 
[2026-06-23 22:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58297c8012d196780071ff200003d007b22..."} 
[2026-06-23 22:57:28] local.INFO: Processing buffer {"connection_id":113034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58297c8012d196780071ff200003d007b22..."} 
[2026-06-23 22:57:28] local.INFO: Packet analysis {"connection_id":113034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef582"} 
[2026-06-23 22:57:28] local.INFO: Extracted packet for processing {"connection_id":113034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef582"} 
[2026-06-23 22:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252266496001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235437000,"timestamp_ms":1782235437000,"timestamp_seconds":1782235437,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58297c8"} 
[2026-06-23 22:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:57:28] 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-06-23 22: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-06-23 22:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252266496001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252266496001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252266496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":113034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:57:28] local.INFO: GPS data processed {"connection_id":113034,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:57:28] local.INFO: Acknowledgment sent {"connection_id":113034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:57:52] local.INFO: TCP Data received {"connection_id":112101,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585b890012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585b890012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:57:52] local.INFO: Processing buffer {"connection_id":112101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585b890012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:57:52] local.INFO: Packet analysis {"connection_id":112101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:57:52] local.INFO: Extracted packet for processing {"connection_id":112101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252248064001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235642000,"timestamp_ms":1782235642000,"timestamp_seconds":1782235642,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585b890"} 
[2026-06-23 22:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-23 22:57:52] 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-06-23 22:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252248064001,"66":12428,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252248064001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:57:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 22:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252248064001,"power":12428,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 22:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":112101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:57:52] local.INFO: GPS data processed {"connection_id":112101,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:57:52] local.INFO: Acknowledgment sent {"connection_id":112101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:57:56] local.INFO: TCP Data received {"connection_id":113035,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:57:56] local.INFO: Processing buffer {"connection_id":113035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:57:56] local.INFO: IMEI packet received {"connection_id":113035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":113035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:58:01] local.INFO: TCP Data received {"connection_id":113035,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:01] local.INFO: Processing buffer {"connection_id":113035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:01] local.INFO: IMEI packet received {"connection_id":113035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":113035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:58:02] local.INFO: TCP Data received {"connection_id":113035,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef582e9d0012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef582e9d0012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:02] local.INFO: Processing buffer {"connection_id":113035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef582e9d0012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:02] local.INFO: Packet analysis {"connection_id":113035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef582"} 
[2026-06-23 22:58:02] local.INFO: Extracted packet for processing {"connection_id":113035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef582"} 
[2026-06-23 22:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252271872001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782235458000,"timestamp_ms":1782235458000,"timestamp_seconds":1782235458,"priority":1,"record_length":96,"hex_timestamp":"0000019ef582e9d0"} 
[2026-06-23 22:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:58: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-06-23 22:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":113035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":113035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":113035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252271872001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252271872001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:58:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252271872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":113035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:58:02] local.INFO: GPS data processed {"connection_id":113035,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:58:02] local.INFO: Acknowledgment sent {"connection_id":113035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:58:06] local.INFO: TCP Data received {"connection_id":113035,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5833bd8012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5833bd8012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:06] local.INFO: Processing buffer {"connection_id":113035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5833bd8012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:06] local.INFO: Packet analysis {"connection_id":113035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef583"} 
[2026-06-23 22:58:06] local.INFO: Extracted packet for processing {"connection_id":113035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef583"} 
[2026-06-23 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252277248001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58: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-06-23 22:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782235479000,"timestamp_ms":1782235479000,"timestamp_seconds":1782235479,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5833bd8"} 
[2026-06-23 22:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:58: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-06-23 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 22:58:06] 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-06-23 22: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-06-23 22:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":113035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":113035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":113035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252277248001,"66":12298,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252277248001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252277248001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":113035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:58:06] local.INFO: GPS data processed {"connection_id":113035,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:58:06] local.INFO: Acknowledgment sent {"connection_id":113035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:58:15] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:58:15] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:58:15] local.INFO: IMEI packet received {"connection_id":111297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":111297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:58:20] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:58:20] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:58:20] local.INFO: IMEI packet received {"connection_id":111297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":111297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:58:21] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585b890012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585b890012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:58:21] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585b890012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:58:21] local.INFO: Packet analysis {"connection_id":111297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:58:21] local.INFO: Extracted packet for processing {"connection_id":111297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252324352001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235642000,"timestamp_ms":1782235642000,"timestamp_seconds":1782235642,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585b890"} 
[2026-06-23 22:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 22:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252324352001,"66":12428,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252324352001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 22:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252324352001,"power":12428,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 22:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":111297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:58:22] local.INFO: GPS data processed {"connection_id":111297,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:58:22] local.INFO: Acknowledgment sent {"connection_id":111297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:58:51] local.INFO: TCP Data received {"connection_id":113037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:51] local.INFO: Processing buffer {"connection_id":113037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:51] local.INFO: IMEI packet received {"connection_id":113037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":113037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:58:53] local.INFO: TCP Data received {"connection_id":111297,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585c448012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585c448012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:58:53] local.INFO: Processing buffer {"connection_id":111297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585c448012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:58:53] local.INFO: Packet analysis {"connection_id":111297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:58:53] local.INFO: Extracted packet for processing {"connection_id":111297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:58:53] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252324352001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782235645000,"timestamp_ms":1782235645000,"timestamp_seconds":1782235645,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585c448"} 
[2026-06-23 22:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:58:53] 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-06-23 22:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-23 22:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252324352001,"66":3090,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252324352001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 22:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252324352001,"power":3090,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 22:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":111297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:58:53] local.INFO: GPS data processed {"connection_id":111297,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:58:53] local.INFO: Acknowledgment sent {"connection_id":111297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:58:56] local.INFO: TCP Data received {"connection_id":113037,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:56] local.INFO: Processing buffer {"connection_id":113037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:58:56] local.INFO: IMEI packet received {"connection_id":113037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":113037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:58:58] local.INFO: TCP Data received {"connection_id":113037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5838de0012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5838de0012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:58] local.INFO: Processing buffer {"connection_id":113037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5838de0012d196780071ff200003d007b22..."} 
[2026-06-23 22:58:58] local.INFO: Packet analysis {"connection_id":113037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef583"} 
[2026-06-23 22:58:58] local.INFO: Extracted packet for processing {"connection_id":113037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef583"} 
[2026-06-23 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252282624001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58: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-06-23 22:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782235500000,"timestamp_ms":1782235500000,"timestamp_seconds":1782235500,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5838de0"} 
[2026-06-23 22:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185613,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":190,"raw_value":1657324662872342529,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-756325873741915801,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513394964361445499,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":61,"raw_value":34656606507499520,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2180233217,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4060086333,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950578,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594552,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3189178368,"note":"Value kept but may cause issues"} 
[2026-06-23 22:58:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,190,158,233,45,128,242,61,34,10,66,151,69,1,240,255,227,245,31,4,113,205,161,103,32,239,47,2,13,7,30],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-06-23 22:58:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395648622272708608,"timestamp_seconds":4395648622272708.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 22:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":113037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":113037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":113037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252282624001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252282624001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:58:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252282624001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":113037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:58:58] local.INFO: GPS data processed {"connection_id":113037,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:58:58] local.INFO: Acknowledgment sent {"connection_id":113037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:59:06] local.INFO: TCP Data received {"connection_id":113038,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:59:06] local.INFO: Processing buffer {"connection_id":113038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 22:59:06] local.INFO: IMEI packet received {"connection_id":113038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 22:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":113038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:59:15] local.INFO: TCP Data received {"connection_id":113039,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:59:15] local.INFO: Processing buffer {"connection_id":113039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:59:15] local.INFO: IMEI packet received {"connection_id":113039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 22:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":113039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:59:20] local.INFO: TCP Data received {"connection_id":113039,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:59:20] local.INFO: Processing buffer {"connection_id":113039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 22:59:20] local.INFO: IMEI packet received {"connection_id":113039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 22:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":113039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:59:21] local.INFO: TCP Data received {"connection_id":113039,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:59:21] local.INFO: Processing buffer {"connection_id":113039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:59:21] local.INFO: Packet analysis {"connection_id":113039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:21] local.INFO: Extracted packet for processing {"connection_id":113039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:59:21] 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-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252325120001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235659000,"timestamp_ms":1782235659000,"timestamp_seconds":1782235659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585faf8"} 
[2026-06-23 22:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652629158778880,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-6341068275337658367,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-757571414257730390,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":8646923382134079488,"corrected_to":0} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419951285044445360,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":31,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.WARNING: Large IO value detected {"io_id":144,"raw_value":-3458433025379924525,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:21] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,83,85,24,241,157,16,7,158,184,45,247,11,40,10,66,44,240,139,227,192,31,144],"length":426,"final_offset":556,"validated_count":23,"validation_warnings":[{"io_id":247,"original":8646923382134079488,"validated":0}]} 
[2026-06-23 22:59:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792827220262387712,"timestamp_seconds":792827220262387.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 22:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252325120001,"66":2253,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252325120001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 22:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252325120001,"power":2253,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 22:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":113039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:59:21] local.INFO: GPS data processed {"connection_id":113039,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:59:21] local.INFO: Acknowledgment sent {"connection_id":113039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:59:24] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:24] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:24] local.INFO: IMEI packet received {"connection_id":111467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 22:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":111467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:59:28] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:28] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:28] local.INFO: IMEI packet received {"connection_id":111467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":111467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:59:29] local.INFO: TCP Data received {"connection_id":113037,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef583dfe8012d196780071ff200003d007b23..."} 
[2026-06-23 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef583dfe8012d196780071ff200003d007b23..."} 
[2026-06-23 22:59:29] local.INFO: Processing buffer {"connection_id":113037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef583dfe8012d196780071ff200003d007b23..."} 
[2026-06-23 22:59:29] local.INFO: Packet analysis {"connection_id":113037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef583"} 
[2026-06-23 22:59:29] local.INFO: Extracted packet for processing {"connection_id":113037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef583"} 
[2026-06-23 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252288000001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235521000,"timestamp_ms":1782235521000,"timestamp_seconds":1782235521,"priority":1,"record_length":96,"hex_timestamp":"0000019ef583dfe8"} 
[2026-06-23 22:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:59:29] 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-06-23 22: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-06-23 22:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252288000001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252288000001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:59:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:59:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252288000001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":113037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:59:29] local.INFO: GPS data processed {"connection_id":113037,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:59:29] local.INFO: Acknowledgment sent {"connection_id":113037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:59:33] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:33] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 22:59:33] local.INFO: IMEI packet received {"connection_id":111467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 22:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":111467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:59:34] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585b0c0012d188c0006d62178000a00652b..."} 
[2026-06-23 22:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585b0c0012d188c0006d62178000a00652b..."} 
[2026-06-23 22:59:34] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585b0c0012d188c0006d62178000a00652b..."} 
[2026-06-23 22:59:34] local.INFO: Packet analysis {"connection_id":111467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:34] local.INFO: Extracted packet for processing {"connection_id":111467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756583424,"raw_latitude":114696568,"longitude_deg":75.6583424,"latitude_deg":11.4696568,"altitude":10,"angle":101,"satellites":43,"speed":46,"hex_longitude":"2d188c00","hex_latitude":"06d62178","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252323328001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322017732818108416,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255508221714432,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:34] 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-06-23 22:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782235640000,"timestamp_ms":1782235640000,"timestamp_seconds":1782235640,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585b0c0"} 
[2026-06-23 22:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:59: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-06-23 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 22:59:34] 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-06-23 22: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-06-23 22:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252323328001,"66":27365,"191":206,"2":56576,"24":46,"16":322017732818108416,"45":1766255508221714432},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-23 22:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252323328001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:59:34] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-23 22:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322017732818108416,"km_value":322017732818108.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255508221714432,"description":"Unknown IO ID 45"} 
[2026-06-23 22:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252323328001,"power":27365,"unknown_191":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1766255508221714432}} 
[2026-06-23 22:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":111467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:59:34] local.INFO: GPS data processed {"connection_id":111467,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:59:34] local.INFO: Acknowledgment sent {"connection_id":111467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:59:36] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585c448012d18a24006d619d00008007229..."} 
[2026-06-23 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585c448012d18a24006d619d00008007229..."} 
[2026-06-23 22:59:36] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585c448012d18a24006d619d00008007229..."} 
[2026-06-23 22:59:36] local.INFO: Packet analysis {"connection_id":111467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:36] local.INFO: Extracted packet for processing {"connection_id":111467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756589120,"raw_latitude":114694608,"longitude_deg":75.658912,"latitude_deg":11.4694608,"altitude":8,"angle":114,"satellites":41,"speed":46,"hex_longitude":"2d18a240","hex_latitude":"06d619d0","is_valid_coordinates":true} 
[2026-06-23 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252323840001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322018020580917248,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768788783012083712,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:36] 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-06-23 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782235645000,"timestamp_ms":1782235645000,"timestamp_seconds":1782235645,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585c448"} 
[2026-06-23 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:59:36] 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-06-23 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 22:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 22:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":111467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 22:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252323840001,"66":27365,"191":206,"2":56576,"24":46,"16":322018020580917248,"45":1768788783012083712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-23 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252323840001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:59:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-23 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322018020580917248,"km_value":322018020580917.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768788783012083712,"description":"Unknown IO ID 45"} 
[2026-06-23 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252323840001,"power":27365,"unknown_191":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1768788783012083712}} 
[2026-06-23 22:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":111467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:59:36] local.INFO: GPS data processed {"connection_id":111467,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:59:36] local.INFO: Acknowledgment sent {"connection_id":111467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:59:50] local.INFO: TCP Data received {"connection_id":111468,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:50] local.INFO: Processing buffer {"connection_id":111468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:50] local.INFO: IMEI packet received {"connection_id":111468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 22:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":111468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 22:59:51] local.INFO: TCP Data received {"connection_id":111468,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:51] local.INFO: Processing buffer {"connection_id":111468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:51] local.INFO: IMEI packet received {"connection_id":111468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":111468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:59:53] local.INFO: TCP Data received {"connection_id":113039,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:59:53] local.INFO: Processing buffer {"connection_id":113039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 22:59:53] local.INFO: Packet analysis {"connection_id":113039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:53] local.INFO: Extracted packet for processing {"connection_id":113039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 22:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 22:59:53] 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-06-23 22:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252328704001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 22:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782235659000,"timestamp_ms":1782235659000,"timestamp_seconds":1782235659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585faf8"} 
[2026-06-23 22:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 22:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 22:59:53] 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-06-23 22:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 22:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":113039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":113039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":113039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 22:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 22:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 22:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252328704001,"66":2253,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 22:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 22:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 22:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252328704001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 22:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 22:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 22:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252328704001,"power":2253,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 22:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":113039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:59:53] local.INFO: GPS data processed {"connection_id":113039,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:59:53] local.INFO: Acknowledgment sent {"connection_id":113039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 22:59:56] local.INFO: TCP Data received {"connection_id":111468,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:56] local.INFO: Processing buffer {"connection_id":111468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 22:59:56] local.INFO: IMEI packet received {"connection_id":111468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 22:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":111468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 22:59:58] local.INFO: TCP Data received {"connection_id":111468,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58431f0012d196780071ff200003d007b24..."} 
[2026-06-23 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58431f0012d196780071ff200003d007b24..."} 
[2026-06-23 22:59:58] local.INFO: Processing buffer {"connection_id":111468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58431f0012d196780071ff200003d007b24..."} 
[2026-06-23 22:59:58] local.INFO: Packet analysis {"connection_id":111468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef584"} 
[2026-06-23 22:59:58] local.INFO: Extracted packet for processing {"connection_id":111468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef584"} 
[2026-06-23 22:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 22: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-06-23 22:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252293376001,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 22:59: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-06-23 22:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782235542000,"timestamp_ms":1782235542000,"timestamp_seconds":1782235542,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58431f0"} 
[2026-06-23 22:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 22:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 22: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 22:59:58] 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-06-23 22: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-06-23 22:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 22:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 22:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 22:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 22:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 22:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 22:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 22:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252293376001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 22:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 22:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 22:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252293376001,"description":"Unknown IO ID 0"} 
[2026-06-23 22:59:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 22:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 22:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 22:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 22:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252293376001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 22:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":111468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 22:59:58] local.INFO: GPS data processed {"connection_id":111468,"processed":1,"errors":0,"total":1} 
[2026-06-23 22:59:58] local.INFO: Acknowledgment sent {"connection_id":111468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:00:08] local.INFO: TCP Data received {"connection_id":111467,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5876258012d1a1cc006d56ff8000c007a2b..."} 
[2026-06-23 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5876258012d1a1cc006d56ff8000c007a2b..."} 
[2026-06-23 23:00:08] local.INFO: Processing buffer {"connection_id":111467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5876258012d1a1cc006d56ff8000c007a2b..."} 
[2026-06-23 23:00:08] local.INFO: Packet analysis {"connection_id":111467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:00:08] local.INFO: Extracted packet for processing {"connection_id":111467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":756686016,"raw_latitude":114651128,"longitude_deg":75.6686016,"latitude_deg":11.4651128,"altitude":12,"angle":122,"satellites":43,"speed":46,"hex_longitude":"2d1a1cc0","hex_latitude":"06d56ff8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252350208001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322023148771868672,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873286368105762816,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:08] 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-06-23 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782235751000,"timestamp_ms":1782235751000,"timestamp_seconds":1782235751,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5876258"} 
[2026-06-23 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:00:08] 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-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":111467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":111467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252350208001,"66":27484,"13":206,"2":56576,"24":46,"16":322023148771868672,"45":1873286368105762816},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-06-23 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252350208001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-23 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322023148771868672,"km_value":322023148771868.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873286368105762816,"description":"Unknown IO ID 45"} 
[2026-06-23 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252350208001,"power":27484,"unknown_13":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":1873286368105762816}} 
[2026-06-23 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":111467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:00:08] local.INFO: GPS data processed {"connection_id":111467,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:00:08] local.INFO: Acknowledgment sent {"connection_id":111467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:00:15] local.INFO: TCP Data received {"connection_id":113041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:00:15] local.INFO: Processing buffer {"connection_id":113041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:00:15] local.INFO: IMEI packet received {"connection_id":113041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":113041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:00:20] local.INFO: TCP Data received {"connection_id":113041,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:00:20] local.INFO: Processing buffer {"connection_id":113041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:00:20] local.INFO: IMEI packet received {"connection_id":113041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":113041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:00:21] local.INFO: TCP Data received {"connection_id":113041,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 23:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 23:00:21] local.INFO: Processing buffer {"connection_id":113041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 23:00:21] local.INFO: Packet analysis {"connection_id":113041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:00:21] local.INFO: Extracted packet for processing {"connection_id":113041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:00:21] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 23:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252328704001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782235659000,"timestamp_ms":1782235659000,"timestamp_seconds":1782235659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585faf8"} 
[2026-06-23 23:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 23:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 23:00:21] 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-06-23 23:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252328704001,"66":2253,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 23:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252328704001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 23:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 23:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252328704001,"power":2253,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 23:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":113041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:00:21] local.INFO: GPS data processed {"connection_id":113041,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:00:21] local.INFO: Acknowledgment sent {"connection_id":113041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:00:23] local.INFO: TCP Data received {"connection_id":113042,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:00:23] local.INFO: Processing buffer {"connection_id":113042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:00:23] local.INFO: IMEI packet received {"connection_id":113042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":113042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:00:26] local.INFO: TCP Data received {"connection_id":113042,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:00:26] local.INFO: Processing buffer {"connection_id":113042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:00:26] local.INFO: IMEI packet received {"connection_id":113042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":113042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:00:28] local.INFO: TCP Data received {"connection_id":113042,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5878198012d1a3d8006d55f00000c00712b..."} 
[2026-06-23 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5878198012d1a3d8006d55f00000c00712b..."} 
[2026-06-23 23:00:28] local.INFO: Processing buffer {"connection_id":113042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5878198012d1a3d8006d55f00000c00712b..."} 
[2026-06-23 23:00:28] local.INFO: Packet analysis {"connection_id":113042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:00:28] local.INFO: Extracted packet for processing {"connection_id":113042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756694400,"raw_latitude":114646784,"longitude_deg":75.66944,"latitude_deg":11.4646784,"altitude":12,"angle":113,"satellites":43,"speed":48,"hex_longitude":"2d1a3d80","hex_latitude":"06d55f00","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252352256001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322023599743434752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881589879917246464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235759000,"timestamp_ms":1782235759000,"timestamp_seconds":1782235759,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5878198"} 
[2026-06-23 23:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:00:28] 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-06-23 23: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-06-23 23:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252352256001,"66":27343,"10":206,"2":56576,"24":48,"16":322023599743434752,"45":1881589879917246464},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-06-23 23:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252352256001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:00:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 23:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322023599743434752,"km_value":322023599743434.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881589879917246464,"description":"Unknown IO ID 45"} 
[2026-06-23 23:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252352256001,"power":27343,"unknown_10":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":1881589879917246464}} 
[2026-06-23 23:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":113042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:00:28] local.INFO: GPS data processed {"connection_id":113042,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:00:28] local.INFO: Acknowledgment sent {"connection_id":113042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:00:29] local.INFO: TCP Data received {"connection_id":111468,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58483f8012d196780071ff200003d007b24..."} 
[2026-06-23 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58483f8012d196780071ff200003d007b24..."} 
[2026-06-23 23:00:29] local.INFO: Processing buffer {"connection_id":111468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58483f8012d196780071ff200003d007b24..."} 
[2026-06-23 23:00:29] local.INFO: Packet analysis {"connection_id":111468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef584"} 
[2026-06-23 23:00:29] local.INFO: Extracted packet for processing {"connection_id":111468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef584"} 
[2026-06-23 23:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252298752001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235563000,"timestamp_ms":1782235563000,"timestamp_seconds":1782235563,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58483f8"} 
[2026-06-23 23:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:00:29] 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-06-23 23: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-06-23 23:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252298752001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252298752001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:00:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:00:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252298752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":111468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:00:29] local.INFO: GPS data processed {"connection_id":111468,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:00:29] local.INFO: Acknowledgment sent {"connection_id":111468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:00:51] local.INFO: TCP Data received {"connection_id":112102,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:51] local.INFO: Processing buffer {"connection_id":112102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:51] local.INFO: IMEI packet received {"connection_id":112102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":112102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:00:52] local.INFO: TCP Data received {"connection_id":113041,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 23:00:52] local.INFO: Processing buffer {"connection_id":113041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585faf8012d7caa0005d3f760000b00b028..."} 
[2026-06-23 23:00:52] local.INFO: Packet analysis {"connection_id":113041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:00:52] local.INFO: Extracted packet for processing {"connection_id":113041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:00:52] local.INFO: GPS Element Parsed {"raw_longitude":763144704,"raw_latitude":97777504,"longitude_deg":76.3144704,"latitude_deg":9.7777504,"altitude":11,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d7caa00","hex_latitude":"05d3f760","is_valid_coordinates":true} 
[2026-06-23 23:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252328704001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96554335147655168,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982992431774916608,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782235659000,"timestamp_ms":1782235659000,"timestamp_seconds":1782235659,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585faf8"} 
[2026-06-23 23:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-23 23:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-23 23:00:52] 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-06-23 23:00:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":113041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":113041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":113041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252328704001,"66":2253,"83":206,"85":15104,"24":0,"16":96554335147655168,"45":8982992431774916608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-06-23 23:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252328704001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:00:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 23:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96554335147655168,"km_value":96554335147655.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982992431774916608,"description":"Unknown IO ID 45"} 
[2026-06-23 23:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252328704001,"power":2253,"unknown_83":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8982992431774916608}} 
[2026-06-23 23:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":113041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:00:52] local.INFO: GPS data processed {"connection_id":113041,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:00:52] local.INFO: Acknowledgment sent {"connection_id":113041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:00:54] local.INFO: TCP Data received {"connection_id":112102,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:54] local.INFO: Processing buffer {"connection_id":112102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:54] local.INFO: IMEI packet received {"connection_id":112102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":112102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:00:57] local.INFO: TCP Data received {"connection_id":112102,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:57] local.INFO: Processing buffer {"connection_id":112102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:00:57] local.INFO: IMEI packet received {"connection_id":112102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":112102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:00:58] local.INFO: TCP Data received {"connection_id":112102,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef584d600012d196780071ff200003d007b1f..."} 
[2026-06-23 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef584d600012d196780071ff200003d007b1f..."} 
[2026-06-23 23:00:58] local.INFO: Processing buffer {"connection_id":112102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef584d600012d196780071ff200003d007b1f..."} 
[2026-06-23 23:00:58] local.INFO: Packet analysis {"connection_id":112102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef584"} 
[2026-06-23 23:00:58] local.INFO: Extracted packet for processing {"connection_id":112102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef584"} 
[2026-06-23 23:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252304128001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:00: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-06-23 23:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782235584000,"timestamp_ms":1782235584000,"timestamp_seconds":1782235584,"priority":1,"record_length":96,"hex_timestamp":"0000019ef584d600"} 
[2026-06-23 23:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:00: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-06-23 23:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252304128001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252304128001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:00:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252304128001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":112102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:00:58] local.INFO: GPS data processed {"connection_id":112102,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:00:58] local.INFO: Acknowledgment sent {"connection_id":112102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:01:00] local.INFO: TCP Data received {"connection_id":113042,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef587a0d8012d1a614006d54d80000d00742b..."} 
[2026-06-23 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef587a0d8012d1a614006d54d80000d00742b..."} 
[2026-06-23 23:01:00] local.INFO: Processing buffer {"connection_id":113042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef587a0d8012d1a614006d54d80000d00742b..."} 
[2026-06-23 23:01:00] local.INFO: Packet analysis {"connection_id":113042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:01:00] local.INFO: Extracted packet for processing {"connection_id":113042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756703552,"raw_latitude":114642304,"longitude_deg":75.6703552,"latitude_deg":11.4642304,"altitude":13,"angle":116,"satellites":43,"speed":50,"hex_longitude":"2d1a6140","hex_latitude":"06d54d80","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252354304001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322024089369706496,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890808185403408384,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782235767000,"timestamp_ms":1782235767000,"timestamp_seconds":1782235767,"priority":1,"record_length":96,"hex_timestamp":"0000019ef587a0d8"} 
[2026-06-23 23:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:01:00] 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-06-23 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252354304001,"66":26984,"10":206,"2":56576,"24":50,"16":322024089369706496,"45":1890808185403408384},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-06-23 23:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252354304001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 23:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322024089369706496,"km_value":322024089369706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890808185403408384,"description":"Unknown IO ID 45"} 
[2026-06-23 23:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252354304001,"power":26984,"unknown_10":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1890808185403408384}} 
[2026-06-23 23:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":113042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:01:00] local.INFO: GPS data processed {"connection_id":113042,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:01:00] local.INFO: Acknowledgment sent {"connection_id":113042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:01:02] local.INFO: TCP Data received {"connection_id":112102,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5852808012d196780071ff200003d007b22..."} 
[2026-06-23 23:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5852808012d196780071ff200003d007b22..."} 
[2026-06-23 23:01:02] local.INFO: Processing buffer {"connection_id":112102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5852808012d196780071ff200003d007b22..."} 
[2026-06-23 23:01:02] local.INFO: Packet analysis {"connection_id":112102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:01:02] local.INFO: Extracted packet for processing {"connection_id":112102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252309504001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782235605000,"timestamp_ms":1782235605000,"timestamp_seconds":1782235605,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5852808"} 
[2026-06-23 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-06-23 23:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:01: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-06-23 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-06-23 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-06-23 23:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":112102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":112102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":112102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252309504001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252309504001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:01:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252309504001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":112102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:01:02] local.INFO: GPS data processed {"connection_id":112102,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:01:02] local.INFO: Acknowledgment sent {"connection_id":112102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:01:15] local.INFO: TCP Data received {"connection_id":113043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:01:15] local.INFO: Processing buffer {"connection_id":113043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:01:15] local.INFO: IMEI packet received {"connection_id":113043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":113043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:01:23] local.INFO: TCP Data received {"connection_id":113044,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:23] local.INFO: Processing buffer {"connection_id":113044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:23] local.INFO: IMEI packet received {"connection_id":113044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":113044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:01:26] local.INFO: TCP Data received {"connection_id":113044,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:26] local.INFO: Processing buffer {"connection_id":113044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:26] local.INFO: IMEI packet received {"connection_id":113044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":113044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:01:27] local.INFO: TCP Data received {"connection_id":113044,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:27] local.INFO: Processing buffer {"connection_id":113044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:01:27] local.INFO: IMEI packet received {"connection_id":113044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":113044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:01:28] local.INFO: TCP Data received {"connection_id":113044,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef587bc30012d1a820006d53d10000d00742c..."} 
[2026-06-23 23:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef587bc30012d1a820006d53d10000d00742c..."} 
[2026-06-23 23:01:28] local.INFO: Processing buffer {"connection_id":113044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef587bc30012d1a820006d53d10000d00742c..."} 
[2026-06-23 23:01:28] local.INFO: Packet analysis {"connection_id":113044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:01:28] local.INFO: Extracted packet for processing {"connection_id":113044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756711936,"raw_latitude":114638096,"longitude_deg":75.6711936,"latitude_deg":11.4638096,"altitude":13,"angle":116,"satellites":44,"speed":53,"hex_longitude":"2d1a8200","hex_latitude":"06d53d10","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252356352001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322024536046305280,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900870915819667456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235774000,"timestamp_ms":1782235774000,"timestamp_seconds":1782235774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef587bc30"} 
[2026-06-23 23:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 23:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252356352001,"66":27365,"10":206,"2":56576,"24":53,"16":322024536046305280,"45":1900870915819667456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-06-23 23:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252356352001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:01:28] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-23 23:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322024536046305280,"km_value":322024536046305.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900870915819667456,"description":"Unknown IO ID 45"} 
[2026-06-23 23:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252356352001,"power":27365,"unknown_10":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1900870915819667456}} 
[2026-06-23 23:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":113044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:01:28] local.INFO: GPS data processed {"connection_id":113044,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:01:28] local.INFO: Acknowledgment sent {"connection_id":113044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:01:31] local.INFO: TCP Data received {"connection_id":113043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:01:31] local.INFO: Processing buffer {"connection_id":113043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:01:31] local.INFO: IMEI packet received {"connection_id":113043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":113043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:01:32] local.INFO: TCP Data received {"connection_id":113043,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113043,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:01:32] local.INFO: Processing buffer {"connection_id":113043,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:01:32] local.INFO: IMEI packet received {"connection_id":113043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":113043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:01:33] local.INFO: TCP Data received {"connection_id":112102,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5857a10012d196780071ff200003d007b22..."} 
[2026-06-23 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5857a10012d196780071ff200003d007b22..."} 
[2026-06-23 23:01:33] local.INFO: Processing buffer {"connection_id":112102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5857a10012d196780071ff200003d007b22..."} 
[2026-06-23 23:01:33] local.INFO: Packet analysis {"connection_id":112102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:01:33] local.INFO: Extracted packet for processing {"connection_id":112102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252314880001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01: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-06-23 23:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782235626000,"timestamp_ms":1782235626000,"timestamp_seconds":1782235626,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5857a10"} 
[2026-06-23 23:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:01:33] 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-06-23 23:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252314880001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252314880001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:01:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252314880001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":112102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:01:33] local.INFO: GPS data processed {"connection_id":112102,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:01:33] local.INFO: Acknowledgment sent {"connection_id":112102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:01:34] local.INFO: TCP Data received {"connection_id":113044,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef587d788012d1aa44006d52c58000e00742c..."} 
[2026-06-23 23:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef587d788012d1aa44006d52c58000e00742c..."} 
[2026-06-23 23:01:34] local.INFO: Processing buffer {"connection_id":113044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef587d788012d1aa44006d52c58000e00742c..."} 
[2026-06-23 23:01:34] local.INFO: Packet analysis {"connection_id":113044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:01:34] local.INFO: Extracted packet for processing {"connection_id":113044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef587"} 
[2026-06-23 23:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":114633816,"longitude_deg":75.6720704,"latitude_deg":11.4633816,"altitude":14,"angle":116,"satellites":44,"speed":55,"hex_longitude":"2d1aa440","hex_latitude":"06d52c58","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252358144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322024999902773248,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910089221305864192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:34] 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-06-23 23:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782235781000,"timestamp_ms":1782235781000,"timestamp_seconds":1782235781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef587d788"} 
[2026-06-23 23:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:01: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-06-23 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":113044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":113044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":113044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252358144001,"66":27267,"11":206,"2":56576,"24":55,"16":322024999902773248,"45":1910089221305864192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-23 23:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252358144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:01:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 23:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322024999902773248,"km_value":322024999902773.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910089221305864192,"description":"Unknown IO ID 45"} 
[2026-06-23 23:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252358144001,"power":27267,"unknown_11":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1910089221305864192}} 
[2026-06-23 23:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":113044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:01:34] local.INFO: GPS data processed {"connection_id":113044,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:01:34] local.INFO: Acknowledgment sent {"connection_id":113044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:01:51] local.INFO: TCP Data received {"connection_id":111470,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:01:51] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:01:51] local.INFO: IMEI packet received {"connection_id":111470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":111470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:01:57] local.INFO: TCP Data received {"connection_id":111470,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:01:57] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:01:57] local.INFO: IMEI packet received {"connection_id":111470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":111470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:01:57] local.INFO: TCP Data received {"connection_id":111470,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef585cc18012d196780071ff200003d007b25..."} 
[2026-06-23 23:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef585cc18012d196780071ff200003d007b25..."} 
[2026-06-23 23:01:57] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef585cc18012d196780071ff200003d007b25..."} 
[2026-06-23 23:01:57] local.INFO: Packet analysis {"connection_id":111470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:01:57] local.INFO: Extracted packet for processing {"connection_id":111470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef585"} 
[2026-06-23 23:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252320256001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235647000,"timestamp_ms":1782235647000,"timestamp_seconds":1782235647,"priority":1,"record_length":96,"hex_timestamp":"0000019ef585cc18"} 
[2026-06-23 23:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:01: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-06-23 23:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:01:57] 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-06-23 23:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252320256001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252320256001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:01:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252320256001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":111470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:01:57] local.INFO: GPS data processed {"connection_id":111470,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:01:57] local.INFO: Acknowledgment sent {"connection_id":111470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:02:05] local.INFO: TCP Data received {"connection_id":113044,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5893330012d1bd6c006d48e90001000852d..."} 
[2026-06-23 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5893330012d1bd6c006d48e90001000852d..."} 
[2026-06-23 23:02:05] local.INFO: Processing buffer {"connection_id":113044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5893330012d1bd6c006d48e90001000852d..."} 
[2026-06-23 23:02:05] local.INFO: Packet analysis {"connection_id":113044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:02:05] local.INFO: Extracted packet for processing {"connection_id":113044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756799168,"raw_latitude":114593424,"longitude_deg":75.6799168,"latitude_deg":11.4593424,"altitude":16,"angle":133,"satellites":45,"speed":35,"hex_longitude":"2d1bd6c0","hex_latitude":"06d48e90","is_valid_coordinates":true} 
[2026-06-23 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252380160001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322029243330461696,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1998964945192085504,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:05] 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-06-23 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782235870000,"timestamp_ms":1782235870000,"timestamp_seconds":1782235870,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5893330"} 
[2026-06-23 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:02: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-06-23 23:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":113044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":113044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":113044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252380160001,"66":27310,"11":206,"2":56576,"24":35,"16":322029243330461696,"45":1998964945192085504},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-23 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252380160001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:02:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322029243330461696,"km_value":322029243330461.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1998964945192085504,"description":"Unknown IO ID 45"} 
[2026-06-23 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252380160001,"power":27310,"unknown_11":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":1998964945192085504}} 
[2026-06-23 23:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":113044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:02:05] local.INFO: GPS data processed {"connection_id":113044,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:02:05] local.INFO: Acknowledgment sent {"connection_id":113044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:02:23] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:23] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:23] local.INFO: IMEI packet received {"connection_id":111471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:02:23] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:23] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:23] local.INFO: IMEI packet received {"connection_id":111471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":111471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:02:28] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:28] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:02:28] local.INFO: IMEI packet received {"connection_id":111471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":111471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:02:29] local.INFO: TCP Data received {"connection_id":111470,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5861e20012d196780071ff200003d007b23..."} 
[2026-06-23 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5861e20012d196780071ff200003d007b23..."} 
[2026-06-23 23:02:29] local.INFO: Processing buffer {"connection_id":111470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5861e20012d196780071ff200003d007b23..."} 
[2026-06-23 23:02:29] local.INFO: Packet analysis {"connection_id":111470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef586"} 
[2026-06-23 23:02:29] local.INFO: Extracted packet for processing {"connection_id":111470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef586"} 
[2026-06-23 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252325632001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235668000,"timestamp_ms":1782235668000,"timestamp_seconds":1782235668,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5861e20"} 
[2026-06-23 23:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:02:29] 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-06-23 23: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-06-23 23:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252325632001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252325632001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:02:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252325632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":111470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:02:29] local.INFO: GPS data processed {"connection_id":111470,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:02:29] local.INFO: Acknowledgment sent {"connection_id":111470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:02:30] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5894e88012d1be78006d47d08001000912d..."} 
[2026-06-23 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5894e88012d1be78006d47d08001000912d..."} 
[2026-06-23 23:02:30] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5894e88012d1be78006d47d08001000912d..."} 
[2026-06-23 23:02:30] local.INFO: Packet analysis {"connection_id":111471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:02:30] local.INFO: Extracted packet for processing {"connection_id":111471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756803456,"raw_latitude":114588936,"longitude_deg":75.6803456,"latitude_deg":11.4588936,"altitude":16,"angle":145,"satellites":45,"speed":34,"hex_longitude":"2d1be780","hex_latitude":"06d47d08","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252382720001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322029539683205120,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006001819608584192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:30] 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-06-23 23:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782235877000,"timestamp_ms":1782235877000,"timestamp_seconds":1782235877,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5894e88"} 
[2026-06-23 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-06-23 23:02:30] 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-06-23 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":111471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252382720001,"66":27397,"11":206,"2":56576,"24":34,"16":322029539683205120,"45":2006001819608584192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-23 23:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252382720001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:02:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 23:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322029539683205120,"km_value":322029539683205.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006001819608584192,"description":"Unknown IO ID 45"} 
[2026-06-23 23:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252382720001,"power":27397,"unknown_11":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2006001819608584192}} 
[2026-06-23 23:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":111471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:02:30] local.INFO: GPS data processed {"connection_id":111471,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:02:30] local.INFO: Acknowledgment sent {"connection_id":111471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:02:51] local.INFO: TCP Data received {"connection_id":111472,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:02:51] local.INFO: Processing buffer {"connection_id":111472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:02:51] local.INFO: IMEI packet received {"connection_id":111472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":111472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:02:56] local.INFO: TCP Data received {"connection_id":111472,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:02:56] local.INFO: Processing buffer {"connection_id":111472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:02:56] local.INFO: IMEI packet received {"connection_id":111472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":111472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:02:57] local.INFO: TCP Data received {"connection_id":111472,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5867028012d196780071ff200003d007b23..."} 
[2026-06-23 23:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5867028012d196780071ff200003d007b23..."} 
[2026-06-23 23:02:57] local.INFO: Processing buffer {"connection_id":111472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5867028012d196780071ff200003d007b23..."} 
[2026-06-23 23:02:57] local.INFO: Packet analysis {"connection_id":111472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef586"} 
[2026-06-23 23:02:57] local.INFO: Extracted packet for processing {"connection_id":111472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef586"} 
[2026-06-23 23:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252331008001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782235689000,"timestamp_ms":1782235689000,"timestamp_seconds":1782235689,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5867028"} 
[2026-06-23 23:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:02: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-06-23 23:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:02:57] 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-06-23 23:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252331008001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252331008001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252331008001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":111472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:02:57] local.INFO: GPS data processed {"connection_id":111472,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:02:57] local.INFO: Acknowledgment sent {"connection_id":111472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:03:01] local.INFO: TCP Data received {"connection_id":111471,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5895a40012d1bec0006d473d00010009e2d..."} 
[2026-06-23 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5895a40012d1bec0006d473d00010009e2d..."} 
[2026-06-23 23:03:01] local.INFO: Processing buffer {"connection_id":111471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5895a40012d1bec0006d473d00010009e2d..."} 
[2026-06-23 23:03:01] local.INFO: Packet analysis {"connection_id":111471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:03:01] local.INFO: Extracted packet for processing {"connection_id":111471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756804608,"raw_latitude":114586576,"longitude_deg":75.6804608,"latitude_deg":11.4586576,"altitude":16,"angle":158,"satellites":45,"speed":35,"hex_longitude":"2d1bec00","hex_latitude":"06d473d0","is_valid_coordinates":true} 
[2026-06-23 23:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252384512001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322029668532224000,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2010716525467338752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:01] 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-06-23 23:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782235880000,"timestamp_ms":1782235880000,"timestamp_seconds":1782235880,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5895a40"} 
[2026-06-23 23:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252384512001,"66":27321,"11":206,"2":56576,"24":35,"16":322029668532224000,"45":2010716525467338752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-23 23:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252384512001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-23 23:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322029668532224000,"km_value":322029668532224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2010716525467338752,"description":"Unknown IO ID 45"} 
[2026-06-23 23:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252384512001,"power":27321,"unknown_11":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2010716525467338752}} 
[2026-06-23 23:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":111471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:03:01] local.INFO: GPS data processed {"connection_id":111471,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:03:01] local.INFO: Acknowledgment sent {"connection_id":111471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:03:28] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:03:28] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:03:28] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:03:28] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:03:28] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:03:28] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:03:29] local.INFO: TCP Data received {"connection_id":111472,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef589f680012d196780071ff200003d007b23..."} 
[2026-06-23 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef589f680012d196780071ff200003d007b23..."} 
[2026-06-23 23:03:29] local.INFO: Processing buffer {"connection_id":111472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef589f680012d196780071ff200003d007b23..."} 
[2026-06-23 23:03:29] local.INFO: Packet analysis {"connection_id":111472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:03:29] local.INFO: Extracted packet for processing {"connection_id":111472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef589"} 
[2026-06-23 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252390144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782235920000,"timestamp_ms":1782235920000,"timestamp_seconds":1782235920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef589f680"} 
[2026-06-23 23:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:03:29] 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-06-23 23:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252390144001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252390144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252390144001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":111472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:03:29] local.INFO: GPS data processed {"connection_id":111472,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:03:29] local.INFO: Acknowledgment sent {"connection_id":111472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:03:33] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:03:33] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:03:33] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:03:34] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58a5440012d1c9a8006d3bef0001000952c..."} 
[2026-06-23 23:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58a5440012d1c9a8006d3bef0001000952c..."} 
[2026-06-23 23:03:34] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef5..."} 
[2026-06-23 23:03:34] local.INFO: IMEI packet received {"connection_id":111300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":111300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:03:39] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58a7380012d1cab4006d39c30000f009f29..."} 
[2026-06-23 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58a7380012d1cab4006d39c30000f009f29..."} 
[2026-06-23 23:03:39] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef58a5440012d1c9a8006d3bef0001000952c..."} 
[2026-06-23 23:03:39] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:03:39] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756849280,"raw_latitude":114540272,"longitude_deg":75.684928,"latitude_deg":11.4540272,"altitude":16,"angle":149,"satellites":44,"speed":46,"hex_longitude":"2d1c9a80","hex_latitude":"06d3bef0","is_valid_coordinates":true} 
[2026-06-23 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252399616001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322032898347630592,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2056315471684069376,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782235944000,"timestamp_ms":1782235944000,"timestamp_seconds":1782235944,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58a5440"} 
[2026-06-23 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:03: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-06-23 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:03:39] 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-06-23 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252399616001,"66":27397,"113":206,"2":56576,"24":46,"16":322032898347630592,"45":2056315471684069376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252399616001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:03:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322032898347630592,"km_value":322032898347630.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2056315471684069376,"description":"Unknown IO ID 45"} 
[2026-06-23 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252399616001,"power":27397,"unknown_113":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2056315471684069376}} 
[2026-06-23 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:03:39] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:03:39] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:03:39] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:03:39] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756853568,"raw_latitude":114531376,"longitude_deg":75.6853568,"latitude_deg":11.4531376,"altitude":15,"angle":159,"satellites":41,"speed":48,"hex_longitude":"2d1cab40","hex_latitude":"06d39c30","is_valid_coordinates":true} 
[2026-06-23 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252401664001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322033375089000448,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2061100546286088192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782235952000,"timestamp_ms":1782235952000,"timestamp_seconds":1782235952,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58a7380"} 
[2026-06-23 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:03: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-06-23 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252401664001,"66":26963,"113":206,"2":56576,"24":48,"16":322033375089000448,"45":2061100546286088192},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-06-23 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252401664001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:03:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322033375089000448,"km_value":322033375089000.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2061100546286088192,"description":"Unknown IO ID 45"} 
[2026-06-23 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252401664001,"power":26963,"unknown_113":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":2061100546286088192}} 
[2026-06-23 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:03:39] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:03:39] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:03:40] local.INFO: TCP Data received {"connection_id":111300,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58a8ed8012d1cb78006d38148001000922b..."} 
[2026-06-23 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58a8ed8012d1cb78006d38148001000922b..."} 
[2026-06-23 23:03:40] local.INFO: Processing buffer {"connection_id":111300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58a8ed8012d1cb78006d38148001000922b..."} 
[2026-06-23 23:03:40] local.INFO: Packet analysis {"connection_id":111300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:03:40] local.INFO: Extracted packet for processing {"connection_id":111300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":756856704,"raw_latitude":114524488,"longitude_deg":75.6856704,"latitude_deg":11.4524488,"altitude":16,"angle":146,"satellites":43,"speed":35,"hex_longitude":"2d1cb780","hex_latitude":"06d38148","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252403712001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322033740161220608,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2065815252143714304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782235959000,"timestamp_ms":1782235959000,"timestamp_seconds":1782235959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58a8ed8"} 
[2026-06-23 23:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:03: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-06-23 23: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-06-23 23:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":111300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":111300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252403712001,"66":27397,"113":206,"2":56576,"24":35,"16":322033740161220608,"45":2065815252143714304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-06-23 23:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252403712001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:03:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 23:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322033740161220608,"km_value":322033740161220.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2065815252143714304,"description":"Unknown IO ID 45"} 
[2026-06-23 23:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252403712001,"power":27397,"unknown_113":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2065815252143714304}} 
[2026-06-23 23:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":111300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:03:40] local.INFO: GPS data processed {"connection_id":111300,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:03:40] local.INFO: Acknowledgment sent {"connection_id":111300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:03:56] local.INFO: TCP Data received {"connection_id":111301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:03:56] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:03:56] local.INFO: IMEI packet received {"connection_id":111301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":111301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:04:01] local.INFO: TCP Data received {"connection_id":111301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:01] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:01] local.INFO: IMEI packet received {"connection_id":111301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":111301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:04:02] local.INFO: TCP Data received {"connection_id":111301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58a4888012d196780071ff200003d007b25..."} 
[2026-06-23 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58a4888012d196780071ff200003d007b25..."} 
[2026-06-23 23:04:02] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58a4888012d196780071ff200003d007b25..."} 
[2026-06-23 23:04:02] local.INFO: Packet analysis {"connection_id":111301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:02] local.INFO: Extracted packet for processing {"connection_id":111301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252395520001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782235941000,"timestamp_ms":1782235941000,"timestamp_seconds":1782235941,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58a4888"} 
[2026-06-23 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-06-23 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 23:04:02] 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-06-23 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-06-23 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-06-23 23:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252395520001,"66":12178,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252395520001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252395520001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":111301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:04:03] local.INFO: GPS data processed {"connection_id":111301,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:04:03] local.INFO: Acknowledgment sent {"connection_id":111301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:04:03] local.INFO: TCP Data received {"connection_id":111301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58a9a90012d196780071ff200003d007b23..."} 
[2026-06-23 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58a9a90012d196780071ff200003d007b23..."} 
[2026-06-23 23:04:03] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58a9a90012d196780071ff200003d007b23..."} 
[2026-06-23 23:04:03] local.INFO: Packet analysis {"connection_id":111301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:03] local.INFO: Extracted packet for processing {"connection_id":111301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252400896001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782235962000,"timestamp_ms":1782235962000,"timestamp_seconds":1782235962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58a9a90"} 
[2026-06-23 23:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":146,"data_length":795,"current_offset":136} 
[2026-06-23 23:04:03] 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-06-23 23: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-06-23 23:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252400896001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252400896001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252400896001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":111301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:04:03] local.INFO: GPS data processed {"connection_id":111301,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:04:03] local.INFO: Acknowledgment sent {"connection_id":111301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:04:21] local.INFO: TCP Data received {"connection_id":113045,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:21] local.INFO: Processing buffer {"connection_id":113045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:21] local.INFO: IMEI packet received {"connection_id":113045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":113045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:04:23] local.INFO: TCP Data received {"connection_id":113045,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:23] local.INFO: Processing buffer {"connection_id":113045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:23] local.INFO: IMEI packet received {"connection_id":113045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":113045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:04:26] local.INFO: TCP Data received {"connection_id":112104,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:04:26] local.INFO: Processing buffer {"connection_id":112104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:04:26] local.INFO: IMEI packet received {"connection_id":112104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":112104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:04:26] local.INFO: TCP Data received {"connection_id":113045,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:26] local.INFO: Processing buffer {"connection_id":113045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:04:26] local.INFO: IMEI packet received {"connection_id":113045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":113045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:04:28] local.INFO: TCP Data received {"connection_id":113045,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58ab9d0012d1ccf4006d364d8001400872d..."} 
[2026-06-23 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58ab9d0012d1ccf4006d364d8001400872d..."} 
[2026-06-23 23:04:28] local.INFO: Processing buffer {"connection_id":113045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58ab9d0012d1ccf4006d364d8001400872d..."} 
[2026-06-23 23:04:28] local.INFO: Packet analysis {"connection_id":113045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:28] local.INFO: Extracted packet for processing {"connection_id":113045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756862784,"raw_latitude":114517208,"longitude_deg":75.6862784,"latitude_deg":11.4517208,"altitude":20,"angle":135,"satellites":45,"speed":37,"hex_longitude":"2d1ccf40","hex_latitude":"06d364d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252405504001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322034199722721280,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2069263320606656512,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235970000,"timestamp_ms":1782235970000,"timestamp_seconds":1782235970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58ab9d0"} 
[2026-06-23 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-06-23 23:04:28] 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-06-23 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252405504001,"66":27343,"113":206,"2":56576,"24":37,"16":322034199722721280,"45":2069263320606656512},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-06-23 23:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252405504001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:04:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 23:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322034199722721280,"km_value":322034199722721.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2069263320606656512,"description":"Unknown IO ID 45"} 
[2026-06-23 23:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252405504001,"power":27343,"unknown_113":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2069263320606656512}} 
[2026-06-23 23:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":113045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:04:28] local.INFO: GPS data processed {"connection_id":113045,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:04:28] local.INFO: Acknowledgment sent {"connection_id":113045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:04:35] local.INFO: TCP Data received {"connection_id":111301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58aec98012d196780071ff200003d007b23..."} 
[2026-06-23 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58aec98012d196780071ff200003d007b23..."} 
[2026-06-23 23:04:35] local.INFO: Processing buffer {"connection_id":111301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58aec98012d196780071ff200003d007b23..."} 
[2026-06-23 23:04:35] local.INFO: Packet analysis {"connection_id":111301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:35] local.INFO: Extracted packet for processing {"connection_id":111301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":35,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252406272001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04: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-06-23 23:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782235983000,"timestamp_ms":1782235983000,"timestamp_seconds":1782235983,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58aec98"} 
[2026-06-23 23:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:04: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-06-23 23: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-06-23 23:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252406272001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252406272001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:04:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252406272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":111301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:04:35] local.INFO: GPS data processed {"connection_id":111301,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:04:35] local.INFO: Acknowledgment sent {"connection_id":111301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:04:51] local.INFO: TCP Data received {"connection_id":111302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:51] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:51] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:04:56] local.INFO: TCP Data received {"connection_id":111302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:56] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:04:56] local.INFO: IMEI packet received {"connection_id":111302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":111302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:04:57] local.INFO: TCP Data received {"connection_id":111302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58b3ea0012d196780071ff200003d007b24..."} 
[2026-06-23 23:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58b3ea0012d196780071ff200003d007b24..."} 
[2026-06-23 23:04:57] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58b3ea0012d196780071ff200003d007b24..."} 
[2026-06-23 23:04:57] local.INFO: Packet analysis {"connection_id":111302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58b"} 
[2026-06-23 23:04:57] local.INFO: Extracted packet for processing {"connection_id":111302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58b"} 
[2026-06-23 23:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252411648001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236004000,"timestamp_ms":1782236004000,"timestamp_seconds":1782236004,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58b3ea0"} 
[2026-06-23 23:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:04: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-06-23 23:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:04:57] 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-06-23 23:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252411648001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252411648001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252411648001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":111302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:04:57] local.INFO: GPS data processed {"connection_id":111302,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:04:57] local.INFO: Acknowledgment sent {"connection_id":111302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:05:00] local.INFO: TCP Data received {"connection_id":113045,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58ab9d0012d1ccf4006d364d8001400872d..."} 
[2026-06-23 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58ab9d0012d1ccf4006d364d8001400872d..."} 
[2026-06-23 23:05:00] local.INFO: Processing buffer {"connection_id":113045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58ab9d0012d1ccf4006d364d8001400872d..."} 
[2026-06-23 23:05:00] local.INFO: Packet analysis {"connection_id":113045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:05:00] local.INFO: Extracted packet for processing {"connection_id":113045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756862784,"raw_latitude":114517208,"longitude_deg":75.6862784,"latitude_deg":11.4517208,"altitude":20,"angle":135,"satellites":45,"speed":37,"hex_longitude":"2d1ccf40","hex_latitude":"06d364d8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252408320001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322034199722721280,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2075948351301670912,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782235970000,"timestamp_ms":1782235970000,"timestamp_seconds":1782235970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58ab9d0"} 
[2026-06-23 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-06-23 23:05:00] 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-06-23 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252408320001,"66":27343,"113":206,"2":56576,"24":37,"16":322034199722721280,"45":2075948351301670912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-06-23 23:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252408320001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:05:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 23:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322034199722721280,"km_value":322034199722721.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2075948351301670912,"description":"Unknown IO ID 45"} 
[2026-06-23 23:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252408320001,"power":27343,"unknown_113":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2075948351301670912}} 
[2026-06-23 23:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":113045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:05:00] local.INFO: GPS data processed {"connection_id":113045,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:05:00] local.INFO: Acknowledgment sent {"connection_id":113045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:05:05] local.INFO: TCP Data received {"connection_id":111303,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:05:05] local.INFO: Processing buffer {"connection_id":111303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:05:05] local.INFO: IMEI packet received {"connection_id":111303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":111303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:05:23] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:05:23] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:05:23] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:05:27] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:05:27] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:05:27] local.INFO: IMEI packet received {"connection_id":111305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":111305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:05:28] local.INFO: TCP Data received {"connection_id":111302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58b90a8012d196780071ff200003d007b25..."} 
[2026-06-23 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58b90a8012d196780071ff200003d007b25..."} 
[2026-06-23 23:05:28] local.INFO: Processing buffer {"connection_id":111302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58b90a8012d196780071ff200003d007b25..."} 
[2026-06-23 23:05:28] local.INFO: Packet analysis {"connection_id":111302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58b"} 
[2026-06-23 23:05:28] local.INFO: Extracted packet for processing {"connection_id":111302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58b"} 
[2026-06-23 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252417024001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236025000,"timestamp_ms":1782236025000,"timestamp_seconds":1782236025,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58b90a8"} 
[2026-06-23 23:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:05:28] 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-06-23 23: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-06-23 23:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252417024001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252417024001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252417024001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":111302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:05:28] local.INFO: GPS data processed {"connection_id":111302,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:05:28] local.INFO: Acknowledgment sent {"connection_id":111302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:05:28] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58ae0e0012d1ce94006d34ac00011008a2c..."} 
[2026-06-23 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58ae0e0012d1ce94006d34ac00011008a2c..."} 
[2026-06-23 23:05:28] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58ae0e0012d1ce94006d34ac00011008a2c..."} 
[2026-06-23 23:05:28] local.INFO: Packet analysis {"connection_id":111305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:05:28] local.INFO: Extracted packet for processing {"connection_id":111305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58a"} 
[2026-06-23 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756869440,"raw_latitude":114510528,"longitude_deg":75.686944,"latitude_deg":11.4510528,"altitude":17,"angle":138,"satellites":44,"speed":36,"hex_longitude":"2d1ce940","hex_latitude":"06d34ac0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252408320001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322034650694287360,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2075948351301670912,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782235980000,"timestamp_ms":1782235980000,"timestamp_seconds":1782235980,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58ae0e0"} 
[2026-06-23 23:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:05:28] 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-06-23 23: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-06-23 23:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252408320001,"66":27484,"113":206,"2":56576,"24":36,"16":322034650694287360,"45":2075948351301670912},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-06-23 23:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252408320001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-23 23:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322034650694287360,"km_value":322034650694287.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2075948351301670912,"description":"Unknown IO ID 45"} 
[2026-06-23 23:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252408320001,"power":27484,"unknown_113":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2075948351301670912}} 
[2026-06-23 23:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":111305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:05:28] local.INFO: GPS data processed {"connection_id":111305,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:05:28] local.INFO: Acknowledgment sent {"connection_id":111305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:05:51] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:05:51] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:05:51] local.INFO: IMEI packet received {"connection_id":111474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":111474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:05:56] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:05:56] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:05:56] local.INFO: IMEI packet received {"connection_id":111474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":111474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:05:57] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58be2b0012d196780071ff200003d007b24..."} 
[2026-06-23 23:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58be2b0012d196780071ff200003d007b24..."} 
[2026-06-23 23:05:57] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58be2b0012d196780071ff200003d007b24..."} 
[2026-06-23 23:05:57] local.INFO: Packet analysis {"connection_id":111474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58b"} 
[2026-06-23 23:05:57] local.INFO: Extracted packet for processing {"connection_id":111474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58b"} 
[2026-06-23 23:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:05: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-06-23 23:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252422400001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236046000,"timestamp_ms":1782236046000,"timestamp_seconds":1782236046,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58be2b0"} 
[2026-06-23 23:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:05: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-06-23 23:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:05:57] 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-06-23 23:05: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-06-23 23:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252422400001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252422400001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:05:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252422400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":111474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:05:57] local.INFO: GPS data processed {"connection_id":111474,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:05:57] local.INFO: Acknowledgment sent {"connection_id":111474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:06:00] local.INFO: TCP Data received {"connection_id":111305,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58c6398012d1da38006d229b0001300822e..."} 
[2026-06-23 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58c6398012d1da38006d229b0001300822e..."} 
[2026-06-23 23:06:00] local.INFO: Processing buffer {"connection_id":111305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58c6398012d1da38006d229b0001300822e..."} 
[2026-06-23 23:06:00] local.INFO: Packet analysis {"connection_id":111305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:00] local.INFO: Extracted packet for processing {"connection_id":111305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756917120,"raw_latitude":114436528,"longitude_deg":75.691712,"latitude_deg":11.4436528,"altitude":19,"angle":130,"satellites":46,"speed":11,"hex_longitude":"2d1da380","hex_latitude":"06d229b0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252433152001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322038937071648768,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2128021221973970944,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:00] 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-06-23 23:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782236079000,"timestamp_ms":1782236079000,"timestamp_seconds":1782236079,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58c6398"} 
[2026-06-23 23:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:06:00] 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-06-23 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252433152001,"66":27463,"79":206,"2":56576,"24":11,"16":322038937071648768,"45":2128021221973970944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-06-23 23:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252433152001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:06:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322038937071648768,"km_value":322038937071648.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2128021221973970944,"description":"Unknown IO ID 45"} 
[2026-06-23 23:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252433152001,"power":27463,"unknown_79":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":2128021221973970944}} 
[2026-06-23 23:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":111305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:06:00] local.INFO: GPS data processed {"connection_id":111305,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:06:00] local.INFO: Acknowledgment sent {"connection_id":111305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:06:22] local.INFO: TCP Data received {"connection_id":111475,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:22] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:22] local.INFO: IMEI packet received {"connection_id":111475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":111475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:06:22] local.INFO: TCP Data received {"connection_id":111475,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:22] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:22] local.INFO: IMEI packet received {"connection_id":111475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":111475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:06:27] local.INFO: TCP Data received {"connection_id":111475,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:27] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:06:27] local.INFO: IMEI packet received {"connection_id":111475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":111475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:06:28] local.INFO: TCP Data received {"connection_id":111474,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58c34b8012d196780071ff200003d007b26..."} 
[2026-06-23 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58c34b8012d196780071ff200003d007b26..."} 
[2026-06-23 23:06:28] local.INFO: Processing buffer {"connection_id":111474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58c34b8012d196780071ff200003d007b26..."} 
[2026-06-23 23:06:28] local.INFO: Packet analysis {"connection_id":111474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:28] local.INFO: Extracted packet for processing {"connection_id":111474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252427776001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236067000,"timestamp_ms":1782236067000,"timestamp_seconds":1782236067,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58c34b8"} 
[2026-06-23 23:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:06:28] 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-06-23 23:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252427776001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252427776001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252427776001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":111474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:06:29] local.INFO: GPS data processed {"connection_id":111474,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:06:29] local.INFO: Acknowledgment sent {"connection_id":111474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:06:29] local.INFO: TCP Data received {"connection_id":111475,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58cb5a0012d1dbdc006d213d8001300842e..."} 
[2026-06-23 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58cb5a0012d1dbdc006d213d8001300842e..."} 
[2026-06-23 23:06:29] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58cb5a0012d1dbdc006d213d8001300842e..."} 
[2026-06-23 23:06:29] local.INFO: Packet analysis {"connection_id":111475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:29] local.INFO: Extracted packet for processing {"connection_id":111475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756923840,"raw_latitude":114430936,"longitude_deg":75.692384,"latitude_deg":11.4430936,"altitude":19,"angle":132,"satellites":46,"speed":18,"hex_longitude":"2d1dbdc0","hex_latitude":"06d213d8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252436224001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322039357978443776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135691415087853568,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:29] 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-06-23 23:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236100000,"timestamp_ms":1782236100000,"timestamp_seconds":1782236100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58cb5a0"} 
[2026-06-23 23:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:06:29] 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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:06:29] 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-06-23 23: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-06-23 23:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252436224001,"66":27343,"77":206,"2":56576,"24":18,"16":322039357978443776,"45":2135691415087853568},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-06-23 23:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252436224001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:06:29] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-23 23:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322039357978443776,"km_value":322039357978443.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135691415087853568,"description":"Unknown IO ID 45"} 
[2026-06-23 23:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252436224001,"power":27343,"unknown_77":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2135691415087853568}} 
[2026-06-23 23:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":111475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:06:29] local.INFO: GPS data processed {"connection_id":111475,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:06:29] local.INFO: Acknowledgment sent {"connection_id":111475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:06:35] local.INFO: TCP Data received {"connection_id":112106,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:06:35] local.INFO: Processing buffer {"connection_id":112106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:06:35] local.INFO: IMEI packet received {"connection_id":112106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":112106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:06:36] local.INFO: TCP Data received {"connection_id":112106,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58dcaf8012d7d37c005d3b9080000009029..."} 
[2026-06-23 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58dcaf8012d7d37c005d3b9080000009029..."} 
[2026-06-23 23:06:36] local.INFO: Processing buffer {"connection_id":112106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58dcaf8012d7d37c005d3b9080000009029..."} 
[2026-06-23 23:06:36] local.INFO: Packet analysis {"connection_id":112106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:06:36] local.INFO: Extracted packet for processing {"connection_id":112106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":97761544,"longitude_deg":76.3180992,"latitude_deg":9.7761544,"altitude":0,"angle":144,"satellites":41,"speed":6,"hex_longitude":"2d7d37c0","hex_latitude":"05d3b908","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252459008001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96556869178359808,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297254561792,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782236171000,"timestamp_ms":1782236171000,"timestamp_seconds":1782236171,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58dcaf8"} 
[2026-06-23 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:06:36] 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-06-23 23: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 23:06:36] 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-06-23 23: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-06-23 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252459008001,"66":11950,"81":206,"85":15104,"24":6,"16":96556869178359808,"45":9022469297254561792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-23 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252459008001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96556869178359808,"km_value":96556869178359.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297254561792,"description":"Unknown IO ID 45"} 
[2026-06-23 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252459008001,"power":11950,"unknown_81":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9022469297254561792}} 
[2026-06-23 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":112106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:06:36] local.INFO: GPS data processed {"connection_id":112106,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:06:36] local.INFO: Acknowledgment sent {"connection_id":112106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:06:50] local.INFO: TCP Data received {"connection_id":111306,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:50] local.INFO: Processing buffer {"connection_id":111306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:50] local.INFO: IMEI packet received {"connection_id":111306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":111306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:06:51] local.INFO: TCP Data received {"connection_id":111306,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:51] local.INFO: Processing buffer {"connection_id":111306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:51] local.INFO: IMEI packet received {"connection_id":111306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":111306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:06:56] local.INFO: TCP Data received {"connection_id":111306,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:56] local.INFO: Processing buffer {"connection_id":111306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:06:56] local.INFO: IMEI packet received {"connection_id":111306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":111306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:06:57] local.INFO: TCP Data received {"connection_id":111306,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58c86c0012d196780071ff200003d007b25..."} 
[2026-06-23 23:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58c86c0012d196780071ff200003d007b25..."} 
[2026-06-23 23:06:57] local.INFO: Processing buffer {"connection_id":111306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58c86c0012d196780071ff200003d007b25..."} 
[2026-06-23 23:06:57] local.INFO: Packet analysis {"connection_id":111306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:57] local.INFO: Extracted packet for processing {"connection_id":111306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252433152001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236088000,"timestamp_ms":1782236088000,"timestamp_seconds":1782236088,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58c86c0"} 
[2026-06-23 23:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:06:57] 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-06-23 23: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-06-23 23:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252433152001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252433152001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:06:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252433152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":111306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:06:57] local.INFO: GPS data processed {"connection_id":111306,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:06:57] local.INFO: Acknowledgment sent {"connection_id":111306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:07:01] local.INFO: TCP Data received {"connection_id":111475,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58cf038012d1dd98006d1fac0001200812c..."} 
[2026-06-23 23:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58cf038012d1dd98006d1fac0001200812c..."} 
[2026-06-23 23:07:01] local.INFO: Processing buffer {"connection_id":111475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58cf038012d1dd98006d1fac0001200812c..."} 
[2026-06-23 23:07:01] local.INFO: Packet analysis {"connection_id":111475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:07:01] local.INFO: Extracted packet for processing {"connection_id":111475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:07:01] local.INFO: GPS Element Parsed {"raw_longitude":756930944,"raw_latitude":114424512,"longitude_deg":75.6930944,"latitude_deg":11.4424512,"altitude":18,"angle":129,"satellites":44,"speed":28,"hex_longitude":"2d1dd980","hex_latitude":"06d1fac0","is_valid_coordinates":true} 
[2026-06-23 23:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252441600001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322039817539944448,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2143080133225076736,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:01] 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-06-23 23:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236115000,"timestamp_ms":1782236115000,"timestamp_seconds":1782236115,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58cf038"} 
[2026-06-23 23:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252441600001,"66":27397,"77":206,"2":56576,"24":28,"16":322039817539944448,"45":2143080133225076736},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-06-23 23:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252441600001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-23 23:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322039817539944448,"km_value":322039817539944.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2143080133225076736,"description":"Unknown IO ID 45"} 
[2026-06-23 23:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252441600001,"power":27397,"unknown_77":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":2143080133225076736}} 
[2026-06-23 23:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":111475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:07:01] local.INFO: GPS data processed {"connection_id":111475,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:07:01] local.INFO: Acknowledgment sent {"connection_id":111475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:07:15] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:07:15] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:07:15] local.INFO: IMEI packet received {"connection_id":111476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":111476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:07:20] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:07:20] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:07:20] local.INFO: IMEI packet received {"connection_id":111476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":111476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:07:21] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58dcee0012d7d380005d3b868000000a229..."} 
[2026-06-23 23:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58dcee0012d7d380005d3b868000000a229..."} 
[2026-06-23 23:07:21] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58dcee0012d7d380005d3b868000000a229..."} 
[2026-06-23 23:07:21] local.INFO: Packet analysis {"connection_id":111476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:21] local.INFO: Extracted packet for processing {"connection_id":111476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":763181056,"raw_latitude":97761384,"longitude_deg":76.3181056,"latitude_deg":9.7761384,"altitude":0,"angle":162,"satellites":41,"speed":7,"hex_longitude":"2d7d3800","hex_latitude":"05d3b868","is_valid_coordinates":true} 
[2026-06-23 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252459776001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96556877768294400,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022891509719566336,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236172000,"timestamp_ms":1782236172000,"timestamp_seconds":1782236172,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58dcee0"} 
[2026-06-23 23:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:07:21] 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-06-23 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252459776001,"66":11950,"81":206,"85":15104,"24":7,"16":96556877768294400,"45":9022891509719566336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-23 23:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252459776001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-23 23:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96556877768294400,"km_value":96556877768294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022891509719566336,"description":"Unknown IO ID 45"} 
[2026-06-23 23:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252459776001,"power":11950,"unknown_81":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9022891509719566336}} 
[2026-06-23 23:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":111476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:07:21] local.INFO: GPS data processed {"connection_id":111476,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:07:21] local.INFO: Acknowledgment sent {"connection_id":111476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:07:22] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:07:23] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:07:23] local.INFO: IMEI packet received {"connection_id":111308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":111308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:07:28] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:07:28] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:07:28] local.INFO: IMEI packet received {"connection_id":111308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":111308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:07:28] local.INFO: TCP Data received {"connection_id":111306,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58cd8c8012d196780071ff200003d007b24..."} 
[2026-06-23 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58cd8c8012d196780071ff200003d007b24..."} 
[2026-06-23 23:07:28] local.INFO: Processing buffer {"connection_id":111306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58cd8c8012d196780071ff200003d007b24..."} 
[2026-06-23 23:07:28] local.INFO: Packet analysis {"connection_id":111306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:07:28] local.INFO: Extracted packet for processing {"connection_id":111306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58c"} 
[2026-06-23 23:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252438528001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236109000,"timestamp_ms":1782236109000,"timestamp_seconds":1782236109,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58cd8c8"} 
[2026-06-23 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-06-23 23:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:07:28] 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-06-23 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-06-23 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-06-23 23:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252438528001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252438528001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252438528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":111306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:07:28] local.INFO: GPS data processed {"connection_id":111306,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:07:28] local.INFO: Acknowledgment sent {"connection_id":111306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:07:29] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58d0f78012d1de9c006d1eb300013008c2d..."} 
[2026-06-23 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58d0f78012d1de9c006d1eb300013008c2d..."} 
[2026-06-23 23:07:29] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58d0f78012d1de9c006d1eb300013008c2d..."} 
[2026-06-23 23:07:29] local.INFO: Packet analysis {"connection_id":111308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:29] local.INFO: Extracted packet for processing {"connection_id":111308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":756935104,"raw_latitude":114420528,"longitude_deg":75.6935104,"latitude_deg":11.4420528,"altitude":19,"angle":140,"satellites":45,"speed":27,"hex_longitude":"2d1de9c0","hex_latitude":"06d1eb30","is_valid_coordinates":true} 
[2026-06-23 23:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252445440001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322040092417851392,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2150891063827152896,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:29] 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-06-23 23:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236123000,"timestamp_ms":1782236123000,"timestamp_seconds":1782236123,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58d0f78"} 
[2026-06-23 23:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:07:29] 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-06-23 23:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252445440001,"66":27376,"77":206,"2":56576,"24":27,"16":322040092417851392,"45":2150891063827152896},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-06-23 23:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252445440001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:07:29] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-23 23:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322040092417851392,"km_value":322040092417851.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2150891063827152896,"description":"Unknown IO ID 45"} 
[2026-06-23 23:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252445440001,"power":27376,"unknown_77":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2150891063827152896}} 
[2026-06-23 23:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":111308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:07:29] local.INFO: GPS data processed {"connection_id":111308,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:07:29] local.INFO: Acknowledgment sent {"connection_id":111308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:07:51] local.INFO: TCP Data received {"connection_id":111477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:51] local.INFO: Processing buffer {"connection_id":111477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:51] local.INFO: IMEI packet received {"connection_id":111477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":111477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:07:53] local.INFO: TCP Data received {"connection_id":111476,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58dd2c8012d7d388005d3b7a8000000af29..."} 
[2026-06-23 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58dd2c8012d7d388005d3b7a8000000af29..."} 
[2026-06-23 23:07:53] local.INFO: Processing buffer {"connection_id":111476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58dd2c8012d7d388005d3b7a8000000af29..."} 
[2026-06-23 23:07:53] local.INFO: Packet analysis {"connection_id":111476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:53] local.INFO: Extracted packet for processing {"connection_id":111476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97761192,"longitude_deg":76.3181184,"latitude_deg":9.7761192,"altitude":0,"angle":175,"satellites":41,"speed":8,"hex_longitude":"2d7d3880","hex_latitude":"05d3b7a8","is_valid_coordinates":true} 
[2026-06-23 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252460032001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96556886358228992,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022961878463703040,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782236173000,"timestamp_ms":1782236173000,"timestamp_seconds":1782236173,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58dd2c8"} 
[2026-06-23 23:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252460032001,"66":11950,"81":206,"85":15104,"24":8,"16":96556886358228992,"45":9022961878463703040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-23 23:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252460032001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-23 23:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96556886358228992,"km_value":96556886358228.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022961878463703040,"description":"Unknown IO ID 45"} 
[2026-06-23 23:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252460032001,"power":11950,"unknown_81":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9022961878463703040}} 
[2026-06-23 23:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":111476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:07:53] local.INFO: GPS data processed {"connection_id":111476,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:07:53] local.INFO: Acknowledgment sent {"connection_id":111476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:07:54] local.INFO: TCP Data received {"connection_id":111477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:54] local.INFO: Processing buffer {"connection_id":111477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:54] local.INFO: IMEI packet received {"connection_id":111477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":111477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:07:56] local.INFO: TCP Data received {"connection_id":111477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:56] local.INFO: Processing buffer {"connection_id":111477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:07:56] local.INFO: IMEI packet received {"connection_id":111477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":111477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:07:57] local.INFO: TCP Data received {"connection_id":111477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58d2ad0012d196780071ff200003d007b25..."} 
[2026-06-23 23:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58d2ad0012d196780071ff200003d007b25..."} 
[2026-06-23 23:07:57] local.INFO: Processing buffer {"connection_id":111477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58d2ad0012d196780071ff200003d007b25..."} 
[2026-06-23 23:07:57] local.INFO: Packet analysis {"connection_id":111477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:57] local.INFO: Extracted packet for processing {"connection_id":111477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252443904001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236130000,"timestamp_ms":1782236130000,"timestamp_seconds":1782236130,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58d2ad0"} 
[2026-06-23 23:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:07:57] 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-06-23 23:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252443904001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252443904001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252443904001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":111477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:07:57] local.INFO: GPS data processed {"connection_id":111477,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:07:57] local.INFO: Acknowledgment sent {"connection_id":111477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:08:01] local.INFO: TCP Data received {"connection_id":111308,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58d6180012d1df60006d1d9b8001200912c..."} 
[2026-06-23 23:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58d6180012d1df60006d1d9b8001200912c..."} 
[2026-06-23 23:08:01] local.INFO: Processing buffer {"connection_id":111308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58d6180012d1df60006d1d9b8001200912c..."} 
[2026-06-23 23:08:01] local.INFO: Packet analysis {"connection_id":111308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:01] local.INFO: Extracted packet for processing {"connection_id":111308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:01] local.INFO: GPS Element Parsed {"raw_longitude":756938240,"raw_latitude":114416056,"longitude_deg":75.693824,"latitude_deg":11.4416056,"altitude":18,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d1df600","hex_latitude":"06d1d9b8","is_valid_coordinates":true} 
[2026-06-23 23:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252447488001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322040358705823744,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2155465032197681152,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:01] 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-06-23 23:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236144000,"timestamp_ms":1782236144000,"timestamp_seconds":1782236144,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58d6180"} 
[2026-06-23 23:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252447488001,"66":27321,"77":206,"2":56576,"24":0,"16":322040358705823744,"45":2155465032197681152},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-06-23 23:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252447488001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:08:01] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-23 23:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322040358705823744,"km_value":322040358705823.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2155465032197681152,"description":"Unknown IO ID 45"} 
[2026-06-23 23:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252447488001,"power":27321,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2155465032197681152}} 
[2026-06-23 23:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":111308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:08:01] local.INFO: GPS data processed {"connection_id":111308,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:08:01] local.INFO: Acknowledgment sent {"connection_id":111308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:08:23] local.INFO: TCP Data received {"connection_id":113047,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:08:23] local.INFO: Processing buffer {"connection_id":113047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:08:23] local.INFO: IMEI packet received {"connection_id":113047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":113047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:08:28] local.INFO: TCP Data received {"connection_id":111478,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:08:28] local.INFO: Processing buffer {"connection_id":111478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:08:28] local.INFO: IMEI packet received {"connection_id":111478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":111478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:08:28] local.INFO: TCP Data received {"connection_id":113047,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:08:28] local.INFO: Processing buffer {"connection_id":113047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:08:28] local.INFO: IMEI packet received {"connection_id":113047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":113047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:08:28] local.INFO: TCP Data received {"connection_id":111477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58d7cd8012d196780071ff200003d007b25..."} 
[2026-06-23 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58d7cd8012d196780071ff200003d007b25..."} 
[2026-06-23 23:08:28] local.INFO: Processing buffer {"connection_id":111477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58d7cd8012d196780071ff200003d007b25..."} 
[2026-06-23 23:08:28] local.INFO: Packet analysis {"connection_id":111477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:28] local.INFO: Extracted packet for processing {"connection_id":111477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252449280001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236151000,"timestamp_ms":1782236151000,"timestamp_seconds":1782236151,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58d7cd8"} 
[2026-06-23 23:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:08:28] 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-06-23 23: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-06-23 23:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252449280001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252449280001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252449280001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":111477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:08:29] local.INFO: GPS data processed {"connection_id":111477,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:08:29] local.INFO: Acknowledgment sent {"connection_id":111477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:08:29] local.INFO: TCP Data received {"connection_id":113047,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58db388012d1e070006d1c1780016008e2c..."} 
[2026-06-23 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58db388012d1e070006d1c1780016008e2c..."} 
[2026-06-23 23:08:29] local.INFO: Processing buffer {"connection_id":113047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58db388012d1e070006d1c1780016008e2c..."} 
[2026-06-23 23:08:29] local.INFO: Packet analysis {"connection_id":113047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:29] local.INFO: Extracted packet for processing {"connection_id":113047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756942592,"raw_latitude":114409848,"longitude_deg":75.6942592,"latitude_deg":11.4409848,"altitude":22,"angle":142,"satellites":44,"speed":14,"hex_longitude":"2d1e0700","hex_latitude":"06d1c178","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252452864001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322040723778043904,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158913100661241856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:29] 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-06-23 23:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236165000,"timestamp_ms":1782236165000,"timestamp_seconds":1782236165,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58db388"} 
[2026-06-23 23:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:08:29] 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-06-23 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 23:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252452864001,"66":27365,"77":206,"2":56576,"24":14,"16":322040723778043904,"45":2158913100661241856},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-06-23 23:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252452864001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:08:29] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-23 23:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322040723778043904,"km_value":322040723778043.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2158913100661241856,"description":"Unknown IO ID 45"} 
[2026-06-23 23:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252452864001,"power":27365,"unknown_77":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":2158913100661241856}} 
[2026-06-23 23:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":113047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:08:29] local.INFO: GPS data processed {"connection_id":113047,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:08:29] local.INFO: Acknowledgment sent {"connection_id":113047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:08:40] local.INFO: TCP Data received {"connection_id":111478,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:08:40] local.INFO: Processing buffer {"connection_id":111478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:08:40] local.INFO: IMEI packet received {"connection_id":111478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":111478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:08:42] local.INFO: TCP Data received {"connection_id":111478,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58e0d60012d7d394005d39330000000b528..."} 
[2026-06-23 23:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58e0d60012d7d394005d39330000000b528..."} 
[2026-06-23 23:08:42] local.INFO: Processing buffer {"connection_id":111478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58e0d60012d7d394005d39330000000b528..."} 
[2026-06-23 23:08:42] local.INFO: Packet analysis {"connection_id":111478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:08:42] local.INFO: Extracted packet for processing {"connection_id":111478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97751856,"longitude_deg":76.3181376,"latitude_deg":9.7751856,"altitude":0,"angle":181,"satellites":40,"speed":38,"hex_longitude":"2d7d3940","hex_latitude":"05d39330","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252460288001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96557341624762368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615952009216,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782236188000,"timestamp_ms":1782236188000,"timestamp_seconds":1782236188,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58e0d60"} 
[2026-06-23 23:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:08:42] 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-06-23 23: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":111478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":111478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":111478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252460288001,"66":12189,"81":206,"85":15104,"24":38,"16":96557341624762368,"45":9023102615952009216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-06-23 23:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252460288001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96557341624762368,"km_value":96557341624762.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615952009216,"description":"Unknown IO ID 45"} 
[2026-06-23 23:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252460288001,"power":12189,"unknown_81":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023102615952009216}} 
[2026-06-23 23:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":111478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:08:43] local.INFO: GPS data processed {"connection_id":111478,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:08:43] local.INFO: Acknowledgment sent {"connection_id":111478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:08:43] local.INFO: TCP Data received {"connection_id":111478,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58fc2e0012d7d40c005d26180000800bc26..."} 
[2026-06-23 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58fc2e0012d7d40c005d26180000800bc26..."} 
[2026-06-23 23:08:43] local.INFO: Processing buffer {"connection_id":111478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58fc2e0012d7d40c005d26180000800bc26..."} 
[2026-06-23 23:08:43] local.INFO: Packet analysis {"connection_id":111478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:08:43] local.INFO: Extracted packet for processing {"connection_id":111478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97673600,"longitude_deg":76.3183296,"latitude_deg":9.76736,"altitude":8,"angle":188,"satellites":38,"speed":28,"hex_longitude":"2d7d40c0","hex_latitude":"05d26180","is_valid_coordinates":true} 
[2026-06-23 23:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252492800001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96561164145655808,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784487448576,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782236300000,"timestamp_ms":1782236300000,"timestamp_seconds":1782236300,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58fc2e0"} 
[2026-06-23 23:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:08:43] 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-06-23 23:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":111478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":111478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":111478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252492800001,"66":12015,"117":206,"85":15104,"24":28,"16":96561164145655808,"45":9025424784487448576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-23 23:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252492800001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96561164145655808,"km_value":96561164145655.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784487448576,"description":"Unknown IO ID 45"} 
[2026-06-23 23:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252492800001,"power":12015,"unknown_117":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9025424784487448576}} 
[2026-06-23 23:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":111478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:08:43] local.INFO: GPS data processed {"connection_id":111478,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:08:43] local.INFO: Acknowledgment sent {"connection_id":111478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:08:51] local.INFO: TCP Data received {"connection_id":112107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:08:51] local.INFO: Processing buffer {"connection_id":112107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:08:51] local.INFO: IMEI packet received {"connection_id":112107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":112107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:08:56] local.INFO: TCP Data received {"connection_id":112107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:08:56] local.INFO: Processing buffer {"connection_id":112107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:08:56] local.INFO: IMEI packet received {"connection_id":112107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":112107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:08:57] local.INFO: TCP Data received {"connection_id":112107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58dcee0012d196780071ff200003d007b25..."} 
[2026-06-23 23:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58dcee0012d196780071ff200003d007b25..."} 
[2026-06-23 23:08:57] local.INFO: Processing buffer {"connection_id":112107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58dcee0012d196780071ff200003d007b25..."} 
[2026-06-23 23:08:57] local.INFO: Packet analysis {"connection_id":112107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:57] local.INFO: Extracted packet for processing {"connection_id":112107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252454656001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236172000,"timestamp_ms":1782236172000,"timestamp_seconds":1782236172,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58dcee0"} 
[2026-06-23 23:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:08:57] 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-06-23 23: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-06-23 23:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252454656001,"66":11993,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252454656001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:08:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252454656001,"power":11993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":112107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:08:57] local.INFO: GPS data processed {"connection_id":112107,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:08:57] local.INFO: Acknowledgment sent {"connection_id":112107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:09:01] local.INFO: TCP Data received {"connection_id":113047,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58df208012d1e1c0006d1a520001600972b..."} 
[2026-06-23 23:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58df208012d1e1c0006d1a520001600972b..."} 
[2026-06-23 23:09:01] local.INFO: Processing buffer {"connection_id":113047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58df208012d1e1c0006d1a520001600972b..."} 
[2026-06-23 23:09:01] local.INFO: Packet analysis {"connection_id":113047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:09:01] local.INFO: Extracted packet for processing {"connection_id":113047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58d"} 
[2026-06-23 23:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756947968,"raw_latitude":114402592,"longitude_deg":75.6947968,"latitude_deg":11.4402592,"altitude":22,"angle":151,"satellites":43,"speed":27,"hex_longitude":"2d1e1c00","hex_latitude":"06d1a520","is_valid_coordinates":true} 
[2026-06-23 23:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252458240001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322041157569740800,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163698175263733760,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:01] 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-06-23 23:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236181000,"timestamp_ms":1782236181000,"timestamp_seconds":1782236181,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58df208"} 
[2026-06-23 23:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":113047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":113047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":113047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252458240001,"66":27376,"77":206,"2":56576,"24":27,"16":322041157569740800,"45":2163698175263733760},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-06-23 23:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252458240001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:09:01] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-23 23:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322041157569740800,"km_value":322041157569740.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2163698175263733760,"description":"Unknown IO ID 45"} 
[2026-06-23 23:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252458240001,"power":27376,"unknown_77":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2163698175263733760}} 
[2026-06-23 23:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":113047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:09:01] local.INFO: GPS data processed {"connection_id":113047,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:09:01] local.INFO: Acknowledgment sent {"connection_id":113047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:09:16] local.INFO: TCP Data received {"connection_id":113049,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:09:16] local.INFO: Processing buffer {"connection_id":113049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:09:16] local.INFO: IMEI packet received {"connection_id":113049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":113049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:09:20] local.INFO: TCP Data received {"connection_id":113049,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:09:20] local.INFO: Processing buffer {"connection_id":113049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:09:20] local.INFO: IMEI packet received {"connection_id":113049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":113049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:09:21] local.INFO: TCP Data received {"connection_id":113049,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58fc2e0012d7d40c005d26180000800bc26..."} 
[2026-06-23 23:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58fc2e0012d7d40c005d26180000800bc26..."} 
[2026-06-23 23:09:21] local.INFO: Processing buffer {"connection_id":113049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58fc2e0012d7d40c005d26180000800bc26..."} 
[2026-06-23 23:09:21] local.INFO: Packet analysis {"connection_id":113049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:09:21] local.INFO: Extracted packet for processing {"connection_id":113049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97673600,"longitude_deg":76.3183296,"latitude_deg":9.76736,"altitude":8,"angle":188,"satellites":38,"speed":28,"hex_longitude":"2d7d40c0","hex_latitude":"05d26180","is_valid_coordinates":true} 
[2026-06-23 23:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252492800001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96561164145655808,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784487448576,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236300000,"timestamp_ms":1782236300000,"timestamp_seconds":1782236300,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58fc2e0"} 
[2026-06-23 23:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:09:21] 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-06-23 23:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252492800001,"66":12015,"117":206,"85":15104,"24":28,"16":96561164145655808,"45":9025424784487448576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-23 23:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252492800001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:09:21] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 23:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96561164145655808,"km_value":96561164145655.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784487448576,"description":"Unknown IO ID 45"} 
[2026-06-23 23:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252492800001,"power":12015,"unknown_117":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9025424784487448576}} 
[2026-06-23 23:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":113049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:09:21] local.INFO: GPS data processed {"connection_id":113049,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:09:21] local.INFO: Acknowledgment sent {"connection_id":113049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:09:22] local.INFO: TCP Data received {"connection_id":111479,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:09:22] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:09:22] local.INFO: IMEI packet received {"connection_id":111479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":111479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:09:27] local.INFO: TCP Data received {"connection_id":111479,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:09:27] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:09:27] local.INFO: IMEI packet received {"connection_id":111479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":111479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:09:28] local.INFO: TCP Data received {"connection_id":112107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58e20e8012d196780071ff200003d007b25..."} 
[2026-06-23 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58e20e8012d196780071ff200003d007b25..."} 
[2026-06-23 23:09:28] local.INFO: Processing buffer {"connection_id":112107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58e20e8012d196780071ff200003d007b25..."} 
[2026-06-23 23:09:28] local.INFO: Packet analysis {"connection_id":112107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:09:28] local.INFO: Extracted packet for processing {"connection_id":112107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252460032001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236193000,"timestamp_ms":1782236193000,"timestamp_seconds":1782236193,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58e20e8"} 
[2026-06-23 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-06-23 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-23 23:09:28] 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-06-23 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-06-23 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-06-23 23:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252460032001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252460032001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:09:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252460032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":112107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:09:28] local.INFO: GPS data processed {"connection_id":112107,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:09:28] local.INFO: Acknowledgment sent {"connection_id":112107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:09:29] local.INFO: TCP Data received {"connection_id":111479,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58fcab0012d1ee94006d05ab8001200902c..."} 
[2026-06-23 23:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58fcab0012d1ee94006d05ab8001200902c..."} 
[2026-06-23 23:09:29] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58fcab0012d1ee94006d05ab8001200902c..."} 
[2026-06-23 23:09:29] local.INFO: Packet analysis {"connection_id":111479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:09:29] local.INFO: Extracted packet for processing {"connection_id":111479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:09:29] local.INFO: GPS Element Parsed {"raw_longitude":757000512,"raw_latitude":114318008,"longitude_deg":75.7000512,"latitude_deg":11.4318008,"altitude":18,"angle":144,"satellites":44,"speed":39,"hex_longitude":"2d1ee940","hex_latitude":"06d05ab8","is_valid_coordinates":true} 
[2026-06-23 23:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252491008001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322045976523046912,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2221752389188786176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:29] 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-06-23 23:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236302000,"timestamp_ms":1782236302000,"timestamp_seconds":1782236302,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58fcab0"} 
[2026-06-23 23:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:09:29] 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-06-23 23:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252491008001,"66":27484,"78":206,"2":56576,"24":39,"16":322045976523046912,"45":2221752389188786176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-23 23:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252491008001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:09:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-23 23:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322045976523046912,"km_value":322045976523046.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2221752389188786176,"description":"Unknown IO ID 45"} 
[2026-06-23 23:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252491008001,"power":27484,"unknown_78":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2221752389188786176}} 
[2026-06-23 23:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":111479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:09:29] local.INFO: GPS data processed {"connection_id":111479,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:09:29] local.INFO: Acknowledgment sent {"connection_id":111479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:09:51] local.INFO: TCP Data received {"connection_id":111310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:09:51] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:09:51] local.INFO: IMEI packet received {"connection_id":111310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":111310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:09:53] local.INFO: TCP Data received {"connection_id":113049,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58fedd8012d7d3ac005d23d68000600be28..."} 
[2026-06-23 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58fedd8012d7d3ac005d23d68000600be28..."} 
[2026-06-23 23:09:53] local.INFO: Processing buffer {"connection_id":113049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58fedd8012d7d3ac005d23d68000600be28..."} 
[2026-06-23 23:09:53] local.INFO: Packet analysis {"connection_id":113049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:09:53] local.INFO: Extracted packet for processing {"connection_id":113049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97664360,"longitude_deg":76.318176,"latitude_deg":9.766436,"altitude":6,"angle":190,"satellites":40,"speed":31,"hex_longitude":"2d7d3ac0","hex_latitude":"05d23d68","is_valid_coordinates":true} 
[2026-06-23 23:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252492800001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96561615117221888,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784487448576,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782236311000,"timestamp_ms":1782236311000,"timestamp_seconds":1782236311,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58fedd8"} 
[2026-06-23 23:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":113049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":113049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":113049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252492800001,"66":12037,"117":206,"85":15104,"24":31,"16":96561615117221888,"45":9025424784487448576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-23 23:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252492800001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:09:53] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-23 23:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96561615117221888,"km_value":96561615117221.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784487448576,"description":"Unknown IO ID 45"} 
[2026-06-23 23:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252492800001,"power":12037,"unknown_117":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9025424784487448576}} 
[2026-06-23 23:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":113049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:09:53] local.INFO: GPS data processed {"connection_id":113049,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:09:53] local.INFO: Acknowledgment sent {"connection_id":113049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:09:56] local.INFO: TCP Data received {"connection_id":111310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:09:56] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:09:56] local.INFO: IMEI packet received {"connection_id":111310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":111310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:09:57] local.INFO: TCP Data received {"connection_id":111310,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58e72f0012d196780071ff200003d007b25..."} 
[2026-06-23 23:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58e72f0012d196780071ff200003d007b25..."} 
[2026-06-23 23:09:57] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58e72f0012d196780071ff200003d007b25..."} 
[2026-06-23 23:09:57] local.INFO: Packet analysis {"connection_id":111310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:09:57] local.INFO: Extracted packet for processing {"connection_id":111310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252465408001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236214000,"timestamp_ms":1782236214000,"timestamp_seconds":1782236214,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58e72f0"} 
[2026-06-23 23:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:09:57] 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-06-23 23:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252465408001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252465408001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252465408001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":111310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:09:57] local.INFO: GPS data processed {"connection_id":111310,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:09:57] local.INFO: Acknowledgment sent {"connection_id":111310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:00] local.INFO: TCP Data received {"connection_id":111479,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58ff5a8012d1eff0006d03be0001200912d..."} 
[2026-06-23 23:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58ff5a8012d1eff0006d03be0001200912d..."} 
[2026-06-23 23:10:00] local.INFO: Processing buffer {"connection_id":111479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58ff5a8012d1eff0006d03be0001200912d..."} 
[2026-06-23 23:10:00] local.INFO: Packet analysis {"connection_id":111479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:10:00] local.INFO: Extracted packet for processing {"connection_id":111479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:10:00] local.INFO: GPS Element Parsed {"raw_longitude":757006080,"raw_latitude":114310112,"longitude_deg":75.700608,"latitude_deg":11.4310112,"altitude":18,"angle":145,"satellites":45,"speed":35,"hex_longitude":"2d1eff00","hex_latitude":"06d03be0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252493312001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322046440379514880,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2227381888721008640,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:00] 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-06-23 23:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782236313000,"timestamp_ms":1782236313000,"timestamp_seconds":1782236313,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58ff5a8"} 
[2026-06-23 23:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:10:00] 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-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:00] 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-06-23 23: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-06-23 23:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252493312001,"66":27332,"78":206,"2":56576,"24":35,"16":322046440379514880,"45":2227381888721008640},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-23 23:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252493312001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-23 23:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322046440379514880,"km_value":322046440379514.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2227381888721008640,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252493312001,"power":27332,"unknown_78":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2227381888721008640}} 
[2026-06-23 23:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":111479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:00] local.INFO: GPS data processed {"connection_id":111479,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:00] local.INFO: Acknowledgment sent {"connection_id":111479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:16] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:16] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:16] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:10:16] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:16] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:16] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:10:20] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:20] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:10:20] local.INFO: IMEI packet received {"connection_id":111311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":111311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:10:21] local.INFO: TCP Data received {"connection_id":112108,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:10:21] local.INFO: Processing buffer {"connection_id":112108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:10:21] local.INFO: IMEI packet received {"connection_id":112108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":112108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:10:21] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59014e8012d7d340005d21a40000600bd25..."} 
[2026-06-23 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59014e8012d7d340005d21a40000600bd25..."} 
[2026-06-23 23:10:21] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59014e8012d7d340005d21a40000600bd25..."} 
[2026-06-23 23:10:21] local.INFO: Packet analysis {"connection_id":111311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:21] local.INFO: Extracted packet for processing {"connection_id":111311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":97655360,"longitude_deg":76.3180032,"latitude_deg":9.765536,"altitude":6,"angle":189,"satellites":37,"speed":38,"hex_longitude":"2d7d3400","hex_latitude":"05d21a40","is_valid_coordinates":true} 
[2026-06-23 23:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252495616001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96562061793820672,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934624819200,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236321000,"timestamp_ms":1782236321000,"timestamp_seconds":1782236321,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59014e8"} 
[2026-06-23 23:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:10:21] 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-06-23 23:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1585267069002187776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4119793456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182113745502464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2406793217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2254438407,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452250004945174504,"corrected_to":0} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2147865229,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3271363751948795872,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194711040,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:21] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,117,85,24,241,157,16,14,158,194,45,192,97,8,38,10,66,13,1,240,239,227,245,210,4,113,205,93,63,152,43,47,2,87,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-6452250004945174504,"validated":0}]} 
[2026-06-23 23:10:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432554643237568512,"timestamp_seconds":432554643237568.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252495616001,"66":12189,"23":206,"85":15104,"24":38,"16":96562061793820672,"45":9023735934624819200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-06-23 23:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252495616001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:21] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-06-23 23:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96562061793820672,"km_value":96562061793820.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934624819200,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252495616001,"power":12189,"unknown_23":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023735934624819200}} 
[2026-06-23 23:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":111311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:21] local.INFO: GPS data processed {"connection_id":111311,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:21] local.INFO: Acknowledgment sent {"connection_id":111311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:28] local.INFO: TCP Data received {"connection_id":112109,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:28] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:28] local.INFO: IMEI packet received {"connection_id":112109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":112109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:10:28] local.INFO: TCP Data received {"connection_id":111310,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58ec4f8012d196780071ff200003d007b26..."} 
[2026-06-23 23:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58ec4f8012d196780071ff200003d007b26..."} 
[2026-06-23 23:10:28] local.INFO: Processing buffer {"connection_id":111310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58ec4f8012d196780071ff200003d007b26..."} 
[2026-06-23 23:10:28] local.INFO: Packet analysis {"connection_id":111310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:10:28] local.INFO: Extracted packet for processing {"connection_id":111310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58e"} 
[2026-06-23 23:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252470784001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236235000,"timestamp_ms":1782236235000,"timestamp_seconds":1782236235,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58ec4f8"} 
[2026-06-23 23:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:28] 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-06-23 23: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-06-23 23:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252470784001,"66":12004,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252470784001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252470784001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":111310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:28] local.INFO: GPS data processed {"connection_id":111310,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:28] local.INFO: Acknowledgment sent {"connection_id":111310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:29] local.INFO: TCP Data received {"connection_id":112109,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:29] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:29] local.INFO: IMEI packet received {"connection_id":112109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":112109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:10:33] local.INFO: TCP Data received {"connection_id":112109,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:33] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:10:33] local.INFO: IMEI packet received {"connection_id":112109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":112109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:10:35] local.INFO: TCP Data received {"connection_id":112109,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5901cb8012d1f124006d01e90001100942f..."} 
[2026-06-23 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5901cb8012d1f124006d01e90001100942f..."} 
[2026-06-23 23:10:35] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5901cb8012d1f124006d01e90001100942f..."} 
[2026-06-23 23:10:35] local.INFO: Packet analysis {"connection_id":112109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:35] local.INFO: Extracted packet for processing {"connection_id":112109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:35] local.INFO: GPS Element Parsed {"raw_longitude":757011008,"raw_latitude":114302608,"longitude_deg":75.7011008,"latitude_deg":11.4302608,"altitude":17,"angle":148,"satellites":47,"speed":30,"hex_longitude":"2d1f1240","hex_latitude":"06d01e90","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252496128001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322046874171211776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2233503969462444032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782236323000,"timestamp_ms":1782236323000,"timestamp_seconds":1782236323,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5901cb8"} 
[2026-06-23 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-06-23 23:10: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-06-23 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":112109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":112109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":112109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252496128001,"66":27484,"198":206,"2":56576,"24":30,"16":322046874171211776,"45":2233503969462444032},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252496128001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322046874171211776,"km_value":322046874171211.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2233503969462444032,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252496128001,"power":27484,"unknown_198":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":2233503969462444032}} 
[2026-06-23 23:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":112109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:35] local.INFO: GPS data processed {"connection_id":112109,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:35] local.INFO: Acknowledgment sent {"connection_id":112109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:40] local.INFO: TCP Data received {"connection_id":112109,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5905368012d1f264006d000b0001100902f..."} 
[2026-06-23 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5905368012d1f264006d000b0001100902f..."} 
[2026-06-23 23:10:40] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5905368012d1f264006d000b0001100902f..."} 
[2026-06-23 23:10:40] local.INFO: Packet analysis {"connection_id":112109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:40] local.INFO: Extracted packet for processing {"connection_id":112109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:40] local.INFO: GPS Element Parsed {"raw_longitude":757016128,"raw_latitude":114294960,"longitude_deg":75.7016128,"latitude_deg":11.429496,"altitude":17,"angle":144,"satellites":47,"speed":26,"hex_longitude":"2d1f2640","hex_latitude":"06d000b0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252498688001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322047320847810560,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2238922362762203136,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782236337000,"timestamp_ms":1782236337000,"timestamp_seconds":1782236337,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5905368"} 
[2026-06-23 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-06-23 23:10:40] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:40] 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-06-23 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-06-23 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-06-23 23:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":112109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":112109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":112109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252498688001,"66":27484,"198":206,"2":56576,"24":26,"16":322047320847810560,"45":2238922362762203136},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252498688001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322047320847810560,"km_value":322047320847810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2238922362762203136,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252498688001,"power":27484,"unknown_198":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2238922362762203136}} 
[2026-06-23 23:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":112109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:41] local.INFO: GPS data processed {"connection_id":112109,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:41] local.INFO: Acknowledgment sent {"connection_id":112109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:47] local.INFO: TCP Data received {"connection_id":112109,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5908248012d1f3a4006cfe308001000912e..."} 
[2026-06-23 23:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5908248012d1f3a4006cfe308001000912e..."} 
[2026-06-23 23:10:47] local.INFO: Processing buffer {"connection_id":112109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5908248012d1f3a4006cfe308001000912e..."} 
[2026-06-23 23:10:47] local.INFO: Packet analysis {"connection_id":112109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:47] local.INFO: Extracted packet for processing {"connection_id":112109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:10:47] local.INFO: GPS Element Parsed {"raw_longitude":757021248,"raw_latitude":114287368,"longitude_deg":75.7021248,"latitude_deg":11.4287368,"altitude":16,"angle":145,"satellites":46,"speed":29,"hex_longitude":"2d1f3a40","hex_latitude":"06cfe308","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252502272001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322047758934474752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2244551862294458368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782236349000,"timestamp_ms":1782236349000,"timestamp_seconds":1782236349,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5908248"} 
[2026-06-23 23:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:47] 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-06-23 23: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-06-23 23:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":112109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":112109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":112109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252502272001,"66":27463,"198":206,"2":56576,"24":29,"16":322047758934474752,"45":2244551862294458368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252502272001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322047758934474752,"km_value":322047758934474.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2244551862294458368,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252502272001,"power":27463,"unknown_198":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":2244551862294458368}} 
[2026-06-23 23:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":112109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:47] local.INFO: GPS data processed {"connection_id":112109,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:47] local.INFO: Acknowledgment sent {"connection_id":112109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:53] local.INFO: TCP Data received {"connection_id":111311,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef591ce50012d7d4ac005d04340000400af29..."} 
[2026-06-23 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef591ce50012d7d4ac005d04340000400af29..."} 
[2026-06-23 23:10:53] local.INFO: Processing buffer {"connection_id":111311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef591ce50012d7d4ac005d04340000400af29..."} 
[2026-06-23 23:10:53] local.INFO: Packet analysis {"connection_id":111311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:10:53] local.INFO: Extracted packet for processing {"connection_id":111311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97534784,"longitude_deg":76.3185856,"latitude_deg":9.7534784,"altitude":4,"angle":175,"satellites":41,"speed":53,"hex_longitude":"2d7d4ac0","hex_latitude":"05d04340","is_valid_coordinates":true} 
[2026-06-23 23:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252525056001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96567924424179712,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371802945536,"note":"Value kept but may cause issues"} 
[2026-06-23 23:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782236434000,"timestamp_ms":1782236434000,"timestamp_seconds":1782236434,"priority":1,"record_length":96,"hex_timestamp":"0000019ef591ce50"} 
[2026-06-23 23:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-23 23:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252525056001,"66":12298,"197":206,"85":15104,"24":53,"16":96567924424179712,"45":9027254371802945536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-06-23 23:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252525056001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:10:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 23:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96567924424179712,"km_value":96567924424179.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371802945536,"description":"Unknown IO ID 45"} 
[2026-06-23 23:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252525056001,"power":12298,"unknown_197":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9027254371802945536}} 
[2026-06-23 23:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":111311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:10:53] local.INFO: GPS data processed {"connection_id":111311,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:10:53] local.INFO: Acknowledgment sent {"connection_id":111311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:10:56] local.INFO: TCP Data received {"connection_id":111312,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:10:56] local.INFO: Processing buffer {"connection_id":111312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:10:56] local.INFO: IMEI packet received {"connection_id":111312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":111312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:11:01] local.INFO: TCP Data received {"connection_id":111312,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:01] local.INFO: Processing buffer {"connection_id":111312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:01] local.INFO: IMEI packet received {"connection_id":111312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":111312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:11:02] local.INFO: TCP Data received {"connection_id":111312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58f1700012d196780071ff200003d007b25..."} 
[2026-06-23 23:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58f1700012d196780071ff200003d007b25..."} 
[2026-06-23 23:11:02] local.INFO: Processing buffer {"connection_id":111312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58f1700012d196780071ff200003d007b25..."} 
[2026-06-23 23:11:02] local.INFO: Packet analysis {"connection_id":111312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:11:02] local.INFO: Extracted packet for processing {"connection_id":111312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252476160001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782236256000,"timestamp_ms":1782236256000,"timestamp_seconds":1782236256,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58f1700"} 
[2026-06-23 23:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 23:11:02] 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-06-23 23: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-06-23 23:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":111312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":111312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":111312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252476160001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252476160001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252476160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":111312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:02] local.INFO: GPS data processed {"connection_id":111312,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:02] local.INFO: Acknowledgment sent {"connection_id":111312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:11:03] local.INFO: TCP Data received {"connection_id":111312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58f6908012d196780071ff200003d007b24..."} 
[2026-06-23 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58f6908012d196780071ff200003d007b24..."} 
[2026-06-23 23:11:03] local.INFO: Processing buffer {"connection_id":111312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58f6908012d196780071ff200003d007b24..."} 
[2026-06-23 23:11:03] local.INFO: Packet analysis {"connection_id":111312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:11:03] local.INFO: Extracted packet for processing {"connection_id":111312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252481536001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782236277000,"timestamp_ms":1782236277000,"timestamp_seconds":1782236277,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58f6908"} 
[2026-06-23 23:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:11: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-06-23 23:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":111312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":111312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":111312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252481536001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252481536001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252481536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":111312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:03] local.INFO: GPS data processed {"connection_id":111312,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:03] local.INFO: Acknowledgment sent {"connection_id":111312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:11:06] local.INFO: TCP Data received {"connection_id":113050,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:11:06] local.INFO: Processing buffer {"connection_id":113050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:11:06] local.INFO: IMEI packet received {"connection_id":113050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":113050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:11:24] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:11:24] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:11:24] local.INFO: IMEI packet received {"connection_id":112110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":112110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:11:27] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:11:27] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:11:27] local.INFO: IMEI packet received {"connection_id":112110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":112110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:11:32] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef5..."} 
[2026-06-23 23:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef5..."} 
[2026-06-23 23:11:32] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef5..."} 
[2026-06-23 23:11:32] local.INFO: IMEI packet received {"connection_id":112110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":112110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:11:35] local.INFO: TCP Data received {"connection_id":111312,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef58fbb10012d196780071ff200003d007b25..."} 
[2026-06-23 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef58fbb10012d196780071ff200003d007b25..."} 
[2026-06-23 23:11:35] local.INFO: Processing buffer {"connection_id":111312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef58fbb10012d196780071ff200003d007b25..."} 
[2026-06-23 23:11:35] local.INFO: Packet analysis {"connection_id":111312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:11:35] local.INFO: Extracted packet for processing {"connection_id":111312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef58f"} 
[2026-06-23 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252486912001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11: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-06-23 23:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782236298000,"timestamp_ms":1782236298000,"timestamp_seconds":1782236298,"priority":1,"record_length":96,"hex_timestamp":"0000019ef58fbb10"} 
[2026-06-23 23:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11: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-06-23 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:11: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-06-23 23:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252486912001,"66":12113,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252486912001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252486912001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":111312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:35] local.INFO: GPS data processed {"connection_id":111312,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:35] local.INFO: Acknowledgment sent {"connection_id":111312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:11:36] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef590e3f0012d1f670006cfa930001100872f..."} 
[2026-06-23 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef590e3f0012d1f670006cfa930001100872f..."} 
[2026-06-23 23:11:36] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef590b510012d1f4f8006cfc5f0001000902d..."} 
[2026-06-23 23:11:36] local.INFO: Packet analysis {"connection_id":112110,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:36] local.INFO: Extracted packet for processing {"connection_id":112110,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":757026688,"raw_latitude":114279920,"longitude_deg":75.7026688,"latitude_deg":11.427992,"altitude":16,"angle":144,"satellites":45,"speed":29,"hex_longitude":"2d1f4f80","hex_latitude":"06cfc5f0","is_valid_coordinates":true} 
[2026-06-23 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252505344001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322048205611073536,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2250181361826727936,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782236362000,"timestamp_ms":1782236362000,"timestamp_seconds":1782236362,"priority":1,"record_length":96,"hex_timestamp":"0000019ef590b510"} 
[2026-06-23 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11:36] 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-06-23 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:11:36] 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-06-23 23:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252505344001,"66":27376,"198":206,"2":56576,"24":29,"16":322048205611073536,"45":2250181361826727936},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252505344001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322048205611073536,"km_value":322048205611073.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2250181361826727936,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252505344001,"power":27376,"unknown_198":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":2250181361826727936}} 
[2026-06-23 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":112110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:36] local.INFO: GPS data processed {"connection_id":112110,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:36] local.INFO: Acknowledgment sent {"connection_id":112110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:11:36] local.INFO: Packet analysis {"connection_id":112110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:36] local.INFO: Extracted packet for processing {"connection_id":112110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":757032704,"raw_latitude":114272560,"longitude_deg":75.7032704,"latitude_deg":11.427256,"altitude":17,"angle":135,"satellites":47,"speed":31,"hex_longitude":"2d1f6700","hex_latitude":"06cfa930","is_valid_coordinates":true} 
[2026-06-23 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252508672001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322048660877606912,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2256162705079922688,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782236374000,"timestamp_ms":1782236374000,"timestamp_seconds":1782236374,"priority":1,"record_length":96,"hex_timestamp":"0000019ef590e3f0"} 
[2026-06-23 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11:36] 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-06-23 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":112110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252508672001,"66":27376,"198":206,"2":56576,"24":31,"16":322048660877606912,"45":2256162705079922688},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252508672001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322048660877606912,"km_value":322048660877606.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2256162705079922688,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252508672001,"power":27376,"unknown_198":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":2256162705079922688}} 
[2026-06-23 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":112110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:36] local.INFO: GPS data processed {"connection_id":112110,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:36] local.INFO: Acknowledgment sent {"connection_id":112110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:11:39] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:11:39] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:11:39] local.INFO: IMEI packet received {"connection_id":111480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":111480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:11:41] local.INFO: TCP Data received {"connection_id":112110,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef590f390012d1f70c006cfa0c80011007b2f..."} 
[2026-06-23 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef590f390012d1f70c006cfa0c80011007b2f..."} 
[2026-06-23 23:11:41] local.INFO: Processing buffer {"connection_id":112110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef590f390012d1f70c006cfa0c80011007b2f..."} 
[2026-06-23 23:11:41] local.INFO: Packet analysis {"connection_id":112110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:41] local.INFO: Extracted packet for processing {"connection_id":112110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":757035200,"raw_latitude":114270408,"longitude_deg":75.70352,"latitude_deg":11.4270408,"altitude":17,"angle":123,"satellites":47,"speed":33,"hex_longitude":"2d1f70c0","hex_latitude":"06cfa0c8","is_valid_coordinates":true} 
[2026-06-23 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252511744001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322048819791396864,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2262777367030738944,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782236378000,"timestamp_ms":1782236378000,"timestamp_seconds":1782236378,"priority":1,"record_length":96,"hex_timestamp":"0000019ef590f390"} 
[2026-06-23 23:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11:41] 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-06-23 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252511744001,"66":27245,"198":206,"2":56576,"24":33,"16":322048819791396864,"45":2262777367030738944},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252511744001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:41] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322048819791396864,"km_value":322048819791396.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2262777367030738944,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252511744001,"power":27245,"unknown_198":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2262777367030738944}} 
[2026-06-23 23:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":112110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:41] local.INFO: GPS data processed {"connection_id":112110,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:41] local.INFO: Acknowledgment sent {"connection_id":112110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:11:45] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:11:45] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:11:45] local.INFO: IMEI packet received {"connection_id":111480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":111480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:11:51] local.INFO: TCP Data received {"connection_id":112112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:51] local.INFO: Processing buffer {"connection_id":112112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:51] local.INFO: IMEI packet received {"connection_id":112112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":112112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:11:56] local.INFO: TCP Data received {"connection_id":112112,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:56] local.INFO: Processing buffer {"connection_id":112112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:11:56] local.INFO: IMEI packet received {"connection_id":112112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":112112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:11:57] local.INFO: TCP Data received {"connection_id":112112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5900d18012d196780071ff200003d007b24..."} 
[2026-06-23 23:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5900d18012d196780071ff200003d007b24..."} 
[2026-06-23 23:11:57] local.INFO: Processing buffer {"connection_id":112112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5900d18012d196780071ff200003d007b24..."} 
[2026-06-23 23:11:57] local.INFO: Packet analysis {"connection_id":112112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:57] local.INFO: Extracted packet for processing {"connection_id":112112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252492288001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236319000,"timestamp_ms":1782236319000,"timestamp_seconds":1782236319,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5900d18"} 
[2026-06-23 23:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 23:11:57] 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-06-23 23: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-06-23 23:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252492288001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252492288001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:11:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252492288001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":112112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:11:58] local.INFO: GPS data processed {"connection_id":112112,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:11:58] local.INFO: Acknowledgment sent {"connection_id":112112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:12:14] local.INFO: TCP Data received {"connection_id":111480,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef591e9a8012d7d4d4005d01c88000400b22a..."} 
[2026-06-23 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef591e9a8012d7d4d4005d01c88000400b22a..."} 
[2026-06-23 23:12:14] local.INFO: Processing buffer {"connection_id":111480,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ef5..."} 
[2026-06-23 23:12:14] local.INFO: IMEI packet received {"connection_id":111480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":111480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:12:15] local.INFO: TCP Data received {"connection_id":112113,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:15] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:15] local.INFO: IMEI packet received {"connection_id":112113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":112113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:12:17] local.INFO: TCP Data received {"connection_id":112113,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:17] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:17] local.INFO: IMEI packet received {"connection_id":112113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":112113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:12:20] local.INFO: TCP Data received {"connection_id":112113,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:20] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:12:20] local.INFO: IMEI packet received {"connection_id":112113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":112113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:12:22] local.INFO: TCP Data received {"connection_id":112113,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5920118012d7d4e8005cff940000300b22a..."} 
[2026-06-23 23:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5920118012d7d4e8005cff940000300b22a..."} 
[2026-06-23 23:12:22] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5920118012d7d4e8005cff940000300b22a..."} 
[2026-06-23 23:12:22] local.INFO: Packet analysis {"connection_id":112113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:12:22] local.INFO: Extracted packet for processing {"connection_id":112113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97515840,"longitude_deg":76.3186816,"latitude_deg":9.751584,"altitude":3,"angle":178,"satellites":42,"speed":61,"hex_longitude":"2d7d4e80","hex_latitude":"05cff940","is_valid_coordinates":true} 
[2026-06-23 23:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252528896001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96568843547181056,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028943221658257408,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:22] 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-06-23 23:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782236447000,"timestamp_ms":1782236447000,"timestamp_seconds":1782236447,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5920118"} 
[2026-06-23 23:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-23 23:12:22] 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-06-23 23:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252528896001,"66":12200,"198":206,"85":15104,"24":61,"16":96568843547181056,"45":9028943221658257408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-06-23 23:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252528896001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:12:22] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96568843547181056,"km_value":96568843547181.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028943221658257408,"description":"Unknown IO ID 45"} 
[2026-06-23 23:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252528896001,"power":12200,"unknown_198":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9028943221658257408}} 
[2026-06-23 23:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":112113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:12:22] local.INFO: GPS data processed {"connection_id":112113,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:12:22] local.INFO: Acknowledgment sent {"connection_id":112113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:12:23] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:23] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:23] local.INFO: IMEI packet received {"connection_id":112114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":112114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:12:27] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:27] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:27] local.INFO: IMEI packet received {"connection_id":112114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":112114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:12:28] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:28] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:12:28] local.INFO: IMEI packet received {"connection_id":112114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":112114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:12:28] local.INFO: TCP Data received {"connection_id":112112,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5905f20012d196780071ff200003d007b22..."} 
[2026-06-23 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5905f20012d196780071ff200003d007b22..."} 
[2026-06-23 23:12:28] local.INFO: Processing buffer {"connection_id":112112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5905f20012d196780071ff200003d007b22..."} 
[2026-06-23 23:12:28] local.INFO: Packet analysis {"connection_id":112112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:12:28] local.INFO: Extracted packet for processing {"connection_id":112112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252497664001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236340000,"timestamp_ms":1782236340000,"timestamp_seconds":1782236340,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5905f20"} 
[2026-06-23 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-06-23 23:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:12:28] 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-06-23 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-06-23 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-06-23 23:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252497664001,"66":12265,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252497664001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252497664001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":112112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:12:28] local.INFO: GPS data processed {"connection_id":112112,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:12:28] local.INFO: Acknowledgment sent {"connection_id":112112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:12:31] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5912270012d1f910006cf8fa8001200762e..."} 
[2026-06-23 23:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5912270012d1f910006cf8fa8001200762e..."} 
[2026-06-23 23:12:31] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5912270012d1f910006cf8fa8001200762e..."} 
[2026-06-23 23:12:31] local.INFO: Packet analysis {"connection_id":112114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:12:31] local.INFO: Extracted packet for processing {"connection_id":112114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:12:31] local.INFO: GPS Element Parsed {"raw_longitude":757043456,"raw_latitude":114266024,"longitude_deg":75.7043456,"latitude_deg":11.4266024,"altitude":18,"angle":118,"satellites":46,"speed":30,"hex_longitude":"2d1f9100","hex_latitude":"06cf8fa8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252512768001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322049266467995648,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2265521748053116928,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782236390000,"timestamp_ms":1782236390000,"timestamp_seconds":1782236390,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5912270"} 
[2026-06-23 23:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:12:31] 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-06-23 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 23:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252512768001,"66":27267,"198":206,"2":56576,"24":30,"16":322049266467995648,"45":2265521748053116928},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252512768001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:12:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322049266467995648,"km_value":322049266467995.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2265521748053116928,"description":"Unknown IO ID 45"} 
[2026-06-23 23:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252512768001,"power":27267,"unknown_198":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":2265521748053116928}} 
[2026-06-23 23:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":112114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:12:31] local.INFO: GPS data processed {"connection_id":112114,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:12:31] local.INFO: Acknowledgment sent {"connection_id":112114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:12:34] local.INFO: TCP Data received {"connection_id":112114,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5914d68012d1fb44006cf8068001200722b..."} 
[2026-06-23 23:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5914d68012d1fb44006cf8068001200722b..."} 
[2026-06-23 23:12:34] local.INFO: Processing buffer {"connection_id":112114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5914d68012d1fb44006cf8068001200722b..."} 
[2026-06-23 23:12:34] local.INFO: Packet analysis {"connection_id":112114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:12:34] local.INFO: Extracted packet for processing {"connection_id":112114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:12:34] local.INFO: GPS Element Parsed {"raw_longitude":757052480,"raw_latitude":114262120,"longitude_deg":75.705248,"latitude_deg":11.426212,"altitude":18,"angle":114,"satellites":43,"speed":38,"hex_longitude":"2d1fb440","hex_latitude":"06cf8068","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252515840001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322049734619430912,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2274599316050913280,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782236401000,"timestamp_ms":1782236401000,"timestamp_seconds":1782236401,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5914d68"} 
[2026-06-23 23:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:12: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-06-23 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-23 23:12:34] 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-06-23 23: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-06-23 23:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":112114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":112114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252515840001,"66":27332,"197":206,"2":56576,"24":38,"16":322049734619430912,"45":2274599316050913280},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-06-23 23:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252515840001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:12:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 23:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322049734619430912,"km_value":322049734619430.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2274599316050913280,"description":"Unknown IO ID 45"} 
[2026-06-23 23:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252515840001,"power":27332,"unknown_197":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":2274599316050913280}} 
[2026-06-23 23:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":112114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:12:34] local.INFO: GPS data processed {"connection_id":112114,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:12:34] local.INFO: Acknowledgment sent {"connection_id":112114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:12:51] local.INFO: TCP Data received {"connection_id":111481,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:12:51] local.INFO: Processing buffer {"connection_id":111481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:12:51] local.INFO: IMEI packet received {"connection_id":111481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":111481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:12:53] local.INFO: TCP Data received {"connection_id":112113,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5921888012d7d4f4005cfd5b8000300b42a..."} 
[2026-06-23 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5921888012d7d4f4005cfd5b8000300b42a..."} 
[2026-06-23 23:12:53] local.INFO: Processing buffer {"connection_id":112113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5921888012d7d4f4005cfd5b8000300b42a..."} 
[2026-06-23 23:12:53] local.INFO: Packet analysis {"connection_id":112113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:12:53] local.INFO: Extracted packet for processing {"connection_id":112113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:12:53] local.INFO: GPS Element Parsed {"raw_longitude":763187008,"raw_latitude":97506744,"longitude_deg":76.3187008,"latitude_deg":9.7506744,"altitude":3,"angle":180,"satellites":42,"speed":59,"hex_longitude":"2d7d4f40","hex_latitude":"05cfd5b8","is_valid_coordinates":true} 
[2026-06-23 23:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252530432001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96569285928812544,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029295065376833536,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:53] 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-06-23 23:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782236453000,"timestamp_ms":1782236453000,"timestamp_seconds":1782236453,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5921888"} 
[2026-06-23 23:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-23 23:12:53] 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-06-23 23:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252530432001,"66":12200,"198":206,"85":15104,"24":59,"16":96569285928812544,"45":9029295065376833536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-06-23 23:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252530432001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:12:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96569285928812544,"km_value":96569285928812.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029295065376833536,"description":"Unknown IO ID 45"} 
[2026-06-23 23:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252530432001,"power":12200,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9029295065376833536}} 
[2026-06-23 23:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":112113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:12:53] local.INFO: GPS data processed {"connection_id":112113,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:12:53] local.INFO: Acknowledgment sent {"connection_id":112113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:12:56] local.INFO: TCP Data received {"connection_id":111481,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:12:56] local.INFO: Processing buffer {"connection_id":111481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:12:56] local.INFO: IMEI packet received {"connection_id":111481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":111481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:12:57] local.INFO: TCP Data received {"connection_id":111481,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef590b128012d196780071ff200003d007b25..."} 
[2026-06-23 23:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef590b128012d196780071ff200003d007b25..."} 
[2026-06-23 23:12:57] local.INFO: Processing buffer {"connection_id":111481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef590b128012d196780071ff200003d007b25..."} 
[2026-06-23 23:12:57] local.INFO: Packet analysis {"connection_id":111481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:12:57] local.INFO: Extracted packet for processing {"connection_id":111481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef590"} 
[2026-06-23 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:12: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-06-23 23:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252503040001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236361000,"timestamp_ms":1782236361000,"timestamp_seconds":1782236361,"priority":1,"record_length":96,"hex_timestamp":"0000019ef590b128"} 
[2026-06-23 23:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 23:12:57] 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-06-23 23:12: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-06-23 23:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252503040001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252503040001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:12:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252503040001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":111481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:12:58] local.INFO: GPS data processed {"connection_id":111481,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:12:58] local.INFO: Acknowledgment sent {"connection_id":111481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:20] local.INFO: TCP Data received {"connection_id":112116,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:13:20] local.INFO: Processing buffer {"connection_id":112116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:13:20] local.INFO: IMEI packet received {"connection_id":112116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":112116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:13:22] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:22] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:22] local.INFO: IMEI packet received {"connection_id":112117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":112117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:13:24] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:24] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:24] local.INFO: IMEI packet received {"connection_id":112117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":112117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:13:25] local.INFO: TCP Data received {"connection_id":112116,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:13:25] local.INFO: Processing buffer {"connection_id":112116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:13:25] local.INFO: IMEI packet received {"connection_id":112116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":112116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:13:26] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:26] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:26] local.INFO: IMEI packet received {"connection_id":112117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":112117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:13:26] local.INFO: TCP Data received {"connection_id":112116,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59233e0012d7d4f0005cfae28000300b42b..."} 
[2026-06-23 23:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59233e0012d7d4f0005cfae28000300b42b..."} 
[2026-06-23 23:13:26] local.INFO: Processing buffer {"connection_id":112116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59233e0012d7d4f0005cfae28000300b42b..."} 
[2026-06-23 23:13:26] local.INFO: Packet analysis {"connection_id":112116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:13:26] local.INFO: Extracted packet for processing {"connection_id":112116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763186944,"raw_latitude":97496616,"longitude_deg":76.3186944,"latitude_deg":9.7496616,"altitude":3,"angle":180,"satellites":43,"speed":57,"hex_longitude":"2d7d4f00","hex_latitude":"05cfae28","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252531968001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96569775555084288,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029506171607037952,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:26] 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-06-23 23:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782236460000,"timestamp_ms":1782236460000,"timestamp_seconds":1782236460,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59233e0"} 
[2026-06-23 23:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:26] 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-06-23 23: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-06-23 23:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252531968001,"66":12232,"198":206,"85":15104,"24":57,"16":96569775555084288,"45":9029506171607037952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-06-23 23:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252531968001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96569775555084288,"km_value":96569775555084.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029506171607037952,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252531968001,"power":12232,"unknown_198":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9029506171607037952}} 
[2026-06-23 23:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":112116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:26] local.INFO: GPS data processed {"connection_id":112116,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:26] local.INFO: Acknowledgment sent {"connection_id":112116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:27] local.INFO: TCP Data received {"connection_id":112116,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5924f38012d7d4f8005cf86c0000300b429..."} 
[2026-06-23 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5924f38012d7d4f8005cf86c0000300b429..."} 
[2026-06-23 23:13:27] local.INFO: Processing buffer {"connection_id":112116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5924f38012d7d4f8005cf86c0000300b429..."} 
[2026-06-23 23:13:27] local.INFO: Packet analysis {"connection_id":112116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:13:27] local.INFO: Extracted packet for processing {"connection_id":112116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":97486528,"longitude_deg":76.3187072,"latitude_deg":9.7486528,"altitude":3,"angle":180,"satellites":41,"speed":58,"hex_longitude":"2d7d4f80","hex_latitude":"05cf86c0","is_valid_coordinates":true} 
[2026-06-23 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252533760001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96570265181356032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435802860267520,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:27] 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-06-23 23:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782236467000,"timestamp_ms":1782236467000,"timestamp_seconds":1782236467,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5924f38"} 
[2026-06-23 23:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:13: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-06-23 23:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:27] 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-06-23 23:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252533760001,"66":12232,"198":206,"85":15104,"24":58,"16":96570265181356032,"45":9029435802860267520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-06-23 23:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252533760001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96570265181356032,"km_value":96570265181356.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435802860267520,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252533760001,"power":12232,"unknown_198":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9029435802860267520}} 
[2026-06-23 23:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":112116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:27] local.INFO: GPS data processed {"connection_id":112116,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:27] local.INFO: Acknowledgment sent {"connection_id":112116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:27] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:27] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:13:27] local.INFO: IMEI packet received {"connection_id":112117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":112117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:13:28] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59354f0012d20aa0006cefb10000b00782e..."} 
[2026-06-23 23:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59354f0012d20aa0006cefb10000b00782e..."} 
[2026-06-23 23:13:28] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59354f0012d20aa0006cefb10000b00782e..."} 
[2026-06-23 23:13:28] local.INFO: Packet analysis {"connection_id":112117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:13:28] local.INFO: Extracted packet for processing {"connection_id":112117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:13:28] local.INFO: GPS Element Parsed {"raw_longitude":757115392,"raw_latitude":114227984,"longitude_deg":75.7115392,"latitude_deg":11.4227984,"altitude":11,"angle":120,"satellites":46,"speed":10,"hex_longitude":"2d20aa00","hex_latitude":"06cefb10","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252552192001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322053204953006080,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2353060465799323648,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236534000,"timestamp_ms":1782236534000,"timestamp_seconds":1782236534,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59354f0"} 
[2026-06-23 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-06-23 23:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252552192001,"66":27397,"197":206,"2":56576,"24":10,"16":322053204953006080,"45":2353060465799323648},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-06-23 23:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252552192001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-23 23:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322053204953006080,"km_value":322053204953006.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2353060465799323648,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252552192001,"power":27397,"unknown_197":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":2353060465799323648}} 
[2026-06-23 23:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":112117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:28] local.INFO: GPS data processed {"connection_id":112117,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:28] local.INFO: Acknowledgment sent {"connection_id":112117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:29] local.INFO: TCP Data received {"connection_id":111481,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5910330012d196780071ff200003d007b26..."} 
[2026-06-23 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5910330012d196780071ff200003d007b26..."} 
[2026-06-23 23:13:29] local.INFO: Processing buffer {"connection_id":111481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5910330012d196780071ff200003d007b26..."} 
[2026-06-23 23:13:29] local.INFO: Packet analysis {"connection_id":111481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:13:29] local.INFO: Extracted packet for processing {"connection_id":111481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:13: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-06-23 23:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252508416001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236382000,"timestamp_ms":1782236382000,"timestamp_seconds":1782236382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5910330"} 
[2026-06-23 23:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:29] 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-06-23 23:13: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-06-23 23:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252508416001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252508416001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252508416001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":111481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:29] local.INFO: GPS data processed {"connection_id":111481,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:29] local.INFO: Acknowledgment sent {"connection_id":111481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:33] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5935cc0012d20ac4006cef9b0000b008a2e..."} 
[2026-06-23 23:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5935cc0012d20ac4006cef9b0000b008a2e..."} 
[2026-06-23 23:13:33] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5935cc0012d20ac4006cef9b0000b008a2e..."} 
[2026-06-23 23:13:33] local.INFO: Packet analysis {"connection_id":112117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:13:33] local.INFO: Extracted packet for processing {"connection_id":112117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:13:33] local.INFO: GPS Element Parsed {"raw_longitude":757115968,"raw_latitude":114227632,"longitude_deg":75.7115968,"latitude_deg":11.4227632,"altitude":11,"angle":138,"satellites":46,"speed":11,"hex_longitude":"2d20ac40","hex_latitude":"06cef9b0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252552704001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322053235017777152,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2353693784496869376,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:33] 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-06-23 23:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782236536000,"timestamp_ms":1782236536000,"timestamp_seconds":1782236536,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5935cc0"} 
[2026-06-23 23:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:13:33] 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-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252552704001,"66":27376,"73":206,"2":56576,"24":11,"16":322053235017777152,"45":2353693784496869376},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252552704001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:33] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322053235017777152,"km_value":322053235017777.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2353693784496869376,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252552704001,"power":27376,"unknown_73":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":2353693784496869376}} 
[2026-06-23 23:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":112117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:34] local.INFO: GPS data processed {"connection_id":112117,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:34] local.INFO: Acknowledgment sent {"connection_id":112117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:50] local.INFO: TCP Data received {"connection_id":111313,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:50] local.INFO: Processing buffer {"connection_id":111313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:50] local.INFO: IMEI packet received {"connection_id":111313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":111313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:13:51] local.INFO: TCP Data received {"connection_id":111313,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:51] local.INFO: Processing buffer {"connection_id":111313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:51] local.INFO: IMEI packet received {"connection_id":111313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":111313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:13:56] local.INFO: TCP Data received {"connection_id":111313,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:56] local.INFO: Processing buffer {"connection_id":111313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:13:56] local.INFO: IMEI packet received {"connection_id":111313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":111313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:13:57] local.INFO: TCP Data received {"connection_id":111313,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5915538012d196780071ff200003d007b26..."} 
[2026-06-23 23:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5915538012d196780071ff200003d007b26..."} 
[2026-06-23 23:13:57] local.INFO: Processing buffer {"connection_id":111313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5915538012d196780071ff200003d007b26..."} 
[2026-06-23 23:13:57] local.INFO: Packet analysis {"connection_id":111313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:13:57] local.INFO: Extracted packet for processing {"connection_id":111313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252513792001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236403000,"timestamp_ms":1782236403000,"timestamp_seconds":1782236403,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5915538"} 
[2026-06-23 23:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:57] 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-06-23 23: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-06-23 23:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252513792001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252513792001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252513792001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":111313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:57] local.INFO: GPS data processed {"connection_id":111313,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:57] local.INFO: Acknowledgment sent {"connection_id":111313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:13:58] local.INFO: TCP Data received {"connection_id":112116,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5946a48012d7d494005ce0730000500b72b..."} 
[2026-06-23 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5946a48012d7d494005ce0730000500b72b..."} 
[2026-06-23 23:13:58] local.INFO: Processing buffer {"connection_id":112116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5946a48012d7d494005ce0730000500b72b..."} 
[2026-06-23 23:13:58] local.INFO: Packet analysis {"connection_id":112116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:13:58] local.INFO: Extracted packet for processing {"connection_id":112116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":97388336,"longitude_deg":76.3185472,"latitude_deg":9.7388336,"altitude":5,"angle":183,"satellites":43,"speed":18,"hex_longitude":"2d7d4940","hex_latitude":"05ce0730","is_valid_coordinates":true} 
[2026-06-23 23:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252565760001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96575036890021888,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028521009160505344,"note":"Value kept but may cause issues"} 
[2026-06-23 23:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782236605000,"timestamp_ms":1782236605000,"timestamp_seconds":1782236605,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5946a48"} 
[2026-06-23 23:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:13: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-06-23 23:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 23:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252565760001,"66":11515,"235":206,"85":15104,"24":18,"16":96575036890021888,"45":9028521009160505344},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-06-23 23:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252565760001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:13:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 23:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96575036890021888,"km_value":96575036890021.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028521009160505344,"description":"Unknown IO ID 45"} 
[2026-06-23 23:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252565760001,"power":11515,"unknown_235":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9028521009160505344}} 
[2026-06-23 23:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":112116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:13:58] local.INFO: GPS data processed {"connection_id":112116,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:13:58] local.INFO: Acknowledgment sent {"connection_id":112116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:06] local.INFO: TCP Data received {"connection_id":112117,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5936490012d20ad4006cef800000b00992e..."} 
[2026-06-23 23:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5936490012d20ad4006cef800000b00992e..."} 
[2026-06-23 23:14:06] local.INFO: Processing buffer {"connection_id":112117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5936490012d20ad4006cef800000b00992e..."} 
[2026-06-23 23:14:06] local.INFO: Packet analysis {"connection_id":112117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:14:06] local.INFO: Extracted packet for processing {"connection_id":112117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:14:06] local.INFO: GPS Element Parsed {"raw_longitude":757116224,"raw_latitude":114227200,"longitude_deg":75.7116224,"latitude_deg":11.42272,"altitude":11,"angle":153,"satellites":46,"speed":10,"hex_longitude":"2d20ad40","hex_latitude":"06cef800","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252553216001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322053260787580928,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354327103194378240,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:06] 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-06-23 23:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782236538000,"timestamp_ms":1782236538000,"timestamp_seconds":1782236538,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5936490"} 
[2026-06-23 23:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14: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-06-23 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":112117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":112117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":112117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252553216001,"66":27365,"73":206,"2":56576,"24":10,"16":322053260787580928,"45":2354327103194378240},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252553216001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322053260787580928,"km_value":322053260787580.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354327103194378240,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252553216001,"power":27365,"unknown_73":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":2354327103194378240}} 
[2026-06-23 23:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":112117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:06] local.INFO: GPS data processed {"connection_id":112117,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:06] local.INFO: Acknowledgment sent {"connection_id":112117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:13] local.INFO: TCP Data received {"connection_id":112118,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:13] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:13] local.INFO: IMEI packet received {"connection_id":112118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":112118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:14:16] local.INFO: TCP Data received {"connection_id":112118,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:16] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:16] local.INFO: IMEI packet received {"connection_id":112118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":112118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:14:20] local.INFO: TCP Data received {"connection_id":112118,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:20] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:14:20] local.INFO: IMEI packet received {"connection_id":112118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":112118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:14:21] local.INFO: TCP Data received {"connection_id":112118,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef594bc50012d7d484005cdef20000400b52b..."} 
[2026-06-23 23:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef594bc50012d7d484005cdef20000400b52b..."} 
[2026-06-23 23:14:21] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef594bc50012d7d484005cdef20000400b52b..."} 
[2026-06-23 23:14:21] local.INFO: Packet analysis {"connection_id":112118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:14:21] local.INFO: Extracted packet for processing {"connection_id":112118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:14:21] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":97382176,"longitude_deg":76.3185216,"latitude_deg":9.7382176,"altitude":4,"angle":181,"satellites":43,"speed":19,"hex_longitude":"2d7d4840","hex_latitude":"05cdef20","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252570880001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96575337537732608,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027817321716461568,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236626000,"timestamp_ms":1782236626000,"timestamp_seconds":1782236626,"priority":1,"record_length":96,"hex_timestamp":"0000019ef594bc50"} 
[2026-06-23 23:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252570880001,"66":11798,"235":206,"85":15104,"24":19,"16":96575337537732608,"45":9027817321716461568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-06-23 23:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252570880001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 23:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96575337537732608,"km_value":96575337537732.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027817321716461568,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252570880001,"power":11798,"unknown_235":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9027817321716461568}} 
[2026-06-23 23:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":112118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:21] local.INFO: GPS data processed {"connection_id":112118,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:21] local.INFO: Acknowledgment sent {"connection_id":112118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:28] local.INFO: TCP Data received {"connection_id":113052,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:14:28] local.INFO: Processing buffer {"connection_id":113052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:14:28] local.INFO: IMEI packet received {"connection_id":113052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":113052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:14:29] local.INFO: TCP Data received {"connection_id":111313,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef591a740012d196780071ff200003d007b26..."} 
[2026-06-23 23:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef591a740012d196780071ff200003d007b26..."} 
[2026-06-23 23:14:29] local.INFO: Processing buffer {"connection_id":111313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef591a740012d196780071ff200003d007b26..."} 
[2026-06-23 23:14:29] local.INFO: Packet analysis {"connection_id":111313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:14:29] local.INFO: Extracted packet for processing {"connection_id":111313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252519168001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236424000,"timestamp_ms":1782236424000,"timestamp_seconds":1782236424,"priority":1,"record_length":96,"hex_timestamp":"0000019ef591a740"} 
[2026-06-23 23:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:29] 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-06-23 23:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252519168001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252519168001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252519168001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":111313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:29] local.INFO: GPS data processed {"connection_id":111313,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:29] local.INFO: Acknowledgment sent {"connection_id":111313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:30] local.INFO: TCP Data received {"connection_id":113052,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:14:30] local.INFO: Processing buffer {"connection_id":113052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:14:30] local.INFO: IMEI packet received {"connection_id":113052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":113052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:14:31] local.INFO: TCP Data received {"connection_id":113052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef593aae0012d20bcc006ced8f8000f008f2e..."} 
[2026-06-23 23:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef593aae0012d20bcc006ced8f8000f008f2e..."} 
[2026-06-23 23:14:31] local.INFO: Processing buffer {"connection_id":113052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef593aae0012d20bcc006ced8f8000f008f2e..."} 
[2026-06-23 23:14:31] local.INFO: Packet analysis {"connection_id":113052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:14:31] local.INFO: Extracted packet for processing {"connection_id":113052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:14:31] local.INFO: GPS Element Parsed {"raw_longitude":757120192,"raw_latitude":114219256,"longitude_deg":75.7120192,"latitude_deg":11.4219256,"altitude":15,"angle":143,"satellites":46,"speed":27,"hex_longitude":"2d20bcc0","hex_latitude":"06ced8f8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252553728001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322053690284310528,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354608578170978304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:31] 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-06-23 23:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782236556000,"timestamp_ms":1782236556000,"timestamp_seconds":1782236556,"priority":1,"record_length":96,"hex_timestamp":"0000019ef593aae0"} 
[2026-06-23 23:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14:31] 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-06-23 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":113052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":113052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":113052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252553728001,"66":27397,"73":206,"2":56576,"24":27,"16":322053690284310528,"45":2354608578170978304},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252553728001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:31] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322053690284310528,"km_value":322053690284310.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354608578170978304,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252553728001,"power":27397,"unknown_73":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2354608578170978304}} 
[2026-06-23 23:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":113052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:32] local.INFO: GPS data processed {"connection_id":113052,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:32] local.INFO: Acknowledgment sent {"connection_id":113052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:33] local.INFO: TCP Data received {"connection_id":113052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef593c638012d20c78006cec830000e009b2e..."} 
[2026-06-23 23:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef593c638012d20c78006cec830000e009b2e..."} 
[2026-06-23 23:14:33] local.INFO: Processing buffer {"connection_id":113052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef593c638012d20c78006cec830000e009b2e..."} 
[2026-06-23 23:14:33] local.INFO: Packet analysis {"connection_id":113052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:14:33] local.INFO: Extracted packet for processing {"connection_id":113052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:14:33] local.INFO: GPS Element Parsed {"raw_longitude":757122944,"raw_latitude":114214960,"longitude_deg":75.7122944,"latitude_deg":11.421496,"altitude":14,"angle":155,"satellites":46,"speed":27,"hex_longitude":"2d20c780","hex_latitude":"06cec830","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252558336001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322053935097446400,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2358971440307959808,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:33] 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-06-23 23:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782236563000,"timestamp_ms":1782236563000,"timestamp_seconds":1782236563,"priority":1,"record_length":96,"hex_timestamp":"0000019ef593c638"} 
[2026-06-23 23:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14: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-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":113052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":113052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":113052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252558336001,"66":27376,"73":206,"2":56576,"24":27,"16":322053935097446400,"45":2358971440307959808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252558336001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:33] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322053935097446400,"km_value":322053935097446.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2358971440307959808,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252558336001,"power":27376,"unknown_73":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2358971440307959808}} 
[2026-06-23 23:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":113052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:33] local.INFO: GPS data processed {"connection_id":113052,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:33] local.INFO: Acknowledgment sent {"connection_id":113052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:51] local.INFO: TCP Data received {"connection_id":112119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:51] local.INFO: Processing buffer {"connection_id":112119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:51] local.INFO: IMEI packet received {"connection_id":112119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":112119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:14:52] local.INFO: TCP Data received {"connection_id":112118,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef594cfd8012d7d488005cde790000500a92a..."} 
[2026-06-23 23:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef594cfd8012d7d488005cde790000500a92a..."} 
[2026-06-23 23:14:52] local.INFO: Processing buffer {"connection_id":112118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef594cfd8012d7d488005cde790000500a92a..."} 
[2026-06-23 23:14:52] local.INFO: Packet analysis {"connection_id":112118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:14:52] local.INFO: Extracted packet for processing {"connection_id":112118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:14:52] local.INFO: GPS Element Parsed {"raw_longitude":763185280,"raw_latitude":97380240,"longitude_deg":76.318528,"latitude_deg":9.738024,"altitude":5,"angle":169,"satellites":42,"speed":9,"hex_longitude":"2d7d4880","hex_latitude":"05cde790","is_valid_coordinates":true} 
[2026-06-23 23:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252576256001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96575432027013120,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846738173952,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782236631000,"timestamp_ms":1782236631000,"timestamp_seconds":1782236631,"priority":1,"record_length":96,"hex_timestamp":"0000019ef594cfd8"} 
[2026-06-23 23:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14:52] 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-06-23 23:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4120073456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845822192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2479753217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184174944461,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-779122726933419520,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800550094,"corrected_to":0} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":166,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":84,"raw_value":1634765887243008,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":87,"raw_value":1762877779138838528,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3026454133965064704,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":174,"raw_value":57834062526436667,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-2605331089546051579,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.WARNING: Large IO value detected {"io_id":38,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:52] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,235,85,24,241,157,16,26,158,106,45,64,7,5,43,10,66,28,192,41,4,40,237,245,1,240,227,25,206,113,205,36,166,84,184,39,239,46,2,87,69,181,174,146,38],"length":632,"final_offset":762,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2800550094,"validated":0}]} 
[2026-06-23 23:14:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288429572441178112,"timestamp_seconds":288429572441178.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252576256001,"66":11471,"235":206,"85":15104,"24":9,"16":96575432027013120,"45":9027535846738173952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-06-23 23:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252576256001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:52] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 23:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96575432027013120,"km_value":96575432027013.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846738173952,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252576256001,"power":11471,"unknown_235":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9027535846738173952}} 
[2026-06-23 23:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":112118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:52] local.INFO: GPS data processed {"connection_id":112118,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:52] local.INFO: Acknowledgment sent {"connection_id":112118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:14:54] local.INFO: TCP Data received {"connection_id":112119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:54] local.INFO: Processing buffer {"connection_id":112119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:54] local.INFO: IMEI packet received {"connection_id":112119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":112119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:14:57] local.INFO: TCP Data received {"connection_id":112119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:57] local.INFO: Processing buffer {"connection_id":112119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:14:57] local.INFO: IMEI packet received {"connection_id":112119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":112119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:14:57] local.INFO: TCP Data received {"connection_id":112119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef591f948012d196780071ff200003d007b27..."} 
[2026-06-23 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef591f948012d196780071ff200003d007b27..."} 
[2026-06-23 23:14:57] local.INFO: Processing buffer {"connection_id":112119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef591f948012d196780071ff200003d007b27..."} 
[2026-06-23 23:14:57] local.INFO: Packet analysis {"connection_id":112119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:14:57] local.INFO: Extracted packet for processing {"connection_id":112119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef591"} 
[2026-06-23 23:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:14: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-06-23 23:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252524544001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236445000,"timestamp_ms":1782236445000,"timestamp_seconds":1782236445,"priority":1,"record_length":96,"hex_timestamp":"0000019ef591f948"} 
[2026-06-23 23:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:14:57] 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-06-23 23:14: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-06-23 23:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252524544001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252524544001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252524544001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":112119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:14:58] local.INFO: GPS data processed {"connection_id":112119,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:14:58] local.INFO: Acknowledgment sent {"connection_id":112119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:06] local.INFO: TCP Data received {"connection_id":113052,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef593d1f0012d20ca0006cec0b8000f00a82e..."} 
[2026-06-23 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef593d1f0012d20ca0006cec0b8000f00a82e..."} 
[2026-06-23 23:15:06] local.INFO: Processing buffer {"connection_id":113052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef593d1f0012d20ca0006cec0b8000f00a82e..."} 
[2026-06-23 23:15:06] local.INFO: Packet analysis {"connection_id":113052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:15:06] local.INFO: Extracted packet for processing {"connection_id":113052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":757123584,"raw_latitude":114213048,"longitude_deg":75.7123584,"latitude_deg":11.4213048,"altitude":15,"angle":168,"satellites":46,"speed":24,"hex_longitude":"2d20ca00","hex_latitude":"06cec0b8","is_valid_coordinates":true} 
[2026-06-23 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252560128001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322054033881694208,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361997296306499584,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:06] 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-06-23 23:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782236566000,"timestamp_ms":1782236566000,"timestamp_seconds":1782236566,"priority":1,"record_length":96,"hex_timestamp":"0000019ef593d1f0"} 
[2026-06-23 23:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:15: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-06-23 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":113052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":113052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":113052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252560128001,"66":27343,"73":206,"2":56576,"24":24,"16":322054033881694208,"45":2361997296306499584},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252560128001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322054033881694208,"km_value":322054033881694.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361997296306499584,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252560128001,"power":27343,"unknown_73":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":2361997296306499584}} 
[2026-06-23 23:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":113052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:06] local.INFO: GPS data processed {"connection_id":113052,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:06] local.INFO: Acknowledgment sent {"connection_id":113052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:15] local.INFO: TCP Data received {"connection_id":113053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:15] local.INFO: Processing buffer {"connection_id":113053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:15] local.INFO: IMEI packet received {"connection_id":113053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":113053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:15:15] local.INFO: TCP Data received {"connection_id":113053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:15] local.INFO: Processing buffer {"connection_id":113053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:15] local.INFO: IMEI packet received {"connection_id":113053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":113053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:15:20] local.INFO: TCP Data received {"connection_id":113053,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:20] local.INFO: Processing buffer {"connection_id":113053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:15:20] local.INFO: IMEI packet received {"connection_id":113053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":113053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:15:21] local.INFO: TCP Data received {"connection_id":113053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5951628012d7d490005cde380000500c72a..."} 
[2026-06-23 23:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5951628012d7d490005cde380000500c72a..."} 
[2026-06-23 23:15:21] local.INFO: Processing buffer {"connection_id":113053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5951628012d7d490005cde380000500c72a..."} 
[2026-06-23 23:15:21] local.INFO: Packet analysis {"connection_id":113053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef595"} 
[2026-06-23 23:15:21] local.INFO: Extracted packet for processing {"connection_id":113053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef595"} 
[2026-06-23 23:15:21] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97379200,"longitude_deg":76.3185408,"latitude_deg":9.73792,"altitude":5,"angle":199,"satellites":42,"speed":6,"hex_longitude":"2d7d4900","hex_latitude":"05cde380","is_valid_coordinates":true} 
[2026-06-23 23:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252577536001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96575487861587968,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027606215481856000,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236649000,"timestamp_ms":1782236649000,"timestamp_seconds":1782236649,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5951628"} 
[2026-06-23 23:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:21] 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-06-23 23:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252577536001,"66":11776,"235":206,"85":15104,"24":6,"16":96575487861587968,"45":9027606215481856000},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-06-23 23:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252577536001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:21] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 23:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96575487861587968,"km_value":96575487861587.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027606215481856000,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252577536001,"power":11776,"unknown_235":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9027606215481856000}} 
[2026-06-23 23:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":113053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:21] local.INFO: GPS data processed {"connection_id":113053,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:21] local.INFO: Acknowledgment sent {"connection_id":113053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:23] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:15:23] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:15:23] local.INFO: IMEI packet received {"connection_id":112120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":112120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:15:26] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:15:26] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:15:26] local.INFO: IMEI packet received {"connection_id":112120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":112120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:15:27] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef593d9c0012d20ca8006cebbd0001000b32e..."} 
[2026-06-23 23:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef593d9c0012d20ca8006cebbd0001000b32e..."} 
[2026-06-23 23:15:27] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef593d9c0012d20ca8006cebbd0001000b32e..."} 
[2026-06-23 23:15:27] local.INFO: Packet analysis {"connection_id":112120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:15:27] local.INFO: Extracted packet for processing {"connection_id":112120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef593"} 
[2026-06-23 23:15:27] local.INFO: GPS Element Parsed {"raw_longitude":757123712,"raw_latitude":114211792,"longitude_deg":75.7123712,"latitude_deg":11.4211792,"altitude":16,"angle":179,"satellites":46,"speed":25,"hex_longitude":"2d20ca80","hex_latitude":"06cebbd0","is_valid_coordinates":true} 
[2026-06-23 23:15: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-06-23 23:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252560896001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322054094011236352,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362700983747786752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:27] 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-06-23 23:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782236568000,"timestamp_ms":1782236568000,"timestamp_seconds":1782236568,"priority":1,"record_length":96,"hex_timestamp":"0000019ef593d9c0"} 
[2026-06-23 23:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:15: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-06-23 23:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:15: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-06-23 23:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252560896001,"66":27289,"73":206,"2":56576,"24":25,"16":322054094011236352,"45":2362700983747786752},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252560896001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:27] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322054094011236352,"km_value":322054094011236.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362700983747786752,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252560896001,"power":27289,"unknown_73":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":2362700983747786752}} 
[2026-06-23 23:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":112120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:27] local.INFO: GPS data processed {"connection_id":112120,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:27] local.INFO: Acknowledgment sent {"connection_id":112120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:29] local.INFO: TCP Data received {"connection_id":112119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5924b50012d196780071ff200003d007b25..."} 
[2026-06-23 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5924b50012d196780071ff200003d007b25..."} 
[2026-06-23 23:15:29] local.INFO: Processing buffer {"connection_id":112119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5924b50012d196780071ff200003d007b25..."} 
[2026-06-23 23:15:29] local.INFO: Packet analysis {"connection_id":112119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:15:29] local.INFO: Extracted packet for processing {"connection_id":112119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252529920001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236466000,"timestamp_ms":1782236466000,"timestamp_seconds":1782236466,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5924b50"} 
[2026-06-23 23:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:29] 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-06-23 23:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252529920001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252529920001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:15:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252529920001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":112119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:29] local.INFO: GPS data processed {"connection_id":112119,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:29] local.INFO: Acknowledgment sent {"connection_id":112119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:51] local.INFO: TCP Data received {"connection_id":111314,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:15:51] local.INFO: Processing buffer {"connection_id":111314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:15:51] local.INFO: IMEI packet received {"connection_id":111314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":111314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:15:53] local.INFO: TCP Data received {"connection_id":113053,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59521e0012d7d484005cde0c8000500bc29..."} 
[2026-06-23 23:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59521e0012d7d484005cde0c8000500bc29..."} 
[2026-06-23 23:15:53] local.INFO: Processing buffer {"connection_id":113053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59521e0012d7d484005cde0c8000500bc29..."} 
[2026-06-23 23:15:53] local.INFO: Packet analysis {"connection_id":113053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef595"} 
[2026-06-23 23:15:53] local.INFO: Extracted packet for processing {"connection_id":113053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef595"} 
[2026-06-23 23:15:53] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":97378504,"longitude_deg":76.3185216,"latitude_deg":9.7378504,"altitude":5,"angle":188,"satellites":41,"speed":11,"hex_longitude":"2d7d4840","hex_latitude":"05cde0c8","is_valid_coordinates":true} 
[2026-06-23 23:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252582144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96575522221326336,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952969945088,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782236652000,"timestamp_ms":1782236652000,"timestamp_seconds":1782236652,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59521e0"} 
[2026-06-23 23:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:15:53] 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-06-23 23:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4120104456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2800550094,"corrected_to":0} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3221605966,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075558,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,235,85,24,241,157,16,26,158,207,45,128,231,5,42,10,66,188,64,239,4,43,106,1,240,251,227,245,206,113,205,34,78,248,40,47,237,2,87],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2800550094,"validated":0}]} 
[2026-06-23 23:15:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360506953392586752,"timestamp_seconds":360506953392586.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":113053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":113053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":113053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252582144001,"66":11787,"235":206,"85":15104,"24":11,"16":96575522221326336,"45":9027746952969945088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-06-23 23:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252582144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:53] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-06-23 23:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96575522221326336,"km_value":96575522221326.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952969945088,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252582144001,"power":11787,"unknown_235":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9027746952969945088}} 
[2026-06-23 23:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":113053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:53] local.INFO: GPS data processed {"connection_id":113053,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:53] local.INFO: Acknowledgment sent {"connection_id":113053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:57] local.INFO: TCP Data received {"connection_id":111314,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:15:57] local.INFO: Processing buffer {"connection_id":111314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:15:57] local.INFO: IMEI packet received {"connection_id":111314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":111314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:15:57] local.INFO: TCP Data received {"connection_id":111314,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5929d58012d196780071ff200003d007b24..."} 
[2026-06-23 23:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5929d58012d196780071ff200003d007b24..."} 
[2026-06-23 23:15:57] local.INFO: Processing buffer {"connection_id":111314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5929d58012d196780071ff200003d007b24..."} 
[2026-06-23 23:15:57] local.INFO: Packet analysis {"connection_id":111314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:15:57] local.INFO: Extracted packet for processing {"connection_id":111314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252535296001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236487000,"timestamp_ms":1782236487000,"timestamp_seconds":1782236487,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5929d58"} 
[2026-06-23 23:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:57] 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-06-23 23:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252535296001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252535296001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252535296001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":111314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:57] local.INFO: GPS data processed {"connection_id":111314,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:57] local.INFO: Acknowledgment sent {"connection_id":111314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:15:59] local.INFO: TCP Data received {"connection_id":112120,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59408a0012d20cdc006ce9640000e00a82d..."} 
[2026-06-23 23:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59408a0012d20cdc006ce9640000e00a82d..."} 
[2026-06-23 23:15:59] local.INFO: Processing buffer {"connection_id":112120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59408a0012d20cdc006ce9640000e00a82d..."} 
[2026-06-23 23:15:59] local.INFO: Packet analysis {"connection_id":112120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:15:59] local.INFO: Extracted packet for processing {"connection_id":112120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef594"} 
[2026-06-23 23:15:59] local.INFO: GPS Element Parsed {"raw_longitude":757124544,"raw_latitude":114202176,"longitude_deg":75.7124544,"latitude_deg":11.4202176,"altitude":14,"angle":168,"satellites":45,"speed":37,"hex_longitude":"2d20cdc0","hex_latitude":"06ce9640","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252561408001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322054562162671616,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362841721235820544,"note":"Value kept but may cause issues"} 
[2026-06-23 23:15:59] 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-06-23 23:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782236580000,"timestamp_ms":1782236580000,"timestamp_seconds":1782236580,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59408a0"} 
[2026-06-23 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-06-23 23:15:59] 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-06-23 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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-23 23:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252561408001,"66":27397,"73":206,"2":56576,"24":37,"16":322054562162671616,"45":2362841721235820544},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-06-23 23:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252561408001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:15:59] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-06-23 23:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322054562162671616,"km_value":322054562162671.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362841721235820544,"description":"Unknown IO ID 45"} 
[2026-06-23 23:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252561408001,"power":27397,"unknown_73":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2362841721235820544}} 
[2026-06-23 23:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":112120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:15:59] local.INFO: GPS data processed {"connection_id":112120,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:15:59] local.INFO: Acknowledgment sent {"connection_id":112120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:16:10] local.INFO: TCP Data received {"connection_id":111315,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:16:10] local.INFO: Processing buffer {"connection_id":111315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:16:10] local.INFO: IMEI packet received {"connection_id":111315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":111315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:16:13] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:13] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:13] local.INFO: IMEI packet received {"connection_id":111484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":111484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:16:16] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:16] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:16] local.INFO: IMEI packet received {"connection_id":111484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":111484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:16:16] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:16] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:16] local.INFO: IMEI packet received {"connection_id":111484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":111484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:16:21] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:21] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:16:21] local.INFO: IMEI packet received {"connection_id":111484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":111484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:16:21] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef596cf90012d7d538005cc4fc0000400ba2a..."} 
[2026-06-23 23:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef596cf90012d7d538005cc4fc0000400ba2a..."} 
[2026-06-23 23:16:21] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef596cf90012d7d538005cc4fc0000400ba2a..."} 
[2026-06-23 23:16:21] local.INFO: Packet analysis {"connection_id":111484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:16:21] local.INFO: Extracted packet for processing {"connection_id":111484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:16:21] local.INFO: GPS Element Parsed {"raw_longitude":763188096,"raw_latitude":97275840,"longitude_deg":76.3188096,"latitude_deg":9.727584,"altitude":4,"angle":186,"satellites":42,"speed":31,"hex_longitude":"2d7d5380","hex_latitude":"05cc4fc0","is_valid_coordinates":true} 
[2026-06-23 23:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252608000001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96580512973324288,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031898708852363264,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236762000,"timestamp_ms":1782236762000,"timestamp_seconds":1782236762,"priority":1,"record_length":96,"hex_timestamp":"0000019ef596cf90"} 
[2026-06-23 23:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:16:21] 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-06-23 23:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-23 23:16:21] 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-06-23 23:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252608000001,"66":12232,"129":206,"85":15104,"24":31,"16":96580512973324288,"45":9031898708852363264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252608000001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:16:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96580512973324288,"km_value":96580512973324.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031898708852363264,"description":"Unknown IO ID 45"} 
[2026-06-23 23:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252608000001,"power":12232,"unknown_129":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9031898708852363264}} 
[2026-06-23 23:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":111484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:16:21] local.INFO: GPS data processed {"connection_id":111484,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:16:21] local.INFO: Acknowledgment sent {"connection_id":111484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:16:22] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:22] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:22] local.INFO: IMEI packet received {"connection_id":111485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":111485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:16:23] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:23] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:23] local.INFO: IMEI packet received {"connection_id":111485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":111485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:16:28] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:28] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:16:28] local.INFO: IMEI packet received {"connection_id":111485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":111485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:16:29] local.INFO: TCP Data received {"connection_id":111314,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef592ef60012d196780071ff200003d007b22..."} 
[2026-06-23 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef592ef60012d196780071ff200003d007b22..."} 
[2026-06-23 23:16:29] local.INFO: Processing buffer {"connection_id":111314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef592ef60012d196780071ff200003d007b22..."} 
[2026-06-23 23:16:29] local.INFO: Packet analysis {"connection_id":111314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:16:29] local.INFO: Extracted packet for processing {"connection_id":111314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef592"} 
[2026-06-23 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":34,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252540672001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236508000,"timestamp_ms":1782236508000,"timestamp_seconds":1782236508,"priority":1,"record_length":96,"hex_timestamp":"0000019ef592ef60"} 
[2026-06-23 23:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:16:29] 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-06-23 23:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252540672001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252540672001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252540672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:16:29] local.INFO: GPS data processed {"connection_id":111314,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:16:29] local.INFO: Acknowledgment sent {"connection_id":111314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:16:29] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5960858012d2144c006cda308000d00852f..."} 
[2026-06-23 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5960858012d2144c006cda308000d00852f..."} 
[2026-06-23 23:16:29] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5960858012d2144c006cda308000d00852f..."} 
[2026-06-23 23:16:29] local.INFO: Packet analysis {"connection_id":111485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:16:29] local.INFO: Extracted packet for processing {"connection_id":111485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":757155008,"raw_latitude":114139912,"longitude_deg":75.7155008,"latitude_deg":11.4139912,"altitude":13,"angle":133,"satellites":47,"speed":41,"hex_longitude":"2d2144c0","hex_latitude":"06cda308","is_valid_coordinates":true} 
[2026-06-23 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252595456001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322058015316377600,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2389581844006578176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:29] 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-06-23 23:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236711000,"timestamp_ms":1782236711000,"timestamp_seconds":1782236711,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5960858"} 
[2026-06-23 23:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:16:29] 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-06-23 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252595456001,"66":27484,"120":206,"2":56576,"24":41,"16":322058015316377600,"45":2389581844006578176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-23 23:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252595456001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-23 23:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322058015316377600,"km_value":322058015316377.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2389581844006578176,"description":"Unknown IO ID 45"} 
[2026-06-23 23:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252595456001,"power":27484,"unknown_120":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":2389581844006578176}} 
[2026-06-23 23:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":111485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:16:29] local.INFO: GPS data processed {"connection_id":111485,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:16:29] local.INFO: Acknowledgment sent {"connection_id":111485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:16:52] local.INFO: TCP Data received {"connection_id":111484,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef596f6a0012d7d4f8005cc3850000300c62b..."} 
[2026-06-23 23:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef596f6a0012d7d4f8005cc3850000300c62b..."} 
[2026-06-23 23:16:52] local.INFO: Processing buffer {"connection_id":111484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef596f6a0012d7d4f8005cc3850000300c62b..."} 
[2026-06-23 23:16:52] local.INFO: Packet analysis {"connection_id":111484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:16:52] local.INFO: Extracted packet for processing {"connection_id":111484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":97269840,"longitude_deg":76.3187072,"latitude_deg":9.726984,"altitude":3,"angle":198,"satellites":43,"speed":11,"hex_longitude":"2d7d4f80","hex_latitude":"05cc3850","is_valid_coordinates":true} 
[2026-06-23 23:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252611072001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96580809326067712,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440198946816,"note":"Value kept but may cause issues"} 
[2026-06-23 23:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782236772000,"timestamp_ms":1782236772000,"timestamp_seconds":1782236772,"priority":1,"record_length":96,"hex_timestamp":"0000019ef596f6a0"} 
[2026-06-23 23:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:16:52] 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-06-23 23:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:16:52] 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-06-23 23:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252611072001,"66":11602,"129":206,"85":15104,"24":11,"16":96580809326067712,"45":9030702440198946816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252611072001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:16:52] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96580809326067712,"km_value":96580809326067.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440198946816,"description":"Unknown IO ID 45"} 
[2026-06-23 23:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252611072001,"power":11602,"unknown_129":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9030702440198946816}} 
[2026-06-23 23:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":111484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:16:52] local.INFO: GPS data processed {"connection_id":111484,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:16:52] local.INFO: Acknowledgment sent {"connection_id":111484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:16:56] local.INFO: TCP Data received {"connection_id":112121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:16:56] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:16:56] local.INFO: IMEI packet received {"connection_id":112121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":112121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:16:59] local.INFO: TCP Data received {"connection_id":112121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:16:59] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:16:59] local.INFO: IMEI packet received {"connection_id":112121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":112121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:17:00] local.INFO: TCP Data received {"connection_id":112121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59675b8012d196780071ff200003d007b26..."} 
[2026-06-23 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59675b8012d196780071ff200003d007b26..."} 
[2026-06-23 23:17:00] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59675b8012d196780071ff200003d007b26..."} 
[2026-06-23 23:17:00] local.INFO: Packet analysis {"connection_id":112121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:00] local.INFO: Extracted packet for processing {"connection_id":112121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252599808001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17: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-06-23 23:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782236739000,"timestamp_ms":1782236739000,"timestamp_seconds":1782236739,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59675b8"} 
[2026-06-23 23:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:17: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-06-23 23: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-06-23 23:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252599808001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252599808001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252599808001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":112121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:00] local.INFO: GPS data processed {"connection_id":112121,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:00] local.INFO: Acknowledgment sent {"connection_id":112121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:01] local.INFO: TCP Data received {"connection_id":111485,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5962b80012d21608006cd87b8000d00892e..."} 
[2026-06-23 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5962b80012d21608006cd87b8000d00892e..."} 
[2026-06-23 23:17:01] local.INFO: Processing buffer {"connection_id":111485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5962b80012d21608006cd87b8000d00892e..."} 
[2026-06-23 23:17:01] local.INFO: Packet analysis {"connection_id":111485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:01] local.INFO: Extracted packet for processing {"connection_id":111485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:01] local.INFO: GPS Element Parsed {"raw_longitude":757162112,"raw_latitude":114132920,"longitude_deg":75.7162112,"latitude_deg":11.413292,"altitude":13,"angle":137,"satellites":46,"speed":45,"hex_longitude":"2d216080","hex_latitude":"06cd87b8","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252598016001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322058496352714752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2397252037120296960,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:01] 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-06-23 23:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236720000,"timestamp_ms":1782236720000,"timestamp_seconds":1782236720,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5962b80"} 
[2026-06-23 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-06-23 23:17:01] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:17:01] 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-06-23 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-06-23 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-06-23 23:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252598016001,"66":27484,"240":206,"2":56576,"24":45,"16":322058496352714752,"45":2397252037120296960},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252598016001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-23 23:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322058496352714752,"km_value":322058496352714.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2397252037120296960,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252598016001,"power":27484,"unknown_240":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":2397252037120296960}} 
[2026-06-23 23:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":111485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:01] local.INFO: GPS data processed {"connection_id":111485,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:01] local.INFO: Acknowledgment sent {"connection_id":111485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:01] local.INFO: TCP Data received {"connection_id":112121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef596c7c0012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef596c7c0012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:01] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef596c7c0012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:01] local.INFO: Packet analysis {"connection_id":112121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:01] local.INFO: Extracted packet for processing {"connection_id":112121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252605184001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236760000,"timestamp_ms":1782236760000,"timestamp_seconds":1782236760,"priority":1,"record_length":96,"hex_timestamp":"0000019ef596c7c0"} 
[2026-06-23 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-06-23 23:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:17: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-06-23 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-06-23 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-06-23 23:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252605184001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252605184001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252605184001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":112121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:01] local.INFO: GPS data processed {"connection_id":112121,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:01] local.INFO: Acknowledgment sent {"connection_id":112121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:15] local.INFO: TCP Data received {"connection_id":113054,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:17:15] local.INFO: Processing buffer {"connection_id":113054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:17:15] local.INFO: IMEI packet received {"connection_id":113054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":113054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:17:20] local.INFO: TCP Data received {"connection_id":113054,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:17:20] local.INFO: Processing buffer {"connection_id":113054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:17:20] local.INFO: IMEI packet received {"connection_id":113054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":113054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:17:21] local.INFO: TCP Data received {"connection_id":113054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef596fe70012d7d4f0005cc36c0000300da2a..."} 
[2026-06-23 23:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef596fe70012d7d4f0005cc36c0000300da2a..."} 
[2026-06-23 23:17:21] local.INFO: Processing buffer {"connection_id":113054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef596fe70012d7d4f0005cc36c0000300da2a..."} 
[2026-06-23 23:17:21] local.INFO: Packet analysis {"connection_id":113054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:21] local.INFO: Extracted packet for processing {"connection_id":113054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763186944,"raw_latitude":97269440,"longitude_deg":76.3186944,"latitude_deg":9.726944,"altitude":3,"angle":218,"satellites":42,"speed":6,"hex_longitude":"2d7d4f00","hex_latitude":"05cc36c0","is_valid_coordinates":true} 
[2026-06-23 23:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252613632001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96580830800904192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540290568192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782236774000,"timestamp_ms":1782236774000,"timestamp_seconds":1782236774,"priority":1,"record_length":96,"hex_timestamp":"0000019ef596fe70"} 
[2026-06-23 23:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:17:21] 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-06-23 23:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 23:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252613632001,"66":11700,"129":206,"85":15104,"24":6,"16":96580830800904192,"45":9029576540290568192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252613632001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:21] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96580830800904192,"km_value":96580830800904.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540290568192,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252613632001,"power":11700,"unknown_129":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9029576540290568192}} 
[2026-06-23 23:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":113054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:21] local.INFO: GPS data processed {"connection_id":113054,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:21] local.INFO: Acknowledgment sent {"connection_id":113054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:22] local.INFO: TCP Data received {"connection_id":111316,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:22] local.INFO: Processing buffer {"connection_id":111316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:22] local.INFO: IMEI packet received {"connection_id":111316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":111316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:17:22] local.INFO: TCP Data received {"connection_id":111316,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:22] local.INFO: Processing buffer {"connection_id":111316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:22] local.INFO: IMEI packet received {"connection_id":111316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":111316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:17:28] local.INFO: TCP Data received {"connection_id":111316,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:28] local.INFO: Processing buffer {"connection_id":111316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:17:28] local.INFO: IMEI packet received {"connection_id":111316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":111316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:17:29] local.INFO: TCP Data received {"connection_id":111316,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5964ac0012d21788006cd6ad0000c00902e..."} 
[2026-06-23 23:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5964ac0012d21788006cd6ad0000c00902e..."} 
[2026-06-23 23:17:29] local.INFO: Processing buffer {"connection_id":111316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5964ac0012d21788006cd6ad0000c00902e..."} 
[2026-06-23 23:17:29] local.INFO: Packet analysis {"connection_id":111316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:29] local.INFO: Extracted packet for processing {"connection_id":111316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef596"} 
[2026-06-23 23:17:29] local.INFO: GPS Element Parsed {"raw_longitude":757168256,"raw_latitude":114125520,"longitude_deg":75.7168256,"latitude_deg":11.412552,"altitude":12,"angle":144,"satellites":46,"speed":50,"hex_longitude":"2d217880","hex_latitude":"06cd6ad0","is_valid_coordinates":true} 
[2026-06-23 23:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252600320001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322058960209182720,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2405062967722227712,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:29] 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-06-23 23:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236728000,"timestamp_ms":1782236728000,"timestamp_seconds":1782236728,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5964ac0"} 
[2026-06-23 23:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:17:29] 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-06-23 23:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252600320001,"66":27484,"240":206,"2":56576,"24":50,"16":322058960209182720,"45":2405062967722227712},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-23 23:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252600320001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:29] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-23 23:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322058960209182720,"km_value":322058960209182.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2405062967722227712,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252600320001,"power":27484,"unknown_240":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2405062967722227712}} 
[2026-06-23 23:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":111316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:29] local.INFO: GPS data processed {"connection_id":111316,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:29] local.INFO: Acknowledgment sent {"connection_id":111316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:32] local.INFO: TCP Data received {"connection_id":112121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59719c8012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59719c8012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:32] local.INFO: Processing buffer {"connection_id":112121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59719c8012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:32] local.INFO: Packet analysis {"connection_id":112121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:17:32] local.INFO: Extracted packet for processing {"connection_id":112121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252610560001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17: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-06-23 23:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782236781000,"timestamp_ms":1782236781000,"timestamp_seconds":1782236781,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59719c8"} 
[2026-06-23 23:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:17:32] 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-06-23 23: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-06-23 23:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252610560001,"66":12102,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252610560001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252610560001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":112121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:32] local.INFO: GPS data processed {"connection_id":112121,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:32] local.INFO: Acknowledgment sent {"connection_id":112121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:51] local.INFO: TCP Data received {"connection_id":111487,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:17:51] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:17:51] local.INFO: IMEI packet received {"connection_id":111487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":111487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:17:52] local.INFO: TCP Data received {"connection_id":113054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59711f8012d7d4d0005cc35c0000401132a..."} 
[2026-06-23 23:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59711f8012d7d4d0005cc35c0000401132a..."} 
[2026-06-23 23:17:52] local.INFO: Processing buffer {"connection_id":113054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59711f8012d7d4d0005cc35c0000401132a..."} 
[2026-06-23 23:17:52] local.INFO: Packet analysis {"connection_id":113054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:17:52] local.INFO: Extracted packet for processing {"connection_id":113054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763186432,"raw_latitude":97269184,"longitude_deg":76.3186432,"latitude_deg":9.7269184,"altitude":4,"angle":275,"satellites":42,"speed":6,"hex_longitude":"2d7d4d00","hex_latitude":"05cc35c0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252614144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96580860865675264,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435802802110464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782236779000,"timestamp_ms":1782236779000,"timestamp_seconds":1782236779,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59711f8"} 
[2026-06-23 23:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:17:52] 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-06-23 23: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 23:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":113054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":113054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":113054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252614144001,"66":12015,"129":206,"85":15104,"24":6,"16":96580860865675264,"45":9029435802802110464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252614144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:52] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96580860865675264,"km_value":96580860865675.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435802802110464,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252614144001,"power":12015,"unknown_129":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9029435802802110464}} 
[2026-06-23 23:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":113054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:52] local.INFO: GPS data processed {"connection_id":113054,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:52] local.INFO: Acknowledgment sent {"connection_id":113054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:17:56] local.INFO: TCP Data received {"connection_id":111487,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:17:56] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:17:56] local.INFO: IMEI packet received {"connection_id":111487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":111487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:17:57] local.INFO: TCP Data received {"connection_id":111487,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5976bd0012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5976bd0012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:57] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5976bd0012d196780071ff200003d007b28..."} 
[2026-06-23 23:17:57] local.INFO: Packet analysis {"connection_id":111487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:17:57] local.INFO: Extracted packet for processing {"connection_id":111487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:17: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-06-23 23:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252615936001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236802000,"timestamp_ms":1782236802000,"timestamp_seconds":1782236802,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5976bd0"} 
[2026-06-23 23:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-23 23:17:57] 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-06-23 23:17: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-06-23 23:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252615936001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252615936001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:17:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252615936001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":111487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:17:58] local.INFO: GPS data processed {"connection_id":111487,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:17:58] local.INFO: Acknowledgment sent {"connection_id":111487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:01] local.INFO: TCP Data received {"connection_id":111316,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef597d160012d227f8006cba630000c00832f..."} 
[2026-06-23 23:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef597d160012d227f8006cba630000c00832f..."} 
[2026-06-23 23:18:01] local.INFO: Processing buffer {"connection_id":111316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef597d160012d227f8006cba630000c00832f..."} 
[2026-06-23 23:18:01] local.INFO: Packet analysis {"connection_id":111316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:01] local.INFO: Extracted packet for processing {"connection_id":111316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:01] local.INFO: GPS Element Parsed {"raw_longitude":757235584,"raw_latitude":114009648,"longitude_deg":75.7235584,"latitude_deg":11.4009648,"altitude":12,"angle":131,"satellites":47,"speed":58,"hex_longitude":"2d227f80","hex_latitude":"06cba630","is_valid_coordinates":true} 
[2026-06-23 23:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252626432001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322065574458818560,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2478035355404310528,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:01] 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-06-23 23:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236828000,"timestamp_ms":1782236828000,"timestamp_seconds":1782236828,"priority":1,"record_length":96,"hex_timestamp":"0000019ef597d160"} 
[2026-06-23 23:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:18:01] 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-06-23 23:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252626432001,"66":27321,"120":206,"2":56576,"24":58,"16":322065574458818560,"45":2478035355404310528},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-23 23:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252626432001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-23 23:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322065574458818560,"km_value":322065574458818.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2478035355404310528,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252626432001,"power":27321,"unknown_120":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2478035355404310528}} 
[2026-06-23 23:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":111316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:01] local.INFO: GPS data processed {"connection_id":111316,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:01] local.INFO: Acknowledgment sent {"connection_id":111316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:15] local.INFO: TCP Data received {"connection_id":112123,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:18:15] local.INFO: Processing buffer {"connection_id":112123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:18:15] local.INFO: IMEI packet received {"connection_id":112123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":112123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:18:21] local.INFO: TCP Data received {"connection_id":112123,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:18:21] local.INFO: Processing buffer {"connection_id":112123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:18:21] local.INFO: IMEI packet received {"connection_id":112123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":112123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:18:22] local.INFO: TCP Data received {"connection_id":112123,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59715e0012d7d4c4005cc35f0000401232a..."} 
[2026-06-23 23:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59715e0012d7d4c4005cc35f0000401232a..."} 
[2026-06-23 23:18:22] local.INFO: Processing buffer {"connection_id":112123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59715e0012d7d4c4005cc35f0000401232a..."} 
[2026-06-23 23:18:22] local.INFO: Packet analysis {"connection_id":112123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:22] local.INFO: Extracted packet for processing {"connection_id":112123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763186240,"raw_latitude":97269232,"longitude_deg":76.318624,"latitude_deg":9.7269232,"altitude":4,"angle":291,"satellites":42,"speed":9,"hex_longitude":"2d7d4c40","hex_latitude":"05cc35f0","is_valid_coordinates":true} 
[2026-06-23 23:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252615424001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96580869455609856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028872852848623616,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782236780000,"timestamp_ms":1782236780000,"timestamp_seconds":1782236780,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59715e0"} 
[2026-06-23 23:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252615424001,"66":11895,"129":206,"85":15104,"24":9,"16":96580869455609856,"45":9028872852848623616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252615424001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96580869455609856,"km_value":96580869455609.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028872852848623616,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252615424001,"power":11895,"unknown_129":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9028872852848623616}} 
[2026-06-23 23:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":112123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:22] local.INFO: GPS data processed {"connection_id":112123,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:22] local.INFO: Acknowledgment sent {"connection_id":112123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:22] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:18:22] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:18:22] local.INFO: IMEI packet received {"connection_id":112124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":112124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:18:27] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:18:27] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:18:27] local.INFO: IMEI packet received {"connection_id":112124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":112124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:18:28] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef597e4e8012d22930006cb9098000c008f30..."} 
[2026-06-23 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef597e4e8012d22930006cb9098000c008f30..."} 
[2026-06-23 23:18:28] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef597e4e8012d22930006cb9098000c008f30..."} 
[2026-06-23 23:18:28] local.INFO: Packet analysis {"connection_id":112124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:28] local.INFO: Extracted packet for processing {"connection_id":112124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":757240576,"raw_latitude":114004120,"longitude_deg":75.7240576,"latitude_deg":11.400412,"altitude":12,"angle":143,"satellites":48,"speed":59,"hex_longitude":"2d229300","hex_latitude":"06cb9098","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252627968001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322065935236071424,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2485846286006628352,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:28] 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-06-23 23:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236833000,"timestamp_ms":1782236833000,"timestamp_seconds":1782236833,"priority":1,"record_length":96,"hex_timestamp":"0000019ef597e4e8"} 
[2026-06-23 23:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252627968001,"66":27300,"120":206,"2":56576,"24":59,"16":322065935236071424,"45":2485846286006628352},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-23 23:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252627968001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-23 23:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322065935236071424,"km_value":322065935236071.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2485846286006628352,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252627968001,"power":27300,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2485846286006628352}} 
[2026-06-23 23:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":112124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:28] local.INFO: GPS data processed {"connection_id":112124,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:28] local.INFO: Acknowledgment sent {"connection_id":112124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:29] local.INFO: TCP Data received {"connection_id":111487,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef597bdd8012d196780071ff200003d007b28..."} 
[2026-06-23 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef597bdd8012d196780071ff200003d007b28..."} 
[2026-06-23 23:18:29] local.INFO: Processing buffer {"connection_id":111487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef597bdd8012d196780071ff200003d007b28..."} 
[2026-06-23 23:18:29] local.INFO: Packet analysis {"connection_id":111487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:29] local.INFO: Extracted packet for processing {"connection_id":111487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252621312001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236823000,"timestamp_ms":1782236823000,"timestamp_seconds":1782236823,"priority":1,"record_length":96,"hex_timestamp":"0000019ef597bdd8"} 
[2026-06-23 23:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:29] 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-06-23 23: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-06-23 23:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252621312001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252621312001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252621312001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":111487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:29] local.INFO: GPS data processed {"connection_id":111487,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:29] local.INFO: Acknowledgment sent {"connection_id":111487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:51] local.INFO: TCP Data received {"connection_id":111488,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:18:51] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:18:51] local.INFO: IMEI packet received {"connection_id":111488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":111488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:18:53] local.INFO: TCP Data received {"connection_id":112123,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef598e6b8012d7cc24005cc7fd0000500fe26..."} 
[2026-06-23 23:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef598e6b8012d7cc24005cc7fd0000500fe26..."} 
[2026-06-23 23:18:53] local.INFO: Processing buffer {"connection_id":112123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef598e6b8012d7cc24005cc7fd0000500fe26..."} 
[2026-06-23 23:18:53] local.INFO: Packet analysis {"connection_id":112123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:18:53] local.INFO: Extracted packet for processing {"connection_id":112123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:18:53] local.INFO: GPS Element Parsed {"raw_longitude":763150912,"raw_latitude":97288144,"longitude_deg":76.3150912,"latitude_deg":9.7288144,"altitude":5,"angle":254,"satellites":38,"speed":0,"hex_longitude":"2d7cc240","hex_latitude":"05cc7fd0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252641024001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96583686954156032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994955118160046080,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782236899000,"timestamp_ms":1782236899000,"timestamp_seconds":1782236899,"priority":1,"record_length":96,"hex_timestamp":"0000019ef598e6b8"} 
[2026-06-23 23:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:18:53] 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-06-23 23: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252641024001,"66":12906,"129":206,"85":15104,"24":0,"16":96583686954156032,"45":8994955118160046080},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252641024001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:53] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96583686954156032,"km_value":96583686954156.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994955118160046080,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252641024001,"power":12906,"unknown_129":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8994955118160046080}} 
[2026-06-23 23:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":112123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:53] local.INFO: GPS data processed {"connection_id":112123,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:53] local.INFO: Acknowledgment sent {"connection_id":112123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:56] local.INFO: TCP Data received {"connection_id":111488,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:18:56] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:18:56] local.INFO: IMEI packet received {"connection_id":111488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":111488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:18:57] local.INFO: TCP Data received {"connection_id":111488,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5980fe0012d196780071ff200003d007b26..."} 
[2026-06-23 23:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5980fe0012d196780071ff200003d007b26..."} 
[2026-06-23 23:18:57] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5980fe0012d196780071ff200003d007b26..."} 
[2026-06-23 23:18:57] local.INFO: Packet analysis {"connection_id":111488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:18:57] local.INFO: Extracted packet for processing {"connection_id":111488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252626688001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236844000,"timestamp_ms":1782236844000,"timestamp_seconds":1782236844,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5980fe0"} 
[2026-06-23 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-06-23 23:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:57] 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-06-23 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-06-23 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-06-23 23:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252626688001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252626688001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252626688001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":111488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:57] local.INFO: GPS data processed {"connection_id":111488,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:57] local.INFO: Acknowledgment sent {"connection_id":111488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:18:59] local.INFO: TCP Data received {"connection_id":112124,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef597fc58012d22a64006cb7358000c00952d..."} 
[2026-06-23 23:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef597fc58012d22a64006cb7358000c00952d..."} 
[2026-06-23 23:18:59] local.INFO: Processing buffer {"connection_id":112124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef597fc58012d22a64006cb7358000c00952d..."} 
[2026-06-23 23:18:59] local.INFO: Packet analysis {"connection_id":112124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:59] local.INFO: Extracted packet for processing {"connection_id":112124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef597"} 
[2026-06-23 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":757245504,"raw_latitude":113996632,"longitude_deg":75.7245504,"latitude_deg":11.3996632,"altitude":12,"angle":149,"satellites":45,"speed":58,"hex_longitude":"2d22a640","hex_latitude":"06cb7358","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252629248001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322066364732801024,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2491335048051070976,"note":"Value kept but may cause issues"} 
[2026-06-23 23:18:59] 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-06-23 23:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782236839000,"timestamp_ms":1782236839000,"timestamp_seconds":1782236839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef597fc58"} 
[2026-06-23 23:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-23 23:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":112124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":112124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252629248001,"66":27365,"120":206,"2":56576,"24":58,"16":322066364732801024,"45":2491335048051070976},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-23 23:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252629248001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:18:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-23 23:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322066364732801024,"km_value":322066364732801.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2491335048051070976,"description":"Unknown IO ID 45"} 
[2026-06-23 23:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252629248001,"power":27365,"unknown_120":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2491335048051070976}} 
[2026-06-23 23:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":112124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:18:59] local.INFO: GPS data processed {"connection_id":112124,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:18:59] local.INFO: Acknowledgment sent {"connection_id":112124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:19:20] local.INFO: TCP Data received {"connection_id":113055,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:19:20] local.INFO: Processing buffer {"connection_id":113055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:19:20] local.INFO: IMEI packet received {"connection_id":113055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":113055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:19:22] local.INFO: TCP Data received {"connection_id":113056,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:22] local.INFO: Processing buffer {"connection_id":113056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:22] local.INFO: IMEI packet received {"connection_id":113056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":113056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:19:24] local.INFO: TCP Data received {"connection_id":113055,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:19:24] local.INFO: Processing buffer {"connection_id":113055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:19:24] local.INFO: IMEI packet received {"connection_id":113055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":113055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:19:24] local.INFO: TCP Data received {"connection_id":113055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59938c0012d7cc24005cc7fd0000500fe22..."} 
[2026-06-23 23:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59938c0012d7cc24005cc7fd0000500fe22..."} 
[2026-06-23 23:19:24] local.INFO: Processing buffer {"connection_id":113055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59938c0012d7cc24005cc7fd0000500fe22..."} 
[2026-06-23 23:19:24] local.INFO: Packet analysis {"connection_id":113055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:24] local.INFO: Extracted packet for processing {"connection_id":113055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:24] local.INFO: GPS Element Parsed {"raw_longitude":763150912,"raw_latitude":97288144,"longitude_deg":76.3150912,"latitude_deg":9.7288144,"altitude":5,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7cc240","hex_latitude":"05cc7fd0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252646144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96583686954156032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989818199834873856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782236920000,"timestamp_ms":1782236920000,"timestamp_seconds":1782236920,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59938c0"} 
[2026-06-23 23:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:19: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-06-23 23: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-23 23:19:24] 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-06-23 23: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-06-23 23:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":113055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":113055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":113055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252646144001,"66":12765,"129":206,"85":15104,"24":0,"16":96583686954156032,"45":8989818199834873856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252646144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:19:24] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96583686954156032,"km_value":96583686954156.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989818199834873856,"description":"Unknown IO ID 45"} 
[2026-06-23 23:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252646144001,"power":12765,"unknown_129":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8989818199834873856}} 
[2026-06-23 23:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":113055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:19:24] local.INFO: GPS data processed {"connection_id":113055,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:19:24] local.INFO: Acknowledgment sent {"connection_id":113055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:19:25] local.INFO: TCP Data received {"connection_id":113055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5995030012d7cc20005cc80800005010d23..."} 
[2026-06-23 23:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5995030012d7cc20005cc80800005010d23..."} 
[2026-06-23 23:19:25] local.INFO: Processing buffer {"connection_id":113055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5995030012d7cc20005cc80800005010d23..."} 
[2026-06-23 23:19:25] local.INFO: Packet analysis {"connection_id":113055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:25] local.INFO: Extracted packet for processing {"connection_id":113055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763150848,"raw_latitude":97288320,"longitude_deg":76.3150848,"latitude_deg":9.728832,"altitude":5,"angle":269,"satellites":35,"speed":6,"hex_longitude":"2d7cc200","hex_latitude":"05cc8080","is_valid_coordinates":true} 
[2026-06-23 23:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252651520001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96583695544090624,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989818199834873856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782236926000,"timestamp_ms":1782236926000,"timestamp_seconds":1782236926,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5995030"} 
[2026-06-23 23:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:19: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-06-23 23:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-23 23:19:25] 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-06-23 23:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":113055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":113055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":113055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252651520001,"66":13059,"129":206,"85":15104,"24":6,"16":96583695544090624,"45":8989818199834873856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252651520001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:19:25] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96583695544090624,"km_value":96583695544090.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989818199834873856,"description":"Unknown IO ID 45"} 
[2026-06-23 23:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252651520001,"power":13059,"unknown_129":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8989818199834873856}} 
[2026-06-23 23:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":113055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:19:25] local.INFO: GPS data processed {"connection_id":113055,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:19:25] local.INFO: Acknowledgment sent {"connection_id":113055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:19:26] local.INFO: TCP Data received {"connection_id":113056,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:26] local.INFO: Processing buffer {"connection_id":113056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:26] local.INFO: IMEI packet received {"connection_id":113056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":113056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:19:27] local.INFO: TCP Data received {"connection_id":113056,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:27] local.INFO: Processing buffer {"connection_id":113056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:19:27] local.INFO: IMEI packet received {"connection_id":113056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":113056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:19:28] local.INFO: TCP Data received {"connection_id":111488,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59861e8012d196780071ff200003d007b28..."} 
[2026-06-23 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59861e8012d196780071ff200003d007b28..."} 
[2026-06-23 23:19:28] local.INFO: Processing buffer {"connection_id":111488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59861e8012d196780071ff200003d007b28..."} 
[2026-06-23 23:19:28] local.INFO: Packet analysis {"connection_id":111488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:19:28] local.INFO: Extracted packet for processing {"connection_id":111488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252632064001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236865000,"timestamp_ms":1782236865000,"timestamp_seconds":1782236865,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59861e8"} 
[2026-06-23 23:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:19:28] 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-06-23 23:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252632064001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252632064001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252632064001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":111488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:19:28] local.INFO: GPS data processed {"connection_id":111488,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:19:28] local.INFO: Acknowledgment sent {"connection_id":111488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:19:29] local.INFO: TCP Data received {"connection_id":113056,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59911b0012d23528006ca43200010007930..."} 
[2026-06-23 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59911b0012d23528006ca43200010007930..."} 
[2026-06-23 23:19:29] local.INFO: Processing buffer {"connection_id":113056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59911b0012d23528006ca43200010007930..."} 
[2026-06-23 23:19:29] local.INFO: Packet analysis {"connection_id":113056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:29] local.INFO: Extracted packet for processing {"connection_id":113056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:29] local.INFO: GPS Element Parsed {"raw_longitude":757289600,"raw_latitude":113918752,"longitude_deg":75.72896,"latitude_deg":11.3918752,"altitude":16,"angle":121,"satellites":48,"speed":55,"hex_longitude":"2d235280","hex_latitude":"06ca4320","is_valid_coordinates":true} 
[2026-06-23 23:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252647936001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322070767074279424,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2540241325233565696,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:29] 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-06-23 23:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236910000,"timestamp_ms":1782236910000,"timestamp_seconds":1782236910,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59911b0"} 
[2026-06-23 23:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:19:29] 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-06-23 23:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:19:29] 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-06-23 23:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252647936001,"66":27397,"248":206,"2":56576,"24":55,"16":322070767074279424,"45":2540241325233565696},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-06-23 23:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252647936001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322070767074279424,"km_value":322070767074279.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2540241325233565696,"description":"Unknown IO ID 45"} 
[2026-06-23 23:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252647936001,"power":27397,"tamper_alert":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2540241325233565696}} 
[2026-06-23 23:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":113056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:19:29] local.INFO: GPS data processed {"connection_id":113056,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:19:29] local.INFO: Acknowledgment sent {"connection_id":113056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:19:51] local.INFO: TCP Data received {"connection_id":112126,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:19:51] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:19:51] local.INFO: IMEI packet received {"connection_id":112126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":112126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:19:56] local.INFO: TCP Data received {"connection_id":112126,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:19:56] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:19:56] local.INFO: IMEI packet received {"connection_id":112126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":112126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:19:57] local.INFO: TCP Data received {"connection_id":113055,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5999e50012d7c9dc005cc7ef8000801062a..."} 
[2026-06-23 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5999e50012d7c9dc005cc7ef8000801062a..."} 
[2026-06-23 23:19:57] local.INFO: Processing buffer {"connection_id":113055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5999e50012d7c9dc005cc7ef8000801062a..."} 
[2026-06-23 23:19:57] local.INFO: Packet analysis {"connection_id":113055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:57] local.INFO: Extracted packet for processing {"connection_id":113055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763141568,"raw_latitude":97287928,"longitude_deg":76.3141568,"latitude_deg":9.7287928,"altitude":8,"angle":262,"satellites":42,"speed":17,"hex_longitude":"2d7c9dc0","hex_latitude":"05cc7ef8","is_valid_coordinates":true} 
[2026-06-23 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252653056001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96584142220689408,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989747831090741248,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236946000,"timestamp_ms":1782236946000,"timestamp_seconds":1782236946,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5999e50"} 
[2026-06-23 23:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:19: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-06-23 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303146957065644,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":129,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4120383456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3431972864,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2556553217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2284847110,"corrected_to":0} 
[2026-06-23 23:19:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-06-23 23:19:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,129,85,24,241,157,16,34,158,56,45,64,127,5,10,66,230,38,152,128,1,240,227,245,204,4,113,205,39,29,216,43,239,47,2,87,6],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":204,"original":2284847110,"validated":0},{"io_id":205,"original":2894135502,"validated":0}]} 
[2026-06-23 23:19:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360583889141760000,"timestamp_seconds":360583889141760,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252653056001,"66":11917,"129":206,"85":15104,"24":17,"16":96584142220689408,"45":8989747831090741248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252653056001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96584142220689408,"km_value":96584142220689.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989747831090741248,"description":"Unknown IO ID 45"} 
[2026-06-23 23:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252653056001,"power":11917,"unknown_129":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8989747831090741248}} 
[2026-06-23 23:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":113055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:19:57] local.INFO: GPS data processed {"connection_id":113055,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:19:57] local.INFO: Acknowledgment sent {"connection_id":113055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:19:57] local.INFO: TCP Data received {"connection_id":112126,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef598b3f0012d196780071ff200003d007b26..."} 
[2026-06-23 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef598b3f0012d196780071ff200003d007b26..."} 
[2026-06-23 23:19:57] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef598b3f0012d196780071ff200003d007b26..."} 
[2026-06-23 23:19:57] local.INFO: Packet analysis {"connection_id":112126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:19:57] local.INFO: Extracted packet for processing {"connection_id":112126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef598"} 
[2026-06-23 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252637440001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236886000,"timestamp_ms":1782236886000,"timestamp_seconds":1782236886,"priority":1,"record_length":96,"hex_timestamp":"0000019ef598b3f0"} 
[2026-06-23 23:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:19:57] 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-06-23 23:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252637440001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252637440001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252637440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":112126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:19:57] local.INFO: GPS data processed {"connection_id":112126,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:19:57] local.INFO: Acknowledgment sent {"connection_id":112126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:20:01] local.INFO: TCP Data received {"connection_id":113056,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5992150012d2365c006ca3a28000f006c30..."} 
[2026-06-23 23:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5992150012d2365c006ca3a28000f006c30..."} 
[2026-06-23 23:20:01] local.INFO: Processing buffer {"connection_id":113056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5992150012d2365c006ca3a28000f006c30..."} 
[2026-06-23 23:20:01] local.INFO: Packet analysis {"connection_id":113056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:01] local.INFO: Extracted packet for processing {"connection_id":113056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:01] local.INFO: GPS Element Parsed {"raw_longitude":757294528,"raw_latitude":113916456,"longitude_deg":75.7294528,"latitude_deg":11.3916456,"altitude":15,"angle":108,"satellites":48,"speed":53,"hex_longitude":"2d2365c0","hex_latitude":"06ca3a28","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252648960001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322071024772317184,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2545237506069307392,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:01] 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-06-23 23:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782236914000,"timestamp_ms":1782236914000,"timestamp_seconds":1782236914,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5992150"} 
[2026-06-23 23:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":113056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":113056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":113056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252648960001,"66":27365,"248":206,"2":56576,"24":53,"16":322071024772317184,"45":2545237506069307392},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-06-23 23:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252648960001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322071024772317184,"km_value":322071024772317.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2545237506069307392,"description":"Unknown IO ID 45"} 
[2026-06-23 23:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252648960001,"power":27365,"tamper_alert":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2545237506069307392}} 
[2026-06-23 23:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":113056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:20:01] local.INFO: GPS data processed {"connection_id":113056,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:20:01] local.INFO: Acknowledgment sent {"connection_id":113056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:20:12] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:12] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:12] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:20:15] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:15] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:15] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:15] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:15] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:15] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:19] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:19] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:20:19] local.INFO: IMEI packet received {"connection_id":111490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":111490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:19] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef599dcd0012d7c7a8005cc7bf8000a010b2a..."} 
[2026-06-23 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef599dcd0012d7c7a8005cc7bf8000a010b2a..."} 
[2026-06-23 23:20:19] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef599dcd0012d7c7a8005cc7bf8000a010b2a..."} 
[2026-06-23 23:20:19] local.INFO: Packet analysis {"connection_id":111490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:19] local.INFO: Extracted packet for processing {"connection_id":111490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763132544,"raw_latitude":97287160,"longitude_deg":76.3132544,"latitude_deg":9.728716,"altitude":10,"angle":267,"satellites":42,"speed":22,"hex_longitude":"2d7c7a80","hex_latitude":"05cc7bf8","is_valid_coordinates":true} 
[2026-06-23 23:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252658176001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96584576012386304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979544363184879616,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782236962000,"timestamp_ms":1782236962000,"timestamp_seconds":1782236962,"priority":1,"record_length":96,"hex_timestamp":"0000019ef599dcd0"} 
[2026-06-23 23:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:20:19] 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-06-23 23:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 23:20:19] 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-06-23 23:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252658176001,"66":11743,"129":206,"85":15104,"24":22,"16":96584576012386304,"45":8979544363184879616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252658176001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:20:19] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96584576012386304,"km_value":96584576012386.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979544363184879616,"description":"Unknown IO ID 45"} 
[2026-06-23 23:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252658176001,"power":11743,"unknown_129":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8979544363184879616}} 
[2026-06-23 23:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":111490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:20:19] local.INFO: GPS data processed {"connection_id":111490,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:20:19] local.INFO: Acknowledgment sent {"connection_id":111490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:20:27] local.INFO: TCP Data received {"connection_id":113057,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:27] local.INFO: Processing buffer {"connection_id":113057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:27] local.INFO: IMEI packet received {"connection_id":113057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":113057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:20:27] local.INFO: TCP Data received {"connection_id":113057,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:27] local.INFO: Processing buffer {"connection_id":113057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:27] local.INFO: IMEI packet received {"connection_id":113057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":113057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:28] local.INFO: TCP Data received {"connection_id":112126,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59905f8012d196780071ff200003d007b26..."} 
[2026-06-23 23:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59905f8012d196780071ff200003d007b26..."} 
[2026-06-23 23:20:28] local.INFO: Processing buffer {"connection_id":112126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59905f8012d196780071ff200003d007b26..."} 
[2026-06-23 23:20:28] local.INFO: Packet analysis {"connection_id":112126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:28] local.INFO: Extracted packet for processing {"connection_id":112126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252642816001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236907000,"timestamp_ms":1782236907000,"timestamp_seconds":1782236907,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59905f8"} 
[2026-06-23 23:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:20:28] 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-06-23 23:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252642816001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252642816001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252642816001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":112126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:20:28] local.INFO: GPS data processed {"connection_id":112126,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:20:28] local.INFO: Acknowledgment sent {"connection_id":112126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:20:33] local.INFO: TCP Data received {"connection_id":113057,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:33] local.INFO: Processing buffer {"connection_id":113057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:20:33] local.INFO: IMEI packet received {"connection_id":113057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":113057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:34] local.INFO: TCP Data received {"connection_id":113057,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5993ca8012d2389c006ca32e0000e00632f..."} 
[2026-06-23 23:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5993ca8012d2389c006ca32e0000e00632f..."} 
[2026-06-23 23:20:34] local.INFO: Processing buffer {"connection_id":113057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5993ca8012d2389c006ca32e0000e00632f..."} 
[2026-06-23 23:20:34] local.INFO: Packet analysis {"connection_id":113057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:34] local.INFO: Extracted packet for processing {"connection_id":113057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:34] local.INFO: GPS Element Parsed {"raw_longitude":757303744,"raw_latitude":113914592,"longitude_deg":75.7303744,"latitude_deg":11.3914592,"altitude":14,"angle":99,"satellites":47,"speed":51,"hex_longitude":"2d2389c0","hex_latitude":"06ca32e0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252649984001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322071475743883264,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2550655899370399744,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:34] 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-06-23 23:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782236921000,"timestamp_ms":1782236921000,"timestamp_seconds":1782236921,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5993ca8"} 
[2026-06-23 23:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:20: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-06-23 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":113057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":113057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":113057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252649984001,"66":27310,"248":206,"2":56576,"24":51,"16":322071475743883264,"45":2550655899370399744},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-06-23 23:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252649984001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322071475743883264,"km_value":322071475743883.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2550655899370399744,"description":"Unknown IO ID 45"} 
[2026-06-23 23:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252649984001,"power":27310,"tamper_alert":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2550655899370399744}} 
[2026-06-23 23:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":113057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:20:34] local.INFO: GPS data processed {"connection_id":113057,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:20:34] local.INFO: Acknowledgment sent {"connection_id":113057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:20:50] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:50] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:50] local.INFO: IMEI packet received {"connection_id":111491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":111491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:20:50] local.INFO: TCP Data received {"connection_id":111490,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59a1f38012d7c564005cc7870000a010429..."} 
[2026-06-23 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59a1f38012d7c564005cc7870000a010429..."} 
[2026-06-23 23:20:50] local.INFO: Processing buffer {"connection_id":111490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59a1f38012d7c564005cc7870000a010429..."} 
[2026-06-23 23:20:50] local.INFO: Packet analysis {"connection_id":111490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:20:50] local.INFO: Extracted packet for processing {"connection_id":111490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:20:50] local.INFO: GPS Element Parsed {"raw_longitude":763123264,"raw_latitude":97286256,"longitude_deg":76.3123264,"latitude_deg":9.7286256,"altitude":10,"angle":260,"satellites":41,"speed":28,"hex_longitude":"2d7c5640","hex_latitude":"05cc7870","is_valid_coordinates":true} 
[2026-06-23 23:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252662272001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96585022688985088,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370255632384,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782236979000,"timestamp_ms":1782236979000,"timestamp_seconds":1782236979,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59a1f38"} 
[2026-06-23 23:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-23 23:20:50] 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-06-23 23:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":111490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":111490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":111490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252662272001,"66":11852,"129":206,"85":15104,"24":28,"16":96585022688985088,"45":8969622370255632384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-06-23 23:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252662272001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:20:50] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-23 23:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96585022688985088,"km_value":96585022688985.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370255632384,"description":"Unknown IO ID 45"} 
[2026-06-23 23:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252662272001,"power":11852,"unknown_129":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8969622370255632384}} 
[2026-06-23 23:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":111490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:20:51] local.INFO: GPS data processed {"connection_id":111490,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:20:51] local.INFO: Acknowledgment sent {"connection_id":111490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:20:51] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:51] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:51] local.INFO: IMEI packet received {"connection_id":111491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":111491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:56] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:56] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:20:56] local.INFO: IMEI packet received {"connection_id":111491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":111491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:20:57] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5995800012d196780071ff200003d007b26..."} 
[2026-06-23 23:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5995800012d196780071ff200003d007b26..."} 
[2026-06-23 23:20:57] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5995800012d196780071ff200003d007b26..."} 
[2026-06-23 23:20:57] local.INFO: Packet analysis {"connection_id":111491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:57] local.INFO: Extracted packet for processing {"connection_id":111491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:20: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-06-23 23:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252648192001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236928000,"timestamp_ms":1782236928000,"timestamp_seconds":1782236928,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5995800"} 
[2026-06-23 23:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:20:57] 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-06-23 23:20: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-06-23 23:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252648192001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252648192001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252648192001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":111491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:20:57] local.INFO: GPS data processed {"connection_id":111491,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:20:57] local.INFO: Acknowledgment sent {"connection_id":111491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:06] local.INFO: TCP Data received {"connection_id":113057,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59a8c98012d245a8006c904280013009031..."} 
[2026-06-23 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59a8c98012d245a8006c904280013009031..."} 
[2026-06-23 23:21:06] local.INFO: Processing buffer {"connection_id":113057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59a8c98012d245a8006c904280013009031..."} 
[2026-06-23 23:21:06] local.INFO: Packet analysis {"connection_id":113057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:06] local.INFO: Extracted packet for processing {"connection_id":113057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:06] local.INFO: GPS Element Parsed {"raw_longitude":757357184,"raw_latitude":113837096,"longitude_deg":75.7357184,"latitude_deg":11.3837096,"altitude":19,"angle":144,"satellites":49,"speed":35,"hex_longitude":"2d245a80","hex_latitude":"06c90428","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252671744001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322076397776404480,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2615676618971826176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:06] 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-06-23 23:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782237007000,"timestamp_ms":1782237007000,"timestamp_seconds":1782237007,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59a8c98"} 
[2026-06-23 23:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:21: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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:06] 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-06-23 23: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-06-23 23:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":113057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":113057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":113057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252671744001,"66":27484,"249":206,"2":56576,"24":35,"16":322076397776404480,"45":2615676618971826176},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-23 23:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252671744001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:06] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-23 23:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322076397776404480,"km_value":322076397776404.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2615676618971826176,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252671744001,"power":27484,"unknown_249":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2615676618971826176}} 
[2026-06-23 23:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":113057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:06] local.INFO: GPS data processed {"connection_id":113057,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:06] local.INFO: Acknowledgment sent {"connection_id":113057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:15] local.INFO: TCP Data received {"connection_id":111492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:21:15] local.INFO: Processing buffer {"connection_id":111492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:21:15] local.INFO: IMEI packet received {"connection_id":111492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":111492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:21:19] local.INFO: TCP Data received {"connection_id":111492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:21:19] local.INFO: Processing buffer {"connection_id":111492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:21:19] local.INFO: IMEI packet received {"connection_id":111492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":111492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:21:19] local.INFO: TCP Data received {"connection_id":111492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59a5200012d7c35c005cc74a8000a01102b..."} 
[2026-06-23 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59a5200012d7c35c005cc74a8000a01102b..."} 
[2026-06-23 23:21:19] local.INFO: Processing buffer {"connection_id":111492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59a5200012d7c35c005cc74a8000a01102b..."} 
[2026-06-23 23:21:19] local.INFO: Packet analysis {"connection_id":111492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:19] local.INFO: Extracted packet for processing {"connection_id":111492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:19] local.INFO: GPS Element Parsed {"raw_longitude":763114944,"raw_latitude":97285288,"longitude_deg":76.3114944,"latitude_deg":9.7285288,"altitude":10,"angle":272,"satellites":43,"speed":25,"hex_longitude":"2d7c35c0","hex_latitude":"05cc74a8","is_valid_coordinates":true} 
[2026-06-23 23:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252666624001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96585422120943616,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959418902349639680,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782236992000,"timestamp_ms":1782236992000,"timestamp_seconds":1782236992,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59a5200"} 
[2026-06-23 23:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:21:19] 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-06-23 23:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":111492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":111492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":111492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252666624001,"66":11917,"74":206,"85":15104,"24":25,"16":96585422120943616,"45":8959418902349639680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,45]} 
[2026-06-23 23:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252666624001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:19] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 23:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96585422120943616,"km_value":96585422120943.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959418902349639680,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252666624001,"power":11917,"unknown_74":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8959418902349639680}} 
[2026-06-23 23:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":111492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:19] local.INFO: GPS data processed {"connection_id":111492,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:19] local.INFO: Acknowledgment sent {"connection_id":111492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:23] local.INFO: TCP Data received {"connection_id":113059,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:23] local.INFO: Processing buffer {"connection_id":113059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:23] local.INFO: IMEI packet received {"connection_id":113059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":113059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:21:24] local.INFO: TCP Data received {"connection_id":113059,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:24] local.INFO: Processing buffer {"connection_id":113059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:24] local.INFO: IMEI packet received {"connection_id":113059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":113059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:21:28] local.INFO: TCP Data received {"connection_id":113059,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:28] local.INFO: Processing buffer {"connection_id":113059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:21:28] local.INFO: IMEI packet received {"connection_id":113059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":113059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:21:28] local.INFO: TCP Data received {"connection_id":111491,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef599aa08012d196780071ff200003d007b26..."} 
[2026-06-23 23:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef599aa08012d196780071ff200003d007b26..."} 
[2026-06-23 23:21:28] local.INFO: Processing buffer {"connection_id":111491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef599aa08012d196780071ff200003d007b26..."} 
[2026-06-23 23:21:28] local.INFO: Packet analysis {"connection_id":111491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:21:28] local.INFO: Extracted packet for processing {"connection_id":111491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:21: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-06-23 23:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252653568001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782236949000,"timestamp_ms":1782236949000,"timestamp_seconds":1782236949,"priority":1,"record_length":96,"hex_timestamp":"0000019ef599aa08"} 
[2026-06-23 23:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:28] 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-06-23 23:21: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-06-23 23:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252653568001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252653568001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252653568001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":111491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:28] local.INFO: GPS data processed {"connection_id":111491,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:28] local.INFO: Acknowledgment sent {"connection_id":111491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:29] local.INFO: TCP Data received {"connection_id":113059,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59ab3a8012d24724006c8e8380014008a31..."} 
[2026-06-23 23:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59ab3a8012d24724006c8e8380014008a31..."} 
[2026-06-23 23:21:29] local.INFO: Processing buffer {"connection_id":113059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59ab3a8012d24724006c8e8380014008a31..."} 
[2026-06-23 23:21:29] local.INFO: Packet analysis {"connection_id":113059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:29] local.INFO: Extracted packet for processing {"connection_id":113059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:29] local.INFO: GPS Element Parsed {"raw_longitude":757363264,"raw_latitude":113829944,"longitude_deg":75.7363264,"latitude_deg":11.3829944,"altitude":20,"angle":138,"satellites":49,"speed":39,"hex_longitude":"2d247240","hex_latitude":"06c8e838","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252673792001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322076853042937856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2619546899900016640,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:29] 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-06-23 23:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237017000,"timestamp_ms":1782237017000,"timestamp_seconds":1782237017,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59ab3a8"} 
[2026-06-23 23:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:21:29] 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-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252673792001,"66":27484,"249":206,"2":56576,"24":39,"16":322076853042937856,"45":2619546899900016640},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-23 23:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252673792001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:29] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-23 23:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322076853042937856,"km_value":322076853042937.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2619546899900016640,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252673792001,"power":27484,"unknown_249":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2619546899900016640}} 
[2026-06-23 23:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":113059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:29] local.INFO: GPS data processed {"connection_id":113059,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:29] local.INFO: Acknowledgment sent {"connection_id":113059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:30] local.INFO: TCP Data received {"connection_id":113059,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59ad6d0012d248b0006c8cc000013008d31..."} 
[2026-06-23 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59ad6d0012d248b0006c8cc000013008d31..."} 
[2026-06-23 23:21:30] local.INFO: Processing buffer {"connection_id":113059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59ad6d0012d248b0006c8cc000013008d31..."} 
[2026-06-23 23:21:30] local.INFO: Packet analysis {"connection_id":113059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:30] local.INFO: Extracted packet for processing {"connection_id":113059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:21:30] local.INFO: GPS Element Parsed {"raw_longitude":757369600,"raw_latitude":113822720,"longitude_deg":75.73696,"latitude_deg":11.382272,"altitude":19,"angle":141,"satellites":49,"speed":45,"hex_longitude":"2d248b00","hex_latitude":"06c8cc00","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252676352001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322077312604438528,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2626231930595063808,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:30] 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-06-23 23:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782237026000,"timestamp_ms":1782237026000,"timestamp_seconds":1782237026,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59ad6d0"} 
[2026-06-23 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-06-23 23:21:30] 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-06-23 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:30] 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-06-23 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-06-23 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-06-23 23:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":113059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":113059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":113059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252676352001,"66":27571,"249":206,"2":56576,"24":45,"16":322077312604438528,"45":2626231930595063808},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-23 23:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252676352001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:30] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-23 23:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322077312604438528,"km_value":322077312604438.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2626231930595063808,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252676352001,"power":27571,"unknown_249":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":2626231930595063808}} 
[2026-06-23 23:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":113059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:30] local.INFO: GPS data processed {"connection_id":113059,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:30] local.INFO: Acknowledgment sent {"connection_id":113059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:45] local.INFO: TCP Data received {"connection_id":113058,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:21:45] local.INFO: Processing buffer {"connection_id":113058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:21:45] local.INFO: IMEI packet received {"connection_id":113058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":113058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:21:51] local.INFO: TCP Data received {"connection_id":111492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59bada8012d7ba10005cc7fb0000400f929..."} 
[2026-06-23 23:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59bada8012d7ba10005cc7fb0000400f929..."} 
[2026-06-23 23:21:51] local.INFO: Processing buffer {"connection_id":111492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59bada8012d7ba10005cc7fb0000400f929..."} 
[2026-06-23 23:21:51] local.INFO: Packet analysis {"connection_id":111492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:21:51] local.INFO: Extracted packet for processing {"connection_id":111492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763076864,"raw_latitude":97288112,"longitude_deg":76.3076864,"latitude_deg":9.7288112,"altitude":4,"angle":249,"satellites":41,"speed":17,"hex_longitude":"2d7ba100","hex_latitude":"05cc7fb0","is_valid_coordinates":true} 
[2026-06-23 23:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252692224001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96587311906553856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909316356495683584,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782237081000,"timestamp_ms":1782237081000,"timestamp_seconds":1782237081,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59bada8"} 
[2026-06-23 23:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252692224001,"66":12015,"74":206,"85":15104,"24":17,"16":96587311906553856,"45":8909316356495683584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,45]} 
[2026-06-23 23:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252692224001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96587311906553856,"km_value":96587311906553.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909316356495683584,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252692224001,"power":12015,"unknown_74":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8909316356495683584}} 
[2026-06-23 23:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":111492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:51] local.INFO: GPS data processed {"connection_id":111492,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:51] local.INFO: Acknowledgment sent {"connection_id":111492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:21:51] local.INFO: TCP Data received {"connection_id":111493,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:51] local.INFO: Processing buffer {"connection_id":111493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:51] local.INFO: IMEI packet received {"connection_id":111493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":111493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:21:54] local.INFO: TCP Data received {"connection_id":111493,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:54] local.INFO: Processing buffer {"connection_id":111493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:54] local.INFO: IMEI packet received {"connection_id":111493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":111493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:21:56] local.INFO: TCP Data received {"connection_id":111493,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:56] local.INFO: Processing buffer {"connection_id":111493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:21:56] local.INFO: IMEI packet received {"connection_id":111493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":111493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:21:57] local.INFO: TCP Data received {"connection_id":111493,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef599fc10012d196780071ff200003d007b27..."} 
[2026-06-23 23:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef599fc10012d196780071ff200003d007b27..."} 
[2026-06-23 23:21:57] local.INFO: Processing buffer {"connection_id":111493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef599fc10012d196780071ff200003d007b27..."} 
[2026-06-23 23:21:57] local.INFO: Packet analysis {"connection_id":111493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:21:57] local.INFO: Extracted packet for processing {"connection_id":111493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef599"} 
[2026-06-23 23:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252658944001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782236970000,"timestamp_ms":1782236970000,"timestamp_seconds":1782236970,"priority":1,"record_length":96,"hex_timestamp":"0000019ef599fc10"} 
[2026-06-23 23:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:21:57] 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-06-23 23:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252658944001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252658944001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252658944001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":111493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:21:57] local.INFO: GPS data processed {"connection_id":111493,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:21:57] local.INFO: Acknowledgment sent {"connection_id":111493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:22:02] local.INFO: TCP Data received {"connection_id":113059,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59af228012d249d8006c8af600011009a30..."} 
[2026-06-23 23:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59af228012d249d8006c8af600011009a30..."} 
[2026-06-23 23:22:02] local.INFO: Processing buffer {"connection_id":113059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59af228012d249d8006c8af600011009a30..."} 
[2026-06-23 23:22:02] local.INFO: Packet analysis {"connection_id":113059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:22:02] local.INFO: Extracted packet for processing {"connection_id":113059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:22:02] local.INFO: GPS Element Parsed {"raw_longitude":757374336,"raw_latitude":113815392,"longitude_deg":75.7374336,"latitude_deg":11.3815392,"altitude":17,"angle":154,"satellites":48,"speed":53,"hex_longitude":"2d249d80","hex_latitude":"06c8af60","is_valid_coordinates":true} 
[2026-06-23 23:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252678656001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322077733511233536,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2633198436266803200,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:02] 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-06-23 23:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782237033000,"timestamp_ms":1782237033000,"timestamp_seconds":1782237033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59af228"} 
[2026-06-23 23:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:22: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-06-23 23:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 23:22:02] 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-06-23 23:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":113059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":113059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":113059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252678656001,"66":27463,"249":206,"2":56576,"24":53,"16":322077733511233536,"45":2633198436266803200},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-23 23:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252678656001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:22:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-23 23:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322077733511233536,"km_value":322077733511233.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2633198436266803200,"description":"Unknown IO ID 45"} 
[2026-06-23 23:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252678656001,"power":27463,"unknown_249":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2633198436266803200}} 
[2026-06-23 23:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":113059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:22:02] local.INFO: GPS data processed {"connection_id":113059,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:22:02] local.INFO: Acknowledgment sent {"connection_id":113059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:22:11] local.INFO: TCP Data received {"connection_id":111317,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:22:11] local.INFO: Processing buffer {"connection_id":111317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:22:11] local.INFO: IMEI packet received {"connection_id":111317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":111317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:22:14] local.INFO: TCP Data received {"connection_id":112127,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:14] local.INFO: Processing buffer {"connection_id":112127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:14] local.INFO: IMEI packet received {"connection_id":112127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":112127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:22:15] local.INFO: TCP Data received {"connection_id":112127,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:15] local.INFO: Processing buffer {"connection_id":112127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:15] local.INFO: IMEI packet received {"connection_id":112127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":112127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:22:20] local.INFO: TCP Data received {"connection_id":112127,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:20] local.INFO: Processing buffer {"connection_id":112127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:22:20] local.INFO: IMEI packet received {"connection_id":112127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":112127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:22:21] local.INFO: TCP Data received {"connection_id":112127,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59bec28012d7b80c005cc7100000300f82a..."} 
[2026-06-23 23:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59bec28012d7b80c005cc7100000300f82a..."} 
[2026-06-23 23:22:21] local.INFO: Processing buffer {"connection_id":112127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59bec28012d7b80c005cc7100000300f82a..."} 
[2026-06-23 23:22:21] local.INFO: Packet analysis {"connection_id":112127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:22:21] local.INFO: Extracted packet for processing {"connection_id":112127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:22:21] local.INFO: GPS Element Parsed {"raw_longitude":763068608,"raw_latitude":97284352,"longitude_deg":76.3068608,"latitude_deg":9.7284352,"altitude":3,"angle":248,"satellites":42,"speed":20,"hex_longitude":"2d7b80c0","hex_latitude":"05cc7100","is_valid_coordinates":true} 
[2026-06-23 23:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252692736001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96587745698250752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908401562821308416,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782237097000,"timestamp_ms":1782237097000,"timestamp_seconds":1782237097,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59bec28"} 
[2026-06-23 23:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:22: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-06-23 23:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252692736001,"66":12200,"74":206,"85":15104,"24":20,"16":96587745698250752,"45":8908401562821308416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,45]} 
[2026-06-23 23:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252692736001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:22:21] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 23:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96587745698250752,"km_value":96587745698250.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908401562821308416,"description":"Unknown IO ID 45"} 
[2026-06-23 23:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252692736001,"power":12200,"unknown_74":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8908401562821308416}} 
[2026-06-23 23:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":112127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:22:21] local.INFO: GPS data processed {"connection_id":112127,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:22:21] local.INFO: Acknowledgment sent {"connection_id":112127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:22:22] local.INFO: TCP Data received {"connection_id":111318,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:22] local.INFO: Processing buffer {"connection_id":111318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:22] local.INFO: IMEI packet received {"connection_id":111318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":111318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:22:24] local.INFO: TCP Data received {"connection_id":111318,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:24] local.INFO: Processing buffer {"connection_id":111318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:24] local.INFO: IMEI packet received {"connection_id":111318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":111318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:22:28] local.INFO: TCP Data received {"connection_id":111318,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:28] local.INFO: Processing buffer {"connection_id":111318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:22:28] local.INFO: IMEI packet received {"connection_id":111318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":111318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:22:28] local.INFO: TCP Data received {"connection_id":111318,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59b0d80012d24abc006c88c38000e00a130..."} 
[2026-06-23 23:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59b0d80012d24abc006c88c38000e00a130..."} 
[2026-06-23 23:22:28] local.INFO: Processing buffer {"connection_id":111318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59b0d80012d24abc006c88c38000e00a130..."} 
[2026-06-23 23:22:28] local.INFO: Packet analysis {"connection_id":111318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:22:28] local.INFO: Extracted packet for processing {"connection_id":111318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:22:28] local.INFO: GPS Element Parsed {"raw_longitude":757377984,"raw_latitude":113806392,"longitude_deg":75.7377984,"latitude_deg":11.3806392,"altitude":14,"angle":161,"satellites":48,"speed":57,"hex_longitude":"2d24abc0","hex_latitude":"06c88c38","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252680448001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322078205957636096,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2638405723334074368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:28] 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-06-23 23:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237040000,"timestamp_ms":1782237040000,"timestamp_seconds":1782237040,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59b0d80"} 
[2026-06-23 23:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:22:28] 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-06-23 23: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-06-23 23:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252680448001,"66":27376,"249":206,"2":56576,"24":57,"16":322078205957636096,"45":2638405723334074368},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-23 23:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252680448001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:22:28] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-23 23:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322078205957636096,"km_value":322078205957636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2638405723334074368,"description":"Unknown IO ID 45"} 
[2026-06-23 23:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252680448001,"power":27376,"unknown_249":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":2638405723334074368}} 
[2026-06-23 23:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":111318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:22:28] local.INFO: GPS data processed {"connection_id":111318,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:22:28] local.INFO: Acknowledgment sent {"connection_id":111318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:22:29] local.INFO: TCP Data received {"connection_id":111493,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59a4e18012d196780071ff200003d007b27..."} 
[2026-06-23 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59a4e18012d196780071ff200003d007b27..."} 
[2026-06-23 23:22:29] local.INFO: Processing buffer {"connection_id":111493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59a4e18012d196780071ff200003d007b27..."} 
[2026-06-23 23:22:29] local.INFO: Packet analysis {"connection_id":111493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:22:29] local.INFO: Extracted packet for processing {"connection_id":111493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252664320001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782236991000,"timestamp_ms":1782236991000,"timestamp_seconds":1782236991,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59a4e18"} 
[2026-06-23 23:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:22:29] 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-06-23 23:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252664320001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252664320001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:22:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252664320001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":111493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:22:29] local.INFO: GPS data processed {"connection_id":111493,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:22:29] local.INFO: Acknowledgment sent {"connection_id":111493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:22:51] local.INFO: TCP Data received {"connection_id":111319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:22:51] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:22:51] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:22:52] local.INFO: TCP Data received {"connection_id":112127,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59bf7e0012d7b7b4005cc6f68000301042a..."} 
[2026-06-23 23:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59bf7e0012d7b7b4005cc6f68000301042a..."} 
[2026-06-23 23:22:52] local.INFO: Processing buffer {"connection_id":112127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59bf7e0012d7b7b4005cc6f68000301042a..."} 
[2026-06-23 23:22:52] local.INFO: Packet analysis {"connection_id":112127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:22:52] local.INFO: Extracted packet for processing {"connection_id":112127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763067200,"raw_latitude":97283944,"longitude_deg":76.30672,"latitude_deg":9.7283944,"altitude":3,"angle":260,"satellites":42,"speed":20,"hex_longitude":"2d7b7b40","hex_latitude":"05cc6f68","is_valid_coordinates":true} 
[2026-06-23 23:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252696832001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96587818712694784,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899323994821427200,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782237100000,"timestamp_ms":1782237100000,"timestamp_seconds":1782237100,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59bf7e0"} 
[2026-06-23 23:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-06-23 23:22:52] 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-06-23 23:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252696832001,"66":12069,"74":206,"85":15104,"24":20,"16":96587818712694784,"45":8899323994821427200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,45]} 
[2026-06-23 23:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252696832001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:22:52] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-06-23 23:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96587818712694784,"km_value":96587818712694.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899323994821427200,"description":"Unknown IO ID 45"} 
[2026-06-23 23:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252696832001,"power":12069,"unknown_74":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8899323994821427200}} 
[2026-06-23 23:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":112127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:22:52] local.INFO: GPS data processed {"connection_id":112127,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:22:52] local.INFO: Acknowledgment sent {"connection_id":112127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:22:56] local.INFO: TCP Data received {"connection_id":111319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:22:56] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:22:56] local.INFO: IMEI packet received {"connection_id":111319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":111319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:22:57] local.INFO: TCP Data received {"connection_id":111319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59aa020012d196780071ff200003d007b26..."} 
[2026-06-23 23:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59aa020012d196780071ff200003d007b26..."} 
[2026-06-23 23:22:57] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59aa020012d196780071ff200003d007b26..."} 
[2026-06-23 23:22:57] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:22:57] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252669696001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237012000,"timestamp_ms":1782237012000,"timestamp_seconds":1782237012,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59aa020"} 
[2026-06-23 23:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:22:57] 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-06-23 23:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252669696001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252669696001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252669696001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:22:57] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:22:57] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:23:00] local.INFO: TCP Data received {"connection_id":111318,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c6928012d252a8006c6eca80010009a32..."} 
[2026-06-23 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c6928012d252a8006c6eca80010009a32..."} 
[2026-06-23 23:23:00] local.INFO: Processing buffer {"connection_id":111318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c6928012d252a8006c6eca80010009a32..."} 
[2026-06-23 23:23:00] local.INFO: Packet analysis {"connection_id":111318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:00] local.INFO: Extracted packet for processing {"connection_id":111318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":757410432,"raw_latitude":113700008,"longitude_deg":75.7410432,"latitude_deg":11.3700008,"altitude":16,"angle":154,"satellites":50,"speed":56,"hex_longitude":"2d252a80","hex_latitude":"06c6eca8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252703232001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-06-23 23:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322083630501330944,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2672956776697933824,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:00] 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-06-23 23:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782237129000,"timestamp_ms":1782237129000,"timestamp_seconds":1782237129,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c6928"} 
[2026-06-23 23:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:23:00] 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-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:23:00] 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-06-23 23: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-06-23 23:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252703232001,"66":27517,"200":0,"2":56576,"24":56,"16":322083630501330944,"45":2672956776697933824},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16,45]} 
[2026-06-23 23:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252703232001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322083630501330944,"km_value":322083630501330.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2672956776697933824,"description":"Unknown IO ID 45"} 
[2026-06-23 23:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252703232001,"power":27517,"gsm_signal":0,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":2672956776697933824}} 
[2026-06-23 23:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":111318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:23:00] local.INFO: GPS data processed {"connection_id":111318,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:23:00] local.INFO: Acknowledgment sent {"connection_id":111318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:23:15] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:23:15] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:23:15] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:23:20] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:23:20] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:23:20] local.INFO: IMEI packet received {"connection_id":111320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":111320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:23:21] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c2aa8012d7b61c005cc6c08000501132a..."} 
[2026-06-23 23:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c2aa8012d7b61c005cc6c08000501132a..."} 
[2026-06-23 23:23:21] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c2aa8012d7b61c005cc6c08000501132a..."} 
[2026-06-23 23:23:21] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:21] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:21] local.INFO: GPS Element Parsed {"raw_longitude":763060672,"raw_latitude":97283080,"longitude_deg":76.3060672,"latitude_deg":9.728308,"altitude":5,"angle":275,"satellites":42,"speed":18,"hex_longitude":"2d7b61c0","hex_latitude":"05cc6c08","is_valid_coordinates":true} 
[2026-06-23 23:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252697600001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96588132245307392,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897775882449414144,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782237113000,"timestamp_ms":1782237113000,"timestamp_seconds":1782237113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c2aa8"} 
[2026-06-23 23:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:23: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-06-23 23:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 23:23:21] 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-06-23 23:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252697600001,"66":12069,"75":206,"85":15104,"24":18,"16":96588132245307392,"45":8897775882449414144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252697600001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:23:21] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96588132245307392,"km_value":96588132245307.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897775882449414144,"description":"Unknown IO ID 45"} 
[2026-06-23 23:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252697600001,"power":12069,"unknown_75":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8897775882449414144}} 
[2026-06-23 23:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:23:21] local.INFO: GPS data processed {"connection_id":111320,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:23:21] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:23:22] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:23:22] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:23:22] local.INFO: IMEI packet received {"connection_id":111494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":111494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:23:26] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:23:26] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:23:26] local.INFO: IMEI packet received {"connection_id":111494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":111494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:23:27] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c8098012d253a4006c6cda0000d009832..."} 
[2026-06-23 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c8098012d253a4006c6cda0000d009832..."} 
[2026-06-23 23:23:27] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c8098012d253a4006c6cda0000d009832..."} 
[2026-06-23 23:23:27] local.INFO: Packet analysis {"connection_id":111494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:27] local.INFO: Extracted packet for processing {"connection_id":111494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":757414464,"raw_latitude":113692064,"longitude_deg":75.7414464,"latitude_deg":11.3692064,"altitude":13,"angle":152,"satellites":50,"speed":60,"hex_longitude":"2d253a40","hex_latitude":"06c6cda0","is_valid_coordinates":true} 
[2026-06-23 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252705024001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322084059998060544,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2678093695020738560,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782237135000,"timestamp_ms":1782237135000,"timestamp_seconds":1782237135,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c8098"} 
[2026-06-23 23:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 23:23:27] 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-06-23 23:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252705024001,"66":27604,"198":206,"2":56576,"24":60,"16":322084059998060544,"45":2678093695020738560},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252705024001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:23:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322084059998060544,"km_value":322084059998060.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2678093695020738560,"description":"Unknown IO ID 45"} 
[2026-06-23 23:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252705024001,"power":27604,"unknown_198":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2678093695020738560}} 
[2026-06-23 23:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":111494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:23:27] local.INFO: GPS data processed {"connection_id":111494,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:23:27] local.INFO: Acknowledgment sent {"connection_id":111494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:23:28] local.INFO: TCP Data received {"connection_id":111319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59af228012d196780071ff200003d007b25..."} 
[2026-06-23 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59af228012d196780071ff200003d007b25..."} 
[2026-06-23 23:23:28] local.INFO: Processing buffer {"connection_id":111319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59af228012d196780071ff200003d007b25..."} 
[2026-06-23 23:23:28] local.INFO: Packet analysis {"connection_id":111319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:23:28] local.INFO: Extracted packet for processing {"connection_id":111319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59a"} 
[2026-06-23 23:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252675072001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237033000,"timestamp_ms":1782237033000,"timestamp_seconds":1782237033,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59af228"} 
[2026-06-23 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-06-23 23:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:23:28] 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-06-23 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-06-23 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-06-23 23:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252675072001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252675072001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252675072001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":111319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:23:28] local.INFO: GPS data processed {"connection_id":111319,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:23:28] local.INFO: Acknowledgment sent {"connection_id":111319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:23:52] local.INFO: TCP Data received {"connection_id":111320,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c6540012d7b3e0005cc6fe80002010f28..."} 
[2026-06-23 23:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c6540012d7b3e0005cc6fe80002010f28..."} 
[2026-06-23 23:23:52] local.INFO: Processing buffer {"connection_id":111320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c6540012d7b3e0005cc6fe80002010f28..."} 
[2026-06-23 23:23:52] local.INFO: Packet analysis {"connection_id":111320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:52] local.INFO: Extracted packet for processing {"connection_id":111320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:52] local.INFO: GPS Element Parsed {"raw_longitude":763051520,"raw_latitude":97284072,"longitude_deg":76.305152,"latitude_deg":9.7284072,"altitude":2,"angle":271,"satellites":40,"speed":19,"hex_longitude":"2d7b3e00","hex_latitude":"05cc6fe8","is_valid_coordinates":true} 
[2026-06-23 23:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252700928001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96588570331971584,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890598270543071232,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782237128000,"timestamp_ms":1782237128000,"timestamp_seconds":1782237128,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c6540"} 
[2026-06-23 23:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:23:52] 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-06-23 23:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-23 23:23:52] 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-06-23 23:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252700928001,"66":12015,"75":206,"85":15104,"24":19,"16":96588570331971584,"45":8890598270543071232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252700928001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:23:52] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96588570331971584,"km_value":96588570331971.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890598270543071232,"description":"Unknown IO ID 45"} 
[2026-06-23 23:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252700928001,"power":12015,"unknown_75":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8890598270543071232}} 
[2026-06-23 23:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":111320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:23:52] local.INFO: GPS data processed {"connection_id":111320,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:23:52] local.INFO: Acknowledgment sent {"connection_id":111320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:23:56] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:23:56] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:23:56] local.INFO: IMEI packet received {"connection_id":111495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":111495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:23:59] local.INFO: TCP Data received {"connection_id":111494,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c9808012d254b8006c6ad70000b009732..."} 
[2026-06-23 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c9808012d254b8006c6ad70000b009732..."} 
[2026-06-23 23:23:59] local.INFO: Processing buffer {"connection_id":111494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c9808012d254b8006c6ad70000b009732..."} 
[2026-06-23 23:23:59] local.INFO: Packet analysis {"connection_id":111494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:59] local.INFO: Extracted packet for processing {"connection_id":111494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:23:59] local.INFO: GPS Element Parsed {"raw_longitude":757418880,"raw_latitude":113683824,"longitude_deg":75.741888,"latitude_deg":11.3683824,"altitude":11,"angle":151,"satellites":50,"speed":62,"hex_longitude":"2d254b80","hex_latitude":"06c6ad70","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252706560001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322084510969626624,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2682526925901897728,"note":"Value kept but may cause issues"} 
[2026-06-23 23:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782237141000,"timestamp_ms":1782237141000,"timestamp_seconds":1782237141,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c9808"} 
[2026-06-23 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-06-23 23:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-23 23:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":111494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":111494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252706560001,"66":27517,"198":206,"2":56576,"24":62,"16":322084510969626624,"45":2682526925901897728},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252706560001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:23:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322084510969626624,"km_value":322084510969626.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2682526925901897728,"description":"Unknown IO ID 45"} 
[2026-06-23 23:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252706560001,"power":27517,"unknown_198":206,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":2682526925901897728}} 
[2026-06-23 23:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":111494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:23:59] local.INFO: GPS data processed {"connection_id":111494,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:23:59] local.INFO: Acknowledgment sent {"connection_id":111494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:00] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:00] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:00] local.INFO: IMEI packet received {"connection_id":111495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":111495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:24:00] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59b4430012d196780071ff200003d007b26..."} 
[2026-06-23 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59b4430012d196780071ff200003d007b26..."} 
[2026-06-23 23:24:00] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59b4430012d196780071ff200003d007b26..."} 
[2026-06-23 23:24:00] local.INFO: Packet analysis {"connection_id":111495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:24:00] local.INFO: Extracted packet for processing {"connection_id":111495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252680448001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24: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-06-23 23:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782237054000,"timestamp_ms":1782237054000,"timestamp_seconds":1782237054,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59b4430"} 
[2026-06-23 23:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:24: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-06-23 23: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-06-23 23:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252680448001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252680448001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252680448001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":111495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:00] local.INFO: GPS data processed {"connection_id":111495,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:00] local.INFO: Acknowledgment sent {"connection_id":111495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:01] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59b9638012d196780071ff200003d007b24..."} 
[2026-06-23 23:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59b9638012d196780071ff200003d007b24..."} 
[2026-06-23 23:24:01] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59b9638012d196780071ff200003d007b24..."} 
[2026-06-23 23:24:01] local.INFO: Packet analysis {"connection_id":111495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:24:01] local.INFO: Extracted packet for processing {"connection_id":111495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:24:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:24: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-06-23 23:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252685824001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782237075000,"timestamp_ms":1782237075000,"timestamp_seconds":1782237075,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59b9638"} 
[2026-06-23 23:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:24: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-06-23 23:24: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-06-23 23:24: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-06-23 23:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252685824001,"66":12004,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252685824001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252685824001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":111495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:01] local.INFO: GPS data processed {"connection_id":111495,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:01] local.INFO: Acknowledgment sent {"connection_id":111495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:15] local.INFO: TCP Data received {"connection_id":112128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:24:15] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:24:15] local.INFO: IMEI packet received {"connection_id":112128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":112128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:24:18] local.INFO: TCP Data received {"connection_id":112128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:24:18] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:24:18] local.INFO: IMEI packet received {"connection_id":112128,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":112128,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:24:19] local.INFO: TCP Data received {"connection_id":112128,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e3de8012d7a8f8005cc5e58000700ea28..."} 
[2026-06-23 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e3de8012d7a8f8005cc5e58000700ea28..."} 
[2026-06-23 23:24:19] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e3de8012d7a8f8005cc5e58000700ea28..."} 
[2026-06-23 23:24:19] local.INFO: Packet analysis {"connection_id":112128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:24:19] local.INFO: Extracted packet for processing {"connection_id":112128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763006848,"raw_latitude":97279576,"longitude_deg":76.3006848,"latitude_deg":9.7279576,"altitude":7,"angle":234,"satellites":40,"speed":19,"hex_longitude":"2d7a8f80","hex_latitude":"05cc5e58","is_valid_coordinates":true} 
[2026-06-23 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252735232001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96590752175357952,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832121844130701312,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782237249000,"timestamp_ms":1782237249000,"timestamp_seconds":1782237249,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e3de8"} 
[2026-06-23 23:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-23 23:24:19] 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-06-23 23:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":112128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":112128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":112128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252735232001,"66":11928,"75":206,"85":15104,"24":19,"16":96590752175357952,"45":8832121844130701312},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252735232001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96590752175357952,"km_value":96590752175357.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832121844130701312,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252735232001,"power":11928,"unknown_75":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8832121844130701312}} 
[2026-06-23 23:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":112128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:20] local.INFO: GPS data processed {"connection_id":112128,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:20] local.INFO: Acknowledgment sent {"connection_id":112128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:22] local.INFO: TCP Data received {"connection_id":111321,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:22] local.INFO: Processing buffer {"connection_id":111321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:22] local.INFO: IMEI packet received {"connection_id":111321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":111321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:24:24] local.INFO: TCP Data received {"connection_id":111321,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:24] local.INFO: Processing buffer {"connection_id":111321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:24] local.INFO: IMEI packet received {"connection_id":111321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":111321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:24:28] local.INFO: TCP Data received {"connection_id":111321,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:28] local.INFO: Processing buffer {"connection_id":111321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:24:28] local.INFO: IMEI packet received {"connection_id":111321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":111321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:24:29] local.INFO: TCP Data received {"connection_id":111321,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59caf78012d255c8006c68dd0000b009832..."} 
[2026-06-23 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59caf78012d255c8006c68dd0000b009832..."} 
[2026-06-23 23:24:29] local.INFO: Processing buffer {"connection_id":111321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59caf78012d255c8006c68dd0000b009832..."} 
[2026-06-23 23:24:29] local.INFO: Packet analysis {"connection_id":111321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:24:29] local.INFO: Extracted packet for processing {"connection_id":111321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:24:29] local.INFO: GPS Element Parsed {"raw_longitude":757423232,"raw_latitude":113675728,"longitude_deg":75.7423232,"latitude_deg":11.3675728,"altitude":11,"angle":152,"satellites":50,"speed":59,"hex_longitude":"2d255c80","hex_latitude":"06c68dd0","is_valid_coordinates":true} 
[2026-06-23 23:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252708096001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322084953351258112,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2687382369248047104,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237147000,"timestamp_ms":1782237147000,"timestamp_seconds":1782237147,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59caf78"} 
[2026-06-23 23:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:24:29] 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-06-23 23:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 23:24:29] 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-06-23 23:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252708096001,"66":27376,"198":206,"2":56576,"24":59,"16":322084953351258112,"45":2687382369248047104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-06-23 23:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252708096001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-23 23:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322084953351258112,"km_value":322084953351258.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2687382369248047104,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252708096001,"power":27376,"unknown_198":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2687382369248047104}} 
[2026-06-23 23:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":111321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:29] local.INFO: GPS data processed {"connection_id":111321,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:29] local.INFO: Acknowledgment sent {"connection_id":111321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:32] local.INFO: TCP Data received {"connection_id":111495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59be840012d196780071ff200003d007b26..."} 
[2026-06-23 23:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59be840012d196780071ff200003d007b26..."} 
[2026-06-23 23:24:32] local.INFO: Processing buffer {"connection_id":111495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59be840012d196780071ff200003d007b26..."} 
[2026-06-23 23:24:32] local.INFO: Packet analysis {"connection_id":111495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:24:32] local.INFO: Extracted packet for processing {"connection_id":111495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59b"} 
[2026-06-23 23:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252691200001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24: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-06-23 23:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782237096000,"timestamp_ms":1782237096000,"timestamp_seconds":1782237096,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59be840"} 
[2026-06-23 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-06-23 23:24:32] 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-06-23 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 23:24:32] 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-06-23 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-06-23 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-06-23 23:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252691200001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252691200001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252691200001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":111495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:32] local.INFO: GPS data processed {"connection_id":111495,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:32] local.INFO: Acknowledgment sent {"connection_id":111495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:51] local.INFO: TCP Data received {"connection_id":112128,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e41d0012d7a8d8005cc5d60000700f628..."} 
[2026-06-23 23:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e41d0012d7a8d8005cc5d60000700f628..."} 
[2026-06-23 23:24:51] local.INFO: Processing buffer {"connection_id":112128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e41d0012d7a8d8005cc5d60000700f628..."} 
[2026-06-23 23:24:51] local.INFO: Packet analysis {"connection_id":112128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:24:51] local.INFO: Extracted packet for processing {"connection_id":112128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763006336,"raw_latitude":97279328,"longitude_deg":76.3006336,"latitude_deg":9.7279328,"altitude":7,"angle":246,"satellites":40,"speed":19,"hex_longitude":"2d7a8d80","hex_latitude":"05cc5d60","is_valid_coordinates":true} 
[2026-06-23 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252735744001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96590777945161728,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831418156688758784,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782237250000,"timestamp_ms":1782237250000,"timestamp_seconds":1782237250,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e41d0"} 
[2026-06-23 23:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-23 23:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":112128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":112128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":112128,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252735744001,"66":11743,"75":206,"85":15104,"24":19,"16":96590777945161728,"45":8831418156688758784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252735744001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:51] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96590777945161728,"km_value":96590777945161.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831418156688758784,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252735744001,"power":11743,"unknown_75":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8831418156688758784}} 
[2026-06-23 23:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":112128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:51] local.INFO: GPS data processed {"connection_id":112128,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:51] local.INFO: Acknowledgment sent {"connection_id":112128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:24:51] local.INFO: TCP Data received {"connection_id":113061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:51] local.INFO: Processing buffer {"connection_id":113061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:51] local.INFO: IMEI packet received {"connection_id":113061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":113061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:24:56] local.INFO: TCP Data received {"connection_id":113061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:56] local.INFO: Processing buffer {"connection_id":113061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:24:56] local.INFO: IMEI packet received {"connection_id":113061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":113061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:24:57] local.INFO: TCP Data received {"connection_id":113061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c3a48012d196780071ff200003d007b24..."} 
[2026-06-23 23:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c3a48012d196780071ff200003d007b24..."} 
[2026-06-23 23:24:57] local.INFO: Processing buffer {"connection_id":113061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c3a48012d196780071ff200003d007b24..."} 
[2026-06-23 23:24:57] local.INFO: Packet analysis {"connection_id":113061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:24:57] local.INFO: Extracted packet for processing {"connection_id":113061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252696576001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237117000,"timestamp_ms":1782237117000,"timestamp_seconds":1782237117,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c3a48"} 
[2026-06-23 23:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:24:57] 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-06-23 23: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-06-23 23:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252696576001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252696576001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252696576001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":113061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:24:57] local.INFO: GPS data processed {"connection_id":113061,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:24:57] local.INFO: Acknowledgment sent {"connection_id":113061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:25:00] local.INFO: TCP Data received {"connection_id":111321,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e2e48012d26454006c53e280010008b32..."} 
[2026-06-23 23:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e2e48012d26454006c53e280010008b32..."} 
[2026-06-23 23:25:00] local.INFO: Processing buffer {"connection_id":111321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e2e48012d26454006c53e280010008b32..."} 
[2026-06-23 23:25:00] local.INFO: Packet analysis {"connection_id":111321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:25:00] local.INFO: Extracted packet for processing {"connection_id":111321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:25:00] local.INFO: GPS Element Parsed {"raw_longitude":757482816,"raw_latitude":113589800,"longitude_deg":75.7482816,"latitude_deg":11.35898,"altitude":16,"angle":139,"satellites":50,"speed":47,"hex_longitude":"2d264540","hex_latitude":"06c53e28","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252732416001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322090012822732800,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2750573501497450496,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:00] 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-06-23 23:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782237245000,"timestamp_ms":1782237245000,"timestamp_seconds":1782237245,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e2e48"} 
[2026-06-23 23:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:25:00] 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-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252732416001,"66":27397,"191":206,"2":56576,"24":47,"16":322090012822732800,"45":2750573501497450496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-23 23:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252732416001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:25:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-23 23:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322090012822732800,"km_value":322090012822732.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2750573501497450496,"description":"Unknown IO ID 45"} 
[2026-06-23 23:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252732416001,"power":27397,"unknown_191":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":2750573501497450496}} 
[2026-06-23 23:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":111321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:25:00] local.INFO: GPS data processed {"connection_id":111321,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:25:00] local.INFO: Acknowledgment sent {"connection_id":111321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:25:20] local.INFO: TCP Data received {"connection_id":113062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:25:20] local.INFO: Processing buffer {"connection_id":113062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:25:20] local.INFO: IMEI packet received {"connection_id":113062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":113062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:25:22] local.INFO: TCP Data received {"connection_id":113063,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:22] local.INFO: Processing buffer {"connection_id":113063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:22] local.INFO: IMEI packet received {"connection_id":113063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":113063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:25:25] local.INFO: TCP Data received {"connection_id":113063,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:25] local.INFO: Processing buffer {"connection_id":113063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:25] local.INFO: IMEI packet received {"connection_id":113063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":113063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:25:26] local.INFO: TCP Data received {"connection_id":113062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:25:26] local.INFO: Processing buffer {"connection_id":113062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:25:26] local.INFO: IMEI packet received {"connection_id":113062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":113062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:25:26] local.INFO: TCP Data received {"connection_id":113062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59ef198012d7a4d0005cc68680004013529..."} 
[2026-06-23 23:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59ef198012d7a4d0005cc68680004013529..."} 
[2026-06-23 23:25:26] local.INFO: Processing buffer {"connection_id":113062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59ef198012d7a4d0005cc68680004013529..."} 
[2026-06-23 23:25:26] local.INFO: Packet analysis {"connection_id":113062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:25:26] local.INFO: Extracted packet for processing {"connection_id":113062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762989824,"raw_latitude":97282152,"longitude_deg":76.2989824,"latitude_deg":9.7282152,"altitude":4,"angle":309,"satellites":41,"speed":14,"hex_longitude":"2d7a4d00","hex_latitude":"05cc6868","is_valid_coordinates":true} 
[2026-06-23 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252747264001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96591675593326592,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813051914458976256,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782237295000,"timestamp_ms":1782237295000,"timestamp_seconds":1782237295,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59ef198"} 
[2026-06-23 23:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 23:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":113062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":113062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":113062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252747264001,"66":12135,"75":206,"85":15104,"24":14,"16":96591675593326592,"45":8813051914458976256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252747264001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:25:26] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96591675593326592,"km_value":96591675593326.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813051914458976256,"description":"Unknown IO ID 45"} 
[2026-06-23 23:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252747264001,"power":12135,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8813051914458976256}} 
[2026-06-23 23:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":113062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:25:26] local.INFO: GPS data processed {"connection_id":113062,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:25:26] local.INFO: Acknowledgment sent {"connection_id":113062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:25:28] local.INFO: TCP Data received {"connection_id":113063,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:28] local.INFO: Processing buffer {"connection_id":113063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:25:28] local.INFO: IMEI packet received {"connection_id":113063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":113063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:25:28] local.INFO: TCP Data received {"connection_id":113061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59c8c50012d196780071ff200003d007b25..."} 
[2026-06-23 23:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59c8c50012d196780071ff200003d007b25..."} 
[2026-06-23 23:25:28] local.INFO: Processing buffer {"connection_id":113061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59c8c50012d196780071ff200003d007b25..."} 
[2026-06-23 23:25:28] local.INFO: Packet analysis {"connection_id":113061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:25:28] local.INFO: Extracted packet for processing {"connection_id":113061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252701952001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237138000,"timestamp_ms":1782237138000,"timestamp_seconds":1782237138,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59c8c50"} 
[2026-06-23 23:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:25: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-06-23 23: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:25:28] 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-06-23 23: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-06-23 23:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252701952001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252701952001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252701952001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":113061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:25:28] local.INFO: GPS data processed {"connection_id":113061,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:25:28] local.INFO: Acknowledgment sent {"connection_id":113061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:25:29] local.INFO: TCP Data received {"connection_id":113063,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e49a0012d265c0006c52350000e008c32..."} 
[2026-06-23 23:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e49a0012d265c0006c52350000e008c32..."} 
[2026-06-23 23:25:29] local.INFO: Processing buffer {"connection_id":113063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e49a0012d265c0006c52350000e008c32..."} 
[2026-06-23 23:25:29] local.INFO: Packet analysis {"connection_id":113063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:25:29] local.INFO: Extracted packet for processing {"connection_id":113063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:25:29] local.INFO: GPS Element Parsed {"raw_longitude":757488640,"raw_latitude":113582928,"longitude_deg":75.748864,"latitude_deg":11.3582928,"altitude":14,"angle":140,"satellites":50,"speed":53,"hex_longitude":"2d265c00","hex_latitude":"06c52350","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252734720001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322090442319462400,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2757680744657463296,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:29] 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-06-23 23:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237252000,"timestamp_ms":1782237252000,"timestamp_seconds":1782237252,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e49a0"} 
[2026-06-23 23:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:25:29] 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-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252734720001,"66":27550,"191":206,"2":56576,"24":53,"16":322090442319462400,"45":2757680744657463296},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-23 23:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252734720001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:25:29] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-23 23:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322090442319462400,"km_value":322090442319462.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2757680744657463296,"description":"Unknown IO ID 45"} 
[2026-06-23 23:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252734720001,"power":27550,"unknown_191":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2757680744657463296}} 
[2026-06-23 23:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":113063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:25:29] local.INFO: GPS data processed {"connection_id":113063,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:25:29] local.INFO: Acknowledgment sent {"connection_id":113063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:25:51] local.INFO: TCP Data received {"connection_id":111322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:25:51] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:25:51] local.INFO: IMEI packet received {"connection_id":111322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":111322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:25:56] local.INFO: TCP Data received {"connection_id":111322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:25:56] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:25:56] local.INFO: IMEI packet received {"connection_id":111322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":111322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:25:57] local.INFO: TCP Data received {"connection_id":111322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59cde58012d196780071ff200003d007b26..."} 
[2026-06-23 23:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59cde58012d196780071ff200003d007b26..."} 
[2026-06-23 23:25:57] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59cde58012d196780071ff200003d007b26..."} 
[2026-06-23 23:25:57] local.INFO: Packet analysis {"connection_id":111322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:25:57] local.INFO: Extracted packet for processing {"connection_id":111322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59c"} 
[2026-06-23 23:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252707328001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237159000,"timestamp_ms":1782237159000,"timestamp_seconds":1782237159,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59cde58"} 
[2026-06-23 23:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:25:57] 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-06-23 23:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252707328001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252707328001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252707328001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":111322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:25:57] local.INFO: GPS data processed {"connection_id":111322,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:25:57] local.INFO: Acknowledgment sent {"connection_id":111322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:26:09] local.INFO: TCP Data received {"connection_id":113062,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59ef580012d7a4b8005cc69200004012328..."} 
[2026-06-23 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59ef580012d7a4b8005cc69200004012328..."} 
[2026-06-23 23:26:09] local.INFO: Processing buffer {"connection_id":113062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59ef580012d7a4b8005cc69200004012328..."} 
[2026-06-23 23:26:09] local.INFO: Packet analysis {"connection_id":113062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:26:09] local.INFO: Extracted packet for processing {"connection_id":113062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":762989440,"raw_latitude":97282336,"longitude_deg":76.298944,"latitude_deg":9.7282336,"altitude":4,"angle":291,"satellites":40,"speed":15,"hex_longitude":"2d7a4b80","hex_latitude":"05cc6920","is_valid_coordinates":true} 
[2026-06-23 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252747520001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96591697068163072,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812700070738159616,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782237296000,"timestamp_ms":1782237296000,"timestamp_seconds":1782237296,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59ef580"} 
[2026-06-23 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-23 23:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":113062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":113062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":113062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252747520001,"66":11852,"75":206,"85":15104,"24":15,"16":96591697068163072,"45":8812700070738159616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252747520001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:26:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96591697068163072,"km_value":96591697068163.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812700070738159616,"description":"Unknown IO ID 45"} 
[2026-06-23 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252747520001,"power":11852,"unknown_75":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8812700070738159616}} 
[2026-06-23 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":113062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:26:09] local.INFO: GPS data processed {"connection_id":113062,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:26:09] local.INFO: Acknowledgment sent {"connection_id":113062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:26:26] local.INFO: TCP Data received {"connection_id":113064,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:26:26] local.INFO: Processing buffer {"connection_id":113064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:26:26] local.INFO: IMEI packet received {"connection_id":113064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":113064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:26:28] local.INFO: TCP Data received {"connection_id":111322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59d3060012d196780071ff200003d007b26..."} 
[2026-06-23 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59d3060012d196780071ff200003d007b26..."} 
[2026-06-23 23:26:28] local.INFO: Processing buffer {"connection_id":111322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59d3060012d196780071ff200003d007b26..."} 
[2026-06-23 23:26:28] local.INFO: Packet analysis {"connection_id":111322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59d"} 
[2026-06-23 23:26:28] local.INFO: Extracted packet for processing {"connection_id":111322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59d"} 
[2026-06-23 23:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252712704001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237180000,"timestamp_ms":1782237180000,"timestamp_seconds":1782237180,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59d3060"} 
[2026-06-23 23:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:26:28] 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-06-23 23: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-06-23 23:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252712704001,"66":12265,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252712704001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252712704001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":111322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:26:28] local.INFO: GPS data processed {"connection_id":111322,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:26:28] local.INFO: Acknowledgment sent {"connection_id":111322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:26:35] local.INFO: TCP Data received {"connection_id":113064,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113064,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:26:35] local.INFO: Processing buffer {"connection_id":113064,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:26:35] local.INFO: IMEI packet received {"connection_id":113064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":113064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:26:35] local.INFO: TCP Data received {"connection_id":113064,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:26:35] local.INFO: Processing buffer {"connection_id":113064,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-23 23:26:35] local.INFO: IMEI packet received {"connection_id":113064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":113064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:26:51] local.INFO: TCP Data received {"connection_id":113065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:26:51] local.INFO: Processing buffer {"connection_id":113065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:26:51] local.INFO: IMEI packet received {"connection_id":113065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":113065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:26:52] local.INFO: TCP Data received {"connection_id":113063,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e64f8012d26740006c508c8000d008433..."} 
[2026-06-23 23:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e64f8012d26740006c508c8000d008433..."} 
[2026-06-23 23:26:52] local.INFO: Processing buffer {"connection_id":113063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e64f8012d26740006c508c8000d008433..."} 
[2026-06-23 23:26:52] local.INFO: Packet analysis {"connection_id":113063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:26:52] local.INFO: Extracted packet for processing {"connection_id":113063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:26:52] local.INFO: GPS Element Parsed {"raw_longitude":757494784,"raw_latitude":113576136,"longitude_deg":75.7494784,"latitude_deg":11.3576136,"altitude":13,"angle":132,"satellites":51,"speed":49,"hex_longitude":"2d267400","hex_latitude":"06c508c8","is_valid_coordinates":true} 
[2026-06-23 23:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252736512001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322090884701093888,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2764084300375871488,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26: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-06-23 23:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782237259000,"timestamp_ms":1782237259000,"timestamp_seconds":1782237259,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e64f8"} 
[2026-06-23 23:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 23:26:52] 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-06-23 23:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":113063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":113063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":113063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252736512001,"66":27484,"191":206,"2":56576,"24":49,"16":322090884701093888,"45":2764084300375871488},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-23 23:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252736512001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:26:52] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-23 23:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322090884701093888,"km_value":322090884701093.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2764084300375871488,"description":"Unknown IO ID 45"} 
[2026-06-23 23:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252736512001,"power":27484,"unknown_191":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2764084300375871488}} 
[2026-06-23 23:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":113063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:26:52] local.INFO: GPS data processed {"connection_id":113063,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:26:52] local.INFO: Acknowledgment sent {"connection_id":113063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:26:56] local.INFO: TCP Data received {"connection_id":113065,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:26:56] local.INFO: Processing buffer {"connection_id":113065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:26:56] local.INFO: IMEI packet received {"connection_id":113065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":113065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:26:56] local.INFO: TCP Data received {"connection_id":112130,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:26:56] local.INFO: Processing buffer {"connection_id":112130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:26:56] local.INFO: IMEI packet received {"connection_id":112130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":112130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:26:57] local.INFO: TCP Data received {"connection_id":113065,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59d8268012d196780071ff200003d007b24..."} 
[2026-06-23 23:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59d8268012d196780071ff200003d007b24..."} 
[2026-06-23 23:26:57] local.INFO: Processing buffer {"connection_id":113065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59d8268012d196780071ff200003d007b24..."} 
[2026-06-23 23:26:57] local.INFO: Packet analysis {"connection_id":113065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59d"} 
[2026-06-23 23:26:57] local.INFO: Extracted packet for processing {"connection_id":113065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59d"} 
[2026-06-23 23:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252718080001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237201000,"timestamp_ms":1782237201000,"timestamp_seconds":1782237201,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59d8268"} 
[2026-06-23 23:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 23:26:57] 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-06-23 23:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252718080001,"66":12015,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252718080001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252718080001,"power":12015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":113065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:26:57] local.INFO: GPS data processed {"connection_id":113065,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:26:57] local.INFO: Acknowledgment sent {"connection_id":113065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:26:57] local.INFO: TCP Data received {"connection_id":112130,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:26:57] local.INFO: Processing buffer {"connection_id":112130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:26:57] local.INFO: IMEI packet received {"connection_id":112130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":112130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:27:07] local.INFO: TCP Data received {"connection_id":112130,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:27:07] local.INFO: Processing buffer {"connection_id":112130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:27:07] local.INFO: IMEI packet received {"connection_id":112130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":112130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:27:26] local.INFO: TCP Data received {"connection_id":111498,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:27:26] local.INFO: Processing buffer {"connection_id":111498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:27:26] local.INFO: IMEI packet received {"connection_id":111498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":111498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:27:28] local.INFO: TCP Data received {"connection_id":113065,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59dd470012d196780071ff200003d007b25..."} 
[2026-06-23 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59dd470012d196780071ff200003d007b25..."} 
[2026-06-23 23:27:28] local.INFO: Processing buffer {"connection_id":113065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59dd470012d196780071ff200003d007b25..."} 
[2026-06-23 23:27:28] local.INFO: Packet analysis {"connection_id":113065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59d"} 
[2026-06-23 23:27:28] local.INFO: Extracted packet for processing {"connection_id":113065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59d"} 
[2026-06-23 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252723456001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237222000,"timestamp_ms":1782237222000,"timestamp_seconds":1782237222,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59dd470"} 
[2026-06-23 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-06-23 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-23 23:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 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-06-23 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-06-23 23:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252723456001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252723456001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:27:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252723456001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":113065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:27:28] local.INFO: GPS data processed {"connection_id":113065,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:27:28] local.INFO: Acknowledgment sent {"connection_id":113065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:27:30] local.INFO: TCP Data received {"connection_id":111499,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:27:30] local.INFO: Processing buffer {"connection_id":111499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:27:30] local.INFO: IMEI packet received {"connection_id":111499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":111499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:27:50] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:50] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:50] local.INFO: IMEI packet received {"connection_id":111500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":111500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:27:51] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:51] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:51] local.INFO: IMEI packet received {"connection_id":111500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":111500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:27:56] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:56] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:27:56] local.INFO: IMEI packet received {"connection_id":111500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":111500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:27:57] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e2678012d196780071ff200003d007b25..."} 
[2026-06-23 23:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e2678012d196780071ff200003d007b25..."} 
[2026-06-23 23:27:57] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e2678012d196780071ff200003d007b25..."} 
[2026-06-23 23:27:57] local.INFO: Packet analysis {"connection_id":111500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:27:57] local.INFO: Extracted packet for processing {"connection_id":111500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252728832001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237243000,"timestamp_ms":1782237243000,"timestamp_seconds":1782237243,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e2678"} 
[2026-06-23 23:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:27:57] 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-06-23 23: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-06-23 23:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252728832001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252728832001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252728832001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":111500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:27:57] local.INFO: GPS data processed {"connection_id":111500,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:27:57] local.INFO: Acknowledgment sent {"connection_id":111500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:28:06] local.INFO: TCP Data received {"connection_id":113066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:28:06] local.INFO: Processing buffer {"connection_id":113066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:28:06] local.INFO: IMEI packet received {"connection_id":113066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":113066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:28:28] local.INFO: TCP Data received {"connection_id":111500,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59e7880012d196780071ff200003d007b26..."} 
[2026-06-23 23:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59e7880012d196780071ff200003d007b26..."} 
[2026-06-23 23:28:28] local.INFO: Processing buffer {"connection_id":111500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59e7880012d196780071ff200003d007b26..."} 
[2026-06-23 23:28:28] local.INFO: Packet analysis {"connection_id":111500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:28:28] local.INFO: Extracted packet for processing {"connection_id":111500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:28: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-06-23 23:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252734208001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237264000,"timestamp_ms":1782237264000,"timestamp_seconds":1782237264,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59e7880"} 
[2026-06-23 23:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:28: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:28:28] 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-06-23 23:28: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-06-23 23:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252734208001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252734208001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252734208001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":111500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:28:28] local.INFO: GPS data processed {"connection_id":111500,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:28:28] local.INFO: Acknowledgment sent {"connection_id":111500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:28:51] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:51] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:51] local.INFO: IMEI packet received {"connection_id":111324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":111324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:28:54] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:54] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:54] local.INFO: IMEI packet received {"connection_id":111324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":111324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:28:56] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:56] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:28:56] local.INFO: IMEI packet received {"connection_id":111324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":111324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:28:57] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59eca88012d196780071ff200003d007b26..."} 
[2026-06-23 23:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59eca88012d196780071ff200003d007b26..."} 
[2026-06-23 23:28:57] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59eca88012d196780071ff200003d007b26..."} 
[2026-06-23 23:28:57] local.INFO: Packet analysis {"connection_id":111324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:28:57] local.INFO: Extracted packet for processing {"connection_id":111324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59e"} 
[2026-06-23 23:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252739584001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237285000,"timestamp_ms":1782237285000,"timestamp_seconds":1782237285,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59eca88"} 
[2026-06-23 23:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:28:57] 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-06-23 23:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252739584001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252739584001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252739584001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":111324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:28:57] local.INFO: GPS data processed {"connection_id":111324,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:28:57] local.INFO: Acknowledgment sent {"connection_id":111324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:29:28] local.INFO: TCP Data received {"connection_id":111324,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59f1c90012d196780071ff200003d007b27..."} 
[2026-06-23 23:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59f1c90012d196780071ff200003d007b27..."} 
[2026-06-23 23:29:28] local.INFO: Processing buffer {"connection_id":111324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59f1c90012d196780071ff200003d007b27..."} 
[2026-06-23 23:29:28] local.INFO: Packet analysis {"connection_id":111324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59f"} 
[2026-06-23 23:29:28] local.INFO: Extracted packet for processing {"connection_id":111324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59f"} 
[2026-06-23 23:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252744960001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237306000,"timestamp_ms":1782237306000,"timestamp_seconds":1782237306,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59f1c90"} 
[2026-06-23 23:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:29:28] 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-06-23 23: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-06-23 23:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252744960001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252744960001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252744960001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":111324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:29:29] local.INFO: GPS data processed {"connection_id":111324,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:29:29] local.INFO: Acknowledgment sent {"connection_id":111324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:29:51] local.INFO: TCP Data received {"connection_id":113067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:29:51] local.INFO: Processing buffer {"connection_id":113067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:29:51] local.INFO: IMEI packet received {"connection_id":113067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":113067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:29:57] local.INFO: TCP Data received {"connection_id":113067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:29:57] local.INFO: Processing buffer {"connection_id":113067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:29:57] local.INFO: IMEI packet received {"connection_id":113067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":113067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:29:58] local.INFO: TCP Data received {"connection_id":113067,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59f6e98012d196780071ff200003d007b28..."} 
[2026-06-23 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59f6e98012d196780071ff200003d007b28..."} 
[2026-06-23 23:29:58] local.INFO: Processing buffer {"connection_id":113067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59f6e98012d196780071ff200003d007b28..."} 
[2026-06-23 23:29:58] local.INFO: Packet analysis {"connection_id":113067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59f"} 
[2026-06-23 23:29:58] local.INFO: Extracted packet for processing {"connection_id":113067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59f"} 
[2026-06-23 23:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252750336001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782237327000,"timestamp_ms":1782237327000,"timestamp_seconds":1782237327,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59f6e98"} 
[2026-06-23 23:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:29: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-06-23 23:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":113067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":113067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":113067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252750336001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252750336001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:29:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252750336001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":113067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:29:58] local.INFO: GPS data processed {"connection_id":113067,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:29:58] local.INFO: Acknowledgment sent {"connection_id":113067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:30:29] local.INFO: TCP Data received {"connection_id":113067,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef59fc0a0012d196780071ff200003d007b27..."} 
[2026-06-23 23:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef59fc0a0012d196780071ff200003d007b27..."} 
[2026-06-23 23:30:29] local.INFO: Processing buffer {"connection_id":113067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef59fc0a0012d196780071ff200003d007b27..."} 
[2026-06-23 23:30:29] local.INFO: Packet analysis {"connection_id":113067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef59f"} 
[2026-06-23 23:30:29] local.INFO: Extracted packet for processing {"connection_id":113067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef59f"} 
[2026-06-23 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252755712001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237348000,"timestamp_ms":1782237348000,"timestamp_seconds":1782237348,"priority":1,"record_length":96,"hex_timestamp":"0000019ef59fc0a0"} 
[2026-06-23 23:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:30:29] 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-06-23 23:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252755712001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252755712001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:30:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:30:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252755712001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":113067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:30:29] local.INFO: GPS data processed {"connection_id":113067,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:30:29] local.INFO: Acknowledgment sent {"connection_id":113067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:30:56] local.INFO: TCP Data received {"connection_id":111326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:30:56] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:30:56] local.INFO: IMEI packet received {"connection_id":111326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":111326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:30:59] local.INFO: TCP Data received {"connection_id":111326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:30:59] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:30:59] local.INFO: IMEI packet received {"connection_id":111326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":111326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:31:00] local.INFO: TCP Data received {"connection_id":111326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a346f8012d196780071ff200003d007b27..."} 
[2026-06-23 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a346f8012d196780071ff200003d007b27..."} 
[2026-06-23 23:31:00] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a346f8012d196780071ff200003d007b27..."} 
[2026-06-23 23:31:00] local.INFO: Packet analysis {"connection_id":111326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a3"} 
[2026-06-23 23:31:00] local.INFO: Extracted packet for processing {"connection_id":111326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a3"} 
[2026-06-23 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252814848001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31: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-06-23 23:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782237579000,"timestamp_ms":1782237579000,"timestamp_seconds":1782237579,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a346f8"} 
[2026-06-23 23:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:31: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-06-23 23: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-06-23 23:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252814848001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252814848001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:31:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252814848001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":111326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:31:00] local.INFO: GPS data processed {"connection_id":111326,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:31:00] local.INFO: Acknowledgment sent {"connection_id":111326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:31:01] local.INFO: TCP Data received {"connection_id":111326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a39900012d196780071ff200003d007b26..."} 
[2026-06-23 23:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a39900012d196780071ff200003d007b26..."} 
[2026-06-23 23:31:01] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a39900012d196780071ff200003d007b26..."} 
[2026-06-23 23:31:01] local.INFO: Packet analysis {"connection_id":111326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a3"} 
[2026-06-23 23:31:01] local.INFO: Extracted packet for processing {"connection_id":111326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a3"} 
[2026-06-23 23:31:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252820224001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782237600000,"timestamp_ms":1782237600000,"timestamp_seconds":1782237600,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a39900"} 
[2026-06-23 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-06-23 23:31:01] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:31: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-06-23 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-06-23 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-06-23 23:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252820224001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252820224001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:31:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252820224001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":111326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:31:01] local.INFO: GPS data processed {"connection_id":111326,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:31:01] local.INFO: Acknowledgment sent {"connection_id":111326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:31:32] local.INFO: TCP Data received {"connection_id":111326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a3eb08012d196780071ff200003d007b25..."} 
[2026-06-23 23:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a3eb08012d196780071ff200003d007b25..."} 
[2026-06-23 23:31:32] local.INFO: Processing buffer {"connection_id":111326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a3eb08012d196780071ff200003d007b25..."} 
[2026-06-23 23:31:32] local.INFO: Packet analysis {"connection_id":111326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a3"} 
[2026-06-23 23:31:32] local.INFO: Extracted packet for processing {"connection_id":111326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a3"} 
[2026-06-23 23:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252825600001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31: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-06-23 23:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782237621000,"timestamp_ms":1782237621000,"timestamp_seconds":1782237621,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a3eb08"} 
[2026-06-23 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-06-23 23:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:31:32] 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-06-23 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-06-23 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-06-23 23:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252825600001,"66":12189,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252825600001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:31:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252825600001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":111326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:31:32] local.INFO: GPS data processed {"connection_id":111326,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:31:32] local.INFO: Acknowledgment sent {"connection_id":111326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:31:38] local.INFO: TCP Data received {"connection_id":111503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:31:38] local.INFO: Processing buffer {"connection_id":111503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:31:38] local.INFO: IMEI packet received {"connection_id":111503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":111503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:31:38] local.INFO: TCP Data received {"connection_id":111503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a46038012d7a520005cc60800007008727..."} 
[2026-06-23 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a46038012d7a520005cc60800007008727..."} 
[2026-06-23 23:31:38] local.INFO: Processing buffer {"connection_id":111503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a46038012d7a520005cc60800007008727..."} 
[2026-06-23 23:31:38] local.INFO: Packet analysis {"connection_id":111503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:31:38] local.INFO: Extracted packet for processing {"connection_id":111503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:31:38] local.INFO: GPS Element Parsed {"raw_longitude":762991104,"raw_latitude":97280128,"longitude_deg":76.2991104,"latitude_deg":9.7280128,"altitude":7,"angle":135,"satellites":39,"speed":17,"hex_longitude":"2d7a5200","hex_latitude":"05cc6080","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252837632001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96600029304717312,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813333389435635712,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782237651000,"timestamp_ms":1782237651000,"timestamp_seconds":1782237651,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a46038"} 
[2026-06-23 23:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:31:38] 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-06-23 23: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 23:31:38] 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-06-23 23: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-06-23 23:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":111503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":111503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":111503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252837632001,"66":11678,"75":206,"85":15104,"24":17,"16":96600029304717312,"45":8813333389435635712},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252837632001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96600029304717312,"km_value":96600029304717.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813333389435635712,"description":"Unknown IO ID 45"} 
[2026-06-23 23:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252837632001,"power":11678,"unknown_75":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8813333389435635712}} 
[2026-06-23 23:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":111503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:31:38] local.INFO: GPS data processed {"connection_id":111503,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:31:38] local.INFO: Acknowledgment sent {"connection_id":111503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:31:51] local.INFO: TCP Data received {"connection_id":113069,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:31:51] local.INFO: Processing buffer {"connection_id":113069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:31:51] local.INFO: IMEI packet received {"connection_id":113069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":113069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:31:56] local.INFO: TCP Data received {"connection_id":113069,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:31:56] local.INFO: Processing buffer {"connection_id":113069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:31:56] local.INFO: IMEI packet received {"connection_id":113069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":113069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:31:57] local.INFO: TCP Data received {"connection_id":113069,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a43d10012d196780071ff200003d007b24..."} 
[2026-06-23 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a43d10012d196780071ff200003d007b24..."} 
[2026-06-23 23:31:57] local.INFO: Processing buffer {"connection_id":113069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a43d10012d196780071ff200003d007b24..."} 
[2026-06-23 23:31:57] local.INFO: Packet analysis {"connection_id":113069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:31:57] local.INFO: Extracted packet for processing {"connection_id":113069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252830976001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237642000,"timestamp_ms":1782237642000,"timestamp_seconds":1782237642,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a43d10"} 
[2026-06-23 23:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-23 23:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252830976001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252830976001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252830976001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":113069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:31:57] local.INFO: GPS data processed {"connection_id":113069,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:31:57] local.INFO: Acknowledgment sent {"connection_id":113069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:32:15] local.INFO: TCP Data received {"connection_id":111504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:32:15] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:32:15] local.INFO: IMEI packet received {"connection_id":111504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":111504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:32:17] local.INFO: TCP Data received {"connection_id":111504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:32:17] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:32:17] local.INFO: IMEI packet received {"connection_id":111504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":111504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:32:18] local.INFO: TCP Data received {"connection_id":111504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a56208012d7a8e0005cbf8580004009528..."} 
[2026-06-23 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a56208012d7a8e0005cbf8580004009528..."} 
[2026-06-23 23:32:18] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a56208012d7a8e0005cbf8580004009528..."} 
[2026-06-23 23:32:18] local.INFO: Packet analysis {"connection_id":111504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:32:18] local.INFO: Extracted packet for processing {"connection_id":111504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763006464,"raw_latitude":97253464,"longitude_deg":76.3006464,"latitude_deg":9.7253464,"altitude":4,"angle":149,"satellites":40,"speed":8,"hex_longitude":"2d7a8e00","hex_latitude":"05cbf858","is_valid_coordinates":true} 
[2026-06-23 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252855296001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96601850370850816,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830784837984524288,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782237717000,"timestamp_ms":1782237717000,"timestamp_seconds":1782237717,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a56208"} 
[2026-06-23 23:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 23:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":111504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":111504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":111504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252855296001,"66":11634,"75":206,"85":15104,"24":8,"16":96601850370850816,"45":8830784837984524288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252855296001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:32:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96601850370850816,"km_value":96601850370850.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830784837984524288,"description":"Unknown IO ID 45"} 
[2026-06-23 23:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252855296001,"power":11634,"unknown_75":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8830784837984524288}} 
[2026-06-23 23:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":111504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:32:18] local.INFO: GPS data processed {"connection_id":111504,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:32:18] local.INFO: Acknowledgment sent {"connection_id":111504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:32:29] local.INFO: TCP Data received {"connection_id":113069,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a48f18012d196780071ff200003d007b28..."} 
[2026-06-23 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a48f18012d196780071ff200003d007b28..."} 
[2026-06-23 23:32:29] local.INFO: Processing buffer {"connection_id":113069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a48f18012d196780071ff200003d007b28..."} 
[2026-06-23 23:32:29] local.INFO: Packet analysis {"connection_id":113069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:32:29] local.INFO: Extracted packet for processing {"connection_id":113069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252836352001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237663000,"timestamp_ms":1782237663000,"timestamp_seconds":1782237663,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a48f18"} 
[2026-06-23 23:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:32:29] 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-06-23 23:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":113069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":113069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":113069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252836352001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252836352001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:32:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252836352001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":113069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:32:29] local.INFO: GPS data processed {"connection_id":113069,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:32:29] local.INFO: Acknowledgment sent {"connection_id":113069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:32:33] local.INFO: TCP Data received {"connection_id":111505,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:32:33] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:32:33] local.INFO: IMEI packet received {"connection_id":111505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":111505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:32:35] local.INFO: TCP Data received {"connection_id":111505,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a42988012d2ab44006bf06a8000c008b32..."} 
[2026-06-23 23:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a42988012d2ab44006bf06a8000c008b32..."} 
[2026-06-23 23:32:35] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a42988012d2ab44006bf06a8000c008b32..."} 
[2026-06-23 23:32:35] local.INFO: Packet analysis {"connection_id":111505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:32:35] local.INFO: Extracted packet for processing {"connection_id":111505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:32:35] local.INFO: GPS Element Parsed {"raw_longitude":757773376,"raw_latitude":113182376,"longitude_deg":75.7773376,"latitude_deg":11.3182376,"altitude":12,"angle":139,"satellites":50,"speed":60,"hex_longitude":"2d2ab440","hex_latitude":"06bf06a8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252833536001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322114373877235712,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3070540181168855040,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:35] 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-06-23 23:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782237637000,"timestamp_ms":1782237637000,"timestamp_seconds":1782237637,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a42988"} 
[2026-06-23 23:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23: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-06-23 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":111505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":111505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":111505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252833536001,"66":27365,"242":206,"2":57088,"24":60,"16":322114373877235712,"45":3070540181168855040},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-06-23 23:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252833536001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:32:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-06-23 23:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322114373877235712,"km_value":322114373877235.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3070540181168855040,"description":"Unknown IO ID 45"} 
[2026-06-23 23:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252833536001,"power":27365,"unknown_242":206,"power_alt":57088,"ignition":60,"odometer":null,"unknown_45":3070540181168855040}} 
[2026-06-23 23:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":111505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:32:35] local.INFO: GPS data processed {"connection_id":111505,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:32:35] local.INFO: Acknowledgment sent {"connection_id":111505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:32:51] local.INFO: TCP Data received {"connection_id":112138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:32:51] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:32:51] local.INFO: IMEI packet received {"connection_id":112138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":112138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:32:53] local.INFO: TCP Data received {"connection_id":111504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a611d0012d7aa3c005cb9880000000a32b..."} 
[2026-06-23 23:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a611d0012d7aa3c005cb9880000000a32b..."} 
[2026-06-23 23:32:53] local.INFO: Processing buffer {"connection_id":111504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a611d0012d7aa3c005cb9880000000a32b..."} 
[2026-06-23 23:32:53] local.INFO: Packet analysis {"connection_id":111504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:32:53] local.INFO: Extracted packet for processing {"connection_id":111504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:32:53] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97228928,"longitude_deg":76.3012032,"latitude_deg":9.7228928,"altitude":0,"angle":163,"satellites":43,"speed":14,"hex_longitude":"2d7aa3c0","hex_latitude":"05cb9880","is_valid_coordinates":true} 
[2026-06-23 23:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252866816001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96603207580516352,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287465918464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782237762000,"timestamp_ms":1782237762000,"timestamp_seconds":1782237762,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a611d0"} 
[2026-06-23 23:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:32: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-06-23 23:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 23:32:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4121265456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:53] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2777737217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4081057797,"corrected_to":0} 
[2026-06-23 23:32:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-06-23 23:32:53] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,75,85,24,241,157,16,52,158,219,45,192,189,2,42,10,66,51,172,128,225,5,39,148,1,240,227,245,203,4,113,205,17,141,40,239,87],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":203,"original":4081057797,"validated":0},{"io_id":205,"original":2823487694,"validated":0}]} 
[2026-06-23 23:32:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":193698731130880,"timestamp_seconds":193698731130.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252866816001,"66":11765,"75":206,"85":15104,"24":14,"16":96603207580516352,"45":8836977287465918464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252866816001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:32:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96603207580516352,"km_value":96603207580516.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287465918464,"description":"Unknown IO ID 45"} 
[2026-06-23 23:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252866816001,"power":11765,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8836977287465918464}} 
[2026-06-23 23:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":111504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:32:53] local.INFO: GPS data processed {"connection_id":111504,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:32:53] local.INFO: Acknowledgment sent {"connection_id":111504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:32:56] local.INFO: TCP Data received {"connection_id":112138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:32:56] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:32:56] local.INFO: IMEI packet received {"connection_id":112138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":112138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:32:57] local.INFO: TCP Data received {"connection_id":112138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a4e120012d196780071ff200003d007b28..."} 
[2026-06-23 23:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a4e120012d196780071ff200003d007b28..."} 
[2026-06-23 23:32:57] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a4e120012d196780071ff200003d007b28..."} 
[2026-06-23 23:32:57] local.INFO: Packet analysis {"connection_id":112138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:32:57] local.INFO: Extracted packet for processing {"connection_id":112138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a4"} 
[2026-06-23 23:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252841728001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237684000,"timestamp_ms":1782237684000,"timestamp_seconds":1782237684,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a4e120"} 
[2026-06-23 23:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:32:57] 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-06-23 23:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252841728001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252841728001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252841728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":112138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:32:57] local.INFO: GPS data processed {"connection_id":112138,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:32:57] local.INFO: Acknowledgment sent {"connection_id":112138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:33:07] local.INFO: TCP Data received {"connection_id":111505,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a58148012d2bd68006bdad88000f008e2e..."} 
[2026-06-23 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a58148012d2bd68006bdad88000f008e2e..."} 
[2026-06-23 23:33:07] local.INFO: Processing buffer {"connection_id":111505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a58148012d2bd68006bdad88000f008e2e..."} 
[2026-06-23 23:33:07] local.INFO: Packet analysis {"connection_id":111505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:07] local.INFO: Extracted packet for processing {"connection_id":111505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":757847680,"raw_latitude":113094024,"longitude_deg":75.784768,"latitude_deg":11.3094024,"altitude":15,"angle":142,"satellites":46,"speed":42,"hex_longitude":"2d2bd680","hex_latitude":"06bdad88","is_valid_coordinates":true} 
[2026-06-23 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252855040001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322119935859884032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3151956818159837184,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:07] 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-06-23 23:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782237725000,"timestamp_ms":1782237725000,"timestamp_seconds":1782237725,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a58148"} 
[2026-06-23 23:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23: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-06-23 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:33:07] 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-06-23 23:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":111505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":111505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":111505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252855040001,"66":27463,"243":206,"2":57088,"24":42,"16":322119935859884032,"45":3151956818159837184},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-06-23 23:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252855040001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:33:07] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-23 23:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322119935859884032,"km_value":322119935859884.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3151956818159837184,"description":"Unknown IO ID 45"} 
[2026-06-23 23:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252855040001,"power":27463,"unknown_243":206,"power_alt":57088,"ignition":42,"odometer":null,"unknown_45":3151956818159837184}} 
[2026-06-23 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":111505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:33:08] local.INFO: GPS data processed {"connection_id":111505,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:33:08] local.INFO: Acknowledgment sent {"connection_id":111505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:33:15] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:15] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:15] local.INFO: IMEI packet received {"connection_id":111327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":111327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:33:16] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:16] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:16] local.INFO: IMEI packet received {"connection_id":111327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":111327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:33:20] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:20] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:33:20] local.INFO: IMEI packet received {"connection_id":111327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":111327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:33:22] local.INFO: TCP Data received {"connection_id":113071,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:33:22] local.INFO: Processing buffer {"connection_id":113071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:33:22] local.INFO: IMEI packet received {"connection_id":113071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":113071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:33:23] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a615b8012d7aa40005cb9758000000972b..."} 
[2026-06-23 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a615b8012d7aa40005cb9758000000972b..."} 
[2026-06-23 23:33:23] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a615b8012d7aa40005cb9758000000972b..."} 
[2026-06-23 23:33:23] local.INFO: Packet analysis {"connection_id":111327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:33:23] local.INFO: Extracted packet for processing {"connection_id":111327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763012096,"raw_latitude":97228632,"longitude_deg":76.3012096,"latitude_deg":9.7228632,"altitude":0,"angle":151,"satellites":43,"speed":12,"hex_longitude":"2d7aa400","hex_latitude":"05cb9758","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252867072001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96603220465418240,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024954183680,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782237763000,"timestamp_ms":1782237763000,"timestamp_seconds":1782237763,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a615b8"} 
[2026-06-23 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-06-23 23:33: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-06-23 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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-23 23:33:23] 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-06-23 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-06-23 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-06-23 23:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":111327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":111327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":111327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252867072001,"66":11765,"75":206,"85":15104,"24":12,"16":96603220465418240,"45":8837118024954183680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252867072001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:33:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96603220465418240,"km_value":96603220465418.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024954183680,"description":"Unknown IO ID 45"} 
[2026-06-23 23:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252867072001,"power":11765,"unknown_75":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8837118024954183680}} 
[2026-06-23 23:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":111327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:33:23] local.INFO: GPS data processed {"connection_id":111327,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:33:23] local.INFO: Acknowledgment sent {"connection_id":111327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:33:27] local.INFO: TCP Data received {"connection_id":113071,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:33:27] local.INFO: Processing buffer {"connection_id":113071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:33:27] local.INFO: IMEI packet received {"connection_id":113071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":113071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:33:28] local.INFO: TCP Data received {"connection_id":112138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a53328012d196780071ff200003d007b28..."} 
[2026-06-23 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a53328012d196780071ff200003d007b28..."} 
[2026-06-23 23:33:28] local.INFO: Processing buffer {"connection_id":112138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a53328012d196780071ff200003d007b28..."} 
[2026-06-23 23:33:28] local.INFO: Packet analysis {"connection_id":112138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:28] local.INFO: Extracted packet for processing {"connection_id":112138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252847104001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237705000,"timestamp_ms":1782237705000,"timestamp_seconds":1782237705,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a53328"} 
[2026-06-23 23:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:33:28] 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-06-23 23: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-06-23 23:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252847104001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252847104001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252847104001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":112138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:33:28] local.INFO: GPS data processed {"connection_id":112138,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:33:28] local.INFO: Acknowledgment sent {"connection_id":112138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:33:28] local.INFO: TCP Data received {"connection_id":113071,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a5a088012d2bec0006bd9080000f008e33..."} 
[2026-06-23 23:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a5a088012d2bec0006bd9080000f008e33..."} 
[2026-06-23 23:33:28] local.INFO: Processing buffer {"connection_id":113071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a5a088012d2bec0006bd9080000f008e33..."} 
[2026-06-23 23:33:28] local.INFO: Packet analysis {"connection_id":113071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:28] local.INFO: Extracted packet for processing {"connection_id":113071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":757853184,"raw_latitude":113086592,"longitude_deg":75.7853184,"latitude_deg":11.3086592,"altitude":15,"angle":142,"satellites":51,"speed":47,"hex_longitude":"2d2bec00","hex_latitude":"06bd9080","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252857600001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322120378241515520,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3158852955087407104,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:28] 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-06-23 23:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237733000,"timestamp_ms":1782237733000,"timestamp_seconds":1782237733,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a5a088"} 
[2026-06-23 23:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:33:28] 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-06-23 23: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-06-23 23:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252857600001,"66":27539,"243":206,"2":57088,"24":47,"16":322120378241515520,"45":3158852955087407104},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-06-23 23:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252857600001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-23 23:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322120378241515520,"km_value":322120378241515.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3158852955087407104,"description":"Unknown IO ID 45"} 
[2026-06-23 23:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252857600001,"power":27539,"unknown_243":206,"power_alt":57088,"ignition":47,"odometer":null,"unknown_45":3158852955087407104}} 
[2026-06-23 23:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":113071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:33:28] local.INFO: GPS data processed {"connection_id":113071,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:33:28] local.INFO: Acknowledgment sent {"connection_id":113071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:33:36] local.INFO: TCP Data received {"connection_id":113070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:33:36] local.INFO: Processing buffer {"connection_id":113070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:33:36] local.INFO: IMEI packet received {"connection_id":113070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":113070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:33:51] local.INFO: TCP Data received {"connection_id":113072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:33:51] local.INFO: Processing buffer {"connection_id":113072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:33:51] local.INFO: IMEI packet received {"connection_id":113072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":113072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:33:56] local.INFO: TCP Data received {"connection_id":111327,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a619a0012d7aa4c005cb9670000100882a..."} 
[2026-06-23 23:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a619a0012d7aa4c005cb9670000100882a..."} 
[2026-06-23 23:33:56] local.INFO: Processing buffer {"connection_id":111327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a619a0012d7aa4c005cb9670000100882a..."} 
[2026-06-23 23:33:56] local.INFO: Packet analysis {"connection_id":111327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:33:56] local.INFO: Extracted packet for processing {"connection_id":111327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97228400,"longitude_deg":76.3012288,"latitude_deg":9.72284,"altitude":1,"angle":136,"satellites":42,"speed":11,"hex_longitude":"2d7aa4c0","hex_latitude":"05cb9670","is_valid_coordinates":true} 
[2026-06-23 23:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252867328001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96603237645287424,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837188393698285568,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782237764000,"timestamp_ms":1782237764000,"timestamp_seconds":1782237764,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a619a0"} 
[2026-06-23 23:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-23 23:33:56] 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-06-23 23:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252867328001,"66":11450,"75":206,"85":15104,"24":11,"16":96603237645287424,"45":8837188393698285568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252867328001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:33:56] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96603237645287424,"km_value":96603237645287.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837188393698285568,"description":"Unknown IO ID 45"} 
[2026-06-23 23:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252867328001,"power":11450,"unknown_75":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8837188393698285568}} 
[2026-06-23 23:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":111327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:33:56] local.INFO: GPS data processed {"connection_id":111327,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:33:56] local.INFO: Acknowledgment sent {"connection_id":111327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:33:56] local.INFO: TCP Data received {"connection_id":113072,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:33:56] local.INFO: Processing buffer {"connection_id":113072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:33:56] local.INFO: IMEI packet received {"connection_id":113072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":113072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:33:57] local.INFO: TCP Data received {"connection_id":113072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a58530012d196780071ff200003d007b2a..."} 
[2026-06-23 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a58530012d196780071ff200003d007b2a..."} 
[2026-06-23 23:33:57] local.INFO: Processing buffer {"connection_id":113072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a58530012d196780071ff200003d007b2a..."} 
[2026-06-23 23:33:57] local.INFO: Packet analysis {"connection_id":113072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:57] local.INFO: Extracted packet for processing {"connection_id":113072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252852480001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237726000,"timestamp_ms":1782237726000,"timestamp_seconds":1782237726,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a58530"} 
[2026-06-23 23:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:33:57] 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-06-23 23:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252852480001,"66":12265,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252852480001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:33:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252852480001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":113072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:33:57] local.INFO: GPS data processed {"connection_id":113072,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:33:57] local.INFO: Acknowledgment sent {"connection_id":113072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:34:00] local.INFO: TCP Data received {"connection_id":113071,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a5bfc8012d2c038006bd74280010008731..."} 
[2026-06-23 23:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a5bfc8012d2c038006bd74280010008731..."} 
[2026-06-23 23:34:00] local.INFO: Processing buffer {"connection_id":113071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a5bfc8012d2c038006bd74280010008731..."} 
[2026-06-23 23:34:00] local.INFO: Packet analysis {"connection_id":113071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:34:00] local.INFO: Extracted packet for processing {"connection_id":113071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:34:00] local.INFO: GPS Element Parsed {"raw_longitude":757859200,"raw_latitude":113079336,"longitude_deg":75.78592,"latitude_deg":11.3079336,"altitude":16,"angle":135,"satellites":49,"speed":46,"hex_longitude":"2d2c0380","hex_latitude":"06bd7428","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252859648001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322120833508048896,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3164904667084783616,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:00] 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-06-23 23:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782237741000,"timestamp_ms":1782237741000,"timestamp_seconds":1782237741,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a5bfc8"} 
[2026-06-23 23:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:34:00] 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-06-23 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 23:34:00] 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-06-23 23: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-06-23 23:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252859648001,"66":27463,"243":206,"2":57088,"24":46,"16":322120833508048896,"45":3164904667084783616},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-06-23 23:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252859648001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:34:00] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-23 23:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322120833508048896,"km_value":322120833508048.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3164904667084783616,"description":"Unknown IO ID 45"} 
[2026-06-23 23:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252859648001,"power":27463,"unknown_243":206,"power_alt":57088,"ignition":46,"odometer":null,"unknown_45":3164904667084783616}} 
[2026-06-23 23:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":113071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:34:00] local.INFO: GPS data processed {"connection_id":113071,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:34:00] local.INFO: Acknowledgment sent {"connection_id":113071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:34:05] local.INFO: TCP Data received {"connection_id":112139,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:34:05] local.INFO: Processing buffer {"connection_id":112139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:34:05] local.INFO: IMEI packet received {"connection_id":112139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":112139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:34:15] local.INFO: TCP Data received {"connection_id":111506,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:34:15] local.INFO: Processing buffer {"connection_id":111506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:34:15] local.INFO: IMEI packet received {"connection_id":111506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":111506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:34:22] local.INFO: TCP Data received {"connection_id":112140,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:34:22] local.INFO: Processing buffer {"connection_id":112140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:34:22] local.INFO: IMEI packet received {"connection_id":112140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":112140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:34:24] local.INFO: TCP Data received {"connection_id":111506,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:34:24] local.INFO: Processing buffer {"connection_id":111506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:34:24] local.INFO: IMEI packet received {"connection_id":111506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":111506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:34:25] local.INFO: TCP Data received {"connection_id":111506,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a64c68012d7aa84005cb9350000000a129..."} 
[2026-06-23 23:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a64c68012d7aa84005cb9350000000a129..."} 
[2026-06-23 23:34:25] local.INFO: Processing buffer {"connection_id":111506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a64c68012d7aa84005cb9350000000a129..."} 
[2026-06-23 23:34:25] local.INFO: Packet analysis {"connection_id":111506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:34:25] local.INFO: Extracted packet for processing {"connection_id":111506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763013184,"raw_latitude":97227600,"longitude_deg":76.3013184,"latitude_deg":9.72276,"altitude":0,"angle":161,"satellites":41,"speed":10,"hex_longitude":"2d7aa840","hex_latitude":"05cb9350","is_valid_coordinates":true} 
[2026-06-23 23:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252867584001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96603297774829568,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499930759168,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782237777000,"timestamp_ms":1782237777000,"timestamp_seconds":1782237777,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a64c68"} 
[2026-06-23 23:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-06-23 23:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":111506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":111506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":111506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252867584001,"66":11798,"75":206,"85":15104,"24":10,"16":96603297774829568,"45":8837399499930759168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252867584001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:34:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96603297774829568,"km_value":96603297774829.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499930759168,"description":"Unknown IO ID 45"} 
[2026-06-23 23:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252867584001,"power":11798,"unknown_75":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8837399499930759168}} 
[2026-06-23 23:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":111506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:34:25] local.INFO: GPS data processed {"connection_id":111506,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:34:25] local.INFO: Acknowledgment sent {"connection_id":111506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:34:28] local.INFO: TCP Data received {"connection_id":112140,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:34:28] local.INFO: Processing buffer {"connection_id":112140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:34:28] local.INFO: IMEI packet received {"connection_id":112140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":112140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:34:28] local.INFO: TCP Data received {"connection_id":113072,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a5d738012d196780071ff200003d007b28..."} 
[2026-06-23 23:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a5d738012d196780071ff200003d007b28..."} 
[2026-06-23 23:34:28] local.INFO: Processing buffer {"connection_id":113072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a5d738012d196780071ff200003d007b28..."} 
[2026-06-23 23:34:28] local.INFO: Packet analysis {"connection_id":113072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:34:28] local.INFO: Extracted packet for processing {"connection_id":113072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:34:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252857856001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237747000,"timestamp_ms":1782237747000,"timestamp_seconds":1782237747,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a5d738"} 
[2026-06-23 23:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:34: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-06-23 23: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 23:34:28] 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-06-23 23: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-06-23 23:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252857856001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252857856001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:34:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:34:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252857856001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":113072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:34:28] local.INFO: GPS data processed {"connection_id":113072,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:34:28] local.INFO: Acknowledgment sent {"connection_id":113072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:34:29] local.INFO: TCP Data received {"connection_id":112140,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a5df08012d2c200006bd5cb80012007c31..."} 
[2026-06-23 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a5df08012d2c200006bd5cb80012007c31..."} 
[2026-06-23 23:34:29] local.INFO: Processing buffer {"connection_id":112140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a5df08012d2c200006bd5cb80012007c31..."} 
[2026-06-23 23:34:29] local.INFO: Packet analysis {"connection_id":112140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:34:29] local.INFO: Extracted packet for processing {"connection_id":112140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a5"} 
[2026-06-23 23:34:29] local.INFO: GPS Element Parsed {"raw_longitude":757866496,"raw_latitude":113073336,"longitude_deg":75.7866496,"latitude_deg":11.3073336,"altitude":18,"angle":124,"satellites":49,"speed":47,"hex_longitude":"2d2c2000","hex_latitude":"06bd5cb8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252861696001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322121288774582272,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3171519329035626496,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:29] 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-06-23 23:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237749000,"timestamp_ms":1782237749000,"timestamp_seconds":1782237749,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a5df08"} 
[2026-06-23 23:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:34:29] 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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:34:29] 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-06-23 23: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-06-23 23:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252861696001,"66":26778,"243":206,"2":57088,"24":47,"16":322121288774582272,"45":3171519329035626496},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-06-23 23:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252861696001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:34:29] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-23 23:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322121288774582272,"km_value":322121288774582.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3171519329035626496,"description":"Unknown IO ID 45"} 
[2026-06-23 23:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252861696001,"power":26778,"unknown_243":206,"power_alt":57088,"ignition":47,"odometer":null,"unknown_45":3171519329035626496}} 
[2026-06-23 23:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":112140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:34:29] local.INFO: GPS data processed {"connection_id":112140,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:34:29] local.INFO: Acknowledgment sent {"connection_id":112140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:34:50] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:50] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:50] local.INFO: IMEI packet received {"connection_id":111507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":111507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:34:51] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:51] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:51] local.INFO: IMEI packet received {"connection_id":111507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":111507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:34:56] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:56] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:34:56] local.INFO: IMEI packet received {"connection_id":111507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":111507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:34:57] local.INFO: TCP Data received {"connection_id":111506,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a65820012d7aa94005cb8ed8000000af2b..."} 
[2026-06-23 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a65820012d7aa94005cb8ed8000000af2b..."} 
[2026-06-23 23:34:57] local.INFO: Processing buffer {"connection_id":111506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a65820012d7aa94005cb8ed8000000af2b..."} 
[2026-06-23 23:34:57] local.INFO: Packet analysis {"connection_id":111506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:34:57] local.INFO: Extracted packet for processing {"connection_id":111506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763013440,"raw_latitude":97226456,"longitude_deg":76.301344,"latitude_deg":9.7226456,"altitude":0,"angle":175,"satellites":43,"speed":18,"hex_longitude":"2d7aa940","hex_latitude":"05cb8ed8","is_valid_coordinates":true} 
[2026-06-23 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252870912001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96603353609404416,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838384662349041664,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237780000,"timestamp_ms":1782237780000,"timestamp_seconds":1782237780,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a65820"} 
[2026-06-23 23:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:34: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-06-23 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":57887410315220283,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184135033037,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":17,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2785929217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":-918734302498576384,"corrected_to":0} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846543088,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1631612441724160,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3695203494257491968,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930984450,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2882325751749675520,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":165,"raw_value":-8005147042808709115,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,75,85,24,241,157,16,52,158,25,45,192,150,1,42,10,66,21,151,43,17,240,245,227,203,4,113,205,219,159,239,46,2,87,80,206,166,165],"length":632,"final_offset":762,"validated_count":38,"validation_warnings":[{"io_id":203,"original":-918734302498576384,"validated":0},{"io_id":205,"original":2823487694,"validated":0}]} 
[2026-06-23 23:34:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":177197466386432,"timestamp_seconds":177197466386.432,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252870912001,"66":11830,"75":206,"85":15104,"24":18,"16":96603353609404416,"45":8838384662349041664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252870912001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96603353609404416,"km_value":96603353609404.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838384662349041664,"description":"Unknown IO ID 45"} 
[2026-06-23 23:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252870912001,"power":11830,"unknown_75":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8838384662349041664}} 
[2026-06-23 23:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":111506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:34:57] local.INFO: GPS data processed {"connection_id":111506,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:34:57] local.INFO: Acknowledgment sent {"connection_id":111506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:34:57] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a62940012d196780071ff200003d007b29..."} 
[2026-06-23 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a62940012d196780071ff200003d007b29..."} 
[2026-06-23 23:34:57] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a62940012d196780071ff200003d007b29..."} 
[2026-06-23 23:34:57] local.INFO: Packet analysis {"connection_id":111507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:34:57] local.INFO: Extracted packet for processing {"connection_id":111507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252863232001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237768000,"timestamp_ms":1782237768000,"timestamp_seconds":1782237768,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a62940"} 
[2026-06-23 23:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:34:57] 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-06-23 23:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252863232001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252863232001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252863232001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":111507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:34:57] local.INFO: GPS data processed {"connection_id":111507,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:34:57] local.INFO: Acknowledgment sent {"connection_id":111507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:35:01] local.INFO: TCP Data received {"connection_id":112140,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a75220012d2d674006bbf7e00013008933..."} 
[2026-06-23 23:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a75220012d2d674006bbf7e00013008933..."} 
[2026-06-23 23:35:01] local.INFO: Processing buffer {"connection_id":112140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a75220012d2d674006bbf7e00013008933..."} 
[2026-06-23 23:35:01] local.INFO: Packet analysis {"connection_id":112140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:35:01] local.INFO: Extracted packet for processing {"connection_id":112140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:35:01] local.INFO: GPS Element Parsed {"raw_longitude":757950272,"raw_latitude":112981984,"longitude_deg":75.7950272,"latitude_deg":11.2981984,"altitude":19,"angle":137,"satellites":51,"speed":55,"hex_longitude":"2d2d6740","hex_latitude":"06bbf7e0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252886272001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322127254484156416,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3264476440071288832,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:01] 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-06-23 23:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782237844000,"timestamp_ms":1782237844000,"timestamp_seconds":1782237844,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a75220"} 
[2026-06-23 23:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252886272001,"66":27397,"192":206,"2":57088,"24":55,"16":322127254484156416,"45":3264476440071288832},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 23:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252886272001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:35:01] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 23:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322127254484156416,"km_value":322127254484156.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3264476440071288832,"description":"Unknown IO ID 45"} 
[2026-06-23 23:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252886272001,"power":27397,"unknown_192":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3264476440071288832}} 
[2026-06-23 23:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":112140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:35:01] local.INFO: GPS data processed {"connection_id":112140,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:35:01] local.INFO: Acknowledgment sent {"connection_id":112140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:35:25] local.INFO: TCP Data received {"connection_id":113073,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:35:25] local.INFO: Processing buffer {"connection_id":113073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:35:25] local.INFO: IMEI packet received {"connection_id":113073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":113073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:35:27] local.INFO: TCP Data received {"connection_id":111508,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:35:27] local.INFO: Processing buffer {"connection_id":111508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:35:27] local.INFO: IMEI packet received {"connection_id":111508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":111508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:35:28] local.INFO: TCP Data received {"connection_id":111507,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a67b48012d196780071ff200003d007b2a..."} 
[2026-06-23 23:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a67b48012d196780071ff200003d007b2a..."} 
[2026-06-23 23:35:28] local.INFO: Processing buffer {"connection_id":111507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a67b48012d196780071ff200003d007b2a..."} 
[2026-06-23 23:35:28] local.INFO: Packet analysis {"connection_id":111507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:35:28] local.INFO: Extracted packet for processing {"connection_id":111507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252868608001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237789000,"timestamp_ms":1782237789000,"timestamp_seconds":1782237789,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a67b48"} 
[2026-06-23 23:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:35: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-06-23 23:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:35:28] 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-06-23 23:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252868608001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252868608001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252868608001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":111507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:35:28] local.INFO: GPS data processed {"connection_id":111507,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:35:28] local.INFO: Acknowledgment sent {"connection_id":111507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:35:31] local.INFO: TCP Data received {"connection_id":113073,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:35:31] local.INFO: Processing buffer {"connection_id":113073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:35:31] local.INFO: IMEI packet received {"connection_id":113073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":113073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:35:31] local.INFO: TCP Data received {"connection_id":111508,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:35:31] local.INFO: Processing buffer {"connection_id":111508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:35:31] local.INFO: IMEI packet received {"connection_id":111508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":111508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:35:32] local.INFO: TCP Data received {"connection_id":113073,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a7e2a8012d7b104005cadc40000200522b..."} 
[2026-06-23 23:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a7e2a8012d7b104005cadc40000200522b..."} 
[2026-06-23 23:35:32] local.INFO: Processing buffer {"connection_id":113073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a7e2a8012d7b104005cadc40000200522b..."} 
[2026-06-23 23:35:32] local.INFO: Packet analysis {"connection_id":113073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:35:32] local.INFO: Extracted packet for processing {"connection_id":113073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":97180736,"longitude_deg":76.3039808,"latitude_deg":9.7180736,"altitude":2,"angle":82,"satellites":43,"speed":24,"hex_longitude":"2d7b1040","hex_latitude":"05cadc40","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252894208001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96606660734222336,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698241470464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782237881000,"timestamp_ms":1782237881000,"timestamp_seconds":1782237881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a7e2a8"} 
[2026-06-23 23:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 23:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":113073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":113073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":113073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252894208001,"66":11852,"75":206,"85":15104,"24":24,"16":96606660734222336,"45":8857665698241470464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-06-23 23:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252894208001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:35:32] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-06-23 23:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96606660734222336,"km_value":96606660734222.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698241470464,"description":"Unknown IO ID 45"} 
[2026-06-23 23:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252894208001,"power":11852,"unknown_75":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8857665698241470464}} 
[2026-06-23 23:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":113073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:35:32] local.INFO: GPS data processed {"connection_id":113073,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:35:32] local.INFO: Acknowledgment sent {"connection_id":113073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:35:33] local.INFO: TCP Data received {"connection_id":111508,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a76d78012d2d80c006bbdba80013008b32..."} 
[2026-06-23 23:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a76d78012d2d80c006bbdba80013008b32..."} 
[2026-06-23 23:35:33] local.INFO: Processing buffer {"connection_id":111508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a76d78012d2d80c006bbdba80013008b32..."} 
[2026-06-23 23:35:33] local.INFO: Packet analysis {"connection_id":111508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:35:33] local.INFO: Extracted packet for processing {"connection_id":111508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:35:33] local.INFO: GPS Element Parsed {"raw_longitude":757956800,"raw_latitude":112974760,"longitude_deg":75.79568,"latitude_deg":11.297476,"altitude":19,"angle":139,"satellites":50,"speed":55,"hex_longitude":"2d2d80c0","hex_latitude":"06bbdba8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252888064001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322127722635591680,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3271654051975520256,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:33] 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-06-23 23:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782237851000,"timestamp_ms":1782237851000,"timestamp_seconds":1782237851,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a76d78"} 
[2026-06-23 23:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:35: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-06-23 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":111508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":111508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":111508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252888064001,"66":27365,"192":206,"2":57088,"24":55,"16":322127722635591680,"45":3271654051975520256},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 23:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252888064001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:35:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 23:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322127722635591680,"km_value":322127722635591.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3271654051975520256,"description":"Unknown IO ID 45"} 
[2026-06-23 23:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252888064001,"power":27365,"unknown_192":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3271654051975520256}} 
[2026-06-23 23:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":111508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:35:33] local.INFO: GPS data processed {"connection_id":111508,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:35:33] local.INFO: Acknowledgment sent {"connection_id":111508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:35:51] local.INFO: TCP Data received {"connection_id":113074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:51] local.INFO: Processing buffer {"connection_id":113074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:51] local.INFO: IMEI packet received {"connection_id":113074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":113074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:35:53] local.INFO: TCP Data received {"connection_id":113074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:53] local.INFO: Processing buffer {"connection_id":113074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:53] local.INFO: IMEI packet received {"connection_id":113074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":113074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:35:56] local.INFO: TCP Data received {"connection_id":113074,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:56] local.INFO: Processing buffer {"connection_id":113074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:35:56] local.INFO: IMEI packet received {"connection_id":113074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":113074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:35:57] local.INFO: TCP Data received {"connection_id":113074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a6cd50012d196780071ff200003d007b2b..."} 
[2026-06-23 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a6cd50012d196780071ff200003d007b2b..."} 
[2026-06-23 23:35:57] local.INFO: Processing buffer {"connection_id":113074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a6cd50012d196780071ff200003d007b2b..."} 
[2026-06-23 23:35:57] local.INFO: Packet analysis {"connection_id":113074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:35:57] local.INFO: Extracted packet for processing {"connection_id":113074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a6"} 
[2026-06-23 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252873984001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237810000,"timestamp_ms":1782237810000,"timestamp_seconds":1782237810,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a6cd50"} 
[2026-06-23 23:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:35:57] 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-06-23 23:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252873984001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252873984001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:35:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252873984001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":113074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:35:57] local.INFO: GPS data processed {"connection_id":113074,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:35:57] local.INFO: Acknowledgment sent {"connection_id":113074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:36:11] local.INFO: TCP Data received {"connection_id":111508,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a788d0012d2d99c006bbbf280013008d32..."} 
[2026-06-23 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a788d0012d2d99c006bbbf280013008d32..."} 
[2026-06-23 23:36:11] local.INFO: Processing buffer {"connection_id":111508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a788d0012d2d99c006bbbf280013008d32..."} 
[2026-06-23 23:36:11] local.INFO: Packet analysis {"connection_id":111508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:11] local.INFO: Extracted packet for processing {"connection_id":111508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":757963200,"raw_latitude":112967464,"longitude_deg":75.79632,"latitude_deg":11.2967464,"altitude":19,"angle":141,"satellites":50,"speed":54,"hex_longitude":"2d2d99c0","hex_latitude":"06bbbf28","is_valid_coordinates":true} 
[2026-06-23 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252889856001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322128190787026944,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3278831663879792640,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:11] 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-06-23 23:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782237858000,"timestamp_ms":1782237858000,"timestamp_seconds":1782237858,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a788d0"} 
[2026-06-23 23:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:36: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-06-23 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":111508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":111508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":111508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252889856001,"66":27397,"192":206,"2":57088,"24":54,"16":322128190787026944,"45":3278831663879792640},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 23:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252889856001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:36:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 23:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322128190787026944,"km_value":322128190787026.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3278831663879792640,"description":"Unknown IO ID 45"} 
[2026-06-23 23:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252889856001,"power":27397,"unknown_192":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":3278831663879792640}} 
[2026-06-23 23:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":111508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:36:11] local.INFO: GPS data processed {"connection_id":111508,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:36:11] local.INFO: Acknowledgment sent {"connection_id":111508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:36:15] local.INFO: TCP Data received {"connection_id":112141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:15] local.INFO: Processing buffer {"connection_id":112141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:15] local.INFO: IMEI packet received {"connection_id":112141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":112141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:36:18] local.INFO: TCP Data received {"connection_id":112141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:18] local.INFO: Processing buffer {"connection_id":112141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:18] local.INFO: IMEI packet received {"connection_id":112141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":112141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:36:20] local.INFO: TCP Data received {"connection_id":112141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:20] local.INFO: Processing buffer {"connection_id":112141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:36:20] local.INFO: IMEI packet received {"connection_id":112141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":112141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:36:21] local.INFO: TCP Data received {"connection_id":112141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a903b8012d7b9f0005cad638000700ad28..."} 
[2026-06-23 23:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a903b8012d7b9f0005cad638000700ad28..."} 
[2026-06-23 23:36:21] local.INFO: Processing buffer {"connection_id":112141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a903b8012d7b9f0005cad638000700ad28..."} 
[2026-06-23 23:36:21] local.INFO: Packet analysis {"connection_id":112141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:36:21] local.INFO: Extracted packet for processing {"connection_id":112141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:36:21] local.INFO: GPS Element Parsed {"raw_longitude":763076352,"raw_latitude":97179192,"longitude_deg":76.3076352,"latitude_deg":9.7179192,"altitude":7,"angle":173,"satellites":40,"speed":10,"hex_longitude":"2d7b9f00","hex_latitude":"05cad638","is_valid_coordinates":true} 
[2026-06-23 23:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252913920001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96608563404734464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907838612840581120,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782237955000,"timestamp_ms":1782237955000,"timestamp_seconds":1782237955,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a903b8"} 
[2026-06-23 23:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:36: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-06-23 23:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-06-23 23:36:21] 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-06-23 23:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252913920001,"66":11950,"161":206,"85":15104,"24":10,"16":96608563404734464,"45":8907838612840581120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-06-23 23:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252913920001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:36:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 23:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96608563404734464,"km_value":96608563404734.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907838612840581120,"description":"Unknown IO ID 45"} 
[2026-06-23 23:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252913920001,"power":11950,"unknown_161":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8907838612840581120}} 
[2026-06-23 23:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":112141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:36:21] local.INFO: GPS data processed {"connection_id":112141,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:36:21] local.INFO: Acknowledgment sent {"connection_id":112141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:36:22] local.INFO: TCP Data received {"connection_id":112142,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:36:22] local.INFO: Processing buffer {"connection_id":112142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:36:22] local.INFO: IMEI packet received {"connection_id":112142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":112142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:36:28] local.INFO: TCP Data received {"connection_id":112142,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:36:28] local.INFO: Processing buffer {"connection_id":112142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:36:28] local.INFO: IMEI packet received {"connection_id":112142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":112142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:36:28] local.INFO: TCP Data received {"connection_id":113074,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a71f58012d196780071ff200003d007b28..."} 
[2026-06-23 23:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a71f58012d196780071ff200003d007b28..."} 
[2026-06-23 23:36:28] local.INFO: Processing buffer {"connection_id":113074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a71f58012d196780071ff200003d007b28..."} 
[2026-06-23 23:36:28] local.INFO: Packet analysis {"connection_id":113074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:28] local.INFO: Extracted packet for processing {"connection_id":113074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252879360001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237831000,"timestamp_ms":1782237831000,"timestamp_seconds":1782237831,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a71f58"} 
[2026-06-23 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-06-23 23:36: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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:36:28] 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-06-23 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-06-23 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-06-23 23:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252879360001,"66":12265,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252879360001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252879360001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":113074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:36:29] local.INFO: GPS data processed {"connection_id":113074,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:36:29] local.INFO: Acknowledgment sent {"connection_id":113074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:36:29] local.INFO: TCP Data received {"connection_id":112142,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a7a428012d2daec006bb9ff80013009833..."} 
[2026-06-23 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a7a428012d2daec006bb9ff80013009833..."} 
[2026-06-23 23:36:29] local.INFO: Processing buffer {"connection_id":112142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a7a428012d2daec006bb9ff80013009833..."} 
[2026-06-23 23:36:29] local.INFO: Packet analysis {"connection_id":112142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:29] local.INFO: Extracted packet for processing {"connection_id":112142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:29] local.INFO: GPS Element Parsed {"raw_longitude":757968576,"raw_latitude":112959480,"longitude_deg":75.7968576,"latitude_deg":11.295948,"altitude":19,"angle":152,"satellites":51,"speed":54,"hex_longitude":"2d2daec0","hex_latitude":"06bb9ff8","is_valid_coordinates":true} 
[2026-06-23 23:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252891648001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322128654643494912,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3285868538295691264,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:29] 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-06-23 23:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782237865000,"timestamp_ms":1782237865000,"timestamp_seconds":1782237865,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a7a428"} 
[2026-06-23 23:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:36:29] 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-06-23 23:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":112142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":112142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":112142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252891648001,"66":27376,"192":206,"2":57088,"24":54,"16":322128654643494912,"45":3285868538295691264},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-06-23 23:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252891648001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:36:29] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-23 23:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322128654643494912,"km_value":322128654643494.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3285868538295691264,"description":"Unknown IO ID 45"} 
[2026-06-23 23:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252891648001,"power":27376,"unknown_192":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":3285868538295691264}} 
[2026-06-23 23:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":112142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:36:29] local.INFO: GPS data processed {"connection_id":112142,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:36:29] local.INFO: Acknowledgment sent {"connection_id":112142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:36:51] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:36:51] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:36:51] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:36:53] local.INFO: TCP Data received {"connection_id":112141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a90b88012d7b9f0005cad400000700b828..."} 
[2026-06-23 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a90b88012d7b9f0005cad400000700b828..."} 
[2026-06-23 23:36:53] local.INFO: Processing buffer {"connection_id":112141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a90b88012d7b9f0005cad400000700b828..."} 
[2026-06-23 23:36:53] local.INFO: Packet analysis {"connection_id":112141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:36:53] local.INFO: Extracted packet for processing {"connection_id":112141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763076352,"raw_latitude":97178624,"longitude_deg":76.3076352,"latitude_deg":9.7178624,"altitude":7,"angle":184,"satellites":40,"speed":11,"hex_longitude":"2d7b9f00","hex_latitude":"05cad400","is_valid_coordinates":true} 
[2026-06-23 23:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252916480001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96608593469505536,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907838612840003584,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782237957000,"timestamp_ms":1782237957000,"timestamp_seconds":1782237957,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a90b88"} 
[2026-06-23 23:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252916480001,"66":11765,"161":206,"85":15104,"24":11,"16":96608593469505536,"45":8907838612840003584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-06-23 23:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252916480001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96608593469505536,"km_value":96608593469505.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907838612840003584,"description":"Unknown IO ID 45"} 
[2026-06-23 23:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252916480001,"power":11765,"unknown_161":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8907838612840003584}} 
[2026-06-23 23:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":112141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:36:53] local.INFO: GPS data processed {"connection_id":112141,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:36:53] local.INFO: Acknowledgment sent {"connection_id":112141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:36:56] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:36:56] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:36:56] local.INFO: IMEI packet received {"connection_id":111329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":111329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:36:57] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a77160012d196780071ff200003d007b28..."} 
[2026-06-23 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a77160012d196780071ff200003d007b28..."} 
[2026-06-23 23:36:57] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a77160012d196780071ff200003d007b28..."} 
[2026-06-23 23:36:57] local.INFO: Packet analysis {"connection_id":111329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:57] local.INFO: Extracted packet for processing {"connection_id":111329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252884736001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237852000,"timestamp_ms":1782237852000,"timestamp_seconds":1782237852,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a77160"} 
[2026-06-23 23:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 23:36:57] 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-06-23 23: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-06-23 23:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252884736001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252884736001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:36:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252884736001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":111329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:36:57] local.INFO: GPS data processed {"connection_id":111329,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:36:57] local.INFO: Acknowledgment sent {"connection_id":111329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:37:01] local.INFO: TCP Data received {"connection_id":112142,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a92ac8012d2e8b0006b9bf70001a00952d..."} 
[2026-06-23 23:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a92ac8012d2e8b0006b9bf70001a00952d..."} 
[2026-06-23 23:37:01] local.INFO: Processing buffer {"connection_id":112142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a92ac8012d2e8b0006b9bf70001a00952d..."} 
[2026-06-23 23:37:01] local.INFO: Packet analysis {"connection_id":112142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:37:01] local.INFO: Extracted packet for processing {"connection_id":112142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:37:01] local.INFO: GPS Element Parsed {"raw_longitude":758024960,"raw_latitude":112836464,"longitude_deg":75.802496,"latitude_deg":11.2836464,"altitude":26,"angle":149,"satellites":45,"speed":60,"hex_longitude":"2d2e8b00","hex_latitude":"06b9bf70","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252917248001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322135200173654016,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3348426351838355456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:01] 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-06-23 23:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782237965000,"timestamp_ms":1782237965000,"timestamp_seconds":1782237965,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a92ac8"} 
[2026-06-23 23:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:37:01] 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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:37:01] 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-06-23 23: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-06-23 23:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252917248001,"66":27484,"38":206,"2":57088,"24":60,"16":322135200173654016,"45":3348426351838355456},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-06-23 23:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252917248001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:37:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 23:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322135200173654016,"km_value":322135200173654.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3348426351838355456,"description":"Unknown IO ID 45"} 
[2026-06-23 23:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252917248001,"power":27484,"unknown_38":206,"power_alt":57088,"ignition":60,"odometer":null,"unknown_45":3348426351838355456}} 
[2026-06-23 23:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":112142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:37:01] local.INFO: GPS data processed {"connection_id":112142,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:37:01] local.INFO: Acknowledgment sent {"connection_id":112142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:37:19] local.INFO: TCP Data received {"connection_id":111510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:19] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:19] local.INFO: IMEI packet received {"connection_id":111510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":111510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:37:19] local.INFO: TCP Data received {"connection_id":111510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:19] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:19] local.INFO: IMEI packet received {"connection_id":111510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":111510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:37:20] local.INFO: TCP Data received {"connection_id":111510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:20] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:20] local.INFO: IMEI packet received {"connection_id":111510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":111510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:37:21] local.INFO: TCP Data received {"connection_id":111510,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:21] local.INFO: Processing buffer {"connection_id":111510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:37:21] local.INFO: IMEI packet received {"connection_id":111510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":111510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:37:28] local.INFO: TCP Data received {"connection_id":111329,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a7c368012d196780071ff200003d007b27..."} 
[2026-06-23 23:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a7c368012d196780071ff200003d007b27..."} 
[2026-06-23 23:37:28] local.INFO: Processing buffer {"connection_id":111329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a7c368012d196780071ff200003d007b27..."} 
[2026-06-23 23:37:28] local.INFO: Packet analysis {"connection_id":111329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:37:28] local.INFO: Extracted packet for processing {"connection_id":111329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a7"} 
[2026-06-23 23:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252890112001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237873000,"timestamp_ms":1782237873000,"timestamp_seconds":1782237873,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a7c368"} 
[2026-06-23 23:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:37: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-06-23 23: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 23:37:28] 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-06-23 23: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-06-23 23:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252890112001,"66":12113,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252890112001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252890112001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":111329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:37:29] local.INFO: GPS data processed {"connection_id":111329,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:37:29] local.INFO: Acknowledgment sent {"connection_id":111329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:37:49] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:37:49] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:37:49] local.INFO: IMEI packet received {"connection_id":111511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":111511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:37:50] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:37:50] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:37:50] local.INFO: IMEI packet received {"connection_id":111511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":111511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:37:51] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a94238012d2e9d4006b9a0200017009830..."} 
[2026-06-23 23:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a94238012d2e9d4006b9a0200017009830..."} 
[2026-06-23 23:37:51] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a94238012d2e9d4006b9a0200017009830..."} 
[2026-06-23 23:37:51] local.INFO: Packet analysis {"connection_id":111511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:37:51] local.INFO: Extracted packet for processing {"connection_id":111511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758029632,"raw_latitude":112828448,"longitude_deg":75.8029632,"latitude_deg":11.2828448,"altitude":23,"angle":152,"satellites":48,"speed":62,"hex_longitude":"2d2e9d40","hex_latitude":"06b9a020","is_valid_coordinates":true} 
[2026-06-23 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252919040001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322135646850252800,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3353774376393601024,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:51] 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-06-23 23:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782237971000,"timestamp_ms":1782237971000,"timestamp_seconds":1782237971,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a94238"} 
[2026-06-23 23:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:37:51] 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-06-23 23:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:37:51] 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-06-23 23:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":111511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252919040001,"66":27180,"38":206,"2":57088,"24":62,"16":322135646850252800,"45":3353774376393601024},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-06-23 23:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252919040001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:37:51] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 23:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322135646850252800,"km_value":322135646850252.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3353774376393601024,"description":"Unknown IO ID 45"} 
[2026-06-23 23:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252919040001,"power":27180,"unknown_38":206,"power_alt":57088,"ignition":62,"odometer":null,"unknown_45":3353774376393601024}} 
[2026-06-23 23:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":111511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:37:52] local.INFO: GPS data processed {"connection_id":111511,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:37:52] local.INFO: Acknowledgment sent {"connection_id":111511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:37:52] local.INFO: TCP Data received {"connection_id":111511,"ip":"117.225.209.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a959a8012d2ead4006b97e500013009a30..."} 
[2026-06-23 23:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a959a8012d2ead4006b97e500013009a30..."} 
[2026-06-23 23:37:52] local.INFO: Processing buffer {"connection_id":111511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a959a8012d2ead4006b97e500013009a30..."} 
[2026-06-23 23:37:52] local.INFO: Packet analysis {"connection_id":111511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:37:52] local.INFO: Extracted packet for processing {"connection_id":111511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758033728,"raw_latitude":112819792,"longitude_deg":75.8033728,"latitude_deg":11.2819792,"altitude":19,"angle":154,"satellites":48,"speed":65,"hex_longitude":"2d2ead40","hex_latitude":"06b97e50","is_valid_coordinates":true} 
[2026-06-23 23:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252920576001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322136110706720768,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3358911294716518400,"note":"Value kept but may cause issues"} 
[2026-06-23 23:37:52] 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-06-23 23:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782237977000,"timestamp_ms":1782237977000,"timestamp_seconds":1782237977,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a959a8"} 
[2026-06-23 23:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:37:52] 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-06-23 23:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-23 23:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.209.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252920576001,"66":27321,"38":206,"2":57088,"24":65,"16":322136110706720768,"45":3358911294716518400},"client_ip":"117.225.209.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-06-23 23:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252920576001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:37:52] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-23 23:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322136110706720768,"km_value":322136110706720.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3358911294716518400,"description":"Unknown IO ID 45"} 
[2026-06-23 23:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252920576001,"power":27321,"unknown_38":206,"power_alt":57088,"ignition":65,"odometer":null,"unknown_45":3358911294716518400}} 
[2026-06-23 23:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":111511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:37:52] local.INFO: GPS data processed {"connection_id":111511,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:37:52] local.INFO: Acknowledgment sent {"connection_id":111511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:37:56] local.INFO: TCP Data received {"connection_id":112143,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:37:56] local.INFO: Processing buffer {"connection_id":112143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:37:56] local.INFO: IMEI packet received {"connection_id":112143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":112143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:37:59] local.INFO: TCP Data received {"connection_id":112143,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:37:59] local.INFO: Processing buffer {"connection_id":112143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:37:59] local.INFO: IMEI packet received {"connection_id":112143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":112143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:38:00] local.INFO: TCP Data received {"connection_id":112143,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a81570012d196780071ff200003d007b29..."} 
[2026-06-23 23:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a81570012d196780071ff200003d007b29..."} 
[2026-06-23 23:38:00] local.INFO: Processing buffer {"connection_id":112143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a81570012d196780071ff200003d007b29..."} 
[2026-06-23 23:38:00] local.INFO: Packet analysis {"connection_id":112143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a8"} 
[2026-06-23 23:38:00] local.INFO: Extracted packet for processing {"connection_id":112143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a8"} 
[2026-06-23 23:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252895488001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38: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-06-23 23:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782237894000,"timestamp_ms":1782237894000,"timestamp_seconds":1782237894,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a81570"} 
[2026-06-23 23:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 23:38:00] 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-06-23 23: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-06-23 23:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252895488001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252895488001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:38:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252895488001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":112143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:38:00] local.INFO: GPS data processed {"connection_id":112143,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:38:00] local.INFO: Acknowledgment sent {"connection_id":112143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:38:01] local.INFO: TCP Data received {"connection_id":112143,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a86778012d196780071ff200003d007b2a..."} 
[2026-06-23 23:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a86778012d196780071ff200003d007b2a..."} 
[2026-06-23 23:38:01] local.INFO: Processing buffer {"connection_id":112143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a86778012d196780071ff200003d007b2a..."} 
[2026-06-23 23:38:01] local.INFO: Packet analysis {"connection_id":112143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a8"} 
[2026-06-23 23:38:01] local.INFO: Extracted packet for processing {"connection_id":112143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a8"} 
[2026-06-23 23:38:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:38: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-06-23 23:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252900864001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782237915000,"timestamp_ms":1782237915000,"timestamp_seconds":1782237915,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a86778"} 
[2026-06-23 23:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:38:01] 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-06-23 23:38: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":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:38:01] 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-06-23 23:38: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-06-23 23:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252900864001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252900864001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:38:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252900864001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":112143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:38:01] local.INFO: GPS data processed {"connection_id":112143,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:38:01] local.INFO: Acknowledgment sent {"connection_id":112143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:38:32] local.INFO: TCP Data received {"connection_id":112143,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a8b980012d196780071ff200003d007b27..."} 
[2026-06-23 23:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a8b980012d196780071ff200003d007b27..."} 
[2026-06-23 23:38:32] local.INFO: Processing buffer {"connection_id":112143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a8b980012d196780071ff200003d007b27..."} 
[2026-06-23 23:38:32] local.INFO: Packet analysis {"connection_id":112143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a8"} 
[2026-06-23 23:38:32] local.INFO: Extracted packet for processing {"connection_id":112143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a8"} 
[2026-06-23 23:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252906240001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38: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-06-23 23:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782237936000,"timestamp_ms":1782237936000,"timestamp_seconds":1782237936,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a8b980"} 
[2026-06-23 23:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:38:32] 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-06-23 23: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:38:32] 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-06-23 23: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-06-23 23:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252906240001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252906240001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:38:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252906240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":112143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:38:32] local.INFO: GPS data processed {"connection_id":112143,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:38:32] local.INFO: Acknowledgment sent {"connection_id":112143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:38:51] local.INFO: TCP Data received {"connection_id":113077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:38:51] local.INFO: Processing buffer {"connection_id":113077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:38:51] local.INFO: IMEI packet received {"connection_id":113077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":113077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:38:56] local.INFO: TCP Data received {"connection_id":113077,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:38:56] local.INFO: Processing buffer {"connection_id":113077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:38:56] local.INFO: IMEI packet received {"connection_id":113077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":113077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:38:57] local.INFO: TCP Data received {"connection_id":113077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a90b88012d196780071ff200003d007b27..."} 
[2026-06-23 23:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a90b88012d196780071ff200003d007b27..."} 
[2026-06-23 23:38:57] local.INFO: Processing buffer {"connection_id":113077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a90b88012d196780071ff200003d007b27..."} 
[2026-06-23 23:38:57] local.INFO: Packet analysis {"connection_id":113077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:38:57] local.INFO: Extracted packet for processing {"connection_id":113077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252911616001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237957000,"timestamp_ms":1782237957000,"timestamp_seconds":1782237957,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a90b88"} 
[2026-06-23 23:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:38:57] 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-06-23 23: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-06-23 23:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252911616001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252911616001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252911616001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":113077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:38:57] local.INFO: GPS data processed {"connection_id":113077,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:38:57] local.INFO: Acknowledgment sent {"connection_id":113077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:39:28] local.INFO: TCP Data received {"connection_id":113077,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a95d90012d196780071ff200003d007b25..."} 
[2026-06-23 23:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a95d90012d196780071ff200003d007b25..."} 
[2026-06-23 23:39:28] local.INFO: Processing buffer {"connection_id":113077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a95d90012d196780071ff200003d007b25..."} 
[2026-06-23 23:39:28] local.INFO: Packet analysis {"connection_id":113077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:39:28] local.INFO: Extracted packet for processing {"connection_id":113077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252916992001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782237978000,"timestamp_ms":1782237978000,"timestamp_seconds":1782237978,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a95d90"} 
[2026-06-23 23:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:39: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-06-23 23: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 23:39:28] 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-06-23 23: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-06-23 23:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252916992001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252916992001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252916992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":113077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:39:29] local.INFO: GPS data processed {"connection_id":113077,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:39:29] local.INFO: Acknowledgment sent {"connection_id":113077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:39:31] local.INFO: TCP Data received {"connection_id":112145,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:39:31] local.INFO: Processing buffer {"connection_id":112145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:39:31] local.INFO: IMEI packet received {"connection_id":112145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":112145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:39:50] local.INFO: TCP Data received {"connection_id":112147,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:50] local.INFO: Processing buffer {"connection_id":112147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:50] local.INFO: IMEI packet received {"connection_id":112147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":112147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:39:51] local.INFO: TCP Data received {"connection_id":111512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:39:51] local.INFO: Processing buffer {"connection_id":111512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:39:51] local.INFO: IMEI packet received {"connection_id":111512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":111512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:39:53] local.INFO: TCP Data received {"connection_id":112147,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:53] local.INFO: Processing buffer {"connection_id":112147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:53] local.INFO: IMEI packet received {"connection_id":112147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":112147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:39:56] local.INFO: TCP Data received {"connection_id":111512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:39:56] local.INFO: Processing buffer {"connection_id":111512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:39:56] local.INFO: IMEI packet received {"connection_id":111512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":111512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:39:57] local.INFO: TCP Data received {"connection_id":112147,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:57] local.INFO: Processing buffer {"connection_id":112147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:39:57] local.INFO: IMEI packet received {"connection_id":112147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":112147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:39:57] local.INFO: TCP Data received {"connection_id":111512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5a9af98012d196780071ff200003d007b28..."} 
[2026-06-23 23:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5a9af98012d196780071ff200003d007b28..."} 
[2026-06-23 23:39:57] local.INFO: Processing buffer {"connection_id":111512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5a9af98012d196780071ff200003d007b28..."} 
[2026-06-23 23:39:57] local.INFO: Packet analysis {"connection_id":111512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:39:57] local.INFO: Extracted packet for processing {"connection_id":111512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5a9"} 
[2026-06-23 23:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252922368001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782237999000,"timestamp_ms":1782237999000,"timestamp_seconds":1782237999,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5a9af98"} 
[2026-06-23 23:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:39:57] 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-06-23 23: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-06-23 23:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252922368001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252922368001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:39:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252922368001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":111512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:39:57] local.INFO: GPS data processed {"connection_id":111512,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:39:57] local.INFO: Acknowledgment sent {"connection_id":111512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:39:58] local.INFO: TCP Data received {"connection_id":112147,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ab6ce8012d30128006b6c6880012007733..."} 
[2026-06-23 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ab6ce8012d30128006b6c6880012007733..."} 
[2026-06-23 23:39:58] local.INFO: Processing buffer {"connection_id":112147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ab6ce8012d30128006b6c6880012007733..."} 
[2026-06-23 23:39:58] local.INFO: Packet analysis {"connection_id":112147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:39:58] local.INFO: Extracted packet for processing {"connection_id":112147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758125184,"raw_latitude":112641672,"longitude_deg":75.8125184,"latitude_deg":11.2641672,"altitude":18,"angle":119,"satellites":51,"speed":56,"hex_longitude":"2d301280","hex_latitude":"06b6c688","is_valid_coordinates":true} 
[2026-06-23 23:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252955392001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322145894642221056,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3456723849076834304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782238113000,"timestamp_ms":1782238113000,"timestamp_seconds":1782238113,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ab6ce8"} 
[2026-06-23 23:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:39:58] 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-06-23 23:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":112147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":112147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":112147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252955392001,"66":27397,"83":206,"28":21760,"24":56,"16":322145894642221056,"45":3456723849076834304},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,28,24,16,45]} 
[2026-06-23 23:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252955392001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 23:39:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322145894642221056,"km_value":322145894642221.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3456723849076834304,"description":"Unknown IO ID 45"} 
[2026-06-23 23:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252955392001,"power":27397,"unknown_83":206,"unknown_28":21760,"ignition":56,"odometer":null,"unknown_45":3456723849076834304}} 
[2026-06-23 23:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":112147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:39:58] local.INFO: GPS data processed {"connection_id":112147,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:39:58] local.INFO: Acknowledgment sent {"connection_id":112147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:40:06] local.INFO: TCP Data received {"connection_id":112148,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:40:06] local.INFO: Processing buffer {"connection_id":112148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:40:06] local.INFO: IMEI packet received {"connection_id":112148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":112148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:40:22] local.INFO: TCP Data received {"connection_id":111514,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:40:22] local.INFO: Processing buffer {"connection_id":111514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:40:22] local.INFO: IMEI packet received {"connection_id":111514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":111514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:40:27] local.INFO: TCP Data received {"connection_id":111514,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:40:27] local.INFO: Processing buffer {"connection_id":111514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:40:27] local.INFO: IMEI packet received {"connection_id":111514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":111514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:40:28] local.INFO: TCP Data received {"connection_id":111512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5aa01a0012d196780071ff200003d007b28..."} 
[2026-06-23 23:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5aa01a0012d196780071ff200003d007b28..."} 
[2026-06-23 23:40:28] local.INFO: Processing buffer {"connection_id":111512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5aa01a0012d196780071ff200003d007b28..."} 
[2026-06-23 23:40:28] local.INFO: Packet analysis {"connection_id":111512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:40:28] local.INFO: Extracted packet for processing {"connection_id":111512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252927744001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238020000,"timestamp_ms":1782238020000,"timestamp_seconds":1782238020,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5aa01a0"} 
[2026-06-23 23:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:40: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-06-23 23:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:40:28] 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-06-23 23:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252927744001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252927744001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:40:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252927744001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":111512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:40:28] local.INFO: GPS data processed {"connection_id":111512,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:40:28] local.INFO: Acknowledgment sent {"connection_id":111512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:40:29] local.INFO: TCP Data received {"connection_id":111514,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ab8458012d30324006b6b8e8000f006b33..."} 
[2026-06-23 23:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ab8458012d30324006b6b8e8000f006b33..."} 
[2026-06-23 23:40:29] local.INFO: Processing buffer {"connection_id":111514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ab8458012d30324006b6b8e8000f006b33..."} 
[2026-06-23 23:40:29] local.INFO: Packet analysis {"connection_id":111514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:40:29] local.INFO: Extracted packet for processing {"connection_id":111514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:40:29] local.INFO: GPS Element Parsed {"raw_longitude":758133312,"raw_latitude":112638184,"longitude_deg":75.8133312,"latitude_deg":11.2638184,"altitude":15,"angle":107,"satellites":51,"speed":60,"hex_longitude":"2d303240","hex_latitude":"06b6b8e8","is_valid_coordinates":true} 
[2026-06-23 23:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252956928001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322146319843983360,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3463971829725956096,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782238119000,"timestamp_ms":1782238119000,"timestamp_seconds":1782238119,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ab8458"} 
[2026-06-23 23:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:40:29] 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-06-23 23:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-23 23:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252956928001,"66":27376,"83":206,"28":21760,"24":60,"16":322146319843983360,"45":3463971829725956096},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,28,24,16,45]} 
[2026-06-23 23:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252956928001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-23 23:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322146319843983360,"km_value":322146319843983.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3463971829725956096,"description":"Unknown IO ID 45"} 
[2026-06-23 23:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252956928001,"power":27376,"unknown_83":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":3463971829725956096}} 
[2026-06-23 23:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":111514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:40:29] local.INFO: GPS data processed {"connection_id":111514,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:40:29] local.INFO: Acknowledgment sent {"connection_id":111514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:40:51] local.INFO: TCP Data received {"connection_id":113078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:40:51] local.INFO: Processing buffer {"connection_id":113078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:40:51] local.INFO: IMEI packet received {"connection_id":113078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":113078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:40:56] local.INFO: TCP Data received {"connection_id":113078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:40:56] local.INFO: Processing buffer {"connection_id":113078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:40:56] local.INFO: IMEI packet received {"connection_id":113078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":113078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:40:57] local.INFO: TCP Data received {"connection_id":113078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5aa53a8012d196780071ff200003d007b29..."} 
[2026-06-23 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5aa53a8012d196780071ff200003d007b29..."} 
[2026-06-23 23:40:57] local.INFO: Processing buffer {"connection_id":113078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5aa53a8012d196780071ff200003d007b29..."} 
[2026-06-23 23:40:57] local.INFO: Packet analysis {"connection_id":113078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:40:57] local.INFO: Extracted packet for processing {"connection_id":113078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252933120001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238041000,"timestamp_ms":1782238041000,"timestamp_seconds":1782238041,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5aa53a8"} 
[2026-06-23 23:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:40:57] 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-06-23 23: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-06-23 23:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252933120001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252933120001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252933120001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":113078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:40:57] local.INFO: GPS data processed {"connection_id":113078,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:40:57] local.INFO: Acknowledgment sent {"connection_id":113078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:41:01] local.INFO: TCP Data received {"connection_id":111514,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5acd448012d318ec006b5d5780015009532..."} 
[2026-06-23 23:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5acd448012d318ec006b5d5780015009532..."} 
[2026-06-23 23:41:01] local.INFO: Processing buffer {"connection_id":111514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5acd448012d318ec006b5d5780015009532..."} 
[2026-06-23 23:41:01] local.INFO: Packet analysis {"connection_id":111514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:41:01] local.INFO: Extracted packet for processing {"connection_id":111514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":758222528,"raw_latitude":112579960,"longitude_deg":75.8222528,"latitude_deg":11.257996,"altitude":21,"angle":149,"satellites":50,"speed":61,"hex_longitude":"2d318ec0","hex_latitude":"06b5d578","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252978688001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322151761567547392,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3565021346351538176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782238205000,"timestamp_ms":1782238205000,"timestamp_seconds":1782238205,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5acd448"} 
[2026-06-23 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-06-23 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 23:41:01] 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-06-23 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-06-23 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-06-23 23:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252978688001,"66":27539,"78":206,"28":21760,"24":61,"16":322151761567547392,"45":3565021346351538176},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-23 23:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252978688001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322151761567547392,"km_value":322151761567547.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3565021346351538176,"description":"Unknown IO ID 45"} 
[2026-06-23 23:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252978688001,"power":27539,"unknown_78":206,"unknown_28":21760,"ignition":61,"odometer":null,"unknown_45":3565021346351538176}} 
[2026-06-23 23:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":111514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:41:01] local.INFO: GPS data processed {"connection_id":111514,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:41:01] local.INFO: Acknowledgment sent {"connection_id":111514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:41:22] local.INFO: TCP Data received {"connection_id":113079,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:22] local.INFO: Processing buffer {"connection_id":113079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:22] local.INFO: IMEI packet received {"connection_id":113079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":113079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:41:26] local.INFO: TCP Data received {"connection_id":113079,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:26] local.INFO: Processing buffer {"connection_id":113079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:26] local.INFO: IMEI packet received {"connection_id":113079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":113079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:41:27] local.INFO: TCP Data received {"connection_id":113079,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:27] local.INFO: Processing buffer {"connection_id":113079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:41:27] local.INFO: IMEI packet received {"connection_id":113079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":113079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:41:28] local.INFO: TCP Data received {"connection_id":113078,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5aaa5b0012d196780071ff200003d007b29..."} 
[2026-06-23 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5aaa5b0012d196780071ff200003d007b29..."} 
[2026-06-23 23:41:28] local.INFO: Processing buffer {"connection_id":113078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5aaa5b0012d196780071ff200003d007b29..."} 
[2026-06-23 23:41:28] local.INFO: Packet analysis {"connection_id":113078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:41:28] local.INFO: Extracted packet for processing {"connection_id":113078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252938496001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238062000,"timestamp_ms":1782238062000,"timestamp_seconds":1782238062,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5aaa5b0"} 
[2026-06-23 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-06-23 23:41: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-06-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:41:28] 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-06-23 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-06-23 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-06-23 23:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252938496001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252938496001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252938496001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":113078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:41:28] local.INFO: GPS data processed {"connection_id":113078,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:41:28] local.INFO: Acknowledgment sent {"connection_id":113078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:41:28] local.INFO: TCP Data received {"connection_id":113079,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5acebb8012d31a18006b5b6900013009532..."} 
[2026-06-23 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5acebb8012d31a18006b5b6900013009532..."} 
[2026-06-23 23:41:28] local.INFO: Processing buffer {"connection_id":113079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5acebb8012d31a18006b5b6900013009532..."} 
[2026-06-23 23:41:28] local.INFO: Packet analysis {"connection_id":113079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:41:28] local.INFO: Extracted packet for processing {"connection_id":113079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":758227328,"raw_latitude":112572048,"longitude_deg":75.8227328,"latitude_deg":11.2572048,"altitude":19,"angle":149,"satellites":50,"speed":61,"hex_longitude":"2d31a180","hex_latitude":"06b5b690","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252980480001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322152208244146176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3571002689604384768,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238211000,"timestamp_ms":1782238211000,"timestamp_seconds":1782238211,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5acebb8"} 
[2026-06-23 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-06-23 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 23:41:28] 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-06-23 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-06-23 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-06-23 23:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252980480001,"66":27517,"78":206,"28":21760,"24":61,"16":322152208244146176,"45":3571002689604384768},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-23 23:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252980480001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322152208244146176,"km_value":322152208244146.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3571002689604384768,"description":"Unknown IO ID 45"} 
[2026-06-23 23:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252980480001,"power":27517,"unknown_78":206,"unknown_28":21760,"ignition":61,"odometer":null,"unknown_45":3571002689604384768}} 
[2026-06-23 23:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":113079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:41:28] local.INFO: GPS data processed {"connection_id":113079,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:41:28] local.INFO: Acknowledgment sent {"connection_id":113079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:41:50] local.INFO: TCP Data received {"connection_id":111515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:50] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:50] local.INFO: IMEI packet received {"connection_id":111515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":111515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:41:51] local.INFO: TCP Data received {"connection_id":111515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:51] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:51] local.INFO: IMEI packet received {"connection_id":111515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":111515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:41:56] local.INFO: TCP Data received {"connection_id":111515,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:56] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:41:56] local.INFO: IMEI packet received {"connection_id":111515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":111515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:41:57] local.INFO: TCP Data received {"connection_id":111515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5aaf7b8012d196780071ff200003d007b2a..."} 
[2026-06-23 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5aaf7b8012d196780071ff200003d007b2a..."} 
[2026-06-23 23:41:57] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5aaf7b8012d196780071ff200003d007b2a..."} 
[2026-06-23 23:41:57] local.INFO: Packet analysis {"connection_id":111515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:41:57] local.INFO: Extracted packet for processing {"connection_id":111515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5aa"} 
[2026-06-23 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252943872001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238083000,"timestamp_ms":1782238083000,"timestamp_seconds":1782238083,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5aaf7b8"} 
[2026-06-23 23:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:41:57] 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-06-23 23:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252943872001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252943872001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:41:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252943872001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":111515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:41:57] local.INFO: GPS data processed {"connection_id":111515,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:41:57] local.INFO: Acknowledgment sent {"connection_id":111515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:00] local.INFO: TCP Data received {"connection_id":113079,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ad0328012d31b64006b59718000f009032..."} 
[2026-06-23 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ad0328012d31b64006b59718000f009032..."} 
[2026-06-23 23:42:00] local.INFO: Processing buffer {"connection_id":113079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ad0328012d31b64006b59718000f009032..."} 
[2026-06-23 23:42:00] local.INFO: Packet analysis {"connection_id":113079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ad"} 
[2026-06-23 23:42:00] local.INFO: Extracted packet for processing {"connection_id":113079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ad"} 
[2026-06-23 23:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758232640,"raw_latitude":112563992,"longitude_deg":75.823264,"latitude_deg":11.2563992,"altitude":15,"angle":144,"satellites":50,"speed":65,"hex_longitude":"2d31b640","hex_latitude":"06b59718","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252982016001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322152672100614144,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3576280345415684096,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782238217000,"timestamp_ms":1782238217000,"timestamp_seconds":1782238217,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ad0328"} 
[2026-06-23 23:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42:00] 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-06-23 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:00] 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-06-23 23: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-06-23 23:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252982016001,"66":27343,"78":206,"28":21760,"24":65,"16":322152672100614144,"45":3576280345415684096},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-23 23:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252982016001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-23 23:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322152672100614144,"km_value":322152672100614.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3576280345415684096,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252982016001,"power":27343,"unknown_78":206,"unknown_28":21760,"ignition":65,"odometer":null,"unknown_45":3576280345415684096}} 
[2026-06-23 23:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":113079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:00] local.INFO: GPS data processed {"connection_id":113079,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:00] local.INFO: Acknowledgment sent {"connection_id":113079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:21] local.INFO: TCP Data received {"connection_id":112151,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:42:21] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:42:21] local.INFO: IMEI packet received {"connection_id":112151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":112151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:42:22] local.INFO: TCP Data received {"connection_id":112151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae2050012d7ce14005caaef8000500382b..."} 
[2026-06-23 23:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae2050012d7ce14005caaef8000500382b..."} 
[2026-06-23 23:42:22] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae2050012d7ce14005caaef8000500382b..."} 
[2026-06-23 23:42:22] local.INFO: Packet analysis {"connection_id":112151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:22] local.INFO: Extracted packet for processing {"connection_id":112151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:22] local.INFO: GPS Element Parsed {"raw_longitude":763158848,"raw_latitude":97169144,"longitude_deg":76.3158848,"latitude_deg":9.7169144,"altitude":5,"angle":56,"satellites":43,"speed":26,"hex_longitude":"2d7ce140","hex_latitude":"05caaef8","is_valid_coordinates":true} 
[2026-06-23 23:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253001472001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96614902776463360,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997136549198583808,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782238290000,"timestamp_ms":1782238290000,"timestamp_seconds":1782238290,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae2050"} 
[2026-06-23 23:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:22] 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-06-23 23:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":112151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":112151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":112151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253001472001,"66":11863,"159":206,"85":15104,"24":26,"16":96614902776463360,"45":8997136549198583808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-06-23 23:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253001472001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:22] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 23:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96614902776463360,"km_value":96614902776463.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997136549198583808,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253001472001,"power":11863,"unknown_159":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8997136549198583808}} 
[2026-06-23 23:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":112151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:22] local.INFO: GPS data processed {"connection_id":112151,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:22] local.INFO: Acknowledgment sent {"connection_id":112151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:28] local.INFO: TCP Data received {"connection_id":112152,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:42:28] local.INFO: Processing buffer {"connection_id":112152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:42:28] local.INFO: IMEI packet received {"connection_id":112152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":112152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:42:28] local.INFO: TCP Data received {"connection_id":111515,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ab49c0012d196780071ff200003d007b29..."} 
[2026-06-23 23:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ab49c0012d196780071ff200003d007b29..."} 
[2026-06-23 23:42:28] local.INFO: Processing buffer {"connection_id":111515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ab49c0012d196780071ff200003d007b29..."} 
[2026-06-23 23:42:28] local.INFO: Packet analysis {"connection_id":111515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:42:28] local.INFO: Extracted packet for processing {"connection_id":111515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252949248001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238104000,"timestamp_ms":1782238104000,"timestamp_seconds":1782238104,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ab49c0"} 
[2026-06-23 23:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42: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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:28] 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-06-23 23: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-06-23 23:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252949248001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252949248001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252949248001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":111515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:28] local.INFO: GPS data processed {"connection_id":111515,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:28] local.INFO: Acknowledgment sent {"connection_id":111515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:31] local.INFO: TCP Data received {"connection_id":112152,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:42:31] local.INFO: Processing buffer {"connection_id":112152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:42:31] local.INFO: IMEI packet received {"connection_id":112152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":112152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:42:32] local.INFO: TCP Data received {"connection_id":112152,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae2050012d330b8006b4ba400011007532..."} 
[2026-06-23 23:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae2050012d330b8006b4ba400011007532..."} 
[2026-06-23 23:42:32] local.INFO: Processing buffer {"connection_id":112152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae2050012d330b8006b4ba400011007532..."} 
[2026-06-23 23:42:32] local.INFO: Packet analysis {"connection_id":112152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:32] local.INFO: Extracted packet for processing {"connection_id":112152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758320000,"raw_latitude":112507456,"longitude_deg":75.832,"latitude_deg":11.2507456,"altitude":17,"angle":117,"satellites":50,"speed":54,"hex_longitude":"2d330b80","hex_latitude":"06b4ba40","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253000448001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322157714392219648,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3668463400272975872,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:32] 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-06-23 23:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782238290000,"timestamp_ms":1782238290000,"timestamp_seconds":1782238290,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae2050"} 
[2026-06-23 23:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42:32] 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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:32] 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-06-23 23: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-06-23 23:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253000448001,"66":27484,"212":206,"28":21760,"24":54,"16":322157714392219648,"45":3668463400272975872},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,28,24,16,45]} 
[2026-06-23 23:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253000448001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:32] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-23 23:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322157714392219648,"km_value":322157714392219.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3668463400272975872,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253000448001,"power":27484,"unknown_212":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3668463400272975872}} 
[2026-06-23 23:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":112152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:32] local.INFO: GPS data processed {"connection_id":112152,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:32] local.INFO: Acknowledgment sent {"connection_id":112152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:33] local.INFO: TCP Data received {"connection_id":112152,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae3ba8012d332c8006b4aaa00011007231..."} 
[2026-06-23 23:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae3ba8012d332c8006b4aaa00011007231..."} 
[2026-06-23 23:42:33] local.INFO: Processing buffer {"connection_id":112152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae3ba8012d332c8006b4aaa00011007231..."} 
[2026-06-23 23:42:33] local.INFO: Packet analysis {"connection_id":112152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:33] local.INFO: Extracted packet for processing {"connection_id":112152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:33] local.INFO: GPS Element Parsed {"raw_longitude":758328448,"raw_latitude":112503456,"longitude_deg":75.8328448,"latitude_deg":11.2503456,"altitude":17,"angle":114,"satellites":49,"speed":51,"hex_longitude":"2d332c80","hex_latitude":"06b4aaa0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253002240001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322158161068818432,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3678174286968406016,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:33] 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-06-23 23:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782238297000,"timestamp_ms":1782238297000,"timestamp_seconds":1782238297,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae3ba8"} 
[2026-06-23 23:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42: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-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":112152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":112152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":112152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253002240001,"66":27484,"211":206,"28":21760,"24":51,"16":322158161068818432,"45":3678174286968406016},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-23 23:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253002240001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:33] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-23 23:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322158161068818432,"km_value":322158161068818.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3678174286968406016,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253002240001,"power":27484,"unknown_211":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3678174286968406016}} 
[2026-06-23 23:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":112152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:33] local.INFO: GPS data processed {"connection_id":112152,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:33] local.INFO: Acknowledgment sent {"connection_id":112152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:51] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:51] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:51] local.INFO: IMEI packet received {"connection_id":111331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":111331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:42:54] local.INFO: TCP Data received {"connection_id":112151,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae2c08012d7ce88005cab278000500442c..."} 
[2026-06-23 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae2c08012d7ce88005cab278000500442c..."} 
[2026-06-23 23:42:54] local.INFO: Processing buffer {"connection_id":112151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae2c08012d7ce88005cab278000500442c..."} 
[2026-06-23 23:42:54] local.INFO: Packet analysis {"connection_id":112151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:54] local.INFO: Extracted packet for processing {"connection_id":112151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763160704,"raw_latitude":97170040,"longitude_deg":76.3160704,"latitude_deg":9.717004,"altitude":5,"angle":68,"satellites":44,"speed":28,"hex_longitude":"2d7ce880","hex_latitude":"05cab278","is_valid_coordinates":true} 
[2026-06-23 23:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253002240001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96614997265743872,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998543924082440192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782238293000,"timestamp_ms":1782238293000,"timestamp_seconds":1782238293,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae2c08"} 
[2026-06-23 23:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42: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-06-23 23:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":112151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":112151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":112151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253002240001,"66":11700,"159":206,"85":15104,"24":28,"16":96614997265743872,"45":8998543924082440192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-06-23 23:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253002240001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:54] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 23:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96614997265743872,"km_value":96614997265743.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998543924082440192,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253002240001,"power":11700,"unknown_159":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8998543924082440192}} 
[2026-06-23 23:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":112151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:54] local.INFO: GPS data processed {"connection_id":112151,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:54] local.INFO: Acknowledgment sent {"connection_id":112151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:42:54] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:54] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:54] local.INFO: IMEI packet received {"connection_id":111331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":111331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:42:56] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:56] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:42:56] local.INFO: IMEI packet received {"connection_id":111331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":111331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:42:57] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ab9bc8012d196780071ff200003d007b29..."} 
[2026-06-23 23:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ab9bc8012d196780071ff200003d007b29..."} 
[2026-06-23 23:42:57] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ab9bc8012d196780071ff200003d007b29..."} 
[2026-06-23 23:42:57] local.INFO: Packet analysis {"connection_id":111331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:42:57] local.INFO: Extracted packet for processing {"connection_id":111331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:42: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-06-23 23:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252954624001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238125000,"timestamp_ms":1782238125000,"timestamp_seconds":1782238125,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ab9bc8"} 
[2026-06-23 23:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:42:57] 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-06-23 23:42: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-06-23 23:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252954624001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252954624001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252954624001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":111331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:42:57] local.INFO: GPS data processed {"connection_id":111331,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:42:57] local.INFO: Acknowledgment sent {"connection_id":111331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:04] local.INFO: TCP Data received {"connection_id":112152,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae5ae8012d3350c006b499e80010007431..."} 
[2026-06-23 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae5ae8012d3350c006b499e80010007431..."} 
[2026-06-23 23:43:04] local.INFO: Processing buffer {"connection_id":112152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae5ae8012d3350c006b499e80010007431..."} 
[2026-06-23 23:43:04] local.INFO: Packet analysis {"connection_id":112152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:04] local.INFO: Extracted packet for processing {"connection_id":112152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758337728,"raw_latitude":112499176,"longitude_deg":75.8337728,"latitude_deg":11.2499176,"altitude":16,"angle":116,"satellites":49,"speed":48,"hex_longitude":"2d3350c0","hex_latitude":"06b499e8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253004032001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322158646400122880,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3687462961198833664,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:04] 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-06-23 23:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782238305000,"timestamp_ms":1782238305000,"timestamp_seconds":1782238305,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae5ae8"} 
[2026-06-23 23:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:04] 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-06-23 23: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-06-23 23:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":112152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":112152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":112152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253004032001,"66":27463,"211":206,"28":21760,"24":48,"16":322158646400122880,"45":3687462961198833664},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-23 23:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253004032001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:04] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-23 23:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322158646400122880,"km_value":322158646400122.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3687462961198833664,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253004032001,"power":27463,"unknown_211":206,"unknown_28":21760,"ignition":48,"odometer":null,"unknown_45":3687462961198833664}} 
[2026-06-23 23:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":112152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:04] local.INFO: GPS data processed {"connection_id":112152,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:04] local.INFO: Acknowledgment sent {"connection_id":112152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:20] local.INFO: TCP Data received {"connection_id":111332,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:43:20] local.INFO: Processing buffer {"connection_id":111332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:43:20] local.INFO: IMEI packet received {"connection_id":111332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":111332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:43:21] local.INFO: TCP Data received {"connection_id":111333,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:21] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:21] local.INFO: IMEI packet received {"connection_id":111333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":111333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:43:22] local.INFO: TCP Data received {"connection_id":111333,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:22] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:22] local.INFO: IMEI packet received {"connection_id":111333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":111333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:43:25] local.INFO: TCP Data received {"connection_id":111332,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:43:25] local.INFO: Processing buffer {"connection_id":111332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:43:25] local.INFO: IMEI packet received {"connection_id":111332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":111332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:43:26] local.INFO: TCP Data received {"connection_id":111332,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae4b48012d7cff4005cab910000600502a..."} 
[2026-06-23 23:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae4b48012d7cff4005cab910000600502a..."} 
[2026-06-23 23:43:26] local.INFO: Processing buffer {"connection_id":111332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae4b48012d7cff4005cab910000600502a..."} 
[2026-06-23 23:43:26] local.INFO: Packet analysis {"connection_id":111332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:26] local.INFO: Extracted packet for processing {"connection_id":111332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763166528,"raw_latitude":97171728,"longitude_deg":76.3166528,"latitude_deg":9.7171728,"altitude":6,"angle":80,"satellites":42,"speed":29,"hex_longitude":"2d7cff40","hex_latitude":"05cab910","is_valid_coordinates":true} 
[2026-06-23 23:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253003008001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96615289323520000,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000584617663821824,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782238301000,"timestamp_ms":1782238301000,"timestamp_seconds":1782238301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae4b48"} 
[2026-06-23 23:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:26] 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-06-23 23:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253003008001,"66":11895,"159":206,"85":15104,"24":29,"16":96615289323520000,"45":9000584617663821824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-06-23 23:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253003008001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 23:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96615289323520000,"km_value":96615289323520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000584617663821824,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253003008001,"power":11895,"unknown_159":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9000584617663821824}} 
[2026-06-23 23:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":111332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:26] local.INFO: GPS data processed {"connection_id":111332,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:26] local.INFO: Acknowledgment sent {"connection_id":111332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:27] local.INFO: TCP Data received {"connection_id":111332,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae9968012d7d208005cabc700004004c2b..."} 
[2026-06-23 23:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae9968012d7d208005cabc700004004c2b..."} 
[2026-06-23 23:43:27] local.INFO: Processing buffer {"connection_id":111332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae9968012d7d208005cabc700004004c2b..."} 
[2026-06-23 23:43:27] local.INFO: Packet analysis {"connection_id":111332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:27] local.INFO: Extracted packet for processing {"connection_id":111332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":97172592,"longitude_deg":76.317504,"latitude_deg":9.7172592,"altitude":4,"angle":76,"satellites":43,"speed":4,"hex_longitude":"2d7d2080","hex_latitude":"05cabc70","is_valid_coordinates":true} 
[2026-06-23 23:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253005056001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96615701640380416,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006988173384421376,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782238321000,"timestamp_ms":1782238321000,"timestamp_seconds":1782238321,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae9968"} 
[2026-06-23 23:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253005056001,"66":11950,"159":206,"85":15104,"24":4,"16":96615701640380416,"45":9006988173384421376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-06-23 23:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253005056001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:27] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 23:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96615701640380416,"km_value":96615701640380.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006988173384421376,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253005056001,"power":11950,"unknown_159":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9006988173384421376}} 
[2026-06-23 23:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":111332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:27] local.INFO: GPS data processed {"connection_id":111332,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:27] local.INFO: Acknowledgment sent {"connection_id":111332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:28] local.INFO: TCP Data received {"connection_id":111333,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:28] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:43:28] local.INFO: IMEI packet received {"connection_id":111333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":111333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:43:28] local.INFO: TCP Data received {"connection_id":111331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5abedd0012d196780071ff200003d007b2a..."} 
[2026-06-23 23:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5abedd0012d196780071ff200003d007b2a..."} 
[2026-06-23 23:43:28] local.INFO: Processing buffer {"connection_id":111331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5abedd0012d196780071ff200003d007b2a..."} 
[2026-06-23 23:43:28] local.INFO: Packet analysis {"connection_id":111331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:43:28] local.INFO: Extracted packet for processing {"connection_id":111331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ab"} 
[2026-06-23 23:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":42,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:43: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-06-23 23:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252960000001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238146000,"timestamp_ms":1782238146000,"timestamp_seconds":1782238146,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5abedd0"} 
[2026-06-23 23:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43: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-06-23 23:43: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:28] 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-06-23 23:43: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-06-23 23:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252960000001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252960000001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252960000001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":111331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:29] local.INFO: GPS data processed {"connection_id":111331,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:29] local.INFO: Acknowledgment sent {"connection_id":111331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:29] local.INFO: TCP Data received {"connection_id":111333,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae7a28012d33714006b486a00011007e31..."} 
[2026-06-23 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae7a28012d33714006b486a00011007e31..."} 
[2026-06-23 23:43:29] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae7a28012d33714006b486a00011007e31..."} 
[2026-06-23 23:43:29] local.INFO: Packet analysis {"connection_id":111333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:29] local.INFO: Extracted packet for processing {"connection_id":111333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:29] local.INFO: GPS Element Parsed {"raw_longitude":758346048,"raw_latitude":112494240,"longitude_deg":75.8346048,"latitude_deg":11.249424,"altitude":17,"angle":126,"satellites":49,"speed":47,"hex_longitude":"2d337140","hex_latitude":"06b486a0","is_valid_coordinates":true} 
[2026-06-23 23:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253006080001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322159110256590848,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3697666429103499264,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:29] 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-06-23 23:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782238313000,"timestamp_ms":1782238313000,"timestamp_seconds":1782238313,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae7a28"} 
[2026-06-23 23:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43:29] 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-06-23 23:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:29] 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-06-23 23:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253006080001,"66":27267,"211":206,"28":21760,"24":47,"16":322159110256590848,"45":3697666429103499264},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-23 23:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253006080001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:29] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-23 23:43:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322159110256590848,"km_value":322159110256590.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3697666429103499264,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253006080001,"power":27267,"unknown_211":206,"unknown_28":21760,"ignition":47,"odometer":null,"unknown_45":3697666429103499264}} 
[2026-06-23 23:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":111333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:29] local.INFO: GPS data processed {"connection_id":111333,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:29] local.INFO: Acknowledgment sent {"connection_id":111333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:51] local.INFO: TCP Data received {"connection_id":112153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:43:51] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:43:51] local.INFO: IMEI packet received {"connection_id":112153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":112153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:43:56] local.INFO: TCP Data received {"connection_id":112153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:43:56] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:43:56] local.INFO: IMEI packet received {"connection_id":112153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":112153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:43:57] local.INFO: TCP Data received {"connection_id":112153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ac3fd8012d196780071ff200003d007b29..."} 
[2026-06-23 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ac3fd8012d196780071ff200003d007b29..."} 
[2026-06-23 23:43:57] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ac3fd8012d196780071ff200003d007b29..."} 
[2026-06-23 23:43:57] local.INFO: Packet analysis {"connection_id":112153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:43:57] local.INFO: Extracted packet for processing {"connection_id":112153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252965376001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238167000,"timestamp_ms":1782238167000,"timestamp_seconds":1782238167,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ac3fd8"} 
[2026-06-23 23:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:57] 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-06-23 23:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252965376001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252965376001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252965376001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":112153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:57] local.INFO: GPS data processed {"connection_id":112153,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:57] local.INFO: Acknowledgment sent {"connection_id":112153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:43:58] local.INFO: TCP Data received {"connection_id":111332,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ae9d50012d7d20c005cabcf00005000f2c..."} 
[2026-06-23 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ae9d50012d7d20c005cabcf00005000f2c..."} 
[2026-06-23 23:43:58] local.INFO: Processing buffer {"connection_id":111332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ae9d50012d7d20c005cabcf00005000f2c..."} 
[2026-06-23 23:43:58] local.INFO: Packet analysis {"connection_id":111332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:58] local.INFO: Extracted packet for processing {"connection_id":111332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ae"} 
[2026-06-23 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":97172720,"longitude_deg":76.3175104,"latitude_deg":9.717272,"altitude":5,"angle":15,"satellites":44,"speed":5,"hex_longitude":"2d7d20c0","hex_latitude":"05cabcf0","is_valid_coordinates":true} 
[2026-06-23 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253010176001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96615710230315008,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216360271872,"note":"Value kept but may cause issues"} 
[2026-06-23 23:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782238322000,"timestamp_ms":1782238322000,"timestamp_seconds":1782238322,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ae9d50"} 
[2026-06-23 23:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253010176001,"66":11895,"159":206,"85":15104,"24":5,"16":96615710230315008,"45":9016347216360271872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-06-23 23:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253010176001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:43:58] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-23 23:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96615710230315008,"km_value":96615710230315.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216360271872,"description":"Unknown IO ID 45"} 
[2026-06-23 23:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253010176001,"power":11895,"unknown_159":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9016347216360271872}} 
[2026-06-23 23:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":111332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:43:58] local.INFO: GPS data processed {"connection_id":111332,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:43:58] local.INFO: Acknowledgment sent {"connection_id":111332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:44:01] local.INFO: TCP Data received {"connection_id":111333,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5af87b0012d33e14006b33a78001100892d..."} 
[2026-06-23 23:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5af87b0012d33e14006b33a78001100892d..."} 
[2026-06-23 23:44:01] local.INFO: Processing buffer {"connection_id":111333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5af87b0012d33e14006b33a78001100892d..."} 
[2026-06-23 23:44:01] local.INFO: Packet analysis {"connection_id":111333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:44:01] local.INFO: Extracted packet for processing {"connection_id":111333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758374720,"raw_latitude":112409208,"longitude_deg":75.837472,"latitude_deg":11.2409208,"altitude":17,"angle":137,"satellites":45,"speed":52,"hex_longitude":"2d33e140","hex_latitude":"06b33a78","is_valid_coordinates":true} 
[2026-06-23 23:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253024000001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322163654331990016,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3732287851217807360,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:01] 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-06-23 23:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782238382000,"timestamp_ms":1782238382000,"timestamp_seconds":1782238382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5af87b0"} 
[2026-06-23 23:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 23:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253024000001,"66":27539,"182":206,"28":21760,"24":52,"16":322163654331990016,"45":3732287851217807360},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253024000001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:44:01] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:44:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322163654331990016,"km_value":322163654331990.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3732287851217807360,"description":"Unknown IO ID 45"} 
[2026-06-23 23:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253024000001,"power":27539,"unknown_182":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":3732287851217807360}} 
[2026-06-23 23:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":111333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:44:01] local.INFO: GPS data processed {"connection_id":111333,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:44:01] local.INFO: Acknowledgment sent {"connection_id":111333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:44:12] local.INFO: TCP Data received {"connection_id":111517,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:12] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:12] local.INFO: IMEI packet received {"connection_id":111517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":111517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:44:14] local.INFO: TCP Data received {"connection_id":111517,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:14] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:14] local.INFO: IMEI packet received {"connection_id":111517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":111517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:44:15] local.INFO: TCP Data received {"connection_id":111517,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:15] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:15] local.INFO: IMEI packet received {"connection_id":111517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":111517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:44:20] local.INFO: TCP Data received {"connection_id":111517,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:20] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:44:20] local.INFO: IMEI packet received {"connection_id":111517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":111517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:44:21] local.INFO: TCP Data received {"connection_id":111517,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b08598012d7d348005cbbef0000700582a..."} 
[2026-06-23 23:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b08598012d7d348005cbbef0000700582a..."} 
[2026-06-23 23:44:21] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b08598012d7d348005cbbef0000700582a..."} 
[2026-06-23 23:44:21] local.INFO: Packet analysis {"connection_id":111517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:44:21] local.INFO: Extracted packet for processing {"connection_id":111517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97238768,"longitude_deg":76.318016,"latitude_deg":9.7238768,"altitude":7,"angle":88,"satellites":42,"speed":5,"hex_longitude":"2d7d3480","hex_latitude":"05cbbef0","is_valid_coordinates":true} 
[2026-06-23 23:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253037312001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96618957225590784,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021061922236227584,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782238447000,"timestamp_ms":1782238447000,"timestamp_seconds":1782238447,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b08598"} 
[2026-06-23 23:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4121907456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6992490369208210051,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2944137217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":963117064,"corrected_to":0} 
[2026-06-23 23:44:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894266574,"corrected_to":0} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":87,"raw_value":4660944139351752704,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930001410,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":38,"raw_value":-9221741431046011136,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3098509528979737088,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:21] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,131,85,24,241,157,16,66,158,4,45,64,142,5,41,10,65,225,192,107,163,1,240,141,227,245,203,113,205,18,112,48,44,239,2,87,83,206,38,3],"length":533,"final_offset":663,"validated_count":40,"validation_warnings":[{"io_id":203,"original":963117064,"validated":0},{"io_id":205,"original":2894266574,"validated":0}]} 
[2026-06-23 23:44:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288239339748982784,"timestamp_seconds":288239339748982.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253037312001,"66":11874,"130":206,"85":15104,"24":5,"16":96618957225590784,"45":9021061922236227584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253037312001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:44:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96618957225590784,"km_value":96618957225590.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021061922236227584,"description":"Unknown IO ID 45"} 
[2026-06-23 23:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253037312001,"power":11874,"unknown_130":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9021061922236227584}} 
[2026-06-23 23:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":111517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:44:21] local.INFO: GPS data processed {"connection_id":111517,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:44:21] local.INFO: Acknowledgment sent {"connection_id":111517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:44:22] local.INFO: TCP Data received {"connection_id":113081,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:44:22] local.INFO: Processing buffer {"connection_id":113081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:44:22] local.INFO: IMEI packet received {"connection_id":113081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":113081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:44:28] local.INFO: TCP Data received {"connection_id":112153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ac91e0012d196780071ff200003d007b2b..."} 
[2026-06-23 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ac91e0012d196780071ff200003d007b2b..."} 
[2026-06-23 23:44:28] local.INFO: Processing buffer {"connection_id":112153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ac91e0012d196780071ff200003d007b2b..."} 
[2026-06-23 23:44:28] local.INFO: Packet analysis {"connection_id":112153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:44:28] local.INFO: Extracted packet for processing {"connection_id":112153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ac"} 
[2026-06-23 23:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456252970752001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238188000,"timestamp_ms":1782238188000,"timestamp_seconds":1782238188,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ac91e0"} 
[2026-06-23 23:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:44:28] 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-06-23 23: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-06-23 23:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456252970752001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456252970752001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456252970752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":112153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:44:28] local.INFO: GPS data processed {"connection_id":112153,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:44:29] local.INFO: Acknowledgment sent {"connection_id":112153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:44:29] local.INFO: TCP Data received {"connection_id":113081,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:44:29] local.INFO: Processing buffer {"connection_id":113081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:44:29] local.INFO: IMEI packet received {"connection_id":113081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":113081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:44:31] local.INFO: TCP Data received {"connection_id":113081,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5af87b0012d33e14006b33a78001100892d..."} 
[2026-06-23 23:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5af87b0012d33e14006b33a78001100892d..."} 
[2026-06-23 23:44:31] local.INFO: Processing buffer {"connection_id":113081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5af87b0012d33e14006b33a78001100892d..."} 
[2026-06-23 23:44:31] local.INFO: Packet analysis {"connection_id":113081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:44:31] local.INFO: Extracted packet for processing {"connection_id":113081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758374720,"raw_latitude":112409208,"longitude_deg":75.837472,"latitude_deg":11.2409208,"altitude":17,"angle":137,"satellites":45,"speed":52,"hex_longitude":"2d33e140","hex_latitude":"06b33a78","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253025792001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322163654331990016,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3738339563215157248,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:31] 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-06-23 23:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782238382000,"timestamp_ms":1782238382000,"timestamp_seconds":1782238382,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5af87b0"} 
[2026-06-23 23:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:44: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-06-23 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 23:44:31] 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-06-23 23: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-06-23 23:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":113081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":113081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":113081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253025792001,"66":27539,"182":206,"28":21760,"24":52,"16":322163654331990016,"45":3738339563215157248},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253025792001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:44:31] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322163654331990016,"km_value":322163654331990.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3738339563215157248,"description":"Unknown IO ID 45"} 
[2026-06-23 23:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253025792001,"power":27539,"unknown_182":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":3738339563215157248}} 
[2026-06-23 23:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":113081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:44:31] local.INFO: GPS data processed {"connection_id":113081,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:44:31] local.INFO: Acknowledgment sent {"connection_id":113081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:44:53] local.INFO: TCP Data received {"connection_id":111517,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b09538012d7d364005cbbf580007004826..."} 
[2026-06-23 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b09538012d7d364005cbbf580007004826..."} 
[2026-06-23 23:44:53] local.INFO: Processing buffer {"connection_id":111517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b09538012d7d364005cbbf580007004826..."} 
[2026-06-23 23:44:53] local.INFO: Packet analysis {"connection_id":111517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:44:53] local.INFO: Extracted packet for processing {"connection_id":111517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97238872,"longitude_deg":76.3180608,"latitude_deg":9.7238872,"altitude":7,"angle":72,"satellites":38,"speed":5,"hex_longitude":"2d7d3640","hex_latitude":"05cbbf58","is_valid_coordinates":true} 
[2026-06-23 23:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253042432001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96618982995394560,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976715911426048,"note":"Value kept but may cause issues"} 
[2026-06-23 23:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782238451000,"timestamp_ms":1782238451000,"timestamp_seconds":1782238451,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b09538"} 
[2026-06-23 23:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-23 23:44:53] 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-06-23 23:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253042432001,"66":11602,"130":206,"85":15104,"24":5,"16":96618982995394560,"45":9021976715911426048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253042432001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:44:53] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96618982995394560,"km_value":96618982995394.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976715911426048,"description":"Unknown IO ID 45"} 
[2026-06-23 23:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253042432001,"power":11602,"unknown_130":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9021976715911426048}} 
[2026-06-23 23:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":111517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:44:53] local.INFO: GPS data processed {"connection_id":111517,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:44:53] local.INFO: Acknowledgment sent {"connection_id":111517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:44:56] local.INFO: TCP Data received {"connection_id":112154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:44:56] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:44:56] local.INFO: IMEI packet received {"connection_id":112154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":112154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:44:59] local.INFO: TCP Data received {"connection_id":112154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:44:59] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:44:59] local.INFO: IMEI packet received {"connection_id":112154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":112154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:45:00] local.INFO: TCP Data received {"connection_id":112154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b01838012d196780071ff200003d007b29..."} 
[2026-06-23 23:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b01838012d196780071ff200003d007b29..."} 
[2026-06-23 23:45:00] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b01838012d196780071ff200003d007b29..."} 
[2026-06-23 23:45:00] local.INFO: Packet analysis {"connection_id":112154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:00] local.INFO: Extracted packet for processing {"connection_id":112154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253029888001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23: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-06-23 23:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782238419000,"timestamp_ms":1782238419000,"timestamp_seconds":1782238419,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b01838"} 
[2026-06-23 23:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:45: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-06-23 23: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-06-23 23:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":112154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":112154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":112154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253029888001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253029888001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253029888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":112154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:00] local.INFO: GPS data processed {"connection_id":112154,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:00] local.INFO: Acknowledgment sent {"connection_id":112154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:01] local.INFO: TCP Data received {"connection_id":112154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b06a40012d196780071ff200003d007b28..."} 
[2026-06-23 23:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b06a40012d196780071ff200003d007b28..."} 
[2026-06-23 23:45:01] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b06a40012d196780071ff200003d007b28..."} 
[2026-06-23 23:45:01] local.INFO: Packet analysis {"connection_id":112154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:01] local.INFO: Extracted packet for processing {"connection_id":112154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253035264001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782238440000,"timestamp_ms":1782238440000,"timestamp_seconds":1782238440,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b06a40"} 
[2026-06-23 23:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:01] 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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:45: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-06-23 23: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-06-23 23:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":112154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":112154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":112154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253035264001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253035264001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253035264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":112154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:01] local.INFO: GPS data processed {"connection_id":112154,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:01] local.INFO: Acknowledgment sent {"connection_id":112154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:03] local.INFO: TCP Data received {"connection_id":113081,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5afa308012d33f84006b325500010007c31..."} 
[2026-06-23 23:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5afa308012d33f84006b325500010007c31..."} 
[2026-06-23 23:45:03] local.INFO: Processing buffer {"connection_id":113081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5afa308012d33f84006b325500010007c31..."} 
[2026-06-23 23:45:03] local.INFO: Packet analysis {"connection_id":113081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:45:03] local.INFO: Extracted packet for processing {"connection_id":113081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758380608,"raw_latitude":112403792,"longitude_deg":75.8380608,"latitude_deg":11.2403792,"altitude":16,"angle":124,"satellites":49,"speed":37,"hex_longitude":"2d33f840","hex_latitude":"06b32550","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253025792001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322164036584079360,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3738339563215157248,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:03] 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-06-23 23:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782238389000,"timestamp_ms":1782238389000,"timestamp_seconds":1782238389,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5afa308"} 
[2026-06-23 23:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-23 23:45:03] 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-06-23 23: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-06-23 23:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":113081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":113081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":113081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253025792001,"66":27463,"182":206,"28":21760,"24":37,"16":322164036584079360,"45":3738339563215157248},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253025792001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:03] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322164036584079360,"km_value":322164036584079.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3738339563215157248,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253025792001,"power":27463,"unknown_182":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":3738339563215157248}} 
[2026-06-23 23:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":113081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:03] local.INFO: GPS data processed {"connection_id":113081,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:03] local.INFO: Acknowledgment sent {"connection_id":113081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:15] local.INFO: TCP Data received {"connection_id":112155,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:45:15] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:45:15] local.INFO: IMEI packet received {"connection_id":112155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":112155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:45:20] local.INFO: TCP Data received {"connection_id":112155,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:45:20] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:45:20] local.INFO: IMEI packet received {"connection_id":112155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":112155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:45:21] local.INFO: TCP Data received {"connection_id":112155,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b09d08012d7d378005cbc010000700391a..."} 
[2026-06-23 23:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b09d08012d7d378005cbc010000700391a..."} 
[2026-06-23 23:45:21] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b09d08012d7d378005cbc010000700391a..."} 
[2026-06-23 23:45:21] local.INFO: Packet analysis {"connection_id":112155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:21] local.INFO: Extracted packet for processing {"connection_id":112155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:21] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97239056,"longitude_deg":76.3180928,"latitude_deg":9.7239056,"altitude":7,"angle":57,"satellites":26,"speed":6,"hex_longitude":"2d7d3780","hex_latitude":"05cbc010","is_valid_coordinates":true} 
[2026-06-23 23:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253043456001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96619000175263744,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297120696320,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782238453000,"timestamp_ms":1782238453000,"timestamp_seconds":1782238453,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b09d08"} 
[2026-06-23 23:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-23 23:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253043456001,"66":11613,"130":206,"85":15104,"24":6,"16":96619000175263744,"45":9022469297120696320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253043456001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96619000175263744,"km_value":96619000175263.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297120696320,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253043456001,"power":11613,"unknown_130":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9022469297120696320}} 
[2026-06-23 23:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":112155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:21] local.INFO: GPS data processed {"connection_id":112155,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:21] local.INFO: Acknowledgment sent {"connection_id":112155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:23] local.INFO: TCP Data received {"connection_id":113083,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:23] local.INFO: Processing buffer {"connection_id":113083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:23] local.INFO: IMEI packet received {"connection_id":113083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":113083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:45:24] local.INFO: TCP Data received {"connection_id":113083,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:24] local.INFO: Processing buffer {"connection_id":113083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:24] local.INFO: IMEI packet received {"connection_id":113083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":113083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:45:27] local.INFO: TCP Data received {"connection_id":113083,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:27] local.INFO: Processing buffer {"connection_id":113083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:45:27] local.INFO: IMEI packet received {"connection_id":113083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":113083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:45:28] local.INFO: TCP Data received {"connection_id":113083,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5aff128012d3415c006b311b0000d007a2f..."} 
[2026-06-23 23:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5aff128012d3415c006b311b0000d007a2f..."} 
[2026-06-23 23:45:28] local.INFO: Processing buffer {"connection_id":113083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5aff128012d3415c006b311b0000d007a2f..."} 
[2026-06-23 23:45:28] local.INFO: Packet analysis {"connection_id":113083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:45:28] local.INFO: Extracted packet for processing {"connection_id":113083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5af"} 
[2026-06-23 23:45:28] local.INFO: GPS Element Parsed {"raw_longitude":758388160,"raw_latitude":112398768,"longitude_deg":75.838816,"latitude_deg":11.2398768,"altitude":13,"angle":122,"satellites":47,"speed":13,"hex_longitude":"2d3415c0","hex_latitude":"06b311b0","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253027584001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322164470375776256,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744813487678115840,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:28] 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-06-23 23:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238409000,"timestamp_ms":1782238409000,"timestamp_seconds":1782238409,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5aff128"} 
[2026-06-23 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-06-23 23:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:45:28] 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-06-23 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-06-23 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-06-23 23:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253027584001,"66":27463,"182":206,"28":21760,"24":13,"16":322164470375776256,"45":3744813487678115840},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253027584001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:28] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322164470375776256,"km_value":322164470375776.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744813487678115840,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253027584001,"power":27463,"unknown_182":206,"unknown_28":21760,"ignition":13,"odometer":null,"unknown_45":3744813487678115840}} 
[2026-06-23 23:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":113083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:28] local.INFO: GPS data processed {"connection_id":113083,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:28] local.INFO: Acknowledgment sent {"connection_id":113083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:32] local.INFO: TCP Data received {"connection_id":112154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b0bc48012d196780071ff200003d007b27..."} 
[2026-06-23 23:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b0bc48012d196780071ff200003d007b27..."} 
[2026-06-23 23:45:32] local.INFO: Processing buffer {"connection_id":112154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b0bc48012d196780071ff200003d007b27..."} 
[2026-06-23 23:45:32] local.INFO: Packet analysis {"connection_id":112154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:32] local.INFO: Extracted packet for processing {"connection_id":112154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253040640001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45: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-06-23 23:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782238461000,"timestamp_ms":1782238461000,"timestamp_seconds":1782238461,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b0bc48"} 
[2026-06-23 23:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:32] 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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:45:32] 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-06-23 23: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-06-23 23:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":112154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":112154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":112154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253040640001,"66":12145,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253040640001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253040640001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":112154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:32] local.INFO: GPS data processed {"connection_id":112154,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:32] local.INFO: Acknowledgment sent {"connection_id":112154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:36] local.INFO: TCP Data received {"connection_id":113082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:45:36] local.INFO: Processing buffer {"connection_id":113082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:45:36] local.INFO: IMEI packet received {"connection_id":113082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":113082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:45:51] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:45:51] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:45:51] local.INFO: IMEI packet received {"connection_id":111518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":111518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:45:52] local.INFO: TCP Data received {"connection_id":112155,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b0eb28012d7d414005cbbf800009003a1a..."} 
[2026-06-23 23:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b0eb28012d7d414005cbbf800009003a1a..."} 
[2026-06-23 23:45:52] local.INFO: Processing buffer {"connection_id":112155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b0eb28012d7d414005cbbf800009003a1a..."} 
[2026-06-23 23:45:52] local.INFO: Packet analysis {"connection_id":112155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:52] local.INFO: Extracted packet for processing {"connection_id":112155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97238912,"longitude_deg":76.3183424,"latitude_deg":9.7238912,"altitude":9,"angle":58,"satellites":26,"speed":4,"hex_longitude":"2d7d4140","hex_latitude":"05cbbf80","is_valid_coordinates":true} 
[2026-06-23 23:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253043968001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96619141909184512,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140841631744,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782238473000,"timestamp_ms":1782238473000,"timestamp_seconds":1782238473,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b0eb28"} 
[2026-06-23 23:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-23 23:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":112155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":112155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":112155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253043968001,"66":11711,"130":206,"85":15104,"24":4,"16":96619141909184512,"45":9022821140841631744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253043968001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:52] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96619141909184512,"km_value":96619141909184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140841631744,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253043968001,"power":11711,"unknown_130":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9022821140841631744}} 
[2026-06-23 23:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":112155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:52] local.INFO: GPS data processed {"connection_id":112155,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:52] local.INFO: Acknowledgment sent {"connection_id":112155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:45:56] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:45:56] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:45:56] local.INFO: IMEI packet received {"connection_id":111518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":111518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:45:57] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b10e50012d196780071ff200003d007b29..."} 
[2026-06-23 23:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b10e50012d196780071ff200003d007b29..."} 
[2026-06-23 23:45:57] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b10e50012d196780071ff200003d007b29..."} 
[2026-06-23 23:45:57] local.INFO: Packet analysis {"connection_id":111518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:45:57] local.INFO: Extracted packet for processing {"connection_id":111518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253046016001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238482000,"timestamp_ms":1782238482000,"timestamp_seconds":1782238482,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b10e50"} 
[2026-06-23 23:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-23 23:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253046016001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253046016001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253046016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":111518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:45:57] local.INFO: GPS data processed {"connection_id":111518,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:45:57] local.INFO: Acknowledgment sent {"connection_id":111518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:46:00] local.INFO: TCP Data received {"connection_id":113083,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b04330012d341f8006b30ba0000e007a31..."} 
[2026-06-23 23:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b04330012d341f8006b30ba0000e007a31..."} 
[2026-06-23 23:46:00] local.INFO: Processing buffer {"connection_id":113083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b04330012d341f8006b30ba0000e007a31..."} 
[2026-06-23 23:46:00] local.INFO: Packet analysis {"connection_id":113083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:46:00] local.INFO: Extracted packet for processing {"connection_id":113083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b0"} 
[2026-06-23 23:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758390656,"raw_latitude":112397216,"longitude_deg":75.8390656,"latitude_deg":11.2397216,"altitude":14,"angle":122,"satellites":49,"speed":3,"hex_longitude":"2d341f80","hex_latitude":"06b30ba0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253032704001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322164612109697024,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3753116999489794048,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:00] 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-06-23 23:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782238430000,"timestamp_ms":1782238430000,"timestamp_seconds":1782238430,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b04330"} 
[2026-06-23 23:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:46:00] 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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:46:00] 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-06-23 23: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-06-23 23:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253032704001,"66":27397,"182":206,"28":21760,"24":3,"16":322164612109697024,"45":3753116999489794048},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253032704001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:46:00] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322164612109697024,"km_value":322164612109697.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3753116999489794048,"description":"Unknown IO ID 45"} 
[2026-06-23 23:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253032704001,"power":27397,"unknown_182":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3753116999489794048}} 
[2026-06-23 23:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":113083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:46:00] local.INFO: GPS data processed {"connection_id":113083,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:46:00] local.INFO: Acknowledgment sent {"connection_id":113083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:46:06] local.INFO: TCP Data received {"connection_id":111334,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:46:06] local.INFO: Processing buffer {"connection_id":111334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:46:06] local.INFO: IMEI packet received {"connection_id":111334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":111334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:46:13] local.INFO: TCP Data received {"connection_id":111519,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:13] local.INFO: Processing buffer {"connection_id":111519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:13] local.INFO: IMEI packet received {"connection_id":111519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":111519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:46:16] local.INFO: TCP Data received {"connection_id":111519,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:16] local.INFO: Processing buffer {"connection_id":111519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:16] local.INFO: IMEI packet received {"connection_id":111519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":111519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:46:20] local.INFO: TCP Data received {"connection_id":111519,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:20] local.INFO: Processing buffer {"connection_id":111519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:46:20] local.INFO: IMEI packet received {"connection_id":111519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":111519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:46:21] local.INFO: TCP Data received {"connection_id":111519,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b10e50012d7d438005cbbdc0000a005426..."} 
[2026-06-23 23:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b10e50012d7d438005cbbdc0000a005426..."} 
[2026-06-23 23:46:21] local.INFO: Processing buffer {"connection_id":111519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b10e50012d7d438005cbbdc0000a005426..."} 
[2026-06-23 23:46:21] local.INFO: Packet analysis {"connection_id":111519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:21] local.INFO: Extracted packet for processing {"connection_id":111519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97238464,"longitude_deg":76.3184,"latitude_deg":9.7238464,"altitude":10,"angle":84,"satellites":38,"speed":8,"hex_longitude":"2d7d4380","hex_latitude":"05cbbdc0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253049088001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96619193448792064,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521864523776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782238482000,"timestamp_ms":1782238482000,"timestamp_seconds":1782238482,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b10e50"} 
[2026-06-23 23:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-23 23:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253049088001,"66":11569,"130":206,"85":15104,"24":8,"16":96619193448792064,"45":9025565521864523776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253049088001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:46:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96619193448792064,"km_value":96619193448792.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521864523776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253049088001,"power":11569,"unknown_130":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9025565521864523776}} 
[2026-06-23 23:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":111519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:46:21] local.INFO: GPS data processed {"connection_id":111519,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:46:21] local.INFO: Acknowledgment sent {"connection_id":111519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:46:22] local.INFO: TCP Data received {"connection_id":111520,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:22] local.INFO: Processing buffer {"connection_id":111520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:22] local.INFO: IMEI packet received {"connection_id":111520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":111520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:46:26] local.INFO: TCP Data received {"connection_id":111520,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:26] local.INFO: Processing buffer {"connection_id":111520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:26] local.INFO: IMEI packet received {"connection_id":111520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":111520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:46:28] local.INFO: TCP Data received {"connection_id":111518,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b16058012d196780071ff200003d007b28..."} 
[2026-06-23 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b16058012d196780071ff200003d007b28..."} 
[2026-06-23 23:46:28] local.INFO: Processing buffer {"connection_id":111518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b16058012d196780071ff200003d007b28..."} 
[2026-06-23 23:46:28] local.INFO: Packet analysis {"connection_id":111518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:28] local.INFO: Extracted packet for processing {"connection_id":111518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253051392001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238503000,"timestamp_ms":1782238503000,"timestamp_seconds":1782238503,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b16058"} 
[2026-06-23 23:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:46:28] 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-06-23 23: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-06-23 23:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253051392001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253051392001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253051392001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":111518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:46:28] local.INFO: GPS data processed {"connection_id":111518,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:46:28] local.INFO: Acknowledgment sent {"connection_id":111518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:46:29] local.INFO: TCP Data received {"connection_id":111520,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:29] local.INFO: Processing buffer {"connection_id":111520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:46:29] local.INFO: IMEI packet received {"connection_id":111520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":111520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:46:32] local.INFO: TCP Data received {"connection_id":111520,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b1be18012d3504c006b26e70000a007a33..."} 
[2026-06-23 23:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b1be18012d3504c006b26e70000a007a33..."} 
[2026-06-23 23:46:32] local.INFO: Processing buffer {"connection_id":111520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b1be18012d3504c006b26e70000a007a33..."} 
[2026-06-23 23:46:32] local.INFO: Packet analysis {"connection_id":111520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:32] local.INFO: Extracted packet for processing {"connection_id":111520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758449344,"raw_latitude":112356976,"longitude_deg":75.8449344,"latitude_deg":11.2356976,"altitude":10,"angle":122,"satellites":51,"speed":22,"hex_longitude":"2d3504c0","hex_latitude":"06b26e70","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253061888001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322168030903664640,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3818208087843624960,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:32] 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-06-23 23:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782238527000,"timestamp_ms":1782238527000,"timestamp_seconds":1782238527,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b1be18"} 
[2026-06-23 23:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:46:32] 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-06-23 23:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253061888001,"66":27343,"182":206,"28":21760,"24":22,"16":322168030903664640,"45":3818208087843624960},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253061888001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:46:32] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322168030903664640,"km_value":322168030903664.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3818208087843624960,"description":"Unknown IO ID 45"} 
[2026-06-23 23:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253061888001,"power":27343,"unknown_182":206,"unknown_28":21760,"ignition":22,"odometer":null,"unknown_45":3818208087843624960}} 
[2026-06-23 23:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":111520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:46:32] local.INFO: GPS data processed {"connection_id":111520,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:46:32] local.INFO: Acknowledgment sent {"connection_id":111520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:46:51] local.INFO: TCP Data received {"connection_id":113084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:46:51] local.INFO: Processing buffer {"connection_id":113084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:46:51] local.INFO: IMEI packet received {"connection_id":113084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":113084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:46:52] local.INFO: TCP Data received {"connection_id":111519,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b11620012d7d450005cbbdc0000b006225..."} 
[2026-06-23 23:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b11620012d7d450005cbbdc0000b006225..."} 
[2026-06-23 23:46:52] local.INFO: Processing buffer {"connection_id":111519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b11620012d7d450005cbbdc0000b006225..."} 
[2026-06-23 23:46:52] local.INFO: Packet analysis {"connection_id":111519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:52] local.INFO: Extracted packet for processing {"connection_id":111519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97238464,"longitude_deg":76.3184384,"latitude_deg":9.7238464,"altitude":11,"angle":98,"satellites":37,"speed":7,"hex_longitude":"2d7d4500","hex_latitude":"05cbbdc0","is_valid_coordinates":true} 
[2026-06-23 23:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253051392001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96619214923628544,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840562008064,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782238484000,"timestamp_ms":1782238484000,"timestamp_seconds":1782238484,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b11620"} 
[2026-06-23 23:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-06-23 23:46:52] 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-06-23 23:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253051392001,"66":11721,"130":206,"85":15104,"24":7,"16":96619214923628544,"45":9026198840562008064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253051392001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:46:52] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96619214923628544,"km_value":96619214923628.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840562008064,"description":"Unknown IO ID 45"} 
[2026-06-23 23:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253051392001,"power":11721,"unknown_130":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9026198840562008064}} 
[2026-06-23 23:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":111519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:46:52] local.INFO: GPS data processed {"connection_id":111519,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:46:52] local.INFO: Acknowledgment sent {"connection_id":111519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:46:56] local.INFO: TCP Data received {"connection_id":113084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:46:56] local.INFO: Processing buffer {"connection_id":113084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:46:56] local.INFO: IMEI packet received {"connection_id":113084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":113084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:46:57] local.INFO: TCP Data received {"connection_id":113084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b1b260012d196780071ff200003d007b28..."} 
[2026-06-23 23:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b1b260012d196780071ff200003d007b28..."} 
[2026-06-23 23:46:57] local.INFO: Processing buffer {"connection_id":113084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b1b260012d196780071ff200003d007b28..."} 
[2026-06-23 23:46:57] local.INFO: Packet analysis {"connection_id":113084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:57] local.INFO: Extracted packet for processing {"connection_id":113084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253056768001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238524000,"timestamp_ms":1782238524000,"timestamp_seconds":1782238524,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b1b260"} 
[2026-06-23 23:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 23:46:57] 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-06-23 23: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-06-23 23:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253056768001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253056768001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253056768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":113084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:46:57] local.INFO: GPS data processed {"connection_id":113084,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:46:57] local.INFO: Acknowledgment sent {"connection_id":113084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:05] local.INFO: TCP Data received {"connection_id":111520,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b1ecf8012d3523c006b25ca00009007630..."} 
[2026-06-23 23:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b1ecf8012d3523c006b25ca00009007630..."} 
[2026-06-23 23:47:05] local.INFO: Processing buffer {"connection_id":111520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b1ecf8012d3523c006b25ca00009007630..."} 
[2026-06-23 23:47:05] local.INFO: Packet analysis {"connection_id":111520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:47:05] local.INFO: Extracted packet for processing {"connection_id":111520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758457280,"raw_latitude":112352416,"longitude_deg":75.845728,"latitude_deg":11.2352416,"altitude":9,"angle":118,"satellites":48,"speed":38,"hex_longitude":"2d3523c0","hex_latitude":"06b25ca0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253062912001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322168468990328832,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3820389518912942080,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:05] 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-06-23 23:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782238539000,"timestamp_ms":1782238539000,"timestamp_seconds":1782238539,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b1ecf8"} 
[2026-06-23 23:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47: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-06-23 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:05] 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-06-23 23: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-06-23 23:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":111520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":111520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":111520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253062912001,"66":27517,"182":206,"28":21760,"24":38,"16":322168468990328832,"45":3820389518912942080},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253062912001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:05] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322168468990328832,"km_value":322168468990328.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3820389518912942080,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253062912001,"power":27517,"unknown_182":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3820389518912942080}} 
[2026-06-23 23:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":111520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:05] local.INFO: GPS data processed {"connection_id":111520,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:05] local.INFO: Acknowledgment sent {"connection_id":111520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:16] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:47:16] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:47:16] local.INFO: IMEI packet received {"connection_id":111335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":111335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:47:21] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:47:21] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:47:21] local.INFO: IMEI packet received {"connection_id":111335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":111335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:47:22] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b16440012d7d458005cbbd58000b006524..."} 
[2026-06-23 23:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b16440012d7d458005cbbd58000b006524..."} 
[2026-06-23 23:47:22] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b16440012d7d458005cbbd58000b006524..."} 
[2026-06-23 23:47:22] local.INFO: Packet analysis {"connection_id":111335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:47:22] local.INFO: Extracted packet for processing {"connection_id":111335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b1"} 
[2026-06-23 23:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":97238360,"longitude_deg":76.3184512,"latitude_deg":9.723836,"altitude":11,"angle":101,"satellites":36,"speed":0,"hex_longitude":"2d7d4580","hex_latitude":"05cbbd58","is_valid_coordinates":true} 
[2026-06-23 23:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253051904001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96619227808530432,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053027074048,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782238504000,"timestamp_ms":1782238504000,"timestamp_seconds":1782238504,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b16440"} 
[2026-06-23 23:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:22] 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-06-23 23:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253051904001,"66":13243,"130":206,"85":15104,"24":0,"16":96619227808530432,"45":9026621053027074048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253051904001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:22] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96619227808530432,"km_value":96619227808530.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053027074048,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253051904001,"power":13243,"unknown_130":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026621053027074048}} 
[2026-06-23 23:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":111335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:22] local.INFO: GPS data processed {"connection_id":111335,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:22] local.INFO: Acknowledgment sent {"connection_id":111335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:28] local.INFO: TCP Data received {"connection_id":113084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b20468012d196780071ff200003d007b26..."} 
[2026-06-23 23:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b20468012d196780071ff200003d007b26..."} 
[2026-06-23 23:47:28] local.INFO: Processing buffer {"connection_id":113084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b20468012d196780071ff200003d007b26..."} 
[2026-06-23 23:47:28] local.INFO: Packet analysis {"connection_id":113084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:28] local.INFO: Extracted packet for processing {"connection_id":113084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253062144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238545000,"timestamp_ms":1782238545000,"timestamp_seconds":1782238545,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b20468"} 
[2026-06-23 23:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47: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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:28] 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-06-23 23: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-06-23 23:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253062144001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253062144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253062144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":113084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:28] local.INFO: GPS data processed {"connection_id":113084,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:28] local.INFO: Acknowledgment sent {"connection_id":113084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:43] local.INFO: TCP Data received {"connection_id":111521,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:47:43] local.INFO: Processing buffer {"connection_id":111521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:47:43] local.INFO: IMEI packet received {"connection_id":111521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":111521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:47:44] local.INFO: TCP Data received {"connection_id":111521,"ip":"117.224.65.13","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111521,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:47:44] local.INFO: Processing buffer {"connection_id":111521,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-23 23:47:44] local.INFO: IMEI packet received {"connection_id":111521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":111521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:47:47] local.INFO: TCP Data received {"connection_id":111521,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b21020012d35448006b248480009007b2d..."} 
[2026-06-23 23:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b21020012d35448006b248480009007b2d..."} 
[2026-06-23 23:47:47] local.INFO: Processing buffer {"connection_id":111521,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ef5..."} 
[2026-06-23 23:47:47] local.INFO: IMEI packet received {"connection_id":111521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":111521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:47:48] local.INFO: TCP Data received {"connection_id":111521,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b22f60012d35634006b234b00009007b2f..."} 
[2026-06-23 23:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b22f60012d35634006b234b00009007b2f..."} 
[2026-06-23 23:47:48] local.INFO: Processing buffer {"connection_id":111521,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ef5b21020012d35448006b248480009007b2d..."} 
[2026-06-23 23:47:48] local.INFO: Packet analysis {"connection_id":111521,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:48] local.INFO: Extracted packet for processing {"connection_id":111521,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758465664,"raw_latitude":112347208,"longitude_deg":75.8465664,"latitude_deg":11.2347208,"altitude":9,"angle":123,"satellites":45,"speed":43,"hex_longitude":"2d354480","hex_latitude":"06b24848","is_valid_coordinates":true} 
[2026-06-23 23:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253065984001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322168941436731392,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3829115243189805056,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47: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-06-23 23:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782238548000,"timestamp_ms":1782238548000,"timestamp_seconds":1782238548,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b21020"} 
[2026-06-23 23:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:48] 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-06-23 23:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253065984001,"66":27463,"182":206,"28":21760,"24":43,"16":322168941436731392,"45":3829115243189805056},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253065984001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322168941436731392,"km_value":322168941436731.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3829115243189805056,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253065984001,"power":27463,"unknown_182":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3829115243189805056}} 
[2026-06-23 23:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":111521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:48] local.INFO: GPS data processed {"connection_id":111521,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:48] local.INFO: Acknowledgment sent {"connection_id":111521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:48] local.INFO: Packet analysis {"connection_id":111521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:48] local.INFO: Extracted packet for processing {"connection_id":111521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758473536,"raw_latitude":112342192,"longitude_deg":75.8473536,"latitude_deg":11.2342192,"altitude":9,"angle":123,"satellites":47,"speed":47,"hex_longitude":"2d356340","hex_latitude":"06b234b0","is_valid_coordinates":true} 
[2026-06-23 23:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253068288001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322169388113330176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3838333548675745792,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47: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-06-23 23:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782238556000,"timestamp_ms":1782238556000,"timestamp_seconds":1782238556,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b22f60"} 
[2026-06-23 23:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:48] 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-06-23 23:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":111521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":111521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":111521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253068288001,"66":27365,"182":206,"28":21760,"24":47,"16":322169388113330176,"45":3838333548675745792},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253068288001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322169388113330176,"km_value":322169388113330.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3838333548675745792,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253068288001,"power":27365,"unknown_182":206,"unknown_28":21760,"ignition":47,"odometer":null,"unknown_45":3838333548675745792}} 
[2026-06-23 23:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":111521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:48] local.INFO: GPS data processed {"connection_id":111521,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:48] local.INFO: Acknowledgment sent {"connection_id":111521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:49] local.INFO: TCP Data received {"connection_id":111521,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b24ea0012d35840006b21fa00009007b2c..."} 
[2026-06-23 23:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b24ea0012d35840006b21fa00009007b2c..."} 
[2026-06-23 23:47:49] local.INFO: Processing buffer {"connection_id":111521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b24ea0012d35840006b21fa00009007b2c..."} 
[2026-06-23 23:47:49] local.INFO: Packet analysis {"connection_id":111521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:49] local.INFO: Extracted packet for processing {"connection_id":111521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758481920,"raw_latitude":112336800,"longitude_deg":75.848192,"latitude_deg":11.23368,"altitude":9,"angle":123,"satellites":44,"speed":51,"hex_longitude":"2d358400","hex_latitude":"06b21fa0","is_valid_coordinates":true} 
[2026-06-23 23:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253070336001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322169864854700032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3846988904208314368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782238564000,"timestamp_ms":1782238564000,"timestamp_seconds":1782238564,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b24ea0"} 
[2026-06-23 23:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":111521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":111521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":111521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253070336001,"66":27365,"182":206,"28":21760,"24":51,"16":322169864854700032,"45":3846988904208314368},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-23 23:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253070336001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:49] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-23 23:47:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322169864854700032,"km_value":322169864854700.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3846988904208314368,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253070336001,"power":27365,"unknown_182":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3846988904208314368}} 
[2026-06-23 23:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":111521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:49] local.INFO: GPS data processed {"connection_id":111521,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:49] local.INFO: Acknowledgment sent {"connection_id":111521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:51] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:47:51] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:47:51] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:47:53] local.INFO: TCP Data received {"connection_id":111335,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b38338012d7e088005cba4c00003006c26..."} 
[2026-06-23 23:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b38338012d7e088005cba4c00003006c26..."} 
[2026-06-23 23:47:53] local.INFO: Processing buffer {"connection_id":111335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b38338012d7e088005cba4c00003006c26..."} 
[2026-06-23 23:47:53] local.INFO: Packet analysis {"connection_id":111335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:47:53] local.INFO: Extracted packet for processing {"connection_id":111335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763234432,"raw_latitude":97232064,"longitude_deg":76.3234432,"latitude_deg":9.7232064,"altitude":3,"angle":108,"satellites":38,"speed":27,"hex_longitude":"2d7e0880","hex_latitude":"05cba4c0","is_valid_coordinates":true} 
[2026-06-23 23:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253089536001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96621671644921856,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071657049299879936,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782238643000,"timestamp_ms":1782238643000,"timestamp_seconds":1782238643,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b38338"} 
[2026-06-23 23:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253089536001,"66":11004,"130":206,"85":15104,"24":27,"16":96621671644921856,"45":9071657049299879936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253089536001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:53] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96621671644921856,"km_value":96621671644921.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071657049299879936,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253089536001,"power":11004,"unknown_130":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9071657049299879936}} 
[2026-06-23 23:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":111335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:53] local.INFO: GPS data processed {"connection_id":111335,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:53] local.INFO: Acknowledgment sent {"connection_id":111335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:47:56] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:47:56] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:47:56] local.INFO: IMEI packet received {"connection_id":111336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":111336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:47:57] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b25670012d196780071ff200003d007b26..."} 
[2026-06-23 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b25670012d196780071ff200003d007b26..."} 
[2026-06-23 23:47:57] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b25670012d196780071ff200003d007b26..."} 
[2026-06-23 23:47:57] local.INFO: Packet analysis {"connection_id":111336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:57] local.INFO: Extracted packet for processing {"connection_id":111336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:47: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-06-23 23:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253067520001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238566000,"timestamp_ms":1782238566000,"timestamp_seconds":1782238566,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b25670"} 
[2026-06-23 23:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:47:57] 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-06-23 23:47: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-06-23 23:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253067520001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253067520001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253067520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":111336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:47:57] local.INFO: GPS data processed {"connection_id":111336,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:47:57] local.INFO: Acknowledgment sent {"connection_id":111336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:48:15] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:48:15] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:48:15] local.INFO: IMEI packet received {"connection_id":111522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":111522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:48:20] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:48:20] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:48:20] local.INFO: IMEI packet received {"connection_id":111522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":111522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:48:22] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b3a660012d7e1b8005cb9f180001006128..."} 
[2026-06-23 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b3a660012d7e1b8005cb9f180001006128..."} 
[2026-06-23 23:48:22] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b3a660012d7e1b8005cb9f180001006128..."} 
[2026-06-23 23:48:22] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:48:22] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:48:22] local.INFO: GPS Element Parsed {"raw_longitude":763239296,"raw_latitude":97230616,"longitude_deg":76.3239296,"latitude_deg":9.7230616,"altitude":1,"angle":97,"satellites":40,"speed":28,"hex_longitude":"2d7e1b80","hex_latitude":"05cb9f18","is_valid_coordinates":true} 
[2026-06-23 23:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253092608001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96621912163090432,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081649410972368896,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782238652000,"timestamp_ms":1782238652000,"timestamp_seconds":1782238652,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b3a660"} 
[2026-06-23 23:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-23 23:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253092608001,"66":11776,"130":206,"85":15104,"24":28,"16":96621912163090432,"45":9081649410972368896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253092608001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96621912163090432,"km_value":96621912163090.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081649410972368896,"description":"Unknown IO ID 45"} 
[2026-06-23 23:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253092608001,"power":11776,"unknown_130":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9081649410972368896}} 
[2026-06-23 23:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:48:22] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:48:22] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:48:24] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:24] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:24] local.INFO: IMEI packet received {"connection_id":112158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":112158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:48:27] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:27] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:27] local.INFO: IMEI packet received {"connection_id":112158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":112158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:48:28] local.INFO: TCP Data received {"connection_id":111336,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b2a878012d196780071ff200003d007b27..."} 
[2026-06-23 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b2a878012d196780071ff200003d007b27..."} 
[2026-06-23 23:48:28] local.INFO: Processing buffer {"connection_id":111336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b2a878012d196780071ff200003d007b27..."} 
[2026-06-23 23:48:28] local.INFO: Packet analysis {"connection_id":111336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:48:28] local.INFO: Extracted packet for processing {"connection_id":111336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253072896001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238587000,"timestamp_ms":1782238587000,"timestamp_seconds":1782238587,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b2a878"} 
[2026-06-23 23:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:48: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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:48:28] 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-06-23 23: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-06-23 23:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253072896001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253072896001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253072896001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":111336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:48:29] local.INFO: GPS data processed {"connection_id":111336,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:48:29] local.INFO: Acknowledgment sent {"connection_id":111336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:48:40] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:40] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:48:40] local.INFO: IMEI packet received {"connection_id":112158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":112158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:48:41] local.INFO: TCP Data received {"connection_id":112158,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b38338012d36640006b0e220000a009c2e..."} 
[2026-06-23 23:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b38338012d36640006b0e220000a009c2e..."} 
[2026-06-23 23:48:41] local.INFO: Processing buffer {"connection_id":112158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b38338012d36640006b0e220000a009c2e..."} 
[2026-06-23 23:48:41] local.INFO: Packet analysis {"connection_id":112158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:48:41] local.INFO: Extracted packet for processing {"connection_id":112158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758539264,"raw_latitude":112255520,"longitude_deg":75.8539264,"latitude_deg":11.225552,"altitude":10,"angle":156,"satellites":46,"speed":53,"hex_longitude":"2d366400","hex_latitude":"06b0e220","is_valid_coordinates":true} 
[2026-06-23 23:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253090816001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322174838426828800,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3914894742319900672,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782238643000,"timestamp_ms":1782238643000,"timestamp_seconds":1782238643,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b38338"} 
[2026-06-23 23:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":112158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":112158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":112158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253090816001,"66":27484,"181":206,"28":21760,"24":53,"16":322174838426828800,"45":3914894742319900672},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-06-23 23:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253090816001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322174838426828800,"km_value":322174838426828.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3914894742319900672,"description":"Unknown IO ID 45"} 
[2026-06-23 23:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253090816001,"power":27484,"unknown_181":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3914894742319900672}} 
[2026-06-23 23:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":112158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:48:41] local.INFO: GPS data processed {"connection_id":112158,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:48:41] local.INFO: Acknowledgment sent {"connection_id":112158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:48:50] local.INFO: TCP Data received {"connection_id":113085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:50] local.INFO: Processing buffer {"connection_id":113085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:50] local.INFO: IMEI packet received {"connection_id":113085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":113085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:48:51] local.INFO: TCP Data received {"connection_id":113085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:51] local.INFO: Processing buffer {"connection_id":113085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:51] local.INFO: IMEI packet received {"connection_id":113085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":113085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:48:53] local.INFO: TCP Data received {"connection_id":111522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b3d540012d7e3f4005cb9d180000005a28..."} 
[2026-06-23 23:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b3d540012d7e3f4005cb9d180000005a28..."} 
[2026-06-23 23:48:53] local.INFO: Processing buffer {"connection_id":111522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b3d540012d7e3f4005cb9d180000005a28..."} 
[2026-06-23 23:48:53] local.INFO: Packet analysis {"connection_id":111522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:48:53] local.INFO: Extracted packet for processing {"connection_id":111522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763248448,"raw_latitude":97230104,"longitude_deg":76.3248448,"latitude_deg":9.7230104,"altitude":0,"angle":90,"satellites":40,"speed":30,"hex_longitude":"2d7e3f40","hex_latitude":"05cb9d18","is_valid_coordinates":true} 
[2026-06-23 23:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253094912001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96622350249754624,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086997435529500672,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782238664000,"timestamp_ms":1782238664000,"timestamp_seconds":1782238664,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b3d540"} 
[2026-06-23 23:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4122125456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":245,"raw_value":3003273217,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3074949127,"corrected_to":0} 
[2026-06-23 23:48:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894201038,"corrected_to":0} 
[2026-06-23 23:48:53] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3087084925,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,130,85,24,241,157,16,69,158,131,45,128,164,3,38,10,66,68,84,176,5,36,41,64,1,240,54,227,245,203,4,113,205,199,56,32,239,46,2,87],"length":434,"final_offset":564,"validated_count":40,"validation_warnings":[{"io_id":203,"original":3074949127,"validated":0},{"io_id":205,"original":2894201038,"validated":0}]} 
[2026-06-23 23:48:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72164418466349056,"timestamp_seconds":72164418466349.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-23 23:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":111522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":111522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":111522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253094912001,"66":11852,"130":206,"85":15104,"24":30,"16":96622350249754624,"45":9086997435529500672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-06-23 23:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253094912001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:48:53] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-06-23 23:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96622350249754624,"km_value":96622350249754.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086997435529500672,"description":"Unknown IO ID 45"} 
[2026-06-23 23:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253094912001,"power":11852,"unknown_130":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9086997435529500672}} 
[2026-06-23 23:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":111522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:48:53] local.INFO: GPS data processed {"connection_id":111522,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:48:53] local.INFO: Acknowledgment sent {"connection_id":111522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:48:56] local.INFO: TCP Data received {"connection_id":113085,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:56] local.INFO: Processing buffer {"connection_id":113085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:48:56] local.INFO: IMEI packet received {"connection_id":113085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":113085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:48:57] local.INFO: TCP Data received {"connection_id":113085,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b2fa80012d196780071ff200003d007b26..."} 
[2026-06-23 23:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b2fa80012d196780071ff200003d007b26..."} 
[2026-06-23 23:48:57] local.INFO: Processing buffer {"connection_id":113085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b2fa80012d196780071ff200003d007b26..."} 
[2026-06-23 23:48:57] local.INFO: Packet analysis {"connection_id":113085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:48:57] local.INFO: Extracted packet for processing {"connection_id":113085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b2"} 
[2026-06-23 23:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253078272001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238608000,"timestamp_ms":1782238608000,"timestamp_seconds":1782238608,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b2fa80"} 
[2026-06-23 23:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:48:57] 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-06-23 23: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-06-23 23:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253078272001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253078272001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:48:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253078272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":113085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:48:57] local.INFO: GPS data processed {"connection_id":113085,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:48:57] local.INFO: Acknowledgment sent {"connection_id":113085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:49:21] local.INFO: TCP Data received {"connection_id":111337,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:21] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:21] local.INFO: IMEI packet received {"connection_id":111337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":111337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:49:22] local.INFO: TCP Data received {"connection_id":111337,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:22] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:22] local.INFO: IMEI packet received {"connection_id":111337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":111337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:49:28] local.INFO: TCP Data received {"connection_id":113085,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b34c88012d196780071ff200003d007b26..."} 
[2026-06-23 23:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b34c88012d196780071ff200003d007b26..."} 
[2026-06-23 23:49:28] local.INFO: Processing buffer {"connection_id":113085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b34c88012d196780071ff200003d007b26..."} 
[2026-06-23 23:49:28] local.INFO: Packet analysis {"connection_id":113085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:49:28] local.INFO: Extracted packet for processing {"connection_id":113085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253083648001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238629000,"timestamp_ms":1782238629000,"timestamp_seconds":1782238629,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b34c88"} 
[2026-06-23 23:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:49: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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:49:28] 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-06-23 23: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-06-23 23:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253083648001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253083648001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:49:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253083648001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":113085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:49:28] local.INFO: GPS data processed {"connection_id":113085,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:49:28] local.INFO: Acknowledgment sent {"connection_id":113085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:49:33] local.INFO: TCP Data received {"connection_id":111337,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:33] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:49:33] local.INFO: IMEI packet received {"connection_id":111337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":111337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:49:34] local.INFO: TCP Data received {"connection_id":111337,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b39e90012d36720006b0c138000a009d30..."} 
[2026-06-23 23:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b39e90012d36720006b0c138000a009d30..."} 
[2026-06-23 23:49:34] local.INFO: Processing buffer {"connection_id":111337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b39e90012d36720006b0c138000a009d30..."} 
[2026-06-23 23:49:34] local.INFO: Packet analysis {"connection_id":111337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:49:34] local.INFO: Extracted packet for processing {"connection_id":111337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758542848,"raw_latitude":112247096,"longitude_deg":75.8542848,"latitude_deg":11.2247096,"altitude":10,"angle":157,"satellites":48,"speed":49,"hex_longitude":"2d367200","hex_latitude":"06b0c138","is_valid_coordinates":true} 
[2026-06-23 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253092608001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322175280808460288,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3919257604456587264,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782238650000,"timestamp_ms":1782238650000,"timestamp_seconds":1782238650,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b39e90"} 
[2026-06-23 23:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23: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-06-23 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:49:34] 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-06-23 23:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":111337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":111337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":111337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253092608001,"66":27234,"180":206,"28":21760,"24":49,"16":322175280808460288,"45":3919257604456587264},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-06-23 23:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253092608001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:49:34] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-06-23 23:49:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322175280808460288,"km_value":322175280808460.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3919257604456587264,"description":"Unknown IO ID 45"} 
[2026-06-23 23:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253092608001,"power":27234,"unknown_180":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3919257604456587264}} 
[2026-06-23 23:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":111337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:49:34] local.INFO: GPS data processed {"connection_id":111337,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:49:34] local.INFO: Acknowledgment sent {"connection_id":111337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:49:50] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:50] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:50] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:49:51] local.INFO: TCP Data received {"connection_id":111523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:51] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:51] local.INFO: IMEI packet received {"connection_id":111523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":111523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:49:53] local.INFO: TCP Data received {"connection_id":111523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:53] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:53] local.INFO: IMEI packet received {"connection_id":111523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":111523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:49:54] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:54] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:54] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:49:55] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:55] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:49:55] local.INFO: IMEI packet received {"connection_id":111338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":111338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:49:56] local.INFO: TCP Data received {"connection_id":111338,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b50208012d7ecc8005cb07c8000200bd2a..."} 
[2026-06-23 23:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b50208012d7ecc8005cb07c8000200bd2a..."} 
[2026-06-23 23:49:56] local.INFO: Processing buffer {"connection_id":111338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b50208012d7ecc8005cb07c8000200bd2a..."} 
[2026-06-23 23:49:56] local.INFO: Packet analysis {"connection_id":111338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:49:56] local.INFO: Extracted packet for processing {"connection_id":111338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763284608,"raw_latitude":97191880,"longitude_deg":76.3284608,"latitude_deg":9.719188,"altitude":2,"angle":189,"satellites":42,"speed":49,"hex_longitude":"2d7ecc80","hex_latitude":"05cb07c8","is_valid_coordinates":true} 
[2026-06-23 23:49: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-06-23 23:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253116160001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96625674554441728,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137170350120265728,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782238741000,"timestamp_ms":1782238741000,"timestamp_seconds":1782238741,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b50208"} 
[2026-06-23 23:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:49:56] 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-06-23 23:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 23:49:56] 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-06-23 23:49: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-06-23 23:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":111338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":111338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":111338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253116160001,"66":11645,"247":206,"85":15104,"24":49,"16":96625674554441728,"45":9137170350120265728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,85,24,16,45]} 
[2026-06-23 23:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253116160001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96625674554441728,"km_value":96625674554441.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137170350120265728,"description":"Unknown IO ID 45"} 
[2026-06-23 23:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253116160001,"power":11645,"internal_battery_voltage":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9137170350120265728}} 
[2026-06-23 23:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":111338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:49:56] local.INFO: GPS data processed {"connection_id":111338,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:49:56] local.INFO: Acknowledgment sent {"connection_id":111338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:49:56] local.INFO: TCP Data received {"connection_id":111523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:56] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:49:56] local.INFO: IMEI packet received {"connection_id":111523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":111523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:49:57] local.INFO: TCP Data received {"connection_id":111523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b39e90012d196780071ff200003d007b25..."} 
[2026-06-23 23:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b39e90012d196780071ff200003d007b25..."} 
[2026-06-23 23:49:57] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b39e90012d196780071ff200003d007b25..."} 
[2026-06-23 23:49:57] local.INFO: Packet analysis {"connection_id":111523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:49:57] local.INFO: Extracted packet for processing {"connection_id":111523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253089024001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238650000,"timestamp_ms":1782238650000,"timestamp_seconds":1782238650,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b39e90"} 
[2026-06-23 23:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:49:57] 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-06-23 23: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-06-23 23:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253089024001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253089024001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253089024001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":111523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:49:57] local.INFO: GPS data processed {"connection_id":111523,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:49:57] local.INFO: Acknowledgment sent {"connection_id":111523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:50:20] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:20] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:20] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:50:21] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:21] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:21] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:50:25] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:25] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:50:25] local.INFO: IMEI packet received {"connection_id":111339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":111339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:50:26] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b509d8012d7ec9c005cafe88000200c82c..."} 
[2026-06-23 23:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b509d8012d7ec9c005cafe88000200c82c..."} 
[2026-06-23 23:50:26] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b509d8012d7ec9c005cafe88000200c82c..."} 
[2026-06-23 23:50:26] local.INFO: Packet analysis {"connection_id":111339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:50:26] local.INFO: Extracted packet for processing {"connection_id":111339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:50:26] local.INFO: GPS Element Parsed {"raw_longitude":763283904,"raw_latitude":97189512,"longitude_deg":76.3283904,"latitude_deg":9.7189512,"altitude":2,"angle":200,"satellites":44,"speed":48,"hex_longitude":"2d7ec9c0","hex_latitude":"05cafe88","is_valid_coordinates":true} 
[2026-06-23 23:50: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-06-23 23:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253117696001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96625794813526016,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136818506397370368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782238743000,"timestamp_ms":1782238743000,"timestamp_seconds":1782238743,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b509d8"} 
[2026-06-23 23:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:50: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":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-23 23:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:50: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-06-23 23:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":111339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":111339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":111339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253117696001,"66":11645,"247":206,"85":15104,"24":48,"16":96625794813526016,"45":9136818506397370368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,85,24,16,45]} 
[2026-06-23 23:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253117696001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-23 23:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96625794813526016,"km_value":96625794813526.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136818506397370368,"description":"Unknown IO ID 45"} 
[2026-06-23 23:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253117696001,"power":11645,"internal_battery_voltage":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9136818506397370368}} 
[2026-06-23 23:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":111339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:50:26] local.INFO: GPS data processed {"connection_id":111339,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:50:26] local.INFO: Acknowledgment sent {"connection_id":111339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:50:28] local.INFO: TCP Data received {"connection_id":111523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b3f098012d196780071ff200003d007b24..."} 
[2026-06-23 23:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b3f098012d196780071ff200003d007b24..."} 
[2026-06-23 23:50:28] local.INFO: Processing buffer {"connection_id":111523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b3f098012d196780071ff200003d007b24..."} 
[2026-06-23 23:50:28] local.INFO: Packet analysis {"connection_id":111523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:50:28] local.INFO: Extracted packet for processing {"connection_id":111523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b3"} 
[2026-06-23 23:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253094400001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238671000,"timestamp_ms":1782238671000,"timestamp_seconds":1782238671,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b3f098"} 
[2026-06-23 23:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:50:28] 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-06-23 23: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-06-23 23:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253094400001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253094400001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253094400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":111523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:50:28] local.INFO: GPS data processed {"connection_id":111523,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:50:28] local.INFO: Acknowledgment sent {"connection_id":111523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:50:32] local.INFO: TCP Data received {"connection_id":113087,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:32] local.INFO: Processing buffer {"connection_id":113087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:32] local.INFO: IMEI packet received {"connection_id":113087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":113087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:50:33] local.INFO: TCP Data received {"connection_id":113087,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:33] local.INFO: Processing buffer {"connection_id":113087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:33] local.INFO: IMEI packet received {"connection_id":113087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":113087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:50:37] local.INFO: TCP Data received {"connection_id":113087,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:37] local.INFO: Processing buffer {"connection_id":113087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:50:37] local.INFO: IMEI packet received {"connection_id":113087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":113087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:50:39] local.INFO: TCP Data received {"connection_id":113087,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b54c40012d377b4006aea6d0000d009332..."} 
[2026-06-23 23:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b54c40012d377b4006aea6d0000d009332..."} 
[2026-06-23 23:50:39] local.INFO: Processing buffer {"connection_id":113087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b54c40012d377b4006aea6d0000d009332..."} 
[2026-06-23 23:50:39] local.INFO: Packet analysis {"connection_id":113087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:50:39] local.INFO: Extracted packet for processing {"connection_id":113087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758610752,"raw_latitude":112109264,"longitude_deg":75.8610752,"latitude_deg":11.2109264,"altitude":13,"angle":147,"satellites":50,"speed":63,"hex_longitude":"2d377b40","hex_latitude":"06aea6d0","is_valid_coordinates":true} 
[2026-06-23 23:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253121024001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322182715396849664,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3992159623389263872,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782238760000,"timestamp_ms":1782238760000,"timestamp_seconds":1782238760,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b54c40"} 
[2026-06-23 23:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:50: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-06-23 23:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:50:39] 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-06-23 23:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":113087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":113087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":113087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253121024001,"66":27376,"186":206,"28":21760,"24":63,"16":322182715396849664,"45":3992159623389263872},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-23 23:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253121024001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:50:39] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-23 23:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322182715396849664,"km_value":322182715396849.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3992159623389263872,"description":"Unknown IO ID 45"} 
[2026-06-23 23:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253121024001,"power":27376,"unknown_186":206,"unknown_28":21760,"ignition":63,"odometer":null,"unknown_45":3992159623389263872}} 
[2026-06-23 23:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":113087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:50:39] local.INFO: GPS data processed {"connection_id":113087,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:50:39] local.INFO: Acknowledgment sent {"connection_id":113087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:50:51] local.INFO: TCP Data received {"connection_id":112159,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:50:51] local.INFO: Processing buffer {"connection_id":112159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:50:51] local.INFO: IMEI packet received {"connection_id":112159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":112159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:50:56] local.INFO: TCP Data received {"connection_id":112159,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:50:56] local.INFO: Processing buffer {"connection_id":112159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:50:56] local.INFO: IMEI packet received {"connection_id":112159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":112159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:50:57] local.INFO: TCP Data received {"connection_id":112159,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b442a0012d196780071ff200003d007b29..."} 
[2026-06-23 23:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b442a0012d196780071ff200003d007b29..."} 
[2026-06-23 23:50:57] local.INFO: Processing buffer {"connection_id":112159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b442a0012d196780071ff200003d007b29..."} 
[2026-06-23 23:50:57] local.INFO: Packet analysis {"connection_id":112159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b4"} 
[2026-06-23 23:50:57] local.INFO: Extracted packet for processing {"connection_id":112159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b4"} 
[2026-06-23 23:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253099776001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238692000,"timestamp_ms":1782238692000,"timestamp_seconds":1782238692,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b442a0"} 
[2026-06-23 23:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:50:57] 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-06-23 23:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253099776001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253099776001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:50:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253099776001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":112159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:50:57] local.INFO: GPS data processed {"connection_id":112159,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:50:57] local.INFO: Acknowledgment sent {"connection_id":112159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:50:58] local.INFO: TCP Data received {"connection_id":111339,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b67908012d7e684005c9bf70000100b52a..."} 
[2026-06-23 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b67908012d7e684005c9bf70000100b52a..."} 
[2026-06-23 23:50:58] local.INFO: Processing buffer {"connection_id":111339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b67908012d7e684005c9bf70000100b52a..."} 
[2026-06-23 23:50:58] local.INFO: Packet analysis {"connection_id":111339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:50:58] local.INFO: Extracted packet for processing {"connection_id":111339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763258944,"raw_latitude":97107824,"longitude_deg":76.3258944,"latitude_deg":9.7107824,"altitude":1,"angle":181,"satellites":42,"speed":42,"hex_longitude":"2d7e6840","hex_latitude":"05c9bf70","is_valid_coordinates":true} 
[2026-06-23 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253139712001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96630055421083648,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108600639963000832,"note":"Value kept but may cause issues"} 
[2026-06-23 23:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782238837000,"timestamp_ms":1782238837000,"timestamp_seconds":1782238837,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b67908"} 
[2026-06-23 23:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-23 23:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253139712001,"66":11580,"79":206,"85":12288,"24":42,"16":96630055421083648,"45":9108600639963000832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,85,24,16,45]} 
[2026-06-23 23:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253139712001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:50:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96630055421083648,"km_value":96630055421083.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108600639963000832,"description":"Unknown IO ID 45"} 
[2026-06-23 23:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253139712001,"power":11580,"unknown_79":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9108600639963000832}} 
[2026-06-23 23:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":111339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:50:58] local.INFO: GPS data processed {"connection_id":111339,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:50:58] local.INFO: Acknowledgment sent {"connection_id":111339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:51:21] local.INFO: TCP Data received {"connection_id":113089,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:21] local.INFO: Processing buffer {"connection_id":113089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:21] local.INFO: IMEI packet received {"connection_id":113089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":113089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:51:21] local.INFO: TCP Data received {"connection_id":113089,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:21] local.INFO: Processing buffer {"connection_id":113089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:21] local.INFO: IMEI packet received {"connection_id":113089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":113089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:51:22] local.INFO: TCP Data received {"connection_id":111525,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:22] local.INFO: Processing buffer {"connection_id":111525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:22] local.INFO: IMEI packet received {"connection_id":111525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":111525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:51:23] local.INFO: TCP Data received {"connection_id":111525,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:23] local.INFO: Processing buffer {"connection_id":111525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:23] local.INFO: IMEI packet received {"connection_id":111525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":111525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:51:25] local.INFO: TCP Data received {"connection_id":113089,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:25] local.INFO: Processing buffer {"connection_id":113089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:51:25] local.INFO: IMEI packet received {"connection_id":113089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":113089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:51:26] local.INFO: TCP Data received {"connection_id":113089,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b684c0012d7e664005c9b230000100c12a..."} 
[2026-06-23 23:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b684c0012d7e664005c9b230000100c12a..."} 
[2026-06-23 23:51:26] local.INFO: Processing buffer {"connection_id":113089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b684c0012d7e664005c9b230000100c12a..."} 
[2026-06-23 23:51:26] local.INFO: Packet analysis {"connection_id":113089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:51:26] local.INFO: Extracted packet for processing {"connection_id":113089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763258432,"raw_latitude":97104432,"longitude_deg":76.3258432,"latitude_deg":9.7104432,"altitude":1,"angle":193,"satellites":42,"speed":46,"hex_longitude":"2d7e6640","hex_latitude":"05c9b230","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253142272001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96630222924808192,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108600639960608768,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782238840000,"timestamp_ms":1782238840000,"timestamp_seconds":1782238840,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b684c0"} 
[2026-06-23 23:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-23 23:51:26] 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-06-23 23: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-06-23 23:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":113089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":113089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":113089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253142272001,"66":11406,"79":206,"85":12288,"24":46,"16":96630222924808192,"45":9108600639960608768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,85,24,16,45]} 
[2026-06-23 23:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253142272001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96630222924808192,"km_value":96630222924808.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108600639960608768,"description":"Unknown IO ID 45"} 
[2026-06-23 23:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253142272001,"power":11406,"unknown_79":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9108600639960608768}} 
[2026-06-23 23:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":113089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:51:26] local.INFO: GPS data processed {"connection_id":113089,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:51:26] local.INFO: Acknowledgment sent {"connection_id":113089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:51:28] local.INFO: TCP Data received {"connection_id":111525,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:28] local.INFO: Processing buffer {"connection_id":111525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:51:28] local.INFO: IMEI packet received {"connection_id":111525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":111525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:51:28] local.INFO: TCP Data received {"connection_id":112159,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b494a8012d196780071ff200003d007b29..."} 
[2026-06-23 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b494a8012d196780071ff200003d007b29..."} 
[2026-06-23 23:51:28] local.INFO: Processing buffer {"connection_id":112159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b494a8012d196780071ff200003d007b29..."} 
[2026-06-23 23:51:28] local.INFO: Packet analysis {"connection_id":112159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b4"} 
[2026-06-23 23:51:28] local.INFO: Extracted packet for processing {"connection_id":112159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b4"} 
[2026-06-23 23:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253105152001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238713000,"timestamp_ms":1782238713000,"timestamp_seconds":1782238713,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b494a8"} 
[2026-06-23 23:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:51: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-06-23 23: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:51:28] 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-06-23 23: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-06-23 23:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253105152001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253105152001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253105152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":112159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:51:28] local.INFO: GPS data processed {"connection_id":112159,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:51:28] local.INFO: Acknowledgment sent {"connection_id":112159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:51:29] local.INFO: TCP Data received {"connection_id":111525,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b563b0012d378fc006ae8720000c009331..."} 
[2026-06-23 23:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b563b0012d378fc006ae8720000c009331..."} 
[2026-06-23 23:51:29] local.INFO: Processing buffer {"connection_id":111525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b563b0012d378fc006ae8720000c009331..."} 
[2026-06-23 23:51:29] local.INFO: Packet analysis {"connection_id":111525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:51:29] local.INFO: Extracted packet for processing {"connection_id":111525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:51:29] local.INFO: GPS Element Parsed {"raw_longitude":758616000,"raw_latitude":112101152,"longitude_deg":75.8616,"latitude_deg":11.2101152,"altitude":12,"angle":147,"satellites":49,"speed":63,"hex_longitude":"2d378fc0","hex_latitude":"06ae8720","is_valid_coordinates":true} 
[2026-06-23 23:51: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-06-23 23:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253122560001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322183179253317632,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3997859491665596416,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782238766000,"timestamp_ms":1782238766000,"timestamp_seconds":1782238766,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b563b0"} 
[2026-06-23 23:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:51:29] 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-06-23 23:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-23 23:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:51: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-06-23 23:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253122560001,"66":27332,"186":206,"28":21760,"24":63,"16":322183179253317632,"45":3997859491665596416},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-23 23:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253122560001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:51:29] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-23 23:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322183179253317632,"km_value":322183179253317.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3997859491665596416,"description":"Unknown IO ID 45"} 
[2026-06-23 23:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253122560001,"power":27332,"unknown_186":206,"unknown_28":21760,"ignition":63,"odometer":null,"unknown_45":3997859491665596416}} 
[2026-06-23 23:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":111525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:51:29] local.INFO: GPS data processed {"connection_id":111525,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:51:29] local.INFO: Acknowledgment sent {"connection_id":111525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:51:31] local.INFO: TCP Data received {"connection_id":113089,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b6abd0012d7e5fc005c98e00000100bb28..."} 
[2026-06-23 23:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b6abd0012d7e5fc005c98e00000100bb28..."} 
[2026-06-23 23:51:31] local.INFO: Processing buffer {"connection_id":113089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b6abd0012d7e5fc005c98e00000100bb28..."} 
[2026-06-23 23:51:31] local.INFO: Packet analysis {"connection_id":113089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:51:31] local.INFO: Extracted packet for processing {"connection_id":113089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763256768,"raw_latitude":97095168,"longitude_deg":76.3256768,"latitude_deg":9.7095168,"altitude":1,"angle":187,"satellites":40,"speed":25,"hex_longitude":"2d7e5fc0","hex_latitude":"05c98e00","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253143040001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96630678191341568,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037690006319104,"note":"Value kept but may cause issues"} 
[2026-06-23 23:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782238850000,"timestamp_ms":1782238850000,"timestamp_seconds":1782238850,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b6abd0"} 
[2026-06-23 23:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-06-23 23:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":113089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":113089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":113089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253143040001,"66":11721,"79":206,"85":12288,"24":25,"16":96630678191341568,"45":9108037690006319104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,85,24,16,45]} 
[2026-06-23 23:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253143040001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:51:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96630678191341568,"km_value":96630678191341.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037690006319104,"description":"Unknown IO ID 45"} 
[2026-06-23 23:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253143040001,"power":11721,"unknown_79":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9108037690006319104}} 
[2026-06-23 23:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":113089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:51:31] local.INFO: GPS data processed {"connection_id":113089,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:51:31] local.INFO: Acknowledgment sent {"connection_id":113089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:51:35] local.INFO: TCP Data received {"connection_id":113088,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:51:35] local.INFO: Processing buffer {"connection_id":113088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:51:35] local.INFO: IMEI packet received {"connection_id":113088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":113088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:51:56] local.INFO: TCP Data received {"connection_id":113090,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:51:56] local.INFO: Processing buffer {"connection_id":113090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:51:56] local.INFO: IMEI packet received {"connection_id":113090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":113090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:51:59] local.INFO: TCP Data received {"connection_id":113090,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:51:59] local.INFO: Processing buffer {"connection_id":113090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:51:59] local.INFO: IMEI packet received {"connection_id":113090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":113090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:52:00] local.INFO: TCP Data received {"connection_id":113090,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b4e6b0012d196780071ff200003d007b29..."} 
[2026-06-23 23:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b4e6b0012d196780071ff200003d007b29..."} 
[2026-06-23 23:52:00] local.INFO: Processing buffer {"connection_id":113090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b4e6b0012d196780071ff200003d007b29..."} 
[2026-06-23 23:52:00] local.INFO: Packet analysis {"connection_id":113090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b4"} 
[2026-06-23 23:52:00] local.INFO: Extracted packet for processing {"connection_id":113090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b4"} 
[2026-06-23 23:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253110528001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52: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-06-23 23:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782238734000,"timestamp_ms":1782238734000,"timestamp_seconds":1782238734,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b4e6b0"} 
[2026-06-23 23:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:00] 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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:52: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-06-23 23: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-06-23 23:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":113090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":113090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":113090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253110528001,"66":12211,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253110528001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253110528001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":113090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:00] local.INFO: GPS data processed {"connection_id":113090,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:00] local.INFO: Acknowledgment sent {"connection_id":113090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:01] local.INFO: TCP Data received {"connection_id":111525,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b6de98012d385ac006ad26e0001300a432..."} 
[2026-06-23 23:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b6de98012d385ac006ad26e0001300a432..."} 
[2026-06-23 23:52:01] local.INFO: Processing buffer {"connection_id":111525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b6de98012d385ac006ad26e0001300a432..."} 
[2026-06-23 23:52:01] local.INFO: Packet analysis {"connection_id":111525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:52:01] local.INFO: Extracted packet for processing {"connection_id":111525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:52:01] local.INFO: GPS Element Parsed {"raw_longitude":758667968,"raw_latitude":112010976,"longitude_deg":75.8667968,"latitude_deg":11.2010976,"altitude":19,"angle":164,"satellites":50,"speed":42,"hex_longitude":"2d385ac0","hex_latitude":"06ad26e0","is_valid_coordinates":true} 
[2026-06-23 23:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253146624001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322188230134857728,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4057954399170476032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782238863000,"timestamp_ms":1782238863000,"timestamp_seconds":1782238863,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b6de98"} 
[2026-06-23 23:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:01] 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-06-23 23:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253146624001,"66":27571,"195":206,"28":21760,"24":42,"16":322188230134857728,"45":4057954399170476032},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253146624001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322188230134857728,"km_value":322188230134857.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4057954399170476032,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253146624001,"power":27571,"unknown_195":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":4057954399170476032}} 
[2026-06-23 23:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":111525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:01] local.INFO: GPS data processed {"connection_id":111525,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:01] local.INFO: Acknowledgment sent {"connection_id":111525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:01] local.INFO: TCP Data received {"connection_id":113090,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b538b8012d196780071ff200003d007b28..."} 
[2026-06-23 23:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b538b8012d196780071ff200003d007b28..."} 
[2026-06-23 23:52:01] local.INFO: Processing buffer {"connection_id":113090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b538b8012d196780071ff200003d007b28..."} 
[2026-06-23 23:52:01] local.INFO: Packet analysis {"connection_id":113090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:52:01] local.INFO: Extracted packet for processing {"connection_id":113090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253115904001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782238755000,"timestamp_ms":1782238755000,"timestamp_seconds":1782238755,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b538b8"} 
[2026-06-23 23:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:01] 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-06-23 23:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":113090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":113090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":113090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253115904001,"66":12211,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253115904001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253115904001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":113090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:01] local.INFO: GPS data processed {"connection_id":113090,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:01] local.INFO: Acknowledgment sent {"connection_id":113090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:06] local.INFO: TCP Data received {"connection_id":112160,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:52:06] local.INFO: Processing buffer {"connection_id":112160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:52:06] local.INFO: IMEI packet received {"connection_id":112160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":112160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:52:15] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: IMEI packet received {"connection_id":111340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":111340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:52:15] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: IMEI packet received {"connection_id":111340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":111340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:52:15] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:15] local.INFO: IMEI packet received {"connection_id":111340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":111340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:52:20] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:20] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:52:20] local.INFO: IMEI packet received {"connection_id":111340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":111340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:52:21] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b77ad8012d7e618005c8fa08000200b92a..."} 
[2026-06-23 23:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b77ad8012d7e618005c8fa08000200b92a..."} 
[2026-06-23 23:52:21] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b77ad8012d7e618005c8fa08000200b92a..."} 
[2026-06-23 23:52:21] local.INFO: Packet analysis {"connection_id":111340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:52:21] local.INFO: Extracted packet for processing {"connection_id":111340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763257216,"raw_latitude":97057288,"longitude_deg":76.3257216,"latitude_deg":9.7057288,"altitude":2,"angle":185,"satellites":42,"speed":40,"hex_longitude":"2d7e6180","hex_latitude":"05c8fa08","is_valid_coordinates":true} 
[2026-06-23 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253156096001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96632576566886400,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107615477531594752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782238903000,"timestamp_ms":1782238903000,"timestamp_seconds":1782238903,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b77ad8"} 
[2026-06-23 23:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:21] 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-06-23 23:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253156096001,"66":11634,"79":206,"85":12288,"24":40,"16":96632576566886400,"45":9107615477531594752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,85,24,16,45]} 
[2026-06-23 23:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253156096001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96632576566886400,"km_value":96632576566886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107615477531594752,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253156096001,"power":11634,"unknown_79":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9107615477531594752}} 
[2026-06-23 23:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":111340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:21] local.INFO: GPS data processed {"connection_id":111340,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:21] local.INFO: Acknowledgment sent {"connection_id":111340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:32] local.INFO: TCP Data received {"connection_id":113090,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b58ac0012d196780071ff200003d007b27..."} 
[2026-06-23 23:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b58ac0012d196780071ff200003d007b27..."} 
[2026-06-23 23:52:32] local.INFO: Processing buffer {"connection_id":113090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b58ac0012d196780071ff200003d007b27..."} 
[2026-06-23 23:52:32] local.INFO: Packet analysis {"connection_id":113090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:52:32] local.INFO: Extracted packet for processing {"connection_id":113090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253121280001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52: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-06-23 23:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782238776000,"timestamp_ms":1782238776000,"timestamp_seconds":1782238776,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b58ac0"} 
[2026-06-23 23:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:32] 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-06-23 23: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":113090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":113090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":113090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253121280001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253121280001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253121280001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":113090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:32] local.INFO: GPS data processed {"connection_id":113090,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:32] local.INFO: Acknowledgment sent {"connection_id":113090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:38] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:52:38] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:52:38] local.INFO: IMEI packet received {"connection_id":111526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":111526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:52:43] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:52:43] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:52:43] local.INFO: IMEI packet received {"connection_id":111526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":111526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:52:44] local.INFO: TCP Data received {"connection_id":111526,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b701c0012d38650006ad0138001300a532..."} 
[2026-06-23 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b701c0012d38650006ad0138001300a532..."} 
[2026-06-23 23:52:44] local.INFO: Processing buffer {"connection_id":111526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b701c0012d38650006ad0138001300a532..."} 
[2026-06-23 23:52:44] local.INFO: Packet analysis {"connection_id":111526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:52:44] local.INFO: Extracted packet for processing {"connection_id":111526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758670592,"raw_latitude":112001336,"longitude_deg":75.8670592,"latitude_deg":11.2001336,"altitude":19,"angle":165,"satellites":50,"speed":45,"hex_longitude":"2d386500","hex_latitude":"06ad0138","is_valid_coordinates":true} 
[2026-06-23 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253148928001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322188715466162176,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4060769148935266304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:44] 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-06-23 23:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782238872000,"timestamp_ms":1782238872000,"timestamp_seconds":1782238872,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b701c0"} 
[2026-06-23 23:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:44] 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-06-23 23:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:44] 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-06-23 23:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":111526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":111526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":111526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253148928001,"66":27484,"196":206,"28":21760,"24":45,"16":322188715466162176,"45":4060769148935266304},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-23 23:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253148928001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:44] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-23 23:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322188715466162176,"km_value":322188715466162.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4060769148935266304,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253148928001,"power":27484,"unknown_196":206,"unknown_28":21760,"ignition":45,"odometer":null,"unknown_45":4060769148935266304}} 
[2026-06-23 23:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":111526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:44] local.INFO: GPS data processed {"connection_id":111526,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:44] local.INFO: Acknowledgment sent {"connection_id":111526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:51] local.INFO: TCP Data received {"connection_id":112162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:52:51] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:52:51] local.INFO: IMEI packet received {"connection_id":112162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":112162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:52:52] local.INFO: TCP Data received {"connection_id":111340,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b79a18012d7e5e4005c8d4d0000100b923..."} 
[2026-06-23 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b79a18012d7e5e4005c8d4d0000100b923..."} 
[2026-06-23 23:52:52] local.INFO: Processing buffer {"connection_id":111340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b79a18012d7e5e4005c8d4d0000100b923..."} 
[2026-06-23 23:52:52] local.INFO: Packet analysis {"connection_id":111340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:52:52] local.INFO: Extracted packet for processing {"connection_id":111340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763256384,"raw_latitude":97047760,"longitude_deg":76.3256384,"latitude_deg":9.704776,"altitude":1,"angle":185,"satellites":35,"speed":50,"hex_longitude":"2d7e5e40","hex_latitude":"05c8d4d0","is_valid_coordinates":true} 
[2026-06-23 23:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253159168001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96633040423354368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106700683854874624,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782238911000,"timestamp_ms":1782238911000,"timestamp_seconds":1782238911,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b79a18"} 
[2026-06-23 23:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:52] 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-06-23 23:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253159168001,"66":10895,"79":206,"85":12288,"24":50,"16":96633040423354368,"45":9106700683854874624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,85,24,16,45]} 
[2026-06-23 23:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253159168001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96633040423354368,"km_value":96633040423354.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106700683854874624,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253159168001,"power":10895,"unknown_79":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9106700683854874624}} 
[2026-06-23 23:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":111340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:53] local.INFO: GPS data processed {"connection_id":111340,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:53] local.INFO: Acknowledgment sent {"connection_id":111340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:52:56] local.INFO: TCP Data received {"connection_id":112162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:52:56] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:52:56] local.INFO: IMEI packet received {"connection_id":112162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":112162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:52:57] local.INFO: TCP Data received {"connection_id":112162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b5dcc8012d196780071ff200003d007b28..."} 
[2026-06-23 23:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b5dcc8012d196780071ff200003d007b28..."} 
[2026-06-23 23:52:57] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b5dcc8012d196780071ff200003d007b28..."} 
[2026-06-23 23:52:57] local.INFO: Packet analysis {"connection_id":112162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:52:57] local.INFO: Extracted packet for processing {"connection_id":112162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b5"} 
[2026-06-23 23:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253126656001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238797000,"timestamp_ms":1782238797000,"timestamp_seconds":1782238797,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b5dcc8"} 
[2026-06-23 23:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:52:57] 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-06-23 23:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253126656001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253126656001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253126656001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":112162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:52:57] local.INFO: GPS data processed {"connection_id":112162,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:52:57] local.INFO: Acknowledgment sent {"connection_id":112162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:53:14] local.INFO: TCP Data received {"connection_id":113091,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:14] local.INFO: Processing buffer {"connection_id":113091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:14] local.INFO: IMEI packet received {"connection_id":113091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":113091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:53:15] local.INFO: TCP Data received {"connection_id":113091,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:15] local.INFO: Processing buffer {"connection_id":113091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:15] local.INFO: IMEI packet received {"connection_id":113091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":113091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:53:20] local.INFO: TCP Data received {"connection_id":113091,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:20] local.INFO: Processing buffer {"connection_id":113091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:53:20] local.INFO: IMEI packet received {"connection_id":113091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":113091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:53:21] local.INFO: TCP Data received {"connection_id":113091,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b7b570012d7e5ac005c8afc0000000b82a..."} 
[2026-06-23 23:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b7b570012d7e5ac005c8afc0000000b82a..."} 
[2026-06-23 23:53:21] local.INFO: Processing buffer {"connection_id":113091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b7b570012d7e5ac005c8afc0000000b82a..."} 
[2026-06-23 23:53:21] local.INFO: Packet analysis {"connection_id":113091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:53:21] local.INFO: Extracted packet for processing {"connection_id":113091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:53:21] local.INFO: GPS Element Parsed {"raw_longitude":763255488,"raw_latitude":97038272,"longitude_deg":76.3255488,"latitude_deg":9.7038272,"altitude":0,"angle":184,"satellites":42,"speed":56,"hex_longitude":"2d7e5ac0","hex_latitude":"05c8afc0","is_valid_coordinates":true} 
[2026-06-23 23:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253161216001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96633504279822336,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105785890178125824,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782238918000,"timestamp_ms":1782238918000,"timestamp_seconds":1782238918,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b7b570"} 
[2026-06-23 23:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-06-23 23:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1695,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253161216001,"66":11743,"79":206,"85":12288,"24":56,"16":96633504279822336,"45":9105785890178125824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,85,24,16,45]} 
[2026-06-23 23:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253161216001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:53:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-23 23:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96633504279822336,"km_value":96633504279822.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105785890178125824,"description":"Unknown IO ID 45"} 
[2026-06-23 23:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253161216001,"power":11743,"unknown_79":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9105785890178125824}} 
[2026-06-23 23:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":113091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:53:22] local.INFO: GPS data processed {"connection_id":113091,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:53:22] local.INFO: Acknowledgment sent {"connection_id":113091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:53:24] local.INFO: TCP Data received {"connection_id":113092,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:24] local.INFO: Processing buffer {"connection_id":113092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:24] local.INFO: IMEI packet received {"connection_id":113092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":113092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:53:28] local.INFO: TCP Data received {"connection_id":113092,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:28] local.INFO: Processing buffer {"connection_id":113092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:28] local.INFO: IMEI packet received {"connection_id":113092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":113092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:53:28] local.INFO: TCP Data received {"connection_id":112162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b62ed0012d196780071ff200003d007b25..."} 
[2026-06-23 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b62ed0012d196780071ff200003d007b25..."} 
[2026-06-23 23:53:28] local.INFO: Processing buffer {"connection_id":112162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b62ed0012d196780071ff200003d007b25..."} 
[2026-06-23 23:53:28] local.INFO: Packet analysis {"connection_id":112162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:53:28] local.INFO: Extracted packet for processing {"connection_id":112162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253132032001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238818000,"timestamp_ms":1782238818000,"timestamp_seconds":1782238818,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b62ed0"} 
[2026-06-23 23:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:53:28] 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-06-23 23: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-06-23 23:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":112162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":112162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":112162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253132032001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253132032001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253132032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":112162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:53:28] local.INFO: GPS data processed {"connection_id":112162,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:53:28] local.INFO: Acknowledgment sent {"connection_id":112162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:53:31] local.INFO: TCP Data received {"connection_id":113092,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:31] local.INFO: Processing buffer {"connection_id":113092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:53:31] local.INFO: IMEI packet received {"connection_id":113092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":113092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:53:32] local.INFO: TCP Data received {"connection_id":113092,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b81ee8012d38cd4006ab7448000a00a531..."} 
[2026-06-23 23:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b81ee8012d38cd4006ab7448000a00a531..."} 
[2026-06-23 23:53:32] local.INFO: Processing buffer {"connection_id":113092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b81ee8012d38cd4006ab7448000a00a531..."} 
[2026-06-23 23:53:32] local.INFO: Packet analysis {"connection_id":113092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:53:32] local.INFO: Extracted packet for processing {"connection_id":113092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758697280,"raw_latitude":111899720,"longitude_deg":75.869728,"latitude_deg":11.189972,"altitude":10,"angle":165,"satellites":49,"speed":52,"hex_longitude":"2d38cd40","hex_latitude":"06ab7448","is_valid_coordinates":true} 
[2026-06-23 23:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253168128001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322193800707440640,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4090394390207946752,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782238945000,"timestamp_ms":1782238945000,"timestamp_seconds":1782238945,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b81ee8"} 
[2026-06-23 23:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:53:32] 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-06-23 23:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-23 23:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":113092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":113092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":113092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253168128001,"66":27463,"186":206,"28":21760,"24":52,"16":322193800707440640,"45":4090394390207946752},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-23 23:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253168128001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:53:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-23 23:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322193800707440640,"km_value":322193800707440.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4090394390207946752,"description":"Unknown IO ID 45"} 
[2026-06-23 23:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253168128001,"power":27463,"unknown_186":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":4090394390207946752}} 
[2026-06-23 23:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":113092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:53:32] local.INFO: GPS data processed {"connection_id":113092,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:53:32] local.INFO: Acknowledgment sent {"connection_id":113092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:53:33] local.INFO: TCP Data received {"connection_id":113092,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b83a40012d38d64006ab5198000900a531..."} 
[2026-06-23 23:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b83a40012d38d64006ab5198000900a531..."} 
[2026-06-23 23:53:33] local.INFO: Processing buffer {"connection_id":113092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b83a40012d38d64006ab5198000900a531..."} 
[2026-06-23 23:53:33] local.INFO: Packet analysis {"connection_id":113092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:53:33] local.INFO: Extracted packet for processing {"connection_id":113092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:53:33] local.INFO: GPS Element Parsed {"raw_longitude":758699584,"raw_latitude":111890840,"longitude_deg":75.8699584,"latitude_deg":11.189084,"altitude":9,"angle":165,"satellites":49,"speed":52,"hex_longitude":"2d38d640","hex_latitude":"06ab5198","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253169920001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322194247384039424,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4092998033740154880,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782238952000,"timestamp_ms":1782238952000,"timestamp_seconds":1782238952,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b83a40"} 
[2026-06-23 23:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:53: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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":113092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":113092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":113092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253169920001,"66":27245,"186":206,"28":21760,"24":52,"16":322194247384039424,"45":4092998033740154880},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-23 23:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253169920001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:53:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-23 23:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322194247384039424,"km_value":322194247384039.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4092998033740154880,"description":"Unknown IO ID 45"} 
[2026-06-23 23:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253169920001,"power":27245,"unknown_186":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":4092998033740154880}} 
[2026-06-23 23:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":113092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:53:33] local.INFO: GPS data processed {"connection_id":113092,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:53:33] local.INFO: Acknowledgment sent {"connection_id":113092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:53:51] local.INFO: TCP Data received {"connection_id":111527,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:53:51] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:53:51] local.INFO: IMEI packet received {"connection_id":111527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":111527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:53:53] local.INFO: TCP Data received {"connection_id":113091,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b90d30012d7e4e8005c770f00004007327..."} 
[2026-06-23 23:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b90d30012d7e4e8005c770f00004007327..."} 
[2026-06-23 23:53:53] local.INFO: Processing buffer {"connection_id":113091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b90d30012d7e4e8005c770f00004007327..."} 
[2026-06-23 23:53:53] local.INFO: Packet analysis {"connection_id":113091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:53:53] local.INFO: Extracted packet for processing {"connection_id":113091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763252352,"raw_latitude":96956656,"longitude_deg":76.3252352,"latitude_deg":9.6956656,"altitude":4,"angle":115,"satellites":39,"speed":13,"hex_longitude":"2d7e4e80","hex_latitude":"05c770f0","is_valid_coordinates":true} 
[2026-06-23 23:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253185280001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96637537254113280,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101071184294936576,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782239006000,"timestamp_ms":1782239006000,"timestamp_seconds":1782239006,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b90d30"} 
[2026-06-23 23:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-23 23:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1012,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":113091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":113091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":113091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253185280001,"66":11700,"90":206,"85":12288,"24":13,"16":96637537254113280,"45":9101071184294936576},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-06-23 23:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253185280001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:53:53] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-23 23:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96637537254113280,"km_value":96637537254113.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101071184294936576,"description":"Unknown IO ID 45"} 
[2026-06-23 23:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253185280001,"power":11700,"unknown_90":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":9101071184294936576}} 
[2026-06-23 23:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":113091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:53:53] local.INFO: GPS data processed {"connection_id":113091,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:53:53] local.INFO: Acknowledgment sent {"connection_id":113091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:53:56] local.INFO: TCP Data received {"connection_id":111527,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:53:56] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:53:56] local.INFO: IMEI packet received {"connection_id":111527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":111527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:53:57] local.INFO: TCP Data received {"connection_id":111527,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b680d8012d196780071ff200003d007b27..."} 
[2026-06-23 23:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b680d8012d196780071ff200003d007b27..."} 
[2026-06-23 23:53:57] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b680d8012d196780071ff200003d007b27..."} 
[2026-06-23 23:53:57] local.INFO: Packet analysis {"connection_id":111527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:53:57] local.INFO: Extracted packet for processing {"connection_id":111527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253137408001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238839000,"timestamp_ms":1782238839000,"timestamp_seconds":1782238839,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b680d8"} 
[2026-06-23 23:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:53:57] 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-06-23 23: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-06-23 23:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253137408001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253137408001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253137408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":111527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:53:57] local.INFO: GPS data processed {"connection_id":111527,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:53:57] local.INFO: Acknowledgment sent {"connection_id":111527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:05] local.INFO: TCP Data received {"connection_id":113092,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b85598012d38dfc006ab2db0000900a531..."} 
[2026-06-23 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b85598012d38dfc006ab2db0000900a531..."} 
[2026-06-23 23:54:05] local.INFO: Processing buffer {"connection_id":113092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b85598012d38dfc006ab2db0000900a531..."} 
[2026-06-23 23:54:05] local.INFO: Packet analysis {"connection_id":113092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:54:05] local.INFO: Extracted packet for processing {"connection_id":113092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758702016,"raw_latitude":111881648,"longitude_deg":75.8702016,"latitude_deg":11.1881648,"altitude":9,"angle":165,"satellites":49,"speed":55,"hex_longitude":"2d38dfc0","hex_latitude":"06ab2db0","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253171712001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322194706945540096,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4095531308528277504,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782238959000,"timestamp_ms":1782238959000,"timestamp_seconds":1782238959,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b85598"} 
[2026-06-23 23:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54: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-06-23 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":113092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":113092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":113092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253171712001,"66":27484,"186":206,"28":21760,"24":55,"16":322194706945540096,"45":4095531308528277504},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-23 23:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253171712001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-23 23:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322194706945540096,"km_value":322194706945540.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4095531308528277504,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253171712001,"power":27484,"unknown_186":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":4095531308528277504}} 
[2026-06-23 23:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":113092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:05] local.INFO: GPS data processed {"connection_id":113092,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:05] local.INFO: Acknowledgment sent {"connection_id":113092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:15] local.INFO: TCP Data received {"connection_id":112164,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:54:15] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:54:15] local.INFO: IMEI packet received {"connection_id":112164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":112164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:54:20] local.INFO: TCP Data received {"connection_id":112164,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:54:20] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:54:20] local.INFO: IMEI packet received {"connection_id":112164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":112164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:54:21] local.INFO: TCP Data received {"connection_id":112164,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b924a0012d7e5a4005c76dd00005006627..."} 
[2026-06-23 23:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b924a0012d7e5a4005c76dd00005006627..."} 
[2026-06-23 23:54:21] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b924a0012d7e5a4005c76dd00005006627..."} 
[2026-06-23 23:54:21] local.INFO: Packet analysis {"connection_id":112164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:54:21] local.INFO: Extracted packet for processing {"connection_id":112164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763255360,"raw_latitude":96955856,"longitude_deg":76.325536,"latitude_deg":9.6955856,"altitude":5,"angle":102,"satellites":39,"speed":25,"hex_longitude":"2d7e5a40","hex_latitude":"05c76dd0","is_valid_coordinates":true} 
[2026-06-23 23:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253185536001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96637687577968640,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101352659271610368,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782239012000,"timestamp_ms":1782239012000,"timestamp_seconds":1782239012,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b924a0"} 
[2026-06-23 23:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:21] 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-06-23 23:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":112164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":112164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":112164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253185536001,"66":11624,"90":206,"85":12288,"24":25,"16":96637687577968640,"45":9101352659271610368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-06-23 23:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253185536001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:21] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-23 23:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96637687577968640,"km_value":96637687577968.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101352659271610368,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253185536001,"power":11624,"unknown_90":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9101352659271610368}} 
[2026-06-23 23:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":112164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:21] local.INFO: GPS data processed {"connection_id":112164,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:21] local.INFO: Acknowledgment sent {"connection_id":112164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:23] local.INFO: TCP Data received {"connection_id":112166,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:54:23] local.INFO: Processing buffer {"connection_id":112166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:54:23] local.INFO: IMEI packet received {"connection_id":112166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":112166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:54:25] local.INFO: TCP Data received {"connection_id":112166,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:54:25] local.INFO: Processing buffer {"connection_id":112166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:54:25] local.INFO: IMEI packet received {"connection_id":112166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":112166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:54:26] local.INFO: TCP Data received {"connection_id":112166,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b870f0012d38e98006ab0870000900a531..."} 
[2026-06-23 23:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b870f0012d38e98006ab0870000900a531..."} 
[2026-06-23 23:54:26] local.INFO: Processing buffer {"connection_id":112166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b870f0012d38e98006ab0870000900a531..."} 
[2026-06-23 23:54:26] local.INFO: Packet analysis {"connection_id":112166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:54:26] local.INFO: Extracted packet for processing {"connection_id":112166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758704512,"raw_latitude":111872112,"longitude_deg":75.8704512,"latitude_deg":11.1872112,"altitude":9,"angle":165,"satellites":49,"speed":56,"hex_longitude":"2d38e980","hex_latitude":"06ab0870","is_valid_coordinates":true} 
[2026-06-23 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253173504001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322195183686909952,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098205320804675584,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782238966000,"timestamp_ms":1782238966000,"timestamp_seconds":1782238966,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b870f0"} 
[2026-06-23 23:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:26] 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-06-23 23:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":112166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":112166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":112166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253173504001,"66":26865,"185":206,"28":21760,"24":56,"16":322195183686909952,"45":4098205320804675584},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-23 23:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253173504001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:26] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-23 23:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322195183686909952,"km_value":322195183686909.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098205320804675584,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253173504001,"power":26865,"unknown_185":206,"unknown_28":21760,"ignition":56,"odometer":null,"unknown_45":4098205320804675584}} 
[2026-06-23 23:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":112166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:26] local.INFO: GPS data processed {"connection_id":112166,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:26] local.INFO: Acknowledgment sent {"connection_id":112166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:28] local.INFO: TCP Data received {"connection_id":111527,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b6d2e0012d196780071ff200003d007b28..."} 
[2026-06-23 23:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b6d2e0012d196780071ff200003d007b28..."} 
[2026-06-23 23:54:28] local.INFO: Processing buffer {"connection_id":111527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b6d2e0012d196780071ff200003d007b28..."} 
[2026-06-23 23:54:28] local.INFO: Packet analysis {"connection_id":111527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:54:28] local.INFO: Extracted packet for processing {"connection_id":111527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b6"} 
[2026-06-23 23:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253142784001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238860000,"timestamp_ms":1782238860000,"timestamp_seconds":1782238860,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b6d2e0"} 
[2026-06-23 23:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:28] 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-06-23 23: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-06-23 23:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253142784001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253142784001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253142784001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":111527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:28] local.INFO: GPS data processed {"connection_id":111527,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:28] local.INFO: Acknowledgment sent {"connection_id":111527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:51] local.INFO: TCP Data received {"connection_id":113093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:54:51] local.INFO: Processing buffer {"connection_id":113093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:54:51] local.INFO: IMEI packet received {"connection_id":113093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":113093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:54:53] local.INFO: TCP Data received {"connection_id":112164,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b94f98012d7e804005c768700004006127..."} 
[2026-06-23 23:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b94f98012d7e804005c768700004006127..."} 
[2026-06-23 23:54:53] local.INFO: Processing buffer {"connection_id":112164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b94f98012d7e804005c768700004006127..."} 
[2026-06-23 23:54:53] local.INFO: Packet analysis {"connection_id":112164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:54:53] local.INFO: Extracted packet for processing {"connection_id":112164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:54:53] local.INFO: GPS Element Parsed {"raw_longitude":763265088,"raw_latitude":96954480,"longitude_deg":76.3265088,"latitude_deg":9.695448,"altitude":4,"angle":97,"satellites":39,"speed":41,"hex_longitude":"2d7e8040","hex_latitude":"05c76870","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253187072001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96638155729403904,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104659990247755776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782239023000,"timestamp_ms":1782239023000,"timestamp_seconds":1782239023,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b94f98"} 
[2026-06-23 23:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:53] 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-06-23 23: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-06-23 23:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":112164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":112164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":112164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253187072001,"66":11743,"90":206,"85":12288,"24":41,"16":96638155729403904,"45":9104659990247755776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-06-23 23:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253187072001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:53] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-23 23:54:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96638155729403904,"km_value":96638155729403.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104659990247755776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253187072001,"power":11743,"unknown_90":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9104659990247755776}} 
[2026-06-23 23:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":112164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:53] local.INFO: GPS data processed {"connection_id":112164,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:53] local.INFO: Acknowledgment sent {"connection_id":112164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:56] local.INFO: TCP Data received {"connection_id":113093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:54:56] local.INFO: Processing buffer {"connection_id":113093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:54:56] local.INFO: IMEI packet received {"connection_id":113093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":113093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:54:57] local.INFO: TCP Data received {"connection_id":112166,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b995e8012d39554006a97b50000f00a532..."} 
[2026-06-23 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b995e8012d39554006a97b50000f00a532..."} 
[2026-06-23 23:54:57] local.INFO: Processing buffer {"connection_id":112166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b995e8012d39554006a97b50000f00a532..."} 
[2026-06-23 23:54:57] local.INFO: Packet analysis {"connection_id":112166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:54:57] local.INFO: Extracted packet for processing {"connection_id":112166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":758732096,"raw_latitude":111770448,"longitude_deg":75.8732096,"latitude_deg":11.1770448,"altitude":15,"angle":165,"satellites":50,"speed":49,"hex_longitude":"2d395540","hex_latitude":"06a97b50","is_valid_coordinates":true} 
[2026-06-23 23:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253192704001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322200281813090304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4128674987007389696,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782239041000,"timestamp_ms":1782239041000,"timestamp_seconds":1782239041,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b995e8"} 
[2026-06-23 23:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":112166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":112166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":112166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253192704001,"66":27365,"250":206,"28":21760,"24":49,"16":322200281813090304,"45":4128674987007389696},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253192704001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322200281813090304,"km_value":322200281813090.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4128674987007389696,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253192704001,"power":27365,"unknown_250":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":4128674987007389696}} 
[2026-06-23 23:54:57] local.INFO: TCP Data received {"connection_id":113093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b724e8012d196780071ff200003d007b28..."} 
[2026-06-23 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b724e8012d196780071ff200003d007b28..."} 
[2026-06-23 23:54:57] local.INFO: Processing buffer {"connection_id":113093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b724e8012d196780071ff200003d007b28..."} 
[2026-06-23 23:54:57] local.INFO: Packet analysis {"connection_id":113093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:54:57] local.INFO: Extracted packet for processing {"connection_id":113093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253148160001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238881000,"timestamp_ms":1782238881000,"timestamp_seconds":1782238881,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b724e8"} 
[2026-06-23 23:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:54:57] 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-06-23 23:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253148160001,"66":12113,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253148160001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253148160001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":112166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:57] local.INFO: GPS data processed {"connection_id":112166,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:57] local.INFO: Acknowledgment sent {"connection_id":112166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":113093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:54:57] local.INFO: GPS data processed {"connection_id":113093,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:54:57] local.INFO: Acknowledgment sent {"connection_id":113093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:55:15] local.INFO: TCP Data received {"connection_id":111528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:15] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:15] local.INFO: IMEI packet received {"connection_id":111528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":111528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:55:19] local.INFO: TCP Data received {"connection_id":111528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:19] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:19] local.INFO: IMEI packet received {"connection_id":111528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":111528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:55:20] local.INFO: TCP Data received {"connection_id":111528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:20] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:55:20] local.INFO: IMEI packet received {"connection_id":111528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":111528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:55:21] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:21] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:21] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:55:21] local.INFO: TCP Data received {"connection_id":111528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ba97b8012d7f884005c71b780002007227..."} 
[2026-06-23 23:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ba97b8012d7f884005c71b780002007227..."} 
[2026-06-23 23:55:21] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ba97b8012d7f884005c71b780002007227..."} 
[2026-06-23 23:55:21] local.INFO: Packet analysis {"connection_id":111528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:55:21] local.INFO: Extracted packet for processing {"connection_id":111528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":96934776,"longitude_deg":76.3332672,"latitude_deg":9.6934776,"altitude":2,"angle":114,"satellites":39,"speed":41,"hex_longitude":"2d7f8840","hex_latitude":"05c71b78","is_valid_coordinates":true} 
[2026-06-23 23:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253208832001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96641132141740032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179321227815526400,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782239107000,"timestamp_ms":1782239107000,"timestamp_seconds":1782239107,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ba97b8"} 
[2026-06-23 23:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-23 23:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253208832001,"66":11711,"88":206,"85":12288,"24":41,"16":96641132141740032,"45":9179321227815526400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253208832001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:55:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96641132141740032,"km_value":96641132141740.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179321227815526400,"description":"Unknown IO ID 45"} 
[2026-06-23 23:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253208832001,"power":11711,"unknown_88":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9179321227815526400}} 
[2026-06-23 23:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":111528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:55:21] local.INFO: GPS data processed {"connection_id":111528,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:55:21] local.INFO: Acknowledgment sent {"connection_id":111528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:55:22] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:22] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:22] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:55:27] local.INFO: TCP Data received {"connection_id":111528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5ba97b8012d7f884005c71b780002007227..."} 
[2026-06-23 23:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5ba97b8012d7f884005c71b780002007227..."} 
[2026-06-23 23:55:27] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5ba97b8012d7f884005c71b780002007227..."} 
[2026-06-23 23:55:27] local.INFO: Packet analysis {"connection_id":111528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:55:27] local.INFO: Extracted packet for processing {"connection_id":111528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763332672,"raw_latitude":96934776,"longitude_deg":76.3332672,"latitude_deg":9.6934776,"altitude":2,"angle":114,"satellites":39,"speed":41,"hex_longitude":"2d7f8840","hex_latitude":"05c71b78","is_valid_coordinates":true} 
[2026-06-23 23:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253211392001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96641132141740032,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665433208977408,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782239107000,"timestamp_ms":1782239107000,"timestamp_seconds":1782239107,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5ba97b8"} 
[2026-06-23 23:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-23 23:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":111528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":111528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":111528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253211392001,"66":11711,"88":206,"85":12288,"24":41,"16":96641132141740032,"45":9189665433208977408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253211392001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:55:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96641132141740032,"km_value":96641132141740.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665433208977408,"description":"Unknown IO ID 45"} 
[2026-06-23 23:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253211392001,"power":11711,"unknown_88":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9189665433208977408}} 
[2026-06-23 23:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":111528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:55:27] local.INFO: GPS data processed {"connection_id":111528,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:55:27] local.INFO: Acknowledgment sent {"connection_id":111528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:55:27] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:27] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:55:27] local.INFO: IMEI packet received {"connection_id":111341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":111341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:55:28] local.INFO: TCP Data received {"connection_id":113093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b776f0012d196780071ff200003d007b28..."} 
[2026-06-23 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b776f0012d196780071ff200003d007b28..."} 
[2026-06-23 23:55:28] local.INFO: Processing buffer {"connection_id":113093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b776f0012d196780071ff200003d007b28..."} 
[2026-06-23 23:55:28] local.INFO: Packet analysis {"connection_id":113093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:55:28] local.INFO: Extracted packet for processing {"connection_id":113093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:55: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-06-23 23:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253153536001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238902000,"timestamp_ms":1782238902000,"timestamp_seconds":1782238902,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b776f0"} 
[2026-06-23 23:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:55: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-23 23:55:28] 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-06-23 23:55: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-06-23 23:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253153536001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253153536001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253153536001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":113093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:55:28] local.INFO: GPS data processed {"connection_id":113093,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:55:28] local.INFO: Acknowledgment sent {"connection_id":113093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:55:29] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b9b528012d395f4006a956a8001100a432..."} 
[2026-06-23 23:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b9b528012d395f4006a956a8001100a432..."} 
[2026-06-23 23:55:29] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b9b528012d395f4006a956a8001100a432..."} 
[2026-06-23 23:55:29] local.INFO: Packet analysis {"connection_id":111341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:55:29] local.INFO: Extracted packet for processing {"connection_id":111341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:55:29] local.INFO: GPS Element Parsed {"raw_longitude":758734656,"raw_latitude":111761064,"longitude_deg":75.8734656,"latitude_deg":11.1761064,"altitude":17,"angle":164,"satellites":50,"speed":48,"hex_longitude":"2d395f40","hex_latitude":"06a956a8","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253194496001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322200754259492864,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131278630539710464,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782239049000,"timestamp_ms":1782239049000,"timestamp_seconds":1782239049,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b9b528"} 
[2026-06-23 23:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:55:29] 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-06-23 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-23 23:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23: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-06-23 23:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":111341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253194496001,"66":27463,"250":206,"28":21760,"24":48,"16":322200754259492864,"45":4131278630539710464},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-23 23:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253194496001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:55:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-23 23:55:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322200754259492864,"km_value":322200754259492.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131278630539710464,"description":"Unknown IO ID 45"} 
[2026-06-23 23:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253194496001,"power":27463,"unknown_250":206,"unknown_28":21760,"ignition":48,"odometer":null,"unknown_45":4131278630539710464}} 
[2026-06-23 23:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":111341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:55:29] local.INFO: GPS data processed {"connection_id":111341,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:55:29] local.INFO: Acknowledgment sent {"connection_id":111341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:55:50] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:50] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:50] local.INFO: IMEI packet received {"connection_id":111529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":111529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:55:51] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:51] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:51] local.INFO: IMEI packet received {"connection_id":111529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":111529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:55:56] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:56] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:55:56] local.INFO: IMEI packet received {"connection_id":111529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":111529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:55:57] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b7c8f8012d196780071ff200003d007b25..."} 
[2026-06-23 23:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b7c8f8012d196780071ff200003d007b25..."} 
[2026-06-23 23:55:57] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b7c8f8012d196780071ff200003d007b25..."} 
[2026-06-23 23:55:57] local.INFO: Packet analysis {"connection_id":111529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:55:57] local.INFO: Extracted packet for processing {"connection_id":111529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b7"} 
[2026-06-23 23:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:55: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-06-23 23:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253158912001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238923000,"timestamp_ms":1782238923000,"timestamp_seconds":1782238923,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b7c8f8"} 
[2026-06-23 23:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 23:55:57] 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-06-23 23:55: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-06-23 23:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253158912001,"66":12254,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253158912001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253158912001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":111529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:55:57] local.INFO: GPS data processed {"connection_id":111529,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:55:57] local.INFO: Acknowledgment sent {"connection_id":111529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:55:58] local.INFO: TCP Data received {"connection_id":111528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5babec8012d7fa84005c709a80002007725..."} 
[2026-06-23 23:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5babec8012d7fa84005c709a80002007725..."} 
[2026-06-23 23:55:58] local.INFO: Processing buffer {"connection_id":111528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5babec8012d7fa84005c709a80002007725..."} 
[2026-06-23 23:55:58] local.INFO: Packet analysis {"connection_id":111528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:55:58] local.INFO: Extracted packet for processing {"connection_id":111528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763340864,"raw_latitude":96930216,"longitude_deg":76.3340864,"latitude_deg":9.6930216,"altitude":2,"angle":119,"satellites":37,"speed":34,"hex_longitude":"2d7fa840","hex_latitude":"05c709a8","is_valid_coordinates":true} 
[2026-06-23 23:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253211392001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96641578818338816,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189665433208977408,"note":"Value kept but may cause issues"} 
[2026-06-23 23:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782239117000,"timestamp_ms":1782239117000,"timestamp_seconds":1782239117,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5babec8"} 
[2026-06-23 23:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-23 23:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":111528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":111528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":111528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253211392001,"66":11700,"88":206,"85":12288,"24":34,"16":96641578818338816,"45":9189665433208977408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253211392001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:55:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96641578818338816,"km_value":96641578818338.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189665433208977408,"description":"Unknown IO ID 45"} 
[2026-06-23 23:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253211392001,"power":11700,"unknown_88":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9189665433208977408}} 
[2026-06-23 23:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":111528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:55:58] local.INFO: GPS data processed {"connection_id":111528,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:55:58] local.INFO: Acknowledgment sent {"connection_id":111528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:56:01] local.INFO: TCP Data received {"connection_id":111341,"ip":"117.224.65.13","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b9d468012d3969c006a93038001000a433..."} 
[2026-06-23 23:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b9d468012d3969c006a93038001000a433..."} 
[2026-06-23 23:56:01] local.INFO: Processing buffer {"connection_id":111341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b9d468012d3969c006a93038001000a433..."} 
[2026-06-23 23:56:01] local.INFO: Packet analysis {"connection_id":111341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:56:01] local.INFO: Extracted packet for processing {"connection_id":111341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:56:01] local.INFO: GPS Element Parsed {"raw_longitude":758737344,"raw_latitude":111751224,"longitude_deg":75.8737344,"latitude_deg":11.1751224,"altitude":16,"angle":164,"satellites":51,"speed":54,"hex_longitude":"2d3969c0","hex_latitude":"06a93038","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253196544001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":322201248180731904,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134093380304414720,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782239057000,"timestamp_ms":1782239057000,"timestamp_seconds":1782239057,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b9d468"} 
[2026-06-23 23:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:56:01] 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-06-23 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-23 23:56:01] 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-06-23 23: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-06-23 23:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-23 23:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.65.13","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-23 23:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-23 23:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253196544001,"66":27213,"250":206,"28":21760,"24":54,"16":322201248180731904,"45":4134093380304414720},"client_ip":"117.224.65.13","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-23 23:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-23 23:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-23 23:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253196544001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-23 23:56:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-23 23:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":322201248180731904,"km_value":322201248180731.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134093380304414720,"description":"Unknown IO ID 45"} 
[2026-06-23 23:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253196544001,"power":27213,"unknown_250":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":4134093380304414720}} 
[2026-06-23 23:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":111341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:56:01] local.INFO: GPS data processed {"connection_id":111341,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:56:01] local.INFO: Acknowledgment sent {"connection_id":111341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:56:15] local.INFO: TCP Data received {"connection_id":113096,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:56:15] local.INFO: Processing buffer {"connection_id":113096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:56:15] local.INFO: IMEI packet received {"connection_id":113096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":113096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:56:20] local.INFO: TCP Data received {"connection_id":113096,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:56:20] local.INFO: Processing buffer {"connection_id":113096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:56:20] local.INFO: IMEI packet received {"connection_id":113096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":113096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:56:21] local.INFO: TCP Data received {"connection_id":113096,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bae1f0012d7fc80005c6f9300003007925..."} 
[2026-06-23 23:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bae1f0012d7fc80005c6f9300003007925..."} 
[2026-06-23 23:56:21] local.INFO: Processing buffer {"connection_id":113096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bae1f0012d7fc80005c6f9300003007925..."} 
[2026-06-23 23:56:21] local.INFO: Packet analysis {"connection_id":113096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:56:21] local.INFO: Extracted packet for processing {"connection_id":113096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5ba"} 
[2026-06-23 23:56:21] local.INFO: GPS Element Parsed {"raw_longitude":763348992,"raw_latitude":96926000,"longitude_deg":76.3348992,"latitude_deg":9.6926,"altitude":3,"angle":121,"satellites":37,"speed":39,"hex_longitude":"2d7fc800","hex_latitude":"05c6f930","is_valid_coordinates":true} 
[2026-06-23 23:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253213952001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96642021199970304,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198672632462551040,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782239126000,"timestamp_ms":1782239126000,"timestamp_seconds":1782239126,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bae1f0"} 
[2026-06-23 23:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-23 23:56:21] 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-06-23 23:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253213952001,"66":11830,"88":206,"85":12288,"24":39,"16":96642021199970304,"45":9198672632462551040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253213952001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:56:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96642021199970304,"km_value":96642021199970.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198672632462551040,"description":"Unknown IO ID 45"} 
[2026-06-23 23:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253213952001,"power":11830,"unknown_88":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9198672632462551040}} 
[2026-06-23 23:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":113096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:56:21] local.INFO: GPS data processed {"connection_id":113096,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:56:21] local.INFO: Acknowledgment sent {"connection_id":113096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:56:22] local.INFO: TCP Data received {"connection_id":113097,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: Processing buffer {"connection_id":113097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: IMEI packet received {"connection_id":113097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-23 23:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":113097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:56:22] local.INFO: TCP Data received {"connection_id":113097,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: Processing buffer {"connection_id":113097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: IMEI packet received {"connection_id":113097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":113097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:56:22] local.INFO: TCP Data received {"connection_id":113097,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: Processing buffer {"connection_id":113097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:22] local.INFO: IMEI packet received {"connection_id":113097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":113097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:56:25] local.INFO: TCP Data received {"connection_id":113097,"ip":"117.224.65.13","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:25] local.INFO: Processing buffer {"connection_id":113097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-23 23:56:25] local.INFO: IMEI packet received {"connection_id":113097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-23 23:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":113097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:56:28] local.INFO: TCP Data received {"connection_id":111529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b81b00012d196780071ff200003d007b24..."} 
[2026-06-23 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b81b00012d196780071ff200003d007b24..."} 
[2026-06-23 23:56:28] local.INFO: Processing buffer {"connection_id":111529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b81b00012d196780071ff200003d007b24..."} 
[2026-06-23 23:56:28] local.INFO: Packet analysis {"connection_id":111529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:56:28] local.INFO: Extracted packet for processing {"connection_id":111529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:56: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-06-23 23:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253164288001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238944000,"timestamp_ms":1782238944000,"timestamp_seconds":1782238944,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b81b00"} 
[2026-06-23 23:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:56: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-23 23:56:28] 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-06-23 23:56: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-06-23 23:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253164288001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253164288001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253164288001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":111529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:56:29] local.INFO: GPS data processed {"connection_id":111529,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:56:29] local.INFO: Acknowledgment sent {"connection_id":111529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:56:51] local.INFO: TCP Data received {"connection_id":111530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:51] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:51] local.INFO: IMEI packet received {"connection_id":111530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":111530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:56:52] local.INFO: TCP Data received {"connection_id":113096,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bb0518012d7fe68005c6e6a80003006b27..."} 
[2026-06-23 23:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bb0518012d7fe68005c6e6a80003006b27..."} 
[2026-06-23 23:56:52] local.INFO: Processing buffer {"connection_id":113096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bb0518012d7fe68005c6e6a80003006b27..."} 
[2026-06-23 23:56:52] local.INFO: Packet analysis {"connection_id":113096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bb"} 
[2026-06-23 23:56:52] local.INFO: Extracted packet for processing {"connection_id":113096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bb"} 
[2026-06-23 23:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763356800,"raw_latitude":96921256,"longitude_deg":76.33568,"latitude_deg":9.6921256,"altitude":3,"angle":107,"satellites":39,"speed":37,"hex_longitude":"2d7fe680","hex_latitude":"05c6e6a8","is_valid_coordinates":true} 
[2026-06-23 23:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253216256001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96642459286634496,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207609462972035072,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782239135000,"timestamp_ms":1782239135000,"timestamp_seconds":1782239135,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bb0518"} 
[2026-06-23 23:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-23 23:56:52] 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-06-23 23:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":113096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":113096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":113096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253216256001,"66":11765,"88":206,"85":12288,"24":37,"16":96642459286634496,"45":9207609462972035072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253216256001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:56:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96642459286634496,"km_value":96642459286634.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207609462972035072,"description":"Unknown IO ID 45"} 
[2026-06-23 23:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253216256001,"power":11765,"unknown_88":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9207609462972035072}} 
[2026-06-23 23:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":113096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:56:52] local.INFO: GPS data processed {"connection_id":113096,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:56:52] local.INFO: Acknowledgment sent {"connection_id":113096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:56:54] local.INFO: TCP Data received {"connection_id":111530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:54] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:54] local.INFO: IMEI packet received {"connection_id":111530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":111530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:56:56] local.INFO: TCP Data received {"connection_id":111530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:56] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:56:56] local.INFO: IMEI packet received {"connection_id":111530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":111530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:56:57] local.INFO: TCP Data received {"connection_id":111530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b86d08012d196780071ff200003d007b25..."} 
[2026-06-23 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b86d08012d196780071ff200003d007b25..."} 
[2026-06-23 23:56:57] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b86d08012d196780071ff200003d007b25..."} 
[2026-06-23 23:56:57] local.INFO: Packet analysis {"connection_id":111530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:56:57] local.INFO: Extracted packet for processing {"connection_id":111530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":37,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:56: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-06-23 23:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253169664001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782238965000,"timestamp_ms":1782238965000,"timestamp_seconds":1782238965,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b86d08"} 
[2026-06-23 23:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:56:57] 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-06-23 23:56: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-06-23 23:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253169664001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253169664001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253169664001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":111530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:56:57] local.INFO: GPS data processed {"connection_id":111530,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:56:57] local.INFO: Acknowledgment sent {"connection_id":111530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:57:15] local.INFO: TCP Data received {"connection_id":112167,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:15] local.INFO: Processing buffer {"connection_id":112167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:15] local.INFO: IMEI packet received {"connection_id":112167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":112167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:57:15] local.INFO: TCP Data received {"connection_id":111342,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:57:15] local.INFO: Processing buffer {"connection_id":111342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-23 23:57:15] local.INFO: IMEI packet received {"connection_id":111342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-23 23:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":111342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:57:16] local.INFO: TCP Data received {"connection_id":112167,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:16] local.INFO: Processing buffer {"connection_id":112167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:16] local.INFO: IMEI packet received {"connection_id":112167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":112167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:57:20] local.INFO: TCP Data received {"connection_id":112167,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:20] local.INFO: Processing buffer {"connection_id":112167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:20] local.INFO: IMEI packet received {"connection_id":112167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":112167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:57:25] local.INFO: TCP Data received {"connection_id":112167,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:25] local.INFO: Processing buffer {"connection_id":112167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:57:25] local.INFO: IMEI packet received {"connection_id":112167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":112167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:57:27] local.INFO: TCP Data received {"connection_id":112167,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bc2628012d80240005c72f400002000224..."} 
[2026-06-23 23:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bc2628012d80240005c72f400002000224..."} 
[2026-06-23 23:57:27] local.INFO: Processing buffer {"connection_id":112167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bc2628012d80240005c72f400002000224..."} 
[2026-06-23 23:57:27] local.INFO: Packet analysis {"connection_id":112167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:57:27] local.INFO: Extracted packet for processing {"connection_id":112167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763372544,"raw_latitude":96939840,"longitude_deg":76.3372544,"latitude_deg":9.693984,"altitude":2,"angle":2,"satellites":36,"speed":16,"hex_longitude":"2d802400","hex_latitude":"05c72f40","is_valid_coordinates":true} 
[2026-06-23 23:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253233152001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96644155798716416,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211831537995008000,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782239209000,"timestamp_ms":1782239209000,"timestamp_seconds":1782239209,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bc2628"} 
[2026-06-23 23:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 23:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":112167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":112167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":112167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253233152001,"66":11765,"88":206,"85":12288,"24":16,"16":96644155798716416,"45":-9211831537995008000},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253233152001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:57:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96644155798716416,"km_value":96644155798716.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211831537995008000,"description":"Unknown IO ID 45"} 
[2026-06-23 23:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253233152001,"power":11765,"unknown_88":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9211831537995008000}} 
[2026-06-23 23:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":112167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:57:27] local.INFO: GPS data processed {"connection_id":112167,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:57:27] local.INFO: Acknowledgment sent {"connection_id":112167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:57:28] local.INFO: TCP Data received {"connection_id":111530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b8bf10012d196780071ff200003d007b24..."} 
[2026-06-23 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b8bf10012d196780071ff200003d007b24..."} 
[2026-06-23 23:57:28] local.INFO: Processing buffer {"connection_id":111530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b8bf10012d196780071ff200003d007b24..."} 
[2026-06-23 23:57:28] local.INFO: Packet analysis {"connection_id":111530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:57:28] local.INFO: Extracted packet for processing {"connection_id":111530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b8"} 
[2026-06-23 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253175040001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782238986000,"timestamp_ms":1782238986000,"timestamp_seconds":1782238986,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b8bf10"} 
[2026-06-23 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-06-23 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:57:28] 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-06-23 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-06-23 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-06-23 23:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":111530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":111530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":111530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253175040001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253175040001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253175040001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":111530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:57:28] local.INFO: GPS data processed {"connection_id":111530,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:57:28] local.INFO: Acknowledgment sent {"connection_id":111530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:57:31] local.INFO: TCP Data received {"connection_id":112167,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bc39b0012d80260005c738380003000e29..."} 
[2026-06-23 23:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":112167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bc39b0012d80260005c738380003000e29..."} 
[2026-06-23 23:57:31] local.INFO: Processing buffer {"connection_id":112167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bc39b0012d80260005c738380003000e29..."} 
[2026-06-23 23:57:31] local.INFO: Packet analysis {"connection_id":112167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:57:31] local.INFO: Extracted packet for processing {"connection_id":112167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763373056,"raw_latitude":96942136,"longitude_deg":76.3373056,"latitude_deg":9.6942136,"altitude":3,"angle":14,"satellites":41,"speed":19,"hex_longitude":"2d802600","hex_latitude":"05c73838","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253237504001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96644267467866112,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9213238912876593152,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782239214000,"timestamp_ms":1782239214000,"timestamp_seconds":1782239214,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bc39b0"} 
[2026-06-23 23:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:57: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-06-23 23: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-23 23:57:31] 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-06-23 23: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-06-23 23:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":112167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":112167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":112167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253237504001,"66":11852,"88":206,"85":12288,"24":19,"16":96644267467866112,"45":-9213238912876593152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253237504001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:57:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96644267467866112,"km_value":96644267467866.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9213238912876593152,"description":"Unknown IO ID 45"} 
[2026-06-23 23:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253237504001,"power":11852,"unknown_88":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-9213238912876593152}} 
[2026-06-23 23:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":112167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:57:31] local.INFO: GPS data processed {"connection_id":112167,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:57:31] local.INFO: Acknowledgment sent {"connection_id":112167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:57:51] local.INFO: TCP Data received {"connection_id":113098,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:57:51] local.INFO: Processing buffer {"connection_id":113098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:57:51] local.INFO: IMEI packet received {"connection_id":113098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":113098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:57:56] local.INFO: TCP Data received {"connection_id":113098,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:57:56] local.INFO: Processing buffer {"connection_id":113098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:57:56] local.INFO: IMEI packet received {"connection_id":113098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":113098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:57:57] local.INFO: TCP Data received {"connection_id":113098,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b91118012d196780071ff200003d007b24..."} 
[2026-06-23 23:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b91118012d196780071ff200003d007b24..."} 
[2026-06-23 23:57:57] local.INFO: Processing buffer {"connection_id":113098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b91118012d196780071ff200003d007b24..."} 
[2026-06-23 23:57:57] local.INFO: Packet analysis {"connection_id":113098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:57:57] local.INFO: Extracted packet for processing {"connection_id":113098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":36,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253180416001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782239007000,"timestamp_ms":1782239007000,"timestamp_seconds":1782239007,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b91118"} 
[2026-06-23 23:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:57:57] 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-06-23 23: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-06-23 23:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":113098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":113098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":113098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253180416001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253180416001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:57:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253180416001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":113098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:57:57] local.INFO: GPS data processed {"connection_id":113098,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:57:57] local.INFO: Acknowledgment sent {"connection_id":113098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:58:15] local.INFO: TCP Data received {"connection_id":113099,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:15] local.INFO: Processing buffer {"connection_id":113099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:15] local.INFO: IMEI packet received {"connection_id":113099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":113099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:58:16] local.INFO: TCP Data received {"connection_id":113099,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:16] local.INFO: Processing buffer {"connection_id":113099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:16] local.INFO: IMEI packet received {"connection_id":113099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":113099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:58:20] local.INFO: TCP Data received {"connection_id":113099,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:20] local.INFO: Processing buffer {"connection_id":113099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:58:20] local.INFO: IMEI packet received {"connection_id":113099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":113099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:58:21] local.INFO: TCP Data received {"connection_id":113099,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bc87d0012d802b4005c75628000500092a..."} 
[2026-06-23 23:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bc87d0012d802b4005c75628000500092a..."} 
[2026-06-23 23:58:21] local.INFO: Processing buffer {"connection_id":113099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bc87d0012d802b4005c75628000500092a..."} 
[2026-06-23 23:58:21] local.INFO: Packet analysis {"connection_id":113099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:58:21] local.INFO: Extracted packet for processing {"connection_id":113099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:58:21] local.INFO: GPS Element Parsed {"raw_longitude":763374400,"raw_latitude":96949800,"longitude_deg":76.33744,"latitude_deg":9.69498,"altitude":5,"angle":9,"satellites":42,"speed":24,"hex_longitude":"2d802b40","hex_latitude":"05c75628","is_valid_coordinates":true} 
[2026-06-23 23:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253238784001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96644649719955456,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212675962922584064,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782239234000,"timestamp_ms":1782239234000,"timestamp_seconds":1782239234,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bc87d0"} 
[2026-06-23 23:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-23 23:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":113099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":113099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":113099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253238784001,"66":11765,"88":206,"85":12288,"24":24,"16":96644649719955456,"45":-9212675962922584064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253238784001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:58:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96644649719955456,"km_value":96644649719955.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212675962922584064,"description":"Unknown IO ID 45"} 
[2026-06-23 23:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253238784001,"power":11765,"unknown_88":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-9212675962922584064}} 
[2026-06-23 23:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":113099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:58:21] local.INFO: GPS data processed {"connection_id":113099,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:58:21] local.INFO: Acknowledgment sent {"connection_id":113099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:58:28] local.INFO: TCP Data received {"connection_id":113098,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5b96320012d196780071ff200003d007b26..."} 
[2026-06-23 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5b96320012d196780071ff200003d007b26..."} 
[2026-06-23 23:58:28] local.INFO: Processing buffer {"connection_id":113098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5b96320012d196780071ff200003d007b26..."} 
[2026-06-23 23:58:28] local.INFO: Packet analysis {"connection_id":113098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:58:28] local.INFO: Extracted packet for processing {"connection_id":113098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5b9"} 
[2026-06-23 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":38,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253185792001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782239028000,"timestamp_ms":1782239028000,"timestamp_seconds":1782239028,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5b96320"} 
[2026-06-23 23:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:58:28] 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-06-23 23: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-06-23 23:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":113098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":113098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":113098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253185792001,"66":12265,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253185792001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253185792001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":113098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:58:28] local.INFO: GPS data processed {"connection_id":113098,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:58:28] local.INFO: Acknowledgment sent {"connection_id":113098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:58:52] local.INFO: TCP Data received {"connection_id":113099,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bcd5f0012d80310005c779680007000b2b..."} 
[2026-06-23 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":113099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bcd5f0012d80310005c779680007000b2b..."} 
[2026-06-23 23:58:52] local.INFO: Processing buffer {"connection_id":113099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bcd5f0012d80310005c779680007000b2b..."} 
[2026-06-23 23:58:52] local.INFO: Packet analysis {"connection_id":113099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:58:52] local.INFO: Extracted packet for processing {"connection_id":113099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763375872,"raw_latitude":96958824,"longitude_deg":76.3375872,"latitude_deg":9.6958824,"altitude":7,"angle":11,"satellites":43,"speed":21,"hex_longitude":"2d803100","hex_latitude":"05c77968","is_valid_coordinates":true} 
[2026-06-23 23:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253243904001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96645092101586944,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9211198219292891136,"note":"Value kept but may cause issues"} 
[2026-06-23 23:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782239254000,"timestamp_ms":1782239254000,"timestamp_seconds":1782239254,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bcd5f0"} 
[2026-06-23 23:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-23 23:58:52] 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-06-23 23:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":113099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":113099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":113099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253243904001,"66":12004,"88":206,"85":12288,"24":21,"16":96645092101586944,"45":-9211198219292891136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253243904001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:58:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96645092101586944,"km_value":96645092101586.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9211198219292891136,"description":"Unknown IO ID 45"} 
[2026-06-23 23:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253243904001,"power":12004,"unknown_88":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9211198219292891136}} 
[2026-06-23 23:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":113099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:58:52] local.INFO: GPS data processed {"connection_id":113099,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:58:52] local.INFO: Acknowledgment sent {"connection_id":113099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:58:56] local.INFO: TCP Data received {"connection_id":111531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:58:56] local.INFO: Processing buffer {"connection_id":111531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:58:56] local.INFO: IMEI packet received {"connection_id":111531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":111531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:58:59] local.INFO: TCP Data received {"connection_id":111531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:58:59] local.INFO: Processing buffer {"connection_id":111531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:58:59] local.INFO: IMEI packet received {"connection_id":111531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":111531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:59:00] local.INFO: TCP Data received {"connection_id":111531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bce978012d196780071ff200003d007b29..."} 
[2026-06-23 23:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bce978012d196780071ff200003d007b29..."} 
[2026-06-23 23:59:00] local.INFO: Processing buffer {"connection_id":111531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bce978012d196780071ff200003d007b29..."} 
[2026-06-23 23:59:00] local.INFO: Packet analysis {"connection_id":111531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:59:00] local.INFO: Extracted packet for processing {"connection_id":111531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bc"} 
[2026-06-23 23:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":41,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253244928001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59: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-06-23 23:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782239259000,"timestamp_ms":1782239259000,"timestamp_seconds":1782239259,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bce978"} 
[2026-06-23 23:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:59:00] 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-06-23 23: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:59: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-06-23 23: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-06-23 23:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":111531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":111531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":111531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253244928001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253244928001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:59:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253244928001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":111531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:59:00] local.INFO: GPS data processed {"connection_id":111531,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:59:00] local.INFO: Acknowledgment sent {"connection_id":111531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:59:01] local.INFO: TCP Data received {"connection_id":111531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bd3b80012d196780071ff200003d007b28..."} 
[2026-06-23 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bd3b80012d196780071ff200003d007b28..."} 
[2026-06-23 23:59:01] local.INFO: Processing buffer {"connection_id":111531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bd3b80012d196780071ff200003d007b28..."} 
[2026-06-23 23:59:01] local.INFO: Packet analysis {"connection_id":111531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:01] local.INFO: Extracted packet for processing {"connection_id":111531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 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-06-23 23:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253250304001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782239280000,"timestamp_ms":1782239280000,"timestamp_seconds":1782239280,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bd3b80"} 
[2026-06-23 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-06-23 23:59:01] 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-06-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-23 23:59: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-06-23 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-06-23 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-06-23 23:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":111531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":111531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":111531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253250304001,"66":12265,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253250304001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:59:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253250304001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":111531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:59:01] local.INFO: GPS data processed {"connection_id":111531,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:59:01] local.INFO: Acknowledgment sent {"connection_id":111531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:59:15] local.INFO: TCP Data received {"connection_id":111532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:59:15] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:59:15] local.INFO: IMEI packet received {"connection_id":111532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-23 23:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":111532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:59:20] local.INFO: TCP Data received {"connection_id":111532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:59:20] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-23 23:59:20] local.INFO: IMEI packet received {"connection_id":111532,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-23 23:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":111532,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:59:21] local.INFO: TCP Data received {"connection_id":111532,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bd2410012d80364005c798f8000600042b..."} 
[2026-06-23 23:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bd2410012d80364005c798f8000600042b..."} 
[2026-06-23 23:59:21] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bd2410012d80364005c798f8000600042b..."} 
[2026-06-23 23:59:21] local.INFO: Packet analysis {"connection_id":111532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:21] local.INFO: Extracted packet for processing {"connection_id":111532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763377216,"raw_latitude":96966904,"longitude_deg":76.3377216,"latitude_deg":9.6966904,"altitude":6,"angle":4,"satellites":43,"speed":11,"hex_longitude":"2d803640","hex_latitude":"05c798f8","is_valid_coordinates":true} 
[2026-06-23 23:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253249024001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96645491533545472,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209579738174494720,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782239274000,"timestamp_ms":1782239274000,"timestamp_seconds":1782239274,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bd2410"} 
[2026-06-23 23:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-23 23:59:21] 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-06-23 23:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":111532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":111532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":111532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253249024001,"66":11895,"88":206,"85":12288,"24":11,"16":96645491533545472,"45":-9209579738174494720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-06-23 23:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253249024001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:59:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-23 23:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96645491533545472,"km_value":96645491533545.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209579738174494720,"description":"Unknown IO ID 45"} 
[2026-06-23 23:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253249024001,"power":11895,"unknown_88":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9209579738174494720}} 
[2026-06-23 23:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":111532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:59:21] local.INFO: GPS data processed {"connection_id":111532,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:59:21] local.INFO: Acknowledgment sent {"connection_id":111532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:59:32] local.INFO: TCP Data received {"connection_id":111531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bd8d88012d196780071ff200003d007b27..."} 
[2026-06-23 23:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bd8d88012d196780071ff200003d007b27..."} 
[2026-06-23 23:59:32] local.INFO: Processing buffer {"connection_id":111531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bd8d88012d196780071ff200003d007b27..."} 
[2026-06-23 23:59:32] local.INFO: Packet analysis {"connection_id":111531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:32] local.INFO: Extracted packet for processing {"connection_id":111531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":39,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23: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-06-23 23:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253255680001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59: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-06-23 23:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782239301000,"timestamp_ms":1782239301000,"timestamp_seconds":1782239301,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bd8d88"} 
[2026-06-23 23:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:59:32] 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-06-23 23: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-23 23:59:32] 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-06-23 23: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-06-23 23:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":111531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":111531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":111531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253255680001,"66":12232,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253255680001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:59:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253255680001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":111531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:59:32] local.INFO: GPS data processed {"connection_id":111531,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:59:32] local.INFO: Acknowledgment sent {"connection_id":111531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:59:51] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:59:51] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:59:51] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-23 23:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-23 23:59:52] local.INFO: TCP Data received {"connection_id":111532,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bd7230012d80378005c7bc50000b016329..."} 
[2026-06-23 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bd7230012d80378005c7bc50000b016329..."} 
[2026-06-23 23:59:52] local.INFO: Processing buffer {"connection_id":111532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bd7230012d80378005c7bc50000b016329..."} 
[2026-06-23 23:59:52] local.INFO: Packet analysis {"connection_id":111532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:52] local.INFO: Extracted packet for processing {"connection_id":111532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763377536,"raw_latitude":96975952,"longitude_deg":76.3377536,"latitude_deg":9.6975952,"altitude":11,"angle":355,"satellites":41,"speed":14,"hex_longitude":"2d803780","hex_latitude":"05c7bc50","is_valid_coordinates":true} 
[2026-06-23 23:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-23 23:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253254144001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":96645929620209664,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208101994544695296,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782239294000,"timestamp_ms":1782239294000,"timestamp_seconds":1782239294,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bd7230"} 
[2026-06-23 23:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-23 23:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-23 23:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-23 23:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":111532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":111532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":111532,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-23 23:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-23 23:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-23 23:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253254144001,"66":11624,"115":206,"85":12288,"24":14,"16":96645929620209664,"45":-9208101994544695296},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-23 23:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-23 23:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-23 23:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253254144001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:59:52] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-23 23:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-06-23 23:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":96645929620209664,"km_value":96645929620209.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208101994544695296,"description":"Unknown IO ID 45"} 
[2026-06-23 23:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253254144001,"power":11624,"unknown_115":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9208101994544695296}} 
[2026-06-23 23:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":111532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:59:52] local.INFO: GPS data processed {"connection_id":111532,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:59:52] local.INFO: Acknowledgment sent {"connection_id":111532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-23 23:59:56] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:59:56] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-23 23:59:56] local.INFO: IMEI packet received {"connection_id":111345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-23 23:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":111345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-23 23:59:57] local.INFO: TCP Data received {"connection_id":111345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ef5bddf90012d196780071ff200003d007b28..."} 
[2026-06-23 23:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":111345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ef5bddf90012d196780071ff200003d007b28..."} 
[2026-06-23 23:59:57] local.INFO: Processing buffer {"connection_id":111345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ef5bddf90012d196780071ff200003d007b28..."} 
[2026-06-23 23:59:57] local.INFO: Packet analysis {"connection_id":111345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:57] local.INFO: Extracted packet for processing {"connection_id":111345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ef5bd"} 
[2026-06-23 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119534080,"longitude_deg":75.6639616,"latitude_deg":11.953408,"altitude":61,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d196780","hex_latitude":"071ff200","is_valid_coordinates":true} 
[2026-06-23 23:59: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-06-23 23:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456253261056001,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3868180690763776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638475776,"note":"Value kept but may cause issues"} 
[2026-06-23 23:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-23 23:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782239322000,"timestamp_ms":1782239322000,"timestamp_seconds":1782239322,"priority":1,"record_length":96,"hex_timestamp":"0000019ef5bddf90"} 
[2026-06-23 23:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-23 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-23 23:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-23 23:59:57] 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-06-23 23:59: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-06-23 23:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-23 23:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-23 23:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":111345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-23 23:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":111345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":111345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-23 23:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-23 23:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-23 23:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-23 23:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456253261056001,"66":12287,"102":206,"83":41984,"24":0,"16":3868180690763776,"45":1830572541638475776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-06-23 23:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-23 23:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-23 23:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456253261056001,"description":"Unknown IO ID 0"} 
[2026-06-23 23:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-23 23:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-06-23 23:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3868180690763776,"km_value":3868180690763.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-23 23:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638475776,"description":"Unknown IO ID 45"} 
[2026-06-23 23:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456253261056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541638475776}} 
[2026-06-23 23:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":111345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":373917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-23 23:59:57] local.INFO: GPS data processed {"connection_id":111345,"processed":1,"errors":0,"total":1} 
[2026-06-23 23:59:57] local.INFO: Acknowledgment sent {"connection_id":111345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
